/* Forest edition. The shell uses foliage and fog tones while the live work
   and its creator's own cover provide each room's visual identity. */
:root {
  --bg: #11251e;
  --surface: #193229;
  --raised: #243f32;
  --text: #f0f5ef;
  --muted: #b2c5b9;
  --line: #3b5447;
  --accent: #c9ddbc;
  --mint: #c7e1c7;
  --soft-text: #d6dfd8;
  --lavender: var(--accent);
  --glass: var(--surface);
  --font-ui: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --forest-paper: #f5f6f1;
  --forest-ink: #17261e;
  --forest-soft-ink: #4e6055;
  --forest-action: #25573f;
  --forest-action-hover: #173d2b;
  --forest-meta: .875rem;
  --forest-body: 1rem;
  --forest-item: 1.25rem;
  --forest-section: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  --forest-title: clamp(2.125rem, 1.25rem + 2.9vw, 3.875rem);
  --forest-gutter: clamp(20px, 5vw, 82px);
}
html { scrollbar-color: #52705d var(--bg); }
::selection { color: #fff; background: #426953; }
.sidebar, .topbar, .bottom-nav {
  background: #10291f;
  border-color: #344c40;
  box-shadow: none;
  backdrop-filter: none;
}
.brand-mark, .sidebar .brand-mark, .mobile-brand .brand-mark {
  color: #d3e3c8;
  background: none;
  box-shadow: none;
  transform: none;
}
#app .brand { color: #f1f5ec; }
#app .brand-english { color: #b6c8b9; font-weight: 500; }
.sidebar-divider { border-color: var(--line); background-color: var(--line); }
.breadcrumb b, .top-user, .utility-nav a, .side-footer>a { color: #cbdace; }
.nav-item, .bottom-nav a { color: #b8cabd; }
.nav-item.active, .bottom-nav a.active { color: #edf6e5; background: #2d4939; }
.nav-item:hover, .utility-nav a:hover, .bottom-nav a:hover { color: #fff; background: #2a4436; }
.nav-item svg, .bottom-nav a.active svg { filter: none; }
.button, .button.small { border-radius: 8px; }
.button { color: #153021; background: var(--accent); }
.button:hover { color: #10251a; background: #dbeacd; box-shadow: none; }
.button.secondary, .profile-hero .button.secondary {
  color: #e1ebdf; background: #233f30; border-color: #5a7461;
}
.button.secondary:hover, .profile-hero .button.secondary:hover { color: #fff; background: #32523e; border-color: #8da891; }
.button.quiet, .profile-hero .button.quiet { color: var(--soft-text); background: transparent; }
.button.quiet:hover { color: #fff; background: #294735; }
.button.danger { color: #ffe4de; background: #603c39; border-color: #926762; }
.button.danger:hover { background: #75413d; }
input, textarea, select, .discover-search input {
  color: var(--text); background: #142c21; border-color: #4b6854; caret-color: currentColor;
}
:is(input, textarea, select)::placeholder { color: var(--muted); }
:is(input, textarea, select):focus { border-color: #a5c39c; box-shadow: none; }
input[type=checkbox], input[type=radio] { accent-color: var(--mint); }
label>span, .field-help, .inline-note { color: var(--soft-text); }
.dialog { color: var(--text); background: #183024; }
.dialog-close { background: #2b4635; color: var(--text); }
.dialog::backdrop { background: rgb(6 19 12 / 72%); }
.toast { background: #e3eedf; color: #163424; border-color: #a0b798; box-shadow: 0 4px 18px #0a1c1540; }
.page-footer, .page-footer>a, .page-footer .footer-mark { color: var(--muted); border-color: var(--line); }
.avatar { color: #203c2c; background: #c2d2b9; border-color: #9bb49c; }
.route-new>form>.form-actions, .route-edit>form>.form-actions { background: var(--bg); }
.skip-link, :is(button, a, input, textarea, select, summary):focus-visible {
  outline-color: #acd3af;
}
@media (min-width: 1241px) {
  /* Both sets of existing controls share one header. Their DOM and tab order stay intact. */
  .sidebar {
    position: sticky; inset: 0 auto auto; width: 100%; height: 74px; z-index: 12;
    display: flex; flex-flow: row nowrap; align-items: center;
    gap: clamp(18px, 3vw, 52px); padding: 0 max(var(--forest-gutter), calc((100% - 1550px)/2));
    padding-right: calc(max(var(--forest-gutter), (100% - 1550px)/2) + 180px);
    border: 0; border-bottom: 1px solid #344c40;
  }
  .sidebar .brand { flex: none; margin: 0; gap: 10px; }
  .sidebar .brand-mark, .sidebar .brand-mark svg { width: 33px; height: 33px; }
  .sidebar .brand>span:last-child { display: flex; flex-direction: row; align-items: baseline; gap: 7px; }
  #app .sidebar .brand { font-size: 23px; line-height: 1; }
  #app .sidebar .brand-english { font-size: 13px; letter-spacing: 0; }
  .sidebar .nav-links, .sidebar .utility-nav { display: flex; align-items: center; flex: none; gap: 3px; margin: 0; }
  .sidebar .nav-item { height: 44px; min-height: 44px; padding: 8px 13px; border-radius: 7px; gap: 7px; }
  .sidebar .nav-item svg { width: 16px; height: 16px; }
  .sidebar .sidebar-divider { display: none; }
  .sidebar .utility-nav { margin-inline-start: auto; }
  .sidebar .utility-nav a { padding-inline: 8px; }
  .sidebar .side-bottom { padding: 0; margin: 0; flex: none; }
  .sidebar .side-footer { padding: 0; margin: 0; white-space: nowrap; }
  #app .sidebar .side-footer > a {
    display: inline-flex; align-items: center; min-height: 44px; margin: 0;
    font-size: var(--forest-meta); line-height: 1.5;
  }
  .workspace { margin-left: 0; }
  .workspace .topbar {
    position: fixed; inset: 0 max(var(--forest-gutter), calc((100% - 1550px)/2)) auto auto; z-index: 13;
    height: 74px; margin: 0; padding: 0; border: 0; background: transparent;
  }
  .topbar .breadcrumb, .topbar .mobile-brand { display: none; }
  .topbar .top-actions { gap: 12px; }
  .main { max-width: 1680px; min-height: calc(100dvh - 74px); padding-inline: var(--forest-gutter); }
  .toast { left: 50%; }
}
/* Shared surfaces for publishing, reading and managing a work. */
:is(.route-work,.route-new,.route-edit,.route-studio,.route-me,.route-u) :is(.panel,.studio-item,.journal-entry,.author-card,.form-fields) {
  background-color: var(--surface); border-color: var(--line);
}
:is(.route-new,.route-edit) .form-fields { border-radius: 10px; border: 1px solid var(--line); }
:is(.route-new,.route-edit) .form-fields label>span { color: #e3ebdf; }
:is(.route-new,.route-edit) .form-side p,
.route-work :is(.detail-heading .summary,.author-card>p,.author-card-head p,.preview-note),
.route-studio .studio-info p { color: var(--muted); }
.route-work :is(.detail-aside .panel,.work-history) { border: 1px solid var(--line); border-radius: 10px; }
.route-work .author-card-head { align-items: center; }
.route-work .author-card-head:hover h3 { text-decoration: underline; }
.route-work :is(.detail-actions,.journal-actions) { gap: 8px; }
.route-work .tag:not(.draft), .route-work .example-tag { color: #d4e2d5; background: #294535; }
.route-work .preview-note { background: #1d3628; border-color: var(--line); }
.profile-menu .button.secondary { background: #213e2c; }
.profile-menu .button.secondary:hover { background: #2f503a; }
.growth-dashboard .space-entry:hover { background: #203b2d; }
.space-entry-icon, .empty-state .empty-icon { background: #2b4834; color: #caded0; }
/* The gallery reads like a printed catalogue in daylight. Other routes use
   the darker studio surfaces so long forms, dialogs and status controls stay legible. */
.workspace:has(>.route-discover) { background: var(--forest-paper); }
.route-discover {
  color-scheme: light;
  --text: var(--forest-ink);
  --muted: var(--forest-soft-ink);
  --line: #ccd4ca;
  --surface: #e2eae0;
  --accent: #2c6143;
  --mint: #2f7350;
  color: var(--text);
  background: var(--forest-paper);
}
.discovery-intro.forest-hero {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: center; gap: clamp(32px, 5vw, 84px);
  min-height: 0; max-width: none; margin: 0;
  padding-block: clamp(36px, 3.8vw, 64px);
  color: var(--forest-ink); border-bottom: 1px solid var(--line);
}
.discovery-intro.forest-hero[hidden] { display: none; }
.forest-hero-copy { min-width: 0; max-width: 36rem; }
#app :is(.forest-hero, .cabin-hero) h1 {
  margin: 0; font-family: var(--font-ui); font-size: var(--forest-title);
  font-weight: 600; line-height: 1.18; letter-spacing: 0;
  text-wrap: balance; overflow-wrap: anywhere;
}
#app .forest-hero h1 { color: var(--forest-ink); }
.forest-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
#app .forest-byline :is(a,span):not(.avatar) { font-size: var(--forest-meta); line-height: 1.5; }
.forest-cabin-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  color: var(--forest-ink); font-weight: 500; overflow-wrap: anywhere;
}
#app .forest-cabin-link .avatar { width: 24px; height: 24px; font-size: .75rem; }
.forest-cabin-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.forest-byline-category { padding-inline-start: 10px; border-inline-start: 1px solid #aebcb0; color: var(--forest-soft-ink); }
#app .forest-hero p {
  max-width: 29em; margin: 16px 0 0; color: var(--forest-soft-ink);
  font-size: var(--forest-body); font-weight: 400; line-height: 1.75; text-wrap: balance;
}
.forest-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; }
#app .forest-hero-actions .button { min-height: 44px; font-size: var(--forest-meta); font-weight: 600; line-height: 1.5; }
.forest-hero-actions .forest-open-work {
  width: fit-content; padding: 11px 18px; gap: 10px;
  border: 0; border-radius: 6px; color: white; background: var(--forest-action);
}
.forest-hero-actions .forest-open-work:hover { color: white; background: var(--forest-action-hover); }
.forest-hero-actions .forest-browse { padding: 8px 2px; gap: 7px; background: transparent; color: var(--forest-soft-ink); border: 0; }
.forest-hero-actions .forest-browse:hover { color: var(--forest-ink); background: transparent; text-decoration: underline; text-underline-offset: .2em; }
.forest-work-window { display: block; width: 100%; min-width: 0; }
.forest-feature-art, .cabin-lead-art {
  display: grid; width: 100%; min-width: 0; overflow: hidden; place-items: center;
  background: #e1e7dd; border-radius: 8px; aspect-ratio: 1.92;
}
:is(.forest-feature-art,.cabin-lead-art) > :is(.cover,.cabin-feature-image) {
  width: 100%; height: 100%; min-width: 0; aspect-ratio: auto; object-fit: cover;
}
/* The built-in swatch cover keeps its proportions in both featured frames. */
:is(.forest-feature-art,.cabin-lead-art) .palette-art { inset: 0; transform: none; }
:is(.forest-feature-art,.cabin-lead-art) .palette-shape {
  height: 44%; width: auto; aspect-ratio: 73 / 108; margin-right: -1.5%;
}
:is(.forest-feature-art,.cabin-lead-art) .palette-shape:nth-child(2) { height: 51%; aspect-ratio: 73 / 126; }
:is(.forest-feature-art,.cabin-lead-art) .palette-shape:nth-child(4) { height: 36%; aspect-ratio: 62 / 88; margin-left: -3%; }
#app .forest-feature-art .editorial-cover-title {
  font-size: clamp(20px,2.4vw,36px); left: 6%; top: 10%;
}
.route-discover .catalog-access-note {
  color: var(--forest-soft-ink); margin: 0; padding: 14px 0 0; font-size: 14px;
}
.route-discover .feed-column {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(190px,310px);
  align-items: center; gap: 0 24px; padding: clamp(28px, 3.5vw, 52px) 0 8px;
  scroll-margin-top: 78px;
}
#app .forest-feed-title {
  color: var(--forest-ink); margin: 0; font-size: var(--forest-section);
  line-height: 1.3; font-weight: 600; letter-spacing: 0;
}
.route-discover .discover-search, .route-discover .searchbox { margin: 0; min-width: 0; }
.route-discover .searchbox input {
  color: var(--forest-ink); background: #f8fbf5; border: 1px solid #afc1b1;
  min-height: 44px; padding: 10px 12px 10px 40px; border-radius: 7px;
}
.route-discover .searchbox svg { top: calc(50% - 8px); color: var(--forest-soft-ink); }
.route-discover :is(.filters-row,.discover-results,.work-grid) { grid-column: 1 / -1; }
.route-discover .filters-row {
  justify-content: space-between; align-items: center; gap: 8px 20px; min-width: 0;
  margin: 16px 0 0; padding-bottom: 4px; border-bottom: 1px solid var(--line);
}
.route-discover .categories { min-width: 0; max-width: 100%; gap: 5px 18px; }
#app .route-discover .category {
  min-height: 44px; padding: 8px 0; color: var(--forest-soft-ink);
  background: transparent; font-size: var(--forest-meta); font-weight: 400;
}
#app .route-discover .category.active { color: var(--forest-ink); font-weight: 600; border-bottom-color: var(--forest-action); }
.route-discover .sort { color: #324e3e; border: 0; background-color: transparent; min-height: 44px; }
.route-discover .discover-results { padding: 8px 0; min-height: 0; margin: 0; }
.route-discover .work-card { color: var(--forest-ink); background: transparent; }
.route-discover .cover-link, .route-discover .work-card .cover { border-radius: 7px; }
.route-discover .work-card .card-content { padding: 0; }
#app .route-discover .card-meta h3 { font-size: var(--forest-item); line-height: 1.45; font-weight: 600; color: var(--forest-ink); }
.route-discover .card-meta h3 a:hover, .route-discover .author-link:hover { text-decoration: underline; }
.route-discover .card-footer, .route-discover .card-stats,
.route-discover .author-link, .route-discover .bookmark-mini { color: var(--forest-soft-ink); }
.route-discover .bookmark-mini:hover, .route-discover .bookmark-mini.saved { color: #184b30; background: #d2e2d1; }
.route-discover .empty-state { color: var(--forest-ink); background: var(--surface); border-color: var(--line); }
.route-discover .empty-state p { color: var(--forest-soft-ink); }
.route-discover .empty-state .button { background: #2a5e40; color: #fff; }
.route-discover .empty-state .button.quiet { background: transparent; color: #234f35; }
.route-discover .loading { color: var(--forest-soft-ink); }
.route-discover .page-footer { color: var(--forest-soft-ink); border-color: var(--line); }
.route-discover .page-footer :is(a,.footer-mark) { color: var(--forest-soft-ink); }
.route-discover :is(button,a,input,textarea,select,summary):focus-visible { outline-color: #236b40; }
.route-discover .forest-hero :is(button,a):focus-visible { outline-color: #236b40; }

.profile-hero.cabin-hero {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto;
  align-items: start; gap: 16px 24px; min-height: 0;
  margin: 0; padding: clamp(28px, 3.3vw, 52px) 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
}
.cabin-hero > .avatar.large { grid-column: 1; grid-row: 1; background: #c4d6be; color: #24452e; width: 64px; height: 64px; border-radius: 16px; }
.cabin-hero > .profile-info { grid-column: 2; grid-row: 1; min-width: 0; }
#app .cabin-hero .cabin-label { display: block; color: var(--muted); font-size: var(--forest-meta); line-height: 1.5; margin-bottom: 4px; }
#app .cabin-hero h1 { color: var(--text); font-size: clamp(1.875rem,1.45rem + 1.5vw,2.75rem); }
#app .cabin-hero .profile-info p { margin: 10px 0 0; color: var(--text); font-size: var(--forest-body); line-height: 1.7; }
#app .cabin-hero .handle { margin-top: 6px; font-size: var(--forest-meta); color: var(--muted); line-height: 1.5; }
.cabin-hero > .button { grid-column: 3; grid-row: 1; margin: 0; }
#app .profile-works-heading { display: flex; flex-direction: row; align-items: baseline; margin: 28px 0 18px; gap: 12px; }
#app .profile-works-heading h2 { font-size: var(--forest-section); line-height: 1.3; letter-spacing: 0; font-weight: 600; }
#app .profile-works-heading h2 span { display: inline; margin-inline-start: 10px; font-size: var(--forest-meta); font-weight: 400; color: var(--muted); }
.cabin-lead.work-card {
  display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: clamp(20px, 3.5vw, 56px);
  align-items: center; padding: 0; border: 0; background: transparent; box-shadow: none;
}
.cabin-lead > .cover-link { display: block; min-width: 0; border-radius: 8px; }
.cabin-lead .card-content { min-width: 0; padding: 0; }
.cabin-lead .card-meta { margin: 6px 0 0; }
#app .cabin-lead-label { font-size: var(--forest-meta); color: var(--muted); line-height: 1.5; }
#app .cabin-lead h3 { color: var(--text); font-size: clamp(1.5rem,1rem + 1.15vw,2.25rem); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
#app .cabin-lead h3 a { font: inherit; display: inline; }
#app .cabin-lead .card-description { display: block; margin: 12px 0 20px; color: var(--soft-text); font-size: var(--forest-body); line-height: 1.75; }
.cabin-lead .card-footer { justify-content: flex-start; flex-wrap: wrap; gap: 14px; }
.cabin-lead .cabin-open { min-height: 44px; color: #183323; background: #d5e5cf; }
.cabin-lead .cabin-open:hover { color: #10251a; background: #e7f1e3; }
.cabin-lead + .work-grid { margin-top: 32px; }
:is(.route-u,.route-me) .profile-safety-actions { margin: 28px 0 0; }
#app .profile-safety-actions .button { min-height: 44px; color: var(--muted); font-size: var(--forest-meta); }
.portfolio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.portfolio-actions .button { min-height: 44px; white-space: nowrap; }
.portfolio-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 34px; margin-block: 32px; }
.portfolio-layout:has(.portfolio-resume) { grid-template-columns: minmax(0,2.45fr) minmax(210px,1fr); gap: clamp(24px,4vw,64px); }
.portfolio-collection, .portfolio-resume { min-width: 0; }
#app .portfolio-collection .profile-works-heading { margin: 0 0 20px; align-items: center; justify-content: space-between; }
.portfolio-resume { align-self: start; border-inline-start: 1px solid var(--line); padding-inline-start: clamp(20px,2.7vw,44px); }
#app .portfolio-resume h2 { margin: 0 0 18px; font-size: var(--forest-item); line-height: 1.45; font-weight: 600; }
.portfolio-resume dl { display: grid; gap: 18px; margin: 0; }
#app .portfolio-resume dt, #app .portfolio-contribution h4 {
  color: var(--muted); font-size: var(--forest-meta); line-height: 1.5; font-weight: 500;
}
#app .portfolio-resume dd, #app .portfolio-resume-note, #app .portfolio-process p, #app .portfolio-contribution p {
  margin: 5px 0 0; color: var(--text); white-space: pre-line; overflow-wrap: anywhere;
  font-size: var(--forest-body); line-height: 1.7;
}
#app .portfolio-resume .moderation-badge { display: inline-block; margin-bottom: 12px; }
.portfolio-resume-note + .button { margin-top: 12px; }
#app .portfolio-empty-public { margin: 0; padding: 26px 0; color: var(--muted); }
.portfolio-first-work {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(110px,.6fr);
  align-items: center; column-gap: clamp(12px,2.5vw,40px);
  padding: clamp(24px,3.2vw,50px); border-radius: 9px;
  background: #e4ebdc; color: var(--forest-ink); overflow: hidden;
}
.portfolio-first-work > div:last-child { grid-column: 1; grid-row: 1; }
#app .portfolio-first-work h3 { margin: 0; color: var(--forest-ink); font-size: var(--forest-section); font-weight: 600; line-height: 1.35; }
#app .portfolio-first-work p { color: #425747; margin: 12px 0 20px; font-size: var(--forest-body); line-height: 1.75; text-wrap: pretty; }
.portfolio-first-work .portfolio-add { min-height: 44px; background: var(--forest-action); color: white; }
.portfolio-first-work .portfolio-add:hover { background: var(--forest-action-hover); color: white; }
.portfolio-folio {
  grid-column: 2; grid-row: 1; position: relative; isolation: isolate; justify-self: center;
  display: grid; place-items: center; width: min(76%,130px); aspect-ratio: .76;
  border: 1px solid #81937a; border-radius: 3px 8px 8px 3px; background: #bfceb5;
  transform: rotate(5deg);
}
.portfolio-folio::before, .portfolio-folio::after { content: ""; position: absolute; border-radius: inherit; }
.portfolio-folio::before { inset: 4% 0 -3% -10%; z-index: -1; border: 1px solid #8d9e87; background: #d1dcc8; transform: rotate(-9deg); transform-origin: bottom right; }
.portfolio-folio::after { inset: -1px; border: 1px solid #71876e; background: #b1c4a9; z-index: -1; box-shadow: inset 8px 0 #9fb698; }
.portfolio-folio svg { width: 30%; height: auto; color: #48644a; transform: rotate(-5deg); }
.portfolio-collection .cabin-lead { grid-template-columns: minmax(0,1fr) minmax(0,.95fr); gap: clamp(18px,2.3vw,36px); align-items: start; }
.portfolio-work-meta { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
#app .portfolio-work-meta span { color: var(--muted); font-size: var(--forest-meta); }
#app .portfolio-contribution h4 { margin: 0; }
.portfolio-contribution { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 14px; }
#app .portfolio-contribution p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.portfolio-process { margin-bottom: 16px; }
.portfolio-process summary { color: var(--soft-text); padding-block: 5px; cursor: pointer; }
.portfolio-collection .card-content { min-width: 0; }
.portfolio-owner-tools { margin-block-start: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.portfolio-owner-tools .growth-dashboard { margin-top: 0; }
@media (max-width: 1100px) {
  .portfolio-layout:has(.portfolio-resume) .cabin-lead { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 800px) {
  .portfolio-layout:has(.portfolio-resume) { grid-template-columns: minmax(0,1fr); }
  .portfolio-resume { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 620px) {
  .portfolio-actions { grid-column: 1/-1; gap: 4px 12px; }
  .portfolio-layout { margin-block: 24px; }
  .portfolio-first-work { grid-template-columns: minmax(0,1fr); padding: 24px; }
  .portfolio-folio { display: none; }
  .portfolio-collection .cabin-lead { grid-template-columns: minmax(0,1fr); }
}
@media (min-width: 621px) and (max-width: 960px) {
  .discovery-intro.forest-hero { gap: 22px; grid-template-columns: minmax(0,.92fr) minmax(0,1fr); }
}
@media (max-width: 620px) {
  .topbar { background: #10291f; border-bottom-color: #30483a; }
  .route-discover { padding-inline: 20px; }
  .discovery-intro.forest-hero {
    grid-template-columns: minmax(0,1fr); align-items: start; gap: 18px;
    margin: 0; padding: 20px 0 24px;
  }
  .forest-work-window { order: -1; }
  .forest-feature-art { aspect-ratio: 1.95; }
  .forest-byline { margin-top: 4px; }
  #app .forest-hero p { margin-top: 6px; }
  .forest-hero-actions { margin-top: 16px; }
  .route-discover .feed-column { grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding-top: 24px; scroll-margin-top: 72px; }
  .route-discover .forest-feed-title { grid-row: 1; grid-column: 1; }
  .route-discover .sort { grid-row: 1; grid-column: 2; margin: 0; max-width: 100%; }
  .route-discover .discover-search { grid-row: 2; grid-column: 1/-1; }
  .route-discover .filters-row { display: contents; }
  .route-discover .categories { grid-row: 3; grid-column: 1/-1; flex-wrap: nowrap; overflow-x: auto; padding: 0; border-bottom: 1px solid var(--line); }
  .route-discover .discover-results { padding: 0; }
  .route-discover .catalog-access-note { padding-top: 12px; }
  .route-discover .discovery-layout .work-grid { gap: 26px; }
  .profile-hero.cabin-hero { grid-template-columns: 44px minmax(0,1fr); padding: 24px 0; gap: 12px; }
  .cabin-hero > .avatar.large { width: 44px; height: 44px; border-radius: 12px; }
  .cabin-hero > .button { grid-column: 2; grid-row: 2; justify-self: start; }
  .cabin-lead.work-card { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .bottom-nav { background: #122d21; border-color: #385241; }
}
@media (prefers-reduced-motion: reduce) {
  .forest-hero *, .cabin-hero *, .route-discover .cover { transition: none; animation: none; }
}
