@charset "UTF-8";
:root{color-scheme:light;--nav-muted:#76695d;--card-copy:#78675b;--bubble-label:#745d49;--input-border:#a8845c;--paper:#fbf7f1;--card:#fffdf9;--ink:#493a32;--muted:#6e645b;--line:#eadfd3;--rose:#b25a49;--rose-dark:#974b3f;--rose-wash:#f5e5dd;--sage:#57705e;--sage-wash:#edf1e8;--gold:#c19245;--shadow:0 14px 45px #533f2410;font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;font-size:100%;line-height:1.65;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--rose-dark);text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b27757;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.35;letter-spacing:-.045em}h1{font-size:2.25rem;font-weight:750}h2{font-size:1.4375rem}h3{font-size:1.0625rem}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}img{max-width:100%;display:block}button svg{pointer-events:none}.wordmark{font:600 2rem Georgia,serif;letter-spacing:-1.8px;color:#624735}.wordmark span{display:block;font:600 0.75rem system-ui,sans-serif;letter-spacing:3.5px;margin:3px 0 0 6px;color:var(--muted)}.app-shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;border-right:1px solid var(--line);padding:37px 25px;background:#f8f0e6;display:flex;flex-direction:column;gap:38px}.brand-link{border:0;background:none;padding:0;text-align:left;align-self:flex-start}.sidebar .brand-note{font-size:0.75rem;color:var(--muted);margin-top:13px;letter-spacing:.02em}.nav{display:grid;gap:8px}.nav button{border:0;background:none;text-align:left;display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:13px;color:var(--nav-muted);font-size:0.875rem;font-weight:600}.nav button.active{background:var(--card);color:var(--rose-dark);box-shadow:0 3px 14px #6c4e3210}.nav button:hover{background:#fffaf2}.sidebar-bottom{margin-top:auto;font-size:0.75rem;color:var(--muted)}.sidebar-bottom button{border:0;background:none;padding:8px 0;display:flex;gap:9px;align-items:center}.sidebar-pet{width:114px;margin:0 auto 10px}.shell-content{min-width:0;padding:0 42px 60px;max-width:1260px;width:100%;margin:auto}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;gap:15px}.date-label{font-size:0.75rem;letter-spacing:.04em;color:var(--muted)}.profile-button{border:1px solid var(--line);background:var(--card);border-radius:30px;padding:7px 12px 7px 7px;display:flex;align-items:center;gap:9px;font-size:0.75rem;max-width:230px}.avatar{width:30px;height:30px;display:grid;place-items:center;background:#eddbc9;border-radius:50%;font-size:0.75rem;font-weight:700;flex:none}.profile-button .profile-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eyebrow{font-size:0.75rem;font-weight:700;color:var(--rose-dark);letter-spacing:2.1px;margin-bottom:12px}.page-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:8px 0 26px}.page-heading p{color:var(--muted);font-size:0.8125rem;margin-top:8px}.hero{display:grid;grid-template-columns:1fr 1.12fr;background:#f3e7d6;border:1px solid #e9d9c4;border-radius:26px;overflow:hidden;position:relative;min-height:322px}.hero-copy{padding:35px 0 34px 34px;position:relative;z-index:1;align-self:center}.hero h1{font-size:2.125rem;line-height:1.42;margin-bottom:15px}.hero-description{font-size:0.8125rem;color:#786451;max-width:300px;line-height:1.8}.hero .btn{margin-top:24px}.hero-art{height:100%;min-height:322px;position:relative;overflow:hidden}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:66% center}.hero-art:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#f3e7d6,transparent 30%);pointer-events:none}.hero.single .hero-art{background:#f3e7d6;display:grid;place-items:center}.hero.single .hero-art img{object-fit:contain;width:90%;height:300px;align-self:end}.hero.single .hero-art:before{display:none}.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:43px;padding:10px 18px;border-radius:12px;border:1px solid transparent;font-size:0.8125rem;font-weight:650;text-decoration:none;line-height:1.45}.btn.primary{background:var(--rose);color:#fff}.btn.primary:hover{background:var(--rose-dark)}.btn.secondary{background:var(--card);border-color:var(--line)}.btn.soft{background:var(--rose-wash);color:var(--rose-dark)}.btn.small{min-height:35px;padding:7px 12px;font-size:0.75rem}.btn.danger{border-color:#c67365;color:#974231;background:#fff5ee}.text-button{border:0;background:none;padding:5px 0;display:inline-flex;align-items:center;gap:6px;color:var(--rose-dark);font-size:0.75rem;text-decoration:none}.text-button svg{width:16px;height:16px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 16px}.section-header h2{font-size:1.1875rem}.section-header small{font-size:0.75rem;font-weight:400;color:var(--muted);margin-left:8px;letter-spacing:0}.grid-two{display:grid;grid-template-columns:1.08fr 1fr;gap:20px}.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:23px;min-width:0;box-shadow:0 3px 10px #60452903}.card.soft-sage{background:var(--sage-wash);border-color:#dce3d4}.card.soft-rose{background:#faeee7;border-color:#ebd8cb}.card-label{display:flex;align-items:center;gap:8px;font-size:0.75rem;color:var(--muted);margin-bottom:13px}.card-label .icon-bubble{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:var(--rose-wash);color:var(--rose-dark)}.card-label .icon-bubble svg{width:17px;height:17px}.card h3{margin-bottom:9px}.card p{font-size:0.8125rem;color:var(--card-copy);line-height:1.85;overflow-wrap:anywhere}.card .reason{font-size:0.75rem;padding-top:13px;margin-top:13px;border-top:1px solid var(--line);color:var(--muted)}.card-actions{margin-top:18px;display:flex;gap:9px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:30px;padding:3px 9px;font-size:0.75rem;color:var(--muted);line-height:1.7;background:#fffaf4;white-space:nowrap}.pill.rose{background:var(--rose-wash);border-color:transparent;color:var(--rose-dark)}.pill.sage{background:var(--sage-wash);border-color:transparent;color:var(--sage)}.pill.attention{background:#fff0d4;border-color:#eedbbb;color:#8b672e}.row-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.care-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;border:1px solid var(--line);border-radius:16px;padding:15px 18px;background:#fffcf7}.care-strip p{font-size:0.75rem;color:var(--muted);margin-top:3px}.care-strip h3{font-size:0.875rem}.care-strip .strip-icon{background:var(--sage-wash);border-radius:12px;width:42px;height:42px;display:grid;place-items:center;color:var(--sage);flex:none}.strip-copy{flex:1;min-width:0}.memory-highlight{font-size:0.875rem!important;color:var(--ink)!important;line-height:1.8!important;margin:8px 0}.muted{color:var(--muted);font-size:0.75rem}.quiet-note{color:var(--muted);font-size:0.75rem;line-height:1.8;margin:20px 0;display:flex;gap:7px;align-items:flex-start}.quiet-note svg{width:16px;height:16px;margin-top:2px}.demo-banner{margin-bottom:18px;padding:10px 15px;border-radius:12px;background:#eee8dc;color:#6b614e;font-size:0.75rem;display:flex;justify-content:space-between;gap:10px}.demo-banner button{border:0;background:none;color:var(--rose-dark);text-decoration:underline;white-space:nowrap}.toolbar{display:flex;gap:12px;margin:22px 0;align-items:center}.search-wrap{position:relative;flex:1}.search-wrap svg{position:absolute;left:13px;top:13px;width:18px;height:18px;color:var(--muted)}.search-wrap input{padding-left:40px}.filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.chip{border:1px solid var(--line);background:var(--card);padding:7px 12px;font-size:0.75rem;border-radius:20px}.chip.active{background:var(--ink);border-color:var(--ink);color:#fff}.items-grid,.pets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.item-card{padding:20px;display:flex;flex-direction:column;min-height:190px}.item-icon{width:40px;height:40px;border-radius:13px;background:#f3e7d9;color:#936d49;display:grid;place-items:center;margin-bottom:15px}.item-card .item-sub{font-size:0.75rem;color:var(--muted);margin:6px 0 15px}.item-card .text-button{margin-top:auto;align-self:flex-start}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.category-button{text-align:left;padding:17px 13px;border:1px solid var(--line);background:#fffaf3;border-radius:14px;display:flex;flex-direction:column;gap:7px}.category-button span{font-size:0.75rem;font-weight:600}.category-button small{font-size:0.75rem;color:var(--muted)}.category-button svg{color:#a48665}.empty{padding:36px 24px;text-align:center;background:var(--card);border:1px dashed #d9cbb9;border-radius:20px}.empty img{width:125px;height:133px;object-fit:contain;margin:0 auto 12px}.empty p{font-size:0.8125rem;color:var(--muted);max-width:340px;margin:10px auto 19px}.pet-card{position:relative;padding-top:27px}.pet-avatar{width:52px;height:52px;background:#efd9c6;border-radius:18px;display:grid;place-items:center;margin-bottom:13px;color:#9a6f48}.pet-avatar svg{width:30px;height:30px}.pet-card p{font-size:0.75rem}.pet-actions{display:flex;gap:13px;margin-top:16px}.memory-list{display:grid;gap:12px}.memory-card{padding:20px 23px;display:flex;gap:16px}.memory-card .memory-body{flex:1;min-width:0}.memory-card h3{font-size:0.8125rem;margin-bottom:5px}.memory-card .memory-value{font-size:1.0625rem;font-weight:600;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}.source{font-size:0.75rem;color:var(--muted);line-height:1.65;margin-top:10px;overflow-wrap:anywhere}.memory-controls{display:flex;gap:8px;align-self:flex-start}.icon-button{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;display:grid;place-items:center;background:var(--card);color:var(--muted);flex:none}.icon-button svg{width:16px;height:16px}.icon-button:hover{background:var(--rose-wash);color:var(--rose-dark)}.panel-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin:20px 0}.panel-tabs button{border:0;background:none;padding:10px 1px 12px;font-size:0.8125rem;color:var(--muted);border-bottom:2px solid transparent}.panel-tabs button.active{border-color:var(--rose);color:var(--rose-dark)}.event-row{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);align-items:flex-start}.event-dot{width:9px;height:9px;background:#caa17e;border-radius:50%;margin-top:7px;flex:none}.event-row .event-copy{flex:1;min-width:0}.event-row h3{font-size:0.8125rem}.event-row p{font-size:0.75rem;color:var(--muted);margin-top:4px}.boot{padding:80px 25px;max-width:500px;margin:auto;text-align:center}.boot>p{margin:25px 0}.welcome-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;max-width:1380px;margin:auto}.welcome-visual{margin:24px;position:relative;border-radius:30px;overflow:hidden;background:#f0e3ce}.welcome-visual img{width:100%;height:100%;object-fit:cover;object-position:66% center}.welcome-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#61432e92,transparent 60%)}.welcome-caption{position:absolute;bottom:45px;left:38px;right:30px;color:#fff7ee;z-index:1}.welcome-caption h2{font-size:2.0625rem;line-height:1.55;margin-bottom:13px}.welcome-caption p{font-size:0.8125rem;opacity:.9}.welcome-form{align-self:center;padding:50px 65px;max-width:560px}.welcome-form .wordmark{margin-bottom:65px}.welcome-form h1{font-size:2.125rem;line-height:1.5;margin-bottom:14px}.welcome-form .intro{font-size:0.875rem;color:var(--muted);line-height:1.9;margin-bottom:32px}.welcome-form .btn.primary{width:100%;margin-top:12px}.welcome-form .demo-options{border-top:1px solid var(--line);padding-top:23px;margin-top:26px}.demo-options p{font-size:0.75rem;color:var(--muted);margin-bottom:13px}.demo-options .buttons{display:flex;gap:10px;flex-wrap:wrap}.welcome-form .local-note{font-size:0.75rem;color:var(--muted);margin-top:25px;line-height:1.8}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;min-width:0}.field>span,.field>label{font-size:0.75rem;font-weight:600}.field small{font-size:0.75rem;color:var(--muted);line-height:1.6}input,textarea,select{width:100%;border:1px solid var(--input-border);border-radius:10px;padding:11px 12px;background:#fffefa;font-size:0.8125rem;min-height:43px}textarea{resize:vertical;min-height:88px;line-height:1.7}input[type=checkbox]{width:16px;min-height:16px;accent-color:var(--rose);margin:0;flex:none}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.check-line{display:flex;gap:9px;align-items:flex-start;font-size:0.75rem;margin:10px 0;line-height:1.7}.check-line input{margin-top:3px}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px 12px;margin:8px 0 18px}.form-note{padding:12px 14px;border-radius:11px;background:#f4eee5;font-size:0.75rem;color:#76695a;margin:15px 0;line-height:1.8}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px;padding-top:17px;border-top:1px solid var(--line);flex-wrap:wrap}.form-error{color:#9f4434;font-size:0.75rem;padding:10px 0;line-height:1.7;min-height:0}.form-error:empty{display:none}dialog{border:1px solid var(--line);border-radius:22px;background:var(--card);padding:0;color:var(--ink);width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 42px);box-shadow:0 30px 100px #49332038}dialog::backdrop{background:#30271e55;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:23px 25px 17px;border-bottom:1px solid var(--line);background:var(--card);position:sticky;top:0;z-index:2}.dialog-head h2{font-size:1.25rem}.dialog-head p{font-size:0.75rem;color:var(--muted);margin-top:5px}.dialog-body{padding:22px 25px 27px}.dialog-body>p{font-size:0.8125rem;line-height:1.9;color:var(--muted)}.detail-meta{display:flex;gap:7px;flex-wrap:wrap;margin:5px 0 20px}.component{border:1px solid var(--line);border-radius:15px;padding:17px;margin-top:12px;background:#fffaf3}.component h3{font-size:0.9375rem;margin-bottom:5px}.component .facts{display:flex;gap:8px 17px;flex-wrap:wrap;font-size:0.75rem;color:var(--muted);margin:12px 0}.component .component-actions{display:flex;gap:9px;flex-wrap:wrap}.component .source{margin-bottom:13px}.danger-zone{border-top:1px solid var(--line);margin-top:25px;padding-top:17px;display:flex;justify-content:space-between;gap:10px}.chat-dialog{width:min(560px,calc(100vw - 22px));height:min(780px,calc(100dvh - 28px))}.chat-layout{display:flex;flex-direction:column;height:100%;min-height:0}.chat-dialog .dialog-head{position:static;flex:none}.chat-messages{flex:1;min-height:0;overflow:auto;padding:22px 21px;background:#fbf6ee}.chat-intro{text-align:center;margin:4px 0 26px}.chat-intro img{width:102px;height:112px;object-fit:contain;margin:0 auto 10px}.chat-intro p{font-size:0.75rem;color:var(--muted);line-height:1.8}.bubble{padding:12px 15px;border-radius:16px;background:#fffdf9;border:1px solid var(--line);font-size:0.8125rem;line-height:1.8;max-width:90%;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{margin-left:auto;background:#ebdfd1;border-color:transparent;border-bottom-right-radius:4px}.bubble.assistant{border-bottom-left-radius:4px}.bubble-label{font-size:0.75rem;letter-spacing:.08em;color:var(--bubble-label);margin-bottom:3px}.proposal{border:1px solid #ddc4ad;background:#fff8ed;padding:14px;border-radius:13px;margin:12px 0}.proposal h3{font-size:0.8125rem;margin-bottom:7px}.proposal p{font-size:0.75rem;color:var(--muted);line-height:1.7}.proposal .buttons{display:flex;gap:8px;margin-top:12px}.chat-composer{padding:14px 18px 18px;border-top:1px solid var(--line);background:var(--card);flex:none}.quick-prompts{display:flex;gap:7px;overflow-x:auto;padding-bottom:10px;scrollbar-width:thin}.quick-prompts button{white-space:nowrap;border:1px solid var(--line);background:#fff9f0;padding:6px 9px;border-radius:20px;font-size:0.75rem}.chat-input-row{display:flex;gap:8px;align-items:flex-end}.chat-input-row textarea{height:48px;min-height:48px;max-height:140px}.send-button{height:45px;width:45px;flex:none;border:0;border-radius:12px;background:var(--rose);color:#fff;display:grid;place-items:center}.chat-footer{font-size:0.75rem;color:var(--muted);margin-top:8px}.floating-chat{position:fixed;right:25px;bottom:23px;display:flex;align-items:center;gap:9px;border:1px solid #b97560;background:var(--rose);color:#fff;padding:13px 18px;border-radius:30px;box-shadow:0 5px 25px #9c615535;z-index:5;font-size:0.75rem}.profile-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.profile-row .copy{flex:1;min-width:0}.profile-row h3{font-size:0.8125rem}.profile-row p{font-size:0.75rem;color:var(--muted)}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:20px 0}.plan{padding:18px;border:1px solid var(--line);border-radius:15px;background:#fffaf3}.plan.featured{border-color:#bc8b70;background:#f7e9dc}.price{font-size:1.5625rem;font-weight:700;margin:9px 0}.price small{font-size:0.75rem;font-weight:400}.plan ul{padding-left:17px;font-size:0.75rem;line-height:1.9;color:#796b5e}.settings-line{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:14px 0;border-bottom:1px solid var(--line);font-size:0.75rem}.settings-line span:last-child{color:var(--muted);text-align:right;max-width:60%;overflow-wrap:anywhere}#toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,16px);opacity:0;pointer-events:none;z-index:100;background:#4c3d32;color:#fff8ed;border-radius:13px;padding:12px 19px;font-size:0.75rem;max-width:calc(100vw - 35px);box-shadow:var(--shadow);transition:.2s}#toast.visible{transform:translate(-50%,0);opacity:1}.mobile-brand{display:none}.calendar-list{display:grid;gap:11px}.care-card{padding:18px}.care-card .checklist{margin:12px 0}.care-card .checklist label{margin:8px 0}.small-heading{font-size:0.75rem;color:var(--muted);margin:20px 0 11px}.new-profile-form{margin-top:20px}.status-line{font-size:0.75rem;color:var(--muted);padding:12px 0 0}.inline-empty{font-size:0.75rem;color:var(--muted);padding:20px 0}.source-link{font-size:0.75rem}.count-badge{font-size:0.75rem;background:#efe4d7;border-radius:20px;padding:2px 7px;margin-left:auto}.memory-insight{padding:17px 20px;margin-bottom:22px;background:var(--sage-wash);border-radius:15px;font-size:0.75rem;color:#56715b;line-height:1.8}.disclosure{margin:17px 0}.disclosure summary{cursor:pointer;font-size:0.75rem;color:var(--muted);margin-bottom:14px}.hidden{display:none!important}@media(min-width:1550px){.shell-content{padding-left:60px;padding-right:60px}}@media(max-width:1100px){.app-shell{grid-template-columns:175px minmax(0,1fr)}.sidebar{padding:30px 17px}.shell-content{padding:0 26px 70px}.hero-copy{padding:26px 0 26px 25px}.hero h1{font-size:1.8125rem}.hero{min-height:300px}.hero-art{min-height:300px}.items-grid,.pets-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.welcome-form{padding:35px 38px}.welcome-caption{left:26px;bottom:35px}.welcome-caption h2{font-size:1.6875rem}}@media(max-width:760px){h1{font-size:1.6875rem}.app-shell{display:block}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;z-index:20;padding:8px 9px max(8px,env(safe-area-inset-bottom));background:#fffaf4f5;border-top:1px solid var(--line);border-right:0;display:block;backdrop-filter:blur(16px)}.sidebar>.brand-link,.sidebar>.brand-note,.sidebar-bottom{display:none}.nav{display:grid;grid-template-columns:repeat(4,1fr);gap:2px}.nav button{display:flex;flex-direction:column;gap:4px;padding:6px 3px;font-size:0.75rem;border-radius:10px;text-align:center}.nav button.active{background:#f5e7db;box-shadow:none}.nav button svg{width:21px;height:21px}.shell-content{padding:0 19px 110px}.topbar{height:78px}.date-label{display:none}.mobile-brand{display:block}.mobile-brand .wordmark{font-size:1.5625rem}.mobile-brand .wordmark span{font-size:0.75rem;margin-top:2px}.profile-button{max-width:175px;padding:5px 9px 5px 5px;font-size:0.75rem}.profile-button .avatar{width:27px;height:27px}.hero{grid-template-columns:1fr;min-height:0;border-radius:22px;background:#f3e7d6}.hero-copy{padding:27px 25px 14px}.hero h1{font-size:1.75rem;line-height:1.4;margin-bottom:12px}.hero-description{font-size:0.75rem;max-width:100%}.hero .btn{margin-top:17px;min-height:40px}.hero-art{height:220px;min-height:220px}.hero-art img{object-position:65% 52%}.hero-art:before{background:linear-gradient(180deg,#f3e7d6,transparent 23%)}.hero.single{grid-template-columns:1.2fr .8fr}.hero.single .hero-copy{padding:26px 0 27px 22px}.hero.single h1{font-size:1.5625rem}.hero.single .hero-art{height:auto;min-height:240px}.hero.single .hero-art img{height:235px;width:135%;max-width:none;object-fit:contain;align-self:center;transform:translateX(-12%)}.hero.single .hero-description{font-size:0.75rem}.hero.single .btn{padding:9px 10px;font-size:0.75rem}.grid-two{grid-template-columns:1fr;gap:13px}.section-header{margin-top:24px;margin-bottom:13px}.section-header h2{font-size:1.125rem}.card{padding:20px;border-radius:17px}.card p{font-size:0.75rem}.care-strip{padding:14px;border-radius:14px;gap:10px}.care-strip .strip-icon{width:35px;height:35px}.care-strip .text-button{font-size:0.75rem;max-width:80px}.page-heading{margin:9px 0 22px;align-items:flex-start}.page-heading .btn{font-size:0.75rem;padding:9px 11px}.page-heading p{font-size:0.75rem}.items-grid,.pets-grid{gap:11px}.item-card{padding:16px;min-height:185px}.item-card h3{font-size:0.9375rem}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-button{padding:14px}.filter-chips{gap:6px;flex-wrap:nowrap;overflow:auto;padding:2px 2px 10px;margin-bottom:12px}.chip{white-space:nowrap}.floating-chat{right:17px;bottom:88px;width:48px;height:48px;padding:0;justify-content:center;border-radius:50%}.floating-chat span{display:none}.memory-card{padding:17px;gap:10px}.memory-card .memory-value{font-size:0.9375rem}.memory-controls{gap:5px}.memory-controls .icon-button{width:29px;height:29px;border-radius:9px}.welcome-page{display:flex;flex-direction:column;min-height:100dvh}.welcome-visual{height:260px;margin:14px 14px 0;border-radius:22px}.welcome-visual img{object-position:center 46%}.welcome-caption{bottom:23px;left:24px}.welcome-caption h2{font-size:1.4375rem;margin-bottom:7px}.welcome-caption p{font-size:0.75rem}.welcome-form{padding:28px 27px 36px;max-width:500px;width:100%;margin:auto}.welcome-form .wordmark{margin-bottom:24px;font-size:1.75rem}.welcome-form h1{font-size:1.625rem;margin-bottom:10px}.welcome-form .intro{font-size:0.75rem;margin-bottom:22px}.welcome-form .local-note{margin-top:18px}.dialog-head{padding:20px 19px 15px}.dialog-body{padding:19px}.dialog-head h2{font-size:1.1875rem}.form-grid{gap:0 11px}.field>span{font-size:0.75rem}.plan-grid{grid-template-columns:1fr}.chat-dialog{max-height:calc(100dvh - 14px);height:calc(100dvh - 14px);width:calc(100vw - 14px);border-radius:19px}.chat-messages{padding:16px}.chat-composer{padding:12px 13px 15px}.demo-banner{font-size:0.75rem;padding:9px 12px}.care-strip h3{font-size:0.8125rem}#toast{bottom:89px}.quiet-note{font-size:0.75rem}.topbar .profile-button svg{width:15px;height:15px}}@media(max-width:350px){.shell-content{padding-left:13px;padding-right:13px}.hero-copy{padding-left:20px;padding-right:20px}.hero h1{font-size:1.5625rem}.hero.single{grid-template-columns:1fr}.hero.single .hero-copy{padding:23px 22px 5px}.hero.single .hero-art{min-height:150px;height:150px}.hero.single .hero-art img{height:170px;width:100%;transform:none}.items-grid,.pets-grid{grid-template-columns:1fr}.form-grid,.check-grid{grid-template-columns:1fr}.profile-button{max-width:155px}.page-heading .btn{padding:8px;font-size:0.75rem}.card{padding:17px}.welcome-form{padding-left:21px;padding-right:21px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
h1,h2,h3{word-break:keep-all;overflow-wrap:anywhere}.section-header>.btn{flex:none;white-space:nowrap}@media(max-width:600px){.section-header{gap:8px}.section-header h2 small{display:block;margin:5px 0 0}.hero h1{font-size:1.625rem}}
@media(max-width:600px){.page-heading{align-items:flex-start;flex-direction:column}.page-heading>.btn{white-space:nowrap;align-self:flex-start}}

/* Conversation and connection controls */
.chat-tools{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.chat-tools .field{flex:1;min-width:140px;margin-bottom:0}.chat-tools .btn{white-space:normal}.chat-composer{max-height:62vh;overflow:auto}.chat-composer .field{margin-bottom:8px}.chat-composer .check-line{font-size:0.75rem;line-height:1.6}.photo-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0}.photo-tools input{max-width:160px;font-size:0.75rem}.photo-tools label{display:flex;flex-direction:column;align-items:start;gap:6px}#photo-preview{display:flex;gap:8px}.photo-thumb{position:relative}.photo-thumb img{width:60px;height:60px;object-fit:cover;border-radius:10px}.photo-thumb button{position:absolute;right:-4px;top:-4px;width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid #ddd;cursor:pointer}.bubble .text-button{display:block;font-size:0.75rem;margin-top:8px;opacity:.8}.photo-observation{font-size:0.75rem;border-left:2px solid #a4baab;padding-left:8px;margin-top:8px}.chat-footer{overflow-wrap:anywhere}#ai-test-result{white-space:pre-wrap;overflow-wrap:anywhere}.chat-dialog .chat-layout{height:100%;min-height:0}.chat-dialog .chat-messages{min-height:110px;flex:1;overflow:auto}
@media(max-width:600px){.chat-dialog{height:95dvh;max-height:95dvh}.chat-composer{max-height:66dvh}.chat-tools{gap:5px}.chat-tools .btn{font-size:0.75rem;padding:8px}.chat-composer .chat-input-row textarea{min-height:54px}.chat-dialog .dialog-head{padding:14px}.chat-composer{padding:12px}.chat-tools .field{min-width:100%}}

.chat-options{margin-bottom:10px}.chat-options>summary{cursor:pointer;font-size:0.75rem;color:#746b62;padding:8px 0}.chat-options[open]>summary{margin-bottom:6px}.chat-options .chat-footer{margin-bottom:4px}

/* Quiet device notices, keeping the warm illustration-led layout. */
.privacy-card{margin-bottom:22px;background:#f5eee2;box-shadow:none}.privacy-card .row-title{margin-bottom:10px}.privacy-card .card-actions{margin-top:12px}.privacy-copy{display:grid;gap:14px;font-size:0.8125rem;line-height:1.85;overflow-wrap:anywhere}.privacy-copy a{justify-self:start}.export-reminder{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;margin-bottom:18px;border:1px solid var(--line);border-radius:14px;background:var(--sage-wash);font-size:0.75rem}.reminder-actions{display:flex;align-items:center;gap:8px}.hero-usage{font-size:0.75rem;color:#786451;margin-top:10px;overflow-wrap:anywhere}.chat-usage{font-size:0.75rem;color:var(--sage);margin-bottom:10px;overflow-wrap:anywhere}.connection-plan{margin:18px 0 12px}.ai-usage{font-size:0.75rem;font-weight:400}.floating-chat{flex-wrap:wrap;max-width:calc(100vw - 34px)}.floating-chat .ai-usage{flex-basis:100%;text-align:center}.nav .pill{margin-left:auto}.dialog-head>div,.chat-input-row textarea{min-width:0}.dialog-body,.plan,.chat-tools,.chat-composer{min-width:0}.dialog-body{overflow-wrap:anywhere}.chat-tools+.chat-footer{margin-top:12px}.card-actions+.section-header{margin-top:30px}.btn{max-width:100%;overflow-wrap:anywhere}
@media(max-width:760px){.nav .pill{margin-left:0;padding:0 6px;font-size:0.75rem}.floating-chat{width:auto;height:auto;max-width:220px;border-radius:20px;padding:10px 12px;gap:5px}.floating-chat .ai-usage{display:block;max-width:190px;font-size:0.75rem}.shell-content{padding-bottom:155px}.topbar{gap:8px}.profile-button{max-width:160px}.hero.single{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.section-header{flex-wrap:wrap}.danger-zone{flex-wrap:wrap}.chat-input-row textarea{flex:1;width:0}}

.mobile-settings{display:none}@media(max-width:760px){.mobile-settings{display:grid}.topbar .profile-button{margin-left:auto}}
/* O-1013-C4: keep conversation control compact and its label stable. */
.floating-chat{flex-wrap:nowrap;max-width:160px;white-space:nowrap}.floating-chat span{display:inline}.workout-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.workout-entry p{font-size:0.75rem}.workout-routines{display:grid;gap:16px;margin-top:18px}.workout-steps{padding-left:24px}.workout-steps li{margin:12px 0}.workout-steps p{font-size:0.8125rem;overflow-wrap:anywhere}.workout-player:empty{display:none}.workout-player iframe{width:100%;aspect-ratio:16/9;border:0;margin:16px 0}fieldset{border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:12px}legend{font-size:0.75rem}.workout-routines .buttons{flex-wrap:wrap}
@media(max-width:760px){.floating-chat{width:auto;height:44px;border-radius:24px;padding:10px 13px;gap:7px;max-width:160px}.workout-entry{align-items:flex-start;flex-direction:column}.workout-routines .card{padding:16px}}

/* C5 shopping: two intentions, gentle budget copy. */
.shopping-columns{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.shopping-columns>section{min-width:0}.affiliate-notice{font-size:1rem;line-height:1.6;color:var(--ink);margin:.7rem 0}.shopping-columns .buttons{flex-wrap:wrap}@media(max-width:640px){.shopping-columns{grid-template-columns:1fr}}

/* C6 routine rows keep long habit labels within narrow screens. */
.daily-card{margin-bottom:24px}.daily-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;border-bottom:1px solid var(--border);padding:12px 0}.daily-row .check-line{flex:1 1 200px;min-width:0;margin:0}.daily-row .check-line span{overflow-wrap:anywhere}.daily-table{margin:16px 0}.daily-table h3{margin-bottom:8px}

/* O-1014-C9: cream and rose memory cards, with placeholders for private text. */
.memory-summary{display:flex;gap:24px;align-items:center;background:var(--rose-wash,#f8eee8);margin-bottom:24px;overflow:hidden}.memory-summary img{width:108px;height:120px;object-fit:contain;flex-shrink:0}.memory-summary h2{font-size:1.3125rem;margin:8px 0 14px}.memory-summary ul{margin:0;padding-left:18px;font-size:0.8125rem;line-height:1.9}.memory-summary li{overflow-wrap:anywhere}.memory-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.memory-category{min-width:0;background:#fcf8f1;border:1px solid var(--line);border-radius:22px;padding:20px}.memory-category-secret{background:#f6ebed}.memory-category-heading{display:flex;gap:12px;align-items:center;margin-bottom:18px}.memory-category-heading>div{min-width:0;flex:1}.memory-category-heading h2{font-size:1.125rem}.memory-category-heading small{font-size:0.75rem;font-weight:400;color:var(--muted)}.memory-category-heading p{font-size:0.75rem;color:var(--muted);margin-top:5px}.memory-category .memory-list{display:grid;gap:12px}.memory-category .memory-card{display:block;padding:18px;border-radius:16px}.memory-category .memory-card h3{font-size:0.875rem;overflow-wrap:anywhere}.memory-category .memory-value{font-size:0.9375rem;white-space:pre-wrap;overflow-wrap:anywhere}.memory-category .memory-controls{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.memory-category .memory-controls .btn{font-size:0.75rem;padding:7px 10px}.memory-cover{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:14px 0}.memory-blur{filter:blur(5px);user-select:none;pointer-events:none;color:#897b7d}.memory-locked{background:#faf5f4}.memory-pet{padding:6px 0}.memory-pet>h3{display:flex;align-items:center;gap:8px;font-size:0.875rem;margin-bottom:10px}.memory-pet>h3 svg{width:18px;height:18px}.memory-pet .memory-card{margin-bottom:10px}.memory-undo{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:18px;font-size:0.75rem}.nav button span{overflow-wrap:anywhere}
@media(max-width:950px){.memory-categories{grid-template-columns:1fr}}
@media(max-width:600px){.memory-summary{padding:18px;gap:12px;align-items:flex-start}.memory-summary img{width:62px;height:80px}.memory-summary h2{font-size:1.0625rem}.memory-summary ul{font-size:0.75rem}.memory-category{padding:16px}.memory-category-heading .icon-bubble{flex-shrink:0}.nav button[data-view="memory"] span{font-size:0.75rem;line-height:1.2;max-width:78px}}

/* O-1019-G3: reflow and measured fixed controls; do not hide page overflow. */
:root{--bottom-nav-height:0px;--chat-height:52px;--viewport-height:100dvh;--viewport-top:0px}
body{overflow-wrap:anywhere;padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
button,.btn,.btn.small,.hero .btn,.text-button,summary{min-width:44px;min-height:44px;white-space:normal}
a{display:inline-block;min-height:44px;align-content:center}
button,.btn{height:auto;flex-shrink:0}
input,select,textarea,.photo-tools input{font-size:max(16px,1rem);min-height:44px;max-width:100%;min-width:0}
input[type=checkbox],input[type=radio]{width:24px;height:24px;min-height:24px;align-self:center}
.check-line{min-height:44px;align-items:center;cursor:pointer}.check-line span{min-width:0}
.icon-button,.memory-controls .icon-button,.photo-thumb button{width:44px;height:44px;min-width:44px;min-height:44px}
.photo-thumb{padding-top:8px}.photo-thumb button{right:0;top:0}.photo-thumb img{width:76px;height:76px}
#photo-preview{flex-wrap:wrap;gap:12px}.send-button{min-width:44px;min-height:44px}
.pill{white-space:normal}.chip,.quick-prompts button{flex-shrink:0}.quick-prompts,.filter-chips{min-width:0;max-width:100%}
.topbar{height:auto;min-height:92px;flex-wrap:wrap;padding:12px 0}.profile-button{min-width:0}.profile-name{min-width:0}
.section-header,.row-title,.care-strip,.demo-banner,.pet-actions,.panel-tabs,.proposal .buttons,.reminder-actions,.page-heading{flex-wrap:wrap}
.section-header>.btn,.page-heading>.btn{white-space:normal}.section-header>*,.row-title>*,.memory-summary>div{min-width:0}
fieldset{min-width:0;max-width:100%}.form-grid,.check-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.memory-summary{overflow:visible;flex-wrap:wrap}.memory-summary ul{padding-left:18px}.memory-card{flex-wrap:wrap}
.shell-content{padding-bottom:calc(var(--bottom-nav-height) + var(--chat-height) + 40px + env(safe-area-inset-bottom))}
.floating-chat{bottom:calc(var(--bottom-nav-height) + 12px + env(safe-area-inset-bottom));right:max(16px,env(safe-area-inset-right));height:auto;min-height:44px;max-width:calc(100vw - 32px);white-space:normal;flex-wrap:wrap}
#toast{bottom:calc(var(--bottom-nav-height) + var(--chat-height) + 24px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 32px);max-height:40dvh;overflow:auto;pointer-events:auto;font-size:.875rem}
#toast:not(.visible){visibility:hidden}
html{scroll-padding-bottom:calc(var(--bottom-nav-height) + var(--chat-height) + 40px)}
dialog{top:var(--viewport-top);bottom:auto;margin:12px auto;max-height:calc(var(--viewport-height) - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain}
.dialog-head{position:static}.dialog-body{padding-bottom:max(24px,env(safe-area-inset-bottom))}
.chat-dialog{height:calc(var(--viewport-height) - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(var(--viewport-height) - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
.chat-dialog .chat-layout{overflow:auto}.chat-dialog .chat-messages{min-height:80px;flex:1 0 80px}.chat-composer{max-height:none;overflow:visible}
.chat-dialog .dialog-head{flex-shrink:0}.chat-input-row{position:sticky;bottom:0;background:var(--card);padding:6px 0}
.chat-dialog .dialog-head h2{font-size:1.2rem}.chat-composer .chat-input-row textarea{width:0;flex:1;min-width:44px;font-size:max(16px,1rem)}
:root[data-keyboard=open] .floating-chat,:root[data-keyboard=open] .sidebar{visibility:hidden}
@media(max-width:760px){
 :root{--bottom-nav-height:108px}
 .sidebar{padding:6px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:var(--card)}
 .nav{grid-template-columns:repeat(4,minmax(0,1fr))}.nav button{min-width:0;font-size:.75rem;padding:6px 2px;justify-content:flex-start}
 .nav button span,.nav button[data-view=memory] span{font-size:.75rem;line-height:1.5;max-width:none;width:100%;word-break:normal;overflow-wrap:anywhere}
 .topbar{min-height:78px;gap:6px}.topbar .profile-button{max-width:calc(100% - 50px);flex:0 1 150px}.mobile-brand{min-width:0}.mobile-brand .wordmark{font-size:1.5rem}
 .hero.single{grid-template-columns:minmax(0,1fr)}.hero.single .hero-copy{padding:22px}.hero.single .hero-art{min-height:160px;height:180px}.hero.single .hero-art img{max-width:100%;width:100%;height:180px;transform:none}
 .chat-tools .field{min-width:0;flex-basis:100%}.chat-tools .btn{font-size:.75rem}
 .settings-line{flex-wrap:wrap;gap:8px}.settings-line span:last-child{max-width:100%;text-align:left}
 .memory-category{padding:12px}.memory-category .memory-card{padding:12px}.category-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr))}
}
@media(max-width:390px){
 .welcome-visual{display:none}.welcome-form{padding:16px}.welcome-form .wordmark{margin-bottom:12px}.welcome-form h1{font-size:1.4rem}
 .welcome-form .intro{margin-bottom:12px}.welcome-form .demo-options{margin-top:16px;padding-top:12px}.welcome-form .privacy-card{margin-bottom:12px;padding:12px}
 .items-grid,.pets-grid{grid-template-columns:minmax(0,1fr)}.shell-content{padding-left:12px;padding-right:12px}.dialog-body{padding:14px}
}
@media(prefers-color-scheme:dark){
 :root{color-scheme:dark;--input-border:#857160;--paper:#211c19;--card:#2d2621;--ink:#f5e8da;--muted:#c5b4a5;--line:#5b4d42;--rose:#9f4f43;--rose-dark:#ffc3b2;--rose-wash:#49312b;--sage:#b7d4bb;--sage-wash:#29372e;--gold:#e8be7e;--shadow:0 14px 45px #0003}
 .sidebar,.hero,.hero.single .hero-art,.chat-messages{background:var(--paper);border-color:var(--line)}.hero-art:before{display:none}
 .wordmark,.hero-description,.hero-usage,.card p,.plan ul,.nav button,.chat-options>summary,.form-note,.memory-insight,.bubble-label{color:var(--ink)}
 .nav button.active,.nav button:hover,.card.soft-rose,.pill,.care-strip,.category-button,.component,.bubble,.proposal,.quick-prompts button,.plan,.privacy-card,.memory-category,.memory-locked,.demo-banner{background:var(--card);border-color:var(--line);color:var(--ink)}
 .bubble.user,.avatar,.item-icon,.pet-avatar,.count-badge{background:#4b3d32;color:var(--ink)}
 .plan.featured,.memory-category-secret,.form-note{background:var(--rose-wash);color:var(--ink)}
 input,textarea,select{background:#211c19;border-color:var(--input-border);color:var(--ink)}
 .btn.primary,.send-button,.floating-chat{background:#9f4f43;color:#fff}.btn.primary:hover{background:#873e34}
 .btn.danger{background:#4b2524;color:#ffd4ca;border-color:#d79280}.form-error{color:#ffb6a5}
 .pill.attention{background:#47381f;color:#f6d19a;border-color:#786342}.pill.sage{color:var(--sage);background:var(--sage-wash)}
 .chip.active{color:var(--paper)}.photo-thumb button{background:var(--card);border-color:var(--line);color:var(--ink)}
 .card.soft-sage{border-color:var(--line)}.memory-blur{color:var(--muted)}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:390px) and (max-height:700px){.welcome-form .intro{display:none}.welcome-form h1{font-size:1.25rem}.welcome-form .field{margin-bottom:10px}}
@media(prefers-color-scheme:dark){.nav button.active{background:var(--rose-wash);color:var(--rose-dark)}}

/* O-1020-G3: verified at native browser zoom and enlarged text. */
:root{--toast-height:0px}
.text-button{max-width:100%;overflow-wrap:anywhere}
.care-strip .strip-copy{flex:1 1 10rem}
.shell-content{padding-bottom:calc(var(--bottom-nav-height) + var(--chat-height) + var(--toast-height) + 40px + env(safe-area-inset-bottom))}
html{scroll-padding-bottom:calc(var(--bottom-nav-height) + var(--chat-height) + var(--toast-height) + 40px)}
@media(max-width:320px){
 .profile-row{display:grid;grid-template-columns:30px minmax(0,1fr)}
 .profile-row .btn{grid-column:1/-1;justify-self:start}
}
@media(max-width:240px){
 .nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nav button{min-width:44px;justify-content:center}
 .nav button svg{display:none}
 .chat-input-row{flex-wrap:wrap}
 .chat-composer .chat-input-row textarea{flex-basis:100%;width:100%}
 .chat-input-row .send-button{margin-left:auto}
}
/* Unpin controls when browser zoom leaves little vertical reading space. */
@media(max-width:760px) and (max-height:500px){
 .sidebar{position:static;height:auto}
 .floating-chat{position:static;margin:0 16px calc(var(--toast-height) + 40px + env(safe-area-inset-bottom)) auto;display:flex;width:fit-content}
}

/* 연결 상태는 작은 안내줄로, 기기 기록 입력은 계속 사용할 수 있다. */
.connection-notice{margin:0;padding:8px 16px;text-align:center;font-size:13px;line-height:1.5;background:var(--card);color:var(--ink,#302820)}
body[data-offline] :is([data-action="ai-settings"],[data-action="shopping-ai"],[data-action="daily-ai"],[data-action="workout-ai"]){opacity:.55;cursor:not-allowed}

/* 새 판 안내는 연결 상태 안내와 별도로 표시한다. */
.shell-update-notice{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:12px;padding:12px;}

/* Keep record-deletion explanations readable at desktop and mobile widths. */
.danger-zone{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.danger-zone>p{margin:0}
.danger-zone>.btn{align-self:stretch;flex:none}
