:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;background:#f4f6fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}.auth-page{background:radial-gradient(circle at 12% 8%,#6366f129,#0000 27%),linear-gradient(145deg,#f8f9ff 0%,#eef1f8 100%);place-items:center;min-height:100vh;padding:28px;display:grid}.auth-card,.loading-card{background:#fffffff5;border:1px solid #e4e7ec;border-radius:20px;width:min(100%,460px);padding:34px;box-shadow:0 24px 70px #1018281f}.loading-card{text-align:center}.loading-card .brand-mark{margin:0 auto 22px}.auth-brand,.brand-lockup{align-items:center;gap:11px;display:flex}.auth-brand{margin-bottom:42px}.auth-brand strong,.auth-brand span,.brand-lockup strong,.brand-lockup span{display:block}.auth-brand strong,.brand-lockup strong{font-size:15px}.auth-brand span,.brand-lockup span{color:#667085;margin-top:2px;font-size:11px}.brand-mark{color:#fff;background:#1f2a8a;border-radius:11px;flex:0 0 40px;place-items:center;width:40px;height:40px;font-size:12px;font-weight:900;display:grid;box-shadow:0 8px 20px #1f2a8a40}.eyebrow{color:#1f2a8a;letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px;font-size:11px;font-weight:900}h1,h2,p{margin-top:0}h1{letter-spacing:-.045em;margin-bottom:10px;font-size:clamp(30px,5vw,48px);line-height:1.04}h2{margin-bottom:8px;font-size:20px}.intro,.workspace-card p{color:#667085;line-height:1.6}form{margin-top:28px}label{color:#344054;margin:18px 0 7px;font-size:13px;font-weight:800;display:block}input{color:#172033;background:#fff;border:1px solid #d0d5dd;border-radius:10px;width:100%;min-height:48px;padding:11px 13px;font-size:16px}select{color:#172033;background:#fff;border:1px solid #d0d5dd;border-radius:10px;min-height:44px;padding:10px 36px 10px 12px;font-size:16px;font-weight:750}input:focus,select:focus{border-color:#818cf8;outline:0;box-shadow:0 0 0 4px #6366f124}.primary-button{color:#fff;background:#1f2a8a;border:0;border-radius:10px;width:100%;min-height:48px;margin-top:24px;font-weight:850;box-shadow:0 8px 20px #1f2a8a33}.compact-button{width:auto;min-height:42px;margin-top:14px;padding:0 16px}button:disabled{cursor:wait;opacity:.65}.link-button{color:#1f2a8a;background:0 0;border:0;width:auto;margin:15px 0 0;padding:0;font-size:12px;font-weight:850}.notice{border-radius:10px;margin-top:18px;padding:12px 14px;font-size:13px;line-height:1.45}.notice-error{color:#b42318;background:#fef3f2}.notice-success{color:#027a48;background:#ecfdf3}.notice-muted{color:#475467;background:#f2f4f7}.app-shell{grid-template-columns:210px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:#fff;border-right:1px solid #e4e7ec;flex-direction:column;height:100vh;padding:22px 16px;display:flex;position:sticky;top:0}.sidebar nav{gap:5px;margin-top:38px;display:grid}.sidebar nav button{color:#475467;text-align:left;background:0 0;border:0;border-radius:9px;min-height:42px;padding:10px 12px;font-size:13px;font-weight:750}.sidebar nav button.nav-active{color:#1f2a8a;background:#eef2ff}.sidebar-footer{border-top:1px solid #e4e7ec;margin-top:auto;padding-top:16px}.sidebar-footer strong,.sidebar-footer span{display:block}.sidebar-footer strong{font-size:13px}.sidebar-footer span{color:#667085;text-transform:capitalize;margin-top:3px;font-size:11px}main{width:min(1120px,100% - 40px);margin:0 auto;padding:70px 0}header{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.status{border-radius:999px;padding:9px 12px;font-size:12px;font-weight:850}.status-connected{color:#027a48;background:#ecfdf3}.metric-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:40px;display:grid}.metric-grid article,.workspace-card{background:#fff;border:1px solid #e4e7ec;border-radius:15px;padding:22px;box-shadow:0 12px 30px #1018280d}.metric-grid span{color:#667085;font-size:12px;font-weight:750;display:block}.metric-grid strong{margin-top:16px;font-size:30px;display:block}.workspace-card{grid-template-columns:1fr 1fr;align-items:center;gap:32px;margin-top:12px;display:grid}.workspace-next{background:#f8f9ff;border-radius:12px;padding:18px}.workspace-next strong,.workspace-next span{display:block}.workspace-next strong{color:#1f2a8a;font-size:13px}.workspace-next span{color:#667085;margin-top:7px;font-size:13px;line-height:1.5}.empty-state,.progress-layout{background:#fff;border:1px solid #e4e7ec;border-radius:18px;margin-top:28px;padding:24px;box-shadow:0 12px 30px #1018280d}.empty-state{max-width:720px}.empty-state p{color:#667085;line-height:1.6}.progress-toolbar{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.zone-tabs{gap:9px;margin:20px 0;padding-bottom:6px;display:flex;overflow-x:auto}.zone-tabs button{color:#344054;text-align:left;white-space:nowrap;background:#fff;border:1px solid #e4e7ec;border-radius:13px;min-width:132px;padding:12px 13px;font-size:13px;font-weight:850}.zone-tabs button span{color:#667085;margin-top:5px;font-size:11px;font-weight:750;display:block}.zone-tabs button.zone-active{color:#1f2a8a;background:#eef2ff;border-color:#1f2a8a}.area-list{gap:12px;display:grid}.area-card{background:#fbfcff;border:1px solid #e4e7ec;border-radius:15px;padding:16px}.area-title{justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:13px;display:flex}.area-title strong{font-size:15px}.area-title span{color:#667085;text-transform:capitalize;font-size:11px;font-weight:800}.stage-row{grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;margin-top:8px;display:grid}.stage-row>span{color:#344054;font-size:12px;font-weight:850}.stage-row div{flex-wrap:wrap;gap:7px;display:flex}.stage-row button{color:#475467;background:#fff;border:1px solid #d0d5dd;border-radius:999px;min-height:32px;padding:7px 10px;font-size:11px;font-weight:850}.stage-row button.stage-complete{color:#027a48;background:#ecfdf3;border-color:#12b76a}.photo-row{border-top:1px solid #e4e7ec;margin-top:14px;padding-top:13px}.photo-button{color:#1f2a8a;background:#fff;border:1px solid #d0d5dd;border-radius:999px;min-height:36px;padding:8px 12px;font-size:12px;font-weight:900}.photo-button span{color:#1f2a8a;background:#eef2ff;border-radius:999px;place-items:center;min-width:22px;min-height:22px;margin-left:8px;padding:3px 7px;font-size:11px;display:inline-grid}.photo-button-active{background:#eef2ff;border-color:#1f2a8a}.photo-button-active span{color:#fff;background:#1f2a8a}.photo-panel{background:#f8f9ff;border:1px solid #dbe3ff;border-radius:14px;margin-top:13px;padding:16px}.photo-panel form,.photo-panel label{margin-top:0}.photo-fields{grid-template-columns:1.3fr .8fr 1fr;align-items:end;gap:12px;display:grid}.photo-panel input[type=file]{background:#fff;padding:9px}.photo-muted{color:#667085;margin:14px 0 0;font-size:13px}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.photo-grid article{background:#fff;border:1px solid #e4e7ec;border-radius:13px;overflow:hidden}.photo-preview-button{text-align:left;background:0 0;border:0;width:100%;padding:0;position:relative}.photo-grid img,.photo-placeholder{aspect-ratio:4/3;object-fit:cover;background:#eef2ff;width:100%;display:block}.photo-preview-button span{color:#fff;background:#172033c7;border-radius:999px;padding:6px 8px;font-size:11px;font-weight:900;position:absolute;bottom:10px;right:10px}.photo-placeholder{color:#667085;place-items:center;font-size:12px;font-weight:800;display:grid}.photo-grid strong,.photo-grid span,.photo-grid time{padding:0 11px;display:block}.photo-grid strong{color:#344054;padding-top:10px;font-size:12px}.photo-grid span{color:#475467;margin-top:4px;font-size:12px;line-height:1.4}.photo-grid time{color:#667085;margin-top:6px;padding-bottom:11px;font-size:11px;font-weight:750}.photo-lightbox{z-index:50;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.photo-lightbox-backdrop{color:#0000;background:#0f172ac7;border:0;width:100%;height:100%;position:absolute;inset:0}.photo-lightbox-card{background:#fff;border-radius:18px;grid-template-rows:auto minmax(0,1fr) auto;width:min(100%,980px);max-height:calc(100vh - 44px);display:grid;position:relative;overflow:hidden;box-shadow:0 24px 80px #00000059}.photo-lightbox-header,.photo-lightbox-footer{padding:14px 16px}.photo-lightbox-header{border-bottom:1px solid #e4e7ec;justify-content:space-between;align-items:center;gap:14px;display:flex}.photo-lightbox-header strong,.photo-lightbox-header span,.photo-lightbox-footer time{display:block}.photo-lightbox-header span,.photo-lightbox-footer time{color:#667085;margin-top:4px;font-size:12px;font-weight:750}.photo-lightbox-header button{color:#1f2a8a;background:#fff;border:1px solid #d0d5dd;border-radius:999px;min-height:36px;padding:8px 12px;font-size:12px;font-weight:900}.photo-lightbox-card>img{object-fit:contain;background:#0f172a;width:100%;height:100%;max-height:72vh}.photo-lightbox-footer{border-top:1px solid #e4e7ec}.photo-lightbox-footer p{color:#344054;margin-bottom:6px;line-height:1.45}.secondary-button{color:#1f2a8a;box-shadow:none;background:#fff;border:1px solid #d0d5dd;font-weight:900}.temp-layout{gap:14px;margin-top:28px;display:grid}.temp-header,.temp-card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:24px;box-shadow:0 12px 30px #1018280d}.temp-header,.temp-card-heading,.signature-title{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.temp-header p,.temp-muted,.signatory-list p{color:#667085;line-height:1.55}.temp-summary{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.temp-summary article{background:#fff;border:1px solid #e4e7ec;border-radius:15px;padding:18px}.temp-summary span,.temp-summary strong{display:block}.temp-summary span{color:#667085;font-size:12px;font-weight:800}.temp-summary strong{margin-top:12px;font-size:28px}.temp-grid{grid-template-columns:.85fr 1.15fr;gap:14px;display:grid}.import-card{justify-content:space-between;align-items:center;gap:18px;display:flex}.import-card p{color:#667085;margin-bottom:0;line-height:1.55}.import-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.file-import-button{color:#1f2a8a;background:#fff;border:1px solid #d0d5dd;border-radius:999px;place-items:center;min-height:42px;margin:0;padding:11px 14px;font-size:12px;font-weight:900;display:inline-grid}.file-import-button input{display:none}.temp-card h3{margin:0 0 10px;font-size:18px}.temp-card form{margin-top:12px}.temp-form-grid{grid-template-columns:1fr .7fr;gap:12px;display:grid}.signatory-list{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.signatory-list span{color:#1f2a8a;background:#f8f9ff;border:1px solid #dbe3ff;border-radius:999px;padding:9px 11px;font-size:12px;font-weight:900}.signatory-list small{color:#667085;margin-left:6px;font-weight:750}.temp-card-heading>label{min-width:min(100%,320px);margin:0}.temp-list{gap:8px;margin-top:14px;display:grid}.temp-row{background:#fbfcff;border:1px solid #e4e7ec;border-radius:13px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:0;padding:12px;display:grid}.temp-row input[type=checkbox]{accent-color:#1f2a8a;width:20px;min-height:20px}.temp-row strong,.temp-row small{display:block}.temp-row strong{color:#172033;font-size:13px}.temp-row small{color:#667085;margin-top:4px;font-size:11px;line-height:1.4}.temp-row em{color:#1f2a8a;text-transform:capitalize;background:#eef2ff;border-radius:999px;padding:5px 8px;font-size:10px;font-style:normal;font-weight:900}.signed-archive-card .temp-card-heading p{margin-bottom:0}.archive-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.archive-actions .compact-button{margin-top:0}.signed-row{grid-template-columns:minmax(0,1fr) auto}.signed-row .compact-button{margin-top:0}.signature-box{background:#f8f9ff;border:1px dashed #b7c2ff;border-radius:15px;margin-top:16px;padding:14px}.signature-box canvas{touch-action:none;background:#fff;border:1px solid #d0d5dd;border-radius:12px;width:100%;height:170px;margin-top:10px;display:block}@media (width<=820px){.auth-page{padding:14px}.auth-card,.loading-card{border-radius:16px;padding:25px 21px}.app-shell{display:block}.sidebar{border-bottom:1px solid #e4e7ec;border-right:0;gap:12px;width:100%;height:auto;padding:13px 15px;display:grid;position:static}.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:0;display:grid}.sidebar nav button{text-align:center;min-height:36px;padding:8px 6px;font-size:11px}.sidebar-footer{border:0;margin:0;padding:0}.sidebar-footer strong,.sidebar-footer span{display:none}main{width:min(100% - 28px,620px);padding:34px 0 70px}header{display:grid}.status{width:max-content}.metric-grid{grid-template-columns:repeat(2,1fr)}.workspace-card{grid-template-columns:1fr;gap:16px}.progress-toolbar,.area-title{display:grid}.progress-toolbar select{width:100%}.stage-row{grid-template-columns:1fr;gap:7px}.photo-fields,.photo-grid,.temp-grid,.temp-summary{grid-template-columns:1fr}.temp-header,.import-card,.temp-card-heading,.signature-title{display:grid}.import-actions,.archive-actions{justify-content:stretch}.archive-actions .compact-button,.file-import-button{width:100%}.temp-header,.temp-card{padding:18px}.temp-row{grid-template-columns:auto minmax(0,1fr)}.signed-row{grid-template-columns:1fr}.temp-row em{grid-column:2;justify-self:start}.photo-lightbox{padding:10px}.photo-lightbox-card{border-radius:14px;max-height:calc(100dvh - 20px)}.photo-lightbox-card>img{max-height:66dvh}}
