/* The sixteen studio stills and the wide hero are the approved Pol origami artwork. */
@font-face {
  font-family: "Pol Vazirmatn";
  src: url("/assets/origami-vazirmatn.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #5d5c5c;
  --side: #595956;
  --pane: #363733;
  --ink: #fffcf5;
  --dim: #e7e2d7;
  --amber: #ffcfb3;
  --onamber: #251910;
  --line: #898579;
  --shade: #474842;
  --rose: #ffc6b4;
  --green: #cbdfbb;
  --paper: #f4eee2;
  --paper-ink: #302e27;
  --paper-dim: #5d574a;
  --paper-line: #bfb6a6;
  --paper-shade: #e5dfd1;
  --paper-accent: #893e22;
  --stock-edge: #77746b;
  --field-edge: #a39d90;
  --coral: #f27349;
  --coral-hover: #ff9469;
  --focus-ring: #a5e0ff;
  --radius: 5px;
  --side-width: 206px;
  --gutter: clamp(15px, 3vw, 51px);
  font-synthesis: none;
}
html { scrollbar-color: #969185 var(--pane); }
body { font: 400 16px/1.65 "Pol Vazirmatn", Dana, Tahoma, sans-serif; }
::selection { color: #281e14; background: #ffe0c5; }
h1, h2 { font-weight: 710; letter-spacing: -.042em; }
h3 { font-weight: 660; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
#content:focus:not(:focus-visible) { outline: none; }
::placeholder { color: #d3cec2; opacity: 1; }
.btn, .icon-button, .mobile-nav button, .row .symbol, .flag { border-radius: 4px; }
.btn { min-height: 44px; border-color: var(--field-edge); padding: 6px 13px; font-size: 13px; font-weight: 640; }
.btn.primary, .btn.studio-button { background: var(--coral); color: var(--onamber); border-color: var(--coral); }
.btn.primary:hover, .btn.studio-button:hover { background: var(--coral-hover); border-color: var(--coral-hover); }
.btn:not(.primary):hover, .icon-button:hover { color: var(--ink); background: var(--shade); border-color: #b8afa0; }
.icon-button { color: var(--ink); min-width: 44px; min-height: 44px; }
.avatar { background: #3e3d38; color: #ffdfc8; border-color: #b8aa96; font-size: 16px; font-weight: 680; }
.icon-button .dot-count { background: #f79b6b; }

/* The masthead and navigation are part of the working shell, including keyboard navigation. */
.content { padding-top: clamp(15px, 2.2vw, 33px); }
.workspace .topbar {
  padding-inline: 0; margin-inline: var(--gutter); min-height: 57px;
  background: var(--bg); border-color: var(--stock-edge); backdrop-filter: none;
}
.topbar .path { font-weight: 570; color: var(--ink); margin-inline-end: auto; }
.brand strong { font-weight: 770; letter-spacing: -.075em; }
.brand small { color: var(--dim); }
.mobile-nav { background: #41423e; border-color: #858175; backdrop-filter: none; }
.mobile-nav button { min-height: 46px; gap: 1px; border-radius: 5px; }
.mobile-nav button .ic { width: 18px; height: 18px; }
.mobile-nav button[aria-current=page] { color: #ffe2cc; background: #343531; box-shadow: inset 0 2px var(--coral); }
.shell-kicker { background: #151714; color: #faf6ea; padding: 5px var(--gutter); font-size: 11px; }
.nav-group-title { margin: 11px 9px 3px; color: var(--dim); font-size: 11px; font-weight: 520; }
.sidebar-profile { display: flex; align-items: center; gap: 9px; }
.sidebar footer { border-color: var(--stock-edge); }
.sidebar .brand > span { display: flex; align-items: baseline; gap: 9px; }
.sidebar .brand strong { font-size: 42px; }
.sidebar .brand small { font-size: 12px; }
@media (min-width: 761px) {
  .sidebar { position: fixed; inset-block: 0; right: 0; z-index: 9; width: var(--side-width); display: flex; flex-direction: column; overflow-y: auto; padding: 20px 14px 14px; background: var(--side); border-inline-end: 1px solid var(--stock-edge); }
  .sidebar > .brand { margin: 0 0 15px; padding: 4px 10px 12px; }
  .sidebar nav { display: grid; gap: 2px; }
  .sidebar nav button { width: 100%; display: flex; align-items: center; gap: 10px; text-align: start; padding: 5px 10px; min-height: 42px; color: var(--ink); border: 0; background: transparent; border-radius: 4px; font-size: 14px; font-weight: 530; }
  .sidebar nav button .ic { width: 17px; height: 17px; }
  .sidebar nav button:hover { color: var(--ink); background: var(--shade); }
  .sidebar nav button[aria-current=page] { color: #ffe3cb; background: var(--pane); box-shadow: inset -3px 0 var(--coral); font-weight: 700; }
  .sidebar footer { margin-top: auto; padding-top: 11px; border-top: 1px solid var(--stock-edge); font-size: 12px; color: var(--dim); }
  .workspace { margin-inline-start: var(--side-width); }
  .workspace .topbar .brand, .mobile-nav { display: none; }
  .workspace .topbar .path { display: block; }
  .workspace .content { padding-bottom: 35px; }
}
@media (min-width: 1450px) { :root { --side-width: 235px; } }
@media (min-width: 761px) and (max-width: 930px) { :root { --side-width: 170px; } .sidebar { padding-inline: 9px; } .sidebar .brand > span { flex-wrap: wrap; } }
@media (max-width: 760px) {
  .workspace .topbar { min-height: 48px; margin-inline: 14px; }
  .workspace .topbar .brand { min-height: 44px; }
  .workspace .topbar .brand strong { font-size: 32px; }
  .workspace .topbar .brand small { display: none; }
  .workspace .topbar .path { display: block; padding-inline-start: 9px; border-inline-start: 1px solid var(--stock-edge); font-size: 12px; }
  .tools { gap: 2px; }
  .sidebar { display: none; }
}

/* The pictured subject identifies a room. Title and actions remain independent of the image. */
[data-room="board"] { --origami-room-art: url('/assets/origami-02.webp'); }
[data-room="think"] { --origami-room-art: url('/assets/origami-03.webp'); }
[data-room="ideas"] { --origami-room-art: url('/assets/origami-04.webp'); }
[data-room="episodes"] { --origami-room-art: url('/assets/origami-05.webp'); }
[data-room="episode"] { --origami-room-art: url('/assets/origami-06.webp'); }
[data-room="meetings"] { --origami-room-art: url('/assets/origami-07.webp'); }
[data-room="calendar"] { --origami-room-art: url('/assets/origami-08.webp'); }
[data-room="tasks"] { --origami-room-art: url('/assets/origami-09.webp'); }
[data-room="guests"] { --origami-room-art: url('/assets/origami-10.webp'); }
[data-room="library"] { --origami-room-art: url('/assets/origami-11.webp'); }
[data-room="source"] { --origami-room-art: url('/assets/origami-12.webp'); }
[data-room="reports"] { --origami-room-art: url('/assets/origami-13.webp'); }
[data-room="admin"] { --origami-room-art: url('/assets/origami-14.webp'); }
[data-room="presenter"] { --origami-room-art: url('/assets/origami-15.webp'); }
.content > .section-title {
  min-height: clamp(175px, 15vw, 215px); margin: 0 0 17px; padding: clamp(17px, 2.3vw, 34px);
  padding-inline-end: calc(37.8% + 15px); gap: 8px; border: 1px solid var(--stock-edge); border-radius: 4px;
  background: var(--pane); color: var(--ink); box-shadow: 0 5px 18px #13151216;
}
.content > .section-title::before {
  inset: 0 auto 0 0; width: 37.8%; background: #31322f var(--origami-room-art, url('/assets/origami-01.webp')) no-repeat center / cover;
  pointer-events: none; animation: none;
}
.content > .section-title::after { display: none; }
.section-title h1 { font-size: clamp(31px, 3.6vw, 54px); font-weight: 710; line-height: 1.28; }
.section-title p { color: var(--dim); font-size: clamp(13px, 1.1vw, 16px); }
.section-title .btn { min-height: 44px; }
.section-title .btn:not(.primary) { background: #474842; border-color: var(--field-edge); color: #ffe2cf; }
@media (max-width: 760px) {
  .content > .section-title { min-height: 141px; padding: 12px; padding-inline-end: calc(39% + 9px); gap: 5px; margin-bottom: 12px; }
  .content > .section-title::before { width: 39%; }
  .section-title h1 { font-size: 28px; }
  .section-title p { font-size: 12px; }
  .section-title .actions { max-width: 100%; }
  .section-title .btn { white-space: normal; }
}

/* Shared paper stock, writing surfaces and working states. */
.panel, .block, .tile, .guest-directory, .idea-group, .approval-box,
.interview-card, .cue-card, .desk-shortcut, .desk-item,
.admin-stat, .admin-recipients, .shelf, .library-search, .report-episode,
.draft-prompt, .form-fold, .quota > div, .report-metrics > div, .audio-items li {
  border-color: var(--stock-edge); border-radius: var(--radius); background: var(--pane);
}
.panel, .block, .admin-stat, .shelf, .tile { box-shadow: 0 4px 14px #13151214; }
.panel-head { margin-bottom: 9px; }
.panel-head h2 { font-size: clamp(19px, 1.8vw, 26px); }
.panel-head svg, .shelf-icon, .shelf .shelf-icon, .desk-shortcut > .ic:last-child, .desk-item > .ic:last-child { color: var(--amber); }
.row { min-height: 52px; }
.row .symbol, .desk-symbol { background: var(--shade); color: var(--amber); border-radius: 4px; }
.row .row-meta { flex-wrap: wrap; }
.bulletin { --amber: #ffcfb3; --dim: #e7e2d7; --shade: #474842; --line: #898579; }
.bulletin .btn.primary { --amber: #ffcfb3; }
.bulletin .avatar { background: #46463f; border-color: var(--field-edge); color: #ffe1c9; }
.bulletin-types button, .poll-option { color: var(--ink); background: var(--shade); border-color: var(--field-edge); border-radius: 4px; min-height: 44px; }
.bulletin-types button .ic { color: var(--amber); }
.bulletin-types button:hover, .poll-option:hover { background: #50514a; }
.poll-option[aria-pressed=true] { color: #ffe4d1; background: #4b352a; border-color: #f59d70; }
.flag { background: #47453d; color: #fff3dc; border: 1px solid #a69b86; padding: 2px 6px; }
.flag.ok { background: #354438; color: #e1efda; border-color: #88977e; }
.flag.new { background: #49372b; color: #ffdcc1; border-color: #bf9477; }
.flag.overdue { background: #53372e; color: #ffe2d4; border-color: #cb987f; }
.flag.published { background: #354440; color: #dbefdf; border-color: #889b8e; }
.tabs { border-color: var(--stock-edge); margin-block: 14px; }
.tabs button[aria-selected=true] { color: #ffe1cb; }
.tabs button[aria-selected=true]::after { height: 2px; background: var(--coral); }
.kanban { scrollbar-color: var(--field-edge) var(--pane); }
.lane { background: #484944; border-radius: 5px; border-color: var(--stock-edge); }
.lane.is-over { border: 1px dashed var(--coral); background: #53473d; }
.tile button.tile-main:hover { background: var(--shade); border-radius: 4px; }
.milestones button, .calendar-grid .cal-cell { border-color: var(--stock-edge); background: var(--pane); border-radius: 4px; }
.calendar-grid .cal-cell.today, .calendar-grid .cal-cell.active { background: #49382d; border-color: #e8a47f; }
.cal-cell:focus-visible { outline-offset: 1px; }
.panel.paper, .reader-page, .single-cue .cue-card {
  color-scheme: light; color: var(--paper-ink); background: var(--paper); border-radius: 4px;
}
.panel.paper .btn:hover { color: var(--paper-ink); background: var(--paper-shade); }
.panel.paper :focus-visible, .reader-page :focus-visible { outline-color: #265a78; }
.charter { color: #34332b; background: #ede6d7; border: 1px solid #c8bba6; border-radius: 4px; }
.charter-art { background: #4f4840; color: #ffddc3; box-shadow: -3px 2px #f7e9d8, -5px 3px #8e8477; }
.source-info { border-radius: 4px; background: #45443d; border-inline-start: 3px solid var(--coral); }
.bookshelf .book-card { --cover: #e4dfd1; --band: #665847; border-radius: 4px; }
.bookshelf .book-identity { --cover: #f1e2cf; --band: #854629; }
.bookshelf .book-meetings { --cover: #e1dbd4; --band: #6a5646; }
.bookshelf .book-production { --cover: #dfdfd9; --band: #53584f; }
.bookshelf .book-team { --cover: #e9e1d4; --band: #65523e; }
.approval-box { border-inline-start: 3px solid var(--coral); }
progress, input[type=checkbox], input[type=radio] { accent-color: var(--coral); }
.progress, table, time, .cal-cell, .quota strong { font-variant-numeric: tabular-nums; }
th { color: #f7f0e2; font-weight: 640; }
td button { min-height: 44px; }
.chart-row strong { color: #ffe1cb; }

/* Readers keep their original media playback and associated forms, inside the refreshed sheet. */
.modal { color: var(--ink); background: var(--pane); border-color: var(--field-edge); border-radius: 9px 9px 0 0; scrollbar-color: var(--field-edge) var(--pane); overscroll-behavior: contain; }
.modal::backdrop { background: #1b1d18ba; backdrop-filter: blur(2px); }
.modal-head, .modal-foot { background: #3d3e38; border-color: var(--stock-edge); }
.filters input, .filters select, .field input, .field select, .field textarea, .comment-form textarea,
.search-field, .entrance-form .field input, .invite-details input, .act-rundown input {
  background: #444540; color: var(--ink); border: 1px solid var(--field-edge); border-radius: 4px; min-height: 44px;
}
.field input[type=file]::file-selector-button { background: #363733; color: #ffdfc8; border-color: var(--field-edge); border-radius: 3px; }
.form-grid { gap: 13px; }
.field > span:first-child { color: #faf5e9; font-weight: 610; }
.checkset label, .admin-check, .reader-pager button, .export-menu > summary, .login-help summary { min-height: 44px; }
.problem { color: #ffd5c8; }
.toast { background: #ece5d7; color: #332b23; border: 1px solid #b5a792; border-radius: 5px; }
.toast.error { background: #f4d8c8; color: #54291f; }
@media (min-width: 620px) { .modal { border-radius: 9px; } }

/* The entrance uses the folded key: a dedicated image plane keeps the paper and orange highlights intact. */
.entrance { background: var(--bg); }
.entrance-body { background: var(--pane); border: 1px solid var(--stock-edge); border-radius: 5px; box-shadow: 0 12px 40px #27282242; }
.entrance-art {
  background: #333431 url('/assets/origami-16.webp') no-repeat center / cover;
  border-color: var(--stock-edge);
}
.entrance-art::before { animation: none; background: linear-gradient(180deg, #24252082, transparent 40%, transparent 76%, #24252070); }
.entrance-word .brand strong { color: #fff6e8; }
.entrance-word .brand small, .studio-rail { color: #f4e3d1; }
.studio-meter i { background: #ff9a67; animation-iteration-count: 2; }
.entrance-form .field span .ic { color: var(--amber); }
.entrance-form > p, .login-help, .login-help p { color: var(--dim); }
.login-help summary { display: list-item; padding-block: 10px; }
@media (max-width: 700px) { .entrance-art { background-position: center; min-height: clamp(160px, 24vh, 215px); } }

.topbar-date { margin-inline-start: auto; font-size: 12px; color: var(--dim); }
@media (max-width: 760px) { .topbar-date { display: none; } }

/* The member's home uses live meetings, invitations and assignments in the approved composition. */
.origami-home { min-width: 0; }
.origami-home .lead {
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: stretch;
  padding: 0; min-height: clamp(214px, 20vw, 330px); border: 1px solid var(--stock-edge); border-radius: 4px;
  overflow: hidden; position: relative; background: var(--pane); color: var(--ink); box-shadow: 0 6px 18px #13151216;
}
.origami-home .lead::before, .origami-home .lead::after { display: none; }
.origami-home .hero-text { max-width: none; align-self: center; padding: clamp(20px,3.8vw,60px); padding-inline-end: 16px; min-width: 0; }
.origami-home .overline, .origami-home .studio-copy > time {
  display: flex; align-items: center; gap: 8px; color: #ffdcc7; font-weight: 670; font-size: 12px; line-height: 1.5;
}
.origami-home .overline::before, .origami-home .studio-copy > time::before { content: ''; width: 21px; height: 2px; background: #ff985d; flex: none; }
.origami-home .hero-text h1 { margin-block: 8px; font-size: clamp(37px,4.7vw,72px); font-weight: 710; line-height: 1.25; letter-spacing: -.06em; overflow-wrap: anywhere; }
.origami-home .hero-text p { margin: 0; max-width: 40ch; line-height: 1.9; color: var(--dim); font-size: clamp(13px,1.1vw,17px); }
.origami-home .hero-tools { display: flex; flex-wrap: wrap; gap: 9px; margin-block-start: 16px; }
.origami-home .hero-img { position: relative; min-width: 0; overflow: hidden; background: #353632; }
.origami-home .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.origami-home .home-link, .origami-home .text-action, .origami-home .invite-title {
  display: inline-flex; gap: 6px; align-items: center; padding: 3px 0; min-height: 44px; border: 0; background: transparent;
  text-align: start; color: #ffdcc7; font-size: 13px; font-weight: 640; line-height: 1.55; overflow-wrap: anywhere;
}
.origami-home .home-link:hover, .origami-home .text-action:hover, .origami-home .invite-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.origami-home .home-link .ic, .origami-home .text-action .ic { width: 16px; height: 16px; }
.origami-home .team-strip {
  display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.35fr); margin: 14px 0 0;
  background: #353630; border: 1px solid #777368; border-radius: 4px; box-shadow: 0 3px 10px #24251f18;
}
.origami-home :is(.pinned-brief,.invite-brief) { min-width: 0; padding: 10px 15px; align-content: center; }
.origami-home .pinned-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 14px; }
.origami-home .pinned-meta h2 { color: #fff8e9; font-size: 16px; line-height: 1.55; }
.origami-home .strip-label { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #ffceb4; font-weight: 630; }
.origami-home .strip-label .ic { width: 14px; height: 14px; }
.origami-home .pinned-brief > .home-link, .origami-home .invite-title { color: var(--ink); font-size: 14px; }
.origami-home .invite-brief { border-inline-start: 1px dashed #807a6d; display: grid; grid-template-columns: 72px minmax(115px, max-content) auto; align-items: center; justify-content: start; gap: 12px; }
.origami-home .invite-brief img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; border-radius: 3px; }
.origami-home .invite-brief > div, .origami-home .pinned-brief > :last-child { min-width: 0; }
.origami-home .rsvp-note { line-height: 1.6; font-size: 11px; color: #e3ddcf; }
.origami-home .rsvp-group { display: grid; grid-template-columns: repeat(2, minmax(65px,1fr)); gap: 5px; }
.origami-home .rsvp { width: 100%; min-height: 44px; border: 1px solid #aaa296; background: #454640; border-radius: 4px; color: #fff4e8; font-size: 13px; font-weight: 620; }
.origami-home .rsvp[aria-pressed=true] { border: 2px solid #ffa47c; background: #49362d; }
.origami-home .todayline { margin: clamp(20px,2.4vw,36px) 0; }
.origami-home :is(.section-title,.section-heading,.home-heading) {
  background: transparent; color: var(--ink); min-height: 0; margin: 0 0 9px; padding: 0; display: flex; flex-flow: row wrap;
  gap: 6px 10px; align-items: center; justify-content: space-between; border: 0; border-radius: 0; overflow: visible;
}
.origami-home .section-title::before, .origami-home .section-title::after { display: none; }
.origami-home :is(.section-title,.section-heading,.home-heading)>div:first-child { display: flex; align-items: center; gap: 8px; }
.origami-home :is(.section-title,.section-heading,.home-heading,.panel-head) h2 { color: var(--ink); font-size: clamp(19px,1.8vw,26px); }
.origami-home :is(.section-title,.section-heading,.home-heading) .ic { width: 18px; height: 18px; color: #ffdcc7; }
.origami-home .agenda { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding-block: 10px; border-block: 1px solid #858177; }
.origami-home .home-agenda-entry { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px; text-align: start; min-height: 55px; padding: 3px 9px; border: 0; background: transparent; color: var(--ink); }
.origami-home .home-agenda-entry + .home-agenda-entry { border-inline-start: 1px dashed #a29c90; }
.origami-home .agenda time { color: #ffdcc7; font-weight: 740; font-size: clamp(16px,1.6vw,24px); font-variant-numeric: tabular-nums; }
.origami-home .agenda b, .origami-home .agenda strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.origami-home .agenda small, .origami-home .folio { display: block; color: var(--dim); font-size: 12px; }
.origami-home .columns { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); align-items: start; gap: clamp(12px,1.6vw,23px); }
.origami-home .columns > :is(.sheet,.panel) { position: relative; min-width: 0; padding: clamp(14px,1.6vw,27px); border: 1px solid var(--stock-edge); border-radius: 4px; background: var(--pane); }
.origami-home .sheet.fold { box-shadow: 0 3px 0 -1px #575550, 0 6px 0 -2px #4c4943; }
.origami-home .sheet.fold::after { content: ''; pointer-events: none; position: absolute; inset: 0 auto auto 0; width: 21px; height: 21px; background: linear-gradient(135deg,var(--bg) 49%,#b5a68e 50%,#817666 70%,#615c51 100%); }
.origami-home .brief-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.origami-home .file-title { margin: 6px 0; font-size: clamp(22px,2.6vw,37px); font-weight: 720; line-height: 1.5; letter-spacing: -.045em; overflow-wrap: anywhere; }
.origami-home .sheet p { color: var(--dim); font-size: 14px; line-height: 1.9; }
.origami-home .progress { display: flex; list-style: none; gap: 7px; padding: 0; margin: 16px 0 9px; }
.origami-home .progress li { flex: 1; min-width: 0; border-block-start: 2px solid #87857c; padding-block-start: 5px; font-size: 12px; }
.origami-home .progress li :is(small,span,strong) { display: block; color: var(--dim); font-size: 11px; }
.origami-home .progress li span, .origami-home .progress li strong { color: var(--ink); font-weight: 640; }
.origami-home .progress .finished { border-color: #d4c6b1; }
.origami-home .progress .current { border-color: var(--coral); }
.origami-home .progress .current small { color: #ffd4bd; }
.origami-home .floor { margin-top: 23px; }
.origami-home .room-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.origami-home .room-card { display: block; text-align: start; padding: 0; min-width: 0; border: 1px solid var(--stock-edge); background: var(--pane); border-radius: 4px; overflow: hidden; color: var(--ink); }
.origami-home .room-card img { width: 100%; height: auto; aspect-ratio: 2.1; object-fit: cover; }
.origami-home .room-card > :is(div,span) { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; gap: 5px; font-size: 14px; font-weight: 650; }
.origami-home .room-card .ic { width: 15px; height: 15px; }
@media (min-width: 761px) and (max-width: 1180px) {
  .origami-home .invite-brief { grid-template-columns: 45px minmax(0,1fr); }
  .origami-home .rsvp-group { grid-column: 2; justify-self: start; width: min(100%,170px); }
  .origami-home :is(.pinned-brief,.invite-brief) { padding: 8px 10px; }
}
@media (max-width: 760px) {
  .origami-home .lead { display: flex; flex-direction: column; min-height: 0; margin-inline: calc(-1 * var(--gutter)); margin-block-start: calc(-1 * clamp(15px,2.2vw,33px)); border-inline: 0; border-radius: 0; }
  .origami-home .hero-img { order: -1; width: 100%; height: auto; aspect-ratio: 2/1; }
  .origami-home .hero-img img { object-fit: contain; }
  .origami-home .hero-text { align-self: stretch; display: grid; align-items: center; grid-template-columns: minmax(0,1fr) auto; padding: 10px 15px; gap: 1px 5px; }
  .origami-home .hero-text .overline, .origami-home .hero-text > time { grid-column: 1/-1; font-size: 11px; }
  .origami-home .hero-text h1 { grid-column: 1; font-size: 29px; line-height: 1.4; margin: 0; }
  .origami-home .hero-text p { grid-column: 1/-1; grid-row: 3; font-size: 12px; }
  .origami-home .hero-tools { grid-column: 2; grid-row: 2; margin: 0; }
  .origami-home .hero-tools .btn { padding: 5px 8px; font-size: 12px; }
  .origami-home .team-strip { grid-template-columns: 1fr; margin-top: 12px; }
  .origami-home .pinned-brief { display: flex; align-items: center; justify-content: space-between; min-height: 51px; gap: 6px; padding: 2px 9px; }
  .origami-home .pinned-meta { display: grid; gap: 0; flex: none; }
  .origami-home .pinned-brief > .home-link { font-size: 12px; }
  .origami-home .invite-brief { border-inline-start: 0; border-block-start: 1px dashed #807a6d; padding: 8px 9px; grid-template-columns: clamp(86px,24vw,96px) minmax(0,1fr); justify-content: stretch; gap: 4px 10px; }
  .origami-home .invite-title { font-size: 13px; }
  .origami-home .rsvp-group { grid-column: 1/-1; grid-template-columns: 1fr 1fr; }
  .origami-home .todayline { margin: 16px 0; }
  .origami-home .agenda { display: flex; flex-direction: column; padding-block: 2px; gap: 0; }
  .origami-home .home-agenda-entry { display: flex; gap: 10px; min-height: 44px; padding-inline: 2px; }
  .origami-home .home-agenda-entry + .home-agenda-entry { border-inline-start: 0; border-block-start: 1px dashed var(--stock-edge); }
  .origami-home .home-agenda-entry > span { flex: 1; min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }
  .origami-home .agenda b, .origami-home .agenda strong { font-size: 13px; }
  .origami-home .agenda small { font-size: 11px; }
  .origami-home .agenda time { font-size: 16px; }
  .origami-home .columns { grid-template-columns: 1fr; }
  .origami-home .progress { gap: 4px; }
  .origami-home .floor { margin-top: 17px; }
  .origami-home .room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .origami-home .room-card img { transition: transform .23s ease-out; }
  .origami-home .room-card:hover img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .flag, .origami-home .rsvp { border: 1px solid ButtonText; }
  [aria-current=page], [aria-pressed=true], [aria-selected=true] { outline: 1px solid Highlight; outline-offset: -2px; }
}

.sidebar-profile > span:last-child :is(strong,small) { display: block; }
.origami-home .section-title-home { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.origami-home .section-title-home h2 { display: flex; align-items: center; gap: 8px; font-size: clamp(19px,1.8vw,26px); }
.origami-home .section-title-home .ic { width: 18px; height: 18px; color: var(--amber); }
.origami-home .home-empty { font-size: 13px; font-weight: 500; color: var(--dim); }
.origami-home .meeting-poll { min-width: 0; max-width: 22em; }
.origami-home .meeting-poll > strong { display: block; margin-bottom: 3px; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.origami-home .meeting-poll .poll-option { min-height: 44px; margin: 0; gap: 4px; padding: 5px 8px; }
.origami-home .meeting-poll .poll-option > span:last-child { white-space: nowrap; font-size: 11px; }
.origami-home :is(.home-board,.studio-tools,.week-rail) { margin-top: 16px; }
.origami-home .quick-tool { color: var(--ink); }
.origami-home .home-case-count { font-size: 12px; }
.origami-home .home-link.btn { white-space: normal; }
.origami-home .home-link.btn:hover, .origami-home .text-action.btn:hover { background: transparent; }
@media (min-width: 761px) and (max-width: 1180px) { .origami-home .meeting-poll { grid-column: 2; } }
@media (max-width: 760px) {
  .origami-home .meeting-poll { grid-column: 1/-1; max-width: none; }
  .origami-home .section-title-home { margin-bottom: 5px; }
  .origami-home .section-title-home h2 { font-size: 21px; }
  .origami-home .home-agenda-entry > span { flex-wrap: wrap; }
  .origami-home .agenda time { max-width: 32%; }
}
