:root{color-scheme:light;--c-canvas-rgb: 246 244 239;--c-canvas: rgb(var(--c-canvas-rgb));--c-surface-rgb: 255 255 255;--c-surface: rgb(var(--c-surface-rgb));--c-surface-raised-rgb: 255 255 255;--c-surface-raised: rgb(var(--c-surface-raised-rgb));--c-surface-sunken-rgb: 238 235 228;--c-surface-sunken: rgb(var(--c-surface-sunken-rgb));--c-surface-hover-rgb: 241 238 232;--c-surface-hover: rgb(var(--c-surface-hover-rgb));--c-ink-rgb: 26 29 33;--c-ink: rgb(var(--c-ink-rgb));--c-ink-muted-rgb: 92 98 107;--c-ink-muted: rgb(var(--c-ink-muted-rgb));--c-line-rgb: 226 222 214;--c-line: rgb(var(--c-line-rgb));--c-line-control-rgb: 207 201 189;--c-line-control: rgb(var(--c-line-control-rgb));--c-line-strong-rgb: 138 132 120;--c-line-strong: rgb(var(--c-line-strong-rgb));--c-brand-navy-rgb: 0 43 88;--c-brand-navy: rgb(var(--c-brand-navy-rgb));--c-bar-rgb: 0 43 88;--c-bar: rgb(var(--c-bar-rgb));--c-bar-active-rgb: 14 109 153;--c-bar-active: rgb(var(--c-bar-active-rgb));--c-on-bar-rgb: 255 255 255;--c-on-bar: rgb(var(--c-on-bar-rgb));--c-on-bar-muted-rgb: 231 234 238;--c-on-bar-muted: rgb(var(--c-on-bar-muted-rgb));--c-accent-rgb: 14 109 153;--c-accent: rgb(var(--c-accent-rgb));--c-accent-strong-rgb: 11 90 127;--c-accent-strong: rgb(var(--c-accent-strong-rgb));--c-accent-wash-rgb: 230 243 249;--c-accent-wash: rgb(var(--c-accent-wash-rgb));--c-cta-rgb: 54 189 224;--c-cta: rgb(var(--c-cta-rgb));--c-cta-hover-rgb: 42 176 208;--c-cta-hover: rgb(var(--c-cta-hover-rgb));--c-cta-ink-rgb: 0 43 88;--c-cta-ink: rgb(var(--c-cta-ink-rgb));--c-danger-rgb: 180 35 27;--c-danger: rgb(var(--c-danger-rgb));--c-danger-wash-rgb: 253 236 234;--c-danger-wash: rgb(var(--c-danger-wash-rgb));--c-danger-fill-rgb: 180 35 27;--c-danger-fill: rgb(var(--c-danger-fill-rgb));--c-on-danger-rgb: 255 255 255;--c-on-danger: rgb(var(--c-on-danger-rgb));--c-record-rgb: 208 40 31;--c-record: rgb(var(--c-record-rgb));--c-warn-rgb: 138 90 0;--c-warn: rgb(var(--c-warn-rgb));--c-warn-wash-rgb: 253 243 222;--c-warn-wash: rgb(var(--c-warn-wash-rgb));--c-warn-line-rgb: 240 211 164;--c-warn-line: rgb(var(--c-warn-line-rgb));--c-ok-rgb: 29 107 58;--c-ok: rgb(var(--c-ok-rgb));--c-ok-wash-rgb: 226 240 230;--c-ok-wash: rgb(var(--c-ok-wash-rgb));--c-ok-line-rgb: 188 214 196;--c-ok-line: rgb(var(--c-ok-line-rgb));--c-focus-rgb: 14 109 153;--c-focus: rgb(var(--c-focus-rgb));--c-focus-on-bar-rgb: 54 189 224;--c-focus-on-bar: rgb(var(--c-focus-on-bar-rgb));--c-sync-ok-rgb: 47 138 91;--c-sync-ok: rgb(var(--c-sync-ok-rgb));--c-sync-wait-rgb: 183 121 15;--c-sync-wait: rgb(var(--c-sync-wait-rgb));--c-sync-idle-rgb: 111 125 140;--c-sync-idle: rgb(var(--c-sync-idle-rgb));--c-logo-tile-rgb: 255 255 255;--c-logo-tile: rgb(var(--c-logo-tile-rgb));--c-scrim-rgb: 10 20 30;--c-scrim: rgb(var(--c-scrim-rgb) / .45);--c-shadow-rgb: 0 43 88;--shadow-hairline: 0 1px 2px rgb(var(--c-shadow-rgb) / .06);--shadow-card: inset 0 0 0 1px var(--c-line), 0 1px 2px rgb(var(--c-shadow-rgb) / .06), 0 16px 36px -16px rgb(var(--c-shadow-rgb) / .22);--shadow-raised: inset 0 0 0 1px var(--c-line), 0 2px 4px rgb(var(--c-shadow-rgb) / .08), 0 18px 40px -12px rgb(var(--c-shadow-rgb) / .28);--shadow-float: 0 2px 6px rgb(var(--c-shadow-rgb) / .14), 0 12px 28px -8px rgb(var(--c-shadow-rgb) / .32);--shadow-button: inset 0 0 0 1px rgb(var(--c-brand-navy-rgb) / .18), 0 1px 2px rgb(var(--c-shadow-rgb) / .16), 0 8px 20px -8px rgb(var(--c-cta-rgb) / .6);--shadow-quiet: 0 1px 2px rgb(var(--c-shadow-rgb) / .05);--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-6: 1.5rem;--space-8: 2rem;--space-12: 3rem;--space-16: 4rem;--space-group-above: var(--space-6);--space-group-below: var(--space-2);--radius-xs: 4px;--radius-control: 12px;--radius-card: 16px;--radius-sheet: 20px;--radius-pill: 999px;--radius-round: 50%;--font-sans: "Inter", "Inter Fallback Roboto", "Inter Fallback Helvetica Neue", "Inter Fallback Arial", system-ui, sans-serif;--font-display: "Fraunces", "Fraunces Fallback Noto Serif", "Fraunces Fallback Georgia", Georgia, serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;--text-hero: clamp(1.9rem, 5vw, 2.9rem);--text-title-page: 1.5rem;--text-title-card: 1.125rem;--text-body: 1rem;--text-small: .875rem;--text-caption: .75rem;--text-tab: .625rem;--leading-body: 1.5;--leading-title: 1.2;--weight-regular: 400;--weight-strong: 600;--weight-title: 480;--tracking-title-page: -.018em;--tracking-title-card: -.008em;--tracking-eyebrow: .08em;--motion-fast: .12s;--motion-base: .2s;--motion-slow: .25s;--ease-out: cubic-bezier(.2, .7, .2, 1);--z-raise: 1;--z-drawer: 4;--z-popover: 5;--z-chrome: 30;--z-fab: 31;--z-veil: 40;--z-veil-gate: 41;--z-status: 50;--z-notice: 60;--tabbar-h: 0px;--ask-lift: var(--tabbar-h);--chart-min-phone: max(288px, 35dvh);--inset-top: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));--inset-right: var(--safe-area-inset-right, env(safe-area-inset-right, 0px));--inset-bottom: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));--inset-left: var(--safe-area-inset-left, env(safe-area-inset-left, 0px))}:root{--chart-paper-rgb: 255 255 255;--chart-paper: #ffffff;--chart-line: #3c4148;--chart-fill: #eceef1;--chart-label: #8b919b;--chart-quadrant: #4b5058;--chart-note: #6b727c;--chart-missing: #aeb4bd;--chart-eligible: #e6f3f9;--chart-accent-rgb: 14 109 153;--chart-accent: #0e6d99;--chart-accent-soft: #c0e4f1;--mark: #16181c;--mark-red: #d0281f;--mark-ghost: #7a828d;--table-ink: #7c848f;--font-chart: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}:root[data-theme=dark]{color-scheme:dark;--c-canvas-rgb: 10 20 32;--c-canvas: rgb(var(--c-canvas-rgb));--c-surface-rgb: 17 30 44;--c-surface: rgb(var(--c-surface-rgb));--c-surface-raised-rgb: 24 40 57;--c-surface-raised: rgb(var(--c-surface-raised-rgb));--c-surface-sunken-rgb: 7 16 26;--c-surface-sunken: rgb(var(--c-surface-sunken-rgb));--c-surface-hover-rgb: 31 50 71;--c-surface-hover: rgb(var(--c-surface-hover-rgb));--c-ink-rgb: 238 240 236;--c-ink: rgb(var(--c-ink-rgb));--c-ink-muted-rgb: 167 179 191;--c-ink-muted: rgb(var(--c-ink-muted-rgb));--c-line-rgb: 34 52 74;--c-line: rgb(var(--c-line-rgb));--c-line-control-rgb: 52 80 110;--c-line-control: rgb(var(--c-line-control-rgb));--c-line-strong-rgb: 91 115 144;--c-line-strong: rgb(var(--c-line-strong-rgb));--c-brand-navy-rgb: 0 43 88;--c-brand-navy: rgb(var(--c-brand-navy-rgb));--c-bar-rgb: 18 58 102;--c-bar: rgb(var(--c-bar-rgb));--c-bar-active-rgb: 14 109 153;--c-bar-active: rgb(var(--c-bar-active-rgb));--c-on-bar-rgb: 255 255 255;--c-on-bar: rgb(var(--c-on-bar-rgb));--c-on-bar-muted-rgb: 231 234 238;--c-on-bar-muted: rgb(var(--c-on-bar-muted-rgb));--c-accent-rgb: 92 195 234;--c-accent: rgb(var(--c-accent-rgb));--c-accent-strong-rgb: 127 208 240;--c-accent-strong: rgb(var(--c-accent-strong-rgb));--c-accent-wash-rgb: 18 50 74;--c-accent-wash: rgb(var(--c-accent-wash-rgb));--c-cta-rgb: 54 189 224;--c-cta: rgb(var(--c-cta-rgb));--c-cta-hover-rgb: 92 205 233;--c-cta-hover: rgb(var(--c-cta-hover-rgb));--c-cta-ink-rgb: 0 43 88;--c-cta-ink: rgb(var(--c-cta-ink-rgb));--c-danger-rgb: 255 138 128;--c-danger: rgb(var(--c-danger-rgb));--c-danger-wash-rgb: 58 26 28;--c-danger-wash: rgb(var(--c-danger-wash-rgb));--c-danger-fill-rgb: 180 35 27;--c-danger-fill: rgb(var(--c-danger-fill-rgb));--c-on-danger-rgb: 255 255 255;--c-on-danger: rgb(var(--c-on-danger-rgb));--c-record-rgb: 208 40 31;--c-record: rgb(var(--c-record-rgb));--c-warn-rgb: 243 194 107;--c-warn: rgb(var(--c-warn-rgb));--c-warn-wash-rgb: 51 39 15;--c-warn-wash: rgb(var(--c-warn-wash-rgb));--c-warn-line-rgb: 92 69 23;--c-warn-line: rgb(var(--c-warn-line-rgb));--c-ok-rgb: 122 212 154;--c-ok: rgb(var(--c-ok-rgb));--c-ok-wash-rgb: 18 48 31;--c-ok-wash: rgb(var(--c-ok-wash-rgb));--c-ok-line-rgb: 42 90 60;--c-ok-line: rgb(var(--c-ok-line-rgb));--c-focus-rgb: 127 208 240;--c-focus: rgb(var(--c-focus-rgb));--c-focus-on-bar-rgb: 54 189 224;--c-focus-on-bar: rgb(var(--c-focus-on-bar-rgb));--c-sync-ok-rgb: 95 194 138;--c-sync-ok: rgb(var(--c-sync-ok-rgb));--c-sync-wait-rgb: 232 176 74;--c-sync-wait: rgb(var(--c-sync-wait-rgb));--c-sync-idle-rgb: 143 160 179;--c-sync-idle: rgb(var(--c-sync-idle-rgb));--c-logo-tile-rgb: 255 255 255;--c-logo-tile: rgb(var(--c-logo-tile-rgb));--c-scrim-rgb: 0 0 0;--c-scrim: rgb(var(--c-scrim-rgb) / .6);--c-shadow-rgb: 0 0 0;--shadow-hairline: 0 1px 2px rgb(0 0 0 / .4);--shadow-card: inset 0 0 0 1px var(--c-line), 0 1px 2px rgb(0 0 0 / .4), 0 10px 26px -14px rgb(0 0 0 / .7);--shadow-raised: inset 0 0 0 1px var(--c-line), 0 2px 4px rgb(0 0 0 / .45), 0 16px 36px -12px rgb(0 0 0 / .75);--shadow-float: 0 2px 6px rgb(0 0 0 / .5), 0 12px 28px -8px rgb(0 0 0 / .8);--shadow-button: 0 1px 2px rgb(0 0 0 / .4), 0 8px 20px -10px rgb(var(--c-cta-rgb) / .55);--shadow-quiet: none}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fraunces-latin-opsz-normal-DihXLNYH.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Fallback Roboto;src:local("Roboto");size-adjust:107.35%;ascent-override:90.24%;descent-override:22.47%;line-gap-override:0%}@font-face{font-family:Inter Fallback Helvetica Neue;src:local("Helvetica Neue");size-adjust:106.12%;ascent-override:91.29%;descent-override:22.73%;line-gap-override:0%}@font-face{font-family:Inter Fallback Arial;src:local("Arial");size-adjust:107.12%;ascent-override:90.44%;descent-override:22.52%;line-gap-override:0%}@font-face{font-family:"Fraunces Fallback Noto Serif";src:local("Noto Serif");size-adjust:97.51%;ascent-override:100.3%;descent-override:26.15%;line-gap-override:0%}@font-face{font-family:Fraunces Fallback Georgia;src:local("Georgia");size-adjust:105.2%;ascent-override:92.96%;descent-override:24.24%;line-gap-override:0%}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font-sans);background:var(--c-canvas);color:var(--c-ink);overscroll-behavior:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit}.app{display:flex;flex-direction:column;height:100%}.app-header{display:flex;align-items:baseline;gap:var(--space-3);background:var(--c-canvas);color:var(--c-ink);padding:calc(var(--space-3) + var(--inset-top)) calc(var(--space-4) + var(--inset-right)) var(--space-3) calc(var(--space-4) + var(--inset-left))}.app-header__logo{align-self:center;width:28px;height:28px;padding:3px;background:var(--c-logo-tile);border-radius:var(--radius-control);object-fit:contain}.app-header h1{font-size:var(--text-title-card);font-weight:var(--weight-strong);letter-spacing:.01em}.app-header__sub{font-size:var(--text-small);opacity:.75}.app-header__sub--edit{align-self:center;padding:var(--space-1) var(--space-2);background:var(--c-surface-sunken);border:1px solid var(--c-line-strong);border-radius:var(--radius-control);color:var(--c-ink);cursor:pointer}.app-header__sub--edit:hover{background:var(--c-surface-hover)}.app-header__sub-input{align-self:center;padding:var(--space-1) var(--space-2);background:var(--c-surface);border:0;border-radius:var(--radius-control);font:inherit;font-size:var(--text-small);color:var(--c-ink)}.app-header__horse{align-self:center;padding:var(--space-1) var(--space-2);margin-left:var(--space-1);background:var(--c-surface-sunken);border:1px solid var(--c-line-strong);border-radius:var(--radius-control);font-size:var(--text-body);font-weight:var(--weight-strong);color:var(--c-ink);cursor:pointer}.patient-line:hover,.app-header__horse:hover{background:var(--c-surface-hover)}.patient-band{flex:none;background:var(--c-canvas);padding:0 calc(var(--space-4) + var(--inset-right)) var(--space-3) calc(var(--space-4) + var(--inset-left))}@media(max-width:700px),(max-height:520px){.app-header{gap:var(--space-2);padding:calc(var(--space-2) + var(--inset-top)) calc(var(--space-3) + var(--inset-right)) var(--space-2) calc(var(--space-3) + var(--inset-left))}.patient-band{padding:0 calc(var(--space-3) + var(--inset-right)) var(--space-2) calc(var(--space-3) + var(--inset-left))}.app-header h1,.app-header__sub{display:none}.app-header__logo{width:22px;height:22px}.app-header__feedback,.app-header__back{flex:none;white-space:nowrap}}@media(max-width:700px)and (min-height:521px){.app-header{flex-wrap:wrap;row-gap:var(--space-1)}}@media(max-height:520px){.app-header{flex-wrap:nowrap}.app-header__horse{min-width:3ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.app-header__horse-input{align-self:center;width:11rem;padding:var(--space-1) var(--space-2);margin-left:var(--space-1);background:var(--c-surface);border:0;border-radius:var(--radius-control);font:inherit;font-size:var(--text-body);font-weight:var(--weight-strong);color:var(--c-ink)}.app-header__feedback{align-self:center;margin-left:var(--space-4);padding:var(--space-1) var(--space-3);background:transparent;border:1px solid var(--c-line-strong);border-radius:var(--radius-pill);color:var(--c-ink);font-size:var(--text-small);cursor:pointer}.app-header__back{align-self:center;margin-left:var(--space-4);color:var(--c-accent-strong);font-size:var(--text-small);text-decoration:none}.app-header__back:hover{color:var(--c-ink)}.sync-dot{position:relative;align-self:center;display:inline-flex}.sync-dot__button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:.3rem;background:none;border:0;cursor:pointer}.sync-dot__mark{width:8px;height:8px;border-radius:var(--radius-round);background:var(--c-sync-idle)}.sync-dot__mark--synced{background:var(--c-sync-ok)}.sync-dot__mark--syncing{background:var(--c-accent)}.sync-dot__mark--pending,.sync-dot__mark--error{background:var(--c-sync-wait)}.sync-dot__mark--offline,.sync-dot__mark--refused{background:var(--c-sync-idle)}.sync-dot__line{position:absolute;top:calc(100% + .35rem);left:50%;transform:translate(-50%);z-index:var(--z-status);width:max-content;max-width:min(15rem,calc(80vw - 1rem));padding:var(--space-1) var(--space-2);background:var(--c-surface-raised);color:var(--c-ink);border-radius:var(--radius-control);box-shadow:var(--shadow-float);font-size:var(--text-caption);line-height:1.35}.update-notice{position:fixed;top:var(--space-2);left:50%;transform:translate(-50%);z-index:var(--z-notice);display:flex;align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-1) var(--space-1) var(--space-3);background:var(--c-brand-navy);color:var(--c-on-bar);border-radius:var(--radius-pill);box-shadow:var(--shadow-float);font-size:var(--text-caption)}.update-notice button{font:inherit;font-weight:var(--weight-strong);color:var(--c-accent);background:var(--c-surface-raised);border:0;border-radius:var(--radius-pill);padding:var(--space-1) var(--space-3);cursor:pointer}.app-main{position:relative;flex:1;min-height:0;padding:var(--space-3) calc(var(--space-3) + var(--inset-right)) 0 calc(var(--space-3) + var(--inset-left))}.chart{position:relative;height:100%;background:var(--chart-paper);color-scheme:light;border-radius:var(--radius-card);box-shadow:var(--shadow-card);overflow:hidden}.chart .react-transform-wrapper,.chart .react-transform-component{width:100%;height:100%}.chart-svg{display:block;width:100%;height:100%;font-family:var(--font-chart);touch-action:none;-webkit-user-select:none;user-select:none}.jaw-layer path{fill:var(--chart-fill);stroke:none;pointer-events:none}.line-layer path{fill:none;stroke:var(--chart-line);stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}.jaw-drag.is-draggable,.jaw-drag.is-draggable path{pointer-events:auto;cursor:ew-resize}.jaw-layer .jaw-drag.is-armed path{fill:var(--chart-accent-soft)}.line-layer .jaw-drag.is-armed path{stroke:var(--chart-accent)}.line-layer .line--plate{fill:var(--chart-paper)}.quadrant-layer text{fill:var(--chart-quadrant);font-size:34px;font-weight:700;text-anchor:middle;pointer-events:none}.label-layer text{fill:var(--chart-label);font-size:15px;font-weight:600;text-anchor:middle;dominant-baseline:middle;pointer-events:none}.label-layer text.label-layer__note{font-size:13px;font-weight:400;fill:var(--chart-note)}.tooth{cursor:pointer}.tooth__hit{fill:none;pointer-events:fill}.tooth__shape{fill:var(--chart-paper);stroke:var(--chart-line);stroke-width:2;stroke-linejoin:round;paint-order:stroke fill}.tooth--occlusal .tooth__shape{stroke-width:3}.tooth--lateral .tooth__shape,.tooth--canine .tooth__shape{stroke-width:1.8}.tooth--incisorTable .tooth__shape{stroke-width:2.6}.tooth__table{fill:none;stroke:var(--table-ink);stroke-width:1.6;pointer-events:none}.tooth__cup{fill:var(--table-ink)}.tooth__spot{fill:none;stroke:var(--table-ink);stroke-width:1.2}.tooth__star{fill:var(--table-ink)}.tooth.is-selected .tooth__table{stroke:var(--chart-accent)}.tooth.is-selected .tooth__cup,.tooth.is-selected .tooth__star{fill:var(--chart-accent)}.tooth.is-selected .tooth__spot{stroke:var(--chart-accent)}.tooth.is-missing .tooth__table,.tooth.is-missing .tooth__cup,.tooth.is-missing .tooth__spot,.tooth.is-missing .tooth__star{display:none}.tooth.is-selected .tooth__shape{fill:var(--chart-accent-soft);stroke:var(--chart-accent);stroke-width:2.6}.tooth.is-eligible .tooth__shape{fill:var(--chart-eligible);stroke:var(--chart-accent);stroke-width:2.4}.tooth.is-eligible.is-armed .tooth__shape{animation:tooth-eligible 1.4s ease-in-out infinite}.tooth.is-eligible.is-selected .tooth__shape{fill:var(--chart-accent-soft)}@keyframes tooth-eligible{0%,to{fill-opacity:1}50%{fill-opacity:.45}}.tooth.is-missing .tooth__shape{fill:none;stroke:var(--chart-missing);stroke-width:2;stroke-dasharray:6 5;pointer-events:all}.tooth.is-missing.is-selected .tooth__shape{stroke:var(--chart-accent)}.mark{fill:none;stroke:var(--mark);stroke-linecap:round;stroke-linejoin:round}.mark--solid{fill:var(--mark);stroke:var(--mark);stroke-width:1.2}.mark--ghost{fill:var(--chart-paper);stroke:var(--mark-ghost);stroke-width:2;stroke-dasharray:5 3.5}.mark--stroke path{fill:none;stroke:var(--mark);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.mark--ridge{fill:var(--mark);stroke:var(--chart-paper);stroke-width:2.4;paint-order:stroke fill}.mark--cingula{fill:var(--mark);stroke:var(--chart-paper);stroke-width:2;paint-order:stroke fill}.mark--sharp{fill:var(--mark-red);stroke:var(--mark-red);stroke-width:1}.mark--fracture{stroke:var(--mark-red);stroke-width:3.4}.mark--sketch{fill:none;stroke:var(--mark-red);stroke-width:2.2;pointer-events:none}.draw-preview--sketch{stroke:var(--mark-red)}.draw-preview--eraser{stroke:var(--mark-ghost);stroke-dasharray:4 4}.mark--wave{stroke-width:2.8}.mark--plane{stroke:var(--chart-accent);stroke-width:4;opacity:.85;pointer-events:none}.tooth.is-rejected{animation:tooth-reject .3s ease-in-out}@keyframes tooth-reject{0%,to{translate:0}25%{translate:-4px}75%{translate:4px}}.drop-icon{pointer-events:none}.drop-icon__hit{fill:transparent}.drop-icon.is-armed{pointer-events:all;cursor:pointer}.drop-icon.is-armed .drop-icon__hit{fill:rgb(var(--chart-accent-rgb) / .12)}.drop-icon__disc{fill:var(--mark);stroke:none}.drop-icon__ring{fill:var(--chart-paper);stroke:var(--mark);stroke-width:2}.drop-icon__stroke{fill:none;stroke:var(--mark);stroke-width:2.6;stroke-linecap:round}.drop-icon__outline{fill:var(--chart-paper);stroke:var(--mark);stroke-width:2;stroke-linejoin:round}.drop-icon__text,.chart-label{fill:var(--mark);font-size:13px;font-weight:700;text-anchor:middle;dominant-baseline:central}.drop-icon__text.is-inverted{fill:var(--chart-paper)}.drop-icon__text--aspect,.chart-label{font-size:11px;paint-order:stroke fill;stroke:var(--chart-paper);stroke-width:3;stroke-linejoin:round}.chart-svg.is-dropping{cursor:crosshair}.chart-export-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--chart-paper)}.chart-hint{position:absolute;left:12px;bottom:10px;font-size:.78rem;color:var(--chart-note);background:rgb(var(--chart-paper-rgb) / .9);padding:.3rem .55rem;border-radius:8px;pointer-events:none}.chart-hint.is-warning{color:var(--mark-red);font-weight:600}.chart-panels{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;align-items:stretch;gap:.5rem;width:200px}.info-panel{min-width:190px;background:rgb(var(--c-surface-raised-rgb) / .97);border:1px solid var(--c-line);border-radius:var(--radius-control);padding:.75rem .85rem;box-shadow:var(--shadow-raised)}.info-panel__id{font-size:1.35rem;font-weight:700;color:var(--c-accent);margin-bottom:.4rem}.info-panel__rows{display:grid;grid-template-columns:minmax(0,1fr);gap:.2rem;font-size:.85rem}.info-panel__rows>div{display:flex;justify-content:space-between;gap:1rem}.info-panel__rows dt{color:var(--c-ink-muted)}.info-panel__rows dd{font-variant-numeric:tabular-nums;font-weight:600}.info-panel__rows>.info-panel__row--stacked{display:block;margin-top:.4rem}.info-panel__rows>.info-panel__row--stacked dt{margin-bottom:.25rem}.info-panel__choice{display:grid;gap:.25rem}.info-panel__choice button{min-height:40px;padding:.1rem .5rem;border:1px solid var(--c-ink-muted);background:var(--c-surface-raised);color:var(--c-ink);border-radius:var(--radius-control);font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}.info-panel__choice button.is-on{background:var(--c-accent-wash);border-color:var(--c-accent);color:var(--c-accent-strong)}.info-panel__marks{list-style:none;margin-top:.5rem;padding-top:.45rem;border-top:1px solid var(--c-line);display:grid;gap:.15rem;font-size:.8rem}.info-panel__marks li:before{content:"•";color:var(--c-accent);margin-right:.4rem}.info-panel__marks li.is-empty{color:var(--c-ink-muted)}.info-panel__marks li.is-empty:before{color:var(--c-line-strong)}.jaw-panel__note{font-size:.72rem;color:var(--c-ink-muted);line-height:1.35}.jaw-panel__stepper{display:flex;align-items:center;gap:.4rem;margin-top:.55rem}.jaw-panel__stepper span{flex:1;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}.jaw-panel__stepper button{width:38px;min-height:34px;border:1px solid var(--c-ink-muted);background:var(--c-surface-raised);border-radius:var(--radius-control);font-size:1rem;cursor:pointer}.jaw-panel__stepper button:disabled{opacity:.4;cursor:not-allowed}.draw-catcher{fill:transparent;cursor:crosshair;touch-action:none}.edit-layer{pointer-events:none}.draw-preview{fill:none;stroke:var(--chart-accent);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.draw-bar{align-items:center}.draw-bar__status{padding:0 .5rem;font-size:.8rem;color:rgb(var(--c-on-bar-rgb) / .75);white-space:nowrap}.draw-bar__status strong{font-size:.95rem;color:var(--c-on-bar)}.info-panel__actions{display:flex;gap:.4rem;margin-top:.7rem}.info-panel__actions button{flex:1;min-height:38px;border:1px solid var(--c-ink-muted);background:var(--c-surface-raised);border-radius:var(--radius-control);font-size:.8rem;cursor:pointer}.info-panel__actions button:active{background:var(--c-surface-hover)}.toolbar-dock{position:relative}.toolbar-shell{display:flex;justify-content:center;padding:.6rem calc(.4rem + var(--inset-right)) calc(.6rem + var(--inset-bottom)) calc(.4rem + var(--inset-left))}.toolbar{display:flex;flex:0 1 auto;flex-wrap:wrap;justify-content:center;max-width:100%;margin:0 auto;align-items:stretch;gap:.3rem .45rem;background:var(--c-bar);border-radius:var(--radius-sheet);padding:.3rem;box-shadow:var(--shadow-float)}.toolbar-handle{display:none}.toolbar__group{display:flex;flex-wrap:wrap;justify-content:center;gap:.25rem}.toolbar__divider{flex:0 0 auto;width:1px;align-self:stretch;margin:.3rem 0;background:rgb(var(--c-on-bar-rgb) / .15)}.tool-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;min-width:46px;min-height:56px;padding:.28rem .3rem;border:none;border-radius:var(--radius-card);background:transparent;color:var(--c-on-bar-muted);cursor:pointer}.tool-btn svg{width:22px;height:22px}.tool-btn span{font-size:.64rem;letter-spacing:.01em}.tool-btn:hover:not(:disabled){background:rgb(var(--c-on-bar-rgb) / .08)}.tool-btn.is-active{background:var(--c-bar-active);color:var(--c-on-bar)}.tool-btn:disabled{opacity:.35;cursor:not-allowed}.tool-btn.is-armed{background:var(--c-danger-fill);color:var(--c-on-danger)}.tool-btn--primary:not(:disabled){background:var(--c-bar-active);color:var(--c-on-bar)}.tool-btn--primary:hover:not(:disabled){background:var(--c-bar-active);filter:brightness(1.1)}.tool-btn.is-armed span{white-space:nowrap}.tool-btn--compact{min-width:58px;min-height:58px;padding:.3rem .25rem;border-radius:var(--radius-control)}.tool-btn--compact svg{width:22px;height:22px}.tool-btn--compact span{font-size:.64rem}.tool-btn__glyph{fill:currentColor;font-size:11px;font-weight:700;text-anchor:middle;dominant-baseline:central}.tool-btn__glyph.is-inverted{fill:var(--c-bar)}@media(max-width:700px){.tool-btn,.tool-btn--compact{min-width:44px;min-height:44px;padding:.25rem .2rem}.toolbar{gap:.25rem .45rem}}@media(max-width:899px){.toolbar-shell{flex-direction:column;align-items:center;gap:.3rem}.toolbar-handle{display:flex;align-self:stretch;align-items:center;justify-content:center;gap:.25rem;min-height:44px;padding:.25rem .6rem;border:1px solid rgb(var(--c-on-bar-rgb) / .35);border-radius:var(--radius-card);background:var(--c-bar);color:var(--c-on-bar-muted);font-size:.64rem;letter-spacing:.01em;cursor:pointer}.toolbar-handle__chevron{font-size:.8rem;line-height:1}.toolbar--collapsed{display:none}}.popover{position:absolute;bottom:100%;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:stretch;gap:var(--space-1);padding:var(--space-2) var(--space-2);max-width:min(420px,calc(100vw - 1rem));background:var(--c-surface-raised);border-radius:var(--radius-card);box-shadow:var(--shadow-raised);z-index:var(--z-popover)}.popover__row{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-1)}.popover__title{font-size:var(--text-caption);font-weight:var(--weight-strong);color:var(--c-ink-muted);margin-right:var(--space-1)}.popover__hint{font-size:var(--text-caption);line-height:1.45;color:var(--c-ink-muted)}.popover__band{flex:1;min-width:130px;text-align:center;font-size:.8rem;font-weight:600}.popover button{min-width:66px;min-height:44px;padding:0 var(--space-3);border:none;border-radius:var(--radius-control);background:var(--c-surface-sunken);font-size:var(--text-small);cursor:pointer}.popover button:hover:not(:disabled){background:var(--c-surface-hover)}.popover button:disabled{opacity:.4;cursor:not-allowed}.popover button.is-active{background:var(--c-accent-wash);color:var(--c-accent-strong)}.dictation{position:absolute;top:var(--space-3);right:var(--space-3);bottom:0;width:min(430px,46vw);display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-3) var(--space-4) var(--space-4);background:var(--c-surface);border-radius:var(--radius-card);border:1px solid var(--c-line);box-shadow:var(--shadow-raised);overflow-y:auto;overscroll-behavior:contain;z-index:var(--z-drawer)}.dictation__head{display:flex;align-items:center;justify-content:space-between}.dictation__head h2{font-size:var(--text-body);font-weight:700}.dictation__close{border:1px solid var(--c-line-strong);border-radius:var(--radius-control);background:var(--c-surface-sunken);cursor:pointer;font-size:var(--text-small)}.dictation__banner{font-size:var(--text-caption);font-weight:600;color:var(--c-warn);background:var(--c-warn-wash);border:1px solid var(--c-warn-line);border-radius:var(--radius-control);padding:var(--space-2)}.dictation__offline{font-size:var(--text-caption);color:var(--c-ink-muted);background:var(--c-surface-sunken);border-radius:var(--radius-control);padding:var(--space-2)}.dictation__warn{font-size:var(--text-caption);color:var(--c-warn)}.dictation__record{display:flex;align-items:center;gap:var(--space-2)}.rec-btn{display:flex;align-items:center;gap:var(--space-2);min-height:52px;padding:0 var(--space-6);border:none;border-radius:var(--radius-pill);background:var(--c-record);color:var(--c-on-danger);font-size:var(--text-body);font-weight:600;cursor:pointer}.rec-btn:disabled{background:var(--c-surface-sunken);cursor:not-allowed;color:var(--c-ink-muted)}.rec-btn__dot{width:12px;height:12px;border-radius:var(--radius-round);background:var(--c-on-danger)}.rec-btn.is-recording{background:var(--c-bar)}.rec-btn.is-recording .rec-btn__dot{border-radius:var(--radius-xs);animation:rec-pulse 1.1s ease-in-out infinite}@keyframes rec-pulse{50%{opacity:.35}}.rec-timer{font-variant-numeric:tabular-nums;font-weight:600;color:var(--c-ink-muted)}.rec-timer.is-long{color:var(--c-warn)}.ghost-btn{min-height:30px;padding:0 var(--space-2);border:1px solid var(--c-line-control);border-radius:var(--radius-control);background:var(--c-surface-raised);font-size:var(--text-caption);cursor:pointer}.ghost-btn:disabled{opacity:.45;cursor:not-allowed}.dictation__error,.clip__error,.report__pdf-error{font-size:var(--text-caption);color:var(--c-danger);background:var(--c-danger-wash);border-radius:var(--radius-control);padding:var(--space-2)}.dictation__empty{font-size:var(--text-caption);color:var(--c-ink-muted);line-height:1.45}.dictation__clips{display:grid;gap:var(--space-2)}.clip{border:1px solid var(--c-line);border-radius:var(--radius-control);padding:var(--space-2) var(--space-3);display:grid;gap:var(--space-2);background:var(--c-surface)}.clip.is-applied{border-color:var(--c-ok);background:var(--c-surface)}.clip__head{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.clip__name{font-size:var(--text-small);font-weight:700}.clip__dur{font-size:var(--text-caption);color:var(--c-ink-muted);font-variant-numeric:tabular-nums;margin-right:auto}.chip{font-size:var(--text-caption);font-weight:700;letter-spacing:.02em;text-transform:uppercase;padding:var(--space-1) var(--space-2);border-radius:var(--radius-control);background:var(--c-surface-sunken);color:var(--c-ink-muted)}.chip--transcribing,.chip--extracting{background:var(--c-accent-wash);color:var(--c-accent-strong)}.chip--ready,.chip--applied{background:var(--c-ok-wash);color:var(--c-ok)}.chip--error,.chip--failed{background:var(--c-danger-wash);color:var(--c-danger)}.chip--pending{background:var(--c-warn-wash);color:var(--c-warn)}.clip__transcript{display:grid;gap:var(--space-1);justify-items:start}.clip__transcript label{font-size:var(--text-caption);color:var(--c-ink-muted)}.clip__transcript textarea{width:100%;font:inherit;font-size:var(--text-small);line-height:1.4;padding:var(--space-2);border:1px solid var(--c-line-strong);border-radius:var(--radius-control);resize:vertical;background:var(--c-surface);color:var(--c-ink)}.cmd-list{list-style:none;display:grid;gap:var(--space-1)}.cmd{display:flex;gap:var(--space-2);padding:var(--space-2);border:1px solid var(--c-line);border-radius:var(--radius-control);background:var(--c-surface)}.cmd.is-off{opacity:.55}.cmd.has-warning{border-color:var(--c-warn-line);background:var(--c-warn-wash)}.link-group__head input,.link-exam input,.link-choice input,.cmd__check input{width:17px;height:17px;accent-color:var(--c-accent)}.cmd__body{display:grid;gap:var(--space-1);min-width:0}.cmd__desc{font-size:var(--text-small);font-weight:600}.cmd__raw{font-size:var(--text-caption);color:var(--c-ink-muted);font-style:italic}.cmd__meta{display:flex;flex-wrap:wrap;gap:var(--space-1)}.cmd__meta:empty{display:none}.tag{font-size:var(--text-caption);font-weight:600;padding:0 var(--space-1);border-radius:var(--radius-xs);background:var(--c-surface-sunken);color:var(--c-ink-muted)}.tag--teeth{font-variant-numeric:tabular-nums;background:var(--c-accent-wash);color:var(--c-accent-strong)}.cmd__warn{font-size:var(--text-caption);color:var(--c-warn)}.apply-btn{min-height:42px;border:none;border-radius:var(--radius-control);background:var(--c-cta);color:var(--c-cta-ink);font-size:var(--text-small);font-weight:600;cursor:pointer}.apply-btn:disabled{background:var(--c-surface-sunken);cursor:not-allowed;color:var(--c-ink-muted)}.exam-record{margin-top:auto;padding-top:var(--space-2);border-top:1px solid var(--c-line)}.exam-record h3{font-size:var(--text-caption);text-transform:uppercase;letter-spacing:.04em;color:var(--c-ink-muted);margin-bottom:var(--space-group-below)}.exam-record__signalment{font-size:var(--text-small);font-weight:700;color:var(--c-accent);margin-bottom:var(--space-1)}.exam-record__notes{list-style:none;display:grid;gap:var(--space-1);font-size:var(--text-caption);line-height:1.35}.exam-record__tooth{display:inline-block;min-width:32px;margin-right:var(--space-1);padding:0 var(--space-1);border-radius:var(--radius-xs);background:var(--c-surface-sunken);font-weight:700;font-variant-numeric:tabular-nums;text-align:center}.report{position:absolute;top:var(--space-3);right:var(--space-3);bottom:0;width:min(560px,54vw);display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-3) var(--space-4) var(--space-4);background:var(--c-surface);border-radius:var(--radius-card);border:1px solid var(--c-line);box-shadow:var(--shadow-raised);overflow:hidden;z-index:var(--z-drawer)}.report__head{display:flex;align-items:center;gap:var(--space-2)}.report__head h2{font-size:var(--text-body);font-weight:700}.report__tabs{display:flex;gap:var(--space-1);margin-left:auto;padding:var(--space-1);border-radius:var(--radius-control);background:var(--c-surface-sunken)}.report__tabs button{border:0;border-radius:var(--radius-control);background:none;padding:var(--space-1) var(--space-2);font:inherit;font-size:var(--text-caption);font-weight:600;color:var(--c-ink-muted);cursor:pointer}.report__tabs button.is-active{background:var(--c-surface);color:var(--c-accent);box-shadow:var(--shadow-hairline)}.report__actions{display:flex;gap:var(--space-2);flex-wrap:wrap}.report__actions>button{flex:1 1 auto;min-height:44px}.report__empty{font-size:var(--text-small);line-height:1.45;color:var(--c-ink-muted)}.report__doc{flex:1;overflow-y:auto;overscroll-behavior:contain;padding-right:var(--space-1)}.doc{font-size:var(--text-small);line-height:1.55;color:var(--c-ink)}.doc__title{font-size:var(--text-body);font-weight:700;color:var(--c-ink)}.doc__sub{font-size:var(--text-small);color:var(--c-ink-muted);margin-bottom:var(--space-2)}.doc__h{margin-top:var(--space-group-above);margin-bottom:var(--space-group-below);padding-bottom:var(--space-1);border-bottom:1px solid var(--c-line);font-size:var(--text-caption);font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--c-ink-muted)}.doc__lead{font-size:var(--text-body);line-height:1.55}.doc__intro,.doc__note{font-size:var(--text-small);line-height:1.5;color:var(--c-ink-muted);margin-bottom:var(--space-2)}.doc__glossary{display:grid;gap:var(--space-2);font-size:var(--text-small)}.doc__glossary dt{font-weight:700}.doc__glossary dd{color:var(--c-ink-muted)}.entry{padding:var(--space-2) 0 var(--space-3);border-bottom:1px solid var(--c-line)}.entry:last-child{border-bottom:0}.entry p+p{margin-top:var(--space-2)}.entry__title{font-size:var(--text-body);font-weight:700;color:var(--c-ink)}.entry__meta{display:flex;flex-wrap:wrap;gap:var(--space-1) var(--space-2);margin:var(--space-1) 0 var(--space-2);font-size:var(--text-caption)}.entry__where{font-weight:600;color:var(--c-accent)}.entry__sev{color:var(--c-danger);font-weight:600}.entry__quote{margin-top:var(--space-2);padding-left:var(--space-2);border-left:2px solid var(--c-line-control);font-size:var(--text-small);font-style:italic;color:var(--c-ink-muted)}.entry--clinical{padding:var(--space-2) 0}.entry__line{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-1);font-size:var(--text-small)}.entry__facts{list-style:none;margin-top:var(--space-1);display:grid;gap:0;font-size:var(--text-caption);color:var(--c-ink-muted)}.entry__facts li:before{content:"· ";color:var(--c-line-strong)}.entry__teeth{font-variant-numeric:tabular-nums;font-weight:600;color:var(--c-ink)}.entry__dictated{font-style:italic;color:var(--c-ink-muted)}.tag--charted{background:var(--c-accent-wash);color:var(--c-accent-strong)}.gallery{position:absolute;top:var(--space-3);right:var(--space-3);bottom:0;width:min(430px,46vw);display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-3) var(--space-4) var(--space-4);background:var(--c-surface);border-radius:var(--radius-card);border:1px solid var(--c-line);box-shadow:var(--shadow-raised);overflow-y:auto;overscroll-behavior:contain;z-index:var(--z-drawer)}.gallery__head{display:flex;align-items:center;justify-content:space-between}.gallery__head h2{font-size:var(--text-body);font-weight:700}.gallery__consent{font-size:var(--text-caption);line-height:1.45;color:var(--c-ink-muted);background:var(--c-surface-sunken);border-radius:var(--radius-control);padding:var(--space-2)}.gallery__capture{min-height:44px;padding:0 var(--space-4);border:none;border-radius:var(--radius-control);background:var(--c-cta);color:var(--c-cta-ink);font:inherit;font-size:var(--text-small);font-weight:700;cursor:pointer}.gallery__capture:disabled{background:var(--c-surface-sunken);cursor:not-allowed;color:var(--c-ink-muted)}.gallery__note{font-size:var(--text-caption);line-height:1.45;color:var(--c-ink-muted)}.gallery__grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:var(--space-2)}.gallery__tile{display:grid;gap:var(--space-2);padding:var(--space-3);border:1px solid var(--c-line);border-radius:var(--radius-control);background:var(--c-surface)}.gallery__shot{width:100%;padding:0;border:1px solid transparent;border-radius:var(--radius-control);background:none;cursor:pointer}.gallery__shot img,.gallery__thumb{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--radius-control)}.gallery__thumb{background:var(--c-surface-sunken)}.gallery__caption{width:100%;min-height:44px;padding:var(--space-1) var(--space-2);font:inherit;font-size:var(--text-small);color:var(--c-ink);border:1px solid var(--c-line-strong);border-radius:var(--radius-control);background:var(--c-surface)}.gallery__tile--replaced{opacity:.55}.gallery__toggle{align-self:flex-start;min-height:44px}.gallery__detail{display:grid;gap:var(--space-4);justify-items:start}.gallery__back,.gallery__retake{min-height:44px}.gallery__full{display:block;max-width:100%;border-radius:var(--radius-control)}.gallery__meta{font-size:var(--text-caption);line-height:1.45;color:var(--c-ink-muted);font-variant-numeric:tabular-nums}.gate-splash{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-4);height:100%;color:var(--c-ink-muted)}.gate-splash__logo{width:48px;height:48px;object-fit:contain;opacity:.85}.gate-splash__link{color:var(--c-accent-strong);font-size:var(--text-small);text-decoration:none}.inspections{display:flex;flex-direction:column;min-height:100%}.inspections__main{width:100%;max-width:34rem;margin:0 auto;padding:var(--space-4) calc(var(--space-4) + var(--inset-right)) var(--space-8) calc(var(--space-4) + var(--inset-left));display:flex;flex-direction:column;gap:var(--space-6)}.inspections__new{padding:var(--space-4);background:var(--c-cta);color:var(--c-cta-ink);font-size:var(--text-body);font-weight:600;border:0;border-radius:var(--radius-control);cursor:pointer}.inspections__new:hover{background:var(--c-cta-hover)}.inspections__new-form{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-4);background:var(--c-surface);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.inspections__field{display:flex;flex-direction:column;gap:var(--space-1);font-size:var(--text-small);color:var(--c-ink-muted)}.inspections__field input,.inspections__field textarea{padding:var(--space-3);font:inherit;font-size:var(--text-body);color:var(--c-ink);background:var(--c-surface);border:1px solid var(--c-line-strong);border-radius:var(--radius-control)}.inspections__new-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.inspections__start{flex:1;padding:var(--space-3);background:var(--c-cta);color:var(--c-cta-ink);font-weight:600;border:0;border-radius:var(--radius-control);cursor:pointer}.inspections__start:disabled{background:var(--c-surface-sunken);color:var(--c-ink-muted);cursor:not-allowed}.inspections__cancel{padding:var(--space-3) var(--space-4);background:transparent;color:var(--c-ink-muted);border:1px solid var(--c-line-control);border-radius:var(--radius-control);cursor:pointer}.inspections__list,.practice-list{list-style:none;display:flex;flex-direction:column;gap:var(--space-2)}.link-bucket__head,.link-group,.inspections__row,.practice-row{display:flex;align-items:baseline;gap:var(--space-3);padding:var(--space-4);background:var(--c-surface);border-radius:var(--radius-control);box-shadow:var(--shadow-card);text-decoration:none;color:var(--c-ink)}.inspections__row:hover,.practice-row:hover{background:var(--c-surface-hover)}.inspections__horse,.practice-row__name{font-size:var(--text-body);font-weight:600;color:var(--c-ink);overflow-wrap:anywhere}.inspections__waiting,.practice-row__flag,.ask-tag{padding:0 var(--space-2);background:var(--c-warn-wash);border-radius:var(--radius-pill);font-size:var(--text-caption);color:var(--c-warn);white-space:nowrap}.inspections__waiting--filed,.inspections__waiting--finalised,.practice-row__flag,.ask-tag{background:var(--c-surface-sunken);color:var(--c-ink-muted)}.inspections__date{margin-left:auto;font-size:var(--text-small);color:var(--c-ink-muted)}.inspections__quiet{font-size:var(--text-small);color:var(--c-ink-muted)}.inspections__note{margin-top:var(--space-2);font-size:var(--text-small);line-height:1.45;color:var(--c-ink-muted)}.landing{display:flex;flex-direction:column;min-height:100%;overflow-y:auto}.landing__bar{display:flex;align-items:center;gap:var(--space-3);padding:calc(var(--space-3) + var(--inset-top)) calc(var(--space-6) + var(--inset-right)) var(--space-3) calc(var(--space-6) + var(--inset-left));background:var(--c-brand-navy);color:var(--c-on-bar)}.landing__logo{width:30px;height:30px;padding:3px;background:var(--c-logo-tile);border-radius:var(--radius-control);object-fit:contain}.landing__wordmark{font-weight:600;letter-spacing:.01em}.landing__nav{margin-left:auto}.landing__signin{display:inline-flex;align-items:center;text-decoration:none;font-size:var(--text-small);padding:var(--space-2) var(--space-4)}.landing__main{flex:1;width:100%;max-width:62rem;margin:0 auto;padding:var(--space-16) var(--space-6) var(--space-16)}.landing__hero{max-width:40rem}.landing__hero h1{font-size:var(--text-hero);line-height:1.12;color:var(--c-ink)}.landing__lede{margin-top:var(--space-4);font-size:var(--text-body);line-height:1.55;color:var(--c-ink)}.landing__cta{display:inline-block;margin-top:var(--space-8);padding:var(--space-3) var(--space-6);background:var(--c-cta);color:var(--c-cta-ink);font-weight:600;text-decoration:none;border-radius:var(--radius-control)}.landing__cta:hover{background:var(--c-cta-hover)}.landing__cta--small{margin-top:0;padding:var(--space-2) var(--space-4);font-size:var(--text-small);font-weight:500}.landing__note{margin-top:var(--space-6);font-size:var(--text-small);color:var(--c-ink-muted)}.legal{flex:1;width:100%;max-width:44rem;margin:0 auto;padding:var(--space-12) calc(var(--space-6) + var(--inset-right)) var(--space-16) calc(var(--space-6) + var(--inset-left));line-height:1.65}.legal h1{font-size:var(--text-title-page);color:var(--c-ink)}.legal__meta{margin-top:var(--space-1);font-size:var(--text-small);color:var(--c-ink-muted)}.legal__lede{margin-top:var(--space-6);font-size:var(--text-body)}.legal h2{margin-top:var(--space-group-above);font-size:var(--text-title-card);color:var(--c-ink)}.legal h3{margin-top:var(--space-group-above);font-size:var(--text-body);color:var(--c-accent)}.legal p,.legal ul{margin-top:var(--space-3)}.legal ul{padding-left:var(--space-4)}.legal li+li{margin-top:var(--space-2)}.legal a{color:var(--c-accent-strong)}.legal__foot{margin-top:var(--space-12);padding-top:var(--space-6);border-top:1px solid var(--c-line);font-size:var(--text-small)}.landing__features{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:var(--space-6) var(--space-8);margin-top:var(--space-16);padding-top:var(--space-12);border-top:1px solid var(--c-line)}.landing__feature h2{font-size:var(--text-body);font-weight:600;color:var(--c-ink)}.landing__feature p{margin-top:var(--space-2);font-size:var(--text-body);line-height:1.5;color:var(--c-ink-muted)}.landing__foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--space-4);padding:var(--space-4) var(--space-6);border-top:1px solid var(--c-line);font-size:var(--text-small);color:var(--c-ink-muted)}.landing__legal{flex-basis:100%;margin:0}.auth-page{display:flex;align-items:center;justify-content:center;min-height:100%;padding:var(--space-8) var(--space-6);overflow-y:auto}.auth-card{display:flex;flex-direction:column;gap:var(--space-4);width:100%;max-width:23rem;padding:var(--space-8);background:var(--c-surface);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.auth-card__brand{display:flex;align-items:center;gap:var(--space-2);min-height:44px;padding-block:8px;margin-block:-8px;color:var(--c-ink);font-weight:600;text-decoration:none}.auth-card__brand img{width:28px;height:28px;object-fit:contain}.auth-card h1{font-size:var(--text-title-card);color:var(--c-ink)}.auth-field{display:flex;flex-direction:column;gap:var(--space-1);font-size:var(--text-small);color:var(--c-ink-muted)}.auth-field input{font:inherit;font-size:var(--text-body);color:var(--c-ink);padding:var(--space-2) var(--space-3);border:1px solid var(--c-line-strong);border-radius:var(--radius-control);background:var(--c-surface)}.auth-field input[readonly]{background:var(--c-surface-sunken);color:var(--c-ink-muted)}.auth-field small{color:var(--c-ink-muted)}.auth-error{font-size:var(--text-small);color:var(--c-danger)}.auth-submit{padding:var(--space-3) var(--space-4);background:var(--c-cta);color:var(--c-cta-ink);font-weight:600;border:none;border-radius:var(--radius-control);cursor:pointer}.auth-submit:hover:not(:disabled):not([aria-disabled=true]){background:var(--c-cta-hover)}.auth-submit:disabled,.auth-submit[aria-disabled=true]{cursor:default}.auth-foot{font-size:var(--text-small);line-height:1.45;color:var(--c-ink-muted)}@media(max-width:640px){.vet-strip,.finalised-strip{white-space:normal;flex-wrap:wrap;max-width:100%;justify-content:center;text-align:center}.finalised-strip__amend{flex:0 0 auto}p.vet-strip,p.finalised-strip{white-space:normal;max-width:calc(100% - 1.5rem)}}.admin-page,.practice-page{display:flex;flex-direction:column;min-height:100%}@media(max-width:640px){.practice-row,.inspections__row{flex-wrap:wrap}}.admin-main,.practice-main{width:100%;max-width:56rem;margin:0 auto;padding:var(--space-4) calc(var(--space-4) + var(--inset-right)) var(--space-8) calc(var(--space-4) + var(--inset-left));display:flex;flex-direction:column;gap:var(--space-6)}.admin-card,.practice-card{padding:var(--space-6);background:var(--c-surface);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.admin-card h2,.practice-card h2{font-size:var(--text-title-card);color:var(--c-ink);margin-bottom:var(--space-4)}.admin-invite-form{display:flex;flex-direction:column;gap:var(--space-3);max-width:26rem}.admin-hint{margin-top:var(--space-4);font-size:var(--text-small);line-height:1.45;color:var(--c-ink-muted)}.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;font-size:var(--text-small);white-space:nowrap}.admin-table th{text-align:left;font-size:var(--text-caption);text-transform:uppercase;letter-spacing:.04em;color:var(--c-ink-muted);padding:0 var(--space-3) var(--space-2) 0;font-weight:600}.admin-table td{padding:var(--space-2) var(--space-3) var(--space-2) 0;border-top:1px solid var(--c-line)}.admin-table__note{max-width:16rem;overflow:hidden;text-overflow:ellipsis;color:var(--c-ink-muted)}.admin-table__actions{display:flex;gap:var(--space-2);padding-top:var(--space-2)}.admin-table__actions button{padding:var(--space-1) var(--space-2);background:var(--c-surface-raised);border:1px solid var(--c-line-control);border-radius:var(--radius-control);font-size:var(--text-small);cursor:pointer}.admin-table__actions button:hover{border-color:var(--c-accent);color:var(--c-accent-strong)}.admin-badge{display:inline-block;padding:0 var(--space-2);border-radius:var(--radius-xs);font-size:var(--text-caption);font-weight:700;text-transform:uppercase;letter-spacing:.03em}.admin-badge--pending{background:var(--c-warn-wash);color:var(--c-warn)}.admin-badge--accepted{background:var(--c-ok-wash);color:var(--c-ok)}.admin-badge--cancelled{background:var(--c-surface-sunken);color:var(--c-ink-muted)}.admin-badge--expired{background:var(--c-danger-wash);color:var(--c-danger)}.admin-badge--admin{background:var(--c-accent-wash);color:var(--c-accent-strong)}.admin-badge--user{background:var(--c-surface-sunken);color:var(--c-ink-muted)}.gate-splash__hint{max-width:22rem;text-align:center;font-size:var(--text-small);line-height:1.45}.gate-splash__out{padding:var(--space-2) var(--space-4);background:var(--c-surface-raised);border:1px solid var(--c-line-control);border-radius:var(--radius-control);font-size:var(--text-small);cursor:pointer}.gate-splash__out:hover{border-color:var(--c-accent);color:var(--c-accent-strong)}.auth-linkish{align-self:flex-start;padding:0;background:none;border:none;color:var(--c-accent-strong);font-size:var(--text-small);text-decoration:underline;cursor:pointer}.auth-linkish:hover:not(:disabled):not([aria-disabled=true]){color:var(--c-accent-strong)}.auth-linkish:disabled,.auth-linkish[aria-disabled=true]{opacity:.6;cursor:default}.practice-standing,.auth-notice,.practice-done{padding:var(--space-2) var(--space-3);background:var(--c-accent-wash);border-radius:var(--radius-control);font-size:var(--text-small);line-height:1.45;color:var(--c-accent-strong)}.feedback-veil{position:fixed;inset:0;z-index:var(--z-veil);display:flex;align-items:center;justify-content:center;padding:calc(1.25rem + var(--inset-top)) 1.25rem calc(1.25rem + var(--inset-bottom));background:var(--c-scrim)}.feedback-veil.practice-gate-veil{z-index:var(--z-veil-gate)}.feedback{width:100%;max-width:30rem;max-height:100%;padding:var(--space-6);overflow-y:auto;overscroll-behavior:contain;background:var(--c-surface);border-radius:var(--radius-card);box-shadow:var(--shadow-float)}.feedback__head-send{display:none}@media(max-width:640px){.feedback-veil.practice-sheet-veil{display:block;overflow-x:hidden;overflow-y:auto;overscroll-behavior:none;padding:0}.feedback.practice-sheet{max-width:none;max-height:none;min-height:100dvh;overflow-y:visible;border-radius:0;box-shadow:none;padding:0 1.25rem max(calc(1.25rem + var(--inset-bottom)),calc(1.25rem + 48px))}.practice-sheet .feedback__head{position:sticky;top:0;z-index:var(--z-raise);margin:0 -1.25rem;padding:calc(1.25rem + var(--inset-top)) 1.25rem .75rem;background:var(--c-surface);flex-wrap:wrap}.practice-sheet .feedback__head h2{flex:1 1 0;min-width:0;overflow-wrap:anywhere}.practice-sheet .feedback__head-send{display:inline-flex;align-items:center;justify-content:center;flex:1 0 100%;min-height:44px;padding:.25rem .75rem;background:var(--c-cta);color:var(--c-cta-ink);font-weight:600;text-align:center;border:0;border-radius:var(--radius-control);cursor:pointer}.practice-sheet .feedback__head-send:disabled{background:var(--c-surface-sunken);color:var(--c-ink-muted);cursor:default}.practice-sheet .feedback__actions{display:none}.practice-sheet .inspections__field input,.practice-sheet .inspections__field select{width:100%;min-width:0}}.feedback__head{display:flex;align-items:center;gap:var(--space-2)}.feedback__head h2{font-size:var(--text-title-card);color:var(--c-ink)}.feedback__close{margin-left:auto;min-width:44px;min-height:44px;padding:var(--space-1) var(--space-2);background:none;border:1px solid var(--c-line-strong);border-radius:var(--radius-control);color:var(--c-ink-muted);font-size:var(--text-body);cursor:pointer}.feedback__lede{margin-top:var(--space-1);font-size:var(--text-small);line-height:1.5;color:var(--c-ink)}.feedback__record{display:flex;align-items:center;gap:var(--space-3);margin:var(--space-4) 0 var(--space-3)}.feedback-mic{display:grid;place-items:center;width:56px;height:56px;background:var(--c-accent-wash);border:2px solid var(--c-accent);border-radius:var(--radius-round);color:var(--c-accent-strong);cursor:pointer}.feedback-mic svg,.ask__mic svg,.ask-launcher svg{width:28px;height:28px}.feedback-mic.is-recording{background:var(--c-record);border-color:var(--c-record);color:var(--c-on-danger);animation:feedback-pulse 1.4s ease-in-out infinite}@keyframes feedback-pulse{50%{box-shadow:0 0 0 8px rgb(var(--c-record-rgb) / .18)}}.feedback__record-label{font-size:var(--text-small);color:var(--c-ink-muted)}.feedback__waiting{padding:var(--space-2) var(--space-3);margin-bottom:var(--space-2);background:var(--c-warn-wash);border-radius:var(--radius-control);font-size:var(--text-small);line-height:1.45;color:var(--c-warn)}.feedback__error{margin-bottom:var(--space-2);font-size:var(--text-small);color:var(--c-danger)}.feedback__text{width:100%;padding:var(--space-3);font:inherit;font-size:var(--text-body);color:var(--c-ink);background:var(--c-surface);border:1px solid var(--c-line-strong);border-radius:var(--radius-control);resize:vertical}.feedback__actions{display:flex;gap:var(--space-2);margin-top:var(--space-4)}.feedback__send{flex:1;padding:var(--space-3);background:var(--c-cta);color:var(--c-cta-ink);font-weight:600;border:0;border-radius:var(--radius-control);cursor:pointer}.feedback__send:disabled{background:var(--c-surface-sunken);color:var(--c-ink-muted);cursor:default}.feedback__alt,.feedback__cancel{padding:var(--space-3) var(--space-4);background:var(--c-surface-raised);color:var(--c-ink-muted);border:1px solid var(--c-line-control);border-radius:var(--radius-control);cursor:pointer}.feedback__alt{color:var(--c-ink)}.feedback__send--danger{flex:0 1 auto;padding:var(--space-3) var(--space-4);background:var(--c-danger-fill);color:var(--c-on-danger);border:0}.feedback__cancel--default{flex:1;background:var(--c-cta);color:var(--c-cta-ink);font-weight:600;border:0}.practice-gate .feedback__actions{flex-wrap:wrap}.feedback__actions--stack{flex-direction:column;align-items:stretch}.feedback__actions--stack>button{flex:0 0 auto}.patient-legend,.finalise__field{margin-top:var(--space-4);font-size:var(--text-small);color:var(--c-ink-muted)}.finalise__field input,.finalise__field select{min-height:44px}.finalise__field input[type=date],.finalise__field input[type=datetime-local],.finalise__field input[type=time]{accent-color:var(--c-accent)}.finalise__hint{font-size:var(--text-small);line-height:1.45;color:var(--c-ink-muted)}.finalise__blocked{margin-top:var(--space-4);font-size:var(--text-small);line-height:1.45;color:var(--c-ink-muted)}.finalise__error{margin-top:var(--space-4)}.finalise .feedback__alt,.finalise .feedback__send,.finalise .feedback__cancel{min-height:44px}.report__filed,.report__pdf-state{margin-top:var(--space-2);font-size:var(--text-small);line-height:1.45;color:var(--c-ink-muted)}.vet-strip,.finalised-strip{display:flex;align-items:center;gap:var(--space-2);width:fit-content;margin:0 auto;padding:var(--space-1) var(--space-3);background:var(--c-accent-wash);color:var(--c-accent-strong);border-radius:var(--radius-pill);font-size:var(--text-small);min-height:44px;white-space:nowrap}.finalised-strip__amend{min-height:44px}.app-header__horse--filed{align-self:center;padding:var(--space-1) var(--space-2);margin-left:var(--space-1);font-size:var(--text-body);font-weight:600;color:var(--c-ink)}.amend__h{display:flex;flex-direction:column;gap:var(--space-1);margin-top:var(--space-group-above);font-size:var(--text-small);font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--c-ink-muted)}.amend__was{font-size:var(--text-small);line-height:1.45;color:var(--c-ink-muted)}.inspections__welcome{padding:var(--space-4);background:var(--c-surface);border-left:4px solid var(--c-accent);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.inspections__welcome h2{font-size:var(--text-body);color:var(--c-ink);margin-bottom:var(--space-2)}.inspections__welcome p{font-size:var(--text-small);line-height:1.55;color:var(--c-ink)}.inspections__welcome p+p{margin-top:var(--space-2)}.inspections__tip{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--c-accent-wash);border-radius:var(--radius-control)}.inspections__tip p{font-size:var(--text-small);line-height:1.5;color:var(--c-accent-strong)}.notify{padding:var(--space-3) var(--space-4);background:var(--c-surface-sunken);border:1px solid var(--c-line);border-radius:var(--radius-control)}.notify__lede{font-size:var(--text-small);line-height:1.5;color:var(--c-ink)}.notify__actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);margin-top:var(--space-3)}.notify__btn{padding:var(--space-2) var(--space-4);background:var(--c-surface-raised);border:1px solid var(--c-line-control);border-radius:var(--radius-control);font-size:var(--text-small);font-weight:600;color:var(--c-ink);cursor:pointer}.notify__btn:disabled{opacity:.6;cursor:default}.notify__link{padding:0;background:none;border:0;font-size:var(--text-small);color:var(--c-ink-muted);text-decoration:underline;cursor:pointer}.notify__msg{margin-top:var(--space-2);font-size:var(--text-small);color:var(--c-ink-muted)}.inspections__dismiss{margin-top:var(--space-3);padding:var(--space-1) var(--space-3);background:var(--c-surface-raised);color:var(--c-ink-muted);border:1px solid var(--c-line-control);border-radius:var(--radius-control);font-size:var(--text-small);cursor:pointer}.inspections__tip .inspections__dismiss{margin-top:0;margin-left:auto;white-space:nowrap}.inspections__dismiss:hover{border-color:var(--c-accent);color:var(--c-accent-strong)}.note-list{list-style:none;display:flex;flex-direction:column;gap:var(--space-2)}.note{display:flex;align-items:baseline;gap:var(--space-3);width:100%;padding:var(--space-2) var(--space-3);text-align:left;background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--radius-control);cursor:pointer}.note:hover,.note.is-open{border-color:var(--c-accent)}.note__when{font-size:var(--text-caption);color:var(--c-ink-muted);white-space:nowrap}.note__who{font-size:var(--text-small);font-weight:600;color:var(--c-ink);white-space:nowrap}.note__text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-small)}.note__audio{padding:0 var(--space-2);background:var(--c-accent-wash);border-radius:var(--radius-pill);font-size:var(--text-caption);color:var(--c-accent-strong)}.note-detail__meta{font-size:var(--text-small);color:var(--c-ink-muted)}.note-detail__text{margin:var(--space-3) 0;padding:var(--space-3) var(--space-4);background:var(--c-surface);border-left:3px solid var(--c-accent);border-radius:var(--radius-control);font-size:var(--text-body);line-height:1.55;white-space:pre-wrap}.note-detail__audio audio{width:100%;max-width:26rem}.note-detail__clip+.note-detail__clip{margin-top:var(--space-2)}.note-detail__clip-label{display:block;margin-bottom:var(--space-1);font-size:var(--text-caption);color:var(--c-ink-muted)}.note-detail__actions{margin:var(--space-4) 0}.note-detail__actions button{padding:var(--space-1) var(--space-3);background:var(--c-surface-raised);border:1px solid var(--c-line-control);border-radius:var(--radius-control);font-size:var(--text-small);cursor:pointer}.note-detail__actions button:hover{border-color:var(--c-accent);color:var(--c-accent-strong)}.note-detail__sub{margin-top:var(--space-group-above);font-size:var(--text-small);text-transform:uppercase;letter-spacing:.04em;color:var(--c-ink-muted)}.timeline{list-style:none;max-height:32rem;margin-top:var(--space-2);overflow-y:auto;font-family:var(--font-mono);font-size:var(--text-caption)}.timeline__row{display:flex;align-items:baseline;gap:var(--space-3);padding:var(--space-1) 0;border-top:1px solid var(--c-line)}.timeline__at{width:3.2rem;flex:none;color:var(--c-ink-muted)}.timeline__type{width:11rem;flex:none;color:var(--c-ink);font-weight:600}.timeline__summary{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--c-ink)}.timeline__raw summary{color:var(--c-ink-muted);cursor:pointer}.timeline__raw pre{max-width:24rem;margin-top:var(--space-1);padding:var(--space-2);overflow-x:auto;background:var(--c-surface-sunken);border-radius:var(--radius-control);white-space:pre-wrap;word-break:break-word}.sedation .cmd{min-height:44px;align-items:center}.sedation__fieldset{border:0;padding:0;margin:0}.sedation__more>summary{display:flex;align-items:center;min-height:44px;margin-top:var(--space-4);font-size:var(--text-small);font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--c-ink-muted);cursor:pointer;list-style:none}.sedation__more>summary::-webkit-details-marker{display:none}.sedation__remove{min-height:44px;margin-top:var(--space-4)}.sedation__remove.is-armed{background:var(--c-danger-fill);border-color:var(--c-danger-fill);color:var(--c-on-danger)}.sedation--filed .feedback__cancel{flex:1}.sedation__note{width:100%;text-align:left;min-height:44px}.owner{flex:1;width:100%;max-width:44rem;margin:0 auto;padding:var(--space-8) calc(var(--space-4) + var(--inset-right)) var(--space-12) calc(var(--space-4) + var(--inset-left))}.owner .doc{font-size:var(--text-body);line-height:1.6}.owner .doc__title{font-size:var(--text-title-page);line-height:1.25}.owner .doc__lead{font-size:var(--text-title-card);line-height:1.4}.owner .entry__title{font-size:var(--text-title-card)}.owner .doc__h{font-size:var(--text-small)}.owner .doc__sub,.owner .doc__intro,.owner .doc__note,.owner .doc__glossary,.owner .entry__meta,.owner .entry__quote,.owner .entry__facts{font-size:var(--text-body)}.owner .doc__h{color:var(--c-ink)}.owner .doc__sub{color:var(--c-ink-muted)}.owner__filed,.owner__foot{font-size:var(--text-body);color:var(--c-ink-muted)}.owner__foot{margin-top:var(--space-8)}.owner__loading{font-size:var(--text-body);color:var(--c-ink-muted);text-align:center}.owner__h1{font-size:var(--text-title-page);line-height:1.25;color:var(--c-ink)}.owner__body{margin-top:var(--space-4);font-size:var(--text-body);line-height:1.6;color:var(--c-ink-muted)}.owner__retry{margin-top:var(--space-6);min-height:44px}.owner-photos{margin-top:var(--space-6)}.owner-photos__grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:var(--space-2);padding:0}.owner-photos__tile{display:grid;gap:var(--space-2)}.owner-photos__tile button{display:block;width:100%;min-height:44px;padding:0;border:1px solid transparent;border-radius:var(--radius-control);background:none;cursor:pointer}.owner-photos__shot{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--radius-control);background:var(--c-surface-sunken)}.owner-photos__caption{font-size:var(--text-body);line-height:1.6;color:var(--c-ink-muted)}.owner-photos__meta{font-size:var(--text-small);color:var(--c-ink-muted);font-variant-numeric:tabular-nums}.owner-photos__detail,.owner-chart__detail{display:grid;gap:var(--space-4);justify-items:start}.owner-photos__back,.owner-chart__back{min-height:44px}.owner-photos__full{display:block;max-width:100%;border-radius:var(--radius-control)}.owner-chart{margin-top:var(--space-6)}.owner-chart__tile{display:block;width:100%;min-height:44px;padding:0;border:1px solid transparent;border-radius:var(--radius-control);background:none;cursor:pointer}.owner-chart__shot,.owner-chart__full{display:block;width:100%;height:auto;aspect-ratio:1400 / 572;object-fit:contain;border:1px solid var(--c-line);border-radius:var(--radius-control);background:var(--c-surface-sunken)}.owner-chart__hint{margin-top:var(--space-2);font-size:var(--text-small);line-height:1.6;color:var(--c-ink-muted)}.practice-new{align-self:flex-start;min-height:44px;padding:var(--space-3);background:var(--c-cta);color:var(--c-cta-ink);font-weight:600;border:0;border-radius:var(--radius-control);cursor:pointer}.practice-new:disabled{background:var(--c-surface-sunken);color:var(--c-ink-muted);cursor:not-allowed}.practice-hint{font-size:var(--text-small);line-height:1.45;color:var(--c-ink-muted);overflow-wrap:anywhere}.practice-quiet{font-size:var(--text-small);line-height:1.45;color:var(--c-ink-muted)}a.practice-quiet{display:inline-flex;align-items:center;align-self:flex-start;min-height:44px}.practice-row__meta{margin-left:auto;font-size:var(--text-small);color:var(--c-ink-muted)}.practice-issue{margin-top:var(--space-1);font-size:var(--text-small);line-height:1.45;color:var(--c-danger)}.practice-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-4)}.practice-card .practice-actions{scroll-margin-bottom:12px}.practice-standing,.practice-done{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-4)}.practice-done--undone{background:var(--c-surface-sunken);color:var(--c-ink);box-shadow:inset 4px 0 0 var(--c-line-strong)}.link-group .ghost-btn,.link-picker .ghost-btn,.practice-standing .ghost-btn,.link-bar .ghost-btn,.practice-actions .ghost-btn,.practice-done .ghost-btn,.practice-windows .ghost-btn,.pin-bar .ghost-btn,.import-yard,.visit-horse__under .ghost-btn,.practice-form .feedback__close,.practice-gate .feedback__close,.sedation .feedback__close,.amend .feedback__close,.patient-sheet .feedback__close,.ask .feedback__close,.ask .ghost-btn,.practice-form .ghost-btn{min-height:44px;min-width:44px}.practice-contact{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2);margin-top:var(--space-4)}.practice-main .inspections__field input,.practice-main .inspections__field select,.practice-main .inspections__field textarea,.link-picker .inspections__field input{min-height:44px}.practice-main .inspections__field{color:var(--c-ink-muted)}.practice-main .inspections__field textarea{min-height:88px}.practice-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-2)}.practice-windows{display:flex;flex-direction:column;gap:var(--space-4)}.patient-chips,.ask__chips,.ask__options,.practice-weekdays{display:flex;flex-wrap:wrap;gap:var(--space-2)}.patient-chip,.ask__chip,.practice-weekday{min-width:44px;min-height:44px}.practice-weekday[aria-pressed=true],.patient-chip[aria-pressed=true],.due-view[aria-pressed=true]{background:var(--c-accent-wash);color:var(--c-accent-strong)}.import-yard,.link-bucket__head{position:sticky;top:var(--inset-top);z-index:var(--z-raise);width:100%;min-height:44px;border:0;text-align:left;cursor:pointer}.link-bucket__head:disabled{opacity:.45;cursor:not-allowed}.link-group{flex-direction:column;align-items:stretch;gap:var(--space-2)}.link-group__head{display:flex;align-items:baseline;gap:var(--space-3);min-height:44px}.link-choice{min-height:44px;align-items:center}.link-exams{list-style:none;display:flex;flex-direction:column;gap:var(--space-1)}.link-exam{display:flex;align-items:center;gap:var(--space-3);min-height:44px;font-size:var(--text-small);color:var(--c-ink-muted)}.link-picker{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-3);background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--radius-control)}.link-bar{position:sticky;bottom:var(--tabbar-h);z-index:var(--z-raise);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-4);margin:0 calc(-1 * (var(--space-4) + var(--inset-right))) calc(-1 * var(--space-8)) calc(-1 * (var(--space-4) + var(--inset-left)));padding:var(--space-3) calc(var(--space-4) + var(--inset-right)) calc(var(--space-3) + max(0px,var(--inset-bottom) - var(--tabbar-h))) calc(var(--space-4) + var(--inset-left));background:var(--c-surface);border-top:1px solid var(--c-line)}.inspections__without{width:100%;min-height:44px}.inspections__new-form .inspections__field,.inspections__new-form .inspections__quiet{color:var(--c-ink-muted)}.status-scrim{position:fixed;top:0;left:0;right:0;z-index:var(--z-status);height:var(--inset-top);background:var(--c-canvas);pointer-events:none}.pin-page{display:flex;flex-direction:column;height:100dvh;overflow:hidden;background:var(--c-canvas)}.pin-head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);background:var(--c-canvas);padding:calc(var(--space-2) + var(--inset-top)) calc(var(--space-6) + var(--inset-right)) var(--space-2) calc(var(--space-6) + var(--inset-left))}.pin-head__back{display:inline-flex;align-items:center;min-height:44px;min-width:44px;width:fit-content;border:0;background:transparent;color:var(--c-accent-strong);font-size:var(--text-small);cursor:pointer}.pin-head__title{min-height:24px;font-size:var(--text-small);font-weight:600;color:var(--c-ink);overflow-wrap:anywhere}.pin-body{position:relative;flex:1;min-height:0;background:var(--c-surface-sunken)}.pin-map{position:absolute;inset:0;overscroll-behavior:contain;isolation:isolate}.pin-crosshair{position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%);pointer-events:none}.pin-cross__dark{stroke:var(--c-ink)}.pin-cross__light{stroke:var(--c-surface)}.pin-over{background:var(--c-surface);border:1px solid var(--c-ink);border-radius:var(--radius-control)}.pin-callout{position:absolute;left:8px;right:8px;top:8px;padding:var(--space-2) var(--space-3);font-size:var(--text-small);line-height:1.45;color:var(--c-ink)}.pin-zoom{position:absolute;right:8px;bottom:8px;display:flex;flex-direction:column;align-items:flex-end;gap:var(--space-2)}.pin-zoom .ghost-btn{min-height:44px;min-width:44px;background:var(--c-surface-raised);border-color:var(--c-ink)}.pin-note{padding:var(--space-2) calc(var(--space-6) + var(--inset-right)) var(--space-2) calc(var(--space-6) + var(--inset-left));background:var(--c-surface);font-size:.8rem;line-height:1.45;color:var(--c-ink-muted)}.pin-attribution{padding:var(--space-2) calc(var(--space-6) + var(--inset-right)) var(--space-2) calc(var(--space-6) + var(--inset-left));background:var(--c-surface);border-top:1px solid var(--c-line);font-size:var(--text-caption);line-height:1.45;color:var(--c-ink-muted)}.pin-bar{display:flex;flex-direction:column;gap:var(--space-2);background:var(--c-surface);border-top:1px solid var(--c-line);padding:var(--space-3) calc(var(--space-6) + var(--inset-right)) max(calc(.75rem + var(--inset-bottom)),calc(.75rem + 48px)) calc(var(--space-6) + var(--inset-left))}.pin-bar__line{font-size:.8rem;line-height:1.45;min-height:1.45em;color:var(--c-ink-muted)}.pin-bar__actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.pin-bar__actions .practice-new{flex:1}.pin-field input{min-height:44px}.pin-w3w{font-size:var(--text-small);overflow-wrap:anywhere}.pin-w3w__slashes{color:var(--c-accent-strong)}.practice-standing a.ghost-btn,.practice-actions a.practice-new,.practice-actions a.ghost-btn{display:inline-flex;align-items:center}.visit-horse__under,.import-horse{display:flex;flex-direction:column;gap:var(--space-1);padding-left:var(--space-3);border-left:1px solid var(--c-line)}.imported-doc__text{white-space:pre-line;overflow-wrap:anywhere}.visit-horse__under{margin-top:var(--space-2)}.diary-strip{display:flex;flex-direction:column;gap:var(--space-2)}.diary-strip__month{flex:1 1 0;min-width:0}.diary-days{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));margin-inline:calc(-1*clamp(0px,(316px - 100%) / 2,var(--space-4)));background:var(--c-surface);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.diary-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-1);min-height:44px;padding:var(--space-2) 0;background:transparent;border:0;border-radius:var(--radius-control);color:var(--c-ink-muted);font:inherit;font-size:var(--text-caption);cursor:pointer}.diary-cell__n{font-size:var(--text-small);font-weight:600;color:var(--c-ink)}.diary-cell[aria-current=date] .diary-cell__n{text-decoration:underline}.diary-cell[aria-pressed=true]{background:var(--c-accent-wash);color:var(--c-accent-strong)}.diary-cell:disabled{opacity:.45;cursor:not-allowed}.diary-wd{padding:var(--space-1) 0;text-align:center;font-size:var(--text-caption);color:var(--c-ink-muted)}.diary-row__n{min-width:1.5rem}.diary-row__body{display:flex;flex:1 1 0;flex-direction:column;gap:var(--space-1);min-width:0}.diary-row__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-2)}.diary-yard{width:100%;font:inherit;text-align:left;cursor:pointer}.diary-day__actions{margin:var(--space-4) 0}.practice-sheet fieldset{border:0;padding:0;margin-inline:0;min-width:0}.diary-map{aspect-ratio:4 / 3;max-height:360px;width:100%;margin-top:var(--space-4);border-radius:var(--radius-control);background:var(--c-canvas);isolation:isolate}.diary-map__visit{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--radius-round);background:var(--c-brand-navy);color:var(--c-on-bar);font-size:var(--text-caption);font-weight:600}.diary-map__start{width:20px;height:20px;background:var(--c-on-bar);border:3px solid var(--c-brand-navy)}.diary-leg{padding:0 var(--space-4) var(--space-1)}.ghost-btn[aria-disabled=true]{opacity:.45;cursor:not-allowed}.practice-new[aria-disabled=true]{background:var(--c-surface-sunken);color:var(--c-ink-muted);cursor:not-allowed}.practice-actions a.practice-new{text-decoration:none}a.ghost-btn,a.practice-new{display:inline-flex;align-items:center;text-decoration:none}a.ghost-btn{color:inherit}a.btn-secondary{display:inline-flex;align-items:center;padding:0 var(--space-4);text-decoration:none}.feedback__send[aria-disabled=true],.practice-sheet .feedback__head-send[aria-disabled=true]{background:var(--c-surface-sunken);color:var(--c-ink-muted);cursor:default}.patient-line{display:flex;flex-wrap:wrap;align-items:center;align-content:flex-start;width:100%;height:max(44px,1.5em);height:1lh;min-height:44px;line-height:max(44px,1.5em);padding:0 var(--space-2);background:var(--c-surface-raised);box-shadow:inset 0 0 0 1px var(--c-line-control);border:0;border-radius:var(--radius-control);color:var(--c-ink-muted);font-size:.8rem;text-align:left;white-space:nowrap;overflow:hidden;cursor:pointer}.patient-line__name,.patient-line__about,.patient-line__last{min-width:0;overflow:hidden;text-overflow:ellipsis}.patient-line__name{flex:1000 10000 3ch;min-width:3ch;max-width:max-content;color:var(--c-ink);font-weight:600}.patient-line__about{flex:1 100 6ch;min-width:6ch;max-width:max-content}.patient-line__last{flex:0 0 auto}.patient-chips{margin-top:var(--space-2)}.patient-group{margin-top:var(--space-4)}.patient-facts{list-style:none;display:grid;gap:var(--space-2);margin-top:var(--space-2)}.amend__h,.sedation__more>summary{color:var(--c-ink-muted)}.patient-sheet .practice-actions{margin-top:var(--space-4)}.ask__row{display:flex;gap:var(--space-2);align-items:stretch;margin-top:var(--space-2)}.ask__row input{flex:1 1 0;min-width:0;min-height:56px;padding:0 48px 0 var(--space-3);font:inherit;font-size:var(--text-body);color:var(--c-ink);background:var(--c-surface);border:1px solid var(--c-line-strong);border-radius:var(--radius-control)}.ask__field{position:relative;display:flex;flex:1 1 0;min-width:0}.ask__clear{position:absolute;top:0;bottom:0;right:2px;margin:auto 0;display:grid;place-items:center;width:44px;height:44px;padding:0;background:none;border:0;border-radius:var(--radius-round);color:var(--c-ink-muted);font-size:var(--text-body);cursor:pointer}.ask__send{min-height:56px;padding-block:0;align-self:stretch;flex:none}.ask__mic{display:grid;place-items:center;flex:none;width:56px;height:56px;padding:0;background:var(--c-surface-raised);border:1px solid var(--c-line-strong);border-radius:var(--radius-round);color:var(--c-ink);cursor:pointer}.ask__mic[aria-pressed=true]{background:var(--c-record);border-color:var(--c-record);color:var(--c-on-danger)}.ask__chips{margin-top:var(--space-4)}.ask__options{margin-top:var(--space-2)}.ask__chip{text-align:left}.ask__guard,.ask__answer,.ask__earlier,.ask .practice-actions,.ask__permission,.ask-card__ask,.ask-card__conflict,.ask-card__more,.ask__kept{margin-top:var(--space-4)}.ask__understood{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);font-size:var(--text-small);color:var(--c-ink-muted)}.ask__permission{padding:var(--space-4);border:1px solid var(--c-line);border-radius:var(--radius-control)}.ask__can{margin-top:var(--space-2);padding-left:var(--space-6);list-style:disc}.ask__reply{padding:var(--space-4);border:1px solid var(--c-line);border-left:4px solid var(--c-accent);border-radius:var(--radius-control)}.ask__reply-h{margin-top:0;margin-bottom:var(--space-2);color:var(--c-ink)}.ask-launcher{position:fixed;right:calc(16px + var(--inset-right));bottom:calc(16px + var(--inset-bottom) + var(--ask-lift, 0px));z-index:var(--z-chrome);display:grid;place-items:center;width:56px;height:56px;padding:0;background:var(--c-bar);color:var(--c-on-bar);border:2px solid var(--c-on-bar);border-radius:var(--radius-round);box-shadow:var(--shadow-float);cursor:pointer}:root[data-ask-launcher] .practice-main,:root[data-ask-launcher] .inspections__main{padding-bottom:max(3rem,calc(80px + var(--inset-bottom)))}.ask-card__said{margin-top:var(--space-2);overflow-wrap:anywhere}.ask-card__rows,.ask__kept-list{list-style:none;margin-top:var(--space-2)}.ask-row{display:block;width:100%;min-height:44px;padding:var(--space-2) 0;text-align:left;background:none;border:0;border-top:1px solid var(--c-line);font:inherit;color:var(--c-ink);cursor:pointer}.ask-row__head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.ask-row__label{font-size:var(--text-small);color:var(--c-ink-muted)}.ask-row__value{display:block;font-size:var(--text-body);line-height:1.45;overflow-wrap:anywhere}.ask-tag--check{background:var(--c-accent-wash);color:var(--c-accent-strong)}.ask-tag--needed,.entry__vet{background:var(--c-surface);color:var(--c-danger);box-shadow:inset 0 0 0 1px var(--c-danger)}.ask-row__edit{padding-bottom:var(--space-2)}.ask-card__q{font-size:var(--text-body);line-height:1.45;color:var(--c-ink)}.ask-launcher__count{position:absolute;top:-.4em;right:-.4em;min-width:1.6em;height:1.6em;padding:0 .3em;display:grid;place-items:center;font-size:var(--text-caption);font-weight:600;line-height:1;color:var(--c-bar);background:var(--c-on-bar);border:2px solid var(--c-bar);border-radius:var(--radius-pill);pointer-events:none}.tool-btn[data-ask-tool]{position:relative}.ask-kept{padding:var(--space-4) 0;border-top:1px solid var(--c-line)}.ask-kept__words{font-size:var(--text-small);line-height:1.45;color:var(--c-ink);overflow-wrap:anywhere}.ask-card .practice-done,.functional__side{margin-top:var(--space-2)}.referral__message{margin-top:var(--space-4)}.functional .practice-actions,.referral>.practice-actions,.referral__message .practice-actions{margin-top:var(--space-4)}.referral>.finalise__hint+.practice-actions{margin-top:var(--space-2)}.vet-strip{background:var(--c-surface);color:var(--c-danger);box-shadow:inset 0 0 0 1px var(--c-danger)}.chart-panels,.chart-panels .info-panel{max-height:calc(100% - 24px);overflow-y:auto;overscroll-behavior:contain}.info-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-2)}.info-panel__close{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid var(--c-line-strong);border-radius:var(--radius-control);background:var(--c-surface-sunken);color:var(--c-ink);font-size:var(--text-small);cursor:pointer}.info-panel__choice--pair{grid-template-columns:1fr 1fr}.drop-icon.is-selectable{pointer-events:all;cursor:pointer}.drop-icon__vet{fill:var(--chart-paper);stroke:var(--mark-red);stroke-width:1.6}.drop-icon__text--vet{fill:var(--mark-red);stroke:none}.chart-label{font-size:13px}.doc__bar{display:inline-block;width:3rem;height:.5rem;margin-left:var(--space-2);border:1px solid var(--c-ink);vertical-align:middle}.doc__bar>span{display:block;height:100%;background:var(--c-ink)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.card,.practice-card,.admin-card,.auth-card,.ask-card,.inspections__welcome,.inspections__new-form,.diary-days,.link-bucket__head,.link-group,.inspections__row{background:var(--c-surface);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.card{padding:var(--space-6)}.card+.card{margin-top:var(--space-6)}@media(max-width:640px){.card{padding:var(--space-4)}}.btn-secondary,.ghost-btn,.inspections__cancel,.inspections__dismiss,.feedback__alt,.feedback__cancel,.admin-table__actions button,.gate-splash__out,.note-detail__actions button,.landing__cta--small,.landing__signin,.dictation .apply-btn{background:var(--c-surface-raised);color:var(--c-ink);font-weight:400;border:1px solid var(--c-line-control);border-radius:var(--radius-control);min-height:44px;box-shadow:var(--shadow-quiet);transition:background-color var(--motion-fast) var(--ease-out)}.btn-secondary:hover,.ghost-btn:hover,.inspections__cancel:hover,.inspections__dismiss:hover,.feedback__alt:hover,.feedback__cancel:hover,.admin-table__actions button:hover,.gate-splash__out:hover,.note-detail__actions button:hover,.landing__cta--small:hover,.landing__signin:hover,.dictation .apply-btn:hover{background:var(--c-surface-hover)}.info-panel .ghost-btn{min-height:30px}.dictation .apply-btn:disabled{background:var(--c-surface-sunken);color:var(--c-ink-muted);box-shadow:none;cursor:not-allowed}.btn-primary,.inspections__new,.inspections__start,.practice-new,.auth-submit,.landing__cta:not(.landing__cta--small),.feedback__send:not(.feedback__send--danger),.feedback__head-send,.practice-sheet .feedback__head-send,.gallery__capture,.report .apply-btn,.feedback__cancel.feedback__cancel--default{background:var(--c-cta);color:var(--c-cta-ink);font-weight:600;border:0;border-radius:var(--radius-control);min-height:44px;box-shadow:var(--shadow-button);transition:background-color var(--motion-fast) var(--ease-out),transform var(--motion-base) var(--ease-out)}.btn-primary:hover:not(:disabled):not([aria-disabled=true]),.inspections__new:hover:not(:disabled):not([aria-disabled=true]),.inspections__start:hover:not(:disabled):not([aria-disabled=true]),.practice-new:hover:not(:disabled):not([aria-disabled=true]),.auth-submit:hover:not(:disabled):not([aria-disabled=true]),.landing__cta:not(.landing__cta--small):hover:not(:disabled):not([aria-disabled=true]),.feedback__send:not(.feedback__send--danger):hover:not(:disabled):not([aria-disabled=true]),.feedback__head-send:hover:not(:disabled):not([aria-disabled=true]),.practice-sheet .feedback__head-send:hover:not(:disabled):not([aria-disabled=true]),.gallery__capture:hover:not(:disabled):not([aria-disabled=true]),.report .apply-btn:hover:not(:disabled):not([aria-disabled=true]),.feedback__cancel.feedback__cancel--default:hover:not(:disabled):not([aria-disabled=true]){background:var(--c-cta-hover)}@media(hover:hover)and (prefers-reduced-motion:no-preference){.btn-primary:hover:not(:disabled):not([aria-disabled=true]),.inspections__new:hover:not(:disabled):not([aria-disabled=true]),.inspections__start:hover:not(:disabled):not([aria-disabled=true]),.practice-new:hover:not(:disabled):not([aria-disabled=true]),.auth-submit:hover:not(:disabled):not([aria-disabled=true]),.landing__cta:not(.landing__cta--small):hover:not(:disabled):not([aria-disabled=true]),.feedback__send:not(.feedback__send--danger):hover:not(:disabled):not([aria-disabled=true]),.feedback__head-send:hover:not(:disabled):not([aria-disabled=true]),.practice-sheet .feedback__head-send:hover:not(:disabled):not([aria-disabled=true]),.gallery__capture:hover:not(:disabled):not([aria-disabled=true]),.report .apply-btn:hover:not(:disabled):not([aria-disabled=true]),.feedback__cancel.feedback__cancel--default:hover:not(:disabled):not([aria-disabled=true]){transform:translateY(-1px)}}.btn-primary:disabled,.btn-primary[aria-disabled=true],.inspections__new:disabled,.inspections__new[aria-disabled=true],.inspections__start:disabled,.inspections__start[aria-disabled=true],.practice-new:disabled,.practice-new[aria-disabled=true],.auth-submit:disabled,.auth-submit[aria-disabled=true],.landing__cta:not(.landing__cta--small):disabled,.landing__cta:not(.landing__cta--small)[aria-disabled=true],.feedback__send:not(.feedback__send--danger):disabled,.feedback__send:not(.feedback__send--danger)[aria-disabled=true],.feedback__head-send:disabled,.feedback__head-send[aria-disabled=true],.practice-sheet .feedback__head-send:disabled,.practice-sheet .feedback__head-send[aria-disabled=true],.gallery__capture:disabled,.gallery__capture[aria-disabled=true],.report .apply-btn:disabled,.report .apply-btn[aria-disabled=true],.feedback__cancel.feedback__cancel--default:disabled,.feedback__cancel.feedback__cancel--default[aria-disabled=true]{background:var(--c-surface-sunken);color:var(--c-ink-muted);box-shadow:none;transform:none;cursor:default}.btn-link,.auth-linkish{background:none;border:0;color:var(--c-accent-strong);text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px;min-height:44px}.btn-danger,.feedback__send--danger,.sedation__remove.is-armed{background:var(--c-danger-fill);color:var(--c-on-danger);font-weight:600;border:0;border-radius:var(--radius-control);min-height:44px}.choice-chip,.patient-chip,.practice-weekday,.due-view,.diary-cell,.popover button{min-height:44px;border-radius:var(--radius-pill);background:var(--c-surface-raised);color:var(--c-ink);border:1px solid var(--c-line-control)}.choice-chip[aria-pressed=true],.choice-chip.is-on,.choice-chip.is-active,.patient-chip[aria-pressed=true],.patient-chip.is-on,.patient-chip.is-active,.practice-weekday[aria-pressed=true],.practice-weekday.is-on,.practice-weekday.is-active,.due-view[aria-pressed=true],.due-view.is-on,.due-view.is-active,.diary-cell[aria-pressed=true],.diary-cell.is-on,.diary-cell.is-active,.popover button[aria-pressed=true],.popover button.is-on,.popover button.is-active{background:var(--c-accent-wash);color:var(--c-accent-strong);border-color:var(--c-accent);box-shadow:inset 0 0 0 1px var(--c-accent)}.diary-cell[aria-pressed=true] .diary-cell__n{color:var(--c-accent-strong)}.status-chip,.chip,.tag,.admin-badge,.ask-tag,.inspections__waiting{font-size:var(--text-caption);font-weight:600;border-radius:var(--radius-pill)}.status-chip--neutral,.chip,.tag,.admin-badge,.ask-tag:not(.ask-tag--check):not(.ask-tag--needed){background:var(--c-surface-sunken);color:var(--c-ink-muted)}.status-chip--info,.chip--transcribing,.chip--extracting,.tag--teeth,.tag--charted,.admin-badge--admin{background:var(--c-accent-wash);color:var(--c-accent-strong)}.status-chip--waiting,.inspections__waiting,.chip--pending,.admin-badge--pending{background:var(--c-warn-wash);color:var(--c-warn)}.status-chip--done,.chip--ready,.chip--applied,.admin-badge--accepted{background:var(--c-ok-wash);color:var(--c-ok)}.status-chip--failed,.chip--error,.chip--failed,.admin-badge--expired{background:var(--c-danger-wash);color:var(--c-danger)}.inspections__waiting--filed,.inspections__waiting--finalised,.admin-badge--cancelled,.admin-badge--user{background:var(--c-surface-sunken);color:var(--c-ink-muted)}.input,.inspections__field input,.inspections__field textarea,.inspections__field select,.auth-field input,.feedback__text,.ask__row input,.clip__transcript textarea,.gallery__caption{background:var(--c-surface);color:var(--c-ink);border:1px solid var(--c-line-strong);border-radius:var(--radius-control);min-height:44px}.input,.inspections__field select{font:inherit}.ask__row input{min-height:56px}.input::placeholder,.inspections__field input::placeholder,.inspections__field textarea::placeholder,.inspections__field select::placeholder,.auth-field input::placeholder,.feedback__text::placeholder,.ask__row input::placeholder,.clip__transcript textarea::placeholder,.gallery__caption::placeholder{color:var(--c-ink-muted)}.input:focus,.inspections__field input:focus,.inspections__field textarea:focus,.inspections__field select:focus,.auth-field input:focus,.feedback__text:focus,.ask__row input:focus,.clip__transcript textarea:focus,.gallery__caption:focus{border-color:var(--c-accent)}.input:disabled,.input[readonly],.inspections__field input:disabled,.inspections__field input[readonly],.inspections__field textarea:disabled,.inspections__field textarea[readonly],.inspections__field select:disabled,.inspections__field select[readonly],.auth-field input:disabled,.auth-field input[readonly],.feedback__text:disabled,.feedback__text[readonly],.ask__row input:disabled,.ask__row input[readonly],.clip__transcript textarea:disabled,.clip__transcript textarea[readonly],.gallery__caption:disabled,.gallery__caption[readonly]{background:var(--c-surface-sunken);color:var(--c-ink-muted)}.input[aria-invalid=true],.inspections__field input[aria-invalid=true],.inspections__field textarea[aria-invalid=true],.inspections__field select[aria-invalid=true],.auth-field input[aria-invalid=true],.feedback__text[aria-invalid=true],.ask__row input[aria-invalid=true],.clip__transcript textarea[aria-invalid=true],.gallery__caption[aria-invalid=true]{border-color:var(--c-danger)}.feedback{background:var(--c-surface);box-shadow:var(--shadow-float)}.feedback-veil{background:var(--c-scrim)}@media(min-width:641px){.feedback{border-radius:var(--radius-card)}}.segmented{display:flex;gap:var(--space-1);padding:var(--space-1);border-radius:var(--radius-pill);background:var(--c-surface-sunken)}.segmented__option{display:inline-flex;flex:1;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:0 var(--space-3);border:0;border-radius:var(--radius-pill);background:none;color:var(--c-ink-muted);font:inherit;text-align:center;text-decoration:none;cursor:pointer}.segmented__option[aria-current=page]{background:var(--c-surface-raised);color:var(--c-ink);box-shadow:var(--shadow-hairline)}.segmented__option[aria-checked=true]{background:var(--c-accent-wash);color:var(--c-accent-strong);box-shadow:inset 0 0 0 2px var(--c-accent)}.title-page{font-family:var(--font-display);font-weight:480;letter-spacing:var(--tracking-title-page);font-optical-sizing:auto}.title-card,.practice-card h2,.admin-card h2,.feedback__head h2{font-family:var(--font-display);font-weight:480;letter-spacing:var(--tracking-title-card);font-optical-sizing:auto}.title-hero,.landing__hero h1{font-family:var(--font-display);font-weight:480;letter-spacing:-.022em;font-optical-sizing:auto}.practice-card h2,.admin-card h2,.feedback__head h2{font-size:var(--text-title-card);line-height:var(--leading-title);color:var(--c-ink)}.eyebrow{font-size:var(--text-caption);font-weight:600;text-transform:uppercase;letter-spacing:var(--tracking-eyebrow);color:var(--c-ink-muted)}.wordmark{font-weight:600;color:var(--c-ink)}:focus-visible{outline:2px solid var(--c-focus);outline-offset:2px}.toolbar,.ask-launcher{--c-focus-rgb: var(--c-focus-on-bar-rgb);--c-focus: var(--c-focus-on-bar)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.amend__h,.doc__h,.note-detail__sub,.exam-record h3,.legal h2,.legal h3,.eyebrow.group-heading,.account-sheet__caption{margin-top:var(--space-group-above);margin-bottom:var(--space-group-below)}.amend__h:first-child,.doc__h:first-child,.note-detail__sub:first-child,.exam-record h3:first-child,.legal h2:first-child,.legal h3:first-child,.eyebrow.group-heading:first-child,.account-sheet__caption:first-child{margin-top:0}.legal h2+h3,h3.amend__h+.finalise__field,h3.amend__h+fieldset.patient-group,legend.amend__h+fieldset.patient-group{margin-top:0}fieldset.patient-group{margin-top:var(--space-group-above)}@media(min-width:641px){.practice-main,.inspections__main,.admin-main{padding-right:calc(var(--space-6) + var(--inset-right));padding-left:calc(var(--space-6) + var(--inset-left))}.link-bar{margin-right:calc(-1 * (var(--space-6) + var(--inset-right)));margin-left:calc(-1 * (var(--space-6) + var(--inset-left)));padding-right:calc(var(--space-6) + var(--inset-right));padding-left:calc(var(--space-6) + var(--inset-left))}}.page-canvas{background-color:var(--c-canvas)}.page-canvas[data-backdrop]{--bd-c: var(--c-canvas-rgb);--bd-h: 17rem;--bd-w: 46rem;--bd-y: 4rem;--bd-dim: .14;background-image:linear-gradient(rgb(var(--bd-c)),rgb(var(--bd-c))),linear-gradient(to bottom,rgb(var(--bd-c) / 0) 18%,rgb(var(--bd-c))),linear-gradient(90deg,rgb(var(--bd-c)),rgb(var(--bd-c) / .78) 30%,rgb(var(--bd-c) / .32) 68%,rgb(var(--bd-c) / .1)),linear-gradient(rgb(var(--bd-c) / var(--bd-dim)),rgb(var(--bd-c) / var(--bd-dim))),var(--bd-img, none);background-repeat:no-repeat;background-size:100% 80rem,100% var(--bd-h),var(--bd-w) var(--bd-h),var(--bd-w) var(--bd-h),var(--bd-w) auto;background-position:left 0 top var(--bd-h),left 0 top 0,right 0 top 0,right 0 top 0,right 0 top calc(-1 * var(--bd-y))}.inspections,.practice-page,.admin-page,.auth-page,.landing,.diary-map{background:transparent}.page-canvas[data-backdrop=stable]{--bd-img: url(/images/app/stable.webp);--bd-y: 4rem;--bd-dim: .14}:root[data-theme=dark] .page-canvas[data-backdrop=stable]{--bd-img: url(/images/app/stable-evening.webp);--bd-dim: .32}.page-canvas[data-backdrop=lane]{--bd-img: url(/images/app/lane.webp);--bd-y: 13rem;--bd-dim: .18}:root[data-theme=dark] .page-canvas[data-backdrop=lane]{--bd-img: url(/images/app/lane-evening.webp);--bd-dim: .32}.page-canvas[data-backdrop=hay]{--bd-img: url(/images/app/hay.webp);--bd-y: 6rem;--bd-dim: .14}:root[data-theme=dark] .page-canvas[data-backdrop=hay]{--bd-img: url(/images/app/hay-evening.webp);--bd-dim: .32}.page-canvas[data-backdrop=headcollar]{--bd-img: url(/images/app/headcollar.webp);--bd-y: 8rem;--bd-dim: .14}:root[data-theme=dark] .page-canvas[data-backdrop=headcollar]{--bd-img: url(/images/app/headcollar-evening.webp);--bd-dim: .32}.page-canvas[data-backdrop=yard]{--bd-img: url(/images/app/yard.webp);--bd-y: 4rem;--bd-dim: .18}:root[data-theme=dark] .page-canvas[data-backdrop=yard]{--bd-img: url(/images/app/yard-evening.webp);--bd-dim: .32}.page-canvas[data-backdrop=muzzle]{--bd-img: url(/images/app/muzzle.webp);--bd-y: 8rem;--bd-dim: .14}:root[data-theme=dark] .page-canvas[data-backdrop=muzzle]{--bd-img: url(/images/app/muzzle-evening.webp);--bd-dim: .32}.page-canvas[data-backdrop=rasp]{--bd-img: url(/images/app/rasp.webp);--bd-y: 13.5rem;--bd-dim: .18}:root[data-theme=dark] .page-canvas[data-backdrop=rasp]{--bd-img: url(/images/app/rasp-evening.webp);--bd-dim: .32}.page-canvas[data-backdrop=tack]{--bd-img: url(/images/app/tack.webp);--bd-y: 4rem;--bd-dim: .14}:root[data-theme=dark] .page-canvas[data-backdrop=tack]{--bd-img: url(/images/app/tack-evening.webp);--bd-dim: .32}.page-canvas[data-backdrop=desk]{--bd-img: url(/images/app/desk.webp);--bd-y: 4rem;--bd-dim: .14}:root[data-theme=dark] .page-canvas[data-backdrop=desk]{--bd-img: url(/images/app/desk-evening.webp);--bd-dim: .32}.page-canvas[data-backdrop=door]{--bd-img: url(/images/app/door.webp);--bd-y: 4rem;--bd-dim: .14}:root[data-theme=dark] .page-canvas[data-backdrop=door]{--bd-img: url(/images/app/door-evening.webp);--bd-dim: .32}.page-canvas[data-backdrop=eye]{--bd-img: url(/images/app/eye.webp);--bd-y: 9rem;--bd-dim: .14}:root[data-theme=dark] .page-canvas[data-backdrop=eye]{--bd-img: url(/images/app/eye-evening.webp);--bd-dim: .32}@media(max-width:640px){.page-canvas[data-backdrop],:root[data-theme=dark] .page-canvas[data-backdrop]{--bd-dim: .62;--bd-h: 13rem}}@media(max-width:899px){.dictation,.report,.gallery{position:static;width:auto;flex:0 1 auto;max-height:calc(100% - var(--chart-min-phone) - var(--space-2));margin-top:var(--space-2);overflow-y:auto;overscroll-behavior:contain;border-radius:var(--radius-card);box-shadow:var(--shadow-card)}}.dictation__close{width:44px;height:44px;flex:none}@media(max-width:899px){.report__head{flex-wrap:wrap;row-gap:var(--space-1)}.report__head h2{flex:1}.report__head:after{content:"";order:1;flex-basis:100%}.report__tabs{order:2;flex-wrap:wrap;margin-left:0}.report__tabs button{min-height:44px}}.rec-timer{flex:none;min-width:4ch;font-variant-numeric:tabular-nums;font-size:var(--text-body)}.chart-only-exit__dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--c-record)}.chart-only-exit__timer{min-width:4ch;font-variant-numeric:tabular-nums}.portrait-caption{font:600 17px var(--font-chart);fill:var(--chart-quadrant)}.chart .react-transform-wrapper{touch-action:none}@media(max-width:640px)and (orientation:portrait){.chart{display:flex;flex-direction:column}.chart>.react-transform-wrapper{flex:1 1 0;min-height:0}.chart>.chart-hint{position:relative;left:auto;bottom:auto;flex:none;align-self:flex-start;margin:var(--space-1) 12px 10px}.app:not([data-chart-only]) .chart .chart-panels{width:min(max(200px,9.5rem),calc(100% - 24px))}}.avatar{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:var(--radius-round);background:none;cursor:pointer}.avatar__face{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--radius-round);background:var(--c-accent-wash);box-shadow:inset 0 0 0 1px var(--c-line-control),var(--shadow-hairline);color:var(--c-accent-strong);font-family:var(--font-sans);font-size:1rem;font-weight:var(--weight-strong);line-height:1}.avatar__badge{position:absolute;top:3px;right:3px;width:12px;height:12px;border-radius:var(--radius-round);box-shadow:0 0 0 2px var(--c-canvas)}.avatar__badge--wait{background:var(--c-sync-wait)}.avatar__badge--idle{background:var(--c-sync-idle)}.account-sheet-veil{position:fixed;inset:0;z-index:var(--z-veil);display:flex;justify-content:center;background:var(--c-scrim);overflow-x:hidden;overscroll-behavior:none}.account-sheet{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;max-width:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:var(--c-surface-raised);color:var(--c-ink);box-shadow:var(--shadow-float)}.account-sheet:focus{outline:none}@media(max-width:640px){.account-sheet-veil{align-items:flex-end}.account-sheet{position:fixed;left:0;right:0;bottom:0;max-height:85dvh;overflow-y:auto;border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;padding:var(--space-2) calc(var(--space-3) + var(--inset-right)) 0 calc(var(--space-3) + var(--inset-left));padding-bottom:max(48px,var(--space-12),calc(var(--inset-bottom) + var(--space-4)))}}@media(min-width:641px){.account-sheet-veil{align-items:center;padding:var(--space-4)}.account-sheet{width:min(26rem,100% - 2rem);max-height:100%;border-radius:var(--radius-card);padding:var(--space-2) var(--space-3) var(--space-4)}}@media(max-width:640px)and (prefers-reduced-motion:no-preference){.account-sheet{animation:account-sheet-rise var(--motion-base) var(--ease-out)}}@keyframes account-sheet-rise{0%{opacity:0;transform:translateY(1.5rem)}}.account-sheet__head{display:flex;justify-content:flex-end}.account-sheet__close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:var(--radius-control);background:none;color:var(--c-ink-muted);font-size:1rem;cursor:pointer}.account-sheet__sync{display:flex;align-items:center;gap:var(--space-2);margin:0 0 var(--space-2);padding:0 var(--space-3);color:var(--c-ink-muted);font-size:var(--text-small)}.account-sheet__sync .sync-dot__mark{flex:none}.account-sheet__row{display:flex;align-items:center;gap:var(--space-3);box-sizing:border-box;width:100%;min-height:48px;padding:0 var(--space-3);border:0;border-radius:var(--radius-control);background:none;color:var(--c-ink);font:inherit;text-align:left;text-decoration:none;cursor:pointer}.account-sheet__row:hover{background:var(--c-surface-hover)}.account-sheet__row:focus-visible,.account-sheet__close:focus-visible,.account-sheet .segmented__option:focus-visible{outline-offset:-2px}.account-sheet__card{min-height:72px}.account-sheet__disc{display:inline-flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius-round);background:var(--c-accent-wash);box-shadow:inset 0 0 0 1px var(--c-line-control);color:var(--c-accent-strong);font-weight:var(--weight-strong)}.account-sheet__who{display:flex;flex:1 1 auto;flex-direction:column;min-width:0}.account-sheet__name{overflow:hidden;color:var(--c-ink);font-weight:var(--weight-strong);text-overflow:ellipsis;white-space:nowrap}.account-sheet__sub{color:var(--c-ink-muted);font-size:var(--text-small)}.account-sheet__chevron{flex:none;width:20px;height:20px;color:var(--c-ink-muted)}.account-sheet__caption{padding:0 var(--space-3)}.account-sheet__appearance{margin:0 var(--space-3)}.account-sheet__appearance{flex-wrap:wrap}.account-sheet__appearance .segmented__option{flex:1 1 auto;padding:0 var(--space-2)}.account-sheet__help{margin:var(--space-2) 0 var(--space-2);padding:0 var(--space-3);color:var(--c-ink-muted);font-size:var(--text-small)}.account-sheet__divider{width:100%;height:0;margin:var(--space-2) 0;border:0;border-top:1px solid var(--c-line)}.account-sheet__error{margin:0 0 var(--space-2);padding:0 var(--space-3);color:var(--c-danger);font-size:var(--text-small)}.account-sheet__out{color:var(--c-ink)}.account-sheet__out:disabled{color:var(--c-ink-muted);cursor:default}.app-header{background:var(--c-canvas);color:var(--c-ink)}.app-header__horse,.app-header__sub--edit{background:var(--c-surface-sunken);color:var(--c-ink)}.app-header__horse:hover,.app-header__sub--edit:hover{background:var(--c-surface-hover)}.app-header__horse{min-height:44px}.app-header__horse--filed{color:var(--c-ink)}.app-header__horse-input,.app-header__sub-input{background:var(--c-surface);color:var(--c-ink);box-shadow:inset 0 0 0 1px var(--c-line-control)}.app-header__feedback{border-color:var(--c-line-strong);color:var(--c-ink)}.app-header__feedback:hover{background:var(--c-surface-hover);border-color:var(--c-line-strong);color:var(--c-ink)}.app-header__back{color:var(--c-accent-strong)}.app-header__back:hover{color:var(--c-accent)}.app-header>.avatar{margin-left:auto;align-self:center}.app-header__up{display:inline-flex;flex:none;align-items:center;justify-content:center;align-self:center;width:44px;height:44px;border-radius:var(--radius-control);color:var(--c-ink)}.app-header__up svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@media(max-width:899px){.app-header{flex-wrap:nowrap;align-items:center;min-height:44px;gap:var(--space-2);padding:calc(var(--inset-top) + var(--space-1)) calc(var(--space-3) + var(--inset-right)) var(--space-1) calc(var(--space-3) + var(--inset-left));background:var(--c-canvas)}.app-header__logo,.app-header h1,.app-header__feedback,.app-header__back{display:none}.app-header__horse,.app-header__horse--filed{flex:1;min-width:0;margin-left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.app-header__horse-input{flex:1;min-width:0;width:auto;margin-left:0}}@media(min-width:900px){.app-header__up{display:none}}@media(min-width:900px)and (min-height:521px){.app-header{padding:calc(.7rem + var(--inset-top)) calc(1.1rem + var(--inset-right)) .7rem calc(1.1rem + var(--inset-left))}.patient-band{padding:0 calc(1.1rem + var(--inset-right)) .7rem calc(1.1rem + var(--inset-left))}}.tool-btn.is-active,.toolbar-dictate[aria-pressed=true]{background:var(--c-bar-active);color:var(--c-on-bar);box-shadow:inset 0 -4px 0 var(--c-on-bar)}.tool-btn.is-armed{background:var(--c-danger-fill);color:var(--c-on-danger);box-shadow:inset 0 -4px 0 var(--c-on-danger)}.tool-btn.is-active:hover:not(:disabled){background:var(--c-bar-active)}.tool-btn.is-armed:hover:not(:disabled){background:var(--c-danger-fill)}@media(max-width:899px){.app-header .app-header__horse--door{display:flex;align-items:center;white-space:normal;text-overflow:clip;line-height:1.2;padding-top:var(--space-1);padding-bottom:var(--space-1)}.app-header .app-header__horse-words{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}}.toolbar-treatments,.toolbar-dictate{background:var(--c-bar);color:var(--c-on-bar-muted)}.tool-btn--treatments{position:relative}.toolbar-dictate:disabled{opacity:.35;cursor:not-allowed}@media(max-width:899px){.toolbar-handle-row{display:flex;align-self:stretch;gap:var(--space-2)}.toolbar-handle-row .toolbar-handle{flex:1 1 0;min-width:0;min-height:44px;flex-wrap:wrap;padding:var(--space-1);border-radius:var(--radius-control);font-size:var(--text-tab);line-height:1.2;text-align:center}.toolbar-handle__armed{color:var(--c-on-bar);font-weight:600}.toolbar-treatments,.toolbar-dictate{display:inline-flex;flex:1 1 0;min-width:0;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--space-1);min-height:44px;padding:var(--space-1);border:1px solid rgb(var(--c-on-bar-rgb) / .35);border-radius:var(--radius-control);font-size:var(--text-tab);line-height:1.2;text-align:center;letter-spacing:.01em;cursor:pointer}.toolbar-treatments svg,.toolbar-dictate svg{flex:none;width:20px;height:20px}.toolbar-treatments{position:relative}.tool-btn--treatments,.tool-btn--dictate{display:none}.toolbar{max-height:25dvh;overflow-y:auto;overscroll-behavior:contain}.popover{max-height:45dvh;overflow-y:auto;overscroll-behavior:contain}}@media(min-width:900px){.toolbar-handle-row{display:none}}.finalised-strip{background:var(--c-accent-wash);color:var(--c-accent-strong)}.finalised-strip .finalised-strip__amend{background:var(--c-surface);color:var(--c-ink);border-color:var(--c-line-control)}@media(max-width:899px){p.finalised-strip,p.vet-strip{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;min-height:44px;max-width:calc(100% - 2 * var(--space-3));gap:var(--space-2);white-space:nowrap;text-align:left}.strip__sentence{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.finalised-strip__amend{flex:none;min-height:44px}}@media(max-width:899px){.app{overflow-y:auto}.app-header,.toolbar-dock{flex:none}.app-main{display:flex;flex-direction:column;gap:var(--space-2);min-height:calc(var(--chart-min-phone) + var(--space-3))}.chart{flex:1 1 auto;min-height:var(--chart-min-phone)}.app[data-tools=folded]:not([data-drawer]) .chart{min-height:50dvh}}.app[data-chart-only] .app-header,.app[data-chart-only] .patient-band,.app[data-chart-only] .finalised-strip,.app[data-chart-only] .vet-strip,.app[data-chart-only] .chart-panels,.app[data-chart-only] .dictation,.app[data-chart-only] .report,.app[data-chart-only] .gallery,.app[data-chart-only] .toolbar-dock{display:none}.app[data-chart-only] .app-main{padding-top:calc(var(--inset-top) + var(--space-3));padding-bottom:calc(var(--inset-bottom) + var(--space-3))}.chart-only-toggle{display:inline-flex;flex:none;align-items:center;justify-content:center;align-self:center;width:44px;height:44px;padding:0;border:none;border-radius:var(--radius-control);background:transparent;color:var(--c-ink);cursor:pointer}.chart-only-toggle svg,.chart-only-exit svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.chart-only-toggle:hover{background:var(--c-surface-hover)}.app[data-sketching] .chart-only-toggle{display:none}@media(min-width:900px){.chart-only-toggle{display:none}}.chart-only-exit{position:fixed;top:calc(var(--inset-top) + var(--space-2));right:calc(var(--space-2) + var(--inset-right));z-index:var(--z-chrome);display:inline-flex;align-items:center;gap:var(--space-2);min-height:44px;padding:0 var(--space-4);border:none;background:var(--c-surface-raised);color:var(--c-ink);border-radius:var(--radius-pill);box-shadow:var(--shadow-float);font-size:var(--text-small);font-weight:600;cursor:pointer}@media(max-width:899px){.draw-bar__status{order:-1;flex:1 1 100%;min-width:0;padding:var(--space-1) var(--space-2) 0;white-space:normal;overflow-wrap:anywhere;text-align:center}}@media(orientation:landscape)and (max-height:520px)and (pointer:coarse){.app:not([data-chart-only]){--side-w: clamp(300px, max(40vw, 15rem), 400px);padding-left:calc(100% - var(--side-w));overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:calc(44px + var(--inset-top) + 2 * var(--space-1) + var(--space-2))}.app:not([data-chart-only]) .chart .react-transform-wrapper{position:fixed;top:calc(var(--inset-top) + var(--space-2));left:calc(var(--inset-left) + var(--space-2));max-width:calc(100% - var(--side-w) - var(--inset-left) - 2 * var(--space-2));max-height:calc(100% - var(--inset-top) - var(--inset-bottom) - 2 * var(--space-2));background:var(--chart-paper);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.app:not([data-chart-only]) main.app-main>.chart{display:flex;flex:none;flex-direction:column;gap:var(--space-2);height:auto;min-height:0;overflow:visible;background:none;border-radius:0;box-shadow:none}.app:not([data-chart-only]) .chart .chart-hint{position:static;order:-1;align-self:flex-start;padding:0;background:none;color:var(--c-ink-muted);font-size:var(--text-small)}.app:not([data-chart-only]) .chart .chart-hint.is-warning{color:var(--c-danger)}.app:not([data-chart-only]) .chart .chart-panels{position:static;width:auto;max-height:none;overflow:visible}.app:not([data-chart-only]) .chart .chart-panels .info-panel{min-width:0;max-height:none;overflow:visible}.app:not([data-chart-only]) .chart .chart-panels .tooth-photos__foot{bottom:0}.app:not([data-chart-only]) .chart .chart-panels button{min-height:44px}.app:not([data-chart-only]) .app-header{position:sticky;top:0;flex:none;z-index:var(--z-raise);flex-wrap:nowrap;align-items:center;min-height:44px;gap:var(--space-2);padding:calc(var(--inset-top) + var(--space-1)) calc(var(--space-3) + var(--inset-right)) var(--space-1) var(--space-3);background:var(--c-canvas)}.app:not([data-chart-only]) .patient-band{flex:none;padding:0 calc(var(--space-3) + var(--inset-right)) var(--space-2) var(--space-3)}.app:not([data-chart-only]) .app-main{flex:none;display:flex;flex-direction:column;gap:var(--space-2);min-height:0;padding:0 calc(var(--space-3) + var(--inset-right)) 0 var(--space-3)}.app:not([data-chart-only]) .dictation,.app:not([data-chart-only]) .report,.app:not([data-chart-only]) .gallery{position:static;width:auto;flex:none;max-height:none;margin:0;overflow:visible;border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.app:not([data-chart-only]) .toolbar-dock{flex:none}.app:not([data-chart-only]) .toolbar-shell{flex-direction:column;align-items:stretch;gap:var(--space-2);padding:var(--space-2) calc(var(--space-3) + var(--inset-right)) calc(var(--space-3) + var(--inset-bottom)) var(--space-3)}.app:not([data-chart-only]) .toolbar{max-width:100%;max-height:none;overflow:visible}.app:not([data-chart-only]) .popover{position:static;transform:none;max-width:none;max-height:none;margin:0 calc(var(--space-3) + var(--inset-right)) var(--space-2) var(--space-3)}.app:not([data-chart-only]) .app-header:has(.app-header__horse--door){flex-wrap:wrap;row-gap:var(--space-1)}.app:not([data-chart-only]) .app-header .app-header__horse--door{order:1;flex:1 1 100%}.draw-bar__status{order:-1;flex:1 1 100%;min-width:0;padding:var(--space-1) var(--space-2) 0;white-space:normal;overflow-wrap:anywhere;text-align:center}.toolbar-handle-row{display:flex;align-self:stretch;gap:var(--space-2)}.toolbar-handle{display:flex;flex:1 1 0;min-width:0;flex-wrap:wrap;align-items:center;justify-content:center;gap:.25rem;min-height:44px;padding:var(--space-1);border:1px solid rgb(var(--c-on-bar-rgb) / .35);border-radius:var(--radius-control);background:var(--c-bar);color:var(--c-on-bar-muted);font-size:var(--text-tab);line-height:1.2;text-align:center;letter-spacing:.01em;cursor:pointer}.toolbar-handle__chevron{font-size:.8rem;line-height:1}.toolbar-handle__armed{color:var(--c-on-bar);font-weight:600}.toolbar-treatments,.toolbar-dictate{display:inline-flex;flex:1 1 0;min-width:0;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--space-1);min-height:44px;padding:var(--space-1);border:1px solid rgb(var(--c-on-bar-rgb) / .35);border-radius:var(--radius-control);font-size:var(--text-tab);line-height:1.2;text-align:center;letter-spacing:.01em;cursor:pointer}.toolbar-treatments svg,.toolbar-dictate svg{flex:none;width:20px;height:20px}.toolbar-treatments{position:relative}.tool-btn--treatments,.tool-btn--dictate,.toolbar--collapsed{display:none}.chart-only-toggle,.app-header__up{display:inline-flex}.app-header__logo,.app-header h1,.app-header__sub,.app-header__feedback,.app-header__back{display:none}.app-header__horse,.app-header__horse--filed{flex:1;min-width:0;margin-left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.report__head{flex-wrap:wrap;row-gap:var(--space-1)}.report__head h2{flex:1}.report__head:after{content:"";order:1;flex-basis:100%}.report__tabs{order:2;flex-wrap:wrap;margin-left:0}.report__tabs button{min-height:44px}}.page-header{display:flex;align-items:center;gap:var(--space-2);min-height:44px;padding:calc(var(--inset-top) + var(--space-2)) calc(var(--space-4) + var(--inset-right)) var(--space-2) calc(var(--space-4) + var(--inset-left));background:transparent;color:var(--c-ink)}.page-header__title{flex:1 1 auto;min-width:0;max-width:min(100%,22rem);margin:0;font-size:var(--text-title-page);line-height:var(--leading-title);color:var(--c-ink);white-space:normal;overflow-wrap:anywhere}.page-header__brand{display:inline-flex;align-items:center;gap:var(--space-2);min-width:0;min-height:44px;color:var(--c-ink);font-weight:600;text-decoration:none}.page-header__tile{display:inline-flex;flex:none;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:var(--radius-control);background:var(--c-logo-tile);box-shadow:var(--shadow-hairline)}.page-header__tile img{display:block;width:1.5rem;height:1.5rem}.page-header__wordmark{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-header__nav{display:flex;align-items:center;gap:var(--space-1);padding:var(--space-1);border-radius:var(--radius-pill);background:var(--c-surface-raised);box-shadow:var(--shadow-hairline)}.page-header__nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 var(--space-3);border-radius:var(--radius-pill);color:var(--c-ink);font-weight:500;text-decoration:none;white-space:nowrap}.page-header__nav a[aria-current=page]{background:rgb(var(--c-accent-rgb) / .14);color:var(--c-accent-strong)}.page-header__end{display:flex;flex:none;align-items:center;gap:var(--space-2);margin-left:auto}.page-header .sync-dot__button{position:relative}.page-header .sync-dot__button:before{content:"";position:absolute;top:50%;left:50%;width:32px;height:32px;margin:-16px 0 0 -16px;border-radius:var(--radius-round);background:var(--c-surface-raised);box-shadow:var(--shadow-hairline)}.page-header .sync-dot__mark{position:relative}.page-header .sync-dot__line{left:auto;right:0;transform:none}.page-switch{width:100%;max-width:32rem}.page-switch .segmented__option{padding:var(--space-1) var(--space-2);font-size:var(--text-small);line-height:var(--leading-title);overflow-wrap:anywhere}@media(max-width:899px){.page-header__brand,.page-header__nav{display:none}}@media(min-width:900px){.page-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand nav end" "title title title";align-items:center;column-gap:var(--space-4);row-gap:var(--space-4)}.page-header__brand{grid-area:brand;justify-self:start;max-width:100%}.page-header__nav{grid-area:nav}.page-header__end{grid-area:end;margin-left:0}.page-header__title{grid-area:title}}.owner-photos__teeth{font-size:var(--text-small);font-weight:600;color:var(--c-ink)}.owner-pairs{margin-top:var(--space-6)}.owner-pairs__intro{font-size:var(--text-body);line-height:1.6;color:var(--c-ink-muted)}.owner-pairs__list{list-style:none;padding:0;display:grid;gap:var(--space-6)}.owner-pairs__tooth{font-size:var(--text-body);font-weight:600;color:var(--c-ink);margin-bottom:var(--space-2)}.owner-pairs__row{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3)}.owner-pairs__side button{display:block;width:100%;min-height:44px;padding:0;border:1px solid transparent;border-radius:var(--radius-control);background:none;cursor:pointer}.owner-pairs__shot{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--radius-control);background:var(--c-surface-sunken)}.owner-pairs__side figcaption{display:grid;gap:var(--space-1);margin-top:var(--space-2)}.owner-pairs__stage{font-size:var(--text-small);font-weight:600;color:var(--c-ink)}.page-canvas{height:calc(100% - var(--tabbar-h))}.tabbar-spacer{height:var(--tabbar-h)}.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:var(--z-chrome);display:flex;background:var(--c-canvas);border-top:1px solid var(--c-line);padding:0 var(--inset-right) var(--inset-bottom) var(--inset-left);transition:padding var(--motion-base) var(--ease-out),max-height var(--motion-base) var(--ease-out),opacity var(--motion-base) var(--ease-out),color var(--motion-base) var(--ease-out)}.tabbar__tab{flex:1 1 0;min-width:0;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-1);padding-block:var(--space-2);padding-inline:0;color:var(--c-ink-muted);text-decoration:none;border:0;background:none;font:inherit;cursor:pointer}.tabbar__tab[aria-current=page],.tabbar__tab[aria-expanded=true]{color:var(--c-accent-strong)}.tabbar__tab:focus-visible{outline-offset:-2px}.tabbar__pill{display:grid;place-items:center;flex:none;width:56px;height:32px;border-radius:var(--radius-pill);position:relative}.tabbar__tab[aria-current=page] .tabbar__pill,.tabbar__tab[aria-expanded=true] .tabbar__pill{background:rgb(var(--c-accent-rgb) / .14)}.tabbar__icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.tabbar__label{display:block;font-size:var(--text-tab);line-height:1.4;max-height:1.4em;max-height:1lh;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.tabbar[data-collapsed] .tabbar__tab{padding-block:6px;gap:0}.tabbar[data-collapsed] .tabbar__label{max-height:0;opacity:0}.tabbar *{transition:padding var(--motion-base) var(--ease-out),max-height var(--motion-base) var(--ease-out),opacity var(--motion-base) var(--ease-out),color var(--motion-base) var(--ease-out)}@media(min-width:900px){.tabbar{display:none}}@media(max-width:899px){:root[data-typing] .tabbar{display:none}:root[data-tabbar] .ask-launcher{display:none}:root[data-tabbar][data-ask-launcher] .practice-main,:root[data-tabbar][data-ask-launcher] .inspections__main{padding-bottom:var(--space-8)}}@media(prefers-reduced-motion:reduce){.tabbar,.tabbar *{transition:none}}
