/* Foodplus · a restrained rose workspace, with a distinct employee clock station. */
:root {
  --rose: #bc245c; --rose-hover: #a31c4e; --rose-tint: #fbedf2; --rose-line: #f0cbd9;
  --ink: #28242a; --secondary: #655f68; --muted: #756d78;
  --line: #ece8ec; --canvas: #faf9fb; --surface: #fff;
  --green: #34755f; --green-bg: #edf6f0; --amber: #926526; --amber-bg: #fff7e8;
  --nav-width: 246px; --bar-height: 38px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px; color: var(--ink); background: var(--canvas); font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
:focus-visible { outline: 3px solid #ce6790; outline-offset: 3px; }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: 30px; letter-spacing: -.9px; line-height: 1.2; font-weight: 660; }
h2 { font-size: 21px; letter-spacing: -.55px; font-weight: 650; }
h3 { font-size: 15px; font-weight: 650; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.overline { display: block; font-size: 11px; letter-spacing: 1.25px; font-weight: 650; color: var(--muted); margin-bottom: 9px; }
.skip-link { position: fixed; top: -100px; z-index: 100; padding: 12px; background: white; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* The preview switch is outside both product experiences. */
.prototype-bar { position: relative; z-index: 5; height: var(--bar-height); display: flex; align-items: center; justify-content: space-between; padding: 0 25px; background: #f5edf2; border-bottom: 1px solid #e9dde5; }
.prototype-label { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #7e5467; padding: 5px 0; }
.prototype-dot { width: 5px; height: 5px; background: #bc6b8d; border-radius: 50%; }
.experience-switch { display: flex; gap: 3px; padding: 2px; border-radius: 7px; background: #eadfe6; }
.experience-switch button { padding: 4px 12px; font-size: 11px; border-radius: 5px; color: #826174; }
.experience-switch button[aria-pressed=true] { color: #76334f; background: white; box-shadow: 0 1px 3px #59364912; }
.app-shell { display: grid; grid-template-columns: var(--nav-width) minmax(0, 1fr); min-height: calc(100dvh - var(--bar-height)); }
.sidebar { position: sticky; top: 0; height: 100dvh; max-height: calc(100dvh - var(--bar-height)); background: #fcfafc; border-right: 1px solid var(--line); padding: 30px 17px 17px; display: flex; flex-direction: column; overflow: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 15px; }
.brand-symbol { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--rose); color: white; font-size: 19px; font-weight: 750; letter-spacing: -1.5px; }
.brand strong { font-size: 23px; letter-spacing: -.9px; font-weight: 750; }
.brand small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; letter-spacing: .2px; }
.navigation { padding-top: 36px; }
.nav-section { font-size: 10px; font-weight: 650; letter-spacing: 1.4px; color: #a197a2; margin: 27px 15px 10px; }
.nav-link { width: 100%; display: flex; align-items: center; gap: 11px; text-align: left; min-height: 44px; padding: 11px 14px; color: #6f6572; border-radius: 8px; font-size: 14px; margin: 3px 0; position: relative; }
.nav-link svg { width: 18px; height: 18px; color: #9a8b9c; }
.nav-link:hover { background: #f4f0f5; }
.nav-link.active { color: var(--rose); background: var(--rose-tint); font-weight: 650; }
.nav-link.active svg { color: var(--rose); }
.nav-link.active::before { content: ''; width: 3px; height: 16px; background: var(--rose); border-radius: 3px; position: absolute; left: 0; }
.nav-count { margin-left: auto; background: #f3d7e2; color: #ac3c66; border-radius: 5px; font-size: 10px; padding: 2px 5px; }
.sidebar-foot { margin-top: auto; padding-top: 30px; }
.workspace-stamp { display: flex; align-items: center; gap: 10px; padding: 15px 12px; border-top: 1px solid var(--line); }
.workspace-stamp svg { color: #a99aaa; width: 18px; }
.workspace-stamp strong { display: block; font-size: 12px; font-weight: 600; }
.workspace-stamp small { color: var(--muted); font-size: 11px; display: block; margin-top: 4px; }
.collapse-nav { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); padding: 10px 12px; }
.collapse-nav svg { width: 15px; }
.main-shell { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 77px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 40px; background: white; }
.breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.breadcrumb svg { width: 12px; height: 12px; color: #beb4c0; }
.breadcrumb strong { color: var(--secondary); font-weight: 500; }
.topbar-start, .topbar-end { display: flex; align-items: center; gap: 16px; }
.account-trigger { display: flex; align-items: center; gap: 10px; padding: 5px; text-align: left; border-radius: 9px; }
.account-trigger:hover { background: var(--canvas); }
.account-trigger strong { display: block; font-size: 12px; font-weight: 600; }
.account-trigger small { color: var(--muted); font-size: 10px; display: block; margin-top: 4px; }
.account-trigger > svg { width: 14px; margin-left: 8px; color: var(--muted); }
.avatar { display: inline-grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 11px; font-weight: 650; background: #f5e5ed; color: #995675; }
.avatar.sage { background: #e9f1ed; color: #557d68; }
.avatar.lavender { background: #eeebf5; color: #7b6b96; }
.avatar.sand { background: #f6eee4; color: #96764e; }
.icon-button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--secondary); font-size: 25px; flex-shrink: 0; }
.icon-button svg { width: 18px; height: 18px; }
.icon-button:hover { background: #f5f0f4; }
.menu-toggle { display: none; }
.nav-collapsed .sidebar { display: none; }
.nav-collapsed .app-shell { grid-template-columns: minmax(0, 1fr); }
.nav-collapsed .menu-toggle { display: inline-flex; }
main { width: 100%; max-width: 1600px; padding: 36px 40px 44px; margin: 0 auto; flex: 1; min-width: 0; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.page-heading p { color: var(--secondary); margin-top: 9px; font-size: 13px; line-height: 1.6; }
.actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.button { min-height: 40px; padding: 10px 15px; border: 1px solid #e5dfe6; border-radius: 8px; background: white; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 550; box-shadow: 0 1px 2px #281d2c04; transition: background .15s, border-color .15s; }
.button svg { width: 16px; height: 16px; }
.button:hover { border-color: #c9b7c7; background: #fdfafd; }
.button.primary { color: white; background: var(--rose); border-color: var(--rose); box-shadow: 0 2px 4px #9f1e4c12; }
.button.primary:hover { background: var(--rose-hover); border-color: var(--rose-hover); }
.button.quiet { background: transparent; border-color: transparent; box-shadow: none; color: var(--secondary); }
.text-button { color: var(--rose); font-size: 12px; font-weight: 600; padding: 7px 0; }
/* DTR: one report, not a collection of competing dashboard cards. */
.report { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px #34112c02; }
.date-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 21px 24px 19px; gap: 14px; }
.date-controls { display: flex; align-items: center; gap: 13px; }
.date-title { text-align: left; display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.date-title svg { width: 15px; color: var(--muted); }
.date-arrows { display: flex; gap: 2px; }
.date-arrows .icon-button { width: 28px; height: 30px; border: 1px solid var(--line); border-radius: 6px; }
.date-arrows svg { width: 14px; }
.date-toolbar .text-button { font-size: 11px; }
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; padding: 0 24px 22px; }
.day { border: 1px solid transparent; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; padding: 12px 4px 11px; background: #faf9fb; color: #938795; position: relative; }
.day-label { font-size: 10px; letter-spacing: .7px; text-transform: uppercase; font-weight: 500; }
.day-number { font-size: 19px; font-weight: 550; color: #6e6171; font-variant-numeric: tabular-nums; }
.day:hover { background: var(--rose-tint); }
.day.active { background: var(--rose-tint); border-color: var(--rose-line); color: var(--rose); }
.day.active .day-number { color: var(--rose); }
.day-dot { width: 3px; height: 3px; background: #c5b9c8; border-radius: 50%; }
.day.active .day-dot { background: var(--rose); }
.day-dot.blank { background: transparent; }
.report-summary { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.metric { padding: 0 24px; border-right: 1px solid var(--line); }
.metric:last-child { border: 0; }
.metric label { display: block; color: var(--secondary); font-size: 12px; margin-bottom: 9px; }
.metric strong { font-size: 24px; font-weight: 600; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.metric strong.money { color: var(--rose); }
.metric small { font-size: 10px; color: var(--muted); margin-left: 5px; }
.report-filter { padding: 21px 24px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.filter-tabs { display: flex; gap: 20px; align-items: center; }
.filter-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; padding: 6px 0; white-space: nowrap; }
.filter-tab.active { color: var(--rose); font-weight: 600; }
.filter-tab.active::after { content: ''; height: 2px; position: absolute; bottom: -4px; background: var(--rose); left: 0; right: 0; border-radius: 2px; }
.filter-tab .count { font-size: 10px; padding: 2px 5px; background: #f3f0f4; border-radius: 4px; color: #87778c; }
.filter-tab.active .count { background: var(--rose-tint); color: var(--rose); }
.searchbox { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 7px; padding: 9px 11px; max-width: 240px; width: 100%; background: #fff; }
.searchbox svg { width: 15px; height: 15px; color: #a397a5; }
.searchbox input { border: 0; background: transparent; font-size: 13px; outline: 0; min-width: 0; width: 100%; }
.searchbox:focus-within { border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-tint); }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { background: #fcfbfd; color: #776b7b; font-size: 11px; font-weight: 550; padding: 12px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { padding-left: 24px; }
th:last-child, td:last-child { padding-right: 24px; }
td { padding: 18px 20px; border-bottom: 1px solid #f1edf2; font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fffbfd; }
.person-button { text-align: left; display: flex; align-items: center; gap: 11px; padding: 0; }
.person-button strong { display: block; font-size: 13px; font-weight: 600; }
.person-button:hover strong { color: var(--rose); }
.person-button small { color: #7b6c80; font-size: 11px; margin-top: 5px; display: block; }
.person-button .avatar { width: 34px; height: 34px; }
.time-pair { display: flex; align-items: center; gap: 9px; font-variant-numeric: tabular-nums; color: #62556a; }
.time-pair svg { width: 11px; color: #c2b3c6; }
.time-track { height: 3px; border-radius: 3px; width: 80px; background: #f1e9ef; margin-top: 8px; }
.time-track span { display: block; background: #d88ba9; border-radius: inherit; height: 100%; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; font-size: 11px; font-weight: 550; background: #f1edf5; color: #81718f; }
.status::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .65; }
.status.green { background: var(--green-bg); color: var(--green); }
.status.amber { background: var(--amber-bg); color: var(--amber); }
.status.rose { background: var(--rose-tint); color: #a13d63; }
.status.gray { background: #f3f1f4; color: #746678; }
.missing { display: flex; align-items: center; gap: 5px; color: var(--amber); font-size: 11px; }
.missing svg { width: 13px; }
.pay-value { font-weight: 600; font-variant-numeric: tabular-nums; }
.record-open { width: 30px; height: 32px; border: 1px solid transparent; color: #b6a5ba; border-radius: 6px; display: grid; place-items: center; }
.record-open:hover { color: var(--rose); background: var(--rose-tint); border-color: var(--rose-line); }
.record-open svg { width: 15px; }
.table-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 10px; color: #9c8ba1; }
.table-bottom .legend { display: flex; align-items: center; gap: 6px; }
.table-bottom svg { width: 12px; height: 12px; }
.attention-banner { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; background: #fffcf6; border: 1px solid #f4e9d3; border-radius: 9px; padding: 12px 17px; color: #9a7d4b; font-size: 11px; }
.attention-banner > svg { width: 16px; }
.attention-banner strong { font-weight: 600; }
.attention-banner button { margin-left: auto; font-size: 11px; color: #8f6727; font-weight: 600; white-space: nowrap; }
.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.page-intro h3 span { margin-left: 8px; font-size: 11px; color: var(--muted); font-weight: 400; }
.readonly-note { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; margin-bottom: 18px; }
.readonly-note svg { width: 14px; }
.empty-state { padding: 65px 24px; text-align: center; }
.empty-state > svg { width: 30px; height: 30px; color: #bd9aae; margin-bottom: 16px; }
.empty-state h3 { font-weight: 550; }
.empty-state p { color: var(--muted); font-size: 12px; margin: 8px auto 20px; max-width: 310px; line-height: 1.7; }
.mobile-records { display: none; }
.inline-tags { display: flex; flex-wrap: wrap; gap: 5px; max-width: 350px; }
.inline-tags span { padding: 4px 6px; font-size: 10px; border: 1px solid var(--line); border-radius: 4px; color: #8b788f; background: #fdfbfd; }
.note-cell { white-space: normal; max-width: 450px; line-height: 1.7; font-size: 12px; color: var(--secondary); }
.list-code { color: #a494a8; font-size: 10px; display: block; margin-top: 5px; }
.rule-list { border: 1px solid var(--line); border-radius: 12px; background: white; overflow: hidden; }
.rule-item { padding: 28px; display: grid; grid-template-columns: 40px 1fr auto; gap: 18px; border-bottom: 1px solid var(--line); }
.rule-item:last-child { border: 0; }
.rule-icon { display: grid; place-items: center; width: 39px; height: 39px; color: var(--rose); background: var(--rose-tint); border-radius: 10px; }
.rule-item h3 { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.rule-item p { font-size: 13px; line-height: 1.85; color: var(--secondary); max-width: 710px; margin-top: 12px; }
.rule-item footer { color: var(--muted); font-size: 11px; margin-top: 16px; }
.app-footer { padding: 0 40px 22px; display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #b1a4b4; }
.app-footer button { font-size: inherit; color: inherit; padding: 0; }
/* Record editing: context first, one focused section at a time. */
dialog { padding: 0; border: 1px solid var(--line); background: white; color: var(--ink); box-shadow: 0 20px 80px #33213620; }
dialog::backdrop { background: #2b20394d; backdrop-filter: blur(2px); }
dialog[open] { animation: dialog-in .18s ease-out; }
.record-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(580px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 16px 0 0 16px; }
.record-drawer form { height: 100%; display: flex; flex-direction: column; }
.drawer-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 28px; border-bottom: 1px solid var(--line); gap: 15px; }
.drawer-header .overline { color: #a58aa1; font-size: 10px; }
.drawer-body { flex: 1; overflow: auto; padding: 26px 28px; }
.drawer-footer { padding: 18px 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-footer > span { font-size: 10px; line-height: 1.7; color: var(--muted); max-width: 140px; }
.drawer-footer > div { display: flex; gap: 8px; }
.drawer-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin: 0 0 24px; }
.drawer-tabs button { position: relative; font-size: 12px; padding: 0 0 13px; color: var(--muted); }
.drawer-tabs button.active { color: var(--rose); font-weight: 600; }
.drawer-tabs button.active::after { content: ''; height: 2px; background: var(--rose); position: absolute; left: 0; right: 0; bottom: -1px; }
.detail-context { display: flex; justify-content: space-between; align-items: center; padding: 0 0 24px; gap: 12px; }
.detail-context .person-button { pointer-events: none; }
.detail-section { margin: 26px 0; }
.detail-section:first-child { margin-top: 0; }
.detail-section h3 { font-size: 12px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.detail-section h3 svg { width: 16px; color: #b898ae; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: block; min-width: 0; }
.form-field.wide { grid-column: 1/-1; }
.form-field > span { display: block; font-size: 12px; color: var(--secondary); margin-bottom: 8px; }
.form-field input:not([type=checkbox]), .form-field textarea { width: 100%; border: 1px solid #e8dfea; border-radius: 7px; padding: 11px 12px; background: white; font-size: 14px; min-width: 0; }
.form-field input:disabled, .form-field textarea:disabled { background: #faf8fb; color: var(--secondary); opacity: 1; }
.form-field textarea { resize: vertical; min-height: 125px; line-height: 1.75; }
.form-field small { color: var(--muted); font-size: 10px; line-height: 1.6; display: block; margin-top: 6px; }
.choice-control { position: relative; }
.choice-control summary { list-style: none; cursor: pointer; border: 1px solid #e8dfea; border-radius: 7px; padding: 11px 12px; font-size: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: white; }
.choice-control summary::-webkit-details-marker { display: none; }
.choice-control summary svg { width: 14px; height: 14px; color: var(--muted); }
.choice-options { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 3; background: white; border: 1px solid var(--line); border-radius: 9px; padding: 5px; box-shadow: 0 10px 30px #3d183416; max-height: 220px; overflow: auto; }
.choice-options button { width: 100%; display: block; text-align: left; padding: 10px; border-radius: 6px; font-size: 12px; }
.choice-options button:hover, .choice-options button[aria-selected=true] { color: var(--rose); background: var(--rose-tint); }
.pay-summary { background: #fcf5f8; border: 1px solid #f3e2ea; padding: 20px; border-radius: 10px; margin-top: 22px; }
.pay-summary > div { display: flex; align-items: center; justify-content: space-between; color: #9c7a8b; font-size: 11px; padding: 4px 0; }
.pay-summary > div:last-child { border-top: 1px solid #eed7e2; margin-top: 12px; padding-top: 14px; color: var(--rose); }
.pay-summary strong { font-size: 22px; font-weight: 650; letter-spacing: -.5px; }
.context-note { border-left: 2px solid #eac4d5; padding: 2px 0 2px 12px; color: #9a788c; font-size: 11px; line-height: 1.8; margin: 16px 0; }
.timeline { padding: 0 0 0 14px; margin-left: 6px; border-left: 1px solid #eadce7; }
.timeline-row { position: relative; display: flex; align-items: center; gap: 14px; padding-bottom: 24px; }
.timeline-row:last-child { padding-bottom: 3px; }
.timeline-row::before { content: ''; width: 7px; height: 7px; position: absolute; top: 14px; left: -18px; background: #d997b1; border: 2px solid white; border-radius: 50%; }
.timeline-row strong { display: block; font-size: 12px; font-weight: 500; }
.timeline-row small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.timeline-row > span:last-child { margin-left: auto; color: var(--secondary); font-size: 12px; font-variant-numeric: tabular-nums; }
.photo-placeholder { width: 36px; height: 40px; background: #f5edf3; border-radius: 7px; display: grid; place-items: center; color: #c7aec0; }
.photo-placeholder svg { width: 17px; }
.permission-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 12px; }
.permission-row input { accent-color: var(--rose); width: 16px; height: 16px; }
.permission-row span { flex: 1; }
.permission-row small { font-size: 10px; color: var(--muted); }
.form-error { color: #a34350; background: #fff4f6; border-radius: 7px; padding: 12px; font-size: 12px; line-height: 1.5; margin-bottom: 16px; }
/* Smaller dialogs share the same vocabulary. */
.modal { width: min(470px, calc(100% - 32px)); max-height: 90dvh; border-radius: 14px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 23px 25px 18px; border-bottom: 1px solid var(--line); gap: 14px; }
.modal-header h2 { font-size: 18px; }
#modal-content { padding: 24px 25px; }
.modal-copy { color: var(--secondary); font-size: 13px; line-height: 1.8; margin-bottom: 18px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.profile-option { width: 100%; padding: 13px 10px; display: flex; align-items: center; gap: 12px; text-align: left; border-radius: 9px; border: 1px solid transparent; margin-bottom: 5px; }
.profile-option.active { border-color: var(--rose-line); background: var(--rose-tint); }
.profile-option:hover { background: #faf4f8; }
.profile-option strong { font-size: 12px; font-weight: 600; display: block; }
.profile-option small { font-size: 11px; color: var(--muted); display: block; margin-top: 5px; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.calendar-header strong { font-size: 14px; font-weight: 600; }
.calendar-header > div { display: flex; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar > span { text-align: center; padding: 10px 0; color: var(--muted); font-size: 10px; }
.calendar > button { aspect-ratio: 1; border-radius: 8px; font-size: 12px; }
.calendar > button:hover { background: var(--rose-tint); }
.calendar > button.active { background: var(--rose); color: white; }
.calendar-hint { font-size: 10px; color: var(--muted); line-height: 1.7; margin-top: 18px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #332b36; color: white; border-radius: 9px; padding: 14px 20px; font-size: 12px; max-width: calc(100% - 32px); box-shadow: 0 6px 24px #34213320; z-index: 50; line-height: 1.5; }
.mobile-navigation { position: fixed; inset: 0 auto 0 0; margin: 0; height: 100dvh; max-height: 100dvh; width: 280px; border: 0; border-radius: 0 14px 14px 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 22px; border-bottom: 1px solid var(--line); }
#mobile-nav-content { padding: 0 18px 24px; }
#mobile-nav-content .navigation { padding-top: 12px; }
/* Clock station: no admin shell, no unrelated information. */
.station-mode .app-shell { display: block; }
.station-mode .sidebar { display: none; }
.station-mode .topbar { border-bottom: 0; background: var(--canvas); max-width: 1300px; margin: auto; width: 100%; height: 100px; }
.station-mode .topbar .brand { padding: 0; }
.station-mode main { max-width: 1180px; padding: 25px 40px 65px; }
.station-mode .app-footer { max-width: 1300px; margin: auto; width: 100%; }
.station-top-label { font-size: 12px; color: #a28d9d; display: flex; align-items: center; gap: 7px; }
.station-top-label svg { width: 15px; }
.station-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; min-height: 570px; }
.station-intro { padding: 20px 0; }
.station-intro .overline { color: var(--rose); letter-spacing: 2px; font-size: 10px; margin-bottom: 24px; }
.station-intro h1 { font-size: clamp(40px, 4.3vw, 58px); line-height: 1.12; letter-spacing: -2.7px; font-weight: 600; }
.station-intro h1 span { color: var(--rose); }
.station-intro > p { color: #8f7c8f; font-size: 14px; line-height: 1.9; max-width: 290px; margin-top: 22px; }
.station-clock { margin-top: 48px; padding-top: 27px; border-top: 1px solid #e7dce5; max-width: 290px; }
.station-clock strong { font-size: 35px; font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: -1.2px; }
.station-clock strong small { font-size: 13px; margin-left: 7px; color: #a18a9e; letter-spacing: 0; }
.station-clock p { color: #a18a9e; font-size: 11px; margin-top: 8px; }
.station-card { background: white; border: 1px solid #e9e0e8; border-radius: 18px; box-shadow: 0 15px 50px #5e294b06; padding: 34px; }
.station-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.station-card-header h2 { font-size: 21px; }
.step-indicator { font-size: 10px; color: #b69fb2; }
.station-card-description { color: var(--muted); font-size: 12px; line-height: 1.7; margin: -15px 0 23px; }
.action-segment { display: flex; padding: 4px; border-radius: 10px; background: #f7f2f6; margin-bottom: 28px; gap: 4px; }
.action-segment button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 7px; padding: 12px; font-size: 12px; color: #aa92a4; }
.action-segment button svg { width: 17px; }
.action-segment button.active { background: white; color: var(--rose); box-shadow: 0 2px 5px #6227410a; }
.station-input-label { font-size: 12px; display: block; color: #7f687c; margin-bottom: 10px; }
.station-code { width: 100%; border: 1px solid #ddccd9; border-radius: 9px; padding: 16px; font-size: 20px; font-weight: 500; letter-spacing: 1px; background: #fffdff; }
.station-code::placeholder { color: #c8b7c6; }
.code-hint { font-size: 11px; color: #b19cae; margin: 9px 0 28px; }
.station-next { width: 100%; min-height: 46px; }
.station-next svg { margin-left: auto; }
.station-next span { margin-right: auto; }
.station-privacy { display: flex; align-items: flex-start; gap: 7px; color: #b19cae; font-size: 10px; line-height: 1.7; padding-top: 22px; margin-top: 23px; border-top: 1px solid var(--line); }
.station-privacy svg { width: 13px; height: 16px; }
.capture-person { display: flex; align-items: center; gap: 10px; margin: -5px 0 18px; }
.capture-person strong { font-size: 13px; font-weight: 600; display: block; }
.capture-person small { font-size: 10px; color: var(--muted); display: block; margin-top: 4px; }
.camera-stage { aspect-ratio: 1.3; background: #f6f1f5; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-direction: column; position: relative; overflow: hidden; }
.face-guide { width: 110px; height: 140px; border: 1.5px dashed #cfb7c8; border-radius: 50% 50% 43% 43%; display: grid; place-items: center; }
.face-guide svg { width: 42px; height: 42px; color: #cfb7c8; stroke-width: 1; }
.camera-stage > span { position: absolute; bottom: 14px; color: #a58a9f; font-size: 10px; }
.capture-checks { margin: 15px 0 23px; display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: #a58a9f; }
.capture-checks > span { display: flex; align-items: center; gap: 4px; }
.capture-checks svg { width: 12px; height: 12px; }
.station-back { display: block; margin: 16px auto 0; color: #a4849b; font-size: 11px; }
.confirmation { text-align: center; padding: 18px 0 8px; }
.confirmation-icon { background: var(--rose-tint); width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: var(--rose); margin: 0 auto 24px; }
.confirmation-icon svg { width: 28px; height: 28px; }
.confirmation h2 { font-size: 26px; }
.confirmation > p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 13px 0 28px; }
.confirmation-time { color: var(--rose); font-size: 32px; font-weight: 500; letter-spacing: -1px; padding: 15px; background: #fff7fb; border-radius: 10px; margin-bottom: 25px; }
.noscript { padding: 30px; }
@keyframes dialog-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@media (min-width:1600px) { main { padding: 44px 55px; } .topbar { padding: 0 55px; } td { padding-top: 20px; padding-bottom: 20px; } }
@media (max-width:1200px) { :root { --nav-width: 218px; } .sidebar { padding-left: 12px; padding-right: 12px; } main { padding: 30px 27px; } .topbar { padding: 0 27px; } .metric { padding: 0 20px; } .metric strong { font-size: 21px; } .metric small { display: block; margin: 5px 0 0; } .filter-tabs { gap: 15px; } th,td { padding-left: 16px; padding-right: 16px; } .station-layout { gap: 45px; } }
@media (max-width:960px) { .sidebar { display: none; } .app-shell { grid-template-columns: minmax(0, 1fr); } .menu-toggle { display: inline-flex; } .station-intro h1 { font-size: 43px; } .station-layout { gap: 30px; } .station-card { padding: 27px; } .station-mode main { padding-left: 28px; padding-right: 28px; } .station-clock strong { font-size: 30px; } }
@media (max-width:700px) {
  .prototype-bar { padding: 0 16px; } .prototype-label { font-size: 10px; } .desktop-label { display: none; }
  .experience-switch button { font-size: 10px; padding: 5px 9px; }
  .topbar { height: 65px; padding: 0 17px; } .topbar-start { gap: 6px; } .breadcrumb { gap: 7px; font-size: 11px; }
  .account-trigger > div:not(.avatar), .account-trigger > svg { display: none; } .account-trigger .avatar { width: 32px; height: 32px; }
  main { padding: 26px 18px 35px; } h1 { font-size: 27px; }
  .page-heading { display: block; margin-bottom: 22px; } .page-heading p { font-size: 12px; margin-top: 8px; }
  .page-heading .actions { margin-top: 19px; } .page-heading .actions .button { min-height: 41px; }
  .report { border-radius: 10px; } .date-toolbar { padding: 17px 16px; } .date-controls { gap: 9px; }
  .date-title { font-size: 12px; } .date-arrows .icon-button { width: 26px; }
  .week-strip { padding: 0 14px 17px; gap: 4px; } .day { padding: 10px 2px 8px; gap: 5px; border-radius: 7px; }
  .day-label { font-size: 8px; letter-spacing: .4px; } .day-number { font-size: 17px; }
  .report-summary { grid-template-columns: repeat(2,1fr); padding: 0; }
  .metric { padding: 17px 18px; } .metric:nth-child(2) { border-right: 0; } .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric label { font-size: 10px; margin-bottom: 7px; } .metric strong { font-size: 23px; } .metric small { display: inline; margin-left: 5px; font-size: 9px; }
  .report-filter { flex-direction: column-reverse; align-items: stretch; padding: 16px; gap: 16px; }
  .searchbox { max-width: none; } .filter-tabs { gap: 17px; overflow-x: auto; padding-bottom: 5px; } .filter-tab { font-size: 11px; }
  .desktop-records { display: none; } .mobile-records { display: block; }
  .mobile-record { border-bottom: 1px solid var(--line); padding: 18px 16px; } .mobile-record:last-child { border: 0; }
  .mobile-record-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .mobile-record-top .person-button strong { font-size: 13px; } .mobile-record-top .person-button small { font-size: 10px; }
  .mobile-record-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding-top: 17px; }
  .mobile-record-values label { color: var(--muted); font-size: 9px; display: block; margin-bottom: 7px; }
  .mobile-record-values strong { font-size: 12px; font-weight: 550; font-variant-numeric: tabular-nums; }
  .mobile-record-text { color: var(--secondary); font-size: 12px; line-height: 1.8; margin-top: 12px; }
  .mobile-record .inline-tags { margin-top: 12px; }
  .table-bottom { padding: 14px 16px; font-size: 9px; } .table-bottom .legend { display: none; }
  .attention-banner { align-items: flex-start; font-size: 10px; padding: 13px; gap: 8px; line-height: 1.6; }
  .attention-banner button { font-size: 10px; } .attention-banner > svg { margin-top: 1px; }
  .page-intro { flex-direction: column; align-items: stretch; padding: 18px 16px; gap: 16px; }
  .rule-item { padding: 20px; gap: 12px; grid-template-columns: 32px 1fr auto; } .rule-icon { width: 32px; height: 32px; }
  .rule-icon svg { width: 17px; } .rule-item h3 { flex-wrap: wrap; font-size: 12px; gap: 8px; } .rule-item p { font-size: 12px; }
  .app-footer { padding: 0 18px 20px; font-size: 9px; }
  .record-drawer { border-radius: 0; } .drawer-header { padding: 22px 20px; } .drawer-body { padding: 22px 20px; }
  .drawer-footer { padding: 15px 20px; } .drawer-footer > span { max-width: 100px; font-size: 9px; }
  .drawer-footer .button { padding: 10px 12px; font-size: 11px; }
  .form-grid { gap: 15px 12px; } .form-field > span { font-size: 10px; } .detail-context .person-button strong { font-size: 12px; }
  .station-mode .topbar { height: 80px; padding: 0 22px; } .station-mode .brand strong { font-size: 21px; } .station-top-label { font-size: 10px; }
  .station-mode main { padding: 14px 22px 32px; } .station-layout { display: block; min-height: 0; max-width: 430px; margin: auto; }
  .station-intro { padding: 0 0 25px; } .station-intro .overline { display: none; }
  .station-intro h1 { font-size: 32px; letter-spacing: -1.1px; line-height: 1.18; } .station-intro h1 br { display: none; }
  .station-intro > p { display: none; } .station-clock { border: 0; margin: 15px 0 0; padding: 0; max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .station-clock strong { font-size: 22px; letter-spacing: -.5px; white-space: nowrap; } .station-clock strong small { font-size: 10px; margin-left: 4px; }
  .station-clock p { font-size: 9px; text-align: right; margin: 0; max-width: 115px; line-height: 1.6; }
  .station-card { padding: 26px 24px; border-radius: 14px; box-shadow: 0 10px 25px #5e294b04; }
  .station-card-header h2 { font-size: 19px; } .station-card-header { margin-bottom: 23px; }
  .station-code { font-size: 19px; padding: 14px; } .action-segment { margin-bottom: 23px; }
  .station-privacy { padding-top: 17px; margin-top: 20px; font-size: 9px; } .code-hint { margin-bottom: 24px; }
  .camera-stage { aspect-ratio: 1.4; } .face-guide { height: 120px; width: 95px; }
  .form-field input:not([type=checkbox]), .form-field textarea { font-size: 16px; }
  .icon-button, .record-open { min-width: 40px; min-height: 40px; }
  .button, .filter-tab, .mobile-record .person-button { min-height: 44px; }
  .station-next { min-height: 48px; }
  .toast { bottom: 16px; width: max-content; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Connected application: no prototype switch or sample fixtures. */
:root { --bar-height: 0px; }
.login-shell { min-height: 100dvh; display: flex; flex-direction: column; }
.login-header { width: 100%; max-width: 1300px; margin: auto; padding: 35px 45px; display: flex; align-items: center; justify-content: space-between; }
.login-header .brand { padding: 0; }
.login-label { font-size: 12px; color: var(--muted); }
.login-layout { width: 100%; max-width: 1100px; padding: 45px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; flex: 1; }
.login-intro .overline { color: var(--rose); font-size: 10px; letter-spacing: 2px; margin-bottom: 24px; }
.login-intro h1 { font-size: clamp(42px, 5vw, 64px); line-height: 1.12; font-weight: 600; letter-spacing: -2.8px; }
.login-intro h1 span { color: var(--rose); }
.login-intro p { margin-top: 25px; font-size: 14px; line-height: 1.9; color: var(--secondary); }
.login-card { padding: 36px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 50px #5e294b06; }
.login-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; background: var(--rose-tint); color: var(--rose); margin-bottom: 24px; }
.login-card h2 { font-size: 22px; }
.login-card > p { font-size: 13px; color: var(--secondary); margin-top: 12px; line-height: 1.8; }
.google-login { width: 100%; min-height: 46px; margin-top: 27px; font-size: 13px; }
.google-login:disabled { opacity: 1; background: #f4eaf0; color: #93697f; border-color: #ead8e3; }
.login-status { font-size: 12px; color: var(--secondary); line-height: 1.8; margin-top: 17px; }
.login-status:empty { display: none; }
.login-card .login-footnote { padding-top: 23px; margin-top: 25px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.login-footer { font-size: 10px; color: var(--muted); text-align: center; padding: 28px; }
#connection-label { color: var(--secondary); }
@media (max-width:700px) {
  .login-header { padding: 25px 24px; }
  .login-label { display: none; }
  .login-layout { display: block; padding: 25px 24px 35px; max-width: 460px; }
  .login-intro h1 { font-size: 38px; letter-spacing: -1.5px; }
  .login-intro h1 br { display: none; }
  .login-intro .overline, .login-intro p { display: none; }
  .login-card { padding: 28px 24px; margin-top: 28px; }
  .login-card h2 { font-size: 21px; }
  .login-footer { font-size: 9px; }
}
