/* A: soft grouped cards, independent side controls, compact values. */
.appearance-a{display:grid;gap:16px;min-width:0;padding-bottom:12px;color:var(--device-panel-ink,#293443)}
.appearance-a h3,.appearance-a h4{margin:0;font-size:14px;font-weight:600}
.appearance-background-card,.bubble-side-card,.bubble-advanced,.device-theme-editor{border-radius:18px;background:var(--device-panel,#fff);border:1px solid var(--device-line,#e8edf4);box-shadow:0 3px 12px #24334b05}
.appearance-background-card{display:grid;gap:14px;padding:14px}.appearance-background-row{display:flex;align-items:center;gap:14px}
.appearance-background-thumb{flex:none;width:88px;height:72px;border-radius:12px;background-size:cover;background-position:center;border:1px solid var(--device-line,#e8edf4)}
.appearance-background-buttons{display:flex;flex-wrap:wrap;gap:8px}.appearance-background-buttons button{min-height:44px;padding:0 12px;border:1px solid var(--device-line,#e8edf4);border-radius:12px;background:var(--device-soft,#f3f6fb);color:inherit;font:13px inherit}
.appearance-a .device-theme-editor{padding:0;border:0;background:transparent;box-shadow:none;gap:12px}
.appearance-a .device-theme-editor>h3,.appearance-a .device-theme-editor>p,.appearance-a .device-theme-actions,.appearance-a .device-theme-sample{display:none}
.appearance-bg-options{font-size:12px}.appearance-bg-options>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--device-muted,#8792a2)}
.appearance-a .device-theme-mask{margin:0}.appearance-a input[type=range]{min-height:44px;padding:0;accent-color:var(--device-accent,#7d9fcf);background:transparent;border:0;box-shadow:none}
.appearance-a .device-theme-mask output{font-size:12px;color:var(--device-muted,#8792a2)}.appearance-a .device-theme-mask small{font-size:10px;line-height:1.5}
.appearance-background-buttons input[type=file][hidden],.device-theme-global-image input[type=file][hidden]{display:none!important}
.appearance-a .device-theme-mask output{grid-column:2;grid-row:1}
.device-theme-global-image .appearance-background-thumb{display:grid;place-items:center;overflow:hidden;background:var(--device-bg,#f2f5fc)}
.device-theme-global-image .appearance-background-thumb img{width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0}
.appearance-current-preview{display:grid;gap:10px}.appearance-current-preview>.bubble-theme-preview{max-height:220px;overflow:auto;border-radius:18px;border-color:var(--device-line,#e8edf4);padding:14px;font-size:12px}
.appearance-a .bubble-theme-editor{padding:0;border:0;gap:12px}.appearance-a .bubble-theme-editor>h3,.appearance-a .bubble-theme-editor>p:not([role=status]),.appearance-a .bubble-theme-actions{display:none}
.bubble-side-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bubble-side-card{display:grid;justify-items:center;gap:10px;padding:12px;min-width:0}.bubble-side-card h4{justify-self:start}
.bubble-mode-segments{display:flex;gap:2px;width:100%;padding:2px;border-radius:10px;background:var(--device-soft,#f4f6fb)}
.bubble-mode-segments button{min-width:0;flex:1;min-height:44px;padding:0 2px;border:0;border-radius:8px;background:transparent;color:var(--device-muted,#8a94a4);font-family:inherit;font-size:11px}
.bubble-mode-segments button[aria-pressed=true]{background:var(--device-panel,#fff);color:var(--device-panel-ink,#293443);box-shadow:0 1px 4px #2934430a;outline:none}
.bubble-color-ring{position:relative;width:124px;height:124px;display:grid;place-items:center}
.bubble-current-color{width:58px;height:58px;border-radius:50%;border:4px solid var(--device-panel,#fff);box-shadow:0 0 0 1px var(--device-line,#e8edf4);overflow:hidden;cursor:pointer}
.bubble-current-color input[type=color]{display:block;width:100%;height:100%;min-height:0;padding:0;border:0;opacity:0;cursor:pointer}
.bubble-palette-dot{position:absolute;left:50%;top:50%;width:44px;height:44px;min-height:44px!important;padding:0;border:0;border-radius:50%;background:transparent;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-46px) rotate(calc(-1 * var(--angle)));cursor:pointer}
.bubble-palette-dot::before{content:'';display:block;width:13px;height:13px;margin:auto;border-radius:50%;background:var(--dot-color);border:1px solid #00000008}
.appearance-a .bubble-color-ring .bubble-palette-dot,.device-theme-editor[data-scope=global] .bubble-palette-dot{background:transparent;border:0;box-shadow:none;padding:0;border-radius:50%}
.appearance-a .bubble-side-card,.appearance-a .appearance-background-card,.appearance-a .bubble-advanced{background:var(--device-panel,#fff)}
.appearance-a .bubble-mode-segments button{background:transparent;color:var(--device-muted,#8a94a4);padding:0 2px}
.appearance-a .bubble-mode-segments button[aria-pressed=true]{background:var(--device-panel,#fff);color:var(--device-panel-ink,#293443)}
.appearance-a .appearance-page-actions .appearance-page-save{background:var(--device-accent,#8baed7);color:var(--device-button-ink,#fff)}
.bubble-side-card .bubble-compact-hex{width:108px;max-width:100%;min-height:36px;height:36px;padding:6px 8px;border-radius:10px;text-align:center;font:12px/1.2 ui-monospace,monospace;background:var(--device-soft,#f5f7fb);color:var(--device-panel-ink,#293443);border:1px solid var(--device-line,#e8edf4)}
.bubble-compact-range{display:grid;grid-template-columns:1fr auto;align-items:center;width:100%;font-size:11px;color:var(--device-muted,#8792a2)}.bubble-compact-range input{grid-column:1/-1;width:100%}.bubble-compact-range output{grid-column:2;grid-row:1;font:11px ui-monospace,monospace}
.bubble-basic-legacy{display:none!important}
.bubble-advanced{padding:0 14px}.bubble-advanced>summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font-size:12px}
.bubble-advanced>select{margin:0 0 12px;background:var(--device-soft,#f5f7fb);color:inherit;font-size:12px;border-radius:10px}
.bubble-advanced .bubble-theme-controls{padding-bottom:14px;gap:12px}.bubble-advanced label{font-size:11px;color:var(--device-muted,#8792a2)}
.bubble-advanced input[type=number]{width:64px;min-height:36px;padding:6px 8px;border-radius:10px;font-size:12px}
.bubble-advanced input[type=text],.bubble-advanced input:not([type]){min-height:36px;padding:6px 8px;border-radius:10px;font-size:12px}
.bubble-advanced output{font-size:11px;color:var(--device-muted,#8792a2)}
.appearance-page-status{min-height:18px;margin:0;font-size:12px;color:var(--device-muted,#8792a2)}
.appearance-page-actions{position:sticky;bottom:0;z-index:5;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 0 max(12px,env(safe-area-inset-bottom));background:var(--device-bg,#f3f5f9)}
.appearance-page-actions button{min-height:44px;padding:10px;border:0;border-radius:14px;font:14px inherit;background:var(--device-soft,#e8edf5);color:var(--device-panel-ink,#293443)}.appearance-page-actions .appearance-page-save{background:var(--device-accent,#8baed7);color:var(--device-button-ink,#fff)}
.device-theme-editor[data-scope=global]{padding:14px;gap:16px}.device-theme-editor[data-scope=global] .device-theme-fields{gap:8px}
.device-theme-tone-card{display:grid;justify-items:center;gap:10px;padding:12px;border-radius:18px;background:var(--device-panel,#fff);border:1px solid var(--device-line,#e8edf4);min-width:0}.device-theme-tone-card h4{font-size:13px;margin:0;justify-self:start}.device-theme-tone-card>label{min-width:0}.device-theme-tone-card input[type=text]{width:108px;max-width:100%;height:36px;min-height:36px;padding:6px 8px;border-radius:10px;text-align:center;font:12px ui-monospace,monospace;background:var(--device-soft,#f5f7fb)}
.device-theme-editor[data-scope=global] .device-theme-actions{position:sticky;bottom:0;padding:10px 0 max(10px,env(safe-area-inset-bottom));background:var(--device-panel,#fff)}
.device-theme-editor[data-scope=global] .device-theme-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.device-theme-editor[data-scope=global] .device-theme-actions .device-theme-save{grid-column:2;grid-row:1}
.device-theme-editor[data-scope=global] .device-theme-actions button:not(.device-theme-save){grid-column:1;grid-row:1}
@media(max-width:350px){.appearance-a{gap:14px}.bubble-side-card{padding:10px}.bubble-color-ring{width:112px;height:112px}.bubble-palette-dot{transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-42px) rotate(calc(-1 * var(--angle)))}.device-theme-editor[data-scope=global] .device-theme-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.device-theme-tone-card{padding:8px}}

/* Frozen simple theme: native data, permissions and custom chat colors stay authoritative. */
html[data-device-theme="off"]{--home-bg:#f5f6fa;--home-panel:#fff;--home-soft:#f1f3f7;--home-text:#25323d;--home-muted:#8a919a;--home-accent:#388db0;--home-line:#edf0f3;--chat-ink:#25323d;--chat-muted:#8a919a;--chat-panel:#fff;--chat-accent:#388db0}
body[data-section-view="chat"] .hub{background:var(--home-panel)}
body[data-section-view="chat"] .hub-header{min-height:64px;padding-block:8px 4px}
body[data-section-view="chat"] .hub-search-wrap{padding:4px 18px 12px;background:var(--home-panel)}
body[data-section-view="chat"] #hub-search{height:36px;text-align:center;background:var(--home-soft);border:0;border-radius:8px}
body[data-section-view="chat"] #hub-search:not(:placeholder-shown){text-align:left}
body[data-section-view="chat"] .hub-content:has(>.conversation-list){background:var(--home-panel)}
body[data-section-view="chat"] .conversation-row{min-height:70px;gap:12px;border-radius:0;background:transparent;box-shadow:none}
body[data-section-view="chat"] .conversation-meta{align-self:start;margin-top:8px}
@media(max-width:360px){body[data-section-view="chat"] .conversation-row{min-height:68px}}
html[data-ui-theme="simple"] .pair-review[data-page]{box-sizing:border-box;width:min(100vw,520px);height:var(--app-viewport-height,100dvh);max-height:100dvh;max-width:100vw;padding:0;border:0;border-radius:0;background:var(--device-panel,var(--home-panel));color:var(--device-panel-ink,var(--home-text))}
html[data-ui-theme="simple"] .pair-review[data-page]>header{height:60px;min-height:60px;background:var(--device-panel,var(--home-panel));border:0}
html[data-ui-theme="simple"] .pair-review[data-page] .pair-content{display:flex;flex-direction:column;gap:0;padding:14px 20px 28px;background:var(--device-panel,var(--home-panel));overflow:auto;min-height:0}
html[data-ui-theme="simple"] .pair-review[data-page] .pair-hero{border:0;border-radius:18px;background:var(--device-soft,#f5f6fb);box-shadow:none;padding:22px 14px;margin:0 0 20px}
html[data-ui-theme="simple"] .pair-review[data-page] .pair-featured-memento{border:0;background:transparent;box-shadow:none}
html[data-ui-theme="simple"] .pair-review[data-page] .pair-numbers{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 20px}
html[data-ui-theme="simple"] .pair-review[data-page] .pair-number-card{background:transparent;border:0;padding:0;text-align:center;box-shadow:none}
.pair-days-button{display:grid;gap:5px;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:center}
html[data-ui-theme="simple"] .pair-review[data-page] .pair-number-card strong{font-size:28px;font-weight:400}html[data-ui-theme="simple"] .pair-review[data-page] .pair-number-card span{font-size:12px;color:var(--home-muted)}
html[data-ui-theme="simple"] .pair-review[data-page] .pair-activity{order:0;margin:0 0 22px;padding:0;background:transparent;border:0;box-shadow:none}
html[data-ui-theme="simple"] .pair-review[data-page] .pair-activity h3{font-size:13px;margin:4px 0 14px}html[data-ui-theme="simple"] .pair-review[data-page] .pair-line-chart{width:100%;max-height:180px;touch-action:pan-y}html[data-ui-theme="simple"] .pair-review[data-page] .pair-activity>.pair-muted{text-align:center;font-size:11px}
.pair-section-tabs{display:flex;gap:24px;margin:0 0 8px;border-bottom:1px solid var(--home-line)}
.pair-section-tabs button{padding:12px 0;border:0;border-radius:0;background:transparent;color:var(--home-muted);font:13px inherit}
.pair-section-tabs [aria-pressed=true]{color:var(--home-text);border-bottom:2px solid var(--home-accent)}
html[data-ui-theme="simple"] .pair-review[data-page] :is(.characters-entry,.pair-mementos){border:0;border-radius:0;background:transparent;box-shadow:none}
html[data-ui-theme="simple"] .pair-review[data-page] .pair-mementos{padding:16px 0;margin:0}.pair-memento-collection{display:flex;flex-direction:column}html[data-ui-theme="simple"] .pair-review[data-page] .pair-memento-item{display:flex;align-items:center;gap:12px;box-shadow:none;background:transparent;border:0;border-bottom:1px solid var(--home-line);padding:12px 0}.pair-memento-item img{width:44px;height:44px;object-fit:contain}.pair-memento-equip{margin-left:auto}
html[data-ui-theme="simple"] .pair-review[data-page] .pair-memento-status,html[data-ui-theme="simple"] .pair-review[data-page] .pair-memento-tagline{font-size:11px;text-align:center}html[data-ui-theme="simple"] .pair-review[data-page] .chat-settings-row small:empty{display:none}
html[data-ui-theme="simple"] .pair-review[data-page][data-page=menu] .chat-settings-row{grid-template-columns:minmax(0,1fr) auto 38px;min-height:56px;border-bottom:1px solid var(--home-line)}
html[data-ui-theme="simple"] .pair-review[data-page] :is(input,textarea,select):focus:not(:focus-visible),.composer :is(input,textarea):focus{outline:0;box-shadow:none}
html[data-ui-theme="simple"] .pair-review[data-page] :is(input,textarea,button,select):focus-visible,.pair-line-chart:focus-visible,.composer :is(input,textarea):focus-visible{outline:1px solid #87949e;outline-offset:2px;box-shadow:none}
.appearance-a [hidden]{display:none!important}.appearance-a{display:flex;flex-direction:column;gap:14px}.appearance-current-preview{order:-2}.simple-appearance-menu{order:-1;display:flex;flex-direction:column}.simple-appearance-menu button{min-height:56px;text-align:left;border:0;border-bottom:1px solid var(--home-line);background:transparent;color:inherit;font:14px inherit}
.appearance-a :is(.appearance-background-card,.bubble-side-card,.device-theme-editor,.bubble-theme-editor){border:0;border-radius:0;box-shadow:none;background:transparent;padding:0}
.appearance-a .appearance-bg-options,.appearance-a .composer-appearance-controls,.appearance-a .device-theme-status,.appearance-a .bubble-theme-editor>h3,.appearance-a .bubble-theme-editor>p:not([role=status]),.appearance-a .bubble-theme-actions,.appearance-a .bubble-advanced{display:none}
.bubble-target-tabs{display:flex;gap:24px;border-bottom:1px solid var(--home-line)}.bubble-target-tabs button{border:0;border-radius:0;padding:12px 0;background:transparent;color:var(--home-muted)}.bubble-target-tabs [aria-pressed=true]{color:var(--home-text);border-bottom:2px solid var(--home-accent)}
.appearance-a .bubble-side-cards{display:block}.appearance-a .bubble-side-card h4,.appearance-a .bubble-mode-segments{display:none}.appearance-a .bubble-color-ring{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;width:auto;height:auto;position:static;padding:12px 0}
.appearance-a .bubble-current-color{display:none}.appearance-a .bubble-palette-dot{position:static;transform:none;width:28px;height:28px;border-radius:5px;border:1px solid var(--home-line);background:var(--dot-color)}
.bubble-simple-controls{display:grid;gap:14px}.bubble-simple-controls>label{display:grid;grid-template-columns:1fr minmax(100px,45%);gap:8px;align-items:center;font-size:12px}.bubble-simple-controls input{min-width:0;max-width:100%}.bubble-simple-controls button{min-height:44px;border:0;border-bottom:1px solid var(--home-line);background:transparent;text-align:left;color:inherit;font:13px inherit}
.resident-workspace .rw-tabs button{border:0;border-radius:0;background:transparent}.resident-workspace .rw-tabs [aria-pressed=true]{background:transparent;color:var(--home-text);border-bottom:2px solid var(--home-accent)}

.simple-owner-picker{max-width:100%;min-height:44px;border:0;background:transparent;color:var(--home-text);font:14px inherit}.simple-schedule .schedule-datebar{display:flex;align-items:center;gap:8px;margin:8px 0 16px}.simple-schedule .schedule-date-trigger{padding:0;border:0;background:transparent;font-size:20px;font-family:inherit;color:var(--home-text);min-height:44px}.simple-schedule-summary{font-size:11px;color:var(--home-muted)}.simple-calendar-star{margin-left:auto;border:0;background:transparent;color:var(--home-accent);font-size:24px;min-width:44px;min-height:44px}.simple-month-calendar input{max-width:100%;font:14px inherit}.simple-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:14px 0}.simple-calendar-grid>*{display:grid;place-items:center;min-height:38px;border:0;background:transparent;color:var(--home-text);font:13px inherit}.simple-calendar-grid [aria-pressed=true]{background:var(--home-soft);color:var(--home-accent);border-radius:50%}.simple-schedule-tabs{display:flex;gap:24px;border-bottom:1px solid var(--home-line);margin-bottom:12px}.simple-schedule-tabs button{min-height:44px;border:0;background:transparent;color:var(--home-muted)}.simple-schedule-tabs [aria-pressed=true]{color:var(--home-text);border-bottom:2px solid var(--home-accent)}.simple-schedule .schedule-item-card{border:0;border-radius:0;box-shadow:none;background:transparent}.simple-schedule .schedule-item{padding-bottom:16px;border-bottom:1px solid var(--home-line)}.simple-schedule .schedule-rail{display:none}.simple-schedule .schedule-timeline{display:block}.simple-schedule .schedule-item{display:block}.simple-goals-title{display:flex;align-items:center;justify-content:space-between}.simple-goals-title h3{font-size:14px;font-weight:500}.simple-goals-title button{border:0;background:transparent;font-size:24px;min-height:44px;min-width:44px;color:var(--home-accent)}.simple-goal-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:64px;padding:10px 0;border-bottom:1px solid var(--home-line)}.simple-goal-row>span{flex:1;min-width:80px}.simple-goal-row progress{width:70px;height:5px;accent-color:var(--home-accent)}.simple-goal-row button{border:0;background:transparent;font-size:12px;font-family:inherit;color:var(--home-accent);min-height:44px}.simple-goal-form{display:grid;gap:14px;padding-block:20px}.simple-goal-form label{display:grid;gap:6px;font-size:12px}.simple-goal-form input,.simple-goal-form select{max-width:100%;min-width:0;min-height:40px;border:1px solid var(--home-line);background:var(--home-panel);color:var(--home-text);font:14px inherit}

body[data-finance-ui=true] .hub-header{display:none}body[data-finance-ui=true] .hub-content{padding:0;background:var(--home-panel)}.finance-home{min-height:100%;background:var(--home-panel)}.finance-home .finance-nav{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;background:var(--home-panel);border-top:1px solid var(--home-line);padding:8px 12px max(12px,env(safe-area-inset-bottom));z-index:2}.finance-home .finance-nav button{border:0;border-radius:0;background:transparent;min-height:44px;color:var(--home-muted)}.finance-home .finance-nav button[data-active=true]{background:transparent;color:var(--home-accent)}.yudao-home{--paper:var(--home-panel);--ink:var(--home-text);--muted:var(--home-muted);--line:var(--home-line);--accent:var(--home-accent);--time-track:var(--home-soft);padding:0 20px 24px}.simple-finance-header{display:flex;align-items:center;justify-content:space-between;height:64px;margin-bottom:16px}.simple-finance-header>button,.yudao-home .simple-finance-header>.wallet-button{width:48px;height:48px;min-width:48px;padding:0;border:0;border-radius:0;background:transparent;color:var(--home-text);font-size:24px}.yudao-home .budget{margin-top:22px}.yudao-home .money-button{display:flex;align-items:center;justify-content:center;gap:14px}.yudao-home .money{font-size:29px!important;margin:0!important;letter-spacing:0}.yudao-home .money small{font-size:20px!important}.simple-finance-accounts{padding:0 20px 24px}.account-total{padding:16px 0 24px}.account-total p{font-size:12px;color:var(--home-muted)}.account-total strong{font-size:30px;font-weight:400}.simple-account-detail{border-bottom:1px solid var(--home-line)}.simple-account-detail>summary{list-style:none;cursor:pointer}.simple-account-detail>summary::-webkit-details-marker{display:none}.simple-account-detail .finance-list-row{padding:18px 0;background:transparent;border:0;box-shadow:none}.simple-account-transaction{display:grid;grid-template-columns:1fr auto;gap:6px;padding:14px 0;font-size:12px}.simple-account-transaction time{grid-column:1;font-size:10px;color:var(--home-muted)}.simple-account-transaction b{grid-column:2;grid-row:1/3;align-self:center;font-weight:400}.simple-activity-open{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit;font:inherit}.simple-activity-detail{width:min(100vw,520px);height:100dvh;max-height:100dvh;max-width:100vw;box-sizing:border-box;margin:auto;padding:20px;border:0;border-radius:0;background:var(--home-panel);color:var(--home-text)}.simple-activity-detail>header{height:48px}.simple-activity-detail>header button{width:44px;height:44px;border:0;background:transparent;color:inherit;font-size:24px}.simple-activity-detail .schedule-item-card{padding:20px 0;background:transparent;border:0;box-shadow:none}.simple-activity-detail .schedule-item-detail{display:block;white-space:pre-wrap;font-size:14px;line-height:1.9;margin-top:20px}

.chat-wallpaper-layer{position:absolute;inset:0;background-size:cover;background-position:center;pointer-events:none;z-index:0}.chat-wallpaper-layer[hidden],body:not([data-screen=conversation]) .chat-wallpaper-layer{display:none!important}body[data-screen=conversation] .shell>#chat{position:relative;z-index:1;background-color:transparent!important}.appearance-current-preview .bubble-theme-preview{position:relative;isolation:isolate;background-image:none!important}.appearance-current-preview .bubble-theme-preview::before{content:'';position:absolute;inset:0;background-image:var(--preview-wallpaper-image);background-size:cover;background-position:center;opacity:var(--preview-wallpaper-opacity,1);z-index:-1;pointer-events:none}

html[data-ui-theme="simple"] body{font-family:system-ui,"Microsoft YaHei","PingFang SC",sans-serif}html[data-ui-theme="simple"] .pair-review[data-page]{font:14px/1.55 system-ui,"Microsoft YaHei",sans-serif}html[data-ui-theme="simple"] .pair-review[data-page]>header strong{font:500 15px system-ui,"Microsoft YaHei",sans-serif}html[data-ui-theme="simple"] .pair-review[data-page] .pair-relationship{border:0;background:transparent;box-shadow:none;padding:0}html[data-ui-theme="simple"] .pair-review[data-page] .pair-portrait{box-shadow:none;border:0;background:transparent}html[data-ui-theme="simple"] .pair-review[data-page] .pair-number-card{box-shadow:none!important;background:transparent!important}html[data-ui-theme="simple"] .pair-review[data-page] .pair-days-button{box-shadow:none;border:0;background:transparent}

html[data-ui-theme="simple"] .shell{font-family:system-ui,"Microsoft YaHei","PingFang SC",sans-serif}html[data-ui-theme="simple"] .hub-header h1{font-family:inherit}html[data-ui-theme="simple"] .conversation-copy strong{font:500 15px/1.5 system-ui,"Microsoft YaHei",sans-serif}html[data-ui-theme="simple"] .conversation-copy small{font-family:inherit}html[data-ui-theme="simple"] .pair-review[data-page] .pair-relationship{min-height:92px;grid-template-columns:48px minmax(0,1fr) 48px;gap:22px}html[data-ui-theme="simple"] .pair-review[data-page] .pair-hero{padding:20px 16px;min-height:132px;margin:0 0 25px}html[data-ui-theme="simple"] .pair-review[data-page] .pair-portrait .settings-avatar{width:48px;height:48px;border:0;box-shadow:none}html[data-ui-theme="simple"] .pair-review[data-page] .pair-numbers{margin:0 0 24px}html[data-ui-theme="simple"] .pair-review[data-page] .pair-numbers strong{font:400 28px/1.2 system-ui,sans-serif}.appearance-a .bubble-color-ring .bubble-palette-dot{position:static;transform:none;width:28px;height:28px;border-radius:5px;border:1px solid var(--home-line);background:var(--dot-color)}.appearance-a .appearance-page-save{background:var(--home-accent);color:#fff}.resident-memory-page{background:var(--device-panel,var(--home-panel))}body[data-section-view=schedule] .hub-header>div{visibility:hidden}body[data-section-view=schedule] .hub-header{height:60px;min-height:60px;grid-template-columns:42px 1fr auto;padding:8px 18px}.hub-header>.simple-owner-picker{grid-column:2;grid-row:1;justify-self:start;font-size:16px;font-weight:500}.simple-schedule .schedule-item-card{background:transparent!important}.simple-schedule .schedule-item{margin:0;padding:14px 0}.simple-schedule .schedule-item-heading{padding:0}.simple-schedule .schedule-item-card{padding:0}.simple-schedule .schedule-item-avatar{display:none}.simple-schedule .schedule-item-heading strong{font:500 14px/1.5 system-ui,sans-serif}

html[data-ui-theme="simple"] .pair-review[data-page] .pair-featured-memento{min-height:0;height:92px;max-height:92px}html[data-ui-theme="simple"] .pair-review[data-page] .pair-featured-memento img{max-height:80px;object-fit:contain}.appearance-a .bubble-color-ring .bubble-palette-dot{height:28px;min-height:28px}.appearance-a .bubble-target-tabs button:focus:not(:focus-visible){outline:none}

html[data-ui-theme="simple"] .device-theme-editor[data-scope=global] .device-theme-fields{display:none}html[data-ui-theme="simple"] .device-theme-editor[data-scope=global] .bubble-color-ring{display:none}

.simple-calendar-grid button{position:relative}.simple-calendar-grid button[data-has-activity=true]::after{content:"";position:absolute;bottom:2px;width:3px;height:3px;border-radius:50%;background:var(--home-accent)}.simple-calendar-grid button[data-marked=true]{font-weight:600;color:var(--home-accent)}

.simple-quiet-times{padding:16px 0;color:var(--home-muted);font-size:12px}.simple-quiet-times>summary{cursor:pointer;min-height:36px}

/* Chat controls hotfix: keep native header buttons above the wallpaper layer.
   Button HTML, glyphs, dimensions and click handlers remain the prior production implementation. */
body[data-screen="conversation"] .shell > .topbar{position:relative;z-index:1}
/* Approved prototype focus policy: pointer input has no emphasis frame.
   Text inputs match :focus-visible even on pointer focus, so gate the neutral hint on Tab. */
.composer :is(input,textarea):focus{outline:none!important;box-shadow:none}
.keyboard-navigation .composer :is(input,textarea):focus-visible{outline:1px solid #89919c!important;outline-offset:3px;box-shadow:none}

/* Schedule content panels must honor hidden even when legacy timeline rules use grid/block. */
.simple-schedule .schedule-timeline[hidden],.simple-schedule .schedule-owner-content[hidden]{display:none!important}
.simple-schedule .simple-schedule-tabs{display:flex;flex-wrap:nowrap;gap:24px}
.simple-schedule .simple-schedule-tabs>button{flex:0 0 auto}
.simple-schedule .schedule-perspectives{display:flex;flex-wrap:nowrap;overflow-x:auto}
body[data-section-view=schedule] .hub-header>div{visibility:visible}
.simple-schedule .schedule-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px}
.simple-schedule .schedule-item>.schedule-time{grid-column:1}
.simple-schedule .schedule-item>.schedule-item-card{grid-column:2}

.simple-schedule .important-date{margin:7px 0 14px;font-size:13px;color:var(--home-accent);line-height:1.6}
.important-day-dialog{border:0;padding:20px 22px 24px;border-radius:24px 24px 0 0;background:var(--home-panel);color:var(--home-text);width:100%;max-width:520px;max-height:90dvh;margin:auto auto 0;box-shadow:0 -5px 40px #263d5a14}
.important-day-dialog::backdrop{background:#202b3e38}.important-day-dialog .sheet-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.important-day-dialog h2{font-size:18px;margin:0;font-weight:500}.important-day-dialog .sheet-title button{border:0;background:transparent;color:inherit;width:44px;height:44px;font-size:24px}.important-day-dialog form{display:grid;gap:16px}.important-day-dialog label{display:grid;gap:8px;font-size:13px;color:var(--home-muted)}.important-day-dialog input{box-sizing:border-box;width:100%;border:1px solid #dfe5ee;border-radius:10px;padding:11px 12px;background:var(--home-panel);font:16px inherit;color:var(--home-text);min-height:46px}.important-day-dialog .form-actions{display:flex;gap:10px;margin-top:4px}.important-day-dialog .form-actions button{flex:1;min-height:44px;border:0;border-radius:10px;background:var(--home-accent);color:var(--home-panel);font:14px inherit}.important-day-dialog [role=status]{font-size:12px;line-height:1.6}
.schedule-ideas-content .rw-item{border:0;border-radius:0;background:transparent;padding:0}.schedule-idea-detail{padding:16px 0}.schedule-idea-detail>h2{margin:12px 0}.schedule-idea-detail>section{padding:18px 0;border-top:1px solid var(--home-line)}

.simple-schedule .schedule-item>.simple-activity-row{grid-column:1/-1;display:grid;grid-template-columns:48px minmax(0,1fr) 16px;gap:12px;align-items:start;width:100%;padding:0;border:0;border-radius:0;background:transparent;color:var(--home-text);text-align:left;font:inherit}
.simple-activity-row time{font-size:12px;color:var(--home-muted)}.simple-activity-row strong{font-size:14px;font-weight:500}.simple-activity-row p{margin:5px 0 0;font-size:12px;line-height:1.6;color:var(--home-muted)}.simple-activity-row small{font-size:11px;color:var(--home-muted)}.simple-activity-detail>header{display:flex;align-items:center;gap:10px}.simple-activity-detail>header strong{font-weight:500;font-size:16px}.simple-activity-detail>.detail-meta{font-size:12px;color:var(--home-muted)}.simple-activity-detail>h1{font-size:23px;font-weight:500;margin:18px 0}.simple-activity-detail>h2{font-size:16px;font-weight:500;margin:28px 0 12px}.activity-story,.activity-process{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9}.simple-activity-detail>details{margin-top:24px}.simple-activity-detail>details>summary{font-size:12px;color:var(--home-muted)}

.important-day-dialog input:focus{outline:none!important;box-shadow:none}.keyboard-navigation .important-day-dialog input:focus-visible{outline:1px solid #89919c!important;outline-offset:3px}

/* Schedule alone has a back-only header. Chat's title/status/navigation are untouched. */
body[data-section-view="schedule"] .hub-header > :not(#sidebar-open){display:none!important}
body[data-section-view="schedule"] .hub-header{grid-template-columns:44px;height:52px;min-height:52px}
.activity-artifact-reader pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.8 inherit}.activity-artifact-reader img{max-width:100%;height:auto}.activity-artifact-list{display:grid;gap:0}.activity-artifact-list button{min-height:48px;text-align:left;border:0;border-bottom:1px solid var(--home-line);background:transparent;color:inherit;font:14px inherit}

.simple-schedule .schedule-item :is(.activity-public-content,.simple-activity-row p){white-space:pre-wrap;overflow:visible;text-overflow:clip;display:block;-webkit-line-clamp:unset;max-height:none}

/* Public notes are distinct from optional direct messages. */
.simple-activity-row>div{min-width:0;flex:1}
.activity-inline{margin-top:8px;min-width:0}
.activity-inline>small{display:block;color:var(--home-muted);font-size:11px}
.activity-inline .activity-markdown{font-size:13px;font-weight:400;line-height:1.65;overflow-wrap:anywhere}
.activity-inline .activity-markdown>:first-child{margin-top:0}
.activity-inline .activity-markdown>:last-child{margin-bottom:0}
.activity-inline.is-collapsed .activity-markdown{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.activity-inline>button,.activity-output-link{font:inherit;font-size:12px;color:inherit;background:transparent;border:0;padding:4px 0;text-align:left}
.activity-inline button[hidden]{display:none}

.simple-schedule .schedule-item>.simple-activity-row{grid-template-columns:48px minmax(0,1fr)}
