@font-face{font-family:Gilmer;src:url("fonts/gilmer-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Gilmer;src:url("fonts/gilmer-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Gilmer;src:url("fonts/gilmer-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Gilmer;src:url("fonts/gilmer-800.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap}
:root{--navy:#162e4e;--navy-dark:#10223c;--ink:#1c2b40;--muted:#718094;--line:#e5e9ef;--bg:#f6f8fb;--blue:#eaf0f8;--green:#277a63;--radius:10px}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Gilmer,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #8fb4e1;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:650;letter-spacing:-1px;line-height:1.3}h2{font-size:17px;font-weight:650;letter-spacing:-.25px}h3{font-size:14px;font-weight:650}.sidebar{width:246px;position:fixed;top:0;left:0;bottom:0;background:#fff;border-right:1px solid var(--line);padding:32px 22px 0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-size:28px;font-weight:750;letter-spacing:-1.2px;line-height:1.1}.brand-mark{width:43px;height:43px;border-radius:12px;background:var(--navy);color:#fff;font-size:37px;line-height:43px;text-align:center;position:relative;font-weight:700}.brand-mark>span{position:absolute;font-size:23px;right:5px;top:-9px;color:#9fcac7}.brand-caption{display:block;font-size:8px;font-weight:600;letter-spacing:2.1px;color:#8391a3;margin-top:6px}.workspace{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:11px 10px;margin:37px 0 28px}.workspace strong{font-size:12px;display:block;max-width:140px;overflow-wrap:anywhere}.workspace small{font-size:10px;color:var(--muted);display:block}.org-icon{background:#eef2f6;border-radius:6px;padding:5px 10px;color:#687d93}.nav-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#8390a0}.nav-label{padding:0 12px;margin-bottom:10px}nav{display:flex;flex-direction:column;gap:5px}nav a{display:flex;gap:14px;align-items:center;padding:11px 13px;color:#647287;font-weight:550;border-radius:7px}nav a>span{font-size:21px;line-height:1;width:22px;text-align:center;font-weight:400}nav a:hover{background:#f6f8fa}nav a.active{background:var(--blue);color:var(--navy);font-weight:650}nav a.active:after{content:"";height:6px;width:6px;background:var(--navy);border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto}.sidebar-bottom>p{font-size:10px;color:#8492a3;padding:20px 10px}.status-dot{display:inline-block;background:#5b9d89;width:6px;height:6px;border-radius:50%;margin-right:5px}.account{border-top:1px solid var(--line);padding:19px 0;display:flex;gap:10px;align-items:center}.account strong{font-size:11px;display:block}.account small{font-size:10px;color:var(--muted)}.account form{margin-left:auto}.avatar{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e9edf3;font-size:11px;color:var(--navy);font-weight:650;flex-shrink:0}.avatar.pale{background:#f0f3f8;width:36px;height:36px}.icon-button{border:0;background:transparent;color:#8592a2;font-size:20px}.shell{margin-left:246px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:73px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 40px;background:#fff;font-size:11px;color:#91a0af}.topbar strong{font-weight:500;color:#5a6b80}.slash{margin:0 12px;color:#c1c9d1}.today{font-size:11px;color:#7d8b9c}main{padding:38px 40px 50px;flex:1;max-width:1680px;width:100%;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading .eyebrow{margin-bottom:8px}.page-heading p:not(.eyebrow){color:var(--muted);font-size:12px;margin-top:9px}.count{display:inline-block;font-size:12px;font-weight:600;letter-spacing:0;vertical-align:middle;color:#61748d;border:1px solid #dae2ed;border-radius:6px;padding:2px 8px;margin-left:8px;background:#edf2f8}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;min-height:40px;line-height:1.5}.button.primary{background:var(--navy);color:#fff;box-shadow:0 2px 3px #152d4f10}.button.primary:hover{background:var(--navy-dark)}.button.secondary{border-color:#dce3eb;background:#fff;color:#465970}.button.secondary:hover{background:#f8fafc}.button.quiet,.button.subtle{background:#f7f9fc;color:#617289}.button.danger{background:#b33c46;color:#fff;white-space:normal}.wide{width:100%}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 2px 3px #122a4502}.panel.padded{padding:25px}.panel h2+.muted{margin-top:8px}.panel-toolbar{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--line)}.search-form{display:flex;align-items:center;gap:10px;flex:1;max-width:640px;border:1px solid #e0e6ef;border-radius:7px;background:#fbfcfd;padding:0 5px 0 12px}.search-form>span{font-size:22px;color:#7d8da0}.search-form input{background:transparent;border:0;padding:10px 0;box-shadow:none;font-size:11px;min-width:0}.search-form .button{min-height:30px;padding:4px 12px;background:#eef2f7;font-size:10px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:9px;letter-spacing:.65px;font-weight:600;color:#8a98a9;padding:13px 20px;background:#fafbfd;border-bottom:1px solid var(--line)}td{padding:18px 20px;border-bottom:1px solid #edf0f4;font-size:11px;color:#637286}tr:last-child td{border:0}tbody tr[data-href]{cursor:pointer}tbody tr:hover{background:#fcfdff}td strong{font-weight:600;color:#32445b;font-size:12px}td small,.record-row small{display:block;color:#91a0af;font-size:10px;margin-top:3px}.person-link{display:flex;align-items:center;gap:11px}.mono{letter-spacing:1px}.number{letter-spacing:.2px;font-family:monospace;font-size:9px!important}.badge{display:inline-block;border-radius:5px;font-size:10px;padding:4px 8px;line-height:1.5;white-space:nowrap;font-weight:550}.badge.neutral,.badge.draft{background:#f1f4f8;color:#718196}.badge.approved,.badge.completed{color:#318269;background:#edf7f2}.badge.warning,.badge.review{color:#a47c37;background:#fcf6e9}.badge.rejected{background:#fcedee;color:#b15d67}.pagination{padding:15px 23px;color:var(--muted);font-size:12px;border-top:1px solid var(--line)}.pagination:empty{display:none}.pagination ul{display:flex;gap:20px;list-style:none;margin:0;padding:0}.pagination a{font-weight:600}.privacy-note{font-size:10px;color:#8b99aa;margin-top:17px;display:flex;gap:6px}.footer{margin:0 40px;border-top:1px solid var(--line);padding:18px 0;font-size:10px;color:#94a1b1;display:flex;justify-content:space-between}.empty-state{text-align:center;padding:75px 25px 80px}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border:1px solid #e3e9f0;background:#f5f8fc;border-radius:14px;color:#7288a0;font-size:27px;margin-bottom:18px}.empty-icon.small{width:40px;height:44px;font-size:22px;margin:0;flex-shrink:0}.empty-state h2{font-size:18px}.empty-state p{font-size:12px;color:var(--muted);margin:10px 0 23px}.empty-state.compact{padding:28px 15px}.empty-state.compact p{margin-bottom:0}.back-link{display:inline-block;color:#77899e;font-size:12px;margin-bottom:22px}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}.stack{display:flex;flex-direction:column;gap:20px;min-width:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:21px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-size:12px;font-weight:550;color:#475a70}.field input,.field select,.field textarea{width:100%}input,select,textarea{border:1px solid #dce3eb;border-radius:6px;padding:10px 12px;color:#344960;background:#fff;width:100%;outline:none;font-size:13px;min-height:42px}input::placeholder,textarea::placeholder{color:#9daab9;font-size:12px}input:focus,select:focus,textarea:focus{border-color:#89a6c9;box-shadow:0 0 0 3px #e6edf6}input[aria-invalid=true]{border-color:#ca6a73}input[readonly]{background:#f6f8fa}input[type=checkbox],input[type=radio]{width:16px;min-height:16px;height:16px;accent-color:var(--navy);flex-shrink:0}input[type=file]{font-size:11px;max-width:100%;padding:9px}textarea{resize:vertical;line-height:1.8}.field small,.field-note{font-size:11px;color:#8a98a9;line-height:1.65}.field-note{margin-top:17px}.field-error{color:#b5515d!important}.required{color:#ab5860}.full{grid-column:1/-1}.section-heading{display:flex;gap:13px;align-items:center}.section-heading p{font-size:11px;color:var(--muted);margin-top:4px}.step-number{display:flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:8px;background:#eef2f7;color:#607894;font-size:12px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.context-panel{padding:23px;background:#f0f4f9;border:1px solid #e4eaf1;border-radius:9px}.context-panel h3{margin-bottom:12px}.context-panel p{font-size:11px;color:#7a8ca0;margin-top:12px}.process-list{padding:0;list-style:none;counter-reset:step;margin:18px 0}.process-list li{counter-increment:step;display:flex;gap:10px;align-items:center;font-size:11px;color:#7d8ba0;margin-bottom:19px}.process-list li:before{content:counter(step);width:22px;height:22px;border:1px solid #dbe3ed;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;flex-shrink:0}.process-list .current{color:var(--navy);font-weight:600}.process-list .current:before{background:var(--navy);border-color:var(--navy);color:white}hr{border:0;border-top:1px solid var(--line);margin:22px 0}.inline-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 25px;background:#edf3fa;border:1px solid #dde7f2;border-radius:9px;margin-bottom:25px}.inline-banner strong{font-size:13px}.inline-banner p{color:#798da3;font-size:11px;margin-top:4px}.alert{border:1px solid;border-radius:8px;padding:15px 18px;margin-bottom:23px;font-size:12px}.alert.success{background:#edf8f3;color:#2e7c63;border-color:#d9eddf}.alert.error{background:#fff1f2;color:#ab4452;border-color:#f1dadd}.alert.warning{background:#fff9ea;color:#977430;border-color:#f2e6c8}.alert.info{background:#edf4fc;color:#526f92;border-color:#dce7f6}.alert ul{margin:8px 0 0;padding-left:18px}.alert a{font-weight:700;text-decoration:underline}.muted{font-size:12px;color:var(--muted)}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.actions.centered{justify-content:center}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.data-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0 0}.data-grid div{min-width:0}.data-grid dt{color:#8b9bad;font-size:10px;margin-bottom:5px}.data-grid dd{margin:0;font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap;color:#42546b}.panel-title{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line);gap:15px}.panel-title.flush{padding:0;border:0;margin-bottom:17px}.text-link{font-size:11px;color:#426d9e;font-weight:600}.record-row{display:flex;align-items:center;gap:18px;padding:22px 24px;border-bottom:1px solid var(--line)}.record-row:last-child{border:0}.record-row>div:first-child{flex:1}.record-row strong{font-size:12px}.record-row:hover{background:#fafcfe}.identity-item{border-top:1px solid var(--line);padding:15px 0}.identity-item>a{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.identity-item small{display:block;color:#8b9bad;font-size:10px;margin-top:7px}.check{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:#5e738e;cursor:pointer}.check input{margin-top:3px}.review-check{padding:16px;background:#f3f6fa;border:1px solid #e3eaf3;border-radius:7px}.danger-zone{margin-top:18px;color:#a8535e;font-size:12px}.danger-zone p{margin:15px 0}.danger-zone code{display:block;font-size:10px;overflow-wrap:anywhere;margin-bottom:14px}summary{cursor:pointer;font-size:12px;color:#5e7490}details[open]>summary{margin-bottom:18px}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.identity-photo{background:#f0f3f7;border-radius:8px;padding:20px;overflow:hidden;margin-bottom:20px;min-height:200px;display:flex;align-items:center;justify-content:center}.identity-photo img{max-width:100%;max-height:430px;object-fit:contain;transition:transform .2s}.comparison{display:block;font-size:10px;color:#8a99a9;margin-top:5px}.comparison.changed{color:#a57936}.segmented{display:flex;background:#f5f7fa;border-radius:8px;padding:12px;gap:22px}.segmented label{display:flex;gap:8px;align-items:center;font-size:12px}.upload-area{text-align:center;border:1px dashed #c9d6e6;border-radius:9px;padding:38px 20px;background:#fcfdff}.upload-area h2{margin:0 0 10px}.upload-area p{font-size:12px;color:var(--muted)}.upload-area .actions{margin-top:23px}.file-fallback{margin-top:18px}.image-preview{text-align:center;overflow:hidden}.image-preview img{max-width:100%;max-height:380px;object-fit:contain;transition:transform .15s;margin:25px auto;display:block}.image-preview img.zoomed{max-height:800px}.filters{display:flex;gap:12px;align-items:flex-end;padding:20px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.filters input,.filters select{font-size:11px;max-width:180px}.filters label{font-size:10px}.grow{flex:1}.filters .grow{min-width:170px}.filters .grow input{max-width:none}.document-item{border-top:1px solid var(--line);padding:25px 0}.document-item:last-child{padding-bottom:0}.document-item .panel-title small{font-size:10px;color:#8a99ac}.document-item details{margin-top:20px}.document-item h3{margin-bottom:4px}.variable-list{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:18px}.variable-list button{border:1px solid #e2e8f1;border-radius:5px;background:#f7f9fc;padding:5px 9px;color:#6a7e99;font:11px monospace}.variable-list button:hover{background:#eaf1fb}.user-item{padding:20px 0;border-bottom:1px solid var(--line)}.user-item:last-child{border-bottom:0}.user-item summary{display:flex;align-items:center;gap:10px}.user-item .form-grid{margin-top:0}.activity{border-bottom:1px solid var(--line);padding:13px 0}.activity strong{font-size:11px}.activity small{display:block;font-size:10px;color:#8a9aad;overflow-wrap:anywhere}.preview-sheet{max-width:794px;margin:auto;background:#fff;border:1px solid var(--line);padding:55px;box-shadow:0 5px 25px #132b4608}.preview-sheet h2{font-size:22px;margin-top:12px}.body-copy{white-space:pre-wrap;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.signature-preview{display:flex;justify-content:space-between;gap:30px;margin:60px 0;font-size:12px}.preview-sheet+.form-actions{max-width:794px;margin:24px auto}.login-body{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at top,#edf2f9,#f8fafc 65%)}.login-card{background:#fff;border:1px solid #e2e8f1;border-radius:16px;padding:46px;width:440px;box-shadow:0 15px 50px #10284909;flex:none;margin:35px 20px}.login-card .brand{margin-bottom:44px}.login-card h1{font-size:26px;margin:10px 0}.login-card .muted{margin-bottom:28px}.login-card .stack{gap:20px}.login-help{text-align:center;font-size:10px;color:#8b9aaf;line-height:1.9;margin-top:28px}.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:10px;top:10px;z-index:100;background:#fff;padding:10px}.error-screen{max-width:580px;text-align:center;margin:12vh auto}.error-screen h1{font-size:34px}.error-screen p{margin:20px 0 30px}
@media(min-width:1600px){main{padding-top:45px}}@media(max-width:1200px){.sidebar{width:218px;padding-left:17px;padding-right:17px}.shell{margin-left:218px}main{padding:30px 26px}.topbar{padding:0 26px}.detail-grid{grid-template-columns:minmax(0,1fr) 290px}.form-layout{grid-template-columns:minmax(0,1fr) 240px}th,td{padding-left:14px;padding-right:14px}.footer{margin:0 26px}.today{display:none}}@media(max-width:950px){.form-layout,.detail-grid{grid-template-columns:1fr}.form-layout>.context-panel{display:none}.review-grid{grid-template-columns:1fr}.sidebar{width:190px;padding:24px 13px}.shell{margin-left:190px}.workspace{margin-top:28px}.page-heading{align-items:flex-start}.page-heading h1{font-size:26px}.page-heading>.button{padding:9px 12px}.page-heading>.actions{justify-content:flex-end}.brand{font-size:25px}.brand-mark{width:37px;height:37px;line-height:37px}.brand-caption{font-size:7px;letter-spacing:1.7px}.workspace strong{max-width:115px}.inline-banner{align-items:flex-start;flex-direction:column}}@media(max-width:680px){body{font-size:14px}.sidebar{position:relative;inset:auto;width:100%;padding:15px 18px 0;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:22px;gap:8px}.sidebar .brand-mark{font-size:28px;line-height:32px;width:32px;height:32px;border-radius:9px}.brand-caption{font-size:6px;letter-spacing:1.7px;margin-top:4px}.sidebar .workspace,.nav-label,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:2px;margin-top:16px;justify-content:space-between}.sidebar nav a{font-size:11px;padding:10px 6px;gap:5px;border-radius:6px 6px 0 0;white-space:nowrap}.sidebar nav a>span{font-size:16px;width:auto}.sidebar nav a.active:after{display:none}.shell{margin-left:0}.topbar{height:43px;padding:0 20px;font-size:10px}main{padding:25px 18px 35px}.page-heading{flex-wrap:wrap;gap:18px;margin-bottom:22px}.page-heading h1{font-size:27px}.page-heading p:not(.eyebrow){font-size:12px;line-height:1.7;max-width:330px}.page-heading .eyebrow{font-size:9px;word-break:break-all}.page-heading>.actions{justify-content:flex-start}.button{min-height:44px;font-size:12px;padding:11px 15px}.panel-toolbar{padding:14px 13px;gap:9px}.panel-toolbar>.button{padding:8px;font-size:11px}.search-form{padding-left:8px;gap:5px}.search-form input{font-size:11px}.search-form input::placeholder{font-size:10px}.search-form .button{font-size:10px;padding:6px 9px}.empty-state{padding:48px 17px}.empty-state h2{font-size:17px}.empty-state p{font-size:12px}.privacy-note{font-size:10px;line-height:1.9}.panel.padded{padding:20px}.form-grid{gap:18px;grid-template-columns:1fr}.full{grid-column:auto}.section-heading{align-items:flex-start}.section-heading h2{font-size:16px}.section-heading p{font-size:11px;line-height:1.7}.step-number{flex-shrink:0}.form-actions{flex-wrap:wrap}.form-actions .primary{flex:1}.form-layout,.detail-grid,.review-grid{gap:20px}.data-grid{gap:22px 16px}.data-grid dd{font-size:12px}.record-row{padding:18px;gap:10px;flex-wrap:wrap}.record-row strong{font-size:12px}.record-row small{font-size:9px;word-break:break-all}.footer{margin:0 18px;font-size:9px}.footer span{max-width:200px;text-align:right}.filters{padding:16px;gap:14px}.filters .field{flex:1;min-width:130px}.filters input,.filters select{max-width:none;width:100%}.filters>.grow{min-width:100%}.preview-sheet{padding:25px}.signature-preview{font-size:10px;gap:20px}.login-card{padding:32px 26px}.login-card h1{font-size:24px}.upload-area{padding:27px 15px}.upload-area .actions{flex-direction:column}.upload-area .actions .button{width:100%}.segmented{gap:15px;font-size:12px}.document-item .panel-title{flex-wrap:wrap}.variable-list{flex-direction:row;flex-wrap:wrap}.field input,.field select,.field textarea{font-size:16px}.user-item summary{flex-wrap:wrap}.user-item .field label{display:block}.identity-photo{min-height:170px}.comparison{font-size:11px}}@media print{.sidebar,.topbar,.footer,.form-actions,.back-link{display:none}.shell{margin:0}main{padding:0}.preview-sheet{box-shadow:none;border:0}.page-heading{display:none}}

.pagination-nav{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.pagination-nav a{padding:0}.mobile-logout{display:none}@media(max-width:680px){.mobile-logout{display:block}.mobile-logout button{border:0;background:transparent;color:#718094;font-size:11px;padding:5px}}

/* Shared line icons and install experience. */
[hidden]{display:none!important}
.icon{width:20px;height:20px;flex:none;display:inline-block;vertical-align:middle}
.button .icon,.text-link .icon,.back-link .icon{width:17px;height:17px}
.brand-symbol{display:block;flex:none;border-radius:12px}
.mobile-brand-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.mobile-install{display:none}
.app-nav a>span{font:inherit;width:auto;line-height:1.5;text-align:left}
.app-nav .icon{width:21px;height:21px}
.org-icon{display:inline-flex;align-items:center;padding:8px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:9px}
.icon-button:hover{background:var(--blue);color:var(--navy)}
.empty-icon .icon{width:28px;height:28px}
.empty-icon.small .icon{width:21px;height:21px}
.back-link,.text-link{display:inline-flex;align-items:center;gap:6px}
.privacy-note .icon{width:14px;height:14px;margin-top:3px}
.sidebar-bottom>p{display:flex;align-items:center;gap:7px}
.sidebar-bottom>p .icon{width:14px;height:14px}
.install-shortcut{display:flex;align-items:center;gap:9px;width:100%;background:#f1f5fa;border:1px solid #e3eaf3;border-radius:10px;padding:13px 10px;margin-top:20px;color:var(--navy);text-align:left;font-size:11px;font-weight:600}
.install-shortcut small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:3px}
.install-shortcut>.icon:last-child{width:15px;height:15px;margin-left:auto}
.login-install{margin-top:23px}
.install-dialog{border:1px solid var(--line);border-radius:22px;padding:28px;width:calc(100% - 32px);max-width:440px;max-height:calc(100dvh - 32px);overflow:auto;color:var(--ink);box-shadow:0 24px 80px #10223c30}
.install-dialog::backdrop{background:#10223c80;backdrop-filter:blur(3px)}
.install-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:23px}
.install-heading img{border-radius:15px}
.install-dialog h2{font-size:24px;line-height:1.3;margin:9px 0 12px;letter-spacing:-.7px}
.install-dialog>p:not(.eyebrow){font-size:13px;color:#617289;line-height:1.8}
.install-dialog .button{margin-top:20px}
.install-instructions{padding:17px;margin-top:18px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}
.install-instructions h3{display:flex;align-items:center;gap:8px;font-size:13px}
.install-instructions ol{padding-left:20px;margin:12px 0 0;font-size:12px;color:#617289}
.install-instructions li+li{margin-top:8px}
.install-instructions p{font-size:12px;line-height:1.8;margin-top:10px;color:#617289}
.install-instructions li .icon{width:16px;height:16px}
.install-dialog .install-note{font-size:11px!important;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.connection-banner{position:fixed;top:0;left:0;right:0;z-index:100;padding:12px 20px;padding-top:max(12px,env(safe-area-inset-top));background:#fff4d9;border-bottom:1px solid #e9d19d;color:#765b23;text-align:center;font-size:12px}
.login-card{max-width:calc(100% - 32px)}
.form-grid,.review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.panel-title>div,.record-row .grow,.page-heading>div{min-width:0}
h1,h2,h3,.record-row strong,.account strong{overflow-wrap:anywhere}
.form-layout>.template-variables{display:block}
@media(max-width:950px){.review-grid{grid-template-columns:1fr}}
@media(max-width:680px){
    body{padding-bottom:calc(78px + env(safe-area-inset-bottom));-webkit-text-size-adjust:100%}
    .login-body{padding-bottom:0;min-height:100dvh}
    .sidebar{padding:15px 20px;padding-top:max(15px,env(safe-area-inset-top));background:#fff}
    .sidebar .brand-symbol{width:36px;height:36px;border-radius:10px}
    .mobile-install{display:inline-flex;border:1px solid var(--line);color:var(--navy)}
    .sidebar nav.app-nav{position:fixed;inset:auto 0 0;z-index:50;margin:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 20px #10223c06;gap:4px;justify-content:space-around}
    .sidebar nav.app-nav a{flex:1;flex-direction:column;gap:4px;padding:7px 4px;min-height:57px;max-width:115px;border-radius:10px;font-size:10px}
    .sidebar nav.app-nav a>span{font-size:10px;line-height:1.4;width:auto}
    .sidebar nav.app-nav .icon{width:22px;height:22px}
    .sidebar nav.app-nav a.active{background:#eaf0f8;color:var(--navy)}
    .shell{min-height:calc(100dvh - 150px)}
    .topbar{min-height:48px;height:auto;padding:2px 20px;gap:8px}
    .topbar>span{min-width:0;overflow-wrap:anywhere}
    .mobile-logout{flex:none}
    .mobile-logout button{display:flex;align-items:center;gap:6px;min-height:44px}
    .mobile-logout .icon{width:16px;height:16px}
    main{padding:25px 16px 32px}
    .page-heading{gap:16px}
    .page-heading h1{font-size:27px;line-height:1.2}
    .page-heading>.button{width:100%;white-space:normal}
    .page-heading>.actions{width:100%}
    .page-heading>.actions .button{flex:1}
    .button{white-space:normal;line-height:1.5}
    .form-grid{grid-template-columns:1fr}
    .panel.padded{padding:19px 17px}
    .panel-title{padding:18px 17px;flex-wrap:wrap}
    .panel-title.flush{padding:0}
    .panel-toolbar{flex-wrap:wrap;padding:13px}
    .search-form{flex-basis:100%;max-width:none;min-width:0}
    .search-form input,.search-form input::placeholder{font-size:16px}
    .search-form .button{min-height:40px;font-size:12px}
    .panel-toolbar>.button{min-height:44px;padding:8px 14px}
    .filters input,.filters select{font-size:16px}
    .filters>.button{flex:1}
    .filters>.text-link{min-height:44px;padding:0 12px}
    .form-actions{gap:10px}
    .form-actions>.button{min-width:0}
    .form-actions .primary{flex-basis:100%;order:-1}
    .data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .data-grid dd{font-size:13px}
    .data-grid dt{font-size:11px}
    .identity-photo{padding:10px;min-height:140px}
    .identity-photo img{max-height:330px}
    .segmented{flex-wrap:wrap;gap:12px}
    .check{min-height:44px;align-items:center}
    .check input{width:20px;height:20px;margin:0}
    input[type=file]{font-size:13px}
    .record-row .grow{flex-basis:calc(100% - 60px)}
    .record-row small{word-break:normal;overflow-wrap:anywhere;font-size:11px}
    .record-row>.button{margin-left:auto}
    .footer{gap:16px;align-items:center}
    .responsive-table,.responsive-table tbody{display:block;width:100%;white-space:normal}
    .responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
    .responsive-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;padding:19px 16px;border-bottom:1px solid var(--line);position:relative}
    .responsive-table tr:last-child{border:0}
    .responsive-table td{display:block;padding:0;border:0!important;min-width:0;overflow-wrap:anywhere;font-size:12px}
    .responsive-table td:first-child{grid-column:1/-1;padding-right:26px;margin-bottom:4px}
    .responsive-table td:first-child strong{font-size:15px}
    .responsive-table td[data-label]:not([data-label=""]):before{content:attr(data-label);display:block;font-size:10px;letter-spacing:0;color:var(--muted);margin-bottom:5px}
    .responsive-table td:last-child{position:absolute;right:17px;top:24px;color:#8a9caf}
    .responsive-table td:last-child .icon{width:17px;height:17px}
    .responsive-table .badge{font-size:11px;white-space:normal}
    .pagination{padding:15px 16px}
    .pagination-nav a{min-height:44px;display:inline-flex;align-items:center}
    .pagination-nav a>span{font:inherit}
    .template-variables{order:-1}
    .template-variables .variable-list button{min-height:44px}
    .login-card{padding:32px 24px;margin:20px 16px;width:440px}
    .login-card .brand{margin-bottom:32px}
    .login-card .brand-symbol{width:43px;height:43px}
    .login-card input{font-size:16px}
    .install-dialog{padding:23px;border-radius:20px}
    .install-dialog h2{font-size:23px}
    .connection-banner{top:auto;bottom:calc(78px + env(safe-area-inset-bottom));padding:12px 18px}
    .login-body .connection-banner{bottom:0}
}
@media(max-width:360px){.data-grid{grid-template-columns:1fr}.page-heading h1{font-size:24px}.login-card{padding:28px 20px}.filters .field{min-width:100%}.preview-sheet{padding:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media print{.install-dialog,.connection-banner,.install-shortcut,.mobile-install{display:none!important}body{padding-bottom:0}}

/* Sky interface: airy surfaces, blue actions and a contrasting welcome card. */
:root {
    --navy:#137fc9; --navy-dark:#096bad; --ink:#151b35; --muted:#6d788b;
    --line:#eaf0f6; --bg:#f2f7ff; --blue:#e6f3ff; --radius:22px;
    color-scheme:light;
}
body {
    background:radial-gradient(ellipse 55% 70% at 92% 15%,#e4f5ec80,transparent),radial-gradient(ellipse 65% 50% at 30% 70%,#e1f2ff99,transparent),#f3f7fd;
    color:var(--ink); letter-spacing:.03px;
}
.sidebar {background:#ffffffcf;border-color:#e5edf6;padding-top:30px;backdrop-filter:blur(20px)}
.brand {color:#101c38}.brand-caption {color:#7188a6}.brand-symbol {border-radius:13px}
.workspace {background:#f6f9fd;border:0;border-radius:16px;padding:14px 11px;margin-top:35px}
.workspace strong {color:#253654}.workspace small {color:#7a8ca5}
.org-icon {border-radius:10px;background:#e7f1fc;color:#398ac4}
.nav-label {font-size:9px;letter-spacing:1.6px;color:#8998ae}
.app-nav {gap:8px}.app-nav a {border-radius:13px;padding:13px 12px;color:#69788e}
.app-nav a:hover {background:#f0f7ff}.app-nav a.active {background:#e4f3ff;color:#117fc8}
.app-nav a.active:after {background:#2998e6}.app-nav .icon {stroke-width:1.8}
.account {border-color:#e8eef6}.avatar,.avatar.pale {background:#eaf4fe;color:#2b85bf;border:1px solid #deedf9}
.avatar.pale {border-radius:14px;width:40px;height:40px}
.install-shortcut {background:#eff7ff;border-color:#e4f0fd;border-radius:15px;color:#257ba9}
.install-shortcut small {color:#728ba4}.sidebar-bottom>p {color:#8190a5}
.topbar {height:80px;background:transparent;border-color:#e5edf68c;font-size:12px}
.topbar strong {color:#3c526f}.topbar-account {display:flex;align-items:center;gap:18px}
.topbar-account .avatar {width:38px;height:38px;background:#dceff9;border:2px solid white;box-shadow:0 3px 10px #2b6c9510}
main {max-width:1440px;padding-top:34px}
.page-heading {margin-bottom:26px}.page-heading h1 {font-size:31px;font-weight:600;letter-spacing:-1.1px;color:#141d36}
.page-heading p:not(.eyebrow) {font-size:13px;color:#728198}.eyebrow {font-size:9px;letter-spacing:1.8px;color:#7b8ca5}
.count {background:#e9f5ff;border-color:#dceefa;color:#3187bd;border-radius:8px}
.button {border-radius:13px;min-height:44px;padding:11px 17px;transition:background .15s,border-color .15s}
.button.primary {background:#258fe1;color:#fff;box-shadow:0 4px 9px #1984d321}
.button.primary:hover {background:#147eca}.button.secondary {background:white;border-color:#e0eaf2;color:#364b68}
.button.secondary:hover {background:#f2f8ff}.button.quiet,.button.subtle {background:#eff6fd;color:#4b6d91}
.panel {background:#ffffffed;border:1px solid #ffffff;border-radius:22px;box-shadow:0 6px 30px #4677a504}
.panel.padded {padding:25px}.panel-toolbar {padding:19px 22px;border-color:#edf2f8}
.search-form {background:#f6f9fd;border-color:#edf2f7;border-radius:12px;padding-left:13px;gap:9px}
.search-form .button {background:#e3f2ff;color:#297fb6;border-radius:9px;min-height:34px}
.search-form>.icon {color:#7d96b0}.search-form input {font-size:12px;color:#2d4260}
.search-form input::placeholder {font-size:12px;color:#8d9fb4}
th {background:#fbfdff;color:#8a9aaf;border-color:#edf2f8;letter-spacing:.85px;padding-top:15px;padding-bottom:15px}
td {border-color:#f0f4f9;color:#697a92;font-size:12px;padding-top:20px;padding-bottom:20px}
td strong {color:#2c3c57;font-size:13px}td small {color:#8b9bb0}
.badge {border-radius:8px;padding:5px 10px}.badge.neutral,.badge.draft {background:#f0f5fb;color:#69819d}
.badge.approved,.badge.completed {background:#eaf8f0;color:#278564}.badge.warning,.badge.review {background:#fff5e6;color:#936824}
.empty-icon {background:#eef7ff;border-color:#dfedfb;border-radius:17px;color:#4592c9}
.back-link {color:#6c8aa7}.text-link {color:#2484c4}
input,select,textarea {background:#fcfdff;border-color:#e3eaf3;border-radius:11px;min-height:46px;color:#243a59}
input:focus,select:focus,textarea:focus {border-color:#70b8ed;box-shadow:0 0 0 3px #329ce813}
input::placeholder,textarea::placeholder {color:#93a3b7}.field label {color:#4b607c}
input[type=checkbox],input[type=radio] {accent-color:#258fe1}
input[type=file]::file-selector-button {border:0;border-radius:7px;background:#eaf4fd;color:#367da8;padding:7px 10px;margin-right:10px}
.step-number {background:#eaf5ff;color:#3a8bc2;border-radius:11px}
.context-panel {background:linear-gradient(145deg,#edf7ff,#f8fcff);border-color:#deedf8;border-radius:20px}
.inline-banner {background:linear-gradient(100deg,#eaf5ff,#eefaf5);border-color:#deedf8;border-radius:19px}
.inline-banner p {color:#728aa3}.alert {border-radius:13px;line-height:1.8}
.alert.info {background:#eaf5ff;border-color:#d7ebfb;color:#45799d}
.panel-title,.record-row,.identity-item,.activity,.user-item,.filters,.pagination {border-color:#edf2f8}
.data-grid dt {color:#8394aa}.data-grid dd {color:#3e5370}
.review-check {border-radius:13px;background:#f2f8ff;border-color:#dfedfa}
.identity-photo {background:#f0f5fb;border-radius:14px}
.segmented {border-radius:12px;background:#f1f7fd}
.upload-area {background:#f9fcff;border-color:#c5ddf0;border-radius:17px}
.variable-list button {background:#f0f7ff;border-color:#dcebf9;color:#507ea5;border-radius:8px;padding:7px 10px}
.preview-sheet {background:#fff;color:#243348;border-color:#e3eaf2;border-radius:4px;box-shadow:0 15px 45px #4567870a}
.login-body {background:radial-gradient(ellipse 65% 60% at 25% 15%,#ccecff,transparent),radial-gradient(ellipse 55% 75% at 90% 75%,#e5f5dc,transparent),#f3f8ff}
.login-card {border-radius:28px;background:#ffffffed;border-color:white;box-shadow:0 24px 80px #2c5b8910;padding:42px}
.login-card .brand {margin-bottom:36px}.login-card h1 {font-weight:600;letter-spacing:-.8px}
.install-dialog {border-radius:25px;background:#fdfefe;border-color:white;box-shadow:0 24px 90px #20375c30}
.install-dialog::backdrop {background:#12284155;backdrop-filter:blur(6px)}
.install-instructions {background:#f3f8fe;border-color:#e4eef9;border-radius:16px}
.footer {border-color:#dde8f2;color:#8394aa}.privacy-note {color:#7e91a9}
.mobile-install {display:none}
.workspace-pill {display:inline-flex;align-items:center;gap:4px;font-size:11px;padding:8px 14px;background:#fff9;border:1px solid #e7eef6;border-radius:25px;color:#6b819b}
.dashboard-overview {display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin-bottom:20px}
.welcome-card {position:relative;isolation:isolate;display:flex;align-items:center;min-height:210px;overflow:hidden;background:radial-gradient(ellipse at 65% 120%,#143760,#040b17 60%);border-radius:24px;padding:28px 30px}
.welcome-copy {position:relative;z-index:2}.welcome-copy p {color:#fff;font-size:25px;line-height:1.45;letter-spacing:-.6px;font-weight:450}
.welcome-copy p span {color:#85c9f3}.welcome-copy a {display:inline-flex;align-items:center;gap:9px;background:#fff;color:#0a1932;border-radius:30px;font-size:11px;font-weight:600;padding:9px 15px;margin-top:19px}
.welcome-copy a:hover {background:#dff1ff}.welcome-copy .icon {width:14px;height:14px}
.welcome-orb {position:absolute;right:27px;top:50%;transform:translateY(-50%);width:135px;height:135px;border-radius:50%;background:radial-gradient(circle at 66% 30%,#063d55 2%,#082a49 27%,#0851c2 52%,#2679ff 67%,#75e7e5 80%);box-shadow:inset 2px 2px 5px #80fcffbb,inset -4px -6px 12px #1775ff,0 28px 38px #047ce044;border:1px solid #56acfd5e;z-index:1}
.welcome-orb span {position:absolute;bottom:31px;left:-20px;display:flex;align-items:center;gap:5px;white-space:nowrap;padding:8px 11px;font-size:10px;color:#e4f8ff;background:#567ba650;backdrop-filter:blur(12px);border:1px solid #c4edff33;border-radius:25px}
.welcome-orb .icon {width:14px;height:14px;color:#b8ed89}
.overview-card {background:#fff;border:1px solid #fff;border-radius:24px;padding:23px 25px;display:flex;flex-direction:column;justify-content:center}
.overview-top {display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:#1e2c48;font-weight:550}
.overview-tag {border-radius:20px;padding:5px 10px;background:#f1f7fe;color:#7990aa;font-size:10px;font-weight:400}
.overview-balance {margin:12px 0 15px;display:flex;align-items:baseline;gap:15px;flex-wrap:wrap}
.overview-balance p {font-size:43px;letter-spacing:-1.6px;line-height:1.2;font-weight:600;color:#161639}
.overview-balance small {font-size:17px;letter-spacing:0;color:#9ba7ba;font-weight:400}
.overview-balance>span {font-size:11px;color:#8491a4}
.overview-note {display:flex;gap:7px;align-items:center;font-size:10px;color:#8596ab;border-top:1px solid #edf3f8;padding-top:14px}
.overview-note .icon {width:15px;height:15px;color:#359cd5;flex:none}
.overview-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:29px}
.overview-actions a {display:flex;align-items:center;gap:12px;padding:20px;background:#fff;border:1px solid #fff;border-radius:20px;color:#25334b;font-size:13px;font-weight:550;transition:border-color .15s,box-shadow .15s}
.overview-actions a:hover {border-color:#b9def8;box-shadow:0 6px 20px #3f8fc00b}
.overview-actions small {display:block;font-size:10px;font-weight:400;color:#8a99ac;margin-top:5px}
.overview-actions .action-icon {display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#eaf6ff;color:#268dcc;border-radius:13px;flex:none}
.overview-actions a:nth-child(2) .action-icon {background:#eff7eb;color:#6e9f57}
.overview-actions a:nth-child(3) .action-icon {background:#f0effc;color:#8a82bd}
.overview-actions a>.icon {margin-left:auto;width:16px;height:16px;color:#8195ad}
.list-heading {display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:15px}
.list-heading h2 {font-size:20px;font-weight:550;color:#202940;letter-spacing:-.5px}
.list-heading>span {font-size:11px;border-radius:25px;padding:7px 14px;color:#7d8fa6;background:#fff}
@media(max-width:1200px){.welcome-orb{width:105px;height:105px;right:18px}.welcome-copy p{font-size:22px}.welcome-card{padding:24px}.overview-actions a{padding:17px 13px;gap:9px}.overview-actions a>.icon{display:none}}
@media(max-width:950px){.dashboard-overview{grid-template-columns:1fr}.welcome-card{min-height:180px}.welcome-orb{right:35px;width:127px;height:127px}.overview-actions{gap:10px}.overview-actions a{flex-direction:column;align-items:flex-start}.overview-actions small{font-size:10px}.overview-card{padding:20px 23px}}
@media(max-width:680px){
    body{background:radial-gradient(ellipse 100% 500px at 90% 320px,#e9f7df80,transparent),radial-gradient(ellipse 90% 600px at 0% 650px,#dbedff80,transparent),#f3f7ff}
    .sidebar{background:transparent;backdrop-filter:none;border:0;padding:18px 20px 8px;padding-top:max(18px,env(safe-area-inset-top))}
    .sidebar .brand{font-size:24px;gap:9px}.sidebar .brand-symbol{width:37px;height:37px}.brand-caption{color:#7e91ad}
    .mobile-install{display:inline-flex;background:#fff;border-color:#e7eef7;color:#258ccc;border-radius:50%;width:43px;height:43px}
    .topbar{min-height:39px;height:auto;background:transparent;border:0;padding:0 20px;font-size:10px}.topbar-account{display:none}.topbar .slash{margin:0 7px}
    .mobile-logout button{color:#8193ad;font-size:10px}main{padding:20px 16px 30px}
    .page-heading{gap:15px;margin-bottom:22px}.page-heading h1{font-size:27px}.page-heading p:not(.eyebrow){font-size:12px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.7px;word-break:normal}
    .workspace-pill{display:none}.directory-heading{margin-bottom:20px}.dashboard-overview{gap:15px;margin-bottom:15px}
    .welcome-card{min-height:162px;border-radius:22px;padding:23px 20px}.welcome-copy p{font-size:20px;letter-spacing:-.3px}.welcome-copy a{font-size:10px;padding:8px 12px;margin-top:15px;gap:6px}
    .welcome-orb{right:17px;width:98px;height:98px}.welcome-orb span{font-size:8px;bottom:24px;left:-13px;padding:6px 8px;gap:4px}.welcome-orb .icon{width:12px;height:12px}
    .overview-card{border-radius:19px;padding:17px 18px}.overview-top{font-size:12px}.overview-tag{font-size:9px;padding:4px 8px}.overview-balance{margin:9px 0 12px;gap:12px}.overview-balance p{font-size:34px}.overview-balance small{font-size:16px}.overview-balance>span{font-size:10px}.overview-note{font-size:9px;padding-top:12px}
    .overview-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.overview-actions a{border-radius:18px;flex-direction:row;align-items:center;flex-wrap:wrap;padding:15px;gap:10px;font-size:12px}.overview-actions a>.icon{display:block;width:15px;height:15px}.overview-actions a>span:not(.action-icon){flex:1;min-width:0}.overview-actions a:nth-child(-n+2){position:relative;flex-direction:column;align-items:flex-start}.overview-actions a:nth-child(-n+2)>.icon{position:absolute;right:14px;top:16px}.overview-actions a:last-child{grid-column:1/-1}.overview-actions .action-icon{width:34px;height:34px;border-radius:11px}.overview-actions .action-icon .icon{width:19px;height:19px}.overview-actions small{font-size:10px;line-height:1.6;margin-top:4px}
    .list-heading{margin-bottom:13px}.list-heading h2{font-size:19px}.list-heading>span{font-size:10px;padding:6px 12px}
    .panel{border-radius:20px;border-color:#fff}.panel.padded{padding:21px 18px}.panel-toolbar{padding:14px}.search-form{border-radius:11px}.search-form input,.search-form input::placeholder{font-size:16px}.search-form .button{font-size:11px}.panel-toolbar>.button{border-radius:22px;min-height:38px;font-size:11px}
    .responsive-table tr{padding:20px 18px;border-color:#edf3f8;gap:15px 17px}.responsive-table td:first-child strong{font-size:14px}.responsive-table td{font-size:12px}.responsive-table td:before{color:#8595ab!important;font-size:10px}.responsive-table td:last-child{color:#3c97ce}.responsive-table .badge{font-size:10px}.responsive-table .avatar{border-radius:14px}.pagination{font-size:11px}
    .sidebar nav.app-nav{inset:auto 0 0;padding:9px 12px calc(9px + env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(20px);border-top:1px solid #e5edf6;box-shadow:0 -3px 20px #4677a505;gap:5px}
    .sidebar nav.app-nav a{color:#7c8699;background:transparent;border-radius:16px;min-height:56px;padding:6px 4px;gap:4px}
    .sidebar nav.app-nav a .icon{width:37px;height:27px;padding:3px 7px;border-radius:20px}
    .sidebar nav.app-nav a.active{background:transparent;color:#168acd}.sidebar nav.app-nav a.active .icon{background:#dcefff;stroke-width:2}.sidebar nav.app-nav a>span{font-size:10px}
    .field label{font-size:12px}.button{border-radius:12px}.context-panel{border-radius:18px}.data-grid dt{font-size:10px}.data-grid dd{font-size:13px}.privacy-note{font-size:10px}.footer{font-size:8px}.footer span{max-width:175px}
    .login-body{background:radial-gradient(ellipse 100% 700px at 0 0,#d6edff,transparent),radial-gradient(ellipse 100% 650px at 100% 100%,#e9f7df,transparent),#f3f8ff}.login-card{padding:32px 25px;border-radius:26px}.install-dialog{border-radius:24px}.preview-sheet{padding:24px 20px}
}
@media(max-width:360px){.welcome-copy p{font-size:18px}.welcome-orb{width:79px;height:79px;right:13px}.welcome-orb span{font-size:7px;left:-10px;padding:5px 6px}.welcome-copy a{font-size:9px}.overview-actions a{padding:13px}.overview-actions small{font-size:9px}}
@media print{body{background:#fff}.welcome-card,.dashboard-overview,.overview-actions,.list-heading,.workspace-pill{display:none}.preview-sheet{box-shadow:none;border:0}}

/* Explicit theme selection; the saved preference is applied before first paint. */
.theme-toggle{border:1px solid #e1ebf5;border-radius:50%;background:#fff;color:#50779c;flex:none}
.theme-toggle:hover{background:#e9f4ff;color:#187cbb}
.theme-sun{display:none}
.mobile-header-actions{display:flex;align-items:center;gap:8px}
.mobile-theme{display:none}
.login-card{position:relative}
.login-theme{position:absolute;right:24px;top:32px}
.login-card .brand{padding-right:42px}
html[data-theme="dark"]{--ink:#edf3fc;--muted:#a4b2c8;--line:#ffffff13;--bg:#0c121c;--blue:#25384e;color-scheme:dark}
html[data-theme="dark"] .theme-moon{display:none}
html[data-theme="dark"] .theme-sun{display:inline-block}
html[data-theme="dark"] body{background:radial-gradient(ellipse 85% 650px at 65% -170px,#2b4a6a,transparent),#0c121c;color:#edf3fc}
html[data-theme="dark"] .sidebar{background:#121c2aeb;border-color:#ffffff0c}
html[data-theme="dark"] .brand{color:#edf4ff}
html[data-theme="dark"] .brand-caption,html[data-theme="dark"] .nav-label{color:#99abc5}
html[data-theme="dark"] .workspace{background:#ffffff05}
html[data-theme="dark"] .workspace strong,html[data-theme="dark"] .account strong{color:#dfebfa}
html[data-theme="dark"] .workspace small,html[data-theme="dark"] .account small,html[data-theme="dark"] .sidebar-bottom>p{color:#96abc7}
html[data-theme="dark"] .org-icon{background:#23354a;color:#9acbff}
html[data-theme="dark"] .app-nav a{color:#a5b6ce}
html[data-theme="dark"] .app-nav a:hover{background:#ffffff09}
html[data-theme="dark"] .app-nav a.active{background:#284764;color:#b2dcff}
html[data-theme="dark"] .avatar,html[data-theme="dark"] .avatar.pale{background:#233a52;border-color:#ffffff0b;color:#b9deff}
html[data-theme="dark"] .topbar-account .avatar{border-color:#344960}
html[data-theme="dark"] .topbar,html[data-theme="dark"] .account,html[data-theme="dark"] .footer{border-color:#ffffff0b}
html[data-theme="dark"] .topbar strong{color:#c1d4eb}
html[data-theme="dark"] .today,html[data-theme="dark"] .footer,html[data-theme="dark"] .privacy-note{color:#95a9c2}
html[data-theme="dark"] .page-heading h1,html[data-theme="dark"] .list-heading h2,html[data-theme="dark"] .overview-top{color:#f0f5fc}
html[data-theme="dark"] .page-heading p:not(.eyebrow),html[data-theme="dark"] .eyebrow{color:#a0b2cb}
html[data-theme="dark"] .panel,html[data-theme="dark"] .overview-card,html[data-theme="dark"] .overview-actions a{background:#182231;border-color:#ffffff08;box-shadow:0 10px 35px #0000000c}
html[data-theme="dark"] .overview-actions a{color:#e3edf9}
html[data-theme="dark"] .overview-actions a:hover{border-color:#659bc357}
html[data-theme="dark"] .overview-actions small,html[data-theme="dark"] .overview-balance>span,html[data-theme="dark"] .overview-note{color:#a3b5cd}
html[data-theme="dark"] .overview-balance p{color:#f2f6ff}
html[data-theme="dark"] .overview-actions .action-icon{background:#224461;color:#85cdff}
html[data-theme="dark"] .overview-actions a:nth-child(2) .action-icon{background:#2b4133;color:#b0d5a0}
html[data-theme="dark"] .overview-actions a:nth-child(3) .action-icon{background:#34314b;color:#c3bced}
html[data-theme="dark"] .overview-note,html[data-theme="dark"] .panel-toolbar,html[data-theme="dark"] .panel-title,html[data-theme="dark"] .record-row,html[data-theme="dark"] .identity-item,html[data-theme="dark"] .activity,html[data-theme="dark"] .user-item,html[data-theme="dark"] .filters,html[data-theme="dark"] .pagination,html[data-theme="dark"] .document-item{border-color:#ffffff0b}
html[data-theme="dark"] .workspace-pill,html[data-theme="dark"] .overview-tag,html[data-theme="dark"] .list-heading>span,html[data-theme="dark"] .count{background:#ffffff08;color:#aec4df;border-color:#ffffff10}
html[data-theme="dark"] .search-form{background:#0f1928;border-color:#ffffff09}
html[data-theme="dark"] .search-form input{background:transparent;color:#e2edff}
html[data-theme="dark"] .search-form input::placeholder{color:#92a5bf}
html[data-theme="dark"] .search-form .button{background:#25415b;color:#b9dfff}
html[data-theme="dark"] th{background:#ffffff02;color:#a0b1c8;border-color:#ffffff0b}
html[data-theme="dark"] td{color:#bdcce0;border-color:#ffffff09}
html[data-theme="dark"] td strong,html[data-theme="dark"] .record-row strong{color:#ebf3ff}
html[data-theme="dark"] td small,html[data-theme="dark"] .record-row small{color:#96aaca}
html[data-theme="dark"] tbody tr:hover,html[data-theme="dark"] .record-row:hover{background:#ffffff03}
html[data-theme="dark"] .badge.neutral,html[data-theme="dark"] .badge.draft{background:#ffffff08;color:#b8c9df}
html[data-theme="dark"] .badge.approved,html[data-theme="dark"] .badge.completed{background:#21503d;color:#a9e0c6}
html[data-theme="dark"] .badge.warning,html[data-theme="dark"] .badge.review{background:#4b3e28;color:#ebce91}
html[data-theme="dark"] .badge.rejected{background:#4d2935;color:#ecb0bf}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#101b2b;border-color:#ffffff18;color:#e7f0ff}
html[data-theme="dark"] select option{background:#172333;color:#e7f0ff}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#8fa5bf}
html[data-theme="dark"] input[readonly]{background:#ffffff05;color:#b7c9e2}
html[data-theme="dark"] .field label,html[data-theme="dark"] .check{color:#bfcee3}
html[data-theme="dark"] .field small,html[data-theme="dark"] .field-note,html[data-theme="dark"] .comparison{color:#98acc8}
html[data-theme="dark"] .required,html[data-theme="dark"] .field-error{color:#f0a9b9!important}
html[data-theme="dark"] .button.secondary,html[data-theme="dark"] .button.quiet,html[data-theme="dark"] .button.subtle{background:#243348;border-color:#ffffff0d;color:#cadcf3}
html[data-theme="dark"] .button.secondary:hover{background:#2e425c}
html[data-theme="dark"] .text-link,html[data-theme="dark"] .back-link{color:#9bcff5}
html[data-theme="dark"] .empty-icon,html[data-theme="dark"] .step-number{background:#22374d;border-color:#ffffff0b;color:#add4f5}
html[data-theme="dark"] .context-panel,html[data-theme="dark"] .inline-banner{background:linear-gradient(130deg,#20364d,#182636);border-color:#ffffff0d}
html[data-theme="dark"] .context-panel p,html[data-theme="dark"] .inline-banner p,html[data-theme="dark"] .process-list li{color:#a6bdd8}
html[data-theme="dark"] .process-list .current{color:#b8e1ff}
html[data-theme="dark"] .review-check,html[data-theme="dark"] .segmented,html[data-theme="dark"] .upload-area{background:#142338;border-color:#ffffff12}
html[data-theme="dark"] .identity-photo{background:#0c1420}
html[data-theme="dark"] .variable-list button{background:#24374c;border-color:#ffffff0b;color:#b2d4f3}
html[data-theme="dark"] .alert.info{background:#1d3651;border-color:#466a8b55;color:#b7d8f5}
html[data-theme="dark"] .alert.warning{background:#3e3423;border-color:#80693855;color:#eed19a}
html[data-theme="dark"] .alert.error{background:#412530;border-color:#97506755;color:#f2b1c3}
html[data-theme="dark"] .alert.success{background:#203c31;border-color:#4f8c7055;color:#ade0c8}
html[data-theme="dark"] hr{border-color:#ffffff12}
html[data-theme="dark"] .install-shortcut{background:#1e3046;border-color:#ffffff0b;color:#b1d9f6}
html[data-theme="dark"] .install-shortcut small{color:#97b3d1}
html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .mobile-install{background:#25384e;color:#e2d6ac;border-color:#ffffff14}
html[data-theme="dark"] .theme-toggle:hover{background:#354b65}
html[data-theme="dark"] .login-body{background:radial-gradient(ellipse at 20% 0%,#29486b,#0c121c 70%)}
html[data-theme="dark"] .login-card{background:#182333;border-color:#ffffff10;box-shadow:0 25px 70px #0004}
html[data-theme="dark"] .login-help{color:#9bb0cc}
html[data-theme="dark"] .install-dialog{background:#172434;color:#edf5ff;border-color:#ffffff16}
html[data-theme="dark"] .install-dialog>p:not(.eyebrow),html[data-theme="dark"] .install-instructions p,html[data-theme="dark"] .install-instructions ol{color:#b1c6df}
html[data-theme="dark"] .install-instructions{background:#1f3044;border-color:#ffffff0a}
html[data-theme="dark"] .connection-banner{background:#403523;color:#efd6a2;border-color:#715e3b}
html[data-theme="dark"] .preview-sheet{background:#fff;color:#243348;color-scheme:light}
html[data-theme="dark"] .preview-sheet h2,html[data-theme="dark"] .preview-sheet .data-grid dd{color:#243348}
html[data-theme="dark"] .preview-sheet .eyebrow,html[data-theme="dark"] .preview-sheet .data-grid dt{color:#65758a}
html[data-theme="dark"] .preview-sheet hr{border-color:#e3e8ef}
@media(max-width:680px){
    .mobile-theme{display:inline-flex}
    .login-theme{top:29px;right:21px}
    html[data-theme="dark"] .sidebar{background:transparent;backdrop-filter:none}
    html[data-theme="dark"] .sidebar nav.app-nav{background:#152336ed;border-color:#ffffff14}
    html[data-theme="dark"] .sidebar nav.app-nav a{color:#98acc8}
    html[data-theme="dark"] .sidebar nav.app-nav a.active{background:transparent;color:#8ad2ff}
    html[data-theme="dark"] .sidebar nav.app-nav a.active .icon{background:#284968}
    html[data-theme="dark"] .responsive-table tr{border-color:#ffffff0b}
    html[data-theme="dark"] .responsive-table td:before{color:#9daec7!important}
}
@media print{.theme-toggle{display:none!important}html[data-theme="dark"] body{background:white;color:#243348}}

/* Minimal software and licensing signature. */
.redkit-brand{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px;flex:none;background:none;border:0;border-radius:0;padding:6px 0;min-height:44px;width:auto;color:var(--ink);text-decoration:none}
.redkit-brand .redkit-caption{font-size:9px;font-weight:400;line-height:1.4;letter-spacing:.1px;color:var(--muted);white-space:nowrap}
.redkit-mark{display:block;width:70px;height:20px;flex:none}
.redkit-brand:hover .redkit-caption{color:var(--ink)}
.redkit-brand:focus-visible{outline:2px solid #258dde;outline-offset:5px}
html[data-theme="dark"] .redkit-brand{color:#eef5ff}
.footer{align-items:center;gap:16px}
.footer .redkit-brand{margin-left:auto}
.login-redkit{margin-top:20px;margin-left:auto;width:max-content}
@media(max-width:680px){.footer>span{text-align:left;max-width:175px}.redkit-mark{width:63px;height:18px}.redkit-brand .redkit-caption{font-size:8px}}
@media print{.redkit-brand{display:none!important}}

.location-fields{border:0;border-top:1px solid var(--line);padding:22px 0 0;margin:8px 0 0;min-width:0}.location-fields legend{font-weight:600;font-size:16px;padding-right:12px}.location-fields>.field-note{margin:8px 0 18px}.location-fields .form-grid{margin-top:16px}

/* Completed aid summary and signed-in account greeting. */
.aid-overview{grid-template-columns:minmax(0,2.4fr) minmax(220px,1fr)}
.aid-dashboard{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:30px;color:#fff;align-items:center;padding:30px}
.aid-summary,.aid-welcome{min-width:0}
.aid-dashboard .aid-eyebrow{color:#8bb8d6;font-size:10px;letter-spacing:1.5px;margin:0 0 10px;font-weight:600}
.aid-dashboard h2{color:#fff;font-size:20px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.aid-summary h2 span{display:inline-block;color:#85d6fa;margin-left:6px}
.aid-dashboard .aid-scope{color:#adbed1;font-size:10px;margin:7px 0 18px}
.aid-bars{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.aid-bar-label{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:5px;color:#e1ebf6}
.aid-bar-label small{color:#a5bdd3;font-size:10px;margin-left:5px}
.aid-bar-track{height:7px;border-radius:10px;background:#ffffff18;overflow:hidden}
.aid-bar-track span{display:block;height:100%;min-width:2px;border-radius:10px;background:linear-gradient(90deg,#278aef,#8ae9df)}
.aid-bars li:nth-child(3n+2) .aid-bar-track span{background:linear-gradient(90deg,#6878ec,#b3baff)}
.aid-bars li:nth-child(3n) .aid-bar-track span{background:linear-gradient(90deg,#22989d,#8de0b5)}
.aid-welcome{border-left:1px solid #ffffff20;padding-left:28px}
.aid-avatar{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#64bbef25;color:#a7e3ff;border:1px solid #84ccfa40;font-size:20px;margin-bottom:13px}
.aid-welcome>p{color:#b8cada;font-size:14px;margin:0 0 5px}
.aid-welcome .aid-welcome-note{font-size:12px;line-height:1.7;margin:12px 0 20px}
.aid-welcome .button{background:#fff;color:#11253a;border:0;font-size:11px;padding:11px 15px;white-space:normal}
.aid-empty{padding:16px 0;color:#c6d9e8}.aid-empty>.icon{color:#84d5f6;width:25px;height:25px;margin-bottom:8px}.aid-empty p{font-size:13px;margin:0 0 6px}.aid-empty small{font-size:11px;line-height:1.7;display:block}
@media(max-width:1200px){.aid-overview{grid-template-columns:1fr}.aid-dashboard{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}
@media(max-width:600px){.aid-dashboard{grid-template-columns:1fr;padding:24px;gap:24px}.aid-welcome{border-left:0;border-top:1px solid #ffffff20;padding:23px 0 0}.aid-dashboard h2{font-size:20px}.aid-welcome .button{min-height:44px}.aid-bar-label{font-size:13px}}

.brand .brand-symbol{border-radius:0;object-fit:contain;width:48px;height:48px}
.brand .brand-wordmark{font-family:Gilmer,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:700;letter-spacing:-1.2px;font-size:32px;line-height:1}
@media(max-width:700px){.sidebar .brand .brand-symbol{width:38px;height:38px}.sidebar .brand .brand-wordmark{font-size:27px}}

/* Personal account navigation. */
.sidebar>.nav-label{margin-top:32px}.account-menu{position:relative;border-top:1px solid var(--line);padding-top:18px}.account-menu>summary{display:flex;align-items:center;gap:12px;list-style:none;margin:0;padding:10px 0;min-height:48px}.account-menu>summary::-webkit-details-marker{display:none}.account-label{flex:1;min-width:0}.account-label strong,.account-label small,.account-identity strong,.account-identity small{display:block;overflow-wrap:anywhere}.account-label strong{color:var(--navy);font-size:14px}.account-label small{color:var(--muted);font-size:12px}.account-popover{position:absolute;bottom:calc(100% + 8px);left:0;width:280px;max-width:calc(100vw - 36px);background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 40px #14243920;padding:8px;z-index:100}.account-identity{padding:14px 12px;border-bottom:1px solid var(--line);font-size:16px}.account-identity small{font-size:13px;color:var(--muted);margin-top:4px}.account-popover>a,.account-popover button{display:flex;align-items:center;gap:12px;padding:14px 12px;width:100%;border:0;background:transparent;font:inherit;text-align:left;border-radius:9px;min-height:48px}.account-popover form{border-top:1px solid var(--line)}.account-popover button{color:#d93644}.account-popover a:hover,.account-popover button:hover{background:#f1f6fc}.account-menu summary:focus-visible{outline:2px solid #258fe1;border-radius:8px}.account-settings{max-width:780px}.account-settings h2{margin-bottom:8px}.account-settings .muted{margin-bottom:22px}.mobile-account{display:none}html[data-theme="dark"] .account-popover{background:#172638;color:#dfebfa}html[data-theme="dark"] .account-popover a:hover,html[data-theme="dark"] .account-popover button:hover{background:#24374d}
@media(max-width:680px){.mobile-account{display:block}.mobile-account .account-menu{padding:0;border:0}.mobile-account .account-menu>summary{padding:4px 0;gap:6px}.mobile-account .avatar{display:none}.mobile-account .account-label strong{font-size:11px;max-width:110px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-account .account-label small{display:none}.mobile-account .account-popover{top:calc(100% + 8px);bottom:auto;left:auto;right:0;font-size:14px}.topbar{position:relative;z-index:20}.account-settings{gap:20px}}

.aid-chart-layout{display:flex;align-items:center;gap:28px;margin:22px 0}.aid-donut{width:210px;max-width:100%;flex-shrink:0}.donut-total{fill:#fff;font-size:20px;font-weight:700}.donut-caption{fill:#afc6dc;font-size:7px}.aid-legend{padding:0;margin:0;list-style:none;flex:1;min-width:0}.aid-legend a,.legend-row{display:flex;align-items:center;gap:9px;padding:7px 0;color:#e6effb;font-size:12px}.aid-legend i{width:11px;height:11px;border-radius:50%;flex-shrink:0}.aid-legend strong{margin-left:auto;white-space:nowrap}.aid-legend small{color:#afc6dc;font-weight:400;margin-left:4px}.aid-legend a:hover{text-decoration:underline}.aid-donut a:focus circle,.aid-donut a:hover circle{stroke-width:19}.report-chart{background:#081525;border-radius:24px;padding:28px;margin:24px 0;color:#fff}.report-chart .aid-chart-layout{max-width:800px}.report-chart .aid-scope{color:#afc6dc}.report-totals{margin:18px 0}@media(max-width:1100px){.aid-dashboard .aid-chart-layout{flex-direction:column;align-items:stretch}.aid-dashboard .aid-donut{align-self:center}}@media(max-width:680px){.aid-chart-layout{flex-direction:column;align-items:stretch}.aid-donut{align-self:center}.report-chart{padding:22px}.sidebar nav{flex-wrap:wrap}}

/* Give the aid chart its full card; greeting belongs to the record card. */
.aid-dashboard.aid-summary-card{display:block}.aid-summary-card .aid-chart-layout{flex-direction:row;align-items:center}.record-card{justify-content:flex-start;gap:0}.record-welcome{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line);min-width:0}.record-welcome .aid-avatar{background:#eaf4fe;color:#2587c5;border-color:#d7eafb}.record-welcome>p{color:var(--muted);font-size:14px;margin:0 0 5px}.record-welcome h2{font-size:24px;color:var(--navy);overflow-wrap:anywhere;margin:0}.record-welcome .aid-welcome-note{font-size:12px;line-height:1.7;margin:12px 0 18px}.record-welcome .button{white-space:normal}.record-card .overview-balance{margin-top:16px}.record-card .overview-note{margin-top:auto;padding-top:20px}html[data-theme="dark"] .record-welcome h2{color:#dfebfa}html[data-theme="dark"] .record-welcome .aid-avatar{background:#24374d;color:#9bdcff}@media(max-width:600px){.aid-summary-card .aid-chart-layout{flex-direction:column;align-items:stretch}.record-welcome{padding-bottom:20px;margin-bottom:20px}}

.profile-avatar{object-fit:cover;flex-shrink:0}.profile-photo-preview{margin:18px 0}.profile-photo-preview .avatar{width:88px;height:88px;font-size:30px}.record-welcome .profile-avatar{display:block}

/* Read categories first, then compare them in a larger chart. */
.aid-chart-layout,.aid-summary-card .aid-chart-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,46%);gap:clamp(20px,3vw,44px);align-items:center}.aid-chart-layout .aid-donut{width:100%;max-width:370px;justify-self:center;filter:drop-shadow(0 12px 22px #00000020)}.aid-legend a,.aid-legend .legend-row{padding:13px 10px;min-height:48px;border-radius:10px;font-size:13px;line-height:1.5}.aid-legend li+li{border-top:1px solid #ffffff12}.aid-legend a:hover,.aid-legend a:focus-visible{background:#ffffff0a;text-decoration:none;outline:2px solid transparent}.aid-legend a:focus-visible{outline-color:#8cd5ff}.aid-legend i{width:12px;height:12px}.aid-legend strong{font-size:15px}.aid-legend small{display:inline-block;font-size:11px;min-width:46px;text-align:right}.aid-dashboard.aid-summary-card .aid-scope{font-size:11px;line-height:1.7;max-width:70ch}.report-chart .aid-chart-layout{max-width:980px}@media(max-width:600px){.aid-chart-layout,.aid-summary-card .aid-chart-layout{grid-template-columns:minmax(0,1fr);gap:16px}.aid-chart-layout .aid-donut{grid-row:1;max-width:290px}.aid-legend{grid-row:2;width:100%}.aid-legend a,.aid-legend .legend-row{padding:12px 8px}}

.record-welcome .welcome-identity{display:flex;align-items:center;gap:14px}.record-welcome .welcome-identity .avatar{width:56px;height:56px;flex:0 0 56px;margin:0;font-size:24px}.welcome-name{min-width:0;flex:1}.record-welcome .welcome-name p{font-size:13px;color:var(--muted);line-height:1.5;margin:0 0 4px}.record-welcome .welcome-name h2{font-size:21px;line-height:1.3;margin:0;overflow-wrap:anywhere}

.notification-dot{width:8px!important;height:8px;border-radius:50%;background:#258fe1;flex:none}.release-dialog{width:min(620px,calc(100vw - 28px));max-height:85dvh;padding:26px;border:1px solid var(--line);border-radius:24px;background:#fff;color:var(--navy);box-shadow:0 24px 80px #041b3740;overflow:auto}.release-dialog::backdrop{background:#06142599;backdrop-filter:blur(4px)}.release-dialog-header,.release-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.release-dialog-header{margin-bottom:12px}.release-dialog-header button{font-size:28px;min-width:44px;min-height:44px}.release-dialog h2{font-size:24px;margin-bottom:10px}.release-dialog h3,.release-entry h3{font-size:14px;margin:22px 0 10px}.release-dialog ul,.release-entry ul{padding-left:20px;font-size:13px;line-height:1.8;color:var(--muted)}.release-dialog li,.release-entry li{margin-bottom:7px}.release-dialog-footer{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);flex-wrap:wrap}.release-entry+.release-entry{margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}.release-entry h2{margin:16px 0}.release-read,.release-settings{margin:24px 0}.login-version{text-align:center;font-size:12px;color:var(--muted);margin:22px 0}.login-version small{display:block;font-size:10px;line-height:1.7;margin-top:6px}html[data-theme="dark"] .release-dialog{background:#172638;color:#dfebfa}
@media(max-width:680px){.sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.sidebar nav a{justify-content:center;border-radius:10px;padding:10px 4px;min-height:44px}.sidebar nav a>span{font-size:11px}.sidebar nav a .icon{width:18px;height:18px;flex-shrink:0}.sidebar nav a .notification-dot{width:7px!important;height:7px}.topbar{gap:12px}.topbar>span{min-width:0;overflow-wrap:anywhere}.release-dialog{padding:20px;max-height:88dvh}.release-dialog h2{font-size:22px}.release-dialog-footer .button{flex:1}.filters .field{min-width:0}.report-totals{gap:8px}.account-settings .form-actions .button{width:100%}.record-row .actions{width:100%}}
.release-dialog-header{position:sticky;top:-26px;background:inherit;z-index:1;padding:8px 0}.release-dialog>form{background:inherit}
@media(max-width:680px){body:not(.login-body){padding-bottom:calc(150px + env(safe-area-inset-bottom))}.sidebar nav.app-nav a{position:relative;max-width:none}.sidebar nav.app-nav .notification-dot{position:absolute;top:8px;right:calc(50% - 20px)}.release-dialog-header{top:-20px}.button{min-height:44px}}

/* Account summary must keep its position when its popover opens. */
.account-menu[open]>summary{margin:0}
.notification-link{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#fff;color:#557fa8}
.notification-link .icon{width:21px;height:21px}.notification-link:hover,.notification-link[aria-current="page"]{background:#e4f3ff;color:#117fc8}.notification-link .notification-dot{position:absolute;top:8px;right:8px;border:2px solid #fff;width:9px!important;height:9px}
html[data-theme="dark"] .notification-link{background:#172638;border-color:#344960;color:#9bdcff}html[data-theme="dark"] .notification-link .notification-dot{border-color:#172638}
@media(max-width:680px){body:not(.login-body){padding-bottom:calc(86px + env(safe-area-inset-bottom))}.sidebar nav.app-nav{grid-template-columns:repeat(auto-fit,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:1fr}.mobile-header-actions{gap:6px}.mobile-header-actions .notification-link{width:40px;flex-basis:40px;height:40px}}
@media(min-width:681px){.mobile-header-actions .notification-link{display:none}}

.login-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}.login-bottom .login-version{margin:0;white-space:nowrap;text-align:left}.login-bottom .login-redkit{margin:0}.mobile-person-open{display:none}.person-delete-link{margin-left:8px}
@media(max-width:680px){
.people-table tbody{padding:12px;background:var(--bg)}
.people-table tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"number select" "name name" "identity phone" "location applications" "date date" "actions actions";gap:16px;padding:16px;margin-bottom:12px;border:1px solid var(--line)!important;border-radius:18px;background:#fff}
.people-table tr:last-child{margin-bottom:0}
.people-table td{font-size:14px;line-height:1.5;color:var(--ink)}
.people-table td[data-label]:not([data-label=""]):before{font-size:11px;margin-bottom:4px}
.people-table td:first-child{grid-area:select;justify-self:end;padding:0;margin:0;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:32px}
.people-table td:first-child:before{margin:0!important}.people-table td:first-child input{width:22px;height:22px;margin:0}
.people-table td:nth-child(2){grid-area:number;display:flex;align-items:center;gap:7px;font-size:14px;font-weight:700;color:#167fc2}
.people-table td:nth-child(2):before{margin:0!important;color:inherit!important;font-size:12px!important}
.people-table td:nth-child(3){grid-area:name;padding-bottom:14px;border-bottom:1px solid var(--line)!important}
.people-table .person-link{display:flex;align-items:center;gap:10px}.people-table .person-link strong{font-size:16px;line-height:1.4;color:var(--navy)}.people-table .person-link .avatar{width:38px;height:38px;flex:0 0 38px}
.people-table td:nth-child(4){grid-area:identity}.people-table td:nth-child(5){grid-area:phone}.people-table td:nth-child(6){grid-area:location}.people-table td:nth-child(7){grid-area:applications}.people-table td:nth-child(8){grid-area:date;display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.people-table td:nth-child(8):before{margin:0!important}
.people-table td:last-child{grid-area:actions;position:static;display:flex;gap:8px;align-items:center;padding-top:12px;border-top:1px solid var(--line)!important}
.people-table td:last-child:before{display:none!important}.people-table td:last-child a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border-radius:10px;background:#eef6fd;color:#167fc2;font-size:12px;font-weight:600;margin:0}.people-table td:last-child .mobile-person-open{flex:1;background:#258fe1;color:#fff}.people-table td:last-child .person-delete-link{background:#fff2f2;color:#b43c46}
.people-selection{gap:8px}.people-selection .check{width:100%;font-size:12px}.people-selection .field-note{margin-left:auto;font-size:11px}.people-selection .button{font-size:11px;padding:8px 10px}
html[data-theme="dark"] .people-table tr{background:#172638}html[data-theme="dark"] .people-table .person-link strong{color:#dfebfa}html[data-theme="dark"] .people-table td:last-child a:not(.mobile-person-open){background:#24374d;color:#b9dcfa}
}
.identity-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.identity-upload-grid>section{min-width:0}.identity-upload-grid input[type=file]{display:block;width:100%;margin-top:8px}.crop-canvas{display:block;width:100%;height:auto;touch-action:none;border-radius:12px;background:#101d30;cursor:crosshair}.crop-hint{font-size:12px;color:var(--muted);margin:12px 0}.crop-hint strong{display:block;color:var(--navy)}.crop-sliders{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.crop-sliders label{font-size:12px}.crop-sliders input{display:block;width:100%;min-height:32px}@media(max-width:950px){.identity-upload-grid{grid-template-columns:1fr}}html[data-theme="dark"] .crop-hint strong{color:#dfebfa}
