/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)){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]){appearance:button}::file-selector-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{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.isolate{isolation:isolate}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.\!inline{display:inline!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.line-through{text-decoration-line:line-through}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#17211d;font-synthesis:none;text-rendering:optimizelegibility;--ink:#17211d;--muted:#69756f;--line:#dfe5e2;--surface:#fff;--accent:#176b50;--accent-dark:#10523d;--accent-pale:#e8f4ef;background:#f3f5f4;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 85% -10%,#e8f0ed 0,#0000 26rem),#f3f5f4;min-width:320px;min-height:100vh;margin:0}body,dialog,[popover]{-webkit-user-select:none;user-select:none}input,textarea,[contenteditable]:not([contenteditable=false]){-webkit-user-select:text;user-select:text}img,a{-webkit-user-drag:none}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.app-header{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:20;background:#ffffffd1;border-bottom:1px solid #d7dedbe6;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:14px;height:74px;padding:0 34px;display:grid;position:sticky;top:0}.brand{align-items:center;gap:12px;display:flex}.brand-mark{background:var(--ink);color:#fff;border-radius:11px;place-items:center;width:38px;height:38px;font-family:Georgia,serif;font-size:18px;display:grid;box-shadow:0 4px 12px #17211d29}.brand>div:last-child{flex-direction:column;gap:1px;display:flex}.brand strong{letter-spacing:-.01em;font-size:14px}.brand span{color:var(--muted);font-size:11px}.app-header nav{background:#edf0ee;border-radius:13px;gap:3px;padding:5px;display:flex}.app-header nav button{color:#64706a;background:0 0;border:0;border-radius:9px;align-items:center;gap:7px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .16s;display:flex}.app-header nav button svg{width:17px;height:17px}.app-header nav button:hover{color:var(--ink)}.app-header nav button.active{color:var(--ink);background:#fff;box-shadow:0 1px 3px #161e1a1a,0 6px 18px #161e1a0f}.local-badge{color:#68746e;justify-self:end;align-items:center;gap:8px;font-size:12px;display:flex}.local-badge span{background:#39a676;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #e3f3eb}main{width:min(1480px,100% - 52px);margin:0 auto;padding:34px 0 52px}.card,.preview-shell{background:#fffffff0;border:1px solid #d9e0ddf0;border-radius:20px;box-shadow:0 1px 2px #19282108,0 14px 42px #1928210d}.prescription-layout,.settings-layout{grid-template-columns:minmax(570px,1.08fr) minmax(420px,.92fr);align-items:start;gap:26px;display:grid}.prescription-layout>.preview-shell,.medication-library-editor-card{align-self:start;position:sticky;top:94px}.prescription-layout{grid-template-columns:minmax(420px,.92fr) minmax(570px,1.08fr)}.prescription-layout>.preview-shell{grid-area:1/1}.prescription-layout>.editor-card{grid-area:1/2}.editor-card,.settings-card,.setup-editor-card{padding:31px}.section-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.section-heading.compact{align-items:center;margin-bottom:18px}.eyebrow{color:var(--accent);letter-spacing:.14em;text-transform:uppercase;margin-bottom:7px;font-size:10px;font-weight:750;display:block}h1,h2,p{margin-top:0}h1{letter-spacing:-.035em;margin-bottom:0;font-size:25px;font-weight:680;line-height:1.2}h2{letter-spacing:-.015em;margin-bottom:4px;font-size:16px}.section-heading p,.subsection-heading p,.settings-group-title p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.5}.patient-grid{grid-template-columns:82px minmax(0,1.6fr) minmax(145px,1fr);gap:16px;margin-bottom:19px;display:grid}.field{flex-direction:column;gap:7px;margin-bottom:19px;display:flex}.field-label{color:#46514c;font-size:12px;font-weight:650}.field-control{display:block;position:relative}.patient-name-field{min-width:0}.patient-name-ghost{white-space:pre;color:#8b9690;pointer-events:none;align-items:center;display:flex;position:absolute;inset:1px 14px;overflow:hidden}.patient-name-ghost>span{flex:none}.patient-name-typed{visibility:hidden}.patient-name-popup{z-index:12;border:1px solid var(--line);background:#fff;border-radius:12px;position:absolute;top:calc(100% + 7px);left:0;right:0;overflow:hidden;box-shadow:0 16px 36px #16231d24}.patient-name-options{overscroll-behavior:contain;max-height:220px;padding:5px;overflow-y:auto}.patient-name-matches-heading{color:var(--muted);padding:7px 8px 5px;font-size:11px;font-weight:600}.patient-name-options button+.patient-name-matches-heading{border-top:1px solid var(--line);margin-top:4px}.patient-name-options button{width:100%;color:var(--ink);text-align:left;overflow-wrap:anywhere;background:0 0;border:0;border-radius:7px;padding:8px;font-size:13px;display:block}.patient-name-options button:hover,.patient-name-options button[aria-selected=true]{background:var(--accent-pale);color:var(--accent-dark)}.patient-name-help{border-top:1px solid var(--line);color:var(--muted);padding:7px 9px;font-size:10px}.field input,.field select,.combobox>input{width:100%;height:43px;color:var(--ink);background:#fbfcfb;border:1px solid #d6ddda;border-radius:10px;outline:none;padding:0 13px;transition:border .15s,box-shadow .15s,background .15s}.field input:focus,.field select:focus,.combobox>input:focus,.medication-input input:focus,.advice-input input:focus,.advice-input textarea:focus{background:#fff;border-color:#56a386;box-shadow:0 0 0 3px #3289671c}.field-hint{color:#85908b;font-size:11px}.unit{color:#818c87;pointer-events:none;font-size:11px;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.field-control:has(.unit) input{padding-right:40px}.combobox{position:relative}.combobox>input{padding-right:42px}.combobox-toggle{color:#66716c;background:0 0;border:0;place-items:center;width:40px;height:43px;display:grid;position:absolute;top:0;right:0}.combobox-toggle svg{width:17px}.diagnosis-input-row{min-width:0}.combobox-options{border:1px solid var(--line);z-index:10;background:#fff;border-radius:12px;max-height:250px;padding:6px;position:absolute;top:calc(100% + 7px);left:0;right:0;overflow:auto;box-shadow:0 16px 36px #16231d24}.combobox-options button{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 11px;display:flex}.combobox-options button:hover{background:#eff6f3}.combobox-options button[aria-selected=true]{background:var(--accent);color:#fff}.combobox-options button[aria-selected=true] small{color:#e8f4ef}.combobox-options small{color:var(--muted);font-size:10px}.subsection-heading{border-top:1px solid #ebefed;justify-content:space-between;align-items:flex-end;gap:15px;margin-top:25px;margin-bottom:15px;padding-top:24px;display:flex}.prescription-section-nav{z-index:9;background:#edf4f0;border:1px solid #d8e4de;border-radius:11px;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:20px;padding:5px;display:grid;position:sticky;top:82px;box-shadow:0 3px 10px #1928210f}.prescription-section-nav button{color:var(--accent-dark);background:0 0;border:0;border-radius:7px;padding:9px 6px;font-size:12px;font-weight:650;line-height:18px}.prescription-section-nav button:hover,.prescription-section-nav button:focus-visible{background:#fff;box-shadow:0 1px 4px #1928211a}.prescription-section-nav button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.prescription-section-heading{scroll-margin-top:148px}.prescription-section-heading:focus{outline:none}.prescription-section-nav+.subsection-heading{border-top:0;margin-top:12px;padding-top:8px}.medication-editor-list,.setup-medications{flex-direction:column;gap:12px;display:flex}.medication-editor-card{background:#f7f9f8;border:1px solid #e2e8e5;border-radius:14px;padding:12px}.medication-card-heading{justify-content:space-between;align-items:center;min-height:28px;margin-bottom:8px;display:flex}.medication-card-heading .row-delete{height:30px}.medication-card-heading>div{align-items:center;gap:9px;display:flex}.medication-card-heading strong{color:#3f4b45;font-size:12px}.medication-card-heading .med-number{margin:0}.medication-heading-main{flex-wrap:wrap;min-width:0;position:relative}.medication-heading-label{align-items:center;gap:9px;display:flex}.duration-suggestion{color:#315e4c;overflow-wrap:anywhere;background:#edf6f2;border:1px solid #cfe0d9;border-radius:9px;margin-top:8px;padding:10px 12px;font-size:12px}.duration-suggestion small{margin-top:3px;display:block}.duration-suggestion>div{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.duration-suggestion button{color:var(--accent-dark);font:inherit;cursor:pointer;background:#fff;border:1px solid #cfe0d9;border-radius:6px;padding:6px 9px}.duration-suggestion .duration-apply-all{background:var(--accent-dark);color:#fff}.medication-fields{container:medication-fields/inline-size}.medication-primary-grid{grid-template-columns:84px minmax(0,1fr) 112px;grid-template-areas:"form brand strength""salt salt salt";gap:8px;display:grid}.medication-form-field{grid-area:form}.medication-brand-field{grid-area:brand}.medication-salt-field{grid-area:salt}.medication-strength-field{grid-area:strength}.medication-dosing-grid{gap:8px;margin-top:8px;display:grid}.medication-schedule-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.medication-details-grid{grid-template-columns:100px 145px minmax(0,1fr);gap:8px;display:grid}.medication-input{flex-direction:column;gap:4px;min-width:0;display:flex}.medication-input>span{color:#68746e;font-size:10px;font-weight:650}.medication-input input{background:#fff;border:1px solid #d7ddda;border-radius:8px;outline:none;width:100%;min-width:0;height:35px;padding:0 8px;font-size:14px}@container medication-fields (width>=900px){.medication-primary-grid{grid-template-columns:84px minmax(150px,1.1fr) 112px minmax(220px,1.8fr);grid-template-areas:"form brand strength salt"}}@container medication-fields (width>=680px){.medication-dosing-grid{grid-template-columns:repeat(4,minmax(0,1fr)) 100px 145px}.medication-schedule-grid,.medication-details-grid{display:contents}.medication-instruction-field{grid-column:1/-1}}@container medication-fields (width<=479px){.medication-details-grid{grid-template-columns:100px minmax(0,1fr)}.medication-details-grid>.medication-input:nth-child(2){max-width:180px}.medication-instruction-field{grid-column:1/-1}}@container medication-fields (width<=379px){.medication-primary-grid{grid-template-columns:84px minmax(0,1fr);grid-template-areas:"form brand""strength strength""salt salt"}.medication-strength-field{max-width:112px}.medication-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.empty-medications{color:#87918c;text-align:center;background:#fafbfa;border:1px dashed #d5dcda;border-radius:12px;place-items:center;min-height:88px;padding:20px;font-size:12px;display:grid}.empty-medications-button{width:100%;font:inherit;color:var(--accent-dark);cursor:pointer;font-size:13px;font-weight:650}.empty-medications-button:hover{border-color:var(--accent);background:var(--accent-pale)}.empty-medications-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.button{white-space:nowrap;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:12px;font-weight:650;display:inline-flex}.button svg,.icon-button svg,.row-delete svg{width:16px;height:16px}.button-primary{background:var(--accent);color:#fff;box-shadow:0 5px 14px #176b5033}.button-primary:hover{background:var(--accent-dark)}.button-secondary{background:var(--accent-pale);color:var(--accent-dark)}.prescription-add-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.prescription-add-actions .button{min-height:38px}.prescription-add-actions .prescription-add-library{width:38px;padding:0}.prescription-fields{border:0;min-width:0;margin:0;padding:0}.prescription-fields:disabled{opacity:.65}.header-end{justify-content:flex-end;align-items:center;gap:14px;min-width:0;display:flex}.account-actions{flex-shrink:0;gap:6px;display:flex;position:relative}.switch-staff{display:contents}.switch-staff-box{z-index:30;text-align:left;background:var(--surface);border:1px solid #d5e1dc;border-radius:14px;gap:12px;width:min(290px,100vw - 32px);padding:16px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 14px 34px #161e1a29}.switch-staff-box>strong{font-size:13px}.switch-staff-box .field{color:#46514c;margin:0;font-size:12px;font-weight:650}.switch-staff-error{color:#a04438;margin:0;font-size:12px}.switch-staff-actions{justify-content:flex-end;gap:8px;display:flex}.patient-identity{text-align:right;justify-self:end;min-width:0;max-width:320px}.patient-identity strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;display:block;overflow:hidden}.patient-identity span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:11px;display:block;overflow:hidden}.draft-controls{margin-bottom:20px}.draft-arrows{flex-shrink:0;align-items:center;gap:7px;display:flex}.draft-arrows>span{color:var(--muted);white-space:nowrap;font-size:12px}.draft-arrows .button{padding:9px 11px}.draft-arrows .button:disabled,.draft-actions .text-button:disabled{opacity:.45}.prescription-layout{padding-bottom:130px}.prescription-action-dock{bottom:max(14px, env(safe-area-inset-bottom));z-index:14;pointer-events:none;grid-template-columns:minmax(420px,.92fr) minmax(570px,1.08fr);gap:26px;width:min(1480px,100% - 52px);margin:0 auto;display:grid;position:fixed;left:0;right:0}.prescription-action-stack{grid-column:2}.prescription-action-bar{pointer-events:auto;background:#fff;border:1px solid #d8e4de;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;display:flex;box-shadow:0 4px 24px #17211d26}.prescription-action-bar .button:disabled{opacity:.45}.inline-reception-requests .button:disabled:not(.xray-send-confirmed),.request-dialog .button:disabled:not(.xray-send-confirmed){opacity:.45;box-shadow:none}.prescription-action-bar .draft-arrows{margin-left:0}.voice-talk-button{min-width:220px;min-height:48px;font-size:16px}.voice-talk-button:has(>.voice-talk-room){place-items:center;display:inline-grid}.voice-talk-button>.voice-talk-room{visibility:hidden;grid-area:1/1}.voice-talk-button:has(>.voice-talk-room)>span{grid-area:1/1}.voice-talk-button[data-state=listening]{background:#b42318;border-color:#b42318;animation:1.2s ease-in-out infinite voice-listening}.voice-talk-button[data-state=starting]{background:#b42318;border-color:#b42318}.voice-talk-button[data-state=working]{color:#1d2939;background:#fdb022;border-color:#fdb022}.prescription-action-bar .voice-talk-button:disabled{opacity:1}@keyframes voice-listening{0%,to{box-shadow:0 0 #b4231866}50%{box-shadow:0 0 0 9px #b4231800}}@media (prefers-reduced-motion:reduce){.voice-talk-button[data-state=listening]{animation:none}}.voice-send-countdown{z-index:160;max-width:calc(100vw - 32px);color:var(--ink);background:#fffaeb;border:3px solid #b54708;border-radius:14px;align-items:center;gap:18px;padding:14px 24px 14px 16px;display:flex;position:fixed;top:16px;left:50%;transform:translate(-50%);box-shadow:0 12px 36px #152a2933}.voice-countdown-number{color:#fff;background:#b54708;border-radius:50%;flex:none;place-items:center;width:72px;height:72px;font-size:44px;line-height:1;display:grid}.voice-countdown-text{gap:2px;font-size:22px;display:grid}.voice-countdown-text>strong{font-size:24px}.voice-countdown-stop{color:#8a4b08;margin-top:4px;font-size:20px;font-weight:800}@media print{.voice-send-countdown{display:none!important}}.voice-talk-button.voice-talk-person{min-width:170px}.prescription-action-bar .voice-talk-person[data-state=idle]:disabled{opacity:.45}.voice-mic-setup{background:#f2f7f4;border:2px solid #2f6b4f;border-radius:10px;gap:8px;padding:12px;font-size:15px;display:grid}.voice-mic-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.voice-mic-bar{background:#d8e4de;border-radius:7px;flex:none;width:160px;height:14px;overflow:hidden}.voice-mic-bar>span{background:#1d6b3a;height:100%;display:block}#voice-talk-launcher{display:contents}#patient-choose-launcher:empty{display:none}.voice-dock-note{border:2px solid;border-radius:10px;max-width:460px;padding:9px 14px;font-size:16px;font-weight:700;line-height:1.3}.voice-dock-note-done{color:#1d6b3a;background:#e7f6ec;border-color:#1d6b3a}.voice-dock-note-warn{color:#8a4b08;background:#fff4e5;border-color:#b54708}html:has(.prescription-action-dock){scroll-padding-bottom:140px}.draft-meta{color:var(--muted);align-items:center;gap:10px;margin-top:13px;font-size:11px;display:flex}.draft-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.text-button{color:var(--accent-dark);cursor:pointer;background:0 0;border:0;padding:5px 0;font-size:12px}.draft-menu{position:relative}.draft-menu-toggle{cursor:pointer;border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:6px;padding:5px 9px}.draft-menu>div{z-index:15;border:1px solid var(--line);background:#fff;border-radius:9px;width:210px;padding:5px;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 8px 24px #172e251c}.draft-menu>div button{text-align:left;background:0 0;border:0;border-radius:5px;width:100%;padding:11px;font-size:12px;display:block}.draft-menu button:hover{background:#f2f6f3}.danger-text{color:#a04438}.draft-print-note{color:var(--muted);margin:9px 0 0;font-size:11px}.draft-save-error{background:#fff3ef;border:1px solid #e7b6ae;border-radius:12px;margin-bottom:18px;padding:16px}.draft-save-error p,.draft-delete-confirm p{margin:8px 0;font-size:13px;line-height:1.5}.draft-delete-confirm{background:#fff7f5;border:1px solid #e7b6ae;border-radius:9px;margin-top:12px;padding:14px}button:disabled{cursor:default}.button-danger-quiet{color:#a04438;background:#fff0ee}.icon-button{background:var(--accent);color:#fff;border:0;border-radius:9px;place-items:center;width:35px;height:35px;padding:0;display:grid}.preview-shell{background:#e8ecea;border-color:#d8dfdc;padding:25px}.preview-title-row{justify-content:space-between;align-items:flex-end;margin-bottom:17px;display:flex}.preview-title-row h2{margin:0;font-size:18px}.paper-size{color:#66716c;background:#ffffff9e;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:650}.preview-stage{justify-content:center;align-items:flex-start;display:flex}.prescription-paper{color:#131817;background:#fff;width:100%;max-height:calc(100vh - 220px);position:relative;overflow:hidden;box-shadow:0 10px 30px #1b272124}.guide{z-index:1;color:#95a09b;text-transform:uppercase;letter-spacing:.1em;background:repeating-linear-gradient(135deg,#f0f3f2,#f0f3f2 5px,#e9eeec 5px 10px);font-size:8px;position:absolute}.guide-top{border-bottom:1px dashed #c8d2ce;place-items:center;display:grid;top:0;left:0;right:0}.guide-left{border-right:1px dashed #c8d2ce;place-items:center;display:grid;left:0}.guide-left span{white-space:nowrap;transform:rotate(-90deg)}.guide-right{opacity:.55;border-left:1px dashed #d4dbd8;right:0}.guide-bottom{opacity:.55;border-top:1px dashed #d4dbd8;bottom:0}.variable-text{z-index:2;color:#050505;font-size:clamp(7px,.88vw,12px);line-height:1.25;position:absolute}.patient-value,.date-value{white-space:nowrap;font-weight:600}.paper-patient-age{margin-left:6mm}.diagnosis-value{align-items:baseline;gap:.25em;max-width:65%;font-weight:650;display:flex}.diagnosis-label{white-space:nowrap;flex:none}.diagnosis-text{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.medication-block{display:block}.paper-medication-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:clamp(6.5px,.76vw,10px);line-height:1.3}.paper-medication-table td{vertical-align:top;overflow-wrap:anywhere;border:1px solid #89918d;padding:clamp(3px,.45vw,6px)}.paper-medicine-cell{width:44%}.paper-schedule-cell{width:33%}.paper-duration-cell{width:23%}.paper-medicine-identity{grid-template-columns:max-content max-content minmax(0,1fr);align-items:baseline;column-gap:.35em;display:grid}.paper-medicine-identity.no-form{grid-template-columns:max-content minmax(0,1fr)}.paper-medicine-number{font-weight:700}.paper-medicine-name{flex-wrap:wrap;gap:0 .35em;min-width:0;display:flex}.paper-medicine-name strong{font-weight:700}.paper-medication-salt{overflow-wrap:anywhere;margin-top:.15em}.paper-medication-salt,.paper-food-relation{font-size:.833333em;font-weight:400;line-height:1.2}.paper-schedule-cell,.paper-duration-cell{display:table-cell}.paper-schedule-cell>span,.paper-duration-cell>span{margin-bottom:.22em;display:block}.paper-schedule-cell>span:last-child,.paper-duration-cell>span:last-child{margin-bottom:0}.paper-schedule-cell b{font-weight:650}.paper-medication-instruction{margin-top:.3em;font-size:.88em;font-style:italic}.paper-advice-section{margin-top:calc(var(--instruction-gap-mm,6) * var(--instruction-mm,1mm));font-size:clamp(6.5px,.76vw,10px);line-height:1.55}.paper-advice-section:first-child{margin-top:0}.paper-instruction-group{display:flow-root}.paper-instruction-group+.paper-instruction-group{margin-top:calc(var(--instruction-gap-mm,6) * var(--instruction-mm,1mm))}.paper-instruction-group h3{margin:0 0 calc(2 * var(--instruction-mm,1mm));overflow-wrap:anywhere;break-after:avoid;font-size:1.07em;font-weight:700;line-height:1.4}.paper-pharmacy-group{border-radius:calc(1.5 * var(--instruction-mm,1mm));padding:calc(1.5 * var(--instruction-mm,1mm)) calc(2.5 * var(--instruction-mm,1mm));border:1.5px solid #000}.paper-pharmacy-group .paper-investigation-list{font-weight:650}.paper-investigation-list{gap:var(--instruction-mm,1mm);min-width:0;margin:0;padding:0 0 0 2em;list-style:outside;display:grid}.paper-investigation-list>li{white-space:pre-line;overflow-wrap:anywhere;break-inside:avoid;padding:0}.paper-investigation-list>li::marker{font-size:.7em}.paper-physiotherapy-region,.paper-physiotherapy-details{display:block}.paper-physiotherapy-region+.paper-physiotherapy-details{margin-top:0}.preview-legend{color:#69746f;justify-content:center;align-items:center;margin-top:15px;font-size:10px;display:flex}.legend-swatch{background:repeating-linear-gradient(135deg,#f0f3f2,#f0f3f2 3px,#e1e7e4 3px 6px);border:1px solid #cfd7d4;border-radius:3px;width:13px;height:13px;margin-right:7px}.setup-screen{flex-direction:column;display:flex}.setup-subnav{background:#e8eceacc;border:1px solid #dfe5e2;border-radius:13px;align-self:center;gap:4px;margin-bottom:20px;padding:5px;display:flex}.setup-subnav button{color:#69756f;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-width:142px;padding:10px 18px;font-size:12px;font-weight:650;display:flex}.setup-subnav button svg{width:17px;height:17px}.setup-subnav button.active{color:var(--ink);background:#fff;box-shadow:0 1px 3px #161e1a1a,0 5px 14px #161e1a0d}.setup-layout{grid-template-columns:310px minmax(0,1fr);align-items:start;gap:26px;display:grid}.diagnosis-list-card{padding:23px 18px 18px;position:sticky;top:108px}.diagnosis-list-card .section-heading{padding:0 6px}.diagnosis-list{flex-direction:column;gap:4px;display:flex}.diagnosis-library-list-card{flex-direction:column;max-height:calc(100vh - 132px);display:flex}.diagnosis-library-list-card>.section-heading,.diagnosis-library-list-card>.library-search{flex:none}.diagnosis-library-list{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding-right:4px;overflow-y:auto}.diagnosis-list>button{text-align:left;color:#334039;background:0 0;border:0;border-radius:11px;flex-direction:column;gap:4px;padding:12px 13px;display:flex}.diagnosis-list>button:hover{background:#f3f6f4}.diagnosis-list>button.active{color:var(--accent-dark);background:var(--accent-pale)}.diagnosis-list>button span{font-size:13px;font-weight:650;line-height:1.3}.diagnosis-list>button small{color:#85908b;font-size:10px}.empty-list{text-align:center;color:var(--muted);padding:32px 10px;font-size:12px}.empty-list button{color:var(--accent);background:0 0;border:0;font-weight:650}.library-search{flex-direction:column;gap:6px;margin:0 5px 14px;display:flex}.library-search span{color:#68746e;font-size:10px;font-weight:650}.library-search input{background:#fbfcfb;border:1px solid #d7ddda;border-radius:9px;outline:none;width:100%;height:39px;padding:0 11px}.library-search input:focus{background:#fff;border-color:#56a386;box-shadow:0 0 0 3px #3289671c}.medication-picker{background:#f4faf7;border:1px solid #bcd8cd;border-radius:14px;margin-bottom:16px;padding:14px;box-shadow:0 8px 24px #176b5014}.medication-picker-topline{grid-template-columns:1fr auto;align-items:end;gap:10px;display:grid}.medication-picker-topline .picker-search-field{flex-direction:column;gap:6px;display:flex}.medication-picker-topline .picker-search-field>span{color:#476158;font-size:10px;font-weight:700}.medication-picker-topline input{background:#fff;border:1px solid #bfcfc8;border-radius:9px;outline:none;width:100%;height:40px;padding:0 11px}.medication-picker-topline input:focus{border-color:#56a386;box-shadow:0 0 0 3px #3289671c}.picker-close{color:#68766f;background:0 0;border:0;height:40px;padding:0 8px;font-size:11px;font-weight:650}.medication-picker-options{flex-direction:column;gap:3px;max-height:225px;margin-top:9px;display:flex;overflow:auto}.medication-picker-options>button{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;display:flex}.medication-picker-options>button.active,.advice-picker-options>button:hover{background:#e3f2ec}.medication-picker-options>button>span:first-child{flex-direction:column;gap:3px;min-width:0;display:flex}.medication-picker-options strong{overflow-wrap:anywhere;font-size:12px}.medication-picker-options .picker-salt{color:#3d6153;font-size:10px}.medication-picker-options small{color:#78847e;font-size:10px}.picker-copy-label{color:var(--accent);flex:none;font-size:10px;font-weight:700}.picker-empty{color:#78847e;text-align:center;padding:15px 10px;font-size:11px}.picker-blank{width:100%;color:var(--accent-dark);background:#ffffffa6;border:1px dashed #a8c6ba;border-radius:9px;justify-content:center;align-items:center;gap:7px;margin-top:8px;padding:10px;font-size:11px;font-weight:700;display:flex}.picker-blank svg{width:15px;height:15px}.medication-library-list .library-salt{color:#3f6a59}.medication-library-list-card>.section-heading,.diagnosis-library-list-card>.section-heading{z-index:5;background:#fff;position:sticky;top:94px;box-shadow:0 -12px #fff,0 12px #fff}.diagnosis-library-list:focus-visible{outline-offset:4px;border-radius:10px;outline:2px solid #32896747}.diagnosis-library-list>button{scroll-margin-top:176px;scroll-margin-bottom:12px}.medication-library-list:focus-visible{outline-offset:4px;border-radius:10px;outline:2px solid #32896747}.medication-library-editor-card{max-height:calc(100vh - 146px);overflow:auto}.advice-library-list>button small{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4;display:-webkit-box;overflow:hidden}.advice-picker-options>button{align-items:flex-start}.advice-picker-options small{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;line-height:1.4;display:-webkit-box;overflow:hidden}.advice-editor-list{flex-direction:column;gap:12px;display:flex}.advice-editor-card{background:#f7f9f8;border:1px solid #dfe7e3;border-radius:14px;flex-direction:column;gap:12px;padding:16px;display:flex}.advice-card-heading{justify-content:space-between;align-items:center;gap:12px;min-height:30px;display:flex}.advice-card-heading>div{align-items:center;gap:9px;min-width:0;display:flex}.advice-card-heading>div>div{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.advice-card-heading strong{overflow-wrap:anywhere;font-size:12px}.advice-number{color:#737e78;background:#fff;border:1px solid #dce2df;border-radius:50%;flex:none;place-items:center;width:25px;height:25px;font-size:10px;font-weight:700;display:grid}.advice-category-pill{color:#37614f;letter-spacing:.05em;text-transform:uppercase;background:#e5f1ec;border-radius:5px;padding:3px 6px;font-size:8px;font-weight:750}.advice-input{flex-direction:column;gap:6px;min-width:0;display:flex}.advice-input>span{color:#68746e;font-size:10px;font-weight:650}.advice-input input,.advice-input textarea{resize:vertical;width:100%;min-width:0;color:var(--ink);background:#fff;border:1px solid #d7ddda;border-radius:8px;outline:none;padding:9px 10px}.advice-input input{height:39px;padding-top:0;padding-bottom:0}.advice-input textarea{min-height:64px;line-height:1.45}.prescription-advice-card{gap:9px}.prescription-internal-note{color:#66746d;background:#edf3f0;border-radius:8px;margin:0;padding:8px 10px;font-size:10px;line-height:1.45}.prescription-internal-note strong{color:#46564e}.advice-category-tabs{background:#f0f6f3;border-radius:9px;flex-wrap:wrap;gap:4px;margin:0 5px 14px;padding:4px;display:flex}.advice-category-tabs button{color:#69756f;background:0 0;border:0;border-radius:7px;flex:1;padding:8px 6px;font-size:11px;font-weight:650}.advice-category-tabs button[aria-selected=true]{color:var(--accent-dark);background:#fff;box-shadow:0 1px 3px #161e1a1a}.physiotherapy-selection-actions{flex-wrap:wrap;gap:14px;display:flex}.physiotherapy-selection-actions button{color:var(--accent-dark);background:0 0;border:0;padding:3px 0;font-size:11px;font-weight:650}.physiotherapy-modalities{flex-wrap:wrap;gap:7px;display:flex}.physiotherapy-chip{color:#69756f;cursor:pointer;background:#fff;border:1px solid #d7ddda;border-radius:8px;align-items:center;gap:6px;padding:7px 10px;font-size:11px;display:inline-flex}.physiotherapy-chip.selected{background:var(--accent-pale);color:var(--accent-dark);border-color:#bcd8cd}.physiotherapy-chip input{accent-color:var(--accent);margin:0}.physiotherapy-chip:has(input:disabled){opacity:.5;cursor:default}.med-number{color:#737e78;background:#fff;border:1px solid #dce2df;border-radius:50%;place-items:center;width:25px;height:25px;margin-bottom:7px;font-size:10px;font-weight:700;display:grid}.row-delete{color:#9c6b64;background:0 0;border:0;border-radius:8px;place-items:center;width:34px;height:39px;display:grid}.row-delete:hover{color:#a63f31;background:#fce9e6}.saved-indicator{color:#668073;border-top:1px solid #ebefed;align-items:center;gap:7px;margin-top:23px;padding-top:18px;font-size:11px;display:flex}.saved-indicator svg{width:14px;height:14px}.setup-placeholder{text-align:center;min-height:430px;color:var(--muted);place-content:center;display:grid}.setup-placeholder h2{color:var(--ink)}.diagnosis-editor-tabs{background:#eef3f0;border:1px solid #dce5e1;border-radius:11px;gap:4px;margin:2px 0 22px;padding:5px;display:flex}.diagnosis-editor-tabs button{color:#66736d;background:0 0;border:0;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:8px 12px;font-size:12px;font-weight:680;display:inline-flex}.diagnosis-editor-tabs button:hover{color:var(--ink)}.diagnosis-editor-tabs button[aria-selected=true]{color:var(--accent-dark);background:#fff;box-shadow:0 1px 3px #161e1a1a,0 5px 14px #161e1a0a}.diagnosis-editor-tabs button span{color:#48675a;background:#dce9e3;border-radius:10px;place-items:center;min-width:20px;height:20px;padding:0 6px;font-size:9px;display:grid}.modifier-setup{min-width:0}.modifier-setup-intro{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:17px;display:flex}.modifier-setup-intro h2{margin:1px 0 4px}.modifier-setup-intro p,.modifier-section-heading p{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.modifier-empty{text-align:center;background:#fafcfb;border:1px dashed #cfdad5;border-radius:14px;place-content:center;justify-items:center;gap:7px;min-height:180px;padding:32px;display:grid}.modifier-empty strong{font-size:14px}.modifier-empty p{max-width:430px;color:var(--muted);margin:0;font-size:11px;line-height:1.5}.modifier-empty button{background:var(--accent-pale);color:var(--accent-dark);border:0;border-radius:8px;margin-top:6px;padding:8px 11px;font-size:11px;font-weight:700}.modifier-workspace{grid-template-columns:210px minmax(0,1fr);align-items:start;gap:16px;display:grid}.modifier-tree-panel{background:#f7faf8;border:1px solid #dde6e2;border-radius:14px;min-width:0;padding:13px;position:sticky;top:94px}.modifier-panel-label{color:#74807a;letter-spacing:.08em;text-transform:uppercase;margin:0 2px 9px;font-size:9px;font-weight:750;display:block}.modifier-tree{flex-direction:column;gap:3px;display:flex}.modifier-tree-branch{min-width:0}.modifier-tree button{width:100%;min-width:0;padding:9px 8px 9px calc(8px + (var(--modifier-depth) - 1) * 13px);color:#45524c;text-align:left;background:0 0;border:0;border-radius:8px;flex-direction:column;align-items:flex-start;gap:3px;display:flex}.modifier-tree button:hover{background:#edf3f0}.modifier-tree button.active{background:var(--accent-pale);color:var(--accent-dark)}.modifier-tree button span{overflow-wrap:anywhere;max-width:100%;font-size:11px;font-weight:700}.modifier-tree button small{overflow-wrap:anywhere;color:#84908a;max-width:100%;font-size:8px;line-height:1.35}.modifier-editor-panel{background:#fbfcfb;border:1px solid #e0e6e3;border-radius:15px;min-width:0;padding:18px}.modifier-editor-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;display:flex}.modifier-editor-heading h3{overflow-wrap:anywhere;margin:0;font-size:16px}.modifier-editor-heading>div:last-child{align-items:center;gap:7px;display:flex}.modifier-editor-heading .button{padding:8px 10px}.modifier-editor-heading .button:disabled{opacity:.5;cursor:not-allowed}.modifier-fields-grid{grid-template-columns:minmax(0,1.25fr) minmax(120px,.75fr);gap:10px;display:grid}.modifier-printable-field{grid-column:1/-1}.modifier-options-grid{grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr);gap:10px;margin-top:10px;display:grid}.modifier-checkbox-option{cursor:pointer;background:#fff;border:1px solid #dce5e1;border-radius:10px;align-items:flex-start;gap:9px;min-height:59px;padding:10px 12px;display:flex}.modifier-checkbox-option input{accent-color:var(--accent);margin-top:2px}.modifier-checkbox-option span{flex-direction:column;gap:3px;display:flex}.modifier-checkbox-option strong{color:#44514b;font-size:10px}.modifier-checkbox-option small{color:#7d8983;font-size:9px;line-height:1.35}.modifier-select-field{flex-direction:column;gap:6px;min-width:0;display:flex}.modifier-select-field>span{color:#68746e;font-size:10px;font-weight:650}.modifier-select-field select{width:100%;min-height:39px;color:var(--ink);background:#fff;border:1px solid #d7ddda;border-radius:8px;outline:none;padding:0 10px;font-size:11px}.modifier-select-field select:focus{border-color:#56a386;box-shadow:0 0 0 3px #3289671c}.modifier-wording-preview{background:#edf5f1;border-left:3px solid #78aa96;border-radius:3px 9px 9px 3px;flex-direction:column;gap:4px;margin-top:11px;padding:10px 12px;display:flex}.modifier-wording-preview span{color:#63766d;letter-spacing:.07em;text-transform:uppercase;font-size:8px;font-weight:750}.modifier-wording-preview strong{color:#254d3d;overflow-wrap:anywhere;font-size:11px;line-height:1.45}.modifier-treatment-section{border-top:1px solid #e6ebe9;margin-top:18px;padding-top:17px}.modifier-section-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;display:flex}.modifier-section-heading h3{margin:0 0 3px;font-size:13px}.modifier-inherited-columns{grid-template-columns:1fr 1fr;gap:11px;display:grid}.modifier-inherited-list{flex-direction:column;gap:5px;display:flex}.modifier-inherited-item{cursor:pointer;background:#fff;border:1px solid #e0e6e3;border-radius:9px;align-items:flex-start;gap:8px;min-width:0;padding:8px 9px;display:flex}.modifier-inherited-item:has(input:not(:checked)){opacity:.6;background:#f5f6f5}.modifier-inherited-item input{accent-color:var(--accent);margin:2px 0 0}.modifier-inherited-item span{flex-direction:column;gap:2px;min-width:0;display:flex}.modifier-inherited-item strong,.modifier-inherited-item small{overflow-wrap:anywhere}.modifier-inherited-item strong{color:#405048;font-size:10px}.modifier-inherited-item small{color:#83908a;font-size:8px;line-height:1.35}.modifier-none{color:#87918c;margin:0;font-size:10px;line-height:1.45}.modifier-add-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.modifier-add-actions button{color:var(--accent-dark);background:#fff;border:1px solid #cfdfd8;border-radius:7px;align-items:center;gap:5px;padding:7px 8px;font-size:9px;font-weight:700;display:inline-flex}.modifier-add-actions button svg{width:12px;height:12px}.modifier-added-list{margin-top:10px}.modifier-added-list:empty{display:none}.modifier-no-additions{text-align:center;border:1px dashed #d8e0dc;border-radius:9px;padding:17px}.modifier-selector{background:linear-gradient(135deg,#f4f9f6,#f9fbfa);border:1px solid #d6e4de;border-radius:11px;margin:2px 0 16px;padding:10px 12px}.modifier-wording-reset{color:var(--accent-dark);background:#fff;border:0;border-radius:6px;margin-top:8px;padding:5px 7px;font-size:9px;font-weight:700;box-shadow:0 1px 3px #182e2417}.modifier-selector-tree{flex-direction:column;gap:8px;display:flex}.modifier-choice{align-items:flex-start;gap:10px;min-width:0;max-width:100%;display:flex}.modifier-chip{color:#54625c;letter-spacing:.01em;overflow-wrap:anywhere;background:#fff;border:1px solid #cfdad5;border-radius:15px;flex:none;max-width:100%;min-height:30px;padding:6px 10px;font-size:10px;font-weight:750}.modifier-chip:hover{color:var(--accent-dark);border-color:#9bbbab}.modifier-chip.active{border-color:var(--accent);background:var(--accent);color:#fff;box-shadow:0 3px 9px #176b5029}.modifier-chip:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.modifier-choice:has(>.modifier-child-choices)>.modifier-chip{max-width:40%}.modifier-child-choices{border-left:1px solid #cbdcd4;flex-wrap:wrap;align-items:flex-start;gap:6px;min-width:0;padding-left:10px;display:flex}.modifier-child-choices>.modifier-choice{flex-wrap:wrap;row-gap:6px}.settings-group{border-top:1px solid #e9edeb;padding:23px 0 4px}.settings-group-title{align-items:flex-start;gap:12px;margin-bottom:19px;display:flex}.settings-group-title>span{background:var(--accent-pale);width:27px;height:27px;color:var(--accent);border-radius:8px;place-items:center;font-size:9px;font-weight:750;display:grid}.settings-group-title h2{margin:2px 0 0}.settings-grid{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.position-settings{flex-direction:column;display:flex}.position-row{border-top:1px solid #edf0ef;grid-template-columns:minmax(112px,.9fr) 1fr 1fr;align-items:center;gap:14px;padding:12px 0;display:grid}.position-row:first-child{border-top:0;padding-top:0}.position-row>strong{color:#46514c;font-size:12px;font-weight:650}.position-row .field{margin-bottom:0}.backup-actions{flex-wrap:wrap;gap:10px;display:flex}.backup-actions .button{min-width:145px}.backup-file-input{display:none}.backup-help{color:var(--muted);margin:11px 0 0;font-size:10px;line-height:1.5}.backup-status{border-radius:9px;margin-top:12px;padding:10px 12px;font-size:11px;line-height:1.45}.backup-status.success{color:#286249;background:#eef8f3;border:1px solid #c9e2d7}.backup-status.error{color:#8f3f35;background:#fff2f0;border:1px solid #eccdc8}@media (max-width:1050px){.app-header{grid-template-columns:auto 1fr;padding:0 20px}.app-header nav{justify-self:end}.local-badge{display:none}.prescription-layout,.settings-layout,.prescription-action-dock{grid-template-columns:1fr}.prescription-layout>.preview-shell{position:static;top:auto}.prescription-layout>.preview-shell,.prescription-layout>.editor-card,.prescription-action-stack{grid-area:auto}.preview-shell{width:100%;max-width:720px;margin:0 auto}.prescription-paper{max-height:none}.modifier-workspace{grid-template-columns:1fr}.modifier-tree-panel{position:static}.modifier-tree{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}@media (max-width:720px){.app-header{flex-direction:column;align-items:stretch;gap:12px;height:auto;padding:14px 16px;display:flex}.brand{justify-content:center}.app-header nav{justify-self:stretch}.app-header nav button{flex:1;justify-content:center;padding:9px 8px}main{width:min(100% - 24px,1000px);padding-top:18px}.prescription-action-dock{width:calc(100% - 24px)}.prescription-action-bar{gap:8px;padding:8px}.prescription-action-bar>.button{padding:10px;font-size:12px}.editor-card,.settings-card,.setup-editor-card{padding:22px 18px}.prescription-section-nav{top:144px}.prescription-section-nav button{padding:9px 3px;font-size:11px}.prescription-section-heading{scroll-margin-top:210px}.patient-grid,.settings-grid,.setup-layout{grid-template-columns:1fr}.diagnosis-list-card{position:static}.diagnosis-library-list-card{max-height:none;display:block}.diagnosis-library-list{overscroll-behavior:auto;padding-right:0;overflow:visible}.medication-library-list-card>.section-heading,.diagnosis-library-list-card>.section-heading{top:144px}.diagnosis-library-list>button{scroll-margin-top:226px}.medication-library-editor-card{max-height:none;position:static;top:auto;overflow:visible}.modifier-workspace{grid-template-columns:1fr}.modifier-tree-panel{position:static}.modifier-tree{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.modifier-fields-grid,.modifier-options-grid,.modifier-inherited-columns{grid-template-columns:1fr}.modifier-printable-field{grid-column:auto}.modifier-section-heading{flex-direction:column}.modifier-add-actions{justify-content:flex-start}.modifier-setup-intro{flex-direction:column;align-items:stretch}.modifier-setup-intro .button{align-self:flex-start}.setup-subnav{align-self:stretch}.setup-subnav button{flex:1;min-width:0}.medication-picker-topline{grid-template-columns:1fr}.picker-close{justify-self:start;height:auto;padding:2px 0}.subsection-heading{flex-direction:column;align-items:stretch}.position-row{grid-template-columns:1fr 1fr}.position-row>strong{grid-column:1/-1}}@media print{html,body,#root,.app-shell{height:auto!important;min-height:0!important}body{background:#fff!important}.app-header,.editor-card,.preview-title-row,.preview-legend{display:none!important}main,.prescription-layout,.preview-shell,.preview-stage{width:auto!important;box-shadow:none!important;background:#fff!important;border:0!important;margin:0!important;padding:0!important;display:block!important}.prescription-layout>.preview-shell{position:static!important;top:auto!important}.prescription-paper{break-after:auto;break-inside:avoid;max-width:none!important;max-height:none!important;box-shadow:none!important}.guide{color:#0000!important;background:0 0!important;border:0!important}.variable-text{color:#000!important;font-size:10pt!important}.medication-block,.paper-medication-table{font-size:9pt!important}.paper-medication-table td{border-color:#000!important;padding:1.5mm!important}.paper-medication-salt,.paper-food-relation{font-size:7.5pt}.paper-advice-section{font-size:9pt!important}}.new-template-advice{margin-bottom:14px}.new-template-advice-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.organize-button{color:var(--accent-dark);cursor:pointer;background:#edf6f2;border:1px solid #cfdfd8;border-radius:7px;margin-top:6px;padding:6px 9px;font-size:11px;font-weight:650}.organize-button[aria-pressed=true]{background:var(--accent-dark);color:#fff}.medication-order-control{margin-bottom:12px}.order-help{color:var(--muted);margin:8px 0;font-size:11px;line-height:1.5}.order-list{flex-direction:column;gap:5px;max-height:60vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.order-list li{background:#fff;border:1px solid #dbe4df;border-radius:8px;align-items:center;gap:6px;padding:8px 5px;scroll-margin:5px;display:flex}.order-list li.order-drop-target{border-color:var(--accent);background:var(--accent-pale)}.order-list button{color:var(--accent-dark);cursor:pointer;background:#f4f8f6;border:1px solid #dbe4df;border-radius:5px;flex-shrink:0;width:28px;height:28px}.order-list .order-grip{cursor:grab;background:0 0;border:0;font-size:21px}.order-list .order-grip:active{cursor:grabbing}.order-list button:disabled{opacity:.3;cursor:default}.order-list button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.order-item-text{overflow-wrap:anywhere;flex:1;min-width:0}.order-item-text strong{font-size:11px;line-height:1.4;display:block}.order-item-text small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.order-arrows{gap:3px;display:flex}.order-announcement{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.diagnosis-library-list-card>.order-editor{flex-direction:column;min-height:0;display:flex}.order-editor .order-list{overscroll-behavior:contain;min-height:0}.order-help{flex-shrink:0}.template-update-launch{margin-top:14px}.template-update-launch p,.template-update-review p{color:var(--muted);font-size:12px;line-height:1.5}.template-update-launch button:disabled{opacity:.5;cursor:default}.template-update-review{background:#f5faf7;border:1px solid #cfe0d9;border-radius:12px;padding:18px}.template-update-review .section-heading{margin-bottom:10px}.template-update-fields{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid #dce7e0;border-radius:8px;margin:12px 0;padding:10px;font-size:12px;line-height:1.6}.template-update-list{flex-direction:column;gap:8px;max-height:55vh;display:flex;overflow-y:auto}.template-update-item{background:#fff;border:1px solid #cfe0d9;border-radius:9px;justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.template-update-item>span{overflow-wrap:anywhere;min-width:0}.template-update-item strong{font-size:12px;display:block}.template-update-item small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.template-update-item input{width:19px;height:19px;accent-color:var(--accent);cursor:pointer;flex-shrink:0}.template-update-difference{white-space:pre-wrap;margin-top:6px;font-size:11px;line-height:1.5;display:block}.diagnosis-base-wording{background:#f6f9f7;border:1px solid #dce5df;border-radius:9px;margin:0 0 18px;padding:12px}.diagnosis-base-wording p,.modifier-wording-settings p{color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.5}.modifier-wording-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0;display:grid}.modifier-wording-settings input{width:100%;min-width:0;height:39px;color:var(--ink);background:#fff;border:1px solid #d7ddda;border-radius:8px;padding:0 10px}@media (max-width:760px){.modifier-wording-settings{grid-template-columns:minmax(0,1fr)}}.replacement-setup{background:#fbfcf9;border:1px solid #dedfd5;border-radius:11px;margin-top:16px}.replacement-setup-heading{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;padding:13px;font-weight:650;display:flex}.replacement-setup-heading small{color:var(--muted);margin-left:9px;font-size:11px;font-weight:400}.replacement-setup-content{padding:0 13px 14px}.replacement-setup p{color:var(--muted);margin:0 0 12px;font-size:12px;line-height:1.5}.replacement-option-editor{background:#fff;border:1px solid #dce5df;border-radius:9px;margin-bottom:10px}.replacement-option-heading{align-items:center;gap:10px;padding:9px;display:flex}.replacement-option-heading>button:first-child{text-align:left;min-width:0;color:var(--ink);background:0 0;border:0;flex:1;padding:4px}.replacement-option-heading strong,.replacement-option-heading small{overflow-wrap:anywhere;display:block}.replacement-option-heading strong{font-size:12px}.replacement-option-heading small{color:var(--muted);margin-top:4px;font-size:11px}.replacement-option-fields{gap:10px;padding:0 12px 12px;display:grid}.replacement-option-fields>label{color:var(--muted);gap:5px;font-size:11px;font-weight:650;display:grid}.replacement-option-fields>label>input{width:100%;min-width:0;height:36px;color:var(--ink);background:#fff;border:1px solid #d7ddda;border-radius:7px;padding:7px 10px}.replacement-option-fields>.button{justify-self:start}.replacement-draft-note{color:#80591b;font-size:11px}.replacement-undo button{color:var(--accent-dark);background:#edf6f1;border:1px solid #cbded3;border-radius:6px;padding:7px 10px;font-size:11px;font-weight:650}.replacement-undo{background:#fffbf1;border:1px solid #dfcfb3;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;padding:10px;font-size:11px;line-height:1.5;display:flex}.replacement-undo span{overflow-wrap:anywhere}.replacement-undo button{flex-shrink:0}.medication-area-tabs{gap:5px;margin:-6px 0 18px;display:flex}.medication-area-tabs button{color:var(--accent-dark);cursor:pointer;background:#fff;border:1px solid #d5e3dc;border-radius:8px;padding:9px 14px;font-size:12px;font-weight:650}.medication-area-tabs button[aria-selected=true]{background:#e5f2eb;border-color:#a8cdbb}.salt-group-list-card{flex-direction:column;max-height:calc(100vh - 112px);display:flex;position:sticky;top:92px}.salt-group-list-card .diagnosis-list{overscroll-behavior:contain;min-height:0;overflow-y:auto}.salt-group-list-card>.section-heading,.salt-group-list-card>.library-search{flex-shrink:0}.salt-coverage,.salt-migration-review{background:#f7faf8;border:1px solid #d8e3dd;border-radius:9px;margin-bottom:16px;padding:13px}.salt-group-editor h1{overflow-wrap:anywhere}.salt-coverage p,.salt-migration-review p{color:var(--muted);margin:10px 0;font-size:12px;line-height:1.5}.salt-coverage-row{justify-content:space-between;align-items:center;gap:8px;margin:10px 0;display:flex}.salt-coverage strong{overflow-wrap:anywhere;font-size:12px;display:block}.salt-coverage small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.salt-coverage-picker>label{margin:8px 0;font-size:12px;display:block}.salt-coverage-picker>input{border:1px solid #d5dfd9;border-radius:7px;width:100%;padding:9px}.salt-coverage-options{max-height:270px;margin-top:10px;overflow-y:auto}.salt-coverage-options>label{border-bottom:1px solid #e1e8e3;justify-content:space-between;align-items:center;gap:12px;padding:10px 3px;display:flex}.salt-coverage-options input{width:17px;height:17px;accent-color:var(--accent);flex-shrink:0}@media (max-width:900px){.salt-group-list-card{max-height:360px;position:static}}.advice-category-field{max-width:220px}.advice-category-field select,.category-review-fields input,.category-review-fields select,.category-review-tools>input{color:#263b30;background:#fff;border:1px solid #d1dbd6;border-radius:8px;width:100%;min-height:36px;padding:7px 10px;font-size:13px}.advice-category-field select:focus,.category-review-fields input:focus,.category-review-fields select:focus,.category-review-tools>input:focus{outline-offset:1px;outline:2px solid #b3d4c5}.advice-category-review{margin-bottom:18px;padding:16px 20px}.advice-category-review>summary{cursor:pointer;color:var(--accent-dark);font-size:14px;font-weight:650}.advice-category-review>summary>span{color:#785520;background:#fff1d5;border-radius:10px;margin-left:10px;padding:3px 7px;font-size:11px}.advice-category-review>p{color:#68766f;font-size:12px}.category-review-tools,.category-review-fields{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;display:flex}.category-review-tools>input{flex:240px;width:auto}.category-review-tools>label{align-items:center;gap:8px;font-size:12px;display:flex}.category-review-tools input[type=checkbox],.category-review-location input{width:16px;height:16px;accent-color:var(--accent);flex-shrink:0;padding:0}.category-review-entry{border-top:1px solid #dce5df;padding:16px 0}.category-review-entry>strong{font-size:13px}.category-review-text{white-space:pre-wrap;margin:8px 0;font-size:13px}.category-review-note{color:#78613c;font-size:12px}.category-review-fields>label{color:#61736a;flex:180px;gap:5px;font-size:11px;display:grid}.category-review-fields>label:first-child{flex-grow:2}.category-review-entry details{margin:10px 0}.category-review-entry summary{cursor:pointer;color:var(--accent-dark);font-size:12px}.category-review-location{border-bottom:1px solid #edf0ee;justify-content:space-between;align-items:center;gap:12px;padding:8px;font-size:12px;display:flex}@media (max-width:480px){.prescription-section-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}.advice-patient-choices{gap:8px;display:grid}.treatment-choice-row{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.treatment-choice-label{color:#61736a;margin-right:3px;font-size:11px}.treatment-choice-row>button{color:var(--accent-dark);background:#fff;border:1px solid #ccdcd4;border-radius:16px;padding:5px 9px;font-size:11px;line-height:1.3}.treatment-choice-row>button[aria-pressed=true]{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff}.treatment-choice-row>button:disabled{opacity:.5;cursor:default}.treatment-choice-row>button:focus-visible,.choice-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.physiotherapy-option-family{flex-wrap:wrap;align-items:center;gap:7px;min-width:0;display:flex}.physiotherapy-option-family>.treatment-choice-row{border-left:2px solid #cfe2d8;padding-left:7px}.treatment-choice-setup{border-top:1px solid #dde7e1;padding-top:8px}.treatment-choice-setup>summary{cursor:pointer;color:var(--accent-dark);font-size:11px;font-weight:650}.treatment-choice-setup>p{color:#65756d;margin:9px 0;font-size:11px;line-height:1.5}.choice-link{color:var(--accent-dark);text-align:left;background:0 0;border:0;padding:3px 0;font-size:11px;font-weight:650}.choice-editor-fields{flex-wrap:wrap;align-items:end;gap:10px;margin:8px 0;display:flex}.choice-editor-fields>label{flex:180px}.choice-editor-fields label,.choice-option-editor>label{color:#61736a;gap:4px;font-size:11px;display:grid}.choice-editor-fields input,.choice-editor-fields select,.choice-option-editor input:not([type=checkbox]){color:#263b30;background:#fff;border:1px solid #d1dbd6;border-radius:7px;width:100%;min-width:0;padding:7px 9px;font-size:13px}.choice-option-editor{grid-template-columns:minmax(90px,.8fr) minmax(120px,1.8fr) auto auto;align-items:end;gap:8px;margin:8px 0;display:grid}.choice-option-editor>.choice-default{align-self:center;align-items:center;gap:4px;padding-top:12px;display:flex}.choice-default input{width:15px;height:15px;accent-color:var(--accent)}.choice-remove{color:#a05c52;background:0 0;border:0;padding:5px;font-size:18px}.advice-choice-config,.exercise-choice-config{border-top:1px solid #dde7e1;margin-top:10px;padding-top:8px}.exercise-choice-config>strong{font-size:12px}.exercise-choice-actions{flex-wrap:wrap;gap:14px;margin:6px 0;display:flex}.choice-wording-preview{white-space:pre-wrap}@media (max-width:600px){.choice-option-editor{grid-template-columns:minmax(0,1fr) auto}.choice-option-editor>label:not(.choice-default){grid-column:1/-1}.choice-option-editor>.choice-default{padding-top:0}}.prescription-layout .medication-editor-list,.prescription-layout .advice-editor-list{gap:6px}.prescription-row{overflow-anchor:none;background:#fff;border:1px solid #dbe5df;border-radius:9px;min-width:0;scroll-margin-top:145px}.prescription-row.expanded{background:#f7faf8;border-color:#a9ccbc}.prescription-row.drop-target{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-pale)}.prescription-row-heading{align-items:center;gap:6px;min-height:46px;padding:6px 50px 6px 6px;scroll-margin-top:145px;display:flex;position:relative}.prescription-row-toggle{min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:7px;padding:5px 2px;display:flex}.prescription-row-toggle:after{content:"";position:absolute;inset:0}.prescription-row-heading button:not(.prescription-row-toggle){z-index:1;position:relative}.prescription-row-toggle:hover{color:var(--accent)}.prescription-row-toggle strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12px;font-weight:680;overflow:hidden}.prescription-row-number{color:var(--muted);flex-shrink:0;font-size:11px}.prescription-row-detail{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.prescription-row-toggle svg{color:#77867e;flex:0 0 13px;width:13px;height:13px}.prescription-row.expanded>.prescription-row-heading .prescription-row-toggle svg{transform:rotate(180deg)}.prescription-row-actions,.prescription-row-end-actions{flex-shrink:0;align-items:center;gap:5px;display:flex}.prescription-row-end-actions{gap:10px;margin-left:auto}.prescription-row-heading button.row-delete{border-left:1px solid #e7ece8;border-radius:0 8px 8px 0;width:44px;height:auto;margin:0;position:absolute;inset:0 0 0 auto}.prescription-row .order-grip{color:#729083;cursor:grab;background:0 0;border:0;border-radius:5px;flex-shrink:0;width:20px;height:30px;padding:0;font-size:20px}.prescription-row .order-grip:active{cursor:grabbing}.prescription-row .order-arrows button{width:24px;height:27px;color:var(--accent-dark);background:#f6f9f7;border:1px solid #e1e9e5;border-radius:5px;padding:0;font-size:14px}.prescription-row button:disabled{opacity:.3;cursor:default}.prescription-row button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.prescription-row-body{border-top:1px solid #dfebe4;padding:12px}.prescription-row-body>.advice-editor-card{background:0 0;border:0;border-radius:0;padding:0}@media (max-width:600px){.prescription-row-heading{gap:4px}.prescription-row-detail{display:none}.prescription-row-end-actions{gap:5px}.prescription-row .order-arrows{display:none}}@media (max-width:1100px) and (min-width:701px){.app-header{grid-template-columns:auto auto minmax(0,1fr);gap:14px}.app-header nav button{padding:9px 10px}.app-header nav button svg{display:none}.header-end{gap:10px}.patient-identity{max-width:180px}}@media (max-width:880px) and (min-width:701px){.app-header:has(nav button+button) .patient-identity{display:none}}@media (max-width:700px){.app-header:has(.patient-identity){gap:8px;position:sticky}.patient-identity{text-align:left;max-width:none}.header-end{gap:8px}.account-actions{margin-left:auto}.patient-identity strong{font-size:13px}.patient-identity span{font-size:10px}.draft-arrows{margin-left:auto}.draft-meta{flex-wrap:wrap}.prescription-section-nav{top:174px}}@media print{.draft-save-error,.draft-controls,.patient-identity,.draft-settings,.prescription-action-dock,.top-notices{display:none!important}}.top-notices{z-index:150;pointer-events:none;justify-items:center;gap:10px;width:max-content;max-width:calc(100vw - 32px);display:grid;position:fixed;top:16px;left:50%;transform:translate(-50%)}:is(.receipt-scan-notice,.top-notice-below){width:max-content;max-width:calc(100vw - 32px);color:var(--ink);text-align:center;pointer-events:none;background:#fffaeb;border:2px solid #b54708;border-radius:12px;gap:4px;padding:14px 22px;font-size:20px;display:grid;box-shadow:0 12px 36px #152a2933}:is(.receipt-scan-notice,.top-notice-below).opened{background:#ecf7f0;border-color:#2f6b4f;font-size:26px}:is(.receipt-scan-notice,.top-notice-below) span{font-size:20px}.top-notice-below.opened{font-size:22px}.confirmation-dialog{border:1px solid var(--line);max-width:min(480px,100vw - 32px);color:var(--ink);border-radius:16px;margin:auto;padding:25px;box-shadow:0 20px 80px #152a2940}.confirmation-dialog::backdrop{background:#172b2659}.confirmation-dialog h2{font-size:20px}.confirmation-dialog p{margin:15px 0 22px;font-size:14px;line-height:1.6}.confirmation-dialog .backup-actions{justify-content:flex-end}@media print{.confirmation-dialog{display:none!important}}[lang=pa]{font-family:Noto Sans Gurmukhi,Gurmukhi MN,Raavi,sans-serif}@media screen{.paper-advice-section{--instruction-mm:calc(100cqw / var(--preview-paper-width))}.preview-single-page .preview-pages{width:100%;margin:0 auto;display:grid}.preview-single-page .preview-page{grid-area:1/1;min-width:0}.preview-single-page .preview-page[data-active=false]{visibility:hidden;pointer-events:none}.preview-single-page .prescription-paper{max-height:none;container-type:inline-size}.preview-single-page .variable-text{font-size:calc(352.778cqw / var(--preview-paper-width))}.preview-single-page .paper-medication-table,.preview-single-page .paper-advice-section{font-size:calc(317.5cqw / var(--preview-paper-width))}.preview-single-page .paper-medication-table td{padding:calc(150cqw / var(--preview-paper-width))}}@media screen and (min-width:1051px){.preview-single-page{--preview-warning-space:0px}.preview-single-page .preview-pages{width:min(100%, calc(max(180px, 100dvh - 250px - var(--preview-warning-space)) * var(--preview-page-ratio)))}}@media screen{.preview-content-focus{--preview-available-height:max(80px, calc(100dvh - 240px - var(--preview-warning-space,0px)));padding:16px}.preview-content-focus .preview-title-row{margin-bottom:12px}.preview-content-focus .preview-legend{margin-top:10px}.preview-content-focus .preview-pages{width:100%;height:var(--preview-available-height);overflow:hidden}.preview-content-focus .preview-page{justify-content:center;align-items:flex-start;height:100%;min-height:0;display:flex;overflow:hidden}.preview-crop{width:min(100%, calc(var(--preview-available-height) * var(--preview-crop-ratio)));aspect-ratio:var(--preview-crop-ratio);background:#fff;flex:none;position:relative;overflow:hidden}.preview-crop-sheet{width:var(--preview-sheet-width);height:var(--preview-sheet-height);transform-origin:0 0;transform:scale(var(--preview-crop-scale,1)) translate(var(--preview-crop-x), var(--preview-crop-y));position:absolute;top:0;left:0}.preview-content-focus .prescription-paper{width:var(--preview-sheet-width);height:var(--preview-sheet-height);box-shadow:none}.preview-content-focus .guide{display:none}}.authenticated-workspace[hidden]{display:none!important}.sign-in-shell{place-items:center;min-height:90vh;padding:24px;display:grid}.sign-in-card{width:min(440px,100%);padding:32px}.sign-in-card h1{margin-top:24px}.sign-in-card form{gap:18px;margin:24px 0;display:grid}.sign-in-card input{width:100%}.sign-in-login{display:contents}.shared-patient-picker{margin-bottom:18px}.patient-selector-dialog{border:1px solid #d5e1dc;border-radius:16px;width:min(820px,100vw - 24px);max-height:94dvh;margin:auto;padding:0;overflow:hidden}.patient-selector-dialog::backdrop{background:#14281e59}.patient-selector-content{box-sizing:border-box;flex-direction:column;max-height:94dvh;padding:14px;display:flex}.patient-selector-content>:not(.registered-patient-list):not(.patient-grid){flex-shrink:0}.patient-selector-content h2{margin:0;font-size:20px}.patient-selector-content .section-heading{margin-bottom:0}.patient-selector-tools{align-items:center;gap:12px;margin:10px 0 8px;display:flex}.patient-selector-tabs{gap:6px;display:flex}.patient-selector-tools .field{flex:1;min-width:0;margin:0}.patient-selector-tools input{width:100%}.registered-patient-list{flex:auto;min-height:0;max-height:60dvh;overflow:auto}.registered-patient{text-align:left;color:#1e3028;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #dce5e0;justify-content:space-between;gap:14px;width:100%;padding:12px;display:flex}.registered-patient:hover:not(:disabled),.registered-patient:focus-visible{background:#e8f4ed}.registered-patient small{color:#63716a;margin-top:4px;font-size:12px;display:block}.registered-patient-id{text-align:right;white-space:nowrap;font-size:12px}.patient-selector-paging{justify-content:space-between;align-items:center;gap:14px;margin-top:12px;font-size:13px;display:flex}.patient-selector-status{color:#52645b;margin:8px 0 0;font-size:11px}.patient-grid-dialog{width:min(1180px,100vw - 24px)}.patient-grid-summary{color:#44574d;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:0 0 10px;font-size:12px;display:flex}.patient-grid-legend{flex-wrap:wrap;gap:12px;display:flex}.patient-grid-legend>span{align-items:center;gap:4px;display:inline-flex}.patient-grid-legend i{border:1px solid var(--card-border);background:var(--card-background);width:19px;height:19px;color:var(--card-ink);border-radius:4px;place-items:center;font-style:normal;display:inline-grid}.patient-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:8px;min-height:0;padding:3px;display:grid;overflow-y:auto}.patient-grid>p{grid-column:1/-1}.patient-card,.patient-grid-legend i{--card-background:#edf5ff;--card-border:#b8cfe8;--card-ink:#285783}.patient-card.unprinted,.patient-grid-legend .unprinted{--card-background:#fff6d9;--card-border:#dec783;--card-ink:#775711}.patient-card.printed,.patient-card.physio,.patient-grid-legend .printed{--card-background:#e8f5e9;--card-border:#acd0b0;--card-ink:#286238}.patient-card{border:1px solid var(--card-border);background:var(--card-background);color:#182d24;cursor:pointer;text-align:left;min-width:0;min-height:82px;font:inherit;border-radius:9px;flex-direction:column;gap:4px;padding:8px 10px;display:flex}.patient-card,.patient-card.unprinted,.patient-card.printed,.patient-card.physio{transition:background-color .12s,box-shadow .12s,transform 80ms}.patient-card{--card-hover:#d4e6fb}.patient-card.unprinted{--card-hover:#fbe7a6}.patient-card.printed,.patient-card.physio{--card-hover:#cfe9d2}.patient-card:hover:not(:disabled){background:var(--card-hover);border-color:var(--card-ink);box-shadow:inset 0 0 0 1px var(--card-ink), 0 3px 10px #0000001f}.patient-card:active:not(:disabled){transform:scale(.96)}.patient-card:disabled:not(.opening),.registered-patient:disabled:not(.opening){opacity:.55}.patient-card.opening,.registered-patient.opening{background:var(--card-ink,#1e5a3f);border-color:var(--card-ink,#1e5a3f);color:#fff;opacity:1;cursor:progress;transition:none}.patient-card.opening .patient-card-details,.patient-card.opening .patient-card-footer,.registered-patient.opening small{color:#fff}.patient-card-opening{font-weight:700}.registered-patient:active:not(:disabled){background:#cfe9d9}.patient-card.current{outline-offset:1px;outline:2px solid #304d64}.patient-card:focus-visible{outline-offset:1px;outline:3px solid #254dbb}.patient-card-name{overflow-wrap:anywhere;font-size:13px;line-height:1.35}.patient-card-details{color:#3b4d45;overflow-wrap:anywhere;font-size:12px;line-height:1.35}.patient-card-footer{color:var(--card-ink);justify-content:space-between;align-items:center;gap:6px;margin-top:auto;font-size:12px;display:flex}.patient-card-symbol{font-size:17px;line-height:1}.free-mark{color:#fff;letter-spacing:.03em;background:#b42318;border-radius:4px;padding:1px 6px;font-weight:800;display:inline-block}.prescription-patient-place .free-mark{margin-left:8px}@media print{.free-mark{display:none}}@media (max-width:1000px){.patient-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:720px){.patient-selector-content{padding:12px}.patient-selector-tools{flex-wrap:wrap;gap:8px}.patient-selector-tabs{width:100%}.patient-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.registered-patient{flex-direction:column;gap:4px}.registered-patient-id{text-align:left}}@media (max-width:480px){.patient-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{.sign-in-shell,.shared-patient-picker,.patient-selector-dialog{display:none!important}}.patient-shared-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.request-dialog{color:#172b43;background:#fff;border:1px solid #d4dce6;border-radius:14px;width:min(1000px,100vw - 24px);max-height:calc(100dvh - 32px);margin:auto;padding:22px;overflow:auto}.request-dialog::backdrop{background:#13243880}.prescription-action-stack{pointer-events:auto;min-width:0}.physiotherapy-print-status{color:#175640;background:#e8f4ee;border-radius:10px;margin:0 0 6px;padding:8px 12px;font-size:13px}.physiotherapy-print-status.needs-attention{color:#794800;background:#fff3de}.physiotherapy-print-status button{color:inherit;margin-left:10px;font-weight:700;text-decoration:underline}.request-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.request-heading h2,.request-heading h3{margin:0 0 8px}:is(.request-dialog,.inline-reception-requests) small{color:#526174;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;display:block}.request-columns{grid-template-columns:1fr 1fr;gap:24px;margin-top:18px;display:grid}.request-columns>section{min-width:0}:is(.request-dialog,.inline-reception-requests) fieldset{border:0;min-width:0;margin:0;padding:0}:is(.request-dialog,.inline-reception-requests) label{gap:5px;margin:12px 0;font-size:13px;font-weight:600;display:grid}:is(.request-dialog,.inline-reception-requests) input:not([type=checkbox]),:is(.request-dialog,.inline-reception-requests) select,:is(.request-dialog,.inline-reception-requests) textarea{color:#172b43;width:100%;font:inherit;background:#fff;border:1px solid #b7c4d4;border-radius:7px;padding:9px}:is(.request-dialog,.inline-reception-requests) textarea{resize:vertical}.request-actions,.request-views{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.request-views label{align-items:center;gap:6px;display:flex}.request-views input{width:auto}.request-items{padding-left:22px}.request-items li{margin:12px 0}.request-items strong,.request-history strong{white-space:pre-wrap;overflow-wrap:anywhere}.request-items .button{margin-top:6px}.request-notice,.request-error,.request-success{border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.5}.request-notice{color:#604614;background:#fff5d8}.request-error{color:#852b2b;background:#ffeded}.request-success{color:#215536;background:#e9f6ed}.request-history{background:#eef4fc;border-radius:9px;margin:12px 0;padding:12px}.request-history.billed{background:#eaf5ec}.request-history.cancelled{background:#f1f2f4}.request-history ul{padding-left:20px}.request-history li{margin:8px 0}.request-actions{margin:12px 0}@media (max-width:680px){.request-columns{grid-template-columns:1fr}.request-dialog{padding:14px}}@media print{.request-dialog,.patient-shared-actions{display:none!important}}.request-dialog>section[aria-label=Request\ history]{border-top:1px solid #d4dce6;margin-top:28px;padding-top:18px}:is(.request-dialog,.inline-reception-requests) .request-xray-items fieldset{margin:12px 0;padding:12px}.request-existing-items{border-top:1px solid #d4dce6;margin-top:20px;padding-top:16px}.reception-xray-setup{border:1px solid #d4dce6;border-radius:10px;margin:16px 0;padding:14px}.reception-xray-setup summary{cursor:pointer;font-weight:700}.reception-xray-setup label{gap:6px;margin:10px 0;display:grid}.reception-xray-setup .request-views label{align-items:center;display:flex}.reception-xray-setup select{background:#fff;border:1px solid #b7c4d4;border-radius:7px;width:100%;padding:9px}.request-add-xray{border-top:1px solid #d4dce6;margin-top:18px;padding-top:12px}.request-add-xray>summary{cursor:pointer;margin-bottom:12px;font-weight:600}@media screen and (max-width:600px){.prescription-action-bar{flex-wrap:wrap}.prescription-action-bar .draft-arrows{flex-basis:100%;justify-content:center}.prescription-action-bar>.button{flex:1}.prescription-layout{padding-bottom:130px}}.request-xray-picker{position:relative}.request-xray-picker>input{min-height:52px}.request-xray-options{z-index:5;background:#fff;border:1px solid #ccd9d7;border-radius:8px;max-height:260px;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 8px 20px #183c3420}.request-xray-options button{text-align:left;background:#fff;width:100%;padding:12px;display:block}.request-xray-options button[aria-selected=true]{color:#fff;background:#176c59}.request-xray-options p{padding:12px}.request-clickable{cursor:pointer}.request-clickable:focus-visible{outline-offset:2px;outline:3px solid #176c59}.picker-shortcut-medicine{flex-direction:column;gap:3px;display:flex}.picker-shortcut-medicine+.picker-shortcut-medicine{margin-top:.6rem}.medication-safety-alerts{color:#6d4109;background:#fff7e7;border:1px solid #d99a39;border-left:3px solid #bd7209;border-radius:9px;margin:12px 0;padding:6px 9px;font-size:12px;line-height:1.4}.medication-safety-alerts>div+div{margin-top:3px}.medication-safety-alerts ul{margin:6px 0;padding-left:20px;font-size:12px}.medication-safety-alerts p{margin:5px 0;font-size:12px}.medication-safety-alerts small{margin-top:8px;font-size:11px;display:block}.medication-timing-notice{background:#edf4f0;border-radius:8px;margin:10px 0;padding:10px 12px;font-size:12px}.medication-sos-button,.medication-alert-jump{color:#6d4109;white-space:nowrap;background:#fff7e7;border:1px solid #d99a39;border-radius:7px;padding:5px 8px;font-size:11px;font-weight:700}.medication-sos-button:disabled{opacity:.65;cursor:default}.medication-dose-options{gap:3px;display:flex}.medication-dose-options button{min-height:30px;color:var(--ink);white-space:nowrap;background:#fff;border:1px solid #bfcfc8;border-radius:7px;padding:5px 7px;font-size:11px;font-weight:700}.medication-dose-options button[aria-pressed=true]{color:#245b45;background:#e4f3ec;border-color:#56a386}@media (max-width:600px){.prescription-row-heading:has(.medication-dose-options){flex-wrap:wrap}.prescription-row-actions:has(.medication-dose-options){flex-wrap:wrap;flex-basis:100%;padding-left:26px}}.inline-reception-requests{border-top:1px solid #d4dce6;margin-top:1.5rem;padding-top:1.25rem}.inline-reception-requests .request-columns{grid-template-columns:minmax(0,1fr)}.inline-reception-requests input,.inline-reception-requests textarea,.inline-reception-requests select{max-width:100%}@media print{.inline-reception-requests,#physiotherapy-send-action{display:none!important}}.medication-sos-button[aria-pressed=true]{color:#fff;background:#6d4109}.daily-archive{background:#eef5f1;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin:12px 2%;padding:12px 16px;font-size:12px;display:flex}.daily-archive strong,.daily-archive span{display:block}.daily-archive .button{flex-shrink:0}@media (max-width:680px){.daily-archive{flex-direction:column;align-items:stretch}}@media print{.daily-archive{display:none!important}}.settings-card .daily-archive{flex-wrap:wrap;margin:20px 0}.settings-card .daily-archive>div{flex-basis:100%}.prescription-days{margin-top:16px}.prescription-days-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.prescription-days-controls strong{margin-right:6px;font-size:13px}.prescription-days-controls .button{padding:8px 12px}.prescription-days-controls .active{color:#fff;background:#306d55}.prescription-days-controls input{width:110px;font:inherit;border:1px solid #cbd8d2;border-radius:8px;padding:8px}.prescription-days small{color:#62736a;margin-top:6px;font-size:11px;display:block}@media print{.prescription-days{display:none!important}}.weekly-badge{color:#76511b;white-space:nowrap;font-size:11px}.weekly-review{color:#86530f;margin:8px 0;font-size:12px}.xray-choices{flex-wrap:wrap;align-items:center;gap:10px 24px;margin:12px 0;display:flex}.xray-quick-options{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;display:flex}.xray-quick-options .button{min-height:38px;padding:8px 12px}.xray-anatomy-rows{flex-direction:column;gap:8px;margin-bottom:8px;display:flex}.xray-anatomy-row{flex-wrap:wrap;align-items:flex-start;gap:8px 40px;display:flex}.xray-anatomy-cluster{flex-wrap:wrap;gap:8px;max-width:100%;display:flex}.xray-anatomy-rows .button{min-height:38px;padding:8px 10px}.xray-related-options{background:#f0f5f3;border-radius:8px;flex-wrap:wrap;align-items:stretch;gap:6px;margin-bottom:8px;padding:8px;display:flex}.xray-related-options .button{white-space:normal;text-align:left;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;min-height:38px;padding:6px 10px}.xray-related-options .button small{color:inherit;font-size:10px;font-weight:400;display:block}.xray-summary-wording{overflow-wrap:anywhere;gap:3px;min-width:0;display:grid}.xray-summary-instructions{white-space:pre-wrap;overflow-wrap:anywhere;font-weight:500}.xray-request-area:focus{outline:none}.xray-choices .button{min-width:72px;min-height:42px}:is(.request-dialog,.inline-reception-requests) .request-xray-items .request-xray-row{background:#edf5f1;margin:6px 0;padding:0}.request-xray-summary{width:100%;min-height:42px;color:inherit;text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;font-size:13px;display:flex}.request-xray-summary:focus-visible{outline-offset:2px;outline:2px solid #176b55}.request-xray-detail{padding:0 12px 10px}.inline-reception-requests{border-top:0;margin:12px 0 18px;padding-top:0}.xray-issued-summary{color:#24563f;background:#edf6f0;border:1px solid #cde0d6;border-radius:9px;margin-bottom:12px;padding:10px 12px;font-size:13px}.xray-issued-summary :is(ul,ol){margin:4px 0 0;padding-left:22px}.inline-reception-requests .request-columns{margin-top:0}.inline-reception-requests h3{margin:0 0 8px}.inline-reception-requests .xray-choices{margin:8px 0}.inline-reception-requests .xray-choices .button{min-width:64px;min-height:36px;padding:7px 12px}.xray-choices .xray-side-choices .button{min-width:44px;padding-inline:12px}.inline-reception-requests .request-xray-instructions{margin:8px 0}.inline-reception-requests .request-actions{margin:8px 0 0}.request-xray-row-heading{align-items:stretch;display:flex}.request-xray-row-heading .request-xray-summary{flex:1;min-width:0}.request-xray-delete{color:#a15f54;cursor:pointer;background:0 0;border:0;border-left:1px solid #d4e2db;border-radius:0 9px 9px 0;flex:0 0 44px;align-self:stretch;place-items:center;min-height:42px;display:grid}.request-xray-delete svg{width:16px;height:16px}.request-xray-delete:hover{background:#f9e9e4}.request-xray-delete:focus-visible{outline-offset:-2px;outline:2px solid #a15f54}.request-xray-delete:disabled{cursor:not-allowed;opacity:.5}.prescription-row-static-heading{cursor:default}.prescription-row-static-heading:after{display:none}.prescription-row-static-heading:hover{color:var(--ink)}.prescription-patient-actions{justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;display:flex}.prescription-patient-selection{flex-wrap:wrap;align-items:center;gap:6px 12px;min-width:0;display:flex}.prescription-patient-place{color:var(--ink);overflow-wrap:anywhere;font-size:13px;font-weight:600}.prescription-patient-actions .draft-controls,.prescription-patient-actions .draft-meta{margin:0}.patient-identity-fields{grid-template-columns:82px minmax(0,1fr) 155px;gap:8px;display:grid}.patient-identity-fields .field{min-width:0;margin:0}.patient-identity-fields .field-label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:480px){.patient-identity-fields{grid-template-columns:68px minmax(0,1fr)}.patient-identity-fields>:last-child{grid-column:1/-1}}main:has(>.prescription-layout),.prescription-layout>.editor-card{padding-top:10px}.prescription-patient-actions .shared-patient-picker{margin-bottom:0}.xray-entry-choices{column-gap:12px}.xray-entry-choices .request-xray-picker{min-width:64px;max-width:100%;display:inline-grid}.xray-entry-choices .request-xray-picker>input,.xray-query-measure{font:inherit;grid-area:1/1;padding:9px 12px}.xray-query-measure{visibility:hidden;white-space:pre;border:1px solid #0000;max-width:320px;overflow:hidden}.xray-entry-choices .request-xray-picker>input{width:100%;min-width:0;min-height:38px}.xray-entry-choices>.xray-side-choices{flex-basis:100%}.xray-entry-choices .request-xray-options{width:max-content;min-width:100%;max-width:min(340px,100vw - 64px);right:auto}.xray-send-confirmed:disabled{opacity:1}.xray-pending-summary{color:#75450b;background:#fff3df;border:1px solid #e5b675;border-radius:9px;margin-bottom:12px;padding:10px 12px;font-size:13px}.xray-pending-summary :is(ul,ol){margin:4px 0 0;padding-left:22px}:is(.xray-pending-summary,.xray-issued-summary) ol{list-style:decimal}:is(.xray-pending-summary,.xray-issued-summary) ol li::marker{font-weight:800}.xray-choose-toggle{margin-bottom:8px}.xray-number{font-weight:800}.xray-request-area.voice-first .request-xray-summary{min-height:60px;font-size:26px}.xray-request-area.voice-first .xray-summary-instructions,.xray-request-area.voice-first :is(.xray-pending-summary,.xray-issued-summary){font-size:20px}.xray-request-area.voice-first :is(.xray-pending-summary,.xray-issued-summary) li+li{margin-top:4px}.xray-pending-summary .request-heading{flex-wrap:wrap;gap:8px;margin-bottom:4px}.xray-edit-actions{flex-wrap:wrap;gap:8px;display:flex}.xray-pending-summary .button{padding:5px 9px;font-size:12px}.setup-sync-fields{border:0;min-width:0;margin:0;padding:0}.shared-setup-status{margin-block:16px;padding:16px}.shared-setup-status p{margin-block:8px}@media print{.shared-setup-status{display:none!important}}.settings-layout.settings-compact{grid-template-columns:minmax(0,1fr);max-width:920px;margin:0 auto}.settings-extra{margin-top:16px}.settings-extra>summary,.paper-settings>summary{cursor:pointer;color:var(--accent-dark);font-weight:650}.settings-extra[open]>summary{margin-bottom:12px}.paper-settings>summary{font-size:17px}.shared-setup-status>details>summary{cursor:pointer}.settings-card .daily-archive>details{flex-basis:100%;margin-top:0}.printed-screen{grid-template-columns:minmax(300px,420px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.printed-list{padding:20px}.printed-list h2{margin:0 0 14px}.printed-filters{gap:0 10px;display:grid}.printed-rows{gap:6px;margin:0 0 12px;padding:0;list-style:none;display:grid}.printed-rows button{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:#fbfcfb;border:1px solid #e3e8e6;border-radius:12px;gap:3px;padding:10px 12px;display:grid}.printed-rows button.active{background:var(--accent-pale);border-color:#56a386}.printed-rows span{color:#5c6863;font-size:13px}.printed-meta{margin:0 0 10px;font-weight:650}.printed-empty{padding:20px}@media (max-width:900px){.printed-screen{grid-template-columns:1fr}}@media (max-width:480px){.app-header nav button{padding:9px 4px}.app-header nav button svg{display:none}}:root .prescription-layout .preview-content-focus .preview-title-row,:root .prescription-layout .preview-content-focus .preview-legend{display:none}@media screen and (min-width:1051px){:root .prescription-action-bar>.button-primary{border-radius:15px;min-width:300px;min-height:76px;padding:0 40px;font-size:28px}:root .prescription-action-bar>.button-primary svg{width:32px;height:32px}:root :is(#patient-choose-launcher>.button,.opd-draft-new){border-radius:13px;min-height:60px;padding:0 30px;font-size:21px}:root .voice-talk-button{min-width:0;min-height:38px;padding:0 14px;font-size:14px}:root .prescription-layout,:root .prescription-action-dock{grid-template-columns:minmax(0,1fr) minmax(600px,1fr)}:root .prescription-layout .preview-content-focus{--preview-available-height:max(80px, calc(100dvh - 126px - var(--preview-warning-space,0px)))}:root main:has(>.prescription-layout),:root .prescription-layout{padding-bottom:0}:root .prescription-layout>.editor-card{margin-bottom:250px}:root .prescription-layout>.preview-shell{top:84px}}.opd-screen .app-header{display:none}.opd-screen .sign-in-card form{position:relative}.sign-in-login.opd-saved-login{opacity:0;pointer-events:none;gap:18px;display:grid;position:absolute;top:0;left:0;right:0}.opd-screen .sign-in-card .button-primary{border-radius:13px;min-height:56px;font-size:20px}@media screen{.opd-screen body{padding-bottom:64px}}.opd-screen main,.opd-screen .prescription-action-dock{width:calc(100% - 32px)}.opd-screen .prescription-action-dock{bottom:70px}.opd-bar{z-index:30;border-top:1px solid var(--line);background:#fff;align-items:center;gap:14px;height:56px;padding:0 16px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 18px #17211d14}.opd-switch-off{color:#a04438;background:#fff0ee;border:1px solid #e3b8b1;border-radius:11px;align-items:center;gap:8px;height:40px;padding:0 18px;font-size:15px;font-weight:650;display:inline-flex}.opd-switch-off svg{width:20px;height:20px}.opd-switch-off:disabled{opacity:.5}.opd-bar-message{color:#a04438;font-size:14px;font-weight:600}.opd-signs{gap:10px;margin-left:auto;display:flex}.opd-sign{color:#4d5a54;background:#edf0ee;border-radius:11px;align-items:center;gap:9px;height:40px;padding:0 16px;font-size:15px;font-weight:650;display:inline-flex}.opd-sign.online,.opd-sign.plugged{color:#1d6a4a;background:#e3f3eb}.opd-sign.offline,.opd-sign.missing{color:#fff;background:#a04438}.opd-dot{background:currentColor;border-radius:50%;width:11px;height:11px}.opd-switching{z-index:200;text-align:center;color:#fff;background:#17211dd9;place-content:center;gap:10px;display:grid;position:fixed;inset:0}.opd-switching strong{font-size:30px}.opd-switching span{font-size:18px}@media screen{.opd-screen .prescription-layout .preview-content-focus{--preview-available-height:max(80px, calc(100dvh - 116px - var(--preview-warning-space,0px)))}}@media screen and (min-width:1051px){.opd-screen .prescription-layout>.preview-shell{top:10px}.opd-screen .prescription-section-heading,.opd-screen .prescription-row,.opd-screen .prescription-row-heading{scroll-margin-top:16px}}:root .prescription-section-nav{display:none}:root .prescription-section-heading{align-items:center}:root .prescription-section-heading h2{margin:0}:root .prescription-layout .empty-medications{display:none}:root .patient-identity-fields{grid-template-columns:82px minmax(0,1fr)}:root .patient-identity-fields>.field:has(input[type=date]),:root .prescription-layout .prescription-row :is(.order-grip,.order-arrows){display:none}:root .request-add-xray:has(>.xray-choose-toggle){flex-wrap:wrap;align-items:center;gap:8px;display:flex}:root .request-add-xray:has(>.xray-choose-toggle)>.xray-chooser{flex-basis:100%;order:1}:root .request-add-xray:has(>.xray-choose-toggle)>:is(.xray-choose-toggle,.request-actions){margin:0}.prescription-details{display:contents}.prescription-details[hidden],.opd-simple #reception-request-launcher{display:none}.opd-physio-unsent{background:#f7f9f8;border:1px solid #d6ddda;border-radius:9px;margin-bottom:12px;padding:10px 12px;font-size:13px}:root :is(.xray-pending-summary,.xray-issued-summary,.opd-physio-unsent) .xray-summary-instructions{white-space:pre-line}:root .opd-physio-lines{gap:6px;margin:8px 0 0;padding:0;list-style:none;display:grid}.bills-sent-heading{color:var(--ink);margin:0;font-size:20px;font-weight:800;display:inline}.request-sent :is(.xray-pending-summary,.xray-issued-summary,.opd-physio-unsent){font-size:20px}.request-sent :is(.xray-pending-summary,.xray-issued-summary,.opd-physio-unsent) .xray-summary-instructions{font-size:inherit}.request-sent :is(.xray-pending-summary,.xray-issued-summary) li+li{margin-top:4px}.request-sent .request-heading{align-items:center}.sent-lines{margin:0}.sent-line strong{font-weight:800}.request-delete-bin{color:#c46a5e;cursor:pointer;background:#fff7f6;border:1.5px solid #f0cfc9;border-radius:50%;flex:none;place-items:center;width:46px;height:46px;padding:0;display:grid}.request-delete-bin svg{width:24px;height:24px}.request-delete-bin:disabled{opacity:.45;cursor:default}:is(.request-delete-bin,.paper-delete){transition:background-color .1s,border-color .1s,color .1s,transform .1s}:is(.request-delete-bin,.paper-delete):is(:hover,:focus-visible):not(:disabled){color:#fff;background:#b42318;border-color:#b42318;transform:scale(1.12);box-shadow:0 2px 8px #b4231859}.row-delete:is(:hover,:focus-visible):not(:disabled){color:#fff;background:#b42318}.xray-sent-views>li:has(>.request-delete-bin:hover:not(:disabled)),.xray-sent-view:has(>.request-delete-bin:hover:not(:disabled)),.xray-sent-row:has(>.request-delete-bin:hover:not(:disabled))>.xray-pending-summary,:is(.xray-pending-summary,.xray-issued-summary,.opd-physio-unsent):has(>.request-heading .request-delete-bin:hover:not(:disabled)){color:#8f1d14;background:#fde3df;border-color:#b42318}.xray-sent-views>li:has(>.request-delete-bin:hover:not(:disabled))>span,.xray-sent-view:has(>.request-delete-bin:hover:not(:disabled)),.xray-sent-row:has(>.request-delete-bin:hover:not(:disabled))>.xray-pending-summary ol,:is(.xray-pending-summary,.xray-issued-summary,.opd-physio-unsent):has(>.request-heading .request-delete-bin:hover:not(:disabled)) :is(ol,.sent-lines){text-decoration:line-through;text-decoration-thickness:2px}.paper-delete-target{z-index:0;pointer-events:none;background:#b4231824;border:2px solid #b42318;border-radius:6px;position:absolute}.xray-sent-row{align-items:flex-start;gap:10px;display:flex}.xray-sent-row>.xray-pending-summary{flex:1;min-width:0}.xray-sent-views{margin:4px 0 0;padding:0;list-style:none}.xray-sent-views>li{border-radius:8px;align-items:center;gap:12px;margin-top:10px;padding:3px 6px 3px 18px;display:flex}.xray-sent-views>li>span{min-width:6.5em}.xray-sent-views>li{position:relative}.xray-sent-views>li:before{content:"";pointer-events:none;border-bottom:2px solid #d9a865;border-left:2px solid #d9a865;border-bottom-left-radius:6px;width:22px;position:absolute;top:-10px;bottom:50%;left:-16px}.xray-sent-views>li:first-child:before{top:-6px}.xray-sent-views>li:not(:last-child):after{content:"";pointer-events:none;border-left:2px solid #d9a865;position:absolute;top:50%;bottom:0;left:-16px}.xray-sent-view{align-items:center;gap:12px;display:inline-flex}.request-delete-bin.xray-view-bin{width:36px;height:36px}.xray-side-switch{vertical-align:middle;border:1px solid #d8c3a5;border-radius:9px;margin-left:12px;display:inline-flex;overflow:hidden}.xray-side-switch>button{color:#c2ab8c;min-width:64px;min-height:36px;font:inherit;cursor:pointer;background:#fff;border:0;padding:0 12px;font-weight:700}.xray-side-switch>button+button{border-left:1px solid #d8c3a5}.xray-side-switch>button[aria-pressed=true]{background:var(--accent);color:#fff;cursor:default}.xray-side-switch>button[aria-pressed=true][title]:hover:not(:disabled){background:var(--accent-dark);cursor:pointer}.xray-side-switch>button[aria-pressed=false]:hover:not(:disabled){background:var(--accent-pale);color:var(--accent-dark)}.xray-side-switch>button:disabled{opacity:.55;cursor:default}.request-delete-bin.xray-view-bin svg{width:19px;height:19px}.request-xray-items.nudge{outline-offset:4px;border-radius:10px;outline:3px solid #c0392b;animation:.5s ease-in-out 2 xray-nudge}@keyframes xray-nudge{0%,to{transform:translate(0)}20%{transform:translate(-10px)}40%{transform:translate(10px)}60%{transform:translate(-6px)}80%{transform:translate(6px)}}@media (prefers-reduced-motion:reduce){.request-xray-items.nudge{animation:none}}.xray-nudge-note{color:#a04438;flex-basis:100%;margin:4px 0 0;font-size:18px;font-weight:700}.opd-physio-options{flex-wrap:wrap;gap:8px;display:flex}.opd-physio-option{color:#4b5853;cursor:pointer;background:#fff;border:1px solid #c9d3cf;border-radius:999px;align-items:center;gap:6px;min-height:38px;padding:0 14px;font-size:14px;font-weight:600;display:inline-flex}.opd-physio-option.on{color:#1f6a49;background:#e5f4ec;border-color:#9fcdb7}.opd-physio-option.no{color:#a04438;background:#fff0ee;border-color:#e3b8b1}.opd-physio-option:disabled{opacity:.45;cursor:default}.opd-line-actions{flex:none;align-items:center;gap:8px;display:inline-flex}.opd-advice{margin-top:14px}.opd-advice ol{gap:6px;margin:6px 0 0;padding:0;list-style:none;display:grid}.opd-advice li{background:#f7f9f8;border:1px solid #d6ddda;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:6px 6px 6px 12px;display:flex}.opd-simple .prescription-days{margin-top:14px}:root .prescription-layout .preview-page{position:relative}.paper-editor{pointer-events:none;z-index:2;position:absolute;inset:0}.paper-editor button,.paper-strip,.paper-inline,.paper-diagnosis-empty{pointer-events:auto}.paper-line{cursor:pointer;background:0 0;border:2px solid #0000;border-radius:8px;padding:0;position:absolute}.paper-line:hover{background:#2f6b4f0d;border-color:#b9cdc4}.paper-line.open{background:#56a3861a;border-color:#56a386}.paper-line-diagnosis:hover{background:0 0;border-color:#0000}::highlight(paper-word-hover){background-color:#fff3c4}::highlight(paper-delete-strike){color:#b42318;-webkit-text-decoration:line-through #b42318;text-decoration:line-through #b42318;text-decoration-thickness:2px}@media print{::highlight(paper-word-hover){background-color:#0000}::highlight(paper-delete-strike){color:inherit;text-decoration:none}}.paper-delete{z-index:1;color:#c46a5e;cursor:pointer;background:#fff7f6;border:1.5px solid #f0cfc9;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;box-shadow:0 1px 4px #17211d26}.paper-delete svg{width:55%;height:55%}.paper-delete:disabled{opacity:.45;cursor:default}.paper-version{z-index:1;text-overflow:ellipsis;color:#6b4e00;white-space:nowrap;cursor:pointer;background:#fff3b0;border:2px dashed #c99a06;border-radius:999px;min-height:26px;padding:0 10px;font-size:13px;font-style:italic;font-weight:650;position:absolute;overflow:hidden;transform:translateY(-50%);box-shadow:0 1px 4px #17211d26}.paper-version:is(:hover,:focus-visible):not(:disabled){color:#3d2c00;background:#ffe066;border-style:solid}.paper-version:disabled{opacity:.45;cursor:default}.paper-diagnosis-empty{align-items:center;gap:8px;display:flex;position:absolute}.paper-line-add{color:#2f6b4f;cursor:pointer;background:#fff;border:2px dashed #9fbcae;border-radius:9px;min-height:40px;padding:0 16px;font-size:16px;font-weight:650}.paper-line-add.open{border-style:solid;border-color:#56a386}.paper-strip{z-index:3;background:#fff;border:1px solid #b9cdc4;border-radius:12px;gap:10px;padding:12px;display:grid;position:absolute;box-shadow:0 8px 28px #17211d33}.paper-strip-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.paper-inline{z-index:3;font-size:var(--paper-font-size);font-family:var(--paper-font-family);font-weight:var(--paper-font-weight);background:#fff;border-radius:8px;padding:3px;position:absolute}.paper-inline .field{margin:0}.paper-inline .field-label{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.paper-inline :is(input,select){color:#050505;height:auto;min-height:0;font:inherit;text-transform:uppercase;background:#fff;border:2px solid #56a386;border-radius:6px;padding:.15em .3em;box-shadow:0 4px 16px #17211d26}.paper-inline select{text-transform:none;padding-right:1.2em}.paper-inline .patient-identity-fields{grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:6px}.paper-inline .combobox>input{padding-right:1.6em}.paper-inline .combobox-toggle{width:1.4em}.paper-inline .button{min-height:0;padding:.2em .7em;font-size:14px}.paper-words{text-transform:uppercase;padding:.1em .3em;line-height:1.5}.paper-word{color:#050505;font:inherit;text-transform:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:0 .08em}.paper-word:hover{background:#fff3c4}.paper-word.picked{background:#ffd666;box-shadow:0 0 0 2px #e0a800}.paper-word-actions{border-top:1px solid #d6ddda;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;padding-top:8px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;font-weight:600;display:flex}.paper-word-actions .button{min-height:38px;padding:0 14px;font-size:15px}.paper-word-actions .paper-word-delete:not(:disabled){color:#a04438;background:#fff0ee;border-color:#e3b8b1}.paper-word-actions input{width:11em;min-height:38px;font:inherit;text-transform:uppercase;box-shadow:none;border:1px solid #c9d3cf;border-radius:8px;padding:0 10px;font-weight:500}.paper-tick{color:#23302b;cursor:pointer;background:#fff;border:1.5px solid #b9c6c0;border-radius:9px;align-items:center;gap:8px;min-height:40px;padding:0 14px 0 10px;font-size:15px;font-weight:650;display:inline-flex}.paper-tick-box{border:2px solid #8a9a93;border-radius:4px;place-items:center;width:20px;height:20px;font-size:14px;line-height:1;display:grid}.paper-tick.on{color:#fff;background:#1f5c40;border-color:#1f5c40}.paper-tick.on .paper-tick-box{color:#1f5c40;background:#fff;border-color:#fff}.paper-tick:disabled{opacity:.45;cursor:default}.paper-strip-actions>.button{min-height:40px}.paper-strip-actions .button.active{color:#fff;background:#2f6b4f;border-color:#2f6b4f}.paper-sides .button{min-width:84px;font-size:16px;font-weight:700}.paper-sides .button.suggested{color:#1f5c40;background:#e3f1ea;border:2px dashed #2f6b4f}.paper-strip .field{margin:0}@media print{.paper-editor{display:none!important}}.opd-show-all{margin:14px 0 0 auto;display:block}.diagnosis-input-row.with-action{align-items:stretch;gap:10px;display:flex}.diagnosis-input-row.with-action>.combobox{flex:1;min-width:0}.diagnosis-delete{flex:none;min-width:96px}:root .diagnosis-input-row input::selection{color:#17211d;background:#ffd666}:root .prescription-action-bar{row-gap:10px}:root .prescription-action-bar>:is(.draft-arrows,#patient-choose-launcher){order:1}:root .prescription-action-bar:after{content:"";flex-basis:100%;order:1;height:0}:root .prescription-action-bar>:not(.draft-arrows,#patient-choose-launcher),:root #voice-talk-launcher>*{order:2}.opd-draft-step{text-align:left;align-items:center;gap:10px;max-width:250px;min-height:52px;display:inline-flex}.opd-draft-step>span{min-width:0;line-height:1.25;display:grid}.opd-draft-step small{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}@media screen and (min-width:1051px){:root .prescription-action-bar{justify-content:flex-start}:root .prescription-action-bar>#patient-choose-launcher,:root .prescription-action-bar>.button-primary{margin-left:auto}.opd-draft-step{flex:none;width:172px;max-width:172px}:root .draft-arrows>.draft-counter{text-align:center;text-overflow:ellipsis;flex:none;width:92px;overflow:hidden}:root :is(#patient-choose-launcher>.button,.opd-draft-new){padding:0 20px}:root .prescription-action-bar>.xray-today-button{border-radius:13px;flex:auto;min-height:60px;font-size:21px}}.opd-screen .confirmation-dialog{width:min(640px,100vw - 32px);max-width:none;padding:34px}.opd-screen .confirmation-dialog h2{font-size:28px}.opd-screen .confirmation-dialog p{font-size:19px}.opd-screen .confirmation-dialog .button{min-height:50px;padding:0 26px;font-size:18px}@media screen and (min-width:1051px){.opd-screen .preview-single-page:not(.preview-content-focus) .preview-pages{width:min(100%, calc(max(180px, 100dvh - 306px - var(--preview-warning-space)) * var(--preview-page-ratio)))}}@media print{.opd-bar,.opd-switching{display:none!important}}.today-procedures{border:0;border-radius:14px;width:min(620px,92vw);height:fit-content;max-height:80vh;margin:auto;padding:18px 22px;position:fixed;inset:0;overflow:auto;box-shadow:0 20px 60px #00000040}.today-procedures::backdrop{background:#141e1959}.today-procedures-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.today-procedures-heading h2{margin:0;font-size:22px}.today-procedures ol{margin:0;padding-left:34px;font-size:20px;line-height:1.35;list-style:decimal}.today-procedures li{border-bottom:1px solid #e6ece9;padding:8px 0;display:list-item}.today-procedures li:last-child{border-bottom:0}.today-procedures li::marker{font-weight:700}.today-procedures li>span{margin-left:10px}.today-procedures-time{color:#5d6b65;white-space:nowrap}.today-procedures p{font-size:18px}.today-procedures-error{color:#b42318}.xray-films{background:#f7fafc;border:1px solid #c9d6e3;border-radius:10px;margin:12px 0;padding:10px 12px}.xray-films-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.xray-films-heading h3{color:#172b43;margin:0;font-size:15px}.xray-film-grid{flex-wrap:wrap;gap:10px;margin-top:10px;display:flex}.xray-film-thumb{color:#172b43;width:160px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #b7c4d4;border-radius:8px;gap:4px;padding:6px;font-size:13px;display:grid}.xray-film-thumb img,.xray-film-thumb .xray-film-missing{object-fit:contain;background:#111;border-radius:4px;width:100%;height:120px}.xray-film-thumb strong{overflow-wrap:anywhere;font-size:13px}.xray-film-missing{color:#d4dce6;place-items:center;font-size:12px;display:grid}.xray-film-dialog{width:min(1200px,100vw - 24px)}.xray-film-dialog .xray-film-zoom,.xray-film-dialog>.xray-film-missing{background:#111;border-radius:8px;width:100%;height:calc(100dvh - 190px);display:block;overflow:hidden}.xray-film-zoom{cursor:grab;touch-action:none}.xray-film-zoom:active{cursor:grabbing}.xray-film-zoom .xray-film-large{object-fit:contain;transform-origin:0 0;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.xray-film-zoom{position:relative}.request-dialog.xray-film-viewing{color:#e8edf2;background:#111;border:0;border-radius:0;width:min(1500px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0 auto;padding:0;overflow:hidden}.request-dialog.xray-film-viewing[open]{flex-direction:column;display:flex}.request-dialog.xray-film-viewing::backdrop{background:#000000e0}.xray-film-dialog.xray-film-viewing .xray-film-zoom,.xray-film-dialog.xray-film-viewing>.xray-film-missing{border-radius:0;flex:1;height:auto;min-height:0}.xray-film-bottom{flex:none;align-items:stretch;display:flex}.xray-film-bottom-main{flex-direction:column;flex:1;gap:6px;min-width:0;padding:8px 14px 10px;display:flex}.xray-film-viewing .xray-film-caption{color:#e8edf2;margin:0}.xray-film-viewing .xray-film-message{color:#ffb4a2;margin:0}.xray-film-viewing .xray-film-left{flex-wrap:wrap;align-items:stretch;gap:10px;margin:0}.xray-film-viewing .xray-film-left .button{min-height:64px;padding:0 16px;font-size:19px}.xray-film-viewing .xray-film-numbers{gap:10px}.xray-film-viewing .xray-film-numbers .button{min-width:76px;font-size:20px}.xray-film-bottom>.xray-film-side{border-radius:0;flex:none;min-width:150px;margin:0;padding:0 22px;font-size:22px}.xray-film-bottom>.xray-film-close{min-width:230px;font-size:26px}.xray-film-waiting{color:#d4dce6;text-align:center;place-items:center;height:100%;padding:20px;font-size:20px;display:grid}.xray-film-sliders{align-items:center;gap:16px;margin-left:6px;display:flex}.request-dialog .xray-film-slider{color:inherit;flex-direction:column;align-items:stretch;gap:0;margin:0;font-size:14px;font-weight:600;line-height:16px;display:inline-flex}.request-dialog .xray-film-slider input{appearance:none;cursor:pointer;background:0 0;border:0;width:170px;height:48px;padding:0}.xray-film-slider input::-webkit-slider-runnable-track{background:#5b6b78;border-radius:7px;height:14px}.xray-film-slider input::-webkit-slider-thumb{-webkit-appearance:none;background:#3fae7f;border:3px solid #fff;border-radius:50%;width:34px;height:34px;margin-top:-10px}.xray-film-slider input::-moz-range-track{background:#5b6b78;border-radius:7px;height:14px}.xray-film-slider input::-moz-range-thumb{background:#3fae7f;border:3px solid #fff;border-radius:50%;width:28px;height:28px}.xray-film-slider input:focus-visible{outline-offset:2px;outline:2px solid #9ad7bd}.xray-film-thumb-label{flex-wrap:wrap;align-items:baseline;gap:4px 6px;display:flex}.xray-film-thumb-label strong{font-weight:800}.xray-film-talk{z-index:2;color:#fff;pointer-events:none;background:#b42318;border-radius:999px;margin:0;padding:8px 22px;font-size:18px;font-weight:700;position:absolute;top:14px;left:50%;transform:translate(-50%)}.xray-film-talk[data-state=working]{color:#1d2939;background:#fdb022}.xray-film-caption{margin:10px 0 0;font-weight:600}.xray-film-message{color:#a33a1a;margin:8px 0 0}.xray-film-actions{justify-content:flex-end;gap:10px;margin-top:12px;display:flex}.xray-film-left{align-items:center;gap:16px;margin-right:auto;display:flex}.xray-film-numbers{gap:8px;display:flex}.xray-film-numbers .button{border:2px solid #1f5c43;min-width:64px;font-size:20px;font-weight:700}.opd-screen .xray-film-thumb{width:180px;font-size:15px}.opd-screen .xray-film-actions .button{min-height:52px;font-size:18px}.opd-screen .request-dialog .xray-film-slider{font-size:16px;line-height:18px}.xray-today-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.xray-today-heading h3{color:#172b43;white-space:nowrap;margin:0;font-size:18px}.xray-today-heading .xray-today-search{width:auto;min-width:0;min-height:40px;font:inherit;border:1px solid #9fb0c3;border-radius:8px;flex:0 320px;padding:6px 10px}.xray-today-list{gap:6px;max-height:calc(100dvh - 240px);margin:12px 0 0;padding:0;list-style:none;display:grid;overflow:auto}.xray-today-row{color:#172b43;width:100%;min-height:48px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #b7c4d4;border-radius:8px;grid-template-columns:90px 1fr auto;align-items:center;gap:12px;padding:8px 12px;font-size:16px;display:grid}.xray-today-row:hover,.xray-today-row:focus-visible{background:#f2f8f5;border-color:#1f5c43}.xray-today-row strong{overflow-wrap:anywhere}.xray-today-time{color:#4a5d72;font-variant-numeric:tabular-nums}@media print{.xray-films,.xray-film-dialog,.xray-today-button{display:none!important}}.indoor-choice{background:#f7f9f8;border:1px solid #d6ddda;border-radius:9px;margin:0 0 12px;padding:10px 12px;font-size:15px}.indoor-choice-picker{border-top:1px solid #dbe2df;flex-direction:column;min-height:0;margin-top:10px;display:flex}.indoor-choice-scroll{overscroll-behavior:contain;flex:auto;min-height:0;padding:6px 4px 2px 0;overflow-y:auto}.indoor-choice-picker>.indoor-choice-actions{border-top:1px solid #dbe2df;flex:none;margin-top:8px;padding-top:10px}.indoor-choice-row{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.indoor-choice-saved{overflow-wrap:anywhere;min-width:0;color:var(--ink);flex:240px;font-weight:650}.indoor-choice-now{overflow-wrap:anywhere;background:var(--accent-pale);min-width:0;color:var(--accent-dark);border-radius:7px;flex:240px;padding:4px 10px;font-weight:700}.indoor-choice .button{white-space:normal;text-align:left;overflow-wrap:anywhere;min-width:64px;max-width:100%;min-height:44px;font-size:14px}.indoor-choice-step{border:1px solid var(--line);background:var(--surface);border-radius:10px;margin-top:4px;padding:6px 12px}.indoor-choice-step:first-child{margin-top:0}.indoor-choice-label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:0 0 6px;font-size:12px;font-weight:700;display:block}.indoor-choice-tabs{background:#edf0ee;border-radius:11px;flex-wrap:wrap;gap:3px;padding:4px;display:flex}.indoor-choice-tab{color:#56625c;min-height:44px;font:inherit;background:0 0;border:0;border-radius:8px;flex:auto;padding:8px 12px;font-size:14px;font-weight:600}.indoor-choice-tab:hover{color:var(--ink)}.indoor-choice-tab[aria-pressed=true]{color:var(--accent-dark);background:#fff;font-weight:750;box-shadow:0 1px 3px #161e1a1f,0 4px 12px #161e1a0f}.indoor-choice-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px;display:grid}.indoor-choice-dx{min-height:44px;color:var(--ink);font:inherit;text-align:left;overflow-wrap:anywhere;background:#fff;border:1px solid #cfd9d4;border-radius:8px;padding:8px 10px;font-size:14px;font-weight:600}.indoor-choice-dx:hover{border-color:var(--accent)}.indoor-choice-dx[aria-pressed=true]{border-color:var(--accent-dark);background:var(--accent-dark);color:#fff}.indoor-choice-folded{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.indoor-choice-folded .indoor-choice-label{flex:none;width:92px;margin:0}.indoor-choice-picked{min-width:0;color:var(--ink);overflow-wrap:anywhere;flex:200px;font-size:16px;font-weight:750}.indoor-choice-where{color:var(--muted);margin-right:8px;font-size:13px;font-weight:600}.indoor-choice-where:after{content:" ›"}.indoor-choice-switches{gap:8px;display:grid}.indoor-choice-type .indoor-choice-line-switch{align-items:flex-start}.indoor-choice-type .indoor-choice-switch{flex:1 1 0}.indoor-choice-type .indoor-choice-seg{min-height:32px;padding:4px 12px}.indoor-choice-type .indoor-choice-line-switch .indoor-choice-label{padding-top:8px}.indoor-choice-line-switch{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.indoor-choice-line-switch .indoor-choice-label{flex:none;width:92px;margin:0}.indoor-choice-step>.indoor-choice-line-switch{margin-top:10px}.indoor-choice-switch{background:#edf0ee;border-radius:9px;flex-wrap:wrap;flex:0 auto;gap:2px;min-width:0;max-width:100%;padding:3px;display:inline-flex}.indoor-choice-seg{color:#56625c;min-width:64px;min-height:36px;font:inherit;text-align:left;overflow-wrap:anywhere;background:0 0;border:0;border-radius:7px;padding:6px 14px;font-size:14px;font-weight:600}.indoor-choice-seg:hover{color:var(--ink)}.indoor-choice-seg[aria-pressed=true]{background:var(--accent);color:#fff;box-shadow:0 1px 3px #161e1a29}.indoor-choice-change{color:var(--accent-dark);background:#edf0ee;margin-left:auto}.indoor-choice-list{gap:6px;display:grid}.indoor-choice-rx{width:100%;min-height:44px;color:var(--ink);font:inherit;text-align:left;overflow-wrap:anywhere;background:#fff;border:1px solid #cfd9d4;border-radius:8px;padding:9px 12px;font-size:14px;font-weight:600;display:block}.indoor-choice-rx:hover{border-color:var(--accent)}.indoor-choice-rx[aria-pressed=true]{border-color:var(--accent-dark);background:var(--accent-dark);color:#fff}.indoor-choice-head{justify-content:space-between;align-items:center;gap:8px 12px;margin:0 0 4px;display:flex}.indoor-choice-head .indoor-choice-label{margin:0}.indoor-choice-rx.indoor-choice-none{text-align:center;flex:none;width:auto;min-width:150px;min-height:36px;padding:6px 14px;display:inline-block}.indoor-choice-rx-line{align-items:stretch;gap:8px;display:flex}.indoor-choice-rx-line>.indoor-choice-rx{flex:auto;min-width:0}.indoor-choice-plates{flex:none;align-self:center}.indoor-choice-usual{opacity:.8;font-weight:500}.indoor-choice-tag{color:#75450b;white-space:nowrap;background:#fff3df;border-radius:999px;margin-left:8px;padding:2px 8px;font-size:12px;font-weight:650;display:inline-block}.indoor-choice-typed{border-top:1px dashed #cfd9d4;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 12px;margin-top:12px;padding-top:12px;display:grid}.indoor-choice-typed label{gap:5px;margin:0 0 4px;font-size:14px;font-weight:600;display:grid}.indoor-choice-typed input{color:#172b43;width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #b7c4d4;border-radius:7px;padding:9px}.indoor-choice-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.indoor-choice-missing{color:#604614;font-size:14px}.indoor-choice-line{flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0 0;font-size:14px;display:flex}.indoor-choice .button:disabled{opacity:.45;box-shadow:none}@media (max-width:560px){.indoor-choice-folded .indoor-choice-label,.indoor-choice-line-switch .indoor-choice-label{width:100%}.indoor-choice-change{margin-left:0}.indoor-choice-rx-line{flex-wrap:wrap}}@media print{.indoor-choice{display:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
