:root { --purple:#7953c6; --purple-dark:#5e39ac; --ink:#17141d; --muted:#746e79; --paper:#f5f3f6; --line:#e5e0e8; --white:#fff; --green:#1f9d6c; --amber:#d48a18; --red:#c44747; }
* { box-sizing:border-box; }
html { width:100%; max-width:100%; overflow-x:hidden; scroll-behavior:smooth; }
body { width:100%; max-width:100%; margin:0; overflow-x:hidden; color:var(--ink); background:var(--paper); font-family:"DM Sans",sans-serif; }
body.has-open-dialog { overflow:hidden; overscroll-behavior:none; }
img,svg,video,canvas { max-width:100%; }
button,input,select,textarea { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
[hidden] { display:none !important; }
.dashboard-shell { min-height:100vh; display:grid; grid-template-columns:250px 1fr; }
.dash-sidebar { min-height:100vh; padding:28px 20px 22px; border-right:1px solid var(--line); background:#fff; position:sticky; top:0; height:100vh; display:flex; flex-direction:column; z-index:20; }
.dash-brand { width:138px; margin:0 12px 44px; }
.dash-brand img { display:block; width:100%; }
.dash-nav { display:grid; gap:7px; }
.dash-nav a { min-height:46px; padding:0 13px; border-radius:12px; color:#69626e; text-decoration:none; display:flex; align-items:center; gap:12px; font-size:14px; font-weight:600; }
.dash-nav a:hover { background:#f6f3f8; color:var(--ink); }
.dash-nav a.active { color:var(--purple-dark); background:#f0eafb; }
.dash-nav svg { width:19px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.nav-count { min-width:22px; height:22px; margin-left:auto; padding:0 6px; border-radius:999px; color:white; background:var(--purple); display:grid; place-items:center; font-size:11px; }
.sidebar-bottom { margin-top:auto; padding:18px 12px 0; border-top:1px solid var(--line); }
.sidebar-help { padding:14px; border-radius:14px; background:#20182c; color:white; }
.sidebar-help strong { display:block; font-size:13px; }
.sidebar-help p { margin:6px 0 12px; color:rgba(255,255,255,.55); font-size:12px; line-height:1.45; }
.sidebar-help a { color:#cbb6f2; font-size:12px; font-weight:700; text-decoration:none; }
.dash-user { margin-top:16px; display:flex; align-items:center; gap:10px; }
.dash-user > span { width:38px; height:38px; border-radius:11px; color:white; background:var(--purple); display:grid; place-items:center; font-size:12px; font-weight:800; }
.dash-user strong,.dash-user small { display:block; }
.dash-user strong { font-size:13px; }
.dash-user small { margin-top:3px; color:#99929d; font-size:11px; }
.dashboard-main { min-width:0; }
.dash-header { min-height:78px; padding:0 clamp(24px,4vw,58px); border-bottom:1px solid var(--line); background:rgba(245,243,246,.92); backdrop-filter:blur(14px); position:sticky; top:0; z-index:15; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.dash-header p { margin:0; color:#817a86; font-size:14px; }
.dash-header p strong { color:var(--ink); }
.dash-header-actions { display:flex; align-items:center; gap:10px; }
.icon-button { width:42px; height:42px; border:1px solid var(--line); border-radius:12px; color:#6f6874; background:white; display:grid; place-items:center; cursor:pointer; position:relative; }
.icon-button svg { width:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.icon-button i { width:7px; height:7px; position:absolute; top:8px; right:8px; border:2px solid white; border-radius:50%; background:var(--purple); }
.primary-dash-button { height:44px; padding:0 18px; border:0; border-radius:999px; color:white; background:var(--purple); display:flex; align-items:center; gap:9px; font-size:13px; font-weight:700; cursor:pointer; }
.primary-dash-button svg { width:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.dash-content { max-width:1480px; margin:0 auto; padding:clamp(30px,4.5vw,58px); }
.page-heading { margin-bottom:32px; display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }
.page-heading span { color:var(--purple-dark); text-transform:uppercase; letter-spacing:.14em; font-size:11px; font-weight:800; }
.page-heading h1 { margin:9px 0 9px; font:800 clamp(34px,4vw,52px)/1 "Manrope",sans-serif; letter-spacing:-.055em; }
.page-heading h1 em { color:var(--purple); font-style:normal; }
.page-heading p { margin:0; color:var(--muted); font-size:15px; line-height:1.5; }
.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; margin-bottom:24px; }
.metric-card { min-height:145px; padding:21px; border:1px solid var(--line); border-radius:19px; background:white; position:relative; overflow:hidden; }
.metric-card::after { content:""; width:100px; height:100px; position:absolute; right:-47px; top:-47px; border-radius:50%; background:#eee7fa; }
.metric-top { display:flex; align-items:center; justify-content:space-between; color:#8a838f; font-size:12px; }
.metric-icon { width:34px; height:34px; border-radius:10px; color:var(--purple-dark); background:#f1ebfb; display:grid; place-items:center; }
.metric-icon svg { width:17px; fill:none; stroke:currentColor; stroke-width:1.7; }
.metric-card strong { margin:18px 0 7px; display:block; font:800 30px/1 "Manrope",sans-serif; }
.metric-card small { color:#918a95; font-size:11px; }
.metric-card small.up { color:var(--green); }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr); gap:22px; align-items:start; }
.panel { border:1px solid var(--line); border-radius:20px; background:white; overflow:hidden; }
.panel-head { min-height:68px; padding:18px 21px; border-bottom:1px solid #eeeaf0; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.panel-head h2 { margin:0; font:800 17px/1.2 "Manrope",sans-serif; }
.panel-head p { margin:5px 0 0; color:#948d98; font-size:11px; }
.panel-head a,.panel-head button { border:0; padding:0; color:var(--purple-dark); background:none; text-decoration:none; font-size:12px; font-weight:700; cursor:pointer; }
.stack { display:grid; gap:20px; }
.status-pill { width:max-content; padding:6px 9px; border-radius:999px; font-size:10px; font-weight:800; }
.status-submitted { color:#6640ae; background:#efe8fb; }
.status-review { color:#a5670c; background:#fff2d8; }
.status-accepted,.status-active { color:#167852; background:#dcf5e9; }
.status-rejected,.status-closed { color:#a93c3c; background:#fbe2e2; }
.progress-ring { --value:78; width:116px; height:116px; margin:8px auto 17px; border-radius:50%; background:conic-gradient(var(--purple) calc(var(--value)*1%),#eee9f1 0); display:grid; place-items:center; position:relative; }
.progress-ring::before { content:""; position:absolute; inset:10px; border-radius:50%; background:white; }
.progress-ring strong { z-index:1; font:800 24px/1 "Manrope",sans-serif; }
.profile-panel { padding:24px; text-align:center; }
.profile-panel h2 { margin:0; font:800 17px/1 "Manrope",sans-serif; }
.profile-panel > p { margin:0 auto 18px; max-width:220px; color:#847d89; font-size:12px; line-height:1.5; }
.profile-panel button { width:100%; height:42px; border:1px solid #dcd5e1; border-radius:999px; color:var(--ink); background:white; font-size:12px; font-weight:700; cursor:pointer; }
.secondary-full-button { width:100%; min-height:42px; border:1px solid #dcd5e1; border-radius:999px; color:var(--ink); background:white; display:flex; align-items:center; justify-content:center; text-decoration:none; font-size:12px; font-weight:700; }
.application-list { padding:0 21px; }
.application-row { padding:20px 0; border-bottom:1px solid #eeeaf0; display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:13px; align-items:center; }
.application-row:last-child { border-bottom:0; }
.company-initial { width:44px; height:44px; border-radius:13px; color:white; background:#21192d; display:grid; place-items:center; font-size:11px; font-weight:800; }
.application-row h3 { margin:0 0 5px; font:700 14px/1.2 "Manrope",sans-serif; }
.application-row p { margin:0; color:#928b96; font-size:11px; }
.application-status { text-align:right; }
.application-status small { display:block; margin-top:6px; color:#aaa3ad; font-size:10px; }
.empty-applications { padding:54px 24px; text-align:center; }
.empty-applications h3 { margin:12px 0 7px; font:800 20px/1.2 "Manrope",sans-serif; }
.empty-applications p { margin:0 0 18px; color:#8b8490; font-size:13px; }
.empty-applications a { height:40px; padding:0 16px; border-radius:999px; color:white; background:var(--purple); display:inline-flex; align-items:center; text-decoration:none; font-size:12px; font-weight:700; }
.next-step { padding:22px; }
.next-step > span { color:#918996; text-transform:uppercase; letter-spacing:.12em; font-size:10px; font-weight:800; }
.next-step h3 { margin:12px 0 8px; font:800 21px/1.1 "Manrope",sans-serif; }
.next-step p { margin:0 0 18px; color:#7d7682; font-size:12px; line-height:1.5; }
.next-step a { color:var(--purple-dark); font-size:12px; font-weight:800; text-decoration:none; }

/* Organization dashboard */
.org-highlight { margin-bottom:24px; padding:28px; border-radius:22px; color:white; background:#20182c; display:flex; justify-content:space-between; align-items:center; gap:24px; overflow:hidden; position:relative; }
.org-highlight::after { content:""; width:300px; height:300px; position:absolute; right:-100px; top:-160px; border-radius:50%; background:var(--purple); opacity:.45; }
.org-highlight div { position:relative; z-index:1; }
.org-highlight span { color:#c6aff1; text-transform:uppercase; letter-spacing:.14em; font-size:10px; font-weight:800; }
.org-highlight h2 { margin:10px 0 7px; font:800 27px/1.1 "Manrope",sans-serif; letter-spacing:-.035em; }
.org-highlight p { margin:0; color:rgba(255,255,255,.56); font-size:13px; }
.org-highlight button { min-width:140px; height:44px; position:relative; z-index:1; border:0; border-radius:999px; color:var(--ink); background:white; font-size:12px; font-weight:800; cursor:pointer; }
.light-action { min-width:140px; min-height:44px; padding:0 18px; position:relative; z-index:1; border-radius:999px; color:var(--ink); background:white; display:flex; align-items:center; justify-content:center; text-decoration:none; font-size:12px; font-weight:800; }
.pipeline { padding:22px; }
.pipeline-row { display:grid; grid-template-columns:100px 1fr 35px; gap:12px; align-items:center; margin:18px 0; color:#706974; font-size:12px; }
.pipeline-row div { height:8px; border-radius:99px; background:#eeeaf1; overflow:hidden; }
.pipeline-row i { display:block; height:100%; border-radius:inherit; background:var(--purple); }
.pipeline-row strong { text-align:right; color:var(--ink); font-size:12px; }
.openings-table { width:100%; border-collapse:collapse; }
.openings-table th { padding:13px 18px; color:#938c97; background:#faf9fb; text-align:left; text-transform:uppercase; letter-spacing:.08em; font-size:9px; }
.openings-table td { padding:17px 18px; border-top:1px solid #eeeaf0; font-size:12px; }
.openings-table td:first-child strong,.openings-table td:first-child span { display:block; }
.openings-table td:first-child span { margin-top:4px; color:#96909a; font-size:10px; }
.table-action { border:0; color:#827b87; background:none; font-size:20px; cursor:pointer; }
.request-list { padding:0 21px; }
.request-row { padding:19px 0; border-bottom:1px solid #eeeaf0; display:grid; grid-template-columns:42px 1fr auto; gap:12px; align-items:center; }
.request-row:last-child { border-bottom:0; }
.candidate-avatar { width:42px; height:42px; border-radius:50%; color:var(--purple-dark); background:#eee7f8; display:grid; place-items:center; font-size:11px; font-weight:800; }
.request-row h3 { margin:0 0 5px; font-size:13px; }
.request-row p { margin:0; color:#918a95; font-size:10px; }
.request-actions { display:flex; gap:7px; }
.request-actions button { height:34px; padding:0 11px; border-radius:9px; font-size:10px; font-weight:800; cursor:pointer; }
.request-actions .reject { border:1px solid #dfd9e2; color:#716a76; background:white; }
.request-actions .accept { border:0; color:white; background:var(--purple); }
.request-row.decided { opacity:.68; }
.decision-label { font-size:11px; font-weight:800; }
.decision-label.accepted { color:var(--green); }
.decision-label.rejected { color:var(--red); }

/* Admin dashboard */
.admin-sidebar { color:white; background:#17131d; border-color:rgba(255,255,255,.08); }
.admin-sidebar .dash-brand { filter:brightness(0) invert(1); }
.admin-sidebar .dash-nav a { color:rgba(255,255,255,.55); }
.admin-sidebar .dash-nav a:hover { color:white; background:rgba(255,255,255,.06); }
.admin-sidebar .dash-nav a.active { color:white; background:var(--purple); }
.admin-sidebar .sidebar-bottom { border-color:rgba(255,255,255,.1); }
.admin-sidebar .dash-user strong { color:white; }
.admin-sidebar .dash-user small { color:rgba(255,255,255,.4); }
.admin-hero { margin-bottom:24px; display:grid; grid-template-columns:1.4fr .6fr; gap:18px; }
.growth-panel { min-height:320px; padding:24px; border:1px solid var(--line); border-radius:20px; background:white; }
.growth-header { display:flex; justify-content:space-between; align-items:flex-start; }
.growth-header h2 { margin:0; font:800 17px/1 "Manrope",sans-serif; }
.growth-header p { margin:6px 0 0; color:#918a96; font-size:11px; }
.growth-header select { height:34px; border:1px solid var(--line); border-radius:9px; padding:0 10px; color:#635c68; background:white; font-size:11px; }
.bar-chart { height:205px; margin-top:28px; padding-bottom:24px; border-bottom:1px solid #e8e3ea; display:flex; align-items:flex-end; gap:clamp(8px,2vw,22px); }
.bar-group { flex:1; height:100%; display:flex; align-items:flex-end; justify-content:center; gap:4px; position:relative; }
.bar-group i { width:min(16px,34%); border-radius:5px 5px 0 0; background:#d7c8f1; }
.bar-group i:last-of-type { background:var(--purple); }
.bar-group span { position:absolute; bottom:-21px; color:#a099a3; font-size:9px; }
.health-panel { min-height:320px; padding:24px; border-radius:20px; color:white; background:#21192d; display:flex; flex-direction:column; }
.health-panel > span { color:#bda5ea; text-transform:uppercase; letter-spacing:.13em; font-size:10px; font-weight:800; }
.health-panel h2 { margin:11px 0 5px; font:800 24px/1.1 "Manrope",sans-serif; }
.health-panel > p { margin:0; color:rgba(255,255,255,.48); font-size:11px; }
.health-score { margin:auto 0 18px; display:flex; align-items:flex-end; gap:6px; }
.health-score strong { font:800 58px/.8 "Manrope",sans-serif; }
.health-score span { color:#bda5ea; font-size:18px; }
.health-items { display:grid; gap:10px; }
.health-items div { padding-top:10px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; color:rgba(255,255,255,.55); font-size:10px; }
.health-items strong { color:white; }
.verification-list { padding:0 21px; }
.verification-row { padding:17px 0; border-bottom:1px solid #eeeaf0; display:grid; grid-template-columns:40px 1fr auto; gap:11px; align-items:center; }
.verification-row:last-child { border:0; }
.verification-row h3 { margin:0 0 4px; font-size:13px; }
.verification-row p { margin:0; color:#928b96; font-size:10px; }
.verification-row button { height:33px; padding:0 11px; border:1px solid #ded7e2; border-radius:9px; color:var(--purple-dark); background:white; font-size:10px; font-weight:800; cursor:pointer; }
.verification-row.approved { opacity:.6; }
.activity-feed { padding:4px 21px 15px; }
.activity-item { padding:15px 0 15px 25px; border-bottom:1px solid #eeeaf0; position:relative; }
.activity-item::before { content:""; width:8px; height:8px; position:absolute; left:3px; top:20px; border-radius:50%; background:#b696ed; box-shadow:0 0 0 5px #f1ebfa; }
.activity-item:last-child { border:0; }
.activity-item p { margin:0; color:#5e5763; font-size:12px; line-height:1.45; }
.activity-item time { display:block; margin-top:4px; color:#aaa3ad; font-size:9px; }
.toast { position:fixed; right:24px; bottom:24px; z-index:50; padding:14px 18px; border-radius:12px; color:white; background:#21192d; box-shadow:0 16px 45px rgba(23,15,34,.25); font-size:12px; font-weight:700; opacity:0; transform:translateY(15px); pointer-events:none; transition:.25s; }
.toast.show { opacity:1; transform:none; }

/* Complete dashboard pages */
.quiet-link { color:var(--purple-dark); text-decoration:none; font-size:13px; font-weight:700; }
.narrow-content { max-width:1050px; }
.wide-left { grid-template-columns:minmax(0,1.8fr) minmax(270px,.62fr); }
.toolbar { min-height:68px; margin-bottom:20px; padding:12px 16px; display:flex; align-items:center; justify-content:space-between; gap:16px; overflow:visible; }
.search-field { width:min(420px,100%); height:42px; padding:0 13px; border:1px solid var(--line); border-radius:12px; background:#faf9fb; display:flex; align-items:center; gap:10px; }
.search-field svg { width:18px; fill:none; stroke:#968f9a; stroke-width:1.7; }
.search-field input { width:100%; border:0; outline:0; color:var(--ink); background:transparent; font-size:13px; }
.filter-chips { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.filter-chips button { height:34px; padding:0 12px; border:1px solid var(--line); border-radius:999px; color:#746d79; background:white; font-size:11px; font-weight:700; cursor:pointer; }
.filter-chips button.active { color:white; border-color:var(--purple); background:var(--purple); }
.compact-select { height:38px; padding:0 34px 0 12px; border:1px solid var(--line); border-radius:10px; color:#665f6b; background:white; font-size:11px; }
.application-board { padding:0 20px; }
.application-card { padding:20px 0; border-bottom:1px solid #eeeaf0; display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:14px; align-items:center; }
.application-card:last-child { border-bottom:0; }
.application-card .company-initial { width:48px; height:48px; }
.application-card h3 { margin:0 0 5px; font:700 14px/1.25 "Manrope",sans-serif; }
.application-card p { margin:0 0 8px; color:#8b8490; font-size:11px; }
.application-meta { display:flex; gap:10px; flex-wrap:wrap; color:#99929d; font-size:10px; }
.application-card-actions { display:flex; align-items:center; gap:8px; }
.icon-text-button,.text-button { border:0; color:var(--purple-dark); background:none; font-size:11px; font-weight:800; cursor:pointer; }
.timeline-card { padding:22px; }
.timeline-card > span { color:#918996; text-transform:uppercase; letter-spacing:.12em; font-size:10px; font-weight:800; }
.timeline-card ol { margin:20px 0 0; padding:0; list-style:none; }
.timeline-card li { min-height:66px; padding:0 0 18px 32px; position:relative; }
.timeline-card li::before { content:""; width:12px; height:12px; position:absolute; left:0; top:3px; border:3px solid #dcd6df; border-radius:50%; background:white; }
.timeline-card li::after { content:""; width:2px; height:46px; position:absolute; left:8px; top:18px; background:#e4dfe7; }
.timeline-card li:last-child::after { display:none; }
.timeline-card li.done::before,.timeline-card li.current::before { border-color:var(--purple); background:var(--purple); }
.timeline-card li strong,.timeline-card li small { display:block; }
.timeline-card li strong { font-size:12px; }
.timeline-card li small { margin-top:5px; color:#938c97; font-size:10px; line-height:1.4; }
.profile-layout { display:grid; grid-template-columns:270px minmax(0,1fr); gap:22px; align-items:start; }
.profile-layout > aside { position:sticky; top:102px; }
.identity-card { padding:26px; text-align:center; }
.large-avatar { width:82px; height:82px; margin:0 auto 16px; border-radius:24px; color:white; background:linear-gradient(145deg,var(--purple),#4b2a8d); display:grid; place-items:center; font:800 22px/1 "Manrope",sans-serif; }
.identity-card h2 { margin:0 0 6px; font:800 19px/1.2 "Manrope",sans-serif; }
.identity-card > p { margin:0; color:#8f8893; font-size:12px; }
.progress-line { margin-top:22px; text-align:left; }
.progress-line > span { margin-bottom:8px; display:flex; justify-content:space-between; font-size:11px; }
.progress-line em { color:var(--purple-dark); font-style:normal; font-weight:800; }
.progress-line > i { height:7px; border-radius:99px; background:#ece7ef; display:block; overflow:hidden; }
.progress-line b { height:100%; border-radius:inherit; background:var(--purple); display:block; transition:width .3s; }
.upload-card { min-height:82px; margin-top:20px; padding:15px; border:1px dashed #cfc5d8; border-radius:13px; background:#faf8fc; display:flex; align-items:center; justify-content:center; flex-direction:column; cursor:pointer; }
.upload-card input { display:none; }
.upload-card strong { color:var(--purple-dark); font-size:11px; }
.upload-card span { margin-top:5px; color:#9a939e; font-size:9px; }
.upload-card.compact { min-height:70px; margin-top:16px; }
.profile-nav { padding:8px; }
.profile-nav a { min-height:40px; padding:0 12px; border-radius:9px; color:#6f6874; display:flex; align-items:center; text-decoration:none; font-size:11px; font-weight:700; }
.profile-nav a:hover { color:var(--purple-dark); background:#f3eef9; }
.form-section { overflow:visible; }
.form-grid { padding:22px; display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid label { display:grid; gap:7px; color:#665f6b; font-size:11px; font-weight:700; }
.form-grid label.full { grid-column:1/-1; }
.form-grid input,.form-grid select,.form-grid textarea { width:100%; border:1px solid #ddd7e1; border-radius:11px; outline:0; color:var(--ink); background:white; padding:0 13px; font-size:13px; transition:.2s; }
.form-grid input,.form-grid select { height:44px; }
.form-grid textarea { padding-top:12px; resize:vertical; }
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus { border-color:var(--purple); box-shadow:0 0 0 3px #eee7fa; }
.form-grid small { color:#aaa3ad; font-size:9px; font-weight:400; }
.sticky-form-actions { padding:16px 18px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.92); backdrop-filter:blur(12px); position:sticky; bottom:18px; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:15px; }
.sticky-form-actions > span { color:#928b96; font-size:10px; }
.settings-section { overflow:visible; }
.setting-row { min-height:78px; padding:16px 21px; border-bottom:1px solid #eeeaf0; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.setting-row:last-child { border-bottom:0; }
.setting-row strong,.setting-row small { display:block; }
.setting-row strong { font-size:13px; }
.setting-row small { margin-top:5px; color:#98919c; font-size:10px; }
.switch { width:42px; height:24px; appearance:none; border-radius:99px; background:#dcd6e0; position:relative; cursor:pointer; transition:.2s; }
.switch::after { content:""; width:18px; height:18px; position:absolute; top:3px; left:3px; border-radius:50%; background:white; box-shadow:0 2px 5px rgba(0,0,0,.15); transition:.2s; }
.switch:checked { background:var(--purple); }
.switch:checked::after { transform:translateX(18px); }
.danger-zone { padding:22px; border-color:#edcece; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.danger-zone h2 { margin:0 0 7px; font:800 15px/1.2 "Manrope",sans-serif; }
.danger-zone p { margin:0; color:#8f8792; font-size:11px; }
.danger-outline,.danger-button { min-height:40px; padding:0 15px; border:1px solid #df9a9a; border-radius:10px; color:#ae3737; background:white; font-size:11px; font-weight:800; cursor:pointer; }
.member-list { padding:0 21px; }
.member-list article { min-height:72px; border-bottom:1px solid #eeeaf0; display:grid; grid-template-columns:42px 1fr auto; gap:12px; align-items:center; }
.member-list article:last-child { border-bottom:0; }
.member-list strong,.member-list small { display:block; }
.member-list strong { font-size:12px; }
.member-list small { margin-top:4px; color:#98919c; font-size:10px; }
.settings-form { padding-top:18px; }
.verified-badge { width:max-content; margin:14px auto 0; padding:6px 9px; border-radius:999px; color:#936314; background:#fff0cf; display:block; font-size:9px; font-weight:800; }
.verification-checklist { padding:22px; }
.verification-checklist h3 { margin:0 0 16px; font:800 14px/1.2 "Manrope",sans-serif; }
.verification-checklist ul { padding:0; margin:0; list-style:none; display:grid; gap:12px; }
.verification-checklist li { padding-left:24px; color:#8c8590; font-size:11px; position:relative; }
.verification-checklist li::before { content:""; width:14px; height:14px; position:absolute; left:0; top:0; border:1px solid #cbc4cf; border-radius:50%; }
.verification-checklist li.done { color:#4f4854; }
.verification-checklist li.done::before { content:"✓"; color:white; border-color:var(--green); background:var(--green); display:grid; place-items:center; font-size:8px; }
.opening-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.opening-card { min-height:285px; padding:22px; border:1px solid var(--line); border-radius:20px; background:white; display:flex; flex-direction:column; transition:.25s; }
.opening-card:hover { transform:translateY(-4px); box-shadow:0 18px 48px rgba(30,22,40,.08); }
.opening-card-top { display:flex; align-items:center; justify-content:space-between; }
.opening-card .role-icon { width:46px; height:46px; border-radius:14px; color:var(--purple-dark); background:#eee7fa; display:grid; place-items:center; font-weight:800; }
.opening-card h2 { margin:24px 0 7px; font:800 18px/1.2 "Manrope",sans-serif; }
.opening-card > p { margin:0; color:#8c8590; font-size:11px; }
.opening-stats { margin-top:auto; padding:18px 0; border-top:1px solid #eeeaf0; display:grid; grid-template-columns:repeat(3,1fr); }
.opening-stats span { color:#9a939e; font-size:9px; }
.opening-stats strong { margin-top:5px; display:block; color:var(--ink); font-size:13px; }
.opening-card-actions { display:flex; gap:8px; }
.opening-card-actions button,.secondary-button { min-height:38px; padding:0 13px; border:1px solid var(--line); border-radius:10px; color:#625b67; background:white; font-size:10px; font-weight:800; cursor:pointer; }
.opening-card-actions button:first-child { flex:1; color:white; border-color:var(--ink); background:var(--ink); }
.opening-empty { padding:60px; text-align:center; }
.opening-empty h2 { margin:0 0 8px; font:800 20px/1.2 "Manrope",sans-serif; }
.opening-empty p { margin:0; color:#918a95; font-size:12px; }
.stage-board { margin-bottom:20px; display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.stage-board button { min-height:90px; padding:17px; border:1px solid var(--line); border-radius:16px; color:#827b87; background:white; text-align:left; cursor:pointer; transition:.2s; }
.stage-board button.active { color:white; border-color:var(--purple); background:var(--purple); box-shadow:0 12px 30px rgba(121,83,198,.2); }
.stage-board strong,.stage-board span { display:block; }
.stage-board strong { font:800 25px/1 "Manrope",sans-serif; }
.stage-board span { margin-top:8px; font-size:10px; font-weight:700; }
.candidate-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.candidate-card { padding:20px; border:1px solid var(--line); border-radius:18px; background:white; }
.candidate-head { display:grid; grid-template-columns:48px 1fr auto; gap:12px; align-items:center; }
.candidate-head .candidate-avatar { width:48px; height:48px; }
.candidate-card h2 { margin:0 0 5px; font:800 14px/1.2 "Manrope",sans-serif; }
.candidate-card p { margin:0; color:#918a95; font-size:10px; }
.match-badge { padding:7px 9px; border-radius:9px; color:#167852; background:#e0f5ea; font-size:10px; font-weight:800; }
.candidate-skill-row { min-height:54px; padding:14px 0; display:flex; gap:6px; flex-wrap:wrap; }
.candidate-skill-row span { padding:6px 8px; border-radius:7px; color:#6c6472; background:#f3f0f5; font-size:9px; }
.candidate-actions { padding-top:14px; border-top:1px solid #eeeaf0; display:flex; gap:8px; }
.candidate-actions button { height:36px; padding:0 12px; border:1px solid var(--line); border-radius:9px; color:#68616d; background:white; font-size:10px; font-weight:800; cursor:pointer; }
.candidate-actions button:first-child { margin-right:auto; }
.candidate-actions .accept { color:white; border-color:var(--purple); background:var(--purple); }
.analytics-grid { margin-bottom:20px; display:grid; grid-template-columns:1.65fr .65fr; gap:20px; }
.chart-panel { min-height:390px; }
.chart-legend { display:flex; gap:13px; color:#88818c; font-size:9px; }
.chart-legend span { display:flex; align-items:center; gap:5px; }
.chart-legend i { width:8px; height:8px; border-radius:50%; background:var(--purple); }
.chart-legend span:last-child i { background:#c9b8e8; }
.line-chart { padding:24px 22px 16px; }
.line-chart svg { width:100%; overflow:visible; }
.grid-lines { fill:none; stroke:#ebe7ed; stroke-width:1; }
.area { fill:url(#none); fill:#f2edfb; opacity:.7; }
.line-chart .line-main,.line-chart .line-alt { fill:none; stroke:var(--purple); stroke-width:4; stroke-linecap:round; }
.line-chart .line-alt { stroke:#c9b8e8; stroke-width:3; }
.chart-axis { padding:0 2%; display:flex; justify-content:space-between; color:#a39da6; font-size:9px; }
.source-panel { padding-bottom:20px; }
.donut { width:150px; height:150px; margin:24px auto; border-radius:50%; background:conic-gradient(var(--purple) 0 calc(var(--a)*1%),#bca2e4 calc(var(--a)*1%) calc((var(--a) + var(--b))*1%),#e9e2f2 0); display:grid; place-items:center; position:relative; }
.donut::after { content:""; position:absolute; inset:24px; border-radius:50%; background:white; }
.donut div { z-index:1; text-align:center; }
.donut strong,.donut span { display:block; }
.donut strong { font:800 25px/1 "Manrope",sans-serif; }
.donut span { margin-top:5px; color:#99929d; font-size:9px; }
.source-list { margin:0; padding:0 22px; list-style:none; display:grid; gap:12px; }
.source-list li { display:grid; grid-template-columns:9px 1fr auto; align-items:center; gap:8px; color:#736c78; font-size:10px; }
.source-list i { width:8px; height:8px; border-radius:50%; background:var(--purple); }
.source-list i.source-b { background:#bca2e4; }.source-list i.source-c { background:#e9e2f2; }
.source-list strong { color:var(--ink); }
.score-good { color:var(--green); }
.modal-backdrop,.sheet-backdrop { position:fixed; inset:0; z-index:100; background:rgba(20,15,26,.55); backdrop-filter:blur(5px); }
.modal-backdrop { padding:24px; display:grid; place-items:center; overflow-y:auto; overscroll-behavior:contain; }
.form-modal { width:min(680px,100%); max-height:calc(100dvh - 48px); overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; border-radius:22px; background:white; box-shadow:0 30px 90px rgba(17,10,25,.3); }
.small-modal { width:min(500px,100%); }
.modal-head { padding:22px; border-bottom:1px solid var(--line); display:flex; align-items:flex-start; justify-content:space-between; }
.modal-head span { color:var(--purple-dark); text-transform:uppercase; letter-spacing:.12em; font-size:9px; font-weight:800; }
.modal-head h2 { margin:7px 0 0; font:800 21px/1.2 "Manrope",sans-serif; }
.modal-head button,.sheet-close { width:36px; height:36px; border:1px solid var(--line); border-radius:50%; color:#756e7a; background:white; font-size:22px; cursor:pointer; }
.modal-actions { padding:18px 22px; border-top:1px solid var(--line); display:flex; justify-content:flex-end; gap:9px; }
.confirm-modal { width:min(460px,100%); padding:28px; border-radius:20px; background:white; box-shadow:0 30px 90px rgba(17,10,25,.3); }
.confirm-modal h2 { margin:0 0 10px; font:800 21px/1.2 "Manrope",sans-serif; }
.confirm-modal p { margin:0 0 22px; color:#827b87; font-size:12px; line-height:1.55; }
.confirm-modal > div { display:flex; justify-content:flex-end; gap:9px; }
.settings-section a,.settings-section > .setting-row button { border:0; color:var(--purple-dark); background:none; text-decoration:none; font-size:11px; font-weight:800; cursor:pointer; }
.danger-row strong,.danger-row button { color:var(--red) !important; }
.detail-sheet { width:min(480px,100%); max-width:100%; height:100vh; height:100dvh; padding:32px; position:fixed; right:0; top:0; z-index:110; background:white; box-shadow:-20px 0 70px rgba(25,18,33,.2); transform:translateX(104%); transition:.32s cubic-bezier(.2,.8,.2,1); overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.detail-sheet.open { transform:none; }
.sheet-close { position:absolute; right:20px; top:20px; }
.sheet-company { width:58px; height:58px; margin-top:18px; border-radius:17px; color:white; background:var(--purple); display:grid; place-items:center; font-weight:800; }
.sheet-kicker { margin-top:20px; color:var(--purple-dark); text-transform:uppercase; letter-spacing:.12em; font-size:9px; font-weight:800; }
.detail-sheet h2 { margin:8px 45px 8px 0; font:800 27px/1.15 "Manrope",sans-serif; letter-spacing:-.035em; }
.detail-sheet > div > p { color:#827b87; font-size:12px; line-height:1.6; }
.sheet-facts { margin:22px 0; padding:16px 0; border-block:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.sheet-facts span { color:#918a95; font-size:9px; }
.sheet-facts strong { display:block; margin-top:4px; color:var(--ink); font-size:11px; }
.sheet-section { margin-top:24px; }
.sheet-section h3 { font:800 13px/1.2 "Manrope",sans-serif; }
.sheet-section p,.sheet-section li { color:#756e7a; font-size:11px; line-height:1.6; }
.sheet-actions { margin-top:24px; display:flex; gap:9px; }
.sheet-actions button { flex:1; min-height:42px; border:1px solid var(--line); border-radius:10px; background:white; font-size:11px; font-weight:800; cursor:pointer; }
.sheet-actions .accept { color:white; border-color:var(--purple); background:var(--purple); }

@media (max-width:1200px) { .opening-grid { grid-template-columns:repeat(2,1fr); }.analytics-grid { grid-template-columns:1fr; }.source-panel { display:grid; grid-template-columns:1fr 1fr; }.source-panel .panel-head { grid-column:1/-1; } }

@media (max-width:1100px) {
  .metric-grid { grid-template-columns:repeat(2,1fr); }
  .dashboard-grid { grid-template-columns:1fr; }
  .admin-hero { grid-template-columns:1fr; }
  .health-panel { min-height:250px; }
}
@media (max-width:760px) {
  .dashboard-shell { display:block; padding-bottom:70px; }
  .dash-sidebar { min-height:0; width:100%; height:70px; padding:8px 10px; border:0; border-top:1px solid var(--line); position:fixed; top:auto; bottom:0; display:block; }
  .dash-brand,.sidebar-bottom { display:none; }
  .dash-nav { height:100%; display:flex; justify-content:space-around; }
  .dash-nav a { min-height:52px; min-width:58px; padding:5px 8px; flex-direction:column; justify-content:center; gap:3px; font-size:9px; }
  .dash-nav svg { width:18px; }
  .nav-count { position:absolute; margin:0; right:7px; top:4px; min-width:17px; height:17px; font-size:8px; }
  .dash-header { min-height:68px; padding-inline:17px; }
  .dash-header p { font-size:12px; }
  .dash-content { padding:26px 14px 38px; }
  .page-heading { align-items:flex-start; flex-direction:column; }
  .page-heading h1 { font-size:38px; }
  .page-heading p { font-size:14px; }
  .metric-grid { gap:10px; }
  .metric-card { min-height:132px; padding:17px; }
  .metric-card strong { font-size:26px; }
  .org-highlight { align-items:flex-start; flex-direction:column; }
  .openings-table { min-width:650px; }
  .table-scroll { overflow-x:auto; }
  .request-row { grid-template-columns:42px 1fr; }
  .request-actions,.decision-label { grid-column:2; }
  .admin-hero { display:block; }
  .health-panel { margin-top:16px; }
  .dash-nav { overflow-x:auto; justify-content:flex-start; }
  .dash-nav a { flex:0 0 64px; position:relative; }
  .toolbar { align-items:stretch; flex-direction:column; }
  .search-field { width:100%; }
  .profile-layout { grid-template-columns:1fr; }
  .profile-layout > aside { position:static; }
  .profile-nav { display:none; }
  .opening-grid,.candidate-grid { grid-template-columns:1fr; }
  .stage-board { grid-template-columns:1fr 1fr; }
  .detail-sheet { padding:25px 20px; }
  .danger-zone { align-items:flex-start; flex-direction:column; }
}
@media (max-width:500px) {
  .metric-grid { grid-template-columns:1fr 1fr; }
  .metric-card { min-height:122px; }
  .metric-card .metric-top > span:first-child { max-width:95px; }
  .application-row { grid-template-columns:40px 1fr; }
  .application-status { grid-column:2; text-align:left; }
  .primary-dash-button span { display:none; }
  .form-grid { grid-template-columns:1fr; }
  .form-grid label.full { grid-column:auto; }
  .application-card { grid-template-columns:44px 1fr; }
  .application-card-actions { grid-column:2; justify-content:flex-start; }
  .source-panel { display:block; }
  .filter-chips { display:grid; grid-template-columns:1fr 1fr; }
  .sticky-form-actions { align-items:stretch; flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; } }

/* Placify administration suite */
.admin-sidebar .dash-nav { gap:4px; overflow-y:auto; scrollbar-width:none; }
.admin-sidebar .dash-nav::-webkit-scrollbar { display:none; }
.admin-sidebar .dash-nav a { min-height:41px; }
.admin-sidebar .nav-count { background:#8f69d8; }
.admin-mini-metrics .metric-card { min-height:126px; }
.admin-mini-metrics .metric-card strong { margin-top:15px; }
.admin-chart-key { margin-top:14px; display:flex; gap:14px; color:#918a95; font-size:10px; }
.admin-chart-key span { display:flex; align-items:center; gap:6px; }
.admin-chart-key i { width:8px; height:8px; border-radius:3px; background:#d7c8f1; }
.admin-chart-key span:last-child i { background:var(--purple); }
.admin-table { width:100%; border-collapse:collapse; }
.admin-table th { padding:13px 18px; color:#938c97; background:#faf9fb; text-align:left; text-transform:uppercase; letter-spacing:.08em; font-size:9px; white-space:nowrap; }
.admin-table td { padding:16px 18px; border-top:1px solid #eeeaf0; color:#5f5864; font-size:11px; vertical-align:middle; }
.admin-table td:first-child strong,.admin-table td:first-child small { display:block; }
.admin-table td:first-child strong { color:var(--ink); font-size:12px; }
.admin-table td:first-child small { margin-top:4px; color:#98919c; font-size:9px; }
.admin-entity { display:flex; align-items:center; gap:11px; min-width:190px; }
.admin-entity .company-initial,.admin-entity .candidate-avatar { flex:0 0 40px; width:40px; height:40px; }
.admin-row-action { min-height:32px; padding:0 10px; border:1px solid var(--line); border-radius:8px; color:var(--purple-dark); background:white; font-size:10px; font-weight:800; cursor:pointer; white-space:nowrap; }
.admin-empty { padding:54px 22px; color:#918a95; text-align:center; font-size:12px; }
.admin-detail-sheet { width:min(520px,100%); }
.admin-detail-sheet .sheet-company { background:#221a2d; }
.admin-audit { margin:22px 0; padding:15px; border-radius:12px; background:#f8f6f9; }
.admin-audit div { padding:9px 0; border-bottom:1px solid #ebe6ed; display:flex; justify-content:space-between; gap:15px; color:#8d8691; font-size:10px; }
.admin-audit div:last-child { border:0; }
.admin-audit strong { color:var(--ink); text-align:right; }
.admin-stage-board button.active { background:#21192d; border-color:#21192d; box-shadow:0 12px 30px rgba(20,14,26,.15); }
.verification-summary { margin-bottom:20px; padding:20px; border:1px solid var(--line); border-radius:20px; background:white; display:grid; grid-template-columns:repeat(4,1fr); }
.verification-summary div { padding:5px 20px; border-right:1px solid var(--line); }
.verification-summary div:last-child { border:0; }
.verification-summary strong,.verification-summary span { display:block; }
.verification-summary strong { font:800 25px/1 "Manrope",sans-serif; }
.verification-summary span { margin-top:7px; color:#918a95; font-size:10px; }
.verification-workspace { display:grid; grid-template-columns:minmax(280px,.75fr) minmax(440px,1.25fr); gap:20px; align-items:start; }
.verification-queue,.verification-review { min-height:560px; }
.verification-queue-item { width:100%; padding:17px 20px; border:0; border-bottom:1px solid #eeeaf0; background:white; display:grid; grid-template-columns:40px 1fr auto; gap:11px; align-items:center; text-align:left; cursor:pointer; }
.verification-queue-item:hover,.verification-queue-item.active { background:#f7f3fc; }
.verification-queue-item strong,.verification-queue-item small { display:block; }
.verification-queue-item strong { font-size:12px; }
.verification-queue-item small { margin-top:4px; color:#918a95; font-size:9px; }
.verification-queue-item time { color:#aaa3ad; font-size:9px; }
.review-placeholder { min-height:560px; padding:40px; display:grid; place-items:center; align-content:center; text-align:center; }
.review-placeholder > span { width:56px; height:56px; border-radius:18px; color:var(--purple-dark); background:#efe9fa; display:grid; place-items:center; font-size:22px; }
.review-placeholder h2 { margin:18px 0 7px; font:800 18px/1.2 "Manrope",sans-serif; }
.review-placeholder p { max-width:280px; margin:0; color:#918a95; font-size:11px; line-height:1.5; }
.review-document { padding:24px; }
.review-document-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.review-document-head h2 { margin:7px 0 5px; font:800 24px/1.2 "Manrope",sans-serif; }
.review-document-head p { margin:0; color:#8f8893; font-size:11px; }
.document-grid { margin:22px 0; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.document-card { min-height:92px; padding:14px; border:1px solid var(--line); border-radius:12px; background:#faf9fb; }
.document-card span,.document-card strong,.document-card small { display:block; }
.document-card span { color:var(--green); font-size:13px; }
.document-card strong { margin-top:8px; font-size:11px; }
.document-card small { margin-top:4px; color:#99929d; font-size:9px; }
.review-checks { padding:16px; border-radius:12px; background:#f7f5f8; display:grid; gap:11px; }
.review-checks label { display:flex; align-items:center; gap:9px; color:#615a66; font-size:10px; }
.review-checks input { accent-color:var(--purple); }
.review-actions { margin-top:20px; padding-top:18px; border-top:1px solid var(--line); display:flex; justify-content:flex-end; gap:8px; }
.review-actions button { min-height:39px; padding:0 13px; border:1px solid var(--line); border-radius:10px; background:white; font-size:10px; font-weight:800; cursor:pointer; }
.review-actions .request-change { color:#9a6412; }
.review-actions .approve { color:white; border-color:var(--green); background:var(--green); }
.content-admin-grid { display:grid; grid-template-columns:220px minmax(0,1fr); gap:20px; align-items:start; }
.content-tabs { padding:8px; position:sticky; top:100px; }
.content-tabs button { width:100%; min-height:42px; padding:0 12px; border:0; border-radius:9px; color:#716a76; background:transparent; display:flex; align-items:center; text-align:left; font-size:11px; font-weight:700; cursor:pointer; }
.content-tabs button.active { color:var(--purple-dark); background:#f0eafb; }
.inline-switch { display:flex; align-items:center; gap:9px; color:#77707c; font-size:10px; font-weight:700; }
.inline-switch .switch { width:42px; }
.content-list { padding:0 20px; }
.content-list article { min-height:72px; padding:14px 0; border-bottom:1px solid #eeeaf0; display:grid; grid-template-columns:36px 1fr auto; gap:12px; align-items:center; }
.content-list article:last-child { border:0; }
.content-list > article > span { width:36px; height:36px; border-radius:10px; color:var(--purple-dark); background:#efe9fa; display:grid; place-items:center; font-size:10px; font-weight:800; }
.content-list strong,.content-list small { display:block; }
.content-list strong { font-size:11px; }
.content-list small { margin-top:4px; color:#97909b; font-size:9px; }
.content-list button { border:0; color:var(--purple-dark); background:none; font-size:10px; font-weight:800; cursor:pointer; }
.content-preview { padding:28px; color:white; background:#21192d; }
.content-preview > span { color:#bda5ea; text-transform:uppercase; letter-spacing:.13em; font-size:9px; font-weight:800; }
.content-preview h2 { max-width:640px; margin:14px 0 10px; font:800 28px/1.12 "Manrope",sans-serif; }
.content-preview p { max-width:570px; margin:0 0 20px; color:rgba(255,255,255,.6); font-size:12px; line-height:1.5; }
.content-preview button { min-height:40px; padding:0 14px; border:0; border-radius:999px; color:var(--ink); background:white; font-size:10px; font-weight:800; }
.funnel-panel { min-height:390px; }
.funnel { padding:26px 24px; display:grid; gap:10px; }
.funnel div { width:var(--w); min-height:49px; margin:auto; padding:0 15px; border-radius:9px; color:white; background:linear-gradient(90deg,#5b3aa2,#906cdb); display:flex; align-items:center; justify-content:space-between; gap:15px; }
.funnel strong { font:800 14px/1 "Manrope",sans-serif; }
.funnel span { font-size:9px; }
.ranking-list { padding:10px 22px 20px; }
.ranking-list > div { min-height:62px; display:grid; grid-template-columns:22px 120px 1fr 90px; gap:12px; align-items:center; }
.ranking-list > div > span { color:#9d96a0; font-size:10px; }
.ranking-list strong { font-size:11px; }
.ranking-list i { height:7px; border-radius:99px; background:#eeeaf1; overflow:hidden; }
.ranking-list b { display:block; height:100%; border-radius:inherit; background:var(--purple); }
.ranking-list em { color:#8f8893; font-size:9px; font-style:normal; text-align:right; }
.regional-panel { padding-bottom:16px; }
.regional-panel > div:not(.panel-head) { min-height:55px; margin:0 20px; border-bottom:1px solid #eeeaf0; display:flex; align-items:center; justify-content:space-between; }
.regional-panel > div:last-child { border:0; }
.regional-panel > div strong { font:800 17px/1 "Manrope",sans-serif; }
.regional-panel > div span { color:#8e8792; font-size:10px; }

@media (max-width:1050px) {
  .verification-workspace { grid-template-columns:1fr; }
  .verification-review { min-height:0; }
  .content-admin-grid { grid-template-columns:1fr; }
  .content-tabs { position:static; display:flex; overflow-x:auto; }
  .content-tabs button { min-width:160px; }
}
@media (max-width:760px) {
  .admin-sidebar .dash-nav { overflow-x:auto; overflow-y:hidden; }
  .verification-summary { grid-template-columns:1fr 1fr; }
  .verification-summary div:nth-child(2) { border-right:0; }
  .verification-summary div:nth-child(-n+2) { border-bottom:1px solid var(--line); padding-bottom:16px; }
  .verification-summary div:nth-child(n+3) { padding-top:16px; }
  .document-grid { grid-template-columns:1fr; }
  .review-actions { align-items:stretch; flex-direction:column; }
  .ranking-list > div { grid-template-columns:20px 100px 1fr; }
  .ranking-list em { display:none; }
}
[hidden]{display:none!important}

@media (max-width:500px) {
  .modal-backdrop { padding:8px; }
  .form-modal,.confirm-modal { width:100%; max-height:calc(100dvh - 16px); border-radius:16px; overflow-y:auto; }
  .modal-head { position:sticky; top:0; z-index:2; padding:16px; background:white; }
  .modal-actions { position:sticky; bottom:0; z-index:2; padding:14px 16px calc(14px + env(safe-area-inset-bottom)); background:white; flex-direction:column; }
  .modal-actions > *,.confirm-modal > div > * { width:100%; }
  .confirm-modal > div { flex-direction:column; }
  .form-grid input,.form-grid select,.form-grid textarea,.search-field input { min-width:0; font-size:16px; }
  .detail-sheet { padding:calc(22px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom)); }
}
