/* Everyday shift tools: lime signals the primary action, other colors carry state. */
:root {
  --canvas: #f6f7f2;
  --ink: #18201c;
  --muted: #59635d;
  --line: #e5e8df;
  --green-bg: #cef7e7;
  --amber-bg: #fff2d6;
  --lime: #dfff70;
  --lavender: #eae4ff;
}
body { letter-spacing: -.25px; }
button, .button, input, select, textarea { border-radius: 11px; }
select {
  appearance: none;
  -webkit-appearance: none;
  height: 50px;
  min-height: 50px;
  padding-right: 42px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2318201c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
}
button:active, .button:active { transform: translateY(1px); }
.topbar { height: 80px; }
.wordmark { font-size: 25px; letter-spacing: -1.25px; font-weight: 800; min-height: 48px; }
.brand-square { background: var(--lime); color: var(--ink); width: 35px; height: 35px; border-radius: 9px; }
.prototype { letter-spacing: 0; }
.navigation { gap: 10px; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.navigation a { min-height: 48px; padding: 10px 19px; border: 0; border-radius: 10px; }
.navigation a[aria-current] { background: var(--ink); color: #fff; }
.navigation svg { display: none; }
.shell { padding-top: 34px; }
h1 { font-weight: 780; font-size: 42px; letter-spacing: -1.9px; line-height: 1.3; }
.panel { border-radius: 22px; border-color: var(--line); animation: none; }
.status { padding: 6px 12px; font-size: 13px; }
.metrics { border: 0; background: transparent; gap: 14px; overflow: visible; border-radius: 0; grid-template-columns: 1.2fr 1fr 1fr 1fr; }
.metric { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 22px 28px; min-height: 172px; }
.metric:first-child { border: 1px solid transparent; }
.primary-metric { background: var(--lime); }
.metric strong { font-size: 64px; font-weight: 750; letter-spacing: -2.7px; }
.metric>span { font-weight: 600; }
.metric .metric-note { color: var(--ink); font-weight: 500; }
.dashboard-grid { gap: 34px; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.dashboard-grid>section.panel { border: 0; background: transparent; padding: 12px 0 0; }
.dashboard-grid>section.panel .section-heading { padding: 0 0 20px; border-bottom: 1px solid var(--line); margin: 0; }
.dashboard-grid h2 { font-size: 24px; font-weight: 750; }
#current-members .list-row { min-height: 108px; }
#current-members .list-row strong { font-size: 19px; }
.member-avatar { width: 48px; height: 48px; display: grid; place-items: center; background: #cef7e7; border-radius: 50%; font-size: 19px; font-weight: 650; flex: 0 0 auto; }
.list-row:nth-child(3n+2) .member-avatar { background: #e3dcff; }
.list-row:nth-child(3n+3) .member-avatar { background: #ffddcc; }
.member-detail { flex: 1; min-width: 0; }
.next-arrival { background: var(--lavender); border-color: transparent; }
.next-arrival .eyebrow { color: #41365d; }
.next-arrival .arrival-time { font-weight: 750; font-size: 36px; }
.next-arrival .arrow-link { margin-top: 18px; }
.review-card { border-color: transparent; padding: 22px 28px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; }
.review-card .eyebrow { margin: 0; }
.review-card>p { grid-column: 2; grid-row: 1 / span 2; }
.review-card>span:last-child { grid-column: 1; }
.review-card .eyebrow { color: #76541b; }
.review-card>p { margin: 4px 0; }
.review-card strong { font-size: 40px; }
.employee-header { margin-bottom: 28px; }
.employee-header h1 { font-size: 37px; letter-spacing: -1.5px; }
.employee-header>.muted { margin-bottom: 0; font-size: 14px; }
.punch-panel { background: var(--lime); border-color: transparent; padding: 28px; border-radius: 26px; }
.punch-panel .eyebrow, .punch-panel .muted, .punch-panel .field-help, .punch-panel .result-box { color: #3c4b24; }
.punch-panel .section-heading { margin-bottom: 22px; }
.punch-panel .status { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; }
.punch-title { font-size: 31px; margin-top: 0; font-weight: 750; }
.punch-panel select { background-color: #ffffff60; border: 1px solid #a7bd58; }
.punch-panel .dominant { min-height: 60px; border-radius: 14px; }
.punch-panel .secondary { background: #ffffff85; border-color: #afbd8b; }
.punch-panel .result-box.saved { color: #244c30; font-weight: 600; }
.punch-panel .result-box.error { color: var(--red); }
.punch-time { font-size: 72px; font-weight: 750; letter-spacing: -3px; margin: 20px 0 26px; }
.punch-time small { color: #3c4b24; }
.location-note { padding: 25px 3px 10px; }
.location-note .small-label { color: var(--ink); }
.employee-layout .arrow-link { margin-top: 10px; }
.auth-panel { border-radius: 24px; }
.auth-intro .eyebrow { display: inline-block; background: var(--lime); color: var(--ink); padding: 4px 10px; border-radius: 5px; }
.auth-intro h1 { font-weight: 800; }
.intro-rule { width: 80px; height: 5px; background: var(--lime); }
.record { border-radius: 18px; }
.comparison { border-radius: 12px; }
.notice { border-radius: 12px; }
.footer { border-color: var(--line); }
.review-shortcut { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 48px; background: var(--amber-bg); padding: 10px 15px; margin-bottom: 12px; border-radius: 12px; color: #70521c; font-size: 14px; font-weight: 550; }
@media (max-width: 1000px) {
  .metric { padding: 23px; }
  .metric strong { font-size: 54px; }
  .dashboard-grid { gap: 24px; }
}
@media (max-width: 700px) {
  .topbar { height: 76px; }
  .wordmark { font-size: 22px; }
  .brand-square { width: 30px; height: 30px; border-radius: 7px; }
  .employee-layout .account>span { display: none; }
  .shell { padding-top: 27px; }
  h1 { font-size: 32px; letter-spacing: -1.3px; }
  .employee-header .eyebrow { margin-bottom: 10px; }
  .employee-header h1 { font-size: 33px; line-height: 1.26; margin-bottom: 12px; }
  .employee-header { margin-bottom: 24px; }
  .employee-layout:has(.navigation) .shell { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .employee-layout .navigation { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; margin: 0; padding: 9px 24px calc(9px + env(safe-area-inset-bottom)); background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 23px 23px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .employee-layout .navigation a { display: flex; flex-direction: column; gap: 3px; min-height: 57px; padding: 6px; font-size: 13px; border-radius: 0; background: none; color: var(--muted); position: relative; }
  .employee-layout .navigation svg { display: block; }
  .employee-layout .navigation a[aria-current] { color: var(--ink); }
  .employee-layout .navigation a[aria-current]:after { content: ''; position: absolute; bottom: -9px; width: 64px; height: 5px; background: var(--lime); }
  .owner-layout .navigation { padding-bottom: 10px; gap: 3px; }
  .owner-layout .navigation a { min-height: 48px; padding: 8px 6px; font-size: 12px; }
  .panel { border-radius: 20px; }
  .punch-panel { padding: 23px; border-radius: 24px; }
  .punch-panel .section-heading { margin-bottom: 23px; }
  .punch-panel .section-heading .eyebrow { font-size: 13px; }
  .punch-title { font-size: 27px; }
  .punch-panel .field { margin-bottom: 16px; }
  .punch-panel .dominant { min-height: 58px; }
  .punch-panel .result-box { font-size: 12px; }
  .punch-time { font-size: 62px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { border-radius: 18px; min-height: 147px; padding: 19px 22px; }
  .metric:nth-child(3) { border-left: 1px solid var(--line); }
  .metric strong { font-size: 48px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-grid h2 { font-size: 22px; }
  .dashboard-aside { gap: 12px; }
  .review-card { display: block; }
  .dashboard-aside h2 { font-size: 18px; }
  .dashboard-aside .arrival-time { font-size: 27px; }
  .dashboard-aside .arrow-link { font-size: 13px; margin-top: 8px; }
  .review-card strong { font-size: 35px; }
  .location-note { padding-top: 23px; }
  .auth-grid { margin-top: 4px; }
  .auth-intro h1 { font-size: 35px; }
  .auth-panel { margin-top: 24px; }
}
@media (max-width: 360px) {
  .shell { padding-left: 16px; padding-right: 16px; }
  .topbar { padding-left: 16px; padding-right: 16px; }
  .employee-header h1 { font-size: 30px; }
  .punch-panel { padding: 20px; }
  .owner-layout .navigation { margin: 0 16px; }
  .owner-layout .navigation a { font-size: 11px; padding: 8px 3px; }
  .dashboard-aside { grid-template-columns: 1fr; }
  .member-avatar { width: 38px; height: 38px; font-size: 16px; }
}
