.hearth-mcp-center{min-height:100%;color:#2c2521;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.hearth-mcp-shell{display:grid;gap:16px;padding:16px}.hearth-mcp-hero,.hearth-mcp-panel,.hearth-mcp-card,.hearth-mcp-metric,.hearth-mcp-event{border:1px solid rgba(126,94,72,.18);background:#fffaf4bd;box-shadow:0 18px 44px #5339261a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.hearth-mcp-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;min-height:132px;border-radius:22px;padding:22px}.hearth-mcp-eyebrow,.hearth-mcp-subtitle,.hearth-mcp-card-meta,.hearth-mcp-metric small{color:#78665a}.hearth-mcp-eyebrow{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.hearth-mcp-hero h1,.hearth-mcp-panel h2{margin:0;letter-spacing:0}.hearth-mcp-hero h1{font-size:30px;line-height:1.1}.hearth-mcp-subtitle{margin:8px 0 0;font-size:15px}.hearth-mcp-hero-actions,.hearth-mcp-card-actions{display:flex;flex-wrap:wrap;gap:8px}.hearth-mcp-button,.hearth-mcp-card-actions button{min-height:36px;border:1px solid rgba(105,76,56,.18);border-radius:12px;background:#ffffff94;color:#342822;padding:0 12px;font:inherit;cursor:pointer}.hearth-mcp-button-primary{background:#8f6b4d;color:#fffaf4}.hearth-mcp-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hearth-mcp-metric{display:grid;gap:4px;border-radius:18px;padding:14px}.hearth-mcp-metric span{color:#5f4b3e;font-size:12px;font-weight:700}.hearth-mcp-metric strong{font-size:24px;line-height:1}.hearth-mcp-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.hearth-mcp-panel{min-width:0;border-radius:20px;padding:14px}.hearth-mcp-events{grid-column:1 / -1}.hearth-mcp-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.hearth-mcp-panel h2{font-size:16px}.hearth-mcp-list{display:grid;gap:10px}.hearth-mcp-card{display:grid;gap:10px;border-radius:16px;padding:13px}.hearth-mcp-card-main{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.hearth-mcp-card-title{font-weight:750;line-height:1.25}.hearth-mcp-card-meta,.hearth-mcp-endpoint{overflow-wrap:anywhere;font-size:12px;line-height:1.45}.hearth-mcp-endpoint{color:#4d3b32}.hearth-mcp-status{flex:0 0 auto;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}.hearth-mcp-status-ready{background:#54876229;color:#3d6f4c}.hearth-mcp-status-failed{background:#b4514c24;color:#9c3f3b}.hearth-mcp-status-stale,.hearth-mcp-status-idle,.hearth-mcp-status-connecting{background:#b8884729;color:#8a6330}.hearth-mcp-status-off{background:#4a413a1a;color:#6f6259}.hearth-mcp-switch{display:inline-flex;align-items:center;gap:6px;min-height:34px;border:1px solid color-mix(in srgb,var(--kx-border, rgba(255, 226, 187, .18)) 82%,transparent);border-radius:999px;background:color-mix(in srgb,var(--kx-panel, rgba(255, 244, 226, .1)) 70%,transparent);color:#5e4b40;cursor:pointer;font-size:12px;font-weight:700;padding:0 10px;-webkit-user-select:none;user-select:none}.hearth-mcp-switch input{width:18px;height:18px;accent-color:#8f6b4d}.hearth-mcp-server-main>.hearth-mcp-switch,.hearth-mcp-tool-chip .hearth-mcp-switch,.hearth-mcp-modal-tool .hearth-mcp-switch{color:var(--kx-text-muted, rgba(255, 248, 238, .7))}.hearth-mcp-sheet .hearth-mcp-switch{color:#5e4b40}.hearth-mcp-event{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;border-radius:16px;padding:12px}.hearth-mcp-event-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:14px;background:#8f6b4d1f}.hearth-mcp-event p{margin:6px 0 0;color:#59463b;font-size:13px;line-height:1.45}.hearth-mcp-empty{border:1px dashed rgba(126,94,72,.25);border-radius:16px;color:#7f6b5e;padding:18px;text-align:center}@media(max-width:760px){.hearth-mcp-shell{padding:12px}.hearth-mcp-hero{align-items:stretch;flex-direction:column;min-height:auto;padding:18px}.hearth-mcp-summary,.hearth-mcp-grid{grid-template-columns:1fr}.hearth-mcp-events{grid-column:auto}}.hearth-mcp-cabinet{display:grid;gap:12px}.hearth-mcp-cabinet-head,.hearth-mcp-ability-card,.hearth-mcp-tool-card,.hearth-mcp-room-event,.hearth-mcp-empty{border:1px solid color-mix(in srgb,var(--kx-border, rgba(255, 226, 187, .18)) 82%,transparent);border-radius:16px;background:color-mix(in srgb,var(--kx-panel-soft, rgba(255, 244, 226, .08)) 78%,transparent)}.hearth-mcp-cabinet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:0;border-radius:0;background:transparent}.hearth-mcp-cabinet-head>div:first-child,.hearth-mcp-ability-card>div:nth-child(2),.hearth-mcp-tool-card>div,.hearth-mcp-room-event>div:nth-child(2){display:grid;min-width:0;gap:4px}.hearth-mcp-cabinet-head strong,.hearth-mcp-ability-card strong,.hearth-mcp-tool-card strong,.hearth-mcp-room-event strong{color:var(--kx-text-main, #fff8ee);font-size:.92rem}.hearth-mcp-cabinet-head span,.hearth-mcp-ability-card span,.hearth-mcp-ability-card small,.hearth-mcp-tool-card span,.hearth-mcp-room-event span{color:var(--kx-text-muted, rgba(255, 248, 238, .62));font-size:.72rem;line-height:1.45}.hearth-mcp-actions,.hearth-mcp-card-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.hearth-mcp-actions button,.hearth-mcp-card-controls button,.hearth-mcp-ability-card.add-card button{min-height:32px;border:1px solid var(--kx-border, rgba(255, 226, 187, .18));border-radius:999px;background:color-mix(in srgb,var(--kx-panel, rgba(255, 244, 226, .1)) 82%,transparent);color:var(--kx-text-main, #fff8ee);padding:0 12px;font:inherit;font-size:.74rem}.hearth-mcp-actions button.primary,.hearth-mcp-ability-card.add-card button{background:color-mix(in srgb,var(--kx-primary, #dcbda8) 28%,transparent);color:var(--kx-text-main, #fff8ee)}.hearth-mcp-ability-list,.hearth-mcp-tool-list,.hearth-mcp-event-list{display:grid;gap:10px}.hearth-mcp-ability-card,.hearth-mcp-room-event{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px}.hearth-mcp-ability-card.is-reserved{opacity:.82}.hearth-mcp-ability-card em{color:var(--kx-primary, #dcbda8);font-size:.72rem;font-style:normal;white-space:nowrap}.hearth-mcp-ability-icon{display:grid;width:34px;height:34px;place-items:center;border:1px solid color-mix(in srgb,var(--kx-primary, #dcbda8) 24%,transparent);border-radius:14px;background:color-mix(in srgb,var(--kx-primary, #dcbda8) 10%,transparent)}.hearth-mcp-card-controls label,.hearth-mcp-tool-card label{display:inline-flex;align-items:center;gap:6px;color:var(--kx-text-muted, rgba(255, 248, 238, .62));font-size:.72rem}.hearth-mcp-card-controls input,.hearth-mcp-tool-card input{accent-color:var(--kx-primary, #dcbda8)}.hearth-mcp-subsection{display:grid;gap:10px}.hearth-mcp-subsection-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--kx-text-main, #fff8ee)}.hearth-mcp-subsection-head strong{font-size:.86rem}.hearth-mcp-subsection-head span{color:var(--kx-text-muted, rgba(255, 248, 238, .62));font-size:.7rem}.hearth-mcp-tool-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px}.hearth-mcp-room-event{grid-template-columns:auto minmax(0,1fr)}.hearth-mcp-empty{color:var(--kx-text-muted, rgba(255, 248, 238, .62));padding:14px;text-align:center}@media(max-width:760px){.hearth-mcp-cabinet-head,.hearth-mcp-ability-card,.hearth-mcp-tool-card{align-items:stretch;grid-template-columns:auto minmax(0,1fr)}.hearth-mcp-cabinet-head,.hearth-mcp-tool-card{flex-direction:column}.hearth-mcp-card-controls{grid-column:1 / -1;justify-content:flex-start}}.hearth-mcp-section{display:grid;gap:10px}.hearth-mcp-section.is-secondary{margin-top:2px}.hearth-mcp-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.hearth-mcp-section-head>div{display:grid;gap:3px}.hearth-mcp-section-head strong{color:var(--kx-text-main, #fff8ee);font-size:.88rem}.hearth-mcp-section-head span{color:var(--kx-text-muted, rgba(255, 248, 238, .62));font-size:.72rem;line-height:1.45}.hearth-mcp-autonomy{scroll-margin-top:24px}.hearth-mcp-autonomy-list{display:grid}.hearth-mcp-autonomy-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:12px 2px;border:0;border-bottom:1px solid rgba(96,72,55,.08);background:transparent}.hearth-mcp-autonomy-row:last-child{border-bottom:0}.hearth-mcp-autonomy-row.is-disabled{opacity:.48}.hearth-mcp-autonomy-copy{display:grid;min-width:0;gap:2px}.hearth-mcp-autonomy-copy strong,.hearth-mcp-autonomy-copy small{overflow-wrap:anywhere}.hearth-mcp-autonomy-copy small,.hearth-mcp-autonomy-note{color:var(--hearth-text-muted, rgba(255, 248, 238, .56));font-size:.72rem;line-height:1.45}.hearth-mcp-autonomy-note{margin:0}.hearth-mcp-server-list,.hearth-mcp-tool-summary{display:grid;gap:10px}.hearth-mcp-server-card,.hearth-mcp-empty-server,.hearth-mcp-tool-chip{border:1px solid color-mix(in srgb,var(--kx-border, rgba(255, 226, 187, .18)) 82%,transparent);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.05),transparent),color-mix(in srgb,var(--kx-panel-soft, rgba(255, 244, 226, .08)) 82%,transparent);box-shadow:0 14px 32px #140c081f}.hearth-mcp-server-card{display:grid;gap:12px;padding:13px}.hearth-mcp-server-card.is-compact{cursor:pointer;gap:0;padding:11px 12px;transition:border-color .15s ease,background .15s ease,transform .15s ease;border:0;border-radius:0;background:transparent;box-shadow:none}.hearth-mcp-server-card.is-compact:active{transform:scale(.992)}.hearth-mcp-server-card.is-compact .hearth-mcp-server-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.hearth-mcp-server-card.is-compact .hearth-mcp-server-copy{gap:0}.hearth-mcp-server-card.is-compact .hearth-mcp-server-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hearth-mcp-server-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px}.hearth-mcp-server-copy{display:grid;min-width:0;gap:4px}.hearth-mcp-server-copy strong{color:var(--kx-text-main, #fff8ee);font-size:.95rem;line-height:1.2}.hearth-mcp-server-copy span,.hearth-mcp-server-copy small{color:var(--kx-text-muted, rgba(255, 248, 238, .62));font-size:.72rem;line-height:1.42}.hearth-mcp-server-copy small{overflow-wrap:anywhere;opacity:.78}.hearth-mcp-server-status{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:var(--kx-text-muted, rgba(255, 248, 238, .62));font-size:.72rem;line-height:1.35}.hearth-mcp-server-status em{color:color-mix(in srgb,var(--kx-primary, #dcbda8) 78%,white);font-style:normal}.hearth-mcp-status-pill{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 9px;font-size:.7rem;font-weight:800}.hearth-mcp-status-pill.is-ready{background:#589c6e2e;color:#95e1a9}.hearth-mcp-status-pill.is-failed{background:#d25c5c29;color:#ffb0a8}.hearth-mcp-status-pill.is-connecting,.hearth-mcp-status-pill.is-idle{background:#dcbda829;color:var(--kx-primary, #dcbda8)}.hearth-mcp-status-pill.is-off{background:#ffffff14;color:var(--kx-text-muted, rgba(255, 248, 238, .62))}.hearth-mcp-card-controls button:disabled,.hearth-mcp-sheet button:disabled{cursor:default;opacity:.52}.hearth-mcp-card-controls button.danger,.hearth-mcp-sheet-actions button.danger,.hearth-mcp-header-row button.ghost-danger{border-color:#e0797952;color:#ffc1bd}.hearth-mcp-empty-server{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:0;border-radius:0;background:transparent;box-shadow:none}.hearth-mcp-empty-server>div{display:grid;gap:4px}.hearth-mcp-empty-server strong{color:var(--kx-text-main, #fff8ee)}.hearth-mcp-empty-server span{color:var(--kx-text-muted, rgba(255, 248, 238, .62));font-size:.74rem;line-height:1.45}.hearth-mcp-empty-server button{min-height:34px;border:1px solid var(--kx-border, rgba(255, 226, 187, .18));border-radius:999px;background:color-mix(in srgb,var(--kx-primary, #dcbda8) 26%,transparent);color:var(--kx-text-main, #fff8ee);padding:0 13px}.hearth-mcp-tool-chip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px}.hearth-mcp-tool-chip>div{display:grid;min-width:0;gap:3px}.hearth-mcp-tool-chip strong{color:var(--kx-text-main, #fff8ee);font-size:.8rem}.hearth-mcp-tool-chip span{overflow-wrap:anywhere;color:var(--kx-text-muted, rgba(255, 248, 238, .62));font-size:.68rem;line-height:1.38}.hearth-mcp-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9000;background:#0a080775;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.hearth-mcp-sheet{position:fixed;left:max(10px,env(safe-area-inset-left,0px));right:max(10px,env(safe-area-inset-right,0px));bottom:max(10px,env(safe-area-inset-bottom,0px));z-index:9001;display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-width:520px;max-height:min(88dvh,760px);margin:0 auto;overflow:hidden;border:1px solid rgba(255,244,226,.7);border-radius:28px;background:linear-gradient(180deg,#fffcf6fa,#fff7ecf5),#fffaf3;box-shadow:0 26px 70px #1e120c57;color:#2e2824}.hearth-mcp-sheet-top,.hearth-mcp-sheet-actions{display:grid;align-items:center;gap:10px;padding:12px 14px}.hearth-mcp-sheet-top{grid-template-columns:48px minmax(0,1fr) 72px;border-bottom:1px solid rgba(96,72,55,.08);text-align:center}.hearth-mcp-sheet-top strong{font-size:1.05rem}.hearth-mcp-icon-button,.hearth-mcp-save-top,.hearth-mcp-sheet button,.hearth-mcp-segmented button{min-height:40px;border:1px solid rgba(96,72,55,.1);border-radius:16px;background:#ffffffb8;color:#342b25;font:inherit}.hearth-mcp-icon-button{width:48px;font-size:1.5rem;line-height:1}.hearth-mcp-save-top{color:#65513d;font-weight:700}.hearth-mcp-sheet-body{display:grid;gap:13px;overflow:auto;padding:14px;-webkit-overflow-scrolling:touch}.hearth-mcp-field{display:grid;gap:8px;color:#4b413a;font-size:.84rem;font-weight:700}.hearth-mcp-field input,.hearth-mcp-header-row input{width:100%;min-width:0;min-height:46px;border:1px solid rgba(96,72,55,.09);border-radius:15px;background:#ffffffb8;color:#2e2824;padding:0 13px;font:inherit;font-size:.95rem;outline:none}.hearth-mcp-field input::placeholder,.hearth-mcp-header-row input::placeholder{color:#50453e6b}.hearth-mcp-field small,.hearth-mcp-muted-note,.hearth-mcp-test-note{color:#39302a9e;font-size:.76rem;line-height:1.45}.hearth-mcp-form-card{display:grid;gap:12px;border:1px solid rgba(96,72,55,.09);border-radius:19px;background:#ffffff6b;padding:13px}.hearth-mcp-form-card.is-enable,.hearth-mcp-card-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.hearth-mcp-form-card strong{display:block;color:#2e2824;font-size:.9rem}.hearth-mcp-form-card span,.hearth-mcp-card-label{color:#39302a9e;font-size:.77rem;line-height:1.45}.hearth-mcp-card-row>div{display:grid;min-width:0;gap:3px}.hearth-mcp-card-row button,.hearth-mcp-sheet-actions button{flex:0 0 auto;padding:0 14px}.hearth-mcp-toggle{position:relative;display:inline-flex;flex:0 0 auto;width:52px;height:32px}.hearth-mcp-toggle input{position:absolute;opacity:0}.hearth-mcp-toggle span{width:100%;border-radius:999px;background:#50463e1f;transition:background .16s ease}.hearth-mcp-toggle span:after{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 4px 12px #2d221a2e;content:"";transition:transform .16s ease}.hearth-mcp-toggle input:checked+span{background:#c6ad86}.hearth-mcp-toggle input:checked+span:after{transform:translate(20px)}.hearth-mcp-segmented{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hearth-mcp-segmented button{min-width:0;font-size:.9rem}.hearth-mcp-segmented button.active{border-color:#99794e57;background:#c6ad8647;color:#3b2f23;font-weight:800}.hearth-mcp-test-result{display:grid;gap:4px;border-radius:15px;padding:10px 12px}.hearth-mcp-test-result strong{font-size:.82rem}.hearth-mcp-test-result span{font-size:.74rem;overflow-wrap:anywhere}.hearth-mcp-test-result details{min-width:0;max-width:100%;font-size:.72rem}.hearth-mcp-test-result summary{cursor:pointer;-webkit-user-select:none;user-select:none}.hearth-mcp-test-result pre{max-width:100%;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:.68rem/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.hearth-mcp-test-result.connecting{background:#c6ad862e}.hearth-mcp-test-result.success{background:#54966629}.hearth-mcp-test-result.failed{background:#de635e1f}.hearth-mcp-modal-tool-list,.hearth-mcp-header-list{display:grid;gap:9px}.hearth-mcp-modal-tool{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border-radius:15px;background:#ffffff8c;padding:10px}.hearth-mcp-modal-tool>div{display:grid;min-width:0;gap:3px}.hearth-mcp-modal-tool strong{font-size:.82rem}.hearth-mcp-modal-tool span{overflow-wrap:anywhere}.hearth-mcp-header-row{display:grid;grid-template-columns:auto minmax(0,.75fr) minmax(0,1fr) auto;align-items:center;gap:8px}.hearth-mcp-header-row input{min-height:40px;font-size:.82rem}.hearth-mcp-header-row button.ghost-danger{min-height:38px;padding:0 10px}.hearth-mcp-sheet-actions{grid-template-columns:1fr 1fr 1.25fr;border-top:1px solid rgba(96,72,55,.08);background:#fffcf6f0;padding-bottom:max(12px,env(safe-area-inset-bottom,12px))}.hearth-mcp-sheet-actions button.primary{border-color:#99794e57;background:#c6ad86;color:#fffaf3;font-weight:800}.hearth-mcp-sheet-actions button.danger{background:#ffeeeee0;color:#a75561}.hearth-mcp-sheet-actions button:not(.primary):not(.danger){background:#ffffffb8}@media(max-width:760px){.hearth-mcp-server-main{grid-template-columns:auto minmax(0,1fr) auto}.hearth-mcp-empty-server{align-items:stretch;flex-direction:column}.hearth-mcp-sheet{left:max(8px,env(safe-area-inset-left,0px));right:max(8px,env(safe-area-inset-right,0px));bottom:max(8px,env(safe-area-inset-bottom,0px));max-height:90dvh;border-radius:26px}.hearth-mcp-sheet-body{padding:13px}.hearth-mcp-header-row{grid-template-columns:auto minmax(0,1fr) auto}.hearth-mcp-header-row input[data-hearth-mcp-header-field=value]{grid-column:2 / -1}.hearth-mcp-card-row{align-items:stretch;flex-direction:column}.hearth-mcp-card-row button{width:100%}}.settings-route-shell[data-theme] .hearth-mcp-center,.hearth-mcp-portal{--hearth-text-primary: #302a24;--hearth-text-secondary: #625a50;--hearth-text-muted: #81776b;--hearth-text-soft: #9a8d7f;--hearth-success-text: #386f4a;--hearth-success-bg: rgba(76, 145, 96, .16);--hearth-failed-text: #9a433f;--hearth-failed-bg: rgba(202, 83, 78, .14);--hearth-pending-text: #745a34;--hearth-pending-bg: rgba(190, 152, 94, .18);color:var(--hearth-text-primary)}.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-cabinet-head strong,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-section-head strong,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-server-copy strong,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-tool-chip strong,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-room-event strong{color:var(--hearth-text-primary)}.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-cabinet-head span,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-section-head span,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-server-copy span,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-server-status,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-server-status>span:not(.hearth-mcp-status-pill),.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-tool-chip span,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-room-event span,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-empty,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-empty-server span{color:var(--hearth-text-secondary);opacity:1}.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-server-copy small,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-server-status em,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-muted-note,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-test-note{color:var(--hearth-text-muted);opacity:1}.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-server-copy small{opacity:1}.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-switch,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-server-main>.hearth-mcp-switch,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-tool-chip .hearth-mcp-switch{color:var(--hearth-text-secondary)}.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-card-controls button,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-actions button,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-empty-server button{color:var(--hearth-text-primary)}.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-status-pill.is-ready{background:var(--hearth-success-bg);color:var(--hearth-success-text)}.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-status-pill.is-failed{background:var(--hearth-failed-bg);color:var(--hearth-failed-text)}.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-status-pill.is-connecting,.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-status-pill.is-idle{background:var(--hearth-pending-bg);color:var(--hearth-pending-text)}.settings-route-shell[data-theme] .hearth-mcp-center .hearth-mcp-status-pill.is-off{background:#50463e1a;color:var(--hearth-text-muted)}.hearth-mcp-portal .hearth-mcp-sheet,.hearth-mcp-portal .hearth-mcp-sheet-body,.hearth-mcp-portal .hearth-mcp-form-card,.hearth-mcp-portal .hearth-mcp-field,.hearth-mcp-portal .hearth-mcp-modal-tool{color:var(--hearth-text-primary)}.hearth-mcp-portal .hearth-mcp-field small,.hearth-mcp-portal .hearth-mcp-muted-note,.hearth-mcp-portal .hearth-mcp-test-note,.hearth-mcp-portal .hearth-mcp-form-card span,.hearth-mcp-portal .hearth-mcp-card-label,.hearth-mcp-portal .hearth-mcp-modal-tool span,.hearth-mcp-portal .hearth-mcp-test-result span{color:var(--hearth-text-secondary);opacity:1}.hearth-mcp-portal .hearth-mcp-test-result.success strong{color:var(--hearth-success-text)}.hearth-mcp-portal .hearth-mcp-test-result.failed strong{color:var(--hearth-failed-text)}:root{--alan-release-sequence: 32;color:#f8efe4;background:#17120f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root:has(.cinema-shell[data-font-size=small]),:root:has(.cottage-chat-shell[data-font-size=small]){font-size:14px}:root:has(.cinema-shell[data-font-size=standard]),:root:has(.cottage-chat-shell[data-font-size=standard]){font-size:16px}:root:has(.cinema-shell[data-font-size=large]),:root:has(.cottage-chat-shell[data-font-size=large]){font-size:17.5px}*{box-sizing:border-box}html,body,#root{width:100%;max-width:100%}body{min-width:320px;margin:0;background-color:#17120f;overflow-x:hidden;touch-action:manipulation}*{scrollbar-width:none;scrollbar-color:color-mix(in srgb,var(--kx-muted, #8f7a62) 12%,transparent) transparent}*::-webkit-scrollbar{width:0;height:0}*::-webkit-scrollbar-track{background:transparent;border-radius:999px}*::-webkit-scrollbar-thumb{border:1px solid transparent;border-radius:999px;background:color-mix(in srgb,var(--kx-muted, #8f7a62) 12%,transparent);background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--kx-primary, #dcbda8) 22%,transparent);background-clip:padding-box}body:before{display:none}.app-switcher{position:fixed;right:18px;top:14px;z-index:80;display:flex;gap:8px;border:1px solid rgba(255,226,187,.18);border-radius:999px;background:#53352657;padding:5px;-webkit-backdrop-filter:blur(14px) saturate(1.08);backdrop-filter:blur(14px) saturate(1.08);box-shadow:0 14px 34px #2c1b122e}.app-switcher button{min-height:32px;border:0;border-radius:999px;color:#fff4e2a3;background:transparent;padding:0 13px;font-size:.78rem}.app-switcher button:hover,.app-switcher button.active{color:#fff7ec;background:#fff4e224}.cottage-route-switcher{position:fixed;top:0;left:0;right:0;z-index:90;display:flex;min-height:58px;align-items:center;justify-content:center;gap:14px;border-bottom:1px solid rgba(255,226,187,.16);background:linear-gradient(180deg,#261c16e6,#1e1612b8);padding:8px max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left));-webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12);box-shadow:none}.cottage-route-switcher button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:999px;color:#fff4e2a8;background:transparent;padding:0 13px;white-space:nowrap;font-size:.82rem;transition:color .16s ease,background .16s ease,border-color .16s ease}.cottage-route-switcher button svg{width:20px;height:20px}.cottage-route-switcher button:hover,.cottage-route-switcher button.active{border-color:#ffe2bb24;color:#fff8ee;background:#fff4e21c}.cottage-install-banner{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));z-index:120;display:flex;width:min(430px,calc(100vw - 28px));align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(255,226,187,.18);border-radius:8px;color:#fff8eee0;background:linear-gradient(135deg,#231a14eb,#130f0cdb),radial-gradient(circle at 12% 0%,rgba(220,189,168,.16),transparent 38%);padding:12px 12px 12px 14px;box-shadow:0 18px 44px #0000003d;-webkit-backdrop-filter:blur(16px) saturate(1.08);backdrop-filter:blur(16px) saturate(1.08)}.cottage-install-banner>div:first-child{display:grid;min-width:0;gap:3px}.cottage-install-banner strong{color:#fff8ee;font-size:.82rem;letter-spacing:.02em}.cottage-install-banner span{color:#fff8ee9e;font-size:.72rem;line-height:1.45}.cottage-install-actions{display:flex;flex:0 0 auto;gap:7px}.cottage-install-actions button{min-height:30px;border:1px solid rgba(255,226,187,.2);border-radius:999px;color:#fff8ee;background:#dcbda824;padding:0 11px;font-size:.72rem}.cottage-install-actions button:hover{border-color:#ffe2bb57;background:#dcbda838}.cottage-install-banner[data-theme=white-gold]{border-color:#95733f2e;color:#463729;background:linear-gradient(135deg,#fffdf7f0,#f8f2e7db),radial-gradient(circle at 12% 0%,rgba(181,152,105,.15),transparent 38%)}.cottage-install-banner[data-theme=white-gold] strong{color:#463729}.cottage-install-banner[data-theme=white-gold] span{color:#4637299e}.cottage-install-banner[data-theme=white-gold] .cottage-install-actions button{border-color:#95733f33;color:#463729;background:#b5986929}@media(max-width:520px){.cottage-install-banner{align-items:flex-start;flex-direction:column}.cottage-install-actions{width:100%;justify-content:flex-end}}.cottage-route-switcher[data-theme=white-gold]{border-color:#95733f29;background:linear-gradient(180deg,#fffdf7eb,#f6efe2b8);box-shadow:none}.cottage-route-switcher[data-theme=white-gold] button{border-color:#95733f1f;color:#463729ad;background:#ffffff6b}.cottage-route-switcher[data-theme=white-gold] button:hover,.cottage-route-switcher[data-theme=white-gold] button.active{border-color:#95733f47;color:#463729;background:#ddc49742}.cottage-route-switcher[data-theme=pink-mocha]{border-color:#e2dadc24;background:linear-gradient(180deg,#493734e6,#332823b8)}.cottage-route-switcher[data-theme=pink-mocha] button{border-color:#e2dadc1a;color:#f9ece8ad;background:#ffffff0b}.cottage-route-switcher[data-theme=pink-mocha] button:hover,.cottage-route-switcher[data-theme=pink-mocha] button.active{border-color:#e2dadc3d;color:#fff7f3;background:#b58c8c2e}button,textarea,input{font:inherit}button{cursor:pointer}@keyframes panelFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.cinema-shell{position:relative;overflow:hidden;width:100%;min-height:100svh;margin:0;padding:14px 0 28px}.room-background{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;overflow:hidden;background:#17120f}.room-background img{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;object-position:center center;pointer-events:none;-webkit-user-select:none;user-select:none}.room-background img.room-background-layer{transition:opacity 1.6s ease-in-out}.room-background-fill{z-index:0;object-fit:cover;opacity:0;filter:blur(24px) saturate(1.08);transform:scale(1.1)}.room-background-main{z-index:1;object-fit:cover}.room-background img.room-background-layer.is-visible{opacity:1}.room-background img.room-background-layer.is-hidden,.room-background.fit-cover .room-background-fill{opacity:0}.room-background.fit-cover .room-background-main{object-fit:cover}.room-background.fit-stage .room-background-main,.room-background.fit-contain .room-background-main{object-fit:contain}.room-background.fit-stage .room-background-fill,.room-background.fit-contain .room-background-fill,.room-background.fit-stage img.room-background-fill.room-background-layer.is-visible,.room-background.fit-contain img.room-background-fill.room-background-layer.is-visible{opacity:.72}.room-background.fit-stage .room-background-fill{filter:blur(30px) saturate(1.14) brightness(.92);transform:scale(1.16)}.room-background.fit-stage img.room-background-fill.room-background-layer.is-visible{opacity:.9}.room-background.fit-stage:after{background:linear-gradient(90deg,rgba(17,10,7,.18),transparent 18%,transparent 82%,rgba(17,10,7,.18)),linear-gradient(180deg,#110a070a,#110a0721),radial-gradient(circle at 50% 30%,rgba(255,231,190,.07),transparent 28%)}.room-background.fit-contain .room-background-fill,.room-background.fit-contain img.room-background-fill.room-background-layer.is-visible{opacity:.08}.room-background:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(180deg,#110a070a,#110a0729),radial-gradient(circle at 50% 30%,rgba(255,231,190,.08),transparent 26%);pointer-events:none}.cinema-light-veil{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3;pointer-events:none;background:#090706;animation:cinemaLightVeil 1.6s ease-in-out forwards}.cinema-light-map{position:fixed;top:50%;left:50%;z-index:4;width:max(100vw,56.25vh);height:max(100vh,177.77778vw);pointer-events:none;transform:translate(-50%,-50%)}.cinema-light-map.contain{width:min(100vw,56.25vh);height:min(100vh,177.77778vw)}.cinema-light-hotspot{position:absolute;left:10%;top:43%;width:25%;height:41%;border:0;border-radius:28px;background:transparent;pointer-events:auto}.cinema-light-marker{position:absolute;left:30%;top:calc(30% - 40px);display:flex;flex-direction:column;align-items:center;gap:7px;opacity:0;pointer-events:none;transform:translate(-50%,-50%) translateY(3px);transition:opacity .22s ease,transform .22s ease}.cinema-light-icon{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(255,237,208,.44);border-radius:999px;color:#fff8ecf5;background:#ffe6c030;box-shadow:0 0 25px #ffd9a340;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.cinema-light-label{width:max-content;border:1px solid rgba(255,237,208,.26);border-radius:999px;padding:5px 12px;color:#fff7eaf0;background:#2c1d1485;font-size:.76rem;line-height:1.2;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.cinema-light-hotspot:hover .cinema-light-marker,.cinema-light-hotspot:focus-visible .cinema-light-marker{opacity:1;transform:translate(-50%,-50%) translateY(0)}.cinema-light-hotspot:focus-visible{outline:1px solid rgba(255,232,194,.45);outline-offset:-2px}.cinema-shell-embedded{min-height:100dvh;overflow:hidden}.cinema-embedded-entry{position:fixed;z-index:22;right:clamp(18px,5vw,56px);bottom:calc(86px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:12px;max-width:min(520px,calc(100vw - 36px));border:1px solid rgba(255,244,226,.18);border-radius:24px;padding:12px;color:#fff8eee6;background:#1e130e7a;box-shadow:0 18px 44px #0000003d;-webkit-backdrop-filter:blur(12px) saturate(1.08);backdrop-filter:blur(12px) saturate(1.08)}.cinema-embedded-status{display:flex;align-items:center;gap:10px;min-width:0}.cinema-embedded-status svg{flex:0 0 auto}.cinema-embedded-status div{display:grid;gap:3px;min-width:0}.cinema-embedded-status strong,.cinema-embedded-status span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cinema-embedded-status strong{font-size:.95rem;font-weight:700}.cinema-embedded-status span{color:#fff8ee9e;font-size:.78rem}.cinema-embedded-enter{flex:0 0 auto;min-width:116px}@media(max-width:520px){.cinema-embedded-entry{right:18px;left:18px;bottom:calc(84px + env(safe-area-inset-bottom,0px));justify-content:space-between;border-radius:20px}.cinema-embedded-enter{min-width:104px}}@keyframes cinemaLightVeil{0%{opacity:0}46%,54%{opacity:.38}to{opacity:0}}.cinema-shell[data-font=soft],.cottage-chat-shell[data-font=soft]{font-family:Songti SC,SimSun,"Noto Serif CJK SC","Source Han Serif SC",serif}.cinema-shell[data-font-size=small],.cinema-shell[data-font-size=standard],.cinema-shell[data-font-size=large]{font-size:1rem}.cinema-shell[data-theme=white-gold]{color:#463729}.cinema-shell[data-theme=white-gold] .cinema-header,.cinema-shell[data-theme=white-gold] .settings-route-header,.cinema-shell[data-theme=white-gold] .settings-route-shell .ghost-panel,.cinema-shell[data-theme=white-gold] .settings-page-card{color:#463729;background:linear-gradient(135deg,#fffdf7d1,#efd3a842)}.cinema-shell[data-theme=pink-mocha] .cinema-header,.cinema-shell[data-theme=pink-mocha] .settings-route-header,.cinema-shell[data-theme=pink-mocha] .settings-route-shell .ghost-panel,.cinema-shell[data-theme=pink-mocha] .settings-page-card{color:#e2dadc;background:linear-gradient(135deg,#312a21d1,#b58c8c33)}.cinema-shell[data-theme=white-gold] .room-side-entry button,.cinema-shell[data-theme=white-gold] .settings-section,.cinema-shell[data-theme=white-gold] .settings-route-mark{border-color:#95733f38;color:#463729;background:#ffffff85}.cinema-shell[data-theme=white-gold] .settings-section-copy strong,.cinema-shell[data-theme=white-gold] .settings-route-header h1,.cinema-shell[data-theme=white-gold] .theme-orb-row button,.cinema-shell[data-theme=white-gold] .settings-switch,.cinema-shell[data-theme=white-gold] .settings-grid label{color:#463729}.cinema-shell[data-theme=white-gold] .settings-section-copy small,.cinema-shell[data-theme=white-gold] .settings-route-header h1 span,.cinema-shell[data-theme=white-gold] .settings-route-header p,.cinema-shell[data-theme=white-gold] .settings-hint,.cinema-shell[data-theme=white-gold] .settings-footer{color:#4637299e}.cinema-shell[data-theme=pink-mocha] .room-side-entry button{color:#e2dadc;background:#312a2194}.cinema-shell.labels-hidden .glass-action span,.cinema-shell.labels-hidden .talk-launcher span,.cinema-shell.labels-hidden .subtitle-pill span,.cinema-shell.labels-hidden .web-assist-button span{display:none}.panel-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;border:0;background:transparent;padding:0;cursor:default}.panel-backdrop.is-closing{pointer-events:none}.cinema-header{position:fixed;left:18px;top:72px;z-index:20;display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;max-width:min(360px,calc(100vw - 120px));margin-bottom:0;min-height:32px;padding:6px 12px;border:1px solid rgba(255,226,187,.18);border-radius:999px;background:linear-gradient(135deg,#ffffff29,#fff4e20f),#120d103d;-webkit-backdrop-filter:blur(16px) saturate(1.14);backdrop-filter:blur(16px) saturate(1.14);box-shadow:inset 0 1px #ffffff2e,0 10px 24px #1c120f1f}.cinema-header h1{max-width:100%;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;line-height:1;letter-spacing:0}.cinema-header h1 span{display:block;color:#f8efe4ad;font-size:.68rem;font-weight:500;margin-top:3px}.cinema-header-logo{width:15px;height:15px;color:currentColor;filter:drop-shadow(0 0 8px rgba(255,244,226,.2))}.eyebrow,.muted{margin:0;color:#f8efe4ad;font-size:.82rem}.header-mark{display:grid;width:46px;height:46px;place-items:center;border:1px solid rgba(255,226,187,.36);border-radius:999px;background:#fff4e21a}.header-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.cinema-header .header-mark{width:38px;height:38px;flex:0 0 auto}.header-settings{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(255,226,187,.26);border-radius:999px;color:#fff4e4;background:#fff4e214;transition:transform .16s ease,background .16s ease,border-color .16s ease}.header-settings:hover,.header-settings.active{transform:translateY(-1px);border-color:#ffe2bb7a;background:#ffd2972e}.room-side-entry{position:fixed;right:max(18px,calc((100vw - 1480px)/2 + 18px));top:14px;z-index:48;display:flex;gap:8px;transform:none}.room-side-entry button{display:grid;position:relative;width:40px;height:40px;place-items:center;border:1px solid rgba(255,226,187,.22);border-radius:999px;color:#fff4e2db;background:#66422f6b;-webkit-backdrop-filter:blur(14px) saturate(1.08);backdrop-filter:blur(14px) saturate(1.08);box-shadow:0 16px 38px #23150e33;transition:transform .16s ease,color .16s ease,background .16s ease,border-color .16s ease}.room-side-entry button:hover{border-color:#ffe2bb66;color:#fff8ef;background:#fff4e22e;transform:translateY(-1px)}.room-side-entry span{position:absolute;top:calc(100% + 8px);right:0;width:max-content;max-width:120px;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#fff4e2d1;background:#362218bd;padding:6px 10px;font-size:.72rem;opacity:0;pointer-events:none;transform:translateY(-4px);transition:opacity .15s ease,transform .15s ease}.room-side-entry button:hover span{opacity:1;transform:translateY(0)}.workspace{display:block;position:fixed;left:0;right:0;top:clamp(118px,13vh,198px);z-index:12;width:clamp(480px,64vw,760px);margin:0 auto;align-items:start}.visually-hidden-file{position:fixed;width:1px;height:1px;opacity:0;pointer-events:none}.player-column,.companion-column,.lower-grid{min-width:0}.projector-area{position:relative}.projector-area.player-floating:before{display:block;width:100%;aspect-ratio:16 / 9;content:""}.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}.tool-button,.primary-button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,226,187,.24);border-radius:8px;color:#fff4e4;background:#fff4e21a;padding:0 14px}.tool-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.screen-controls{position:static;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;width:max-content;max-width:min(860px,100%);margin:12px auto 0;padding:5px 7px;border:1px solid rgba(255,244,226,.28);border-radius:999px;background:#fff4e21a;-webkit-backdrop-filter:blur(10px) saturate(1.12);backdrop-filter:blur(10px) saturate(1.12);box-shadow:0 10px 24px #00000029}.control-panel-slot{position:relative;z-index:34;width:min(520px,calc(100vw - 44px));margin:0 auto}.icon-button{display:inline-grid;width:34px;height:34px;place-items:center;border:1px solid rgba(255,244,226,.28);border-radius:999px;color:#fff4e4;background:#fff4e21f;transition:transform .16s ease,border-color .16s ease,background .16s ease}.icon-button:hover,.icon-button.active{transform:translateY(-1px);border-color:#ffe2bb80;background:#ffd29738}.icon-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.icon-button:disabled{cursor:not-allowed;opacity:.45}.watch-prompt-button{position:relative}.watch-prompt-tooltip{position:absolute;left:50%;bottom:calc(100% + 8px);z-index:20;min-width:max-content;max-width:160px;transform:translate(-50%,4px);border:1px solid rgba(255,244,226,.24);border-radius:999px;background:#2a1810b8;color:#fff4e4;padding:5px 9px;font-size:.72rem;line-height:1.2;opacity:0;pointer-events:none;white-space:nowrap;-webkit-backdrop-filter:blur(12px) saturate(1.1);backdrop-filter:blur(12px) saturate(1.1);transition:opacity .16s ease,transform .16s ease}.watch-prompt-button:hover .watch-prompt-tooltip,.watch-prompt-button:focus-visible .watch-prompt-tooltip{opacity:1;transform:translate(-50%)}.control-divider{width:1px;align-self:stretch;min-height:24px;margin:5px 2px;background:#fff4e22e}.tool-button:disabled,.primary-button:disabled{cursor:not-allowed;opacity:.48}.primary-button{width:100%;border-color:#ffc97a85;background:linear-gradient(135deg,#c98547,#8e5840)}.video-stage{position:relative;overflow:hidden;width:100%;aspect-ratio:16 / 9;border:1px solid rgba(255,226,187,.28);border-radius:8px;background:#050505;box-shadow:0 14px 36px #00000042}.video-stage.empty{border-color:transparent;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.player-corner-controls{position:absolute;right:12px;top:12px;z-index:8;display:flex;gap:8px;opacity:0;transition:opacity .18s ease}.player-corner-controls .compact-soft-button{height:34px}.video-stage:hover .player-corner-controls,.video-stage:focus-within .player-corner-controls{opacity:1}.video-stage.web-active .player-corner-controls{opacity:1}.video-stage.web-active .player-corner-controls .icon-button,.video-stage.web-active .player-corner-controls .compact-soft-button{border-color:#ffffff80;color:#fffaf2;background:#16100dd1;box-shadow:0 10px 24px #00000059;-webkit-backdrop-filter:blur(10px) saturate(1.12);backdrop-filter:blur(10px) saturate(1.12)}.video-stage.web-active .player-corner-controls .icon-button:hover,.video-stage.web-active .player-corner-controls .compact-soft-button:hover{border-color:#ffe2bbb8;background:#573627eb}.status-strip{position:fixed;left:50%;bottom:20px;z-index:18;display:flex;align-items:center;justify-content:center;gap:16px;width:max-content;max-width:min(760px,100%);margin:0;border:1px solid rgba(255,226,187,.12);border-radius:999px;color:#fff4e2c7;background:#492a1e57;padding:6px 13px;font-size:.8rem;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transform:translate(-50%)}.status-strip strong{overflow:hidden;max-width:46vw;text-overflow:ellipsis;white-space:nowrap}.video-stage.floating{position:fixed;z-index:50;resize:both;min-width:280px;min-height:170px;max-width:calc(100vw - 48px);max-height:calc(100vh - 120px);aspect-ratio:auto;cursor:default}.video-stage.floating.compact{width:360px;height:216px}.video-stage.floating.wide{width:520px;height:312px}.video-stage.floating.large{width:760px;height:456px}.floating-handle{position:absolute;inset:0 0 auto;z-index:7;display:block;height:28px;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none;border:0;border-radius:0;color:transparent;background:transparent;padding:0 10px;font-size:0}.video-stage video{display:block;width:100%;height:100%;object-fit:contain}.audio-track-switch{position:absolute;right:12px;bottom:44px;z-index:10;overflow:hidden;max-width:min(180px,calc(100% - 24px));min-height:28px;border:1px solid rgba(255,244,226,.26);border-radius:999px;color:#fff8eee0;background:#17100c8f;padding:0 11px;font-size:.7rem;line-height:28px;text-overflow:ellipsis;white-space:nowrap;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);transition:border-color .16s ease,background .16s ease,color .16s ease}.audio-track-switch:hover,.audio-track-switch:focus-visible{border-color:#ffe2bb80;color:#fff8ef;background:#412a1eb8}.web-frame-player{width:100%;height:100%;background:#050505}.web-frame.in-stage{display:block;width:100%;height:100%;border:0;background:#fff}.web-assist-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;width:min(720px,calc(100% - 24px));margin:8px auto 0}.web-assist-button,.web-time-sync,.screenshot-ready{display:inline-flex;min-height:30px;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(255,244,226,.24);border-radius:999px;color:#fff8eee6;background:#472b207a;padding:0 10px;font-size:.72rem;box-shadow:0 10px 26px #0003;-webkit-backdrop-filter:blur(12px) saturate(1.08);backdrop-filter:blur(12px) saturate(1.08)}.web-assist-button:hover{border-color:#ffe2bb70;background:#67412e94}.web-time-sync{padding:0 7px}.web-time-sync button{min-height:24px;border:0;border-radius:999px;color:#fff8eed6;background:#ffffff14;padding:0 7px;font-size:.68rem}.web-time-sync button:hover{color:#fff8ee;background:#fff4e229}.web-time-sync .sync-apply{border:1px solid rgba(255,226,187,.22);background:#ffd69724}.web-time-sync input{width:70px;min-height:24px;border:1px solid rgba(255,226,187,.18);border-radius:999px;color:#fff8ee;background:#ffffff1a;padding:0 8px;text-align:center;font-size:.72rem}.screenshot-ready{color:#ffe2bbdb}.video-subtitle{position:absolute;left:50%;bottom:18px;z-index:5;width:min(82%,760px);border-radius:8px;color:#fffdf6;background:linear-gradient(180deg,#0000001a,#0000009e);padding:9px 14px;text-align:center;text-shadow:0 2px 10px rgba(0,0,0,.9);transform:translate(-50%)}.plan-bubble{position:fixed;left:calc(50% + clamp(118px,16vw,220px));top:clamp(448px,calc(57svh - 48px),662px);z-index:28;display:inline-flex;max-width:min(76%,620px);align-items:center;gap:8px;border:1px solid rgba(255,255,255,.54);border-radius:999px;color:#3a2d25e6;background:#ffffff9e;padding:9px 14px;box-shadow:0 14px 34px #2e1e1529;transform:translate(-50%);-webkit-backdrop-filter:blur(6px) saturate(1.04);backdrop-filter:blur(6px) saturate(1.04);animation:companion-bubble-in .22s ease-out both}.plan-bubble.is-hint{border-color:#ffffff7a;color:#48382eb8;background:#ffffff80}.plan-bubble-message,.plan-bubble-listen,.plan-bubble-close{border:0;color:inherit;background:transparent;padding:0}.plan-bubble-message{max-width:min(56vw,470px);overflow:hidden;font-size:.78rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.plan-bubble-listen{border:1px solid rgba(92,70,55,.14);border-radius:999px;background:#ffffff57;padding:3px 9px;font-size:.68rem}.plan-bubble-close{display:inline-grid;width:18px;height:18px;place-items:center;border-radius:999px;color:#48382e7a}.plan-bubble-listen:hover,.plan-bubble-close:hover{color:#2c211be0;background:#ffffff9e}@keyframes companion-bubble-in{0%{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%)}}.empty-player{display:grid;height:100%;place-items:center;align-content:center;gap:16px;padding:99px 18px 18px;color:#fff4e2db;text-align:center;text-shadow:0 2px 14px rgba(0,0,0,.62)}.empty-player-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:0}.glass-action{position:relative;display:inline-flex;width:38px;height:38px;min-height:38px;align-items:center;justify-content:center;border:1px solid rgba(255,244,226,.28);border-radius:999px;color:#fff8ee;background:#482b2057;padding:0;font-size:14px;line-height:1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 12px 26px #00000029}.glass-action svg{width:17px;height:17px}.glass-action span{position:absolute;left:50%;top:calc(100% + 8px);z-index:3;width:max-content;max-width:170px;border:1px solid rgba(255,244,226,.24);border-radius:999px;color:#fff8eef0;background:#20140fad;padding:5px 10px;font-size:13px;line-height:1.2;opacity:0;pointer-events:none;white-space:nowrap;transform:translate(-50%,-3px);transition:opacity .18s ease,transform .18s ease;-webkit-backdrop-filter:blur(9px) saturate(1.08);backdrop-filter:blur(9px) saturate(1.08)}.glass-action:hover{border-color:#ffe2bb80;background:#5a37277a}.glass-action:hover span,.glass-action:focus-visible span{opacity:1;transform:translate(-50%)}.format-hint{color:#fff4e2a8;font-size:.68rem;opacity:0;text-shadow:0 2px 10px rgba(0,0,0,.58);transform:translateY(5px);transition:opacity .18s ease,transform .18s ease}.empty-player:has(.glass-action:hover) .format-hint,.empty-player:focus-within .format-hint{opacity:1;transform:translateY(39px)}.glass-action input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.talk-launcher{position:fixed;left:50%;top:clamp(500px,57svh,710px);bottom:auto;z-index:22;display:flex;width:max-content;max-width:min(480px,100%);min-height:40px;align-items:center;justify-content:center;gap:9px;margin:0;border:1px solid rgba(255,244,226,.24);border-radius:999px;color:#fff8ee;background:#58342766;padding:0 17px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 14px 30px #0000002e;transform:translate(-50%)}.now-card,.subtitle-card,.panel,.prompt-preview{border:1px solid rgba(255,226,187,.22);border-radius:8px;background:linear-gradient(135deg,#724c355c,#fff4e21f);box-shadow:0 14px 36px #37211533;-webkit-backdrop-filter:blur(9px) saturate(1.08);backdrop-filter:blur(9px) saturate(1.08)}.pop-panel{width:min(760px,100%);margin:12px auto 0;animation:panel-fade .18s ease-out}.pop-panel.is-closing{pointer-events:none;animation:panel-fade-out .15s ease-in forwards}.sofa-companion{position:fixed;left:50%;top:clamp(500px,63svh,690px);bottom:auto;z-index:30;width:min(520px,calc(100vw - 72px));margin:0;transform:translate(-50%)}.panel-drag-edge{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:4;pointer-events:none}.panel-drag-edge span{position:absolute;pointer-events:auto;touch-action:none}.panel-drag-edge .edge-top,.panel-drag-edge .edge-bottom{left:16px;right:16px;height:12px;cursor:move}.panel-drag-edge .edge-top{top:0}.panel-drag-edge .edge-bottom{bottom:0}.panel-drag-edge .edge-left,.panel-drag-edge .edge-right{top:16px;bottom:16px;width:12px;cursor:move}.panel-drag-edge .edge-left{left:0}.panel-drag-edge .edge-right{right:0}.ghost-panel{background:linear-gradient(135deg,#603e2c61,#fff4e21a);box-shadow:0 16px 42px #37211538}@keyframes panel-fade{0%{opacity:0}to{opacity:1}}@keyframes panel-fade-out{0%{opacity:1}to{opacity:0}}.source-panel{display:grid;gap:10px;margin-top:8px;border:1px solid rgba(255,226,187,.22);border-radius:8px;background:linear-gradient(135deg,#724c3557,#fff4e21c);padding:12px;-webkit-backdrop-filter:blur(9px) saturate(1.08);backdrop-filter:blur(9px) saturate(1.08)}.source-panel-head{display:flex;min-height:28px;align-items:center;justify-content:space-between;gap:10px;color:#fff4e2e0;font-size:.82rem;font-weight:800}.source-panel-close{display:inline-grid;width:28px;height:28px;place-items:center;border:1px solid rgba(255,226,187,.3);border-radius:999px;color:#fff8ee;background:#20140f94;padding:0;box-shadow:0 8px 18px #00000038;transition:border-color .16s ease,background .16s ease,transform .16s ease}.source-panel-close:hover,.source-panel-close:focus-visible{border-color:#ffe2bb8f;background:#633d2bb8;transform:translateY(-1px)}.source-helper-row{display:flex;align-items:center;gap:9px;min-width:0}.source-helper-row button{display:inline-flex;min-height:31px;align-items:center;gap:7px;border:1px solid rgba(255,226,187,.22);border-radius:999px;color:#fff8eee6;background:#fff4e214;padding:0 11px;font-size:.76rem}.source-helper-row button:hover{border-color:#ffe2bb70;background:#ffd69724}.source-helper-row small{color:#fff4e27a;font-size:.68rem;white-space:nowrap}.search-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.search-line input{min-width:0;border:1px solid rgba(255,226,187,.18);border-radius:8px;color:#fff4e4;background:#ffffff14;padding:10px 12px}.search-line button{min-height:38px;border:1px solid rgba(255,226,187,.24);border-radius:8px;color:#fff4e4;background:#fff4e21a;padding:0 12px}.source-quick-hint{margin:-2px 2px 0;color:#fff4e28a;font-size:.72rem;line-height:1.35}.now-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding:14px 16px}.now-card div{display:grid;gap:4px}.subtitle-card{position:relative;z-index:38;width:min(460px,calc(100vw - 44px));max-height:min(40svh,380px);overflow:hidden;margin:8px auto 0;padding:6px;border-radius:999px}.subtitle-card.expanded{border-radius:8px}.subtitle-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px}.subtitle-pill,.subtitle-close{display:inline-flex;min-height:25px;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(255,244,226,.18);border-radius:999px;color:#fff4e2ad;background:#fff4e214;padding:0 8px;font-size:.66rem;transition:background .16s ease,border-color .16s ease,color .16s ease}.subtitle-pill:hover,.subtitle-pill.active,.subtitle-close:hover{border-color:#ffe2bb57;color:#fff8ee;background:#fff4e229}.subtitle-pill:disabled{cursor:not-allowed;opacity:.45}.subtitle-close{width:25px;padding:0}.subtitle-expanded{margin-top:6px}.subtitle-meta{display:flex;justify-content:space-between;gap:12px;margin:0 4px 6px;color:#fff4e270;font-size:.62rem}.subtitle-sync-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;margin:0 0 7px;border:1px solid rgba(255,226,187,.12);border-radius:999px;background:#ffffff0e;padding:4px}.subtitle-sync-row span{color:#fff4e2ad;padding:0 4px;font-size:.64rem}.subtitle-sync-row button{min-height:22px;border:1px solid rgba(255,244,226,.14);border-radius:999px;color:#fff4e2c7;background:#fff4e214;padding:0 8px;font-size:.62rem}.subtitle-sync-row button:hover{border-color:#ffe2bb57;color:#fff8ee;background:#fff4e229}.subtitle-sync-row button:disabled{cursor:not-allowed;opacity:.42}.inline-panel-action{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 9px;color:#fff4e294;font-size:.76rem}.inline-panel-action .soft-button{min-height:30px;padding:0 11px;font-size:.76rem}.active-subtitle{min-height:28px;margin-top:0;border:1px solid rgba(255,226,187,.14);border-radius:8px;background:#ffffff12;padding:7px 9px;color:#fff8ee;font-size:.76rem;line-height:1.42}.subtitle-neighbors{display:grid;gap:6px;margin-top:14px;color:#f8efe494;font-size:.9rem}.subtitle-list{display:grid;max-height:min(26svh,230px);gap:5px;overflow:auto;margin-top:8px;padding-right:4px}.subtitle-list button{display:grid;grid-template-columns:48px 1fr;gap:7px;align-items:start;border:1px solid rgba(255,226,187,.14);border-radius:8px;color:#fff4e2db;background:#ffffff12;padding:6px 8px;text-align:left}.subtitle-list button.active{border-color:#ffdaa894;background:#ffd69724}.subtitle-list button span{color:#ffdaa8bd;font-size:.72rem}.subtitle-list button strong{font-weight:500;font-size:.72rem;line-height:1.42}.compact-title{margin-bottom:9px;font-size:.86rem}.empty-plan{display:grid;gap:14px}.compact-empty{margin-top:10px;gap:0}.companion-column{display:grid;gap:14px}.panel{padding:16px}.panel-title{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#ffe3bd;font-weight:700}.settings-panel{position:fixed;right:20px;top:92px;z-index:42;width:min(680px,calc(100vw - 40px));max-height:calc(100svh - 120px);overflow:auto;margin:0}.settings-card{background:#170f0bad}.settings-title{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:#ffe3bd}.settings-title div{display:grid;gap:2px;min-width:0}.settings-title span,.settings-hint,.settings-footer{color:#f8efe49e;font-size:.78rem;line-height:1.45}.provider-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0;border:1px solid rgba(255,226,187,.14);border-radius:999px;background:#ffffff0b;padding:5px}.provider-tabs button{min-width:0;min-height:32px;border:1px solid transparent;border-radius:999px;color:#fff4e2cc;background:transparent;padding:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}.provider-tabs button:hover,.provider-tabs button.active{border-color:#ffdaa894;color:#fff8ee;background:#ffd69729}.provider-tabs button.active{transform:translateY(-1px)}.settings-switch{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;margin:10px 0;color:#fff4e2d1;font-size:.88rem}.settings-switch input{width:17px;height:17px;accent-color:#d9a66a}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.settings-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-grid.compact.cognitive-load-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-grid label,.settings-grid .settings-field{display:grid;gap:6px;min-width:0;color:#fff4e2bd;font-size:.78rem}.settings-tooltip-label{position:relative}.settings-tooltip-label>span{display:inline-flex;align-items:center;gap:6px}.settings-tooltip-label svg{color:#ffe2bb7a}.settings-tooltip-label:after{position:absolute;left:0;bottom:calc(100% + 8px);z-index:80;width:min(260px,78vw);border:1px solid rgba(255,226,187,.18);border-radius:10px;color:#fff8eddb;background:#2a1d16f0;padding:9px 11px;box-shadow:0 16px 38px #140c0847;content:attr(data-tooltip);font-size:.72rem;line-height:1.55;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .16s ease,transform .16s ease;-webkit-backdrop-filter:blur(14px) saturate(1.08);backdrop-filter:blur(14px) saturate(1.08)}.settings-tooltip-label:hover:after,.settings-tooltip-label:focus-within:after{opacity:1;transform:translateY(0)}.settings-grid input,.settings-grid select{min-width:0;border:1px solid rgba(255,226,187,.18);border-radius:8px;color:#fff4e4;background:#ffffff14;padding:9px 10px}.model-preset-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.model-preset-row button{min-height:28px;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#fff4e29e;background:#fff4e20d;padding:0 10px;font-size:.72rem;line-height:1;transition:border-color .16s ease,color .16s ease,background .16s ease}.model-preset-row button:hover,.model-preset-row button.active{border-color:#ffdaa46b;color:#fff6e7f0;background:#ffd69e26}.settings-route-shell[data-theme=white-gold] .model-preset-row button,.cinema-shell[data-theme=white-gold] .model-preset-row button{border-color:#95733f33;color:#463729b3;background:#95733f0d}.settings-route-shell[data-theme=white-gold] .model-preset-row button:hover,.settings-route-shell[data-theme=white-gold] .model-preset-row button.active,.cinema-shell[data-theme=white-gold] .model-preset-row button:hover,.cinema-shell[data-theme=white-gold] .model-preset-row button.active{border-color:#95733f6b;color:#463729;background:#c6995c29}.settings-grid select option{color:#2c211b}.settings-section-title{margin-top:16px;color:#ffe3bd;font-size:.9rem;font-weight:700}.settings-footer{display:flex;align-items:center;gap:7px;margin-top:14px;border-top:1px solid rgba(255,226,187,.12);padding-top:12px}.settings-page{position:fixed;top:22px;right:22px;bottom:22px;left:22px;z-index:52;width:auto;max-width:1160px;max-height:calc(100svh - 44px);overflow:auto;margin:0 auto}.settings-route-shell{width:100%;min-height:100svh;padding:58px 0 0;overflow-y:auto;background:radial-gradient(circle at 18% 8%,rgba(213,177,109,.14),transparent 28%),radial-gradient(circle at 88% 82%,rgba(125,86,58,.16),transparent 32%),linear-gradient(135deg,#050505,#14100c 46%,#090807)}.cinema-shell,.settings-route-shell{scrollbar-width:none}.cinema-shell::-webkit-scrollbar,.settings-route-shell::-webkit-scrollbar{width:0;height:0;display:none}.settings-route-shell[data-theme=white-gold]{color:#463729;background:radial-gradient(circle at 18% 8%,rgba(198,160,88,.18),transparent 30%),radial-gradient(circle at 88% 82%,rgba(221,196,151,.2),transparent 32%),linear-gradient(135deg,#f5f3ec,#e8edf4 50%,#f7f3e8)}.settings-route-shell[data-theme=white-gold] .settings-route-header{color:#463729;background:linear-gradient(135deg,#ffffffbd,#ddc49738)}.settings-route-shell[data-theme=white-gold] .settings-route-header button{border-color:#95733f38;color:#463729;background:#ffffff8f}.settings-route-shell[data-theme=white-gold] .settings-route-header button:hover{color:#2f251c;background:#ddc49752}.settings-route-shell[data-theme=white-gold] .settings-route-header p,.settings-route-shell[data-theme=white-gold] .settings-route-header h1 span{color:#46372994}.settings-route-shell[data-theme=white-gold] .settings-route-mark{border-color:#95733f38;color:#463729;background:#ffffff80}.settings-route-shell[data-theme=pink-mocha]{color:#e2dadc;background:radial-gradient(circle at 18% 8%,rgba(181,140,140,.2),transparent 30%),radial-gradient(circle at 88% 82%,rgba(226,218,220,.12),transparent 32%),linear-gradient(135deg,#42382e,#312a21 52%,#221c16)}.settings-route-header{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;width:min(1160px,calc(100vw - 48px));margin:0 auto 14px;border:1px solid rgba(255,226,187,.18);border-radius:8px;color:#fff4e4;background:linear-gradient(135deg,#6845327a,#fff4e21f);padding:12px 14px;-webkit-backdrop-filter:blur(16px) saturate(1.08);backdrop-filter:blur(16px) saturate(1.08);box-shadow:0 16px 42px #22140e33}.settings-route-shell[data-theme=black-gold] .settings-route-header,.settings-route-shell[data-theme=black-gold] .settings-page-card,.cinema-shell[data-theme=black-gold] .settings-page-card{color:#f7ead0;background:linear-gradient(135deg,#050505c7,#291f148c)}.cinema-shell[data-theme=black-gold] .now-card,.cinema-shell[data-theme=black-gold] .subtitle-card,.cinema-shell[data-theme=black-gold] .panel,.cinema-shell[data-theme=black-gold] .prompt-preview,.cinema-shell[data-theme=black-gold] .source-panel,.cinema-shell[data-theme=black-gold] .ghost-panel{background:linear-gradient(135deg,#070707c7,#261e1380),#0000002e}.settings-route-header button{display:inline-flex;min-height:34px;align-items:center;gap:8px;border:1px solid rgba(255,226,187,.22);border-radius:999px;color:#fff4e2d1;background:#fff4e21a;padding:0 13px}.settings-route-header button:hover{color:#fff8ef;background:#fff4e22b}.settings-route-header p{margin:0;color:#f8efe47a;font-size:.68rem;letter-spacing:.16em}.settings-route-header h1{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin:2px 0 0;font-size:1.12rem}.settings-route-header h1 span{color:#f8efe48f;font-size:.78rem;font-weight:500}.settings-route-mark{display:grid;width:36px;height:36px;place-items:center;border:1px solid rgba(255,226,187,.2);border-radius:999px;background:#fff4e21a}.settings-route-shell .settings-page{position:relative;inset:auto;z-index:2;width:min(1160px,calc(100vw - 48px));max-width:none;max-height:none}.settings-route-shell .settings-page-card{min-height:auto}.settings-page-card{display:grid;gap:14px;min-height:min(760px,calc(100svh - 44px));border:1px solid rgba(255,226,187,.2);border-radius:10px;color:#fff4e4;background:linear-gradient(135deg,#2f1d15c7,#7c523757);padding:18px;box-shadow:0 26px 72px #00000057;-webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12)}.settings-page-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-section-heading{display:flex;align-items:center;justify-content:flex-start;gap:10px}.settings-page-title,.settings-section-heading>div{display:flex;min-width:0;align-items:center;gap:10px}.settings-page-title div,.settings-section-heading div{display:grid;gap:3px}.settings-page-title span,.settings-section-heading span{color:#f8efe49e;font-size:.78rem;line-height:1.45}.settings-section{border:1px solid rgba(255,226,187,.14);border-radius:8px;background:#ffffff0e;padding:0;overflow:hidden}.settings-section-toggle{display:grid;width:100%;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:0;color:inherit;background:transparent;padding:14px;text-align:left}.settings-section-toggle:hover{background:#fff4e20b}.settings-section-icon{display:grid;width:30px;height:30px;place-items:center;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#ffe2bbcc;background:#fff4e20f}.settings-section-copy{display:grid;min-width:0;gap:3px}.settings-section-copy strong{color:#fff8edeb;font-size:.94rem}.settings-section-copy small{color:#f8efe494;font-size:.74rem;line-height:1.45}.settings-section-chevron{color:#fff4e261;transition:transform .16s ease,color .16s ease}.settings-section-chevron.open{color:#ffe2bbc7;transform:rotate(180deg)}.settings-section-body{display:grid;gap:12px;border-top:1px solid rgba(255,226,187,.08);padding:14px;animation:panelFadeIn .17s ease both}.visual-cortex-card{display:grid;gap:16px;border:1px solid rgba(255,226,187,.1);border-radius:10px;background:#08070633;padding:14px}.persona-page-card{gap:16px}.persona-section{display:grid;gap:14px;border:1px solid rgba(255,226,187,.12);border-radius:10px;background:#08070633;padding:15px}.settings-section-heading strong{color:#fff8edeb;font-size:.95rem}.persona-inline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.persona-field{display:grid;gap:7px;min-width:0;color:#fff4e2c2;font-size:.78rem}.persona-field input,.persona-field textarea{width:100%;min-width:0;border:1px solid rgba(255,226,187,.16);border-radius:10px;color:#fff4e4;background:#ffffff12;padding:10px 12px;outline:none;transition:border-color .16s ease,background .16s ease}.persona-field textarea{resize:vertical;line-height:1.65}.persona-field input:focus,.persona-field textarea:focus{border-color:#ffe2bb57;background:#ffffff18}.persona-actions{display:flex;justify-content:flex-end}.persona-actions button{display:inline-flex;min-height:34px;align-items:center;gap:8px;border:1px solid rgba(255,226,187,.18);border-radius:999px;color:#fff4e2d1;background:#fff4e217;padding:0 13px}.persona-actions button:hover{color:#fff8ef;background:#fff4e229}.settings-section-toggle.static{cursor:default}.settings-section-toggle.static:hover{background:transparent}.persona-avatar-grid,.persona-switch-grid,.persona-tuning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.persona-avatar-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 12px;align-items:center;border:1px solid rgba(255,226,187,.12);border-radius:12px;background:#ffffff0e;padding:12px}.persona-avatar-preview{display:grid;width:74px;height:74px;overflow:hidden;place-items:center;border:1px solid rgba(255,226,187,.22);border-radius:999px;color:#ffe2bbe0;background:radial-gradient(circle at 34% 24%,rgba(255,226,187,.22),transparent 34%),#ffffff12;font-size:1.35rem;font-weight:800}.persona-avatar-preview img{width:100%;height:100%;max-width:none;object-fit:cover}.persona-avatar-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:7px}.persona-avatar-actions button,.memory-toolbar button,.primary-memory-button,.primary-mini-button{display:inline-flex;min-height:32px;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#fff4e2cc;background:#fff4e214;padding:0 12px;font-size:.74rem}.persona-avatar-actions button:hover:not(:disabled),.memory-toolbar button:hover,.primary-memory-button:hover:not(:disabled),.primary-mini-button:hover{border-color:#ffe2bb4d;color:#fff8ee;background:#ffd69729}.persona-avatar-actions button:disabled,.primary-memory-button:disabled{cursor:not-allowed;opacity:.42}.persona-field.compact{gap:5px}.persona-switch-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:50px;border:1px solid rgba(255,226,187,.12);border-radius:12px;color:#fff4e2b8;background:#ffffff0e;padding:0 12px;text-align:left}.persona-switch-card.active{border-color:#ffe2bb47;color:#fff8ee;background:#ffd69721}.persona-switch-card strong{color:#ffe2bbdb;font-size:.74rem}.persona-slider-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;align-items:center;border:1px solid rgba(255,226,187,.12);border-radius:12px;color:#fff4e2bd;background:#ffffff0e;padding:12px;font-size:.78rem}.persona-slider-card input{grid-column:1 / -1;width:100%;accent-color:#d5b16d}.persona-slider-card strong{color:#ffe2bbe6;font-size:.78rem}.persona-slider-card em{grid-column:1 / -1;color:#fff4e257;font-size:.66rem;font-style:normal}.persona-slider-card.compact{width:100%}.avatar-editor-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;background:#0000006b;padding:20px}.avatar-editor-card{display:grid;width:min(430px,calc(100vw - 40px));gap:12px;border:1px solid rgba(255,226,187,.2);border-radius:14px;color:#fff4e4;background:linear-gradient(135deg,#261912f0,#63412bdb);padding:16px;box-shadow:0 30px 90px #0000006b;-webkit-backdrop-filter:blur(18px) saturate(1.1);backdrop-filter:blur(18px) saturate(1.1)}.avatar-editor-card .persona-avatar-preview{width:132px;height:132px;justify-self:center}.persona-route-shell{width:100%;padding:66px 0 0}.persona-original-page{display:grid;min-height:calc(100svh - 66px);overflow:visible;border:1px solid rgba(255,226,187,.14);background:#08070647;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.persona-user-layer,.persona-workbench{width:min(1240px,calc(100vw - 32px));margin:0 auto}.persona-user-layer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;min-height:126px;border-bottom:1px solid rgba(255,226,187,.1);background:#2219127a;padding:20px 24px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.persona-back-button,.persona-save-button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,226,187,.18);border-radius:999px;color:#fff4e2d1;background:#fff4e214;padding:0 14px}.persona-back-button:hover,.persona-save-button:hover{color:#fff8ee;background:#fff4e226}.persona-save-button{border-color:#ffe2bb4d;color:#211810f0;background:#ffe2bbe6;font-weight:700}.persona-user-avatar-block,.persona-editor-avatar{display:grid;justify-items:center;gap:10px}.persona-user-copy{display:grid;gap:8px}.persona-user-copy p,.persona-panel-title p,.persona-editor-title p{margin:0;color:#ffe2bb8a;font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.persona-user-copy h2,.persona-panel-title h2,.persona-editor-title h2{margin:0;color:#fff8edf5;font-size:1.25rem;line-height:1.2}.persona-panel-title h2{color:#fff4e280;font-size:.72rem;letter-spacing:.14em}.persona-user-copy .persona-field{max-width:460px}.persona-user-copy .persona-field input{border-width:0 0 1px;border-radius:0;background:transparent;padding:4px 0 8px;color:#fff8edf0;font-size:1.35rem;font-weight:700}.persona-soft-toggle{display:inline-grid;grid-template-columns:auto auto auto;align-items:center;gap:9px;min-height:42px;border:1px solid rgba(255,226,187,.14);border-radius:999px;color:#fff4e2bd;background:#fff4e212;padding:0 14px;white-space:nowrap}.persona-soft-toggle.active{border-color:#ffe2bb4d;color:#fff8ee;background:#ffd69724}.persona-soft-toggle strong{color:#ffe2bbeb;font-size:.76rem}.persona-workbench{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:stretch;min-height:auto}.persona-deck-panel,.persona-editor-panel{border:0;border-radius:0;box-shadow:none}.persona-deck-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;min-height:calc(100svh - 126px);overflow:hidden;border-right:1px solid rgba(255,226,187,.1);background:#03030357;padding:16px 12px}.persona-deck-list{display:grid;gap:9px}.persona-deck-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;border:1px solid transparent;border-radius:999px;color:#fff4e2c7;background:#ffffff0b;padding:7px 10px;text-align:left}.persona-deck-card:hover,.persona-deck-card.active{border-color:#ffe2bb47;color:#fff8ee;background:#ffd6971f}.persona-deck-card span{display:grid;gap:3px;min-width:0}.persona-deck-card strong,.persona-deck-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.persona-deck-card small{color:#fff4e27a;font-size:.7rem}.persona-add-card{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#fff4e2d1;background:#fff4e214;padding:0 14px}.persona-add-card:hover{border-color:#ffe2bb57;color:#fff8ee;background:#ffd69729}.persona-editor-panel{display:grid;width:min(900px,calc(100% - 40px));gap:14px;align-self:start;justify-self:center;padding:24px 0 42px}.persona-editor-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;border:0;border-radius:0;background:transparent;padding:0 0 8px}.persona-editor-title{display:grid;gap:4px}.persona-editor-title span{color:#fff4e294;font-size:.78rem}.persona-code-label{display:inline-flex;align-items:center;gap:8px;color:#fff4e2e6;font-weight:700}.persona-field-hint{color:#fff4e26b;font-size:.68rem;line-height:1.5}.persona-editor-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.persona-field input[type=color]{min-height:43px;padding:5px}.persona-cognitive-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.persona-gates-card{display:grid;gap:10px;border-top:1px solid rgba(255,226,187,.08);padding-top:14px}.persona-gates-label{color:#fff4e26b;font-size:.68rem;font-weight:800;letter-spacing:.12em}.persona-memory-gate{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:46px;border:1px solid rgba(255,226,187,.12);border-radius:14px;color:#fff4e2b8;background:#ffffff0d;padding:0 13px;text-align:left}.persona-memory-gate span{display:grid;gap:2px}.persona-memory-gate small{font-size:.6rem;letter-spacing:.08em;opacity:.62}.persona-memory-gate.active{border-color:#ffe2bb4d;color:#fff8ee;background:#ffd69721}.persona-memory-gate strong{color:#ffe2bbe6;font-size:.76rem}.persona-active-status{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,226,187,.28);border-radius:10px;color:#ffe2bbe6;background:#ffd6971a;font-size:.82rem;font-weight:700}.persona-danger-button{display:inline-grid;width:38px;height:38px;place-items:center;border:1px solid rgba(255,169,144,.18);border-radius:999px;color:#ffc4b0cc;background:#8430261f}.persona-danger-button:disabled{cursor:not-allowed;opacity:.38}.persona-avatar-preview.sm{width:44px;height:44px;font-size:.9rem}.persona-avatar-preview.md{width:74px;height:74px}.persona-avatar-preview.lg{width:104px;height:104px;font-size:1.65rem}.persona-avatar-actions label{position:relative;display:inline-flex;min-height:32px;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#fff4e2cc;background:#fff4e214;padding:0 12px;font-size:.74rem;cursor:pointer}.persona-avatar-actions label:hover{border-color:#ffe2bb4d;color:#fff8ee;background:#ffd69729}.persona-avatar-actions .persona-avatar-eye-toggle{width:32px;min-width:32px;padding:0}.persona-avatar-actions .persona-avatar-eye-toggle.active{border-color:#ffe2bb52;color:#fff8ee;background:#ffd69724}.visually-hidden-file{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.primary-mini-button,.primary-memory-button{border-color:#ffe2bb5c;color:#2d1e14f0;background:#ffe2bbe6}.memory-page-card{gap:16px}.memory-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(255,226,187,.08);padding-bottom:14px}.memory-title-copy{display:grid;gap:4px}.memory-title-copy h2{margin:0;color:#ffe2bbf5;font-size:1.45rem;line-height:1.1}.memory-title-copy p{margin:0;color:#fff4e275;font-size:.82rem}.memory-head-actions{position:relative;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.memory-head-actions button,.memory-primary-tool,.memory-count-chip,.memory-chip-add,.memory-inline-add button{display:inline-flex;min-height:32px;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#fff4e2c7;background:#fff4e214;padding:0 11px;font-size:.74rem}.memory-head-actions button:hover,.memory-primary-tool:hover,.memory-chip-add:hover,.memory-inline-add button:hover{border-color:#ffe2bb52;color:#fff8ee;background:#ffd69724}.memory-primary-tool{border-color:#ffe2bb4d;color:#ffe2bbeb;background:#ffd6971f}.memory-smart-menu{position:relative}.memory-smart-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:20;display:grid;width:230px;overflow:hidden;border:1px solid rgba(255,226,187,.16);border-radius:12px;background:#2c1f17f0;box-shadow:0 18px 60px #00000052;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);animation:panelFadeIn .14s ease-out}.memory-smart-group{display:grid;gap:2px;padding:8px}.memory-smart-group+.memory-smart-group{border-top:1px solid rgba(255,226,187,.1)}.memory-smart-group>span{color:#ffe2bb75;padding:3px 5px 5px;font-size:.66rem}.memory-smart-group button{justify-content:flex-start;border:0;border-radius:8px;background:transparent;min-height:32px;padding:0 8px;font-size:.74rem}.memory-smart-group button:hover{background:#ffd6971f}.spin-soft{animation:spinSoft 1s linear infinite}@keyframes spinSoft{to{transform:rotate(360deg)}}.memory-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.memory-dashboard-card{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:center;border:1px solid rgba(255,226,187,.12);border-radius:12px;background:#ffffff0e;padding:12px}.memory-dashboard-card svg{grid-row:span 2;color:#ffe2bbc7}.memory-dashboard-card strong{color:#fff8edf0;font-size:1.2rem;line-height:1}.memory-dashboard-card span{color:#fff4e280;font-size:.72rem}.memory-compose-card{background:#ffffff09}.long-term-memory-panel{padding-bottom:10px}.memory-inline-refresh{display:inline-grid;width:32px;height:32px;flex:0 0 auto;place-items:center;margin-left:auto;border:1px solid var(--kx-border, rgba(255, 226, 187, .16));border-radius:50%;color:var(--kx-text-main, rgba(255, 248, 237, .84));background:color-mix(in srgb,var(--kx-primary, #dcbda8) 12%,transparent)}.long-term-memory-status{padding:0 12px 2px 48px;color:var(--kx-muted, rgba(248, 239, 228, .58));font-size:.8rem;overflow-wrap:anywhere}.long-term-memory-status[data-status=ready]{color:color-mix(in srgb,#4f7887 78%,var(--kx-text-main, #fff))}.long-term-memory-status[data-status=failed]{color:#a3646c}.memory-compose{display:grid;gap:12px}.memory-compose textarea{width:100%;border:0;color:#fff8ede0;background:transparent;resize:vertical;outline:none}.memory-compose-foot{display:flex;align-items:center;gap:8px;border-top:1px solid rgba(255,226,187,.08);padding-top:12px;color:#ffe2bbb8}.memory-compose-foot input{min-width:0;flex:1 1 auto;border:0;color:#fff8edd6;background:transparent;outline:none}.memory-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.memory-count-chip{color:#ffe2bbb8;background:#ffffff0b}.memory-search{display:flex;min-height:36px;min-width:min(420px,100%);flex:1 1 260px;align-items:center;gap:8px;border:1px solid rgba(255,226,187,.14);border-radius:999px;background:#ffffff0f;padding:0 12px;color:#ffe2bbb8}.memory-search input{min-width:0;width:100%;border:0;color:#fff8ede6;background:transparent;outline:none}.memory-tag-filter{display:flex;flex-wrap:wrap;gap:7px}.memory-filter-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.memory-filter-toggle,.memory-filter-clear{display:inline-flex;min-height:28px;align-items:center;gap:6px;border:1px solid rgba(255,226,187,.14);border-radius:999px;color:#fff4e2b8;background:#ffffff0e;padding:0 10px;font-size:.72rem}.memory-filter-toggle span{color:#ffe2bb75;font-size:.66rem}.memory-filter-clear{color:#ffbeafc7;background:#ff917812}.memory-tag-filter.compact{max-height:124px;overflow:auto;border:1px solid rgba(255,226,187,.08);border-radius:12px;background:#00000014;padding:8px}.memory-tag-filter button{min-height:28px;border:1px solid rgba(255,226,187,.14);border-radius:999px;color:#fff4e2ad;background:#ffffff0e;padding:0 10px;font-size:.72rem}.memory-tag-filter.compact button{min-height:24px;padding:0 8px;font-size:.66rem}.memory-tag-filter button.active,.memory-tag-filter button:hover{border-color:#ffe2bb4d;color:#fff8ee;background:#ffd69726}.memory-list{display:grid;gap:10px}.memory-empty{display:grid;justify-items:center;gap:8px;border:1px dashed rgba(255,226,187,.16);border-radius:12px;color:#fff4e275;padding:28px;text-align:center}.memory-empty strong{color:#fff8edbd}.memory-entry-card{display:grid;gap:10px;border:1px solid rgba(255,226,187,.12);border-radius:12px;background:#ffffff0e;padding:12px}.memory-entry-card:hover{border-color:#ffe2bb3d;background:#ffffff13}.memory-entry-content{margin:0;color:#fff8edd1;font-size:.86rem;line-height:1.7;white-space:pre-wrap}.memory-alias-block{display:grid;gap:8px}.memory-alias-toggle{display:inline-flex;width:max-content;align-items:center;gap:4px;border:0;color:#fff4e26b;background:transparent;padding:0;font-size:.72rem}.memory-alias-toggle:hover{color:#ffe2bbe0}.memory-alias-body{display:grid;gap:8px;border-left:1px solid rgba(255,226,187,.13);margin-left:5px;padding-left:10px}.memory-entry-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.memory-chip-row{display:flex;flex-wrap:wrap;gap:6px}.memory-tag-chip,.memory-mini-chip{display:inline-flex;min-height:22px;align-items:center;gap:5px;border:1px solid rgba(255,226,187,.1);border-radius:999px;color:#fff4e28f;background:#0000001f;padding:0 8px;font-size:.68rem}.memory-mini-chip{color:#ffe2bbb8;background:#ffd69714}.memory-tag-chip button,.memory-mini-chip button{display:grid;border:0;color:#fff4e247;background:transparent;padding:0}.memory-tag-chip button:hover,.memory-mini-chip button:hover{color:#ff8070e6}.memory-chip-add{width:22px;min-height:22px;padding:0}.memory-tag-more{min-width:28px;min-height:22px;border:1px solid rgba(255,226,187,.1);border-radius:999px;color:#ffe2bb80;background:#ffffff0a;padding:0 8px;font-size:.68rem}.memory-tag-more:hover{border-color:#ffe2bb40;color:#fff8ede0;background:#ffd6971f}.memory-inline-add{display:inline-flex;align-items:center;gap:4px}.memory-inline-add input{width:88px;min-height:22px;border:1px solid rgba(255,226,187,.12);border-radius:999px;color:#fff8edc7;background:#0000001f;padding:0 8px;outline:none;font-size:.68rem}.memory-inline-add button{width:22px;min-height:22px;padding:0}.memory-entry-meta{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:10px;color:#fff4e252;font-size:.68rem}.memory-entry-meta>button{display:grid;width:30px;height:30px;place-items:center;border:1px solid rgba(255,145,120,.16);border-radius:999px;color:#ffbeafb8;background:#ff917812;opacity:0;pointer-events:none;transform:translateY(2px);transition:opacity .16s ease,transform .16s ease,background .16s ease,color .16s ease}.memory-entry-card:hover .memory-entry-meta>button,.memory-entry-meta>button:focus-visible{opacity:.76;pointer-events:auto;transform:none}.memory-entry-meta>button:hover{color:#ffdad0f2;background:#ff917824;opacity:1}.settings-route-shell[data-theme=white-gold] .persona-field,.settings-route-shell[data-theme=white-gold] .persona-switch-card,.settings-route-shell[data-theme=white-gold] .persona-slider-card,.settings-route-shell[data-theme=white-gold] .persona-user-layer,.settings-route-shell[data-theme=white-gold] .persona-deck-panel,.settings-route-shell[data-theme=white-gold] .persona-editor-panel,.settings-route-shell[data-theme=white-gold] .persona-deck-card,.settings-route-shell[data-theme=white-gold] .persona-memory-gate,.settings-route-shell[data-theme=white-gold] .persona-soft-toggle,.settings-route-shell[data-theme=white-gold] .memory-search,.settings-route-shell[data-theme=white-gold] .memory-filter-toggle,.settings-route-shell[data-theme=white-gold] .memory-filter-clear,.settings-route-shell[data-theme=white-gold] .memory-tag-filter button,.settings-route-shell[data-theme=white-gold] .memory-entry-card,.settings-route-shell[data-theme=white-gold] .memory-empty,.settings-route-shell[data-theme=white-gold] .memory-count-chip,.settings-route-shell[data-theme=white-gold] .memory-head-actions button,.settings-route-shell[data-theme=white-gold] .memory-primary-tool,.settings-route-shell[data-theme=white-gold] .memory-tag-chip,.settings-route-shell[data-theme=white-gold] .memory-mini-chip,.settings-route-shell[data-theme=white-gold] .memory-inline-add input{color:#463729b8}.settings-route-shell[data-theme=white-gold] .persona-field input,.settings-route-shell[data-theme=white-gold] .persona-field textarea,.settings-route-shell[data-theme=white-gold] .persona-field input[type=color],.settings-route-shell[data-theme=white-gold] .memory-search input,.settings-route-shell[data-theme=white-gold] .memory-compose textarea,.settings-route-shell[data-theme=white-gold] .memory-compose-foot input{color:#463729;background:#ffffff94}.settings-route-shell[data-theme=white-gold] .settings-section-copy strong,.settings-route-shell[data-theme=white-gold] .settings-section-heading strong,.settings-route-shell[data-theme=white-gold] .persona-user-copy h2,.settings-route-shell[data-theme=white-gold] .persona-panel-title h2,.settings-route-shell[data-theme=white-gold] .persona-editor-title h2,.settings-route-shell[data-theme=white-gold] .persona-deck-card strong,.settings-route-shell[data-theme=white-gold] .memory-empty strong,.settings-route-shell[data-theme=white-gold] .memory-dashboard-card strong,.settings-route-shell[data-theme=white-gold] .memory-title-copy h2,.settings-route-shell[data-theme=white-gold] .memory-entry-content{color:#463729}.settings-route-shell[data-theme=white-gold] .persona-user-copy p,.settings-route-shell[data-theme=white-gold] .persona-panel-title p,.settings-route-shell[data-theme=white-gold] .persona-editor-title p,.settings-route-shell[data-theme=white-gold] .persona-editor-title span,.settings-route-shell[data-theme=white-gold] .persona-deck-card small{color:#46372994}.settings-route-shell[data-theme=white-gold] .persona-user-layer,.settings-route-shell[data-theme=white-gold] .persona-deck-panel,.settings-route-shell[data-theme=white-gold] .persona-editor-panel{background:linear-gradient(135deg,#ffffffd1,#e8ddcf9e)}.settings-route-shell[data-theme=white-gold] .persona-deck-card,.settings-route-shell[data-theme=white-gold] .persona-editor-head,.settings-route-shell[data-theme=white-gold] .persona-memory-gate,.settings-route-shell[data-theme=white-gold] .persona-soft-toggle,.settings-route-shell[data-theme=white-gold] .persona-avatar-actions button,.settings-route-shell[data-theme=white-gold] .persona-avatar-actions label{color:#463729b8;background:#ffffff7a}.settings-route-shell[data-theme=white-gold] .memory-dashboard-card span{color:#46372994}.settings-route-shell[data-theme=white-gold] .memory-title-copy p,.settings-route-shell[data-theme=white-gold] .memory-entry-meta,.settings-route-shell[data-theme=white-gold] .memory-alias-toggle{color:#46372985}.visual-block{display:grid;gap:12px}.visual-block-title{display:inline-flex;align-items:center;gap:8px;color:#fff4e2e0;font-size:.88rem;font-weight:700}.visual-block-title svg{color:#ffe2bbd1}.visual-background-row{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:12px;align-items:center}.visual-inline-row{display:grid;grid-template-columns:max-content minmax(150px,210px) max-content;align-items:center;gap:9px}.visual-inline-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.visual-compact-setting{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0}.visual-compact-title{min-width:58px;white-space:nowrap}.background-inline-row .visual-compact-title{min-width:92px}.visual-duo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.theme-orb-row{display:flex;flex-wrap:wrap;gap:15px}.theme-orb-row button{position:relative;display:grid;justify-items:center;gap:7px;border:0;color:#fff4e2a3;background:transparent;padding:0;font-size:.72rem}.theme-orb-row button>span{display:block;width:38px;height:38px;border:2px solid rgba(255,244,226,.12);border-radius:999px;box-shadow:0 8px 20px #00000029;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.theme-orb-row button.active>span,.theme-orb-row button:hover>span{border-color:#ffe2bbcc;box-shadow:0 0 16px #d5b16d38;transform:scale(1.07)}.theme-orb-row button svg{position:absolute;right:1px;top:27px;border-radius:999px;color:#2a1c13;background:#ffe2bbe6;padding:1px}.theme-orb-row em{font-style:normal}.segmented-row{display:inline-flex;flex-wrap:wrap;gap:6px;margin:12px 0 2px;border:1px solid rgba(255,226,187,.16);border-radius:999px;background:#ffffff0e;padding:5px}.segmented-row button{min-height:30px;border:1px solid transparent;border-radius:999px;color:#fff4e2b8;background:transparent;padding:0 13px}.segmented-row button.active{border-color:#ffe2bb47;color:#fff8ee;background:#ffd69729}.option-button-row{display:flex;flex-wrap:wrap;gap:7px;min-height:34px;align-items:center;border:1px solid rgba(255,226,187,.14);border-radius:8px;background:#ffffff0e;padding:5px}.option-button-row button{min-height:25px;border:1px solid transparent;border-radius:999px;color:#fff4e2b3;background:transparent;padding:0 11px;font-size:.76rem;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}.option-button-row button:hover,.option-button-row button.active{border-color:#ffe2bb57;color:#fff8ee;background:#ffd69729}.option-button-row button.active{transform:translateY(-1px)}.even-option-row{display:grid;grid-template-columns:repeat(var(--option-count, 2),minmax(0,1fr))}.even-option-row button{width:100%;padding:0 8px}.font-style-row{--option-count: 2}.font-size-row{--option-count: 3}.settings-switch-grid{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:10px}.settings-grid label span,.settings-grid .settings-field>span{display:inline-flex;align-items:center;gap:6px}.settings-grid input[type=file]{min-height:38px;color:#fff4e2ad}.background-upload-card{position:relative;display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:9px;border:1px dashed rgba(255,226,187,.26);border-radius:999px;color:#fff4e2d1;background:linear-gradient(135deg,#fff4e214,#ffd6970f),#ffffff09;padding:0 16px;text-align:center;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.background-upload-card:hover{border-color:#ffe2bb7a;background:linear-gradient(135deg,#fff4e21f,#ffd6971a),#ffffff0e;transform:translateY(-1px)}.background-upload-card strong{font-size:.82rem}.visual-inline-row .background-upload-card{min-height:32px;padding:0 13px}.background-upload-card input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.cinema-layout-control{display:inline-flex;min-width:0;align-items:center;justify-content:flex-end;gap:8px}.cinema-layout-control>span{color:#fff4e29e;font-size:.72rem;white-space:nowrap}.cinema-layout-cycle{display:inline-flex;min-height:32px;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(255,226,187,.18);border-radius:999px;color:#fff4e2db;background:linear-gradient(135deg,#fff4e21a,#ffd69714),#ffffff0a;padding:0 12px 0 9px;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}.cinema-layout-cycle:hover{border-color:#ffe2bb5c;color:#fff8ee;background:linear-gradient(135deg,#fff4e224,#ffd6971f),#ffffff0f;transform:translateY(-1px)}.cinema-layout-cycle svg{width:18px;height:18px;flex:0 0 auto}.cinema-layout-cycle strong{font-size:.76rem;line-height:1;white-space:nowrap}.compact-option-row{width:max-content;max-width:100%}.stream-row-card{display:flex;align-items:center;gap:12px;border-top:1px solid rgba(255,226,187,.08);padding-top:16px}.stream-row-card>div{display:grid;gap:2px}.stream-row-card strong{display:inline-flex;align-items:center;gap:5px;color:#fff4e2e0;font-size:.84rem}.stream-row-card small{color:#f8efe46b;font-size:.7rem}.hud-toggle-card{display:grid;gap:10px;border-top:1px solid rgba(255,226,187,.08);padding-top:15px}.hud-toggle-row{display:flex;flex-wrap:wrap;gap:8px}.hud-toggle-row button{display:inline-flex;min-height:30px;align-items:center;gap:6px;border:1px solid rgba(255,226,187,.13);border-radius:999px;color:#fff4e28f;background:#ffffff0b;padding:0 11px;font-size:.74rem;transition:border-color .16s ease,color .16s ease,background .16s ease}.hud-toggle-row button.active,.hud-toggle-row button:hover{border-color:#daaa5f80;color:#ffe2bbf0;background:#daaa5f1f}.mini-toggle{position:relative;width:34px;height:18px;flex:0 0 auto;border:0;border-radius:999px;background:#fff4e22e;padding:0;transition:background .16s ease}.mini-toggle span{position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:999px;background:#fff;transition:transform .16s ease}.mini-toggle.active{background:#daaa5feb}.mini-toggle.active span{transform:translate(16px)}.settings-page .settings-footer{margin-top:0}.cinema-shell[data-theme=white-gold] .settings-page-title span,.cinema-shell[data-theme=white-gold] .settings-section-heading span,.cinema-shell[data-theme=white-gold] .settings-hint,.cinema-shell[data-theme=white-gold] .settings-footer,.cinema-shell[data-theme=white-gold] .settings-switch,.cinema-shell[data-theme=white-gold] .settings-grid label{color:#463729ad}.cinema-shell[data-theme=white-gold] .provider-tabs button,.cinema-shell[data-theme=white-gold] .option-button-row button,.cinema-shell[data-theme=white-gold] .hud-toggle-row button{color:#463729b8}.cinema-shell[data-theme=white-gold] .hud-toggle-row button.active,.cinema-shell[data-theme=white-gold] .hud-toggle-row button:hover{color:#543d1ff2;background:#c79a501f}.cinema-shell[data-theme=white-gold] .provider-tabs button.active,.cinema-shell[data-theme=white-gold] .provider-tabs button:hover,.cinema-shell[data-theme=white-gold] .option-button-row button.active,.cinema-shell[data-theme=white-gold] .option-button-row button:hover{border-color:#95733f61;color:#463729;background:#b598692e}.cinema-shell[data-theme=white-gold] .option-button-row,.cinema-shell[data-theme=white-gold] .provider-tabs{border-color:#95733f2e;background:#ffffff73}.cinema-shell[data-theme=white-gold] .settings-grid input,.cinema-shell[data-theme=white-gold] .settings-grid select,.cinema-shell[data-theme=white-gold] textarea{color:#463729;background:#ffffffad}.cinema-shell[data-theme=white-gold] .background-upload-card{border-color:#95733f3d;color:#463729;background:linear-gradient(135deg,#ffffffb8,#ddc49729),#ffffff5c}.cinema-shell[data-theme=white-gold] .visual-block-title,.cinema-shell[data-theme=white-gold] .stream-row-card strong{color:#463729d1}.cinema-shell[data-theme=white-gold] .stream-row-card small{color:#46372985}.cinema-shell[data-theme=white-gold] .visual-cortex-card{border-color:#95733f24;background:#ffffff47}.cinema-shell[data-theme=white-gold] .settings-grid input::placeholder{color:#4637296b}.panel-close{display:inline-grid;width:30px;height:30px;place-items:center;margin-left:auto;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#fff4e4;background:#ffffff0f}textarea{width:100%;resize:vertical;border:1px solid rgba(255,226,187,.2);border-radius:8px;color:#fff8ee;background:#ffffff0f;padding:10px 12px;line-height:1.5}.chat-list{display:grid;max-height:360px;gap:10px;overflow:auto;margin-top:14px}.chat-bubble{border-radius:8px;padding:10px 12px;line-height:1.55}.chat-bubble.user{justify-self:end;max-width:88%;background:#ffcf9629}.chat-bubble.companion{background:#8bb1a929}.chat-bubble.companion.is-streaming{width:min(62ch,100%);min-width:min(280px,100%)}.cinema-companion-markdown,.cottage-markdown{display:grid;gap:.62em;line-height:1.78;letter-spacing:0;white-space:normal;word-break:normal;overflow-wrap:anywhere}.cinema-companion-markdown>:first-child,.cottage-markdown>:first-child{margin-top:0}.cinema-companion-markdown>:last-child,.cottage-markdown>:last-child{margin-bottom:0}.cinema-companion-markdown p,.cottage-markdown p{margin:0;white-space:pre-wrap;line-height:1.78;letter-spacing:0}.cinema-companion-markdown strong,.cottage-markdown strong{color:inherit;font-weight:800;font-synthesis:weight;-webkit-text-stroke:.12px currentColor}.cinema-companion-markdown em,.cottage-markdown em{color:inherit}.cinema-companion-markdown ul,.cinema-companion-markdown ol,.cottage-markdown ul,.cottage-markdown ol{margin:0;padding-left:1.25em}.cinema-companion-markdown li+li,.cottage-markdown li+li{margin-top:.25em}.cinema-companion-markdown blockquote,.cottage-markdown blockquote{margin:0;border-left:2px solid rgba(255,226,187,.28);color:#fff4e2b8;padding-left:10px}.cinema-companion-markdown code,.cottage-markdown code{border:1px solid rgba(255,226,187,.12);border-radius:6px;background:#00000029;padding:.1em .35em}.cinema-companion-markdown pre,.cottage-markdown pre{max-width:100%;overflow:auto;border:1px solid rgba(255,226,187,.12);border-radius:8px;background:#0000002e;padding:10px}.cinema-companion-markdown pre code,.cottage-markdown pre code{border:0;background:transparent;padding:0}.frame-preview{display:block;width:100%;border-radius:8px}.lower-grid{display:grid;grid-template-columns:1fr;gap:20px;margin-top:0}.lower-grid.pop-panel{position:fixed;left:50%;bottom:clamp(76px,9svh,128px);z-index:46;width:min(680px,calc(100vw - 44px));max-height:min(68svh,680px);overflow:auto;transform:translate(-50%)}.companion-plan-panel{position:relative;z-index:46;width:min(420px,calc(100vw - 44px));max-height:min(56svh,560px);overflow:auto;margin:8px auto 0}.companion-plan-panel .panel{background:linear-gradient(135deg,#724c355c,#fff4e21f);-webkit-backdrop-filter:blur(9px) saturate(1.08);backdrop-filter:blur(9px) saturate(1.08)}.companion-map-panel{position:relative;z-index:46;width:min(288px,calc(100vw - 44px));max-height:min(288px,56svh);margin:8px auto 0}.companion-map-popover{overflow-y:auto;max-height:min(288px,56svh);border:1px solid rgba(255,255,255,.09);border-radius:16px;color:#ffffffb8;background:#090807c2;padding:11px;box-shadow:0 18px 56px #0006;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.companion-map-head{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:8px}.companion-map-kicker,.companion-map-help{margin:0}.companion-map-kicker{color:#ffffff6e;font-size:.62rem;letter-spacing:.2em;text-transform:uppercase}.companion-map-help{margin-top:4px;color:#ffffff5c;font-size:.62rem}.companion-map-panel .panel-close{width:26px;height:26px;color:#ffffff94;background:#ffffff0f}.companion-map-list{display:grid;gap:4px}.companion-map-row{display:block;width:100%;min-height:0;border:0;border-radius:12px;color:#ffffffb3;background:#ffffff0b;padding:7px 10px;text-align:left;transition:background .16s ease}.companion-map-row:hover,.companion-map-row.active{background:#ffffff1a}.companion-map-row-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.companion-map-time{color:#ffe2bbb8;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.62rem}.companion-map-status{color:#ffffff5c;font-size:.56rem}.companion-map-status.pending{color:#ffe2bb8f}.companion-map-cue{display:-webkit-box;overflow:hidden;margin-top:4px;color:#ffffff85;font-size:.62rem;line-height:1rem;-webkit-box-orient:vertical;-webkit-line-clamp:2}.companion-map-row:hover .companion-map-cue{color:#ffffffb3}.panel-title-meta{margin-left:auto;color:#f8efe46b;font-size:.72rem;font-weight:500}.panel-title-meta+.panel-close{margin-left:4px}.companion-option-card{margin-top:9px;border:1px solid rgba(255,226,187,.13);border-radius:8px;background:#ffffff12;padding:8px}.companion-option-card.darker{background:#5535262e}.option-label{margin-bottom:7px;color:#f8efe461;font-size:.62rem;letter-spacing:.16em;text-transform:uppercase}.pill-grid{display:grid;gap:6px}.mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.density-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pill-grid button{min-height:30px;border:1px solid transparent;border-radius:999px;color:#fff4e294;background:#ffffff12;padding:0 8px;font-size:.74rem}.pill-grid button:hover,.pill-grid button.active{border-color:#fff4e22e;color:#fff8ee;background:#ffffff26}.pill-grid button.active.warm{border-color:#ffdaa842;color:#fff0d2;background:#ffd69729}.companion-generate{min-height:36px;margin-top:11px;border-radius:999px;font-size:.8rem}.companion-generating-pill{display:flex;align-items:center;justify-content:center;gap:6px;width:fit-content;margin:8px auto 0;border:1px solid rgba(255,238,213,.14);border-radius:999px;background:#2f1f1875;padding:6px 12px;color:#fff1dcb8;font-size:.7rem;line-height:1;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.companion-generating-dots{display:inline-flex;align-items:center;gap:3px}.companion-generating-dots i{display:block;width:3px;height:3px;border-radius:999px;background:currentColor;animation:companionGeneratingDotBounce .92s ease-in-out infinite}.companion-generating-dots i:nth-child(2){animation-delay:.14s}.companion-generating-dots i:nth-child(3){animation-delay:.28s}@keyframes companionGeneratingDotBounce{0%,80%,to{opacity:.42;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.mini-warning{margin-top:8px;color:#ffe1b3ad;font-size:.72rem;text-align:center}.playlist-panel .panel{background:linear-gradient(135deg,#603e2c7a,#fff4e21a);-webkit-backdrop-filter:blur(10px) saturate(1.08);backdrop-filter:blur(10px) saturate(1.08)}.record-list,.plan-list{display:grid;gap:12px}.star-map{display:grid;grid-template-columns:1fr;gap:7px;margin-top:9px}.record-row{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid rgba(255,226,187,.12);border-radius:8px;background:#ffffff0e;padding:9px}.record-row .record-thumb{display:grid;position:relative;overflow:hidden;width:92px;height:58px;place-items:center;border:1px solid rgba(255,226,187,.12);border-radius:8px;color:#fff4e27a;background:#00000042;padding:0;text-align:center}.record-thumb img{width:100%;height:100%;object-fit:cover}.record-thumb-button span{position:absolute;inset:auto 6px 5px;border-radius:999px;color:#fffaf2e0;background:#00000075;padding:2px 0;font-size:.58rem;opacity:0;transition:opacity .16s ease}.record-thumb-button:hover span{opacity:1}.record-row button,.plan-list button,.star-map button{border:1px solid rgba(255,226,187,.16);border-radius:8px;color:#fff4e4;background:#ffffff13;padding:9px;text-align:left}.record-main,.plan-list button,.star-map button{display:grid;gap:4px}.record-row>.record-main{min-width:0;border:0;background:transparent;cursor:pointer;padding:0}.record-row>.record-main:focus-visible{outline:1px solid rgba(255,226,187,.42);outline-offset:4px}.record-title-line{display:flex;min-width:0;align-items:center;gap:7px}.record-title-line strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-title-line .record-title-edit{display:block;min-width:0;overflow:hidden;border:0;border-radius:0;color:inherit;background:transparent;cursor:text;padding:0;font:inherit;font-weight:800;line-height:1.25;text-align:left;text-overflow:ellipsis;white-space:nowrap}.record-title-line .record-title-edit:hover{color:#fff8ee;text-decoration:underline;text-decoration-color:#ffe2bb47;text-underline-offset:3px}.record-title-input{min-width:0;width:min(260px,100%);border:1px solid rgba(255,226,187,.3);border-radius:10px;color:#fff8ee;background:#1c130fb8;box-shadow:0 10px 28px #0000002e;padding:6px 9px;font:inherit;font-weight:800;line-height:1.25}.record-title-input:focus{border-color:#ffe2bb85;outline:0}.record-title-line em{flex:0 0 auto;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#fff4e27a;background:#fff4e212;padding:2px 6px;font-size:.58rem;font-style:normal;letter-spacing:.08em}.record-title-line em.current{color:#fff4e2c7;background:#ffd29729}.record-row small{color:#f8efe46b;font-size:.72rem}.record-meta{overflow:hidden;color:#f8efe48a;font-size:.72rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.record-progress{display:block;overflow:hidden;height:4px;border-radius:999px;background:#fff4e21f}.record-progress i{display:block;height:100%;border-radius:inherit;background:#ffdbaa9e}.record-resume{white-space:nowrap;border-color:#ffe2bb3d!important;background:#fff4e21f!important}.record-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;width:196px}.record-actions button{min-height:30px;border-radius:999px;padding:6px 9px;font-size:.72rem;text-align:center}.record-actions .danger{color:#ffd1c7b8;background:#b437281f}.playlist-empty{display:grid;justify-items:center;gap:10px;border:1px solid rgba(255,226,187,.1);border-radius:8px;background:#ffffff0b;padding:28px 18px;text-align:center}.playlist-empty strong{color:#fff7eb}.playlist-footnote{margin-top:12px;border:1px solid rgba(255,226,187,.08);border-radius:8px;color:#f8efe475;background:#0000001f;padding:9px 11px;font-size:.72rem;line-height:1.6}.chat-page-shell{position:relative;display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:18px;width:min(1280px,calc(100vw - 36px));min-height:100svh;margin:0 auto;padding:76px 0 28px;color:#fff4e4}.chat-page-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;background:radial-gradient(circle at 26% 20%,rgba(255,219,170,.13),transparent 30%),radial-gradient(circle at 80% 80%,rgba(185,118,97,.12),transparent 34%),linear-gradient(135deg,#17120f,#281a14 48%,#15100d)}.chat-session-sidebar,.chat-window-panel{border:1px solid rgba(255,226,187,.14);border-radius:8px;background:linear-gradient(135deg,#6644305c,#fff4e217);-webkit-backdrop-filter:blur(16px) saturate(1.08);backdrop-filter:blur(16px) saturate(1.08);box-shadow:0 20px 48px #1f120c3d}.chat-session-sidebar{display:grid;grid-template-rows:auto 1fr;min-height:min(760px,calc(100svh - 104px));overflow:hidden}.chat-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,226,187,.1);padding:14px}.chat-sidebar-head p{margin:0;color:#f8efe47a;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase}.chat-sidebar-head h1{margin:3px 0 0;font-size:1.05rem}.chat-sidebar-head button,.chat-head-actions button,.long-chat-bubble button{display:grid;place-items:center;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#fff4e2b8;background:#ffffff14}.chat-sidebar-head button,.chat-head-actions button{width:34px;height:34px}.chat-sidebar-head button:hover,.chat-head-actions button:hover,.long-chat-bubble button:hover{color:#fff8ef;background:#fff4e226}.chat-session-list{display:grid;align-content:start;gap:8px;overflow:auto;padding:12px}.chat-session-list button{border:1px solid rgba(255,226,187,.1);border-radius:8px;color:#fff4e2a3;background:#ffffff0b;padding:10px;text-align:left}.chat-session-list button:hover,.chat-session-list button.active{color:#fff6e9;background:#fff4e21f}.chat-session-list strong,.chat-session-list span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-session-list span{margin-top:4px;color:#f8efe46b;font-size:.72rem}.chat-window-panel{display:grid;grid-template-rows:auto 1fr auto;min-height:min(760px,calc(100svh - 104px));overflow:hidden}.chat-window-head{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(255,226,187,.1);padding:13px 14px}.chat-title-editor{display:flex;min-width:0;flex:1;align-items:center;gap:10px}.chat-title-editor input{min-width:0;width:100%;border:0;color:#fff7ed;background:transparent;font-weight:700;outline:none}.chat-head-actions{display:flex;gap:8px}.chat-message-list{display:grid;align-content:start;gap:13px;overflow:auto;padding:18px}.long-chat-message{display:flex}.long-chat-message.user{justify-content:flex-end}.long-chat-message.companion{justify-content:flex-start}.long-chat-bubble{display:flex;max-width:min(74ch,86%);gap:10px;border:1px solid rgba(255,226,187,.1);border-radius:8px;background:#ffffff12;padding:11px 12px}.long-chat-message.user .long-chat-bubble{background:#ffd3a524}.long-chat-bubble p{margin:0;white-space:pre-wrap;line-height:1.65}.long-chat-bubble button{flex:0 0 auto;width:26px;height:26px;font-size:.82rem}.empty-chat-state{display:grid;justify-items:center;gap:9px;margin:auto;max-width:420px;color:#fff4e28f;text-align:center}.empty-chat-state strong{color:#fff8edd1}.chat-input-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border-top:1px solid rgba(255,226,187,.1);padding:12px}.chat-input-bar textarea{min-height:42px;max-height:120px;resize:vertical;border:1px solid rgba(255,226,187,.14);border-radius:8px;color:#fff7eb;background:#00000029;padding:10px 12px;outline:none}.chat-input-bar button{display:inline-flex;min-height:42px;align-items:center;gap:8px;border:1px solid rgba(255,226,187,.22);border-radius:8px;color:#fff7eb;background:#fff4e21f;padding:0 15px}.chat-input-bar button:disabled{cursor:not-allowed;opacity:.5}.chat-error{position:absolute;right:18px;bottom:18px;border:1px solid rgba(255,145,120,.28);border-radius:8px;color:#ffe5de;background:#571e16c7;padding:10px 12px;font-size:.82rem}.cottage-chat-shell{position:relative;display:flex;min-height:100svh;justify-content:center;overflow:hidden;padding:58px 0 0;color:#fff4e4}.cottage-chat-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-2;background:radial-gradient(circle at 20% 12%,rgba(255,230,186,.16),transparent 26%),radial-gradient(circle at 80% 82%,rgba(180,112,92,.16),transparent 34%),linear-gradient(135deg,#16100d,#271912 46%,#130f0c)}.cottage-chat-bg:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(90deg,rgba(255,226,187,.06) 1px,transparent 1px),linear-gradient(rgba(255,226,187,.04) 1px,transparent 1px);background-size:54px 54px;opacity:.18;-webkit-mask-image:radial-gradient(circle at center,black,transparent 80%);mask-image:radial-gradient(circle at center,black,transparent 80%)}.cottage-chat-shell[data-theme=black-gold] .cottage-chat-bg{background:radial-gradient(circle at 20% 12%,rgba(213,177,109,.12),transparent 26%),radial-gradient(circle at 80% 82%,rgba(88,72,45,.14),transparent 34%),linear-gradient(135deg,#050505,#14100c 48%,#080706)}.cottage-chat-shell[data-theme=black-gold] .cottage-chat-main,.cottage-chat-shell[data-theme=black-gold] .cottage-chat-sidebar{background:linear-gradient(180deg,#ffe2bb0e,#ffe2bb05),#080808c7}.cottage-chat-shell[data-theme=black-gold] .cottage-message-card{background:#ffffff0e}.cottage-chat-shell[data-theme=black-gold] .cottage-message-row.user .cottage-message-card{background:#ffe2bb1a}.cottage-chat-shell[data-theme=white-gold]{color:#463729}.cottage-chat-shell[data-theme=white-gold] .cottage-chat-bg{background:radial-gradient(circle at 20% 12%,rgba(198,160,88,.16),transparent 26%),radial-gradient(circle at 80% 82%,rgba(221,196,151,.2),transparent 34%),linear-gradient(135deg,#f5f3ec,#e8edf4 50%,#f7f3e8)}.cottage-chat-shell[data-theme=white-gold] .cottage-chat-main,.cottage-chat-shell[data-theme=white-gold] .cottage-chat-sidebar{border-color:#95733f2e;color:#463729;background:linear-gradient(180deg,#ffffff9e,#f6ebda5c),#ffffff75}.cottage-chat-shell[data-theme=white-gold] .cottage-chat-title,.cottage-chat-shell[data-theme=white-gold] .cottage-session-search,.cottage-chat-shell[data-theme=white-gold] .cottage-message-card,.cottage-chat-shell[data-theme=white-gold] .cottage-composer,.cottage-chat-shell[data-theme=white-gold] .cottage-attachment-menu{border-color:#95733f2e;color:#463729;background:#ffffff94}.cottage-chat-shell[data-theme=white-gold] .cottage-message-row.user .cottage-message-card{background:#ddc4973d}.cottage-chat-shell[data-theme=white-gold] input,.cottage-chat-shell[data-theme=white-gold] textarea{color:#463729}.cottage-chat-shell[data-theme=white-gold] .cottage-message-hud,.cottage-chat-shell[data-theme=white-gold] .cottage-message-actions-bar,.cottage-chat-shell[data-theme=white-gold] .cottage-session-main span,.cottage-chat-shell[data-theme=white-gold] .cottage-sidebar-title p{color:#46372985}.cottage-chat-shell[data-theme=pink-mocha] .cottage-chat-bg{background:radial-gradient(circle at 20% 12%,rgba(181,140,140,.18),transparent 26%),radial-gradient(circle at 80% 82%,rgba(226,218,220,.12),transparent 34%),linear-gradient(135deg,#42382e,#312a21 52%,#221c16)}.cottage-chat-shell[data-theme=pink-mocha] .cottage-chat-main,.cottage-chat-shell[data-theme=pink-mocha] .cottage-chat-sidebar{background:linear-gradient(180deg,#e2dadc12,#b58c8c09),#312a21c7}.cottage-chat-shell[data-theme=custom]{color:#4f4365}.cottage-chat-shell[data-theme=custom] .cottage-chat-bg{background:radial-gradient(circle at 18% 12%,rgba(166,148,188,.22),transparent 28%),radial-gradient(circle at 78% 84%,rgba(220,189,168,.16),transparent 34%),linear-gradient(135deg,#efe9f2,#fbf9fc 52%,#e2d8e9)}.cottage-chat-shell[data-theme=custom] .cottage-chat-main,.cottage-chat-shell[data-theme=custom] .cottage-chat-sidebar{border-color:#8f7fa233;color:#4f4365;background:linear-gradient(180deg,#ffffffa3,#e7daf157),#fbf9fc94}.cottage-chat-shell[data-theme=custom] .cottage-chat-title,.cottage-chat-shell[data-theme=custom] .cottage-session-search,.cottage-chat-shell[data-theme=custom] .cottage-message-card,.cottage-chat-shell[data-theme=custom] .cottage-composer,.cottage-chat-shell[data-theme=custom] .cottage-attachment-menu{border-color:#8f7fa233;color:#4f4365;background:#ffffff94}.cottage-chat-shell[data-theme=custom] .cottage-message-row.user .cottage-message-card{background:#a694bc33}.cottage-chat-shell[data-theme=custom] input,.cottage-chat-shell[data-theme=custom] textarea{color:#4f4365}.cottage-chat-shell[data-theme=custom] .cottage-message-hud,.cottage-chat-shell[data-theme=custom] .cottage-message-actions-bar,.cottage-chat-shell[data-theme=custom] .cottage-session-main span,.cottage-chat-shell[data-theme=custom] .cottage-sidebar-title p{color:#4f436585}.cottage-chat-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:38;display:none;border:0;background:#160f0c2e}.cottage-chat-sidebar{position:fixed;top:58px;bottom:0;left:0;z-index:45;display:grid;width:min(286px,100vw);grid-template-rows:auto auto minmax(0,1fr);overflow:visible;border:1px solid rgba(255,226,187,.14);border-radius:8px;background:#35231ac7;-webkit-backdrop-filter:blur(18px) saturate(1.08);backdrop-filter:blur(18px) saturate(1.08);box-shadow:0 20px 58px #190e0a52;transform:translate(calc(-100% - 30px));transition:transform .18s ease,box-shadow .18s ease}.cottage-chat-sidebar.is-open{transform:translate(0)}.cottage-sidebar-title{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,226,187,.08);padding:14px}.cottage-sidebar-title p{margin:0;color:#f8efe47a;font-size:.68rem;letter-spacing:.16em}.cottage-sidebar-title h1{margin:3px 0 0;color:#fff8edeb;font-size:1rem}.cottage-sidebar-title button,.cottage-chat-actions button,.cottage-sidebar-toggle,.cottage-session-search button{display:grid;place-items:center;border:1px solid rgba(255,226,187,.14);border-radius:999px;color:#fff4e2ad;background:#ffffff12;transition:color .16s ease,background .16s ease,border-color .16s ease}.cottage-sidebar-title button,.cottage-chat-actions button,.cottage-sidebar-toggle{width:34px;height:34px}.cottage-sidebar-toggle{position:relative;overflow:hidden;transform:translate(0);box-shadow:inset 0 0 0 1px rgba(var(--kx-primary-rgb, 176, 141, 85),0)}.cottage-sidebar-toggle-bars{position:relative;z-index:1;display:flex;width:20px;flex-direction:column;align-items:flex-start;gap:5px}.cottage-sidebar-toggle-bars i{display:block;height:2px;border-radius:999px;background:currentColor;transition:width .22s ease,opacity .16s ease,transform .22s ease}.cottage-sidebar-toggle-bars i:first-child{width:20px}.cottage-sidebar-toggle-bars i:last-child{width:12px}.cottage-sidebar-toggle:after{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border-radius:inherit;background:radial-gradient(circle,rgba(var(--kx-primary-rgb, 176, 141, 85),.22),transparent 66%);opacity:0;transform:scale(.72);transition:opacity .18s ease,transform .18s ease}.cottage-sidebar-toggle svg{position:relative;z-index:1;transition:transform .18s ease}.cottage-sidebar-toggle:hover{transform:translate(-1px)}.cottage-sidebar-toggle:hover:after,.cottage-chat-shell.has-sidebar .cottage-sidebar-toggle:after{opacity:1;transform:scale(1)}.cottage-sidebar-toggle:hover .cottage-sidebar-toggle-bars i:last-child,.cottage-chat-shell.has-sidebar .cottage-sidebar-toggle-bars i:last-child{width:20px}.cottage-chat-shell.has-sidebar .cottage-sidebar-toggle-bars i:first-child{width:15px}.cottage-sidebar-title button:hover,.cottage-chat-actions button:hover,.cottage-sidebar-toggle:hover,.cottage-session-search button:hover{border-color:#ffe2bb47;color:#fff9ef;background:#fff4e221}.cottage-sidebar-actions{display:flex;gap:7px;padding:12px 14px 10px}.cottage-sidebar-actions button{display:inline-flex;min-height:34px;width:100%;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,226,187,.2);border-radius:8px;color:#ffe6c0eb;background:#ffe6c014}.cottage-sidebar-actions .cottage-new-session-button{min-width:0;flex:1}.cottage-sidebar-actions .cottage-new-session-options-button{width:34px;flex:0 0 34px;justify-content:center;padding-inline:0}.cottage-sidebar-actions .cottage-import-session-button{width:auto;flex:0 0 auto;padding-inline:10px}.cottage-sidebar-actions button:hover{color:#2b1d15;background:#ffe2bbd1}.cottage-session-search{position:relative;display:flex;align-items:center;margin:0 14px 12px;border:1px solid rgba(255,226,187,.1);border-radius:8px;background:#0000002e;color:#fff4e252}.cottage-session-search svg{margin-left:10px;flex:0 0 auto}.cottage-session-search input{min-width:0;width:100%;border:0;color:#fff8eddb;background:transparent;padding:9px 8px;font-size:.78rem;outline:none}.cottage-session-search input::placeholder{color:#fff4e247}.cottage-session-search button{width:24px;height:24px;margin-right:6px}.cottage-session-list{display:grid;align-content:start;gap:7px;overflow:auto;padding:2px 10px 12px}.cottage-session-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px;border:1px solid transparent;border-radius:8px;color:#fff4e294;background:transparent;padding:6px;transition:background .16s ease,border-color .16s ease,color .16s ease}.cottage-session-item:hover,.cottage-session-item.active{border-color:#ffe2bb21;color:#fff8edeb;background:#ffffff12}.cottage-session-main{min-width:0;border:0;color:inherit;background:transparent;padding:4px;text-align:left}.cottage-session-main strong,.cottage-session-main span,.cottage-session-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cottage-session-main strong{font-size:.84rem}.cottage-session-main span{margin-top:4px;color:#f8efe45c;font-size:.68rem}.cottage-session-main small{margin-top:3px;color:#f8efe438;font-size:.62rem;line-height:1.35}.cottage-session-actions{display:inline-flex;flex:0 0 auto;align-items:center;align-self:start;gap:4px;margin-top:3px;opacity:0;pointer-events:none;transform:translate(4px);transition:opacity .15s ease,transform .15s ease}.cottage-session-item:hover .cottage-session-actions,.cottage-session-item:focus-within .cottage-session-actions,.cottage-session-item.show-actions .cottage-session-actions{opacity:1;pointer-events:auto;transform:none}.cottage-session-actions button{display:grid;width:24px;height:24px;place-items:center;border:1px solid rgba(255,226,187,.075);border-radius:999px;color:#fff4e261;background:#ffffff09;transition:color .15s ease,background .15s ease,border-color .15s ease}.cottage-session-actions button:hover{border-color:#ffe2bb3d;color:#fff8ede6;background:#fff4e221}.cottage-session-actions button:last-child:hover{border-color:#ff91783d;color:#ffc7baf2;background:#ff91781f}.cottage-chat-shell[data-theme=white-gold] .cottage-session-actions button{border-color:#95733f21;color:#5c442b70;background:#b5986912}.cottage-chat-shell[data-theme=white-gold] .cottage-session-actions button:hover{border-color:#95733f61;color:#5c442b;background:#b5986938}.cottage-chat-shell[data-theme=white-gold] .cottage-session-actions button:last-child{color:#7f443794}.cottage-chat-shell[data-theme=white-gold] .cottage-session-actions button:last-child:hover{border-color:#7f443747;color:#7f4437;background:#7f44371f}@media(hover:none),(pointer:coarse){.cottage-session-actions{opacity:.46;pointer-events:auto;transform:none}.cottage-session-item.active .cottage-session-actions,.cottage-session-item.show-actions .cottage-session-actions{opacity:.78}.cottage-session-actions button{width:23px;height:23px}}.cottage-session-rename-input{min-width:0;border:1px solid rgba(255,226,187,.18);border-radius:7px;color:#fff8ede6;background:#00000029;padding:8px;font-size:.82rem;outline:none}.cottage-session-empty{padding:30px 10px;color:#f8efe452;text-align:center;font-size:.78rem}.cottage-search-summary{display:flex;align-items:baseline;gap:6px;margin:1px 4px 4px;color:#fff4e275;font-size:.7rem}.cottage-search-summary strong{color:#ffe8c5e0;font-size:.88rem}.cottage-search-group{display:grid;gap:6px;border:1px solid rgba(255,226,187,.09);border-radius:10px;background:#ffffff09;padding:7px}.cottage-search-group.is-watch{border-color:rgba(var(--color-primary),.14);background:rgba(var(--color-primary),.035)}.cottage-search-group-head,.cottage-search-hit{width:100%;border:0;color:inherit;background:transparent;text-align:left}.cottage-search-group-head{display:grid;gap:3px;border-radius:7px;padding:4px 5px}.cottage-search-group-head:hover{background:#fff4e212}.cottage-search-group-head strong,.cottage-search-group-head span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cottage-search-group-title-line{display:flex!important;align-items:center;gap:6px}.cottage-search-group-title-line em{flex:0 0 auto;border:1px solid rgba(255,226,187,.18);border-radius:999px;padding:1px 5px;color:#ffe2bbbd;font-size:.56rem;font-style:normal;letter-spacing:.08em}.cottage-search-group-title-line strong{min-width:0}.cottage-search-group-head strong{color:#fff8eddb;font-size:.78rem}.cottage-search-group-head span{color:#f8efe45c;font-size:.66rem}.cottage-search-group-head small{display:block;overflow:hidden;color:#f8efe44d;font-size:.65rem;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.cottage-search-hit-list{display:grid;gap:5px}.cottage-search-hit{display:grid;gap:5px;border:1px solid rgba(255,226,187,.08);border-radius:8px;background:#00000017;padding:7px 8px;transition:border-color .16s ease,background .16s ease,color .16s ease}.cottage-search-hit:hover{border-color:#ffe2bb33;background:#fff4e214}.cottage-search-hit>span{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#fff4e280;font-size:.62rem}.cottage-search-hit>span strong{color:#ffe2bbc7;font-weight:700}.cottage-search-hit p{margin:0;color:#fff8edbd;font-size:.72rem;line-height:1.55}.cottage-search-hit mark{border-radius:4px;color:#2c1c12;background:#ffe2bbdb;padding:0 2px}.cottage-chat-main{position:relative;display:grid;width:min(1000px,100vw);height:calc(100svh - 58px);grid-template-rows:44px minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(255,226,187,.13);border-radius:0;background:linear-gradient(180deg,#fff4e212,#fff4e208),#231812bd;-webkit-backdrop-filter:blur(16px) saturate(1.08);backdrop-filter:blur(16px) saturate(1.08);box-shadow:0 24px 64px #180e0a52}.cottage-chat-hud{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid rgba(255,226,187,.08);padding:0 12px}.cottage-chat-title{display:flex;min-width:0;align-items:center;justify-content:center;gap:9px;color:#ffe2bbcc}.cottage-chat-title input{min-width:0;max-width:min(420px,64vw);border:0;color:#fff8edeb;background:transparent;text-align:center;font-weight:700;outline:none}.cottage-chat-actions{display:flex;align-items:center;gap:8px}.cottage-chat-actions button:disabled{cursor:not-allowed;opacity:.36}.cottage-message-scroll{display:flex;flex-direction:column;gap:14px;overflow-x:hidden;overflow-y:auto;padding:18px min(6vw,54px)}.cottage-load-older{align-self:center;min-height:31px;border:1px solid rgba(255,226,187,.14);border-radius:999px;color:#fff4e29e;background:#ffffff0e;padding:0 13px;font-size:.72rem;transition:color .16s ease,background .16s ease,border-color .16s ease}.cottage-load-older:hover{border-color:#ffe2bb42;color:#fff8ede6;background:#fff4e21c}.cottage-empty-chat{display:grid;width:min(100%,430px);box-sizing:border-box;justify-items:center;gap:10px;margin:auto;max-width:450px;color:#fff4e280;padding:0 22px;text-align:center}.cottage-empty-star{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 5px 12px rgba(122,162,255,.24))}.cottage-empty-chat strong{color:#fff8edd6;font-size:.95rem}.cottage-empty-chat span{color:#f8efe46b;font-size:.78rem;line-height:1.6;overflow-wrap:anywhere}.cottage-message-row{display:flex;align-items:flex-start;gap:10px}.cottage-message-row.user{flex-direction:row-reverse}.cottage-message-avatar{display:grid;width:31px;height:31px;flex:0 0 auto;overflow:hidden;place-items:center;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#ffe2bbd1;background:#ffffff14;font-size:.75rem;font-weight:700}.cottage-message-avatar img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}.cottage-message-row.user .cottage-message-avatar{color:#4c3021e0;background:#ffe2bbc7}.cottage-message-stack{display:grid;max-width:min(76ch,82%);gap:5px}.cottage-message-row.user .cottage-message-stack{justify-items:end}.cottage-message-row.companion.is-streaming .cottage-message-stack{width:min(68ch,82%);min-width:min(360px,calc(100vw - 132px))}.cottage-message-row.companion.is-streaming .cottage-message-card{width:100%}.cottage-message-card{position:relative;max-width:100%;border:1px solid rgba(255,226,187,.13);border-radius:22px 22px 22px 7px;color:#fff8ede0;background:linear-gradient(180deg,#ffffff14,#ffffff0b),#2a1d1694;padding:12px 14px 13px;box-shadow:0 14px 34px #140c0829;-webkit-backdrop-filter:blur(10px) saturate(1.08);backdrop-filter:blur(10px) saturate(1.08);font-size:.98rem;line-height:1.78;letter-spacing:0;text-rendering:optimizeLegibility}.cottage-message-card.is-editing{width:min(560px,82vw)}.cottage-message-row.user .cottage-message-card{border-color:#ffe2bb2e;border-radius:22px 22px 7px;background:linear-gradient(180deg,#ffe2bb2e,#ffe2bb17),#5b3a279e}.cottage-message-row.search-highlight .cottage-message-card{animation:cottageSearchPulse 1.55s ease}@keyframes cottageSearchPulse{0%,to{border-color:#ffe2bb29;box-shadow:0 14px 34px #140c0829}32%{border-color:#ffe2bbc7;box-shadow:0 0 0 3px #ffe2bb29,0 16px 38px #140c0838}}.cottage-message-card p{margin:0;white-space:pre-wrap;line-height:1.78;letter-spacing:0;word-break:normal;overflow-wrap:anywhere}.cottage-message-hud{display:flex;flex-wrap:wrap;gap:8px;padding:0 8px;color:#f8efe45c;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.62rem;letter-spacing:.06em;line-height:1.4;-webkit-user-select:none;user-select:none}.cottage-message-row.user .cottage-message-hud{justify-content:flex-end}.cottage-message-actions-bar{display:flex;align-items:center;gap:11px;padding:0 8px;color:#f8efe461;opacity:.9;transition:opacity .16s ease}.cottage-message-row.user .cottage-message-actions-bar{justify-content:flex-end;opacity:0}.cottage-message-row.user:hover .cottage-message-actions-bar{opacity:1}.cottage-message-actions-bar button{display:inline-flex;min-height:20px;align-items:center;gap:4px;border:0;color:inherit;background:transparent;padding:0;font-size:.66rem;transition:color .16s ease,opacity .16s ease}.cottage-message-actions-bar button:hover:not(:disabled){color:#ffe2bbdb}.cottage-message-actions-bar button:disabled{cursor:not-allowed;opacity:.36}.cottage-edit-box{display:grid;width:100%;gap:9px}.cottage-edit-box textarea{width:100%;box-sizing:border-box;min-height:92px;resize:vertical;border:1px solid rgba(255,226,187,.18);border-radius:12px;color:#fff8edeb;background:#0000001f;padding:10px 12px;font:inherit;line-height:1.65;outline:none}.cottage-edit-box textarea:focus{border-color:#ffe2bb57}.cottage-edit-actions{display:flex;flex-wrap:wrap;gap:8px}.cottage-edit-actions button{min-height:30px;border:1px solid rgba(255,226,187,.17);border-radius:999px;color:#fff4e2d1;background:#fff4e217;padding:0 12px;font-size:.74rem}.cottage-edit-actions button:first-child{color:#372318eb;background:#ffe2bbdb}.cottage-message-attachments{display:grid;gap:9px;margin-bottom:9px}.cottage-message-image{display:block;max-width:min(100%,420px);max-height:360px;border:1px solid rgba(255,226,187,.16);border-radius:10px;object-fit:contain;background:#00000024;box-shadow:0 10px 24px #140c082e}.cottage-message-file{display:flex;min-width:0;align-items:center;gap:8px;border:1px solid rgba(255,226,187,.14);border-radius:12px;color:#fff4e2c7;background:#ffffff0e;padding:9px 10px}.cottage-message-file span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cottage-message-file small{flex:0 0 auto;color:#f8efe46b;font-size:.68rem}.cottage-message-card>button{position:absolute;right:8px;bottom:-12px;display:grid;width:26px;height:26px;place-items:center;border:1px solid rgba(255,226,187,.13);border-radius:999px;color:#fff4e275;background:#312018db;opacity:0;transition:opacity .14s ease,color .14s ease,background .14s ease}.cottage-message-card:hover>button{opacity:1}.cottage-message-card>button:hover{color:#fff7eb;background:#fff4e229}.cottage-thinking{display:inline-flex;width:fit-content;align-items:center;gap:4px;margin-left:44px;color:#ffe2bbb8;font-size:.74rem;letter-spacing:.04em}.thinking-dots{display:inline-flex;align-items:center;gap:3px;padding-left:1px}.thinking-dots i{display:block;width:3px;height:3px;border-radius:999px;background:currentColor;animation:thinking-dot-bounce .92s ease-in-out infinite}.thinking-dots i:nth-child(2){animation-delay:.14s}.thinking-dots i:nth-child(3){animation-delay:.28s}@keyframes thinking-dot-bounce{0%,80%,to{transform:translateY(0);opacity:.46}40%{transform:translateY(-4px);opacity:1}}.cottage-composer{display:grid;gap:9px;border-top:1px solid rgba(255,226,187,.08);background:linear-gradient(180deg,#fff4e208,#fff4e204),#1c130eb8;padding:12px min(6vw,54px)}.cottage-composer-row{display:flex;width:min(900px,100%);align-items:flex-end;gap:8px;margin:0 auto}.cottage-attach-area{position:relative;flex:0 0 auto}.cottage-input-wrap{display:flex;min-height:40px;min-width:0;flex:1 1 auto;align-items:center;border:1px solid rgba(255,226,187,.12);border-radius:24px;background:#ffffff12;padding:9px 13px;transition:border-color .16s ease,background .16s ease}.cottage-input-wrap:focus-within{border-color:#ffe2bb47;background:#ffffff17}.cottage-composer textarea{width:100%;min-height:20px;resize:none;border:0;color:#fff8edeb;background:transparent;padding:0 2px;font-size:.9rem;line-height:20px;outline:none}.cottage-composer textarea::placeholder{color:#fff4e257}.cottage-attach-trigger,.cottage-send-button{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;border:1px solid rgba(255,226,187,.2);border-radius:999px;color:#fff4e2c2;background:#ffffff13;transition:transform .16s ease,color .16s ease,background .16s ease,border-color .16s ease}.cottage-attach-trigger:hover,.cottage-send-button:hover:not(:disabled){border-color:#ffe2bb52;color:#fff7eb;background:#fff4e221}.cottage-attach-trigger.active{transform:rotate(45deg)}.cottage-send-button{color:#372318eb;background:#ffe2bbdb}.cottage-send-button:hover:not(:disabled){color:#291a11f2;background:#ffedcdf5}.cottage-attach-menu{position:absolute;left:0;bottom:calc(100% + 12px);z-index:5;display:grid;min-width:128px;gap:6px;border:1px solid rgba(255,226,187,.17);border-radius:14px;background:#2a1d16eb;padding:8px;box-shadow:0 16px 40px #140c0847;-webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1)}.cottage-attach-menu button{display:inline-flex;min-height:34px;align-items:center;justify-content:flex-start;gap:8px;border:1px solid rgba(255,226,187,.1);border-radius:10px;color:#fff4e2d6;background:#ffffff0e;padding:0 10px;text-align:left}.cottage-attach-menu button:hover{border-color:#ffe2bb33;background:#fff4e21f}.cottage-send-button:disabled,.cottage-attach-trigger:disabled{cursor:not-allowed;opacity:.48}.cottage-attachment-tray{display:flex;width:min(900px,100%);flex-wrap:wrap;gap:8px;margin:0 auto}.cottage-pending-attachment{position:relative;min-width:0}.cottage-pending-attachment img{display:block;width:58px;height:58px;border:1px solid rgba(255,226,187,.16);border-radius:12px;object-fit:cover;background:#00000024}.cottage-pending-file{display:grid;min-width:142px;max-width:220px;grid-template-columns:auto minmax(0,1fr);column-gap:7px;row-gap:2px;align-items:center;border:1px solid rgba(255,226,187,.14);border-radius:12px;color:#fff4e2c7;background:#ffffff0f;padding:9px 11px}.cottage-pending-file svg{grid-row:span 2}.cottage-pending-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}.cottage-pending-file small{color:#f8efe46b;font-size:.66rem}.cottage-attachment-remove{position:absolute;top:-7px;right:-7px;display:grid;width:21px;height:21px;place-items:center;border:1px solid rgba(255,226,187,.18);border-radius:999px;color:#fff4e2d1;background:#392219f2;padding:0}.cottage-chat-error{position:absolute;right:18px;bottom:72px;max-width:min(460px,calc(100% - 36px));border:1px solid rgba(255,145,120,.24);border-radius:8px;color:#ffe5de;background:#571e16d1;padding:10px 12px;text-align:left;font-size:.8rem;box-shadow:0 14px 38px #180e0a4d}.cottage-confirm-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:20px}.cottage-confirm-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0b070580;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.cottage-new-window-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;pointer-events:none}.cottage-new-window-dismiss{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:transparent;pointer-events:auto}.cottage-new-window-panel-layer{position:absolute;top:126px;right:0;bottom:0;left:0;z-index:6;overflow-y:auto;background:#08050457;padding:12px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.cottage-confirm-card{position:relative;z-index:1;display:grid;width:min(360px,100%);gap:12px;border:1px solid rgba(255,226,187,.18);border-radius:14px;color:#fff8ede6;background:linear-gradient(180deg,#fff4e21a,#fff4e20b),#2a1d16f0;padding:18px;box-shadow:0 24px 70px #00000061}.cottage-confirm-card strong{font-size:.98rem}.cottage-confirm-card p{margin:0;color:#fff4e299;font-size:.78rem;line-height:1.7}.cottage-confirm-actions{display:flex;justify-content:flex-end;gap:8px}.cottage-confirm-actions button{display:inline-flex;min-height:23px;align-items:center;justify-content:center;border:1px solid rgba(255,226,187,.16);border-radius:999px;color:#fff4e2d1;background:#ffffff12;padding:0 10px;font-size:.64rem;line-height:1}.cottage-confirm-actions button.danger{border-color:#ff91783d;color:#ffe1daf2;background:#ff917824}.cottage-new-window-dialog{display:grid;width:auto;max-height:min(58vh,520px);gap:14px;overflow:auto;margin:0;border:1px solid var(--kx-border);border-radius:14px;padding:12px;-webkit-backdrop-filter:blur(14px) saturate(1.08);backdrop-filter:blur(14px) saturate(1.08)}.cottage-new-window-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.cottage-new-window-dialog header button{display:inline-grid;min-width:28px;min-height:28px;place-items:center;border:0;border-radius:999px;color:var(--kx-muted);background:transparent}.cottage-new-window-dialog header button:hover{color:var(--kx-primary);background:rgba(var(--kx-primary-rgb),.08)}.cottage-new-window-heading{display:inline-flex;min-width:0;align-items:center;gap:10px}.cottage-new-window-heading>div{display:grid;min-width:0;gap:3px}.cottage-new-window-heading strong{color:var(--kx-text-main);font-size:.86rem;letter-spacing:.12em}.cottage-new-window-heading small{color:var(--kx-muted);font-size:.66rem;line-height:1.5}.cottage-new-window-glyph{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(var(--kx-primary-rgb),.16);border-radius:9px;color:var(--kx-primary);background:rgba(var(--kx-primary-rgb),.08)}.cottage-new-window-options{display:grid;gap:7px}.cottage-new-window-options label{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:2px 8px;border:1px solid rgba(var(--kx-primary-rgb),.15);border-radius:10px;background:rgba(var(--kx-primary-rgb),.06);padding:8px;transition:border-color .16s ease,background .16s ease,opacity .16s ease}.cottage-new-window-options label.disabled{border-style:dashed;opacity:.66;background:color-mix(in srgb,var(--kx-panel-soft) 64%,transparent)}.cottage-new-window-options input{width:14px;height:14px;accent-color:var(--kx-primary)}.cottage-new-window-options span{display:grid;gap:2px;min-width:0}.cottage-new-window-options strong{color:var(--kx-text-main);font-size:.75rem}.cottage-new-window-options small{overflow:hidden;color:var(--kx-muted);font-size:.58rem;text-overflow:ellipsis;white-space:nowrap}.cottage-new-window-options em{color:color-mix(in srgb,var(--kx-primary) 72%,transparent);font-size:.54rem;font-style:normal;letter-spacing:.08em}.cottage-new-window-options label.disabled em{color:color-mix(in srgb,var(--kx-muted) 74%,transparent)}.cottage-new-window-sources{display:grid;gap:6px}.cottage-new-window-sources>span{color:var(--kx-muted);font-size:.6rem;letter-spacing:.16em}.cottage-new-window-sources button{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--kx-border);border-radius:999px;color:var(--kx-muted);background:var(--kx-panel-soft);padding:7px 10px}.cottage-new-window-sources button.active{border-color:rgba(var(--kx-primary-rgb),.36);color:var(--kx-primary);background:rgba(var(--kx-primary-rgb),.1)}.cottage-new-window-sources strong,.cottage-new-window-sources small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cottage-new-window-sources strong{flex:0 0 auto;font-size:.64rem}.cottage-new-window-sources small{min-width:0;font-size:.68rem}@media(min-width:761px){.cottage-chat-shell{display:grid;grid-template-columns:minmax(0,min(100vw,1040px));align-items:stretch;gap:18px;justify-content:center;padding:58px 0 0}.cottage-chat-shell.has-sidebar{grid-template-columns:minmax(248px,286px) minmax(0,min(760px,calc(100vw - 340px)));max-width:min(100vw,1120px);margin-inline:auto}.cottage-chat-sidebar{position:relative;inset:auto;width:100%;height:calc(100svh - 58px);transform:none}.cottage-chat-sidebar:not(.is-open){display:none}.cottage-chat-main{width:min(100%,920px);justify-self:center}.cottage-chat-backdrop{display:none}}@media(max-width:760px){.cottage-route-switcher{min-height:54px;gap:6px;padding:7px 10px}.cottage-route-switcher button{width:40px;min-height:38px;gap:0;padding:0;border-radius:12px}.cottage-route-switcher button span{display:none}.chat-page-shell{grid-template-columns:1fr;width:calc(100vw - 24px);padding-top:68px}.chat-session-sidebar{min-height:auto;max-height:220px}.chat-window-panel{min-height:calc(100svh - 320px)}.app-switcher{left:12px;right:12px;justify-content:center}.room-side-entry{right:12px;top:12px;bottom:auto;transform:none}.room-side-entry button{width:42px;height:42px}.room-side-entry span{display:none}.settings-route-shell{padding:54px 0 0}.settings-route-header{grid-template-columns:1fr auto;width:100%;gap:10px}.settings-route-header button{order:3;grid-column:1 / -1;justify-content:center}.settings-route-header h1{display:grid;gap:4px}.settings-route-shell .settings-page,.persona-user-layer,.persona-workbench{width:100%}.persona-user-layer{grid-template-columns:1fr;justify-items:stretch}.persona-soft-toggle{justify-self:start}.persona-workbench{grid-template-columns:1fr}.persona-deck-panel{position:relative;top:auto}.persona-editor-head,.persona-editor-grid,.persona-cognitive-row{grid-template-columns:1fr}.persona-danger-button{justify-self:end}.visual-background-row{grid-template-columns:1fr}.cottage-chat-shell{padding:54px 0 0}.cottage-chat-backdrop{display:block}.cottage-chat-sidebar{top:54px;bottom:0;left:0}.cottage-chat-main{width:100vw;height:calc(100svh - 54px)}.cottage-chat-hud{grid-template-columns:38px minmax(0,1fr) auto;gap:6px;padding:0 8px}.cottage-chat-title input{max-width:42vw}.cottage-chat-actions{gap:5px}.cottage-chat-actions button,.cottage-sidebar-toggle{width:31px;height:31px}.cottage-message-scroll{padding:14px 12px}.cottage-message-stack{max-width:min(78vw,72ch)}.cottage-message-meta{gap:8px}.cottage-composer{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.cottage-composer-row{gap:7px}.cottage-attach-trigger,.cottage-send-button{width:38px;height:38px}.cottage-attach-menu{min-width:118px}.cottage-message-image{max-height:280px}}.memory-route-shell .memory-page-heading{align-items:center;border:1px solid var(--kx-border);border-radius:10px;background:radial-gradient(circle at 12% 0%,color-mix(in srgb,var(--kx-primary) 16%,transparent),transparent 36%),linear-gradient(135deg,color-mix(in srgb,var(--kx-panel-bg) 86%,white 14%),color-mix(in srgb,var(--kx-panel-soft) 88%,transparent));padding:18px 20px;box-shadow:0 14px 34px color-mix(in srgb,var(--kx-shadow) 52%,transparent)}.vector-route-shell .vector-section-panel{overflow:hidden}.vector-route-shell .vector-panel-body{gap:18px;padding:20px}.vector-route-shell .vector-config-grid,.vector-route-shell .vector-choice-grid,.vector-route-shell .vector-scope-grid,.vector-route-shell .vector-compact-control-grid{gap:11px}.vector-route-shell .vector-cache-card{padding:12px 14px}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control,.vector-route-shell .vector-compact-control{padding:8px 11px}.vector-route-shell .vector-test-actions{gap:9px}.vector-route-shell .vector-test-actions button,.vector-route-shell .vector-test-actions .vector-clear-button,.vector-route-shell .vector-action-primary{padding-inline:13px}@media(max-width:760px){.memory-route-shell .memory-page-heading{padding:14px 15px}.vector-route-shell .vector-panel-body{gap:12px;padding:14px}.vector-route-shell .vector-config-grid,.vector-route-shell .vector-choice-grid,.vector-route-shell .vector-scope-grid,.vector-route-shell .vector-compact-control-grid{gap:8px}}.soft-button{display:inline-flex;min-height:34px;align-items:center;gap:8px;border:1px solid rgba(255,226,187,.24);border-radius:999px;color:#fff4e2d6;background:#fff4e21f;padding:0 14px}.compact-soft-button{min-height:30px;padding:0 11px;font-size:.72rem}.playlist-note{margin:12px 0 0;color:#f8efe475;font-size:.74rem;line-height:1.45}.record-row span,.plan-list small,.star-map small{color:#f8efe49e}.star-map button{position:relative;min-height:132px;align-content:start}.star-map button svg{color:#ffd697c2}.star-map button.visited{border-color:#8bb1a95c}.star-map button.active{border-color:#ffdaa8b8;background:#ffd69729}.web-frame{width:100%;height:100%;border:0;background:#fff}.prompt-preview{margin-top:20px;padding:16px}.prompt-preview pre{overflow:auto;white-space:pre-wrap;color:#fff4e2d1}.error-toast{position:fixed;right:18px;bottom:18px;max-width:min(460px,calc(100vw - 36px));border:1px solid rgba(255,112,112,.36);border-radius:8px;background:#481414f2;padding:12px 14px}@media(max-width:560px){.visual-inline-row,.visual-inline-pair,.visual-compact-setting,.persona-inline-grid,.persona-avatar-grid,.persona-switch-grid,.persona-tuning-grid,.memory-compose-grid,.memory-dashboard{grid-template-columns:1fr}.visual-compact-title,.background-inline-row .visual-compact-title{min-width:0}.cinema-layout-control{justify-content:space-between}.memory-entry-foot{align-items:stretch;flex-direction:column}.memory-entry-foot label{flex:0 0 auto}}@media(max-width:520px){.cinema-shell{padding:12px 0}.cinema-header{left:12px;top:10px;width:calc(100vw - 24px)}.workspace{top:96px;width:calc(100vw - 36px)}.cinema-header{align-items:flex-start}.screen-controls{border-radius:8px;position:static;width:max-content;max-width:calc(100% - 18px);margin:10px auto 0}.projector-area{padding-bottom:0}.video-subtitle{bottom:18px;width:90%}.plan-bubble{left:50%;top:auto;bottom:164px;max-width:90%}.search-line{grid-template-columns:auto 1fr}.search-line button{grid-column:2}.video-stage.floating{left:12px;right:12px;top:92px;width:auto;height:220px}.talk-launcher{top:auto;bottom:112px;width:calc(100vw - 48px)}.sofa-companion{top:auto;bottom:104px;width:calc(100vw - 36px)}.status-strip{bottom:18px;max-width:calc(100vw - 48px)}.settings-panel{left:12px;right:12px;top:82px;width:auto;max-height:calc(100svh - 104px)}.settings-grid,.settings-grid.compact{grid-template-columns:1fr}.provider-tabs{grid-template-columns:repeat(5,max-content);justify-content:flex-start;overflow-x:auto;border-radius:8px}.provider-tabs button{min-width:max-content}}.cinema-shell[data-theme=black-gold],.settings-route-shell[data-theme=black-gold],.cottage-chat-shell[data-theme=black-gold],.cottage-route-switcher[data-theme=black-gold]{--kx-bg-main: #050505;--kx-bg-card: #0a0a0a;--kx-primary: #B08D55;--kx-primary-rgb: 176, 141, 85;--kx-text-main: #e2e2e2;--kx-bubble-user: #2a2622;--kx-bubble-ai: #0F0F0F;--kx-page-bg: radial-gradient(circle at 18% 8%, rgba(176, 141, 85, .12), transparent 30%), radial-gradient(circle at 88% 82%, rgba(176, 141, 85, .08), transparent 34%), linear-gradient(135deg, #050505, #0a0a0a 48%, #050505);--kx-panel-bg: rgba(10, 10, 10, .92);--kx-panel-soft: rgba(15, 15, 15, .86);--kx-input-bg: rgba(15, 15, 15, .76);--kx-button-bg: rgba(176, 141, 85, .08);--kx-active-bg: rgba(176, 141, 85, .16);--kx-border: rgba(176, 141, 85, .22);--kx-border-soft: rgba(226, 226, 226, .08);--kx-muted: rgba(226, 226, 226, .58);--kx-shadow: rgba(0, 0, 0, .34)}.cinema-shell[data-theme=white-gold],.settings-route-shell[data-theme=white-gold],.cottage-chat-shell[data-theme=white-gold],.cottage-route-switcher[data-theme=white-gold]{--kx-bg-main: #f8fafb;--kx-bg-card: #ffffff;--kx-primary: #b59869;--kx-primary-rgb: 181, 152, 105;--kx-text-main: #2e2824;--kx-bubble-user: #ebe6e0;--kx-bubble-ai: #ffffff;--kx-page-bg: radial-gradient(circle at 16% 10%, rgba(181, 152, 105, .13), transparent 30%), radial-gradient(circle at 88% 82%, rgba(181, 152, 105, .1), transparent 34%), linear-gradient(135deg, #f8fafb, #ffffff 52%, #f8fafb);--kx-panel-bg: rgba(255, 255, 255, .94);--kx-panel-soft: rgba(255, 255, 255, .78);--kx-input-bg: rgba(255, 255, 255, .84);--kx-button-bg: rgba(181, 152, 105, .08);--kx-active-bg: rgba(181, 152, 105, .18);--kx-border: rgba(181, 152, 105, .24);--kx-border-soft: rgba(46, 40, 36, .08);--kx-muted: rgba(46, 40, 36, .58);--kx-shadow: rgba(181, 152, 105, .14)}.cinema-shell[data-theme=pink-mocha],.settings-route-shell[data-theme=pink-mocha],.cottage-chat-shell[data-theme=pink-mocha],.cottage-route-switcher[data-theme=pink-mocha]{--kx-bg-main: #42382e;--kx-bg-card: #312a21;--kx-primary: #b58c8c;--kx-primary-rgb: 181, 140, 140;--kx-text-main: #e2dadc;--kx-bubble-user: #b58c8c;--kx-bubble-ai: #312a21;--kx-page-bg: radial-gradient(circle at 18% 8%, rgba(181, 140, 140, .15), transparent 30%), radial-gradient(circle at 88% 82%, rgba(181, 140, 140, .1), transparent 34%), linear-gradient(135deg, #42382e, #312a21 52%, #42382e);--kx-panel-bg: rgba(49, 42, 33, .92);--kx-panel-soft: rgba(49, 42, 33, .8);--kx-input-bg: rgba(49, 42, 33, .74);--kx-button-bg: rgba(181, 140, 140, .1);--kx-active-bg: rgba(181, 140, 140, .2);--kx-border: rgba(181, 140, 140, .25);--kx-border-soft: rgba(226, 218, 220, .08);--kx-muted: rgba(226, 218, 220, .6);--kx-shadow: rgba(34, 26, 22, .3)}.cinema-shell[data-theme=custom],.settings-route-shell[data-theme=custom],.cottage-chat-shell[data-theme=custom],.cottage-route-switcher[data-theme=custom]{--kx-bg-main: #efe9f2;--kx-bg-card: #fbf9fc;--kx-primary: #9f735c;--kx-primary-rgb: 159, 115, 92;--kx-primary-soft: #a694bc;--kx-text-main: #4f4365;--kx-bubble-user: #ded3e6;--kx-bubble-ai: #fbf9fc;--kx-page-bg: radial-gradient(circle at 14% 8%, rgba(166, 148, 188, .22), transparent 30%), radial-gradient(circle at 82% 86%, rgba(220, 189, 168, .14), transparent 34%), linear-gradient(135deg, #efe9f2, #fbf9fc 54%, #e5dceb);--kx-panel-bg: rgba(251, 249, 252, .94);--kx-panel-soft: rgba(255, 255, 255, .72);--kx-input-bg: rgba(255, 255, 255, .8);--kx-button-bg: rgba(143, 127, 162, .1);--kx-active-bg: rgba(143, 127, 162, .18);--kx-border: rgba(143, 127, 162, .25);--kx-border-soft: rgba(79, 67, 101, .1);--kx-muted: rgba(79, 67, 101, .58);--kx-shadow: rgba(79, 67, 101, .16)}body:has(.cinema-shell[data-theme=black-gold]),body:has(.settings-route-shell[data-theme=black-gold]),body:has(.cottage-chat-shell[data-theme=black-gold]){background:#050505}body:has(.cinema-shell[data-theme=white-gold]),body:has(.settings-route-shell[data-theme=white-gold]),body:has(.cottage-chat-shell[data-theme=white-gold]){background:#f8fafb}body:has(.cinema-shell[data-theme=pink-mocha]),body:has(.settings-route-shell[data-theme=pink-mocha]),body:has(.cottage-chat-shell[data-theme=pink-mocha]){background:#42382e}body:has(.cinema-shell[data-theme=custom]),body:has(.settings-route-shell[data-theme=custom]),body:has(.cottage-chat-shell[data-theme=custom]){background:#efe9f2}.cinema-shell[data-theme],.settings-route-shell[data-theme],.cottage-chat-shell[data-theme]{color:var(--kx-text-main)}.settings-route-shell[data-theme],.cottage-chat-shell[data-theme] .cottage-chat-bg{background:var(--kx-page-bg)}.cottage-route-switcher[data-theme]{border-color:color-mix(in srgb,var(--kx-primary) 14%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--kx-bg-main) 90%,transparent),color-mix(in srgb,var(--kx-bg-main) 68%,transparent)),radial-gradient(circle at 18% 0%,rgba(var(--kx-primary-rgb),.08),transparent 38%);box-shadow:none;-webkit-backdrop-filter:blur(16px) saturate(1.04);backdrop-filter:blur(16px) saturate(1.04)}.cottage-route-switcher[data-theme] button{border-color:transparent;color:var(--kx-muted);background:transparent}.cottage-route-switcher[data-theme] button:hover,.cottage-route-switcher[data-theme] button.active{border-color:transparent;color:var(--kx-text-main);background:rgba(var(--kx-primary-rgb),.13)}.cottage-route-switcher[data-theme] button svg{color:var(--kx-primary);stroke-width:2}.cottage-route-switcher button.route-memory svg,.cottage-route-switcher button.route-chronicle svg{width:21px;height:21px}.cottage-route-switcher button.route-memory svg{transform:scale(1.05)}.cottage-route-switcher button.route-chronicle svg{transform:scale(.94);transform-origin:center}.cottage-route-switcher[data-theme] .memory-glyph-frame,.cottage-route-switcher[data-theme] .memory-glyph-page,.cottage-route-switcher[data-theme] .chronicle-glyph-book,.cottage-route-switcher[data-theme] .chronicle-glyph-orbit{stroke:currentColor;opacity:1}.cottage-route-switcher[data-theme] .memory-glyph-page-fill{fill:currentColor;opacity:.86}.cottage-route-switcher[data-theme] .memory-glyph-frame,.cottage-route-switcher[data-theme] .chronicle-glyph-book{stroke-width:1.08}.cottage-route-switcher[data-theme] .memory-glyph-page,.cottage-route-switcher[data-theme] .chronicle-glyph-orbit{stroke-width:.72}.cottage-route-switcher[data-theme=white-gold]{background:linear-gradient(180deg,#fffdf7e0,#f8f2e79e),radial-gradient(circle at 16% 0%,rgba(var(--kx-primary-rgb),.08),transparent 36%);box-shadow:inset 0 -1px rgba(var(--kx-primary-rgb),.1)}.cottage-route-switcher[data-theme=custom]{background:linear-gradient(180deg,#fbf9fce0,#efe9f29e),radial-gradient(circle at 18% 0%,rgba(var(--kx-primary-rgb),.08),transparent 38%);box-shadow:inset 0 -1px rgba(var(--kx-primary-rgb),.12)}.settings-route-shell[data-theme] .settings-route-header,.settings-route-shell[data-theme] .settings-page-card,.settings-route-shell[data-theme] .settings-section,.settings-route-shell[data-theme] .settings-section-body,.settings-route-shell[data-theme] .visual-cortex-card,.settings-route-shell[data-theme] .stream-row-card,.settings-route-shell[data-theme] .persona-user-layer,.settings-route-shell[data-theme] .persona-deck-panel,.settings-route-shell[data-theme] .persona-editor-panel,.settings-route-shell[data-theme] .persona-deck-card,.settings-route-shell[data-theme] .persona-editor-head,.settings-route-shell[data-theme] .persona-memory-gate,.settings-route-shell[data-theme] .persona-soft-toggle,.settings-route-shell[data-theme] .persona-field,.settings-route-shell[data-theme] .persona-switch-card,.settings-route-shell[data-theme] .persona-slider-card,.settings-route-shell[data-theme] .memory-search,.settings-route-shell[data-theme] .memory-empty,.settings-route-shell[data-theme] .memory-entry-card,.settings-route-shell[data-theme] .memory-dashboard-card,.settings-route-shell[data-theme] .memory-count-chip,.settings-route-shell[data-theme] .memory-tag-filter button,.settings-route-shell[data-theme] .memory-tag-chip,.settings-route-shell[data-theme] .memory-mini-chip,.settings-route-shell[data-theme] .background-upload-card,.settings-route-shell[data-theme] .option-button-row,.settings-route-shell[data-theme] .provider-tabs,.cinema-shell[data-theme] .settings-page-card,.cinema-shell[data-theme] .settings-section,.cinema-shell[data-theme] .visual-cortex-card,.cinema-shell[data-theme] .stream-row-card,.cinema-shell[data-theme] .background-upload-card,.cinema-shell[data-theme] .option-button-row,.cinema-shell[data-theme] .provider-tabs{border-color:var(--kx-border);color:var(--kx-text-main);background:var(--kx-panel-bg);box-shadow:0 18px 50px var(--kx-shadow)}.settings-route-shell[data-theme] .settings-section-body,.settings-route-shell[data-theme] .visual-cortex-card,.settings-route-shell[data-theme] .stream-row-card,.settings-route-shell[data-theme] .persona-field,.settings-route-shell[data-theme] .persona-switch-card,.settings-route-shell[data-theme] .persona-slider-card,.settings-route-shell[data-theme] .memory-entry-card,.settings-route-shell[data-theme] .memory-dashboard-card,.settings-route-shell[data-theme] .background-upload-card,.cinema-shell[data-theme] .visual-cortex-card,.cinema-shell[data-theme] .stream-row-card,.cinema-shell[data-theme] .background-upload-card{background:var(--kx-panel-soft);box-shadow:none}.settings-route-shell[data-theme] input,.settings-route-shell[data-theme] select,.settings-route-shell[data-theme] textarea,.settings-route-shell[data-theme] .settings-grid input,.settings-route-shell[data-theme] .settings-grid select,.settings-route-shell[data-theme] .memory-compose textarea,.settings-route-shell[data-theme] .memory-compose-foot input,.settings-route-shell[data-theme] .memory-inline-add input,.settings-route-shell[data-theme] .persona-field input,.settings-route-shell[data-theme] .persona-field textarea,.cinema-shell[data-theme] input,.cinema-shell[data-theme] select,.cinema-shell[data-theme] textarea,.cinema-shell[data-theme] .settings-grid input,.cinema-shell[data-theme] .settings-grid select{border-color:var(--kx-border);color:var(--kx-text-main);background:var(--kx-input-bg)}.settings-route-shell[data-theme] input::placeholder,.settings-route-shell[data-theme] textarea::placeholder,.cinema-shell[data-theme] input::placeholder,.cinema-shell[data-theme] textarea::placeholder{color:var(--kx-muted)}.settings-route-shell[data-theme] .settings-route-header p,.settings-route-shell[data-theme] .settings-route-header h1 span,.settings-route-shell[data-theme] .settings-section-copy small,.settings-route-shell[data-theme] .settings-hint,.settings-route-shell[data-theme] .settings-footer,.settings-route-shell[data-theme] .cinema-layout-control>span,.settings-route-shell[data-theme] .persona-user-copy p,.settings-route-shell[data-theme] .persona-panel-title p,.settings-route-shell[data-theme] .persona-editor-title p,.settings-route-shell[data-theme] .persona-deck-card small,.settings-route-shell[data-theme] .memory-title-copy p,.settings-route-shell[data-theme] .memory-entry-meta,.settings-route-shell[data-theme] .memory-alias-toggle,.settings-route-shell[data-theme] .stream-row-card small,.cinema-shell[data-theme] .settings-page-title span,.cinema-shell[data-theme] .settings-section-heading span,.cinema-shell[data-theme] .settings-hint,.cinema-shell[data-theme] .settings-footer,.cinema-shell[data-theme] .stream-row-card small{color:var(--kx-muted)}.settings-route-shell[data-theme] .settings-route-mark,.settings-route-shell[data-theme] .settings-section-icon,.settings-route-shell[data-theme] .settings-section-heading svg,.settings-route-shell[data-theme] .visual-block-title svg,.settings-route-shell[data-theme] .memory-title-mark,.settings-route-shell[data-theme] .persona-panel-mark,.cinema-shell[data-theme] .settings-route-mark,.cinema-shell[data-theme] .settings-section-icon,.cinema-shell[data-theme] .settings-section-heading svg,.cinema-shell[data-theme] .visual-block-title svg{border-color:var(--kx-border);color:var(--kx-primary);background:var(--kx-button-bg)}.settings-route-shell[data-theme] button,.settings-route-shell[data-theme] label,.cinema-shell[data-theme] button,.cinema-shell[data-theme] label{color:inherit}.settings-route-shell[data-theme] .provider-tabs button,.settings-route-shell[data-theme] .option-button-row button,.settings-route-shell[data-theme] .hud-toggle-row button,.settings-route-shell[data-theme] .memory-head-actions button,.settings-route-shell[data-theme] .memory-primary-tool,.settings-route-shell[data-theme] .memory-filter-toggle,.settings-route-shell[data-theme] .memory-filter-clear,.settings-route-shell[data-theme] .persona-avatar-actions button,.settings-route-shell[data-theme] .persona-avatar-actions label,.settings-route-shell[data-theme] .cinema-layout-cycle,.cinema-shell[data-theme] .provider-tabs button,.cinema-shell[data-theme] .option-button-row button,.cinema-shell[data-theme] .hud-toggle-row button{border-color:var(--kx-border);color:var(--kx-text-main);background:var(--kx-button-bg)}.settings-route-shell[data-theme] .provider-tabs button.active,.settings-route-shell[data-theme] .provider-tabs button:hover,.settings-route-shell[data-theme] .option-button-row button.active,.settings-route-shell[data-theme] .option-button-row button:hover,.settings-route-shell[data-theme] .hud-toggle-row button.active,.settings-route-shell[data-theme] .hud-toggle-row button:hover,.settings-route-shell[data-theme] .memory-head-actions button:hover,.settings-route-shell[data-theme] .memory-primary-tool:hover,.settings-route-shell[data-theme] .memory-filter-toggle:hover,.settings-route-shell[data-theme] .memory-filter-clear:hover,.settings-route-shell[data-theme] .cinema-layout-cycle:hover,.cinema-shell[data-theme] .provider-tabs button.active,.cinema-shell[data-theme] .provider-tabs button:hover,.cinema-shell[data-theme] .option-button-row button.active,.cinema-shell[data-theme] .option-button-row button:hover,.cinema-shell[data-theme] .hud-toggle-row button.active,.cinema-shell[data-theme] .hud-toggle-row button:hover{border-color:rgba(var(--kx-primary-rgb),.42);color:var(--kx-text-main);background:var(--kx-active-bg)}.cottage-chat-shell[data-theme]{background:var(--kx-bg-main)}.cottage-chat-shell[data-theme] .cottage-chat-bg:after{opacity:.12}.cottage-chat-shell[data-theme] .cottage-chat-main,.cottage-chat-shell[data-theme] .cottage-chat-sidebar,.cottage-chat-shell[data-theme] .cottage-chat-title,.cottage-chat-shell[data-theme] .cottage-session-search,.cottage-chat-shell[data-theme] .cottage-composer,.cottage-chat-shell[data-theme] .cottage-attachment-menu,.cottage-chat-shell[data-theme] .cottage-edit-box textarea,.cottage-chat-shell[data-theme] .cottage-search-panel,.cottage-chat-shell[data-theme] .cottage-confirm-dialog{border-color:var(--kx-border);color:var(--kx-text-main);background:var(--kx-panel-bg);box-shadow:0 18px 50px var(--kx-shadow)}.cottage-chat-shell[data-theme] .cottage-session-search,.cottage-chat-shell[data-theme] .cottage-composer,.cottage-chat-shell[data-theme] .cottage-attachment-menu,.cottage-chat-shell[data-theme] .cottage-edit-box textarea{background:var(--kx-panel-soft)}.cottage-chat-shell[data-theme] .cottage-chat-main,.cottage-chat-shell[data-theme] .cottage-chat-sidebar{box-shadow:none}.cottage-chat-shell[data-theme] input,.cottage-chat-shell[data-theme] textarea{color:var(--kx-text-main)}.cottage-chat-shell[data-theme] input::placeholder,.cottage-chat-shell[data-theme] textarea::placeholder{color:var(--kx-muted)}.cottage-chat-shell[data-theme] .cottage-message-card{border-color:rgba(var(--kx-primary-rgb),.15);color:var(--kx-text-main);background:var(--kx-bubble-ai);box-shadow:0 8px 18px var(--kx-shadow)}.cottage-chat-shell[data-theme] .cottage-message-row.user .cottage-message-card{border-color:#0000000d;color:var(--kx-text-main);background:var(--kx-bubble-user)}.cottage-chat-shell[data-theme] .cottage-message-card.is-editing{border-color:rgba(var(--kx-primary-rgb),.38);background:var(--kx-panel-soft)}.cottage-chat-shell[data-theme] .cottage-message-hud,.cottage-chat-shell[data-theme] .cottage-message-actions-bar,.cottage-chat-shell[data-theme] .cottage-session-main span,.cottage-chat-shell[data-theme] .cottage-session-main small,.cottage-chat-shell[data-theme] .cottage-sidebar-title p,.cottage-chat-shell[data-theme] .cottage-search-hit small,.cottage-chat-shell[data-theme] .cottage-empty-state p{color:var(--kx-muted)}.cottage-chat-shell[data-theme] .cottage-session-main small{opacity:.58}.cottage-chat-shell[data-theme] .cottage-session-item,.cottage-chat-shell[data-theme] .cottage-search-hit,.cottage-chat-shell[data-theme] .cottage-attach-menu button,.cottage-chat-shell[data-theme] .cottage-message-actions-bar button,.cottage-chat-shell[data-theme] .cottage-chat-actions button,.cottage-chat-shell[data-theme] .cottage-sidebar-toggle,.cottage-chat-shell[data-theme] .cottage-attach-trigger,.cottage-chat-shell[data-theme] .cottage-send-button,.cottage-chat-shell[data-theme] .cottage-confirm-actions button{border-color:var(--kx-border);color:var(--kx-text-main);background:var(--kx-button-bg)}.cottage-chat-shell[data-theme] .cottage-session-item.active,.cottage-chat-shell[data-theme] .cottage-session-item:hover,.cottage-chat-shell[data-theme] .cottage-search-hit:hover,.cottage-chat-shell[data-theme] .cottage-attach-menu button:hover,.cottage-chat-shell[data-theme] .cottage-message-actions-bar button:hover,.cottage-chat-shell[data-theme] .cottage-chat-actions button:hover,.cottage-chat-shell[data-theme] .cottage-sidebar-toggle:hover,.cottage-chat-shell[data-theme] .cottage-attach-trigger:hover,.cottage-chat-shell[data-theme] .cottage-send-button:hover,.cottage-chat-shell[data-theme] .cottage-confirm-actions button:hover{border-color:rgba(var(--kx-primary-rgb),.42);color:var(--kx-text-main);background:var(--kx-active-bg)}.cottage-chat-shell[data-theme] .cottage-send-button,.settings-route-shell[data-theme] .memory-primary-tool{color:var(--kx-bg-card);background:var(--kx-primary)}.cottage-chat-shell[data-theme=black-gold] .cottage-send-button,.cottage-chat-shell[data-theme=pink-mocha] .cottage-send-button,.settings-route-shell[data-theme=black-gold] .memory-primary-tool,.settings-route-shell[data-theme=pink-mocha] .memory-primary-tool{color:#0a0a0a}.cinema-shell[data-theme] .playlist-panel{color:#2e2824}.cinema-shell[data-theme] .playlist-panel .panel{border-color:#ffffff6b;color:#2e2824;background:linear-gradient(135deg,#ffffff94,#fff8ee66),#ffffff57;box-shadow:0 22px 72px #462b1a33;-webkit-backdrop-filter:blur(6px) saturate(1.04);backdrop-filter:blur(6px) saturate(1.04)}.cinema-shell[data-theme] .playlist-panel .panel-title,.cinema-shell[data-theme] .playlist-panel .record-title-line strong,.cinema-shell[data-theme] .playlist-panel .playlist-empty strong{color:#2e2824}.cinema-shell[data-theme] .playlist-panel .panel-title svg,.cinema-shell[data-theme] .playlist-panel .playlist-empty svg,.cinema-shell[data-theme] .playlist-panel .record-thumb svg{color:#4a372aa3}.cinema-shell[data-theme] .playlist-panel .panel-title-meta,.cinema-shell[data-theme] .playlist-panel .record-row small,.cinema-shell[data-theme] .playlist-panel .record-meta,.cinema-shell[data-theme] .playlist-panel .playlist-empty p,.cinema-shell[data-theme] .playlist-panel .playlist-footnote{color:#2e282494}.cinema-shell[data-theme] .playlist-panel .panel-close,.cinema-shell[data-theme] .playlist-panel .record-row button,.cinema-shell[data-theme] .playlist-panel .soft-button{border-color:#4a372a24;color:#2e2824;background:#ffffff47}.cinema-shell[data-theme] .playlist-panel .panel-close:hover,.cinema-shell[data-theme] .playlist-panel .record-row button:hover,.cinema-shell[data-theme] .playlist-panel .soft-button:hover{border-color:#b598695c;color:#2e2824;background:#ffffff75}.cinema-shell[data-theme] .playlist-panel .record-row,.cinema-shell[data-theme] .playlist-panel .playlist-empty{border-color:#4a372a1f;background:#ffffff42}.cinema-shell[data-theme] .playlist-panel .record-thumb{border-color:#4a372a24;color:#4a372a8a;background:#ffffff4d}.cinema-shell[data-theme] .playlist-panel .record-thumb-button span{color:#fffaf2eb;background:#2e201885}.cinema-shell[data-theme] .playlist-panel .record-title-line em{border-color:#4a372a1f;color:#2e28248a;background:#2e28240f}.cinema-shell[data-theme] .playlist-panel .record-title-line em.current{color:#2e2824;background:#b5986933}.cinema-shell[data-theme] .playlist-panel .record-progress{background:#2e28241c}.cinema-shell[data-theme] .playlist-panel .record-progress i{background:#b59869c2}.cinema-shell[data-theme] .playlist-panel .record-resume{border-color:#b5986952!important;background:#b598692e!important}.cinema-shell[data-theme] .playlist-panel .record-actions .danger{color:#7d221ac2;background:#b437281a}.cinema-shell[data-theme] .playlist-panel .playlist-footnote{border-color:#4a372a1a;background:#ffffff38}.cinema-shell[data-theme] .sofa-companion{bottom:20%;width:min(82%,760px);max-width:calc(100vw - 48px)}.cinema-shell[data-theme] .sofa-companion .panel{border-color:#ffffff0a;border-radius:28px;color:#ffffffc2;background:#0000008f;box-shadow:0 18px 56px #00000057;-webkit-backdrop-filter:blur(5px) saturate(1.03);backdrop-filter:blur(5px) saturate(1.03);padding:12px}.cinema-shell[data-theme] .sofa-companion .panel-title{margin-bottom:10px;color:#ffffff85;font-size:.72rem;font-weight:600;letter-spacing:.16em}.cinema-shell[data-theme] .sofa-companion .panel-title svg{color:#ffffff75}.cinema-shell[data-theme] .sofa-companion .panel-close{margin-left:auto;border-color:transparent;color:#ffffff85;background:#ffffff14}.cinema-shell[data-theme] .sofa-companion .panel-close:hover{color:#ffffffe0;background:#ffffff29}.cinema-shell[data-theme] .sofa-companion .chat-list{max-height:18vh;gap:8px;overflow-y:auto;margin-top:0;padding-right:4px}.cinema-shell[data-theme] .sofa-companion .chat-bubble{max-width:88%;border-radius:16px;padding:8px 12px;font-size:.86rem;line-height:1.62;white-space:pre-wrap;box-shadow:0 8px 24px #00000029}.cinema-shell[data-theme] .sofa-companion .chat-bubble.user{justify-self:end;border-bottom-right-radius:6px;color:#ffffffe6;background:#ffffff26}.cinema-shell[data-theme] .sofa-companion .chat-bubble.companion{justify-self:start;max-width:94%;border:0;border-bottom-left-radius:6px;color:#ffffffb3;background:transparent;box-shadow:none;padding:4px 2px}.cinema-shell[data-theme] .sofa-companion .cinema-companion-markdown strong{color:inherit}.cinema-shell[data-theme] .sofa-companion .cinema-companion-markdown blockquote{border-left-color:#ffffff2e;color:#ffffffa3}.cottage-divider{display:grid;grid-template-columns:minmax(24px,1fr) 18px minmax(24px,1fr);align-items:center;gap:10px;width:100%;color:var(--kx-primary)}.cottage-divider>span{height:1px;background:linear-gradient(90deg,transparent,rgba(var(--kx-primary-rgb),.5))}.cottage-divider>span:last-child{background:linear-gradient(90deg,rgba(var(--kx-primary-rgb),.5),transparent)}.cottage-divider svg{width:18px;height:18px}.cottage-route-brand{display:inline-flex;align-items:center;gap:8px;margin-right:32px;color:var(--kx-primary);font-family:Georgia,Times New Roman,serif;font-size:.72rem;letter-spacing:.16em;pointer-events:none;-webkit-user-select:none;user-select:none}.cottage-route-brand svg{width:24px;height:24px;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--kx-primary) 34%,transparent))}.settings-route-shell.persona-route-shell,.settings-route-shell.memory-route-shell{width:100%;padding:82px clamp(14px,3vw,38px) 46px;overflow-x:hidden;overflow-y:auto}.settings-route-shell .cottage-ritual-page{width:min(100%,780px);margin:0 auto;overflow:visible}.cottage-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:12px 4px 18px}.cottage-page-heading>div:first-child{min-width:0}.cottage-page-kicker{display:block;margin-bottom:7px;color:var(--kx-primary);font-family:Cormorant Garamond,Georgia,Times New Roman,serif;font-size:.75rem;letter-spacing:.22em;text-transform:uppercase}.cottage-page-heading h1{margin:0;color:var(--kx-text-main);font-family:Songti SC,"Noto Serif CJK SC",Georgia,serif;font-size:clamp(1.75rem,4vw,2.5rem);font-weight:500;line-height:1.08;letter-spacing:0}.cottage-page-heading p{max-width:40rem;margin:9px 0 0;color:var(--kx-muted);font-size:.78rem;line-height:1.7}.cottage-primary-command{display:inline-flex;min-height:36px;flex:0 0 auto;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(var(--kx-primary-rgb),.34);border-radius:6px;color:var(--kx-bg-card)!important;background:var(--kx-primary)!important;padding:0 15px;font-size:.72rem;letter-spacing:.06em}.settings-route-shell[data-theme=black-gold] .cottage-primary-command,.settings-route-shell[data-theme=pink-mocha] .cottage-primary-command{color:#0a0a0a!important}.persona-bond-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(72px,116px) minmax(0,1fr);align-items:center;width:min(100%,650px);margin:0 auto;padding:32px 10px 22px}.persona-bond-person{display:grid;justify-items:center;gap:8px;min-width:0}.persona-orbit-avatar{position:relative;display:grid;width:104px;height:104px;place-items:center}.persona-orbit-avatar:before,.persona-orbit-avatar:after{position:absolute;top:3px;right:3px;bottom:3px;left:3px;border:1px solid rgba(var(--kx-primary-rgb),.32);border-radius:50%;content:""}.persona-orbit-avatar:after{top:10px;right:10px;bottom:10px;left:10px;border-style:dashed;opacity:.55}.persona-orbit-avatar>.persona-avatar-preview{position:relative;z-index:1;width:72px;height:72px;border-color:rgba(var(--kx-primary-rgb),.48);box-shadow:0 10px 32px var(--kx-shadow)}.persona-orbit-avatar>.persona-orbit-star{position:absolute;z-index:2;color:var(--kx-primary)}.persona-orbit-star-main{top:-1px;left:50%;width:17px;height:17px;transform:translate(-50%)}.persona-orbit-star-left,.persona-orbit-star-right{bottom:7px;width:8px;height:8px;opacity:.68}.persona-orbit-star-left{left:14px}.persona-orbit-star-right{right:14px}.persona-bond-name{display:grid;max-width:150px;justify-items:center;gap:3px;color:var(--kx-text-main)}.persona-bond-name>span{color:var(--kx-muted);font-family:Georgia,Times New Roman,serif;font-size:.57rem;letter-spacing:.18em}.persona-bond-name input,.persona-bond-name strong{width:100%;min-width:0;border:0!important;color:var(--kx-text-main)!important;background:transparent!important;font-family:Songti SC,"Noto Serif CJK SC",Georgia,serif;font-size:.92rem;font-weight:500;text-align:center;outline:none}.persona-bond-line{display:grid;justify-items:center;gap:6px;color:var(--kx-primary)}.persona-bond-line svg{width:28px;height:28px}.cottage-bond-ring-primary{stroke:var(--kx-primary)}.cottage-bond-ring-secondary{stroke:var(--kx-secondary, var(--kx-muted))}.persona-bond-line>span{width:100%;height:1px;background:linear-gradient(90deg,transparent,rgba(var(--kx-primary-rgb),.55),transparent)}.persona-bond-line small{color:var(--kx-muted);font-family:Georgia,Times New Roman,serif;font-size:.55rem;letter-spacing:.18em}.persona-avatar-actions.compact{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.persona-avatar-actions.compact button,.persona-avatar-actions.compact label{min-height:26px;border-radius:5px;padding:0 7px;font-size:.62rem}.persona-memory-status{display:flex;width:fit-content;align-items:center;gap:7px;margin:0 auto 20px;border:1px solid rgba(var(--kx-primary-rgb),.22);border-radius:999px;color:var(--kx-muted);background:var(--kx-button-bg);padding:5px 11px;font-family:Georgia,Times New Roman,serif;font-size:.61rem;letter-spacing:.08em}.persona-memory-status>span{width:5px;height:5px;border-radius:50%;background:var(--kx-primary);box-shadow:0 0 8px rgba(var(--kx-primary-rgb),.42)}.persona-status-actions{display:flex;justify-content:center;margin:-10px auto 20px}.persona-responsive-workbench{display:grid;gap:12px;margin-top:4px}.settings-route-shell[data-theme] .persona-deck-panel,.settings-route-shell[data-theme] .persona-editor-panel,.settings-route-shell[data-theme] .memory-page-card{border:1px solid var(--kx-border);border-radius:8px;color:var(--kx-text-main);background:var(--kx-panel-bg);box-shadow:0 18px 54px var(--kx-shadow);-webkit-backdrop-filter:blur(14px) saturate(1.05);backdrop-filter:blur(14px) saturate(1.05)}.persona-deck-panel,.persona-editor-panel{padding:16px}.cottage-panel-heading{display:flex;align-items:center;gap:9px;margin-bottom:13px;color:var(--kx-primary)}.cottage-panel-heading>svg{width:17px;height:17px;flex:0 0 auto}.cottage-panel-heading>div{display:grid;min-width:0;gap:2px}.cottage-panel-heading span{color:var(--kx-muted);font-family:Georgia,Times New Roman,serif;font-size:.55rem;letter-spacing:.15em}.cottage-panel-heading strong{color:var(--kx-text-main);font-family:Songti SC,"Noto Serif CJK SC",Georgia,serif;font-size:.88rem;font-weight:600}.persona-deck-list{display:flex;overflow-x:auto;gap:7px;padding:1px 1px 5px;scrollbar-width:thin}.settings-route-shell[data-theme] .persona-deck-card,.settings-route-shell[data-theme] .persona-add-card{display:inline-flex;width:auto;min-width:92px;min-height:38px;flex:0 0 auto;align-items:center;justify-content:center;gap:9px;border:1px solid var(--kx-border-soft);border-radius:0 12px;color:var(--kx-muted);background:var(--kx-panel-soft);padding:7px 14px;text-align:center;box-shadow:none}.settings-route-shell[data-theme] .persona-deck-card:hover,.settings-route-shell[data-theme] .persona-deck-card.active{border-color:rgba(var(--kx-primary-rgb),.42);color:var(--kx-text-main);background:var(--kx-active-bg);transform:translateY(-1px)}.persona-deck-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px;color:var(--kx-text-main);font-size:.76rem}.settings-route-shell[data-theme] .persona-add-card{min-width:42px;min-height:38px;padding-inline:11px;color:var(--kx-muted);background:transparent}.persona-editor-heading{padding-bottom:11px;border-bottom:1px solid var(--kx-border-soft)}.persona-editor-heading>svg{color:var(--kx-primary)}.persona-core-footnote{display:block;margin-top:9px;color:var(--kx-muted);font-family:Songti SC,"Noto Serif CJK SC",Georgia,serif;font-size:.66rem;font-weight:400;line-height:1.7;letter-spacing:.04em;opacity:.52}.persona-color-control{display:flex}.persona-color-control input{width:28px!important;height:22px;border:1px solid var(--kx-border)!important;border-radius:4px!important;padding:2px;cursor:pointer}.cottage-panel-heading>.persona-editor-heading-actions{display:flex;margin-left:auto;align-items:center;gap:7px;white-space:nowrap}.settings-route-shell[data-theme] .persona-reset-inline{display:inline-flex;min-height:28px;align-items:center;gap:6px;border:1px solid var(--kx-border-soft);border-radius:5px;color:var(--kx-muted);background:var(--kx-button-bg);padding:0 9px;font-size:.63rem}.settings-route-shell[data-theme] .persona-reset-inline:hover{border-color:rgba(var(--kx-primary-rgb),.4);color:var(--kx-text-main)}.persona-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.settings-route-shell[data-theme] .persona-field{border:0;background:transparent;padding:0}.persona-field>span{color:var(--kx-muted);font-size:.62rem;letter-spacing:.08em}.settings-route-shell[data-theme] .persona-field input,.settings-route-shell[data-theme] .persona-field textarea{border-radius:6px;box-shadow:inset 0 1px #ffffff06}.persona-core-field{margin-top:11px}.codex-provider-settings{display:grid;gap:12px;margin-bottom:16px;border:1px solid rgba(115,170,190,.26);border-radius:14px;background:linear-gradient(135deg,#1e4b5e2b,#ffffff0f);padding:14px}.codex-provider-status{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px}.codex-provider-status-dot{width:10px;height:10px;border-radius:999px;background:#8a98a0;box-shadow:0 0 0 5px #8a98a01f}.codex-provider-status.is-online .codex-provider-status-dot{background:#6db9a8;box-shadow:0 0 0 5px #6db9a824}.codex-provider-status strong,.codex-provider-status small{display:block}.codex-provider-status small{margin-top:3px;color:var(--text-muted, rgba(73, 99, 112, .72));line-height:1.45}.codex-provider-status>button,.codex-unpair-button,.codex-pairing-row>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(94,139,157,.28);border-radius:10px;color:inherit;background:#ffffff6b;padding:9px 12px}.codex-pairing-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.codex-pairing-row label{display:grid;gap:6px}.codex-pairing-row input{width:100%;min-width:0}.codex-paired-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text-muted, rgba(73, 99, 112, .82));font-size:.84rem}.codex-paired-actions>span{display:inline-flex;align-items:center;gap:6px}@media(max-width:620px){.codex-pairing-row{grid-template-columns:1fr}.codex-pairing-row>button,.codex-unpair-button{width:100%}.codex-paired-actions{align-items:stretch;flex-direction:column}}.alan-server-persona-card{display:grid;gap:10px;margin-top:12px;border:0;border-radius:0;background:transparent;padding:4px 0 0}.alan-server-persona-card>strong{color:var(--kx-text-main, #fff8ee)}.alan-server-persona-card p,.alan-server-persona-status,.alan-server-persona-message{margin:0;color:var(--kx-text-muted, rgba(255, 248, 238, .68));font-size:.72rem;line-height:1.55;overflow-wrap:anywhere}.alan-server-persona-actions{display:flex;flex-wrap:wrap;gap:8px}.alan-server-persona-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid var(--kx-border, rgba(255, 226, 187, .18));border-radius:999px;background:color-mix(in srgb,var(--kx-primary, #dcbda8) 22%,transparent);color:var(--kx-text-main, #fff8ee);padding:0 13px;font:inherit;font-size:.74rem}.alan-server-persona-message{color:var(--kx-primary, #dcbda8)}.api-error-card{min-width:0;width:100%;max-width:min(100%,520px);overflow:hidden;border:1px solid color-mix(in srgb,#d9645d 28%,transparent);border-radius:15px;background:color-mix(in srgb,#d9645d 10%,transparent);padding:10px 12px}.api-error-card>strong{display:block;max-width:100%;white-space:pre-line;overflow-wrap:anywhere;word-break:break-word}.api-error-card__details{min-width:0;max-width:100%;margin-top:6px;font-size:.72rem}.api-error-card__details summary{cursor:pointer;-webkit-user-select:none;user-select:none}.api-error-card__details pre{max-width:100%;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:.68rem/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.persona-core-field textarea{min-height:210px;border:0!important;border-radius:0!important;background:color-mix(in srgb,var(--kx-input-bg, rgba(255, 255, 255, .06)) 42%,transparent)!important;box-shadow:none!important;line-height:1.75}.persona-code-label svg{width:14px;height:14px;color:var(--kx-primary)}.persona-cognitive-row{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:11px}.settings-route-shell[data-theme] .persona-slider-card{border-radius:6px;background:var(--kx-panel-soft)}.persona-slider-card input[type=range]{accent-color:var(--kx-primary)}.persona-editor-footer{display:flex;align-items:stretch;gap:8px;margin-top:11px;padding-top:11px;border-top:1px solid var(--kx-border-soft)}.settings-route-shell[data-theme] .persona-editor-footer>button{min-height:42px;border:1px solid var(--kx-border);border-radius:6px;color:var(--kx-muted);background:var(--kx-button-bg);padding:0 11px}.persona-editor-footer .persona-memory-gate{display:flex;flex:1;align-items:center;gap:9px;text-align:left}.persona-memory-gate>span{display:grid;gap:1px}.persona-memory-gate small{color:var(--kx-muted);font-size:.58rem}.persona-memory-gate.active{border-color:rgba(var(--kx-primary-rgb),.44)!important;color:var(--kx-text-main)!important;background:var(--kx-active-bg)!important}.persona-editor-footer .persona-danger-button{width:42px;padding:0;opacity:.46}.persona-editor-footer .persona-danger-button:hover:not(:disabled){opacity:1;color:#c97777}.memory-page-heading{align-items:center;border:1px solid var(--kx-border);border-radius:10px;background:radial-gradient(circle at 12% 0%,color-mix(in srgb,var(--kx-primary) 16%,transparent),transparent 36%),linear-gradient(135deg,color-mix(in srgb,var(--kx-panel-bg) 86%,white 14%),color-mix(in srgb,var(--kx-panel-soft) 88%,transparent));padding:18px 20px;box-shadow:0 14px 34px color-mix(in srgb,var(--kx-shadow) 52%,transparent)}.memory-head-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.settings-route-shell[data-theme] .memory-head-actions button,.settings-route-shell[data-theme] .memory-primary-tool{min-height:34px;border:1px solid var(--kx-border);border-radius:6px;color:var(--kx-text-main);background:var(--kx-button-bg);padding:0 10px;font-size:.7rem}.settings-route-shell[data-theme] .memory-primary-tool{color:var(--kx-bg-card);background:var(--kx-primary)}.memory-overview-line{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 18px;margin:16px 0;color:var(--kx-muted);font-size:.67rem}.memory-overview-line>span{display:inline-flex;align-items:center;gap:6px}.memory-overview-line svg{width:13px;height:13px;color:var(--kx-primary)}.memory-overview-line strong{color:var(--kx-text-main);font-family:Georgia,Times New Roman,serif;font-size:.88rem}.settings-route-shell[data-theme] .memory-page-card{display:grid;gap:12px;min-height:0;padding:15px}.settings-route-shell[data-theme] .memory-page-card>.settings-section{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.settings-route-shell[data-theme] .memory-page-card>.settings-section+.settings-section{padding-top:14px;border-top:1px solid var(--kx-border-soft)}.memory-page-card .settings-section-toggle{padding:0 0 10px}.memory-page-card .settings-section-icon{width:28px;height:28px;border-radius:50%}.settings-route-shell[data-theme] .memory-page-card .settings-section-body{border:0;border-radius:6px;background:var(--kx-panel-soft);padding:12px;box-shadow:none}.settings-route-shell[data-theme] .memory-compose-card .settings-section-body{border-left:0}.memory-compose textarea{min-height:88px;line-height:1.7}.memory-compose-foot{gap:8px}.memory-toolbar{display:block}.settings-route-shell[data-theme] .memory-search,.settings-route-shell[data-theme] .memory-count-chip{border:1px solid var(--kx-border);border-radius:6px;color:var(--kx-muted);background:var(--kx-input-bg);box-shadow:none}.memory-list{display:grid;gap:7px}.settings-route-shell[data-theme] .memory-entry-card{position:relative;overflow:hidden;border:1px solid var(--kx-border-soft);border-left:1px solid var(--kx-border-soft);border-radius:8px;color:var(--kx-text-main);background:var(--kx-panel-bg);padding:0;box-shadow:0 7px 20px var(--kx-shadow);transition:border-color .17s ease,background .17s ease}.settings-route-shell[data-theme] .memory-entry-card:hover{border-color:rgba(var(--kx-primary-rgb),.38)}.settings-route-shell[data-theme] .memory-entry-card.memory-tone-1{background:color-mix(in srgb,var(--kx-panel-bg) 88%,var(--kx-primary) 12%)}.settings-route-shell[data-theme] .memory-entry-card.memory-tone-2{background:color-mix(in srgb,var(--kx-panel-soft) 92%,var(--kx-primary) 8%)}.memory-entry-summary{display:grid;width:100%;min-height:68px;grid-template-columns:42px 24px minmax(0,1fr) 18px;align-items:center;gap:10px;border:0;color:inherit;background:transparent;padding:10px 13px 10px 11px;text-align:left}.memory-entry-day{color:color-mix(in srgb,var(--kx-primary) 62%,transparent);font-family:Cormorant Garamond,Georgia,Times New Roman,serif;font-size:1.72rem;font-weight:600;line-height:1;text-align:center}.memory-entry-symbol{display:grid;width:24px;height:30px;place-items:center;border-left:1px solid var(--kx-border)}.memory-entry-symbol svg{width:13px;height:13px;color:var(--kx-primary);opacity:.66}.memory-entry-summary-copy{display:grid;min-width:0;gap:4px}.memory-entry-summary-copy strong,.memory-entry-summary-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.memory-entry-summary-copy strong{color:var(--kx-text-main);font-family:Songti SC,"Noto Serif CJK SC",Georgia,serif;font-size:.75rem;font-weight:600;letter-spacing:.03em}.memory-entry-summary-copy small{color:var(--kx-muted);font-size:.65rem;letter-spacing:.02em;opacity:.68}.memory-entry-chevron{color:var(--kx-muted);opacity:.42;transition:transform .22s ease,opacity .18s ease}.memory-entry-card.expanded .memory-entry-chevron{opacity:.82;transform:rotate(180deg)}.memory-entry-expand{display:grid;grid-template-rows:0fr;transition:grid-template-rows .26s ease}.memory-entry-card.expanded .memory-entry-expand{grid-template-rows:1fr}.memory-entry-expand-inner{min-height:0;overflow:hidden;border-top:1px solid transparent;padding:0 15px 0 77px;opacity:0;transition:padding .26s ease,border-color .26s ease,opacity .18s ease}.memory-entry-card.expanded .memory-entry-expand-inner{border-top-color:var(--kx-border-soft);padding-top:13px;padding-bottom:13px;opacity:1}.memory-entry-content{margin:0 0 12px;padding:0;color:var(--kx-text-main);font-family:Songti SC,"Noto Serif CJK SC",Georgia,serif;font-size:.78rem;line-height:1.9;white-space:pre-wrap}.settings-route-shell[data-theme] .memory-tag-chip,.settings-route-shell[data-theme] .memory-mini-chip,.settings-route-shell[data-theme] .memory-chip-add{border-color:var(--kx-border-soft);color:var(--kx-muted);background:var(--kx-button-bg)}.memory-entry-meta button{opacity:.34;transition:opacity .16s ease,color .16s ease}.memory-entry-card:hover .memory-entry-meta button,.memory-entry-card.expanded .memory-entry-meta button{opacity:.74}.memory-glyph-frame{stroke:var(--kx-primary)}.memory-glyph-page{stroke:var(--kx-muted)}.memory-glyph-page-fill{fill:var(--kx-muted)}@media(max-width:520px){.memory-entry-summary{grid-template-columns:34px 20px minmax(0,1fr) 15px;gap:7px;padding-inline:9px}.memory-entry-day{font-size:1.48rem}.memory-entry-expand-inner{padding-left:63px}}@media(min-width:1040px){.settings-route-shell .cottage-ritual-page{width:min(100%,1120px)}.persona-responsive-workbench{grid-template-columns:minmax(220px,.72fr) minmax(0,1.7fr);align-items:start}.persona-deck-panel{position:sticky;top:78px}.memory-page-card{grid-template-columns:minmax(280px,.78fr) minmax(0,1.55fr);align-items:start}.memory-page-card>.memory-compose-card{position:sticky;top:78px}.memory-page-card>.settings-section+.settings-section{padding-top:0;padding-left:15px;border-top:0;border-left:1px solid var(--kx-border-soft)}}@media(max-width:760px){.cottage-route-brand span{display:none}.cottage-route-brand{margin-right:10px}.cottage-route-brand svg{width:22px;height:22px}.settings-route-shell.persona-route-shell,.settings-route-shell.memory-route-shell{padding:68px 12px 28px}.cottage-page-heading{align-items:flex-start;padding:10px 3px 15px}.cottage-page-heading h1{font-size:1.75rem}.cottage-page-heading p{font-size:.72rem}.cottage-primary-command{width:36px;min-height:36px;padding:0;font-size:0}.persona-status-actions .cottage-primary-command{width:auto;min-height:32px;padding:0 13px;font-size:.66rem}.persona-bond-stage{grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr);padding:25px 0 18px}.persona-orbit-avatar{width:86px;height:86px}.persona-orbit-avatar>.persona-avatar-preview{width:58px;height:58px}.persona-avatar-actions.compact span{display:none}.persona-avatar-actions.compact button,.persona-avatar-actions.compact label{width:28px;padding:0}.persona-editor-grid,.persona-cognitive-row{grid-template-columns:repeat(2,minmax(0,1fr))}.persona-editor-grid{gap:8px}.persona-cognitive-row{gap:7px}.persona-slider-card{padding-inline:10px}.persona-reset-inline span{display:none}.persona-editor-footer{flex-wrap:wrap}.persona-editor-footer .persona-memory-gate{flex-basis:calc(100% - 50px)}.memory-page-heading{display:grid}.memory-head-actions{justify-content:flex-start}.memory-toolbar{grid-template-columns:1fr auto}.memory-toolbar .memory-count-chip:last-child{display:none}}@media(max-width:430px){.cottage-route-switcher{justify-content:space-between;gap:2px;padding-inline:7px}.cottage-route-switcher button{width:36px}.persona-bond-stage{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)}.persona-bond-line small{display:none}.memory-head-actions button{min-width:34px}}.companion-input-row{display:flex;align-items:center;gap:8px;margin-top:12px;border:1px solid rgba(255,255,255,.035);border-radius:999px;background:#0000004d;box-shadow:0 10px 30px #00000038;padding:4px 5px 4px 12px}.cinema-shell[data-theme] .companion-input-row textarea{min-height:32px;max-height:72px;flex:1;resize:none;border:0;border-radius:0;color:#ffffffdb;background:transparent;padding:6px 2px;font-size:.78rem;line-height:1.55;outline:none}.cinema-shell[data-theme] .companion-input-row textarea::placeholder{color:#ffffff57}.cinema-shell[data-theme] .companion-input-row .primary-button{width:32px;min-width:32px;height:32px;min-height:32px;border:0;border-radius:50%;color:#ffffffd1;background:#ffffff24;padding:0}.cinema-shell[data-theme] .companion-input-row .primary-button:hover{color:#fff;background:#ffffff3d}.cinema-shell[data-theme] .companion-input-row .primary-button:disabled{cursor:not-allowed;opacity:.42}.cinema-shell[data-theme] .subtitle-card,.cinema-shell[data-theme] .companion-plan-panel .panel,.cinema-shell[data-theme] .source-panel,.cinema-shell[data-theme] .playlist-panel .panel{-webkit-backdrop-filter:blur(4px) saturate(1.02);backdrop-filter:blur(4px) saturate(1.02)}.cinema-shell[data-theme=black-gold] .subtitle-card,.cinema-shell[data-theme=black-gold] .companion-plan-panel .panel,.cinema-shell[data-theme=black-gold] .source-panel{border-color:#ffffff1a;color:#ffffffc7;background:#00000047;box-shadow:0 16px 44px #0000003d}.cinema-shell[data-theme=black-gold] .playlist-panel,.cinema-shell[data-theme=pink-mocha] .playlist-panel{color:#ffffffc7}.cinema-shell[data-theme=black-gold] .playlist-panel .panel,.cinema-shell[data-theme=pink-mocha] .playlist-panel .panel{border-color:#ffffff24;color:#ffffffc7;background:#100d0ab8;box-shadow:0 24px 80px #0000006b}.cinema-shell[data-theme=black-gold] .playlist-panel .panel-title,.cinema-shell[data-theme=black-gold] .playlist-panel .record-title-line strong,.cinema-shell[data-theme=black-gold] .playlist-panel .playlist-empty strong,.cinema-shell[data-theme=pink-mocha] .playlist-panel .panel-title,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-title-line strong,.cinema-shell[data-theme=pink-mocha] .playlist-panel .playlist-empty strong{color:#ffffffdb}.cinema-shell[data-theme=black-gold] .playlist-panel .panel-title svg,.cinema-shell[data-theme=black-gold] .playlist-panel .playlist-empty svg,.cinema-shell[data-theme=black-gold] .playlist-panel .record-thumb svg,.cinema-shell[data-theme=pink-mocha] .playlist-panel .panel-title svg,.cinema-shell[data-theme=pink-mocha] .playlist-panel .playlist-empty svg,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-thumb svg{color:#ffffff80}.cinema-shell[data-theme=black-gold] .playlist-panel .panel-title-meta,.cinema-shell[data-theme=black-gold] .playlist-panel .record-row small,.cinema-shell[data-theme=black-gold] .playlist-panel .record-meta,.cinema-shell[data-theme=black-gold] .playlist-panel .playlist-empty p,.cinema-shell[data-theme=black-gold] .playlist-panel .playlist-footnote,.cinema-shell[data-theme=pink-mocha] .playlist-panel .panel-title-meta,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-row small,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-meta,.cinema-shell[data-theme=pink-mocha] .playlist-panel .playlist-empty p,.cinema-shell[data-theme=pink-mocha] .playlist-panel .playlist-footnote{color:#ffffff75}.cinema-shell[data-theme=black-gold] .playlist-panel .panel-close,.cinema-shell[data-theme=black-gold] .playlist-panel .record-row button,.cinema-shell[data-theme=black-gold] .playlist-panel .soft-button,.cinema-shell[data-theme=pink-mocha] .playlist-panel .panel-close,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-row button,.cinema-shell[data-theme=pink-mocha] .playlist-panel .soft-button{border-color:#ffffff1f;color:#ffffffc2;background:#ffffff12}.cinema-shell[data-theme=black-gold] .playlist-panel .panel-close:hover,.cinema-shell[data-theme=black-gold] .playlist-panel .record-row button:hover,.cinema-shell[data-theme=black-gold] .playlist-panel .soft-button:hover,.cinema-shell[data-theme=pink-mocha] .playlist-panel .panel-close:hover,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-row button:hover,.cinema-shell[data-theme=pink-mocha] .playlist-panel .soft-button:hover{border-color:#ffffff38;color:#ffffffeb;background:#ffffff24}.cinema-shell[data-theme=black-gold] .playlist-panel .record-row,.cinema-shell[data-theme=black-gold] .playlist-panel .playlist-empty,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-row,.cinema-shell[data-theme=pink-mocha] .playlist-panel .playlist-empty{border-color:#ffffff1a;background:#ffffff0d}.cinema-shell[data-theme=black-gold] .playlist-panel .record-thumb,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-thumb{border-color:#ffffff1a;color:#ffffff6b;background:#00000052}.cinema-shell[data-theme=black-gold] .playlist-panel .record-title-line em,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-title-line em{border-color:#ffffff1f;color:#ffffff6b;background:#ffffff12}.cinema-shell[data-theme=black-gold] .playlist-panel .record-title-line em.current,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-title-line em.current{color:#ffffffc7;background:#ffd29729}.cinema-shell[data-theme=black-gold] .playlist-panel .record-progress,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-progress{background:#ffffff1a}.cinema-shell[data-theme=black-gold] .playlist-panel .record-progress i,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-progress i{background:#ffdbaa9e}.cinema-shell[data-theme=black-gold] .playlist-panel .record-resume,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-resume{border-color:#ffe2bb3d!important;background:#fff4e21f!important}.cinema-shell[data-theme=black-gold] .playlist-panel .record-actions .danger,.cinema-shell[data-theme=pink-mocha] .playlist-panel .record-actions .danger{color:#ffd1c7b8;background:#b437281f}.cinema-shell[data-theme=black-gold] .playlist-panel .playlist-footnote,.cinema-shell[data-theme=pink-mocha] .playlist-panel .playlist-footnote{border-color:#ffffff14;background:#0000002e}.cinema-shell[data-theme]{--cinema-float-bg: rgba(0, 0, 0, .34);--cinema-float-border: rgba(255, 255, 255, .1);--cinema-float-text: rgba(255, 255, 255, .78);--cinema-float-strong: rgba(255, 255, 255, .88);--cinema-float-muted: rgba(255, 255, 255, .5);--cinema-float-faint: rgba(255, 255, 255, .34);--cinema-float-inner: rgba(255, 255, 255, .055);--cinema-float-inner-strong: rgba(255, 255, 255, .12);--cinema-float-button: rgba(255, 255, 255, .075);--cinema-float-button-hover: rgba(255, 255, 255, .15);--cinema-float-shadow: rgba(0, 0, 0, .28)}.cinema-shell[data-theme] .subtitle-card,.cinema-shell[data-theme] .playlist-panel .panel,.cinema-shell[data-theme] .sofa-companion .panel{border-color:var(--cinema-float-border);color:var(--cinema-float-text);background:var(--cinema-float-bg);box-shadow:0 16px 44px var(--cinema-float-shadow);-webkit-backdrop-filter:blur(4px) saturate(1.02);backdrop-filter:blur(4px) saturate(1.02)}.cinema-shell[data-theme] .playlist-panel,.cinema-shell[data-theme] .sofa-companion{color:var(--cinema-float-text)}.cinema-shell[data-theme] .playlist-panel .panel-title,.cinema-shell[data-theme] .playlist-panel .record-title-line strong,.cinema-shell[data-theme] .playlist-panel .playlist-empty strong,.cinema-shell[data-theme] .sofa-companion .panel-title{color:var(--cinema-float-strong)}.cinema-shell[data-theme] .playlist-panel .panel-title svg,.cinema-shell[data-theme] .playlist-panel .playlist-empty svg,.cinema-shell[data-theme] .playlist-panel .record-thumb svg,.cinema-shell[data-theme] .sofa-companion .panel-title svg{color:var(--cinema-float-muted)}.cinema-shell[data-theme] .playlist-panel .panel-title-meta,.cinema-shell[data-theme] .playlist-panel .record-row small,.cinema-shell[data-theme] .playlist-panel .record-meta,.cinema-shell[data-theme] .playlist-panel .playlist-empty p,.cinema-shell[data-theme] .playlist-panel .playlist-footnote,.cinema-shell[data-theme] .sofa-companion .chat-bubble.companion{color:var(--cinema-float-muted)}.cinema-shell[data-theme] .subtitle-pill,.cinema-shell[data-theme] .subtitle-close,.cinema-shell[data-theme] .playlist-panel .panel-close,.cinema-shell[data-theme] .playlist-panel .record-row button,.cinema-shell[data-theme] .playlist-panel .soft-button,.cinema-shell[data-theme] .sofa-companion .panel-close{border-color:var(--cinema-float-border);color:var(--cinema-float-text);background:var(--cinema-float-button)}.cinema-shell[data-theme] .subtitle-pill:hover,.cinema-shell[data-theme] .subtitle-pill.active,.cinema-shell[data-theme] .subtitle-close:hover,.cinema-shell[data-theme] .playlist-panel .panel-close:hover,.cinema-shell[data-theme] .playlist-panel .record-row button:hover,.cinema-shell[data-theme] .playlist-panel .soft-button:hover,.cinema-shell[data-theme] .sofa-companion .panel-close:hover{border-color:rgba(var(--kx-primary-rgb),.34);color:var(--cinema-float-strong);background:var(--cinema-float-button-hover)}.cinema-shell[data-theme] .playlist-panel .record-row,.cinema-shell[data-theme] .playlist-panel .playlist-empty,.cinema-shell[data-theme] .playlist-panel .record-thumb,.cinema-shell[data-theme] .playlist-panel .playlist-footnote,.cinema-shell[data-theme] .companion-input-row,.cinema-shell[data-theme] .sofa-companion .chat-bubble.companion{border-color:var(--cinema-float-border);background:var(--cinema-float-inner)}.cinema-shell[data-theme] .sofa-companion .chat-bubble.user{color:var(--cinema-float-strong);background:var(--cinema-float-inner-strong)}.cinema-shell[data-theme] .playlist-panel .record-title-line em{border-color:var(--cinema-float-border);color:var(--cinema-float-faint);background:var(--cinema-float-inner)}.cinema-shell[data-theme] .playlist-panel .record-title-line em.current,.cinema-shell[data-theme] .playlist-panel .record-resume{color:var(--cinema-float-strong);background:rgba(var(--kx-primary-rgb),.16)!important}.cinema-shell[data-theme] .playlist-panel .record-progress{background:var(--cinema-float-inner-strong)}.cinema-shell[data-theme] .playlist-panel .record-progress i{background:rgba(var(--kx-primary-rgb),.72)}.cinema-shell[data-theme] .companion-input-row textarea{color:var(--cinema-float-text)}.cinema-shell[data-theme] .sofa-companion .panel{color:#ffffffd1;background:#00000094;-webkit-backdrop-filter:blur(5px) saturate(1.03);backdrop-filter:blur(5px) saturate(1.03)}.cinema-shell[data-theme] .sofa-companion .chat-bubble.companion{color:#ffffffb3;background:transparent;box-shadow:none}.cinema-shell[data-theme] .companion-input-row textarea::placeholder{color:var(--cinema-float-faint)}.cinema-shell[data-theme]{color:#fff4e2d6}.cinema-shell[data-theme] .cinema-header{border-color:#fff4e233;color:#fffaf4eb;background:#ffffff1a;box-shadow:none;-webkit-backdrop-filter:blur(14px) saturate(1.08);backdrop-filter:blur(14px) saturate(1.08)}.cinema-shell[data-theme] .cinema-header p,.cinema-shell[data-theme] .cinema-header span,.cinema-shell[data-theme] .cinema-header small{color:#fff4e29e}.cinema-shell[data-theme=white-gold] .cinema-header{border-color:#95733f24;color:#463729;background:#fffcf46b;box-shadow:none;-webkit-backdrop-filter:blur(14px) saturate(1.06);backdrop-filter:blur(14px) saturate(1.06)}.cinema-shell[data-theme=white-gold] .cinema-header p,.cinema-shell[data-theme=white-gold] .cinema-header span,.cinema-shell[data-theme=white-gold] .cinema-header small{color:#46372994}.cinema-shell[data-theme] .room-side-entry button,.cinema-shell[data-theme] .screen-controls,.cinema-shell[data-theme] .status-strip,.cinema-shell[data-theme] .talk-launcher,.cinema-shell[data-theme] .web-assist-button,.cinema-shell[data-theme] .web-time-sync,.cinema-shell[data-theme] .screenshot-ready{border-color:#fff4e233;color:#fff8eedb;background:#1e130e80;box-shadow:0 12px 30px #00000038;-webkit-backdrop-filter:blur(10px) saturate(1.08);backdrop-filter:blur(10px) saturate(1.08)}.cinema-shell[data-theme] .icon-button,.cinema-shell[data-theme] .glass-action,.cinema-shell[data-theme] .tool-button,.cinema-shell[data-theme] .soft-button,.cinema-shell[data-theme] .compact-soft-button,.cinema-shell[data-theme] .web-time-sync button,.cinema-shell[data-theme] .player-corner-controls .compact-soft-button{border-color:#fff4e238;color:#fff8eedb;background:#fff4e21a}.cinema-shell[data-theme] .icon-button:hover,.cinema-shell[data-theme] .icon-button.active,.cinema-shell[data-theme] .glass-action:hover,.cinema-shell[data-theme] .tool-button:hover,.cinema-shell[data-theme] .soft-button:hover,.cinema-shell[data-theme] .web-assist-button:hover,.cinema-shell[data-theme] .web-time-sync button:hover,.cinema-shell[data-theme] .talk-launcher:hover,.cinema-shell[data-theme] .room-side-entry button:hover{border-color:#ffe2bb6b;color:#fff8ee;background:#fff4e22e}.cinema-shell[data-theme] .room-side-entry{display:none}.cinema-shell[data-theme] .source-panel,.cinema-shell[data-theme] .subtitle-card,.cinema-shell[data-theme] .companion-plan-panel .panel,.cinema-shell[data-theme] .companion-map-popover,.cinema-shell[data-theme] .playlist-panel .panel,.cinema-shell[data-theme] .sofa-companion .panel{border-color:#ffffff1c;color:#ffffffc7;background:#0a08079e;box-shadow:0 20px 58px #00000057;-webkit-backdrop-filter:blur(5px) saturate(1.03);backdrop-filter:blur(5px) saturate(1.03)}.cinema-shell[data-theme] .source-panel strong,.cinema-shell[data-theme] .subtitle-card strong,.cinema-shell[data-theme] .companion-plan-panel strong,.cinema-shell[data-theme] .companion-map-panel strong,.cinema-shell[data-theme] .playlist-panel strong,.cinema-shell[data-theme] .panel-title,.cinema-shell[data-theme] .option-label,.cinema-shell[data-theme] .playlist-panel .record-title-line strong{color:#ffffffe0}.cinema-shell[data-theme] .source-panel p,.cinema-shell[data-theme] .source-panel small,.cinema-shell[data-theme] .subtitle-card p,.cinema-shell[data-theme] .subtitle-card small,.cinema-shell[data-theme] .companion-plan-panel p,.cinema-shell[data-theme] .companion-plan-panel small,.cinema-shell[data-theme] .companion-map-help,.cinema-shell[data-theme] .companion-map-cue,.cinema-shell[data-theme] .playlist-panel small,.cinema-shell[data-theme] .playlist-panel .record-meta,.cinema-shell[data-theme] .panel-title-meta{color:#ffffff85}.cinema-shell[data-theme] .plan-bubble{border-color:#ffffff7a;color:#ffffffd1;background:#ffffff29;box-shadow:0 14px 36px #0000003d}.cinema-shell[data-theme] .plan-bubble.is-hint{color:#ffffff9e;background:#ffffff1f}.cinema-shell[data-theme] .plan-bubble-listen,.cinema-shell[data-theme] .plan-bubble-close{border-color:#ffffff24;color:inherit;background:#ffffff1a}.cinema-shell[data-theme] .plan-bubble-listen:hover,.cinema-shell[data-theme] .plan-bubble-close:hover{color:#fff;background:#ffffff2e}.vector-page{max-width:min(980px,calc(100vw - 32px))}.vector-page-card{display:grid;gap:16px}.vector-hero{display:flex;align-items:center;gap:14px;padding-bottom:4px}.vector-hero h1{margin:0;color:var(--kx-text);font-size:clamp(1.45rem,3.5vw,2.1rem);line-height:1.1}.vector-hero p{margin:6px 0 0;color:var(--kx-muted);font-size:.92rem}.vector-note,.vector-cache-card,.vector-section{border:1px solid var(--kx-border);border-radius:18px;background:var(--kx-surface);box-shadow:var(--kx-shadow-soft)}.vector-note{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;color:var(--kx-muted);font-size:.9rem;line-height:1.65}.vector-note svg,.vector-section-title svg,.vector-cache-card svg{color:var(--kx-primary);flex:0 0 auto}.vector-section{display:grid;gap:14px;padding:16px}.vector-section-title{display:inline-flex;align-items:center;gap:8px;color:var(--kx-text);font-size:1rem}.vector-config-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);gap:12px}.vector-field{display:grid;gap:8px;color:var(--kx-muted);font-size:.86rem}.vector-field input,.vector-field select,.vector-test-row textarea{width:100%;border:1px solid var(--kx-border);border-radius:14px;outline:none;color:var(--kx-text);background:color-mix(in srgb,var(--kx-surface-strong) 76%,transparent)}.vector-field input,.vector-field select{min-height:42px;padding:0 13px}.vector-field.wide{grid-column:span 2}.vector-cache-card{display:flex;align-items:center;gap:12px;padding:12px 14px;text-align:left;color:inherit;cursor:pointer}.vector-cache-card.active{border-color:color-mix(in srgb,var(--kx-primary) 58%,var(--kx-border));background:color-mix(in srgb,var(--kx-primary) 14%,var(--kx-surface-strong))}.vector-cache-card div{display:grid;gap:4px}.vector-cache-card strong{color:var(--kx-text);font-size:.92rem}.vector-cache-card span{color:var(--kx-muted);font-size:.82rem;line-height:1.55}.vector-test-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px}.vector-test-row textarea{resize:vertical;min-height:86px;padding:12px 14px;line-height:1.6}.vector-test-row button,.vector-clear-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid color-mix(in srgb,var(--kx-primary) 40%,var(--kx-border));border-radius:14px;color:var(--kx-text);background:color-mix(in srgb,var(--kx-primary) 16%,var(--kx-surface-strong));padding:0 18px;font-weight:700}.vector-clear-button{justify-self:start;min-height:40px;cursor:pointer;position:relative;overflow:hidden}.vector-clear-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.vector-explain{display:grid;gap:12px}.vector-cache-badge{justify-self:start;border:1px solid var(--kx-border);border-radius:999px;color:var(--kx-muted);background:color-mix(in srgb,var(--kx-surface-strong) 86%,transparent);padding:6px 11px;font-size:.78rem;font-weight:700}.vector-cache-badge.hit{border-color:color-mix(in srgb,#6fcf97 46%,var(--kx-border));color:color-mix(in srgb,#6fcf97 78%,var(--kx-text))}.vector-cache-badge.miss{border-color:color-mix(in srgb,var(--kx-primary) 42%,var(--kx-border))}.vector-explain-lines{display:grid;gap:6px;color:var(--kx-muted);font-size:.88rem;line-height:1.6}.vector-explain-lines p{margin:0}.vector-result-list{display:grid;gap:9px}.vector-result-item{display:grid;gap:8px;border:1px solid var(--kx-border);border-radius:14px;background:color-mix(in srgb,var(--kx-surface-strong) 72%,transparent);padding:11px 12px}.vector-result-item.selected{border-color:color-mix(in srgb,var(--kx-primary) 44%,var(--kx-border));background:color-mix(in srgb,var(--kx-primary) 10%,var(--kx-surface-strong))}.vector-result-item div{display:flex;align-items:center;justify-content:space-between;gap:12px}.vector-result-item strong{color:var(--kx-text)}.vector-result-item span,.vector-result-item small,.vector-result-item p{margin:0;color:var(--kx-muted);font-size:.8rem}.vector-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.vector-stat-grid div,.vector-empty{border:1px solid var(--kx-border);border-radius:14px;background:color-mix(in srgb,var(--kx-surface-strong) 70%,transparent)}.vector-stat-grid div{display:grid;gap:4px;padding:12px;text-align:center}.vector-stat-grid strong{color:var(--kx-text);font-size:1.15rem}.vector-stat-grid span,.vector-empty{color:var(--kx-muted);font-size:.84rem}.vector-empty{padding:14px;line-height:1.6}@media(max-width:720px){.vector-config-grid,.vector-test-row,.vector-stat-grid{grid-template-columns:1fr}.vector-test-row button{min-height:42px}}.vector-section-panel{padding:0;overflow:hidden}.vector-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid color-mix(in srgb,var(--kx-border) 72%,transparent)}.vector-panel-title{display:inline-flex;align-items:center;min-width:0;gap:11px;border:0;background:transparent;color:var(--kx-text);text-align:left;padding:0}.vector-panel-title strong{display:block;font-size:1rem;line-height:1.35}.vector-panel-title small{display:block;margin-top:2px;color:var(--kx-muted);font-size:.76rem;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(520px,58vw)}.vector-panel-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid color-mix(in srgb,var(--kx-primary) 28%,var(--kx-border));border-radius:999px;background:color-mix(in srgb,var(--kx-primary) 9%,var(--kx-surface-strong));color:var(--kx-primary);flex:0 0 auto}.vector-panel-actions{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.vector-icon-button,.vector-compact-button{border:1px solid var(--kx-border);color:var(--kx-text);background:color-mix(in srgb,var(--kx-surface-strong) 78%,transparent)}.vector-icon-button{width:34px;height:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}.vector-compact-button{min-height:32px;border-radius:999px;padding:0 12px;font-size:.78rem;font-weight:700}.vector-chevron{transition:transform .18s ease}.vector-chevron.open{transform:rotate(180deg)}.vector-panel-body{display:grid;gap:18px;padding:20px}.vector-test-actions{display:grid;gap:8px;min-width:118px}.vector-test-row button.secondary{background:color-mix(in srgb,var(--kx-surface-strong) 86%,transparent);border-color:var(--kx-border)}.vector-test-row button.ghost{background:transparent;border-color:var(--kx-border);color:var(--kx-muted)}.vector-debug-block,.vector-diagnostic-list,.vector-cache-summary,.vector-trace-card,.vector-subpanel{border:1px solid var(--kx-border);border-radius:16px;background:color-mix(in srgb,var(--kx-surface-strong) 72%,transparent)}.vector-debug-block{padding:11px 12px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;color:var(--kx-muted);font-size:.78rem;line-height:1.55}.vector-debug-block p,.vector-cache-summary span,.vector-trace-card p{margin:0}.vector-diagnostic-list{display:grid;gap:5px;padding:10px 12px;color:var(--kx-muted);font-size:.82rem;line-height:1.55}.vector-subpanel{display:grid;gap:12px;padding:13px}.vector-subpanel-title{display:inline-flex;align-items:center;gap:8px;color:var(--kx-text);font-size:.92rem}.vector-debug-rows,.vector-context-rows,.vector-trace-list,.vector-cache-turns{display:grid;gap:10px}.vector-debug-row,.vector-context-row,.vector-trace-list article,.vector-cache-turns article{border:1px solid color-mix(in srgb,var(--kx-border) 82%,transparent);border-radius:14px;background:color-mix(in srgb,var(--kx-surface) 64%,transparent);padding:11px}.vector-debug-row.selected{border-color:color-mix(in srgb,var(--kx-primary) 46%,var(--kx-border));background:color-mix(in srgb,var(--kx-primary) 8%,var(--kx-surface))}.vector-debug-row-head,.vector-context-meta,.vector-trace-head,.vector-cache-turns article>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.vector-debug-row-head{justify-content:flex-start}.vector-debug-row-head span{color:var(--kx-primary);font-weight:800}.vector-debug-row-head strong,.vector-context-row strong,.vector-trace-list strong,.vector-cache-turns strong{color:var(--kx-text)}.vector-score-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:9px}.vector-score-grid span,.vector-context-meta span,.vector-tags span,.vector-source-mix span,.vector-pill{border:1px solid color-mix(in srgb,var(--kx-border) 78%,transparent);border-radius:999px;background:color-mix(in srgb,var(--kx-surface-strong) 76%,transparent);color:var(--kx-muted);font-size:.72rem;line-height:1.2;padding:5px 8px}.vector-tags,.vector-source-mix{display:flex;flex-wrap:wrap;gap:6px}.vector-tags{margin-top:9px}.vector-debug-row small{display:block;margin-top:8px;color:var(--kx-muted);font-size:.76rem}.vector-context-meta{justify-content:flex-start;flex-wrap:wrap;margin-bottom:8px}.vector-context-row p,.vector-trace-list p,.vector-cache-turns small{margin:7px 0 0;color:var(--kx-muted);font-size:.82rem;line-height:1.55}.vector-quality-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.vector-quality-grid div{border:1px solid var(--kx-border);border-radius:14px;background:color-mix(in srgb,var(--kx-surface-strong) 70%,transparent);display:grid;gap:4px;padding:11px;text-align:center}.vector-quality-grid strong{color:var(--kx-text);font-size:1.02rem}.vector-quality-grid span{color:var(--kx-muted);font-size:.74rem}.vector-trace-card,.vector-cache-summary{display:grid;gap:7px;padding:12px;color:var(--kx-muted);font-size:.83rem;line-height:1.55}.vector-pill.hit{border-color:color-mix(in srgb,#6fcf97 54%,var(--kx-border));color:color-mix(in srgb,#6fcf97 78%,var(--kx-text))}.vector-pill.miss{border-color:color-mix(in srgb,var(--kx-primary) 42%,var(--kx-border))}.vector-trace-list article{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px}.vector-trace-list article>span{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:color-mix(in srgb,var(--kx-primary) 15%,var(--kx-surface-strong));color:var(--kx-primary);font-size:.75rem;font-weight:800}.vector-stat-grid-wide{grid-template-columns:repeat(6,minmax(0,1fr))}.vector-cache-turns article{display:grid;gap:8px}.vector-cache-turns article>div:last-of-type{justify-content:flex-start;flex-wrap:wrap}.vector-cache-turns article>div:last-of-type span{color:var(--kx-muted);font-size:.77rem}@media(max-width:860px){.vector-score-grid,.vector-quality-grid,.vector-stat-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.vector-panel-header,.vector-debug-row-head,.vector-cache-turns article>div,.vector-trace-head{align-items:flex-start}.vector-panel-title small{max-width:48vw}.vector-test-actions,.vector-score-grid,.vector-quality-grid,.vector-stat-grid-wide{grid-template-columns:1fr}}.vector-page{width:min(1020px,calc(100vw - 56px));max-width:100%}.vector-page-card{gap:12px}.vector-note{padding:9px 12px;font-size:.78rem;line-height:1.45}.vector-section,.vector-section-panel{border-radius:18px;box-shadow:none}.vector-panel-header{min-height:50px;padding:10px 14px}.vector-panel-title{gap:9px}.vector-panel-icon{width:24px;height:24px;border:0;background:transparent}.vector-panel-icon svg{width:18px;height:18px}.vector-panel-title strong{font-size:.92rem;font-weight:700;letter-spacing:0}.vector-panel-title small{margin-top:0;font-size:.74rem;max-width:min(520px,58vw)}.vector-panel-actions{gap:6px}.vector-icon-button{width:30px;height:30px}.vector-compact-button{min-height:30px;padding:0 10px;font-size:.74rem}.vector-panel-body{gap:10px;padding:11px 14px 14px}.vector-config-grid{gap:10px}.vector-field{gap:5px;font-size:.78rem}.vector-field input{min-height:36px;padding:0 11px}.vector-cache-card{padding:9px 11px;border-radius:13px}.vector-cache-card strong{font-size:.82rem}.vector-cache-card span{font-size:.74rem;line-height:1.35}.vector-test-row{grid-template-columns:minmax(0,1fr) auto;gap:9px}.vector-test-row textarea{min-height:42px;max-height:82px;padding:9px 11px;line-height:1.4;font-size:.84rem}.vector-test-actions{display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px;min-width:0}.vector-test-row button,.vector-clear-button{min-height:42px;padding:0 13px;border-radius:10px;font-size:.8rem}.vector-debug-block,.vector-diagnostic-list,.vector-cache-summary,.vector-trace-card,.vector-subpanel{border-radius:14px}.vector-debug-block{max-height:72px;overflow:auto;padding:8px 10px;font-size:.68rem;line-height:1.42}.vector-diagnostic-list{padding:8px 10px;font-size:.74rem;line-height:1.42}.vector-subpanel{gap:9px;padding:10px}.vector-subpanel-title{font-size:.82rem}.vector-debug-row,.vector-context-row,.vector-trace-list article,.vector-cache-turns article{padding:9px 10px;border-radius:12px}.vector-debug-row-head strong,.vector-context-row strong,.vector-trace-list strong,.vector-cache-turns strong{font-size:.82rem}.vector-score-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:7px}.vector-score-grid span,.vector-context-meta span,.vector-tags span,.vector-source-mix span,.vector-pill{padding:4px 7px;font-size:.68rem}.vector-tags{margin-top:7px}.vector-debug-row small{margin-top:6px;font-size:.7rem}.vector-context-row p,.vector-trace-list p,.vector-cache-turns small{margin-top:5px;font-size:.76rem;line-height:1.45}.vector-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.vector-quality-grid div,.vector-stat-grid div{min-height:46px;display:flex;align-items:center;justify-content:flex-start;gap:6px;padding:9px 12px;text-align:left}.vector-quality-grid span,.vector-stat-grid span{order:1;color:var(--kx-text);font-size:.78rem}.vector-quality-grid strong,.vector-stat-grid strong{order:2;color:var(--kx-primary);font-size:.82rem;line-height:1}.vector-trace-card,.vector-cache-summary{gap:5px;padding:10px 12px;font-size:.76rem;line-height:1.4}.vector-trace-list{gap:7px}.vector-trace-list article{grid-template-columns:22px minmax(0,1fr);gap:8px}.vector-trace-list article>span{width:20px;height:20px;font-size:.68rem}.vector-stat-grid-wide{grid-template-columns:repeat(3,minmax(0,1fr))}.vector-cache-turns{gap:7px}.vector-cache-turns article{gap:6px}.vector-cache-turns article>div:last-of-type span{font-size:.7rem}.vector-empty{padding:10px 12px;font-size:.78rem;line-height:1.45}@media(max-width:720px){.vector-page{width:min(100vw - 24px,720px);max-width:100%}.vector-test-row{grid-template-columns:1fr}.vector-test-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.vector-test-row button{min-height:36px;padding:0 9px}.vector-quality-grid,.vector-stat-grid-wide,.vector-score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.vector-test-actions{grid-template-columns:1fr}.vector-quality-grid,.vector-stat-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}}.memory-context-settings{display:grid;gap:10px;margin-top:10px}.memory-context-range{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;border:1px solid var(--kx-border);border-radius:9px;background:var(--kx-panel-soft);padding:11px 12px}.memory-context-range>span{display:grid;gap:3px}.memory-context-range strong{color:var(--kx-text-main);font-size:.78rem}.memory-context-range small{color:var(--kx-muted);font-size:.62rem;line-height:1.45}.memory-context-range b{color:var(--kx-primary);font-size:.72rem;font-weight:700}.memory-context-range input{grid-column:1 / -1;width:100%;accent-color:var(--kx-primary)}.memory-retrieval-mode-card{display:grid;gap:9px;border:1px solid var(--kx-border);border-radius:9px;background:var(--kx-panel-soft);padding:12px}.memory-retrieval-mode-card>div:first-child{display:grid;gap:3px}.memory-retrieval-mode-card strong{color:var(--kx-text-main);font-size:.78rem}.memory-retrieval-mode-card small,.memory-retrieval-mode-card p{margin:0;color:var(--kx-muted);font-size:.62rem;line-height:1.5}.memory-retrieval-mode-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.memory-retrieval-mode-row button{display:inline-flex;min-height:32px;align-items:center;justify-content:center;gap:5px;border:1px solid var(--kx-border);border-radius:7px;color:var(--kx-muted);background:var(--kx-input-bg)}.memory-retrieval-mode-row button.active{border-color:var(--kx-primary);color:var(--vector-primary-text);background:var(--kx-primary)}.backup-management-card{display:grid;gap:13px;border:1px solid var(--kx-border);border-radius:10px;color:var(--kx-text-main);background:var(--kx-panel-soft);padding:14px}.backup-intro{display:grid;gap:6px;margin:0;color:var(--kx-muted);font-size:.82rem;line-height:1.65}.backup-intro small{color:var(--kx-primary);font-size:.72rem}.backup-safety-note{color:var(--kx-text-main);font-size:.78rem;font-weight:700}.backup-action-list{display:grid;gap:9px}.backup-action{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:12px;width:100%;border:1px solid var(--kx-border);border-radius:10px;color:var(--kx-text-main);background:var(--kx-input-bg);padding:11px 13px;text-align:left;transition:border-color .16s ease,background .16s ease}.backup-action.primary{animation:backupBreathe 3.2s ease-in-out infinite}.backup-particles{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}.backup-particles i{position:absolute;bottom:24%;width:3px;height:3px;border-radius:50%;background:var(--kx-primary);opacity:0;animation:backupParticle 3.2s ease-out infinite}.backup-particles i:nth-child(1){left:12%;animation-delay:0s}.backup-particles i:nth-child(2){left:31%;width:5px;height:5px;border-radius:0;animation-delay:.8s;transform:rotate(45deg)}.backup-particles i:nth-child(3){right:24%;animation-delay:1.6s}.backup-particles i:nth-child(4){right:8%;width:4px;height:4px;border-radius:0;animation-delay:2.4s;transform:rotate(45deg)}@keyframes backupBreathe{0%,to{box-shadow:0 0 rgba(var(--kx-primary-rgb),0);filter:brightness(1)}50%{box-shadow:0 0 22px rgba(var(--kx-primary-rgb),.16);filter:brightness(1.06)}}@keyframes backupParticle{0%,18%{opacity:0;translate:0 7px;scale:.45}30%{opacity:.72}58%{opacity:0;translate:0 -16px;scale:1.35}to{opacity:0}}.backup-action:hover:not(:disabled),.backup-action.primary{border-color:rgba(var(--kx-primary-rgb),.34);background:var(--kx-active-bg)}.backup-action:disabled{cursor:wait;opacity:.76}.backup-action input{display:none}.backup-action-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:999px;color:var(--kx-primary);background:rgba(var(--kx-primary-rgb),.1)}.backup-action-copy{display:grid;min-width:0;gap:3px}.backup-action-copy strong{color:inherit;font-size:.86rem;font-weight:700}.backup-action-copy small{overflow:hidden;color:var(--kx-muted);font-size:.66rem;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.backup-feedback{border:1px solid var(--kx-border);border-radius:10px;padding:10px 12px;color:var(--kx-text-main);background:var(--kx-input-bg);font-size:.76rem;line-height:1.6;white-space:pre-line}.backup-feedback.success{border-color:#41a06a4d}.backup-feedback.error{border-color:#c24c486b;color:#e3827d}.backup-action-icon .spin{animation:backupSpin .85s linear infinite}@keyframes backupSpin{to{transform:rotate(360deg)}}.vector-page-card{gap:10px}.vector-section,.vector-section-panel{border-radius:14px}.vector-panel-header{min-height:44px;padding:8px 12px}.vector-panel-title strong{font-size:.86rem}.vector-panel-title small{color:var(--kx-muted);font-size:.7rem}.vector-panel-body{gap:8px;padding:9px 12px 11px}.vector-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}.vector-stat-grid-wide{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 10px}.vector-quality-grid div,.vector-stat-grid div{min-height:36px;gap:4px;border-radius:6px;padding:7px 10px}.vector-quality-grid span,.vector-stat-grid span{font-size:.7rem}.vector-quality-grid strong,.vector-stat-grid strong{font-size:.72rem;font-weight:500}.vector-trace-card.compact{border-radius:7px;padding:8px 10px;font-size:.7rem}.vector-trace-card.compact p{margin:0;font-size:.68rem}.vector-cache-footnote{margin:0;color:var(--kx-muted);font-size:.68rem;line-height:1.42}.vector-cache-turns article{display:block;padding:6px 8px;border-radius:6px}.vector-cache-turns{gap:6px}.vector-cache-turn-line{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:5px 10px;color:var(--kx-primary);font-size:.64rem;line-height:1.35}.vector-cache-turn-line span{color:color-mix(in srgb,var(--kx-primary) 82%,var(--kx-text-main));font-size:inherit;white-space:nowrap}@media(max-width:420px){.vector-quality-grid,.vector-stat-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}}.settings-route-shell .cottage-ritual-page{min-height:0;border:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.settings-route-shell[data-theme] .persona-deck-panel{display:block;min-height:0;overflow:visible;border-right:1px solid var(--kx-border)}.settings-route-shell[data-theme] .persona-deck-list{display:flex;align-items:center}.settings-route-shell[data-theme] .persona-editor-panel{width:100%;align-self:start;justify-self:stretch}.persona-save-command{position:relative;overflow:visible;isolation:isolate}.persona-save-particles{position:absolute;top:-16px;right:-20px;bottom:-16px;left:-20px;z-index:1;pointer-events:none}.persona-save-particles .particle-dot,.persona-save-particles .particle-star{position:absolute;color:var(--kx-primary, #dcbda8);opacity:0}.persona-save-particles .particle-dot{width:4px;height:4px;border-radius:50%;background:var(--kx-primary, #dcbda8);box-shadow:0 0 7px rgba(var(--kx-primary-rgb),.48)}.particle-dot-one{top:44%;left:16%;--particle-x: -17px;--particle-y: -11px}.particle-dot-two{top:52%;right:16%;--particle-x: 18px;--particle-y: 10px}.particle-star-one{top:17%;left:38%;width:11px;height:11px;--particle-x: -8px;--particle-y: -13px}.particle-star-two{top:64%;right:37%;width:9px;height:9px;--particle-x: 10px;--particle-y: 13px}.persona-save-command:hover .particle-dot-one,.persona-save-command:hover .particle-star-two{animation:persona-save-particle-bloom 1.35s ease-out infinite}.persona-save-command:hover .particle-dot-two,.persona-save-command:hover .particle-star-one{animation:persona-save-particle-bloom 1.35s .28s ease-out infinite}@keyframes persona-save-particle-bloom{0%{opacity:0;transform:translate(0) scale(.2)}24%{opacity:.82}68%{opacity:.34}to{opacity:0;transform:translate(var(--particle-x),var(--particle-y)) scale(1.5)}}@media(prefers-reduced-motion:reduce){.persona-save-command:hover .particle-dot,.persona-save-command:hover .particle-star{animation:none}}.cottage-chat-shell[data-theme] .cottage-sidebar-title h1,.cottage-chat-shell[data-theme] .cottage-sidebar-actions button{color:var(--kx-primary)}.cottage-chat-shell[data-theme] .cottage-sidebar-actions button{border-color:rgba(var(--kx-primary-rgb),.34);background:rgba(var(--kx-primary-rgb),.1)}.cottage-state-card-compact{display:flex;min-height:38px;align-items:center;justify-content:space-between;gap:8px;margin:0 14px 10px;border:1px solid var(--kx-border);border-radius:7px;background:var(--kx-panel-soft);padding:6px 8px}.cottage-state-card-compact>div:first-child{display:inline-flex;min-width:0;gap:6px}.cottage-state-card-label{display:inline-flex;min-width:0;align-items:center;gap:6px;color:var(--kx-primary)}.cottage-state-card-label small{display:block;max-width:6.2rem;color:var(--kx-primary);opacity:.68}.cottage-state-card-compact strong{color:var(--kx-text-main);font-size:.7rem;white-space:nowrap}.cottage-state-card-compact small{overflow:hidden;color:var(--kx-muted);font-size:.56rem;text-overflow:ellipsis;white-space:nowrap}.cottage-state-card-compact .cottage-state-card-label small{color:var(--kx-primary)}.cottage-state-card-tools{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px}.cottage-state-card-tools button{position:relative;display:grid;width:26px;height:26px;place-items:center;border:1px solid transparent;border-radius:7px;color:color-mix(in srgb,var(--kx-muted) 82%,transparent);background:transparent}.cottage-state-card-tools button.muted{color:color-mix(in srgb,var(--kx-muted) 54%,transparent);opacity:.68}.cottage-state-card-tools button.active,.cottage-state-card-tools button:hover{border-color:rgba(var(--kx-primary-rgb),.18);color:var(--kx-primary);background:rgba(var(--kx-primary-rgb),.08)}.cottage-state-card-tools button.active{border-color:rgba(var(--kx-primary-rgb),.22);color:var(--kx-primary);background:rgba(var(--kx-primary-rgb),.1)}.cottage-state-card-off-slash{position:absolute;width:19px;height:1px;border-radius:999px;background:currentColor;opacity:.82;transform:rotate(-42deg)}.cottage-state-card-tools .spin,.cottage-memory-write-state .spin,.cottage-state-card-editor .spin{animation:vector-spin 1s linear infinite}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.cottage-memory-write-state{display:inline-flex;width:fit-content;align-items:center;gap:6px;margin-top:5px;border-left:1px solid var(--kx-primary);color:var(--kx-muted);padding:2px 0 2px 8px;font-size:.62rem}.cottage-memory-write-state.done{color:var(--kx-primary)}.cottage-memory-write-state.error{color:#c97770}.cottage-state-card-panel-layer{position:absolute;top:126px;right:0;bottom:0;left:0;z-index:6;overflow-y:auto;background:#08050461;padding:12px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.cottage-state-card-editor{display:grid;width:auto;min-height:min(500px,calc(100vh - 154px));max-height:none;gap:10px;overflow:hidden;margin:0;border:1px solid var(--kx-border);border-radius:14px;color:var(--kx-text-main);background:color-mix(in srgb,var(--kx-panel-bg) 96%,transparent);padding:12px;box-shadow:0 20px 54px color-mix(in srgb,var(--kx-shadow) 72%,transparent);-webkit-backdrop-filter:blur(14px) saturate(1.08);backdrop-filter:blur(14px) saturate(1.08)}.cottage-state-card-editor header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.cottage-state-card-editor header>div{display:grid;gap:4px}.cottage-state-card-editor header strong{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;letter-spacing:.04em}.cottage-state-card-editor header small{color:var(--kx-muted);font-size:.56rem;line-height:1.55}.cottage-state-card-editor header button{border:0;color:var(--kx-muted);background:transparent}.cottage-state-card-editor textarea{min-height:340px;max-height:none;resize:none;border:1px solid var(--kx-border);border-radius:9px;color:var(--kx-text-main);background:color-mix(in srgb,var(--kx-input-bg) 88%,transparent);padding:10px;font-size:.66rem;line-height:1.72;outline:none}.cottage-state-card-editor footer{display:flex;justify-content:flex-end;gap:7px}.cottage-state-card-editor footer button{display:inline-flex;height:22px;min-height:22px;align-items:center;gap:4px;border:1px solid var(--kx-border);border-radius:999px;color:var(--kx-text-main);background:var(--kx-button-bg);padding:0 9px;font-size:.63rem;line-height:1}.cottage-state-card-editor footer button svg{width:12px;height:12px}.cottage-state-card-editor footer button.primary{border-color:var(--kx-primary);color:var(--vector-primary-text);background:var(--kx-primary)}.settings-route-shell,.settings-route-shell.persona-route-shell,.settings-route-shell.memory-route-shell,.settings-route-shell.vector-route-shell{padding:80px clamp(24px,5vw,72px) 52px}.settings-route-shell .settings-page,.settings-route-shell .cottage-ritual-page,.settings-route-shell.persona-route-shell .cottage-ritual-page,.settings-route-shell.memory-route-shell .cottage-ritual-page,.settings-route-shell.vector-route-shell .cottage-ritual-page,.vector-route-shell .vector-page{width:min(100%,1040px);margin-right:auto;margin-left:auto}.vector-route-shell .vector-page-card{border:0;background:transparent;padding:0}.vector-route-shell .vector-hero{display:flex;gap:16px;border:0}.vector-route-shell .vector-hero h1,.chronicle-title-lockup h1,.chronicle-list-header h1{font-size:clamp(1.75rem,4vw,2.5rem);line-height:1.08}.vector-route-shell .vector-hero h1{margin:0}.chronicle-page-kicker{display:block;margin-bottom:7px;color:var(--kx-primary);font-family:Cormorant Garamond,Georgia,Times New Roman,serif;font-size:.75rem;letter-spacing:.22em;text-transform:uppercase}.chronicle-route-shell{padding:80px clamp(24px,5vw,72px) 52px}.chronicle-page{width:min(100%,1040px);min-height:0;padding:0;background:transparent}@media(max-width:760px){.cottage-new-window-panel-layer{top:126px;right:0;bottom:0;left:0}.cottage-new-window-dialog{max-height:48vh}.cottage-state-card-panel-layer{top:126px;right:0;bottom:0;left:0}.cottage-state-card-editor{min-height:min(470px,calc(100vh - 145px))}.settings-route-shell,.settings-route-shell.persona-route-shell,.settings-route-shell.memory-route-shell,.settings-route-shell.vector-route-shell,.chronicle-route-shell{padding:68px 16px 32px}.persona-route-shell .cottage-page-heading,.memory-route-shell .cottage-page-heading,.vector-route-shell .vector-hero,.chronicle-page-header,.chronicle-list-header{min-height:0;align-items:flex-start;padding:8px 0 14px}}.chronicle-route-shell[data-theme=black-gold]{--kx-secondary: #8f7a62;--kx-deep-card: #4a4038}.chronicle-route-shell[data-theme=white-gold]{--kx-secondary: #a68f70;--kx-deep-card: #756958}.chronicle-route-shell[data-theme=pink-mocha]{--kx-secondary: #c3a6ae;--kx-deep-card: #68565b}.chronicle-route-shell[data-theme=custom]{--kx-secondary: #a694bc;--kx-deep-card: #6f637d}.chronicle-glyph-book{stroke:var(--kx-primary, #dcbda8)}.chronicle-glyph-orbit{stroke:var(--kx-secondary, #a694bc)}.chronicle-route-shell{min-height:100vh;padding:58px 0 0;color:var(--kx-text-main);background:radial-gradient(circle at 12% 5%,rgba(var(--kx-primary-rgb),.1),transparent 30%),linear-gradient(145deg,var(--kx-page-bg),var(--kx-panel-bg))}.chronicle-page{position:relative;width:100%;min-height:calc(100vh - 58px);margin:0 auto;border:0;background:color-mix(in srgb,var(--kx-page-bg) 94%,transparent);padding:24px;box-shadow:none}.chronicle-page-header,.chronicle-list-header{display:flex;align-items:center;justify-content:space-between;gap:18px}.chronicle-title-lockup{display:flex;align-items:center;gap:12px}.chronicle-title-lockup>svg{width:32px;height:32px}.chronicle-title-lockup h1,.chronicle-list-header h1{margin:0;color:var(--kx-text-main);font-family:Songti SC,"Noto Serif CJK SC",Georgia,serif;font-size:clamp(1.75rem,4vw,2.5rem);font-weight:500;line-height:1.08;letter-spacing:0}.chronicle-title-lockup p,.chronicle-list-header p{margin:2px 0 0;color:var(--kx-muted);font-family:Cormorant Garamond,Georgia,Times New Roman,serif;font-size:.75rem;letter-spacing:.22em;text-transform:uppercase}.chronicle-toolbar,.chronicle-reading-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.chronicle-toolbar button,.chronicle-search-row>button,.chronicle-reading-actions button,.chronicle-empty button{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:6px;border:1px solid var(--kx-border);border-radius:6px;color:var(--kx-text-main);background:var(--kx-panel-soft);padding:0 10px;font-size:.69rem}.chronicle-page>.cottage-divider,.chronicle-reading-page>.cottage-divider{margin:15px 0 18px}.chronicle-month-list{display:grid;gap:10px}.chronicle-month-card{position:relative;display:grid;grid-template-columns:112px minmax(0,1fr) auto;min-height:128px;align-items:center;overflow:hidden;border:1px solid var(--kx-border);border-radius:8px;color:var(--kx-text-main);background:var(--kx-panel-bg);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.chronicle-month-card.tone-mist{background:color-mix(in srgb,var(--kx-panel-bg) 84%,var(--kx-secondary) 16%)}.chronicle-month-card.tone-lavender{background:color-mix(in srgb,var(--kx-panel-bg) 68%,var(--kx-secondary) 32%)}.chronicle-month-card.tone-deep{border-color:transparent;color:var(--vector-primary-text);background:var(--kx-deep-card, color-mix(in srgb, var(--kx-text-main) 74%, var(--kx-primary) 26%))}.chronicle-month-card:hover{z-index:2;border-color:color-mix(in srgb,var(--kx-primary) 62%,var(--kx-border));transform:translateY(-3px);box-shadow:0 12px 26px var(--kx-shadow)}.chronicle-month-edge{position:absolute;inset:0 auto 0 0;width:4px;opacity:0;background:color-mix(in srgb,var(--kx-primary) 70%,var(--kx-secondary));transition:opacity .18s ease}.chronicle-month-card:hover .chronicle-month-edge{opacity:1}.chronicle-month-number{border-right:1px solid currentColor;color:color-mix(in srgb,var(--kx-secondary) 72%,transparent);font-family:Cormorant Garamond,Georgia,serif;font-size:4.7rem;font-weight:500;line-height:.82;text-align:center}.tone-deep .chronicle-month-number{color:#dcbda8;opacity:1}.chronicle-month-copy{min-width:0;padding:14px 22px}.chronicle-month-copy h2{margin:0 0 4px;font-family:Songti SC,serif;font-size:1.35rem;letter-spacing:.08em}.chronicle-month-copy>span{color:var(--kx-secondary);font-family:Cormorant Garamond,Georgia,serif;font-size:.7rem;letter-spacing:.17em}.tone-deep .chronicle-month-copy>span,.tone-deep .chronicle-month-meta{color:#dcbda8}.chronicle-month-copy p{overflow:hidden;margin:9px 0 0;color:var(--kx-muted);font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.tone-deep .chronicle-month-copy p{color:color-mix(in srgb,white 68%,#dcbda8 32%)}.chronicle-month-meta{display:grid;justify-items:center;gap:8px;color:var(--kx-secondary);padding-right:22px;font-family:Cormorant Garamond,Georgia,serif;font-size:.78rem}.chronicle-delete-month{position:absolute;right:8px;bottom:7px;border:0;color:color-mix(in srgb,var(--kx-secondary) 35%,transparent);background:transparent;padding:5px;opacity:.58}.chronicle-month-card:hover .chronicle-delete-month{color:var(--kx-secondary);opacity:1}.tone-deep .chronicle-delete-month{color:#dcbda861}.tone-deep:hover .chronicle-delete-month{color:#dcbda8}.chronicle-list-header{justify-content:flex-start}.chronicle-back{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;border:0;border-radius:50%;color:var(--kx-secondary);background:transparent}.chronicle-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:20px}.chronicle-search-row label{display:flex;min-height:38px;align-items:center;gap:8px;border:1px solid var(--kx-border);border-radius:999px;color:var(--kx-secondary);background:var(--kx-panel-bg);padding:0 13px}.chronicle-search-row input{width:100%;border:0;color:var(--kx-text-main);background:transparent;outline:none}.chronicle-entry-list{display:grid;gap:15px}.chronicle-entry{position:relative;display:grid;grid-template-columns:26px minmax(0,1fr);color:var(--kx-text-main)}.chronicle-entry.inactive{opacity:.48}.chronicle-entry-rail{display:grid;grid-template-rows:28px 1fr;justify-items:center}.chronicle-entry-rail>button{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border:0;color:#dcbda8;background:transparent;padding:0}.chronicle-entry-rail button i{width:11px;height:11px;border:1.5px solid var(--kx-secondary);border-radius:50%;background:color-mix(in srgb,var(--kx-secondary) 24%,transparent)}.chronicle-entry-rail button svg{width:14px;height:14px}.chronicle-entry-rail>span{width:2.5px;border-radius:999px;background:color-mix(in srgb,var(--kx-secondary) 34%,transparent)}.chronicle-entry-main{min-width:0;cursor:pointer}.chronicle-entry-head{display:flex;min-height:28px;align-items:flex-start;justify-content:space-between;gap:12px}.chronicle-entry-date{font-family:Cormorant Garamond,Georgia,serif;font-size:1.12rem;font-weight:600;letter-spacing:.14em}.chronicle-entry-actions{display:inline-flex;align-items:center;gap:7px;color:var(--kx-secondary)}.chronicle-entry-actions button{display:inline-flex;border:0;color:inherit;background:transparent;padding:3px}.chronicle-entry-card{border:1px solid var(--kx-border);border-left:3px solid color-mix(in srgb,var(--kx-secondary) 62%,transparent);border-radius:7px;background:var(--kx-panel-bg);padding:16px 18px;transition:transform .18s ease,box-shadow .18s ease}.chronicle-entry-main:hover .chronicle-entry-card{transform:translateY(-2px);box-shadow:0 10px 24px var(--kx-shadow)}.chronicle-entry.tone-mist .chronicle-entry-card{background:color-mix(in srgb,var(--kx-panel-bg) 84%,var(--kx-secondary) 16%)}.chronicle-entry.tone-lavender .chronicle-entry-card{background:color-mix(in srgb,var(--kx-panel-bg) 67%,var(--kx-secondary) 33%)}.chronicle-entry.tone-deep .chronicle-entry-card{border-color:transparent;border-left-color:#dcbda8;color:var(--vector-primary-text);background:var(--kx-deep-card, color-mix(in srgb, var(--kx-text-main) 74%, var(--kx-primary) 26%))}.chronicle-entry-card h2{margin:0;font-family:Songti SC,serif;font-size:1.02rem;line-height:1.5}.chronicle-entry-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.chronicle-entry-badges span{border:1px solid currentColor;border-radius:999px;padding:1px 7px;color:var(--kx-secondary);font-size:.58rem;opacity:.68}.tone-deep .chronicle-entry-badges span{color:#dcbda8}.chronicle-entry-card p{margin:12px 0 0;color:var(--kx-muted);font-family:Songti SC,serif;font-size:.82rem;line-height:1.8}.tone-deep .chronicle-entry-card p{color:color-mix(in srgb,white 72%,#dcbda8 28%)}.chronicle-entry-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;color:color-mix(in srgb,var(--kx-secondary) 54%,transparent);font-size:.62rem}.tone-deep .chronicle-entry-tags{color:#dcbda894}.chronicle-reading-page{display:grid}.chronicle-reading-header{display:grid;grid-template-columns:40px 115px minmax(0,1fr);min-height:190px;align-items:center;gap:22px;padding:8px 10px 20px}.chronicle-reading-header>button{align-self:start;border:0;color:var(--kx-secondary);background:transparent;padding:5px}.chronicle-reading-date{display:grid;justify-items:center;border-right:1px solid var(--kx-border);padding-right:20px}.chronicle-reading-date strong{color:var(--kx-secondary);font-family:Cormorant Garamond,Georgia,serif;font-size:5.8rem;font-weight:500;line-height:.82}.chronicle-reading-date span{margin-top:13px;color:var(--kx-muted);font-size:.62rem}.chronicle-reading-heading>span{color:#dcbda8;font-size:.62rem;letter-spacing:.22em}.chronicle-reading-heading h1{margin:12px 0 8px;font-family:Songti SC,serif;font-size:clamp(1.6rem,4vw,2.5rem);font-weight:600;line-height:1.35}.chronicle-reading-heading p{margin:0;color:var(--kx-secondary);font-size:.68rem}.chronicle-reading-sheet{position:relative;width:min(92%,660px);margin:4px auto 0;border:1px solid var(--kx-border);background:color-mix(in srgb,var(--kx-panel-bg) 96%,white 4%);padding:52px 54px 38px;box-shadow:0 18px 42px var(--kx-shadow)}.chronicle-reading-body{white-space:pre-wrap;color:var(--kx-text-main);font-family:Songti SC,serif;font-size:.94rem;line-height:2.05}.chronicle-reading-sheet blockquote{margin:32px 0 0;border-left:2px solid #dcbda8;color:var(--kx-secondary);padding:4px 0 4px 16px;font-family:Songti SC,serif;font-style:italic;line-height:1.8}.chronicle-reading-sheet footer{display:grid;justify-items:end;gap:5px;margin-top:42px;color:var(--kx-secondary);font-family:Cormorant Garamond,Georgia,serif}.chronicle-reading-sheet footer small{font-size:.58rem;letter-spacing:.22em;opacity:.56}.chronicle-reading-star{position:absolute;width:12px;height:12px;color:#dcbda8}.chronicle-reading-star.top{top:18px;right:21px}.chronicle-reading-star.bottom{left:18px;bottom:20px}.chronicle-reading-actions{width:min(92%,660px);margin:10px auto 0}.chronicle-empty{display:grid;min-height:280px;place-items:center;align-content:center;gap:9px;color:var(--kx-muted);text-align:center}.chronicle-empty>svg{width:42px;height:42px}.chronicle-empty p{margin:0;font-size:.76rem}.chronicle-empty.compact{min-height:110px}.chronicle-notice{position:fixed;z-index:90;right:22px;bottom:22px;display:inline-flex;max-width:min(420px,calc(100vw - 44px));align-items:center;gap:9px;border:1px solid var(--kx-primary);border-radius:7px;color:var(--kx-text-main);background:var(--kx-panel-bg);padding:10px 12px;box-shadow:0 12px 34px var(--kx-shadow);font-size:.72rem}.chronicle-spin{animation:vector-spin 1s linear infinite}.chronicle-modal-backdrop{position:fixed;z-index:120;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;overflow-y:auto;background:#0a080cad;padding:18px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.chronicle-modal{position:relative;display:grid;width:min(100%,520px);max-height:calc(100vh - 36px);gap:12px;overflow-y:auto;border:1px solid var(--kx-border);border-radius:8px;color:var(--kx-text-main);background:var(--kx-page-bg);padding:24px;box-shadow:0 30px 78px #00000047}.chronicle-modal h2{margin:0 0 4px;font-family:Songti SC,serif}.chronicle-modal-close{position:absolute;top:13px;right:13px;border:0;color:var(--kx-secondary);background:transparent}.chronicle-modal label:not(.chronicle-check){display:grid;gap:5px;color:var(--kx-muted);font-size:.68rem}.chronicle-modal input,.chronicle-modal textarea{border:1px solid var(--kx-border);border-radius:6px;color:var(--kx-text-main);background:var(--kx-panel-bg);padding:9px 10px;font:inherit;outline:none;resize:vertical}.chronicle-primary{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:7px;border:1px solid var(--kx-primary);border-radius:6px;color:var(--vector-primary-text);background:var(--kx-primary);padding:0 12px;font-weight:700}.chronicle-check{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--kx-border);border-radius:7px;background:var(--kx-panel-soft);padding:10px}.chronicle-check span{display:grid;gap:3px}.chronicle-check small{color:var(--kx-muted);line-height:1.5}.chronicle-check.compact{padding:8px 9px}.chronicle-days{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.chronicle-days button{min-height:32px;border:1px solid var(--kx-border);border-radius:6px;color:var(--kx-muted);background:var(--kx-panel-soft)}.chronicle-days button.active{border-color:var(--kx-primary);color:var(--vector-primary-text);background:var(--kx-primary)}.chronicle-auto-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) auto;align-items:center;gap:8px;border-top:1px solid var(--kx-border);padding-top:12px}.chronicle-auto-settings>div{display:grid;gap:2px}.chronicle-auto-settings>div small{color:var(--kx-muted);font-size:.64rem;line-height:1.45}.chronicle-frequency{display:flex!important;align-items:center;gap:5px!important;white-space:nowrap}.chronicle-frequency input{width:48px;padding:6px!important;text-align:center}.chronicle-pins{display:grid;gap:7px;border-top:1px solid var(--kx-border);padding-top:12px}.chronicle-pins>strong{display:flex;align-items:center;gap:6px}.chronicle-pins>div,.chronicle-pins form{display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid var(--kx-border);border-radius:6px;padding:7px 9px}.chronicle-pins form input{min-width:0;flex:1;border:0;padding:0}.chronicle-pins button{border:0;color:var(--kx-secondary);background:transparent}.seed-dialog>p{margin:0;color:var(--kx-muted);font-size:.7rem}.seed-dialog>div{display:grid;gap:8px}.seed-dialog article{border:1px solid var(--kx-border);border-radius:7px;background:var(--kx-panel-soft);padding:12px}.seed-dialog article>span{color:#dcbda8;font-family:Cormorant Garamond,Georgia,serif;font-size:.7rem}.seed-dialog h3{margin:5px 0;font-family:Songti SC,serif}.seed-dialog article p{color:var(--kx-muted);font-size:.76rem;line-height:1.7}.seed-dialog article i{margin-right:7px;color:var(--kx-secondary);font-size:.62rem;font-style:normal;opacity:.62}.seed-dialog footer{display:flex;justify-content:flex-end;gap:6px;margin-top:10px}.seed-dialog footer button{min-height:32px;border:1px solid var(--kx-border);border-radius:6px;color:var(--kx-text-main);background:var(--kx-panel-bg);padding:0 10px}@media(max-width:620px){.chronicle-route-shell{padding:54px 0 0}.chronicle-page{min-height:calc(100vh - 54px);padding:16px 10px}.chronicle-page-header{align-items:flex-start}.chronicle-title-lockup h1{font-size:1.05rem}.chronicle-title-lockup>svg{width:27px;height:27px}.chronicle-toolbar{max-width:230px;gap:4px}.chronicle-toolbar button{min-height:30px;padding:0 7px;font-size:.61rem}.chronicle-month-card{grid-template-columns:78px minmax(0,1fr) auto;min-height:108px}.chronicle-month-number{font-size:3.65rem}.chronicle-month-copy{padding:10px 12px}.chronicle-month-copy h2{font-size:1.08rem}.chronicle-month-copy p{font-size:.65rem}.chronicle-month-meta{padding-right:13px}.chronicle-search-row{grid-template-columns:minmax(0,1fr) auto}.chronicle-search-row>button{padding-inline:8px}.chronicle-entry{grid-template-columns:22px minmax(0,1fr)}.chronicle-entry-card{padding:13px 12px}.chronicle-entry-card h2{font-size:.92rem}.chronicle-entry-card p{font-size:.78rem}.chronicle-reading-header{grid-template-columns:32px 78px minmax(0,1fr);min-height:174px;gap:10px;padding-inline:0}.chronicle-reading-date{padding-right:9px}.chronicle-reading-date strong{font-size:4.1rem}.chronicle-reading-heading h1{font-size:1.42rem}.chronicle-reading-sheet{width:96%;padding:43px 25px 31px}.chronicle-reading-body{font-size:.86rem}.chronicle-modal{padding:20px 16px}.chronicle-auto-settings{grid-template-columns:1fr}.chronicle-auto-settings>div{grid-column:auto}.chronicle-frequency{justify-content:center;border:1px solid var(--kx-border);border-radius:7px;background:var(--kx-panel-soft);padding:7px 9px}}.settings-route-shell[data-theme] .memory-entry-card{--memory-card-text: var(--kx-text-main);--memory-card-muted: var(--kx-muted);--memory-card-accent: var(--kx-primary)}.settings-route-shell[data-theme] .memory-entry-summary-copy strong,.settings-route-shell[data-theme] .memory-entry-content{color:var(--memory-card-text)}.settings-route-shell[data-theme] .memory-entry-summary-copy small,.settings-route-shell[data-theme] .memory-entry-chevron,.settings-route-shell[data-theme] .memory-entry-meta{color:var(--memory-card-muted)}.settings-route-shell[data-theme] .memory-entry-day,.settings-route-shell[data-theme] .memory-entry-symbol{color:var(--memory-card-accent)}.settings-route-shell[data-theme=white-gold] .memory-entry-card.memory-tone-0{background:#fffffff5}.settings-route-shell[data-theme=white-gold] .memory-entry-card.memory-tone-1{background:#f4eee3}.settings-route-shell[data-theme=white-gold] .memory-entry-card.memory-tone-2{--memory-card-text: #2e2824;--memory-card-muted: rgba(46, 40, 36, .62);--memory-card-accent: #fff8ea;background:#b59869}.settings-route-shell[data-theme=white-gold] .memory-entry-card.memory-tone-3{--memory-card-text: #f8f1e6;--memory-card-muted: rgba(248, 241, 230, .62);--memory-card-accent: #d6b77f;background:#332d29}.settings-route-shell[data-theme=black-gold] .memory-entry-card.memory-tone-0{background:#0a0a0a}.settings-route-shell[data-theme=black-gold] .memory-entry-card.memory-tone-1{background:#1a1712}.settings-route-shell[data-theme=black-gold] .memory-entry-card.memory-tone-2{--memory-card-text: #090806;--memory-card-muted: rgba(9, 8, 6, .62);--memory-card-accent: #fff6e7;background:#b08d55}.settings-route-shell[data-theme=black-gold] .memory-entry-card.memory-tone-3{--memory-card-text: #2b241c;--memory-card-muted: rgba(43, 36, 28, .6);--memory-card-accent: #9a7848;background:#f0e8db}.settings-route-shell[data-theme=pink-mocha] .memory-entry-card.memory-tone-0{background:#312a21}.settings-route-shell[data-theme=pink-mocha] .memory-entry-card.memory-tone-1{background:#514239}.settings-route-shell[data-theme=pink-mocha] .memory-entry-card.memory-tone-2{--memory-card-text: #2c2420;--memory-card-muted: rgba(44, 36, 32, .6);--memory-card-accent: #fff5f2;background:#b58c8c}.settings-route-shell[data-theme=pink-mocha] .memory-entry-card.memory-tone-3{--memory-card-text: #4b3938;--memory-card-muted: rgba(75, 57, 56, .58);--memory-card-accent: #a87678;background:#efe3e2}.settings-route-shell[data-theme] .memory-tag-chip{color:var(--kx-muted);background:var(--kx-panel-soft)}.settings-route-shell[data-theme] .memory-tag-chip.memory-tag-tone-1{color:var(--kx-text-main);background:color-mix(in srgb,var(--kx-panel-bg) 76%,var(--kx-primary) 24%)}.settings-route-shell[data-theme] .memory-tag-chip.memory-tag-tone-2{color:var(--kx-bg-card);background:var(--kx-primary)}.settings-route-shell[data-theme=white-gold] .memory-tag-chip.memory-tag-tone-3,.settings-route-shell[data-theme=pink-mocha] .memory-tag-chip.memory-tag-tone-3{color:#f8f1e8;background:#3a302c}.settings-route-shell[data-theme=black-gold] .memory-tag-chip.memory-tag-tone-3{color:#2b241c;background:#eee4d5}.settings-route-shell[data-theme] .memory-tag-chip button,.settings-route-shell[data-theme] .memory-mini-chip button,.settings-route-shell[data-theme] .memory-chip-add,.settings-route-shell[data-theme] .memory-tag-more{display:inline-grid;width:15px;min-width:15px;height:15px;min-height:15px;place-items:center;border:0;border-radius:50%;color:var(--kx-bg-card)!important;background:var(--kx-primary)!important;padding:0;opacity:1}.settings-route-shell[data-theme] .primary-memory-button{border-color:var(--kx-primary)!important;color:var(--kx-bg-card)!important;background:var(--kx-primary)!important;font-weight:700;opacity:1}.settings-route-shell[data-theme] .primary-memory-button:disabled{border-color:var(--kx-primary)!important;background:var(--kx-primary)!important;opacity:.62}.settings-route-shell[data-theme=black-gold] .primary-memory-button,.settings-route-shell[data-theme=black-gold] .primary-memory-button:disabled{color:#090806!important}.settings-route-shell[data-theme=white-gold] .primary-memory-button,.settings-route-shell[data-theme=white-gold] .primary-memory-button:disabled{color:#2e2824!important}.settings-route-shell[data-theme=pink-mocha] .primary-memory-button,.settings-route-shell[data-theme=pink-mocha] .primary-memory-button:disabled{color:#2c2420!important}.vector-route-shell[data-theme=black-gold]{--vector-primary-text: #090806}.vector-route-shell[data-theme=white-gold]{--vector-primary-text: #2e2824}.vector-route-shell[data-theme=pink-mocha]{--vector-primary-text: #2c2420}.vector-route-shell[data-theme=custom]{--vector-primary-text: #f8f3fb}.vector-route-shell .vector-page-card{border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}.vector-route-shell .vector-page{width:min(1020px,calc(100vw - 56px));max-width:100%;margin-right:auto;margin-left:auto}@media(max-width:720px){.vector-route-shell .vector-page{width:min(100vw - 24px,720px)}}.vector-route-shell .vector-hero{min-height:128px;align-items:center;border:0;padding:22px 4px 18px}.vector-route-shell .vector-hero h1{font-family:Songti SC,"Noto Serif CJK SC",Georgia,serif;font-size:clamp(1.65rem,3vw,2.35rem);font-weight:500;letter-spacing:0}.vector-route-shell .cottage-divider{margin-bottom:14px}.vector-route-shell .vector-note{border-radius:6px;background:color-mix(in srgb,var(--kx-primary) 9%,var(--kx-panel-soft))}.vector-route-shell .vector-section,.vector-route-shell .vector-section-panel,.vector-route-shell .vector-cache-card,.vector-route-shell .vector-subpanel,.vector-route-shell .vector-debug-block,.vector-route-shell .vector-diagnostic-list,.vector-route-shell .vector-cache-summary,.vector-route-shell .vector-trace-card{border-radius:8px}.vector-route-shell .vector-section-panel{border-color:var(--kx-border);background:var(--kx-panel-bg);box-shadow:0 14px 38px var(--kx-shadow)}.vector-route-shell .vector-cache-card{position:relative;min-height:58px;border-color:var(--kx-border-soft);background:var(--kx-panel-soft)}.vector-route-shell .vector-mode-card.active,.vector-route-shell .vector-preset-card.active,.vector-route-shell .vector-cache-card.active{border-color:var(--kx-primary);color:var(--vector-primary-text);background:var(--kx-primary)}.vector-route-shell .vector-cache-card.active strong,.vector-route-shell .vector-cache-card.active span{color:var(--vector-primary-text)}.vector-route-shell .vector-preset-card.preset-budget:not(.active){background:color-mix(in srgb,var(--kx-panel-bg) 92%,white 8%)}.vector-route-shell .vector-preset-card.preset-balanced:not(.active){border-color:rgba(var(--kx-primary-rgb),.46);background:color-mix(in srgb,var(--kx-panel-bg) 82%,var(--kx-primary) 18%)}.vector-route-shell .vector-preset-card.preset-recall:not(.active){background:color-mix(in srgb,var(--kx-panel-bg) 82%,var(--kx-text-main) 18%)}.vector-preset-card em{position:absolute;top:6px;right:7px;border:1px solid currentColor;border-radius:999px;padding:1px 5px;font-size:.52rem;font-style:normal;opacity:.66}.vector-link-card{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:12px;border:1px dashed var(--kx-border);border-radius:7px;color:var(--kx-muted);background:var(--kx-panel-soft);padding:9px 11px}.vector-link-card>div{display:grid;gap:3px}.vector-link-card strong{color:var(--kx-text-main);font-size:.76rem}.vector-link-card span{font-size:.66rem;line-height:1.45}.vector-link-card.active{border-style:solid;border-color:rgba(var(--kx-primary-rgb),.52);background:color-mix(in srgb,var(--kx-panel-bg) 78%,var(--kx-primary) 22%)}.vector-link-card button,.vector-route-shell .vector-action-primary{border-color:var(--kx-primary)!important;color:var(--vector-primary-text)!important;background:var(--kx-primary)!important;font-weight:700}.vector-route-shell .vector-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.vector-route-shell .vector-mode-card,.vector-route-shell .vector-preset-card{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:6px;padding:7px 9px;text-align:center}.vector-route-shell .vector-mode-card strong,.vector-route-shell .vector-preset-card strong{font-size:.72rem}.vector-choice-star{width:11px;height:11px;flex:0 0 auto}.vector-route-shell .vector-cache-card.active .vector-choice-star{color:var(--vector-primary-text);opacity:.82}.vector-preset-hint{margin:-1px 0 0;color:var(--kx-muted);font-size:.64rem;line-height:1.55}.vector-soft-hint{margin:0;color:var(--kx-muted);font-family:Songti SC,"Noto Serif CJK SC",Georgia,serif;font-size:.68rem;line-height:1.6;opacity:.72}.vector-route-shell .vector-scope-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.vector-route-shell .vector-scope-card{min-height:34px;justify-content:center;padding:6px 8px;text-align:center}.vector-compact-control-grid{display:grid;gap:10px}.vector-compact-control-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.vector-compact-control-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.vector-compact-control{display:flex;min-width:0;min-height:38px;align-items:center;justify-content:space-between;gap:7px;border:1px solid var(--kx-border-soft);border-radius:6px;color:var(--kx-muted);background:var(--kx-panel-soft);padding:7px 11px;font-size:.66rem}.vector-compact-control>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vector-compact-control>div{display:inline-flex;align-items:center;gap:3px}.vector-compact-control input{width:58px;min-width:0;border:0;border-bottom:1px solid var(--kx-border);color:var(--kx-primary);background:transparent;padding:2px 3px;font-size:.7rem;text-align:center;outline:none}.vector-compact-control small{font-size:.6rem}.vector-compact-control.toggle{cursor:pointer}.vector-compact-control.toggle i{position:relative;width:30px;height:16px;flex:0 0 auto;border-radius:999px;background:color-mix(in srgb,var(--kx-muted) 24%,transparent)}.vector-compact-control.toggle i:after{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--kx-text-main);content:"";transition:transform .18s ease}.vector-compact-control.toggle.active{border-color:var(--kx-primary);color:var(--vector-primary-text);background:var(--kx-primary)}.vector-compact-control.toggle.active i{background:color-mix(in srgb,var(--vector-primary-text) 24%,transparent)}.vector-compact-control.toggle.active i:after{background:var(--vector-primary-text);transform:translate(14px)}.vector-compact-control.disabled{opacity:.48}@media(max-width:720px){.settings-route-shell.vector-route-shell{padding:54px 0 0}.vector-route-shell .vector-hero{min-height:108px;align-items:flex-start;padding-top:14px}.vector-route-shell .vector-hero h1{font-size:1.55rem}.vector-link-card{align-items:flex-start}.vector-route-shell .vector-panel-header{min-height:38px;padding:6px 9px}.vector-route-shell .vector-panel-title{gap:7px}.vector-route-shell .vector-panel-icon{width:21px;height:21px}.vector-route-shell .vector-panel-title strong{font-size:.76rem}.vector-route-shell .vector-panel-title small{max-width:56vw;font-size:.58rem}.vector-route-shell .vector-panel-body{gap:7px;padding:7px 9px 9px}.vector-route-shell .vector-config-grid:not(.vector-choice-grid):not(.vector-scope-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.vector-route-shell .vector-field.wide{grid-column:span 2}.vector-route-shell .vector-field input,.vector-route-shell .vector-field select{min-height:31px;padding-inline:8px;font-size:.68rem}.vector-route-shell .vector-test-actions{display:flex;flex-wrap:wrap;gap:5px}.vector-route-shell .vector-test-actions button,.vector-route-shell .vector-test-actions .vector-clear-button{width:auto;min-height:30px;flex:0 0 auto;border-radius:6px;padding:0 8px;font-size:.66rem}.vector-route-shell .vector-test-row textarea{min-height:58px;padding:7px 8px;font-size:.72rem}.vector-route-shell .vector-scope-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.vector-compact-control-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.vector-compact-control-grid.three{grid-template-columns:.78fr 1.08fr 1.14fr}.vector-compact-control-grid.three .vector-compact-control{gap:4px;padding-inline:6px}.vector-compact-control-grid.three .vector-compact-control input{width:40px}}@media(max-width:370px){.vector-compact-control-grid.three{grid-template-columns:1fr}}.vector-route-shell .vector-compact-control-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control{min-height:36px;gap:5px;padding-inline:7px}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control input{width:44px}.vector-route-shell input[type=number]::-webkit-inner-spin-button,.vector-route-shell input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vector-route-shell input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.vector-route-shell .vector-budget-input{width:78px;min-width:70px;padding-inline:6px;text-align:right}.vector-route-shell .vector-test-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.vector-route-shell .vector-test-actions button,.vector-route-shell .vector-test-actions .vector-clear-button{display:inline-flex;width:auto;min-height:32px;align-items:center;justify-content:center;gap:6px;border:1px solid var(--kx-border);border-radius:6px;color:var(--kx-text-main);background:var(--kx-panel-soft);padding:0 10px;font-size:.69rem;font-weight:650;line-height:1;vertical-align:middle}.vector-route-shell .vector-test-actions button svg,.vector-route-shell .vector-test-actions .vector-clear-button svg{width:14px;height:14px;flex:0 0 auto;align-self:center}.vector-route-shell .vector-test-actions button.secondary,.vector-route-shell .vector-test-actions button.ghost,.vector-route-shell .vector-test-actions .vector-clear-button{color:var(--kx-text-main);background:color-mix(in srgb,var(--kx-panel-bg) 88%,var(--kx-primary) 12%)}.vector-route-shell .vector-test-actions button:hover,.vector-route-shell .vector-test-actions .vector-clear-button:hover{border-color:var(--kx-primary);color:var(--kx-primary)}.vector-folder-picker{display:grid;gap:7px;border:1px solid var(--kx-border-soft);border-radius:7px;background:var(--kx-panel-soft);padding:8px}.vector-folder-picker>p{margin:0;color:var(--kx-muted);font-size:.66rem}.vector-folder-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--kx-muted);font-size:.65rem}.vector-folder-picker-head>div{display:inline-flex;gap:5px}.vector-folder-picker-head button{min-height:24px;border:1px solid var(--kx-border);border-radius:5px;color:var(--kx-text-main);background:var(--kx-panel-bg);padding:0 7px;font-size:.6rem}.vector-folder-tree{display:grid;max-height:210px;gap:4px;overflow-y:auto;padding-right:3px}.vector-folder-branch{display:grid;gap:4px}.vector-folder-row{display:grid;grid-template-columns:16px 14px minmax(0,1fr) auto;min-height:28px;align-items:center;gap:5px;border:1px solid var(--kx-border-soft);border-radius:5px;color:var(--kx-muted);background:var(--kx-panel-bg);padding:3px 7px;font-size:.66rem}.vector-folder-row.selected,.vector-folder-row.partial{border-color:color-mix(in srgb,var(--kx-primary) 48%,var(--kx-border));color:var(--kx-text-main);background:color-mix(in srgb,var(--kx-panel-bg) 84%,var(--kx-primary) 16%)}.vector-folder-row input{margin:0;accent-color:var(--kx-primary)}.vector-folder-row>span:not(.vector-folder-chevron){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vector-folder-row small{color:var(--kx-muted);font-size:.58rem}.vector-folder-chevron{display:inline-flex;width:16px;height:16px;align-items:center;justify-content:center;border:0;color:var(--kx-muted);background:transparent;padding:0}.vector-embedding-hint,.vector-index-notice{display:flex;align-items:center;gap:7px;border:1px solid var(--kx-border-soft);border-radius:6px;color:var(--kx-muted);background:var(--kx-panel-soft);padding:7px 9px;font-size:.66rem;line-height:1.5}.vector-embedding-hint.connected{border-color:color-mix(in srgb,var(--kx-primary) 44%,var(--kx-border));color:var(--kx-text-main);background:color-mix(in srgb,var(--kx-panel-bg) 86%,var(--kx-primary) 14%)}.vector-embedding-hint-star{width:12px;height:12px;flex:0 0 auto;color:var(--kx-primary)}.vector-index-notice.error{border-color:#be5c5c6b;color:color-mix(in srgb,#c56f6f 76%,var(--kx-text-main))}.vector-rebuild-button{position:relative;overflow:visible}.vector-rebuild-button.needs-attention{animation:vector-rebuild-breathe 2.6s ease-in-out infinite}.vector-rebuild-particles{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;pointer-events:none}.vector-rebuild-particles i,.vector-rebuild-particles svg{position:absolute;opacity:0}.vector-rebuild-button.needs-attention .vector-rebuild-particles i{width:3px;height:3px;border-radius:50%;background:var(--kx-primary);animation:vector-index-particle 2.6s ease-out infinite}.vector-rebuild-button.needs-attention .vector-rebuild-particles i:nth-child(1){top:9px;left:7px}.vector-rebuild-button.needs-attention .vector-rebuild-particles i:nth-child(2){right:9px;bottom:7px;animation-delay:1.2s}.vector-rebuild-button.needs-attention .vector-rebuild-particles svg{top:-1px;right:15px;width:9px;height:9px;color:var(--kx-primary);animation:vector-index-star 2.6s ease-out .55s infinite}.vector-spin{animation:vector-spin 1s linear infinite}@keyframes vector-rebuild-breathe{0%,to{box-shadow:0 0 rgba(var(--kx-primary-rgb),0)}50%{box-shadow:0 0 0 4px rgba(var(--kx-primary-rgb),.12),0 6px 18px rgba(var(--kx-primary-rgb),.16)}}@keyframes vector-index-particle{0%,42%{opacity:0;transform:translateY(2px) scale(.5)}58%{opacity:.72}to{opacity:0;transform:translate(2px,-8px) scale(1.35)}}@keyframes vector-index-star{0%,38%{opacity:0;transform:scale(.45)}58%{opacity:.78}to{opacity:0;transform:translateY(-7px) scale(1.25)}}@keyframes vector-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.vector-rebuild-button.needs-attention,.vector-rebuild-button.needs-attention .vector-rebuild-particles i,.vector-rebuild-button.needs-attention .vector-rebuild-particles svg,.vector-spin{animation:none}}@media(max-width:720px){.vector-route-shell .vector-compact-control-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control{min-height:34px;gap:2px;padding-inline:4px;font-size:.54rem}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control>span{max-width:none;font-size:.54rem}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control input{width:23px;padding-inline:1px;font-size:.6rem}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control small{font-size:.5rem}.vector-route-shell .vector-compact-control.toggle i{width:24px;height:14px}.vector-route-shell .vector-compact-control.toggle i:after{width:10px;height:10px}.vector-route-shell .vector-compact-control.toggle.active i:after{transform:translate(10px)}.vector-route-shell .vector-budget-input{width:68px!important}.vector-folder-picker-head{align-items:flex-start}}.settings-route-shell[data-theme] .memory-tag-more{width:auto;min-width:24px;border-radius:999px;padding-inline:5px;font-size:.58rem}html,body{-ms-overflow-style:none;scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}.cinema-shell,.settings-route-shell,.settings-route-shell.persona-route-shell,.settings-route-shell.memory-route-shell,.settings-route-shell.vector-route-shell{-ms-overflow-style:none;scrollbar-width:none!important}.cinema-shell::-webkit-scrollbar,.settings-route-shell::-webkit-scrollbar,.settings-route-shell.persona-route-shell::-webkit-scrollbar,.settings-route-shell.memory-route-shell::-webkit-scrollbar,.settings-route-shell.vector-route-shell::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}.cottage-message-scroll,.chat-message-list,.cottage-state-card-panel-layer,.cottage-state-card-editor,.cottage-new-window-panel-layer,.cottage-new-window-dialog,.chronicle-modal-backdrop,.chronicle-modal,.vector-folder-tree,.vector-panel-body,textarea{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--kx-muted, #8f7a62) 10%,transparent) transparent}.cottage-message-scroll::-webkit-scrollbar,.chat-message-list::-webkit-scrollbar,.cottage-state-card-panel-layer::-webkit-scrollbar,.cottage-state-card-editor::-webkit-scrollbar,.cottage-new-window-panel-layer::-webkit-scrollbar,.cottage-new-window-dialog::-webkit-scrollbar,.chronicle-modal-backdrop::-webkit-scrollbar,.chronicle-modal::-webkit-scrollbar,.vector-folder-tree::-webkit-scrollbar,.vector-panel-body::-webkit-scrollbar,textarea::-webkit-scrollbar{display:block!important;width:4px!important;height:4px!important}.cottage-message-scroll::-webkit-scrollbar-thumb,.chat-message-list::-webkit-scrollbar-thumb,.cottage-state-card-panel-layer::-webkit-scrollbar-thumb,.cottage-state-card-editor::-webkit-scrollbar-thumb,.cottage-new-window-panel-layer::-webkit-scrollbar-thumb,.cottage-new-window-dialog::-webkit-scrollbar-thumb,.chronicle-modal-backdrop::-webkit-scrollbar-thumb,.chronicle-modal::-webkit-scrollbar-thumb,.vector-folder-tree::-webkit-scrollbar-thumb,.vector-panel-body::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-thumb{border-radius:999px;background:color-mix(in srgb,var(--kx-muted, #8f7a62) 10%,transparent)!important}.settings-route-shell,.settings-route-shell.persona-route-shell,.settings-route-shell.memory-route-shell,.settings-route-shell.vector-route-shell,.chronicle-route-shell{padding:80px clamp(34px,7vw,104px) 56px}.settings-route-shell .settings-page,.settings-route-shell .cottage-ritual-page,.settings-route-shell.persona-route-shell .cottage-ritual-page,.settings-route-shell.memory-route-shell .cottage-ritual-page,.settings-route-shell.vector-route-shell .cottage-ritual-page,.vector-route-shell .vector-page,.chronicle-page{width:min(100%,1040px);margin-right:auto;margin-left:auto}.chronicle-page,.vector-route-shell .vector-page-card{border:0;background:transparent;padding:0;box-shadow:none}.persona-route-shell .cottage-page-heading,.memory-route-shell .cottage-page-heading,.vector-route-shell .vector-hero,.chronicle-page-header,.chronicle-list-header{min-height:118px;align-items:flex-end;padding:12px 4px 18px}.vector-route-shell .vector-hero{display:flex;gap:16px;border:0;border-radius:0;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.vector-route-shell .vector-page,.vector-route-shell .vector-page-card,.vector-route-shell .vector-hero{background:transparent!important}.vector-route-shell .vector-hero h1,.chronicle-title-lockup h1,.chronicle-list-header h1{margin:0;font-size:clamp(1.75rem,4vw,2.5rem);line-height:1.08}.vector-route-shell .vector-hero p,.chronicle-title-lockup p,.chronicle-list-header p{max-width:40rem;margin:9px 0 0;color:var(--kx-muted);font-family:inherit;font-size:.78rem;line-height:1.7;letter-spacing:0;text-transform:none}.vector-route-shell .vector-hero .settings-route-mark{background:transparent;box-shadow:none}.chronicle-page-kicker,.vector-route-shell .vector-hero h1 span{display:block;margin-bottom:7px;color:var(--kx-primary);font-family:Cormorant Garamond,Georgia,Times New Roman,serif;font-size:.75rem;letter-spacing:.22em;text-transform:uppercase}.chronicle-page>.cottage-divider,.vector-route-shell .cottage-divider,.memory-route-shell .cottage-divider,.persona-route-shell .cottage-divider{margin:0 0 18px}@media(max-width:760px){.settings-route-shell,.settings-route-shell.persona-route-shell,.settings-route-shell.memory-route-shell,.settings-route-shell.vector-route-shell,.chronicle-route-shell{padding:68px 18px 34px}.settings-route-shell .settings-page,.settings-route-shell .cottage-ritual-page,.settings-route-shell.persona-route-shell .cottage-ritual-page,.settings-route-shell.memory-route-shell .cottage-ritual-page,.settings-route-shell.vector-route-shell .cottage-ritual-page,.vector-route-shell .vector-page,.chronicle-page{width:min(100%,720px)}.persona-route-shell .cottage-page-heading,.memory-route-shell .cottage-page-heading,.vector-route-shell .vector-hero,.chronicle-page-header,.chronicle-list-header{min-height:0;align-items:flex-start;padding:8px 0 14px}}.persona-route-shell .cottage-page-heading,.memory-route-shell .cottage-page-heading,.memory-route-shell .memory-page-heading,.vector-route-shell .vector-hero{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.memory-route-shell .memory-page-heading{padding:12px 4px 18px!important}.settings-route-shell .settings-page-card{min-height:0!important;border:0!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0!important}.vector-route-shell .vector-section-panel{padding:18px!important}.vector-route-shell .vector-panel-body{gap:18px!important;padding:16px 2px 2px!important}.vector-route-shell .vector-config-grid,.vector-route-shell .vector-choice-grid,.vector-route-shell .vector-scope-grid,.vector-route-shell .vector-compact-control-grid{gap:12px!important}.vector-route-shell .vector-cache-card,.vector-route-shell .vector-compact-control{padding:9px 12px!important}.vector-route-shell .vector-test-actions{gap:10px!important}@media(max-width:760px){.memory-route-shell .memory-page-heading{padding:8px 0 14px!important}.vector-route-shell .vector-section-panel{padding:14px!important}.vector-route-shell .vector-panel-body{gap:12px!important;padding:12px 0 0!important}}.memory-route-shell .memory-page-heading{border:0!important;border-radius:0!important;background:radial-gradient(circle at 10% 8%,color-mix(in srgb,var(--kx-primary) 14%,transparent),transparent 34%),linear-gradient(90deg,color-mix(in srgb,var(--kx-panel-soft) 42%,transparent),transparent 72%)!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:18px 4px!important}.settings-route-shell[data-theme] .persona-deck-panel,.settings-route-shell[data-theme] .persona-editor-panel,.settings-route-shell[data-theme] .memory-page-card,.settings-route-shell[data-theme] .settings-section,.vector-route-shell .vector-section-panel{padding:20px!important}.settings-route-shell[data-theme] .settings-section-toggle{padding:16px!important}.settings-route-shell[data-theme] .settings-section-body,.settings-route-shell[data-theme] .memory-page-card .settings-section-body{gap:14px!important;padding:16px!important}.settings-route-shell[data-theme] .memory-page-card>.settings-section{padding:0!important}.settings-route-shell[data-theme] .memory-page-card>.settings-section+.settings-section{padding-top:16px!important}.memory-page-card .settings-section-toggle{padding:0 0 12px!important}.vector-route-shell .vector-panel-body{gap:20px!important;padding:18px 4px 4px!important}.vector-route-shell .vector-compact-control-grid.four{gap:8px!important}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control{min-height:32px!important;gap:5px!important;border-radius:6px!important;padding:5px 8px!important;font-size:.72rem!important}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control>span{color:var(--kx-text-main);font-size:.72rem!important;line-height:1.1}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control input{width:42px!important;padding:1px 2px!important;font-size:.72rem!important}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control.toggle i{width:26px!important;height:14px!important}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control.toggle i:after{width:10px!important;height:10px!important}.vector-route-shell .vector-compact-control-grid.four .vector-compact-control.toggle.active i:after{transform:translate(12px)!important}@media(max-width:760px){.memory-route-shell .memory-page-heading{padding:14px 0!important}.settings-route-shell[data-theme] .persona-deck-panel,.settings-route-shell[data-theme] .persona-editor-panel,.settings-route-shell[data-theme] .memory-page-card,.settings-route-shell[data-theme] .settings-section,.vector-route-shell .vector-section-panel{padding:16px!important}.vector-route-shell .vector-panel-body{gap:14px!important;padding:14px 0 0!important}}.settings-route-shell.memory-route-shell[data-theme]{background:radial-gradient(circle at 18% 108px,rgba(var(--kx-primary-rgb),.15),transparent 34%),linear-gradient(180deg,color-mix(in srgb,var(--kx-panel-soft) 30%,transparent) 0,transparent 260px),var(--kx-page-bg)!important}.memory-route-shell .memory-page-heading{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:18px 4px!important}.settings-route-shell[data-theme] .memory-page-card{gap:14px!important}.settings-route-shell[data-theme] .memory-page-card>.settings-section,.settings-route-shell[data-theme] .memory-page-card>.settings-section+.settings-section{border:0!important;background:transparent!important;padding:0!important}.settings-route-shell[data-theme] .memory-page-card .settings-section-body{border:0!important;border-radius:8px!important;background:var(--kx-panel-soft)!important;padding:16px!important}.settings-route-shell[data-theme] .memory-page-card>.memory-compose-card{overflow:hidden!important;margin:0 16px!important;border:1px solid var(--kx-border-soft)!important;border-radius:8px!important;background:var(--kx-panel-bg)!important;padding:0!important;box-shadow:0 7px 20px var(--kx-shadow)!important}.settings-route-shell[data-theme=white-gold] .memory-page-card>.memory-compose-card{border-color:rgba(var(--kx-primary-rgb),.16)!important;background:#f4eee3!important}.settings-route-shell[data-theme=black-gold] .memory-page-card>.memory-compose-card{background:#0a0a0a!important}.settings-route-shell[data-theme=pink-mocha] .memory-page-card>.memory-compose-card{background:#312a21!important}.settings-route-shell[data-theme] .memory-compose-card .settings-section-toggle{padding:16px 20px 12px!important}.settings-route-shell[data-theme] .memory-compose-card .settings-section-body{display:grid;gap:0!important;margin:0 20px 18px!important;border:1px solid var(--kx-border-soft)!important;border-radius:8px!important;background:color-mix(in srgb,var(--kx-input-bg) 90%,transparent)!important;padding:12px 14px!important}.settings-route-shell[data-theme] .memory-compose-card textarea{min-height:52px!important;max-height:108px;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important}.settings-route-shell[data-theme] .memory-compose-card .memory-compose-foot{margin-top:11px;border-top:1px solid var(--kx-border-soft)!important;border-radius:0!important;background:transparent!important;padding:11px 0 0!important}.settings-route-shell[data-theme] .memory-compose-card .memory-compose-foot input{border:0!important;background:transparent!important;padding:0!important}.settings-route-shell[data-theme] .memory-page-card>.settings-section+.settings-section{border-top:1px solid var(--kx-border-soft)!important;padding-top:14px!important}@media(max-width:760px){.memory-route-shell .memory-page-heading{padding:14px 0!important}.settings-route-shell[data-theme] .memory-page-card{gap:15px!important}.settings-route-shell[data-theme] .memory-page-card>.memory-compose-card{margin:0!important}}.settings-route-shell,.settings-route-shell.persona-route-shell,.settings-route-shell.memory-route-shell,.settings-route-shell.vector-route-shell{padding:80px clamp(18px,4vw,64px) 56px!important}.settings-route-shell .settings-page,.settings-route-shell .cottage-ritual-page,.settings-route-shell.persona-route-shell .cottage-ritual-page,.settings-route-shell.memory-route-shell .cottage-ritual-page,.settings-route-shell.vector-route-shell .cottage-ritual-page,.vector-route-shell .vector-page{width:min(100%,1120px)!important}.persona-responsive-workbench,.memory-page-card,.vector-route-shell .vector-page-card{width:100%!important;margin-right:auto!important;margin-left:auto!important}.settings-route-shell[data-theme]>.settings-page>.settings-page-card{width:100%!important;min-height:0!important;border:0!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0!important}.settings-route-shell[data-theme] .memory-page-card>.memory-compose-card{margin-right:0!important;margin-left:0!important}.settings-route-shell[data-theme] .memory-page-card .settings-section-body{padding-right:16px!important;padding-left:16px!important}@media(max-width:760px){.settings-route-shell,.settings-route-shell.persona-route-shell,.settings-route-shell.memory-route-shell,.settings-route-shell.vector-route-shell{padding:68px 14px 32px!important}.settings-page-card,.persona-responsive-workbench,.memory-page-card,.vector-route-shell .vector-page-card{width:100%!important}}.settings-route-shell.memory-route-shell[data-theme] .memory-page-heading{background:radial-gradient(ellipse at 12% 0%,rgba(var(--kx-primary-rgb),.22),transparent 38%),radial-gradient(ellipse at 86% 18%,color-mix(in srgb,var(--kx-panel-soft) 48%,transparent),transparent 42%),linear-gradient(118deg,color-mix(in srgb,var(--kx-panel-soft) 76%,transparent) 0%,color-mix(in srgb,var(--kx-primary) 16%,transparent) 54%,transparent 100%)!important;box-shadow:none!important}.cottage-chat-shell[data-theme] .cottage-message-row.companion .cottage-message-stack{width:min(70ch,calc(100% - 52px))!important;max-width:min(70ch,calc(100% - 52px))!important}.cottage-chat-shell[data-theme] .cottage-message-row.companion .cottage-message-card{width:100%!important}.cottage-tool-status-list{display:grid;gap:7px;margin:0 0 10px}.cottage-tool-status{min-width:0;border:0;background:transparent}.cottage-tool-status.failed{color:#d9645d}.cottage-tool-status summary{display:flex;min-width:0;align-items:center;gap:9px;border:0;border-radius:999px;background:color-mix(in srgb,var(--kx-panel-soft, rgba(255, 255, 255, .06)) 78%,transparent);padding:9px 10px;cursor:pointer;list-style:none}.cottage-tool-status summary::-webkit-details-marker{display:none}.cottage-tool-status-copy{display:grid;min-width:0;gap:2px}.cottage-tool-status summary .cottage-tool-status-hint{display:block;flex:0 0 auto;margin-left:auto;color:var(--kx-text-muted, rgba(255, 248, 238, .52));font-size:.66rem}.cottage-tool-status summary strong,.cottage-tool-status summary small{overflow-wrap:anywhere}.cottage-tool-status summary strong{color:var(--kx-text-main, #fff8ee);font-size:.76rem}.cottage-tool-status summary small{color:var(--kx-text-muted, rgba(255, 248, 238, .62));font-size:.68rem}.cottage-tool-status-icon{display:grid;width:25px;height:25px;flex:0 0 25px;place-items:center;border-radius:999px;color:var(--kx-primary, #dcbda8);background:color-mix(in srgb,var(--kx-primary, #dcbda8) 14%,transparent)}.cottage-tool-status.failed .cottage-tool-status-icon{color:#d9645d}.cottage-tool-status-detail{max-height:260px;overflow:auto;border:0;background:transparent;color:var(--kx-text-muted, rgba(255, 248, 238, .66));margin:0;padding:9px 12px 5px 44px;font-size:.7rem;line-height:1.55;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}@media(max-width:640px){.cottage-chat-shell[data-theme] .cottage-message-row.companion .cottage-message-stack{width:min(100%,calc(100% - 42px))!important;max-width:min(100%,calc(100% - 42px))!important}}:root{--kico-morandi-title-font: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif}.settings-route-shell[data-theme] .cottage-page-heading h1,.vector-route-shell .vector-hero h1,.chronicle-title-lockup h1,.chronicle-list-header h1{font-family:var(--kico-morandi-title-font)!important;font-weight:500!important;letter-spacing:.02em}.settings-route-shell.memory-route-shell[data-theme]{background:radial-gradient(ellipse at 12% 86px,rgba(var(--kx-primary-rgb),.2),transparent 34%),radial-gradient(ellipse at 86% 124px,color-mix(in srgb,var(--kx-panel-soft) 42%,transparent),transparent 40%),linear-gradient(135deg,color-mix(in srgb,var(--kx-panel-soft) 34%,transparent) 0%,transparent 330px),var(--kx-page-bg)!important}.settings-route-shell.memory-route-shell[data-theme] .memory-page-heading{background:transparent!important}.settings-route-shell[data-theme=white-gold],.chronicle-route-shell[data-theme=white-gold],.cinema-shell[data-theme=white-gold],.cottage-chat-shell[data-theme=white-gold]{--kx-readable-gold: #8f744e;--interactive-accent: #9c8057;--text-accent: #8f7d68;--vector-primary-text: #2e2824}.settings-route-shell[data-theme=custom],.chronicle-route-shell[data-theme=custom],.cinema-shell[data-theme=custom],.cottage-chat-shell[data-theme=custom]{--kx-readable-gold: #9f735c;--interactive-accent: #9f735c;--text-accent: #8f7fa2;--vector-primary-text: #fbf9fc}.settings-route-shell[data-theme=white-gold] .visual-block-title,.settings-route-shell[data-theme=white-gold] .settings-section-heading svg,.settings-route-shell[data-theme=custom] .visual-block-title,.settings-route-shell[data-theme=custom] .settings-section-heading svg{color:var(--kx-readable-gold)!important}.settings-route-shell[data-theme=custom] .settings-section-copy strong,.settings-route-shell[data-theme=custom] .settings-section-heading strong{color:#765643!important}.settings-route-shell[data-theme=custom] .settings-section-icon,.settings-route-shell[data-theme=custom] .settings-section-chevron.open{border-color:color-mix(in srgb,#765643 26%,transparent)!important;color:#765643!important;background:color-mix(in srgb,#765643 7%,transparent)!important}.settings-route-shell[data-theme=white-gold] .visual-block-title svg,.settings-route-shell[data-theme=custom] .visual-block-title svg{border:0!important;border-radius:0!important;color:var(--kx-readable-gold)!important;background:transparent!important;box-shadow:none!important;padding:0!important}.chronicle-route-shell[data-theme=white-gold] .chronicle-toolbar button,.chronicle-route-shell[data-theme=custom] .chronicle-toolbar button{border-color:color-mix(in srgb,var(--kx-readable-gold) 32%,var(--kx-border));color:var(--kx-readable-gold);background:color-mix(in srgb,var(--kx-readable-gold) 8%,var(--kx-panel-soft))}.chronicle-route-shell[data-theme=white-gold] .chronicle-toolbar button:hover,.chronicle-route-shell[data-theme=custom] .chronicle-toolbar button:hover{border-color:color-mix(in srgb,var(--kx-readable-gold) 48%,var(--kx-border));background:color-mix(in srgb,var(--kx-readable-gold) 13%,var(--kx-panel-soft))}.chronicle-route-shell[data-theme=white-gold] .chronicle-page-kicker,.chronicle-route-shell[data-theme=white-gold] .chronicle-modal h2,.chronicle-route-shell[data-theme=custom] .chronicle-page-kicker,.chronicle-route-shell[data-theme=custom] .chronicle-modal h2{color:var(--kx-readable-gold)}.chronos-settings-card{display:grid;gap:10px;border:1px solid var(--kx-border);border-radius:10px;background:radial-gradient(circle at 12% 0%,rgba(var(--kx-primary-rgb),.1),transparent 34%),color-mix(in srgb,var(--kx-panel-soft) 86%,transparent);padding:12px 14px}.chronos-copy{display:grid;gap:4px}.chronos-copy strong{color:var(--kx-text-main);font-size:.8rem;letter-spacing:.03em}.chronos-copy small,.chronos-settings-card p{margin:0;color:var(--kx-muted);font-size:.64rem;line-height:1.58}.chronos-mode-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.chronos-mode-row button{display:inline-flex;min-height:31px;align-items:center;justify-content:center;gap:5px;border:1px solid var(--kx-border);border-radius:999px;color:var(--kx-muted);background:color-mix(in srgb,var(--kx-input-bg) 82%,transparent);font-size:.68rem;transition:border-color .16s ease,color .16s ease,background .16s ease,transform .16s ease}.chronos-mode-row button:hover,.chronos-mode-row button.active{border-color:color-mix(in srgb,var(--kx-primary) 48%,var(--kx-border));color:var(--kx-text-main);background:color-mix(in srgb,var(--kx-primary) 13%,var(--kx-panel-soft))}.chronos-mode-row button:hover{transform:translateY(-1px)}@media(max-width:560px){.chronos-mode-row{grid-template-columns:1fr}}.settings-route-shell[data-theme=custom],.chronicle-route-shell[data-theme=custom],.cinema-shell[data-theme=custom],.cottage-chat-shell[data-theme=custom]{--kx-readable-gold: #765643;--interactive-accent: #85614f;--kx-primary: #85614f;--kx-primary-rgb: 133, 97, 79}.cottage-chat-shell[data-theme=white-gold] .cottage-sidebar-toggle,.cottage-chat-shell[data-theme=custom] .cottage-sidebar-toggle{border-color:color-mix(in srgb,var(--kx-primary) 28%,var(--kx-border));color:color-mix(in srgb,var(--kx-text-main) 82%,var(--kx-primary));background:color-mix(in srgb,var(--kx-panel-soft) 72%,transparent)}.cottage-chat-shell[data-theme=white-gold] .cottage-sidebar-toggle:hover,.cottage-chat-shell[data-theme=custom] .cottage-sidebar-toggle:hover,.cottage-chat-shell[data-theme=white-gold].has-sidebar .cottage-sidebar-toggle,.cottage-chat-shell[data-theme=custom].has-sidebar .cottage-sidebar-toggle{border-color:color-mix(in srgb,var(--kx-primary) 42%,var(--kx-border));color:var(--kx-text-main);background:color-mix(in srgb,var(--kx-primary) 11%,var(--kx-panel-soft))}.cottage-chat-shell[data-theme=white-gold] .cottage-empty-chat,.cottage-chat-shell[data-theme=custom] .cottage-empty-chat{color:var(--kx-muted)}.cottage-chat-shell[data-theme=white-gold] .cottage-empty-chat strong,.cottage-chat-shell[data-theme=custom] .cottage-empty-chat strong{color:var(--kx-text-main)}.cottage-chat-shell[data-theme=white-gold] .cottage-empty-chat span{color:#463729a8}.cottage-chat-shell[data-theme=custom] .cottage-empty-chat span{color:#4f4365a8}.settings-route-shell[data-theme=white-gold] .persona-memory-gate strong,.settings-route-shell[data-theme=custom] .persona-memory-gate strong{color:var(--kx-text-main)}.settings-route-shell[data-theme=white-gold] .persona-memory-gate small{color:#4637299e;opacity:1}.settings-route-shell[data-theme=custom] .persona-memory-gate small{color:#4f43659e;opacity:1}.theme-orb-row{gap:10px!important}.theme-orb-row button{gap:5px!important;font-size:.66rem!important}.theme-orb-row button>span{width:26px!important;height:26px!important;border-width:1.5px!important;box-shadow:0 5px 12px #0000001f!important}.theme-orb-row button.active>span,.theme-orb-row button:hover>span{box-shadow:0 0 10px rgba(var(--kx-primary-rgb),.18)!important;transform:scale(1.05)!important}.theme-orb-row button svg{right:-3px!important;top:17px!important;width:13px!important;height:13px!important}.settings-grid .model-preset-field{grid-column:1 / -1}.model-preset-row{flex-wrap:nowrap!important;overflow-x:auto;gap:6px!important;padding-bottom:2px;scrollbar-width:none}.model-preset-row::-webkit-scrollbar{display:none}.model-preset-row button{min-height:26px!important;flex:0 0 auto;padding:0 9px!important;font-size:.67rem!important}.model-preset-row.provider-openrouter{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible}.model-preset-row.provider-openrouter button{min-width:0;width:100%;padding:0 7px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.model-preset-row.provider-openrouter{grid-template-columns:repeat(3,minmax(0,1fr))}}.persona-deck-heading{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.persona-single-panel{grid-template-rows:auto;align-content:start}@media(max-width:760px){.cottage-chat-main{grid-template-rows:calc(38px + env(safe-area-inset-top,0px)) minmax(0,1fr) auto}.cottage-chat-hud{min-height:0;padding-top:env(safe-area-inset-top,0px)}.cottage-chat-hud .cottage-sidebar-toggle,.cottage-chat-hud .cottage-chat-actions button{width:30px;height:30px}.cottage-chat-title{gap:6px}.cottage-chat-title input{font-size:.8rem}}.persona-single-panel p{margin:0;color:var(--kx-muted);font-size:.78rem;line-height:1.7}.journal-channel-card{margin-top:14px;border:1px solid color-mix(in srgb,var(--kx-border) 82%,transparent);border-radius:18px;background:radial-gradient(ellipse at 10% 0%,color-mix(in srgb,var(--kx-primary) 10%,transparent),transparent 44%),color-mix(in srgb,var(--kx-panel-soft) 72%,transparent);box-shadow:0 14px 34px color-mix(in srgb,var(--kx-shadow) 10%,transparent);padding:14px}.journal-channel-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.journal-channel-icon{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border:1px solid color-mix(in srgb,var(--kx-primary) 26%,transparent);border-radius:999px;color:var(--kx-readable-gold, var(--kx-primary));background:color-mix(in srgb,var(--kx-primary) 8%,transparent)}.journal-channel-head strong{display:block;color:var(--kx-text-main);font-size:.92rem;letter-spacing:.04em}.journal-channel-head small{display:block;margin-top:2px;color:var(--kx-text-muted);font-size:.74rem;line-height:1.5}.journal-channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.journal-channel-grid label{display:grid;gap:6px;color:var(--kx-text-muted);font-size:.72rem;letter-spacing:.04em}.journal-channel-grid input,.journal-channel-grid select{min-height:34px;border:1px solid color-mix(in srgb,var(--kx-border) 90%,transparent);border-radius:12px;color:var(--kx-text-main);background:color-mix(in srgb,var(--kx-panel) 88%,transparent);padding:0 10px;outline:none}.journal-channel-grid input:focus,.journal-channel-grid select:focus{border-color:color-mix(in srgb,var(--kx-primary) 44%,var(--kx-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--kx-primary) 10%,transparent)}.journal-model-field{grid-column:1 / -1}.journal-model-field>span{display:flex;align-items:baseline;gap:8px}.journal-model-field small{color:color-mix(in srgb,var(--kx-text-muted) 72%,transparent);font-size:.64rem}.journal-model-presets{margin-top:2px}.journal-model-presets.provider-openrouter{grid-template-columns:repeat(3,minmax(0,1fr))!important}@media(max-width:760px){.journal-channel-grid{grid-template-columns:1fr}}.settings-route-shell[data-theme] .provider-tabs,.cinema-shell[data-theme] .provider-tabs{grid-template-columns:minmax(168px,1.55fr) repeat(4,minmax(74px,.78fr))!important;gap:7px!important}.settings-route-shell[data-theme] .provider-tabs button,.cinema-shell[data-theme] .provider-tabs button{min-height:30px!important;padding:0 7px!important;font-size:.68rem!important}.settings-route-shell[data-theme] .provider-tabs button:first-child,.cinema-shell[data-theme] .provider-tabs button:first-child{padding:0 11px!important;font-size:.66rem!important}.model-preset-row.provider-openrouter:not(.journal-model-presets){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.model-preset-row.provider-openrouter:not(.journal-model-presets) button{min-height:25px!important;padding:0 6px!important;font-size:.62rem!important;letter-spacing:0}@media(max-width:760px){.settings-route-shell[data-theme] .provider-tabs,.cinema-shell[data-theme] .provider-tabs{grid-template-columns:minmax(158px,max-content) repeat(4,max-content)!important;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.settings-route-shell[data-theme] .provider-tabs::-webkit-scrollbar,.cinema-shell[data-theme] .provider-tabs::-webkit-scrollbar{display:none}.model-preset-row.provider-openrouter:not(.journal-model-presets){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}.model-preset-row.provider-openrouter:not(.journal-model-presets) button{min-height:23px!important;padding:0 3px!important;font-size:.52rem!important}}.alan-core-route-shell{min-height:100svh}.alan-core-page{width:min(1040px,calc(100vw - 28px))}.alan-core-card{display:grid;gap:14px}.hearth-core-header{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;border:1px solid color-mix(in srgb,var(--kx-border, rgba(255, 226, 187, .18)) 82%,transparent);border-radius:18px;background:radial-gradient(circle at 14% 12%,color-mix(in srgb,var(--kx-primary, #dcbda8) 16%,transparent),transparent 38%),color-mix(in srgb,var(--kx-panel-soft, rgba(255, 244, 226, .08)) 72%,transparent);padding:16px}.hearth-core-mark{width:42px;height:42px}.hearth-core-header h1{margin:2px 0 4px;color:var(--kx-text-main, #fff8ee);font-family:Cormorant Garamond,Georgia,serif;font-size:clamp(1.55rem,4vw,2.2rem);font-weight:700;letter-spacing:0}.hearth-core-header p{margin:0;color:var(--kx-text-muted, rgba(255, 248, 238, .66));font-size:.82rem;line-height:1.7}.hearth-section .settings-section-copy em{display:block;margin-top:5px;color:color-mix(in srgb,var(--kx-primary, #dcbda8) 78%,var(--kx-text-muted, #fff8ee));font-size:.7rem;font-style:normal;line-height:1.4}.hearth-section-body{display:grid;gap:14px}.hearth-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hearth-summary-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.hearth-metric-card,.hearth-placeholder-card{border:1px solid color-mix(in srgb,var(--kx-border, rgba(255, 226, 187, .18)) 82%,transparent);border-radius:16px;background:color-mix(in srgb,var(--kx-panel-soft, rgba(255, 244, 226, .08)) 78%,transparent);padding:12px}.hearth-metric-card{display:grid;gap:4px;min-width:0}.hearth-metric-card strong{overflow:hidden;color:var(--kx-text-main, #fff8ee);font-family:Cormorant Garamond,Georgia,serif;font-size:1.15rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.hearth-metric-card span{color:var(--kx-text-main, #fff8ee);font-size:.72rem;font-weight:700}.hearth-metric-card small,.hearth-placeholder-card p{margin:0;color:var(--kx-text-muted, rgba(255, 248, 238, .62));font-size:.68rem;line-height:1.5}.hearth-tab-row{display:flex;flex-wrap:wrap;gap:8px}.hearth-tab-row button{min-height:32px;border:1px solid color-mix(in srgb,var(--kx-border, rgba(255, 226, 187, .18)) 92%,transparent);border-radius:999px;color:var(--kx-text-muted, rgba(255, 248, 238, .68));background:color-mix(in srgb,var(--kx-panel-soft, rgba(255, 244, 226, .08)) 72%,transparent);padding:0 12px;font-size:.72rem}.hearth-tab-row button:hover,.hearth-tab-row button.active{border-color:color-mix(in srgb,var(--kx-primary, #dcbda8) 42%,var(--kx-border, rgba(255, 226, 187, .18)));color:var(--kx-text-main, #fff8ee);background:color-mix(in srgb,var(--kx-primary, #dcbda8) 13%,var(--kx-panel-soft, rgba(255, 244, 226, .08)))}.hearth-embedded-module{min-width:0}.hearth-embedded-module>.cinema-shell{min-height:0;overflow:visible;margin:0;padding:0;background:transparent!important}.hearth-embedded-module>.settings-route-shell{background:transparent!important}.hearth-embedded-module .settings-page{width:100%;max-width:none;min-height:0;padding:0}.hearth-embedded-module .settings-page-card{border:0;background:transparent;box-shadow:none;padding:0}.hearth-embedded-module .cottage-page-heading{display:none}.hearth-embedded-module .persona-original-page,.hearth-embedded-module .memory-page,.hearth-embedded-module .chronicle-route-page,.hearth-embedded-module .vector-lab-page{width:100%}.hearth-embedded-module.settings-module .settings-page-card{display:grid;gap:10px}.hearth-placeholder-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px}.hearth-placeholder-card svg{color:var(--kx-primary, #dcbda8)}.hearth-placeholder-card strong{display:block;margin-bottom:4px;color:var(--kx-text-main, #fff8ee);font-size:.86rem}.settings-route-shell[data-theme=white-gold] .hearth-core-header,.settings-route-shell[data-theme=white-gold] .hearth-metric-card,.settings-route-shell[data-theme=white-gold] .hearth-placeholder-card,.settings-route-shell[data-theme=white-gold] .hearth-tab-row button{border-color:color-mix(in srgb,#95733f 24%,transparent);background:color-mix(in srgb,#ffffff 72%,#ddc497 12%)}.settings-route-shell[data-theme=white-gold] .hearth-core-header h1,.settings-route-shell[data-theme=white-gold] .hearth-metric-card strong,.settings-route-shell[data-theme=white-gold] .hearth-metric-card span,.settings-route-shell[data-theme=white-gold] .hearth-placeholder-card strong{color:#463729}.settings-route-shell[data-theme=white-gold] .hearth-core-header p,.settings-route-shell[data-theme=white-gold] .hearth-metric-card small,.settings-route-shell[data-theme=white-gold] .hearth-placeholder-card p{color:#463729a8}@media(max-width:760px){.alan-core-page{width:min(100%,calc(100vw - 20px))}.hearth-core-header{align-items:start;padding:14px}.hearth-summary-grid,.hearth-summary-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.hearth-metric-card strong{font-size:1rem}}@media(max-width:460px){.hearth-summary-grid,.hearth-summary-grid.compact{grid-template-columns:1fr}}.cottage-chat-shell{--hearth-drawer-width: 286px;--hearth-drawer-surface: rgba(53, 35, 26, .78);--hearth-drawer-border: rgba(255, 226, 187, .14);--hearth-drawer-text: rgba(255, 248, 237, .92);--hearth-drawer-muted: rgba(255, 244, 226, .56);--hearth-drawer-active: rgba(255, 226, 187, .13)}.cottage-sidebar-title small{display:block;margin-top:3px;color:var(--hearth-drawer-muted);font-size:.68rem}.cottage-sidebar-title h1+small+h1{display:none}.cottage-drawer-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:10px 14px;padding:4px;border:1px solid var(--hearth-drawer-border);border-radius:8px;background:#0000001f}.cottage-drawer-tabs button{min-height:30px;border:0;border-radius:6px;color:var(--hearth-drawer-muted);background:transparent;font:inherit;font-size:.76rem}.cottage-drawer-tabs button.active{color:var(--hearth-drawer-text);background:var(--hearth-drawer-active)}.cottage-drawer-panel{min-height:0;overflow:hidden}.cottage-drawer-panel[hidden]{display:none}.cottage-room-panel{overflow:auto;padding:0 10px 12px}.cottage-conversation-panel{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);overflow:hidden}.cottage-room-nav-list,.cottage-room-nav-children{display:grid;gap:5px}.cottage-room-nav-children{margin:2px 0 3px 14px;padding-left:8px;border-left:1px solid rgba(255,226,187,.12)}.cottage-room-nav-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid transparent;border-radius:8px}.cottage-room-nav-row:hover,.cottage-room-nav-row.active{border-color:var(--hearth-drawer-border);background:var(--hearth-drawer-active)}.cottage-room-nav-main,.cottage-room-nav-expand{border:0;color:var(--hearth-drawer-text);background:transparent}.cottage-room-nav-main{display:flex;min-width:0;align-items:center;gap:9px;padding:9px 8px;text-align:left}.cottage-room-nav-main>span{display:grid;min-width:0;gap:2px}.cottage-room-nav-main strong,.cottage-room-nav-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cottage-room-nav-main strong{font-size:.78rem}.cottage-room-nav-main small{color:var(--hearth-drawer-muted);font-size:.66rem}.cottage-room-nav-expand{display:grid;width:30px;height:30px;place-items:center;color:var(--hearth-drawer-muted)}.cottage-room-nav-expand svg{transition:transform .16s ease}.cottage-room-nav-expand.open svg{transform:rotate(180deg)}.cottage-drawer-floating-toggle{position:fixed;top:70px;left:14px;z-index:44}.cottage-chat-shell.is-drawer-host{position:fixed;top:0;right:0;bottom:0;left:0;z-index:95;display:block;min-height:0;max-width:none;margin:0;padding:0;overflow:visible;pointer-events:none}.cottage-chat-shell.is-drawer-host .cottage-chat-sidebar,.cottage-chat-shell.is-drawer-host .cottage-chat-backdrop,.cottage-chat-shell.is-drawer-host .cottage-drawer-floating-toggle{pointer-events:auto}.cottage-chat-shell[data-theme=white-gold]{--hearth-drawer-text: #302a24;--hearth-drawer-muted: #786d60;--hearth-drawer-active: rgba(170, 132, 74, .12);--hearth-drawer-border: rgba(137, 102, 57, .2)}.cottage-chat-shell[data-theme=custom]{--hearth-drawer-text: #332c3b;--hearth-drawer-muted: #71677d;--hearth-drawer-active: rgba(125, 101, 151, .12);--hearth-drawer-border: rgba(100, 78, 125, .2)}.hearth-core-overview{display:grid;gap:10px;margin:0 0 12px;border:1px solid var(--kx-border, rgba(255, 226, 187, .16));border-radius:8px;background:var(--kx-panel-bg, rgba(255, 255, 255, .05));padding:13px}.hearth-core-overview p{margin:0;color:var(--kx-muted, rgba(255, 244, 226, .62));font-size:.8rem;line-height:1.6}.hearth-core-overview>div{display:flex;flex-wrap:wrap;gap:7px}.hearth-core-overview button{min-height:30px;border:1px solid var(--kx-border, rgba(255, 226, 187, .16));border-radius:6px;color:var(--kx-text-main, #fff8ee);background:var(--kx-button-bg, rgba(255, 255, 255, .06));padding:0 9px;font:inherit;font-size:.72rem}@media(max-width:859px){.cottage-chat-sidebar{top:54px;width:min(var(--hearth-drawer-width),100vw)}.cottage-drawer-floating-toggle{top:64px}}.cottage-route-switcher{display:none!important}.cottage-chat-shell{padding-top:0}.cottage-chat-sidebar{top:0;width:min(var(--hearth-drawer-width),100vw)}.cottage-drawer-floating-toggle{top:max(14px,env(safe-area-inset-top))}.settings-route-shell{padding-top:0}@media(max-width:859px){.cottage-chat-sidebar{top:0}.cottage-drawer-floating-toggle{top:max(14px,env(safe-area-inset-top))}}html[data-hearth-theme=milky-blue-archive]{--fubuki-user-text: #4d717e;--fubuki-user-text-muted: #4d717ebf;--fubuki-user-text-faint: #4d717e99;--fubuki-ink: var(--fubuki-user-text);--fubuki-ink-strong: var(--fubuki-user-text);--fubuki-muted: var(--fubuki-user-text-muted);--fubuki-faint: var(--fubuki-user-text-faint);--fubuki-link: #6b8f9a;--fubuki-blue-50: #f8fcff;--fubuki-blue-75: #f1f8fc;--fubuki-blue-100: #e7f2f7;--fubuki-blue-150: #dae9f0;--fubuki-blue-200: #cddfea;--fubuki-blue-300: #acc8d6;--fubuki-blue-500: #7898a8;--fubuki-paper: rgba(255, 255, 255, .88);--fubuki-paper-strong: rgba(255, 255, 255, .96);--fubuki-line: rgba(145, 181, 198, .42);--fubuki-line-soft: rgba(145, 181, 198, .22);--fubuki-shadow: 0 16px 42px rgba(87, 122, 139, .16);--fubuki-key-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 0 rgba(148, 182, 196, .22), 0 8px 18px rgba(105, 142, 159, .12);--fubuki-radius: 12px;--fubuki-radius-small: 8px;--fubuki-radius-pill: 999px;--fubuki-glass-blur: 2px;--fubuki-glass-saturation: 110%;--fubuki-glass-bg: rgba(235, 246, 250, .16);--fubuki-glass-bg-soft: rgba(235, 246, 250, .08);--fubuki-glass-bg-active: rgba(255, 255, 255, .38);--fubuki-glass-highlight: rgba(255, 255, 255, .28);--fubuki-glass-shadow: none;--fubuki-glass-text-glow: 0 0 5px rgba(184, 218, 230, .28);--fubuki-drawer-glass-bg: rgba(225, 241, 247, .12);--fubuki-drawer-glass-blur: 18px;--fubuki-drawer-glass-saturation: 115%;--fubuki-drawer-glass-highlight: rgba(255, 255, 255, .18);--fubuki-drawer-text-glow: 0 0 4px rgba(140, 194, 211, .22);--fubuki-drawer-overlay: rgba(222, 239, 246, .05);--fubuki-rich-body: #426572;--fubuki-rich-heading: #315b70;--fubuki-rich-emphasis: #527d92;--fubuki-rich-soft: #7d9ba8;--fubuki-rich-quote: #527a8e;--fubuki-rich-note: #8ba4ae;--fubuki-rich-rule: rgba(116, 159, 178, .32);--fubuki-font: "Iowan Old Style", "Songti SC", "Noto Serif CJK SC", Georgia, serif;--fubuki-ui-font: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;--kx-text-main: var(--fubuki-ink);--kx-muted: var(--fubuki-muted);--kx-primary: #7898a8;--kx-primary-rgb: 120, 152, 168;--kx-border: var(--fubuki-line);--kx-panel-bg: var(--fubuki-paper);--kx-button-bg: rgba(231, 242, 247, .76);--kx-shadow: rgba(87, 122, 139, .16)}html[data-hearth-theme=milky-blue-archive] .cottage-chat-shell[data-theme],.cinema-shell[data-theme],.settings-route-shell[data-theme]{--kx-bg-main: #f3faff !important;--kx-bg-card: #ffffff !important;--kx-primary: #7898a8 !important;--kx-primary-rgb: 120, 152, 168 !important;--kx-text-main: var(--fubuki-ink) !important;--kx-text-muted: var(--fubuki-muted) !important;--kx-muted: var(--fubuki-muted) !important;--kx-border: rgba(145, 181, 198, .42) !important;--kx-panel-bg: rgba(255, 255, 255, .88) !important;--kx-panel: rgba(255, 255, 255, .88) !important;--kx-button-bg: rgba(231, 242, 247, .82) !important;--kx-active-bg: rgba(205, 226, 236, .72) !important;--kx-shadow: rgba(87, 122, 139, .16) !important}body,button,input,textarea,select{font-family:var(--fubuki-ui-font)}.cottage-message-card,.markdown-text,.chat-bubble,.hearth-core-header p,.hearth-mcp-center{color:var(--fubuki-ink)}.cottage-message-card p,.markdown-text p,.chat-bubble p{line-height:1.78}.cottage-message-card em,.markdown-text em{color:#71919ee6}.markdown-text a,.cottage-message-card a{color:var(--fubuki-link);text-decoration-color:#6b8f9a7a}.markdown-text blockquote,.cottage-message-card blockquote{margin:.85rem 0;border-left:3px solid var(--fubuki-blue-300);color:#526871;background:#dbe9f04d;padding:.65rem .85rem}.markdown-text code,.cottage-message-card code{border:1px solid var(--fubuki-line);border-radius:6px;color:#536876;background:#ffffffe0;padding:.12em .35em}.markdown-text pre,.cottage-message-card pre{border:1px solid var(--fubuki-line);border-radius:var(--fubuki-radius-small);background:#ffffffc7;padding:.85rem}html[data-hearth-theme=milky-blue-archive] .cottage-markdown{color:var(--fubuki-rich-body)}html[data-hearth-theme=milky-blue-archive] .cottage-markdown>:first-child{margin-top:0}html[data-hearth-theme=milky-blue-archive] .cottage-markdown>:last-child{margin-bottom:0}html[data-hearth-theme=milky-blue-archive] .cottage-markdown p,html[data-hearth-theme=milky-blue-archive] .cottage-markdown li{color:var(--fubuki-rich-body);line-height:1.9}html[data-hearth-theme=milky-blue-archive] .cottage-markdown h1,html[data-hearth-theme=milky-blue-archive] .cottage-markdown h2,html[data-hearth-theme=milky-blue-archive] .cottage-markdown h3{margin:1.1rem 0 .48rem;color:var(--fubuki-rich-heading);font-family:var(--fubuki-font);font-weight:650;line-height:1.28;text-shadow:var(--fubuki-glass-text-glow)}html[data-hearth-theme=milky-blue-archive] .cottage-markdown h1{font-size:1.24rem}html[data-hearth-theme=milky-blue-archive] .cottage-markdown h2{font-size:1.1rem}html[data-hearth-theme=milky-blue-archive] .cottage-markdown h3{font-size:1rem}html[data-hearth-theme=milky-blue-archive] .cottage-markdown strong,html[data-hearth-theme=milky-blue-archive] .cottage-markdown .rich-inline-accent{color:var(--fubuki-rich-emphasis);font-weight:700}html[data-hearth-theme=milky-blue-archive] .cottage-markdown em,html[data-hearth-theme=milky-blue-archive] .cottage-markdown .rich-inline-soft{color:var(--fubuki-rich-soft)}html[data-hearth-theme=milky-blue-archive] .cottage-markdown .rich-inline-small,html[data-hearth-theme=milky-blue-archive] .cottage-markdown .rich-paragraph-small{color:var(--fubuki-rich-note);font-size:.82em}html[data-hearth-theme=milky-blue-archive] .cottage-markdown .rich-inline-note,html[data-hearth-theme=milky-blue-archive] .cottage-markdown .rich-paragraph-note{color:var(--fubuki-rich-note);font-size:.9em}html[data-hearth-theme=milky-blue-archive] .cottage-markdown blockquote{border:0;border-left:2px solid var(--fubuki-rich-rule);color:var(--fubuki-rich-quote);background:linear-gradient(90deg,rgba(255,255,255,.18),transparent 82%);padding:.22rem 0 .22rem .82rem}html[data-hearth-theme=milky-blue-archive] .cottage-markdown hr{height:1px;border:0;background:linear-gradient(90deg,transparent,var(--fubuki-rich-rule),transparent)}html,body,#root{min-height:100%;background:var(--fubuki-blue-75)}body{color:var(--fubuki-ink);background:var(--fubuki-app-wallpaper) center / cover fixed,radial-gradient(circle at 12% 8%,rgba(255,255,255,.98),transparent 31%),radial-gradient(circle at 88% 18%,rgba(205,225,235,.64),transparent 35%),linear-gradient(145deg,#f9fdff,#eaf5fa 52%,#dcebf2)}.cottage-chat-shell,.cinema-shell,.settings-route-shell{color:var(--fubuki-ink)}.cottage-chat-bg{background:linear-gradient(150deg,#f9fdffa3,#e6f3f994),var(--fubuki-chat-wallpaper) center / cover,radial-gradient(circle at 84% 82%,rgba(202,225,236,.72),transparent 34%),linear-gradient(155deg,#fafdff,#e8f3f8 48%,#d8e9f1)!important}.cottage-chat-bg:after{opacity:.35;background-image:linear-gradient(90deg,rgba(137,179,196,.11) 1px,transparent 1px),linear-gradient(rgba(137,179,196,.08) 1px,transparent 1px)}.cottage-install-banner{border:1px solid var(--fubuki-line);border-radius:var(--fubuki-radius);color:var(--fubuki-ink);background:var(--fubuki-paper-strong);box-shadow:var(--fubuki-shadow)}html[data-hearth-theme=milky-blue-archive],html[data-hearth-theme=milky-blue-archive] body,html[data-hearth-theme=milky-blue-archive] #root{width:100%;height:100%;min-height:0;margin:0;padding:0;background:#dcecf3!important}html[data-hearth-theme=milky-blue-archive] .hearth-app{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:0;max-width:none;margin:0;border:0;border-radius:0;padding:0;overflow:hidden;background:linear-gradient(150deg,#f9fdffa3,#e6f3f994),var(--fubuki-chat-wallpaper) center / cover,radial-gradient(circle at 84% 82%,rgba(202,225,236,.72),transparent 34%),linear-gradient(155deg,#fafdff,#e8f3f8 48%,#d8e9f1)}html[data-hearth-theme=milky-blue-archive] .hearth-app[data-page=settings]{background:linear-gradient(155deg,#f8fdff57,#e5f2f83d),var(--fubuki-settings-wallpaper) center / cover,linear-gradient(155deg,#fafdff,#e8f3f8 48%,#d8e9f1)}html[data-hearth-theme=milky-blue-archive] body{color:var(--fubuki-ink);overflow-x:hidden}html[data-hearth-theme=milky-blue-archive] .cottage-chat-shell:not(.is-drawer-host),html[data-hearth-theme=milky-blue-archive] .cottage-chat-main,html[data-hearth-theme=milky-blue-archive] .settings-route-shell,html[data-hearth-theme=milky-blue-archive] .cinema-shell{height:100%!important;min-height:0!important}html[data-hearth-theme=milky-blue-archive] .cottage-chat-shell:not(.is-drawer-host){padding:0!important;background:transparent!important}.cottage-chat-sidebar{isolation:isolate;border:1px solid var(--fubuki-line)!important;border-radius:0 22px 22px 0!important;color:var(--fubuki-ink);background:linear-gradient(158deg,#ffffffc7,#e4f4fa9e),var(--fubuki-drawer-wallpaper) center / cover!important;box-shadow:inset -1px 0 #ffffffc7,20px 0 48px #5c849633!important;-webkit-backdrop-filter:blur(28px) saturate(1.14);backdrop-filter:blur(28px) saturate(1.14)}.cottage-chat-sidebar:before{content:"";position:absolute;top:0;right:0;left:0;z-index:-1;height:180px;border-radius:inherit;background:linear-gradient(180deg,#ffffff14,#f6fcffb8),var(--fubuki-message-header) center / cover;opacity:.22;pointer-events:none}.cottage-chat-sidebar>*{position:relative;z-index:1}.cottage-chat-shell.is-drawer-host{background:transparent!important}.cottage-sidebar-title{border-bottom-color:var(--fubuki-line-soft);background:linear-gradient(90deg,rgba(219,233,240,.52),transparent 74%)}.cottage-sidebar-title p,.cottage-sidebar-title small,.cottage-room-nav-main small,.cottage-session-main span,.cottage-session-main small{color:var(--fubuki-muted)!important}.cottage-sidebar-title h1,.cottage-room-nav-main,.cottage-session-item,.cottage-sidebar-title button,.cottage-sidebar-toggle{color:var(--fubuki-ink-strong)!important}.cottage-sidebar-title button,.cottage-sidebar-toggle,.cottage-session-search button{border-color:var(--fubuki-line)!important;background:#ffffffb3!important}.cottage-drawer-tabs{border-color:var(--fubuki-line);background:#dbe9f07a}.cottage-drawer-tabs button{color:var(--fubuki-muted)}.cottage-drawer-tabs button.active{color:var(--fubuki-ink-strong);background:var(--fubuki-paper-strong);box-shadow:var(--fubuki-key-shadow)}.cottage-room-nav-row:hover,.cottage-room-nav-row.active,.cottage-session-item:hover,.cottage-session-item.active{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink-strong)!important;background:linear-gradient(110deg,#ffffffc2,#d7edf685)!important;box-shadow:inset 3px 0 0 var(--fubuki-blue-300),inset 0 1px #ffffffd9,0 7px 16px #6894a514}.cottage-room-nav-main{position:relative}.cottage-room-nav-main>svg{color:#5f8595!important;stroke-width:1.7}.cottage-room-nav-node:nth-child(1) .cottage-room-nav-main:after,.cottage-room-nav-node:nth-child(3)>.cottage-room-nav-row .cottage-room-nav-main:after{content:"";position:absolute;right:7px;width:20px;height:15px;background-repeat:no-repeat;background-position:center;background-size:contain;opacity:.78;pointer-events:none}.cottage-room-nav-node:nth-child(1) .cottage-room-nav-main:after{background-image:var(--fubuki-icon-chat)}.cottage-room-nav-node:nth-child(3)>.cottage-room-nav-row .cottage-room-nav-main:after{background-image:var(--fubuki-icon-hearth)}.cottage-room-nav-children{border-left-color:var(--fubuki-line)}.cottage-sidebar-actions button,.cottage-new-session-button,.cottage-import-session-button{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink-strong)!important;border-radius:12px!important;background:linear-gradient(135deg,#ffffffe0,#e7f5fb8c)!important;box-shadow:inset 0 1px #fffffff0,0 5px 12px #6992a21a}.cottage-session-search{border-color:var(--fubuki-line)!important;color:var(--fubuki-muted)!important;border-radius:12px!important;background:#ffffff9e!important;box-shadow:inset 0 1px 2px #628fa014}.cottage-session-search input{color:var(--fubuki-ink)!important}.cottage-state-card-compact{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink)!important;background:#ffffff94!important}html[data-hearth-theme=milky-blue-archive] .cottage-chat-sidebar{border:0!important;background:linear-gradient(158deg,var(--fubuki-glass-bg),rgba(218,239,247,.1)),var(--fubuki-drawer-wallpaper) center / cover!important;box-shadow:inset -1px 0 0 var(--fubuki-glass-highlight)!important;backdrop-filter:blur(var(--fubuki-glass-blur)) saturate(var(--fubuki-glass-saturation));-webkit-backdrop-filter:blur(var(--fubuki-glass-blur)) saturate(var(--fubuki-glass-saturation))}html[data-hearth-theme=milky-blue-archive] .cottage-sidebar-title{background:linear-gradient(90deg,var(--fubuki-glass-bg-soft),transparent 74%)}html[data-hearth-theme=milky-blue-archive] .cottage-sidebar-title h1,html[data-hearth-theme=milky-blue-archive] .cottage-room-nav-main strong,html[data-hearth-theme=milky-blue-archive] .cottage-session-main strong{text-shadow:var(--fubuki-glass-text-glow)}html[data-hearth-theme=milky-blue-archive] .cottage-sidebar-title button,html[data-hearth-theme=milky-blue-archive] .cottage-sidebar-toggle,html[data-hearth-theme=milky-blue-archive] .cottage-session-search button,html[data-hearth-theme=milky-blue-archive] .cottage-drawer-tabs,html[data-hearth-theme=milky-blue-archive] .cottage-sidebar-actions button,html[data-hearth-theme=milky-blue-archive] .cottage-new-session-button,html[data-hearth-theme=milky-blue-archive] .cottage-import-session-button,html[data-hearth-theme=milky-blue-archive] .cottage-session-search,html[data-hearth-theme=milky-blue-archive] .cottage-state-card-compact{border-color:transparent!important;background:var(--fubuki-glass-bg-soft)!important;box-shadow:inset 0 1px 0 var(--fubuki-glass-highlight)!important}html[data-hearth-theme=milky-blue-archive] .cottage-drawer-tabs button.active,html[data-hearth-theme=milky-blue-archive] .cottage-room-nav-row:hover,html[data-hearth-theme=milky-blue-archive] .cottage-room-nav-row.active,html[data-hearth-theme=milky-blue-archive] .cottage-session-item:hover,html[data-hearth-theme=milky-blue-archive] .cottage-session-item.active{border-color:transparent!important;background:var(--fubuki-glass-bg-active)!important;box-shadow:inset 0 1px 0 var(--fubuki-glass-highlight)!important}html[data-hearth-theme=milky-blue-archive] .cottage-chat-sidebar{background:var(--fubuki-drawer-glass-bg)!important;border:0!important;box-shadow:inset -1px 0 0 var(--fubuki-drawer-glass-highlight)!important;backdrop-filter:blur(var(--fubuki-drawer-glass-blur)) saturate(var(--fubuki-drawer-glass-saturation))!important;-webkit-backdrop-filter:blur(var(--fubuki-drawer-glass-blur)) saturate(var(--fubuki-drawer-glass-saturation))!important}html[data-hearth-theme=milky-blue-archive] .cottage-chat-backdrop{background:#d2e6ee08!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html[data-hearth-theme=milky-blue-archive] .cottage-chat-sidebar:before{content:none!important;display:none!important}html[data-hearth-theme=milky-blue-archive] .cottage-sidebar-title,html[data-hearth-theme=milky-blue-archive] .cottage-room-nav-row,html[data-hearth-theme=milky-blue-archive] .cottage-session-item,html[data-hearth-theme=milky-blue-archive] .cottage-state-card-compact,html[data-hearth-theme=milky-blue-archive] .cottage-sidebar-actions button,html[data-hearth-theme=milky-blue-archive] .cottage-new-session-button,html[data-hearth-theme=milky-blue-archive] .cottage-import-session-button{border-color:transparent!important;background:transparent!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .cottage-session-search,html[data-hearth-theme=milky-blue-archive] .cottage-drawer-tabs{border-color:transparent!important;background:var(--fubuki-drawer-overlay)!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .cottage-drawer-tabs button,html[data-hearth-theme=milky-blue-archive] .cottage-drawer-tabs button.active,html[data-hearth-theme=milky-blue-archive] .cottage-room-nav-row:hover,html[data-hearth-theme=milky-blue-archive] .cottage-room-nav-row.active,html[data-hearth-theme=milky-blue-archive] .cottage-session-item:hover,html[data-hearth-theme=milky-blue-archive] .cottage-session-item.active{border-color:transparent!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .cottage-drawer-tabs button,html[data-hearth-theme=milky-blue-archive] .cottage-room-nav-row:hover,html[data-hearth-theme=milky-blue-archive] .cottage-session-item:hover{background:transparent!important}html[data-hearth-theme=milky-blue-archive] .cottage-drawer-tabs button.active,html[data-hearth-theme=milky-blue-archive] .cottage-room-nav-row.active,html[data-hearth-theme=milky-blue-archive] .cottage-session-item.active{background:#ffffff29!important}html[data-hearth-theme=milky-blue-archive] .cottage-sidebar-title h1,html[data-hearth-theme=milky-blue-archive] .cottage-room-nav-main strong,html[data-hearth-theme=milky-blue-archive] .cottage-session-main strong{text-shadow:var(--fubuki-drawer-text-glow)}.cottage-chat-main{position:relative;isolation:isolate;height:100%!important;min-height:0;border-color:var(--fubuki-line)!important;border-radius:0!important;color:var(--fubuki-ink);background:linear-gradient(135deg,#ffffff2e,#ebf7fc14)!important;box-shadow:inset 0 1px #ffffffd1,inset 0 -1px #97bfd02e!important;-webkit-backdrop-filter:blur(15px) saturate(1.08);backdrop-filter:blur(15px) saturate(1.08)}.cottage-chat-main>*{position:relative;z-index:1}.cottage-chat-title,.cottage-message-card,.cottage-confirm-dialog,.cottage-search-panel,.cottage-attachment-menu{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink)!important;border-radius:16px!important;background:linear-gradient(135deg,#fffc,#eff9fd94)!important;box-shadow:inset 0 1px #ffffffdb,0 10px 25px #668e9e1a!important}.cottage-composer{border-color:#91b5c657!important;border-radius:20px 20px 0 0!important;color:var(--fubuki-ink)!important;background:linear-gradient(180deg,#fafdff9e,#eaf6fbb8)!important;box-shadow:inset 0 1px #ffffffd6,0 -10px 26px #668e9e14!important}.cottage-chat-title h1,.cottage-message-card strong,.cottage-empty-chat strong{color:var(--fubuki-ink-strong)!important}.cottage-chat-title p,.cottage-empty-chat span,.cottage-message-hud,.cottage-message-actions-bar{color:var(--fubuki-muted)!important}.cottage-message-row.companion .cottage-message-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#fffffffa,#f5fbfdeb)!important}.cottage-message-row.companion .cottage-message-card:before{content:"";position:absolute;inset:0 0 auto;height:38px;background:var(--fubuki-message-header) center / cover;opacity:.2;pointer-events:none}.cottage-message-row.companion .cottage-message-card>*{position:relative}.cottage-message-row.user .cottage-message-card{border-color:#7898a85c!important;background:linear-gradient(145deg,#dcecf3,#eff8fb)!important}.cottage-message-row.user .cottage-message-card,.cottage-message-row.user .cottage-message-card *{color:#426572!important}.cottage-composer textarea,.cottage-composer input{color:var(--fubuki-ink)!important}.cottage-composer textarea::placeholder,.cottage-composer input::placeholder{color:var(--fubuki-faint)!important;font-style:italic}.cottage-send-button{position:relative;border-color:transparent!important;color:transparent!important;background:transparent!important;box-shadow:none!important}.cottage-send-button:after{content:"";position:absolute;top:7px;right:7px;bottom:7px;left:7px;background:var(--fubuki-icon-send) center / contain no-repeat;opacity:.68;pointer-events:none;z-index:2}.cottage-send-button svg{visibility:hidden}.cottage-attach-trigger,.cottage-chat-actions button,.cottage-message-actions-bar button{color:var(--fubuki-ink)!important}html[data-hearth-theme=milky-blue-archive] .cottage-message-card,html[data-hearth-theme=milky-blue-archive] .cottage-message-row.user .cottage-message-card{border:0!important;border-radius:0!important;box-shadow:none!important;padding:8px 5px!important}html[data-hearth-theme=milky-blue-archive] .cottage-message-row.companion .cottage-message-card{overflow:visible;background:radial-gradient(ellipse at 36% 50%,rgba(255,255,255,.22),transparent 72%)!important}html[data-hearth-theme=milky-blue-archive] .cottage-message-row.user .cottage-message-card{background:radial-gradient(ellipse at 64% 50%,rgba(209,233,244,.36),transparent 70%)!important}html[data-hearth-theme=milky-blue-archive] .cottage-message-row.companion .cottage-message-card:before{display:none}html[data-hearth-theme=milky-blue-archive] .cottage-message-hud,html[data-hearth-theme=milky-blue-archive] .cottage-message-actions-bar{padding-inline:5px}html[data-hearth-theme=milky-blue-archive] .cottage-chat-title input{font-size:.9rem!important;letter-spacing:.02em}html[data-hearth-theme=milky-blue-archive] .cottage-chat-shell button,html[data-hearth-theme=milky-blue-archive] .cottage-chat-shell [role=button]{-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent}html[data-hearth-theme=milky-blue-archive] .cottage-composer{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .cottage-composer-row{border-radius:999px;background:var(--fubuki-glass-bg)!important;box-shadow:inset 0 1px 0 var(--fubuki-glass-highlight)!important;backdrop-filter:blur(var(--fubuki-glass-blur)) saturate(var(--fubuki-glass-saturation));-webkit-backdrop-filter:blur(var(--fubuki-glass-blur)) saturate(var(--fubuki-glass-saturation));padding:6px 7px}html[data-hearth-theme=milky-blue-archive] .cottage-input-wrap,html[data-hearth-theme=milky-blue-archive] .cottage-attach-trigger,html[data-hearth-theme=milky-blue-archive] .cottage-send-button{border-color:transparent!important;background:transparent!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .cottage-message-row,html[data-hearth-theme=milky-blue-archive] .cottage-message-stack,html[data-hearth-theme=milky-blue-archive] .cottage-message-card,html[data-hearth-theme=milky-blue-archive] .cottage-message-row.user .cottage-message-card,html[data-hearth-theme=milky-blue-archive] .cottage-message-row.companion .cottage-message-card,html[data-hearth-theme=milky-blue-archive] .cottage-message-card.is-editing,html[data-hearth-theme=milky-blue-archive] .cottage-markdown{background:transparent!important;background-color:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html[data-hearth-theme=milky-blue-archive] .cottage-message-card:before,html[data-hearth-theme=milky-blue-archive] .cottage-message-card:after{content:none!important;display:none!important}html[data-hearth-theme=milky-blue-archive] .cottage-message-card,html[data-hearth-theme=milky-blue-archive] .cottage-message-card *,html[data-hearth-theme=milky-blue-archive] .cottage-message-row{-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent}html[data-hearth-theme=milky-blue-archive] .cottage-message-card::selection,html[data-hearth-theme=milky-blue-archive] .cottage-message-card *::selection{color:inherit;background:#84b8cf33}html[data-hearth-theme=milky-blue-archive] .cottage-chat-main{border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;grid-template-rows:calc(38px + env(safe-area-inset-top,0px)) minmax(0,1fr) auto!important}html[data-hearth-theme=milky-blue-archive] .cottage-chat-hud{padding-top:env(safe-area-inset-top,0px)}html[data-hearth-theme=milky-blue-archive] .cottage-composer{padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}.cinema-shell{color:var(--fubuki-ink);background:linear-gradient(145deg,#f8fdff,#e6f2f7 54%,#d8e9f1)!important}.room-background-layer:after,.cinema-shell:before{background:var(--fubuki-cinema-overlay) center / cover}.cinema-header,.cinema-embedded-card,.workspace,.panel,.projector-shell,.control-dock,.lower-grid .panel,.companion-column .panel,.prompt-details{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink)!important;background:#ffffffd1!important;box-shadow:var(--fubuki-shadow)!important}.cinema-header h1,.panel-title strong,.cinema-embedded-card h2,.workspace h2{color:var(--fubuki-ink-strong)!important}.cinema-header p,.panel-title span,.muted,.source-note,.subtitle-hint{color:var(--fubuki-muted)!important}.room-side-entry button,.cinema-embedded-card button,.control-dock button,.panel button,.workspace button{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink)!important;background:#ffffffc2!important}.room-side-entry button:hover,.cinema-embedded-card button:hover,.control-dock button:hover,.panel button:hover,.workspace button:hover{background:var(--fubuki-blue-100)!important}.video-stage,.web-frame,.empty-player{border-color:var(--fubuki-line)!important;background:#dfeef585!important}.settings-route-shell{background:radial-gradient(circle at 85% 8%,rgba(255,255,255,.96),transparent 28%),linear-gradient(155deg,#f8fdff,#e5f2f7)!important}.settings-page-card,.alan-core-card,.hearth-core-header,.hearth-section,.hearth-core-overview,.hearth-metric-card,.hearth-embedded-module{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink)!important;background:var(--fubuki-paper)!important;box-shadow:var(--fubuki-shadow)!important}.hearth-core-header{background:linear-gradient(90deg,#dae9f09e,#ffffffb8),var(--fubuki-message-header) center / cover!important}.hearth-core-header h1,.settings-section-copy strong,.hearth-metric-card strong,.hearth-metric-card span,.hearth-core-overview button{color:var(--fubuki-ink-strong)!important}.hearth-core-header p,.settings-section-copy small,.settings-section-copy em,.hearth-metric-card small,.hearth-core-overview p{color:var(--fubuki-muted)!important}.settings-section-toggle,.hearth-tab-row button,.hearth-core-overview button{border-color:var(--fubuki-line)!important;background:#ffffffad!important}.hearth-tab-row button.active,.settings-section-toggle:hover{background:var(--fubuki-blue-100)!important}.memory-page-card,.persona-deck-panel,.persona-editor-panel{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink)!important;background:var(--fubuki-paper)!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell{background:linear-gradient(155deg,#f8fdff57,#e5f2f83d),var(--fubuki-settings-wallpaper) center / cover fixed!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell.persona-route-shell,html[data-hearth-theme=milky-blue-archive] .settings-route-shell.memory-route-shell,html[data-hearth-theme=milky-blue-archive] .settings-route-shell.vector-route-shell{background:transparent!important;background-image:none!important}html[data-hearth-theme=milky-blue-archive] .settings-page-card,html[data-hearth-theme=milky-blue-archive] .alan-core-card,html[data-hearth-theme=milky-blue-archive] .hearth-core-header,html[data-hearth-theme=milky-blue-archive] .hearth-section,html[data-hearth-theme=milky-blue-archive] .hearth-core-overview,html[data-hearth-theme=milky-blue-archive] .hearth-metric-card,html[data-hearth-theme=milky-blue-archive] .hearth-embedded-module,html[data-hearth-theme=milky-blue-archive] .memory-page-card,html[data-hearth-theme=milky-blue-archive] .persona-deck-panel,html[data-hearth-theme=milky-blue-archive] .persona-editor-panel,html[data-hearth-theme=milky-blue-archive] .settings-section,html[data-hearth-theme=milky-blue-archive] .visual-cortex-card,html[data-hearth-theme=milky-blue-archive] .memory-dashboard-card,html[data-hearth-theme=milky-blue-archive] .memory-entry-card,html[data-hearth-theme=milky-blue-archive] .persona-deck-card,html[data-hearth-theme=milky-blue-archive] .persona-switch-card,html[data-hearth-theme=milky-blue-archive] .persona-slider-card{border-color:transparent!important;background:transparent!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .settings-section-body{border:0!important;background:transparent!important;box-shadow:none!important;position:relative}html[data-hearth-theme=milky-blue-archive] .settings-section-body:before{content:"";position:absolute;top:0;right:14px;left:14px;height:1px;background:linear-gradient(90deg,transparent,rgba(116,159,178,.2),transparent)}html[data-hearth-theme=milky-blue-archive] .settings-section-toggle,html[data-hearth-theme=milky-blue-archive] .hearth-tab-row button,html[data-hearth-theme=milky-blue-archive] .hearth-core-overview button{border-color:transparent!important;background:transparent!important}html[data-hearth-theme=milky-blue-archive] .hearth-tab-row button.active,html[data-hearth-theme=milky-blue-archive] .settings-section-toggle:hover{background:var(--fubuki-glass-bg-active)!important}html[data-hearth-theme=milky-blue-archive] .persona-original-page,html[data-hearth-theme=milky-blue-archive] .persona-bond-stage,html[data-hearth-theme=milky-blue-archive] .persona-responsive-workbench,html[data-hearth-theme=milky-blue-archive] .persona-deck-list,html[data-hearth-theme=milky-blue-archive] .persona-editor-grid,html[data-hearth-theme=milky-blue-archive] .persona-cognitive-row,html[data-hearth-theme=milky-blue-archive] .persona-editor-footer,html[data-hearth-theme=milky-blue-archive] .persona-memory-status,html[data-hearth-theme=milky-blue-archive] .persona-status-actions,html[data-hearth-theme=milky-blue-archive] .cottage-page-heading,html[data-hearth-theme=milky-blue-archive] .cottage-panel-heading{border-color:transparent!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}html[data-hearth-theme=milky-blue-archive] .memory-page,html[data-hearth-theme=milky-blue-archive] .memory-overview-line,html[data-hearth-theme=milky-blue-archive] .memory-list,html[data-hearth-theme=milky-blue-archive] .memory-entry-summary,html[data-hearth-theme=milky-blue-archive] .memory-entry-expand,html[data-hearth-theme=milky-blue-archive] .memory-entry-expand-inner,html[data-hearth-theme=milky-blue-archive] .memory-alias-body,html[data-hearth-theme=milky-blue-archive] .memory-entry-bottom,html[data-hearth-theme=milky-blue-archive] .vector-page,html[data-hearth-theme=milky-blue-archive] .vector-page-card,html[data-hearth-theme=milky-blue-archive] .vector-hero,html[data-hearth-theme=milky-blue-archive] .vector-section,html[data-hearth-theme=milky-blue-archive] .vector-section-panel,html[data-hearth-theme=milky-blue-archive] .vector-panel-body,html[data-hearth-theme=milky-blue-archive] .vector-debug-block,html[data-hearth-theme=milky-blue-archive] .vector-link-card,html[data-hearth-theme=milky-blue-archive] .vector-embedding-hint,html[data-hearth-theme=milky-blue-archive] .vector-result-item{border-color:transparent!important;background:transparent!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .vector-cache-card,html[data-hearth-theme=milky-blue-archive] .vector-compact-control,html[data-hearth-theme=milky-blue-archive] .vector-cache-card.active,html[data-hearth-theme=milky-blue-archive] .vector-compact-control.active,html[data-hearth-theme=milky-blue-archive] .memory-tag-chip,html[data-hearth-theme=milky-blue-archive] .memory-mini-chip,html[data-hearth-theme=milky-blue-archive] .memory-tag-more,html[data-hearth-theme=milky-blue-archive] .memory-primary-tool,html[data-hearth-theme=milky-blue-archive] .primary-memory-button{border-color:#74a5b840!important;color:#365d6d!important;background:#b4d7e42e!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .persona-original-page:before,html[data-hearth-theme=milky-blue-archive] .persona-original-page:after,html[data-hearth-theme=milky-blue-archive] .persona-bond-stage:before,html[data-hearth-theme=milky-blue-archive] .persona-bond-stage:after,html[data-hearth-theme=milky-blue-archive] .persona-responsive-workbench:before,html[data-hearth-theme=milky-blue-archive] .persona-responsive-workbench:after{background:transparent!important;box-shadow:none!important;pointer-events:none!important}html[data-hearth-theme=milky-blue-archive] .settings-section-toggle:active,html[data-hearth-theme=milky-blue-archive] .settings-section-toggle:hover,html[data-hearth-theme=milky-blue-archive] .hearth-tab-row button:active,html[data-hearth-theme=milky-blue-archive] .hearth-tab-row button.active,html[data-hearth-theme=milky-blue-archive] .hearth-core-overview button:active,html[data-hearth-theme=milky-blue-archive] .persona-deck-card:active,html[data-hearth-theme=milky-blue-archive] .persona-deck-card.active{background:#ffffff1f!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell button,html[data-hearth-theme=milky-blue-archive] .settings-route-shell [role=button],html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center [role=button]{-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent}html[data-hearth-theme=milky-blue-archive] .settings-route-shell button:focus-visible,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center [role=button]:focus-visible{outline:1px solid rgba(90,141,164,.65);outline-offset:3px}.hearth-mcp-center{color:var(--fubuki-ink)!important}.hearth-mcp-hero,.hearth-mcp-panel,.hearth-mcp-card,.hearth-mcp-metric,.hearth-mcp-event,.hearth-mcp-sheet{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink)!important;background:var(--fubuki-paper)!important;box-shadow:var(--fubuki-shadow)!important}.hearth-mcp-hero{background:linear-gradient(100deg,#e9f4f9e6,#ffffffe0),var(--fubuki-message-header) center / cover!important}.hearth-mcp-hero h1,.hearth-mcp-panel h2,.hearth-mcp-card-title,.hearth-mcp-metric strong,.hearth-mcp-metric span,.hearth-mcp-endpoint,.hearth-mcp-event strong{color:var(--fubuki-ink-strong)!important}.hearth-mcp-eyebrow,.hearth-mcp-subtitle,.hearth-mcp-card-meta,.hearth-mcp-metric small,.hearth-mcp-event p{color:var(--fubuki-muted)!important;opacity:1!important}.hearth-mcp-button,.hearth-mcp-card-actions button,.hearth-mcp-switch{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink-strong)!important;background:#fffc!important;box-shadow:var(--fubuki-key-shadow)}.hearth-mcp-button-primary{border-color:#7898a8!important;color:#fff!important;background:linear-gradient(145deg,#9ab8c5,#6e91a1)!important}.hearth-mcp-center .hearth-mcp-cabinet,.hearth-mcp-center .hearth-mcp-cabinet-head,.hearth-mcp-center .hearth-mcp-section,.hearth-mcp-center .hearth-mcp-server-card,.hearth-mcp-center .hearth-mcp-ability-card,.hearth-mcp-center .hearth-mcp-empty,.hearth-mcp-center .hearth-mcp-empty-server,.hearth-mcp-center .hearth-mcp-form-card,.hearth-mcp-center .hearth-mcp-modal-tool,.hearth-mcp-center .hearth-mcp-tool-card,.hearth-mcp-center .hearth-mcp-tool-chip,.hearth-mcp-center .hearth-mcp-room-event{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink)!important;background:#ffffffd6!important}.hearth-mcp-center .hearth-mcp-cabinet-head strong,.hearth-mcp-center .hearth-mcp-section-head strong,.hearth-mcp-center .hearth-mcp-server-copy strong,.hearth-mcp-center .hearth-mcp-ability-card strong,.hearth-mcp-center .hearth-mcp-modal-tool strong,.hearth-mcp-center .hearth-mcp-tool-card strong,.hearth-mcp-center .hearth-mcp-room-event strong{color:var(--fubuki-ink-strong)!important}.hearth-mcp-center .hearth-mcp-cabinet-head span,.hearth-mcp-center .hearth-mcp-section-head span,.hearth-mcp-center .hearth-mcp-server-copy small,.hearth-mcp-center .hearth-mcp-server-copy span,.hearth-mcp-center .hearth-mcp-ability-card small,.hearth-mcp-center .hearth-mcp-tool-card span,.hearth-mcp-center .hearth-mcp-room-event span{color:var(--fubuki-muted)!important;opacity:1!important}.hearth-mcp-status-ready{color:#356d68!important;background:#8fbfb542!important}.hearth-mcp-status-failed{color:#9a5458!important;background:#eababb57!important}.hearth-mcp-status-stale,.hearth-mcp-status-idle,.hearth-mcp-status-connecting{color:#607d8b!important;background:#c4dce68f!important}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-portal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9000;pointer-events:none;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-portal:has(.hearth-mcp-sheet){pointer-events:auto}.hearth-mcp-portal .hearth-mcp-sheet-backdrop{background:#d2e6ee1a!important;backdrop-filter:blur(3px) saturate(1.04);-webkit-backdrop-filter:blur(3px) saturate(1.04)}.hearth-mcp-portal .hearth-mcp-sheet{border:1px solid rgba(255,255,255,.78)!important;border-radius:28px!important;color:var(--fubuki-ink)!important;background:linear-gradient(150deg,#ffffffed,#e7f4facc),var(--fubuki-message-header) center / cover!important;box-shadow:inset 0 1px #ffffffeb,0 24px 64px #3152614d!important;-webkit-backdrop-filter:blur(26px) saturate(1.12);backdrop-filter:blur(26px) saturate(1.12)}.hearth-mcp-portal .hearth-mcp-sheet-top,.hearth-mcp-portal .hearth-mcp-sheet-actions{background:#fafdff8c!important;border-color:#91b5c647!important}.hearth-mcp-portal .hearth-mcp-sheet-body{background:linear-gradient(180deg,#fafdff3d,#e9f5fa6b)!important}.hearth-mcp-portal .hearth-mcp-form-card,.hearth-mcp-portal .hearth-mcp-modal-tool,.hearth-mcp-portal .hearth-mcp-header-row{border-color:#91b5c652!important;background:#ffffff9e!important;box-shadow:inset 0 1px #ffffffc2!important}.hearth-mcp-portal input:not([type=checkbox]),.hearth-mcp-portal textarea,.hearth-mcp-portal select{border-color:#91b5c66b!important;border-radius:12px!important;color:var(--fubuki-ink-strong)!important;background:#ffffffd1!important;box-shadow:inset 0 1px 2px #638b9d14!important}.hearth-mcp-portal .hearth-mcp-sheet-actions .primary,.hearth-mcp-portal .hearth-mcp-save-top{border-color:#7898a8!important;color:#fff!important;background:linear-gradient(145deg,#a8c3ce,#7699a9)!important}.hearth-mcp-portal .hearth-mcp-sheet-actions .danger{border-color:#b7686f52!important;color:#96555b!important;background:#fff1f2c2!important}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-cabinet,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-section,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-server-card,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-ability-card,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-empty,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-empty-server,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-room-event,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-cabinet-head,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-section-head{border-color:transparent!important;background:transparent!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-server-card:hover,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-server-card:focus-within,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-modal-tool,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-tool-card{background:var(--fubuki-glass-bg-soft)!important;box-shadow:inset 0 1px 0 var(--fubuki-glass-highlight)!important}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-server-card{cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-server-card:before,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-server-card:after{pointer-events:none}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-server-card:active{background:#ffffff1f!important;transform:none}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-server-card:focus-visible{outline:1px solid rgba(90,141,164,.65);outline-offset:3px}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-switch,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-switch input{pointer-events:auto}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-portal .hearth-mcp-segmented button.active{border-color:#679ab06b!important;color:#2d5262!important;background:#99c7d947!important}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-portal .hearth-mcp-toggle span{background:#7197a633!important}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-portal .hearth-mcp-toggle input:checked+span{background:#82aebe!important}html[data-hearth-theme=milky-blue-archive] .hearth-mcp-center .hearth-mcp-switch input,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-portal input[type=checkbox]{accent-color:#729cad}.settings-route-shell input:not([type=checkbox]):not([type=range]),.settings-route-shell textarea,.settings-route-shell select,.hearth-mcp-center input:not([type=checkbox]),.hearth-mcp-center textarea,.hearth-mcp-center select{border-color:var(--fubuki-line)!important;border-radius:var(--fubuki-radius-small)!important;color:var(--fubuki-ink)!important;background:#ffffffd1!important;box-shadow:inset 0 1px 2px #638b9d14}.settings-route-shell input:focus,.settings-route-shell textarea:focus,.settings-route-shell select:focus,.hearth-mcp-center input:focus,.hearth-mcp-center textarea:focus,.hearth-mcp-center select:focus{border-color:var(--fubuki-blue-500)!important;box-shadow:0 0 0 3px #acc8d647!important}.settings-route-shell input[type=checkbox],.hearth-mcp-center input[type=checkbox],.settings-route-shell input[type=range],.hearth-mcp-center input[type=range]{accent-color:#8ca9b7}.settings-route-shell input[type=range]::-webkit-slider-runnable-track,.hearth-mcp-center input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:var(--fubuki-radius-pill);background:var(--fubuki-blue-150)}.settings-route-shell input[type=range]::-webkit-slider-thumb,.hearth-mcp-center input[type=range]::-webkit-slider-thumb{width:16px;height:16px;margin-top:-5px;border:2px solid #fff;border-radius:50%;background:#89a8b7;box-shadow:0 2px 5px #5b7e8d4d}html[data-hearth-theme=milky-blue-archive] .settings-route-shell input:not([type=checkbox]):not([type=range]),html[data-hearth-theme=milky-blue-archive] .settings-route-shell textarea,html[data-hearth-theme=milky-blue-archive] .settings-route-shell select,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-portal input:not([type=checkbox]),html[data-hearth-theme=milky-blue-archive] .hearth-mcp-portal textarea,html[data-hearth-theme=milky-blue-archive] .hearth-mcp-portal select{border-color:transparent!important;background:var(--fubuki-glass-bg-soft)!important;box-shadow:inset 0 1px 0 var(--fubuki-glass-highlight)!important;-webkit-backdrop-filter:blur(var(--fubuki-glass-blur));backdrop-filter:blur(var(--fubuki-glass-blur))}.cottage-chat-shell button,.settings-route-shell button,.cinema-shell button,.hearth-mcp-center button{transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}.cottage-chat-shell button:hover:not(:disabled),.settings-route-shell button:hover:not(:disabled),.cinema-shell button:hover:not(:disabled),.hearth-mcp-center button:hover:not(:disabled){transform:translateY(-1px)}.cottage-chat-shell button:active:not(:disabled),.settings-route-shell button:active:not(:disabled),.cinema-shell button:active:not(:disabled),.hearth-mcp-center button:active:not(:disabled){transform:translateY(1px)}.cottage-confirm-layer,.cottage-new-window-panel-layer,.hearth-mcp-portal{background:#425f6c38!important;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.cottage-confirm-dialog,.cottage-new-window-dialog{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink)!important;background:var(--fubuki-paper-strong)!important;box-shadow:0 24px 66px #4468783d!important}.settings-route-shell .ghost-panel,.settings-route-shell .settings-grid,.settings-route-shell .settings-section,.settings-route-shell .theme-orb-row button,.settings-route-shell .provider-tabs button,.settings-route-shell .option-button-row button,.settings-route-shell .hud-toggle-row button,.settings-route-shell .model-preset-row button,.cinema-shell .glass-action,.cinema-shell .source-panel,.cinema-shell .subtitle-panel,.cinema-shell .now-card,.cinema-shell .prompt-preview,.cinema-shell .playlist-item,.cinema-shell .record-item{border-color:var(--fubuki-line)!important;color:var(--fubuki-ink)!important;background:#fffc!important}.settings-route-shell .provider-tabs button.active,.settings-route-shell .option-button-row button.active,.settings-route-shell .hud-toggle-row button.active,.settings-route-shell .model-preset-row button.active,.cinema-shell .glass-action.primary,.cinema-shell .playlist-item.active,.cinema-shell .record-item.active{color:#365866!important;background:var(--fubuki-blue-100)!important}*{scrollbar-color:#bfd7e2 rgba(255,255,255,.62)}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:#ffffff8c}*::-webkit-scrollbar-thumb{border:2px solid rgba(255,255,255,.72);border-radius:999px;background:#bfd7e2}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .ghost-panel,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .settings-grid,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .settings-section,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .visual-cortex-card,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .persona-gates-card,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .persona-memory-gate,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .memory-compose-card,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .memory-smart-popover{border-color:transparent!important;background:transparent!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .provider-tabs button,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .option-button-row button,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .hud-toggle-row button,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .model-preset-row button{border-color:transparent!important;background:var(--fubuki-glass-bg-soft)!important;box-shadow:inset 0 1px 0 var(--fubuki-glass-highlight)!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .provider-tabs button.active,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .option-button-row button.active,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .hud-toggle-row button.active,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .model-preset-row button.active{background:var(--fubuki-glass-bg-active)!important}html[data-hearth-theme=milky-blue-archive] .memory-route-shell .settings-section.memory-compose-card,html[data-hearth-theme=milky-blue-archive] .memory-route-shell .settings-section-body.memory-compose,html[data-hearth-theme=milky-blue-archive] .memory-route-shell .memory-page-card>.settings-section>.settings-section-body,html[data-hearth-theme=milky-blue-archive] .memory-route-shell .memory-page-card>.settings-section>.settings-section-toggle{border-color:transparent!important;background:transparent!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .font-color-preset-row{display:flex;flex-wrap:wrap;gap:10px}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .font-color-preset-row>button,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .font-color-custom{position:relative;display:inline-grid;justify-items:center;gap:5px;border:0;color:var(--fubuki-ink);background:transparent;padding:0;font-size:.72rem;cursor:pointer}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .font-color-swatch{display:block;width:34px;height:34px;border:1px solid rgba(255,255,255,.52);border-radius:50%;box-shadow:inset 0 1px #ffffff70}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .font-color-preset-row .active .font-color-swatch,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .font-color-custom.active .font-color-swatch{outline:2px solid rgba(96,145,164,.55);outline-offset:3px}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .font-color-preset-row svg{position:absolute;right:-2px;top:23px;border-radius:50%;color:#fff;background:var(--fubuki-ink);padding:1px}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .font-color-custom input{position:absolute;top:0;right:0;bottom:0;left:0;width:34px;height:34px;opacity:0;cursor:pointer}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .font-color-save-preset{align-self:start;min-height:30px;border-radius:var(--fubuki-radius-pill)!important;color:var(--fubuki-ink)!important;background:var(--fubuki-glass-bg-soft)!important;box-shadow:inset 0 1px var(--fubuki-glass-highlight)!important;padding:0 10px!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .wallpaper-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .wallpaper-picker{display:grid;gap:9px;min-width:0;padding:10px 0;border-top:1px solid rgba(116,159,178,.2)}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .wallpaper-picker-copy{display:grid;gap:3px}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .wallpaper-picker-copy>span{display:inline-flex;align-items:center;gap:6px;color:var(--fubuki-ink-strong);font-size:.86rem;font-weight:700}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .wallpaper-picker small{color:var(--fubuki-muted)}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .wallpaper-picker-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .background-upload-card,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .wallpaper-reset-button{border-color:transparent!important;color:var(--fubuki-ink)!important;background:var(--fubuki-glass-bg-soft)!important;box-shadow:inset 0 1px var(--fubuki-glass-highlight)!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .wallpaper-reset-button{min-height:32px;border-radius:var(--fubuki-radius-pill);padding:0 12px;font:inherit;font-size:.75rem}@media(max-width:560px){html[data-hearth-theme=milky-blue-archive] .settings-route-shell .wallpaper-picker-grid{grid-template-columns:1fr}}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .model-picker-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .model-picker-open-button{display:inline-flex;min-height:34px;align-items:center;gap:6px;border:0;border-radius:var(--fubuki-radius-pill);color:var(--fubuki-ink);background:var(--fubuki-glass-bg-soft);box-shadow:inset 0 1px var(--fubuki-glass-highlight);padding:0 11px;font:inherit;font-size:.75rem;white-space:nowrap}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-portal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9200;display:grid;place-items:center;padding:18px}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#d3e6ee2e;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-dialog{position:relative;z-index:1;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);width:min(88vw,480px);height:min(82dvh,480px);min-height:320px;overflow:hidden;border:1px solid rgba(255,255,255,.76);border-radius:26px;color:var(--fubuki-ink);background:linear-gradient(145deg,#fafeffe6,#dff0f8c7),var(--fubuki-message-header) center / cover;box-shadow:0 24px 68px #3d687a3d,inset 0 1px #ffffffe0}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(118,159,178,.2);padding:16px 17px 13px}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-head div{display:grid;gap:2px}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-head span{color:var(--fubuki-muted);font-size:.64rem;letter-spacing:.12em}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-head strong{color:var(--fubuki-ink-strong);font-size:1rem}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-head>button,html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-search>button{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:50%;color:var(--fubuki-ink);background:#ffffff6b}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin:13px 16px 7px;border-radius:var(--fubuki-radius-pill);color:var(--fubuki-muted);background:#ffffff8a;padding:4px 5px 4px 12px}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-search input{min-width:0;border:0!important;outline:0;color:var(--fubuki-ink)!important;background:transparent!important;box-shadow:none!important;padding:5px 0}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-status{min-height:25px;color:var(--fubuki-muted);padding:3px 18px 8px;font-size:.75rem}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-list{display:grid;align-content:start;gap:5px;overflow:auto;padding:0 12px 14px}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-list>p{color:var(--fubuki-muted);text-align:center}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-list>button{display:grid;gap:2px;width:100%;border:0;border-radius:12px;color:var(--fubuki-ink);background:#ffffff57;padding:10px 12px;text-align:left}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-list>button:hover{background:#fff9}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-list strong{color:var(--fubuki-ink-strong);font-size:.86rem}html[data-hearth-theme=milky-blue-archive] .hearth-model-picker-list small{overflow:hidden;color:var(--fubuki-muted);font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .stream-row-card,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .hud-toggle-card,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .chronos-settings-card,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .cognitive-load-grid,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .cognitive-load-grid>label,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .memory-context-settings,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .memory-context-range,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .memory-retrieval-mode-card,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .backup-management-card,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .backup-action-list{border-color:transparent!important;background:transparent!important;box-shadow:none!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .stream-row-card,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .hud-toggle-card{border-top-color:#749fb22e!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .chronos-mode-row button,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .memory-retrieval-mode-row button,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .backup-action,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .backup-feedback{border-color:transparent!important;background:var(--fubuki-glass-bg-soft)!important;box-shadow:inset 0 1px var(--fubuki-glass-highlight)!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .chronos-mode-row button.active,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .memory-retrieval-mode-row button.active,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .backup-action.primary{color:var(--fubuki-ink-strong)!important;background:#99c7d933!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .backup-action-icon{background:#ebf6fa38!important}html[data-hearth-theme=milky-blue-archive] .settings-route-shell .chronos-settings-card:before,html[data-hearth-theme=milky-blue-archive] .settings-route-shell .backup-management-card:before{content:none!important}.cottage-chat-shell:before,.settings-route-shell:before,.cinema-shell:before{content:"";position:fixed;top:0;right:0;width:min(28vw,220px);height:min(24vw,180px);pointer-events:none;background:linear-gradient(128deg,transparent 45%,rgba(149,185,201,.32) 46% 47%,transparent 48%) 28px 18px / 78px 78px,radial-gradient(circle at 76% 26%,rgba(255,255,255,.92) 0 3px,transparent 4px),radial-gradient(circle at 56% 52%,rgba(255,255,255,.78) 0 2px,transparent 3px);opacity:.82;z-index:1}.cottage-chat-main,.settings-page,.cinema-header,.workspace{position:relative;z-index:2}@media(max-width:760px){.cottage-chat-shell:before,.settings-route-shell:before,.cinema-shell:before{width:128px;height:104px;opacity:.54}}html[data-hearth-theme=milky-blue-archive] .sea-mist-room{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;padding:calc(30px + env(safe-area-inset-top,0px)) 22px calc(42px + env(safe-area-inset-bottom,0px));color:#eff7ff;background:linear-gradient(180deg,#081c51b3,#19408e99 45%,#0c2568d1),var(--fubuki-chat-wallpaper) center / cover fixed;-webkit-overflow-scrolling:touch}.sea-mist-header,.sea-mist-header-actions,.sea-mist-categories,.sea-mist-photo,.sea-mist-detail-actions{display:flex}.sea-mist-header{align-items:flex-start;justify-content:space-between;gap:18px;max-width:660px;margin:0 auto 28px}.sea-mist-header p{margin:0 0 8px;font-size:10px;letter-spacing:.22em;color:#e8f4ffad}.sea-mist-header h1{margin:0;font-family:var(--fubuki-serif, Georgia, serif);font-size:31px;font-weight:400;letter-spacing:.08em;text-shadow:0 2px 17px rgba(6,17,60,.35)}.sea-mist-header span{display:block;margin-top:9px;color:#eff7ffd1;font-size:14px;letter-spacing:.04em}.sea-mist-header-actions{gap:11px;align-items:center}.sea-mist-icon-action{position:relative;display:grid;place-items:center;width:34px;height:34px;padding:0;color:inherit;border:0;background:transparent;cursor:pointer;opacity:.94}.sea-mist-icon-action input{position:absolute;right:0;top:0;width:100%;height:100%;opacity:0;cursor:text;color:inherit;font-size:12px}.sea-mist-icon-action:focus-within{width:116px;justify-items:end}.sea-mist-icon-action:focus-within input{opacity:1;padding:4px 6px 4px 30px;border:0;border-bottom:1px solid rgba(91,140,159,.38);outline:none;background:transparent}.sea-mist-file-input{display:none}.sea-mist-categories{max-width:660px;gap:23px;overflow-x:auto;margin:0 auto 25px;padding-bottom:5px}.sea-mist-categories button{flex:0 0 auto;padding:5px 0;color:#e8f3ffa8;border:0;border-bottom:1px solid transparent;background:transparent;font-family:var(--fubuki-serif, Georgia, serif);font-size:16px;cursor:pointer}.sea-mist-categories button.active{color:#fff;border-bottom-color:#ffffffd9}.sea-mist-notice,.sea-mist-empty{max-width:660px;margin:14px auto 25px;color:#ecf6ffcc;font-size:13px;line-height:1.7}.sea-mist-empty{padding-top:12vh;text-align:center}.sea-mist-float-field{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:30px 13px;max-width:660px;margin:0 auto;padding-bottom:54px}.sea-mist-photo{position:relative;display:block;width:100%;padding:0;overflow:visible;color:inherit;border:0;background:transparent;box-shadow:none;transform:rotate(var(--photo-tilt));cursor:pointer;animation:sea-mist-float var(--float-duration, 12s) ease-in-out infinite alternate}.sea-mist-photo:nth-child(3n+2){margin-top:29px}.sea-mist-photo:nth-child(3n){margin-top:10px}.sea-mist-photo img{display:block;width:100%;min-height:92px;max-height:180px;object-fit:cover;box-shadow:0 14px 26px #05104140}.sea-mist-photo.role-tall_window{grid-row:span 2}.sea-mist-photo.role-wide_tide{grid-column:span 2}.sea-mist-photo.role-wide_tide img{max-height:270px}.sea-mist-photo-copy{display:block;padding:8px 1px 0;text-align:left;text-shadow:0 1px 8px rgba(5,17,73,.55)}.sea-mist-photo-copy time,.sea-mist-photo-copy small{display:block;color:#e6f2ffb3;font-size:10px}.sea-mist-photo-copy strong{display:block;margin:3px 0 4px;font-family:var(--fubuki-serif, Georgia, serif);font-size:14px;font-weight:400;color:#fff}.sea-mist-photo-copy small{line-height:1.55;white-space:normal}.sea-mist-photo-annotation{min-height:31px}.sea-mist-photo>svg{position:absolute;right:5px;bottom:50px;color:#f7fdffeb;filter:drop-shadow(0 1px 4px rgba(5,17,73,.65))}.sea-mist-detail-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;align-items:end;padding:22px 16px calc(20px + env(safe-area-inset-bottom,0px));background:#1b364438;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);animation:sea-mist-enter .26s ease-out}.sea-mist-detail-dismiss{position:absolute;top:calc(18px + env(safe-area-inset-top,0px));right:16px;border:0;background:transparent;color:#fff}.sea-mist-detail{max-width:560px;width:100%;margin:auto;overflow:hidden;background:#eef8fb85;-webkit-backdrop-filter:blur(12px) saturate(110%);backdrop-filter:blur(12px) saturate(110%)}.sea-mist-detail img{display:block;width:100%;max-height:56vh;object-fit:contain}.sea-mist-detail>div:not(.sea-mist-detail-actions){padding:14px 2px 8px}.sea-mist-detail p{margin:0;font-size:11px;color:var(--fubuki-text-muted, #6d8d9c)}.sea-mist-detail h2{margin:4px 0 7px;font-size:19px;font-weight:500}.sea-mist-detail span{font-size:13px;line-height:1.6;color:var(--fubuki-text-secondary, #55798a)}.sea-mist-detail-actions{gap:6px;padding-top:17px}.sea-mist-detail-actions button{padding:8px 0;flex:1;color:var(--fubuki-text-secondary, #55798a);border:0;border-top:1px solid rgba(99,145,163,.18);background:transparent;font-size:12px}.sea-mist-crop-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#071948b8;color:#f2f8ff;animation:sea-mist-enter .24s ease-out}.sea-mist-crop-layer header{display:flex;align-items:center;justify-content:space-between;padding:calc(16px + env(safe-area-inset-top,0px)) 18px 14px}.sea-mist-crop-layer header strong{font-family:var(--fubuki-serif, Georgia, serif);font-size:18px;font-weight:400}.sea-mist-crop-layer header button{min-width:52px;border:0;background:transparent;color:inherit;font:inherit}.sea-mist-crop-layer header button:disabled{opacity:.55}.sea-mist-crop-stage{position:relative;overflow:hidden;touch-action:none}.sea-mist-crop-controls{padding:14px 22px calc(18px + env(safe-area-inset-bottom,0px));background:#0c245c85}.sea-mist-crop-aspects{display:flex;gap:8px;justify-content:center}.sea-mist-crop-aspects button{padding:7px 9px;border:0;border-bottom:1px solid transparent;background:transparent;color:#eef7ffc2;font:inherit;font-size:13px}.sea-mist-crop-aspects button.active{color:#fff;border-bottom-color:#fff}.sea-mist-crop-controls label{display:grid;gap:7px;max-width:360px;margin:13px auto 0;color:#eef7ffc7;font-size:12px}.sea-mist-crop-controls input{accent-color:#c8e6f4}.cottage-message-image-wrap{display:inline-flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:100%}.cottage-gallery-receipt{padding:1px 0;color:var(--fubuki-text-secondary, #5b7c8d);border:0;background:transparent;font-size:11px;line-height:1.5;text-align:left;cursor:pointer}.cottage-gallery-receipt.collected:after{content:"";display:inline-block;width:4px;height:4px;margin:0 0 2px 5px;border-radius:50%;background:#78a8b9}.cottage-gallery-receipt.left_ephemeral,.cottage-gallery-receipt.failed{cursor:default;opacity:.78}@keyframes sea-mist-float{0%{transform:translate3d(0,-2px,0) rotate(var(--photo-tilt))}to{transform:translate3d(0,3px,0) rotate(calc(var(--photo-tilt) + .5deg))}}@keyframes sea-mist-enter{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@media(min-width:700px){.sea-mist-float-field{grid-template-columns:repeat(4,minmax(0,1fr))}.sea-mist-photo img{max-height:220px}}@media(prefers-reduced-motion:reduce){.sea-mist-photo,.sea-mist-detail-layer{animation:none}}
