/* DoseWatch interface system — workspace, forms, responsive navigation. */
:root{--ink:#183637;--muted:#667b7d;--line:#e2e9e8;--paper:#fff;--canvas:#f3f6f6;--green:#116d59;--green-dark:#0b4b40;--mint:#e7f3ed;--rail:#102e2d;font-size:14px;color:var(--ink);background:var(--canvas);font-family:'DM Sans',sans-serif;font-synthesis:none}
body{background:var(--canvas);line-height:1.5}button,input,select,textarea{font:inherit}button{min-height:40px;transition:background .16s,border-color .16s,box-shadow .16s;line-height:1.4;border-radius:9px;padding:10px 15px;font-weight:600;color:#395b56;border:1px solid #d6e2dd;box-shadow:0 1px 2px #12362c05}button:hover{background:#f0f7f3;border-color:#a9c4b7}button.primary{background:var(--green);border-color:var(--green);box-shadow:0 3px 7px #116d5914;color:#fff}button.primary:hover{background:var(--green-dark);border-color:var(--green-dark)}button.link{min-height:30px;padding:4px 0;box-shadow:none;background:none;border:0;color:var(--green);font-size:12px}button:focus-visible,a:focus-visible{outline:3px solid #72bfa1;outline-offset:3px}input,select,textarea{min-height:43px;border:1px solid #d7e2de;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);min-width:0}input::placeholder,textarea::placeholder{color:#7b8d8b}input:focus,select:focus,textarea:focus{outline:3px solid #c9e7da;outline-offset:0;border-color:#459779}input[readonly]{background:#f1f5f3;color:#56756b}input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:var(--green);flex-shrink:0}select{cursor:pointer}label{font-size:12px;font-weight:600;color:#49675e;gap:8px}h1,h2,h3{font-family:Manrope,sans-serif;color:var(--ink)}h1{font-size:31px;letter-spacing:-1.15px;line-height:1.25;font-weight:800}h2{font-size:16px;font-weight:800;letter-spacing:-.35px}h3{font-size:14px;font-weight:700}small,.muted{color:var(--muted)}.mini{font-size:11px;color:#738782;line-height:1.7}.sub{font-size:13px;color:var(--muted);margin-top:9px;line-height:1.7}.eyebrow{color:#508571;font-size:10px;letter-spacing:1.8px;font-weight:700;margin-bottom:9px}
.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100dvh;width:100%}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;height:100dvh;background:var(--rail);border:0;color:#eef7f0;padding:29px 17px 18px;display:flex;flex-direction:column;overflow-y:auto;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 27px;font:800 23px Manrope;letter-spacing:-.8px;white-space:nowrap;color:#fff}.brand small{font:500 9px 'DM Sans';letter-spacing:1.8px;margin-top:5px;color:#9bb8aa}.brand-icon{height:39px;width:39px;border-radius:11px}.workspace-label{display:flex;align-items:center;gap:9px;font-size:11px;color:#b4c9bc;border:1px solid #426150;border-radius:8px;margin:0 10px 17px;padding:10px 11px;background:#ffffff04}.workspace-label .status-dot{width:6px;height:6px;background:#7acaa4;border-radius:50%}.navlabel{padding:15px 14px 10px;color:#8eac9d;font-size:9px;letter-spacing:1.9px;font-weight:600}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;align-items:center;gap:11px;min-height:43px;width:100%;text-align:left;border:1px solid transparent;border-radius:8px;color:#b4cbc0;background:none;font-size:12px;font-weight:500;padding:11px 13px;box-shadow:none;position:relative;white-space:normal}.nav button svg{width:17px;height:17px;margin:0;flex-shrink:0;color:#91b5a3}.nav button:hover{color:#fff;background:#ffffff09}.nav button.active{color:#f0fff5;background:#315b46;border-color:#4b765d;font-weight:700}.nav button.active:after{content:'';margin-left:auto;width:5px;height:5px;border-radius:50%;background:#b1e6c3}.nav .section-nav-icon{width:23px;height:23px;border-radius:6px;margin-left:-3px}.nav-divider{height:1px;background:#365343;margin:15px 12px 2px}.sidebar .bottom{margin-top:auto;border-top:1px solid #365343;padding:18px 7px 0}.sidebar .bottom>.link{display:flex;align-items:center;gap:9px;color:#b9d0c0;font-size:11px;min-height:34px}.sidebar .bottom svg{width:15px;height:15px;margin:0}.sidebar .profile{border-top:1px solid #365343;margin-top:13px;padding:18px 0 9px;align-items:center;gap:10px}.sidebar .profile .avatar{background:#375644;color:#def4d6;border:1px solid #50735a}.sidebar .profile b{color:#e6f5e5;font-size:11px!important}.sidebar .profile small{color:#a9c0ad;font-size:10px}.sidebar #logout{font-size:11px;color:#c0d1c0;margin-left:44px}.version{font-size:9px;color:#8da88f;padding:13px 0 0;letter-spacing:.15px}.avatar{height:33px;width:33px;font-size:10px;border-radius:50%;background:#edf2ec;color:#57745b;font-weight:700}.main{grid-column:2;min-width:0}.topbar{height:74px;padding:0 34px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{color:#637b72;font-size:11px;display:flex;align-items:center;gap:12px}.breadcrumb strong{font-weight:700;color:#2b5545}.breadcrumb .slash{color:#bccbc1}.topright{gap:16px}.header-date{font-size:11px;color:#6c8279;padding-right:16px;border-right:1px solid #dce5df}.header-avatar{border:3px solid #f3f7f1;background:#d8e9d5;width:35px;height:35px}.topbar .tag{font-size:9px;letter-spacing:.6px}#toplogout{display:none}.content{max-width:1660px;padding:29px 34px 30px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px;flex-wrap:wrap}.heading .row{gap:10px;flex-wrap:wrap}.page-title{display:flex;align-items:center;gap:13px}.section-title-icon{width:43px;height:43px;border-radius:12px}.notice{background:#fbf7e9;border:1px solid #eee4bf;border-radius:8px;padding:9px 13px;font-size:11px;color:#85703f;align-items:center;gap:15px;line-height:1.6;margin-bottom:22px}.notice button.link{font-size:10px;color:#85703f;font-weight:700;white-space:nowrap}.tag{display:inline-flex;align-items:center;gap:5px;line-height:1.35;background:#e6f4eb;color:#2e7851;border-radius:6px;font-size:10px;padding:5px 8px;font-weight:600;white-space:nowrap}.tag.gray{background:#f1f5f0;color:#6a7d6c}.tag.amber{background:#fff1d7;color:#987137}.tag.status-delivered:before{content:'';width:5px;height:5px;border-radius:50%;background:#53a16c}.tag.status-scheduled:before{content:'';width:5px;height:5px;border-radius:50%;background:#c39a4a}
.overview-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:13px;padding:24px 28px;background:linear-gradient(112deg,#174d3c,#276a4b);color:#fff;position:relative;overflow:hidden;margin-bottom:22px}.overview-intro:after{content:'';position:absolute;right:25px;top:-95px;width:280px;height:280px;border-radius:50%;border:1px solid #b3d4aa22;box-shadow:0 0 0 35px #b3d4aa08,0 0 0 70px #b3d4aa07;pointer-events:none}.intro-copy{position:relative;z-index:1}.overview-intro .eyebrow{color:#b4d5b0;font-size:9px;letter-spacing:1.7px;margin-bottom:8px}.overview-intro h2{color:#fff;font-size:22px;letter-spacing:-.6px}.overview-intro p{font-size:12px;color:#d0e2c9;line-height:1.7;margin-top:7px;max-width:490px}.overview-intro button{position:relative;z-index:1;flex-shrink:0;color:#164830;border-color:#e5efdd;background:#f4f8ed;font-size:12px;padding:12px 19px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.metric,.card{background:var(--paper);border:1px solid #e0e8e2;border-radius:12px;box-shadow:0 2px 5px #1d3e2b03;min-width:0}.metric{padding:19px 20px;min-height:147px;position:relative}.metric .label{display:flex;align-items:center;justify-content:space-between;gap:9px;color:#6c8276;font-size:11px;font-weight:500}.metric-symbol{display:grid;place-items:center;background:#f0f6ee;color:#598067;width:27px;height:27px;border-radius:7px;flex-shrink:0}.metric-symbol svg{width:15px;height:15px}.metric-symbol .section-nav-icon{width:20px;height:20px;border-radius:5px}.metric .value{font:800 30px Manrope;letter-spacing:-1px;margin:10px 0 10px;color:#234a35;line-height:1.2;font-variant-numeric:tabular-nums}.metric .value span{font:500 11px 'DM Sans';color:#7a8b7a;letter-spacing:0;margin-left:4px}.metric .foot{font-size:10px;color:#768b7b;line-height:1.6}.metric .foot strong{color:#3c855a;font-weight:600}.metric-progress{height:3px;border-radius:4px;background:#edf3e9;margin-top:12px;overflow:hidden}.metric-progress>span{display:block;height:100%;background:#5d9c69;border-radius:4px}.columns{display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:22px;align-items:start}.cardhead{padding:20px 22px;border-bottom:1px solid #eaf0e8;gap:12px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.cardhead h2{display:flex;align-items:center;gap:8px}.cardhead p{color:#708477;font-size:11px;line-height:1.6;margin-top:5px}.toolbar{padding:15px 20px;gap:8px;display:flex;align-items:center;flex-wrap:wrap}.toolbar input[type=date]{width:150px;font-size:12px;min-height:38px;padding:8px 9px}.toolbar select{font-size:11px;min-height:38px;padding:8px 28px 8px 11px;max-width:175px}.toolbar button{padding:7px 10px;min-height:37px;font-size:11px}.toolbar .spacer{flex:1}.table-search{display:flex;align-items:center;gap:8px;padding:0 20px 15px}.table-search svg{width:15px;height:15px;color:#77917d;position:absolute;margin-left:12px;pointer-events:none}.table-search input{padding:9px 12px 9px 36px;min-height:37px;width:100%;font-size:11px;background:#f9fbf7;border-color:#e6ece1}.tablewrap{overflow:auto;scrollbar-width:thin;scrollbar-color:#b4c7b7 transparent}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:11px}th{font-size:9px;letter-spacing:1px;background:#f7faf5;color:#7b8d79;padding:12px 17px;text-transform:uppercase;font-weight:600}td{padding:15px 17px;border-bottom:1px solid #edf2e9;color:#45634c;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcf9}td b{color:#35573c;font-weight:700}td small{font-size:9px;color:#84947d;line-height:1.5;margin-top:5px}.person{display:flex;gap:8px;align-items:center}.person .avatar{height:28px;width:28px;font-size:9px;background:#eaf2e6;color:#608451}.time{font-variant-numeric:tabular-nums;color:#42683f;font-weight:600;font-size:11px}.activity{font-variant-numeric:tabular-nums;font-size:12px;font-weight:700;color:#355b36}.row-action{background:#edf5e8;color:#42833e!important;padding:6px 10px!important;min-height:29px!important;border-radius:6px!important;font-size:10px!important}.estimate-action{font-size:9px!important;color:#718b65!important;padding-top:6px!important}.tablefoot{border-top:1px solid #eaf0e6;padding:14px 20px;color:#819278;font-size:10px;display:flex;justify-content:space-between;gap:10px}.sidecard{padding:22px;margin-bottom:20px}.sidecard h2{font-size:14px;letter-spacing:-.2px}.sidecard p{font-size:11px;color:#7b8d76;line-height:1.7;margin-top:7px}.sidecard .tag{font-size:8px}.staffbar{padding:12px 0;margin:0;border-bottom:1px solid #eff3ea}.staffbar:last-of-type{border-bottom:0}.staffbar .row{justify-content:space-between;gap:7px;font-size:10px;color:#55724e}.staffbar .row small{font-size:9px;color:#8a9a7c}.staffbar p{margin-top:4px;font-size:9px}.track{height:5px;margin-top:7px;background:#eef3e9;border-radius:5px;overflow:hidden}.fill{height:100%;background:#76a56d;border-radius:5px}.sidecard .full{width:100%;margin-top:17px;min-height:36px;font-size:10px;background:#f8fbf3;border-color:#dce7d2;color:#608253}.method{margin-top:20px;padding-top:15px;border-top:1px solid #e6edde}.method h3{font-size:12px}.method p{font-size:10px}.balance-explainer{background:#edf4e8;border-color:#dbe7d1}.balance-explainer .eyebrow{font-size:9px;color:#68965c}.balance-explainer h2{font-size:15px;color:#3d6c38}.balance-explainer button{margin-top:12px;color:#4b8044}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:22px}.week-day{display:flex;flex-direction:column;gap:5px;align-items:center;border-color:transparent;background:#fafcf7;min-height:80px;padding:10px 5px;box-shadow:none;color:#6c8566}.week-day span{font-size:9px;letter-spacing:.9px;text-transform:uppercase}.week-day strong{font:800 21px Manrope}.week-day small{font-size:8px;color:#92a086}.week-day.selected{background:#1c6547;color:#fff;border-color:#1c6547}.week-day.selected small{color:#c0dac0}.week-day:hover{border-color:#c5d5bb}
.gridteam{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.teamcard{padding:23px}.team-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.teamcard .avatar{width:43px;height:43px;font-size:12px;background:#e8f2e2;color:#648651;margin:0}.teamcard h3{font-size:15px;margin-bottom:6px}.teamcard p{font-size:11px;line-height:1.7;color:#7a8e71;margin:13px 0}.team-stats{display:flex;gap:25px;border-top:1px solid #e7eee0;border-bottom:1px solid #e7eee0;padding:14px 0;margin:15px 0}.team-stats b{font:800 20px Manrope;color:#476e3e}.team-stats small{display:block;font-size:9px;line-height:1.5;color:#8a9c7b;margin-top:4px}.teamcard>button{width:100%;min-height:35px;font-size:10px;color:#648555;background:#f8fbf4}.report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px}.report-summary .metric{min-height:110px}.report-summary .value{margin:10px 0 0;font-size:25px}.reportbars{padding:17px 24px 23px}.reportrow{display:grid;grid-template-columns:145px minmax(0,1fr) 110px;gap:20px;align-items:center;margin:22px 0;font-size:11px;color:#54744b}.reportrow .track{height:20px;margin:0;background:#f0f5e9;border-radius:4px}.reportrow .fill{background:linear-gradient(90deg,#699c62,#91b984);border-radius:4px}.reportrow strong{font-size:11px;text-align:right;line-height:1.5;color:#406d39}.reportrow small{font-size:9px;color:#859a77}.guide{padding:26px;color:#677f5b;font-size:12px;line-height:1.9}.guide h2{margin-bottom:13px}.guide h3{margin:22px 0 8px;font-size:14px;color:#426c39}.empty{padding:45px 24px;text-align:center;font-size:12px;color:#85977a;line-height:1.8}.pending{padding:36px}.pending h2{margin-bottom:8px}
dialog{max-width:620px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow:auto;border-radius:16px;border:1px solid #dce6d5;padding:29px 30px;color:var(--ink);box-shadow:0 28px 100px #0d2c2740}dialog::backdrop{background:#112d2b80;backdrop-filter:blur(4px)}dialog h2{font-size:21px;letter-spacing:-.65px;padding-right:28px;margin-bottom:8px}dialog>p{font-size:12px;color:#6d8367;line-height:1.8;margin-bottom:24px}dialog .fields{gap:18px 17px}.modal-close{position:absolute;right:19px;top:18px;width:30px;height:30px;min-height:30px;border:0;background:#f1f5ed;color:#6d8263;border-radius:50%;font-size:20px;font-weight:400;line-height:1;padding:0}form .actions{display:flex;justify-content:flex-end;gap:10px;padding-top:20px;border-top:1px solid #e8eee1;margin-top:22px}form .error{font-size:11px;color:#a74739;line-height:1.7;min-height:0;margin-top:14px}#toast{background:#153f32;color:#f4f9ee;max-width:calc(100% - 32px);text-align:center;box-shadow:0 7px 25px #153f3230;border:1px solid #37624c;font-size:12px;padding:13px 20px;z-index:100;border-radius:9px;bottom:25px}.checkbox{line-height:1.6;font-size:11px;font-weight:400;gap:9px;color:#6c8261}
.exposure-layout{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:22px;align-items:start}.exposure-form{padding:25px}.exposure-form>label{margin-bottom:22px}.exposure-form .fields{gap:18px}.model-note{background:#f1f7eb;border:1px solid #dfead3;border-radius:9px;padding:15px;font-size:11px;line-height:1.8}.model-note p{font-size:10px;color:#7b926a}.estimate-result{background:#f1f7eb;border:1px solid #d7e6c8;border-radius:11px;padding:24px}.estimate-result h2{font-size:40px;color:#315c2c;letter-spacing:-1.5px}.estimate-result h2 span{font-size:16px}.estimate-result p{font-size:11px;line-height:1.8;color:#6a855d}.estimate-result .primary{margin-top:7px}.exposure-layout .sidecard h3{font-size:12px;color:#61804d}.forecast{color:#a17b42}
.auth-layout{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);background:#fff}.auth-story{background:linear-gradient(145deg,#102e2d,#174832);color:#eff8e9;padding:52px clamp(35px,5vw,90px);display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story .brand{padding:0;font-size:26px;position:relative;z-index:1}.auth-story .brand-icon{height:47px;width:47px;border-radius:13px}.auth-message{margin:auto 0;position:relative;z-index:1;padding:80px 0}.auth-message .eyebrow{color:#a5c499;letter-spacing:2px;font-size:10px}.auth-message h1{color:#f3faee;font-size:clamp(32px,3.4vw,51px);letter-spacing:-2px;line-height:1.2;max-width:500px}.auth-message>p{font-size:14px;line-height:1.9;color:#aecaab;margin-top:23px;max-width:410px}.auth-features{display:flex;flex-direction:column;gap:17px;margin-top:35px;font-size:12px;color:#c9dec0}.auth-features span{display:flex;align-items:center;gap:12px}.auth-features span b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#ffffff10;color:#c1e4ae;font-size:11px}.auth-story:after{content:'';position:absolute;width:550px;height:550px;bottom:-300px;right:-200px;border-radius:50%;border:1px solid #c3deaf20;box-shadow:0 0 0 70px #c3deaf06,0 0 0 140px #c3deaf04;pointer-events:none}.auth-story-footer{font-size:10px;color:#8eaf8a;letter-spacing:.5px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px 35px;min-width:0}.login{border:0;box-shadow:none;max-width:390px;width:100%;padding:0;margin:0;background:none}.login>.brand{display:none}.login h1{font-size:28px;letter-spacing:-1px}.login>p{color:#7b8c72;font-size:12px;line-height:1.8;margin:10px 0 29px}.login label{font-size:11px;color:#688057;margin:17px 0}.login input{width:100%;background:#fcfdf9}.login .primary{width:100%;margin:15px 0 0;min-height:45px;font-size:12px}.login .row{display:flex;justify-content:space-between;margin:16px 0 22px;gap:15px}.login .row button{font-size:11px}.login .row .link{color:#6e8d59}.auth-demo{border-top:1px solid #e2ead9;padding-top:23px}.auth-demo>p{font-size:10px;color:#8a9d79;text-align:center;margin:13px 0 0;line-height:1.8}.auth-demo button{width:100%;background:#f3f8ee;border-color:#dce8d1;color:#658951;min-height:43px;font-size:12px}.auth-security{display:flex;gap:7px;align-items:center;font-size:10px;color:#8b9f7a;margin-bottom:23px}.auth-security svg{width:14px;height:14px}
@media(min-width:1500px){.content{padding:33px 42px}.topbar{padding:0 42px}.columns{grid-template-columns:minmax(0,1fr) 310px}td{padding:18px 20px}th{padding:13px 20px}}
@media(max-width:1279px){.columns{grid-template-columns:minmax(0,1fr)}.columns aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.content{padding:25px}.topbar{padding:0 25px}.exposure-layout{grid-template-columns:minmax(0,1fr)}.gridteam{grid-template-columns:repeat(2,minmax(0,1fr))}.header-date{display:none}}
@media(max-width:1050px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-intro{align-items:flex-start}.overview-intro h2{font-size:20px}.overview-intro p{font-size:11px}.overview-intro button{font-size:11px;padding:10px 13px}.report-summary{gap:10px}.report-summary .metric{padding:16px}.reportrow{grid-template-columns:115px minmax(0,1fr) 90px;gap:14px}.auth-layout{grid-template-columns:.85fr 1fr}.auth-story{padding:40px 30px}.auth-message h1{font-size:36px}}
@media(max-width:760px){.shell{display:block;min-height:100dvh}.sidebar{position:sticky;top:0;width:100%;height:auto;max-height:none;padding:14px 15px 0;overflow:visible;border:0;z-index:30}.sidebar .brand{padding:0 2px 14px;font-size:21px}.sidebar .brand-icon{height:34px;width:34px;border-radius:9px}.sidebar .brand small{font-size:8px;letter-spacing:1.5px}.workspace-label,.sidebar .bottom,.sidebar .navlabel,.nav-divider{display:none}.nav{display:flex;flex-direction:row;gap:4px;overflow:auto;padding-bottom:10px;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav button{width:auto;min-width:max-content;min-height:35px;padding:8px 11px;gap:7px;white-space:nowrap;font-size:10px;border-radius:7px}.nav button svg{display:block;width:14px;height:14px}.nav .section-nav-icon{width:19px;height:19px;margin:0}.nav button.active:after{display:none}.main{width:100%;min-width:0}.topbar{height:52px;padding:0 17px;overflow:visible}.breadcrumb{font-size:10px;gap:7px}.topright{gap:10px}.topbar .header-avatar{display:none}#toplogout{display:block;min-height:28px;font-size:9px;padding:5px 8px}.topbar .tag{font-size:8px;padding:4px 6px}.content{padding:22px 16px}.heading{margin-bottom:20px;gap:17px;align-items:flex-start;flex-direction:column}.heading>.row{width:100%}.heading>.row button{font-size:11px;min-height:40px;flex:1}h1{font-size:27px;letter-spacing:-1px}.sub{font-size:12px;margin-top:7px}.eyebrow{font-size:9px;margin-bottom:7px}.overview-intro{padding:21px;flex-direction:column;gap:17px;margin-bottom:18px}.overview-intro h2{font-size:20px}.overview-intro p{font-size:11px}.overview-intro button{min-height:37px;font-size:11px;padding:9px 13px}.metrics{gap:10px;margin-bottom:20px}.metric{padding:16px;min-height:133px}.metric .label{font-size:10px;align-items:flex-start}.metric-symbol{height:23px;width:23px}.metric .value{font-size:27px;margin:12px 0 8px}.metric .value span{font-size:10px}.metric .foot{font-size:9px}.notice{font-size:10px;padding:10px 12px;align-items:flex-start;gap:10px}.notice span{min-width:0}.columns{display:block}.columns aside{display:block;margin-top:20px}.cardhead{padding:18px;gap:10px}.cardhead h2{font-size:15px}.cardhead p{font-size:10px}.toolbar{padding:14px 15px;gap:6px}.toolbar .spacer{display:none}.toolbar select{max-width:none;flex:1;min-width:125px}.toolbar input[type=date]{width:140px}.table-search{padding:0 15px 14px}.tablefoot{padding:13px 15px;font-size:9px}td{padding:15px}th{padding:12px 15px}.week-strip{gap:4px;padding:8px;border-radius:10px;margin-bottom:17px}.week-day{min-height:65px;padding:8px 2px;gap:4px;border-radius:7px}.week-day span{font-size:8px}.week-day strong{font-size:17px}.week-day small{font-size:7px}.gridteam{grid-template-columns:1fr}.teamcard{padding:22px}.report-summary{grid-template-columns:1fr 1fr}.report-summary>.metric:last-child{grid-column:1/-1;min-height:94px}.reportrow{grid-template-columns:95px minmax(0,1fr) 75px;gap:10px}.reportbars{padding:10px 17px}.reportrow strong{font-size:10px}.reportrow small{font-size:8px}.guide{padding:21px;font-size:11px}.exposure-form{padding:19px}.exposure-form .fields,form .fields{grid-template-columns:1fr;gap:17px}.exposure-form .wide,label.wide{grid-column:1/-1}.exposure-layout .sidecard{margin-top:20px}.section-title-icon{width:39px;height:39px}.page-title{gap:11px}.estimate-result{padding:20px}dialog{padding:25px 21px;border-radius:13px;max-height:calc(100dvh - 24px)}dialog h2{font-size:20px}dialog>p{font-size:11px;margin-bottom:22px}.modal-close{top:16px;right:15px}form .actions{margin-top:19px;padding-top:17px}.auth-layout{display:block}.auth-story{padding:25px 25px 31px;min-height:0}.auth-story .brand{font-size:23px}.auth-story .brand-icon{width:39px;height:39px}.auth-message{margin:31px 0 0;padding:0}.auth-message h1{font-size:30px;letter-spacing:-1px}.auth-message>p{font-size:12px;margin-top:13px;max-width:100%}.auth-features,.auth-story-footer{display:none}.auth-panel{padding:33px 25px 40px}.login h1{font-size:25px}.login>p{margin-bottom:22px}.auth-security{margin-bottom:19px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Clinical values stay legible; compact mobile records expose every field. */
table{font-size:12px}th{color:#65785e;font-size:10px}td small{color:#667b5e;font-size:10px}.time{font-size:12px}.activity{font-size:13px}.row-action{font-size:11px!important}.estimate-action{font-size:10px!important}
.tablewrap button.row-action{background:#edf5e8;border:1px solid #dce8d4;box-shadow:none}.tablewrap button.row-action:hover{background:#e1efda;border-color:#bbd4ac}
@media(max-width:600px){
 #treatment-results .tablewrap{overflow:visible}#treatment-results table,#treatment-results tbody{display:block;white-space:normal}#treatment-results thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #treatment-results tbody{padding:0 13px 6px}#treatment-results tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px 13px;padding:17px 14px;border:1px solid #e4ecdf;border-radius:10px;margin:0 0 12px;background:#fff}
 #treatment-results td{display:block;padding:0;border:0;min-width:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}#treatment-results td:before{content:attr(data-label);display:block;text-transform:uppercase;font-size:8px;letter-spacing:.9px;color:#7c906f;font-weight:500;margin-bottom:5px}
 #treatment-results td:nth-child(2){grid-column:1/-1;grid-row:1}#treatment-results td:nth-child(2) b{font-size:14px}#treatment-results td:nth-child(4){grid-column:1/-1;display:block}#treatment-results td:nth-child(5){align-self:center}#treatment-results td:nth-child(6){text-align:right}#treatment-results td:nth-child(6):before{display:none}
 #treatment-results .person .avatar{width:27px;height:27px}#treatment-results td small{margin-top:3px;font-size:10px}#treatment-results .row-action{padding:8px 10px!important;min-height:38px!important;font-size:10px!important}#treatment-results .estimate-action{padding-top:4px!important;font-size:9px!important}
 .toolbar input[type=date],.toolbar select{font-size:12px}.table-search input{font-size:12px;min-height:42px}.exposure-form input,.exposure-form select,dialog input,dialog select,dialog textarea,.login input{font-size:16px}
}

.team-filters{display:flex;gap:18px;flex-wrap:wrap;padding:20px 24px;margin-bottom:22px}.team-filters label{flex:1;min-width:170px}.team-filters label:first-child{flex:2}.team-filters input{width:100%}

.roster-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.roster-tabs button[aria-pressed="true"]{background:var(--theme-primary);color:white;border-color:var(--theme-primary)}.roster-tabs span{margin-left:8px;opacity:.8}.roster-note{font-size:12px;color:var(--secondary);line-height:1.8;margin-bottom:20px}.registration-badge{display:inline-block;white-space:normal;line-height:1.5;font-size:10px;margin-top:8px}.teamcard h3{overflow-wrap:anywhere}.teamcard h3 .registration-badge{display:block;width:fit-content}.roster-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.roster-actions button{font-size:11px;flex:1}.team-card-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}@media(max-width:600px){.roster-tabs button{flex:1;font-size:11px}.team-filters label{min-width:0}.registration-badge{max-width:100%}}

.dose-toggle{flex-direction:row;white-space:normal}.report-summary+.card .cardhead .row{flex-wrap:wrap}.teamcard .roster-actions button{white-space:normal;line-height:1.5}

.registry-badge{display:inline-flex;align-items:center;gap:6px;white-space:normal;line-height:1.5;margin:6px 0}.registry-badge svg{width:19px;height:19px;flex-shrink:0}.registry-badge.linked{color:#d9b674;background:#b9913e16;border:1px solid #b9913e40}.registry-badge.unlinked{color:var(--secondary);border:1px solid var(--border)}.teamcard h3 .registry-badge{display:flex;width:fit-content;font-size:10px;letter-spacing:0}.teamcard>.tag{white-space:normal;line-height:1.6}.professional-fields{border:1px solid var(--border);border-radius:9px;padding:16px;margin:0;min-width:0}.professional-fields legend{padding:0 7px;font-size:12px;font-weight:600}.professional-options{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.professional-options label{display:flex;flex-direction:row;align-items:center;gap:8px;line-height:1.5;font-size:12px}.professional-options input{width:16px;height:16px;flex-shrink:0;accent-color:var(--theme-primary)}.professional-fields small{display:block;margin-top:14px;line-height:1.6}.app-roles-panel{margin-bottom:24px}.app-role-definitions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:24px}.app-role-definitions b{font-size:13px}.app-role-definitions p{font-size:12px;color:var(--secondary);line-height:1.7;margin-top:8px}.app-administrators{padding:0 24px}.app-administrators article{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid var(--border);padding:18px 0}.app-administrators article b{font-size:13px}.app-administrators article .tag{display:inline-block;margin-top:8px}.app-administrators article small{display:block;margin-top:7px}.app-role-foot{padding:16px 24px 24px;line-height:1.8;font-size:11px;color:var(--secondary)}@media(max-width:760px){.app-role-definitions{grid-template-columns:1fr;gap:16px;padding:18px}.app-roles-panel .cardhead{align-items:flex-start;flex-wrap:wrap}.app-administrators{padding:0 18px}.app-administrators article{align-items:flex-start;flex-wrap:wrap}.professional-options{grid-template-columns:1fr}.app-role-foot{padding:16px 18px}.registry-badge{max-width:100%}}

/* Private personal monitoring: readable spacing at desktop and phone widths. */
.personal-checks{padding:clamp(16px,2vw,24px);min-width:0}
.personal-checks h2,.personal-checks h3,.personal-checks h4{margin:0 0 10px}
.personal-checks p{margin:10px 0;line-height:1.6;overflow-wrap:anywhere}
.personal-checks>.card,.personal-checks details>.card{padding:16px;margin:18px 0;min-width:0}
.personal-checks .row{gap:12px;flex-wrap:wrap;align-items:end;margin:12px 0}
.personal-checks details{margin-top:16px}
.personal-checks summary{cursor:pointer;line-height:1.5;padding:8px 0}
.personal-checks small{display:block;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:600px){.personal-checks>.card,.personal-checks details>.card{padding:12px}.personal-checks .row>label{width:100%}.personal-checks h2{font-size:1.15rem}}

.nursing-notes article{margin:14px 0;padding:16px;min-width:0}.nursing-notes p{margin:10px 0;line-height:1.6}.nursing-notes small{display:block;margin:10px 0;overflow-wrap:anywhere}.nursing-notes h4{line-height:1.5;overflow-wrap:anywhere}

/* Asterisk follows native required validation, including dynamically added forms. */
label:has(> input:required:not([type="hidden"]):not(:disabled), > select:required:not(:disabled), > textarea:required:not(:disabled)) { position: relative; }
label:has(> input:required:not([type="hidden"]):not(:disabled), > select:required:not(:disabled), > textarea:required:not(:disabled))::before { content: "*"; position: absolute; inset-inline-end: 2px; top: 0; color: var(--accent, #efc778); font-weight: 700; }
