@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/source-sans-3-latin.woff2) format("woff2")}@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/instrument-serif-italic.ttf) format("truetype")}:root{color-scheme:light;--ink:#16282e;--teal:#1f4e5f;--muted:#5c6b70;--paper:#f5f2ec;--line:rgba(20,40,46,.13)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;color:var(--ink);background:var(--paper)}body{font-family:"Source Sans 3",system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}a{color:var(--teal)}[hidden]{display:none!important}input,select,textarea{min-width:0;max-width:100%;font-size:14px;color:var(--ink);border:1px solid rgba(20,40,46,.18);border-radius:10px;background:#f7f4ee;padding:10px 12px}input,select{min-height:44px}select{height:44px}textarea{width:100%;line-height:1.5;resize:vertical}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid #347b91;outline-offset:2px}input[type=checkbox]{min-height:0;width:18px;height:18px;flex:none;margin:0;accent-color:var(--teal)}::placeholder{color:#9aa6aa}p{line-height:1.5;margin:8px 0}h1,h2,h3{margin:0}h1{font-size:27px;line-height:1.25}h2{font-size:19px}h3{font-size:15px;color:var(--teal)}.muted{color:var(--muted)}.small{font-size:12px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.primary,.secondary,.text-button{font-weight:600;border-radius:10px;min-height:40px;font-size:14px;padding:8px 12px}.primary{border:1px solid var(--teal);background:var(--teal);color:#fff}.primary:hover{background:#163c4a}.secondary{background:#fff;color:var(--teal);border:1px solid rgba(20,40,46,.18)}.secondary:hover{background:#f7f4ee}.text-button{border:0;background:transparent;color:var(--muted)}.danger{color:#a13125}.form-error{font-size:14px;line-height:1.5;color:#a13125;overflow-wrap:anywhere}.page-error{flex:none;padding:10px 20px;color:#a13125;background:#fff0ed;font-size:14px}.notice{display:flex;flex-direction:column;gap:7px;margin:14px 0;padding:15px;border:1px solid var(--line);border-radius:12px;background:#eaf1e9;font-size:14px;line-height:1.5}.login-layout{--login-ink:#26343c;--login-muted:#65717a;display:grid;grid-template-columns:1fr 1fr;min-height:100svh;background:#f7f5f1;color:var(--login-ink)}.login-art{position:relative;isolation:isolate;overflow:hidden;min-height:min(760px,100svh);background:#c3d0e7;color:#314b67;display:flex;align-items:center;justify-content:center}.login-art:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(135deg,transparent 35%,rgba(109,133,168,.14));pointer-events:none}.login-art-label{position:absolute;top:46px;left:48px;display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:1.9px;text-transform:uppercase;font-weight:600}.login-art-label>span{width:6px;height:6px;border-radius:50%;background:currentColor}.login-orbit{position:absolute;z-index:-1;border:1px solid rgba(74,105,147,.24);border-radius:50%;width:680px;aspect-ratio:1;pointer-events:none}.login-orbit-one{left:-380px;top:-290px}.login-orbit-two{width:780px;left:31%;top:17%;border-color:#ffffff94}.login-orbit-three{width:900px;left:40%;top:22%;border-color:#ffffff59}.login-monogram{font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:clamp(260px,32vw,490px);font-weight:400;line-height:.9;letter-spacing:-.075em;transform:rotate(-12deg) translateY(-35px);text-shadow:8px 10px 0 rgba(247,245,241,.24);padding-right:.1em;-webkit-user-select:none;user-select:none}.login-monogram>span{color:#f5f2ec;text-shadow:none}.login-art-caption{position:absolute;left:48px;bottom:52px;font-size:clamp(25px,2.7vw,40px);line-height:1.16;letter-spacing:-1.2px}.login-art-caption em{font-family:"Instrument Serif",Georgia,serif;font-size:1.18em;font-weight:400}.login-form{display:flex;align-items:center;justify-content:center;min-width:0;padding:46px clamp(32px,6vw,104px)}.login-content{width:100%;max-width:450px;min-width:0}.login-brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:600;letter-spacing:-.9px;color:var(--login-ink);margin-bottom:68px}.login-brand-symbol{display:flex;width:30px;height:30px;flex:none;color:#45697a}.login-brand-symbol svg{width:100%;height:100%}.login-brand-dot{color:#7998ad}.login-fields{width:100%;display:flex;flex-direction:column;align-items:stretch}.login-fields .login-eyebrow{margin:0 0 18px;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:1.7px;text-transform:uppercase;color:var(--login-muted)}.login-fields h1{font-size:clamp(44px,4.2vw,62px);font-weight:500;line-height:1.02;letter-spacing:-1.8px}.login-fields h1 em{font-family:"Instrument Serif",Georgia,serif;font-size:1.24em;font-weight:400;line-height:1.04;color:#314b67}.login-fields .login-description{margin:25px 0 28px;max-width:370px;font-size:16px;line-height:1.7;color:var(--login-muted)}.login-button{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:14px 18px;border-radius:10px;text-decoration:none;font-size:16px;font-weight:600;background:#263e49;border-color:#263e49}.login-button:hover{background:#172d38;border-color:#172d38}.login-key-icon{width:22px;height:22px;flex:none}.login-arrow{font-size:25px;line-height:1;margin-left:auto;font-weight:400}.login-fields .login-account-note{margin:12px 0 0;color:var(--login-muted);font-size:13px;line-height:1.6}.login-help{margin-top:28px;padding-top:22px;border-top:1px solid #dcdedc}.login-help h2{font-size:14px;font-weight:600;color:var(--login-ink)}.login-help p{margin:5px 0 0;font-size:13px;color:var(--login-muted);line-height:1.7}.login-footer{margin:45px 0 0;font-size:11px;line-height:1.7;color:var(--login-muted)}.login-fields>.form-error{background:#fff0ed;border:1px solid #e8c7bf;border-radius:10px;padding:13px 15px;margin:0 0 18px}.login-fields>.notice{margin:0 0 18px}@media(max-width:1100px)and (min-width:721px){.login-form{padding:40px 36px}.login-art-label,.login-art-caption{left:32px}.login-art{min-height:720px}.login-brand{font-size:22px}.login-art-caption{font-size:28px;letter-spacing:-.7px}}@media(max-width:720px){.login-layout{grid-template-columns:minmax(0,1fr);min-height:100svh}.login-art{display:none}.login-form{padding:36px 26px;min-height:100svh;align-items:flex-start}.login-content{max-width:440px;margin:auto 0}.login-brand{font-size:23px;margin-bottom:62px}.login-fields h1{font-size:54px}.login-fields .login-description{font-size:15px;margin-top:23px}.login-footer{margin-top:38px}}@media(max-width:370px){.login-form{padding:28px 22px}.login-brand{font-size:21px;gap:8px;margin-bottom:48px}.login-brand-symbol{width:25px;height:25px}.login-fields h1{font-size:48px}.login-fields .login-eyebrow{font-size:9px;letter-spacing:1.2px}}.app-shell{height:100dvh;overflow:hidden;display:flex;flex-direction:column;background:var(--paper)}.local-banner{flex:none;background:#e3edef;color:var(--teal);padding:9px 18px;font-size:13px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.local-banner a{font-weight:600}.topbar{flex:none;min-height:80px;display:flex;align-items:center;gap:18px;padding:12px 20px;background:#fff;border-bottom:1px solid var(--line);z-index:10}.topbar-identity{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.site-mark{width:48px;height:48px;display:grid;place-items:center;flex:none;border-radius:12px;background:var(--teal);color:#fff;font-weight:700}.site-label{display:block;font-size:11px;color:var(--muted)}.topbar-identity select{border:0;background:#fff;font-weight:700;color:var(--ink);font-size:19px;padding:0 20px 0 0;height:30px;min-height:30px;max-width:260px}.topbar-identity .small{overflow-wrap:anywhere}.topbar-nav{display:flex;gap:6px;align-self:stretch;align-items:center}.topbar-nav button{border:0;background:transparent;font-size:16px;font-weight:600;color:#7b888d;padding:10px 20px;border-radius:11px;min-height:44px}.topbar-nav button.active{background:#e3edef;color:var(--teal)}.topbar-status{display:flex;align-items:center;gap:14px;flex:1;justify-content:flex-end}.settings-content{padding:28px;min-width:0}.settings-nav{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 26px;padding-bottom:18px;border-bottom:1px solid var(--line)}.settings-nav button{min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--teal);font-size:14px;font-weight:600}.settings-nav button.active{background:var(--teal);border-color:var(--teal);color:#fff}.settings-content>.settings-section{padding:0;min-width:0}.settings-section>h2{font-size:22px}.settings-section>.panel{margin-top:18px}.settings-section>p{margin-top:6px}@media(max-width:900px){.settings-content{padding:20px 16px}}@media(max-width:480px){.settings-nav button{flex:1}.settings-nav{margin-bottom:22px}}.entry-toolbar{display:flex;align-items:center;gap:12px;padding:12px 20px;background:#fff;border-bottom:1px solid var(--line);flex:none}.entry-mode{display:flex;background:#edeae3;padding:3px;border-radius:11px;width:230px;flex:none}.entry-mode button{flex:1;border:0;border-radius:9px;background:transparent;font-size:14px;min-height:38px;color:var(--muted);font-weight:600}.entry-mode button.active{background:#fff;color:var(--teal);box-shadow:0 1px 4px #14282e17}.entry-identification{flex:1;max-width:420px;height:44px;border:1px solid var(--line);background:#f2efe9}.entry-identification.anonymous{padding:11px 14px;font-size:13px;color:#2f6b53;background:#eaf1e9;border-radius:12px}.entry-layout{flex:1;display:flex;overflow:hidden;min-height:0;min-width:0}.entry-products{flex:1;min-width:0;overflow:auto;padding:18px 20px;display:flex;flex-direction:column;gap:18px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.section-heading .section-title{margin:0}.section-title{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8a969b;margin:0 0 10px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}.packet-list{display:flex;flex-wrap:wrap;gap:12px}.packet-wrap{flex:1 1 180px;min-width:0;position:relative;display:flex}.packet-apply{width:100%;min-height:120px;text-align:left;border:1px solid var(--line);border-radius:16px;background:#fff;padding:15px;display:flex;flex-direction:column;gap:7px;overflow-wrap:anywhere}.packet-apply strong{color:var(--teal);font-size:16px;padding-right:20px}.packet-apply span{font-size:11.5px;color:var(--muted);line-height:1.45}.packet-remove{position:absolute;right:5px;top:5px;border:0;border-radius:8px;background:transparent;color:var(--muted);width:32px;height:32px;font-size:22px}.set-editor{margin-top:12px}.set-editor label{font-size:14px;font-weight:600}.set-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.set-controls input{flex:1;min-width:140px}.item-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.item-group{margin-bottom:14px}.item-group h3{margin:0 0 8px;font-size:13px}.quantity-row{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 12px;min-width:0}.quantity-row.has-value{background:#e7f1ea;border-color:#9cc4ac}.item-abbr{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:10px;background:#e3edef;color:var(--teal);font-size:12px;font-weight:700}.quantity-row>strong{flex:1;min-width:0;font-size:14px;line-height:1.2;overflow-wrap:anywhere}.qty-input{width:70px;min-width:0;height:40px;min-height:40px;padding:0 8px;text-align:center;background:#fff;font-size:16px;font-weight:700;border-radius:9px;font-variant-numeric:tabular-nums;flex:none}.qty-input:focus::placeholder{opacity:0}.qty-input[aria-invalid=true]{border-color:#b33b2e;outline-color:#b33b2e}.service-panel,.service-side,.service-entry,.service-notes{display:flex;flex-direction:column;gap:8px}.service-panel,.service-side{gap:16px}.service-side+.service-side{border-top:1px solid var(--line);padding-top:16px}.visit-services-list{display:flex;flex-direction:column;gap:16px}.service-entry+.service-entry{border-top:1px solid rgba(20,40,46,.08);padding-top:14px}.service-entry label,.service-notes label{font-size:13px;font-weight:600;color:var(--muted)}.service-entry select{width:100%;height:44px}.service-choice{display:flex;align-items:center;gap:8px;min-width:0}.service-choice select{flex:1;min-width:0}.service-remove{flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);font-size:24px}.notes-toggle{align-self:flex-start;font-size:13px;min-height:36px}.service-class-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;margin-top:10px}.service-class-row label{flex:1;min-width:0}.service-class-row select{max-width:175px}.service-entry-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.service-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.service-fields>div{display:flex;flex-direction:column;gap:8px;min-width:0}.service-line{display:grid;grid-template-columns:max-content minmax(120px,.8fr) minmax(160px,1.2fr) 44px;align-items:center;gap:10px;min-width:0}.service-line select{min-width:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.client-picker{position:relative;flex:1;max-width:520px;min-width:0}.client-search-line{display:flex;align-items:center;gap:8px}.client-search-line input{flex:1;width:100%;min-width:0}.client-search-line button{flex:none}.client-selected{display:flex;align-items:center;gap:8px;padding:7px 10px;background:#eaf1e9;border:1px solid #bdd3c5;border-radius:12px}.client-selected>div{flex:1;min-width:0;overflow-wrap:anywhere}.client-selected .small{display:block}.client-legacy{margin:5px 0 0}.client-popup{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;box-shadow:0 8px 28px #14282e24;max-height:min(420px,calc(100dvh - 190px));overflow:auto}.client-popup ul{padding:0;margin:8px 0 0;list-style:none}.client-result{width:100%;display:flex;flex-direction:column;gap:4px;text-align:left;padding:10px;border:0;border-top:1px solid var(--line);background:#fff;border-radius:8px;min-height:52px;overflow-wrap:anywhere}.client-result:hover,.client-result:focus{background:#e3edef}.client-result strong{font-size:15px;color:var(--teal)}.client-create{display:flex;flex-direction:column;gap:10px}.client-create label{font-size:13px;font-weight:600;color:var(--muted)}.client-create-actions,.history-actions{display:flex;gap:8px;flex-wrap:wrap}.client-history-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:1000px}.client-history-summary>div{min-width:0;overflow-wrap:anywhere}.history-more{margin-top:18px}.client-records{max-width:1000px;margin-top:26px}.client-records>.history-heading>h2,.client-visits-heading{font-size:19px}.client-visits-heading{margin-top:28px}.record-actions{display:flex;gap:8px;flex-wrap:wrap}.client-record{margin-top:12px;font-size:14px;overflow-wrap:anywhere}.client-record h3{font-size:17px}.record-kind{margin:0 0 4px}.record-revisions-toggle{padding-left:0}.record-revisions{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.record-revision{padding:12px;border-radius:10px;background:var(--paper);margin-bottom:10px}.record-revision h4{margin:5px 0;font-size:15px}.save-dialog.record-dialog{max-width:640px;text-align:left;gap:8px}.record-dialog>p{margin:0 0 8px}.record-form{display:flex;flex-direction:column;gap:14px}.record-fields{border:0;padding:0;margin:0;min-width:0;gap:14px}.record-field{display:flex;flex-direction:column;gap:6px;min-width:0}.record-field label{font-size:14px;font-weight:600}.record-form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.record-form input,.record-form select{width:100%}.record-form textarea{font-weight:400}.record-dialog:focus{outline:none}.entry-cart{width:362px;flex:none;background:#fff;border-left:1px solid rgba(20,40,46,.08);display:flex;flex-direction:column;min-height:0}.cart-heading{padding:16px 18px 12px;border-bottom:1px solid rgba(20,40,46,.06);flex:none}.cart-heading h2{font-size:16px}.cart-items{flex:1;overflow:auto;padding:6px 18px;min-height:0}.cart-empty{display:flex;align-items:center;justify-content:center;text-align:center;height:100%;color:#9aa6aa;font-size:14px;line-height:1.5;padding:20px 12px}.cart-item{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid rgba(20,40,46,.06)}.cart-item>div{flex:1;min-width:0;font-size:14px;line-height:1.2}.cart-item .small,.cart-services .small{display:block}.cart-services{border-top:1px solid rgba(20,40,46,.08);padding:12px 0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.cart-services>div{margin-top:8px}.cart-services p{margin:3px 0 0}.cart-summary{padding:16px 18px;border-top:1px solid rgba(20,40,46,.08);display:flex;flex-direction:column;gap:12px;flex:none}.cart-summary>label{font-size:13px;font-weight:600;color:var(--muted)}.checkbox-label{display:flex;align-items:center;gap:8px;font-weight:400!important;font-size:14px;cursor:pointer;line-height:1.5}.total-row{display:flex;justify-content:space-between;align-items:baseline;font-size:14px;color:var(--muted)}.total-row strong{font-size:20px;color:var(--ink)}.save-button{min-height:56px;width:100%;font-size:17px;border-radius:14px}.save-overlay{position:fixed;inset:0;padding:16px;background:#15282e52;display:flex;align-items:center;justify-content:center;z-index:50;overflow:auto}.save-dialog{background:#fff;border-radius:22px;padding:30px 32px;max-width:440px;width:100%;max-height:calc(100dvh - 32px);overflow:auto;display:flex;flex-direction:column;text-align:center;gap:12px;box-shadow:0 24px 60px #00000047}.saved-check{margin:0 auto 4px;width:64px;height:64px;display:grid;place-items:center;background:#e5efe9;border-radius:50%;font-size:34px;font-weight:700;color:#2f6b53}.save-dialog h2{font-size:21px}.save-summary{padding:14px 16px;background:#f7f4ee;border-radius:14px;display:flex;flex-direction:column;gap:9px;font-size:14px;margin:6px 0}.save-summary>div{display:flex;justify-content:space-between}.save-summary p{text-align:left;margin:0}.save-dialog>.primary{min-height:54px;font-size:17px}.page-content{flex:1;overflow:auto;padding:24px;min-height:0}.page-content>h1{font-size:25px}.page-content>.panel,.workers-list{margin-top:18px}.history-visit{margin-top:18px;max-width:1000px}.history-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.history-heading h2{font-size:17px}.history-quantities{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0;font-size:14px;line-height:1.6}.history-service{margin:12px 0;font-size:14px}.worker-form{max-width:600px;display:flex;flex-direction:column;gap:10px}.worker-form h2{margin-bottom:5px}.worker-form label{font-size:14px;font-weight:600}.worker-form>.primary{align-self:flex-start}.workers-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:16px}.worker-row h2{font-size:17px}.worker-row{min-width:0;overflow-wrap:anywhere}fieldset{border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:9px;margin:4px 0 8px}legend{font-size:13px;color:var(--muted);padding:0 5px}.worker-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}@media(max-width:900px){.app-shell{height:auto;min-height:100dvh;overflow:visible;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.topbar{padding:12px;flex-wrap:wrap;gap:10px;position:sticky;top:0}.topbar-identity{flex:1;min-width:0}.topbar-identity>div{min-width:0}.topbar-identity select{max-width:100%;font-size:18px!important}.topbar-status{flex:none;gap:8px;flex-wrap:wrap}.topbar-status>span{display:none}.topbar-status button{font-size:12px;padding:6px 8px}.topbar-nav{order:3;flex:1 0 100%;min-width:0;align-self:auto}.topbar-nav button{flex:1;padding:10px;font-size:16px}input,select,textarea{font-size:16px}.entry-toolbar{flex-direction:column;align-items:stretch;padding:12px 16px}.entry-mode{width:100%}.entry-identification{width:100%;max-width:none;flex:auto}.entry-identification.anonymous{height:auto;min-height:44px}.entry-layout{flex:none;flex-direction:column;overflow:visible}.entry-products{flex:none;overflow:visible;padding:20px 16px}.packet-list{flex-direction:column;gap:8px}.packet-wrap{flex:auto}.packet-apply{min-height:0;padding-right:48px}.packet-remove{width:44px;height:44px}.item-grid{grid-template-columns:minmax(0,1fr)}.entry-cart{width:100%;border-left:0;border-top:1px solid var(--line)}.cart-items{flex:none;overflow:visible}.cart-summary{padding-bottom:max(20px,env(safe-area-inset-bottom))}.secondary,.text-button,.notes-toggle{min-height:44px}.service-class-row{flex-direction:column;align-items:stretch;gap:5px}.service-class-row select{max-width:none}.service-fields{grid-template-columns:minmax(0,1fr)}.page-content{flex:none;overflow:visible;padding:20px 16px}.history-heading{flex-wrap:wrap}.history-quantities{grid-template-columns:minmax(0,1fr)}.save-dialog{padding:24px}.client-picker{flex:auto;width:100%;max-width:none}.client-history-summary{flex-wrap:wrap}}@media(max-width:600px){.service-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.service-line h3{grid-column:1;grid-row:1}.service-line .service-remove{grid-column:2;grid-row:1;justify-self:end}.service-line-category{grid-column:1;grid-row:2}.service-line-service{grid-column:2;grid-row:2}}@media(max-width:600px){.record-form-row{grid-template-columns:minmax(0,1fr)}.record-dialog{padding:20px}.client-records>.history-heading{align-items:flex-start}.record-actions button{min-height:44px}}.visit-test-details{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.visit-test-details p{margin:0}.visit-tests,.visit-health-records{border-top:1px solid var(--line);padding-top:16px;display:flex;flex-direction:column;gap:12px}.visit-health-draft{background:var(--paper);font-size:14px;overflow-wrap:anywhere}.visit-health-draft h3{font-size:15px}.visit-health-records .client-record{margin-top:0}.test-entry{min-width:0;overflow-wrap:anywhere}.test-entry .history-heading>h3{min-width:0}.visit-entry-row{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0}.visit-entry-row>h4{flex:0 1 auto;min-width:0;margin:0;overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.4;color:var(--ink)}.visit-entry-row>.secondary{flex:none;width:auto;min-height:30px;padding:4px 8px;border-radius:7px;font-size:12px;line-height:1.2}.visit-entry-row>.service-remove{flex:none;width:28px;height:28px;min-height:28px;border-radius:7px;font-size:18px}.visit-entry-row+.visit-entry-row{border-top:1px solid var(--line);padding-top:12px}.visit-service-group{display:flex;flex-direction:column;gap:12px;min-width:0}.visit-section-heading{padding:8px 12px;background:#edf3f3;border-left:3px solid #7299a1;border-radius:8px;gap:10px;flex-wrap:nowrap}.visit-section-heading>h3{flex:1;min-width:0;overflow-wrap:anywhere;font-size:17px;font-weight:700;letter-spacing:.01em}.visit-section-heading>.secondary{flex:0 0 10.5em;width:10.5em;min-height:34px;font-size:13px;padding:5px 10px;text-align:left;white-space:nowrap}.service-panel .visit-tests,.service-panel .visit-health-records{border-top:0;padding-top:4px}@media(max-width:600px){.visit-entry-row>.secondary{min-height:40px}.visit-entry-row>.service-remove{width:40px;height:40px;min-height:40px}.visit-section-heading{padding:7px 9px;gap:8px}.visit-section-heading>h3{font-size:15px}.visit-section-heading>.secondary{min-height:40px;font-size:12px;padding:6px 8px}}@media(max-width:370px){.visit-section-heading{flex-wrap:wrap}.visit-section-heading>h3{flex-basis:100%}.visit-section-heading>.secondary{margin-left:auto}}.section-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.catalog-add>.text-button{padding:0;min-height:30px;font-size:13px;text-align:left}.catalog-add-fields{display:flex;flex-direction:column;gap:8px;padding:12px;background:#edf3f3;border-radius:10px}.catalog-add-fields>label{font-size:14px;font-weight:600}.catalog-add-fields>p{margin:0}.catalog-add-fields input{width:100%}.catalog-add-fields .record-actions{align-items:center}.catalog-add-fields .secondary,.catalog-add-fields .text-button{font-size:13px}.equipment-options{border:0;padding:0 4px 0 0;margin:0;gap:10px;min-width:0;min-height:0;max-height:min(420px,44dvh);overflow:auto}.equipment-options>fieldset{margin:0;min-width:0;flex:none}.equipment-options .checkbox-label{min-height:36px}.equipment-options input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:none;accent-color:var(--teal)}.equipment-dialog .record-form{min-height:0}.equipment-dialog .record-actions{padding-top:4px;background:#fff}@media(max-width:600px){.section-actions{width:100%}.section-actions>button{flex:1}.catalog-add>.text-button{min-height:44px}.equipment-options .checkbox-label{min-height:44px}}.reports-content{padding:28px;min-width:0}.reports-content>.panel{margin-top:0}.report-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.report-page-heading p{margin:6px 0 0}.report-downloads{display:flex;gap:8px;flex-wrap:wrap}.report-filters{padding:16px 20px}.report-presets{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:12px}.report-presets button{min-height:34px;padding:5px 10px;color:var(--teal);background:#edf3f3;border-radius:7px}.report-filters form{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.report-filters label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:140px;font-size:13px;font-weight:600;color:var(--muted)}.report-filters input,.report-filters select{width:100%;font-size:15px}.report-filters .primary{min-height:44px}.report-context{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;margin:18px 0;color:var(--muted);font-size:13px}.report-context strong{color:var(--ink);font-size:17px}.report-notice{margin:16px 0}.report-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}.report-tabs button{border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);padding:10px 14px;font-size:14px;font-weight:600;min-height:44px}.report-tabs button.active{background:var(--teal);color:#fff}.report-section{display:flex;flex-direction:column;gap:18px;min-width:0}.report-section .panel{min-width:0;padding:22px}.report-section h2{font-size:18px}.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.report-metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;min-width:0}.report-metric h2{font-size:14px;color:var(--muted);font-weight:600}.report-metric>strong{font-size:36px;color:var(--teal);font-variant-numeric:tabular-nums;line-height:1.4}.report-metric p{margin:2px 0}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}.report-bars{display:flex;flex-direction:column;gap:14px;list-style:none;margin:22px 0;padding:0}.report-bars li{display:grid;grid-template-columns:minmax(90px,1fr) minmax(50px,1.2fr) minmax(25px,auto);align-items:center;gap:12px;font-size:14px}.report-bars li>span{overflow-wrap:anywhere;line-height:1.25}.report-bars li>div{height:10px;background:#edf3f3;border-radius:5px;overflow:hidden}.report-bars i{display:block;min-height:100%;background:#527e89;border-radius:5px}.report-bars strong{text-align:right;font-variant-numeric:tabular-nums}.report-chart{position:relative;margin:0;padding-left:42px}.report-chart figcaption{font-size:18px;font-weight:600;margin-left:-42px;margin-bottom:20px}.report-chart svg{width:100%;height:180px;display:block;overflow:visible}.report-chart-scale{position:absolute;left:0;top:49px;bottom:25px;display:flex;flex-direction:column;justify-content:space-between;color:var(--muted);font-size:11px;max-width:40px;line-height:1.2}.report-chart-dates{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}.report-table-wrap{max-width:100%;overflow:auto;margin-top:18px;border:1px solid var(--line);border-radius:10px}.report-table{border-collapse:collapse;min-width:100%;font-size:13px;line-height:1.4;background:#fff}.report-table caption{text-align:left;padding:12px;font-weight:700;color:var(--teal);background:#f4f7f7}.report-table th,.report-table td{text-align:left;vertical-align:top;padding:11px 12px;border-bottom:1px solid var(--line);min-width:90px;max-width:300px;overflow-wrap:anywhere}.report-table thead th{background:#edf3f3;font-weight:600;color:var(--teal)}.report-table tbody th{font-weight:600;min-width:150px}.report-table tbody tr:last-child>*{border-bottom:0}.report-table .report-numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.report-footnote{margin:16px 0 0;line-height:1.5}@media(min-width:901px)and (max-width:1200px){.topbar-nav button{padding:10px 12px}.topbar-status{flex:0 1 auto}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.reports-content{padding:20px 16px}.report-page-heading{align-items:flex-start;flex-direction:column}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-grid{grid-template-columns:minmax(0,1fr)}.report-section .panel{padding:18px}.report-filters{padding:14px}.report-filters form{gap:10px}.report-filters form>.primary{flex:1}.report-context{flex-direction:column;align-items:flex-start;gap:4px}}@media(max-width:480px){.topbar-nav{gap:2px}.topbar-nav button{font-size:14px;padding:8px 5px}.report-downloads{width:100%;gap:6px}.report-downloads button{flex:1;font-size:13px;padding:8px}.report-metrics{gap:10px}.report-metric{padding:14px 12px}.report-metric>strong{font-size:29px}.report-metric h2{font-size:13px}.report-tabs{gap:4px}.report-tabs button{font-size:13px;padding:8px 10px}.report-chart svg{height:140px}.report-chart figcaption span{display:block}.report-chart-scale{top:66px}.report-filters label{min-width:110px}.report-presets button{font-size:12px;min-height:40px}.report-bars li{gap:8px;grid-template-columns:minmax(80px,1fr) minmax(40px,1fr) auto}}.report-filters .report-area{flex:1.5;min-width:210px}.report-comparison-help{margin:14px 0 0;line-height:1.5}.report-context strong{overflow-wrap:anywhere}.report-section>.small{line-height:1.5}@media(max-width:900px){.report-filters .report-area{flex-basis:100%;min-width:0}}.report-filter-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.report-filter-actions .report-presets{margin-bottom:0}.report-filter-actions>.secondary{flex:none;min-height:36px}.report-comparison-selection{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:12px;font-size:13px;color:var(--muted)}.report-comparison-selection .text-button{min-height:34px;padding:4px 8px;color:var(--teal)}.comparison-length-note{margin:0;padding:10px 12px;background:#f7f4ee;border-radius:8px;font-size:13px;color:var(--muted)}@media(max-width:480px){.report-filter-actions>.secondary,.report-comparison-selection .text-button{min-height:44px}.report-filter-actions{gap:8px}.report-comparison-selection{align-items:flex-start;flex-direction:column;gap:4px}}.report-filters .report-filter-form{display:flex;flex-direction:column;align-items:stretch;gap:0}.report-filter-row{display:grid;grid-template-columns:minmax(210px,1.5fr) repeat(3,minmax(140px,1fr)) 124px;gap:12px;align-items:end}.report-inline-comparison{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.report-comparison-actions{grid-column:4 / 6;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.report-comparison-actions .text-button{color:var(--teal)}.report-comparison-actions button{min-height:44px}.report-filter-actions>button[aria-expanded=true]{background:#edf3f3;border-color:#7299a1}@media(max-width:1100px)and (min-width:901px){.report-filter-row{grid-template-columns:minmax(170px,1.5fr) repeat(3,minmax(110px,1fr)) 124px}.report-filter-row>label,.report-filter-row>.report-area{min-width:0}}@media(max-width:900px){.report-filter-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-filter-row>.report-area{grid-column:1 / -1;min-width:0}.report-filter-row>label{min-width:0}.report-comparison-actions{grid-column:1 / -1}.report-comparison-actions button{flex:1}.report-inline-comparison{margin-top:18px;padding-top:18px}}.import-content{padding:28px;min-width:0}.import-content>p{margin-top:6px}.import-content>.panel{max-width:1200px;padding:24px}.import-steps{display:flex;gap:8px;flex-wrap:wrap;padding:0;list-style:none;margin:22px 0;color:var(--muted);font-size:14px}.import-steps li{padding:8px 12px;border-radius:8px}.import-steps .current{color:var(--teal);background:#e3edef;font-weight:700}.import-setup,.import-mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.import-field{display:flex;flex-direction:column;gap:7px;min-width:0}.import-field label{font-weight:600;font-size:14px}.import-field input,.import-field select{width:100%;min-width:0}.import-field .small{line-height:1.5}.import-file-panel>.import-field{margin-top:20px}.import-file-panel input[type=file]{padding:12px;background:#f7f5f0;border:1px solid var(--line);border-radius:10px}.import-file-panel input::file-selector-button{background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 12px;margin-right:12px;color:var(--teal);font:inherit}.import-file-panel>p{line-height:1.6}.import-file-panel>h2{margin-top:24px}.import-template-links{display:flex;flex-wrap:wrap;gap:8px}.import-template-links a{text-decoration:none;display:inline-flex;align-items:center}.import-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px;margin:20px 0}.import-table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.4}.import-table caption{background:#edf3f3;color:var(--teal);text-align:left;font-weight:600;padding:12px}.import-table th,.import-table td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);min-width:110px;max-width:320px;overflow-wrap:anywhere}.import-table th:first-child{min-width:55px}.import-table thead th{color:var(--muted);font-size:13px;background:#f8faf9;font-weight:600}.import-table tbody tr:last-child>*{border-bottom:0}.import-table td:last-child{min-width:220px}.import-table td p{margin:7px 0 0}.import-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.import-counts>div{background:#edf3f3;border-radius:10px;padding:14px;color:var(--muted);font-size:14px}.import-counts strong{display:block;font-size:28px;color:var(--teal)}.import-counts .danger{background:#fff0ed;color:#9c3427}.import-counts .danger strong{color:inherit}.import-status{font-size:12px;font-weight:700;display:inline-block;padding:4px 7px;border-radius:6px;background:#eaf1e9;color:#32644f}.import-status.error{color:#9c3427;background:#fff0ed}.import-status.duplicate{color:var(--muted);background:#edf3f3}.import-filter{max-width:320px;margin-top:20px}.import-confirm{margin:22px 0;padding:14px;background:#f3f6f4;border-radius:10px}.import-confirm input{flex:none;width:18px;height:18px;accent-color:var(--teal)}.import-pagination{align-items:center;margin-bottom:20px}.import-help{max-width:900px;line-height:1.6;color:var(--muted);font-size:14px;margin:24px 0}.import-help h2{font-size:16px}.import-error{background:#fff0ed;color:#9c3427;max-width:1200px;align-items:flex-start}.import-preview>h2:focus,.import-success>h2:focus{outline:none}.import-success .import-counts{max-width:600px;grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:900px){.import-content{padding:20px 16px}.import-content>.panel{padding:18px}.import-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.topbar-nav{flex-wrap:wrap}.topbar-nav button{flex:1 1 auto}.import-setup,.import-mapping{grid-template-columns:minmax(0,1fr);gap:16px}.import-steps{gap:2px;font-size:12px}.import-steps li{padding:7px}.import-file-panel .history-heading{align-items:flex-start;flex-direction:column}.import-template-links{width:100%}.import-template-links a{flex:1;justify-content:center}.import-preview>.record-actions button{flex:1 1 100%;min-height:44px}}.app-shell{--ink: #26343c;--teal: #263e49;--muted: #65717a;--paper: #f7f5f1;--line: #dce0e1;--workspace-blue: #dce6f3;--workspace-blue-light: #edf2f8;--workspace-blue-edge: #829bc0;--workspace-space: clamp(24px, 3vw, 44px);--workspace-cart: clamp(300px, 26vw, 360px);position:fixed;inset:0;color:var(--ink);background:var(--paper)}.app-shell :is(input,select,textarea){background:#fff;border-color:#cfd5d7}.app-shell :is(input,select,textarea,button,a):focus-visible{outline-color:#456f84}.app-shell :is(input,select,textarea):focus{outline-color:#456f84}.app-shell :is(input,select,textarea)[aria-invalid=true]{border-color:#b33b2e;outline-color:#b33b2e}.app-shell .primary{background:var(--teal);border-color:var(--teal)}.app-shell .primary:hover{background:#172d38;border-color:#172d38}.app-shell .secondary{border-color:#d3d9dc;background:#fff}.app-shell .secondary:hover{background:var(--workspace-blue-light)}.app-shell .panel{border-radius:14px}.app-shell .local-banner{padding:6px var(--workspace-space);background:#e8eef6;color:#455e76;font-size:12px}.app-shell .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:20px;min-height:78px;padding:14px var(--workspace-space);background:#fcfbf8}.app-shell .topbar-identity{display:flex;flex-direction:row;align-items:center;gap:20px;min-width:0}.workspace-brand-group{flex:none;min-width:0}.workspace-brand{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:24px;font-weight:600;letter-spacing:-.8px}.workspace-brand .login-brand-symbol{width:28px;height:28px}.workspace-mobile-user{display:none}.app-shell .topbar-nav{gap:6px}.app-shell .topbar-nav button{padding:9px 17px;min-height:42px;font-size:15px;color:var(--muted);border-radius:10px}.app-shell .topbar-nav button.active{background:var(--teal);color:#fff}.app-shell .topbar-nav button:hover:not(.active){background:var(--workspace-blue-light);color:var(--ink)}.app-shell .topbar-status{min-width:0;gap:16px}.app-shell .topbar-status>.secondary{white-space:nowrap;font-size:13px;min-height:40px}.topbar-user{display:flex;gap:9px;align-items:center;min-width:0}.topbar-user>svg{flex:none;width:21px;height:21px}.topbar-user>div{min-width:0;overflow-wrap:anywhere;line-height:1.3}.topbar-user strong{display:block;font-size:13px;font-weight:500}.topbar-user span{color:var(--muted);font-size:11px}.workspace-entry-heading{flex:none;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:17px calc(var(--workspace-space) + var(--workspace-cart) + 24px) 18px var(--workspace-space)}.workspace-entry-heading h1{flex:none;font-size:clamp(32px,3.2vw,46px);font-weight:600;letter-spacing:-1px;line-height:1.12}.workspace-entry-heading h1 em{font-family:"Instrument Serif",Georgia,serif;font-size:1.19em;font-weight:400;color:#314b67}.workspace-site-picker{min-width:0;width:245px;flex:0 1 245px}.workspace-site-picker .site-label{font-size:12px;margin-bottom:4px;color:var(--muted)}.workspace-site-line{display:flex;gap:10px;align-items:center}.app-shell .workspace-site-picker select{min-width:0;max-width:100%;flex:1;width:100%;height:42px;min-height:42px;background:#fff;border:1px solid #cfd5d7;border-radius:9px;padding:7px 30px 7px 12px;font-size:15px;color:var(--ink);font-weight:600}.workspace-visit-count{white-space:nowrap;font-variant-numeric:tabular-nums}.topbar-identity .workspace-site-picker{width:270px;max-width:270px;flex:0 1 270px;border-left:1px solid var(--line);padding-left:20px}.topbar-identity .workspace-site-picker .site-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.app-shell .topbar-identity .workspace-site-picker select{height:40px;min-height:40px;font-size:14px;padding:5px 26px 5px 9px}.app-shell .entry-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--workspace-cart);grid-template-rows:auto minmax(0,1fr);column-gap:24px;row-gap:20px;padding:0 var(--workspace-space) 24px;overflow:visible}.app-shell .entry-toolbar{grid-column:1;grid-row:1;padding:0;gap:12px;background:transparent;border:0;min-width:0;position:relative;z-index:20}.app-shell .entry-mode{width:230px;background:#edeae4;padding:5px;border-radius:12px}.app-shell .entry-mode button{min-height:40px;font-size:14px}.app-shell .entry-mode button.active{color:var(--teal);box-shadow:0 1px 4px #26343c0c}.app-shell .client-picker{max-width:none}.app-shell .client-search-line input{background:#fff;min-height:50px}.app-shell .client-selected{min-height:58px;padding:7px 12px;background:#edf2ef;border-color:#c8d6cf}.app-shell .client-selected>div{line-height:1.3}.app-shell .client-popup{border-color:#ccd8e7;box-shadow:0 12px 36px #26343c14;padding:14px;max-height:min(420px,calc(100dvh - 360px))}.app-shell .client-result:hover,.app-shell .client-result:focus{background:var(--workspace-blue-light)}.app-shell .entry-identification.anonymous{background:var(--workspace-blue-light);border-color:#c9d5e4;color:#314b67;max-width:none;height:auto;min-height:50px}.app-shell .entry-products{grid-column:1;grid-row:2;padding:0 4px 12px 0;gap:22px;min-width:0;scrollbar-width:thin;scrollbar-color:#b7c4d1 transparent}.app-shell .entry-products>section{flex:none;min-width:0}.app-shell .section-title{font-size:17px;line-height:1.35;color:var(--ink);font-weight:600;text-transform:none;letter-spacing:0;margin-bottom:10px}.app-shell .section-heading .section-title{margin-bottom:0}.app-shell .section-heading{margin-bottom:12px}.app-shell .section-actions .secondary{font-size:13px;padding:6px 11px;min-height:36px}.app-shell .packet-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.app-shell .packet-apply{min-height:108px;padding:15px 16px;border-radius:12px;gap:6px}.app-shell .packet-apply strong{font-size:17px}.app-shell .packet-apply span{font-size:12px;line-height:1.4}.app-shell .packet-apply:hover,.app-shell .packet-apply:focus-visible{background:var(--workspace-blue-light);border-color:var(--workspace-blue-edge)}.app-shell .packet-remove:hover{background:#e8eef6}.app-shell .item-grid{gap:10px}.app-shell .item-group h3{font-size:14px;color:var(--ink)}.app-shell .quantity-row{min-height:64px;padding:10px 12px;gap:10px;border-radius:12px}.app-shell .quantity-row.has-value{background:#f2f6fc;border-color:#b4c7e0}.app-shell .item-abbr{width:38px;height:38px;background:#e1eaf5;color:#314b67;border-radius:9px}.app-shell .qty-input{width:72px;border-color:#d3d9df;background:#fff;font-size:16px}.app-shell .service-panel{padding:0;background:transparent;border:0;gap:12px}.app-shell .visit-service-group{gap:0}.app-shell .visit-section-heading{background:var(--workspace-blue);border-left-color:var(--workspace-blue-edge);padding:8px 12px;border-radius:9px;min-height:50px}.app-shell .visit-section-heading>h3{font-weight:600;letter-spacing:0;color:#314b67}.app-shell .visit-section-heading>.secondary{border-color:#c7d2df;font-size:13px}.app-shell .visit-services-list{padding:11px 12px;background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;gap:12px}.app-shell .visit-entry-row{flex-wrap:wrap}.app-shell .visit-tests,.app-shell .visit-health-records{gap:0;padding:0}.app-shell .service-notes{margin-top:2px}.app-shell .service-notes label{font-weight:500}.app-shell .service-notes textarea{border-color:#cfd5d7;background:#fff}.app-shell .entry-cart{grid-column:2;grid-row:1 / 3;width:auto;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;min-width:0}.app-shell .cart-heading{padding:19px 20px 17px;background:var(--workspace-blue);border-bottom:1px solid #d0dceb}.app-shell .cart-heading h2{font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:32px;line-height:1.15;font-weight:400;color:#314b67;margin-bottom:4px}.app-shell .cart-heading .small{color:#4d6581;line-height:1.5}.app-shell .cart-items{padding:10px 20px;scrollbar-width:thin;scrollbar-color:#b7c4d1 transparent}.app-shell .cart-empty{color:var(--muted);padding:18px 0}.app-shell .cart-item{padding:12px 0;gap:8px;border-color:var(--line)}.app-shell .cart-item strong{font-weight:600}.app-shell .cart-item .qty-input{width:62px;height:36px;min-height:36px;font-size:15px;border-color:#e1e5e8}.app-shell .cart-services{border-color:var(--line);padding:16px 0;font-size:14px}.app-shell .cart-summary{padding:18px 20px 20px;border-color:var(--line);gap:13px}.app-shell .total-row strong{font-size:21px}.app-shell .save-button{font-size:16px;min-height:54px;border-radius:11px}.app-shell .page-content{padding:26px var(--workspace-space);min-width:0}.app-shell .page-content h1{font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-weight:400;font-size:46px;letter-spacing:-.5px;line-height:1.15;color:#314b67;overflow-wrap:anywhere}.app-shell .history-visit{padding:20px}.app-shell .history-visit>.history-heading{padding-bottom:12px;border-bottom:1px solid var(--line)}.app-shell .client-history-summary{background:#edf2f8;border-color:#ccd8e7}.client-directory-search{margin:22px 0 14px;max-width:850px;padding:18px}.client-directory-search>label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.client-directory-search>div{display:flex;gap:10px}.client-directory-search input{flex:1;width:100%;min-width:0}.client-directory-search button{flex:none}.client-directory-list{list-style:none;padding:0;margin:16px 0 0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.client-directory-group-list{list-style:none;padding:0;margin:0}.client-directory-letter{padding:7px 14px;margin:0;font-size:14px;font-weight:700;color:#314b67;background:var(--workspace-blue-light);border-bottom:1px solid var(--line)}.client-directory-group+.client-directory-group{border-top:1px solid var(--line)}.client-directory-row{display:grid;grid-template-columns:minmax(0,1fr) max-content 204px max-content;align-items:center;column-gap:18px;padding:7px 14px}.client-directory-row+.client-directory-row{border-top:1px solid var(--line)}.client-directory-row:hover{background:#fafbfd}.client-directory-name{border:0;padding:0;min-height:34px;min-width:0;color:var(--teal);background:transparent;text-align:left;font-size:16px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.client-directory-name:hover{text-decoration:underline;text-underline-offset:3px}.client-directory-visits,.client-directory-last{font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums}.client-directory-visits{white-space:nowrap}.client-directory-last{min-width:0;overflow-wrap:anywhere}.client-directory-row>.record-actions{flex-wrap:nowrap;gap:6px}.app-shell .client-directory-row .secondary{min-height:32px;padding:5px 9px;font-size:12px;border-radius:8px}.app-shell .record-revision{background:var(--workspace-blue-light)}.app-shell .settings-nav{margin-top:20px;border-color:var(--line)}.app-shell .settings-nav button{border-radius:10px}.app-shell .settings-nav button.active{background:var(--teal);border-color:var(--teal)}.app-shell .worker-form{padding:22px}.app-shell .worker-row{padding:20px}.app-shell fieldset{background:#fcfdfd;border-color:var(--line)}.app-shell .report-metric{border-color:var(--line);box-shadow:none}.app-shell .report-metric>strong{color:#314b67;font-weight:600}.app-shell .report-bars li>div{background:var(--workspace-blue-light)}.app-shell .report-bars i{background:#647f9e}.app-shell .report-chart polyline{stroke:#314b67}.app-shell .report-chart circle{fill:#314b67}.app-shell .report-presets button,.app-shell .report-table thead th,.app-shell .report-table caption{background:#edf2f8}.app-shell .report-filter-actions>button[aria-expanded=true]{background:var(--workspace-blue);border-color:var(--workspace-blue-edge)}.app-shell .report-tabs button.active{background:var(--teal)}.app-shell .import-steps .current,.app-shell .import-counts>div{background:var(--workspace-blue-light)}.app-shell .import-counts .danger{background:#fff0ed;color:#9c3427}.app-shell .import-counts .danger strong{color:inherit}.app-shell .import-table caption,.app-shell .import-table thead th{background:#edf2f8}.app-shell .import-confirm{background:#edf2ef}.app-shell .catalog-add-fields{background:var(--workspace-blue-light)}.app-shell .save-overlay{background:#26343c59}.app-shell .save-dialog{border:1px solid #e1e5e8;border-radius:20px;box-shadow:0 22px 72px #172d3826;background:#fcfbf8}.app-shell .save-dialog h2{font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:32px;font-weight:400;color:#314b67}.app-shell .save-summary{background:var(--workspace-blue-light)}.app-shell .equipment-options>fieldset{background:#fff}@media(min-width:1400px){.app-shell .return-items{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:901px)and (max-width:1320px){.workspace-brand{font-size:21px;gap:7px}.workspace-brand .login-brand-symbol{width:25px;height:25px}.app-shell .topbar{gap:12px}.app-shell .topbar{grid-template-columns:minmax(0,1fr) auto}.app-shell .topbar-identity{grid-column:1;grid-row:1}.app-shell .topbar-status{grid-column:2;grid-row:1}.app-shell .topbar-nav{grid-column:1 / -1;grid-row:2;justify-self:center}.app-shell .topbar-nav button{font-size:14px;padding:9px 12px}.app-shell .topbar-status{gap:10px}.topbar-user>svg{display:none}.workspace-entry-heading{padding-right:var(--workspace-space)}.app-shell .entry-toolbar{flex-wrap:wrap}.app-shell .entry-toolbar .client-picker,.app-shell .entry-toolbar .entry-identification{flex-basis:100%}}@media(min-width:901px)and (max-width:1100px){.app-shell .item-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.client-directory-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:8px 12px}.client-directory-name{grid-column:1;grid-row:1;min-height:36px}.client-directory-visits{grid-column:2;grid-row:1}.client-directory-last{grid-column:1 / -1;grid-row:2}.client-directory-row>.record-actions{grid-column:1 / -1;grid-row:3;margin-top:3px}.app-shell .client-directory-row .secondary{min-height:44px;padding:7px 11px;font-size:13px}}@media(max-width:900px){.app-shell{--workspace-space: 16px;position:static;inset:auto;height:auto;min-height:100dvh}.app-shell .topbar{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px var(--workspace-space);position:sticky;top:0}.app-shell .topbar-identity{gap:16px;grid-column:1;grid-row:1}.workspace-brand{font-size:21px;gap:7px}.workspace-brand .login-brand-symbol{width:25px;height:25px}.workspace-mobile-user{display:block;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.app-shell .topbar-status{grid-column:2;grid-row:1;align-self:start;padding-top:2px}.app-shell .topbar-user{display:none}.app-shell .topbar-status>.secondary{font-size:12px;padding:7px 9px}.app-shell .topbar-nav{grid-column:1 / -1;grid-row:2;order:0;width:100%;display:flex;flex-wrap:nowrap;gap:4px}.app-shell .topbar-nav button{flex:1 1 0;min-width:0;padding:8px 4px;min-height:44px;font-size:14px}.workspace-entry-heading{padding:18px var(--workspace-space);gap:18px}.workspace-entry-heading h1{font-size:34px}.topbar-identity .workspace-site-picker{padding-left:16px}.app-shell .topbar-identity .workspace-site-picker select{min-height:44px;height:44px;font-size:16px}.app-shell .entry-layout{display:flex;flex:none;flex-direction:column;gap:20px;padding:0 var(--workspace-space) 24px;overflow:visible}.app-shell .entry-toolbar{display:flex;align-items:stretch;flex-direction:column;flex:none;gap:10px;z-index:auto}.app-shell .entry-mode{width:100%}.app-shell .entry-mode button{min-height:44px}.app-shell .entry-products{padding:0;overflow:visible;flex:none;gap:24px}.app-shell .client-popup{position:fixed;inset:50% 16px auto;transform:translateY(-50%);max-height:calc(100dvh - 48px);max-width:560px;margin:0 auto;z-index:30;overscroll-behavior:contain}.app-shell .entry-cart{flex:none;width:100%;min-height:240px;border:1px solid var(--line)}.app-shell .cart-items{flex:none;overflow:visible}.app-shell .cart-item .qty-input{min-height:44px;height:44px;font-size:16px}.app-shell .cart-summary{padding-bottom:max(20px,env(safe-area-inset-bottom))}.app-shell :is(input,select,textarea){font-size:16px}.app-shell :is(.primary,.secondary,.text-button,.service-remove){min-height:44px}.app-shell .section-actions .secondary{min-height:44px}.app-shell .page-content{padding:22px var(--workspace-space)}.app-shell .page-content h1{font-size:40px}.app-shell .settings-content>.settings-section{padding:0}.app-shell .save-dialog{padding:22px;max-height:calc(100dvh - 32px)}}@media(max-width:640px){.workspace-entry-heading{align-items:flex-start;flex-direction:column;gap:14px}.app-shell .topbar-identity{grid-column:1 / -1;flex-direction:column;align-items:stretch;gap:12px}.workspace-brand-group{width:calc(100% - 110px)}.topbar-identity .workspace-site-picker{width:100%;max-width:none;flex:none;padding-left:0;border-left:0}.workspace-site-line{gap:12px}.client-directory-search>div{flex-wrap:wrap}.client-directory-search input{flex-basis:100%}.app-shell .packet-list,.app-shell .item-grid{grid-template-columns:minmax(0,1fr)}.app-shell .packet-apply{min-height:88px;padding:14px 46px 14px 16px}.app-shell .section-actions{width:auto}.app-shell .section-actions>button{flex:1 1 auto}.app-shell .quantity-row{min-height:68px}.app-shell .visit-section-heading{padding:8px 10px;gap:8px}.app-shell .visit-section-heading>h3{font-size:15px}.app-shell .visit-section-heading>.secondary{font-size:12px;min-height:44px}.app-shell .visit-entry-row>.secondary{min-height:44px}.app-shell .visit-entry-row>.service-remove{width:44px;height:44px}.app-shell .client-history-summary{padding:16px}.app-shell .client-history-summary>.primary{width:100%}}@media(max-width:370px){.workspace-brand{font-size:18px;gap:6px}.workspace-brand .login-brand-symbol{width:23px;height:23px}.app-shell .topbar{gap:10px}.app-shell .topbar-status>.secondary{font-size:11px;padding:7px}.app-shell .topbar-nav button{font-size:12px;padding:8px 2px}.workspace-entry-heading h1{font-size:32px}.app-shell .visit-section-heading{flex-wrap:wrap}.app-shell .visit-section-heading>h3{flex-basis:100%}.app-shell .visit-section-heading>.secondary{margin-left:auto}}.demo-banner{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px 20px;padding:8px var(--workspace-space);background:#e8eef6;color:#314b67;font-size:12px}.demo-banner>div{display:flex;align-items:center;flex:none;gap:18px}.demo-banner a,.demo-banner button{color:inherit;font-size:inherit;font-weight:600}.demo-banner button{background:transparent;border:0;padding:3px;text-decoration:underline;text-underline-offset:3px}.demo-feedback-link{display:inline-block;margin-top:22px;font-weight:600;text-underline-offset:4px}.login-fields button.login-button{text-align:left}@media(max-width:900px){.demo-banner{flex-wrap:wrap;padding:8px 16px;line-height:1.4}.demo-banner a,.demo-banner button{display:inline-flex;align-items:center;min-height:36px}}
