/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.start{inset-inline-start:var(--spacing)}.block{display:block}.table{display:table}}.catalog-editor{background:#f4f9fb;border:1px solid #cbdfe9;border-radius:11px;grid-template-columns:1.05fr 1.1fr 1.35fr .8fr .7fr auto;align-items:end;gap:10px;margin-bottom:14px;padding:15px;display:grid}.catalog-editor>div:first-child strong{color:var(--navy)}.catalog-editor>div:first-child p{color:var(--muted);margin:4px 0 0;font-size:12px}.editor-actions{gap:7px;display:flex}.editor-actions button{white-space:nowrap}.edit-button{color:#38576a;background:#e8f0f4;border:1px solid #cbd9e0;padding:7px 9px;font-size:11px}.back-page{padding-top:10mm!important}.specimen-label{color:#257197!important;font-weight:700!important}.specimen-cell{text-align:center;font-size:6.4pt}@media (max-width:1050px){.catalog-editor{grid-template-columns:1fr 1fr}.catalog-editor>div:first-child,.editor-actions{grid-column:1/-1}}.header-art{width:185mm!important}.a4-page .page-note{color:#5d6970;letter-spacing:.02em;font-style:italic;text-align:center!important;font-size:7.5pt!important;display:block!important}.a4-page .back-footer{flex-direction:column!important;gap:4mm!important;display:flex!important}.signature-row{grid-template-columns:1fr 1fr 1fr;gap:5mm;width:100%;display:grid}.signature-row div:last-child{text-align:right}.back-footer .total-box{align-self:flex-end}.choice-builder{background:#f7f8fc;border:1px solid #d8dfed;border-radius:11px;grid-template-columns:1fr 210px 230px;align-items:end;gap:16px;margin-bottom:14px;padding:15px;display:grid}.choice-builder strong{color:var(--navy)}.choice-builder p{color:var(--muted);margin:4px 0 0;font-size:12px}.choice-status{align-items:center;gap:8px;display:flex}.choice-status b{color:#6653a6}.choice-status span{color:var(--muted);flex:1;font-size:12px}.choice-button{color:#6653a6;background:#f0edfa;border:1px solid #d1c8ef;padding:7px 9px;font-size:11px}.choice-button.active{color:#fff;background:#6653a6}.a4-page .choice-section td{color:#493980!important;background:#e5ddf6!important}@media (max-width:850px){.choice-builder{grid-template-columns:1fr}.choice-status{align-items:center}}.a4-page .total-footer{justify-content:flex-end!important;display:flex!important}.total-box{border:1.4px solid #222;align-items:center;gap:3mm;width:76mm;min-height:14mm;padding:3mm 4mm;font-size:9pt;display:flex}.total-box span{border-bottom:1px dotted #555;flex:1;height:5mm}.single-workspace{max-width:1120px;margin:24px auto;padding:0 24px}.selection-summary{color:#526773;background:#eef6fa;border-radius:10px;align-items:center;gap:10px;margin:-4px 0 14px;padding:12px 14px;display:flex}.selection-summary strong{color:var(--blue);font-size:22px}.selection-summary span{flex:1;font-size:13px}.test-copy{flex:1;gap:3px;display:grid}.test-copy strong{color:#263b47;font-size:14px}.test-copy small{color:var(--muted);font-weight:400;line-height:1.3}.logo{object-fit:contain;width:29mm;height:18mm}.letterhead{grid-template-columns:minmax(0,1fr) 28mm!important;gap:4mm!important}.header-art-crop{width:100%;height:24mm;position:relative;overflow:hidden}.header-art{width:177mm;max-width:none;height:auto;display:block}.patient-lines p{white-space:nowrap;border:0!important;align-items:flex-end!important;gap:2mm!important;display:flex!important}.write-line,.short-line{border-bottom:1px dotted #555;flex:1;height:4mm;display:inline-block}.short-line{min-width:18mm;max-width:30mm}.a4-page table{font-size:6.8pt!important}.a4-page th,.a4-page td{padding:.65mm 1.1mm!important;line-height:1.08!important}.a4-page th{font-size:7.4pt!important}.a4-page .section td{padding:1.1mm!important;font-size:7.5pt!important}.a4-page footer{padding-top:3mm!important;font-size:8pt!important}@media (max-width:720px){.test-row{flex-direction:column;align-items:flex-start}.row-end{justify-content:space-between;width:100%}.single-workspace{padding:0 12px}.selection-summary{flex-wrap:wrap;align-items:flex-start}}:root{--navy:#173653;--blue:#2177a5;--ink:#18252e;--muted:#667680;--line:#d8e0e4;--mint:#dff4e6;--green:#1c7c4c}*{box-sizing:border-box}body{color:var(--ink);background:#eef2f4;margin:0;font-family:Arial,Helvetica,sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:9px;padding:11px 16px;font-weight:700}.appbar{border-bottom:1px solid var(--line);z-index:10;background:#fff;justify-content:space-between;align-items:center;min-height:84px;padding:16px 4vw;display:flex;position:sticky;top:0}.appbar h1{color:var(--navy);margin:3px 0 0;font-size:26px}.eyebrow{letter-spacing:.16em;color:var(--blue);margin:0;font-size:11px;font-weight:800}.actions,.search,.row-end{align-items:center;gap:10px;display:flex}.primary{color:#fff;background:var(--blue);box-shadow:0 5px 14px #2177a52e}.ghost{color:var(--navy);background:#edf3f6}.workspace{grid-template-columns:380px 1fr;align-items:start;gap:20px;max-width:1440px;margin:24px auto;padding:0 24px;display:grid}.panel{background:#fff;border:1px solid #dde5e9;border-radius:16px;overflow:hidden;box-shadow:0 8px 30px #38505e0b}.patient-panel{padding:22px;position:sticky;top:108px}.catalog-panel{padding:22px 22px 0}.step-title{align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.step-title>span{background:var(--navy);color:#fff;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-weight:800;display:grid}.step-title h2{color:var(--navy);margin:1px 0 4px;font-size:19px}.step-title p{color:var(--muted);margin:0;font-size:13px}.form-grid{grid-template-columns:1fr 1fr;gap:13px;display:grid}label{color:#43535d;gap:6px;font-size:12px;font-weight:700;display:grid}label.wide{grid-column:1/-1}input,select{width:100%;min-width:0;color:var(--ink);background:#fff;border:1px solid #cfd9de;border-radius:8px;outline:none;padding:10px 11px}input:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2177a51a}.search{margin-bottom:14px}.search input{flex:1;padding:12px 14px}.catalog{max-height:calc(100vh - 270px);margin:0 -22px;padding:0 22px 24px;overflow:auto}.category h3{color:#647782;letter-spacing:.08em;text-transform:uppercase;margin:18px 0 8px;font-size:12px}.test-row{border:1px solid #e1e7ea;border-bottom:0;justify-content:space-between;align-items:center;gap:15px;min-height:64px;padding:11px 12px;display:flex}.test-row:first-of-type{border-radius:10px 10px 0 0}.test-row:last-child{border-bottom:1px solid #e1e7ea;border-radius:0 0 10px 10px}.test-row.chosen{background:#f2f8fb;border-color:#b9d9e8}.check{flex:1;grid-template-columns:auto 1fr;align-items:flex-start;gap:10px;display:flex}.check input{width:18px;height:18px;accent-color:var(--blue);margin-top:2px}.check span{gap:3px;display:grid}.check strong{color:#263b47;font-size:14px}.check small{color:var(--muted);font-weight:400;line-height:1.3}.row-end{flex:none}.row-end b{text-align:right;min-width:92px;font-size:13px}.free{color:var(--green);background:#eaf6ee;border:1px solid #bde0c8;padding:7px 9px;font-size:11px}.free.active{color:#fff;background:var(--green)}.print-only{display:none}.preview-wrap{padding:28px 0;overflow:auto}.a4-page{color:#111;background:#fff;flex-direction:column;width:210mm;min-height:297mm;margin:0 auto 24px;padding:12mm 11mm 14mm;font-family:Times New Roman,serif;display:flex;position:relative;box-shadow:0 8px 35px #1e344b20}.letterhead{text-align:center;border-bottom:2px solid #173653;grid-template-columns:18mm 1fr 28mm;align-items:center;gap:5mm;padding-bottom:4mm;display:grid}.brand-mark{color:#fff;background:#173653;border-radius:50%;place-items:center;width:17mm;height:17mm;font:700 20pt Arial;display:grid}.letterhead h2{color:#173653;margin:0;font-size:16pt}.letterhead p{text-transform:uppercase;margin:2mm 0 1mm;font-size:10pt}.letterhead strong{color:#c6382f;font:italic 11pt Times New Roman}.barcode{border:1.4px solid #111;place-items:end center;height:17mm;padding-bottom:2px;font:italic 8pt serif;display:grid}.patient-lines{padding:4mm 1mm 2mm;font-size:9.5pt}.patient-lines p{border-bottom:1px dotted #777;min-height:5mm;margin:0 0 2mm}.patient-lines span{margin-left:9mm}.sheet-title{color:#173653;text-align:center;margin:2mm 0 2.5mm;font-size:15pt}.back-title{margin:8mm 0 5mm}.a4-page table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:8.5pt}.a4-page th,.a4-page td{vertical-align:middle;border:1px solid #222;padding:1.5mm 1.7mm}.a4-page th{background:#e8eef3;font-size:9pt}.a4-page th:first-child,.a4-page td:first-child{text-align:center;width:9mm}.a4-page .section td{color:#111;text-align:center;background:#f1c64c;padding:2mm;font-size:9pt;font-weight:700}.a4-page .free-section td{background:var(--mint);color:#145d38}.free-price{color:#137343;font-weight:700}.empty-row{color:#777;text-align:center!important;padding:8mm!important}.a4-page footer{grid-template-columns:1fr 1fr 1fr;gap:5mm;margin-top:auto;padding-top:5mm;font-size:9pt;display:grid}.a4-page footer div:last-child{text-align:right}@media (max-width:900px){.workspace{grid-template-columns:1fr}.patient-panel{position:static}.appbar{align-items:flex-start;gap:12px}.actions{flex-wrap:wrap;justify-content:flex-end}}@page{size:A4 portrait;margin:0}@media print{body{background:#fff}.no-print{display:none!important}.print-only,.preview-wrap{padding:0;display:block!important}.a4-page{width:210mm;height:297mm;min-height:297mm;box-shadow:none;page-break-after:always;break-after:page;margin:0;overflow:hidden}.a4-page:last-child{page-break-after:auto;break-after:auto}}.a4-page th:nth-child(2){width:43mm}.a4-page th:nth-child(4),.a4-page td:nth-child(4){text-align:center;white-space:normal;width:25mm}.a4-page th:nth-child(5),.a4-page td:nth-child(5){text-align:right;white-space:nowrap;width:25mm}.a4-page .group-section td{color:#173653;letter-spacing:.035em;background:#dfeaf1;font-family:Times New Roman,Times,serif;padding:.8mm 1mm!important;font-size:6.8pt!important}.patient-lines .identity-line .name-line{flex:auto;min-width:88mm}.patient-lines .identity-line .gender-line{flex:0 0 13mm;width:13mm;min-width:13mm;max-width:13mm;margin-left:-2mm!important}.patient-lines .identity-line .birth-year-line{flex:0 0 19mm;width:19mm;min-width:19mm;max-width:19mm;margin-left:-2mm!important}.a4-page .sheet-title{font-size:17pt;font-weight:800}.catalog-editor{grid-template-columns:1.05fr 1.1fr 1.35fr .8fr}.order-controls{gap:3px;display:inline-flex}.test-name-line{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.test-name-line>strong{min-width:0}.row-actions{flex:none;align-items:center;gap:5px;display:inline-flex}.order-controls button{color:#173653;background:#f3f7f9;border:1px solid #cbd9e0;border-radius:7px;min-width:28px;padding:6px 8px;font-size:14px}.order-controls button:disabled{cursor:not-allowed;opacity:.32}.delete-button{color:#a52b2b;background:#fff1f1;border:1px solid #edc4c4;padding:7px 9px;font-size:11px}.delete-button:hover{color:#fff;background:#b93636;border-color:#b93636}.delete-confirm-backdrop{z-index:110;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#230c0c94;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.delete-confirm{text-align:center;background:#fff;border:1px solid #efc2c2;border-radius:18px;width:min(460px,100%);padding:28px;animation:.18s ease-out save-notice-in;box-shadow:0 24px 80px #430e0e52}.delete-confirm-icon{color:#fff;background:#b93636;border-radius:50%;place-items:center;width:54px;height:54px;margin:0 auto 12px;font-size:32px;font-weight:800;display:grid}.delete-confirm-kicker{color:#b93636;letter-spacing:.08em;margin:0 0 7px;font-size:12px;font-weight:800}.delete-confirm h2{color:#481b1b;margin:0 0 12px}.delete-confirm>p:not(.delete-confirm-kicker){color:#624747;margin:0;line-height:1.6}.delete-confirm-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:24px;display:grid}.delete-confirm-actions button{min-height:42px}.danger-confirm{color:#fff;background:#b93636;border-color:#b93636}.danger-confirm:hover{background:#982929;border-color:#982929}@media (max-width:1050px){.catalog-editor{grid-template-columns:1fr 1fr}}@media (max-width:720px){.test-name-line{align-items:flex-start}.row-actions{width:100%}}.save-notice-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c1e2b8f;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.save-notice{text-align:center;background:#fff;border:1px solid #cfe1e9;border-radius:18px;width:min(520px,100%);padding:28px;animation:.18s ease-out save-notice-in;box-shadow:0 24px 80px #09233347}.save-notice-icon{color:#fff;background:#1c7c4c;border-radius:50%;place-items:center;width:52px;height:52px;margin:0 auto 12px;font-size:27px;font-weight:800;display:grid}.save-notice-kicker{color:#1c7c4c;letter-spacing:.14em;margin:0;font-size:11px;font-weight:800}.save-notice h2{color:#173653;margin:7px 0 18px;font-size:22px}.save-notice dl{text-align:left;border:1px solid #dce7ec;border-radius:12px;margin:0 0 20px;overflow:hidden}.save-notice dl div{border-bottom:1px solid #e4ecef;grid-template-columns:125px 1fr;gap:14px;padding:11px 13px;display:grid}.save-notice dl div:last-child{border-bottom:0}.save-notice dt{color:#667680;font-size:12px;font-weight:700}.save-notice dd{color:#18252e;margin:0;font-size:14px;font-weight:700;line-height:1.35}.save-notice button{width:100%}@keyframes save-notice-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (max-width:520px){.save-notice{padding:22px 18px}.save-notice dl div{grid-template-columns:1fr;gap:4px}}.security-screen{background:radial-gradient(circle at top,#f8fcfd 0,#e6eef2 55%,#dce7ec 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.security-card{text-align:center;background:#fff;border:1px solid #cfdee5;border-radius:20px;width:min(440px,100%);padding:30px;box-shadow:0 22px 70px #13364e2b}.security-card img{object-fit:contain;width:130px;height:72px;margin-bottom:10px}.security-kicker{color:#2177a5;letter-spacing:.16em;margin:0;font-size:11px;font-weight:800}.security-card h1{color:#173653;margin:7px 0 8px;font-size:25px}.security-card>p:not(.security-kicker){color:#667680;margin:0 0 22px;font-size:14px;line-height:1.45}.security-card form{text-align:left;gap:11px;display:grid}.security-card form button{width:100%;margin-top:3px}.security-card form button:disabled{cursor:wait;opacity:.7}.security-error{color:#a32b2b;background:#fff0f0;border-radius:8px;padding:10px 11px;font-size:12px;font-weight:700}.security-loading{color:#173653;font-weight:700}
