/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}}:root{--ivory:#f7f1e7;--surface:#fffcf7;--green:#31584a;--green-dark:#26483c;--sage:#9daf9f;--sage-pale:#dde7de;--terra:#c97d60;--ink:#28342f;--muted:#6c746f;--line:#e8d9cc}*{box-sizing:border-box}html{background:var(--ivory)}body{background:radial-gradient(circle at 8% 8%, #fffffff2, transparent 28rem), linear-gradient(120deg, #fbf7ef 0%, var(--ivory) 54%, #f8f3eb 100%);color:var(--ink);margin:0;font-family:Noto Sans JP,Hiragino Sans,Yu Gothic UI,system-ui,sans-serif}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #9daf9fb8}.app-shell{min-height:100vh}.auth-shell{place-items:center;min-height:100dvh;padding:28px;display:grid}.auth-card{border:1px solid var(--line);text-align:center;background:#fffcf7f5;border-radius:24px;width:min(100%,470px);padding:42px 38px 34px;box-shadow:0 22px 56px #31584a21}.auth-app-icon{border-radius:22px;margin:0 auto 21px;display:block;box-shadow:0 8px 20px #31584a29}.auth-hospital-name{color:var(--terra);letter-spacing:.12em;margin:0 0 8px;font-size:12px;font-weight:800}.auth-card h1{color:var(--green);margin:0;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:34px;font-weight:600}.auth-description{color:var(--muted);margin:16px 0 25px;font-size:14px;line-height:1.8}.auth-card form{text-align:left}.auth-card form label{color:var(--ink);margin-bottom:8px;font-size:12px;font-weight:700;display:block}.auth-card form input{border:1px solid var(--line);width:100%;min-height:54px;color:var(--ink);background:#fff;border-radius:12px;padding:0 15px}.auth-card form .primary-button{width:100%;min-width:0;min-height:56px;margin-top:16px}.auth-card form .primary-button:disabled{cursor:wait;opacity:.62;transform:none}.auth-error{color:#a74f42;margin:10px 0 0;font-size:12px;line-height:1.6}.auth-footnote{border-top:1px solid var(--line);color:var(--muted);margin:22px 0 0;padding-top:18px;font-size:10px;line-height:1.7}.auth-loading{color:var(--green);align-content:center;gap:16px;font-size:13px;font-weight:700}.auth-loading .auth-app-icon{margin-bottom:0}.auth-loading p{margin:0}.site-header{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:10;background:#fffcf7c2;border-bottom:1px solid #e8d9cccc;justify-content:space-between;align-items:center;height:94px;padding:0 clamp(24px,4.5vw,72px);display:flex;position:relative}.status9-home-button{border:1px solid var(--line);width:40px;height:40px;color:var(--green);background:#fff;border-radius:9px;flex:none;place-items:center;font-family:sans-serif;font-size:23px;line-height:1;text-decoration:none;display:grid}.status9-home-button:hover{border-color:var(--green)}.brand{color:var(--green);letter-spacing:.04em;cursor:pointer;background:0 0;border:0;align-items:center;gap:14px;padding:8px 0;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:clamp(15px,1.5vw,20px);font-weight:600;display:inline-flex}.brand-mark{background:var(--green);width:42px;height:42px;color:var(--surface);box-shadow:7px 6px 0 var(--sage-pale);border-radius:50% 50% 44% 56%;place-items:center;font-family:sans-serif;display:grid}.brand-copy{text-align:left;line-height:1.2;display:block}.brand-copy small{color:var(--terra);letter-spacing:.08em;font-family:Noto Sans JP,Hiragino Sans,sans-serif;font-size:9px;font-weight:800}.top-nav{align-self:stretch;gap:14px;display:flex}.nav-item{min-width:142px;min-height:48px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:0 16px;font-size:15px;font-weight:600}.nav-item span{margin-right:8px}.nav-item:hover,.nav-item.active{color:var(--green);border-bottom-color:var(--green)}.session-logout-button{border:1px solid var(--line);min-height:40px;color:var(--muted);cursor:pointer;background:#fff;border-radius:9px;align-self:center;padding:0 13px;font-size:11px;font-weight:700}.session-logout-button:hover{border-color:var(--sage);color:var(--green)}.mobile-session-actions,.mobile-logout-button{display:none}.hero{grid-template-columns:minmax(0,.94fr) minmax(480px,1.06fr);align-items:center;gap:clamp(38px,4vw,66px);max-width:1400px;min-height:calc(100vh - 94px);margin:0 auto;padding:clamp(52px,7vh,84px) clamp(28px,4.7vw,72px) 64px;display:grid}.eyebrow{color:var(--terra);letter-spacing:.18em;margin:0 0 18px;font-size:12px;font-weight:700}.hero h1,.editor h1{color:var(--green);letter-spacing:.035em;margin:0;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-weight:600}.hero h1{font-size:clamp(42px,5vw,66px);line-height:1.32}.lead{margin:26px 0 30px;font-size:clamp(16px,1.5vw,19px);line-height:1.9}.stepper{grid-template-columns:repeat(4,1fr);margin:0 0 30px;padding:0 8px 0 0;list-style:none;display:grid}.stepper li{text-align:center;color:var(--muted);position:relative}.stepper li:after{content:"";background:#dcd5cb;height:2px;position:absolute;top:20px;left:calc(50% + 22px);right:calc(22px - 50%)}.stepper li:last-child:after{display:none}.stepper li span{background:var(--surface);z-index:1;border:2px solid #dcd5cb;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:700;display:inline-grid;position:relative}.stepper li small{margin-top:10px;font-size:13px;font-weight:600;display:block}.stepper li.current{color:var(--green)}.stepper li.current span{border-color:var(--green);background:var(--green);color:#fff}.stepper li.current:after{background:linear-gradient(90deg, var(--green) 0 28%, #dcd5cb 28%)}.patient-chip{border:1px solid var(--line);background:#fffcf79e;border-radius:16px;align-items:center;gap:20px;min-height:126px;padding:18px 24px;display:flex}.mini-dog{width:76px;height:76px;color:var(--green);background:#f2e6d6;border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid;overflow:hidden}.mini-dog img{object-fit:contain;object-position:center;mix-blend-mode:multiply;width:100%;height:100%;padding:7px}.patient-chip strong{font-size:23px}.patient-chip>div>small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.patient-chip p{margin:7px 0 0;font-size:16px}.patient-chip p b{color:var(--terra);margin-left:18px;font-size:34px}.patient-chip p span{font-size:16px}.hero-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:28px;display:flex}.primary-button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:14px;justify-content:center;align-items:center;gap:14px;min-width:300px;min-height:68px;padding:0 24px;font-size:18px;font-weight:700;transition:background .14s,transform .14s,box-shadow .14s;display:inline-flex;box-shadow:0 10px 22px #31584a29}.primary-button b:last-child{margin-left:auto;font-size:26px}.primary-button:hover{background:var(--green-dark);transform:translateY(-2px);box-shadow:0 14px 28px #31584a33}.primary-button:active{transform:scale(.985)}.primary-button.compact{min-width:228px;min-height:58px;font-size:16px}.handout-launch-button,.history-launch-button{border-color:var(--sage);min-height:68px;color:var(--green);padding:0 20px}.handout-launch-button{align-items:center;gap:8px;display:inline-flex}.time-note{white-space:nowrap;color:var(--muted);font-size:15px}.clinical-card{border:1px solid var(--line);background:#fffcf7f5;border-radius:24px;padding:clamp(26px,3.3vw,44px);box-shadow:0 18px 42px #31584a1a}.card-heading{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.card-heading p{color:var(--green);margin:0;font-family:Yu Mincho,serif;font-size:22px;font-weight:700}.card-heading span{color:var(--muted);font-size:12px}.summary-content{grid-template-columns:.92fr 1.08fr;align-items:center;gap:22px;display:grid}.dog-stage{background:radial-gradient(at 50% 75%,#e8e9df 0 24%,#0000 25%),#f9f2e7;border-radius:50% 50% 42% 58%;place-items:center;min-height:360px;display:grid;overflow:hidden}.dog-stage img{object-fit:contain;object-position:center;mix-blend-mode:multiply;width:90%;height:90%;max-height:390px;display:block}.summary-list{margin:0}.summary-list div{border-bottom:1px solid var(--line);padding:16px 0}.summary-list div:last-child{border-bottom:0}.summary-list dt{color:var(--muted);margin-bottom:7px;font-size:12px}.summary-list dd{margin:0;font-size:15px;font-weight:600;line-height:1.6}.summary-list .score{color:var(--terra);font-size:32px}.summary-list .score span{color:var(--ink);font-size:14px}.card-note{background:#dde7de61;border:1px solid #d4d9c9;border-radius:12px;align-items:center;gap:12px;min-height:72px;margin:24px 0 0;padding:14px 18px;font-size:13px;line-height:1.7;display:flex}.card-note span{color:var(--green);font-size:26px}.editor{max-width:1280px;margin:0 auto;padding:48px clamp(22px,4vw,56px) 80px}.editor-topbar{justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:32px;display:flex}.editor-topbar h1{font-size:clamp(34px,4vw,50px);line-height:1.35}.editor-topbar>div>p:last-child{color:var(--muted);line-height:1.8}.text-button{color:var(--green);cursor:pointer;background:0 0;border:0;margin-bottom:18px;padding:10px 0;font-weight:600}.progress-badge{border:1px solid var(--line);background:var(--surface);border-radius:50%;place-items:center;width:86px;height:86px;display:grid}.progress-badge b{color:var(--green);margin-bottom:-14px;font-size:26px}.progress-badge span{color:var(--muted);font-size:12px}.editor-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);align-items:start;gap:28px;display:grid}.form-card,.live-preview{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 14px 36px #31584a14}.form-card{padding:clamp(24px,3.5vw,42px)}.two-columns{grid-template-columns:1fr 1fr;gap:20px;display:grid}.patient-fields{grid-template-columns:.78fr .9fr minmax(250px,1.52fr) .9fr;gap:12px;display:grid}.other-breed-field{grid-column:1/-1;max-width:420px}.field-error{color:#a74f42;margin-top:7px;font-size:11px;font-weight:700;display:block}.form-card label>span,.symptom-fieldset legend,.range-field>span{margin-bottom:10px;font-size:14px;font-weight:700;display:block}.form-card input[type=text],.form-card input:not([type]),.form-card input[type=date],.patient-fields select{border:1px solid var(--line);width:100%;min-height:52px;color:var(--ink);background:#fff;border-radius:10px;padding:0 15px}.symptom-fieldset{border:0;margin:30px 0;padding:0}.symptom-groups{gap:22px;display:grid}.symptom-group{border:1px solid var(--line);background:#fffdfa;border-radius:14px;padding:18px}.symptom-group h2{color:var(--green);margin:0 0 13px;font-size:13px;font-weight:700}.chip-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.choice-chip{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;min-height:50px;padding:0 14px}.choice-chip span{background:var(--ivory);width:22px;height:22px;color:var(--green);border-radius:50%;place-items:center;margin-right:7px;display:inline-grid}.choice-chip.selected{border-color:var(--sage);background:var(--sage-pale);color:var(--green);font-weight:700}.choice-chip.selected span{background:var(--green);color:#fff}.other-symptom{margin-top:22px;display:block}.range-field{display:block}.range-field>div{grid-template-columns:1fr 76px;align-items:center;gap:24px;display:grid}.range-field input{width:100%;accent-color:var(--green)}.range-field output{text-align:center;color:var(--terra);font-size:32px;font-weight:700}.range-field output small{color:var(--muted);font-size:13px}.severity-card{border:1px solid var(--line);background:#fffdfa;border-radius:16px;margin-top:28px;padding:0;overflow:hidden}.severity-simple{padding:20px}.severity-simple h2{color:var(--green);margin:0;font-size:16px}.severity-simple p{color:var(--muted);margin:5px 0 0;font-size:11px}.severity-buttons{grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px;display:grid}.severity-buttons button{border:1px solid var(--line);min-height:46px;color:var(--muted);cursor:pointer;background:#fff;border-radius:10px;padding:7px;font-size:11px;font-weight:700}.severity-buttons button.selected{border-color:var(--green);background:var(--green);color:#fff}.cadli-toggle{width:100%;min-height:82px;color:var(--ink);text-align:left;cursor:pointer;border:0;border-top:1px solid var(--line);background:0 0;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:14px;padding:18px 20px;display:grid}.cadli-toggle>span:first-child strong,.cadli-toggle>span:first-child small{display:block}.cadli-toggle>span:first-child strong{color:var(--green);font-size:16px}.cadli-toggle>span:first-child small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.6}.cadli-toggle>b{color:var(--green);font-size:20px;transition:transform .16s}.cadli-toggle[aria-expanded=true]>b{transform:rotate(180deg)}.cadli-total{background:var(--ivory);color:var(--muted);white-space:nowrap;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:700}.cadli-total.complete{background:var(--sage-pale);color:var(--green)}.cadli-body{border-top:1px solid var(--line);padding:0 20px 20px}.cadli-tools{justify-content:space-between;align-items:center;gap:14px;padding:16px 0;display:flex}.cadli-tools p{color:var(--muted);margin:0;font-size:11px;line-height:1.7}.cadli-tools button{border:1px solid var(--sage);min-height:38px;color:var(--green);cursor:pointer;background:#fff;border-radius:999px;flex:none;padding:0 12px;font-size:11px;font-weight:700}.cadli-reference-link{border:1px solid var(--sage);color:var(--green);background:#dde7de6b;border-radius:10px;justify-content:space-between;align-items:center;margin:0 0 14px;padding:11px 13px;font-size:11px;font-weight:700;text-decoration:none;display:flex}.cadli-reference-link:hover{background:var(--sage-pale)}.cadli-table{border:1px solid var(--line);border-radius:12px;overflow:hidden}.cadli-table-heading,.cadli-row{grid-template-columns:minmax(104px,.7fr) repeat(2,minmax(126px,1fr));display:grid}.cadli-table-heading{background:var(--sage-pale)}.cadli-table-heading span{color:var(--green);padding:9px 10px;font-size:10px;font-weight:700;line-height:1.5}.cadli-row{border-top:1px solid var(--line);background:#fff}.cadli-row>strong{color:var(--green);align-self:center;padding:12px 10px;font-size:12px}.cadli-row label{border-left:1px solid var(--line);padding:8px 10px}.cadli-row label>span{display:none}.cadli-row select{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);background:#fffdfa;border-radius:9px;padding:0 10px}.cadli-result{background:var(--ivory);border-radius:11px;justify-content:space-between;align-items:center;margin-top:14px;padding:12px 14px;display:flex}.cadli-result span{color:var(--muted);font-size:11px;font-weight:700}.cadli-result strong{color:var(--terra);font-size:27px}.cadli-result small{color:var(--muted);margin-left:2px;font-size:11px}.score-help{color:var(--muted);margin:13px 0 0;font-size:10px;line-height:1.7}.info-box{border-left:4px solid var(--sage);background:#f4f6ef;border-radius:0 12px 12px 0;margin-top:30px;padding:18px 20px}.info-box b{color:var(--green)}.info-box p{margin:8px 0 0;font-size:14px;line-height:1.9}.form-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:12px;margin-top:30px;padding-top:24px;display:flex}.secondary-button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:12px;min-height:56px;padding:0 24px;font-weight:600}.secondary-button:hover{background:var(--ivory)}.secondary-button:disabled{cursor:wait;opacity:.66}.live-preview{padding:28px;position:sticky;top:22px}.preview-label{color:var(--terra);letter-spacing:.12em;margin-top:0;font-size:11px;font-weight:700}.preview-pet{align-items:center;gap:14px;display:flex}.preview-pet img{object-fit:contain;object-position:center;background:var(--ivory);mix-blend-mode:multiply;border-radius:50%;width:72px;height:72px;padding:7px}.preview-pet strong,.preview-pet span{display:block}.preview-pet strong{color:var(--green);font-size:20px}.preview-pet span{color:var(--muted);margin-top:5px;font-size:12px}.live-preview hr{border:0;border-top:1px solid var(--line);margin:22px 0}.live-preview h2{color:var(--green);font-family:Yu Mincho,serif;font-size:23px}.live-preview>p{font-size:14px;line-height:1.8}.preview-score{background:var(--ivory);border-radius:12px;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.preview-score span{font-size:13px}.preview-score b{color:var(--terra);font-size:28px}.preview-score small{color:var(--muted);font-size:11px}.preview-severity{border:1px solid var(--line);border-radius:12px;margin-top:10px;padding:13px 16px}.preview-severity span,.preview-severity strong,.preview-severity small{display:block}.preview-severity span{color:var(--muted);font-size:11px}.preview-severity strong{color:var(--green);margin-top:4px;font-size:16px}.preview-severity small{color:var(--muted);margin-top:3px}.preview-tags{flex-wrap:wrap;gap:7px;margin-top:18px;display:flex}.preview-tags span{background:var(--sage-pale);color:var(--green);border-radius:999px;padding:6px 10px;font-size:12px}.preview-footnote{color:var(--muted);border-top:1px dashed var(--line);margin-top:22px;padding-top:18px}.privacy-note,.owner-badge{color:var(--muted);background:#dde7de8a;border-radius:999px;align-self:center;padding:10px 14px;font-size:12px}.owner-badge{color:var(--green);font-weight:700}.wizard-stepper{grid-template-columns:repeat(4,1fr);max-width:760px;margin:0 auto 42px;display:grid}.wizard-stepper button{border:0;border-bottom:3px solid var(--line);min-height:72px;color:var(--muted);cursor:pointer;background:0 0;padding:8px 4px}.wizard-stepper button span{border:1px solid var(--line);background:var(--surface);border-radius:50%;place-items:center;width:32px;height:32px;margin:0 auto 7px;font-size:12px;font-weight:700;display:grid}.wizard-stepper button small{font-size:12px;font-weight:600}.wizard-stepper button.active{color:var(--green);border-bottom-color:var(--green)}.wizard-stepper button.active span{background:var(--green);color:#fff;border-color:var(--green)}.wizard-stepper button.complete{color:var(--green);border-bottom-color:var(--sage)}.wizard-stepper button.complete span{background:var(--sage-pale);border-color:var(--sage)}.wide-form-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;max-width:920px;margin:0 auto;padding:clamp(24px,4vw,48px);box-shadow:0 14px 36px #31584a14}.section-intro{border-bottom:1px solid var(--line);align-items:center;gap:18px;margin-bottom:26px;padding-bottom:22px;display:flex}.section-intro span{background:var(--sage-pale);color:var(--green);border-radius:999px;flex:none;padding:7px 12px;font-size:12px;font-weight:700}.section-intro p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.treatment-panel{border:1px solid var(--line);background:#fff;border-radius:16px;overflow:hidden}.treatment-panel+.treatment-panel{margin-top:12px}.treatment-panel.open{border-color:var(--sage);box-shadow:0 8px 22px #31584a0f}.exam-panel{margin-top:28px}.exam-choice-grid{grid-template-columns:repeat(2,1fr)}.treatment-panel-toggle{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:40px minmax(0,1fr) 22px;align-items:center;gap:15px;width:100%;min-height:88px;padding:18px 20px;display:grid}.treatment-panel-icon{background:var(--sage-pale);width:38px;height:38px;color:var(--green);border-radius:50%;place-items:center;font-weight:800;display:grid}.treatment-panel-toggle strong,.treatment-panel-toggle small{display:block}.treatment-panel-toggle strong{color:var(--green);font-size:17px}.treatment-panel-toggle small{color:var(--muted);margin-top:5px;font-size:12px}.treatment-panel-toggle>b{color:var(--green);font-size:20px;transition:transform .16s}.treatment-panel-toggle[aria-expanded=true]>b{transform:rotate(180deg)}.treatment-panel-body{border-top:1px solid var(--line);background:#fffdfa;padding:20px}.treatment-choice-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.treatment-choice{border:1px solid var(--line);min-height:54px;color:var(--ink);cursor:pointer;background:#fff;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:700}.treatment-choice span{background:var(--ivory);width:22px;height:22px;color:var(--green);border-radius:50%;place-items:center;margin-right:6px;display:inline-grid}.treatment-choice.selected{border-color:var(--green);background:var(--sage-pale);color:var(--green)}.treatment-choice.selected span{background:var(--green);color:#fff}.treatment-details{gap:12px;margin-top:20px;display:grid}.treatment-detail{border:1px solid var(--line);background:#fff;border-radius:13px;padding:18px}.treatment-detail header{justify-content:space-between;align-items:center;gap:12px;display:flex}.treatment-detail header strong{color:var(--green);font-size:15px}.treatment-detail header button,.treatment-note>button{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:11px;text-decoration:underline}.treatment-detail fieldset{border:0;margin:16px 0 0;padding:0}.treatment-detail legend,.treatment-note>span{color:var(--muted);margin-bottom:9px;font-size:11px;font-weight:700;display:block}.interval-choices{flex-wrap:wrap;gap:8px;display:flex}.interval-choices button{border:1px solid var(--line);min-height:40px;color:var(--muted);cursor:pointer;background:#fffdfa;border-radius:999px;padding:0 13px;font-size:12px;font-weight:700}.interval-choices button.selected{border-color:var(--green);background:var(--green);color:#fff}.add-note-button{color:var(--green);cursor:pointer;background:0 0;border:0;margin-top:14px;padding:6px 0;font-size:12px;font-weight:700}.treatment-note{margin-top:14px;display:block}.treatment-note textarea{border:1px solid var(--line);width:100%;color:var(--ink);resize:vertical;background:#fffdfa;border-radius:10px;padding:12px 13px;line-height:1.7}.treatment-note>button{margin:6px 0 0 auto;display:block}.no-medication-copy{background:var(--ivory);color:var(--green);border-radius:10px;margin:14px 0 0;padding:12px 14px;font-size:12px;line-height:1.7}.treatment-caution{color:var(--muted);margin:16px 0 0;font-size:10px;line-height:1.7}.topical-therapy-grid{grid-template-columns:repeat(4,1fr)}.topical-therapy-help{background:var(--sage-pale);color:var(--green);border-radius:10px;margin:15px 0 0;padding:11px 13px;font-size:11px;line-height:1.7}.option-stack{gap:12px;display:grid}.option-card{border:1px solid var(--line);background:#fff;border-radius:15px;transition:border .14s,background .14s,box-shadow .14s;overflow:hidden}.option-card.selected{border-color:var(--sage);background:#fbfcf8;box-shadow:0 7px 18px #31584a0f}.option-toggle{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:16px;width:100%;min-height:86px;padding:18px 20px;display:flex}.option-check{border:1px solid var(--line);background:var(--ivory);width:34px;height:34px;color:var(--green);border-radius:50%;flex:none;place-items:center;font-weight:800;display:grid}.option-card.selected .option-check{border-color:var(--green);background:var(--green);color:#fff}.option-toggle strong,.option-toggle small{display:block}.option-toggle strong{color:var(--green);font-size:16px}.option-toggle small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.6}.care-option-details{padding:0 20px 20px 70px}.care-frequency{border:0;margin:0 0 16px;padding:0}.care-frequency legend{color:var(--muted);margin-bottom:9px;font-size:11px;font-weight:700}.care-frequency>small{color:var(--muted);margin-top:10px;font-size:10px;line-height:1.6;display:block}.care-option-details .option-note{padding:0}.option-note{padding:0 20px 20px 70px;display:block}.option-note>span,.followup-date>span{color:var(--muted);margin-bottom:8px;font-size:12px;font-weight:700;display:block}.option-note textarea,.followup-inputs textarea,.followup-inputs input{border:1px solid var(--line);width:100%;color:var(--ink);resize:vertical;background:#fff;border-radius:10px;padding:13px 14px;line-height:1.7}.followup-inputs{background:var(--ivory);border-radius:16px;grid-template-columns:.7fr 1.3fr;gap:20px;margin-top:32px;padding:26px;display:grid}.followup-inputs input{min-height:52px}.message-field{min-width:0}.message-template-heading span{color:var(--muted);font-size:12px;font-weight:700;display:block}.message-template-heading small{color:var(--muted);margin-top:5px;font-size:10px;line-height:1.6;display:block}.message-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.message-template{border:1px solid var(--line);min-height:44px;color:var(--green);text-align:left;cursor:pointer;background:#fff;border-radius:10px;padding:8px 11px;font-size:11px;font-weight:700}.message-template span{margin-right:6px}.message-template:hover{border-color:var(--sage);background:#fbfcf8}.message-template.selected{border-color:var(--green);background:var(--sage-pale)}.message-textarea-heading{justify-content:space-between;align-items:center;gap:12px;margin:14px 0 8px;display:flex}.message-textarea-heading>label{color:var(--muted);font-size:11px;font-weight:700}.message-textarea-heading>div{align-items:center;gap:10px;display:flex}.message-textarea-heading small{color:var(--muted);font-size:9px}.message-textarea-heading button{color:var(--green);cursor:pointer;background:0 0;border:0;padding:3px 0;font-size:10px;font-weight:700;text-decoration:underline}.result-page{max-width:1320px;margin:0 auto;padding:48px clamp(20px,4vw,60px) 90px}.result-toolbar{justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:34px;display:flex}.result-toolbar h1{color:var(--green);letter-spacing:.035em;margin:0;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:clamp(34px,4vw,50px)}.result-toolbar>div:first-child>p:last-child{color:var(--muted)}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:12px;display:flex}.cloud-save-control{gap:7px;max-width:290px;display:grid}.cloud-save-control>small{color:#a74f42;font-size:10px;line-height:1.5}.cloud-save-control>.save-notice{color:#32755d}.result-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:28px;display:grid}.summary-sheet{border:1px solid var(--line);background:#fffefb;border-radius:20px;overflow:hidden;box-shadow:0 16px 40px #31584a17}.sheet-header{border-bottom:1px solid var(--line);background:linear-gradient(120deg,#edf2e9,#faf5eb);justify-content:space-between;align-items:center;gap:24px;min-height:190px;padding:28px 40px;display:flex}.sheet-header>div>p{color:var(--terra);letter-spacing:.18em;margin:0 0 10px;font-size:11px;font-weight:800}.sheet-header h1{color:var(--green);margin:0;font-family:Yu Mincho,serif;font-size:clamp(26px,3vw,38px)}.sheet-header span{color:var(--muted);margin-top:10px;font-size:13px;display:block}.sheet-header img{object-fit:contain;object-position:center;mix-blend-mode:multiply;background:#f2e6d6;border-radius:50%;width:150px;height:150px;padding:10px}.sheet-section{border-bottom:1px solid var(--line);grid-template-columns:54px 1fr;gap:18px;padding:34px 40px;display:grid}.section-number{color:var(--terra);font-family:serif;font-size:18px;font-weight:700}.sheet-section h2{color:var(--green);margin:0 0 16px;font-family:Yu Mincho,serif;font-size:24px}.sheet-section>div:last-child>p{font-size:14px;line-height:1.9}.diagnosis-note{background:var(--ivory);color:var(--muted);border-radius:10px;padding:13px 16px;font-size:12px!important}.status-row{grid-template-columns:140px 180px 1fr;gap:12px;margin-top:18px;display:grid}.status-row>div{border:1px solid var(--line);background:#fff;border-radius:12px;padding:15px 17px}.status-row span{color:var(--muted);margin-bottom:5px;font-size:11px;display:block}.status-row b{color:var(--terra);font-size:30px}.status-row small{color:var(--muted);font-size:11px}.status-row p{margin:5px 0 0;font-size:13px;font-weight:600;line-height:1.7}.severity-status strong,.severity-status em{display:block}.severity-status strong{color:var(--green);font-size:15px}.severity-status em{color:var(--muted);margin-top:5px;font-size:10px;font-style:normal}.inline-score{color:var(--muted);margin-left:2px;font-size:11px;font-weight:400;display:inline}.summary-items{gap:11px;margin:0;padding:0;list-style:none;display:grid}.summary-items li{background:#f5f7f0;border-radius:12px;gap:12px;padding:13px 15px;display:flex}.summary-items li>span{background:var(--green);color:#fff;border-radius:50%;flex:none;place-items:center;width:23px;height:23px;font-size:11px;display:grid}.summary-items strong{color:var(--green);font-size:14px}.summary-items p{color:var(--muted);white-space:pre-wrap;margin:5px 0 0;font-size:12px;line-height:1.7}.empty-note{color:var(--muted);font-size:13px}.recheck-box{background:var(--sage-pale);border-radius:12px;justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.recheck-box span{color:var(--green);font-size:12px;font-weight:700}.recheck-box b{color:var(--green);font-size:17px}.message-box{border:1px solid var(--line);border-radius:12px;margin-top:14px;padding:16px 18px}.message-box span{color:var(--terra);font-size:11px;font-weight:700}.message-box p{white-space:pre-wrap;margin:7px 0 0;line-height:1.8}.contact-note{border-left:3px solid var(--terra);color:var(--muted);margin:14px 0 0;padding-left:15px;font-size:12px!important}.share-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:26px;position:sticky;top:22px;box-shadow:0 12px 30px #31584a14}.share-card h2{color:var(--green);margin:6px 0 10px;font-family:Yu Mincho,serif;font-size:24px}.share-card>p{color:var(--muted);font-size:12px;line-height:1.7}.qr-frame{border:1px dashed var(--sage);background:#fff;border-radius:14px;place-items:center;min-height:252px;margin:20px 0 14px;padding:12px;display:grid}.qr-frame img{width:228px;height:228px}.qr-frame span{color:var(--muted);font-size:12px}.privacy-tip{background:var(--ivory);border-radius:10px;padding:11px 12px;font-size:10px!important}.secondary-button.full{width:100%;margin-top:12px}.owner-intro{background:var(--sage-pale);border-radius:14px;justify-content:space-between;align-items:center;gap:18px;max-width:930px;margin:0 auto 22px;padding:14px 18px;display:flex}.owner-intro p{color:var(--green);margin:0;font-weight:600}.owner-mode .result-layout{max-width:930px;margin:0 auto;display:block}.history-overlay{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1f2a258f;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.history-panel{border:1px solid var(--line);background:var(--surface);border-radius:22px;flex-direction:column;width:min(900px,100%);max-height:calc(100vh - 48px);display:flex;overflow:hidden;box-shadow:0 24px 70px #19282247}.history-panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:24px;padding:24px 28px 20px;display:flex}.history-panel-header p{color:var(--terra);letter-spacing:.15em;margin:0 0 7px;font-size:10px;font-weight:800}.history-panel-header h2{color:var(--green);margin:0;font-family:Yu Mincho,serif;font-size:30px}.history-panel-header span{color:var(--muted);margin-top:7px;font-size:11px;line-height:1.6;display:block}.history-panel-header>button{border:1px solid var(--line);width:42px;height:42px;color:var(--green);cursor:pointer;background:#fff;border-radius:50%;flex:none;font-size:24px;line-height:1}.history-mode-tabs{background:var(--ivory);border-radius:13px;grid-template-columns:1fr 1fr;gap:4px;margin:16px 28px 0;padding:4px;display:grid}.history-mode-tabs button{min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;font-size:11px;font-weight:750}.history-mode-tabs button.active{color:var(--green);background:#fff;box-shadow:0 3px 11px #1928221a}.history-search{border-bottom:1px solid var(--line);background:var(--ivory);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px 14px;padding:16px 28px;display:grid}.history-search label{color:var(--muted);grid-column:1/-1;font-size:10px;font-weight:700}.history-search input{border:1px solid var(--line);width:100%;min-height:46px;color:var(--ink);background:#fff;border-radius:10px;padding:0 14px}.history-search>span{color:var(--muted);white-space:nowrap;padding-bottom:13px;font-size:10px}.history-panel-body{min-height:240px;padding:20px 28px 28px;overflow-y:auto}.history-state,.history-empty{border:1px dashed var(--sage);color:var(--muted);text-align:center;background:#fbfcf8;border-radius:14px;margin:0;padding:44px 20px;font-size:12px;line-height:1.8}.history-state.error{color:#a74f42;background:#fff7f5;border-color:#d7a69c}.history-empty b{color:var(--green);font-size:16px;display:block}.history-empty p{margin:7px 0 0}.history-patient-list{gap:14px;display:grid}.history-patient-card{border:1px solid var(--line);background:#fff;border-radius:15px;overflow:hidden}.history-patient-card>header{background:#dde7de6b;justify-content:space-between;align-items:center;gap:18px;padding:17px 18px;display:flex}.history-patient-card>header small{color:var(--muted);font-size:9px;display:block}.history-patient-card>header h3{color:var(--green);margin:3px 0 2px;font-size:19px}.history-patient-card>header span{color:var(--muted);font-size:10px}.history-patient-card>header button{border:1px solid var(--green);min-height:40px;color:var(--green);cursor:pointer;background:#fff;border-radius:9px;padding:0 13px;font-size:10px;font-weight:700}.history-visits{padding:0 18px}.history-visit{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:12px 0;display:flex}.history-visit:last-child{border-bottom:0}.history-visit>div:first-child{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.history-visit time{color:var(--ink);flex-basis:100%;font-size:12px;font-weight:700}.history-visit>div:first-child span{background:var(--ivory);color:var(--muted);border-radius:999px;padding:4px 7px;font-size:9px}.history-visit-actions{gap:7px;display:flex}.history-visit-actions button{border:1px solid var(--sage);min-height:36px;color:var(--green);cursor:pointer;background:#fff;border-radius:8px;padding:0 12px;font-size:10px;font-weight:700}.history-visit-actions button.danger{color:#a74f42;border-color:#0000}.condition-fieldset{border:1px solid var(--line);background:#fffdfa;border-radius:16px;margin:30px 0;padding:22px}.condition-fieldset legend{color:var(--green);padding:0 7px;font-size:16px;font-weight:800}.condition-fieldset legend small{color:var(--muted);font-size:11px;font-weight:600}.condition-fieldset>p{color:var(--muted);margin:0 0 16px;font-size:11px;line-height:1.7}.condition-choice-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.condition-choice{border:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;border-radius:13px;grid-template-columns:28px 1fr;align-content:center;column-gap:10px;min-height:86px;padding:14px;display:grid}.condition-choice>span{background:var(--ivory);width:27px;height:27px;color:var(--green);border-radius:50%;grid-row:1/3;place-items:center;font-weight:800;display:grid}.condition-choice strong{color:var(--green);font-size:13px}.condition-choice small{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.55}.condition-choice.selected{border-color:var(--green);background:var(--sage-pale);box-shadow:inset 0 0 0 1px var(--green)}.condition-choice.selected>span{background:var(--green);color:#fff}.condition-error{background:#fff0ec;border-radius:9px;padding:10px 12px;font-weight:700;color:#a74f42!important;margin:13px 0 0!important}.disease-info-stack{gap:10px;margin-top:30px;display:grid}.disease-info-stack .info-box{margin-top:0}.disease-info-stack .relationship-info{border-left-color:var(--terra);background:#fff5ed}.otitis-panel-body{gap:19px;display:grid}.otitis-panel-body fieldset{border:0;margin:0;padding:0}.otitis-panel-body legend{color:var(--green);margin-bottom:10px;font-size:12px;font-weight:800}.otitis-panel-body .treatment-note{margin:0}.condition-summary-tags{flex-wrap:wrap;gap:7px;margin-bottom:16px;display:flex}.condition-summary-tags span{background:var(--sage-pale);color:var(--green);border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800}.condition-explanations{gap:10px;display:grid}.condition-explanations>div{border-left:3px solid var(--sage);background:#f6f7f2;border-radius:0 10px 10px 0;padding:13px 15px}.condition-explanations h3{color:var(--green);margin:0;font-size:13px}.condition-explanations p{color:var(--muted);margin:5px 0 0;font-size:11px;line-height:1.7}.relationship-note{color:#72584a;background:#fff7f1;border:1px solid #e6c8b8;border-radius:11px;margin:15px 0 0;padding:14px 16px;font-size:11px!important;line-height:1.8!important}.cadli-summary{background:var(--ivory);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin-top:12px;padding:12px 15px;display:flex}.cadli-summary span{color:var(--muted);font-size:10px;font-weight:700}.cadli-summary strong{color:var(--green);font-size:13px}.condition-treatment-groups{gap:18px;display:grid}.condition-treatment-groups>section>h3{color:var(--terra);margin:0 0 8px;font-size:12px}.topical-care-reference{background:var(--sage-pale);color:var(--green);border-radius:10px;margin:0;padding:11px 13px;font-size:11px;line-height:1.7}.handout-links{border-bottom:1px solid var(--line);background:#f4f6ef;grid-template-columns:minmax(0,.9fr) minmax(260px,1.1fr);gap:24px;padding:28px 40px;display:grid}.handout-links p{color:var(--terra);letter-spacing:.13em;margin:0 0 5px;font-size:9px;font-weight:800}.handout-links h2{color:var(--green);margin:0;font-family:Yu Mincho,serif;font-size:20px}.handout-links>div:first-child>span{color:var(--muted);margin-top:7px;font-size:10px;line-height:1.6;display:block}.handout-links>div:last-child{gap:7px;display:grid}.handout-links a{border:1px solid var(--sage);min-height:43px;color:var(--green);background:#fff;border-radius:9px;justify-content:space-between;align-items:center;padding:0 13px;font-size:11px;font-weight:800;text-decoration:none;display:flex}.handout-links a:hover{background:var(--sage-pale)}.handout-menu-overlay{z-index:110;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1f2a2594;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.handout-menu{border:1px solid var(--line);background:var(--surface);border-radius:22px;width:min(660px,100%);max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 24px 70px #19282247}.handout-menu>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:24px;padding:25px 28px 20px;display:flex}.handout-menu>header p{color:var(--terra);letter-spacing:.15em;margin:0 0 7px;font-size:10px;font-weight:800}.handout-menu>header h2{color:var(--green);margin:0;font-family:Yu Mincho,serif;font-size:28px}.handout-menu>header span{color:var(--muted);margin-top:7px;font-size:11px;line-height:1.6;display:block}.handout-menu>header>button{border:1px solid var(--line);width:42px;height:42px;color:var(--green);cursor:pointer;background:#fff;border-radius:50%;flex:none;font-size:24px;line-height:1}.handout-menu-list{gap:9px;padding:20px 28px;display:grid}.handout-menu-list a{border:1px solid var(--line);min-height:69px;color:var(--green);background:#fffdfa;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;padding:12px 15px;text-decoration:none;display:flex}.handout-menu-list a:hover{border-color:var(--sage);background:var(--sage-pale)}.handout-menu-list a span,.handout-menu-list a strong,.handout-menu-list a small{display:block}.handout-menu-list a strong{font-size:14px}.handout-menu-list a small{color:var(--muted);margin-top:4px;font-size:10px;font-weight:500}.handout-menu-list a>b{font-size:17px}.handout-menu-note{border-top:1px solid var(--line);color:var(--muted);text-align:center;margin:0;padding:14px 28px 20px;font-size:10px}.pdf-ready-overlay{z-index:220;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1f2a2594;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.pdf-ready-dialog{border:1px solid var(--line);background:var(--surface);width:min(440px,100%);color:var(--ink);text-align:center;border-radius:20px;padding:30px 24px 24px;box-shadow:0 24px 70px #19282247}.pdf-ready-icon{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:54px;height:54px;margin:0 auto 14px;font-size:24px;font-weight:800;display:grid}.pdf-ready-icon.error{background:#a74f42}.pdf-ready-dialog h2{color:var(--green);margin:0;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:25px}.pdf-ready-dialog p{color:var(--muted);margin:11px 0 20px;font-size:12px;line-height:1.7}.pdf-open-button,.pdf-close-button{cursor:pointer;border-radius:11px;justify-content:center;align-items:center;width:100%;min-height:48px;font-size:13px;font-weight:800;display:flex}.pdf-open-button{background:var(--green);color:#fff;border:0;margin-top:20px;text-decoration:none}.pdf-close-button{border:1px solid var(--line);color:var(--green);background:#fff;margin-top:10px}.handout-page{background:var(--ivory);min-height:100vh;padding:28px 18px 70px}.handout-toolbar{justify-content:space-between;align-items:center;gap:16px;width:min(920px,100%);margin:0 auto 16px;display:flex}.handout-toolbar a{color:var(--green);font-size:12px;font-weight:800;text-decoration:none}.handout-toolbar button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:10px;min-height:46px;padding:0 17px;font-size:12px;font-weight:800}.handout-sheet{border:1px solid var(--line);background:var(--surface);border-radius:18px;width:min(920px,100%);margin:0 auto;overflow:hidden;box-shadow:0 18px 48px #31584a1a}.handout-header{background:var(--green);color:#fff;justify-content:space-between;align-items:center;gap:24px;min-height:168px;padding:34px 42px;display:flex}.handout-header p{color:#e7c2b0;letter-spacing:.17em;margin:0 0 9px;font-size:9px;font-weight:800}.handout-header h1{margin:0;font-family:Yu Mincho,serif;font-size:clamp(28px,4vw,42px);font-weight:600}.handout-header span{color:#ffffffb8;margin-top:10px;font-size:10px;display:block}.handout-header>b{border:1px solid #fff6;border-radius:50%;flex:none;place-items:center;width:64px;height:64px;font-size:26px;display:grid}.handout-lead{grid-template-columns:minmax(0,1fr) 230px;align-items:center;gap:24px;padding:22px 42px 18px;display:grid}.handout-lead h2{color:var(--terra);letter-spacing:.06em;margin:0 0 7px;font-size:11px}.handout-lead p{color:var(--ink);margin:0;font-size:14px;line-height:1.9}.handout-visual{border:1px solid var(--line);background:#faf7f1;border-radius:12px;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:10px;min-height:104px;margin:0;padding:10px 12px;display:grid}.handout-visual img{object-fit:contain;object-position:center;mix-blend-mode:multiply;width:82px;height:82px}.handout-visual strong,.handout-visual span{display:block}.handout-visual strong{color:var(--green);font-size:10px}.handout-visual span{color:var(--muted);margin-top:5px;font-size:8.5px;line-height:1.6}.handout-points{grid-template-columns:repeat(3,1fr);gap:9px;margin:0 42px 24px;display:grid}.handout-points>div{background:var(--sage-pale);border-radius:11px;grid-template-columns:25px 1fr;align-items:center;gap:8px;min-height:82px;padding:13px;display:grid}.handout-points span{color:var(--terra);font-family:serif;font-size:13px;font-weight:800}.handout-points p{color:var(--green);margin:0;font-size:11px;font-weight:800;line-height:1.55}.handout-sections{grid-template-columns:1fr 1fr;gap:12px;padding:0 42px;display:grid}.handout-sections>section{border:1px solid var(--line);background:#fffdfa;border-radius:12px;grid-template-columns:28px 1fr;gap:10px;min-height:178px;padding:18px;display:grid}.handout-sections>section>span{color:var(--terra);font-family:serif;font-size:14px;font-weight:800}.handout-sections h2{color:var(--green);margin:0 0 7px;font-size:15px}.handout-sections p,.handout-sections li{color:var(--muted);font-size:10.5px;line-height:1.7}.handout-sections p{margin:0}.handout-sections ul{margin:8px 0 0;padding-left:18px}.handout-contact{border-left:4px solid var(--terra);background:#fff5ed;border-radius:0 11px 11px 0;margin:20px 42px 0;padding:17px 20px}.handout-contact h2{color:var(--terra);margin:0 0 5px;font-size:12px}.handout-contact p{color:#72584a;margin:0;font-size:11px;line-height:1.7}.handout-footer{border-top:1px solid var(--line);background:#faf7f1;margin-top:22px;padding:17px 42px 22px}.handout-footer p{color:var(--muted);margin:0;font-size:9.5px;line-height:1.7}.handout-footer small{color:#8a8d89;margin-top:7px;font-size:8px;line-height:1.5;display:block}.cadli-guide-page{max-width:1120px;margin:0 auto;padding:54px 28px 86px}.cadli-guide-header{border-bottom:1px solid var(--line);padding-bottom:30px}.cadli-guide-header>a{color:var(--green);margin-bottom:30px;font-size:13px;font-weight:700;text-decoration:none;display:inline-block}.cadli-guide-header>p,.cadli-source-card>div:first-child>p{color:var(--terra);letter-spacing:.16em;margin:0 0 12px;font-size:11px;font-weight:700}.cadli-guide-header h1{color:var(--green);margin:0;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:clamp(38px,5vw,58px);font-weight:600}.cadli-guide-header>span{color:var(--muted);margin-top:14px;line-height:1.7;display:block}.cadli-guide-intro{background:var(--green);color:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:24px;margin:30px 0;padding:24px 28px;display:flex}.cadli-guide-intro h2{margin:0;font-family:Yu Mincho,serif;font-size:25px}.cadli-guide-intro p{color:#ffffffc7;max-width:680px;margin:9px 0 0;font-size:13px;line-height:1.8}.cadli-guide-intro>strong{background:#ffffff21;border-radius:999px;flex:none;padding:10px 14px;font-size:13px}.cadli-guide-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.cadli-guide-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:28px;position:relative;box-shadow:0 10px 28px #31584a0f}.cadli-guide-card h2{color:var(--green);margin:0 0 20px;font-family:Yu Mincho,serif;font-size:24px}.guide-number{color:var(--line);font-size:26px;font-weight:800;position:absolute;top:21px;right:24px}.lesion-guide article{background:var(--ivory);border-radius:13px;padding:17px 18px}.lesion-guide article+article{margin-top:12px}.lesion-guide article b{color:var(--terra);letter-spacing:.08em;font-size:10px}.lesion-guide article h3{color:var(--green);margin:5px 0 7px;font-size:16px}.lesion-guide article p{color:var(--muted);margin:0;font-size:12px;line-height:1.7}.score-guide-list{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.score-guide-list div{border:1px solid var(--line);background:#fffdfa;border-radius:12px;align-content:center;place-items:center;gap:3px;min-height:76px;padding:11px;display:grid}.score-guide-list b{color:var(--terra);font-size:25px}.score-guide-list span{color:var(--muted);font-size:10px;font-weight:700}.guide-caution{color:var(--muted);margin:16px 0 0;font-size:10px;line-height:1.7}.region-guide{grid-column:1/-1}.region-visual{grid-template-columns:minmax(260px,.8fr) minmax(260px,1.2fr);align-items:center;gap:28px;display:grid}.region-visual img{object-fit:contain;background:var(--ivory);mix-blend-mode:multiply;border-radius:14px;width:100%;height:310px}.region-visual ol{counter-reset:region;gap:10px;margin:0;padding:0;list-style:none;display:grid}.region-visual li{counter-increment:region;border:1px solid var(--line);min-height:50px;color:var(--green);background:#fffdfa;border-radius:12px;align-items:center;gap:12px;padding:0 14px;font-size:13px;font-weight:700;display:flex}.region-visual li:before{content:counter(region);background:var(--sage-pale);border-radius:50%;place-items:center;width:27px;height:27px;font-size:11px;display:grid}.cadli-source-card{border:1px solid var(--sage);background:#dde7de6b;border-radius:18px;margin-top:20px;padding:28px}.cadli-source-card h2{color:var(--green);margin:0;font-family:Yu Mincho,serif;font-size:25px}.cadli-source-card span{color:var(--muted);margin-top:8px;font-size:11px;line-height:1.7;display:block}.cadli-source-actions{gap:10px;margin-top:20px;display:flex}.cadli-source-actions a{background:var(--green);color:#fff;border-radius:10px;align-items:center;min-height:48px;padding:0 17px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.cadli-source-actions a+a{border:1px solid var(--green);color:var(--green);background:#fff}.cadli-source-card>small{color:var(--muted);margin-top:11px;font-size:9px;display:block}@media (width<=1040px){.hero{grid-template-columns:1fr 1fr;padding-left:28px;padding-right:28px}.hero h1{font-size:46px}.summary-content{grid-template-columns:1fr}.dog-stage{min-height:250px}.dog-stage img{max-height:270px}.summary-list{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.top-nav .nav-item:last-child{display:none}.editor-grid{grid-template-columns:1fr .58fr}.chip-grid{grid-template-columns:repeat(2,1fr)}.result-layout{grid-template-columns:1fr 270px}.sheet-section{padding-left:28px;padding-right:28px}}@media (width<=760px){.auth-shell{padding:18px}.auth-card{border-radius:20px;padding:34px 22px 28px}.auth-card h1{font-size:29px}.site-header{height:72px;padding:0 16px}.brand{gap:10px;font-size:16px}.brand-copy small{font-size:8px}.brand-mark{width:34px;height:34px;box-shadow:5px 4px 0 var(--sage-pale)}.top-nav{display:none}.mobile-session-actions{align-items:center;gap:10px;display:flex}.mobile-logout-button{color:var(--muted);background:0 0;border:0;padding:8px 0 8px 10px;font-size:10px;font-weight:700;display:block}.hero{min-height:auto;padding:38px 18px 54px;display:block}.hero h1{font-size:clamp(36px,11vw,48px)}.lead{margin-top:18px}.stepper{margin-bottom:24px}.stepper li span{width:36px;height:36px}.stepper li:after{top:17px;left:calc(50% + 18px);right:calc(18px - 50%)}.stepper li small{font-size:10px}.patient-chip{min-height:100px}.mini-dog{width:58px;height:58px}.hero-actions{display:block}.primary-button{width:100%;min-width:0}.handout-launch-button,.history-launch-button{width:100%;margin-top:10px}.time-note{text-align:center;margin-top:14px;display:block}.clinical-card{margin-top:38px;padding:22px}.summary-content{display:block}.dog-stage{min-height:280px}.summary-list{display:block}.editor{padding:26px 16px 60px}.editor-topbar{align-items:flex-start}.progress-badge{flex:none;width:64px;height:64px}.editor-grid{display:block}.two-columns,.patient-fields{grid-template-columns:1fr}.condition-fieldset{padding:16px 13px}.condition-choice-grid{grid-template-columns:1fr}.chip-grid,.severity-buttons{grid-template-columns:1fr 1fr}.cadli-toggle{grid-template-columns:minmax(0,1fr) 20px}.cadli-total{grid-area:2/1/auto/-1;justify-self:start}.cadli-tools{display:block}.cadli-tools button{margin-top:10px}.cadli-table-heading{display:none}.cadli-row{grid-template-columns:1fr 1fr;gap:10px;padding:12px}.cadli-row>strong{grid-column:1/-1;padding:0}.cadli-row label{border-left:0;padding:0}.cadli-row label>span{min-height:34px;color:var(--muted);margin-bottom:5px;font-size:9px;line-height:1.4;display:block}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}.live-preview{margin-top:20px;position:static}.privacy-note{display:none}.wizard-stepper{margin-bottom:28px}.wizard-stepper button small{font-size:10px}.editor-topbar{margin-bottom:24px}.wide-form-card{padding:20px 16px}.section-intro{display:block}.section-intro p{margin-top:10px}.treatment-panel-body{padding:14px}.treatment-choice-grid{grid-template-columns:1fr 1fr}.treatment-choice{font-size:11px}.treatment-detail{padding:14px}.option-toggle{gap:12px;padding:15px 12px}.care-option-details,.option-note{padding:0 12px 16px 58px}.care-option-details .option-note{padding:0}.followup-inputs{grid-template-columns:1fr;padding:18px}.message-template-grid{grid-template-columns:1fr 1fr}.result-page{padding:28px 14px 60px}.result-toolbar{display:block}.toolbar-actions{margin-top:20px}.toolbar-actions button{flex:1;min-width:0}.cloud-save-control{width:100%;max-width:none}.cloud-save-control>button{width:100%}.result-layout{display:block}.share-card{margin-top:20px;position:static}.sheet-header{min-height:154px;padding:22px}.sheet-header img{width:105px;height:105px}.sheet-header h1{font-size:25px}.sheet-section{grid-template-columns:38px 1fr;gap:8px;padding:26px 20px}.sheet-section h2{font-size:21px}.status-row{grid-template-columns:1fr}.handout-links{grid-template-columns:1fr;padding:22px 20px}.owner-intro{align-items:flex-start}.history-overlay{padding:0}.history-panel{border:0;border-radius:0;width:100%;height:100vh;max-height:100vh}.history-panel-header{padding:20px 16px 16px}.history-panel-header h2{font-size:25px}.history-mode-tabs{margin:13px 16px 0}.history-search{grid-template-columns:1fr;padding:14px 16px}.history-search label{grid-column:auto}.history-search>span{padding:0}.history-panel-body{padding:16px}.history-patient-card>header{align-items:flex-start}.history-patient-card>header button{max-width:128px}.history-visits{padding:0 14px}.history-visit{align-items:flex-start}.history-visit-actions{flex-direction:column}.cadli-guide-page{padding:32px 16px 60px}.cadli-guide-intro{padding:22px;display:block}.cadli-guide-intro>strong{margin-top:14px;display:inline-block}.cadli-guide-grid{grid-template-columns:1fr}.region-guide{grid-column:auto}.region-visual{grid-template-columns:1fr}.cadli-source-actions{display:grid}.cadli-source-actions a{justify-content:center}.handout-menu-overlay{padding:0}.handout-menu{border:0;border-radius:0;width:100%;height:100vh;max-height:100vh}.handout-menu>header{padding:20px 16px 16px}.handout-menu>header h2{font-size:25px}.handout-menu-list{padding:16px}.handout-menu-note{padding:14px 16px 20px}.handout-page{padding:14px 10px 40px}.handout-toolbar{align-items:stretch}.handout-toolbar a,.handout-toolbar button{align-items:center;min-height:44px;display:flex}.handout-header{min-height:148px;padding:25px 22px}.handout-header>b{width:46px;height:46px;font-size:20px}.handout-lead{grid-template-columns:1fr;gap:15px;padding:20px 22px 17px}.handout-visual{grid-template-columns:72px minmax(0,1fr)}.handout-visual img{width:72px;height:72px}.handout-points{grid-template-columns:1fr;margin:0 22px 19px}.handout-points>div{min-height:58px}.handout-sections{grid-template-columns:1fr;padding:0 22px}.handout-sections>section{min-height:0}.handout-contact{margin:18px 22px 0}.handout-footer{padding:17px 22px 22px}}.pdf-export-root{z-index:-1;pointer-events:none;font-kerning:normal;text-rendering:geometricprecision;background:#fffefb;width:718px;margin:0;padding:0;font-family:Hiragino Sans,Noto Sans JP,Yu Gothic UI,system-ui,sans-serif;position:fixed;top:0;left:-10000px;overflow:visible}.pdf-export-root *{letter-spacing:normal}.pdf-export-root .no-print{display:none!important}.pdf-export-root .summary-sheet,.pdf-export-root .handout-sheet{width:100%;box-shadow:none;border:0;border-radius:0;margin:0}.pdf-export-root .summary-sheet{overflow:visible}.pdf-export-root .sheet-header{min-height:120px;padding:14px 20px}.pdf-export-root .sheet-header img{width:96px;height:96px}.pdf-export-root .sheet-header>div>p{letter-spacing:.18em;line-height:1.4}.pdf-export-root .sheet-header h1{font-family:Hiragino Mincho ProN,Yu Mincho,serif;font-size:25px;line-height:1.35}.pdf-export-root .sheet-header span{line-height:1.45}.pdf-export-root .sheet-section{grid-template-columns:40px 1fr;align-items:baseline;gap:18px;padding:16px 20px}.pdf-export-root .section-number{align-self:baseline;font-family:Hiragino Mincho ProN,Yu Mincho,serif;line-height:1.35}.pdf-export-root .sheet-section h2{margin-bottom:9px;font-family:Hiragino Mincho ProN,Yu Mincho,serif;font-size:18px;line-height:1.35}.pdf-export-root .sheet-section>div:last-child>p{font-size:11px;line-height:1.6}.pdf-export-root .diagnosis-note{padding:8px 10px;font-size:9px!important}.pdf-export-root .status-row{grid-template-columns:110px 145px 1fr;gap:10px;margin-top:10px}.pdf-export-root .status-row>div{flex-direction:column;justify-content:center;display:flex}.pdf-export-root .status-row span{line-height:1.4}.pdf-export-root .status-row b{align-self:flex-start;align-items:baseline;gap:1px;margin-top:2px;font-size:27px;line-height:1;display:inline-flex}.pdf-export-root .status-row b small{line-height:1}.pdf-export-root .status-row p{line-height:1.55}.pdf-export-root .status-row>div,.pdf-export-root .summary-items li{padding:8px 10px}.pdf-export-root .summary-items{gap:6px}.pdf-export-root .summary-items li{align-items:flex-start}.pdf-export-root .summary-items li>span{width:22px;height:22px;margin-top:4px;font-size:0;line-height:1;position:relative}.pdf-export-root .summary-items li>span:after{content:"";border-bottom:1.5px solid #fff;border-right:1.5px solid #fff;width:5px;height:9px;transform:translateY(-1px)rotate(45deg)}.pdf-export-root .summary-items strong{min-height:23px;line-height:23px;display:block}.pdf-export-root .summary-items p{margin-top:3px;line-height:1.65}.pdf-export-root .message-box p{line-height:1.75}.pdf-export-root .contact-note{text-wrap:pretty;font-size:10px!important;line-height:1.65!important}.pdf-export-root .condition-summary-tags{margin-bottom:8px}.pdf-export-root .condition-explanations{gap:5px}.pdf-export-root .condition-explanations>div{padding:7px 10px}.pdf-export-root .condition-explanations p{text-wrap:pretty;font-size:8.5px;line-height:1.55}.pdf-export-root .relationship-note{padding:8px 10px;font-size:8.5px!important;line-height:1.5!important}.pdf-export-root .handout-header{min-height:106px;padding:23px 30px}.pdf-export-root .handout-header h1{font-size:23px}.pdf-export-root .handout-header>b{width:45px;height:45px}.pdf-export-root .handout-lead{grid-template-columns:minmax(0,1fr) 189px;gap:15px;padding:11px 30px 9px}.pdf-export-root .handout-lead p{font-size:10px;line-height:1.6}.pdf-export-root .handout-visual{grid-template-columns:60px minmax(0,1fr);gap:8px;min-height:68px;padding:6px 8px}.pdf-export-root .handout-visual img{width:60px;height:60px}.pdf-export-root .handout-visual strong{font-size:7px}.pdf-export-root .handout-visual span{margin-top:4px;font-size:5.8px;line-height:1.4}.pdf-export-root .handout-points{grid-template-columns:repeat(3,1fr);gap:8px;margin:0 30px 11px}.pdf-export-root .handout-points>div{min-height:57px;padding:9px}.pdf-export-root .handout-points p{font-size:8px}.pdf-export-root .handout-sections{grid-template-columns:1fr 1fr;gap:9px;padding:0 30px}.pdf-export-root .handout-sections>section{grid-template-columns:28px 1fr;min-height:128px;padding:11px}.pdf-export-root .handout-sections h2{margin-bottom:4px;font-size:11px}.pdf-export-root .handout-sections p,.pdf-export-root .handout-sections li{font-size:7.7px;line-height:1.55}.pdf-export-root .handout-sections ul{margin-top:6px}.pdf-export-root .handout-contact{margin:11px 30px 0;padding:9px 11px}.pdf-export-root .handout-contact h2{font-size:9px}.pdf-export-root .handout-contact p{font-size:8px}.pdf-export-root .handout-footer{margin-top:11px;padding:9px 30px 11px}.pdf-export-root .handout-footer p{font-size:7px}.pdf-export-root .handout-footer small{font-size:6.5px}@media print{@page{size:A4;margin:0}.no-print,.site-header,.hero-copy,.editor-topbar,.form-card{display:none!important}html,body,.app-shell,.result-page{background:#fff!important;margin:0!important;padding:0!important}.result-page,.handout-page{box-sizing:border-box;-webkit-box-decoration-break:clone;box-decoration-break:clone;width:100%;min-height:297mm;padding:10mm!important}.result-layout{display:block!important}.summary-sheet{width:100%;box-shadow:none;border:0;border-radius:0}.sheet-header{min-height:120px;padding:14px 20px}.sheet-header img{width:96px;height:96px}.sheet-header h1{font-size:25px}.sheet-section{break-inside:avoid;grid-template-columns:40px 1fr;padding:16px 20px}.sheet-section h2{margin-bottom:9px;font-size:18px}.sheet-section>div:last-child>p{font-size:11px;line-height:1.6}.diagnosis-note{padding:8px 10px;font-size:9px!important}.status-row{margin-top:10px}.status-row>div,.summary-items li{padding:8px 10px}.summary-items{gap:6px}.condition-explanations{gap:5px}.condition-explanations>div{padding:7px 10px}.condition-explanations p{font-size:8.5px;line-height:1.5}.relationship-note{padding:8px 10px;font-size:8.5px!important;line-height:1.5!important}.handout-page{background:#fff!important}.handout-sheet{width:100%;box-shadow:none;border:0;border-radius:0}.handout-header{-webkit-print-color-adjust:exact;print-color-adjust:exact;min-height:28mm;padding:6mm 8mm}.handout-header h1{font-size:23px}.handout-header>b{width:12mm;height:12mm}.handout-lead{grid-template-columns:minmax(0,1fr) 50mm;gap:4mm;padding:3mm 8mm 2.5mm}.handout-lead p{font-size:10px;line-height:1.6}.handout-visual{-webkit-print-color-adjust:exact;print-color-adjust:exact;grid-template-columns:16mm minmax(0,1fr);gap:2mm;min-height:18mm;padding:1.5mm 2mm}.handout-visual img{width:16mm;height:16mm}.handout-visual strong{font-size:7px}.handout-visual span{margin-top:1mm;font-size:5.8px;line-height:1.4}.handout-points{-webkit-print-color-adjust:exact;print-color-adjust:exact;gap:2mm;margin:0 8mm 3mm}.handout-points>div{min-height:15mm;padding:2.5mm}.handout-points p{font-size:8px}.handout-sections{gap:2.5mm;padding:0 8mm}.handout-sections>section{break-inside:avoid;min-height:34mm;padding:3mm}.handout-sections h2{margin-bottom:1mm;font-size:11px}.handout-sections p,.handout-sections li{font-size:7.7px;line-height:1.55}.handout-sections ul{margin-top:1.5mm}.handout-contact{-webkit-print-color-adjust:exact;print-color-adjust:exact;margin:3mm 8mm 0;padding:2.5mm 3mm}.handout-contact h2{font-size:9px}.handout-contact p{font-size:8px}.handout-footer{margin-top:3mm;padding:2.5mm 8mm 3mm}.handout-footer p{font-size:7px}.handout-footer small{font-size:6.5px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
