:root{
 color-scheme:light;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",system-ui,sans-serif;
 font-synthesis:none;
 --ink:#213e34;--muted:#68716a;--deep:#244f40;--forest:#244f40;
 --cream:#fbfaf6;--paper:#ffffff;--line:#ddded3;--coral:#244f40;--coral-deep:#193c31;--sand:#dec6a6;
 color:var(--ink);background:var(--cream)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:300px;background:radial-gradient(circle at 94% 6%,#ebeee3 0,transparent 34%),var(--cream)}
button,input,select{font:inherit}
button{cursor:pointer;min-height:44px}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #dd805a;outline-offset:3px}
button:disabled{cursor:not-allowed}
.hidden{display:none!important}

/* One coherent, editorial brand shell. Avoid a 480px phone column on desktop. */
.shell{max-width:980px;margin:0 auto;padding:22px 28px 44px}
.masthead,.brand,.list-head,.card-top,.card-actions,.dialog-top,.connection-head{
 display:flex;align-items:center;justify-content:space-between;gap:14px
}
.masthead{min-height:58px;margin-bottom:24px}
.brand{justify-content:flex-start;gap:10px}
.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e7eee4;color:#32705a}
.brand-mark svg{width:24px;height:24px}
.brand-word{font-weight:800;letter-spacing:-.055em;font-size:20px;color:#233f36}
.brand-pet{display:inline-block;margin-left:6px;letter-spacing:.075em;font-size:11px;font-weight:850;color:#648a6e;vertical-align:middle}
.tag{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:999px;background:#fff;border:1px solid #e6e9e0;color:#465b4e;font-size:12px;font-weight:750;white-space:nowrap;box-shadow:0 4px 12px #203b2910}
.tag-dot{width:7px;height:7px;border-radius:50%;background:#5a9471}

/* Custom dog illustration is self-contained SVG: no remote font/image or tracking. */
.hero{background:linear-gradient(113deg,#234b42 0%,#356456 100%);border-radius:30px;min-height:287px;display:flex;justify-content:space-between;align-items:stretch;position:relative;overflow:hidden;isolation:isolate;box-shadow:0 16px 32px #203b2c1a}
.hero::before{content:"";position:absolute;width:300px;height:300px;border:1px solid #fff2;border-radius:50%;right:-52px;top:-65px;z-index:-1}
.hero::after{content:"";position:absolute;width:230px;height:230px;border:1px solid #fff2;border-radius:50%;right:21px;top:-30px;z-index:-1}
.hero-copy{padding:43px 20px 40px 45px;position:relative;z-index:1;max-width:620px}
.hero .eyebrow{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:750;letter-spacing:.035em;color:#e6efde;margin:0 0 18px}
.eyebrow-line{width:19px;height:2px;background:#ebba87;border-radius:2px}
.hero h2{font-size:clamp(29px,4.6vw,43px);font-weight:800;line-height:1.37;letter-spacing:-.055em;margin:0 0 17px;color:#fff}
.hero h2 em{font-style:normal;color:#f5d6af}
.hero-copy>p:last-child{font-size:14px;line-height:1.8;color:#e7eee7;margin:0;letter-spacing:-.02em}
.hero-art{flex:0 0 280px;position:relative;display:grid;place-items:end center;min-width:0}
.art-halo{position:absolute;width:224px;height:224px;bottom:4px;right:24px;background:#e3ba98;border-radius:50% 50% 42% 42%;box-shadow:inset -25px -16px 0 #d3a88b33}
.dog{position:relative;width:254px;height:246px;transform:translate(-1px,10px);filter:drop-shadow(0 8px 10px #24473620)}
.art-flower{position:absolute;color:#f9d6a8;font-size:24px;z-index:1}.flower-one{top:43px;right:24px}.flower-two{top:65px;left:10px;font-size:18px}

/* The disabled/preview status always remains visible above the CTA. */
.notice{display:flex;align-items:flex-start;gap:12px;background:#fff8eb;border:1px solid #eddcbf;border-radius:18px;padding:16px 19px;margin-top:17px}
.notice-icon{flex:0 0 26px;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f5ddb3;color:#78562d;font-size:15px;font-weight:850}
.notice strong{display:block;font-size:13px;line-height:1.55;color:#654b35}
.notice p{font-size:12px;line-height:1.8;color:#725947;margin:5px 0 0}
.install-guide{background:#eef4ea;border-color:#dce8db}
.install-guide .notice-icon{background:#d5e6d8;color:#316049}
.install-guide h2{font-size:14px;margin:0;color:#234b42}
.install-guide p{color:#425f4f}
.start-panel{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#fff;border:1px solid #e7e9de;border-radius:24px;padding:25px 27px;margin-top:18px;box-shadow:0 8px 28px #253f2c0b}
.section-kicker{display:block;letter-spacing:.16em;font-size:10px;font-weight:850;color:#627d6c;margin-bottom:8px}
.start-copy h1{font-size:20px;letter-spacing:-.04em;margin:0 0 6px;font-weight:800}
.start-copy p{font-size:13px;color:#576a5c;line-height:1.6;margin:0}
.primary{border:0;background:var(--coral);color:#fff;font-size:15px;font-weight:800;border-radius:14px;padding:15px 22px;min-height:52px;box-shadow:0 7px 14px #b55b3a20;transition:background .15s,transform .15s}
.primary:hover{background:var(--coral-deep)}
.primary:active{transform:translateY(1px)}
.primary:disabled{background:#aba7a0;box-shadow:none}
.start-panel .primary{flex:0 0 auto;min-width:206px}
.feedback{min-height:0;margin:12px 3px 0;font-size:13px;line-height:1.7;color:#99523d}
.feedback:empty{display:none}

/* Schedules and connection state are distinct, equally accessible regions. */
.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;margin-top:38px}
.dashboard-main{min-width:0}
.list-head{align-items:end;margin-bottom:17px}
.list-head h2{font-size:22px;letter-spacing:-.04em;margin:0;font-weight:800}
.list-head h2 span{color:#3d7757;background:#e8eee6;padding:4px 10px;font-size:15px;border-radius:12px;margin-left:5px;vertical-align:2px}
.tiny{font-size:11px;color:#53685b;text-align:right}
.cards{display:grid;gap:13px}
.empty{border:1px dashed #cdded2;background:#f9fbf7;border-radius:23px;min-height:225px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 18px;color:#4a6251}
.empty-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:20px;background:#e9f1e7;color:#719980;font-size:34px;line-height:1;margin-bottom:14px}
.empty strong{font-size:16px;color:#304b3e;letter-spacing:-.03em}
.empty p{font-size:13px;color:#556e5b;line-height:1.7;margin:7px 0 0}
.card{position:relative;background:#fff;border:1px solid #e4e9df;border-radius:21px;padding:22px;box-shadow:0 7px 22px #22472f0a;overflow:hidden}
.card::before{content:"";position:absolute;width:4px;background:#acc8b1;top:22px;bottom:22px;left:0;border-radius:0 4px 4px 0}
.card-top{align-items:flex-start;flex-wrap:wrap;gap:9px}
.card-top strong{font-size:17px;letter-spacing:-.04em;color:#2d4739;overflow-wrap:anywhere}
.state{font-size:11px;line-height:1.4;font-weight:750;color:#836143;background:#fbf1df;border:1px solid #eee2c8;border-radius:999px;padding:6px 10px;white-space:normal}
.state.active{color:#2f7052;background:#e5f3e7;border-color:#d5e7d7}
.meta{margin:13px 0 8px;color:#596d5e;font-size:13px}
.next{margin:0 0 16px;color:#405c47;font-size:13px;line-height:1.65;background:#f6f9f4;border-radius:12px;padding:12px 13px}
.card-actions{justify-content:flex-start;flex-wrap:wrap;gap:7px;border-top:1px solid #edf0e9;padding-top:14px}
.card-actions button{min-height:44px;border:1px solid #e4e9df;border-radius:11px;background:#fff;color:#42604d;font-size:12px;font-weight:750;padding:10px 15px}
.card-actions button:hover{background:#f1f6ee}
.card-actions .delete{color:#a35445;border-color:#f0ddd7}
.dashboard-aside{display:flex;flex-direction:column;gap:14px;padding-top:29px}
.connection,.test-panel{background:#fff;border:1px solid #e5e9df;border-radius:21px;padding:21px;box-shadow:0 7px 22px #22472f0a}
.connection-head{margin-bottom:17px}
.side-label{font-size:11px;font-weight:850;letter-spacing:.12em;color:#52755f}
.status-dot{display:inline-block;width:11px;height:11px;border-radius:50%;background:#d9ab75;box-shadow:0 0 0 4px #f9ecdb}
.status-dot.active{background:#53a17a;box-shadow:0 0 0 4px #e3f2e9}
.connection strong{display:block;font-size:16px;color:#2c4738;letter-spacing:-.03em}
.connection p{font-size:12px;line-height:1.8;color:#55695d;margin:8px 0 17px}
.secondary{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:12px;border:1px solid #b9d1be;background:#edf5ed;color:#36664e;font-size:13px;font-weight:750;min-height:45px}
.connection .secondary,.test-panel .secondary{width:100%}
.secondary:disabled{background:#f3f3ee;border-color:#e4e5df;color:#777f76;opacity:1}
.test-panel .side-label{display:block}
.test-panel p{font-size:12px;line-height:1.75;color:#566a5d;margin:9px 0 14px}
.test-panel .test-receipt-status{border-top:1px solid #e5e9df;margin:12px 0 0;padding-top:12px;line-height:1.7;overflow-wrap:anywhere}
.test-panel .test-receipt-status[data-status="USER_REPORTED_TEST_RECEIPT"]{color:#315a46;font-weight:650}
.text-button{font-size:12px;color:#697a6c;text-decoration:underline;text-underline-offset:3px;border:0;background:transparent;padding:10px 13px}
.backup-panel{margin-top:24px;padding:20px;border:1px solid var(--line);border-radius:20px;background:#fff}
.backup-panel h2{font-size:16px;margin:0 0 8px;color:var(--ink)}
.backup-panel p{font-size:12px;line-height:1.75;color:var(--muted);margin:8px 0}
.backup-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0}
.backup-actions label{font-size:13px;font-weight:700;color:var(--ink)}
.backup-actions input[type=file]{max-width:100%;font-size:12px;min-width:0}
.backup-actions input[type=file]:focus-visible{outline:3px solid #dd805a;outline-offset:3px}
.erase-all{display:block;margin:21px 0 0 auto;line-height:1.6;max-width:100%}
footer{border-top:1px solid #e1e6dc;margin-top:28px;padding:25px 5px 0;color:#5c6b60}
.footer-brand{font-size:15px;font-weight:800;color:#536c59;letter-spacing:-.04em}
.footer-brand strong{color:#52775d}.footer-brand span{padding:0 8px;color:#9ab4a2}
footer p{font-size:11px;color:#5c6b60;line-height:1.9;margin:9px 0}

/* Accessible and scrollable form sheet. No fixed-height focus traps. */
dialog{width:min(520px,calc(100vw - 20px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #dfe7dc;border-radius:25px;background:#fff;box-shadow:0 22px 72px #1c392a55;padding:0;color:#2a4235}
dialog::backdrop{background:#152d26a6;backdrop-filter:blur(3px)}
form{display:flex;flex-direction:column;gap:17px;padding:29px}
.dialog-top{align-items:flex-start}
.dialog-top h2{font-size:27px;letter-spacing:-.045em;margin:0;color:#233f32}
.icon-button{background:#f0f3ed;color:#536559;border:0;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;font-size:17px;flex:0 0 auto}
.form-intro{color:#55685b;font-size:13px;line-height:1.7;margin:-9px 0 4px}
.field{display:flex;flex-direction:column;gap:9px;min-width:0}
.field label{font-size:13px;font-weight:800;color:#324b3c}
.field-required{font-size:10px;color:#aa684c;background:#fff1e9;border-radius:20px;padding:3px 6px;margin-left:3px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
input,select{width:100%;min-width:0;min-height:48px;padding:11px 13px;border:1px solid #d7e1d5;border-radius:12px;background:#fcfdfb;color:#263b31;font-size:16px}
input::placeholder{color:#8b9a8e}
.quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.quick button{background:#f6f8f2;border:1px solid #dfe7d8;color:#4d6654;border-radius:12px;padding:10px 5px;font-weight:750;font-size:13px;min-height:46px}
.quick button[aria-pressed="true"]{background:#315a46;border-color:#315a46;color:#fff}
.split{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:10px}
.advanced-cadence{min-width:0}
.advanced-cadence summary{display:flex;align-items:center;min-height:44px;padding:10px 4px;color:#315a46;font-weight:700;font-size:14px;cursor:pointer;list-style:revert}
.advanced-cadence summary:focus-visible{outline:3px solid #dd805a;outline-offset:2px}
.advanced-cadence[open] .split{margin-top:10px}
.hint{background:#f7f8f3;border-radius:12px;padding:13px 15px;font-size:12px;line-height:1.75;color:#596d5e;margin:0}
.form-error{font-size:12px;min-height:0;margin:0;color:#af4334;line-height:1.6}
.form-error:empty{display:none}
#save{width:100%;margin-top:0;min-height:54px}

@media(max-width:760px){
 .shell{padding:14px 18px 34px}.masthead{margin-bottom:17px}
 .hero{min-height:256px}.hero-copy{padding:31px 15px 31px 28px}.hero h2{font-size:clamp(27px,4.7vw,35px)}
 .hero-art{flex-basis:210px}.art-halo{width:190px;height:190px;right:7px;bottom:0}.dog{width:212px;height:auto;transform:translate(1px,17px)}
 .start-panel{padding:22px}
 .dashboard{grid-template-columns:minmax(0,1fr);gap:17px;margin-top:33px}
 .dashboard-aside{padding-top:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .connection,.test-panel{min-width:0}
}
@media(max-width:520px){
 .shell{padding:11px 15px 28px}.masthead{min-height:52px;margin-bottom:14px}
 .brand-mark{width:34px;height:34px;border-radius:11px}.brand-mark svg{width:22px}.brand-word{font-size:18px}
 .tag{padding:8px 10px;font-size:11px}
 .hero{border-radius:24px;min-height:308px}.hero-copy{padding:28px 16px 24px 23px;max-width:100%}
 .hero .eyebrow{font-size:11px;margin-bottom:16px;gap:7px}.eyebrow-line{width:13px}
 .hero h2{font-size:29px;line-height:1.43;margin-bottom:12px;white-space:nowrap}
 .hero-copy>p:last-child{font-size:12px;line-height:1.8;max-width:205px}
 .hero-art{position:absolute;width:178px;height:173px;right:-18px;bottom:-9px;pointer-events:none;opacity:.96}
 .art-halo{width:151px;height:151px;right:14px;bottom:4px}.dog{width:183px;transform:translate(0,20px)}
 .flower-one{right:27px;top:-1px;font-size:16px}.flower-two{left:11px;top:16px;font-size:15px}
 .notice{margin-top:13px;padding:14px 13px;gap:10px;border-radius:15px}.notice strong{font-size:12px}.notice p{font-size:11px}
 .start-panel{flex-direction:column;align-items:stretch;gap:18px;padding:21px 19px;border-radius:20px;margin-top:13px}
 .start-copy h1{font-size:18px}.start-copy p{font-size:12px}.start-panel .primary{width:100%;min-height:54px}
 .dashboard{margin-top:31px}.list-head{margin-bottom:15px}.list-head h2{font-size:21px}
 .tiny{max-width:120px;font-size:10px}.empty{min-height:206px}
 .dashboard-aside{grid-template-columns:minmax(0,1fr);gap:10px}.connection,.test-panel{padding:15px;border-radius:18px}
 .connection strong{font-size:13px}.connection p,.test-panel p{font-size:11px}
 .connection .secondary,.test-panel .secondary{font-size:11px;padding:10px 4px}.side-label{font-size:10px}
}
@media(max-width:370px){
 .shell{padding:9px 11px 26px}.hero{min-height:300px}.hero-copy{padding:26px 13px 23px 18px}
 .hero h2{font-size:25px}.hero-art{right:-33px;opacity:.87}.hero-copy>p:last-child{max-width:200px}
 .tag{font-size:10px}.brand-word{font-size:17px}
 .dashboard-aside{grid-template-columns:1fr}.connection,.test-panel{padding:18px}
 .list-head{align-items:center}.tiny{max-width:105px}.card{padding:17px}
 .field-row{grid-template-columns:1fr}.start-copy h1{font-size:17px}
 form{padding:19px 16px;gap:15px}.quick button{font-size:12px}
 .split{grid-template-columns:minmax(0,1fr) 85px}
}
@media(max-height:520px){dialog{max-height:calc(100dvh - 12px);border-radius:17px}form{padding:16px}.form-intro{margin:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Private pilot only: code is transient, never a customer account field. */
.trial-entry{margin:13px 0;padding:13px;background:#f5f8f1;border:1px solid #dce8d8;border-radius:13px}
.connection .trial-entry label{display:block;font-size:12px;font-weight:800;color:#2d523a;margin-bottom:7px}
.connection .trial-entry input{width:100%;min-height:46px;border:1px solid #bed3c1;border-radius:10px;padding:10px;font-size:16px;background:#fff;color:#253e30}
.connection .trial-entry p{font-size:11px;margin:8px 0 0;color:#53745a;line-height:1.6}

/* Phase 1: visible safety status and a primary action before compact brand art. */
.hero{min-height:174px;margin-top:15px;border-radius:22px}
.hero-copy{padding:23px 20px 22px 30px}
.hero h2{font-size:clamp(24px,3.7vw,32px);margin:0 0 9px}
.hero .eyebrow{margin-bottom:9px}
.hero-art{flex-basis:205px}
.art-halo{width:160px;height:160px;right:17px}
.dog{width:183px;height:auto;transform:translate(-1px,13px)}
.notice strong{font-size:14px}
.notice p{font-size:13px;line-height:1.65}
.delivery-warning.connected{background:#eef7f0;border-color:#c8e2ce}
.delivery-warning.connected .notice-icon{background:#d8eddd;color:#296845}
.delivery-warning.connected strong{color:#245b3e}
.delivery-warning.connected p{color:#385d49}
.install-steps{padding-left:22px;margin:9px 0 6px;font-size:13px;line-height:1.85;color:#365d46}
.start-panel{padding:21px 26px;margin-top:13px}
.start-copy h1{font-size:21px}
.dashboard{margin-top:24px}
@media(max-width:760px){
 .hero{min-height:166px}
 .hero-copy{padding:21px 15px 21px 26px}
 .hero h2{font-size:clamp(23px,3.6vw,29px)}
 .hero-art{flex-basis:160px}
 .art-halo{width:142px;height:142px;right:7px}
 .dog{width:164px}
 .dashboard-aside{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:520px){
 .notice{margin-top:11px;padding:14px 13px}
 .notice strong{font-size:14px}
 .notice p{font-size:13px}
 .hero{min-height:144px;border-radius:20px;margin-top:13px}
 .hero-copy{padding:20px 13px 18px 20px;max-width:73%}
 .hero .eyebrow{font-size:11px;margin-bottom:7px}
 .hero h2{font-size:clamp(20px,5.1vw,24px);line-height:1.38;margin-bottom:7px;white-space:normal;overflow-wrap:break-word}
 .hero-copy>p:last-child{font-size:12px;line-height:1.6;max-width:205px}
 .hero-art{width:138px;height:132px;right:-15px;bottom:-9px;opacity:.9}
 .art-halo{width:123px;height:123px;right:8px;bottom:4px}
 .dog{width:139px;transform:translate(0,20px)}
 .start-panel{gap:12px;padding:18px 17px;margin-top:11px}
 .start-copy h1{font-size:19px}
 .start-copy p{font-size:13px}
 .dashboard{margin-top:22px}
 .dashboard-aside{grid-template-columns:minmax(0,1fr);gap:12px}
 .connection,.test-panel{padding:18px}
 .connection strong{font-size:16px}
 .connection p,.test-panel p{font-size:13px}
 .connection .secondary,.test-panel .secondary{font-size:13px;padding:11px 14px}
 .side-label{font-size:12px}
}
@media(max-width:370px){
 .hero{min-height:144px}
 .hero-copy{padding:18px 12px 18px 17px;max-width:76%}
 .hero h2{font-size:20px}
 .hero-art{right:-23px;opacity:.83}
 .start-copy h1{font-size:18px}
 .dashboard-aside{grid-template-columns:minmax(0,1fr)}
}

/* Phase 2: calendar preview is an estimate, not a registration/delivery status. */
.preview-panel{border:1px solid #dce7d8;background:#f4f8f0;border-radius:15px;padding:15px 17px}
.preview-kicker{display:block;color:#496a52;font-size:11px;letter-spacing:.075em;font-weight:800}
.preview-date{color:#244d39;font-size:19px;font-weight:800;line-height:1.5;letter-spacing:-.03em;margin:7px 0}
.preview-rule{font-size:13px;line-height:1.65;color:#405b48;margin:6px 0}
.preview-note{font-size:13px;line-height:1.55;color:#8c5336;font-weight:750;margin:7px 0 0}
.preview-note:empty{display:none}
.preview-disclaimer{font-size:12px;line-height:1.6;color:#647467;margin:7px 0 0;border-top:1px solid #dfe7da;padding-top:8px}
@media(max-width:370px){
 .preview-panel{padding:13px}
 .preview-date{font-size:17px}
}

/* Phase 4: keyboard, mobile legibility, user-controlled upgrades, and route focus. */
.skip-link{position:fixed;z-index:100;left:12px;top:-110px;padding:12px 17px;background:#234b42;color:#fff;border-radius:9px;font-size:15px;font-weight:800}
.skip-link:focus{top:12px}
#main-content:focus{outline:none}
button:focus-visible,a:focus-visible,[tabindex="-1"]:focus-visible{
 outline:3px solid #ad4f39;outline-offset:4px
}
.card{scroll-margin-top:20px}
.card.route-highlight{outline:3px solid #ad4f39;outline-offset:3px}
.network-banner{background:#fff3dd;border-color:#dfc59b}
.network-banner .notice-icon{background:#e6c68d;color:#624119}
.update-banner{background:#eef4ea;border-color:#bed6be}
.update-banner .notice-icon{background:#cee3d2;color:#285d3e}
.update-banner .secondary{margin-top:10px;min-height:44px}
.install-guide .secondary{margin:8px 0;min-width:185px}
.permission-help{border:1px solid #e5c9a5;border-radius:12px;padding:13px;margin:12px 0 13px;background:#fff7ea}
.permission-help strong{font-size:14px;color:#714220}
.connection .permission-help p{margin:6px 0 0;font-size:13px;line-height:1.65;color:#614a32}
.tiny{font-size:12px}
.card-actions button{font-size:13px}
.side-label{font-size:12px}
.connection p,.test-panel p{font-size:13px}
.state{font-size:12px}
.footer-brand{font-size:15px}
footer p{font-size:12px}
@media(max-width:520px){
 .skip-link:focus{top:8px;left:8px}
 .tag{font-size:12px}
 .tiny{font-size:12px;max-width:155px;line-height:1.5}
 .card-actions button{font-size:13px}
 .connection .permission-help p{font-size:13px}
 .install-guide .secondary{width:100%}
}
@media(prefers-contrast:more){
 .notice,.connection,.test-panel,.card,.start-panel{border-width:2px}
 .card.route-highlight{outline-width:4px}
}


/* EasyLife family alignment (source only): same quiet cream, forest,
   editorial type rhythm and small-daily-care language as the English site.
   Keep the important draft-only alert ABOVE the first action. Do not apply
   release-specific status styling that could imply real push delivery. */
.masthead{padding:3px 0 8px;border-bottom:1px solid #ddded3;margin-bottom:15px}
.brand{flex-direction:column;align-items:flex-start;justify-content:center;gap:3px}
.brand-word{font-size:clamp(23px,3.3vw,28px);line-height:1.2;letter-spacing:-.065em;font-weight:780;color:#213e34}
.brand-pet{border-left:1px solid #bdc8b9;padding-left:10px;margin-left:10px;color:#58735f;font-weight:750;font-size:11px;letter-spacing:.12em;vertical-align:middle}
.brand-line{color:#68716a;font-size:11px;font-weight:560;letter-spacing:-.02em}
.tag{background:#fbfaf6;box-shadow:none;border-color:#ddded3;color:#526858}
.tag-dot{background:#527761}
.start-panel{border-color:#ddded3;box-shadow:0 9px 24px #223d2b08;background:#fff}
.section-kicker{color:#627a65;letter-spacing:.13em}
.primary{border-radius:12px;box-shadow:0 7px 16px #244f401a}
.primary:hover{background:var(--coral-deep)}
.hero{background:linear-gradient(112deg,#f4f0e7,#ebe7dc);border:1px solid #e0dfd3;box-shadow:none;isolation:isolate}
.hero::before,.hero::after{border-color:#244f4017}
.hero-copy{max-width:660px}
.hero .eyebrow{color:#577263;letter-spacing:.14em;font-size:11px}
.eyebrow-line{background:#b58a65}
.hero h2{color:#213e34;font-weight:700;line-height:1.34;letter-spacing:-.045em}
.hero h2 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-style:italic;color:#285444;letter-spacing:-.04em}
.hero-copy>.hero-description{font-size:13px;line-height:1.7;color:#566b60;margin:0;max-width:360px}
.hero-copy>.hero-signoff{font-size:12px;line-height:1.6;color:#596a5b;margin:13px 0 0}
.hero-signoff span{display:inline-block;margin-right:7px;color:#476e51;font-weight:800}
.art-halo{background:#dce4d6;box-shadow:inset -20px -14px 0 #b5c9b52e}
.dog{filter:drop-shadow(0 6px 8px #244f401c)}
.art-flower{color:#b79664}
.footer-brand{color:#244f40}
.footer-brand strong{color:#577761}
@media(max-width:760px){
 .hero-copy>.hero-signoff{font-size:11px}
}
@media(max-width:520px){
 .masthead{padding:3px 0 9px;margin-bottom:13px}
 .brand-word{font-size:23px}
 .brand-pet{font-size:10px;margin-left:7px;padding-left:7px}
 .brand-line{font-size:10px;line-height:1.35}
 .hero-copy>.hero-description{font-size:12px;line-height:1.55}
 /* The status warning and first action remain above a compact art banner. */
 .hero-copy>.hero-signoff{display:none}
 .hero h2{font-size:clamp(20px,5.1vw,24px);line-height:1.35}
}
@media(max-width:370px){
 .brand-word{font-size:20px}
 .brand-line{font-size:9.5px}
 .tag{font-size:11px}
 .hero .eyebrow{font-size:10px;letter-spacing:.08em}
}


/* Cross-device geometry: Galaxy S/A/Ultra, Z Flip/Fold (cover and inner),
   iPhone compact/standard/Max. Use CSS viewport, not physical resolution.
   Runtime handset and font-scaling tests remain a separate release gate. */
html{min-width:0;scroll-padding-top:calc(12px + env(safe-area-inset-top,0px))}
body{min-width:0}
.shell{
 min-width:0;
 padding-top:max(22px,env(safe-area-inset-top,0px));
 padding-bottom:calc(44px + env(safe-area-inset-bottom,0px));
 padding-left:calc(28px + env(safe-area-inset-left,0px));
 padding-right:calc(28px + env(safe-area-inset-right,0px))
}
/* No long custom schedule name or technical status may widen the viewport. */
.notice>div,.start-copy,.list-head>div,.card-top>strong,
.connection,.test-panel,.meta,.next,.feedback,.preview-date,.form-error{
 min-width:0;overflow-wrap:anywhere
}
.icon-button{min-width:44px;min-height:44px}
dialog{
 width:min(520px,calc(100vw - 20px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));
 max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
 scroll-padding-block:12px calc(30px + env(safe-area-inset-bottom,0px))
}
dialog form{padding-bottom:calc(26px + env(safe-area-inset-bottom,0px))}
@media(max-width:760px){
 .shell{
  padding-top:max(14px,env(safe-area-inset-top,0px));
  padding-bottom:calc(34px + env(safe-area-inset-bottom,0px));
  padding-left:calc(18px + env(safe-area-inset-left,0px));
  padding-right:calc(18px + env(safe-area-inset-right,0px))
 }
}
@media(max-width:520px){
 .shell{
  padding-top:max(11px,env(safe-area-inset-top,0px));
  padding-bottom:calc(28px + env(safe-area-inset-bottom,0px));
  padding-left:calc(15px + env(safe-area-inset-left,0px));
  padding-right:calc(15px + env(safe-area-inset-right,0px))
 }
 .card-top,.list-head{min-width:0}
 .card-actions button{flex:0 1 auto;max-width:100%;overflow-wrap:anywhere}
 .start-panel .primary{min-width:0;white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:370px){
 .shell{
  padding-top:max(9px,env(safe-area-inset-top,0px));
  padding-bottom:calc(26px + env(safe-area-inset-bottom,0px));
  padding-left:calc(11px + env(safe-area-inset-left,0px));
  padding-right:calc(11px + env(safe-area-inset-right,0px))
 }
}
/* Narrow native date/time pickers otherwise clip Korean date labels on
   compact iPhones and folded Galaxy cover screens. Vertical stacking stays
   usable because the form sheet has an independent scroll area. */
@media(max-width:430px){
 .field-row{grid-template-columns:minmax(0,1fr)}
}
/* Covers legacy very narrow Fold outer screens and 200% browser zoom.
   Wrapping the brand/badge is preferable to horizontal scrolling. */
@media(max-width:359px){
 .masthead{height:auto;min-height:0;flex-wrap:wrap;align-items:flex-start;gap:9px}
 .brand{max-width:100%;min-width:0}
 .tag{margin-left:0;max-width:100%;white-space:normal}
 .list-head{flex-wrap:wrap;gap:8px}
 .list-head .tiny{max-width:100%;text-align:left}
 .hero-copy{max-width:100%;padding-right:18px}
 .hero-art{opacity:.22;pointer-events:none}
 .hero-copy>.hero-description{max-width:100%}
 .quick{grid-template-columns:repeat(2,minmax(0,1fr))}
 .quick button{white-space:normal;overflow-wrap:anywhere}
 .split{grid-template-columns:minmax(0,1fr) minmax(74px,38%)}
 .card-actions button{flex:1 1 auto}
}
/* Short landscape and open-fold keyboard viewports: the actual form and
   dismiss action must remain usable; never force a fixed-height dialog. */
@media(max-height:480px){
 .hero{min-height:0}
 .hero-copy{padding-block:17px}
 .hero-art{display:none}
 dialog{max-height:calc(100dvh - 12px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
 dialog form{gap:12px;padding-top:15px}
}

/* Read-only phone readiness self-check; compact on Galaxy Fold cover and iPhone mini. */
.readiness-panel{margin-top:13px;padding-top:12px;border-top:1px solid #e5e9df;min-width:0}
.readiness-panel .text-button{display:block;width:100%;min-height:44px;white-space:normal;text-align:center;overflow-wrap:anywhere}
.connection .readiness-result{margin:9px 0 0;padding:11px 12px;border-radius:11px;background:#f8f6f1;color:#294737;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.connection .readiness-note{margin:8px 0 0;font-size:12px;line-height:1.65;color:#55695d}

/* Announced annual offer. Strictly read-only until payment/entitlement policies pass. */
.offer-preview{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);gap:18px;align-items:center;margin:14px 0 26px;padding:19px 23px;border:1px solid var(--line);border-radius:18px;background:var(--paper)}
.offer-preview h2{font-size:19px;letter-spacing:-.025em;line-height:1.45;margin:8px 0}
.offer-copy{font-size:13px;color:var(--muted);line-height:1.6;margin:0}
.offer-side{min-width:0;text-align:right}
.offer-price{font-weight:850;font-size:26px;letter-spacing:-.04em;margin:0}
.offer-price span{font-size:13px;font-weight:600;letter-spacing:normal;color:var(--muted)}
.offer-pending{display:inline-block;font-weight:700;font-size:12px;color:#3e574b;background:#eef2e9;padding:6px 11px;border-radius:18px;margin:8px 0}
.offer-caption{color:var(--muted);font-size:12px;line-height:1.65;margin:0;overflow-wrap:anywhere}
@media(max-width:600px){
 .offer-preview{grid-template-columns:minmax(0,1fr);padding:17px 18px;gap:9px}
 .offer-side{text-align:left}
}

/* Guardian assertion: visible for both Free and Plus, but unverified server
   occurrence MUST never look completed. Keyboard targets >=44 CSS pixels. */
.completion-panel{margin-top:15px;padding:14px 15px;background:#f8faf5;border:1px solid #e0e8dc;border-radius:14px;min-width:0}
.completion-heading{display:block;font-size:14px;font-weight:800;letter-spacing:-.02em}
.completion-summary{margin:6px 0 10px;font-size:12px;color:#57685c;line-height:1.65;overflow-wrap:anywhere}
.completion-buttons{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.completion-buttons button{min-height:44px;max-width:100%;border:1px solid #cdded0;background:#fff;border-radius:11px;padding:9px 13px;font-size:13px;font-weight:750;color:#294937;overflow-wrap:anywhere}
.completion-buttons button:first-child:not(:disabled){background:var(--forest);border-color:var(--forest);color:#fff}
.completion-buttons button:disabled{opacity:.57}
.completion-buttons button:focus-visible{outline:3px solid #dd805a;outline-offset:2px}
@media(max-width:370px){
 .completion-panel{padding:12px 11px}
 .completion-buttons button{flex:1 1 auto;min-width:0;white-space:normal}
}

.completion-guide{margin:-3px 1px 15px;font-size:12px;line-height:1.75;color:#596d5e;max-width:100%;overflow-wrap:anywhere}

/* Plus family actions remain disabled in the offline/unsigned preview.
   An injected login is never paid entitlement until the server verifies it. */
.guardian-family{margin:22px 0 26px;padding:23px;background:var(--paper);
 border:1px solid var(--line);border-radius:19px;min-width:0}
.guardian-family h2{margin:5px 0 8px;font-size:19px;letter-spacing:-.03em}
.guardian-family-note,.guardian-family #guardian-family-status{
 color:var(--muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.guardian-family #guardian-family-status{margin:10px 0}
.guardian-family-actions{display:flex;gap:9px;flex-wrap:wrap}
.guardian-family-actions button{min-height:44px;max-width:100%;white-space:normal}
.guardian-family-invite{display:grid;gap:8px;max-width:540px;margin:12px 0;
 padding:14px;border:1px solid var(--line);border-radius:12px}
.guardian-family-invite p{margin:0 0 4px;font-size:12px;line-height:1.65;color:var(--muted)}
.guardian-family-invite label{font-size:13px;font-weight:650}
.guardian-family-invite input{box-sizing:border-box;width:100%;min-width:0;
 min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;
 background:#fff;color:inherit;font:inherit}
.guardian-family-invite button{min-height:44px;justify-self:start;max-width:100%}
#guardian-created-group{font-size:12px;overflow-wrap:anywhere}
.guardian-family-cards{margin-top:12px}
.guardian-family .cards{margin-top:12px}
.guardian-family .family-card{margin-bottom:10px}
.guardian-roster{margin:10px 0}
.guardian-roster .guardian-member{display:flex;align-items:center;justify-content:space-between;
 gap:10px;padding:11px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.guardian-roster .guardian-member button{min-height:44px;max-width:100%;white-space:normal}
.guardian-roster .guardian-member .meta{overflow-wrap:anywhere}
.guardian-family .family-card>p{font-size:13px;line-height:1.65;color:var(--muted)}
@media(max-width:370px){
 .guardian-family{padding:15px 12px}
 .guardian-family-actions button{flex:1 1 auto;min-width:0}
}
