.app-shell{padding:24px 16px 48px;background:radial-gradient(circle at top left,rgba(255,206,178,.85),transparent 26%),radial-gradient(circle at top right,rgba(255,241,198,.7),transparent 32%),linear-gradient(180deg,#fff8f3,#fffdf8 48%,#fef5eb)}.top-nav{display:grid;gap:16px;max-width:1120px;margin:0 auto 20px}.brand-lockup{display:flex;align-items:center;gap:12px}.brand-dot{display:grid;place-items:center;width:46px;height:46px;border-radius:18px;background:#fff0e2f5;box-shadow:0 12px 28px #d899702e;font-size:1.25rem}.brand-lockup strong,.brand-lockup small{display:block}.brand-lockup strong{color:#52311d;font-size:1rem}.brand-lockup small{color:#9b6f50;font-size:.82rem}.nav-pills{display:flex;flex-wrap:wrap;gap:10px}.nav-pill,.chip-button,.ghost-button,.primary-button,.soft-button,.panel-title button,.pet-tab,.wide-button,.pet-list-item,.toggle-button,.mini-action-group button{border:1px solid transparent;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease,border-color .18s ease,color .18s ease,background-color .18s ease}.nav-pill,.chip-button,.ghost-button,.primary-button,.soft-button{font-size:.95rem;font-weight:600}.nav-pill{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 16px;border-radius:12px;background:transparent;color:#806656}.nav-pill.active{background:#fff;border-color:#ead4c4;color:#914a30;box-shadow:0 2px 5px #60371e0f}.nav-pill:hover,.chip-button:hover,.ghost-button:hover,.primary-button:hover,.soft-button:hover,.panel-title button:hover,.pet-tab:hover,.pet-list-item:hover,.toggle-button:hover,.mini-action-group button:hover{transform:translateY(-1px)}.hero-card,.workspace-card{position:relative;overflow:hidden;display:grid;gap:18px;padding:24px;border-radius:32px;background:linear-gradient(145deg,#fffffff5,#fff3e9f2);box-shadow:0 22px 60px #d899702e;max-width:1120px;margin:0 auto}.hero-card:after,.workspace-card:after{content:"";position:absolute;right:-40px;top:-42px;width:150px;height:150px;border-radius:50%;background:#ffdcbc99}.workspace-header h2,.hero-copy h1{margin:16px 0 10px;color:#41271a;line-height:1}.hero-copy h1{font-size:clamp(2rem,6vw,3.6rem)}.workspace-header h2{font-size:clamp(1.6rem,4vw,2.5rem)}.workspace-header p,.hero-copy p{max-width:40rem;margin:0;color:#735444;font-size:1rem}.workspace-grid{display:grid;gap:18px}.eyebrow{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:#ffe9d9f2;color:#b56b40;font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.hero-pet{position:relative;display:flex;align-items:end;justify-content:flex-end;gap:18px}.hero-pet img{width:100%;max-width:220px;aspect-ratio:1 / 1;object-fit:cover;border-radius:28px;box-shadow:0 12px 28px #835a3833}.phone-frame{width:min(100%,460px);margin:22px auto 0;padding:22px 16px 32px;border-radius:34px;background:#ffffffe6;box-shadow:0 20px 55px #c18e6433,inset 0 1px #fff9;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.history-frame{width:min(100%,560px)}.app-header{display:flex;align-items:start;justify-content:space-between;gap:12px}.header-stack{display:grid;gap:8px;justify-items:end}.welcome-line{margin:0 0 6px;color:#d07c4a;font-size:.88rem;font-weight:700}.app-header h2{margin:0;color:#4d3120;font-size:1.42rem;line-height:1.2}.chip-button{padding:10px 14px;border-radius:999px;background:#fff0e4;color:#b36738}.source-badge{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;font-size:.78rem;font-weight:800}.source-badge.memory{background:#fff6de;color:#9d6a1f}.source-badge.api{background:#e3f9ee;color:#18794e}.primary-button,.soft-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:12px;line-height:1.4}.primary-button{color:#fff;background:#a64e30;box-shadow:0 2px 4px #76361f1f}.ghost-button{color:#754f3b;background:#fffdf9;border-color:#e5d4c6}.soft-button{color:#87442e;background:#f8e7dc;border-color:#edd3c3}.wide-button{width:100%;justify-content:center}.pet-switcher{display:flex;gap:10px;margin-top:20px;overflow-x:auto;padding-bottom:4px}.pet-tab,.pet-list-item{display:flex;align-items:center;gap:10px;background:#fffaf4}.pet-tab{flex:0 0 auto;min-width:110px;padding:10px 12px;border-radius:18px}.pet-tab.active,.pet-list-item.active{background:linear-gradient(135deg,#ffe5d1,#fff6ed);box-shadow:0 8px 18px #dd925e29}.pet-tab img,.pet-list-item img{object-fit:cover}.pet-tab img{width:40px;height:40px;border-radius:14px}.pet-tab span{color:#724b34;font-weight:700}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}.summary-card{padding:14px 12px;border-radius:22px}.summary-card.peach{background:linear-gradient(180deg,#fff0e6,#ffe8d7)}.summary-card.mint{background:linear-gradient(180deg,#e7fbf2,#d9f4ea)}.summary-card.sky{background:linear-gradient(180deg,#ecf7ff,#deeffb)}.summary-label,.summary-card small{display:block}.summary-label{color:#8d6447;font-size:.78rem}.summary-card strong{display:block;margin:8px 0 6px;color:#4d3120;font-size:1.15rem}.summary-card small{color:#8b6a54;font-size:.75rem}.panel{margin-top:18px;padding:16px;border-radius:26px;background:#fffdf9;box-shadow:0 10px 26px #e0a98714}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-title h3{margin:0;color:#523423;font-size:1.02rem}.panel-title button{min-height:36px;padding:6px 10px;border-radius:9px;background:transparent;color:#965137;font-size:.82rem;font-weight:600}.reminder-list,.form-stack,.timeline,.pet-list,.module-editor-list,.history-groups{display:grid;gap:12px}.reminder-item{padding:14px;border-radius:20px}.reminder-item strong{color:#53301d}.reminder-item p{margin:6px 0 0;color:#8d664a;font-size:.9rem}.reminder-item.alert{background:linear-gradient(180deg,#ffe5de,#fff0ea)}.reminder-item.warm{background:linear-gradient(180deg,#fff4d9,#fff9ee)}.module-grid{display:grid;gap:10px}.module-card,.module-editor-item{padding:12px;border-radius:20px;background:#fff7ef}.module-card{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:start}.module-editor-item.on{border:1px solid rgba(240,164,111,.3)}.module-editor-item.off{opacity:.7}.module-editor-main{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:start}.module-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#fff;font-size:1.35rem}.module-card strong,.module-editor-item strong{color:#553321}.module-card p,.module-editor-item p,.note-card p{margin:4px 0 0;color:#87664e;font-size:.88rem}.module-editor-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;margin-top:12px}.toggle-button,.mini-action-group button{padding:10px 12px;border-radius:14px;font-size:.84rem;font-weight:700}.toggle-button{background:#f7ebe0;color:#8d5937}.toggle-button.on{background:#f4dece}.mini-action-group{display:flex;gap:8px}.mini-action-group button{background:#fff;color:#8d5c38}.mini-action-group button:disabled{opacity:.45;cursor:not-allowed;transform:none}.form-card{padding:14px;border-radius:22px;background:linear-gradient(180deg,#fff9f4,#fffdfb);border:1px solid rgba(244,214,193,.6)}.form-card-head{display:grid;gap:4px;margin-bottom:12px}.form-card-head strong,.note-card strong{color:#523120}.form-card-head span{color:#916e57;font-size:.86rem}.pill-row,.history-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.pill{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:#fff1e3;color:#955f3a;font-size:.84rem;font-weight:700}.pill.active{background:#f4dece}.pill-button{display:inline-flex;align-items:center;min-height:36px;padding:7px 13px;border:1px solid #ecdccf;border-radius:9px;background:#fffcf8;color:#80614d;font-size:.84rem;font-weight:500}.pill-button.active{background:#f8e6d9;border-color:#c98560;color:#84412b;font-weight:600}.panel label,.form-card label{display:grid;gap:6px;color:#73533f;font-size:.85rem;font-weight:700}.panel input,.panel select,.panel textarea,.form-card input,.form-card select{width:100%;margin-bottom:12px;padding:12px 14px;border:1px solid #f0d8c4;border-radius:16px;background:#fff;color:#553627;font:inherit;box-sizing:border-box}.panel textarea{resize:vertical;min-height:112px}.inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.weight-card{display:grid;gap:14px;padding:6px 2px 2px}.weight-stats strong{display:block;color:#4f3122;font-size:1.6rem}.weight-stats span{color:#8b6d58;font-size:.88rem}.chart-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end;min-height:180px}.chart-item{display:grid;justify-items:center;gap:10px}.chart-bar-wrap{display:flex;align-items:end;justify-content:center;width:100%;height:140px;padding:10px;border-radius:20px;background:linear-gradient(180deg,#fff7ec,#fff2e6)}.chart-bar{width:34px;min-height:0;border-radius:18px 18px 10px 10px;background:linear-gradient(180deg,#ffbf93,#f48b64)}.chart-item span{color:#8f6a51;font-size:.84rem;font-weight:700}.timeline-item{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:start}.timeline-time{display:inline-flex;justify-content:center;padding:8px 0;border-radius:999px;background:#fff3e5;color:#b96e3e;font-size:.82rem;font-weight:700}.timeline-content{padding:12px 14px;border-radius:18px;background:#fff8f2}.timeline-content strong{color:#563522}.timeline-content p,.timeline-content small{display:block}.timeline-content p{margin:6px 0;color:#81624d;font-size:.9rem}.timeline-content small{color:#cb7b49;font-weight:700}.timeline-actions{display:flex;gap:8px;margin-top:8px}.mini-ghost{padding:8px 10px;border:0;border-radius:12px;background:#fff0e4;color:#8f5c38;font-size:.8rem;font-weight:700}.mini-ghost.danger{background:#ffe6e1;color:#c35c4f}.edit-log-form{display:grid;gap:8px}.edit-log-form input,.edit-log-form textarea{width:100%;padding:10px 12px;border:1px solid #ecd4bf;border-radius:14px;background:#fffdfb;color:#5a3824;font:inherit}.pet-list-item{width:100%;padding:12px;border-radius:20px;text-align:left}.pet-list-item img{width:56px;height:56px;border-radius:18px}.pet-list-item strong,.pet-list-item span{display:block}.pet-list-item strong{color:#553320}.pet-list-item span{color:#8a674c;font-size:.88rem;margin-top:4px}.note-card{padding:14px;border-radius:20px;background:linear-gradient(180deg,#fff4e7,#fffaf3)}.file-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.file-chip{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:#fff4e7;color:#8f5d39;font-size:.82rem;font-weight:700}.history-group h3{margin:0 0 10px;color:#52311f}.attachment-list{display:grid;gap:10px}.attachment-link{display:grid;gap:4px;padding:12px 14px;border-radius:18px;background:#fff7ef;color:#5b3925;text-decoration:none}.attachment-link span,.empty-note{color:#8a684d;font-size:.88rem}@media (min-width: 900px){.app-shell{padding:32px 28px 56px}.hero-card{grid-template-columns:1.3fr .9fr;align-items:center}.workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}.interaction-area{border:0;padding:0;margin:0;min-width:0}.save-feedback{position:sticky;top:12px;z-index:20;padding:14px 18px;margin-bottom:16px;border-radius:14px;background:#e7f3ec;color:#20553a;box-shadow:0 3px 15px #0001}.save-feedback.error{background:#fff0ed;color:#963a2e}.save-feedback.pending{background:#fff4d8;color:#70571a}button:focus-visible{outline:3px solid #bd7956;outline-offset:3px}button:active:not(:disabled){transform:translateY(0);box-shadow:none}button:disabled{cursor:not-allowed;opacity:.5;transform:none;box-shadow:none}.primary-button:hover:not(:disabled){background:#8d3f27;box-shadow:0 3px 8px #76361f24}.soft-button:hover:not(:disabled){background:#f1dac9;border-color:#d6af93}.ghost-button:hover:not(:disabled){background:#f9eee4;border-color:#d0ae94}.nav-pill:hover:not(:disabled),.panel-title button:hover:not(:disabled){background:#f7e9dc}.pill-button:hover:not(:disabled){border-color:#c78d6b;background:#f9ecdf}.mini-ghost:hover:not(:disabled){background:#f0dac9}.mini-ghost.danger:hover:not(:disabled){background:#fbd4cb;color:#9b3428}.panel-meta{color:#927b68;font-size:.78rem;font-weight:500}@media (prefers-reduced-motion: reduce){button{transition:none!important;transform:none!important}}.select-control{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;min-height:48px;padding:12px 16px;margin-bottom:12px;border:1px solid #e7d7ca;border-radius:13px;background:#fff;color:#553b2c;font-size:.92rem;font-weight:500;text-align:left}.select-control>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-control:hover:not(:disabled){border-color:#bc8d70;background:#fffdf9}.select-chevron{width:8px;height:8px;flex:0 0 8px;border-right:1.5px solid #9c7961;border-bottom:1.5px solid #9c7961;transform:rotate(45deg) translateY(-2px);margin-right:3px}.mobile-sheet{position:fixed;inset:auto 0 0;width:100%;max-width:100%;max-height:92dvh;margin:0;padding:0;border:0;border-radius:24px 24px 0 0;background:#fffcf8;color:#533422;box-shadow:0 -12px 60px #39241524;overscroll-behavior:contain}.mobile-sheet::backdrop{background:#35251c66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.sheet-surface{width:100%}.sheet-handle{width:34px;height:4px;border-radius:4px;margin:10px auto 0;background:#d9cabc}.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px 16px;border-bottom:1px solid #eee1d5}.sheet-header h2{margin:0;font-size:1.12rem;font-weight:650}.sheet-close{display:grid;place-items:center;flex:0 0 36px;height:36px;padding:0;border:0;border-radius:50%;background:#f5ece3;color:#745a47;font-size:1rem}.sheet-body{padding:18px 20px max(24px,env(safe-area-inset-bottom));max-height:calc(92dvh - 90px);overflow-y:auto;overscroll-behavior:contain}.sheet-body .form-card{padding:0;background:transparent;border:0}.sheet-body .form-card-head{display:none}.sheet-body .save-feedback{position:static;margin-bottom:14px}.sheet-body label{display:grid;gap:7px;color:#73533f;font-size:.88rem;font-weight:600}.sheet-body input,.sheet-body textarea{width:100%;min-width:0;padding:12px 14px;border:1px solid #e7d7ca;border-radius:13px;background:#fff;color:#553b2c;font:inherit;font-size:16px}.sheet-body textarea{resize:vertical;min-height:88px}.sheet-back{display:inline-flex;align-items:center;min-height:40px;padding:7px 0;border:0;background:transparent;color:#965137;font-size:.86rem;font-weight:600;text-align:left}.selection-list{display:grid;gap:7px}.selection-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:50px;padding:13px 15px;border:1px solid #eee2d6;border-radius:12px;background:#fffdf9;color:#654a37;font-size:.94rem;font-weight:500;text-align:left}.selection-row:hover,.selection-row.selected{background:#f8e8da;border-color:#d4a282;color:#853f27}.selection-row>span:last-child{color:#ab7151}.field-hint{color:#967b65;font-size:.8rem;line-height:1.6;font-weight:400}.field-error{margin:0;color:#9b3428;font-size:.85rem}.custom-breed{margin-top:18px}.record-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 5px}.record-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:82px;padding:10px 4px;border:1px solid transparent;border-radius:15px;background:#fcf4ea;color:#77543c}.record-tile>span{font-size:1.6rem;line-height:1.2}.record-tile strong{font-size:.79rem;font-weight:550;white-space:nowrap}.record-tile:hover{border-color:#e2b798;background:#f6e6d5}.quick-panel>.sheet-back{width:100%;justify-content:center;margin-top:8px;font-weight:400;font-size:.75rem}.header-stack{flex-shrink:0}.source-badge{white-space:nowrap;font-size:.7rem;padding:6px 9px;font-weight:500}.app-header{align-items:flex-start;gap:10px}.app-header h2{font-size:clamp(1rem,4vw,1.25rem);line-height:1.45}.weight-overview .weight-stats strong{font-size:1.35rem}.weight-overview .chart-row{min-height:80px}.weight-overview .chart-bar-wrap{height:80px;padding:6px;border-radius:13px}.weight-overview .chart-bar{min-height:0;width:28px;border-radius:9px 9px 4px 4px}.weight-overview .panel-title{margin-bottom:8px}.new-food-form{padding:14px;border:1px solid #ead1be;border-radius:14px;background:#fff5eb;display:grid;gap:10px}.food-category h4{margin:2px 0 10px;font-size:.92rem}.food-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}.food-tag{display:inline-flex;gap:10px;align-items:center;min-height:36px;padding:6px 10px;border:1px solid #e9d1be;border-radius:9px;background:#f9ecdf;color:#805336;font-size:.82rem}.add-option-row{display:flex;align-items:flex-start;gap:8px}.add-option-row input{min-width:0}.add-option-row button{flex:0 0 auto}.field-label{display:block;color:#73533f;font-size:.85rem;font-weight:600;margin-bottom:8px}.avatar-upload{display:flex;align-items:center;gap:15px;width:100%;min-height:94px;padding:14px;border:1px dashed #d9b89e;border-radius:16px;background:#fff9f1;color:#795238;text-align:left}.avatar-upload img,.avatar-placeholder{width:64px;height:64px;border-radius:15px;object-fit:cover;flex:0 0 64px}.avatar-placeholder{display:grid;place-items:center;background:#f1dfcd;color:#a26946;font-size:1.7rem;font-weight:300}.avatar-upload strong,.avatar-upload small{display:block}.avatar-upload strong{font-size:.93rem;font-weight:600}.avatar-upload small{color:#9b806a;font-size:.72rem;margin-top:5px}.visually-hidden{position:absolute;width:1px!important;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media (max-width: 380px){.record-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.header-stack{display:none}.panel,.phone-frame{padding:14px}}@media (min-width: 768px){.mobile-sheet{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:480px;max-width:calc(100% - 48px);border-radius:24px}}@media (max-width: 767px){.hero-card{display:block;padding:20px;border-radius:24px}.hero-copy{padding-right:76px}.hero-copy .eyebrow{padding:0;background:transparent;font-size:.68rem}.hero-copy h1{margin:8px 0;font-size:1.5rem;line-height:1.2}.hero-copy p{font-size:.8rem}.hero-actions{margin-top:16px;gap:8px;margin-right:-76px}.hero-actions button{min-height:40px;padding:9px 12px;font-size:.82rem}.hero-pet{position:absolute;top:24px;right:20px}.hero-pet img{width:62px;height:62px;border-radius:18px;box-shadow:none}.top-nav{gap:12px;margin-bottom:14px}.nav-pills{gap:4px;justify-content:space-between}.nav-pill{padding:8px 10px;gap:5px;font-size:.82rem}.phone-frame{margin-top:14px;border-radius:24px}.welcome-line{display:none}.app-header h2{margin:0}.pet-switcher{margin-top:12px}.pet-tab{min-width:0;padding:7px 10px;border-radius:12px}.pet-tab img{width:26px;height:26px;border-radius:9px}.pet-tab span{font-size:.8rem}.panel{margin-top:12px;border-radius:18px}.summary-grid{margin-top:12px}}.summary-action{min-width:0;border:1px solid transparent;text-align:left;font:inherit}.summary-action:hover:not(:disabled){border-color:#d5a17d;box-shadow:0 3px 10px #9a634512}.feeding-detail-list{display:grid;gap:12px}.feeding-detail{display:flex;align-items:flex-start;gap:14px;padding:14px;border:1px solid #edddcf;border-radius:14px;background:#fff9f2}.feeding-detail time{flex:0 0 45px;color:#a96b43;font-size:.85rem}.feeding-detail strong{font-size:.94rem;font-weight:600}.feeding-detail p{margin:5px 0 0;color:#947059;font-size:.85rem}.reminder-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.reminder-category{min-width:0;padding:12px;border:1px solid #ecddce;border-radius:18px;background:#fffcf7}.reminder-category-open{display:grid;grid-template-columns:24px minmax(0,1fr);align-content:start;justify-items:start;gap:4px 8px;width:100%;min-height:64px;padding:0 0 8px;border:0;background:transparent;text-align:left;color:#67452f}.reminder-category-icon{grid-row:1 / 3;font-size:1.3rem}.reminder-category-open strong{grid-column:2;font-size:.9rem;font-weight:600}.reminder-category-open small{grid-column:2;color:#9c806a;font-size:.7rem}.reminder-category-meta{grid-column:2;color:#9e6240;font-size:.7rem}.reminder-category-footer,.reminder-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.reminder-category-footer{padding-top:8px;border-top:1px solid #f0e4d7;font-size:.78rem;color:#8d7560}.reminder-next{display:block;padding-top:8px;color:#a68a72;font-size:.69rem}.switch-control{position:relative;width:42px;height:26px;flex:0 0 42px;border:1px solid #d9cabb;border-radius:20px;background:#e6ded5;padding:3px;transition:background-color .16s ease}.switch-control>span{display:block;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #684a3822;transition:transform .16s ease}.switch-control[aria-checked=true]{background:#a95b3c;border-color:#a95b3c}.switch-control[aria-checked=true]>span{transform:translate(16px)}.reminder-form .field-hint{margin:-3px 0 0}.reminder-form .checkbox-field{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:36px}.reminder-form .checkbox-field input{width:18px;height:18px;min-width:18px;padding:0;margin:0;accent-color:#a95b3c}.reminder-form input[type=datetime-local],.reminder-form input[type=date]{min-width:0;max-width:100%}@media (min-width: 900px){.reminder-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.switch-control:before{content:"";position:absolute;top:-8px;right:-3px;bottom:-8px;left:-3px}:is(.panel,.form-card,.sheet-body) input:not([type=checkbox]):not([type=radio]):not([type=file]),.select-control{box-sizing:border-box;height:48px;min-height:48px;margin:0;padding:11px 14px;font-size:16px;line-height:24px;border-radius:13px}.inline-fields{align-items:start}.inline-fields>label{align-content:start;gap:7px;min-width:0}input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.workspace-header.reminder-page-header{gap:16px}.reminder-page-header>button{align-self:flex-start;flex-shrink:0;white-space:nowrap}@media (max-width: 767px){.workspace-header.reminder-page-header{flex-direction:column;align-items:stretch}}.reminder-empty{text-align:center;padding:36px 20px;color:#9c806a;border:1px dashed #e5d5c5;border-radius:18px;margin-top:24px}.reminder-empty>span{font-size:2rem}.reminder-empty h3{color:#795a43;font-size:1rem;margin:8px 0}.reminder-empty p{font-size:.85rem;margin:0}.date-control svg{flex:0 0 18px;color:#a47c5d}.calendar-navigation{display:flex;align-items:center;gap:10px;margin-bottom:16px}.calendar-month-fields{display:grid;grid-template-columns:1.2fr 1fr;flex:1;min-width:0;gap:8px}.calendar-month-fields .select-control{padding:8px 10px;font-size:.9rem;gap:8px}.calendar-arrow{display:grid;place-items:center;width:36px;height:44px;flex:0 0 36px;border:0;border-radius:10px;background:#f6ecdf;color:#925e3b;font-size:1.5rem}.calendar-arrow:hover{background:#edd7c4}.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendar-weekdays{margin-bottom:8px;text-align:center;font-size:.75rem;color:#a68b76}.calendar-day{min-width:0;height:40px;padding:0;border:1px solid transparent;border-radius:11px;color:#745038;background:#fff8f0;font-size:.93rem}.calendar-day[aria-pressed=true]{background:#a64e30;color:#fff}.calendar-day:hover:not(:disabled){border-color:#b97c58}.calendar-day:disabled{background:transparent;opacity:.3}.calendar-time{display:grid;grid-template-columns:40px 1fr;align-items:end;gap:12px;padding-top:18px;margin-top:16px;border-top:1px solid #ebddce}.calendar-time>span{align-self:center;color:#94745c;font-size:.85rem}.calendar-selection{color:#94745c;text-align:center;font-size:.85rem;margin:18px 0}.form-card{display:grid;gap:16px}.form-card>.pill-row{margin:0}.form-card>.wide-button:last-child{margin-top:4px}.sheet-body>.panel{margin:0;padding:0;box-shadow:none;background:transparent}.sheet-body>.panel>.panel-title{display:none}.care-selection-group h3{font-size:.92rem;margin:0 0 10px}.care-option-list{display:flex;flex-wrap:wrap;gap:8px}.care-option-list button{display:inline-flex;align-items:center;gap:12px;min-height:40px;padding:8px 12px;border:1px solid #e5d4c6;border-radius:11px;background:#fff9f2;color:#8a664a;font-size:.87rem}.care-option-list button[aria-pressed=true]{border-color:#bd8560;background:#f5dfce;color:#874126}.care-config-group{display:grid;gap:12px;padding:14px;border:1px solid #e8d8c9;border-radius:15px}.care-config-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.energy-states{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.energy-states button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:88px;border:1px solid #ecdfd1;border-radius:14px;padding:12px 2px;background:#fffaf3;color:#957153}.energy-states button>span{font-size:1.85rem;line-height:1.2}.energy-states strong{font-size:.7rem;font-weight:500;white-space:nowrap}.energy-states button[aria-pressed=true]{background:#f5dfcb;border-color:#bd8560;color:#854c2b}.attachment-picker-field{display:grid;gap:10px}.attachment-picker-field>.field-label{margin:0}.attachment-upload{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:76px;padding:16px;border:1px dashed #d5b49a;border-radius:14px;background:#fff8ee;color:#a06743;text-align:left}.attachment-upload>span{font-size:1.45rem;font-weight:300}.attachment-upload>strong{font-size:.9rem;font-weight:600}.attachment-upload>small{width:100%;margin-left:25px;color:#a48a73;font-size:.73rem}.attachment-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.attachment-preview{position:relative;min-width:0;border:1px solid #edddce;border-radius:12px;background:#fffaf3;overflow:hidden}.attachment-preview>img,.document-preview{display:block;width:100%;aspect-ratio:1;object-fit:cover}.document-preview{display:grid;place-items:center;font-size:2rem;color:#ba8a65}.attachment-preview>span:last-of-type{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px;color:#a08065;font-size:.68rem}.attachment-preview>button{position:absolute;top:5px;right:5px;width:26px;height:26px;border:0;border-radius:50%;background:#fffdf6e8;color:#946849}.log-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0}.log-images img{width:100%;aspect-ratio:1;border-radius:10px;object-fit:cover}.global-header-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.header-pets{position:relative;display:flex;flex-shrink:0;align-items:center;gap:5px}.header-pet{width:36px;height:36px;border:2px solid transparent;padding:2px;border-radius:50%;background:#fff6e9}.header-pet img{width:100%;height:100%;object-fit:cover;border-radius:50%}.header-pet[aria-pressed=true]{border-color:#ad6743;box-shadow:0 0 0 2px #fff8}.more-pets{min-width:30px;min-height:36px;padding:4px;border:0;background:transparent;color:#995b39;font-size:.85rem}.pet-popover{position:absolute;z-index:50;top:calc(100% + 5px);right:0;width:210px;max-height:310px;overflow-y:auto;padding:28px 12px 12px;border:1px solid #e5d2c1;border-radius:17px;background:#fffdf8;box-shadow:0 10px 35px #79503324}.pet-popover:before{content:"";position:absolute;height:10px;top:-10px;right:0;width:100%}.pet-popover [role=menuitemradio]{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:10px;color:#745038;background:transparent;text-align:left}.pet-popover [role=menuitemradio]:hover{background:#f7e7d6}.pet-popover img{width:34px;height:34px;object-fit:cover;border-radius:50%}.pet-popover-close{position:absolute;right:8px;top:3px;border:0;background:transparent;color:#a88063;font-size:1.2rem}.special-toggle.active{background:#f2dfcf;border-color:#c99776}.disclosure-chevron{margin-left:8px}.ui-icon{display:block;width:20px;height:20px;flex:0 0 20px}.hero-actions>.record-entry-button,.hero-actions>.special-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.2}.special-toggle .disclosure-chevron{width:16px;height:16px;flex-basis:16px;margin-left:2px;transition:transform .16s ease}.special-toggle .disclosure-chevron.expanded{transform:rotate(180deg)}.pet-initial{display:inline-grid;place-items:center;background:#edd8c4;color:#845338;font-weight:700;line-height:1}.header-pet .pet-initial{width:100%;height:100%;border-radius:50%;font-size:.88rem}.pet-popover .pet-initial{width:34px;height:34px;border-radius:50%;font-size:.95rem}.hero-pet>.pet-initial{width:220px;height:220px;border-radius:28px;font-size:4rem}.pet-list-item>.pet-initial{width:56px;height:56px;flex-shrink:0;border-radius:18px;font-size:1.5rem}.danger-icon{color:#c24f43;border-color:#ecc7bf;background:#fff0eb;border-radius:11px;width:40px;height:40px}.danger-icon:hover{background:#fbdcd3;color:#a9342a}.danger-button{min-height:44px;padding:10px 16px;border:1px solid #b84336;border-radius:12px;background:#bd4b3f;color:#fff;font-weight:600}.confirmation-copy{color:#684333;line-height:1.65;margin:0}.confirmation-actions{display:flex;justify-content:flex-end;gap:12px}.sort-hint{color:#9c7c65;font-size:.78rem;margin:0 0 12px}.module-editor-list>.module-editor-item{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:6px;padding:12px 12px 12px 6px;transition:border-color .14s ease,box-shadow .14s ease}.module-drag-handle{display:grid;place-items:center;align-self:stretch;width:24px;min-height:44px;padding:0;background:transparent;border:0;border-radius:8px;color:#a98b75;cursor:grab;touch-action:none}.module-drag-handle .ui-icon{width:18px;flex-basis:18px}.module-drag-handle:hover{background:#f0e3d7;color:#805238}.module-editor-item.dragging{border:1px solid #b97c55;background:#fff3e5;box-shadow:0 5px 18px #9d68482b}.module-editor-item.dragging .module-drag-handle{color:#9f512f;cursor:grabbing}.module-editor-list.sorting{-webkit-user-select:none;user-select:none}.module-editor-list .module-editor-main{column-gap:8px;row-gap:4px}.module-editor-list .module-controls{gap:6px}.module-editor-list .module-icon{width:34px;height:34px}.module-editor-list .module-editor-main{grid-template-columns:34px minmax(0,1fr) auto}@media (max-width: 767px){.hero-pet>.pet-initial{width:62px;height:62px;border-radius:18px;font-size:1.7rem}}.special-records{position:relative;z-index:1;grid-column:1 / -1;padding-top:18px;border-top:1px solid #ead7c8}.special-records .panel-title{margin-bottom:12px}.special-records>.sheet-back{width:100%;justify-content:center;margin-top:12px}.module-editor-item{background:#fffbf7}.module-editor-item.off{opacity:1;background:#f8f5f1}.module-editor-main{grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center}.module-editor-copy{display:contents}.module-editor-copy>strong{grid-column:2;grid-row:1}.module-editor-copy>p{grid-column:2 / -1;grid-row:2;margin:0}.module-editor-main>.module-icon{grid-column:1;grid-row:1}.module-editor-main>.module-controls{grid-column:3;grid-row:1}.module-editor-main .module-icon{width:40px;height:40px;border-radius:13px}.module-editor-item p{font-size:.78rem;line-height:1.5}.module-controls{display:flex;gap:8px;align-items:center}.icon-button{display:grid;place-items:center;width:36px;height:36px;padding:7px;border:1px solid #e7d9cc;border-radius:50%;background:#fff;color:#88644c}.icon-button svg{width:20px;height:20px}.icon-button:hover{background:#f6e7da}.history-filters .pill{border:1px solid transparent;cursor:pointer}.history-filters .pill:hover{border-color:#d9b89d}.history-filters .pill[aria-pressed=true]{border-color:#c29272;color:#85462d}.energy-history-state{font-size:1.1rem!important;font-weight:600}.note-archive-actions{display:flex;gap:12px;align-items:center}.note-list{display:grid;gap:10px}.note-entry{overflow:hidden;border:1px solid #eee0d5;border-radius:16px;background:#fffbf7}.note-summary{display:flex;align-items:center;gap:14px;width:100%;padding:14px;text-align:left;background:transparent;border:0}.note-summary-copy{flex:1;min-width:0;display:grid;gap:6px}.note-summary-copy strong,.note-summary-copy>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-summary-copy strong{color:#563522;font-size:.95rem}.note-summary-copy>span{color:#886b57;font-size:.85rem}.note-summary-copy small{color:#a0836e;font-size:.72rem}.note-summary>img{width:64px;height:64px;object-fit:cover;border-radius:12px;flex-shrink:0}.note-summary:hover{background:#f9f0e7}.note-detail{margin:0 14px 14px;padding-top:12px;border-top:1px solid #eee0d5}.note-full-text{margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere;color:#735443;line-height:1.7}@media (max-width: 767px){.special-records{margin-top:18px}}@media (max-width: 380px){.module-editor-main{grid-template-columns:32px minmax(0,1fr) auto;gap:7px}.module-editor-main .module-icon{width:32px;height:32px;font-size:1.05rem}.module-editor-item strong{font-size:.88rem}.module-controls{gap:4px}.icon-button{width:32px;height:32px;padding:6px}}@media (max-width: 380px){.global-header-row .brand-dot{width:32px;height:32px;border-radius:12px}.global-header-row .brand-lockup{gap:7px}.global-header-row .brand-lockup small{font-size:.65rem}.global-header-row .brand-lockup strong{font-size:.84rem}.header-pet{width:32px;height:32px}.header-pets{gap:3px}}.pet-overflow{padding:8px 0;margin:-8px 0}.module-settings-list>.panel{padding:0;background:transparent;box-shadow:none}.module-editor-list .module-editor-main>.module-icon{width:34px;height:34px}@media (max-width: 380px){.module-editor-list .module-editor-main{grid-template-columns:28px minmax(0,1fr) auto;column-gap:6px}.module-editor-list .module-editor-main>.module-icon{width:28px;height:28px;font-size:1.05rem}.module-editor-list .module-controls{gap:4px}}.pet-list-item>.pet-initial{display:inline-flex;align-items:center;justify-content:center;margin:0;line-height:1;text-align:center}.pet-list-item>.pet-avatar{flex-shrink:0}.brand-dot{flex-shrink:0;padding:3px}.brand-lockup{min-width:0}.brand-lockup>div{min-width:0}.brand-lockup strong,.brand-lockup small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-header{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.workspace-header>div{min-width:0}.workspace-card:after,.hero-card:after{pointer-events:none}.history-export-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 14px;margin-top:12px;flex-shrink:0;border:1px solid #e7cbb5;border-radius:14px;background:#fff8ee;color:#9c5332;font-weight:600}.export-notice-dot{position:absolute;top:-3px;right:-3px;width:11px;height:11px;border-radius:50%;background:#d95345;border:2px solid #fff9f1}.dashboard-frame{width:100%;max-width:1120px}.dashboard-frame .app-header{padding:2px 8px 10px}@media (min-width: 768px){.dashboard-frame{padding:28px}}@media (max-width: 380px){.history-export-button{padding:9px;gap:4px}.brand-lockup strong{max-width:140px}}.selection-empty{display:grid;justify-items:center;gap:8px;padding:26px 16px;margin-bottom:12px;border:1px dashed #e6d3c0;border-radius:18px;background:#fff7ed;text-align:center;color:#95745b}.selection-empty>span{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#f5e6d5;font-size:1.5rem}.selection-empty strong{color:#79533c}.selection-empty p{margin:0;font-size:.85rem;line-height:1.6}.select-control.is-empty{color:#9a806c}.selection-create{border-top:1px solid #ecdece;margin-top:14px;padding-top:16px}.selection-create>button{text-align:left}@media (max-width: 767px){.nav-pills{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.nav-pill{justify-content:center;min-width:0;padding:8px 3px;white-space:nowrap}}.top-nav .nav-pills{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:8px;border:1px solid #f0e3d6;border-radius:24px;background:#fffffff5;box-shadow:0 9px 22px #77503311}.top-nav .nav-pill{display:flex;align-items:center;justify-content:center;min-width:0;gap:11px;padding:17px 10px;border-radius:18px;background:transparent;color:#845b45;font-size:16px;font-weight:700;white-space:nowrap}.top-nav .nav-pill .ui-icon{width:21px;height:21px;flex-basis:21px}.top-nav .nav-pill:hover{background:#fff2e8;transform:none}.top-nav .nav-pill.active{background:linear-gradient(130deg,#ae5736,#c36a46);border-color:transparent;color:#fff;box-shadow:0 5px 11px #b1502d2e}.top-nav .nav-pill.active:hover{background:linear-gradient(130deg,#a64f30,#b95d3f)}@media (max-width: 800px){.top-nav .nav-pill{gap:6px;font-size:14px}}@media (max-width: 610px){.top-nav .nav-pills{gap:3px;padding:5px;border-radius:19px}.top-nav .nav-pill{flex-direction:column;gap:3px;padding:11px 1px 9px;border-radius:14px;font-size:12px}}.global-header-row{position:relative;z-index:5;gap:10px;min-width:0;padding:8px 2px 10px;background:transparent}.global-header-row .brand-lockup{display:flex;flex:1;align-items:center;gap:14px;min-width:0}.global-header-row .brand-dot{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;padding:0;border-radius:0;background:transparent;box-shadow:none}.global-header-row .brand-dot .journal-mark{width:100%;height:100%;object-fit:contain}.global-header-row .header-identity{display:flex;flex:1;align-items:center;gap:13px;min-width:0}.global-header-row .header-identity>strong{flex:0 1 auto;min-width:0;max-width:none;font-size:21px;font-weight:800;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-family{position:relative;flex:0 1 auto;min-width:60px;max-width:180px}.header-family-switch{display:flex;align-items:center;gap:4px;max-width:100%;padding:9px 12px;border:1px solid #efdfd3;border-radius:999px;background:#ffffffde;color:#a3563a;font-size:14px;font-weight:650;white-space:nowrap;box-shadow:0 2px 7px #7f523506}.header-family-switch:hover{background:#fff8f1}.header-family-switch>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.header-family-switch>.ui-icon{width:17px;height:17px;flex:0 0 17px}.header-family-switch>.ui-icon:last-child{width:12px;height:12px;flex-basis:12px;margin-left:1px}.header-family-menu{position:absolute;top:calc(100% + 9px);left:0;z-index:60;width:200px;max-width:calc(100vw - 32px);padding:6px;border:1px solid #ead9ca;border-radius:15px;background:#fffdfb;box-shadow:0 13px 32px #70432d23}.header-family-menu>button{display:flex;align-items:center;gap:8px;width:100%;padding:10px 8px;border:0;border-radius:9px;background:transparent;color:#78543c;text-align:left}.header-family-menu>button:hover,.header-family-menu>button[aria-checked=true]{background:#fff0e6}.header-family-menu>button>span:first-child{width:14px;flex:0 0 14px;color:#b75537}.header-family-menu>button>span:last-child{display:grid;gap:3px;min-width:0}.header-family-menu strong{color:#65432f;font-size:13px;overflow-wrap:anywhere}.header-family-menu small{color:#9a7c69;font-size:11px}@media (max-width: 767px){.global-header-row{padding:6px 2px 8px}.global-header-row .brand-lockup{gap:8px}.global-header-row .brand-dot{width:36px;height:36px;flex-basis:36px}.global-header-row .header-identity{gap:7px}.global-header-row .header-identity>strong{font-size:14px}.header-family{max-width:124px;min-width:70px}.header-family-switch{padding:7px 9px;font-size:12px}.header-family-switch>.ui-icon{width:14px;height:14px;flex-basis:14px}}@media (max-width: 480px){.global-header-row{gap:5px}.global-header-row .brand-lockup,.global-header-row .header-identity{gap:4px}.global-header-row .brand-dot{width:29px;height:29px;flex-basis:29px}.global-header-row .header-identity>strong{font-size:13px}.header-family{max-width:99px}.header-family-switch{padding:6px 7px;font-size:11px}}@media (max-width: 355px){.global-header-row .brand-dot{width:26px;height:26px;flex-basis:26px}.global-header-row .header-identity>strong{font-size:12px}.header-family{max-width:87px}}.account-card{background:linear-gradient(145deg,#fffdfb,#fff3e6);border:1px solid #ecdbcc;border-radius:26px;padding:26px;margin:20px auto;max-width:1000px;box-shadow:0 12px 40px #985d3210}.account-card h1,.account-card h2{color:#52311d}.account-card button,.family-management button,.export-panel button{min-height:40px;cursor:pointer;border:1px solid #e4cdbc;border-radius:12px;background:#fff9f3;padding:9px 14px;color:#83583d;font-weight:600}.account-card input:not([type=checkbox]),.account-card select,.family-management input:not([type=checkbox]),.family-management select,.export-panel input,.export-panel select{width:100%;padding:11px;border:1px solid #e2cebc;border-radius:11px;background:#fffdfb;color:#60432f;min-width:0;max-width:100%;min-height:44px}.account-card label,.family-management label,.export-panel label{display:flex;flex-direction:column;gap:7px;margin:12px 0;color:#71513b;min-width:0}.account-card form,.family-management form{margin:18px 0}.account-card small,.family-management small{color:#98765c;line-height:1.6}.login-card{max-width:440px;margin:8vh auto 24px}.auth-methods{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 8px}.auth-methods button{flex:1}.auth-methods button[aria-pressed=true]{background:#f3dbc7;border-color:#bd8059;color:#693b23}.auth-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.auth-code-row>button{margin-bottom:12px;min-height:44px;white-space:nowrap}.auth-code-form .field-hint,.login-card>.field-hint{font-size:.85rem;line-height:1.7;overflow-wrap:anywhere}.auth-code-form>.wide-button{width:100%;min-height:46px}.auth-binding{border-top:1px solid #ecdece;margin-top:16px}.account-security h4{margin-top:0}.account-security .field-hint{line-height:1.7}.account-mark{display:grid;place-items:center;width:70px;height:70px;margin-bottom:12px;border-radius:24px;background:#f9e9d8}.journal-mark{display:block;width:100%;height:100%;object-fit:contain}.account-card .primary-button,.family-management .primary-button,.export-panel .primary-button{background:#a94f31;color:#fff;border-color:#a94f31}.account-card button:disabled,.family-management button:disabled,.export-panel button:disabled{opacity:.5;cursor:default}.permission-note{background:#fbefd5;color:#7d6037;padding:12px 16px;border-radius:12px;line-height:1.6}.account-error,.account-success{padding:12px 16px;border-radius:12px;line-height:1.6;overflow-wrap:anywhere}.account-error{color:#a34432;background:#fff0ea}.account-success{color:#48765c;background:#e9f6ed}.family-management{display:grid;gap:16px;position:relative;z-index:1}.family-management .panel{margin:0}.family-panel .panel-title{align-items:center}.role-chip{color:#94613f;background:#fae9d6;border-radius:20px;font-size:.78rem;padding:5px 12px}.member-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid #efe1d4}.member-row>span{display:grid;gap:4px}.member-actions,.inline-account-actions,.empty-pet-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.member-actions select,.inline-account-actions select{width:auto;flex:1}.member-actions{flex:1;min-width:180px}.member-actions button{font-size:.78rem}.invite-area{padding-top:12px}.invite-area h4{margin:12px 0;color:#69442c}.invite-code{margin-top:12px;background:#fff5e8;padding:14px;border-radius:15px}.invite-code input{font-size:.78rem}.family-join,.profile-settings,.admin-policy-section{margin-top:18px}.family-join summary,.profile-settings summary,.admin-policy-section summary{cursor:pointer;color:#865737;font-weight:600}.family-join{border-top:1px solid #ecdece;padding-top:16px}.export-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.export-panel{color:#68472f}.export-panel>.field-hint{line-height:1.7}.export-jobs{margin-top:24px}.export-jobs>h3{color:#593a26;font-size:1rem}.export-row{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid #eee0d3}.export-row>div:first-child{flex:1;min-width:200px}.export-row strong{font-size:.9rem}.export-row p{margin:6px 0;font-size:.85rem}.export-row small{color:#9d7d62;font-size:.75rem}.export-job-actions{display:flex;gap:8px;flex-wrap:wrap}.retention-warning{border:1px solid #eab99a;border-left:4px solid #bf643f;padding:16px;border-radius:16px;margin-bottom:18px;background:linear-gradient(135deg,#fff0df,#fff9ed)}.retention-warning h3{color:#9d472d;margin:0 0 10px;font-size:1rem}.retention-warning p{font-size:.85rem;line-height:1.65;margin:7px 0}.retention-warning.acknowledged{border-color:#c5d6b8;background:#f3f6eb}.retention-warning.acknowledged h3{color:#628060}@media (max-width: 480px){.export-filters{grid-template-columns:minmax(0,1fr)}.login-card{margin:24px 14px}}.family-tools{margin-top:14px;border-top:1px solid #efe0d2;padding-top:14px}.family-tools>summary{cursor:pointer;color:#8a5738;font-weight:600;padding:5px 0}.family-panel>.field-hint{margin-bottom:0}.admin-policy-section>summary{padding:10px 0;min-height:44px}.family-management .admin-policy{display:grid;gap:20px;min-width:0;margin-top:12px}.admin-policy-intro,.admin-policy-readiness,.admin-verification{display:grid;gap:10px;min-width:0}.admin-policy h2{margin:0;font-size:1.05rem}.admin-policy p{margin:0;line-height:1.7;font-size:.85rem;overflow-wrap:anywhere}.family-management .admin-policy label{margin:0;gap:8px}.admin-verification-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}.admin-verification-row>button{min-height:48px;white-space:nowrap}.family-management .admin-policy .admin-policy-toggle{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;cursor:pointer}.admin-policy .admin-policy-toggle input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;min-height:20px;padding:0;margin:0;accent-color:#a94f31}.admin-policy-actions{display:flex;flex-wrap:wrap;gap:12px}.admin-policy-actions>button{flex:1 1 150px;min-height:44px;white-space:nowrap}@media (max-width: 480px){.admin-verification-row{grid-template-columns:minmax(0,1fr)}.admin-policy-actions{flex-direction:column}.admin-policy-actions>button{flex:auto;width:100%}}.management-section{margin:24px 0 30px}.management-section>.panel-title{margin:0}.management-section>.panel-title h3{margin:0}.household-list,.family-choice-list{display:grid;gap:12px}.household-item{display:flex;align-items:center;gap:12px;border:1px solid #eee0d3;border-radius:20px;padding:12px;min-width:0}.household-item.active{background:linear-gradient(115deg,#ffe9d6,#fff5ec);border-color:transparent}.family-management .household-switch{display:flex;align-items:center;gap:12px;text-align:left;flex:1;min-width:0;padding:0;background:transparent;border:0}.household-switch>span:last-child,.family-choice-list button>span:nth-child(2){display:grid;gap:4px;min-width:0}.household-switch strong{overflow-wrap:anywhere}.household-avatar{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;background:#f2dcc6;border-radius:16px;color:#9d6545;font-size:1.7rem}.family-management .household-manage{flex:0 0 auto;background:#fffaf5}.family-panel .field-hint{margin:16px 0 0;line-height:1.7}.family-management .select-control{display:flex;align-items:center;justify-content:space-between;height:48px;min-height:48px;margin:0;padding:11px 16px;background:#fff;text-align:left;font-size:16px}.family-management .invite-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.invite-actions>button{height:48px;margin:0;white-space:nowrap}.member-actions>.select-control{flex:1;min-width:140px}.family-sheet form{margin:0}.family-sheet section+section{border-top:1px solid #ecdece;padding-top:18px}.family-sheet .panel-title{margin-bottom:4px}.family-sheet h3{font-size:1rem;margin:0 0 12px}.family-management .family-choice-list>button{display:flex;align-items:center;gap:14px;text-align:left;padding:18px 14px;background:#fff9f2}.family-choice-list button>span:last-child{margin-left:auto}.family-choice-list strong{display:block;color:#69452e;font-size:1rem}.family-choice-list small{font-weight:400}.family-management .sheet-back{border:0;background:transparent;padding-left:0;text-align:left;justify-self:start}.account-profile-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-profile-name{display:grid;gap:4px;overflow-wrap:anywhere;min-width:0}.family-management .logout-button{display:block;width:100%;margin-top:22px;background:transparent}.export-panel .select-control{padding-right:16px;background:#fff;text-align:left;font-size:16px}.family-management .sheet-close{width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:#f5ece3}.household-quota{margin:-5px 0 0;color:#9b7b63;font-size:.8rem;line-height:1.7}@media (max-width: 380px){.household-item{flex-wrap:wrap;gap:10px}.family-management .household-switch{flex-basis:100%}.family-management .household-manage{margin-left:auto}}:root{font-family:Nunito,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;line-height:1.5;font-weight:400;color:#533422;background:#fffaf6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html{min-width:320px;background:#fff8f3}body{margin:0;min-width:320px;min-height:100vh;display:flex;flex-direction:column}button,input,select,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}#root{flex:1}.site-footer{padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));text-align:center;font-size:12px;line-height:1.5;color:#71513b}.site-footer a{color:inherit;text-decoration:none}.site-footer a:hover{text-decoration:underline}.site-footer a:focus-visible{outline:2px solid currentColor;outline-offset:4px}.limited-field{display:grid;gap:6px;min-width:0;width:100%}.length-feedback{display:flex;justify-content:space-between;align-items:start;gap:10px;min-height:17px;font-size:12px;line-height:1.4;color:#94765f;font-weight:400}.length-feedback>:last-child{margin-left:auto;white-space:nowrap}.length-feedback.length-invalid{color:#a34432}.limited-field [aria-invalid=true]{border-color:#ba5a43!important}
