/* Approved C visual system, 2026-10-28. Real HTML controls stay separate from imagery. */
:root{--paper:#f0f3ff;--white:rgba(255,255,255,.68);--ink:#24264f;--muted:#5f6486;--line:rgba(113,106,163,.19);--sage:#4d7c70;--deep:#5633cc;--peach:#b27735;--gold:#6552bc;--radius:24px;--sidebar:rgba(255,255,255,.22);--surface-raised:rgba(242,241,255,.68);--warm-surface:#f4efed;--danger-surface:#fff0f1;--danger:#aa3650;--accent:#6241dc;--accent-hover:#e5ddff;--body-size:16px;--section-size:22px;--title-size:36px;color-scheme:light}
html{min-height:100%;background:#e7f2ff}body{background:linear-gradient(128deg,#e7f2ff 0%,#e0ebff 38%,#f0ecff 72%,#deecff 100%);background-attachment:fixed;color:var(--ink);padding:28px;font-size:var(--body-size);min-height:100vh}
body:before{content:'';position:fixed;pointer-events:none;z-index:-1;inset:0;background:radial-gradient(ellipse at 1% 86%,#bba6f78c,transparent 42%),radial-gradient(ellipse at 34% 100%,#9acbffb0,transparent 46%)}
.app-shell{isolation:isolate;position:relative;max-width:1600px;margin:0 auto;min-height:calc(100vh - 56px);border:1px solid #fffffff0;border-radius:30px;background:linear-gradient(130deg,#ffffffae,#f5f5ff85 58%,#eef8ff8c);box-shadow:0 16px 65px #6662ae0c;overflow:clip}
.app-shell:before{content:'';position:absolute;z-index:-1;pointer-events:none;width:700px;height:700px;left:-460px;bottom:-400px;border:1px solid #ffffffbd;border-radius:50%;background:linear-gradient(125deg,#ffffff05 25%,#c1c6ff35 55%,#a5d2ff85);box-shadow:90px -100px 0 2px #ffffff15}
.app-shell:after{content:'';position:absolute;z-index:-1;pointer-events:none;right:-390px;top:80px;width:660px;height:660px;border:1px solid #ffffff7a;border-radius:50%;transform:rotate(-20deg)}
.app-shell :where(p,small,label,input,select,textarea,button,a,li,dt,dd,th,td,summary,.subtext,.pill,.eyebrow,.message-meta,.date,.overline,.top-title,.workspace-reference,.member-note,.notification-card-top,.notification-type,.notification-subject,.notification-read-state,.company-card-sex,.company-card-agent,.assignment-scroll,.change-marker,.available-marker,.art-note){font-size:var(--body-size)!important}
.app-shell :where(h1,.studio-page-head h1,.welcome h1){font-size:var(--title-size)!important;font-weight:750;letter-spacing:.025em;line-height:1.4;color:var(--ink)}
.app-shell :where(h2,h3,.hero h2,.studio-section-head h2,.profile-dialog-intro h2){font-size:var(--section-size)!important;line-height:1.5;letter-spacing:.025em;color:var(--ink)}
.app-shell :where(.studio-stats strong,.notification-overview strong){font-size:var(--title-size)!important;color:var(--deep)}
p{line-height:1.85}small,.subtext,.date,.message-meta,.overline,.eyebrow{color:var(--muted)}
.sidebar{width:228px;padding:30px 16px 24px;border-right:1px solid #ffffff9e;background:transparent;top:28px;height:calc(100vh - 56px);scrollbar-width:thin;scrollbar-color:#c6b9ef transparent}
.brand,.sidebar .brand{display:block;padding:0 6px;margin:0 0 28px;line-height:1}.brand img{display:block;width:100%;max-width:220px;height:auto}.brand small,.brand-icon{display:none!important}
#workspace-nav{margin-top:4px;gap:12px}.sidebar .nav{padding:13px 15px;min-height:48px;border-radius:18px;font-weight:500;color:#555b80;gap:14px;box-shadow:none;white-space:normal}
.sidebar .nav.active,.admin-nav.active{background:linear-gradient(100deg,#d2f6faad,#e7dcffcb);color:#3262d7;box-shadow:inset 0 1px #ffffff9c;font-weight:700;border:0}
.sidebar .nav:hover{background:#ffffff6b}.sidebar .nav.active:hover{background:linear-gradient(100deg,#cef4fa,#e5dcff)}
.sidebar .nav span.nav-icon,.nav-icon svg{width:24px;height:24px}.nav-group{gap:4px}.nav-group h2{font-size:var(--body-size)!important;padding:14px 15px 8px;color:#747195;font-weight:500;letter-spacing:.04em}
.backend-group{border-top-color:var(--line);padding-top:16px;margin-top:16px}.sidebar-foot{padding:26px 16px 0}.sidebar-foot p{margin-bottom:0}.sidebar-foot small,.foot-paw{display:none}
.topbar{min-height:100px;padding:20px 28px;border-bottom:0;gap:20px;justify-content:flex-end;top:0;background:linear-gradient(100deg,#f7faffbb,#f5f2ffb8);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);z-index:5}
#cat-context{gap:0;min-width:0}.global-cat-label{display:none}#global-cat-select{min-width:150px;max-width:210px;border:1px solid #ffffffbc;border-radius:30px;padding:13px 40px 13px 22px;background:#ffffff7d;box-shadow:inset 0 1px #fff;color:var(--ink)}
#account-controls{gap:18px;min-width:0}.verified-account{border-left:1px solid var(--line);padding-left:22px;padding-right:0;text-align:left;color:var(--ink)}.verified-account strong{font-size:var(--body-size);max-width:180px}.verified-account span{color:var(--muted);font-size:var(--body-size)}
.notification-bell{background:transparent;border-color:transparent;border-radius:50%;color:#62628e;width:48px;height:48px}.notification-bell svg{width:28px;height:28px}.notification-bell:hover{background:#fff9;border-color:#fff}.notification-badge{background:#7651e8;color:#fff;border-color:#f5f0ff;font-size:14px}.notification-warning{color:#9a5922}
main{padding:8px 28px 38px;max-width:none}.page-head,.studio-page-head{margin:10px 0 24px}.page-head h1,.studio-page-head h1{margin:0 0 10px}.page-head>.pill{display:none}footer{color:var(--muted);padding:18px 28px 30px;font-size:var(--body-size)}
.card,.studio-stats article,.company-cat-card,.notification-card,.selection-empty,.room-map,.world-toolbar,.world-status,.source-detail,.profile-grid article{border:1px solid #ffffffda;background:var(--white);border-radius:var(--radius);box-shadow:inset 0 1px #fff,0 8px 28px #7971ae08;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.card{padding:24px}.card h2{font-weight:600}.card-title{gap:14px}.studio-stats article:first-child,.studio-areas>button,.studio-room-grid .card{background:#ffffff85}.studio-activity,.permission-diff>div,.source-detail,.world-toolbar{background:#eae9ff80;border-color:var(--line)}
.button{border-radius:999px;min-height:46px;padding:11px 23px;gap:12px;box-shadow:none;white-space:normal;line-height:1.5;font-weight:600;transition:background .15s,transform .15s}
.button.primary{position:relative;overflow:hidden;color:#fff;background:radial-gradient(ellipse at 3% -60%,#3ae2dd 0%,#1abfd4 30%,transparent 31%),radial-gradient(ellipse at 100% 155%,#4e1cdd 0%,#6134e0 40%,transparent 41%),linear-gradient(115deg,#1baed6 0%,#2865ec 35%,#4937e7 66%,#792bdc 100%);border:1px solid #ffffffcc;box-shadow:inset 0 2px #ffffff62,inset 0 -3px #b4bcff4f,0 0 0 4px #c7baf03b}
.button.primary:hover{transform:translateY(-1px);filter:saturate(1.08)}.button.secondary,.button.ghost{color:#6041c9;background:linear-gradient(155deg,#ffffffad,#e3dafa85);border:1px solid #c7b5ef;box-shadow:inset 0 1px #ffffffc9}.button.ghost{background:transparent;border-color:transparent;box-shadow:none}.button.secondary:hover,.button.ghost:hover{background:#e9dffd}.button:disabled{opacity:.46;transform:none;filter:none}
.button.danger,.text-action.danger{color:var(--danger);background:var(--danger-surface);border-color:#e6b6c2}.text-action{color:var(--deep);min-height:44px}.pill{background:#eee7ff;color:#65508a;border-color:#dcd1f5}.pill.peach,.pill.matched{background:#e7f2ec;color:#456e5c}.pill.outline{background:transparent;border:1px solid #bfb9d7}.status-off{color:var(--muted)}
input,textarea,select{background:#ffffffb3!important;color:var(--ink)!important;border-color:#c9c6df!important;border-radius:14px}input::placeholder,textarea::placeholder{color:#777b94}input:focus,textarea:focus,select:focus{border-color:#9d83de!important;box-shadow:0 0 0 3px #b9a7e724}input[type=checkbox],input[type=radio]{accent-color:#7046de;box-shadow:none;min-width:18px;min-height:18px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #7150cf;outline-offset:4px}.notice{background:#e8ebffb0;color:#424b80;border:1px solid #d3d5f0;border-radius:16px}.notice.warning{background:#fff6e9c9;color:#80552c;border-color:#e9d6b6}.notice strong{color:inherit}
.cloud-panel,.sync-panel,.runtime-prefs,.record-links,.version-entry,.sticky-save{background:#f6f6ffed!important;border-color:var(--line);color:var(--ink)}.available-marker{color:#5d4da0;border-color:#c5b5e7}.change-marker{background:#fff0d6;border-color:#c5a567;color:#755218}
#access-form .member-field-changed,#access-form .member-field-changed>span,#access-form .member-field-changed>select,#access-form .member-field-changed>input,.assignment-item.member-field-changed strong{color:#80581b!important}.permission-diff>.permission-changed{border-color:#c5a567;background:#fff5df}.permission-changed dd{color:#80581b}.assignment-check{background:#7354d5;color:white;border-color:white}
.studio-table thead th,.access-table th{background:#ece9fa96;color:#57527a}.studio-table th,.studio-table td,.access-table th,.access-table td{border-color:var(--line)}.studio-cat-visual>.pill{background:#ffffffdc;color:var(--ink)}
dialog,.cat-dialog{background:linear-gradient(125deg,#f7fbfff5,#f0eafff7);color:var(--ink);border:1px solid white;border-radius:28px;box-shadow:0 28px 90px #3632782f;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}dialog::backdrop,.cat-dialog::backdrop{background:#4443755c;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
dialog :where(input,select,textarea,button,p,label,small,dt,dd,summary){font-size:var(--body-size)!important}dialog :where(h2,h3){font-size:var(--section-size)!important;color:var(--ink)}.cat-dialog-header,.cat-dialog-footer{background:#f4f2ffef;border-color:var(--line)}.icon-button{border-radius:50%;min-width:44px;min-height:44px;background:#fff9;color:#65508f}.cat-dialog .admin-editor{background:transparent}.profile-dialog-portrait{border-radius:22px}#toast{background:#ede7fff5;color:#38305c;border:1px solid white;box-shadow:0 12px 40px #5b4a8f25;border-radius:18px}
.chat-layout{grid-template-columns:minmax(0,1fr) 270px;gap:22px}.chat-box{overflow:hidden;padding:0}.chat-head{background:#ffffff4f;border-bottom:1px solid var(--line);padding:20px 24px}.chat-head small{color:var(--muted);display:block}.chat-stream{background:linear-gradient(160deg,#f8faff2e,#e7e1fc40);padding:24px;min-height:280px}.bubble{font-size:var(--body-size);background:#ffffffc9;border:1px solid #ffffffed;color:var(--ink);box-shadow:0 4px 16px #70609308;border-radius:20px 20px 20px 5px}.bubble.owner-message{background:linear-gradient(130deg,#d9f0ffb0,#dcd8fab3);border-color:#e5edff;border-radius:20px 20px 5px 20px}.bubble .translation{color:#5c6486}.message-meta{margin:8px 0 22px}.composer{background:#ffffff70;border-top:1px solid var(--line);padding:20px 24px}.composer textarea{border:1px solid #d2cbe7!important;border-radius:18px;padding:14px;min-height:100px}.composer-bottom{margin-top:14px}.chat-aside .card{padding:22px}.chat-aside h2{margin-top:0}
.notification-overview{background:linear-gradient(110deg,#e4e5fcbb,#ffffffa0);border-color:#fff;color:var(--ink)}.notification-overview b{color:var(--deep)}.notification-overview p,.notification-card ul{color:var(--muted)}.notification-overview p{border-color:var(--line)}.notification-card.is-unread{border-left:3px solid #9675e8;background:#f4efffce}.notification-type{color:#65588f;border-color:#d6cbee}.notification-read-state,.notification-empty-icon{color:#7253bb}.notification-subject{color:#6c6284}.notification-member-highlight{outline-color:#9d7cda;background:#eee4ff}.notification-card time{color:var(--muted)}
.world-viewport{background:#e9e8f4}.room-label{background:#ffffffe6;color:var(--ink)}.room-here{background:#e4dafa}.graph-canvas{background:linear-gradient(130deg,#edf6ff,#ece4fc)}
.room:nth-child(2){background:#e2e9f6}.room:nth-child(3){background:#ece4f3}.room:nth-child(4){background:#e0eee6}.room-furniture{color:#8593a066}.graph-empty{color:var(--muted)}
.canon-outfits article,.canon-grid article,.canon-iceberg,.studio-room-grid .card,.studio-requirement,.cat-assignments,.journal-card{background:#ffffff83;border-color:var(--line)}
.excerpt,.entry p,.cloud-panel p,.field>span,.studio-stats article>span,.selection-empty p{color:var(--muted)}.studio-table tbody tr:hover,.access-table tbody tr:hover{background:#ede7fa91}.studio-areas>button:hover{background:#ede7fa}
.cat-portrait,.reference-thumb,.memory-pictures img,.canon-gallery img,.hero-art .cat-portrait,.studio-cat-visual,.scene-portrait{background:#edf0fa}.selection-symbol{border-color:#c3b6e7;color:#7864b7}
.sparkle,.orbit,.orbit-dot{display:none}.hero,.profile-portrait,.scene-art{background:linear-gradient(130deg,#e4efffa8,#e9e1ffb0)}
.signed-out .sidebar{min-height:0}.signed-out #workspace-nav,.signed-out .sidebar-foot{display:none}.signed-out .topbar{background:transparent}.signed-out .top-title,.signed-out .eyebrow{color:var(--muted)}.welcome{gap:44px}.welcome h1{white-space:normal}.welcome .welcome-eyebrow,.welcome p,.visual-caption>span,.visual-caption small,.welcome-footer{color:var(--muted)}.welcome-visual:before{display:none}.welcome-orbit{border:1px solid #fff;background:linear-gradient(145deg,#cff5f4a0,#dcd3ffa0);box-shadow:inset 0 1px #fff;border-radius:38%}.welcome-orbit:before{border-color:#ffffffb0;border-radius:38%;transform:rotate(16deg)}.welcome-emblem{background:linear-gradient(140deg,#eaffffba,#c8c7f8b0);border-color:#fff;color:#6473bb;box-shadow:inset 0 2px #fff,0 18px 30px #8e83c423}.welcome-footer{border-color:var(--line)}
/* Home: the confirmed four panels, without fabricated activities. */
.glass-home-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:6px 0 22px}.glass-home-heading h1{margin:0}.glass-home-heading time{color:var(--muted);white-space:nowrap}.glass-home-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr);gap:20px}.glass-now{grid-column:1;grid-row:1}.glass-highlights{grid-column:2;grid-row:1}.glass-timeline{grid-column:1;grid-row:2}.glass-tasks{grid-column:2;grid-row:2}.glass-home-grid .card{padding:20px;min-width:0}.glass-panel-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.glass-panel-heading h2{white-space:nowrap;display:flex;align-items:center;gap:12px;margin:0;font-weight:500}.glass-panel-heading h2:before{content:'';display:block;width:6px;height:25px;border-radius:8px;background:linear-gradient(#b4a4ff,#ba91e9);flex-shrink:0}.glass-panel-heading .text-action{white-space:nowrap;padding:0;display:inline-flex;align-items:center}
.glass-cat-intro{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:22px;align-items:center}.glass-home-photo{margin:0;min-width:0}.glass-home-photo img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:20px}.glass-home-photo figcaption{font-size:var(--body-size);color:var(--muted);margin-top:9px}.glass-cat-copy h3{margin:0 0 8px}.glass-cat-copy p{margin:0 0 18px;color:var(--muted)}.glass-cat-copy .button{width:100%;margin-top:8px}.glass-cat-copy .button.primary{padding:14px 14px}.glass-feature-list{display:grid;gap:0;padding:0;margin:0;list-style:none}.glass-feature-list li{position:relative;border-bottom:1px solid var(--line);padding:18px 0 18px 22px}.glass-feature-list li:before{content:'';position:absolute;top:27px;left:0;width:8px;height:8px;border-radius:50%;background:#8a5bea}.glass-feature-list li:last-child{border-bottom:0}.glass-feature-list button{padding:0;border:0;background:transparent;text-align:left;color:var(--ink);min-height:44px;display:block;width:100%;overflow-wrap:anywhere}.glass-feature-list p{color:var(--muted);margin:4px 0 0}.glass-empty{min-height:150px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:12px 8px}.glass-empty p{color:var(--muted);margin:6px 0}.glass-empty strong{font-size:var(--section-size);font-weight:500}.glass-home-note{margin:20px 0 0;color:var(--muted)}.glass-task-row{border:1px solid var(--line);background:#ffffff70;border-radius:18px;padding:16px;margin-bottom:12px;display:flex;align-items:center;gap:16px}.glass-task-row svg{width:28px;height:28px;flex-shrink:0;color:#8253dc}.glass-task-row strong{display:block}.glass-task-row p{margin:3px 0 0;color:var(--muted)}.glass-tasks>.button{width:100%;margin-top:4px}
@media(min-width:1600px){main{padding:16px 40px 40px}.topbar{padding-right:40px}.sidebar{width:250px}.brand img{max-width:224px}.glass-cat-intro{grid-template-columns:1.6fr 1fr}}
@media(min-width:761px) and (max-width:1150px){body{padding:18px}.app-shell{min-height:calc(100vh - 36px)}.sidebar{width:190px;padding:28px 12px;top:18px;height:calc(100vh - 36px)}.brand{padding:0}.sidebar .nav{padding:12px 10px;gap:10px}.topbar{padding:16px 22px;gap:14px;min-height:90px}.verified-account{padding-left:14px}.verified-account strong{max-width:132px}.verified-account span{display:none}#account-controls{gap:10px}main{padding:8px 22px 30px}.glass-home-grid{grid-template-columns:1fr 1fr;gap:16px}.glass-cat-intro{grid-template-columns:1fr;gap:15px}.glass-cat-copy p{display:none}.glass-cat-copy h3{display:none}.glass-home-photo img{max-height:280px}.glass-cat-copy .button{width:auto;margin:0}.chat-layout{grid-template-columns:1fr}.chat-aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.chat-aside .card{margin:0}}
@media(max-width:760px){:root{--body-size:14px;--section-size:18px;--title-size:28px;--radius:22px}body{padding:10px}.app-shell{display:block;border-radius:26px;min-height:calc(100dvh - 20px)}.sidebar{display:block;width:100%;height:auto;position:relative;top:0;padding:22px 16px 0;border:0;overflow:visible;min-height:0}.sidebar .brand{display:block!important;margin:0 0 16px;padding:0 4px;width:176px}.brand img{width:176px;max-width:none}.sidebar-foot{display:none}#workspace-nav{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:14px;margin:0 -6px;padding:0 6px 10px;align-items:flex-end;scrollbar-width:thin}.nav-group{display:flex;width:auto;flex-direction:row;flex-wrap:nowrap;gap:6px;position:relative;padding-top:27px;flex-shrink:0}.nav-group h2{position:absolute;top:0;padding:0 10px;white-space:nowrap}.sidebar .nav{white-space:nowrap;padding:10px 13px;min-height:44px;border-radius:16px;gap:8px;flex-shrink:0}.sidebar .nav span.nav-icon,.nav-icon svg{width:20px;height:20px}.backend-group{margin:0;border:0;padding-top:27px}.topbar{position:sticky;top:0;flex-wrap:nowrap;justify-content:space-between;gap:8px;padding:12px 16px;min-height:72px;backdrop-filter:blur(18px);background:#f4f5ffdb;border-bottom:1px solid #ffffffa0}#cat-context{min-width:0;flex:1}#global-cat-select{min-width:0;width:100%;max-width:165px;padding:11px 30px 11px 14px}#account-controls{gap:8px}.verified-account{display:none}.notification-bell{width:42px;height:42px}.topbar .button{min-height:42px;padding:9px 13px}.topbar .eyebrow{display:none}main{padding:14px 16px 28px}.page-head,.studio-page-head{margin:0 0 20px;gap:12px}.card{padding:20px}footer{padding:8px 18px 24px}.button{min-height:44px;padding:10px 18px}.studio-stats,.studio-brain-grid,.studio-permissions{gap:12px}.studio-stats article{padding:16px}.studio-areas{gap:12px}.studio-areas>button{padding:16px}.company-cat-grid{gap:12px}.company-card-open{padding:12px;min-height:260px}.company-card-actions{padding:0 12px 12px}.role-grid{grid-template-columns:1fr}.table-scroll{margin:0 -6px}.chat-layout{grid-template-columns:1fr;gap:16px}.chat-head{padding:16px;gap:10px;flex-wrap:nowrap}.chat-head .mini-avatar{width:40px;height:40px;min-width:40px}.chat-head>.button{margin-left:auto;padding:9px 12px}.chat-head small{max-width:165px}.chat-stream{min-height:200px;max-height:52dvh;padding:18px 16px}.bubble{max-width:92%;padding:13px 16px}.composer{padding:16px}.composer textarea{min-height:88px}.composer-bottom{gap:12px}.composer-bottom small{flex:1}.chat-aside{display:grid;gap:12px}.chat-aside .card{margin:0}.cat-dialog{max-height:calc(100dvh - 24px);width:calc(100vw - 24px);border-radius:24px}.cat-dialog-header,.cat-dialog-body{padding:18px}.cat-dialog-footer{padding:14px 18px}.member-cat-options{gap:10px}.member-cat-options .button{padding:15px}.notification-overview{gap:14px}.signed-out .sidebar{padding-bottom:0}.signed-out .topbar{min-height:60px}.signed-out main{padding:20px}.welcome{padding:8px 0 0;gap:0;min-height:0}.welcome .welcome-eyebrow{margin-bottom:14px}.welcome h1{line-height:1.5}.welcome p{margin-bottom:24px}.welcome-visual{width:180px;margin:25px 0}.welcome-orbit{width:160px}.welcome-footer{margin-top:10px;gap:12px}.glass-home-heading{display:block;margin:2px 0 18px}.glass-home-heading time{display:block;margin-top:4px}.glass-home-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.glass-now{grid-column:1/-1;grid-row:1}.glass-timeline{grid-column:1;grid-row:2}.glass-highlights{grid-column:2;grid-row:2}.glass-tasks{grid-column:1/-1;grid-row:3}.glass-home-grid .card{padding:15px}.glass-panel-heading{gap:8px;flex-wrap:wrap;margin-bottom:12px}.glass-panel-heading h2{gap:8px}.glass-panel-heading h2:before{width:4px;height:20px}.glass-panel-heading .text-action{min-height:32px}.glass-cat-intro{grid-template-columns:1fr;gap:14px}.glass-home-photo img{aspect-ratio:1.6;max-height:240px;object-position:50% 36%;border-radius:16px}.glass-home-photo figcaption{margin-top:6px}.glass-cat-copy{display:flex;align-items:center;justify-content:space-between;gap:12px}.glass-cat-copy h3{margin:0;white-space:nowrap}.glass-cat-copy p,.glass-cat-copy .button.secondary{display:none}.glass-cat-copy .button.primary{width:auto;min-width:140px;padding:11px 18px;margin:0}.glass-empty{min-height:160px;padding:5px 0}.glass-empty strong{font-size:var(--body-size);font-weight:600}.glass-feature-list li{padding:14px 0 14px 14px}.glass-feature-list li:before{width:6px;height:6px;top:24px}.glass-feature-list button{min-height:44px}.glass-feature-list p{line-height:1.7}.glass-task-row{padding:13px;gap:12px}.glass-home-note{line-height:1.8}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Active workspace: private dialogue and retained management. Future modules stay closed. */
.cat-welcome{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1fr);gap:36px;padding:26px;align-items:center;max-width:1100px}.cat-welcome-photo{margin:0;min-width:0}.cat-welcome-photo img{width:100%;height:auto;display:block;aspect-ratio:1;object-fit:cover;border-radius:22px}.cat-welcome-photo>svg{max-height:360px;width:100%}.cat-welcome-photo figcaption{font-size:12px;color:var(--muted);text-align:center;margin:10px 0 0}.cat-welcome-copy{padding:12px 18px 12px 0}.cat-welcome-copy h2{font-size:28px;line-height:1.6;margin:14px 0}.cat-welcome-copy>p{color:var(--muted);line-height:1.95}.cat-welcome-actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0 16px}.management-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.chat-stream{height:52vh;min-height:300px;max-height:580px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.dialogue-turn{display:flow-root}.dialogue-reply{white-space:pre-wrap;overflow-wrap:anywhere}.owner-message{overflow-wrap:anywhere}.chat-empty{text-align:center;padding:60px 10px;color:var(--muted)}.chat-empty strong{font-size:20px;color:var(--ink)}.typing-bubble{width:70px;padding:16px 20px}.typing-dots{display:flex;gap:5px;align-items:center;height:18px}.typing-dots i{width:6px;height:6px;background:#887dac;border-radius:50%;animation:chat-pulse 1.2s infinite}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}.incomplete-reply{opacity:.75;border-style:dashed}#dialogue-notices:not(:empty){padding:0 20px}.chat-aside p{font-size:14px}.composer textarea{resize:none}.chat-head strong{font-size:17px}@keyframes chat-pulse{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.typing-dots i{animation:none}}
@media(max-width:760px){#workspace-nav{gap:6px;overflow-x:auto}.nav-group{padding-top:0;gap:6px}.nav-group h2{display:none}.backend-group{display:contents}.backend-group>.nav:not([data-page="admin"]){display:none}.sidebar .nav{padding:10px 11px;font-size:14px}.cat-welcome{grid-template-columns:1fr;padding:18px;gap:16px}.cat-welcome-photo img{aspect-ratio:1.35;object-position:50% 38%}.cat-welcome-copy{padding:0}.cat-welcome-copy h2{font-size:23px;margin:10px 0}.cat-welcome-actions{margin:20px 0 12px}.cat-welcome-actions .button{flex:1;white-space:nowrap}.cat-welcome-copy .subtext{font-size:13px}.chat-stream{height:42dvh;min-height:240px;max-height:500px}.chat-aside{display:none}.management-tabs{gap:6px}.management-tabs .button{flex:1;padding:10px 8px;font-size:13px}.composer textarea{min-height:80px}.message-meta{font-size:12px}}
@media(min-width:761px){.chat-stream{height:clamp(240px,calc(100dvh - 680px),480px);min-height:240px}.chat-head{padding:16px 20px}.composer{padding:16px 20px}.composer textarea{min-height:80px}.composer-bottom{margin-top:10px}}
@media(max-width:760px){#workspace-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;overflow:visible}.nav-group{display:contents}.sidebar .nav{min-width:0;width:100%;justify-content:center;padding:10px 6px;gap:6px}.sidebar .nav .nav-icon,.nav-icon svg{width:18px;height:18px}}

/* S06 — private memories, using the established glass surface and type scale. */
.memory-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}.memory-intro h2{margin:9px 0}.memory-intro p{max-width:620px}.memory-intro-actions,.memory-tabs,.memory-actions{display:flex;gap:10px;flex-wrap:wrap}.memory-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.memory-stat{text-align:left;color:inherit;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px}.memory-stat strong{font-size:28px}.memory-stat[aria-pressed=true]{border-color:#4c79c3;background:#e9f5ffcc}.memory-settings{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}.memory-settings p{margin:6px 0}.memory-settings small{color:#53627a}.memory-status-line{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:16px 0;color:#53627a;font-size:14px}.memory-filter{display:grid;grid-template-columns:minmax(180px,1fr) 150px 150px auto;align-items:end;gap:12px;margin:18px 0}.memory-filter label,.memory-correction label{display:grid;gap:7px;font-size:14px}.memory-filter input,.memory-filter select,.memory-correction textarea,.memory-correction input,.memory-correction select{width:100%;min-height:44px;background:#ffffffc9;border:1px solid #bccde0;border-radius:12px;color:#243a55;padding:10px;font:inherit;box-sizing:border-box}.memory-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.92fr);align-items:start;gap:20px}.memory-list{display:grid;gap:14px;min-width:0}.memory-card{display:block;width:100%;text-align:left;cursor:pointer;color:inherit;padding:22px}.memory-card.selected{border-color:#4c79c3;box-shadow:0 0 0 2px #a4cdf866}.memory-card h2{font-size:19px;margin:14px 0 8px}.memory-card>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6;overflow-wrap:anywhere}.memory-card-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#51647d}.memory-badge{display:inline-block;padding:5px 9px;border-radius:20px;background:#e5edf5;color:#3c526b;font-size:12px}.memory-badge.active{background:#dcefe7;color:#285b4c}.memory-badge.review{background:#fff0d2;color:#78551e}.memory-badge.suppressed{background:#e8e8ef;color:#5e6173}.memory-detail{position:sticky;top:20px;min-width:0}.memory-detail h2{font-size:22px;margin:20px 0 12px}.memory-content,.memory-source blockquote,.memory-history p,.memory-diff p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.memory-content{font-size:16px}.memory-actions{margin:20px 0}.memory-detail details{padding:16px 0;border-top:1px solid #c9d5e6}.memory-detail summary{cursor:pointer;line-height:1.5;min-height:24px;color:#354c70}.memory-source blockquote{margin:10px 0;padding:12px 16px;background:#eef5fc;border-left:3px solid #8eaed5;border-radius:6px}.memory-history article{border-bottom:1px solid #d3dfed;padding:16px 0}.memory-history small{color:#52617a}.memory-correction{display:grid;gap:14px;margin:22px 0}.memory-diff{padding:16px;background:#e4f1ff;border:1px solid #aec8e8;border-radius:14px}.memory-guide h2,.memory-empty h2{font-size:22px}.memory-guide p,.memory-empty p{line-height:1.7}.memory-job-list article{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-top:1px solid #cfdbeb}.memory-job-list p{margin:8px 0}.memory-job-list small{color:#52617a}.memory-tabs{margin-top:24px}.memory-empty{padding:32px;text-align:center}.memory-intro-actions .button{white-space:nowrap}@media(max-width:1100px){.memory-filter{grid-template-columns:minmax(150px,1fr) 120px 120px}.memory-filter>button{grid-column:1/-1}.memory-intro{align-items:flex-start;flex-direction:column}}@media(max-width:780px){.memory-layout{grid-template-columns:1fr}.memory-layout.has-detail .memory-list{display:none}.memory-detail{position:static}.memory-guide{display:none}.memory-stats{gap:8px}.memory-stat{padding:14px;flex-direction:column;align-items:flex-start;gap:6px}.memory-stat strong{font-size:24px}.memory-settings{align-items:flex-start;flex-direction:column;gap:14px}.memory-settings .button{width:100%}.memory-filter{grid-template-columns:1fr 1fr}.memory-filter>label:first-child{grid-column:1/-1}.memory-filter>button{grid-column:1/-1}.memory-status-line{align-items:flex-start}.memory-intro-actions{width:100%}.memory-intro-actions .button{flex:1}.memory-card{padding:18px}.memory-job-list article{align-items:flex-start;flex-direction:column}.memory-detail{padding:20px}.memory-card-meta{flex-wrap:wrap}}
