@font-face {
  font-family: Fraunces;
  src: url("../../assets/fraunces.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans";
  src: url("../../assets/source-sans.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans";
  src: url("../../assets/source-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #1f1c18;
  --cobalt: #4a6b82;
  --paper: #fff7e8;
  --white: #fffdf7;
  --coral: #e06d53;
  --yellow: #f2c94c;
  --lilac: #e4d7fd;
  --mint: #dcefe6;
  --line: #cfcbc6;
  --display: Fraunces, Georgia, serif;
  --body: "Source Sans", system-ui, sans-serif;
}
*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.43 var(--body); }
a { color: inherit; }
button, select, input, textarea { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
button:disabled { opacity: .56; cursor: default; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { font: 800 1.35rem/1.09 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.office { width: min(100% - 40px, 1160px); margin: auto; padding: .8rem 0 2.5rem; min-width: 0; }
.office-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; min-height: 43px; }
.office-brand { display: none; font: 800 1.35rem var(--display); }
.office-active .office-brand { display: block; margin-right: auto; }
.office-active .office-masthead, .office-embedded .office-brand { display: none; }
.office-bar .mode-label { margin-left: auto; padding: .24rem .55rem; border: 1px solid var(--ink); background: var(--yellow); border-radius: 4px; font-size: .91rem; font-weight: 700; }
.office-masthead {
  display: grid;
  grid-template-columns: 1.26fr .74fr;
  align-items: stretch;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--cobalt);
  color: white;
}
.office-masthead > div { align-self: center; min-width: 0; padding: clamp(1.15rem, 4.4vw, 3.65rem); }
.office-kicker { font-size: .92rem; font-weight: 700; letter-spacing: .022em; }
.office-masthead .office-kicker { color: var(--yellow); }
.office-masthead h1 { margin: .1em 0 .17em; font-size: clamp(3.15rem, 8.2vw, 6.65rem); line-height: .95; letter-spacing: -.064em; }
.office-lead { max-width: 37ch; font-size: clamp(1.05rem, 1.9vw, 1.33rem); line-height: 1.33; }
.office-masthead img { display: block; width: 100%; height: 100%; max-height: 330px; min-height: 180px; object-fit: cover; }
.office-status, .office-notice { margin-top: .8rem; padding: .55rem .7rem; border-left: 4px solid var(--cobalt); background: #e4edf2; overflow-wrap: anywhere; font-size: 1rem; }
.office-status[data-error="true"], .office-notice[data-error="true"] { border-color: #902619; background: #fbe4df; color: #7d2118; font-weight: 700; }
.home { margin-top: clamp(1.75rem, 4.8vw, 3.5rem); }
.home-intro { margin-bottom: 1.1rem; }
.home-intro h2, .room-identity h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
.home-intro p { margin-top: .4rem; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.home-grid[data-demo=true] { max-width: 650px; grid-template-columns: 1fr; }
.panel { min-width: 0; padding: clamp(.8rem, 2.3vw, 1.4rem); border: 1.5px solid var(--ink); border-radius: 7px; background: var(--white); }
.home-create { background: #fef5d4; }
.home-join { background: #f5f1ff; }
.panel h3 { font-size: clamp(1.28rem, 2.5vw, 1.75rem); }
.home-grid .panel > p { margin: .45rem 0 .75rem; }
.home-grid form + .button, .home-grid a + .button { margin-top: .58rem; }

.field-form { display: grid; gap: .67rem; }
.field-form label:not(.checkbox) { display: grid; gap: .25rem; font-weight: 700; font-size: 1rem; }
.field-form :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
  width: 100%; min-width: 0; min-height: 44px; padding: .32rem .55rem;
  border: 1px solid #69738b; border-radius: 5px; background: white; font-weight: 400;
}
.field-form textarea { resize: vertical; }
.field-form input[type=checkbox], .field-form input[type=radio] { accent-color: var(--cobalt); }
.field-form .button { justify-self: start; }
.button {
  min-height: 44px;
  padding: .42em .7em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  font: 700 1rem/1.2 var(--body);
  text-align: center;
}
.button.primary { background: var(--coral); box-shadow: 2px 2px var(--ink); }
.button.primary:hover:not(:disabled) { background: #ff765f; }
.button.outline:hover:not(:disabled) { background: var(--lilac); }
.quiet-link { padding: .25rem 0; border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: .21em; font: 700 .97rem/1.2 var(--body); }
.field-form .quiet-link { justify-self: start; }
.figure-details summary { padding: .33rem 0; font-size: .96rem; font-weight: 700; }
[data-avatar-picker] { display: grid; grid-template-columns: repeat(auto-fit, minmax(45px, 1fr)); gap: .36rem; max-width: 575px; }
.figure-option { position: relative; cursor: pointer; }
.figure-option input { position: absolute; z-index: 1; width: 1px; height: 1px; opacity: 0; }
.figure-option img { display: block; width: 45px; height: 45px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.figure-option input:checked + img { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.figure-option input:focus-visible + img { outline: 3px solid var(--cobalt); outline-offset: 4px; }

.room { margin-top: 1.3rem; min-width: 0; }
.room-bar, .room-identity, .room-actions, .section-row { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .72rem; }
.room-bar { justify-content: space-between; margin-bottom: .8rem; }
.room-identity { flex-wrap: nowrap; min-width: 0; }
.room-identity > div { min-width: 0; }
.room-identity > img, .note-author img, .candidate img { display: block; border-radius: 50%; border: 1px solid var(--ink); background: var(--lilac); flex: 0 0 auto; }
#room-person { font-size: .9rem; font-weight: 700; }
.office-tabs { display: flex; gap: .3rem; flex-wrap: wrap; border-bottom: 2px solid var(--ink); margin-bottom: 1.05rem; }
.office-tabs button {
  min-height: 45px; padding: .42rem .72rem; border: 1.5px solid transparent; border-bottom: 0; border-radius: 5px 5px 0 0;
  background: transparent; color: var(--ink); font: 700 1rem/1.15 var(--body);
}
.office-tabs button:hover:not([aria-selected=true]) { background: var(--lilac); }
.office-tabs button[aria-selected=true] { border-color: var(--ink); background: var(--ink); color: white; }
.activity-tabs { display: flex; flex-wrap: wrap; gap: .31rem; margin-bottom: .75rem; }
.activity-tabs button { min-height: 43px; padding: .32rem .6rem; border: 1px solid var(--ink); border-radius: 5px; background: var(--white); font: 700 .96rem/1.15 var(--body); }
.activity-tabs button[aria-selected=true] { background: var(--lilac); box-shadow: inset 0 0 0 1px var(--ink); }
.room-columns { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1rem, 3vw, 2.1rem); align-items: start; }
.compose, .vote-side { display: grid; gap: .75rem; min-width: 0; }
.question { background: var(--yellow); }
.section-row { justify-content: space-between; }
.question h3 { margin-top: .5rem; line-height: 1.13; }
.feed-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .58rem .8rem; margin-bottom: .62rem; }
.feed-header h3 { display: flex; gap: .4rem; align-items: center; font-size: clamp(1.45rem, 2.9vw, 2.04rem); }
.feed-header h3 img { display: block; object-fit: contain; flex: 0 0 auto; }
#vote-privacy { font-size: .95rem; }
.filters { display: flex; flex-wrap: wrap; gap: .24rem; }
.filters button, .reaction {
  min-height: 37px; padding: .28em .53em; border: 1px solid var(--ink); border-radius: 4px; background: var(--white);
  font: 700 .91rem/1.2 var(--body); overflow-wrap: anywhere;
}
.filters button[aria-pressed=true], .reaction[aria-pressed=true] { background: var(--ink); color: var(--white); }
.note-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; align-items: stretch; }
.note {
  min-width: 0; display: grid; align-content: start; gap: .55rem;
  border: 1.5px solid var(--ink); border-radius: 7px; padding: .72rem; background: #fef1b8;
}
.note[data-kind=news] { background: var(--mint); }
.note[data-kind=answer] { background: var(--lilac); }
.note-author { display: flex; align-items: center; gap: .48rem; min-width: 0; font-size: .96rem; line-height: 1.23; }
.note-author > div, .note p, .candidate p, .candidate h4 { min-width: 0; overflow-wrap: anywhere; }
.note-author time { display: block; font-size: .85rem; }
.note-kind { font-size: .89rem; font-weight: 700; }
.note-kind { display: flex; align-items: center; gap: .45rem; }
.note-kind img { object-fit: contain; flex: 0 0 auto; }
.note-kind span { min-width: 0; overflow-wrap: anywhere; }
.filters button, .print-modes button { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; }
.filters img, .print-modes img, .panel-symbol { object-fit: contain; flex: 0 0 auto; }
#post-badge { min-width: 0; margin: 0; padding: 0; border: 0; }
#post-badge legend { margin-bottom: .35rem; font-weight: 700; }
.honor-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.field-form label.honor-option { position: relative; justify-items: center; align-content: start; gap: .3rem; min-width: 0; padding: .5rem .25rem; border: 1px solid #b4a58c; border-radius: 6px; background: #fffcf5; cursor: pointer; font-size: .78rem; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.honor-option img { object-fit: contain; }
.honor-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.honor-option:has(input:checked) { border-color: #41674f; background: #e3eee3; box-shadow: inset 0 0 0 1px #41674f; }
.honor-option:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.illustrated-empty { display: grid; justify-items: center; gap: .7rem; padding: 1.2rem .6rem; text-align: center; }
.illustrated-empty img { object-fit: contain; }
.figure-option img, #room-figure { object-fit: contain; }
.winner-portrait { position: relative; display: grid; place-items: center; width: 140px; height: 140px; margin-bottom: .3rem; }
.reveal-winners .winner-wreath { position: absolute; inset: 0; width: 140px; height: 140px; border: 0; border-radius: 0; background: transparent; object-fit: contain; }
.reveal-winners .winner-portrait > img:not(.winner-wreath) { position: relative; width: 78px; height: 78px; margin-top: -12px; object-fit: contain; }
.note-copy, .candidate p { white-space: pre-wrap; }
.note-actions { display: flex; gap: .24rem; flex-wrap: wrap; }
.reaction { display: inline-flex; align-items: center; justify-content: center; gap: .23rem; }
.reaction img { display: block; flex: 0 0 auto; object-fit: contain; }
.wall-limit { font-size: .92rem; font-weight: 700; }
.note .quiet-link, .candidate .quiet-link { justify-self: start; font-size: .87rem; }
.empty { grid-column: 1 / -1; padding: .8rem; border-top: 1px solid var(--line); }
.vote-intro { display: grid; align-items: start; gap: .45rem; background: #fef3c6; }
.vote-intro .button { justify-self: start; }
#period-form { border-top: 1px solid #b4a794; padding-top: .65rem; }
#vote-status { font-weight: 700; font-size: .94rem; }
.wall-praise { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .75rem; }
.wall-praise h3 { margin-bottom: .58rem; }
.note.praise-card { background: #fde8df; }
.candidate-list { display: grid; gap: .6rem; }
.candidate { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem .75rem; background: var(--white); border: 1px solid var(--ink); border-radius: 7px; padding: .7rem; align-items: start; }
.candidate > div { display: grid; gap: .34rem; }
.candidate h4 { font-size: 1.41rem; }
.candidate-title { font-weight: 700; }
.candidate .button, .candidate .quiet-link { justify-self: start; }
.office-history { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.office-history ul { margin: .45rem 0 0; padding: 0; list-style: none; }
.office-history li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .2rem .7rem; border-top: 1px solid var(--line); padding: .32rem 0; overflow-wrap: anywhere; }
.friday-stage {
  padding: clamp(1rem, 4.65vw, 3.1rem); min-height: 245px;
  border: 2px solid var(--ink); border-radius: 9px; box-shadow: 3px 3px var(--ink);
  background: var(--lilac); color: var(--ink);
}
.friday-stage h3 { margin: .2em 0 .37em; font-size: clamp(1.8rem, 5vw, 3.25rem); max-width: 25ch; }
.friday-stage .room-actions { margin: .8rem 0 .55rem; }
.office-dialog, .reveal-dialog {
  border: 2px solid var(--ink); border-radius: 9px; width: min(100% - 24px, 700px); max-height: calc(100% - 26px); padding: 0;
  background: var(--paper); color: var(--ink);
}
.office-dialog::backdrop, .reveal-dialog::backdrop { background: rgb(31 28 24 / 63%); }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: .55rem; padding: .62rem .83rem; border-bottom: 1px solid var(--ink); }
.dialog-bar form, .reveal-controls form { margin: 0; }
.close-dialog { width: 41px; height: 41px; border: 1px solid var(--ink); border-radius: 5px; background: var(--white); color: var(--ink); padding: 0; font-size: 1.55rem; line-height: 1; }
.settings-inner { padding: .85rem; display: grid; gap: .8rem; }
.settings-inner > button { justify-self: start; }
.settings-inner h3 { margin-bottom: .22rem; }
#owner-settings { display: grid; gap: .78rem; border-block: 1px solid var(--line); padding-block: .65rem; }
#office-members { padding-left: 1.18rem; margin-block: .35rem; }
#office-members li { margin-bottom: .22rem; overflow-wrap: anywhere; }
#office-members button { margin-left: .4rem; }
#office-share-editor { padding: .85rem; }
.reveal-dialog { width: min(100% - 24px, 900px); background: var(--cobalt); color: white; }
.reveal-dialog:fullscreen { width: 100%; height: 100%; max-height: none; border-radius: 0; }
.reveal-dialog.reveal-large { width: calc(100% - 12px); min-height: calc(100% - 12px); max-height: calc(100% - 12px); }
.reveal-controls { display: flex; justify-content: flex-end; gap: .36rem; padding: .62rem; flex-wrap: wrap; }
.reveal-controls button:focus-visible { outline-color: var(--yellow); }
.reveal-body { padding: clamp(1rem, 4vw, 2.5rem); text-align: center; }
.reveal-body > .office-kicker { color: var(--yellow); }
.reveal-body h2 { margin: .27rem 0 .68rem; font-size: clamp(2rem, 7vw, 4rem); }
.reveal-winners { display: flex; justify-content: center; gap: .65rem; flex-wrap: wrap; }
.reveal-winners article { display: grid; justify-items: center; gap: .4rem; width: min(100%, 270px); min-width: 0; padding: .85rem; border: 2px solid var(--ink); border-radius: 7px; background: var(--yellow); color: var(--ink); overflow-wrap: anywhere; }
.reveal-winners img { width: 85px; height: 85px; border: 1.5px solid var(--ink); border-radius: 50%; }
.reveal-body .button { margin-top: .85rem; }
.reveal-body :focus-visible { outline-color: white; }
.office-embedded .office { width: min(100% - 12px, 1160px); padding-top: 0; }
.office-embedded .office-masthead, .office-embedded #office-back { display: none; }
.office-embedded .office-bar { min-height: 0; margin-bottom: .35rem; }
.office-embedded .home { margin-top: .6rem; }
@media (max-width: 730px) {
  .office { width: calc(100% - 28px); }
  .office-masthead { grid-template-columns: 1fr; }
  .office-masthead img { min-height: 0; max-height: 150px; aspect-ratio: 1.85; }
  .home-grid, .room-columns { grid-template-columns: 1fr; }
  .office-tabs { gap: 0; }
  .office-tabs button { padding-inline: .42rem; font-size: .92rem; }
}
@media (max-width: 395px) {
  .office { width: calc(100% - 22px); }
  .office-masthead h1 { font-size: 3.02rem; }
  .office-tabs button { font-size: .86rem; padding-inline: .29rem; }
  .note-grid { grid-template-columns: 1fr; }
  .note { gap: .4rem; }
  [data-avatar-picker] { gap: .25rem; }
}
@media screen { #kontoret-print-root { display: none; } }

.office-tabs [role='tab'], .office-icon-label { display: inline-flex; align-items: center; gap: .34em; }
.office-tabs [role='tab'] img, .office-icon-label img, .office-game-link img { object-fit: contain; flex: 0 0 auto; }
.office-extra-games { margin-top: 1.5rem; }
.office-extra-games h3 { margin-bottom: .75rem; }
.office-game-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
.office-game-link { display: grid; align-items: center; grid-template-columns: 48px minmax(0,1fr) auto; gap: .7rem; padding: .8rem; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--mint); text-decoration: none; }
.office-game-link#office-santa { background: #ffe5d9; }
.office-game-link:hover strong { text-decoration: underline; text-underline-offset: .16em; }
.office-game-link strong, .office-game-link span span { display: block; }
.office-game-link span span { font-size: 1rem; }
@media (max-width: 600px) { .office-game-links { grid-template-columns: 1fr; } }

/* Archive tabs, laminated badge and desk surfaces. */
:root { --mono: 'Courier Prime', ui-monospace, 'Courier New', monospace; --manila: #fdf1c8; --linen: #d8c3a5; }
#office-back, .room-stamp, .invite-stamp { font-weight: 700; }
#office-back { padding: .32rem .65rem; border: 1.5px dashed #78684f; border-radius: 2px; background: #f6ebd3; text-decoration: none; }
.room-bar { display: grid; grid-template-columns: minmax(0,1fr) minmax(215px,300px); align-items: center; gap: 1.6rem; margin: 1rem 0 1.9rem; }
.room-heading { min-width: 0; }
.room-heading h1 { max-width: 26ch; margin: .5rem 0 .68rem; font-size: clamp(2.1rem,5.2vw,4.15rem); line-height: .99; letter-spacing: -.048em; text-wrap: balance; }
.room-stamp {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; max-width: 100%; gap: .4rem .65rem;
  border: 1px dashed #6e5d44; border-radius: 2px; padding: .42rem .65rem; background: #f4e7ca;
  outline: 3px dotted #f4e7ca; outline-offset: 1px; box-shadow: 2px 3px 0 #e4d2aa;
}
#room-name { overflow-wrap: anywhere; }
#room-pin, .badge-caption, .note-author time, .note-stamp, .honor-ribbon {
  font-family: var(--mono); letter-spacing: .07em; font-size: .72rem; text-transform: uppercase;
}
#room-pin { padding-left: .6em; border-left: 1px solid #a89473; }
.invite-stamp { min-height: 40px; border-style: dashed; border-color: #78684f; background: #fff7e1; box-shadow: none; }
.room-identity { display: block; position: relative; justify-self: stretch; margin-top: 25px; padding: .58rem; border: 1.5px solid #82745a; border-radius: 12px; background: #ddd1b4; box-shadow: 0 3px 0 #aea087,0 6px 15px rgba(56,40,23,.12); }
.room-identity::before { content: ''; position: absolute; z-index: 1; left: calc(50% - 11px); top: -27px; width: 22px; height: 37px; border: 2px solid #806644; border-radius: 7px; background: linear-gradient(90deg,#b99966,#e8d4a3 40%,#9b7f54); box-shadow: 1px 2px 3px #6d583b6a; }
.room-identity::after { content: ''; position: absolute; left: calc(50% - 20px); top: 6px; width: 40px; height: 8px; border: 1px solid #a09073; border-radius: 9px; background: #fff7df; }
.badge-laminate { display: grid; grid-template-columns: 68px minmax(0,1fr); align-items: center; gap: .7rem; border: 1px solid #a3977e; border-radius: 6px; margin-top: .55rem; padding: .64rem; background: linear-gradient(145deg,#fffdf2 29%,#fff8e4 60%,#eee8d7); }
#room-figure { display: block; border-radius: 50%; border: 1px solid #6a604e; background: #ecddac; }
.badge-copy { min-width: 0; }
.badge-caption { display: block; color: #4d473c; }
#room-person { font: 800 clamp(1.21rem,2.6vw,1.72rem)/1.08 var(--display); overflow-wrap: anywhere; padding: .15em 0 .32em; border-bottom: 1px solid #9c9075; }
.badge-settings { display: inline-block; min-height: 29px; padding: 2px 0; text-decoration: underline; text-underline-offset: .18em; border: 0; background: none; font-size: .93rem; }
.office-tabs { border-bottom: 2.5px solid var(--ink); flex-wrap: wrap; gap: 5px; align-items: end; margin-bottom: 1.15rem; }
.office-tabs button { position: relative; padding: .57rem .67rem; min-height: 44px; border: 1.5px solid #544c41; border-bottom: 0; border-radius: 10px 10px 0 0; color: var(--ink); background: var(--tab,#f7edda); box-shadow: inset 0 1px 1px #fffaf2a3; }
.office-tabs button::before { content: ''; position: absolute; inset: 3px 3px 0; border: 1px dashed #fff9e3ad; border-bottom: none; border-radius: 7px 7px 0 0; pointer-events: none; }
.office-tabs button:hover:not([aria-selected=true]) { background: var(--tab-hover,#f0e0c2); }
.office-tabs button[aria-selected=true] { color: var(--ink); border-color: var(--ink); background: var(--tab-active,#eddbb0); padding-top: .72rem; }
#tab-wall { --tab:#f9dcd3; --tab-hover:#f4c2b0; --tab-active:#eda792; }
#tab-vote { --tab:#dce8ec; --tab-hover:#c7dbe3; --tab-active:#adc7d3; }
#tab-friday { --tab:#dcefe6; --tab-hover:#c8e3d4; --tab-active:#aed7c2; }
#tab-print { --tab:#fdf1c8; --tab-hover:#f5e1a1; --tab-active:#f2d475; }
#tab-games { --tab:#f3e9da; --tab-hover:#ebdbc4; --tab-active:#dfc7a7; }
.question { background: var(--manila); border-color: #ab9060; box-shadow: 2px 4px 0 #e2c58673; }
.question-controls { display: flex; align-items: center; justify-content: space-between; gap: .4rem .7rem; flex-wrap: wrap; margin-top: .72rem; }
.question-controls .button { background: #fff8e2; min-height: 38px; }
.question-controls .quiet-link { min-height: 38px; }
#office-post-form textarea { background-color: #fffcf2; background-image: linear-gradient(#8a69411c 1px,transparent 1px),linear-gradient(90deg,#8a69411c 1px,transparent 1px); background-size: 18px 18px; line-height: 1.5; }
.wall { min-width: 0; padding: clamp(.85rem,2vw,1.5rem); border: 4px double #9d8460; border-radius: 10px; background-color: var(--linen); background-image: repeating-linear-gradient(90deg,#43321d1c 0 1px,transparent 1px 4px),repeating-linear-gradient(0deg,#fff6de5e 0 1px,transparent 1px 4px),radial-gradient(circle at 1px 1px,#80664855 .65px,transparent .85px); background-size: auto,auto,5px 5px; box-shadow: inset 0 2px 8px rgba(31,28,24,.18); }
.wall .feed-header { padding-bottom: .7rem; border-bottom: 1px solid #8c7656; margin-bottom: 1.05rem; }
.wall .note-grid { gap: 1rem; padding: .23rem .18rem .28rem; }
.wall .note { position: relative; transform: rotate(-.8deg); border: 1px solid #99856a; border-radius: 4px 6px 6px 4px; padding: 1rem .74rem .7rem; background: #f9dcd3; box-shadow: 1px 3px 6px #4d371e45; }
.wall .note:nth-child(even) { transform: rotate(1deg); }
.wall .note:focus-within { transform: none; }
.wall .note[data-kind='news'] { background: var(--mint); padding-right: 1.25rem; }
.wall .note[data-kind='answer'] { background: var(--manila); }
.note-fastener { position: absolute; pointer-events: none; z-index: 1; width: 14px; height: 14px; top: -7px; left: calc(51% - 8px); border-radius: 50%; border: 1px solid #963c28; background: radial-gradient(circle at 42% 27%,#ffad86 7%,#e06d53 55%,#a34329 90%); box-shadow: 1px 3px 3px #4f392565; }
.note[data-kind='star'] .note-fastener { left: auto; right: 14px; top: -12px; width: 13px; height: 31px; border: 2px solid #aa7c30; border-left-color: #e1b568; border-radius: 8px; box-shadow: 1px 1px 1px #78532266,inset 0 0 0 1px #ffefc09c; background: transparent; transform: rotate(11deg); }
.note[data-kind='news'] .note-fastener { border-color: #9b6d20; background: radial-gradient(circle at 38% 29%,#fff5bc,#e4b33d 58%,#9b6d20 92%); }
.note-stamp { justify-self: end; order: 2; color: #94382b; border: 2px double #ba6150; padding: 2px 4px; border-radius: 3px; transform: rotate(-4deg); font-weight: 700; }
.note-perforation { position: absolute; top: 3px; right: 4px; bottom: 3px; width: 9px; border-left: 1px dashed #52736194; background: radial-gradient(circle at 5px 9px,#b29a78 2px,transparent 2.8px) 0 0/9px 18px repeat-y; pointer-events: none; }
.note-perforation::before { content: '✦'; position: absolute; right: 14px; top: 5px; color: #835a22; font-size: .83rem; }
.note-question { font-size: .88rem; font-weight: 700; line-height: 1.25; }
.candidate-honored { border-color: #8a651f; background: #fff3cf; }
.honor-ribbon { justify-self: start; border: 1px dashed #826722; border-radius: 3px; padding: .16rem .36rem; background: #f5dea0; font-weight: 700; }
.friday-stage { position: relative; margin-inline: auto; max-width: 860px; border-color: #807151; padding-right: clamp(3rem,12vw,9rem); background: #fffbeb; box-shadow: 4px 5px 0 #dac8a2, 6px 8px 0 #ae9872; }
.friday-stage::after { content: ''; position: absolute; right: clamp(.9rem,4vw,2.5rem); bottom: .8rem; width: clamp(40px,8vw,105px); aspect-ratio: 1; background: url('assets/kontoret-fredagsrunden.webp') center/contain no-repeat; pointer-events: none; }
.game-drawer-heading { margin-bottom: .95rem; }
.game-drawer-heading p { margin-top: .4rem; }
button.office-game-link { text-align: left; }
#office-game-window { margin-top: 1rem; padding: .7rem; border: 1px solid var(--ink); border-radius: 9px; background: #fffdf6; }
#office-game-frame iframe { display: block; width: 100%; height: 680px; border: 0; }
@media (max-width: 700px) {
  .room-bar { grid-template-columns: minmax(0,1fr); gap: .85rem; margin-bottom: 1.05rem; }
  .room-identity { max-width: 320px; margin-top: 5px; }
  .room-identity::before { top: -14px; height: 23px; }
  .badge-laminate { grid-template-columns: 48px minmax(0,1fr); padding: .42rem .55rem; }
  #room-figure { width: 48px; height: 48px; }
  .office-tabs button { font-size: .93rem; padding-inline: .48rem; }
}
@media (max-width: 490px) {
  .wall .note-grid, .office-game-links { grid-template-columns: 1fr; }
  .wall .note { transform: none; }
  .office-tabs button { min-height: 40px; }
  .office-tabs button img { width: 19px; height: 19px; }
}
