/* The fonts Office loads with next/font, here as plain @font-face, and the few Office rules from files not copied whole
   (03-page-header.css, 09-header-actions.css, 22-bookings.css). The other files in css/ are Office's own, copied unchanged. */
@font-face { font-family: "Inter"; src: url(../fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Baht"; src: url(../fonts/inter-baht.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0E3F; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Noto Sans Thai"; src: url(../fonts/noto-sans-thai.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0E00-0E7F; }
:root { --font-inter: "Inter"; --font-baht: "Inter Baht"; --font-jetbrains: "JetBrains Mono"; --font-thai: "Noto Sans Thai"; }

/* 09-header-actions.css */
:is(main, section) > div[data-title-row] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-bottom: 0; }
div[data-title-row] > h1 { margin-bottom: var(--space-2); }
/* 03-page-header.css */
p[data-brief] { max-width: 65ch; margin: var(--space-4) 0 var(--space-5); font-size: var(--text-title); font-weight: 500; line-height: var(--leading-body); text-wrap: pretty; color: var(--foreground); }
p[data-brief] > em { font-style: normal; font-weight: 600; padding: 1px 4px; margin-inline: -2px; border-radius: 7px; white-space: nowrap; }
@media (max-width: 720px) { p[data-brief] > em { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; } }
p[data-brief] > em[data-tone="warn"] { background: var(--amber-bg); color: var(--amber); }
p[data-brief] > em[data-tone="good"] { background: var(--success-bg); color: var(--success); }
/* 22-bookings.css */
div[data-empty-day] { display: grid; justify-items: center; gap: var(--space-2); padding: var(--space-6) var(--space-4); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--card); color: var(--muted-foreground); text-align: center; }
div[data-empty-day] h3 { margin: var(--space-1) 0 0; font-size: var(--text-heading); color: var(--foreground); }

/* Office's floating label is scaled 1.08 inside an empty box and ran 15 px past a 390 px phone, which then scrolled sideways */
main[data-kitchen-sign-in] { overflow-x: clip; }

/* in place of inline style attributes, which the Content-Security-Policy does not allow */
div[data-contents] { display: contents; }
nav[data-kitchen-nav][data-off] { display: none; }
nav[data-kitchen-nav] [data-off] { display: none; }
