:root{color-scheme:light;--ink:#182b3e;--muted:#718398;--line:#e4ebf2;--bg:#f5f8fc;--blue:#176ec5;--blue2:#2096e6;--navy:#0e3459;--teal:#009f91;--mint:#e0f8f2;--white:#fff;--shadow:0 8px 32px rgba(20,56,90,.055);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.52;cursor:not-allowed}a{color:var(--blue);text-decoration:none}svg.icon{flex:none;vertical-align:middle}h1,h2,h3,h4,p{margin-top:0}h1{letter-spacing:-.04em}h2,h3{letter-spacing:-.025em}small,.muted{color:var(--muted)}label{display:block}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:3px solid #81c9f0;outline-offset:2px}input,select,textarea{accent-color:var(--blue)}.hidden{display:none!important}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grow{flex:1}.full{width:100%}.text-right{text-align:right}.text-center{text-align:center}.nowrap{white-space:nowrap}.d-flex{display:flex}.align-center{align-items:center}.justify-between{justify-content:space-between}.gap-8{gap:8px}.gap-12{gap:12px}.mb-0{margin-bottom:0}.mb-12{margin-bottom:12px}.mb-20{margin-bottom:20px}.mt-12{margin-top:12px}.mt-20{margin-top:20px}.mono{font-variant-numeric:tabular-nums}.startup{display:grid;place-content:center;text-align:center;min-height:100vh;color:#5a7288}.startup-logo{height:70px;width:70px;border-radius:22px;background:var(--navy);font-size:32px;color:white;font-weight:800;margin:0 auto 20px;display:grid;place-items:center}.startup-logo span{color:#55d5c6}.eyebrow{text-transform:uppercase;font-size:10.5px;letter-spacing:.15em;font-weight:850;color:#2d899e}.section-kicker{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--teal)}
.btn{border:1px solid transparent;background:var(--navy);color:#fff;border-radius:12px;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:700;font-size:13px;min-height:40px;transition:transform .15s,background .15s,box-shadow .15s;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 18px rgba(16,59,96,.14)}.btn-primary{background:#156fc5}.btn-teal{background:#078b87}.btn-soft{background:#eaf3ff;color:#175eaa;border-color:#d6e8f7}.btn-ghost{background:transparent;border-color:#dce7ef;color:#324e65}.btn-white{background:white;color:var(--navy)}.btn-danger{background:#fff0ef;color:#a64037;border-color:#f4d8d5}.btn-sm{padding:7px 11px;font-size:12px;min-height:32px;border-radius:9px}.btn-lg{padding:14px 21px;font-size:14px;border-radius:13px}.icon-btn{width:39px;height:39px;border-radius:10px;border:1px solid var(--line);background:white;display:inline-grid;place-items:center;color:#547082}.input,.select,.textarea{border:1px solid #dce5ef;border-radius:11px;width:100%;background:#fff;color:#23384c;padding:11px 12px;min-height:43px;outline:none}.input:focus,.select:focus,.textarea:focus{border-color:#2189d0;box-shadow:0 0 0 3px rgba(33,137,208,.11)}.textarea{resize:vertical;min-height:82px}.label{font-size:12px;font-weight:750;color:#38566c;margin-bottom:7px;display:block}.hint{color:#8292a4;font-size:11px;line-height:1.55;margin-top:5px}.required{color:#cf5963;margin-left:3px}.filter{min-width:115px;flex:1}.filter label{font-size:10px;font-weight:800;color:#8192a6;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}.filter .select{font-size:12px;height:37px;min-height:37px;padding:7px 10px;background:#fff;border-radius:9px}.pill{display:inline-flex;align-items:center;gap:4px;border-radius:30px;padding:5px 9px;font-size:11px;font-weight:750;white-space:nowrap;background:#edf1f4;color:#576979;text-transform:capitalize}.pill-approved,.pill-synced{background:#e4f6ed;color:#168459}.pill-flagged,.pill-error{background:#fff0e6;color:#ae6b28}.pill-submitted,.pill-queued{background:#e7f2ff;color:#2276bb}.pill-draft{background:#f1ecfb;color:#8163b4}.pill-new{background:#e7f4ff;color:#1785d1}.pill-old{background:#edf0ff;color:#253fa5}.pill-demo{background:#fff0d3;color:#8b611d;letter-spacing:.04em;text-transform:uppercase;font-size:10px}.notice{background:#fff8e8;border:1px solid #f4e4b7;border-radius:11px;padding:12px 14px;color:#8a6527;font-size:12px;line-height:1.55}.notice-blue{background:#edf7ff;border-color:#cfe7f8;color:#24628e}.card{background:white;border:1px solid #e7edf3;border-radius:17px;box-shadow:var(--shadow)}.card-pad{padding:19px}.card-title{font-size:14px;font-weight:800;margin:0}.card-sub{font-size:11.5px;color:#8b9bab;line-height:1.5;margin:6px 0 0}.page-title{font-size:24px;margin:0 0 6px;font-weight:840}.page-lead{color:#8292a5;font-size:12.5px;margin-bottom:0}.badge-count{border-radius:50px;background:#edf4ff;color:#2d6fa9;font-size:11px;padding:4px 9px;font-weight:750}.stat-note{font-size:11px;color:#8596a9}
/* Login */
.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(360px,47%) 1fr;background:#fff}.auth-visual{min-height:100vh;background:radial-gradient(circle at 90% 9%,rgba(67,209,199,.17),transparent 34%),linear-gradient(145deg,#0b3158,#0f567e 65%,#087e84);color:#fff;padding:64px 11%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-visual:after{content:'';position:absolute;border:1px solid #ffffff25;width:410px;height:410px;border-radius:50%;right:-170px;bottom:90px;box-shadow:0 0 0 70px #ffffff08,0 0 0 140px #ffffff06;pointer-events:none}.brand{display:flex;align-items:center;gap:11px;font-weight:850;letter-spacing:-.02em;font-size:19px}.brand-mark{background:linear-gradient(145deg,#11b6aa,#0b679e);color:white;display:grid;place-items:center;width:39px;height:39px;border-radius:13px;box-shadow:0 4px 12px #05345055;font-size:18px;letter-spacing:-.05em}.brand-mark b{color:#c1ffef}.auth-visual h2{max-width:600px;font-size:clamp(38px,4.4vw,61px);line-height:1.07;font-weight:850;letter-spacing:-.054em;margin-bottom:20px}.auth-visual p{font-size:16px;line-height:1.7;color:#d5eaf6;max-width:480px}.auth-feature{display:flex;gap:13px;align-items:center;margin:14px 0;font-size:13px;color:#def4f4}.auth-feature svg{color:#64e0d2}.auth-side{display:grid;place-items:center;padding:30px}.auth-content{max-width:430px;width:100%}.auth-content h1{font-size:33px;line-height:1.17;margin-bottom:8px}.auth-content p{font-size:13px;color:#7d8fa2;line-height:1.65}.auth-tabs{display:flex;gap:7px;border:1px solid #e1eaf1;padding:5px;border-radius:13px;margin:24px 0}.auth-tab{flex:1;border:0;background:none;padding:10px 6px;border-radius:9px;font-size:12px;font-weight:750;color:#8191a3}.auth-tab.active{background:#eaf5ff;color:#1163ab}.auth-side .form-row{margin:18px 0}.auth-side .input{min-height:49px}.auth-footnote{font-size:11px;color:#9baaba;line-height:1.6;margin-top:20px}.auth-demo-hint{border:1px dashed #bdd8e7;border-radius:12px;background:#f4faff;padding:13px;font-size:12px;color:#51728a;line-height:1.6}
/* Web app */
.workspace{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:#0f3357;color:#d2e6f5;display:flex;flex-direction:column;padding:26px 15px 20px;position:sticky;top:0;height:100vh;z-index:20}.sidebar .brand{padding-left:10px;color:white}.sidebar-caption{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#7ca6c1;margin:34px 12px 12px;font-weight:850}.nav-list{display:grid;gap:5px}.nav-link{display:flex;gap:12px;align-items:center;padding:11px 13px;border-radius:11px;color:#b5cede;font-weight:600;font-size:12.5px;background:transparent;border:0;text-align:left;width:100%;min-height:41px}.nav-link:hover,.nav-link.active{background:#215277;color:#fff}.nav-link.active{box-shadow:inset 3px 0 0 #54ddd0}.nav-link .icon{opacity:.83}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff19;padding:18px 9px 0}.sb-profile{display:flex;gap:10px;align-items:center}.avatar{border-radius:50%;height:36px;width:36px;flex:none;display:grid;place-items:center;background:#c7ecf7;color:#135b82;font-weight:850;font-size:13px}.sb-profile strong{display:block;font-size:12px;color:#fff}.sb-profile small{font-size:10px;color:#a4bed3}.sidebar-demo{margin-top:14px;font-size:10px;color:#8fb0c5;line-height:1.55}.web-content{min-width:0}.topbar{background:#fff;height:72px;padding:0 30px;border-bottom:1px solid #e8eef4;display:flex;align-items:center;justify-content:space-between;gap:14px}.topbar-left{display:flex;align-items:center;gap:14px}.breadcrumb{font-size:12px;color:#89a0b4}.breadcrumb strong{color:#35506b}.topbar-actions{display:flex;align-items:center;gap:10px}.topbar-search{display:flex;align-items:center;gap:8px;background:#f3f7fa;color:#8397a8;padding:9px 13px;border:1px solid #e5edf3;border-radius:10px;font-size:11.5px;min-width:195px}.topbar-avatar{width:34px;height:34px}.web-main{max-width:1700px;padding:28px 30px 46px;margin:0 auto}.web-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px}.heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.demo-strip{display:flex;align-items:center;gap:10px;background:#e9f8f6;border:1px solid #cdebe7;border-radius:11px;padding:10px 13px;color:#29756e;font-size:11.5px;margin-bottom:20px}.filter-panel{background:#fff;border:1px solid #e6ecf3;border-radius:16px;padding:14px 17px;box-shadow:var(--shadow);margin-bottom:22px}.filter-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.filter-top strong{font-size:11px;color:#557189}.filter-row{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.filter-row .filter{min-width:112px;max-width:240px}.filter-row .filter-wide{max-width:265px;flex:1.5}.metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;margin-bottom:20px}.metric{padding:17px 17px 14px;min-width:0;position:relative;overflow:hidden}.metric-icon{height:32px;width:32px;border-radius:11px;display:grid;place-items:center;background:#eef5ff;color:#2c82bc;margin-bottom:13px}.metric:nth-child(2n) .metric-icon{background:#e7f7f5;color:#098f8b}.metric:nth-child(4n) .metric-icon{background:#fff1e7;color:#bc7d41}.metric label{color:#8191a4;font-size:10.5px;font-weight:750;line-height:1.4;margin-bottom:6px}.metric strong{display:block;font-size:26px;letter-spacing:-.04em;color:#1c3853}.metric small{font-size:10px;color:#8191a4}.chart-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;margin-bottom:16px}.span-3{grid-column:span 3}.span-4{grid-column:span 4}.span-5{grid-column:span 5}.span-6{grid-column:span 6}.span-7{grid-column:span 7}.span-8{grid-column:span 8}.span-12{grid-column:span 12}.chart-card{padding:20px 20px 16px;min-width:0;overflow:hidden}.chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:17px}.chart-head .card-title{font-size:14px}.chart-head .card-sub{font-size:11px}.legend{display:flex;gap:11px;flex-wrap:wrap;align-items:center;font-size:10.5px;color:#708198}.dot{width:8px;height:8px;display:inline-block;background:#1b96f2;border-radius:100%;margin-right:5px}.dot.navy{background:#243da6}.dot.teal{background:#13ae9f}.hbars{display:grid;gap:11px}.hbar-row{display:grid;grid-template-columns:minmax(85px,140px) 1fr 45px;align-items:center;gap:10px;font-size:11px}.hbar-label{color:#456176;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hbar-track{height:9px;background:#eef3f8;border-radius:12px;overflow:hidden;display:flex}.hbar-fill{height:100%;border-radius:12px;background:linear-gradient(90deg,#1c6dbb,#1594e1);min-width:1px}.hbar-count{text-align:right;font-size:10.5px;color:#8392a3}.hbar-row[data-click]{cursor:pointer}.hbar-row[data-click]:hover .hbar-label{color:#0873c5;text-decoration:underline}.barchart-vertical{height:193px;display:flex;align-items:end;gap:8px;padding-bottom:21px;border-bottom:1px solid #e5edf3;position:relative}.bar-group{flex:1;height:100%;position:relative;display:flex;align-items:end;justify-content:center;gap:3px;min-width:0;cursor:pointer}.vbar{width:31%;min-width:7px;max-width:28px;min-height:2px;border-radius:5px 5px 0 0;background:#1e94eb;position:relative;transition:height .3s}.vbar.old{background:#233da7}.vbar-label{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(100% + 5px);font-size:9px;color:#5f7690;white-space:nowrap}.bar-x{position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);font-size:10.5px;color:#60768d;font-weight:650;white-space:nowrap}.donut-wrap{display:flex;align-items:center;justify-content:center;gap:20px;padding:5px 0 0;flex-wrap:wrap}.donut{height:168px;width:168px;border-radius:100%;display:grid;place-items:center;flex:none}.donut-hole{height:113px;width:113px;border-radius:100%;background:#fff;display:grid;place-content:center;text-align:center}.donut-hole strong{font-size:23px;letter-spacing:-.04em}.donut-hole small{font-size:9px;color:#8b9aa9}.donut-legend{display:grid;gap:12px}.donut-item{display:flex;gap:9px;align-items:center;color:#637990;font-size:12px}.donut-item strong{color:#21384d;margin-left:auto;font-size:12px}.age-chart{height:180px;display:flex;align-items:end;gap:9px;padding:6px 4px 19px;border-bottom:1px solid var(--line)}.age-col{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;gap:4px;min-width:0}.age-bar{width:70%;max-width:37px;background:linear-gradient(0deg,#0d5287,#178bcc);border-radius:4px 4px 0 0;min-height:1px}.age-count{font-size:9px;color:#69809a}.age-name{font-size:9px;color:#688099;position:absolute;top:calc(100% + 5px);white-space:nowrap}.page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.quarter-panel{padding:18px}.quarter-panel h3{font-size:13px;margin-bottom:7px}.quarter-panel .barchart-vertical{margin-top:11px;height:164px}.table-card{overflow:hidden}.table-top{padding:18px 19px;display:flex;justify-content:space-between;align-items:center;gap:11px;flex-wrap:wrap}.table-responsive{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:11.5px}.data-table th{background:#f8fafc;padding:12px 14px;color:#7690a6;font-size:10px;text-align:left;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.data-table td{padding:13px 14px;border-top:1px solid #eef2f6;color:#3a556b;vertical-align:middle}.data-table tbody tr:hover{background:#f8fbfe}.data-table .primary-cell{font-weight:750;color:#1b4261}.data-table .secondary-cell{font-size:10px;color:#8ba0ae;margin-top:3px}.data-table .row-click{cursor:pointer}.table-pagination{padding:13px 17px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--line);color:#7890a3;font-size:11px}.quality-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:17px}.quality-number{font-size:29px;font-weight:850;letter-spacing:-.04em}.settings-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-list{display:grid;gap:12px}.detail-item{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #edf2f5;padding-bottom:11px;font-size:12px}.detail-item span{color:#8090a1}.detail-item strong{text-align:right;color:#2d4b63}.readout{background:#f4f8fc;border:1px solid #e6edf4;padding:14px;border-radius:12px;line-height:1.6;font-size:12px}.readout strong{display:block;margin-bottom:4px}.form-inline{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.modal-scrim{position:fixed;inset:0;background:#0b223ac4;z-index:50;display:flex;justify-content:center;align-items:center;padding:20px}.modal{background:#fff;border-radius:18px;width:min(680px,100%);max-height:92vh;overflow:auto;box-shadow:0 24px 100px #0005}.modal-header{padding:20px 23px 16px;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);align-items:start}.modal-body{padding:19px 23px 24px}.modal-footer{padding:12px 23px 20px;display:flex;gap:10px;justify-content:flex-end}.modal h3{margin:0 0 5px;font-size:17px}.record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.record-field{padding:11px;border:1px solid #e8edf2;border-radius:10px;min-width:0}.record-field small{display:block;font-size:10px;margin-bottom:5px}.record-field strong{font-size:12px;line-height:1.4;word-break:break-word}.mini-actions{display:flex;gap:6px;flex-wrap:wrap}.role-note{font-size:11px;color:#7e91a5}
/* Mobile collection PWA */
.mobile-background{min-height:100vh;background:radial-gradient(circle at 8% 10%,#d5efff,transparent 33%),#eaf1f8;display:flex;justify-content:center;align-items:stretch}.phone-app{width:100%;max-width:570px;min-height:100vh;background:#f7f9fd;box-shadow:0 12px 60px #214a7220;position:relative;display:flex;flex-direction:column}.phone-header{background:linear-gradient(130deg,#0e3459,#0c5c84);padding:19px 23px 25px;color:white;border-radius:0 0 27px 27px;position:relative}.phone-header .brand-mark{width:34px;height:34px;font-size:15px}.phone-header .brand{font-size:17px}.phone-header-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.phone-header h1{font-size:25px;line-height:1.16;margin:0 0 8px;letter-spacing:-.035em}.phone-header p{color:#c7e4f2;font-size:12px;margin:0;line-height:1.55}.phone-header .tag{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;background:#ffffff20;border:1px solid #ffffff23;border-radius:100px;font-size:10px;color:#d6f4fa}.phone-header .tag .dot{width:6px;height:6px;background:#65dfc3}.phone-header .tag.offline .dot{background:#f9b06b}.phone-body{padding:21px 20px 112px;flex:1}.phone-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:19px}.phone-metric{background:#fff;border:1px solid #e8eef5;border-radius:14px;padding:15px 10px;box-shadow:0 4px 18px #1c46620a}.phone-metric strong{font-size:24px;font-weight:850;color:#1b465f;display:block;letter-spacing:-.04em}.phone-metric span{font-size:10px;color:#7f91a3;font-weight:650}.phone-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.phone-section-head h2{font-size:15px;font-weight:850;margin:0}.action-hero{border-radius:18px;padding:17px 19px;background:linear-gradient(124deg,#148d9c,#0a698d);color:white;display:flex;align-items:center;gap:16px;margin-bottom:24px;box-shadow:0 9px 24px #1384ad35}.action-hero h3{font-size:15px;line-height:1.3;margin:0 0 5px}.action-hero p{font-size:11px;color:#cdeff0;line-height:1.5;margin:0 0 12px}.action-hero .btn-white{font-size:11px;min-height:33px;padding:7px 11px}.action-hero .hero-icon{width:66px;height:66px;background:#ffffff25;border-radius:18px;display:grid;place-items:center}.phone-list{display:grid;gap:9px}.phone-list-item{border:1px solid #e6edf4;background:white;border-radius:13px;padding:14px;display:flex;align-items:center;gap:11px;box-shadow:0 2px 10px #194d6e09}.phone-list-item .item-icon{width:39px;height:39px;border-radius:12px;background:#edf6fe;color:#2182b9;display:grid;place-items:center;flex:none}.phone-list-item .item-title{font-size:12px;font-weight:770;color:#2c4c63}.phone-list-item .item-sub{font-size:10px;color:#95a4b2;margin-top:5px}.phone-list-item .item-actions{margin-left:auto;display:flex;align-items:center;gap:7px}.phone-list-item .item-actions button{border:0;background:#eff5f9;border-radius:9px;color:#477087;padding:7px}.phone-nav{position:sticky;bottom:0;display:flex;justify-content:space-around;background:#fff;border-top:1px solid #e5edf4;padding:9px 4px calc(10px + env(safe-area-inset-bottom));z-index:5;margin-top:auto}.phone-nav button{background:none;border:0;color:#9baab8;font-size:10px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;min-width:70px;font-weight:700}.phone-nav button.active{color:#0b79b4}.phone-nav button.active svg{stroke-width:2.4}.phone-nav button .plus-circle{width:43px;height:43px;border-radius:14px;color:white;background:#1675b5;display:grid;place-items:center;margin-top:-23px;box-shadow:0 4px 12px #1675b544}.phone-nav button .plus-circle svg{stroke-width:2.3}.mobile-empty{padding:26px 15px;text-align:center;border:1px dashed #d8e5f0;border-radius:14px;background:#fff}.mobile-empty svg{color:#86b5d2}.mobile-empty h3{font-size:13px;margin:10px 0 4px}.mobile-empty p{font-size:11px;color:#94a3b2;line-height:1.55}.connection-card{display:flex;align-items:center;gap:10px;border-radius:13px;background:#eaf8f3;color:#267968;padding:13px;font-size:11px;margin-bottom:19px}.connection-card.offline{background:#fff5e9;color:#ae722d}.connection-card strong{display:block;margin-bottom:2px}.connection-card small{color:inherit;opacity:.9}.phone-page-head{display:flex;gap:10px;align-items:center;margin-bottom:16px}.phone-page-head h1{font-size:20px;margin:0}.phone-page-head p{font-size:11px;color:#879bac;margin:4px 0 0}.phone-page-head .icon-btn{border-color:#dce8ee}.form-progress{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:19px 0 20px}.progress-track{background:#e1eaf3;border-radius:8px;height:7px;flex:1;overflow:hidden}.progress-fill{height:100%;border-radius:8px;background:linear-gradient(90deg,#1d9dce,#19b3a0);transition:width .2s}.step-count{font-size:10px;color:#8497aa;font-weight:750}.form-head{margin-bottom:18px}.form-head h2{font-size:20px;margin:6px 0 7px}.form-head p{font-size:11px;color:#8496a8;line-height:1.6}.field-card{padding:16px;background:#fff;border:1px solid #e6edf4;border-radius:13px;margin-bottom:9px}.field-card .label{font-size:12px;font-weight:760;color:#314a63;line-height:1.43;margin-bottom:10px}.field-card .input,.field-card .select{font-size:13px}.segmented-answer{display:flex;gap:6px;flex-wrap:wrap}.seg-answer{flex:1;border:1px solid #dfe8f0;border-radius:9px;background:#f8fbfd;color:#688298;padding:10px 8px;font-weight:750;font-size:11.5px;min-height:38px;white-space:nowrap}.seg-answer.selected{background:#e2f3fe;color:#0b75bb;border-color:#68bbe9}.seg-answer.diagnosis-old.selected{background:#e9ecff;color:#283e9b;border-color:#92a1df}.seg-answer.diagnosis-na.selected,.seg-answer.yesno-na.selected{background:#f3f5f7;color:#5a6b78;border-color:#ccd6df}.check-answers{display:grid;grid-template-columns:1fr 1fr;gap:8px}.check-answers label{border:1px solid #e2eaf0;background:#f8fbfe;border-radius:9px;padding:9px;display:flex;align-items:center;gap:7px;font-size:11px;color:#435d73}.check-answers label.checked{background:#e6f7f4;border-color:#61beb2}.field-card .small-help{font-size:10px;color:#90a1ad;margin-top:7px}.form-group{margin-bottom:17px}.form-group-header{background:#eaf2f8;border:1px solid #dfeaf2;color:#24465f;border-radius:12px;padding:13px 15px;display:flex;gap:10px;align-items:center;justify-content:space-between;font-weight:820;font-size:12px;margin-bottom:10px;cursor:pointer}.form-group-header small{font-size:10px;color:#7791a6}.form-actions{display:flex;gap:10px;align-items:center;margin-top:20px}.form-actions .btn{min-height:45px}.form-actions .btn-primary{flex:1}.form-subtle{padding:12px 14px;margin-bottom:15px;border:1px solid #d4e9f5;background:#f0f9ff;border-radius:11px;font-size:11px;color:#416e88;line-height:1.55}.review-section{padding:14px;background:#fff;border-radius:12px;border:1px solid #e5edf4;margin-bottom:9px}.review-section h3{font-size:12px;margin:0 0 8px}.review-row{display:flex;gap:9px;justify-content:space-between;font-size:10.8px;padding:6px 0;border-top:1px solid #f0f3f7}.review-row span{color:#8496a8;max-width:60%}.review-row strong{color:#365269;text-align:right;word-break:break-word;max-width:40%}.phone-success{padding:25px 16px;text-align:center}.success-bubble{display:grid;place-items:center;margin:15px auto 20px;width:92px;height:92px;background:#dbf7ee;border:5px solid #f1fcf6;border-radius:50%;color:#07866f}.phone-success h2{font-size:22px}.phone-success p{font-size:12px;line-height:1.8;color:#8397a6}.mobile-info-panel{border:1px solid #e1eaf1;background:#fff;border-radius:15px;padding:17px;margin-bottom:13px}.mobile-info-panel h3{font-size:13px;margin:0 0 8px}.mobile-info-panel p{font-size:11.5px;line-height:1.65;color:#8295a5;margin:0}.sync-list{display:grid;gap:9px}.sync-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;background:#fff;border:1px solid #e3ecf3;border-radius:12px}.sync-card strong{font-size:11px;color:#35556a}.sync-card small{display:block;margin-top:4px;font-size:10px}.help-steps{display:grid;gap:11px}.help-step{display:flex;align-items:start;gap:9px;font-size:12px;color:#537086;line-height:1.5}.help-n{width:25px;height:25px;border-radius:50%;background:#e3f3fe;color:#227abb;display:grid;place-items:center;flex:none;font-size:11px;font-weight:850}.offline-flag{display:flex;gap:7px;align-items:center;font-weight:750;color:#ae7129;font-size:11px}.mobile-form{min-height:60vh}.form-counter{display:flex;align-items:center;gap:8px;justify-content:space-between}.form-counter small{font-size:10px;color:#8497aa}.manual-switch{border:none;background:transparent;color:#097bb6;font-weight:730;font-size:11px;padding:5px}.spinner{height:14px;width:14px;border:2px solid #d0e6f7;border-top-color:#137ac2;border-radius:50%;display:inline-block;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast-root{position:fixed;right:20px;bottom:22px;z-index:100;display:grid;gap:9px;pointer-events:none}.toast{display:flex;align-items:center;gap:9px;box-shadow:0 10px 32px #153c6350;background:#143f60;color:#fff;border-radius:12px;padding:13px 15px;font-size:12px;max-width:380px;animation:toastin .2s ease}.toast.error{background:#9b443a}.toast.success{background:#0b806d}.toast.out{opacity:0;transform:translateY(10px);transition:.25s}@keyframes toastin{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1250px){.metrics{grid-template-columns:repeat(3,1fr)}.sidebar{padding-left:10px;padding-right:10px}.workspace{grid-template-columns:218px minmax(0,1fr)}.span-3{grid-column:span 6}.filter-row .filter{max-width:none}.topbar-search{display:none}}
@media(max-width:880px){.workspace{grid-template-columns:1fr}.sidebar{position:static;height:auto;flex-direction:row;align-items:center;gap:12px;padding:13px;overflow:auto}.sidebar .brand{padding-left:0}.sidebar-caption,.sidebar-bottom{display:none}.nav-list{display:flex;gap:5px;overflow-x:auto}.nav-link{width:auto;white-space:nowrap;padding:9px;min-height:36px;font-size:11px}.nav-link .icon{width:15px}.topbar{height:60px;padding:0 15px}.web-main{padding:19px 14px 30px}.page-title{font-size:21px}.metrics{grid-template-columns:repeat(3,1fr)}.span-3,.span-4,.span-5,.span-6,.span-7,.span-8{grid-column:span 6}.page-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.auth-layout{grid-template-columns:1fr}.auth-visual{display:none}.auth-side{min-height:100vh;padding:26px}.auth-content h1{font-size:29px}.web-heading{align-items:start;flex-direction:column}.heading-actions{width:100%}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{padding:14px}.metric strong{font-size:23px}.chart-grid{gap:11px}.span-3,.span-4,.span-5,.span-6,.span-7,.span-8,.span-12{grid-column:span 12}.page-grid,.quality-cards,.settings-cols{grid-template-columns:1fr}.filter-row .filter{min-width:calc(50% - 8px);max-width:calc(50% - 8px)}.filter-row .filter-wide{min-width:100%;max-width:100%}.topbar-actions .btn{font-size:10px;padding:7px}.topbar .breadcrumb{display:none}.record-fields{grid-template-columns:1fr}.phone-body{padding-left:16px;padding-right:16px}.phone-header{padding-left:19px;padding-right:19px}.check-answers{grid-template-columns:1fr 1fr}}
@media(min-width:700px){.phone-app{margin:20px auto;min-height:calc(100vh - 40px);border-radius:26px;overflow:hidden}.phone-header{border-radius:0 0 27px 27px}.mobile-background{align-items:flex-start}}
