/* Order-form polish only: existing order, upload, and pricing behavior stays intact. */
#view-new .order-icon{width:22px;height:22px;flex:none;vertical-align:middle}
#view-new .card{border-color:#dce5ef;box-shadow:0 8px 30px #193c6010}
#view-new .order-step{--step-color:#2563a5;--step-soft:#eaf3ff;gap:10px;flex-wrap:wrap;padding:14px 16px;border:1px solid #dbe6f0;border-radius:14px;background:linear-gradient(110deg,var(--step-soft),#fff 78%);margin:28px 0 18px}
#view-new .order-step:first-child{margin-top:0}
#view-new .order-step-model{--step-color:#237a69;--step-soft:#e8f7f0}
#view-new .order-step-scan{--step-color:#6753a1;--step-soft:#f0ebfc}
#view-new .order-step-calendar{--step-color:#98630e;--step-soft:#fff5df}
#view-new .step-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:var(--step-soft);color:var(--step-color);border:1px solid color-mix(in srgb,var(--step-color) 18%,transparent)}
#view-new .order-step .sn{width:20px;height:20px;flex:none;border-radius:50%;background:var(--step-color);color:#fff;font-size:10px}
#view-new .order-step h3{font-size:16px;margin:0}
#view-new .field select{width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fdfcf9;color:var(--ink);font:inherit;font-size:14px}
#view-new #archSeg{gap:6px;background:#eef3f8;padding:5px;border:1px solid #dce5ef;max-width:100%}
#view-new #archSeg button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:49px;padding:11px 18px;color:#40566c}
#view-new #archSeg button .order-icon{width:25px;height:25px;color:#398374}
#view-new #archSeg button.on{background:#153a5a;color:#fff;box-shadow:0 3px 8px #193c6020}
#view-new #archSeg button.on .order-icon{color:#a2ebd1}
#view-new #archSeg button:hover:not(.on){background:#fff}
#view-new #partnerPriceNote{border:1px solid #c9e6db!important;background:#f0faf5!important;border-radius:12px!important;color:#245a48!important}
#view-new .drop{border-color:#b7abda;background:linear-gradient(140deg,#f5f2fd,#f8fbff);padding:25px 20px;border-radius:16px}
#view-new .upload-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:0 auto 12px;background:#ebe5fa;color:#6753a1;border:1px solid #d7cdee;border-radius:16px}
#view-new .upload-icon .order-icon{width:29px;height:29px}
#view-new .drop:hover{border-color:#6753a1;background:#f0ebfc}
#view-new .drop.over{border-color:#237a69;background:#e8f7f0}
#view-new .order-summary{border-color:#d3e3f0;background:#f3f8fd}
#view-new .order-summary-head b{display:flex;align-items:center;gap:9px}
#view-new .order-summary-head .order-icon{color:#2563a5}
#view-new #ncSubmit{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:48px;width:100%;background:linear-gradient(110deg,#153a5a,#23639a)}
#view-new button:focus-visible,#view-new select:focus-visible{outline:3px solid #367daf;outline-offset:3px}
@media(max-width:640px){#view-new .order-step{padding:12px;gap:8px}#view-new .step-icon{width:32px;height:32px}#view-new .order-step h3{font-size:15px}#view-new #presetPick{width:100%;max-width:none!important;flex-basis:100%;margin:4px 0 0!important}#view-new #archSeg button{padding:10px 13px;gap:6px}#view-new .patient-id-note{flex-wrap:wrap}#view-new .order-summary-head{flex-wrap:wrap}#view-new .order-summary-head span{font-size:9px}}
@media(prefers-reduced-motion:reduce){#view-new .drop,#view-new #archSeg button{transition:none}}

#view-new #ncSubmit::before{content:"";width:20px;height:20px;flex:none;background:currentColor;clip-path:polygon(0 32%,100% 0,68% 100%,46% 56%,80% 20%,37% 47%)}
/* Illustrated arch choices: explicit names, selected state and per-arch quantities. */
#view-new #archSeg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;background:transparent;border:0;width:min(590px,100%)}
#view-new #archSeg button{position:relative;flex-direction:column;min-width:0;min-height:130px;padding:16px 18px;border:2px solid #dbe6ec;border-radius:16px;background:linear-gradient(145deg,#f5faff,#edf6f2);transition:transform .18s,border-color .18s;white-space:normal}
#view-new #archSeg button .order-icon{display:block;width:48px;height:48px;color:#248b79;stroke-width:1.5}
#view-new #archSeg button span{display:grid;gap:5px;text-align:center;font-size:15px;font-weight:750}
#view-new #archSeg button small{font-size:11px;font-weight:450;color:#62798b}
#view-new #archSeg button.on{border-color:#1d7869;background:linear-gradient(145deg,#154b57,#163952);box-shadow:0 5px 14px #16395218}
#view-new #archSeg button.on .order-icon{color:#9be5c9}
#view-new #archSeg button.on small{color:#c2dfdf}
#view-new #archSeg button.on::after{content:'✓';position:absolute;top:8px;right:9px;color:#a2ebd1;font-weight:800}
#view-new #archSeg button:hover{transform:translateY(-2px);border-color:#248b79}
#view-new #stlStage{height:320px}
.stl-preview-toolbar{position:absolute;top:0;left:0;right:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:linear-gradient(#0d2136f5,#0d2136b0);color:#edf4ff;font-size:11px}
.stl-preview-toolbar button{flex:none;padding:7px 10px;border:1px solid #90afcf;border-radius:8px;background:#173952;color:white;cursor:pointer;font-size:11px}
#stlStage .hint{pointer-events:none;background:#0d2136c9;color:#c2d2e1;padding:6px;border-radius:6px;letter-spacing:0;font-family:var(--font);font-size:11px;max-width:calc(100% - 28px);z-index:2}
@media(max-width:640px){#view-new #archSeg{gap:6px}#view-new #archSeg button{padding:12px 8px;min-height:120px}#view-new #archSeg button .order-icon{width:40px;height:40px}#view-new #archSeg button small{font-size:10px}.stl-preview-toolbar{align-items:flex-start;gap:6px}}
@media(prefers-reduced-motion:reduce){#view-new #archSeg button{transition:none}#view-new #archSeg button:hover{transform:none}}

#view-new .arch-choice-panel{flex:1 1 420px;min-width:0;max-width:590px;width:100%}#view-new #archSeg{width:100%}.stl-preview-toolbar>span{min-width:0;overflow-wrap:anywhere}#stlStage canvas{max-width:100%}
/* Let uploaded filenames and field contents shrink inside the responsive form. */
.main{min-width:0}#view-new .field{min-width:0}#view-new .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#view-new .file-chip{min-width:0;flex-wrap:wrap}#view-new .file-chip .fn{min-width:0}#view-new .file-chip select{max-width:100%}
@media(max-width:640px){#view-new .form-grid{grid-template-columns:minmax(0,1fr)}#view-new .file-chip .fn{flex:1 1 calc(100% - 45px)}#view-new .file-chip .fs{margin-left:28px}#view-new .file-chip{gap:8px}}
@media(min-width:1100px){#view-new .form-grid.portal-source-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr)}}

#view-new #archSeg button .arch-model-art{display:block;width:100px;height:80px;object-fit:contain;filter:drop-shadow(0 3px 2px #17395212)}#view-new #archSeg button{min-height:160px}#view-new #archSeg button.on{background:linear-gradient(145deg,#e3f5ef,#eaf4fc);color:#173952}#view-new #archSeg button.on small{color:#416877}#view-new #archSeg button.on::after{color:#167a62}@media(max-width:640px){#view-new #archSeg button .arch-model-art{width:76px;height:62px}#view-new #archSeg button{min-height:145px}}
/* Form180: quieter section headings and one aligned model/quantity row. */
#view-new .order-step{padding:0;margin:24px 0 12px;border:0;border-top:1px solid #e2e9ed;padding-top:18px;border-radius:0;background:transparent;gap:9px}
#view-new .order-step:first-child{margin-top:0;padding-top:0;border-top:0}
#view-new .order-step .step-icon{display:none}
#view-new .order-step .sn{width:22px;height:22px;background:#e8f1f4;color:#295769;font-size:11px}
#view-new .order-step h3{font-size:16px}
#view-new .model-order-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,220px);align-items:start;gap:20px;margin:12px 0 0;max-width:850px}
#view-new .arch-choice-panel{width:auto;max-width:none}
#view-new #archSeg{gap:8px}
#view-new #archSeg button{flex-direction:row;justify-content:flex-start;gap:8px;min-height:82px;padding:10px 12px;border-width:1px;border-radius:11px;background:#f9fbfc;box-shadow:none}
#view-new #archSeg button .arch-model-art{width:62px;height:50px;filter:none}
#view-new #archSeg button span{text-align:left;font-size:13px;gap:3px}
#view-new #archSeg button small{display:none}
#view-new #archSeg button.on{border:2px solid #258674;padding:9px 11px;background:#edf7f3;box-shadow:none}
#view-new #archSeg button.on::after{top:5px;right:7px;font-size:11px}
#view-new #archSeg button:hover{transform:none;background:#f0f6f7}
#view-new .model-qty{background:transparent;border:0;padding:0;gap:10px;align-items:start;border-radius:0;margin:0}
#view-new .model-qty-field{min-width:0;flex:1}
#view-new .model-qty-field label{font-size:11px;line-height:1.4;margin-bottom:7px}
#view-new .model-qty-field input{height:44px;width:100%;font-size:15px}
#view-new #partnerPriceNote{background:transparent!important;border:0!important;padding:0!important;margin:12px 0 0!important;color:#295b51!important;font-size:13px!important}
#view-new .field label{line-height:1.4}
#view-new .field input,#view-new .field select{height:44px;min-height:44px;box-sizing:border-box;font-size:14px}
#view-new .field select{height:44px!important;min-height:44px!important;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#fdfcf9}
#view-new .drop{padding:18px 16px;background:#f7fafc;border-color:#ccdbe3;border-radius:12px}
#view-new .upload-icon{width:34px;height:34px;border-radius:9px;margin:0 auto 8px;background:#eaf2f6;border-color:#d8e5ec;color:#3f758d}
#view-new .upload-icon .order-icon{width:22px;height:22px}
#view-new .patient-id-note{background:#fff9ed;font-size:12px;padding:10px 12px;border-radius:9px}
@media(max-width:1100px){#view-new .model-order-controls{grid-template-columns:minmax(0,1fr)}#view-new .model-qty{max-width:300px}}
@media(max-width:640px){#view-new #archSeg button{flex-direction:column;justify-content:center;gap:4px;min-height:96px;padding:8px 6px}#view-new #archSeg button.on{padding:7px 5px}#view-new #archSeg button span{text-align:center}#view-new #archSeg button .arch-model-art{width:60px;height:48px}#view-new .model-order-controls{gap:12px}#view-new .order-step{margin-top:20px;padding-top:16px}}
/* Native select semantics, consistent visual height in Safari and Chrome. */
#view-new .field select{-webkit-appearance:none;appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6f7c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}
#view-new .model-qty-field label{white-space:nowrap;font-size:10px;letter-spacing:.02em}
/* Office-inspired ordering, while retaining Fit It My Way branding and portal safeguards. */
#view-new{font-family:'Outfit',var(--font),sans-serif;--navy-700:#173b65;--navy-500:#0963b3;--line:#cbdcf0}
#view-new .card{background:#fff;border:1px solid #c5d9f0;border-radius:17px;box-shadow:0 10px 26px #173b6510}
#view-new .portal-order-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;margin-bottom:20px;border:1px solid #d2e2f5;background:#f5f8fd;border-radius:12px}
#view-new .portal-order-steps button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px;color:#547296;font:650 12px 'Outfit',sans-serif;border-radius:8px}
#view-new .portal-order-steps button:first-child,#view-new .portal-order-steps button.on{background:#e2efff;color:#0963b3}
#view-new .portal-order-steps:has(button.on) button:first-child:not(.on){background:transparent;color:#547296}
#view-new .portal-order-steps button span{display:grid;place-items:center;width:20px;height:20px;border:1px solid #b9cee6;border-radius:50%;font-size:10px}
#view-new .order-step .sn{background:#e5f1ff;color:#0963b3}
#view-new .order-step h3{font-size:16px;font-weight:750;color:#173b65}
#view-new .field input,#view-new .field select,#view-new .field textarea,#view-new .model-qty-field input{font-family:'Outfit',sans-serif;border-color:#c5d9f0;background:#f1f6fc;border-radius:11px;color:#193953;font-size:14px}
#view-new .field input:focus,#view-new .field select:focus,#view-new .field textarea:focus,#view-new .model-qty-field input:focus{background:white;border-color:#2589ff;outline:2px solid #2589ff30;outline-offset:1px}
#view-new #archSeg button{background:#f1f6fc;border-color:#c4d9f1;border-radius:13px;min-height:94px;gap:6px}
#view-new #archSeg button .arch-model-art{width:100px;height:64px}
#view-new #archSeg button span{font-size:13px;font-weight:750;color:#173b65}
#view-new #archSeg button.on{background:#e5f1ff;border-color:#2589ff;box-shadow:inset 0 3px #2589ff}
#view-new #archSeg button.on::after{color:#0870ce}
#view-new #archSeg button:hover{background:#eaf3ff;border-color:#2589ff}
#view-new #ncSubmit{font-family:'Outfit',sans-serif;background:#0963b3;border-radius:12px;font-weight:750;box-shadow:0 5px 12px #0963b320}
#view-new #ncSubmit:hover{background:#075396}
#view-new .drop{border-color:#bfd7f1;background:#f4f8fe}
#view-new .upload-icon{color:#0870ce;border-color:#c5dcf7;background:#e5f1ff}
#view-new label{color:#4b6585}
@media(max-width:640px){#view-new #archSeg button .arch-model-art{width:80px;height:55px}#view-new #archSeg button{min-height:104px}#view-new .portal-order-steps button{font-size:11px;padding:6px 3px;gap:4px}}

#view-new #archSeg button .arch-model-art{width:90px;height:64px;object-fit:contain}#view-new #archSeg button .arch-pair-art{display:flex;align-items:center;justify-content:center;gap:3px;width:90px;height:64px;flex:none}#view-new #archSeg button .arch-pair-art .arch-model-art{width:44px;height:48px}@media(max-width:640px){#view-new #archSeg button .arch-model-art{width:80px;height:55px}#view-new #archSeg button .arch-pair-art{width:80px;height:55px}#view-new #archSeg button .arch-pair-art .arch-model-art{width:39px;height:44px}}

/*188:Both places the upper model above the lower model.*/
#view-new #archSeg button .arch-pair-art{flex-direction:column;gap:0}#view-new #archSeg button .arch-pair-art .arch-model-art{width:80px;height:38px}#view-new #archSeg button .arch-pair-art .arch-model-art:first-child{height:26px}@media(max-width:640px){#view-new #archSeg button .arch-pair-art .arch-model-art{width:70px;height:33px}#view-new #archSeg button .arch-pair-art .arch-model-art:first-child{height:22px}}

/* Appliance catalogue190: compact, named choices with consistent artwork. */
#appCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}#appCards .app-card{padding:12px;min-height:124px;border-radius:12px}#appCards .ic{height:44px;display:flex;align-items:center;justify-content:center}#appCards .ic img{width:82px;height:44px;object-fit:contain}#appCards .arch-pair-art{display:flex;gap:4px}#appCards .arch-model-art{width:52px;height:42px}#appCards .app-card.on{border-color:#087b71;background:#eef8f5;box-shadow:0 0 0 1px #087b71}#applianceFields{margin:14px 0}#applianceFields select,#applianceFields input{width:100%;min-height:44px} @media(max-width:640px){#appCards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/*198 — consistent portal spacing; no form, pricing, or account behavior changes. */
#appView{--space-1:8px;--space-2:12px;--space-3:16px;--space-4:24px;--space-5:32px;font-family:'Outfit',var(--font-b),sans-serif}
#appView .main{max-width:none;min-width:0;padding:32px clamp(24px,3.3vw,48px) 64px}
#appView .main>section,#appView .ordering-context{max-width:1120px;margin-left:auto;margin-right:auto}
#appView .ordering-context{padding:14px 16px;gap:12px;margin-bottom:24px;box-shadow:none}
#appView .topbar{align-items:center;gap:16px;margin-bottom:24px}
#appView .topbar .sub{line-height:1.6;max-width:760px}
#appView .card{padding:24px;border-radius:16px;box-shadow:0 3px 16px #173b6507}
#appView .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px;align-items:start}
#appView .form-grid>.field{margin:0;min-width:0}
#appView .field{margin-bottom:20px;min-width:0}
#appView .field label{line-height:1.5;margin-bottom:8px;letter-spacing:.055em;font-size:11px}
#appView .field input:not([type=checkbox]):not([type=radio]),#appView .field select{height:44px;min-height:44px;width:100%;padding:10px 12px;font:inherit;font-size:14px;border:1px solid #cbd8e4;border-radius:10px;background-color:#f8fafc;color:#193953;box-sizing:border-box}
#appView .field textarea{min-height:96px;resize:vertical;padding:12px;font:inherit;font-size:14px;line-height:1.6;border:1px solid #cbd8e4;border-radius:10px;background-color:#f8fafc;color:#193953}
#appView .field input:focus,#appView .field select:focus,#appView .field textarea:focus{background-color:white}
#appView .btn{min-height:44px;line-height:1.4;padding:11px 16px}
#appView .section-h{margin:28px 0 12px}
#appView .section-h h3{letter-spacing:.09em;line-height:1.5}
#appView .stat-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
#appView .stat{padding:18px;border-radius:14px;box-shadow:none}
#appView .stat:before{left:18px}.stat .l{line-height:1.5}
#appView .list-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,220px) auto;gap:12px;align-items:stretch;margin-bottom:20px}
#appView .list-toolbar input,#appView .list-toolbar select{width:100%;min-width:0;min-height:44px;font:inherit;font-size:14px;padding:10px 12px;border-radius:10px}
#appView .case-row{padding:20px;margin-bottom:12px;border-radius:14px;box-shadow:none}
#appView .case-top{gap:8px 12px;line-height:1.5}.case-app{flex-wrap:wrap;min-width:0}
#appView .case-name{overflow-wrap:anywhere}.case-tag{white-space:nowrap}
#appView .prodline{margin-top:18px}
#appView .empty{padding:28px 20px;line-height:1.6}
#appView .orders-empty{padding:32px 20px}
#view-new{font-family:inherit}
#view-new .portal-order-steps{margin-bottom:24px}
#view-new .order-step{margin:28px 0 16px;padding-top:22px;gap:10px}
#view-new .order-step-patient{margin-top:0;padding-top:0;border-top:0}
#view-new .order-step h3{font-size:16px;line-height:1.5}
#view-new .order-step #presetPick{min-height:38px;padding:8px 12px;border-radius:9px;max-width:220px!important}
#view-new .location-note{padding:10px 12px;margin:0 0 12px;border-radius:9px;background:#f1f6fc;color:#526b82;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
#view-new .patient-id-note{margin-bottom:0;line-height:1.6;gap:4px 8px}
#view-new #appCards{gap:12px;margin-bottom:20px}
#view-new #appCards .app-card{display:grid;grid-template-rows:48px auto 1fr;gap:6px;min-width:0;min-height:140px;padding:14px;border-radius:12px;transform:none}
#view-new #appCards .ic{height:48px;margin:0}
#view-new #appCards .ic img{width:90px;height:48px}
#view-new #appCards .arch-pair-art .arch-model-art{width:48px;height:42px}
#view-new #appCards b{margin:0;line-height:1.4;font-size:14px}
#view-new #appCards small{margin:0;font-size:12px;line-height:1.5}
#view-new #applianceFields:empty{display:none}
#view-new #applianceFields:not(:empty){margin:0 0 20px}
#view-new .model-order-controls{gap:20px;margin-top:0;max-width:none;grid-template-columns:minmax(0,1fr) minmax(170px,220px)}
#view-new #archSeg button{min-height:94px}
#view-new .model-qty{gap:12px;max-width:none;width:100%;margin:0}
#view-new #partnerPriceNote{margin-top:16px!important;line-height:1.6}
#view-new .portal-source-grid{align-items:end}
#view-new .portal-scan-note{margin:0 0 16px;line-height:1.6}
#view-new .drop{padding:24px 20px;line-height:1.6}
#view-new .drop small{margin-top:8px;line-height:1.6}
#view-new .file-chip{padding:12px;gap:10px;margin-top:12px}
#view-new .shipby{margin:0 0 16px;padding:16px;gap:12px;align-items:center}
#view-new .rush-row{padding:16px;gap:14px;margin:0 0 20px}
#view-new .order-summary{margin-top:20px}
#view-new .order-summary-head{padding:16px}
#view-new .order-summary-item{padding:14px 16px;min-width:0}
#view-new .order-summary-item b{overflow-wrap:anywhere}
#view-new #ncSubmit{max-width:100%!important;margin-top:20px!important}
#view-prefs .card>p{font-size:13px;color:var(--muted);line-height:1.65}
#view-prefs .card .form-grid:last-child{margin-bottom:0}
#view-prefs #clinicLocations details{margin-bottom:16px}
#view-prefs #clinicLocations summary{min-height:32px;line-height:1.5}
#view-prefs #addClinicLocation{margin-top:0;margin-bottom:8px!important}
#view-prefs #presetList:has(.empty){border:1px dashed var(--line);border-radius:12px}
#view-prefs #profileSaveStatus{margin:20px 0 12px;line-height:1.6}
#view-contact .card{margin-bottom:20px}
#view-contact .card h3{margin-bottom:12px}
#view-contact .card p{margin:12px 0;line-height:1.65}
#view-stmt>details{margin-top:24px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background-color:white}
#view-stmt>details>summary{cursor:pointer;font-weight:650;line-height:1.5}
#view-stmt>details>p{margin:12px 0 18px;line-height:1.6}
#drawer .drawer-h{padding:24px;gap:16px}
#drawer .drawer-body{padding:24px 24px 36px}
#drawer .file-chip{gap:10px;padding:12px}
@media(min-width:1100px){#view-new .portal-source-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr)}}
@media(max-width:1100px){#view-new .model-order-controls{grid-template-columns:minmax(0,1fr)}#view-new .model-qty{max-width:360px}}
@media(max-width:900px){#appView .main{margin-left:0;padding:24px 24px calc(152px + env(safe-area-inset-bottom))}#appView .rail{padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:4px}#appView .rail .nav-btn{margin:0;min-height:54px;padding:6px 3px;gap:5px;line-height:1.3}#appView .rail .nav-btn svg{width:19px;height:19px}}
@media(max-width:640px){#appView .main{padding:20px 16px calc(152px + env(safe-area-inset-bottom))}#appView .ordering-context{padding:12px;gap:10px;margin-bottom:20px}#appView .ordering-context .oc-lock{display:none}#appView .ordering-context span{font-size:12px;line-height:1.5}#appView .topbar{margin-bottom:20px}#appView .topbar h2{font-size:27px}#appView .topbar .sub{font-size:13px}#appView .card{padding:18px;border-radius:14px}#appView .form-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:16px}#appView .field{margin-bottom:16px}#appView .form-grid>.field{margin:0}#appView .field label{font-size:10.5px;letter-spacing:.04em}#appView .stat-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#appView .stat{padding:16px}#appView .stat:before{left:16px}#appView .list-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:10px}#appView .list-toolbar input{grid-column:1/-1}#appView .case-row{padding:16px}#appView .case-top{gap:8px}.pl-node{width:50px}.pl-node .pl-lbl{font-size:8px}#view-new .portal-order-steps{margin-bottom:20px}#view-new .order-step{margin-top:24px;padding-top:18px}#view-new .order-step-patient{margin-top:0;padding-top:0}#view-new #appCards{gap:10px}#view-new #appCards .app-card{padding:12px;min-height:148px}#view-new #appCards small{font-size:11px}#view-new #archSeg button{min-height:100px}#view-new .model-qty{max-width:none}#view-new .drop{padding:20px 14px}#view-new .order-summary-head,#view-new .order-summary-item{padding:12px}#drawer .drawer-h{padding:20px}#drawer .drawer-body{padding:18px 18px 32px}}
/* Keep a visible dropdown affordance after the shared field backgrounds. */
#appView .field select{-webkit-appearance:none;appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6f7c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}
@media(max-width:640px){#appView .field input:not([type=checkbox]):not([type=radio]),#appView .field select,#appView .field textarea,#appView .list-toolbar input,#appView .list-toolbar select,#view-new .model-qty-field input{font-size:16px;line-height:1.3}}
