:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#fff;--surface:#f2f5f3;--surface-strong:#e3e9e5;--text:#0f1a14;--text-quiet:#3f4b44;--line:#66736b;--line-soft:#b9c3bd;--accent:#14532d;--accent-text:#fff;--accent-soft:#dcefe3;--danger:#9b1c1c;--danger-text:#fff;--danger-soft:#fbe9e9;--notice-bg:#fff4d6;--notice-line:#8a5a00;--focus:#1d4ed8;--gap:12px;--gap-large:20px;--radius:10px;--gutter:16px;--emergency-space:calc(43px + env(safe-area-inset-top,0px));font-size:18px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#0e1411;--surface:#18211c;--surface-strong:#22302a;--text:#eef4f0;--text-quiet:#bccac2;--line:#8d9e94;--line-soft:#3c4a43;--accent:#8fe0ad;--accent-text:#062814;--accent-soft:#1d3a29;--danger:#ffb0a8;--danger-text:#3a0505;--danger-soft:#3a1a1a;--notice-bg:#33290f;--notice-line:#e9c46a;--focus:#9cc2ff}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--emergency-space) + 24px)}body{background:var(--bg);color:var(--text);overflow-wrap:break-word;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Noto Sans,Helvetica Neue,Arial,sans-serif;font-size:1rem;line-height:1.5}h1,h2,h3{line-height:1.25}p{margin:0}a{color:var(--accent)}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.app{min-height:100vh;flex-direction:column;min-height:100dvh;display:flex}.app-main{padding-top:0;padding-bottom:calc(var(--gap-large) + env(safe-area-inset-bottom,0px));padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}.screen{max-width:760px;padding:var(--gutter);margin:0 auto}.screen-wide,.app-main-wide .screen{max-width:1600px}.screen-header{align-items:center;gap:8px var(--gap);flex-wrap:wrap;padding-bottom:4px;display:flex}.screen-header h1{flex:12rem;margin:0;font-size:1.45rem}.screen-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.screen-header-actions:empty{display:none}.stack{gap:var(--gap);flex-direction:column;display:flex}.row{align-items:center;gap:var(--gap);flex-wrap:wrap;display:flex}.row-end{justify-content:flex-end}.split{gap:var(--gap-large);grid-template-columns:minmax(0,1fr);align-items:start;display:grid}@media (min-width:900px){.screen:has(>.split){max-width:1200px}.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}.card{background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius);padding:var(--gutter)}.card-title,.section-title{margin:0;font-size:1.15rem}.notice{padding:12px var(--gutter);border-left:6px solid var(--notice-line);border-radius:var(--radius);background:var(--notice-bg);font-weight:600}.step-label{color:var(--text-quiet);font-weight:600}.field{flex-direction:column;gap:6px;display:flex}.field>label,.field-label{font-weight:600}.field input,.field select,.field textarea{font:inherit;border:2px solid var(--line);border-radius:var(--radius);background:var(--bg);width:100%;min-height:48px;color:var(--text);padding:8px 12px}.field input[type=date],.field input[type=time],input[type=date],input[type=time]{box-sizing:border-box;appearance:none;text-align:left;width:100%;min-width:0;max-width:100%;min-height:48px;display:block}input[type=date]::-webkit-date-and-time-value{text-align:left}input[type=time]::-webkit-date-and-time-value{text-align:left}.field textarea{resize:vertical;min-height:6em}.field input[aria-invalid=true],.field select[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:var(--danger);border-width:3px}.hint{color:var(--text-quiet);font-size:.92rem}.error-text{color:var(--danger);font-weight:600}.btn,.chip{font:inherit;border:2px solid var(--line);border-radius:var(--radius);background:var(--bg);min-width:48px;min-height:48px;color:var(--text);text-align:center;cursor:pointer;touch-action:manipulation;justify-content:center;align-items:center;gap:8px;padding:8px 18px;line-height:1.25;text-decoration:none;display:inline-flex}@media (hover:hover){.btn:hover:not(:disabled),.chip:hover:not(:disabled):not([aria-pressed=true]):not([aria-checked=true]){background:var(--surface-strong)}}.btn-primary,.btn-primary:hover:not(:disabled){background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:700}.btn-primary:hover:not(:disabled){filter:brightness(1.12)}.btn-danger,.btn-danger:hover:not(:disabled){background:var(--danger);border-color:var(--danger);color:var(--danger-text);font-weight:700}.btn-quiet{background:0 0;border-color:#0000}.btn-block{width:100%;display:flex}.btn-large{min-height:60px;padding:12px 20px;font-size:1.15rem}.btn:disabled,.chip:disabled{opacity:.55;cursor:default}.chip-list{flex-wrap:wrap;gap:8px;display:flex}.chip[aria-pressed=true],.chip[aria-checked=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-text);box-shadow:inset 0 0 0 2px var(--accent-text);font-weight:700}.dialog{width:min(520px, calc(100vw - 2 * var(--gutter)));max-height:calc(100dvh - 2 * var(--gutter));border:2px solid var(--line);border-radius:var(--radius);padding:var(--gutter) calc(var(--gutter) + 4px);color:var(--text);background:var(--bg)}.dialog h2{margin:0 0 8px;font-size:1.25rem}.dialog p{margin:0 0 var(--gap-large)}.dialog{overflow-y:auto}.dialog .field{margin:0 0 var(--gap-large);padding:4px 4px 0}.dialog .field[hidden]{display:none}.dialog .row{gap:var(--gap)}.dialog::backdrop{background:#0009}.list,.link-list,.rules-list,.hours-rows{margin:0;padding:0}.list,.link-list{flex-direction:column;gap:8px;list-style:none;display:flex}.list-item{align-items:center;gap:var(--gap);border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);min-height:48px;padding:10px 12px;display:flex}.list-button{font:inherit;width:100%;color:var(--text);text-align:left;cursor:pointer}.list-button:hover{background:var(--surface-strong)}.list-main{flex-direction:column;flex:1;min-width:0;display:flex}.list-title{font-weight:600}.list-action{color:var(--text-quiet);font-size:1.5rem;line-height:1}.btn-link-row{text-align:left;justify-content:space-between}.badge{background:var(--text);min-width:1.8em;height:1.8em;color:var(--bg);border-radius:999px;justify-content:center;align-items:center;padding:0 .4em;font-weight:700;display:inline-flex}.rules-list{gap:var(--gap);flex-direction:column;padding-left:1.6em;display:flex}.rules-list li{padding-left:4px}.rules-list li::marker{font-weight:700}.choice-grid{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}@media (min-width:560px){.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.choice{text-align:left;justify-content:flex-start;min-height:64px;font-size:1.1rem}.choice-mark{border:2px solid;border-radius:50%;flex:none;justify-content:center;align-items:center;width:1.6em;height:1.6em;font-weight:700;display:inline-flex}.gp-card{flex-direction:column;gap:8px;display:flex}.gp-subtitle{margin-top:-6px}.gp-list{flex-direction:column;gap:10px;margin:0;display:flex}.gp-row dt{font-weight:700}.gp-row dd{flex-direction:column;margin:0;display:flex}.gp-card-compact .gp-list{gap:4px}.gp-card-compact .gp-row{flex-wrap:wrap;column-gap:8px;display:flex}.gp-card-compact .gp-row dt:after{content:":"}.gp-status{border-top:1px solid var(--line-soft);padding-top:8px;font-weight:600}.call-practice{text-align:left;justify-content:flex-start}.call-icon{font-size:1.4rem}.call-number{color:var(--text-quiet);font-size:.92rem;font-weight:400;display:block}.hours-editor{padding:var(--gap) 0 0;border:0;border-top:1px solid var(--line-soft);gap:var(--gap);flex-direction:column;margin:0;display:flex}.hours-editor legend{float:left;width:100%;margin-bottom:4px;padding:0;font-size:1.05rem;font-weight:700}.hours-rows{flex-direction:column;gap:10px;list-style:none;display:flex}.hours-row{border:1px solid var(--line-soft);border-radius:var(--radius);background:var(--bg);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px;display:grid}.hours-day,.hours-error{grid-column:1/-1}.hours-delete{color:var(--danger);grid-column:1/-1;justify-self:start;text-decoration:underline}@media (min-width:600px){.hours-row{grid-template-columns:minmax(10rem,2fr) minmax(9rem,1.2fr) minmax(9rem,1.2fr) auto;align-items:end}.hours-day,.hours-delete{grid-column:auto}}.save-sign{min-height:1.5em;color:var(--text-quiet);font-weight:600}.danger-zone{border-color:var(--danger);background:var(--danger-soft)}.emergency{z-index:50;padding:calc(3px + env(safe-area-inset-top,0px)) max(var(--gutter), env(safe-area-inset-right,0px)) 3px max(var(--gutter), env(safe-area-inset-left,0px));background:var(--surface);border-bottom:2px solid var(--danger);text-align:center;pointer-events:none;flex:none;order:-1;font-size:.8rem;font-weight:600;line-height:1.2;position:sticky;top:0}.sticky-actions{bottom:env(safe-area-inset-bottom,0px);z-index:40;background:var(--bg);border-top:1px solid var(--line-soft);flex-wrap:wrap;gap:8px;padding:10px 0;display:flex;position:sticky}.info-list,.urgent-list{flex-direction:column;gap:6px;margin:0;padding-left:1.4em;display:flex}.btn-notice{border-color:var(--notice-line);background:0 0;align-self:flex-start;font-weight:700}.urgent-card{border:2px solid var(--danger)}.urgent-sub{margin:4px 0 0;font-size:1.05rem}.urgent-strong{font-weight:600}.choice-sub{color:var(--text-quiet);font-size:.95rem;font-weight:400}.btn-primary .choice-sub{color:inherit}.reminder{border-left:6px solid var(--notice-line)}.history-item{flex-direction:column;gap:2px;display:flex}.status{border-radius:6px;align-self:flex-start;margin:2px 0;padding:0 8px;font-size:.95rem;font-weight:700}.status-sent{border:2px solid var(--accent)}.status-draft{border:2px dashed var(--line)}.installed{border:2px solid var(--accent);font-weight:700}.profile-list{gap:var(--gap)}.profile-list .card{background:var(--bg)}.fingerprint{letter-spacing:.08em;text-align:center;overflow-wrap:anywhere;margin:0;font-family:ui-monospace,Consolas,Courier New,monospace;font-size:2rem;font-weight:700}.fingerprint-small{letter-spacing:.05em;font-family:ui-monospace,Consolas,Courier New,monospace;font-weight:600}.key-confirm{border:2px solid var(--accent);background:var(--bg)}.link-button{font:inherit;min-height:44px;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0 4px;text-decoration:underline}.check-row{cursor:pointer;align-items:center;gap:10px;min-height:44px;display:flex}.check-row input{flex:none;width:24px;height:24px}.grow{flex:12rem;min-width:0}.hours-simple{flex-direction:column;gap:12px;display:flex}.hours-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.hours-weekend{flex-direction:column;gap:8px;display:flex}.hours-time,.hours-day,.time-field{min-width:0}.time-selects{align-items:center;gap:4px;display:flex}.date-selects{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);gap:8px;display:grid}.date-selects select{min-width:0;min-height:48px;padding:8px 4px}.hours-pair:has(.time-12){grid-template-columns:minmax(0,1fr)}.hours-row:has(.time-12) .time-field{grid-column:1/-1}@media (min-width:600px){.hours-row:has(.time-12) .time-field{grid-column:auto}}.time-selects select{flex:1 1 0;min-width:0;min-height:48px;padding:8px 4px}.hours-summary{border-radius:var(--radius);background:var(--bg);border:1px solid var(--line-soft);padding:8px 10px}.advisory-summary{cursor:pointer;align-items:center;min-height:48px;font-weight:700;display:flex}.advisory-body{padding-top:var(--gap)}.update-toast{left:var(--gutter);right:var(--gutter);bottom:calc(env(safe-area-inset-bottom,0px) + 8px);z-index:60;max-width:520px;padding:var(--gutter);border:2px solid var(--accent);border-radius:var(--radius);background:var(--bg);flex-direction:column;gap:8px;margin:0 auto;font-weight:600;display:flex;position:fixed;box-shadow:0 6px 24px #00000040}.fatal h1{margin:0}.fatal-detail{font-family:ui-monospace,Consolas,monospace;font-size:.85rem}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.emergency,.update-toast{display:none}}.age-slider{flex-wrap:wrap;align-items:center;gap:12px 16px;display:flex}.age-range{min-width:160px;min-height:48px;accent-color:var(--accent);touch-action:pan-y;flex:200px}.age-value{min-width:6.5ch;font-size:1.75rem;font-weight:700}.home-label{color:var(--text-quiet);font-size:.95rem;font-weight:700}.btn.home-main{text-align:center;flex-direction:column;gap:2px;min-height:64px;padding:10px 18px}.home-main-title{font-size:1.2rem}.home-main-sub{font-size:.86rem;font-weight:600}.card-accent{border:2px solid var(--accent)}.setup-count{font-weight:700}.setup-bar{gap:4px;margin:0;padding:0;list-style:none;display:flex}.setup-part{border:2px solid var(--line);border-radius:4px;flex:1;height:12px}.setup-part-done{background:var(--accent);border-color:var(--accent)}.setup-part-partial{background:linear-gradient(90deg, var(--notice-line) 50%, transparent 50%);border-color:var(--notice-line)}.setup-part-needsDoctor{border-style:dashed}.setup-next{align-items:center;gap:var(--gap);border-top:1px solid var(--line-soft);padding-top:4px;display:flex}.setup-mark{border:2px solid var(--line);border-radius:50%;flex:none;justify-content:center;align-items:center;width:32px;height:32px;font-weight:800;line-height:1;display:flex}.setup-mark-done{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.setup-mark-partial{border-color:var(--notice-line);color:var(--notice-line)}.setup-mark-needsDoctor{color:var(--text-quiet);border-style:dashed}.setup-state{color:var(--text-quiet);font-size:.92rem;font-weight:700}.setup-state-done{color:var(--accent)}.setup-state-partial{color:var(--notice-line)}.home-doctor-status{font-weight:700}.btn.home-call{text-align:center;flex-direction:column;gap:0;min-height:56px;text-decoration:none}.home-call-number{white-space:nowrap;font-weight:700}.home-rows{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.btn.home-row{gap:var(--gap);text-align:left;justify-content:flex-start;min-height:64px;padding:8px 12px}.home-row-icon{background:var(--surface-strong);border-radius:8px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;font-weight:700;display:flex}.home-row-title{font-size:1.05rem;font-weight:700}.home-row-sub{color:var(--text-quiet);font-size:.92rem;font-weight:400}.home-row-go{color:var(--text-quiet);flex:none;font-size:1.5rem;line-height:1}.screen.home-back{padding-bottom:0}.home-back-button{min-height:48px;color:var(--accent);padding-left:0;font-weight:700;text-decoration:underline}.set-row .home-row-sub{overflow-wrap:anywhere}.set-fields{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.card.set-field{align-items:center;gap:8px;padding:10px 12px;display:flex}.card.set-field-open{flex-direction:column;align-items:stretch;display:flex}.set-field-label{color:var(--text-quiet);font-size:.92rem}.set-field-value{overflow-wrap:anywhere;font-size:1.05rem;font-weight:700}.btn.set-field-edit{min-width:48px;min-height:48px;color:var(--accent);flex:none;font-weight:700;text-decoration:underline}.set-field input,.set-field select{scroll-margin:96px 0}.btn.set-link,.btn.home-doctor-edit{min-height:48px;color:var(--accent);white-space:normal;font-weight:700;text-decoration:underline}.setup-list-title{align-items:center;gap:10px;margin:8px 0 0;font-size:1.15rem;display:flex}.setup-list-n{background:var(--text);width:32px;height:32px;color:var(--bg);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:800;display:flex}.btn.setup-row{align-items:center}.btn.setup-row-next{border:3px solid var(--accent)}.setup-tag{background:var(--accent);color:var(--accent-text);border-radius:4px;align-self:flex-start;padding:0 8px;font-size:.86rem;font-weight:800}.setup-row .list-main,.setup-row .home-row-title{overflow-wrap:anywhere}.setup-part-current{outline:3px solid var(--text);outline-offset:1px}.setup-step-title{margin:0;font-size:1.3rem;line-height:1.25}.setup-step-state{align-items:center;gap:10px;margin:0;display:flex}.btn.setup-skip{align-self:center}.setup-end{text-align:center;align-items:center}.setup-end-mark{background:var(--accent);width:72px;height:72px;color:var(--accent-text);border-radius:50%;justify-content:center;align-items:center;font-size:2.4rem;font-weight:800;display:flex}.setup-end-list{text-align:left;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.ask-url{overflow-wrap:anywhere;align-items:center;min-height:44px;display:inline-flex}.guide-return{padding-bottom:0}.home-header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px 16px;display:grid}.home-header .home-logo{border-radius:16px;grid-area:1/1/span 2;align-self:start;width:72px;height:72px}.home-header h1{grid-area:1/2;justify-self:start;min-width:0;margin:0}.home-header .screen-header-actions{flex-wrap:nowrap;grid-area:1/3;justify-self:end;margin:0}.home-header .home-motto{color:var(--text-quiet);grid-area:2/2/auto/-1;margin:0;font-size:1.05rem;font-style:italic;font-weight:600;line-height:1.3}.lang-toggle{min-width:103px;min-height:51px;font:inherit;color:inherit;border:2px solid var(--line);cursor:pointer;background:0 0;border-radius:12px;align-items:stretch;gap:4px;padding:4px;font-weight:700;display:inline-flex}.lang-toggle-part{border-radius:8px;flex:1 1 0;justify-content:center;align-items:center;min-width:40px;padding:0 8px;display:flex}.lang-toggle-part.is-current{background:var(--accent);color:var(--accent-text)}.install-address{overflow-wrap:anywhere;font-weight:600}.home-header .home-advisory{grid-area:3/1/auto/-1;justify-self:stretch}.home-header .home-advisory-text{margin:0}.home-advisory-number,.home-call-text .home-call-number{white-space:nowrap;font-weight:700}.home-call-text{margin:0}@media (max-width:399px){.home-header{column-gap:12px}.home-header h1{white-space:nowrap}}@media (max-width:389px){.home-header{column-gap:10px}.home-header .home-logo{border-radius:13px;width:56px;height:56px}.home-header .lang-toggle{min-width:92px;min-height:48px}.home-header h1{font-size:clamp(1rem,15.1515vw - 32.7273px,1.45rem)}}@property --fb-angle{syntax:"<angle>";inherits:false;initial-value:0deg}.feedback-button{isolation:isolate;width:calc(100% - 2 * var(--gutter));max-width:728px;margin:var(--gap) auto 0;border-color:var(--accent);animation:2s ease-in-out infinite feedback-pulse;position:relative}.feedback-button:before{content:"";border-radius:inherit;background:conic-gradient(from var(--fb-angle), transparent 0deg, transparent 200deg, var(--accent) 360deg);-webkit-mask-composite:xor;pointer-events:none;padding:4px;animation:3s linear infinite feedback-run;position:absolute;inset:-3px;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor,source-over;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}@keyframes feedback-run{to{--fb-angle:360deg}}@keyframes feedback-pulse{0%,to{box-shadow:0 0 3px 0 var(--accent)}50%{box-shadow:0 0 14px 2px var(--accent)}}@media (prefers-reduced-motion:reduce){.feedback-button{box-shadow:0 0 8px 1px var(--accent);border-width:4px;animation:none}.feedback-button:before{background:var(--accent);animation:none}}button,.btn,.chip,.joystick,[role=button]{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}button,.btn,.chip,[role=button]{touch-action:manipulation}
