@font-face { font-family: Fraunces; src: url('/vendor/fraunces.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Manrope; src: url('/vendor/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #192921;
  --green: #224234;
  --amber: #edb571;
  --paper: #f7efdd;
  --background: #111d18;
  --surface: #1a2a22;
  --border: #35473c;
  --text: #f3eddf;
  --muted: #acb9ae;
  --room-height: clamp(420px, 36vw, 550px);
  --serif: Fraunces, Georgia, serif;
  --sans: Manrope, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
svg { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: middle; flex-shrink: 0; }
:focus-visible { outline: 3px solid #f5bf7c; outline-offset: 3px; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10; background: var(--paper); color: var(--ink); border-radius: 8px; padding: 12px 16px; }
.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid #2c3c32; background: #17261f; }
.site-bar { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: none; display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; color: #293024; background: var(--amber); font-size: 22px; box-shadow: inset 0 0 0 1px #fff4d059; }
.brand strong, .brand-sub { display: block; }
.brand strong { font-size: 1rem; font-weight: 800; line-height: 1.16; }
.brand-sub { margin-top: 4px; font-size: .67rem; font-weight: 800; letter-spacing: .21em; color: #c0ccba; }
.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; min-width: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 15px; border: 1px solid transparent; border-radius: 9px; font-size: .875rem; font-weight: 800; white-space: nowrap; transition: background .18s, border-color .18s; }
.button-amber { background: var(--amber); color: #2a261b; }
.button-amber:hover { background: #f7c789; }
.button-line, .account-button { background: #21332a; color: var(--text); border-color: #3a4c41; }
.button-line:hover, .account-button:hover { background: #2d4538; border-color: #718678; }
.account-button { max-width: 170px; overflow: hidden; }
.account-text { overflow: hidden; text-overflow: ellipsis; }

.room-intro { padding: 34px 0 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.room-intro h1 { font: 600 clamp(2.5rem, 3.75vw, 3.75rem)/1.01 var(--serif); letter-spacing: -.051em; }
.intro-meta { display: flex; align-items: center; gap: 14px; padding-bottom: 4px; flex-wrap: wrap; justify-content: flex-end; }
.sample-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #654e33; border-radius: 7px; background: #382b1e; color: #f3c28b; font-weight: 750; font-size: .79rem; }
.clock { display: inline-flex; align-items: center; gap: 7px; color: #c3cdc2; font-size: .83rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.clock svg { color: #d0bc96; }

.room-workspace { scroll-margin-top: 12px; }
.room-workspace.cabinet-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(290px, 30%, 384px);
  grid-template-rows: var(--room-height);
  gap: 12px;
}
.cabinet-open .room-frame { height: 100%; }
.cabinet-open :is(.next-sign, .room-pins, .scene-meta, .scene-hint) { display: none; }
.cabinet-open .room-shade { background: linear-gradient(0deg, #171e1780, transparent 19%); }
.room-frame {
  position: relative;
  isolation: isolate;
  height: var(--room-height);
  border: 1px solid #56624d;
  border-radius: 17px;
  overflow: hidden;
  background: radial-gradient(ellipse at 78% 29%, #a69063, #485747 53%, #242f25);
  box-shadow: 0 18px 56px #080f0b56, inset 0 0 0 1px #e9e0ad25;
}
.room-canvas, .room-shade, .room-pins { position: absolute; inset: 0; }
.room-canvas { background: center / cover no-repeat url('/scene-preview.webp'); }
.room-canvas canvas { display: block; width: 100%; height: 100%; outline: 0; }
.room-ready .room-canvas { background: none; }
.room-shade { pointer-events: none; background: linear-gradient(0deg, #171e17a6, transparent 22%), linear-gradient(90deg, #171a1360, transparent 31%); }
.room-pins { pointer-events: none; }
.scene-meta { position: absolute; top: 22px; right: 22px; display: flex; align-items: center; gap: 8px; padding: 8px 11px; color: #f8f0de; background: #193126e6; border: 1px solid #eee6bb3b; border-radius: 7px; font-size: .76rem; font-weight: 800; }
.scene-meta > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: #b9d19e; box-shadow: 0 0 0 3px #b9d19e26; }
.editing .scene-meta > span:first-child { background: var(--amber); box-shadow: 0 0 0 3px #e7ad673b; }
.scene-status { position: absolute; bottom: 15px; right: 15px; max-width: min(350px, calc(100% - 30px)); color: var(--paper); background: #16271ef2; border: 1px solid #d1d7a43d; border-radius: 9px; padding: 10px 13px; font-size: .85rem; }
.next-sign { position: absolute; z-index: 2; top: 23px; left: 23px; width: min(309px, calc(100% - 42px)); padding: 15px; border: 1px solid #fff8e5; border-radius: 13px; text-align: left; color: #223129; background: #fbf0db; box-shadow: 0 12px 31px #32291758, 0 1px 0 #74604645; transition: background .2s, box-shadow .2s; }
.next-sign:hover { background: #fff6e5; box-shadow: 0 12px 35px #171b10a1; }
.sign-top { display: flex; align-items: center; gap: 8px; color: #5b633d; font-size: .68rem; font-weight: 850; letter-spacing: .11em; }
.sign-icon { display: grid; place-items: center; width: 29px; height: 27px; border-radius: 6px; background: #f0d199; color: #514128; font-size: 15px; }
.sign-arrow { margin-left: auto; color: #506053; font-size: 1rem; }
.sign-title { display: block; margin-top: 12px; font: 650 clamp(1.35rem, 2vw, 1.74rem)/1.06 var(--serif); letter-spacing: -.036em; }
.sign-subject { display: block; margin-top: 6px; font-size: .94rem; font-weight: 800; color: #3a483d; overflow-wrap: anywhere; }
.sign-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.sign-cell { min-width: 0; padding: 8px 10px; background: #f0e4cc; border: 1px solid #e5d5b8; border-radius: 7px; }
.room-tile { background: #e2ebd9; border-color: #c9d9c1; perspective: 180px; }
.cell-label, .cell-value { display: block; }
.cell-label { margin-bottom: 2px; font-size: .66rem; font-weight: 850; letter-spacing: .06em; color: #516049; }
.cell-value { font-size: 1.03rem; font-weight: 850; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.scene-controls { position: absolute; display: flex; align-items: center; gap: 8px; left: 21px; right: 21px; bottom: 18px; pointer-events: none; }
.scene-button, .scene-hint, .room-pin { display: inline-flex; align-items: center; gap: 7px; min-height: 39px; padding: 0 11px; border: 1px solid #e5e4c543; border-radius: 8px; color: #fff5df; background: #192c23ed; box-shadow: 0 3px 10px #101a1433; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.scene-button { pointer-events: auto; }
.scene-button:hover, .room-pin:hover { background: #2d4838; border-color: #efe1be95; }
.motion-button[aria-pressed='true'] { background: #45533b; }
.scene-hint { margin-left: auto; font-weight: 650; }
.room-frame:has(.room-renderer:focus-visible) { border-color: var(--amber); }
.room-pin { position: absolute; z-index: 1; pointer-events: auto; min-height: 33px; min-width: 33px; gap: 6px; padding: 4px 9px 4px 5px; border-color: #fbf0d99c; border-radius: 7px; transform: translate(-50%, -50%); }
.pin-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; color: #203026; background: var(--tone); font-size: .92rem; }
.room-pin:focus-visible, .room-pin:hover { z-index: 3; }
.room-pin.today-pin { gap: 5px; min-height: 40px; padding: 4px 9px 4px 5px; }
.today-pin .pin-label { position: static; width: auto; height: auto; clip-path: none; }
.tone-sage { --tone: #c0d0ab; --tone-bg: #374839; }
.tone-gold { --tone: #edbc81; --tone-bg: #483c2d; }
.tone-blue { --tone: #acd0cf; --tone-bg: #2d4644; }
.tone-rose { --tone: #e7b7ad; --tone-bg: #493938; }

.room-guide { padding-top: 23px; }
.guide-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.guide-header h2 { font: 600 1.59rem/1.15 var(--serif); letter-spacing: -.027em; }
.guide-header > span { color: var(--muted); font-size: .81rem; }
.room-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.room-link { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 72px; padding: 12px; border: 1px solid #364a3d; border-radius: 10px; text-align: left; color: var(--text); background: #203129; transition: background .18s, border-color .18s; }
.room-link:hover { background: #2a4034; border-color: #718b7a; }
.guide-icon { display: grid; flex: 0 0 39px; width: 39px; height: 39px; place-items: center; border-radius: 8px; color: var(--tone); background: var(--tone-bg); font-size: 19px; }
.guide-copy { min-width: 0; }
.guide-copy strong, .guide-copy small { display: block; }
.guide-copy strong { font-size: .93rem; line-height: 1.25; font-weight: 800; }
.guide-copy small { margin-top: 4px; color: #bcc8bc; font-size: .75rem; line-height: 1.35; }
.guide-chevron { margin-left: auto; color: #bacbb9; font-size: .9rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 0 21px; margin-top: 23px; border-top: 1px solid #2d3d33; color: #a6b5a8; font-size: .74rem; }
.site-footer span:last-child { display: flex; align-items: center; gap: 5px; }

:is(.panel, .cabinet-panel) { color-scheme: light; border: 1px solid #e8d8b9; border-radius: 17px; color: var(--ink); background: var(--paper); overflow: hidden; }
.panel { width: min(650px, calc(100% - 28px)); max-height: min(86dvh, 850px); padding: 0; box-shadow: 0 22px 74px #111a13ad; }
.panel[open] { display: flex; flex-direction: column; animation: panel-in .25s ease-out; }
.panel::backdrop { background: #0d1913ae; backdrop-filter: blur(3px); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px) scale(.99); } }
:is(.panel, .cabinet-panel) :focus-visible { outline-color: #95601b; }
.panel-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 18px 21px; border-bottom: 1px solid #dacbad; background: #f0e1c4; }
.panel-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; border: 1px solid #c8d6b7; background: #dce6d1; color: #294634; font-size: 21px; }
.panel-kicker { margin-bottom: 2px; color: #6d614b; font-size: .71rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
:is(.panel, .cabinet-panel) h2 { font: 640 clamp(1.55rem, 4vw, 2rem)/1.04 var(--serif); letter-spacing: -.033em; }
.panel-body { padding: 20px 21px 24px; overflow: auto; overscroll-behavior: contain; }
.panel h3 { font: 640 1.24rem var(--serif); letter-spacing: -.02em; }
.close-button, .icon-button { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid #cebea0; border-radius: 8px; background: #f8f1e1; color: #294036; font-size: 17px; }
.close-button:hover, .icon-button:hover:not(:disabled) { background: #e5ecd9; border-color: #a1ad91; }
.icon-button:disabled { opacity: .43; }
.panel-button, .panel-link, .file-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .88rem; font-weight: 800; min-height: 40px; }
.panel-button { border: 1px solid #213e31; padding: 8px 13px; border-radius: 8px; background: #254636; color: #fff6e4; }
.panel-button:hover { background: #365942; }
.panel-button:disabled { opacity: .5; }
.panel-link, .file-link { border: 0; padding: 3px 0; color: #36543e; text-decoration: underline; text-underline-offset: 4px; background: transparent; text-align: left; }
.file-link { max-width: 160px; justify-content: flex-start; overflow-wrap: anywhere; }
.panel-link:hover, .file-link:hover { color: #83541f; }
.empty-state { padding: 19px; border-radius: 9px; background: #eee5d2; color: #5d6251; font-size: .94rem; line-height: 1.48; }
.board-today-link { display: flex; align-items: center; width: 100%; gap: 10px; padding: 12px 14px; margin-bottom: 14px; border: 1px solid #486552; border-radius: 8px; color: #fbf3d9; background: #2b493a; text-align: left; }
.board-today-link strong { font: 620 1.2rem var(--serif); }
.board-today-link span { margin-left: auto; color: #e1e6d6; font-size: .8rem; }
.board-today-link:hover { background: #345740; }
.panel[data-panel="today"] { width: min(520px, calc(100% - 24px)); border-color: #8b8060; background: #263f34; color: #fbf4de; }
.panel[data-panel="today"] .panel-top { background: #20382d; border-color: #8c9d7b55; }
.panel[data-panel="today"] .panel-icon { color: #ebd9a9; background: #324f3f; border-color: #b5bc9959; }
.panel[data-panel="today"] .panel-kicker { color: #d2d9c1; }
.panel[data-panel="today"] .panel-body { padding-block: 0; }
.panel[data-panel="today"] :focus-visible { outline-color: #f1ce88; }
.today-note { padding: 16px 0; overflow-wrap: anywhere; }
.today-note + .today-note { border-top: 1px dashed #b6c3a866; }
.panel .today-note h3 { margin: 0 0 6px; color: #ead29a; font: 700 1.03rem/1.3 var(--serif); }
.today-note p, .today-moves li { font: 500 .92rem/1.45 var(--sans); }
.today-subject { display: block; font: 600 clamp(1.25rem, 4vw, 1.7rem)/1.15 var(--serif); }
.today-meeting, .today-move { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; }
.today-meeting { margin-top: 7px; font-size: .9rem; }
.today-venue { padding: 2px 7px; border: 1px solid #a7b996; border-radius: 4px; }
.today-muted, .today-move > span, .today-assignment small { color: #d2ddc8; }
.today-moves { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.today-move strong { color: #f2d99d; }
.today-assignment summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; }
.today-assignment summary::-webkit-details-marker { display: none; }
.today-assignment summary svg { flex: none; }
.today-assignment[open] summary svg { transform: rotate(90deg); }
.today-assignment small { display: block; margin-top: 4px; font-size: .81rem; }
.today-instructions { margin-top: 9px; padding-left: 10px; border-left: 2px solid #a9b596; }
.today-instructions .file-link { max-width: 100%; color: #f2d99d; }
.content-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.content-item { display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 11px; padding: 11px; border: 1px solid #e3d7be; border-radius: 9px; background: #fbf6e9; color: var(--ink); line-height: 1.4; overflow-wrap: anywhere; }
.content-item p, .content-item small { display: block; margin-top: 3px; color: #666c56; font-size: .79rem; }
.list-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 7px; background: #e5ead7; color: #445939; }
.agenda-next { display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 11px; padding: 13px 11px; margin-bottom: 18px; border-radius: 9px; background: #e0ead8; border: 1px solid #cfdbc3; }
.agenda-next p { margin-top: 3px; color: #4a6250; font-size: .82rem; }
.agenda-room, .meeting-room { text-align: right; color: #2b4c35; }
.pill { display: inline-flex; align-items: center; width: fit-content; padding: 4px 7px; border-radius: 5px; background: #d0dfc4; color: #344b34; font-weight: 800; font-size: .72rem; }
.agenda-bar, .scrapbook-bar, .project-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-bottom: 12px; }
.agenda-bar span, .scrapbook-bar p, .project-meta > span:last-child { font-size: .79rem; color: #647258; }
.agenda-actions, .agenda-shortcuts, .page-actions { display: flex; align-items: center; gap: 7px; }
.agenda-shortcuts { margin-top: 7px; gap: 14px; }
.content-list.meetings .content-item { grid-template-columns: 87px minmax(0, 1fr) auto; }
.is-cancelled .meeting-room { color: #92523f; }
.status-label { display: block; font-size: .76rem; color: #805525; }
:is(.panel, .cabinet-panel) input:not([type='radio']), .panel textarea, .panel select { min-width: 0; min-height: 41px; padding: 8px 10px; border: 1px solid #cbbb9d; border-radius: 7px; background: #fffaf0; color: var(--ink); }
.panel textarea { resize: vertical; }
.panel label { color: #334739; }
.cabinet-controls { margin-bottom: 11px; }
.search-label { display: flex; align-items: center; position: relative; }
.search-label > svg { position: absolute; left: 12px; }
:is(.panel, .cabinet-panel) .search-label input { width: 100%; padding-left: 36px; }
.folder-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 13px; }
.folder-tab { display: flex; align-items: center; gap: 5px; min-height: 35px; padding: 5px 9px; border: 1px solid #ded0b4; border-radius: 6px; background: #efe3ca; color: #47543e; font-size: .78rem; font-weight: 750; }
.folder-tab[aria-pressed='true'] { background: #42573e; color: #fff8e8; border-color: #42573e; }
.drawer-content { animation: drawer-slide .26s ease-out; }
.drawer-content li { animation: folder-fan .28s ease-out both; transform-origin: 0 50%; }
.drawer-content li:nth-child(2) { animation-delay: .035s; }
.drawer-content li:nth-child(3) { animation-delay: .07s; }
@keyframes drawer-slide { from { transform: translateY(-8px); opacity: .65; } }
@keyframes folder-fan { from { transform: perspective(450px) rotateY(-8deg) translateY(-4px); opacity: .65; } }
.cabinet-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.cabinet-panel .cabinet-panel-top { gap: 9px; padding: 13px 15px; }
.cabinet-panel .panel-icon { width: 40px; height: 40px; font-size: 18px; }
.cabinet-panel h2 { font-size: clamp(1.3rem, 3.2vw, 1.73rem); }
.cabinet-panel .panel-body { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 14px 15px 13px; overflow: hidden; }
.cabinet-panel .cabinet-controls { flex: none; }
.cabinet-panel .folder-tabs { flex: none; max-height: 94px; padding: 3px; margin: -3px -3px 10px; overflow: auto; }
.cabinet-panel .drawer-content { min-height: 0; padding: 3px; margin: -3px; overflow: hidden auto; overscroll-behavior: contain; }
.cabinet-panel .file-item { grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; }
.cabinet-panel .file-link { grid-column: 2; width: fit-content; max-width: 100%; }
.notice-paper { border: 1px solid #d8c69d; border-radius: 8px; background: #faebbd; box-shadow: 1px 3px 0 #d5c59670; transform-origin: 0 0; }
.notices-grid { display: grid; gap: 11px; }
.notice-paper summary { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 13px; list-style: none; cursor: pointer; }
.notice-paper summary::-webkit-details-marker { display: none; }
.notice-paper summary strong, .notice-paper summary small, .notice-date { display: block; }
.notice-paper summary small, .notice-date { font-size: .78rem; color: #74643b; }
.notice-paper summary strong { font: 660 1.18rem var(--serif); }
.notice-pin { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: #ecd898; color: #6e562c; }
.notice-chevron { transition: transform .2s; }
.notice-paper[open] .notice-chevron { transform: rotate(90deg); }
.notice-paper[open] { animation: notice-lift .32s ease-out; }
.notice-copy { padding: 0 14px 13px 54px; transform-origin: top left; }
.notice-paper[open] .notice-copy { animation: notice-unfold .38s ease-out; }
@keyframes notice-lift { 38% { transform: perspective(550px) rotateZ(-1deg) rotateX(-3deg); } }
@keyframes notice-unfold { from { opacity: .3; transform: perspective(360px) rotateX(-38deg); } }
.user-copy { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.57; }
.project-list { display: grid; gap: 10px; }
.project-card { padding: 15px; border: 1px solid #d3d6bc; border-radius: 10px; background: #e8ebdc; }
.project-card h3 { margin-bottom: 5px; }
.project-card .panel-link { margin-right: 12px; }
.scrap-page { min-height: 175px; padding: 18px 18px 18px 32px; border: 1px solid #d9c49c; border-radius: 6px 12px 12px 6px; background: repeating-linear-gradient(transparent 0 23px, #ae9a6232 23px 24px), linear-gradient(90deg, #d6ba88 0, #f0dcb2 14px, #f8e9c7 33%); box-shadow: 3px 5px 0 #d7c195; transform-origin: 0 50%; }
.scrap-page h3 { margin: 7px 0; font-size: 1.48rem; }
.scrap-date, .scrap-author { color: #6e5c3e; font-size: .83rem; }
.scrap-author { margin-top: 14px; }
.scrap-page blockquote { margin: 14px 0; font: 500 1.26rem/1.4 var(--serif); }
.scrap-page figure { width: fit-content; max-width: 100%; margin: 10px 0; padding: 5px; border: 1px solid #e6d8b7; background: #fcf4df; }
.scrap-page img { display: block; max-width: 100%; max-height: 280px; object-fit: contain; }
.page-forward { animation: fold-page .43s cubic-bezier(.25,.65,.3,1); }
.page-back { transform-origin: right center; animation: fold-back .43s cubic-bezier(.25,.65,.3,1); }
@keyframes fold-page { from { transform: perspective(520px) rotateY(-47deg) skewY(1.5deg); filter: brightness(.84); } }
@keyframes fold-back { from { transform: perspective(520px) rotateY(47deg) skewY(-1.5deg); filter: brightness(.84); } }
.page-actions { justify-content: center; margin-top: 12px; font-size: .86rem; }
.pending-message { padding: 9px 11px; margin-bottom: 10px; border-radius: 7px; background: #e7ead8; color: #4f613d; font-size: .87rem; }
.quick-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.quick-tabs button { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 42px; padding: 4px 5px; border: 1px solid #d9c9a8; border-radius: 7px; background: #eee3ca; color: #455242; font-size: .8rem; font-weight: 800; }
.quick-tabs button[aria-selected='true'] { border-color: #365844; color: #fff9e9; background: #365844; }
.due-list button { width: 100%; text-align: left; }
.due-list button:hover { background: #eee8d4; }
.panel-form { display: grid; gap: 12px; }
.panel-form > label, .form-grid > label { display: grid; gap: 5px; font-size: .87rem; font-weight: 800; }
.panel-form > .panel-button, .panel-form > .panel-link { justify-self: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-hint, .auth-copy, .account-detail p { color: #646751; font-size: .89rem; line-height: 1.53; }
.form-error { padding: 8px 10px; border-radius: 7px; background: #f4dace; color: #852d22; font-size: .9rem; }
.setup-choice { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 11px; border: 1px solid #d7c9ab; border-radius: 8px; font-size: .87rem; }
.setup-choice legend { font-weight: 800; }
.account-detail { margin-bottom: 14px; }
.toast { position: fixed; z-index: 5; bottom: 16px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 15px; border: 1px solid #8b9c7c; border-radius: 9px; color: #faf0d7; background: #284738; box-shadow: 0 6px 22px #0c1710a0; font-size: .9rem; }

@media (max-width: 1080px) {
  .shell { width: calc(100% - 54px); }
  .guide-chevron { display: none; }
  .room-link { gap: 8px; }
}
@media (max-width: 850px) {
  .room-workspace.cabinet-open { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px; }
  .cabinet-open .room-frame { height: clamp(210px, 34svh, 286px); }
  .cabinet-panel .drawer-content { max-height: clamp(135px, 24svh, 220px); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .site-bar { min-height: 65px; gap: 10px; }
  .room-intro { padding-top: 20px; align-items: flex-start; }
  .intro-meta { gap: 8px; flex-direction: column; align-items: flex-end; }
  .account-button { width: 42px; padding: 0; }
  .account-text { display: none; }
  .room-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-frame { height: 450px; }
  .room-pin { padding-right: 5px; min-width: 39px; min-height: 39px; justify-content: center; }
  .pin-label { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); }
  .scene-hint { display: none; }
  .next-sign { width: 266px; }
}
@media (max-width: 500px) {
  .shell { width: calc(100% - 24px); }
  .site-bar { gap: 6px; }
  .brand { gap: 7px; }
  .brand-icon { width: 34px; height: 34px; border-radius: 9px; font-size: 17px; }
  .brand strong { font-size: .83rem; }
  .brand-sub { font-size: .58rem; }
  .top-actions { gap: 5px; }
  .button { min-height: 40px; gap: 5px; padding: 0 8px; font-size: .77rem; }
  .account-button { width: 36px; padding: 0; }
  .top-actions .button-line { font-size: 0; width: 35px; padding: 0; }
  .top-actions .button-line svg { font-size: 17px; }
  .room-intro { padding: 16px 1px 13px; align-items: flex-start; gap: 4px; flex-direction: column; }
  .room-intro h1 { font-size: 2.5rem; }
  .intro-meta { flex-direction: row; justify-content: flex-start; align-items: center; padding: 4px 0 0; }
  .sample-badge { padding: 4px 7px; font-size: .68rem; }
  .clock { font-size: .72rem; }
  .room-frame { height: clamp(412px, 110vw, 480px); border-radius: 13px; }
  .cabinet-open .room-frame { height: clamp(194px, 32svh, 236px); }
  .scene-meta { right: 10px; top: auto; bottom: 60px; padding: 6px 8px; font-size: .67rem; }
  .next-sign { top: 11px; left: 11px; width: min(250px, calc(100% - 22px)); padding: 10px; border-radius: 10px; }
  .sign-icon { width: 24px; height: 22px; font-size: 12px; }
  .sign-title { margin-top: 7px; font-size: 1.44rem; }
  .sign-subject { margin-top: 4px; font-size: .85rem; }
  .sign-info { margin-top: 8px; }
  .sign-cell { padding: 5px 8px; }
  .cell-value { font-size: .93rem; }
  .scene-controls { left: 10px; right: 10px; bottom: 10px; gap: 5px; }
  .scene-button { min-height: 42px; padding-inline: 8px; gap: 5px; }
  .room-guide { padding-top: 16px; }
  .guide-header h2 { font-size: 1.38rem; }
  .guide-header > span { display: none; }
  .room-links { gap: 7px; }
  .room-link { padding: 9px 7px; gap: 7px; min-height: 70px; }
  .guide-icon { width: 31px; flex-basis: 31px; height: 31px; font-size: 15px; }
  .guide-copy strong { font-size: .81rem; }
  .guide-copy small { font-size: .68rem; }
  .panel-top { padding: 13px; }
  .panel-icon { width: 37px; height: 37px; font-size: 16px; }
  .panel-body { padding: 13px 13px 17px; }
  .cabinet-panel { border-radius: 13px; }
  .cabinet-panel .cabinet-panel-top { padding: 8px 12px; }
  .cabinet-panel .panel-icon { width: 34px; height: 34px; font-size: 16px; }
  .cabinet-panel .panel-body { padding: 11px 12px 12px; }
  .cabinet-panel .folder-tabs { flex-wrap: nowrap; scrollbar-width: thin; }
  .cabinet-panel .folder-tab { flex: none; max-width: 100%; overflow-wrap: anywhere; }
  .quick-tabs { grid-template-columns: 1fr 1fr; }
  .agenda-next { gap: 8px; }
  .agenda-next > .pill { grid-column: 1 / -1; }
  .file-item { grid-template-columns: auto 1fr; }
  .file-item .file-link { grid-column: 2; }
  .notice-copy { padding-left: 14px; }
}

.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
