/* Join Team Florida — careers portal design system
   Author: Christian Claudio  ·  © Teleias, LLC. All rights reserved. */

:root{
  --ink:#0C2233; --ink-soft:#1B3B4F; --canvas:#FCFBF9; --surface:#FFFFFF;
  --coral:#FF6A45; --coral-deep:#E8512E; --teal:#0FA39A; --teal-deep:#0B7D76;
  --muted:#5C6E77; --hairline:#E9E5DE; --sand:#F4EFE7;
  --shadow:0 1px 2px rgba(12,34,51,.04), 0 12px 40px rgba(12,34,51,.07);
  --shadow-lg:0 30px 80px rgba(12,34,51,.16);
  --radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--canvas); color:var(--ink);
  font-family:"Inter",system-ui,-apple-system,sans-serif; font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
h1,h2,h3,h4{font-family:"Bricolage Grotesque","Inter",sans-serif; font-weight:700; line-height:1.06; letter-spacing:-.02em; margin:0; color:var(--ink)}
p{margin:0}
a{color:inherit; text-decoration:none}
img{max-width:100%}

.wrap{max-width:1140px; margin:0 auto; padding:0 28px}
.eyebrow{font-family:"JetBrains Mono",ui-monospace,monospace; font-size:12px; font-weight:500; letter-spacing:.18em; text-transform:uppercase; color:var(--teal-deep)}

/* buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; font-family:"Inter",sans-serif; font-weight:600; font-size:15px; padding:13px 22px; border-radius:999px; border:1px solid transparent; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease}
.btn-primary{background:var(--coral); color:#fff; box-shadow:0 8px 22px rgba(232,81,46,.28)}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 30px rgba(232,81,46,.34)}
.btn-ghost{background:transparent; color:var(--ink); border-color:var(--hairline)}
.btn-ghost:hover{border-color:var(--ink); transform:translateY(-2px)}
.btn-block{width:100%}

/* brand + sun mark */
.sun{width:22px; height:22px; border-radius:50%; flex:none;
  background:radial-gradient(circle at 35% 30%, #FFC56B, var(--coral) 62%, var(--coral-deep));
  box-shadow:0 0 0 4px rgba(255,106,69,.12)}

/* topbar */
.topbar{position:sticky; top:0; z-index:60; background:rgba(252,251,249,.82); backdrop-filter:blur(14px); border-bottom:1px solid var(--hairline)}
.topbar .row{display:flex; align-items:center; justify-content:space-between; height:64px}
.brand{display:flex; align-items:center; gap:11px; font-family:"Bricolage Grotesque",sans-serif; font-weight:700; letter-spacing:-.01em; font-size:18px; color:var(--ink)}
.topnav{display:flex; align-items:center; gap:22px}
.topnav a{font-size:14px; font-weight:500; color:var(--ink-soft)}
.topnav a:hover{color:var(--coral-deep)}
.intbadge{font-family:"JetBrains Mono",monospace; font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--coral-deep); border:1px solid rgba(232,81,46,.3); background:rgba(255,106,69,.07); border-radius:6px; padding:5px 9px; font-weight:600}

/* mobile menu */
.hamburger{display:none; flex-direction:column; justify-content:center; gap:5px; width:36px; height:36px; border:0; background:none; cursor:pointer; padding:0}
.hamburger span{display:block; height:2px; width:22px; background:var(--ink); border-radius:2px; transition:transform .2s ease, opacity .2s ease}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{display:none; flex-direction:column; gap:4px; padding:10px 28px 18px; border-top:1px solid var(--hairline); background:var(--canvas)}
.mobile-menu a{padding:12px 4px; font-size:15.5px; font-weight:500; color:var(--ink-soft); border-bottom:1px solid var(--hairline)}
.mobile-menu a.btn{border:1px solid transparent; margin-top:10px; text-align:center}
.mobile-menu.open{display:flex}
@media(max-width:760px){
  .topnav{display:none}
  .hamburger{display:flex}
}

/* hero */
.hero{position:relative; padding:84px 0 40px; overflow:hidden}
.hero-grid{display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center}
@media(max-width:900px){ .hero-grid{grid-template-columns:1fr} }
.hero h1{font-size:clamp(40px,6.2vw,72px); font-weight:800}
.hero h1 .accent{color:var(--coral)}
.hero .lede{margin-top:20px; font-size:19px; color:var(--ink-soft); max-width:34em}

/* hero visual: people first — layered photography */
.hero-visual{position:relative; aspect-ratio:1/1.08; max-height:520px}
.hero-visual picture{display:block; position:absolute; overflow:hidden; border-radius:22px; box-shadow:var(--shadow-lg)}
.hero-visual img{display:block; width:100%; height:100%; object-fit:cover}
.hv-main{left:0; top:0; width:74%; height:100%; background:var(--sand)}
.hv-care{right:0; bottom:8%; width:44%; aspect-ratio:4/5; border:5px solid var(--canvas); z-index:2}
.hv-chip{position:absolute; left:-4%; bottom:-4%; z-index:3; display:flex; align-items:center; gap:12px; background:#fff; border-radius:14px; padding:12px 16px 12px 14px; box-shadow:var(--shadow-lg)}
.hv-chip b{display:block; font-family:"Bricolage Grotesque",sans-serif; font-size:15px; color:var(--ink); line-height:1.1}
.hv-chip span:last-child{display:block; font-size:12.5px; color:var(--muted); margin-top:3px}
.hv-dot{width:34px; height:34px; border-radius:50%; flex:none; background:radial-gradient(circle at 35% 30%, #FFC56B, var(--coral) 62%, var(--coral-deep)); box-shadow:0 0 0 5px rgba(255,106,69,.12)}
@media(max-width:900px){
  .hero{padding-top:48px}
  .hero-visual{max-height:none; aspect-ratio:auto; height:auto; margin-top:8px}
  .hero-visual picture{position:static; box-shadow:var(--shadow)}
  .hv-main{width:100%; aspect-ratio:5/4}
  .hv-main img{object-position:50% 30%}
  .hv-care{display:none}
  .hv-chip{position:static; margin-top:14px; display:inline-flex}
}
/* copy v2 layout helpers */
.h2{font-size:clamp(28px,3.6vw,40px); margin-top:12px; max-width:20em}
.lede.sub{margin-top:16px; max-width:44em}
.band.sand{background:var(--sand)}
.cards{margin-top:32px}
.role.static{cursor:default}
.role.static p{color:var(--muted); font-size:14.5px; margin-top:8px}
@media(min-width:861px){ .roles.cols-2{grid-template-columns:1fr 1fr} }
.quiet{margin-top:40px; padding:28px 30px; background:#fff; border:1px solid var(--hairline); border-radius:var(--radius); max-width:52em}
.quiet h3{font-size:22px; margin-bottom:10px}
.quiet p{color:var(--ink-soft)}
.closing{background:var(--ink); color:#fff; text-align:center; padding:72px 0}
.closing .h2,.closing .lede{color:#fff; margin-left:auto; margin-right:auto}
.closing .lede{color:#C9D6D6}
.empty p{max-width:34em; margin:0 auto; font-size:16px; color:var(--ink-soft)}
.role .arrow{font-size:13px}
.ic{width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; vertical-align:-2px}
.skip{position:absolute; left:-9999px; top:8px; background:var(--ink); color:#fff; padding:10px 14px; border-radius:8px; z-index:100}
.skip:focus{left:12px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.tab:focus-visible{outline:3px solid var(--teal); outline-offset:2px}
.consent{margin-top:-4px}
.consent .checkline{align-items:flex-start; font-size:12.5px; color:var(--muted); line-height:1.45}
.consent input{margin-top:3px; accent-color:var(--teal)}
.region-legend-item{width:100%; text-align:left; background:none; border:0; font:inherit; color:inherit; cursor:pointer}
.region-head{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:12px}
.community-list{color:var(--ink-soft); font-size:15px; line-height:1.8}

/* team photo band */
.team-photo{display:block; margin-top:32px; border-radius:22px; overflow:hidden; box-shadow:var(--shadow); aspect-ratio:14/6}
.team-photo img{display:block; width:100%; height:100%; object-fit:cover; object-position:50% 35%}
@media(max-width:700px){ .team-photo{aspect-ratio:4/3} }
.meta-line{margin-top:26px; display:flex; gap:22px; flex-wrap:wrap; font-family:"JetBrains Mono",monospace; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted)}
.meta-line span{display:flex; align-items:center; gap:8px}
.meta-line b{color:var(--ink); font-weight:600}
.dot{width:5px;height:5px;border-radius:50%;background:var(--teal)}

/* board */
.board{padding:20px 0 96px}
.searchbar{display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--hairline); border-radius:14px; padding:14px 18px; box-shadow:var(--shadow)}
.searchbar svg{flex:none; color:var(--muted)}
.searchbar input{border:0; background:transparent; outline:none; font-family:"Inter",sans-serif; font-size:16px; color:var(--ink); width:100%}
.searchbar input::placeholder{color:#9AA7AD}

.tabs{display:flex; gap:8px; flex-wrap:wrap; margin:22px 0 6px}
.tab{font-family:"Inter",sans-serif; font-weight:600; font-size:14px; padding:9px 16px; border-radius:999px; border:1px solid var(--hairline); background:#fff; color:var(--ink-soft); cursor:pointer; transition:all .15s}
.tab .ct{font-family:"JetBrains Mono",monospace; font-size:11px; color:#9AA7AD; margin-left:6px}
.tab:hover{border-color:var(--teal)}
.tab.active{background:var(--ink); color:#fff; border-color:var(--ink)}
.tab.active .ct{color:#7FB8B2}

.resultline{font-family:"JetBrains Mono",monospace; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin:18px 2px 14px}

.roles{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
@media(min-width:1000px){ .roles.cols-4{grid-template-columns:repeat(4,1fr)} }
@media(max-width:860px){ .roles{grid-template-columns:1fr 1fr} }
@media(max-width:560px){ .roles{grid-template-columns:1fr} }
.hp{position:absolute; left:-9999px; width:1px; height:1px; opacity:0}
.role{position:relative; display:block; text-align:left; background:#fff; border:1px solid var(--hairline); border-radius:var(--radius); padding:20px 20px 18px; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.role:hover{transform:translateY(-4px); box-shadow:var(--shadow); border-color:transparent}
.trk{display:inline-flex; align-items:center; gap:7px; font-family:"JetBrains Mono",monospace; font-size:10px; letter-spacing:.1em; text-transform:uppercase; font-weight:600; padding:4px 9px; border-radius:6px}
.trk-clinical{color:var(--teal-deep); background:rgba(15,163,154,.1)}
.trk-corporate{color:var(--coral-deep); background:rgba(255,106,69,.1)}
.role h4{font-family:"Bricolage Grotesque",sans-serif; font-weight:700; font-size:18px; line-height:1.14; margin:14px 0 10px; color:var(--ink)}
.role .meta{display:flex; align-items:center; gap:14px; color:var(--muted); font-size:13px; flex-wrap:wrap}
.role .meta span{display:flex; align-items:center; gap:5px}
.role .arrow{position:absolute; right:18px; bottom:16px; color:var(--coral); opacity:0; transform:translateX(-4px); transition:all .18s; font-weight:700}
.role:hover .arrow{opacity:1; transform:translateX(0)}
.empty{grid-column:1/-1; text-align:center; padding:56px 20px; color:var(--muted); font-size:15px; background:#fff; border:1px dashed var(--hairline); border-radius:var(--radius)}

/* role detail page */
.rolehead{background:linear-gradient(180deg,#F4EFE7 0%, var(--canvas) 100%); padding:48px 0 40px; border-bottom:1px solid var(--hairline)}
.crumb{font-family:"JetBrains Mono",monospace; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.crumb a:hover{color:var(--coral-deep)}
.rolehead h1{font-size:clamp(30px,4.4vw,48px); margin:18px 0 14px; max-width:18em}
.rolehead .meta{display:flex; gap:16px; flex-wrap:wrap; color:var(--ink-soft); font-size:15px}
.rolehead .meta span{display:flex; align-items:center; gap:7px}
.detail{display:grid; grid-template-columns:1.5fr .9fr; gap:48px; padding:52px 0 96px; align-items:start}
@media(max-width:900px){ .detail{grid-template-columns:1fr; gap:36px} }
.detail h3{font-size:22px; margin:34px 0 14px}
.detail h3:first-child{margin-top:0}
.detail p{color:var(--ink-soft)}
.detail ul{margin:0; padding-left:0; list-style:none}
.detail li{position:relative; padding-left:26px; margin:11px 0; color:var(--ink-soft)}
.detail li::before{content:""; position:absolute; left:4px; top:10px; width:7px; height:7px; border-radius:50%; background:var(--teal)}

.applycard{position:sticky; top:88px; background:#fff; border:1px solid var(--hairline); border-radius:18px; box-shadow:var(--shadow); padding:26px}
.applycard h3{font-size:19px; margin-bottom:6px}
.applycard .sub{color:var(--muted); font-size:14px; margin-bottom:18px}
.field{margin-bottom:14px}
.field label{display:block; font-size:12.5px; font-weight:600; color:var(--ink-soft); margin-bottom:6px; letter-spacing:.01em}
.field input, .field textarea, .field select{width:100%; font-family:"Inter",sans-serif; font-size:15px; color:var(--ink); background:#FBF9F6; border:1px solid var(--hairline); border-radius:10px; padding:11px 13px; outline:none; transition:border-color .15s, background .15s}
.field input:focus, .field textarea:focus, .field select:focus{border-color:var(--teal); background:#fff}
.field textarea{resize:vertical; min-height:92px}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:12px}

/* flash */
.flash{max-width:1140px; margin:16px auto 0; padding:0 28px}
.flash .msg{border-radius:12px; padding:12px 16px; font-size:14px; font-weight:500}
.flash .error{background:rgba(232,81,46,.1); color:var(--coral-deep); border:1px solid rgba(232,81,46,.25)}
.flash .success{background:rgba(15,163,154,.1); color:var(--teal-deep); border:1px solid rgba(15,163,154,.25)}

/* success page */
.success{max-width:620px; margin:0 auto; text-align:center; padding:90px 28px}
.success .ring{width:68px;height:68px;border-radius:50%;margin:0 auto 24px;display:flex;align-items:center;justify-content:center;background:rgba(15,163,154,.12);color:var(--teal-deep);font-size:30px}
.success h1{font-size:34px; margin-bottom:14px}
.success p{color:var(--ink-soft); font-size:18px; margin-bottom:28px}

/* footer */
.footer{background:var(--ink); color:#B9C9C9; padding:40px 0}
.footer .row{display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap}
.footer .brand{color:#fff}
.footer .fine{font-size:13px}

/* admin */
.admin-shell{min-height:100vh; background:#fff; color:#1a1f36; font-size:11px; -webkit-font-smoothing:antialiased}
.admin-shell .wrap{max-width:none; padding:0 28px}
.admin-top{background:#fff; color:#1a1f36; padding:0; border-bottom:1px solid #e6e8eb; position:sticky; top:0; z-index:30}
.admin-top .row{display:flex; align-items:center; justify-content:space-between; height:48px; gap:16px; flex-wrap:wrap}
.admin-top .brand{color:#1a1f36; font-size:13px}
.admin-top .topnav{display:flex; gap:2px; flex-wrap:wrap}
.admin-top a{color:#4f566b; font-size:11.5px; font-weight:500; padding:6px 10px; border-radius:6px}
.admin-top a:hover{color:#1a1f36; background:#f6f8fa}
.admin-top .topnav a.active{color:#0B7D76; background:rgba(15,163,154,.08); font-weight:600; border:0; padding-bottom:6px}
.admin-main{max-width:none; margin:0; padding:22px 28px 60px}
.admin-main h2{font-size:18px; font-weight:700; letter-spacing:-.01em; color:#1a1f36}
.admin-main h3{font-size:12px; font-weight:600; color:#1a1f36}
.statgrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; margin-bottom:22px}
.stat{background:#fff; border:1px solid #e6e8eb; border-radius:8px; padding:12px 14px}
.stat .n{font-family:Inter,sans-serif; font-weight:700; font-size:22px; letter-spacing:-.02em; color:#1a1f36}
.stat .l{font-size:10.5px; color:#697386; margin-top:1px}
.panel{background:transparent; border:0; border-radius:0; padding:0; margin-bottom:28px; overflow:visible}
.panel .ph{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:0 0 10px; border-bottom:0}
.panel .ph h3{font-size:12px}
table{width:100%; border-collapse:collapse; table-layout:auto}
th{text-align:left; font-family:Inter,sans-serif; font-size:10.5px; letter-spacing:0; text-transform:none; font-weight:600; color:#697386; padding:8px 10px; border-bottom:1px solid #e6e8eb; background:#fff; white-space:nowrap}
td{padding:8px 10px; border-bottom:1px solid #eef0f2; font-size:11px; line-height:1.4; color:#3c4257; vertical-align:middle; overflow-wrap:anywhere}
tbody tr:hover td{background:#fafbfc}
tr:last-child td{border-bottom:1px solid #eef0f2}
td a{color:#0B7D76}
td .nomatch{color:#697386; text-align:center; padding:22px}
.pill{font-size:10px; font-weight:600; padding:2px 7px; border-radius:4px; white-space:nowrap}
.pill.live{background:rgba(15,163,154,.12); color:var(--teal-deep)}
.pill.draft{background:#eef0f2; color:#697386}
.tinybtn{font-size:11px; font-weight:600; padding:5px 10px; border-radius:6px; border:1px solid #d9dce1; background:#fff; color:#3c4257; cursor:pointer; white-space:nowrap}
.tinybtn:hover{border-color:#1a1f36; color:#1a1f36}
.tinybtn.danger:hover{border-color:var(--coral-deep); color:var(--coral-deep)}
.inline{display:inline}

/* column headers: label sorts, funnel opens the per-column filter */
th.sortable{cursor:pointer; user-select:none}
th.sortable:hover{color:#1a1f36}
.th-wrap{display:inline-flex; align-items:center; gap:4px}
.th-caret{width:0; height:0; border-left:3.5px solid transparent; border-right:3.5px solid transparent; opacity:0}
th.sorted-asc .th-caret{border-bottom:4px solid #1a1f36; opacity:1}
th.sorted-desc .th-caret{border-top:4px solid #1a1f36; opacity:1}
.th-filter{display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:4px; border:0; background:none; color:#b8bdc7; cursor:pointer; opacity:0; transition:opacity .12s}
th:hover .th-filter, th.filtered .th-filter{opacity:1}
.th-filter:hover{background:#eef0f2; color:#1a1f36}
th.filtered .th-filter{color:#0B7D76; background:rgba(15,163,154,.12)}
th.filtered{color:#0B7D76}

/* filter popover */
.colpop{position:absolute; z-index:60; width:260px; background:#fff; border:1px solid #e6e8eb; border-radius:8px; box-shadow:0 8px 24px rgba(26,31,54,.12), 0 1px 3px rgba(26,31,54,.06); font-size:11px; color:#3c4257}
.colpop-head{display:flex; align-items:center; justify-content:space-between; padding:8px 10px 6px; font-weight:600; color:#1a1f36}
.colpop-x{border:0; background:none; font-size:16px; line-height:1; color:#697386; cursor:pointer; padding:0 2px}
.colpop-search{display:block; width:calc(100% - 20px); margin:0 10px 6px; padding:6px 8px; border:1px solid #d9dce1; border-radius:6px; font-size:11px}
.colpop-search:focus{outline:none; border-color:#0FA39A; box-shadow:0 0 0 3px rgba(15,163,154,.15)}
.colpop-acts{display:flex; align-items:center; gap:10px; padding:0 10px 6px}
.colpop-acts button{border:0; background:none; padding:0; color:#0B7D76; font-weight:600; font-size:10.5px; cursor:pointer}
.colpop-n{margin-left:auto; color:#697386; font-size:10px}
.colpop-list{max-height:220px; overflow-y:auto; border-top:1px solid #eef0f2; border-bottom:1px solid #eef0f2}
.colpop-item{display:flex; align-items:center; gap:8px; padding:5px 10px; cursor:pointer}
.colpop-item:hover{background:#f6f8fa}
.colpop-item input{margin:0; width:13px; height:13px; accent-color:#0FA39A}
.colpop-item span{flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.colpop-item em{font-style:normal; color:#a3acb9; font-size:10px}
.colpop-empty{padding:12px 10px; color:#697386}
.colpop-foot{display:flex; justify-content:space-between; padding:8px 10px}
.colpop-foot button{border:1px solid #d9dce1; background:#fff; border-radius:6px; padding:5px 10px; font-size:10.5px; font-weight:600; color:#3c4257; cursor:pointer}
.colpop-foot .colpop-done{background:#1a1f36; border-color:#1a1f36; color:#fff}

/* per-row kebab menu */
.rowmenu{position:relative; display:inline-block}
.kebab{width:32px; height:32px; border-radius:8px; border:1px solid transparent; background:none; color:var(--muted); font-size:17px; line-height:1; cursor:pointer; font-weight:700; letter-spacing:.05em}
.kebab:hover, .rowmenu.open .kebab{border-color:var(--hairline); color:var(--ink); background:#fff; box-shadow:0 1px 3px rgba(12,34,51,.08)}
.rowmenu-panel{display:none; position:absolute; right:0; top:calc(100% + 4px); min-width:172px; background:#fff; border:1px solid var(--hairline); border-radius:12px; box-shadow:0 12px 32px rgba(12,34,51,.16); padding:6px; z-index:40; text-align:left}
.rowmenu.open .rowmenu-panel{display:block}
.rowmenu.up .rowmenu-panel{top:auto; bottom:calc(100% + 4px)}
.rowmenu-panel form{margin:0}
.rowmenu-item{display:block; width:100%; text-align:left; padding:9px 12px; font-size:13.5px; font-weight:600; color:var(--ink-soft); background:none; border:0; border-radius:8px; cursor:pointer; text-decoration:none}
.rowmenu-item:hover{background:rgba(15,163,154,.08); color:var(--ink)}
.rowmenu-item.danger{color:var(--coral-deep)}
.rowmenu-item.danger:hover{background:rgba(232,81,46,.08); color:var(--coral-deep)}
.rowmenu-sep{height:1px; background:var(--hairline); margin:6px 8px}

/* auth card */
.authwrap{min-height:100vh; display:flex; align-items:center; justify-content:center; background:linear-gradient(170deg,#0C2233 0%, #14384C 55%, #1C5560 100%); padding:24px}
.authcard{width:100%; max-width:400px; background:#fff; border-radius:20px; box-shadow:var(--shadow-lg); padding:34px}
.authcard .brand{justify-content:center; margin-bottom:8px}
.authcard .sub{text-align:center; color:var(--muted); font-size:14px; margin-bottom:24px}

/* form layout shared */
.formgrid{display:grid; grid-template-columns:1fr 1fr; gap:16px}
@media(max-width:680px){ .formgrid{grid-template-columns:1fr} }
.formgrid .full{grid-column:1/-1}
.formcard{background:#fff; border:1px solid var(--hairline); border-radius:16px; padding:26px}
.checkline{display:flex; align-items:center; gap:9px; font-size:14px; color:var(--ink-soft)}
.checkline input{width:auto}

/* admin page chrome */
.pagehead{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px}
.toolbar{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.tb-input,.tb-select{padding:6px 9px; border:1px solid #d9dce1; border-radius:6px; font-size:11px; background:#fff; color:#1a1f36}
.tb-input:focus,.tb-select:focus{outline:none; border-color:#0FA39A; box-shadow:0 0 0 3px rgba(15,163,154,.15)}
.tb-btn{padding:6px 11px !important; font-size:11px !important; border-radius:6px !important}
.admin-shell .btn{font-size:11px; padding:6px 11px; border-radius:6px}
.admin-shell .btn-ghost{border:1px solid #d9dce1; color:#3c4257; background:#fff}
.admin-shell .btn-ghost:hover{border-color:#1a1f36; color:#1a1f36}
.admin-shell .field label{font-size:10.5px; font-weight:600; color:#697386}
.admin-shell .field input,.admin-shell .field select,.admin-shell .field textarea{font-size:11.5px; padding:7px 9px; border-radius:6px; border:1px solid #d9dce1}
.admin-shell .formcard{border:1px solid #e6e8eb; border-radius:8px; padding:18px}
.admin-shell .msg{font-size:11px !important; padding:8px 12px !important; border-radius:6px !important}
.mono{font-family:"JetBrains Mono",monospace; font-size:10.5px}
.muted{color:#697386}
.notice{margin-bottom:14px; border-radius:6px; padding:8px 12px; font-size:11px; font-weight:500; background:rgba(15,163,154,.08); color:#0B7D76; display:flex; align-items:center; justify-content:space-between; gap:12px}
.notice a{color:#0B7D76; text-decoration:underline; font-weight:600}
.resume-ic{display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:5px; color:var(--teal-deep); background:rgba(15,163,154,.1); transition:background .15s}
.resume-ic svg{width:14px; height:14px}
.resume-ic:hover{background:rgba(15,163,154,.22)}
.resume-ic.off{color:#a3acb9; background:#f1f3f5; opacity:.8}
.stages{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; list-style:none; margin:0; padding:0}
.stages li{display:flex; align-items:center; gap:8px; font-size:11px; color:#697386; padding:8px 10px; border:1px solid #e6e8eb; border-radius:6px; background:#fff}
.stages li .n{width:18px; height:18px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; background:#eef0f2; color:#697386; flex:none}
.stages li.is-active{color:#1a1f36; border-color:#0FA39A; box-shadow:0 0 0 3px rgba(15,163,154,.12)}
.stages li.is-active .n{background:#0B7D76; color:#fff; animation:progress-pulse 1.4s ease-in-out infinite}
.stages li.is-done{color:#0B7D76}
.stages li.is-done .n{background:#0B7D76; color:#fff}
.stages li.is-done .n::before{content:"\2713"}
.stages li.is-done .n{font-size:0}
.stages li.is-done .n::before{font-size:10px}
.stages li.is-failed{border-color:#E8512E; color:#E8512E}
@media(max-width:760px){ .stages{grid-template-columns:1fr 1fr} }
.progress-pulse{animation:progress-pulse 1.4s ease-in-out infinite}
@keyframes progress-pulse{0%,100%{opacity:1}50%{opacity:.45}}
@media (prefers-reduced-motion: reduce){.progress-pulse{animation:none}}
.kebab{width:24px; height:24px; font-size:14px}
.rowmenu-panel{border-radius:6px; min-width:150px}
.rowmenu-item{font-size:11px; padding:6px 10px}
#bulkbar{padding:8px 10px !important; font-size:11px}
.rxgrid{padding:12px 0 !important}
@media(max-width:760px){
  .admin-shell .wrap,.admin-main{padding-left:14px; padding-right:14px}
  .admin-top .row{height:auto; padding:8px 0}
  .rxgrid{grid-template-columns:1fr !important}
  .panel{overflow-x:auto; -webkit-overflow-scrolling:touch}
  .panel table{min-width:640px}
  .colpop{width:min(260px, calc(100vw - 24px))}
}

/* interactive locations map */
.map-layout{display:grid; grid-template-columns:240px 1fr; gap:20px; margin-bottom:8px}
@media(max-width:760px){ .map-layout{grid-template-columns:1fr} }
#fl-map{height:560px; border-radius:16px; border:1px solid var(--hairline); box-shadow:var(--shadow); z-index:0}
@media(max-width:760px){ #fl-map{height:400px} }
.region-legend{background:#fff; border:1px solid var(--hairline); border-radius:14px; padding:14px; height:fit-content}
.region-legend-item{display:flex; align-items:center; gap:9px; padding:9px 6px; border-radius:8px; cursor:pointer; font-size:13.5px; color:var(--ink-soft); transition:background .15s}
.region-legend-item:hover{background:var(--sand)}
.region-legend-item.region-off{opacity:.4}
.region-dot{width:10px; height:10px; border-radius:50%; flex:none}
.region-name{flex:1}
.region-count{font-family:"JetBrains Mono",monospace; font-size:11px; color:var(--muted)}
.region-legend-item[data-region="Tampa Bay"] .region-dot{background:#FF6A45}
.region-legend-item[data-region="Central Florida / Orlando"] .region-dot{background:#0FA39A}
.region-legend-item[data-region="Southwest Florida"] .region-dot{background:#F5A623}
.region-legend-item[data-region="Treasure Coast"] .region-dot{background:#3B82F6}
.region-legend-item[data-region="South Florida / Miami-Dade"] .region-dot{background:#A855F7}

.clinic-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:16px}
@media(max-width:900px){ .clinic-grid{grid-template-columns:1fr 1fr} }
@media(max-width:560px){ .clinic-grid{grid-template-columns:1fr} }
.clinic-card{background:#fff; border:1px solid var(--hairline); border-radius:12px; padding:14px 16px}
.clinic-addr{font-weight:600; color:var(--ink); font-size:14.5px; line-height:1.3}
.clinic-citystate{color:var(--muted); font-size:13px; margin-top:3px}
.clinic-phone{display:inline-block; margin-top:8px; font-size:13px; color:var(--teal-deep); font-weight:600}
.clinic-phone:hover{text-decoration:underline}
.region-block[data-region="Tampa Bay"] .clinic-card{border-top:3px solid #FF6A45}
.region-block[data-region="Central Florida / Orlando"] .clinic-card{border-top:3px solid #0FA39A}
.region-block[data-region="Southwest Florida"] .clinic-card{border-top:3px solid #F5A623}
.region-block[data-region="Treasure Coast"] .clinic-card{border-top:3px solid #3B82F6}
.region-block[data-region="South Florida / Miami-Dade"] .clinic-card{border-top:3px solid #A855F7}
