/* Yopori · Night garden
   A single presentation layer for the existing, permission-aware product.
   Decorative layers never contain content, controls or simulated activity. */
:root { color-scheme:dark; --cream:#f4f3fd; --apricot:#e8c3b2; }
html { background:var(--bg); scroll-padding-top:100px; }
p,dd,small { overflow-wrap:anywhere; }
::selection { background:#aa97ff55; color:#fff; }
:is(button,a,input,textarea,select,summary):focus-visible { outline:3px solid #b9f1df; outline-offset:4px; }
button { transition:background .18s,border-color .18s,box-shadow .18s,color .18s; }
button:disabled { cursor:not-allowed; }
button[hidden],[hidden] { display:none !important; }
input,textarea,select {
  background:#0f1629; color:#eff0fc; border:1px solid #8b9dcf32;
  border-radius:13px; padding:16px 16px; box-shadow:0 1px 3px #00000012 inset; min-width:0;
}
input::placeholder,textarea::placeholder { color:#8c96b2; opacity:1; }
:is(input,textarea,select):focus { border-color:#b9aaff; box-shadow:0 0 0 3px #b5a3ff15; }
input[type=checkbox],input[type=radio] { accent-color:#b8a8ff; box-shadow:none; }
label>span { color:#dce0f1; }
.field-help,.inline-note { color:#a3acc5; }
.button {
  background:linear-gradient(120deg,#d0c4ff,#ae9af0); color:#22203e;
  min-height:44px; padding:8px 16px; border:1px solid #ded4ff55; border-radius:13px;
  box-shadow:0 4px 14px #9880ed12;
}
.button:hover { background:linear-gradient(120deg,#e0d7ff,#c1adff); box-shadow:0 5px 22px #9b83e52c; transform:none; }
.button.secondary { color:#e0e3f3; background:#c8ceee09; border-color:#a2afd139; box-shadow:0 1px 0 #ffffff05 inset; }
.button.secondary:hover { background:#b2a4ed16; border-color:#b7a7ef80; }
.button.quiet { color:#b8c2d9; background:transparent; border-color:transparent; box-shadow:none; }
.button.quiet:hover { color:#f1edff; background:#a0a9d315; }
.button.danger { background:#442937; border-color:#b77f8f55; color:#f3c3cd; box-shadow:none; }
.button.danger:hover { background:#563040; }
.button.small { min-height:36px; border-radius:10px; padding:8px 16px; }
.button.full-width { width:100%; }
.avatar { background:linear-gradient(135deg,#c7baff,#9ddad4); color:#293047; border:1px solid #e1d7ff77; box-shadow:0 3px 12px #0002; }
.avatar.large { border-radius:24px; }
.muted { color:var(--muted); }
.tag,.person-keywords>span,.resume-skills span { background:#b8eddd0e; border-color:#ade8d52b; color:#bfe9dc; border-radius:7px; }

/* Persistent frame. */
.nav-label-short { display:none; }
@media(max-width:360px) {
  .bottom-nav a:has(.nav-label-short) .nav-label-full { display:none; }
  .bottom-nav .nav-label-short { display:block; }
}
.sidebar {
  width:208px; padding:28px 16px 24px;
  background:linear-gradient(180deg,#11172af2,#0e1425f2); border-right:1px solid #b2bae519;
}
.brand { color:#f0edff; gap:8px; }
.brand>span:last-child { display:flex; flex-direction:column; gap:8px; }
.brand-english { color:#bbb2d7; }
.brand-mark {
  width:37px; height:37px; background:linear-gradient(135deg,#e0d9ff,#b8f0e4); color:#26324a;
  border:1px solid #fff8; border-radius:13px; box-shadow:0 0 21px #b9abff20;
}
.sidebar .brand-sub { color:#8a8fae; margin:24px 0 32px 2px; white-space:nowrap; }
.nav-links { gap:8px; }
.nav-item { height:49px; border-radius:14px; color:#acb5ce; padding:0 16px; border:1px solid transparent; }
.nav-item:hover { background:#b5b2e710; color:#f2efff; }
.nav-item.active { color:#d8d0ff; background:linear-gradient(110deg,#a990f51b,#a18dd308); border-color:#c4adff26; }
.nav-item.active::after { background:#cbb9ff; width:5px; height:5px; box-shadow:0 0 9px #bba5ff80; }
.nav-item svg { width:20px; height:20px; }
.sidebar-divider { background:#bbc5eb1a; margin:24px 8px 24px; }
.nav-label { color:#7f8aa7; margin-bottom:16px; }
.utility-nav a { min-height:40px; border-radius:11px; color:#98a4bf; }
.utility-nav a:hover,.utility-nav a.active { background:#c6b1ff0d; color:#d3c8f6; }
.side-bottom { padding-top:24px; }
.side-compass i { border-color:#b4a0ef32; }
.side-compass i:nth-child(2) { border-color:#93e2d82e; }
.side-compass span { color:#c7b8ed; }
.side-caption { color:#8e99b4; }
.side-footer { border-color:#aebfe51a; }
.side-footer p { color:#7f8aa8; }
.side-footer>a { display:block; margin-top:16px; color:#919cb8; }
.sidebar-assistant { display:flex; align-items:center; gap:8px; min-width:0; padding:16px 16px; margin:0 -3px 24px; border:1px solid #b6bbe42a; border-radius:16px; background:linear-gradient(120deg,#aaa1e918,#8ea4bd08); }
.sidebar-assistant .ambient-orb { --orb-size:34px; }
.sidebar-assistant>span:not(.ambient-orb) { flex:1; min-width:0; }
.sidebar-assistant strong { display:block; color:#d5d1e7; }
.sidebar-assistant small { display:block; color:#969fbc; margin-top:4px; }
.sidebar-assistant>svg { width:13px; height:13px; color:#ac9fce; }
.local-badge { background:#94c9c90a; border-color:#9dd1ca25; color:#a0bdc5; }
.local-badge:before { background:#a7d6ca; }
.workspace { margin-left:208px; }
.topbar { height:72px; padding:0 40px; background:#101624; border-color:#afc0ec17; backdrop-filter:none; }
.breadcrumb { color:#828daa; gap:16px; }
.breadcrumb b { color:#e4e7f6; }
.top-actions { gap:16px; }
.top-publish { background:#a9b2de0b; color:#d3d8ec; border-color:#a8b7dc30; min-height:37px; border-radius:12px; padding:8px 16px; }
.top-publish:hover { background:#c0b1ef1a; }
.top-user .avatar { width:35px; height:35px; }
.header-search { display:flex; align-items:center; gap:8px; border:1px solid #9ba9d329; border-radius:12px; background:#c0c5ed08; padding:8px 16px; width:min(275px,25vw); }
.header-search svg { width:16px; height:16px; color:#9ca8c6; }
.header-search input { padding:0; border:0; background:none; box-shadow:none; }
.main { max-width:1480px; padding:0 40px 40px; min-height:calc(100vh - 82px); background:none; }
.page-footer { padding:32px 0 8px; margin-top:8px; border-top:1px solid #aeb9e413; color:#7d88a3; gap:16px 24px; }
.page-footer .footer-mark { color:#b8afcf; }
.page-footer>a { color:#a4adca; }
.preview-note { background:#a2b5d207; border-color:#a3b4df20; color:#9aa8c0; border-radius:12px; }

/* Shared containers and page rhythm. */
.page-head { padding:40px 0 32px; gap:24px; align-items:flex-end; }
.page-head>div { min-width:0; }
.page-head h1 { }
.page-head p { color:#a4aec9; max-width:760px; margin-top:8px; }
.eyebrow { color:#bcaeec; }
.eyebrow::before { width:17px; background:#bcaeec; }
.panel,.person-card,.note-card,.community-post,.studio-item,.review-item {
  background:var(--glass); border:1px solid #a6b7e126; border-radius:var(--radius); box-shadow:var(--shadow);
}
.panel { padding:24px; }
.panel h2 { }
.panel h3 { }
.section-kicker { gap:16px; margin-bottom:24px; }
.section-kicker h2 { }
.section-kicker h2 span { color:#8f9ab8; }
.searchbox input { background:#1a2236; border-color:#a6b5db2b; border-radius:12px; min-height:40px; }
.searchbox svg { color:#9da7c4; }
.category,.people-goals button { border-radius:10px; color:#a8b2cc; padding:8px 16px; min-height:37px; }
.category:hover { background:#b0b3e210; color:#f2f0ff; }
.category.active,.people-goals button.active { color:#e2d8ff; background:#baa7ff1a; border-color:#baa7ff3d; }
.sort { color:#a7b1cb; }
.section-tabs,.discovery-tabs { display:flex; gap:8px; align-items:center; border:1px solid #a8b3df20; background:#161e32; padding:8px; border-radius:14px; margin:0 0 24px; width:fit-content; max-width:100%; }
.section-tabs a,.section-tabs button,.discovery-tabs a { padding:8px 24px; min-height:39px; border-radius:10px; color:#a9b3cf; }
.section-tabs .active,.discovery-tabs a.active { background:linear-gradient(110deg,#f0eaff,#d2f7ec); color:#28344b; box-shadow:0 2px 9px #0002; }
.discovery-tabs a.active::after { display:none; }
.empty-state { padding:64px 24px; max-width:540px; }
.empty-state .empty-icon { width:74px; height:74px; background:radial-gradient(circle at 32% 22%,#b6b2f72b,#7d94b510); border-color:#a3b8da38; color:#c9c1f9; border-radius:25px; box-shadow:0 0 40px #9d91e20a; }
.empty-state h2 { }
.empty-state p { color:#a5b0ca; margin:16px auto 24px; }
.loading { padding:96px 24px; color:#a9b3ce; }
.loading::before { border-color:#5f60854d; border-top-color:#cab9ff; }
.form-error { color:#f3c1cb; border-color:#b3768e55; background:#4c283d66; border-radius:12px; }
.toast { background:#e7e3fb; color:#2c2d46; box-shadow:0 12px 40px #0005; border:1px solid #fff8; border-radius:14px; left:calc(50% + 116px); }
.toast.error { background:#f0d5dd; color:#5e3243; }

/* Consumer-first discovery. */
.welcome-scene {
  position:relative; isolation:isolate; overflow:hidden; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(260px,.92fr); align-items:center;
  min-height:342px; margin:32px 0 24px; padding:24px 40px; gap:16px;
  border:1px solid #b8c1ed30; border-radius:28px;
  background:linear-gradient(90deg,#10182ef0 0%,#111a2bd9 35%,#111a2b55 63%,#111a2b0d 100%),url('./assets/yopori-horizon.webp') center 55% / cover no-repeat,#18233c;
  box-shadow:0 20px 55px #02061240,0 1px 0 #e2ddff14 inset;
}
.welcome-scene::before { content:""; position:absolute; inset:0; pointer-events:none; z-index:-1; background:radial-gradient(circle at 66% 15%,#fff7 1px,transparent 2px),radial-gradient(circle at 96% 22%,#d8d9ff99 1px,transparent 2px),radial-gradient(circle at 62% 74%,#c6ebff66 1px,transparent 2px),radial-gradient(circle at 10% 91%,#d9eaff66 1px,transparent 2px); }
.scene-copy { position:relative; z-index:2; min-width:0; }
.scene-eyebrow { display:flex; align-items:center; gap:8px; color:#ccd3e9; }
.scene-eyebrow::before { content:""; width:6px; height:6px; border-radius:50%; background:#c0eddf; box-shadow:0 0 9px #a0ecd666; }
.scene-title { margin:16px 0 16px; color:#f8f4ff; }
.scene-title span { color:#c8f0e7; }
.scene-description { color:#b9c3dc; max-width:440px; }
.scene-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.scene-actions>.button { min-height:43px; padding:8px 16px; }
.scene-actions>.button:first-child { background:linear-gradient(115deg,#eee8ff,#c9f2e5); color:#293b49; }
.scene-caption { display:block; color:#a1aec9; margin-top:16px; }
.scene-art { position:relative; min-height:270px; display:flex; justify-content:center; align-items:center; isolation:isolate; }
.scene-art::before,.scene-art::after { display:none; }
.scene-orbit-label { position:absolute; right:3px; bottom:-12px; color:#d1daedab; text-shadow:0 1px 5px #10172c; }
.welcome-scene.returning { min-height:240px; padding-top:24px; padding-bottom:24px; }
.welcome-scene.returning .scene-title { margin:16px 0; }
.welcome-scene.returning .scene-title br,.welcome-scene.returning .scene-description br { display:none; }
.welcome-scene.returning .scene-caption { display:none; }
.welcome-scene.returning .scene-art { min-height:170px; }
.ambient-orb { --orb-size:130px; width:var(--orb-size); height:var(--orb-size); position:relative; border-radius:50%; flex-shrink:0; background:radial-gradient(circle at 30% 19%,#fff 0 2%,#e3f6ff 4%,transparent 20%),radial-gradient(circle at 75% 75%,#9ee6e8bb,transparent 48%),radial-gradient(circle at 27% 65%,#b1a0f3cc,transparent 48%),radial-gradient(circle at 50% 45%,#a4b4ed4d,#343a6255 53%,#c5b3ffdb 72%,#f0fcff 78%,#96ceec88 82%); border:1px solid #e2ebffbb; box-shadow:0 0 15px #bdc6ff55,0 0 50px #91a9e92a,inset -6px -8px 13px #b6f5ed55,inset 9px 4px 14px #f8ddff66; }
.orb-face { position:absolute; left:30%; top:48%; width:40%; height:22%; display:flex; justify-content:space-between; align-items:flex-start; }
.orb-face::before,.orb-face::after { content:""; width:14%; height:40%; border-radius:50%; background:#252e59; box-shadow:0 1px 2px #fff9; }
.orb-face i { position:absolute; width:25%; height:36%; border:2px solid #30375c; border-top:0; border-radius:0 0 20px 20px; left:37%; bottom:0; }
.interest-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0 0 32px; }
.interest-card { position:relative; min-width:0; display:flex; align-items:center; gap:16px; padding:16px 16px; background:linear-gradient(135deg,#20293c,#161f32); border:1px solid #aebde02b; border-radius:18px; transition:border-color .18s,background .18s; }
.interest-card:hover { border-color:#c3b4f46b; background:linear-gradient(135deg,#2d314c,#1a2539); }
.interest-card>svg { width:21px; height:21px; color:#d0c1ff; }
.interest-card>div,.interest-card>span { min-width:0; }
.interest-card strong { color:#e9e8f8; display:block; }
.interest-card small { color:#9facc6; display:block; margin-top:4px; }
.interest-card:nth-child(2)>svg { color:#b7ecdb; }
.interest-card:nth-child(3)>svg { color:#eac3c7; }
.interest-icon { width:39px; height:39px; display:grid; place-items:center; flex:0 0 auto !important; border-radius:12px; background:#b8a5ea19; color:#cebef6; border:1px solid #c7b4f31e; }
.interest-icon svg { width:19px; height:19px; }
.interest-card:nth-child(2) .interest-icon { background:#98d7c713; color:#b5e5d6; border-color:#9ce3cf24; }
.interest-card:nth-child(3) .interest-icon { background:#d6b3ca12; color:#e1bbd5; border-color:#dcb3df24; }
.discovery-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:24px; align-items:start; }
.feed-column,.discovery-aside { min-width:0; }
.discovery-aside { display:grid; gap:16px; }
.discovery-aside>section,.editorial-card { border:1px solid #b8c2e428; border-radius:21px; padding:24px; background:var(--glass); }
.discovery-aside h2,.discovery-aside h3,.editorial-card h3 { }
.discovery-aside p,.editorial-card p { color:#a4b2cd; margin-top:8px; }
.discovery-aside .button { margin-top:16px; white-space:normal; }
.editorial-card { background:linear-gradient(135deg,#f5f3ff,#e9edf5); color:#242d45; border-color:#f7f5ff; box-shadow:0 9px 30px #0002; }
.editorial-card p { color:#63708e; }
.editorial-card .eyebrow { color:#73669b; }
.editorial-card .button { color:#4c416c; background:#ded8f5; border-color:#d0c6ee; }
.discovery-aside .editorial-card { background:linear-gradient(135deg,#f5f3ff,#e9edf5); border-color:#f7f5ff; color:#242d45; }
.discovery-aside .editorial-card p { color:#63708e; }
.discovery-aside .editorial-card .feature-link { border-color:#68769c24; }
.discovery-aside .editorial-card .feature-link strong { color:#444b68; }
.discovery-aside .editorial-card .feature-link small { color:#7a8198; }
.discovery-aside .editorial-card .feature-link>svg { color:#8c7ba5; }
.discovery-aside .editorial-card.community-invitation { background:linear-gradient(145deg,#282e49,#19253a); border-color:#bbb0ed31; color:#e8e4f7; }
.discovery-aside .editorial-card.community-invitation p { color:#aebad3; }
.community-invitation .eyebrow { color:#b4a4d9; }
.community-invitation .button.secondary { color:#d6c9ed; border-color:#b6a1df40; background:#bca4f214; }
.bookmark-invitation { display:block; }
.bookmark-invitation>svg { color:#81729e; margin-bottom:16px; }
.bookmark-invitation .text-link { display:block; color:#857199; margin-top:16px; }
.topic-link { display:block; padding:16px 0; color:#c4cce2; border-bottom:1px solid #b3c0e320; }
.quiet-note { color:#929fbc; margin-top:16px; }
.feature-link { display:flex; gap:16px; align-items:center; padding:16px 0; border-bottom:1px solid #bac8f01c; min-width:0; }
.feature-link:last-child { border-bottom:0; padding-bottom:0; }
.feature-link>svg { color:#bfafe9; width:19px; height:19px; }
.feature-link>span,.feature-link>div { min-width:0; flex:1; }
.feature-link strong { display:block; }
.feature-link small { display:block; color:#9aa7c1; margin-top:4px; }
.work-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.discovery-layout .work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.work-card { background:linear-gradient(150deg,#1d263c,#141d30); border:1px solid #b4c0e22b; border-radius:21px; box-shadow:0 7px 25px #0407141f; }
.work-card:hover { border-color:#c2b2ef66; box-shadow:0 12px 35px #0407144d; }
.cover-link { border-radius:0; }
.cover { height:224px; }
.cover.palette { background:linear-gradient(130deg,#ebe8fa,#e3e5ee); color:#575879; }
.cover.focus { background:linear-gradient(135deg,#c6e3dd,#dce9e2); color:#344f55; }
.cover.decision { background:linear-gradient(135deg,#dfcddd,#f2ded5); color:#68516d; }
.cover.custom { background:linear-gradient(130deg,#c5bbdf,#9baed3); color:#364566; }
.cover .cover-word { bottom:19px; left:21px; }
.cover .cover-word small { }
.card-cover-tag { background:#fff9; color:#434664; border:1px solid #fff8; border-radius:7px; padding:4px 8px; }
.cover.custom~.card-cover-tag,.cover.custom~.card-cover-action { background:#f6edff8c; color:#3c4661; border-color:#fff6; }
.card-cover-action { width:30px; height:30px; background:#fff8; border-color:#fff9; color:#404567; }
.card-content { padding:0 16px 16px; }
.card-meta { margin-top:16px; }
.card-meta h3 { }
.card-description { color:#a5b0c9; margin:8px 0 16px; min-height:44px; }
.card-footer { border-color:#aebfe21c; color:#a5b1ce; padding-top:16px; }
.example-tag { color:#a8b0c7; border-color:#b8bce636; border-radius:5px; }
.bookmark-mini { color:#a7b5cf; border-radius:9px; min-height:36px; min-width:36px; }
.bookmark-mini.saved { color:#ccbcff; }
.bookmark-mini:hover { color:#e0d4ff; background:#c7a7ff15; }

/* Registration and first visit. */
.dialog { background:linear-gradient(150deg,#1b243b,#11192d); border:1px solid #c0c5eb3d; border-radius:25px; box-shadow:0 30px 110px #03050bb3,0 1px 0 #ffffff12 inset; max-height:calc(100dvh - 40px); }
.dialog::backdrop { background:#040919b8; backdrop-filter:blur(9px); }
.dialog-inner { padding:32px; }
.dialog-header { align-items:flex-start; gap:16px; }
.dialog-header h2 { color:#f2edff; }
.dialog-close { width:36px; height:36px; border:1px solid #a5b8da26; border-radius:50%; color:#b3bfdb; }
.dialog-close:hover { color:#f6edff; background:#c6b3ff16; }
.dialog p { color:#adb9d2; }
.dialog form { gap:24px; }
.dialog .field-help { color:#9faec7; }
.dialog-actions { gap:8px; }
.auth-dialog { max-width:850px; width:calc(100vw - 50px); }
.auth-dialog .dialog-header { margin-bottom:24px; }
.auth-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:start; gap:32px; }
.auth-form-body { min-width:0; }
.auth-story { display:flex; flex-direction:column; gap:0; align-items:flex-start; padding:32px 24px; border:1px solid #b8c4eb26; border-radius:20px; background:radial-gradient(ellipse at 0% 0%,#b6a4ff1f,transparent 65%),#c4c7e708; margin:0; min-height:330px; }
.auth-story .ambient-orb { --orb-size:85px; margin:3px 0 32px; }
.auth-story .eyebrow { margin-bottom:16px; }
.auth-story h3 { margin-bottom:16px; color:#e7e0f9; }
.auth-story p { color:#b5c1d8; }
.auth-story strong { display:block; color:#e4def6; margin-bottom:4px; }
.auth-switch { border-color:#c0c2ec24; color:#a5b1cf; }
.auth-switch button { color:#c9baff; }
.registration-policy { border-color:#b5c1e324; }
.registration-policy .policy-consent>span { color:#b2bdd5; }
.registration-policy>.button { color:#c6b9ef; }
.password-toggle.button { color:#c9c1e7; }
.auth-local-note { color:#93a1bd !important; }
.welcome-header { padding:40px 0 24px; }
.welcome-header h1 { }
.welcome-header p { color:#a9b6d0; }
.welcome-progress { border:1px solid #b7c0e52b; border-radius:16px; background:#161e32; overflow:hidden; margin-bottom:32px; }
.welcome-progress li { color:#95a2c0; padding:16px 16px; }
.welcome-progress li+li { border-color:#aab6df20; }
.welcome-progress li.active { background:linear-gradient(110deg,#a995f325,#a995f30b); color:#e1d6ff; }
.welcome-progress li.active>span { color:#332951; border-color:#d1beff; background:#d1beff; }
.welcome-progress li.done { color:#afdacb; }
.welcome-panel { max-width:900px; padding:32px; }
.welcome-panel-heading h2 { }
.welcome-panel-heading p { color:#a9b7d2; }
.welcome-secondary-actions { border-color:#aebde128; }
.welcome-finish-symbol { background:#b5eee012; color:#bfefdf; border-color:#aae3d531; border-radius:20px; }
.welcome-summary>div { border-color:#b0bce423; padding:16px 0; }
.welcome-summary strong { color:#d9e3ee; }
.welcome-summary span { color:#a8b6ce; }
.visibility-note,.data-privacy { background:linear-gradient(120deg,#9de2cf0e,#8b9bd509); border-color:#99c3d231; border-radius:15px; }
.visibility-note svg,.data-privacy>svg { color:#b6eadb; }
.exploration-paths>a { border-radius:16px; background:#1e2940; border-color:#acbee02b; }
.exploration-paths>a:hover { background:#29324a; border-color:#bdadf75c; }
.exploration-paths strong { color:#e5e5f4; }
.exploration-paths small { color:#abb4ca; }

/* Shared conversation surfaces. */
.community-column { max-width:820px; }
.compose-drawer { border:1px solid #b1b9e034; border-radius:21px; background:linear-gradient(120deg,#242c44,#192237); margin-bottom:32px; overflow:hidden; }
.compose-drawer>summary { list-style:none; display:flex; align-items:center; gap:16px; cursor:pointer; padding:24px 24px; color:#b8c3da; }
.compose-drawer>summary::-webkit-details-marker { display:none; }
.compose-drawer>summary>.avatar { width:37px; height:37px; }
.compose-drawer-action { display:flex; align-items:center; gap:8px; margin-left:auto; color:#d0c3ef; padding:8px 8px; border:1px solid #b9ace33d; border-radius:10px; }
.compose-drawer-action svg { width:14px; height:14px; }
.compose-drawer[open]>summary { border-bottom:1px solid #b4bde225; }
.compose-drawer .community-composer { border:0; border-radius:0; background:none; margin:0; box-shadow:none; }
.community-composer { background:linear-gradient(125deg,#252b45,#192339); border-color:#c1b4ee38; padding:24px; border-radius:23px; }
.community-composer-heading h2 { }
.community-composer-heading p { color:#a5b2cc; }
.community-composer textarea { background:#111a2e; border-color:#acb9dc30; border-radius:14px; padding:16px; }
.discussion-prompts>.button { color:#c4c9e3; background:#a8b4e509; border-color:#abb2df29; border-radius:9px; padding:8px 8px; }
.discussion-prompts>.button:hover { background:#bbabff1c; border-color:#cbb4ff55; }
.discussion-prompts>span { color:#9baac8; }
.community-feed { gap:24px; }
.community-post { padding:24px; }
.community-author strong { color:#e9e7f8; }
.community-author time { color:#929fbc; }
.community-post-body { color:#d9def0; margin:24px 0; }
.community-attached-work { border-radius:15px; background:#eaeaf3; color:#2a334b; border-color:#f4edffbb; padding:8px; }
.community-attached-work small { color:#746591; }
.community-attached-work p { color:#69738e; }
.community-attached-work>svg { color:#7d719b; }
.community-work-cover { border-radius:10px; }
.community-post-actions,.community-comments,.community-comment { border-color:#aeb8dd20; }
.community-post-actions>.button { min-height:38px; }
.community-comment>p { color:#c4cee4; }
.comment-author strong { color:#c7cae7; }
.follow-button.is-following { background:#b8ecda10; color:#bcebdc; border-color:#a1dcc438; }
.inbox-layout { grid-template-columns:290px minmax(0,1fr); gap:24px; }
.thread-item { border:1px solid #b0bfdf20; border-radius:17px; background:#171f34; padding:16px; }
.thread-item.active { border-color:#c4afff5c; background:linear-gradient(120deg,#3c335c77,#242d4477); }
.thread-title { color:#eeedf8; }
.thread-item p { color:#a4b1cd; }
.thread-unread,.nav-unread { color:#3d325c; background:#cebcff; }
.chat-panel { background:linear-gradient(180deg,#192239,#111a2f); border-radius:24px; min-height:560px; border-color:#b4c3e72e; }
.chat-head { border-color:#b2bee224; padding-bottom:16px; }
.chat-head h2 { }
.chat-head p { color:#9baac9; }
.chat-back { display:flex; gap:8px; align-items:center; color:#9faed0; margin:0 0 16px; width:fit-content; }
.chat-back svg { width:14px; height:14px; }
.message-body { background:linear-gradient(130deg,#eeebfa,#e0e4f4); color:#28334d; border-radius:17px 17px 17px 5px; padding:16px 16px; box-shadow:0 3px 8px #0001; }
.message.mine .message-body { background:linear-gradient(125deg,#cbf3e7,#e1f4f1); color:#213f47; border-radius:17px 17px 5px 17px; }
.message small,.message-meta>.button { color:#99a7c4; }
.reply-form { border-color:#b0bfe228; padding-top:16px; }
.reply-form textarea { background:#252e45; border-color:#b7c2e230; border-radius:16px; }
.inbox-sync-status { color:#9aa9c6; }

/* Personal identity, work and the owner's private space. */
.profile-hero { position:relative; isolation:isolate; padding:32px; margin:32px 0 24px; border:1px solid #d9dbef; border-radius:25px; background:linear-gradient(125deg,#f7f4ff,#e5edf1); color:#273149; gap:24px; }
.profile-hero .avatar.large { width:88px; height:88px; border:3px solid #fff; box-shadow:0 6px 17px #6f689a24; }
.profile-hero h1 { color:#26304b; }
.profile-hero p { color:#5d6b85; }
.profile-hero .handle,.profile-eyebrow { color:#747f9c; }
.profile-info .profile-headline { color:#4e5477; }
.profile-hero .button.secondary { color:#5c4d7c; background:#d9d0ee70; border-color:#bdafd771; }
.profile-hero .button.quiet { color:#78658c; }
.profile-intent { border-color:#9e8ad2; color:#586886; }
.profile-menu { flex-wrap:wrap; gap:8px; }
.profile-menu .button { }
.profile-relationships { border-color:#aebde320; }
.profile-relationships strong { color:#e2e0f5; }
.profile-relationships button,.profile-relationships>span { color:#b4bdd7; }
.space-entry { border:1px solid #bbc0e32d; border-radius:20px; background:linear-gradient(135deg,#242c44,#192238); padding:24px; }
.space-entry:hover { border-color:#bbadf066; background:#2a2e46; }
.space-entry h2 { color:#eeeaf9; }
.space-entry p { color:#abb6ce; }
.space-entry-label { color:#b6a6d8; }
.growth-dashboard { grid-template-columns:repeat(2,minmax(0,1fr)); }
.growth-dashboard .growth-entry { grid-column:auto; }
.growth-dashboard .space-entry>.agent-avatar { flex:0 0 var(--avatar-size); min-width:var(--avatar-size); width:var(--avatar-size); height:var(--avatar-size); }
.collection-entry { background:linear-gradient(130deg,#29354b,#1c2b3d); border-color:#a7cfdd33; }
.space-entry-icon { background:#c3aff012; border-color:#c2b1ec36; color:#cebdec; border-radius:16px; }
.growth-entry { background:linear-gradient(135deg,#29334b,#20273b); border-color:#b5bce337; }
.growth-entry .space-entry-icon { background:#c9b5f215; border-color:#c4a7e744; color:#d8c4ef; }
.growth-entry .space-entry-label { color:#c0acd9; }
.resume-panel { background:linear-gradient(130deg,#f3f2fc,#e8edf5); color:#2e3650; border-color:#e9e9ff; padding:32px; border-radius:23px; }
.resume-panel h2 { color:#2c3550; }
.resume-panel .visibility-label { color:#657a7e; border-color:#b9cfd0; background:#d8e8e755; }
.resume-panel .resume-location,.resume-panel .resume-experience { color:#5e6b84; }
.resume-panel .resume-skills span { color:#526d6c; background:#d9e8e6; border-color:#bfd4d0; }
.resume-panel>.muted { color:#6f7e94; }
.resume-panel .button.quiet { color:#6b5e8c; }
.onboarding-reminder { background:linear-gradient(120deg,#3b335a70,#26334b70); border-color:#c4b3ef37; border-radius:17px; }
.onboarding-reminder p { color:#b5bed5; }
.notes-grid { gap:24px; }
.note-card { padding:24px; }
.note-kind { color:#c1b3e9; background:#bb9bf512; border-color:#c1abe635; border-radius:7px; }
.note-open h2 { color:#e4e2f5; }
.note-open p { color:#acb8d2; }
.note-card-top { color:#93a3c1; }
.note-actions { border-color:#b2bfe422; }
.space-export p { color:#a8b6d0; }
.detail-heading h1 { }
.detail-heading .summary { color:#afbbd2; }
.detail-cover { border-radius:23px; }
.detail-layout { gap:32px; }
.detail-actions { flex-wrap:wrap; }
.text-section p { color:#b6c0d8; }
.author-card-head p { color:#9daac6; }
.author-card>p,.ask-card p { color:#a9b6cf; }
.source-label { background:#b1ecdb0a; border-color:#a9dbce2b; color:#add7ce; }
.ask-answer { border-color:#aab9e72b; color:#d6dcef; }
.source-citation { color:#9daac9; }
.comments,.comment { border-color:#b2bbe522; }
.comment p { color:#bfc8de; }
.form-layout { gap:24px; }
.form-fields { gap:24px; }
.form-side { top:105px; }
.form-side p { color:#a7b4ce; }
.form-fields label>span { color:#dee1f2; }
.route-new>form>.form-actions,.route-edit>form>.form-actions { background:linear-gradient(transparent,#0b1020 22%); }
.studio-item { padding:24px; }
.studio-info p { color:#a7b5ce; }
.work-journal { border-color:#b3c0e226; }
.journal-section-heading .eyebrow { color:#bcade4; }
.journal-section-heading p { color:#abb8d1; }
.journal-timeline:before { background:linear-gradient(#c7b7fa,#718aa180); }
.journal-entry { border:1px solid #b6bde42a; background:linear-gradient(130deg,#232b42,#19243b); border-radius:20px; padding:24px; }
.journal-entry.private-entry { border-color:#b4a7de35; background:linear-gradient(120deg,#2c2942,#1c2439); }
.journal-point { background:#c2b1f9; border-color:#182038; box-shadow:0 0 0 1px #a99cce66; }
.private-entry .journal-point { background:#b8dccc; box-shadow:0 0 0 1px #92bba577; }
.journal-version-label { color:#d2c6ed; border-color:#b1a0cf3b; background:#bba0e912; }
.journal-entry h3 { color:#ece8f9; }
.journal-summary { color:#c1cbe0; }
.journal-contribution h4 { color:#beb1de; }
.journal-contribution p,.journal-facts>span:not(.ai-declaration-badge) { color:#acb9d0; }
.journal-private-notes,.journal-private-field { border-color:#b4a7da35; background:#b69ae70a; border-radius:12px; }
.journal-private-notes summary,.journal-private-heading h3 { color:#cec5e6; }
.journal-private-notes p { color:#c3bfd7; }
.journal-actions,.history-snapshot { border-color:#b1bee226; }
.journal-empty { border-color:#b0a2d448; background:linear-gradient(120deg,#a8a0d512,#869ac40a); border-radius:18px; }
.journal-empty h3 { color:#ded7f1; }
.journal-empty p { color:#aebbd0; }
.work-history>summary>span { color:#dfd9f4; }
.work-history>summary>small,.history-snapshot span { color:#a0afcd; }
.history-snapshot strong { color:#d0d4e8; }
.history-content-row dt { color:#b7a4da; }
.history-content-row dd { color:#cbd4e9; }

/* A private assistant, with editable memory and legible consent. */
.platform-assistant-card,.platform-assistant-empty { background:radial-gradient(ellipse at 13% 35%,#b3a8ed24,transparent 45%),linear-gradient(130deg,#222b44,#141e33); border-color:#b2b6e139; border-radius:25px; padding:32px; }
.agent-avatar.form-orb .avatar-core { inset:18%; border:1px solid #d8e3ff99; background:radial-gradient(circle at 30% 18%,#faffffcc,transparent 22%),radial-gradient(circle at 70% 75%,var(--avatar-light),transparent 65%),radial-gradient(circle at 27% 65%,#b8a3ea,transparent 60%),radial-gradient(circle at 52% 40%,#8293d455,#52557a88 60%,#d6c7ff 80%); box-shadow:0 0 18px #a7acdc33,inset -3px -4px 8px #c7e5ff77,inset 4px 2px 7px #eaddff88; }
.agent-avatar.form-orb .avatar-core::before { content:""; position:absolute; inset:0; background:radial-gradient(ellipse 4% 7% at 35% 47%,#323559 90%,transparent),radial-gradient(ellipse 4% 7% at 65% 47%,#323559 90%,transparent); }
.agent-avatar.form-orb .avatar-core::after { content:""; position:absolute; left:44%; top:57%; width:12%; height:9%; border:1px solid #394260; border-top:0; border-radius:0 0 10px 10px; }
.agent-avatar.form-orb .avatar-orbit { border-color:#c7b7ee77; box-shadow:none; opacity:.75; }
.platform-assistant-copy>p,.platform-assistant-empty p { color:#b5c0d7; }
.assistant-name-row h2 { }
.assistant-state { color:#c6ebdd; border-color:#a3cbb938; background:#a0dfc914; border-radius:7px; }
.assistant-state.paused { color:#d0c2e0; border-color:#bc9ec744; background:#a385ba14; }
.rules-badge { border-color:#bbb2e233; background:#bba1e610; color:#c8bfe0; border-radius:9px; padding:8px 8px; }
.assistant-boundaries h3 { color:#d8d3e9; }
.assistant-boundaries p { color:#a6b4ce; }
.assistant-learning { border-color:#aebbe72b; }
.learning-heading p { color:#a8b4ce; }
.learning-model-panel { background:linear-gradient(130deg,#242942,#19243a); border-color:#b4ace23b; border-radius:18px; }
.learning-model-status>strong { color:#d8d4ed; }
.learning-model-status>p,.learning-quota { color:#a6b2cf; }
.interview-panel { background:linear-gradient(135deg,#f4f2fc,#e7edf5); border-color:#f2edff; color:#2c3651; padding:32px; }
.interview-heading h3 { color:#313650; }
.interview-heading>span,.interview-prompt,.answer-count { color:#687593; }
.interview-panel label>span { color:#4e5b78; }
.interview-panel :is(input,textarea,select) { color:#3e4867; background:#ffffffb3; border-color:#ccd2e8; box-shadow:0 2px 5px #8292b708 inset; }
.interview-panel :is(input,textarea)::placeholder { color:#8993ad; }
.interview-panel .field-help,.memory-save-action>p { color:#73809a; }
.model-consent-area { border-color:#b6bdd75c; }
.interview-panel .model-consent strong { color:#5e527b; }
.interview-panel .model-consent .field-help { color:#707b97; }
.interview-panel .model-privacy-link { color:#796294; }
.interview-panel .button { box-shadow:none; }
.interview-panel .button.secondary { color:#5c5678; border-color:#bfc4dc; background:#e0dff0; }
.interview-panel .button.quiet { color:#6d6286; }
.interview-panel .button:disabled { opacity:.65; }
.interview-panel input[type=checkbox] { color-scheme:light; }
.interview-panel .form-error { background:#f0dfe8; color:#854661; border-color:#dbb4c6; }
.reflection-result { background:#e1deee; border-color:#c8c0df; border-radius:16px; }
.reflection-label { color:#78628e; }
.reflection-reply,.memory-proposal p { color:#58647d; }
.memory-proposal { border-color:#b9b5ce88; }
.memory-proposal strong { color:#6b6986; }
.memory-panel { padding:32px; }
.memory-panel-heading h3 { color:#ede7fa; }
.memory-panel-heading p { color:#a1aec9; }
.confirmed-memory { border-radius:15px; background:#bcadeb09; border-color:#bdb1de2d; padding:24px; }
.confirmed-memory>header h3 { color:#d5caed; }
.confirmed-memory time { color:#9ba5c0; }
.confirmed-memory-content { color:#b9c3d8; }
.memory-actions>.button { color:#c7b7ea; min-height:34px; }
.memory-empty { border-color:#ada9d640; background:radial-gradient(ellipse at 50% 0,#9087bd16,transparent 75%); border-radius:16px; }
.memory-empty h3 { color:#d0cce5; }
.memory-empty p { color:#9eacc8; }
.memory-scope-note p { color:#a1b0cc; }
.memory-scope-note strong { color:#ccd3e7; }

/* Account, moderation and safety are part of the same product. */
.account-summary,.account-form-panel,.mail-action-panel { border-radius:23px; }
.account-facts>div { border-color:#aebae425; }
.account-facts dt { color:#a2b0ca; }
.account-facts dd,.account-facts .account-email { color:#d7def0; }
.account-summary-note,.account-form-panel>p,.account-verification-note p,.account-mail-verification p,.mail-action-panel>p,.mail-request-status { color:#aab6cf; }
.account-verification-note,.account-mail-verification,.mail-token-details { border-color:#b6ace539; background:#a59ada0c; border-radius:16px; }
.safety-overview,.policy-document,.safety-acceptance,.message-policy-panel { padding:32px; border-radius:23px; }
.safety-overview { background:radial-gradient(ellipse at 100% 0,#b69cf126,transparent 70%),linear-gradient(130deg,#242d43,#182238); border-color:#bcaee23a; }
.safety-overview h2,.policy-document>h2,.safety-acceptance h2,.message-policy-panel h2 { color:#ece7fa; }
.safety-overview>p,.safety-acceptance>p,.message-policy-panel>p,.policy-sections section>p,.dialog .policy-sections section>p { color:#b2bed5; }
.policy-version { color:#a599c0; }
.policy-sections>section { border-color:#a9b9e328; padding-top:24px; margin-top:24px; }
.policy-sections h3 { color:#d6d2e9; }
.moderation-help,.moderation-notice { background:linear-gradient(120deg,#b7a2ec12,#96abd20c); border-color:#bba8dc38; border-radius:15px; }
.moderation-help>p,.moderation-help>div>p,.moderation-notice p { color:#b9bfd6; }
.moderation-notice strong { color:#d4cae8; }
.moderation-badge,.ai-declaration-badge { border-radius:7px; padding:4px 8px; }
.ai-declaration-badge { color:#d0c1ef; background:#c0a0fa10; border-color:#bb9de536; }
.moderation-badge.status-pending { color:#ead9b2; border-color:#c4ab623d; background:#d2b76c12; }
.moderation-badge.status-approved { color:#c1e7d9; border-color:#a9d5c337; background:#b0dfcd10; }
.review-reason { border-color:#c2a4d93b; background:#c6a5de0d; border-radius:13px; color:#d7c8e0; }
.review-details,.review-snapshot>div { border-color:#b1bee226; }
.review-snapshot dt { color:#b1a8ca; }
.review-snapshot dd { color:#c6cee0; }
.review-meta { color:#9daac6; }
.appeal-summary { border-color:#b4b0e238; background:#b2abe80c; border-radius:13px; }
.appeal-summary strong { color:#d1c6eb; }
.appeal-summary p { color:#b5bfd8; }

/* Adapt the same visual language; never shrink essential copy to fit a phone. */
@media(min-width:1500px) {
  .main { padding-left:56px; padding-right:56px; }
  .welcome-scene { min-height:370px; }
  .discovery-layout { grid-template-columns:minmax(0,1fr) 295px; gap:32px; }
}
@media(max-width:1190px) {
  .sidebar { width:202px; padding:32px 16px 24px; }
  .workspace { margin-left:200px; }
  .topbar { padding:0 32px; }
  .main { padding:0 32px 32px; }
  .breadcrumb>span { display:none; }
  .discovery-layout { grid-template-columns:minmax(0,1fr) 235px; gap:24px; }
  .welcome-scene { padding:32px; grid-template-columns:minmax(0,1fr) 240px; }
  .scene-title { }
  .scene-art::before { width:205px; height:205px; transform:translate(20px,10px); }
  .scene-art::after { width:280px; }
  .scene-art .ambient-orb { --orb-size:112px; }
  .interest-card { padding:16px; gap:8px; }
  .interest-card small { }
  .discovery-aside>section,.editorial-card { padding:24px; }
  .work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cover { height:215px; }
  .toast { left:calc(50% + 101px); }
}
@media(max-width:1000px) {
  .discovery-layout { grid-template-columns:minmax(0,1fr); }
  .discovery-aside { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .detail-layout,.form-layout,.account-layout { grid-template-columns:minmax(0,1fr); }
  .form-side { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .detail-aside { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .welcome-scene { grid-template-columns:minmax(0,1fr) 200px; padding:24px; }
  .scene-title { }
  .scene-art { min-height:240px; }
  .scene-art::before { width:190px; height:190px; }
  .interest-strip { gap:8px; }
  .interest-card { padding:16px 16px; align-items:flex-start; gap:8px; }
  .interest-card>svg { width:18px; height:18px; margin-top:3px; }
  .interest-card strong { }
  .interest-card small { }
  .inbox-layout { grid-template-columns:235px minmax(0,1fr); gap:16px; }
  .header-search { display:none; }
}
@media(max-width:800px) {
  .sidebar { width:82px; padding:24px 16px 24px; }
  .sidebar .brand { justify-content:center; }
  .sidebar .brand>span:last-child,.sidebar .brand-sub,.sidebar .nav-item>span,.sidebar .nav-label,.sidebar .utility-nav,.sidebar .side-bottom,.sidebar .sidebar-divider { display:none; }
  .sidebar .nav-links { margin-top:40px; }
  .sidebar .nav-item { padding:0; justify-content:center; height:49px; }
  .sidebar .nav-item.active::after { position:absolute; right:14px; }
  .workspace { margin-left:80px; }
  .topbar { height:74px; padding:0 24px; }
  .main { min-height:calc(100vh - 74px); padding:0 24px 32px; }
  .top-publish { min-height:37px; }
  .welcome-scene { margin-top:24px; min-height:330px; }
  .scene-description { }
  .scene-title { }
  .scene-actions { gap:8px; }
  .scene-actions>.button { padding:8px 16px; }
  .interest-card small { }
  .person-grid { grid-template-columns:1fr; }
  .inbox-layout { grid-template-columns:1fr; }
  .thread-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .chat-panel { max-height:none; }
  .toast { left:calc(50% + 41px); }
}
@media(max-width:620px) {
  html { scroll-padding-top:85px; }
  .sidebar { display:none; }
  .workspace { margin-left:0; }
  .topbar { height:69px; padding:0 24px; background:#0e1425eb; border-bottom-color:#bdc4ed19; }
  .mobile-brand { display:flex; gap:8px; }
  .mobile-brand .brand-english { }
  .mobile-brand>span:last-child { gap:4px; }
  .mobile-brand .brand-mark { width:31px; height:31px; border-radius:10px; }
  .mobile-brand .brand-mark svg { width:23px; height:23px; }
  .breadcrumb { display:none; }
  .top-actions { gap:8px; }
  .top-actions>.button { padding:8px 8px; border-radius:11px; min-height:36px; }
  .top-publish { width:35px; padding:8px !important; gap:0; }
  .top-publish svg { width:17px; height:17px; }
  .top-user .avatar { width:33px; height:33px; }
  .main { padding:0 16px calc(104px + env(safe-area-inset-bottom)); min-height:calc(100dvh - 69px); }
  .bottom-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); height:calc(72px + env(safe-area-inset-bottom)); padding:8px 8px env(safe-area-inset-bottom); border-top:1px solid #bdc4ed26; background:#0d1426f2; backdrop-filter:blur(22px); box-shadow:0 -7px 25px #05071342; }
  .bottom-nav a { color:#a3aecb; min-height:51px; gap:8px; border-radius:15px; }
  .bottom-nav a svg { width:22px; height:22px; }
  .bottom-nav a.active { color:#c1f0e7; background:radial-gradient(ellipse at 50% 0,#aeddec14,transparent 72%); }
  .bottom-nav a.active svg { filter:drop-shadow(0 0 6px #97d6dc55); }
  .bottom-nav .nav-unread { top:3px; right:calc(50% - 25px); background:#c6b2ff; color:#423260; }
  .welcome-scene { display:block; margin:16px 0 16px; min-height:260px; padding:16px 24px; border-radius:25px; background-position:center,64% center; background-image:linear-gradient(90deg,#11182eea 0%,#11182ecc 40%,#11182e66 75%,#11182e33),url('./assets/yopori-horizon.webp'); }
  .welcome-scene::before { opacity:.75; }
  .scene-copy { max-width:100%; }
  .scene-eyebrow { }
  .scene-title { margin:16px 0 16px; max-width:92%; }
  .scene-description { max-width:100%; }
  .scene-actions { margin-top:16px; gap:8px; }
  .scene-actions>.button { min-height:41px; padding:8px 16px; }
  .scene-caption { display:none; }
  .scene-art { position:absolute; right:18px; bottom:19px; min-height:0; width:150px; height:20px; margin:0; }
  .scene-orbit-label { right:0; bottom:0; opacity:.7; }
  .scene-art::before { width:157px; height:157px; transform:translate(27px,8px); }
  .scene-art::after { width:250px; height:74px; transform:rotate(-21deg) translate(20px,4px); }
  .scene-art .ambient-orb { --orb-size:83px; }
  .welcome-scene.returning { min-height:220px; padding:24px; }
  .welcome-scene.returning .scene-title { margin:16px 0; }
  .welcome-scene.returning .scene-art { min-height:0; }
  .welcome-scene.returning .scene-description { max-width:270px; }
  .interest-strip { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:16px; }
  .interest-card { display:flex; flex-direction:row; align-items:center; justify-content:center; gap:8px; padding:8px 8px; border-radius:13px; min-height:44px; }
  .interest-card>svg:last-child { display:none; }
  .interest-card>svg { width:21px; height:21px; margin:0; }
  .interest-icon { width:20px; height:20px; border-radius:0; background:none !important; border:0; }
  .interest-icon svg { width:17px; height:17px; }
  .interest-card strong { white-space:nowrap; }
  .interest-card small { display:none; }
  .section-tabs,.discovery-tabs { margin-bottom:16px; padding:4px; gap:3px; border-radius:13px; }
  .section-tabs a,.section-tabs button,.discovery-tabs a { padding:8px 16px; min-height:38px; }
  .discovery-aside { grid-template-columns:1fr; gap:16px; }
  .discovery-aside>section,.editorial-card { border-radius:20px; padding:24px; }
  .discovery-layout { gap:24px; }
  .section-kicker { flex-direction:column; align-items:flex-start; gap:16px; margin-bottom:16px; }
  .section-kicker h2 { gap:8px; }
  .section-kicker h2 span { }
  .searchbox { width:100%; }
  .searchbox input { min-height:43px; }
  .searchbox svg { top:13px; }
  .route-discover .discover-toolbar .section-kicker { flex-direction:row; align-items:center; gap:16px; margin-bottom:16px; }
  .route-discover .discover-toolbar .section-kicker h2 { gap:8px; flex-shrink:0; }
  .route-discover .discover-toolbar .section-kicker h2 span { }
  .route-discover .discover-toolbar .searchbox { width:auto; min-width:0; flex:1; }
  .route-discover .discover-toolbar .searchbox input { padding-right:8px; }
  .filters-row { align-items:flex-start; flex-direction:column; gap:8px; }
  .categories { gap:8px; flex-wrap:nowrap; overflow-x:auto; max-width:100%; padding:3px 0 8px; scrollbar-width:thin; }
  .category { flex-shrink:0; min-height:37px; padding:8px 16px; }
  .sort { align-self:flex-end; }
  .work-grid,.discovery-layout .work-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
  .work-card { border-radius:22px; }
  .cover { height:240px; }
  .cover .cover-word { bottom:20px; left:23px; }
  .card-content { padding:0 24px 16px; }
  .card-meta { margin-top:16px; }
  .card-meta h3 { }
  .card-description { min-height:0; margin:8px 0 16px; }
  .card-footer { }
  .card-cover-tag { top:15px; left:17px; padding:8px 8px; }
  .page-head { padding:32px 0 24px; align-items:flex-start; flex-wrap:wrap; gap:16px; }
  .page-head h1 { }
  .page-head p { }
  .page-head .eyebrow { }
  .page-head .button { min-height:40px; }
  .panel { padding:24px; border-radius:21px; }
  .empty-state { padding:48px 16px; }
  .empty-state h2 { }
  .empty-state p { }
  .empty-state .button { max-width:100%; white-space:normal; }
  .preview-note { padding:16px; border-radius:13px; }
  .page-footer { gap:16px 16px; }
  .page-footer>a { }
  .dialog { width:calc(100vw - 24px); max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); border-radius:24px; }
  .dialog-inner,.auth-dialog .dialog-inner,.journal-editor-dialog .dialog-inner { padding:24px 24px; }
  .dialog-header h2,.auth-dialog .dialog-header h2 { }
  .dialog p { }
  .dialog :is(input,textarea,select),.auth-dialog input { }
  .dialog .field-help,.auth-dialog .field-help { }
  .dialog .dialog-actions { flex-wrap:wrap; }
  .dialog .button { min-height:42px; }
  .dialog .password-toggle { min-height:32px; }
  .auth-layout { grid-template-columns:1fr; gap:24px; }
  .auth-story { display:grid; grid-template-columns:46px minmax(0,1fr); padding:16px; gap:8px 16px; margin:0; min-height:0; }
  .auth-story .ambient-orb { --orb-size:45px; grid-column:1; grid-row:1 / span 2; margin:3px 0 0; }
  .auth-story .eyebrow { display:none; }
  .auth-story h3 { grid-column:2; margin:0; }
  .auth-story p { grid-column:2; margin:0; }
  .auth-story strong { }
  .auth-story p { }
  .registration-policy .policy-consent>span { }
  .welcome-header h1 { }
  .welcome-header p { }
  .welcome-progress li { padding:16px 8px; gap:8px; }
  .welcome-progress strong { }
  .welcome-progress li>span { width:22px; height:22px; flex-shrink:0; }
  .welcome-panel { padding:24px 24px; }
  .welcome-panel-heading h2 { }
  .welcome-panel-heading p { }
  .welcome-panel form :is(input,textarea,select) { }
  .welcome-secondary-actions { flex-wrap:wrap; }
  .welcome-summary strong { }
  .visibility-note,.data-privacy { border-radius:14px; padding:16px; }
  .data-privacy p,.data-privacy strong { }
  .community-composer { padding:24px; border-radius:22px; }
  .compose-drawer { margin-bottom:24px; }
  .compose-drawer>summary { padding:16px; gap:8px; }
  .compose-drawer>summary>.avatar { width:32px; height:32px; }
  .compose-drawer-action { padding:8px 8px; gap:8px; }
  .compose-drawer-action svg { width:12px; height:12px; }
  .community-composer-heading h2 { }
  .community-composer-heading p { }
  .community-composer textarea { min-height:120px; }
  .community-compose-footer { gap:16px; flex-wrap:wrap; }
  .community-compose-footer label>span { }
  .community-compose-footer select { padding:8px; }
  .community-compose-footer>.button { min-height:42px; margin-left:auto; }
  .community-composer>.ai-declaration-field>span { }
  .community-composer>.ai-declaration-field select { }
  .discussion-prompts>.button { min-height:35px; }
  .community-post { padding:24px; }
  .community-post-body { margin:24px 0; }
  .community-author strong { }
  .community-author time { }
  .community-post-header>.button { min-height:36px; }
  .community-post-actions>.button { min-height:37px; }
  .community-attached-work { padding:8px; gap:8px; border-radius:14px; }
  .community-attached-work strong { }
  .community-attached-work p { }
  .community-attached-work small { }
  .community-comments-list { gap:16px; }
  .community-comment>p { }
  .community-comment-form textarea { }
  .thread-list { grid-template-columns:1fr; gap:8px; }
  .thread-item { padding:16px; border-radius:17px; }
  .chat-panel { padding:24px; min-height:480px; border-radius:23px; max-height:none; }
  .message-body { padding:16px 16px; }
  .reply-form { gap:8px; }
  .reply-form textarea { min-height:78px; }
  .reply-form .button { padding:8px 16px; min-height:44px; }
  .route-inbox.has-thread>.page-head { padding:16px 0 16px; gap:16px; align-items:center; flex-wrap:nowrap; }
  .route-inbox.has-thread>.page-head h1 { }
  .route-inbox.has-thread>.page-head .eyebrow,.route-inbox.has-thread>.page-head p { display:none; }
  .route-inbox.has-thread>.page-head>.button { min-height:34px; padding:8px 8px; }
  .route-inbox.has-thread>.inbox-sync-bar { margin:0 0 16px; }
  .route-inbox.has-thread .inbox-sync-status { }
  .route-inbox.has-thread .thread-list { display:none; }
  .route-inbox.has-thread .chat-panel { min-height:420px; height:calc(100dvh - 245px - env(safe-area-inset-bottom)); max-height:750px; padding:16px; display:flex; flex-direction:column; }
  .route-inbox.has-thread .chat-head { flex-shrink:0; padding:0 0 16px; }
  .route-inbox.has-thread .chat-head h2 { }
  .route-inbox.has-thread .chat-head p { }
  .route-inbox.has-thread .chat-back { margin-bottom:8px; }
  .route-inbox.has-thread .message-list { flex:1 1 auto; min-height:100px; overflow-y:auto; padding:16px 0; }
  .route-inbox.has-thread .reply-form { flex-shrink:0; padding-top:16px; margin-top:0; }
  .route-inbox.has-thread .reply-form textarea { min-height:67px; max-height:125px; }
  .route-inbox.has-thread .message-meta { }
  .profile-hero { grid-template-columns:62px minmax(0,1fr); padding:24px 24px; margin:24px 0; gap:16px; }
  .profile-hero .avatar.large { width:62px; height:62px; border-radius:20px; }
  .profile-hero h1 { }
  .profile-hero p,.profile-info .profile-headline { }
  .profile-hero .handle { }
  .profile-hero .profile-eyebrow { }
  .profile-hero>.button { grid-column:1/-1; margin:0; min-height:40px; }
  .profile-contact-actions { grid-column:1/-1; gap:8px; }
  .profile-contact-actions .button { min-height:39px; }
  .profile-relationships { }
  .profile-menu .button { min-height:39px; padding:8px 8px; }
  .growth-dashboard { grid-template-columns:1fr; gap:16px; }
  .growth-dashboard .space-entry,.space-entry { padding:24px; border-radius:20px; }
  .growth-dashboard .space-entry p,.space-entry p { }
  .resume-panel { padding:24px; }
  .resume-panel .section-kicker { align-items:center; flex-wrap:wrap; gap:8px; }
  .resume-panel h2 { }
  .resume-panel .resume-experience { }
  .resume-skills span { }
  .notes-grid { grid-template-columns:1fr; }
  .note-card { padding:24px; }
  .note-open p { }
  .note-card-top { }
  .notes-toolbar>select { }
  .notes-toolbar>span { }
  .space-export p { }
  .detail-heading { flex-wrap:wrap; margin-top:24px; gap:16px; }
  .detail-heading h1 { }
  .detail-heading .summary { }
  .detail-actions .button { min-height:41px; }
  .detail-cover { border-radius:21px; }
  .detail-cover .cover { height:280px; }
  .detail-aside,.form-side { grid-template-columns:1fr; }
  .text-section p { }
  .form-fields :is(input,textarea,select) { }
  .form-fields label>span { }
  .route-new>form>.form-actions,.route-edit>form>.form-actions { bottom:calc(72px + env(safe-area-inset-bottom)); padding:16px 0 16px; gap:8px; flex-wrap:wrap; }
  .route-new>form>.form-actions .button,.route-edit>form>.form-actions .button { min-height:43px; padding:8px 16px; }
  .studio-item { padding:16px; border-radius:19px; }
  .studio-info p { }
  .studio-actions .button { min-height:38px; }
  .journal-section-heading h2 { }
  .journal-section-heading p { }
  .journal-entry { padding:24px; border-radius:19px; }
  .journal-entry h3 { }
  .journal-summary { }
  .journal-contribution p { }
  .journal-actions>.button { min-height:37px; }
  .journal-private-notes summary,.journal-private-notes p { }
  .journal-empty { padding:24px 24px; }
  .journal-empty p { }
  .journal-form .field-help { }
  .journal-form label>span { }
  .journal-form :is(input,textarea,select) { }
  .journal-export p { }
  .history-content-row dt { }
  .history-content-row dd { }
  .platform-assistant-card,.platform-assistant-empty { padding:24px 24px; border-radius:24px; }
  .platform-assistant-visual>.agent-avatar { --avatar-size:100px; }
  .assistant-name-row h2 { }
  .platform-assistant-copy>p,.platform-assistant-empty p { }
  .platform-assistant-copy>.field-help { }
  .platform-assistant-copy .form-actions { gap:8px; }
  .platform-assistant-copy .button { min-height:40px; }
  .assistant-boundaries p { }
  .rules-badge { }
  .learning-heading h2 { }
  .learning-heading p { }
  .learning-model-panel { padding:24px; }
  .learning-model-status>p,.learning-quota { }
  .interview-panel,.memory-panel { padding:24px 24px; }
  .interview-heading h3,.memory-panel-heading h3 { }
  .interview-panel label>span { }
  .interview-panel select,.interview-panel textarea { }
  .interview-prompt { }
  .memory-save-action>p,.model-consent .field-help { }
  .model-consent strong { }
  .reflection-reply { }
  .memory-proposal p { }
  .confirmed-memory { padding:16px; }
  .confirmed-memory-content { }
  .confirmed-memory>header h3 { }
  .memory-panel-heading p { }
  .memory-actions>.button { min-height:37px; }
  .memory-scope-note p { }
  .memory-empty p { }
  .safety-overview,.policy-document,.safety-acceptance,.message-policy-panel { padding:24px 24px; border-radius:21px; }
  .safety-overview h2,.policy-document>h2,.safety-acceptance h2,.message-policy-panel h2 { }
  .safety-overview>p,.safety-acceptance>p,.message-policy-panel>p,.policy-sections section>p,.dialog .policy-sections section>p { }
  .policy-sections h3 { }
  .policy-version { }
  .moderation-help>p,.moderation-help>div>p,.moderation-notice p { }
  .moderation-badge,.ai-declaration-badge { }
  .review-item { padding:24px; }
  .review-item h2 { }
  .review-meta { }
  .review-snapshot>div { grid-template-columns:1fr; }
  .review-snapshot dd { }
  .review-snapshot dt { }
  .account-summary,.account-form-panel,.mail-action-panel { padding:24px 24px; }
  .account-summary-note,.account-form-panel>p,.account-verification-note p,.account-mail-verification p,.mail-action-panel>p,.mail-request-status { }
  .account-email-form input,.mail-action-form input { }
  .toast { left:50%; bottom:calc(86px + env(safe-area-inset-bottom)); max-width:calc(100vw - 30px); }
}
@media(max-width:374px) {
  .main { padding-left:16px; padding-right:16px; }
  .topbar { padding:0 16px; }
  .welcome-scene { padding:16px 24px; }
  .scene-title { max-width:100%; }
  .scene-actions>.button { padding:8px 8px; }
  .interest-strip { gap:8px; }
  .interest-card { padding:8px 8px; gap:4px; }
  .interest-card strong { }
  .profile-hero { padding:24px 16px; gap:16px; }
  .profile-hero h1 { }
  .dialog-inner,.auth-dialog .dialog-inner { padding:24px 24px; }
  .card-content { padding-left:16px; padding-right:16px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .cover-link:hover .cover { transform:none; }
}


/* Calm editorial rhythm. Typography is centralized here so the legacy route
   stylesheet cannot reintroduce tiny mobile labels or conflicting line heights. */
:root {
  --font-ui:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  --font:var(--font-ui);
  --bg:#0c101b; --surface:#141b2b; --raised:#1c2538;
  --text:#f0f2fa; --muted:#a8b3ca; --line:#293247;
  --accent:#c4b5fa; --mint:#b9e5d7; --lavender:#c4b5fa;
  --soft-text:#cbd3e4; --glass:var(--surface); --shadow:none; --radius:16px;
  --space-1:8px; --space-2:16px; --space-3:24px; --space-4:32px;
  --radius-control:10px; --radius-panel:16px;
}
body { font-family:var(--font); font-size:15px; line-height:1.65; color:var(--text); background:var(--bg); -webkit-font-smoothing:antialiased; }
html { scrollbar-color:#4c5670 var(--bg); scrollbar-width:thin; }
input,textarea { caret-color:var(--mint); }
::selection { background:#615081; color:#fff; }
a { text-underline-offset:.22em; }
button,summary,a { -webkit-tap-highlight-color:transparent; }
.button svg { width:18px; height:18px; flex:0 0 auto; }
:is(button,.button):disabled { opacity:.5; cursor:not-allowed; }
:is(input,textarea,select)::placeholder { color:#98a6bf; opacity:1; }
:is(button,a,input,textarea,select,summary):focus-visible { outline:2px solid var(--mint); outline-offset:4px; }
.form-error:empty { display:none; }
.eyebrow { display:none; }
#dialogs .form-error { font-size:14px; line-height:1.6; }
#app .card-stats svg { width:17px; height:17px; }
body::before { display:none; }
#app,#dialogs { font-family:var(--font); font-size:15px; line-height:1.6; letter-spacing:normal; }
#app :where(*),#dialogs :where(*) { font-family:inherit; font-size:inherit; line-height:inherit; letter-spacing:normal; }
#app :is(h1,h2,h3,h4),#dialogs :is(h1,h2,h3,h4) { font-weight:600; line-height:1.35; letter-spacing:normal; }
#app h1,#dialogs h1 { font-size:32px; }
#app h2,#dialogs h2 { font-size:24px; }
#app h3,#dialogs h3 { font-size:18px; }
#app h4,#dialogs h4 { font-size:15px; }
#app :is(p,dd),#dialogs :is(p,dd) { font-size:15px; line-height:1.75; }
#app :is(small,time,dt,.field-help,.inline-note,.small-text,.eyebrow,.profile-eyebrow,.handle,.tag,.example-tag,.card-footer,.source-label,.source-citation,.preview-note,.local-badge,.visibility-label,.space-entry-label,.rules-badge,.person-type,.model-state,.memory-count,.answer-count,.model-privacy-link,.learning-quota,.moderation-badge,.ai-declaration-badge,.policy-version,.review-meta,.journal-version-label,.note-card-top,.note-kind,.inbox-sync-status,.message-meta,.page-footer),
#dialogs :is(small,time,dt,.field-help,.inline-note,.eyebrow,.small-text,.auth-switch,.auth-local-note,.model-state,.policy-version,.moderation-badge,.ai-declaration-badge) { font-size:13px; line-height:1.6; }
#app :is(input,textarea,select),#dialogs :is(input,textarea,select) { font-size:15px; line-height:1.6; }
#app :is(label,summary),#dialogs :is(label,summary) { font-size:14px; line-height:1.6; }
#app :is(button,.button),#dialogs :is(button,.button) { font-size:14px; font-weight:500; line-height:1.4; }
#app :is(.card-meta h3,.studio-info h3,.person-identity h3,.note-open h2,.space-entry h2,.chat-head h2) { font-size:18px; line-height:1.45; }
#app :is(.panel h2,.journal-section-heading h2,.learning-heading h2,.section-kicker h2,.community-toolbar h2,.review-toolbar h2) { font-size:24px; }
#app .section-kicker h2 { align-items:center; }
#app .section-kicker h2>span { font-size:13px; font-weight:400; line-height:1.6; margin-left:4px; }
#app :is(.card-description,.person-bio,.community-post-body,.comment p,.community-comment>p,.message-body,.confirmed-memory-content,.resume-experience,.journal-summary,.journal-contribution p,.reflection-reply) { font-size:16px; line-height:1.75; }
#app .brand { font-size:26px; line-height:1.2; }
#app .brand-english { font-size:13px; line-height:1.2; }
#app .avatar { font-size:14px; font-weight:600; }
#app .avatar.large { font-size:24px; }
#app .scene-title { font-size:40px; line-height:1.25; font-weight:600; }
#app .scene-description { font-size:16px; line-height:1.6; }
#app .timer-clock { font-size:72px; line-height:1.3; font-variant-numeric:tabular-nums; }
#app .focus-circle { font-size:34px; font-weight:300; }
#app .custom-art { font-size:104px; }
#app .decision-shape { font-size:34px; }
#app .shape-star { font-size:88px; }
#app .nav-unread,#app .thread-unread { font-size:13px; line-height:1; min-width:20px; height:20px; }

/* Fewer framed layers: content owns the emphasis. */
.sidebar { background:#101624; border-color:#222b3d; padding:32px 20px; }
.sidebar .brand { margin-bottom:40px; }
.brand-mark { box-shadow:none; border:0; border-radius:12px; }
.nav-links { gap:8px; }
.nav-item { border:0; border-radius:12px; height:48px; }
.nav-item.active { background:#262a40; color:#e0d6ff; border:0; box-shadow:none; }
.nav-item.active::after { display:none; }
.sidebar-divider { margin:24px 0 16px; }
.utility-nav { margin-top:0; gap:8px; }
.utility-nav a { padding:8px 16px; min-height:40px; }
.side-footer { border:0; }
.topbar { height:72px; padding:0 40px; background:#0c101bf2; border-color:#222b3d; backdrop-filter:blur(12px); }
.top-actions { gap:16px; }
.breadcrumb b { color:#cbd3e5; }
.main { max-width:1280px; padding:0 40px 40px; margin-inline:auto; min-height:calc(100vh - 72px); }
.page-head { padding:36px 0 28px; gap:24px; align-items:center; }
.page-head p { margin-top:8px; max-width:720px; }
.page-head .eyebrow { margin-bottom:8px; }
.eyebrow::before { display:none; }
.button,.button.small { border-radius:var(--radius-control); min-height:44px; padding:11px 16px; box-shadow:none; }
.button { background:var(--accent); border-color:transparent; color:#24223a; }
.button:hover { background:#c9bdf8; box-shadow:none; }
.button.secondary { background:#a8b5d20a; border-color:#aebada38; color:#d3dbea; box-shadow:none; }
.button.quiet { border-color:transparent; background:none; padding-left:8px; padding-right:8px; }
.top-publish { min-height:40px; padding:8px 16px; }
input,textarea,select { border-radius:var(--radius-control); padding:12px 16px; min-height:48px; box-shadow:none; background:#101624; border-color:#344057; }
input[type=checkbox],input[type=radio] { min-height:0; }
.password-control input { padding-right:72px; }
.password-toggle.button { min-height:36px; padding:8px; }
.panel,.person-card,.note-card,.community-post,.studio-item,.review-item,.space-entry,.work-card,.journal-entry,.community-composer,.compose-drawer { background:var(--surface); border-color:#a5b6da24; border-radius:16px; box-shadow:none; }
.panel,.person-card,.note-card,.community-post,.review-item,.journal-entry { padding:24px; }
.panel h2,.panel h3 { margin-top:0; }
.form-fields,.dialog form,.journal-form,.mail-action-form,.message-policy-form { gap:24px; }
.form-layout,.detail-layout,.learning-grid,.account-layout { gap:24px; }
.field-row { gap:16px; }
.field-help { margin-top:8px; }
.form-actions,.dialog-actions,.review-actions,.memory-actions { gap:8px; margin-top:24px; }
.tag,.person-keywords>span,.resume-skills span,.example-tag,.visibility-label,.moderation-badge,.ai-declaration-badge,.note-kind { border-radius:8px; padding:4px 8px; }
.example-tag { border:0; color:#aeb8ce; background:#9fafca0b; }
.tags,.content-declarations { gap:8px; }
.empty-state { padding:48px 24px; }
.empty-state .empty-icon { width:56px; height:56px; border:0; border-radius:16px; background:#b8a9ee12; box-shadow:none; margin-bottom:24px; }
.empty-state p { margin:16px auto 24px; }
.page-footer { padding:24px 0 0; gap:16px; margin-top:32px; border-color:#a5b6da19; color:#929fb9; }
.page-footer>a { color:#b2bdd2; }

/* Discovery starts with the work, not several stacked navigation systems. */
.welcome-scene,.welcome-scene.returning { display:block; min-height:0; padding:32px; margin:24px 0 32px; border-radius:16px; border:0; box-shadow:none; background-image:linear-gradient(90deg,#111a2be8,#111a2b9c 55%,#111a2b2d),url('./assets/yopori-horizon.webp'); }
.welcome-scene::before { display:none; }
.scene-title,.welcome-scene.returning .scene-title { margin:0 0 16px; }
.scene-description { max-width:600px; margin:0; }
.discovery-layout { display:block; }
.discovery-layout .work-grid,.work-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.discover-toolbar .section-kicker { display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:24px; margin-bottom:16px; }
.section-kicker h2 { gap:8px; }
.searchbox { width:300px; }
.searchbox input { min-height:44px; border-radius:12px; padding:10px 16px 10px 40px; }
.searchbox svg { left:16px; top:14px; width:16px; height:16px; }
.filters-row { gap:16px; margin-bottom:24px; }
.categories { gap:8px; flex-wrap:wrap; }
.category { min-height:40px; padding:8px 12px; border-radius:8px; }
.category.active { border-color:transparent; background:#b5a2ef15; }
.sort { min-height:40px; padding:8px; width:auto; max-width:140px; }
.work-card:hover { box-shadow:0 12px 28px #02050b33; border-color:#65708c; }
.cover { height:216px; }
.cover-link:hover .cover { transform:none; }
.work-card { display:flex; flex-direction:column; }
.card-content { padding:0 20px 20px; display:flex; flex-direction:column; flex:1; }
.card-example-label { position:absolute; left:16px; bottom:16px; padding:4px 10px; border-radius:8px; background:#142034e6; color:#e0e6f2; }
#app .card-example-label { font-size:13px; line-height:1.6; }
.card-meta { min-height:52px; }
.card-footer { margin-top:auto; }
.card-meta { margin-top:20px; gap:12px; align-items:flex-start; }
.card-meta h3 { white-space:normal; overflow:visible; text-overflow:clip; text-wrap:balance; }
.card-description { margin:12px 0 20px; min-height:56px; color:#b4bfd5; }
.card-footer { padding-top:16px; border-color:#a5b6da19; align-items:center; gap:8px; }
.author-link { gap:8px; }
.author-link .avatar { width:28px; height:28px; }
.bookmark-mini { width:40px; height:40px; border-radius:8px; padding:8px; }
.card-cover-tag { top:16px; left:16px; padding:4px 10px; border-radius:8px; background:#f7f6fce8; color:#344057; }
.card-cover-action { width:32px; height:32px; right:16px; bottom:16px; box-shadow:none; }

/* Form and account rhythm, without another promotional panel. */
.auth-dialog { width:calc(100vw - 32px); max-width:480px; }
.auth-layout { display:block; }
.auth-form-body { width:100%; }
.dialog { background:#181f30; border:0; border-radius:20px; box-shadow:0 24px 80px #0007; }
.dialog-inner { padding:32px; }
.dialog-header { margin-bottom:24px; }
.dialog-close { width:44px; height:44px; flex:0 0 44px; border:0; border-radius:10px; background:#252e43; color:#d1d9ec; }
.dialog::backdrop { background:#050919bf; backdrop-filter:blur(5px); }
.auth-switch { padding-top:24px; margin-top:24px; border-color:#a5b6da26; }
.registration-policy { padding-top:16px; }
.registration-policy .policy-consent { margin:0; }
.registration-policy>.button { padding-left:24px; margin-top:8px; }
.auth-public-id { padding:16px 0; }
.auth-recovery-link { margin-top:8px; }
.auth-local-note { margin-top:16px; }
.welcome-progress { background:none; border:0; border-bottom:1px solid var(--line); border-radius:0; margin:0 0 24px; }
.welcome-progress li { padding:16px 8px; gap:12px; min-width:0; }
.welcome-progress li+li { border:0; }
.welcome-progress li.active { background:none; color:#d4c9fb; }
.welcome-panel { padding:32px; }
.welcome-panel-heading { margin-bottom:24px; }
.welcome-panel-heading h2 { margin:8px 0; }
.welcome-summary>div { padding:16px 0; }
.onboarding-reminder { background:#192233; border:0; border-radius:10px; padding:12px 16px; margin-bottom:24px; }
.profile-hero { background:linear-gradient(110deg,#20283d,var(--surface)); border:0; padding:32px; margin:28px 0 20px; border-radius:16px; color:var(--text); gap:24px; }
.profile-hero h1 { color:var(--text); }
.profile-hero p,.profile-info .profile-headline { color:#b9c3d8; }
.profile-hero .handle,.profile-eyebrow { color:#9ba8c1; }
.profile-hero .button.secondary { background:transparent; border-color:#aab8da38; color:#d1d9ec; }
.profile-hero .button.quiet { color:#b6c3da; }
.profile-hero .avatar.large { width:80px; height:80px; border:0; border-radius:24px; box-shadow:none; }
.profile-relationships { padding-bottom:16px; margin-bottom:24px; gap:24px; }
.space-dashboard,.growth-dashboard { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
.space-entry,.growth-dashboard .space-entry { padding:24px; gap:16px; flex-wrap:nowrap; }
.space-entry-icon { width:40px; height:40px; border:0; border-radius:12px; background:#b7a5f013; }
.space-entry-icon svg { width:24px; height:24px; }
.space-entry h2,.growth-dashboard .space-entry h2 { margin:0; }
.space-entry p,.growth-dashboard .space-entry p { margin-top:4px; }
.growth-dashboard .space-entry>div:not(.agent-avatar) { min-width:0; }
.space-entry>.agent-avatar { --avatar-size:56px; margin:-8px; }
.resume-panel { background:var(--surface); color:var(--text); border:1px solid var(--line); border-radius:16px; padding:24px; }
.resume-panel h2 { color:var(--text); }
.resume-panel .resume-location,.resume-panel .resume-experience,.resume-panel>.muted { color:#b4c1d8; }
.resume-panel .visibility-label { color:#adbfcc; border:0; background:none; padding:0; }
.resume-panel .resume-skills span { color:#b7d9d0; background:#abdacb0b; border:0; }
.resume-panel .button.quiet { color:#baa7e4; }
.route-me>.moderation-help>div { display:flex; flex-wrap:wrap; align-items:center; gap:4px 16px; }
.route-me>.moderation-help p { margin:0; }
.route-me>.moderation-help .button { min-height:32px; padding:4px 8px; }
.profile-settings { border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin:0 0 28px; }
.profile-settings>summary { display:flex; align-items:center; gap:12px; padding:18px 0; list-style:none; cursor:pointer; color:var(--soft-text); }
.profile-settings>summary::-webkit-details-marker { display:none; }
.profile-settings>summary>svg { width:18px; height:18px; }
.profile-settings>summary>svg:last-child { margin-left:auto; transition:transform .18s; }
.profile-settings[open]>summary>svg:last-child { transform:rotate(90deg); }
.profile-menu { gap:8px; margin:0; padding:0 0 20px; }
.profile-menu .button.secondary { border-color:transparent; background:#1b2436; }
.profile-menu .button { min-height:44px; }
.note-card-top { gap:8px; }
.note-open { padding:16px 0; }
.note-open p { margin-top:8px; }
.notes-grid { gap:24px; }
.notes-toolbar { margin:24px 0; gap:16px; }
.space-export { border:0; background:none; padding:24px 0; }

/* The same text and spacing system applies to every secondary route. */
.route-community { max-width:1040px; }
.community-column { max-width:none; width:100%; margin:0; }
.community-toolbar { gap:24px; margin:24px 0 20px; }
.community-toolbar .discovery-tabs { margin:0; padding:4px; background:#151d2e; border:0; border-radius:12px; }
.community-toolbar .searchbox { width:280px; max-width:50%; }
.community-toolbar .discovery-tabs a { padding:10px 20px; min-height:44px; }
.discovery-tabs a.active { background:#293348; color:#ebedf9; box-shadow:none; }
.community-post { background:none; border:0; border-bottom:1px solid var(--line); border-radius:0; }
.community-post .content-declarations { margin-top:16px; }
.community-post .ai-declaration-badge { background:#192336; border:0; color:#b8c5db; }
.community-post .moderation-badge { border:0; }
.community-feed { border-top:1px solid var(--line); }
.compose-drawer>summary>svg { margin-left:auto; width:20px; height:20px; }
.compose-drawer>summary:hover { background:#202b3f; }
#app .community-post-body { max-width:46em; font-size:16px; line-height:1.85; }
.community-author .avatar { width:42px; height:42px; }
#app .community-author strong { font-size:15px; }
.community-feed { gap:0; }
.review-list { gap:24px; }
.compose-drawer { margin-bottom:24px; }
.compose-drawer>summary { padding:16px 24px; gap:16px; }
.compose-drawer-action { border:0; padding:8px; }
.community-composer { padding:24px; }
.community-composer-heading { margin-bottom:24px; }
.community-composer textarea { min-height:120px; padding:16px; }
.community-post-body { margin:20px 0 12px; }
.community-post-header { gap:16px; }
.community-attached-work { background:#222d42; border:0; padding:16px; border-radius:12px; color:#e3e8f5; }
.community-attached-work p,.community-attached-work small { color:#b0bdd4; }
.community-post-actions { gap:16px; padding-top:12px; border:0; }
.community-post-actions>.button { min-height:44px; }
.community-comments { margin-top:16px; padding-top:24px; }
.community-comments-list { gap:24px; }
.comment-author { gap:8px; }
.community-comment>p { margin:8px 0 8px 33px; }
.inbox-layout { gap:24px; }
.thread-item { background:var(--surface); border:0; border-radius:12px; padding:16px; }
.thread-item.active { background:#2c2d49; border:0; }
.chat-panel { background:var(--surface); border-radius:16px; }
.chat-head { padding-bottom:16px; }
.chat-back { margin-bottom:16px; }
.message-body { padding:12px 16px; border-radius:16px 16px 16px 4px; box-shadow:none; }
.message.mine .message-body { border-radius:16px 16px 4px 16px; }
.message-meta { gap:8px; margin-top:8px; }
.reply-form { gap:16px; padding-top:16px; }
.reply-form textarea { border-radius:12px; padding:12px 16px; }
.text-section,.comments { margin-top:32px; }
.text-section h2 { margin-bottom:16px; }
.detail-heading { gap:24px; margin:24px 0 32px; }
.detail-heading .summary { margin-top:16px; }
.detail-cover { border-radius:16px; }
.author-card-head { gap:16px; margin-bottom:16px; }
.author-card>p { margin:16px 0; }
.ask-card form { gap:16px; }
.work-journal { margin-top:32px; padding-top:32px; }
.journal-section-heading { gap:24px; margin-bottom:24px; }
.journal-section-heading h2 { margin-top:8px; }
.journal-section-heading p { margin-top:8px; }
.journal-timeline { margin:24px 0; }
.journal-entry { margin-bottom:24px; }
.journal-summary { margin-top:16px; }
.journal-actions { margin-top:24px; padding-top:16px; }
.journal-empty { background:none; border:1px dashed #a7b6d038; border-radius:16px; padding:24px; }
.journal-private-notes,.journal-private-field { background:#141c2e; border:0; border-radius:12px; padding:16px; }
.work-history { padding:24px; }
.history-snapshot { padding:16px 0; }
.history-content-row dt { margin-bottom:8px; }
.platform-assistant-card,.platform-assistant-empty { border:0; background:var(--surface); padding:32px; border-radius:16px; gap:24px; }
.platform-assistant-visual>.agent-avatar { --avatar-size:128px; }
.platform-assistant-copy .form-actions { margin-top:24px; }
.agent-avatar.form-orb .avatar-core { box-shadow:inset 2px 2px 10px #ffffff66; }
.agent-avatar.form-orb .avatar-orbit { opacity:.4; box-shadow:none; }
.agent-avatar .avatar-halo { opacity:.03; box-shadow:none; }
.ambient-orb { box-shadow:inset 2px 2px 8px #ffffff55; }
.assistant-learning { margin-top:32px; padding-top:32px; }
.learning-heading { margin-bottom:24px; }
.learning-heading h2 { margin:8px 0; }
.learning-model-panel { background:#192233; border:0; border-radius:10px; padding:12px 16px; margin-bottom:24px; }
.interview-panel { background:var(--surface); color:var(--text); border-color:var(--line); }
.interview-panel :is(input,textarea,select) { background:#111a2b; border-color:#93a5cb38; color:#e2e6f2; box-shadow:none; }
.interview-heading h3,.interview-panel label>span,.interview-panel .model-consent strong { color:#dce1f0; }
.interview-prompt,.interview-panel .field-help,.memory-save-action>p,.interview-panel .model-consent .field-help,.interview-panel .model-privacy-link,.interview-heading>span { color:#aebbd1; }
.interview-panel .button.secondary { background:#9eaccb0a; color:#d0d9ec; border-color:#a7b4d43b; }
.interview-panel input[type=checkbox] { color-scheme:dark; }
.interview-heading,.memory-panel-heading { margin-bottom:24px; gap:16px; }
.interview-prompt { padding:16px 0; }
.interview-panel textarea { min-height:144px; }
.model-consent-area { padding-top:24px; margin-top:24px; }
.memory-panel,.interview-panel { padding:24px; }
.reflection-result,.confirmed-memory { border:0; border-radius:12px; padding:16px; background:#222b40; }
.reflection-label,.reflection-reply,.memory-proposal strong,.memory-proposal p { color:#c5cee2; }
.memory-proposal { border-color:var(--line); }
.confirmed-memory-list { gap:16px; }
.confirmed-memory-content { margin-top:8px; }
.memory-empty { min-height:0; border:0; background:none; padding:32px 16px; }
.memory-scope-note { gap:16px; padding-top:24px; }
.assistant-boundaries { display:block; padding:16px 0; margin-top:24px; border-top:1px solid var(--line); }
.assistant-boundaries summary { cursor:pointer; color:#b6c1d6; }
.assistant-boundaries[open] summary { margin-bottom:24px; }
.assistant-boundaries>div { margin-bottom:24px; }
.safety-overview,.policy-document,.safety-acceptance,.message-policy-panel { background:var(--surface); border-radius:16px; padding:24px; margin-bottom:24px; }
.policy-sections>section { padding-top:24px; margin-top:24px; }
.policy-sections section>p,.dialog .policy-sections section>p { margin-top:8px; }
.moderation-help,.moderation-notice { background:#1c2536; border:0; border-radius:10px; padding:12px 16px; margin-bottom:24px; }
.review-reason,.appeal-summary { background:#a9a1ce0b; border:0; border-radius:12px; padding:16px; }
.review-actions { margin-top:24px; }
.review-meta { margin:16px 0; }
.review-snapshot>div { padding:16px 0; gap:16px; }
.account-verification-note,.account-mail-verification,.mail-token-details { background:#aaa3d10a; border:0; border-radius:12px; padding:24px; }
.account-summary,.account-form-panel,.mail-action-panel { border-radius:16px; padding:24px; }

@media(max-width:1100px) {
  .main { padding:0 32px 32px; }
  .topbar { padding:0 32px; }
  .discovery-layout .work-grid,.work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .notes-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:800px) {
  .sidebar { width:82px; padding:24px 12px; }
  .sidebar .brand { margin-bottom:32px; }
  .main { padding:0 24px 32px; }
  .topbar { padding:0 24px; }
  #app .scene-title { font-size:32px; }
  .welcome-scene,.welcome-scene.returning { padding:24px; }
}
@media(max-width:620px) {
  #app h1,#dialogs h1 { font-size:28px; }
  #app h2,#dialogs h2,#app :is(.panel h2,.journal-section-heading h2,.learning-heading h2,.section-kicker h2,.community-toolbar h2,.review-toolbar h2) { font-size:22px; }
  #app :is(h3,.card-meta h3,.studio-info h3,.person-identity h3,.note-open h2,.space-entry h2,.chat-head h2),#dialogs h3 { font-size:18px; }
  #app :is(input,textarea,select),#dialogs :is(input,textarea,select) { font-size:16px; }
  #app :is(.eyebrow,.profile-eyebrow,.tag,.card-footer,.example-tag,.small-text,.page-footer),#dialogs :is(.field-help,.auth-switch) { font-size:13px; }
  #app .brand { font-size:24px; }
  #app .brand-english { font-size:13px; }
  #app .scene-title,#app .welcome-scene.returning .scene-title { font-size:28px; line-height:1.3; }
  #app .scene-description { font-size:15px; }
  #app .bottom-nav a { font-size:13px; line-height:1.2; }
  #app .top-actions>.button { font-size:14px; }
  .sidebar { display:none; }
  .workspace { margin-left:0; }
  .topbar { height:64px; padding:0 16px; }
  .brand-mark { width:32px; height:32px; }
  .main { padding:0 16px calc(104px + env(safe-area-inset-bottom)); }
  .bottom-nav { height:calc(76px + env(safe-area-inset-bottom)); padding:8px 8px env(safe-area-inset-bottom); background:#111827f5; border-color:var(--line); box-shadow:0 -8px 30px #04081226; }
  .bottom-nav a { min-height:52px; gap:8px; border-radius:8px; }
  .bottom-nav a.active { background:#272d43; color:#e2d5ff; }
  .bottom-nav a.active svg { filter:none; }
  .top-actions { gap:8px; flex-shrink:0; }
  .top-actions .top-publish { width:44px; min-width:44px; height:44px; min-height:44px; padding:10px !important; overflow:visible; flex-shrink:0; }
  .top-publish>span { display:none; }
  .top-actions .top-messages { width:44px; min-width:44px; padding:10px; }
  .top-actions .top-messages>svg { width:20px; height:20px; }
  .topbar .mobile-brand { flex-shrink:0; }
  #app .bottom-nav a { font-size:12px; }
  #app .topbar .brand { font-size:22px; }
  .top-user { display:flex; align-items:center; justify-content:center; width:44px; height:44px; flex:0 0 44px; }
  .top-user>.avatar { display:flex; width:32px; height:32px; }
  .page-head { padding:28px 0 24px; gap:16px; }
  .page-head .button { min-height:44px; padding:12px 16px; }
  .welcome-scene,.welcome-scene.returning { min-height:0; margin:16px 0 24px; padding:24px; border-radius:16px; }
  .scene-title,.welcome-scene.returning .scene-title { margin:0 0 8px; }
  .scene-description { max-width:100%; }
  .discover-toolbar .section-kicker,.route-discover .discover-toolbar .section-kicker { display:flex; flex-direction:column; align-items:stretch; margin-bottom:16px; gap:16px; }
  .searchbox,.route-discover .discover-toolbar .searchbox { width:100%; flex:auto; }
  .searchbox input { min-height:48px; padding-top:12px; padding-bottom:12px; }
  .searchbox svg { top:16px; }
  .filters-row { flex-direction:column; align-items:stretch; gap:8px; margin-bottom:24px; }
  .categories { flex-wrap:nowrap; overflow-x:auto; gap:8px; padding:0 0 4px; max-width:100%; }
  .category { flex:0 0 auto; min-height:44px; padding:10px 12px; }
  .sort { align-self:flex-end; min-height:44px; padding:8px 0; max-width:150px; }
  .discovery-layout .work-grid,.work-grid,.notes-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
  .work-card { border-radius:16px; }
  .cover { height:224px; }
  .card-content { padding:0 16px 16px; }
  .card-meta { margin-top:16px; gap:8px; }
  .card-description { min-height:0; margin:8px 0 16px; }
  .card-footer { padding-top:16px; }
  .bookmark-mini { width:44px; height:44px; }
  .panel,.person-card,.note-card,.community-post,.review-item,.journal-entry { padding:24px 16px; }
  .dialog { width:calc(100vw - 32px); max-width:calc(100vw - 32px); border-radius:20px; max-height:calc(100dvh - 32px); }
  .dialog-inner,.auth-dialog .dialog-inner,.journal-editor-dialog .dialog-inner { padding:24px; }
  .dialog-header { gap:16px; margin-bottom:24px; }
  .dialog-actions { gap:8px; }
  .dialog .button { min-height:44px; padding:12px 16px; }
  .dialog .password-toggle { min-height:36px; padding:8px; }
  .welcome-progress li { flex-direction:column; align-items:center; padding:12px 4px; gap:8px; }
  #app .welcome-progress strong { font-size:13px; white-space:nowrap; }
  .welcome-progress strong { font-weight:500; }
  .welcome-panel { padding:24px 16px; }
  .welcome-header { padding:24px 0; }
  .profile-hero { grid-template-columns:56px minmax(0,1fr); padding:24px 16px; gap:16px; margin:16px 0 24px; }
  .profile-hero .avatar.large { width:56px; height:56px; border-radius:16px; }
  .profile-hero>.button,.profile-contact-actions { grid-column:1/-1; }
  .profile-relationships { gap:16px; }
  .space-dashboard { grid-template-columns:1fr; gap:16px; }
  .space-dashboard.growth-dashboard { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .growth-dashboard .space-entry { display:flex; flex-direction:column; align-items:flex-start; padding:20px 16px; gap:12px; }
  .growth-dashboard .space-entry>.space-entry-icon { width:32px; height:32px; }
  .growth-dashboard .space-entry>.agent-avatar { --avatar-size:32px; margin:0; }
  .growth-dashboard .space-entry>svg { display:none; }
  #app .growth-dashboard .space-entry h2 { font-size:16px; }
  #app .growth-dashboard .space-entry p { font-size:13px; }
  .space-entry { padding:24px 16px; gap:16px; }
  .resume-panel { padding:24px 16px; }
  .community-composer { padding:24px 16px; }
  .compose-drawer>summary { padding:16px; gap:8px; flex-wrap:wrap; }
  .compose-drawer-action { margin-left:auto; }
  .community-post-header { gap:12px; }
  .community-toolbar { flex-direction:column; align-items:stretch; gap:16px; }
  .community-toolbar .searchbox { width:100%; max-width:100%; }
  .community-toolbar .discovery-tabs { align-self:flex-start; }
  .community-post { padding:24px 0; }
  .community-feed .community-post:last-child { border-bottom:0; }
  .community-post-actions .post-delete { margin-left:auto; }
  .community-post-actions { gap:8px; flex-wrap:wrap; }
  .community-post-actions>.button { min-height:44px; }
  .community-attached-work { padding:16px; gap:16px; }
  .community-comment>p { margin-left:0; }
  .community-comment-form { gap:16px; }
  .chat-panel { padding:16px; border-radius:16px; }
  .thread-item { padding:16px; }
  .reply-form { gap:8px; }
  .reply-form textarea { min-height:80px; padding:12px; }
  .reply-form .button { min-height:44px; padding:12px; white-space:normal; }
  .route-inbox.has-thread>.page-head { padding:16px 0 8px; }
  #app .route-inbox.has-thread>.page-head h1 { font-size:24px; }
  .route-inbox.has-thread>.page-head>.button { min-height:44px; padding:12px; }
  .route-inbox.has-thread .chat-panel { height:calc(100dvh - 260px - env(safe-area-inset-bottom)); min-height:440px; padding:16px; }
  .route-inbox.has-thread .chat-head { padding-bottom:16px; }
  .route-inbox.has-thread .chat-back { margin-bottom:16px; }
  .route-inbox.has-thread .message-list { padding:16px 0; }
  .route-inbox.has-thread .reply-form { padding-top:16px; }
  .detail-heading { margin:24px 0; gap:16px; }
  .detail-aside,.form-side { grid-template-columns:1fr; }
  .form-fields,.journal-form { gap:24px; }
  .route-new>form>.form-actions,.route-edit>form>.form-actions { bottom:calc(76px + env(safe-area-inset-bottom)); padding:16px 0; gap:8px; }
  .route-new>form>.form-actions .button,.route-edit>form>.form-actions .button { min-height:44px; padding:12px; }
  .journal-entry { margin-bottom:24px; }
  .journal-actions>.button { min-height:44px; }
  .platform-assistant-card,.platform-assistant-empty { padding:24px 16px; }
  .platform-assistant-visual>.agent-avatar { --avatar-size:88px; }
  .platform-assistant-copy .button { min-height:44px; padding:12px; }
  .learning-heading { margin-bottom:24px; }
  .learning-model-panel { padding:8px 16px; }
  .interview-panel,.memory-panel { padding:24px 16px; }
  .confirmed-memory { padding:16px; }
  .memory-actions>.button { min-height:44px; }
  .safety-overview,.policy-document,.safety-acceptance,.message-policy-panel,.account-summary,.account-form-panel,.mail-action-panel { padding:24px 16px; }
  .moderation-help,.moderation-notice { padding:8px 16px; }
  .review-actions>.button { min-height:44px; padding:12px; }
  .page-footer { margin-top:24px; padding-top:24px; gap:16px; }
  .toast { bottom:calc(88px + env(safe-area-inset-bottom)); }
}

/* Dual-track concept: a human community and a private Agent workspace. */
body { background:var(--bg); }
.sidebar { width:208px; padding:28px 16px 24px; background:#101624; }
.sidebar .brand { margin:0 10px 42px; gap:12px; }
.brand-mark { background:transparent; border:0; box-shadow:none; color:#ddd2ff; width:40px; height:40px; }
.brand-mark svg { width:40px; height:40px; }
.brand>span:last-child { gap:2px; }
#app .brand { font-size:25px; letter-spacing:.04em; }
#app .brand-english { font-size:12px; letter-spacing:.14em; font-weight:400; }
.nav-links { gap:6px; }
.nav-item { min-height:48px; padding:0 14px; border-radius:9px; font-weight:500; }
.nav-item.active { color:#211c34; background:#c4b5fa; border-color:transparent; }
.nav-item.active::after { display:none; }
.sidebar-divider { margin:24px 8px 16px; }
.utility-nav a { font-size:13px; color:var(--muted); min-height:44px; padding:10px 14px; }
.side-footer>a { color:var(--muted); font-size:13px; }
.workspace { margin-left:208px; }
.topbar { height:72px; }
.main { max-width:1440px; min-height:calc(100dvh - 72px); padding:0 40px 40px; }
.toast { left:calc(50% + 104px); }
.discovery-intro { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:34px 0 28px; min-height:154px; }
#app .discovery-intro h1 { font-size:32px; font-weight:600; line-height:1.4; letter-spacing:-.025em; margin:0; }
#app .discovery-intro p { font-size:16px; line-height:1.75; color:var(--muted); margin:10px 0 0; }
.discovery-signature { width:94px; height:94px; color:#a796d6; margin-right:24px; }
.discovery-signature svg { width:100%; height:100%; stroke-width:.55; }
.discovery-layout { display:block; }
.discover-search { margin:0 0 20px; }
.route-discover .discover-search .searchbox { width:100%; max-width:none; }
.discover-search input { min-height:48px; background:#1b2232; border:1px solid #364156; border-radius:10px; }
.discover-search .searchbox svg { top:15px; }
.discover-results { margin:0 0 12px; color:var(--muted); min-height:0; }
.discover-results .results-count { font-size:13px; }
.route-discover .filters-row { margin-bottom:8px; gap:16px; }
.route-discover .categories { gap:16px; }
.route-discover .category { background:transparent; border:0; border-bottom:2px solid transparent; border-radius:0; min-height:44px; padding:10px 2px; }
.route-discover .category.active { color:var(--accent); border-bottom-color:var(--accent); }
.route-discover .sort { min-height:44px; }
.work-grid,.discovery-layout .work-grid { gap:28px 24px; }
.work-card { overflow:visible; border:0; background:transparent; border-radius:0; box-shadow:none; }
.work-card:hover { border-color:transparent; box-shadow:none; transform:none; }
.cover-link { overflow:hidden; border-radius:12px; }
.work-card .cover { border-radius:12px; }
.work-card .card-content { padding:0 4px; background:transparent; }
#app .card-meta h3 { font-size:17px; font-weight:550; line-height:1.5; letter-spacing:0; }
.card-meta { margin:14px 0 0; min-height:0; }
#app .work-card .card-description { color:var(--muted); font-size:14px; line-height:1.7; margin:8px 0 12px; min-height:0; -webkit-line-clamp:2; }
.card-footer { border:0; margin-top:auto; padding:0; min-height:44px; }
.card-footer .avatar { width:24px; height:24px; border:0; background:#d9d1c6; color:#564e49; }
.card-example-label { color:#f6f2ff; background:#202333ba; border:1px solid #ffffff24; }
.card-cover-tag { display:none; }
.cover.editorial-cover { position:relative; height:auto; aspect-ratio:1.68; background-image:url('./assets/dual-track-covers-20261016.png'); background-size:300% auto; background-repeat:no-repeat; }
.cover.editorial-cover.palette { background-position:0 50%; }
.cover.editorial-cover.focus { background-position:50% 50%; }
.cover.editorial-cover.decision { background-position:100% 50%; }
.editorial-cover::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#18132885,transparent 75%); pointer-events:none; }
#app .editorial-cover-title { position:absolute; z-index:1; left:24px; top:22px; font-family:"Songti SC","STSong","Noto Serif CJK SC",serif; font-size:26px; line-height:1.4; font-weight:500; letter-spacing:.02em; color:#fff8ef; text-shadow:0 2px 8px #1a18284d; }
.community-column { max-width:860px; margin:0 auto 0 0; }
.community-column .compose-drawer { background:#171f30; border:1px solid var(--line); border-radius:12px; }
.community-column .community-post { padding:28px 0; background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0; box-shadow:none; }
.profile-hero { padding:36px 28px; min-height:208px; background:radial-gradient(ellipse at 85% 0,#9683c51a,transparent 55%),var(--surface); border:1px solid var(--line); border-radius:16px; }
.profile-hero .avatar.large { background:#d0c4ec; color:#3a3150; border-radius:24px; }
.profile-info { max-width:720px; }
.profile-info .handle { overflow-wrap:anywhere; word-break:break-word; }
.profile-info p { line-height:1.8; }
.profile-contact-actions { gap:8px; }
.profile-relationships { padding:0 0 20px; border-bottom:1px solid var(--line); }
.growth-dashboard .space-entry { background:transparent; border:0; border-radius:0; padding:18px 12px; box-shadow:none; }
.growth-dashboard { border-bottom:1px solid var(--line); padding-bottom:16px; }
.profile-settings { margin:16px 0 24px; }
.route-u>.empty-state { margin:0; max-width:100%; padding:28px 0 32px; text-align:left; }
.route-u>.empty-state .empty-icon { display:none; }
#app .route-u>.empty-state h2 { font-size:18px; }
.route-u>.empty-state p { margin:8px 0 16px; }
.world-direction { display:grid; grid-template-columns:1fr 1fr; gap:48px; padding:32px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.world-direction p { max-width:30em; margin:16px 0 24px; color:var(--muted); }
.world-direction-note { color:var(--muted); margin:24px 0; }
@media(min-width:801px) and (max-width:1100px) {
  .main { padding:0 28px 32px; }
  .topbar { padding:0 28px; }
  .discovery-layout .work-grid,.work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .route-discover .categories { gap:12px; }
}
@media(min-width:621px) and (max-width:800px) {
  .sidebar { width:82px; padding:24px 12px; }
  .sidebar .brand { margin:0 0 36px; }
  .sidebar .brand>span:last-child { display:none; }
  .nav-item { justify-content:center; padding:0; }
  .sidebar .nav-label-full { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .workspace { margin-left:82px; }
  .main { padding:0 24px 32px; }
  .discovery-layout .work-grid,.work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .route-discover .filters-row { flex-wrap:wrap; }
  .toast { left:calc(50% + 41px); }
}
@media(max-width:620px) {
  .workspace { margin-left:0; }
  .main { padding:0 20px calc(104px + env(safe-area-inset-bottom)); }
  .topbar { height:64px; padding:0 16px; }
  .discovery-intro { min-height:0; padding:28px 0 24px; }
  #app .discovery-intro h1 { font-size:27px; line-height:1.4; }
  #app .discovery-intro p { font-size:15px; margin-top:12px; }
  .discovery-signature { display:none; }
  .route-discover .categories { gap:20px; }
  .route-discover .filters-row { flex-direction:row; flex-wrap:wrap; gap:0; }
  .route-discover .categories { flex-basis:100%; }
  .route-discover .sort { margin-left:auto; }
  .discover-search { margin-bottom:12px; }
  .discover-results { margin-top:-36px; padding-right:140px; min-height:36px; display:flex; align-items:center; }
  .discovery-layout .work-grid,.work-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
  .card-content { padding:0 2px; }
  .cover.editorial-cover { aspect-ratio:1.65; }
  #app .editorial-cover-title { top:20px; left:20px; font-size:28px; }
  .profile-hero { padding:24px 20px; min-height:0; }
  .world-direction { grid-template-columns:1fr; gap:32px; }
  .toast { left:50%; }
  .bottom-nav .nav-label-full { display:block; }
  .bottom-nav a:has(.nav-label-short) .nav-label-full { display:none; }
  .bottom-nav .nav-label-short { display:block; }
}

/* Creative community: playable examples remain clearly distinguished from member work. */
.catalog-access-note { margin:0 0 24px; color:var(--muted); font-size:14px; line-height:1.75; }
.cover.memory-game,.cover.sound-pad,.cover.inspiration-card { height:auto; aspect-ratio:1.68; display:grid; place-items:center; }
.cover.memory-game { background:#c5b6e8; color:#48366c; }
.memory-art { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; width:116px; transform:rotate(-12deg); }
.memory-art i { display:grid; place-items:center; width:53px; height:53px; border-radius:10px; background:#f4eeff; }
.memory-art i:nth-child(2),.memory-art i:nth-child(3) { background:#8973b3; color:#fff; }
.memory-art svg { width:26px; height:26px; }
.cover.sound-pad { background:#b9ded4; color:#275f55; }
.sound-art { display:flex; align-items:center; justify-content:center; gap:10px; width:70%; height:128px; }
.sound-art i { display:block; width:12px; height:var(--bar-height); border-radius:8px; background:#347669; }
.cover.inspiration-card { background:#e0c5b4; color:#654831; }
.inspiration-art { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:20px 36px; border:1px solid #916e57; border-radius:12px; transform:rotate(8deg); }
.inspiration-art>svg { width:44px; height:44px; }
.inspiration-art span { font-size:18px; font-weight:550; letter-spacing:.05em; }
.custom-art svg { width:64px; height:64px; }
.cover-options .cover.memory-game,.cover-options .cover.sound-pad,.cover-options .cover.inspiration-card { height:90px; aspect-ratio:auto; }
.cover-options .memory-art { transform:scale(.5) rotate(-12deg); }
.cover-options .sound-art { height:70px; gap:5px; }
.cover-options .sound-art i { width:6px; }
.cover-options .inspiration-art { transform:scale(.5) rotate(8deg); }
.memory-demo,.sound-demo,.inspiration-demo { padding:32px; background:var(--surface); border:1px solid var(--line); border-radius:16px; }
#app :is(.memory-demo,.sound-demo,.inspiration-demo)>h2 { margin:0 0 12px; font-size:26px; line-height:1.4; }
#app :is(.memory-demo,.sound-demo)>p { color:var(--muted); margin:0 0 24px; font-size:15px; line-height:1.75; }
.memory-board { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; max-width:480px; margin:28px 0; }
.memory-tile { display:grid; place-items:center; min-height:64px; aspect-ratio:1; border-radius:12px; color:#d4c6ef; background:#34304c; transition:background .15s; }
.memory-tile svg { width:30px; height:30px; }
.memory-tile:hover { background:#45405f; }
.memory-tile.revealed { background:#c5b6e8; color:#33244f; }
.memory-tile.matched { background:#b9ded4; color:#275f55; opacity:1; cursor:default; }
.sound-pads { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; max-width:480px; margin:28px 0; }
.sound-pad { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; min-height:100px; border-radius:12px; background:#27483f; color:#cceee0; }
.sound-pad:hover,.sound-pad:active { background:#386557; }
.sound-pad:active { transform:translateY(2px); }
#app .demo-status { margin:20px 0; min-height:28px; color:var(--text); font-size:15px; line-height:1.75; }
.inspiration-result { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:20px; max-width:430px; min-height:250px; margin:28px auto; padding:32px 24px; border-radius:12px; background:#e0c5b4; color:#493322; text-align:center; }
.inspiration-result>svg { width:40px; height:40px; }
#app .inspiration-result h3 { color:inherit; font-size:24px; line-height:1.5; }
#app .inspiration-result p { color:inherit; font-size:16px; line-height:1.8; margin:0; max-width:24em; }
#app .demo-disclosure { color:var(--muted); font-size:13px; line-height:1.75; margin-top:20px; }
@media(max-width:620px) {
  .memory-demo,.sound-demo,.inspiration-demo { padding:24px 16px; }
  #app :is(.memory-demo,.sound-demo,.inspiration-demo)>h2 { font-size:22px; }
  .memory-board { gap:8px; }
  .memory-tile { min-height:44px; }
  .sound-pads { gap:8px; }
  .sound-pad { min-height:80px; }
}
@media(prefers-reduced-motion:reduce) { .memory-tile { transition:none; } .sound-pad:active { transform:none; } }
