/* Bisclock — application styles. Plain CSS, no build step. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e4e7ec;
  --border-strong: #d0d5dd;
  --text: #101828;
  --text-2: #344054;
  --muted: #667085;
  --faint: #98a2b3;

  --brand: #1d4ed8;
  --brand-hover: #1e40af;
  --brand-soft: #eef2ff;
  --brand-ink: #1e3a8a;

  --working: #067647;
  --working-bg: #ecfdf3;
  --working-border: #abefc6;
  --break: #b54708;
  --break-bg: #fffaeb;
  --break-border: #fedf89;
  --out: #475467;
  --out-bg: #f2f4f7;
  --out-border: #d0d5dd;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --danger-border: #fecdca;

  --radius: 8px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 12px 24px -6px rgba(16, 24, 40, .12), 0 4px 8px -4px rgba(16, 24, 40, .06);
  --focus: 0 0 0 4px rgba(29, 78, 216, .18);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sidebar: 248px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4 { margin: 0; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: 22px; font-weight: 650; line-height: 1.25; }
h2 { font-size: 16px; font-weight: 600; }
h3 { font-size: 14px; font-weight: 600; }
p { margin: 0; }
.num, .tabular, td, .stat-value { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* ---------- App shell ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  background: var(--surface); border-right: 1px solid var(--border);
  padding: 20px 14px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 18px; color: var(--text); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: var(--brand); display: grid; place-items: center;
}
.brand-mark svg { width: 16px; height: 16px; color: #fff; }
.org-name { font-size: 12px; color: var(--muted); font-weight: 500; padding: 0 8px 10px; text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  color: var(--text-2); font-weight: 500;
}
.nav a svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--brand-soft); color: var(--brand-ink); }
.nav a.active svg { color: var(--brand); }
.nav .badge { margin-left: auto; }
.sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 10px 8px 0; border-top: 1px solid var(--border); }
.user-chip .who { min-width: 0; flex: 1; color: inherit; }
.user-chip a.who:hover .strong { color: var(--brand); }
.user-chip .who div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  width: 32px; height: 32px; border-radius: 999px; flex: none;
  display: grid; place-items: center;
  background: var(--out-bg); color: var(--text-2); font-weight: 600; font-size: 12px;
}
.avatar.lg { width: 40px; height: 40px; font-size: 14px; }
.avatar.working { background: var(--working-bg); color: var(--working); }
.avatar.on_break { background: var(--break-bg); color: var(--break); }

.main { min-width: 0; grid-column: 2; }
.scrim { display: none; }
.topbar { display: none; }
.page { max-width: 1180px; margin: 0 auto; padding: 28px 32px 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head .sub { color: var(--muted); margin-top: 4px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 8px;
  font: inherit; font-weight: 600; font-size: 14px; white-space: nowrap;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2);
  cursor: pointer; transition: background .12s, border-color .12s, color .12s;
}
.btn:hover { background: var(--surface-2); color: var(--text); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { color: var(--danger); }
.btn-sm { height: 32px; padding: 0 10px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 500; color: var(--text-2); font-size: 13px; }
.field .hint { color: var(--muted); font-size: 12px; }
.input, select.input, textarea.input {
  width: 100%; height: 40px; padding: 0 12px;
  font: inherit; font-size: 14px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px;
  transition: border-color .12s, box-shadow .12s;
}
textarea.input { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.input:disabled, .input[readonly] { background: var(--surface-2); color: var(--text-2); box-shadow: none; }
.input.is-invalid { border-color: var(--danger); }
.error-text { color: var(--danger); font-size: 12px; font-weight: 500; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-2); }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; padding-top: 6px; }
.inline-form { display: inline; }

/* ---------- Cards, stats, lists ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.card-head h2 { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.card-body { padding: 18px; }
.card + .card { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 16px; }
.stat-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; font-size: 13px; }
.stat-value { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; margin-top: 4px; line-height: 1.2; }
.stat-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }

.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--faint); display: inline-block; flex: none; }
.dot.working { background: var(--working); box-shadow: 0 0 0 3px var(--working-bg); }
.dot.on_break { background: var(--break); box-shadow: 0 0 0 3px var(--break-bg); }
.dot.clocked_out { background: var(--faint); }
.dot.high { background: var(--danger); }
.dot.medium { background: var(--break); }
.dot.low { background: var(--faint); }

.list { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.list-item:last-child { border-bottom: 0; }
.list-item .grow { flex: 1; min-width: 0; }
.list-item.is-inactive .title, .list-item.is-inactive .avatar { opacity: .55; }
.list-item .title { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item .meta { color: var(--muted); font-size: 13px; }
.list-item .end { text-align: right; flex: none; }
.list-item .end .big { font-weight: 600; font-variant-numeric: tabular-nums; }
a.list-item { color: inherit; }
a.list-item:hover { background: var(--surface-2); color: inherit; }

.empty { padding: 28px 18px; text-align: center; color: var(--muted); }
.empty .empty-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; margin: 0 auto 10px; }
.empty .empty-icon svg { width: 20px; height: 20px; color: var(--faint); }
.empty h3 { color: var(--text); margin-bottom: 4px; }
.empty.lg { padding: 56px 24px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid transparent;
}
.pill.working { background: var(--working-bg); color: var(--working); border-color: var(--working-border); }
.pill.on_break { background: var(--break-bg); color: var(--break); border-color: var(--break-border); }
.pill.clocked_out { background: var(--out-bg); color: var(--out); border-color: var(--out-border); }
.pill.edited { background: var(--brand-soft); color: var(--brand-ink); border-color: #c7d2fe; }
.pill.manual { background: #f4f3ff; color: #5925dc; border-color: #d9d6fe; }
.pill.danger { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-border); }
.pill.neutral { background: var(--out-bg); color: var(--out); border-color: var(--out-border); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--out-bg); color: var(--text-2); font-size: 12px; font-weight: 600; }
.badge.alert { background: var(--danger-bg); color: var(--danger); }

/* ---------- Dashboard ---------- */
.status-strip { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 16px; overflow: hidden; }
.status-strip .cell { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-right: 1px solid var(--border); color: var(--text); }
.status-strip .cell:last-child { border-right: 0; }
.status-strip a.cell:hover { background: var(--surface-2); color: var(--text); }
.status-strip .k { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.status-strip .v { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.card.attention { border-color: var(--danger-border); }
.card.attention .card-head h2 svg { color: var(--danger); }
.group-head { display: flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--surface-2); border-bottom: 1px solid var(--border); border-top: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; scroll-margin-top: 70px; }
.card-head + .group-head { border-top: 0; }
.group-head .count { margin-left: auto; color: var(--muted); }
.group-empty { padding: 12px 18px; color: var(--muted); font-size: 13px; }
.name-list { padding: 12px 18px; line-height: 1.9; }
.name-list a { color: var(--text-2); font-weight: 500; }
.name-list a:hover { color: var(--brand); }
.name-list .sep { color: var(--faint); margin: 0 6px; }
.list-item .title.wrap { white-space: normal; }
.text-danger { color: var(--danger) !important; }
.avatar.alert { background: var(--danger-bg); color: var(--danger); }
.pill.sm { height: 20px; font-size: 11px; padding: 0 7px; }
.pill.voided { background: var(--out-bg); color: var(--danger); border-color: var(--danger-border); }
.timeline { padding: 6px 0; }
/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; position: relative; }
table.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 10px 18px; background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 12px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fcfcfd; }
.table .r { text-align: right; }
.table tfoot td { background: var(--surface-2); font-weight: 600; border-top: 1px solid var(--border); }
.person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.person .name { font-weight: 600; color: var(--text); }
.person a.name:hover { color: var(--brand); }

/* ---------- Flash / alerts ---------- */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--working-border); background: var(--working-bg); color: #054f31; margin-bottom: 18px; font-weight: 500; }
.flash svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.flash.error { border-color: var(--danger-border); background: var(--danger-bg); color: #7a271a; }
.flash.info { border-color: #c7d2fe; background: var(--brand-soft); color: var(--brand-ink); }
.callout { border: 1px solid var(--border); background: var(--surface-2); border-radius: var(--radius); padding: 14px 16px; }
.credentials { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 10px; }
.credentials .k { font-size: 12px; color: var(--muted); font-weight: 500; }
.credentials .v { font-size: 28px; font-weight: 700; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; color: var(--text); }

/* ---------- Week navigator & timesheet ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .spacer { flex: 1; }
.segmented { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); overflow: hidden; }
.segmented a, .segmented span { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; color: var(--text-2); font-weight: 500; border-right: 1px solid var(--border); }
.segmented > :last-child { border-right: 0; }
.segmented a:hover { background: var(--surface-2); }
.segmented svg { width: 16px; height: 16px; }
.segmented .current { font-weight: 600; color: var(--text); min-width: 170px; justify-content: center; }


/* ---------- Timesheet table ---------- */
.crumb { font-size: 13px; color: var(--faint); margin-bottom: 2px; }
.warn { color: var(--break) !important; font-weight: 600; }
.totals { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.totals > div { padding: 14px 18px; border-right: 1px solid var(--border); }
.totals > div:last-child { border-right: 0; }
.totals .k { color: var(--muted); font-size: 12px; font-weight: 500; }
.totals .v { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.totals .s { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.shift-row { display: grid; grid-template-columns: 130px minmax(0, 1.4fr) minmax(0, 1fr) 90px 36px; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--border); color: var(--text); }
.shift-row:last-child { border-bottom: 0; }
.shift-row.head { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); padding-top: 9px; padding-bottom: 9px; }
a.shift-row:hover { background: var(--surface-2); color: var(--text); }
a.shift-row:hover .go { color: var(--brand); }
.shift-row.cont { border-top: 0; }
.shift-row.cont .sday { visibility: hidden; }
.shift-row .sday { font-weight: 600; white-space: nowrap; }
.shift-row .sday.today { color: var(--brand); }
.shift-row .sday small { font-size: 11px; font-weight: 600; color: var(--brand); margin-left: 4px; }
.shift-row .span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.shift-row .times { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shift-row .brk { font-size: 13px; font-variant-numeric: tabular-nums; }
.shift-row .worked { font-weight: 600; font-variant-numeric: tabular-nums; }
.shift-row .r { text-align: right; }
.shift-row .go { color: var(--faint); display: flex; justify-content: flex-end; }
.shift-row.empty-day .sday { color: var(--muted); font-weight: 500; }
.shift-row.empty-day { padding-top: 8px; padding-bottom: 8px; }
.shift-row.voided .times, .shift-row.voided .brk { text-decoration: line-through; color: var(--faint); }
.add-link { font-size: 13px; font-weight: 500; }
a.person { color: inherit; }
a.person:hover .name { color: var(--brand); }
/* ---------- Timeline (activity / history) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 76px 20px 1fr; gap: 8px; padding: 9px 18px; align-items: start; }
.timeline .when { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; padding-top: 1px; }
.timeline .ev-dot { width: 10px; height: 10px; border-radius: 999px; margin-top: 6px; justify-self: center; background: var(--faint); }
.timeline .ev-dot.in { background: var(--working); }
.timeline .ev-dot.out { background: var(--out); }
.timeline .ev-dot.break_start, .timeline .ev-dot.break_end { background: var(--break); }

.history-item { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.history-item:last-child { border-bottom: 0; }
.diff { display: grid; grid-template-columns: 70px auto 16px auto; justify-content: start; gap: 6px 10px; margin-top: 10px; font-size: 13px; align-items: baseline; }
.diff .k { color: var(--muted); }
.diff .old, .diff .new { white-space: nowrap; }
.diff .old { color: var(--danger); text-decoration: line-through; text-decoration-color: rgba(180,35,24,.4); }
.diff .new { color: var(--working); font-weight: 600; }
.diff .arrow { color: var(--faint); text-align: center; }
.reason { margin-top: 8px; padding: 8px 10px; background: var(--surface-2); border-radius: 8px; font-size: 13px; color: var(--text-2); }

fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; }
.btn-danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger-solid:hover { background: #912018; border-color: #912018; color: #fff; }
.void-box { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
.void-box summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 500; list-style: none; }
.void-box summary::-webkit-details-marker { display: none; }
.void-box summary::before { content: "▸ "; color: var(--faint); }
.void-box[open] summary::before { content: "▾ "; }
.void-box summary:hover { color: var(--danger); }
.void-box form { margin-top: 10px; padding: 14px; border: 1px solid var(--danger-border); background: var(--danger-bg); border-radius: var(--radius); }
/* ---------- Break editor ---------- */
.break-row { display: grid; grid-template-columns: 1fr 1fr 38px; gap: 10px; align-items: end; margin-bottom: 10px; }
.break-row .field { margin-bottom: 0; }
.break-row > .btn { width: 38px; padding: 0; }

/* ---------- Auth & marketing ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background:
  radial-gradient(1200px 500px at 50% -10%, #e0e7ff 0%, rgba(224,231,255,0) 60%), var(--bg); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card.wide { max-width: 520px; }
.auth-card .card { padding: 28px; box-shadow: var(--shadow); }
.auth-brand { display: flex; justify-content: center; margin-bottom: 22px; }
.auth h1 { font-size: 22px; text-align: center; }
.auth .lead { text-align: center; color: var(--muted); margin: 6px 0 22px; }
.auth-foot { text-align: center; margin-top: 18px; color: var(--muted); }

.landing { min-height: 100vh; background: radial-gradient(1200px 600px at 50% -20%, #e0e7ff 0%, rgba(224,231,255,0) 60%), var(--bg); }
.landing-nav { max-width: 1120px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; }
.hero { max-width: 1120px; margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; }
.hero .lead { font-size: 18px; color: var(--text-2); margin: 18px 0 28px; max-width: 520px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .btn { height: 44px; padding: 0 18px; font-size: 15px; }
.hero-art { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 18px; }
.features { max-width: 1120px; margin: 0 auto; padding: 24px 24px 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.feature .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 12px; }
.feature .icon svg { width: 18px; height: 18px; color: var(--brand); }
.feature p { color: var(--muted); margin-top: 6px; }

/* ---------- Employee time clock ---------- */
.clock-body { background: #0b1220; color: #e6e9ef; min-height: 100vh; }
.clock { min-height: 100vh; display: flex; flex-direction: column; }
.clock-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; color: #9aa4b2; }
.clock-top .org { font-weight: 600; color: #e6e9ef; }
.clock-top .brand-mini { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #9aa4b2; }
.clock-top .brand-mini .brand-mark { width: 22px; height: 22px; border-radius: 6px; }
.clock-top .brand-mini .brand-mark svg { width: 12px; height: 12px; }
.clock-center { flex: 1; display: grid; place-items: center; padding: 8px 20px 32px; }
.clock-panel { width: 100%; max-width: 420px; }
.clock-now { text-align: center; margin-bottom: 26px; }
.clock-now .time { font-size: 56px; font-weight: 650; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.clock-now .date { color: #9aa4b2; margin-top: 8px; font-size: 15px; }
.clock-step-label { text-align: center; font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.pin-display {
  height: 64px; border-radius: 14px; background: #131c2e; border: 1px solid #22304a;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 30px; font-weight: 650; letter-spacing: .14em; color: #fff; font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.pin-display .placeholder { color: #55627a; font-size: 16px; letter-spacing: 0; font-weight: 500; }
.pin-display .dots { display: flex; gap: 12px; }
.pin-display .dots i { width: 14px; height: 14px; border-radius: 999px; background: #2b3954; display: block; }
.pin-display .dots i.on { background: #fff; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.key {
  height: 68px; border-radius: 14px; border: 1px solid #22304a; background: #131c2e; color: #fff;
  font: inherit; font-size: 26px; font-weight: 600; cursor: pointer; touch-action: manipulation;
  transition: background .08s, transform .08s;
}
.key:hover { background: #18233a; }
.key:active { background: #22304a; transform: scale(.98); }
.key.alt { font-size: 15px; color: #9aa4b2; }
.key.go { background: var(--brand); border-color: var(--brand); font-size: 17px; }
.key.go:hover { background: #2563eb; }
.key[disabled] { opacity: .45; cursor: default; }
.clock-error { background: rgba(240, 68, 56, .12); border: 1px solid rgba(240, 68, 56, .4); color: #fda29b; border-radius: 12px; padding: 12px 14px; text-align: center; font-weight: 500; margin-bottom: 14px; }
.clock-hint { color: #6b778c; text-align: center; font-size: 13px; margin-top: 16px; }

.clock-status { width: 100%; max-width: 560px; }
.hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.hello .name { font-size: 24px; font-weight: 650; color: #fff; letter-spacing: -0.02em; }
.hello .meta { color: #9aa4b2; font-size: 14px; }
.status-banner {
  border-radius: 18px; padding: 22px 22px; margin-bottom: 18px; text-align: center;
  border: 1px solid; position: relative; overflow: hidden;
}
.status-banner .label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9aa4b2; }
.status-banner .state { font-size: 40px; font-weight: 750; letter-spacing: .02em; line-height: 1.1; margin-top: 4px; }
.status-banner .since { margin-top: 6px; font-size: 15px; opacity: .9; font-variant-numeric: tabular-nums; }
.status-banner.clocked_out { background: #131c2e; border-color: #22304a; color: #cbd2dc; }
.status-banner.working { background: rgba(18, 183, 106, .12); border-color: rgba(18, 183, 106, .45); color: #6ce9a6; }
.status-banner.on_break { background: rgba(247, 144, 9, .12); border-color: rgba(247, 144, 9, .45); color: #fec84b; }
.actions { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.actions.single { grid-template-columns: 1fr; }
.action {
  height: 76px; border-radius: 16px; border: 1px solid transparent; cursor: pointer;
  font: inherit; font-size: 20px; font-weight: 700; color: #fff; touch-action: manipulation;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: filter .1s, transform .08s;
}
.action svg { width: 22px; height: 22px; }
.action:active { transform: scale(.985); }
.action:hover { filter: brightness(1.07); }
.action.in { background: #079455; }
.action.out { background: #d92d20; }
.action.break_start, .action.break_end { background: #dc6803; }
.action[disabled] { opacity: .6; cursor: wait; }
.clock-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.btn-dark { background: #131c2e; border: 1px solid #22304a; color: #cbd2dc; box-shadow: none; }
.btn-dark:hover { background: #18233a; color: #fff; }
.recent { margin-top: 22px; border: 1px solid #22304a; border-radius: 14px; overflow: hidden; }
.recent h3 { color: #9aa4b2; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 12px 16px; background: #0f1729; border-bottom: 1px solid #22304a; }
.recent-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #1a2438; font-variant-numeric: tabular-nums; }
.recent-row:last-child { border-bottom: 0; }
.recent-row .d { color: #e6e9ef; font-weight: 500; }
.recent-row .t { color: #9aa4b2; font-size: 13px; }
.recent-row .h { color: #fff; font-weight: 600; }
.today-total { color: #9aa4b2; font-size: 14px; }
.today-total b { color: #fff; font-variant-numeric: tabular-nums; }

.status-banner.left_open { background: rgba(240, 68, 56, .12); border-color: rgba(240, 68, 56, .5); color: #fda29b; }
.clock-warning { background: rgba(247, 144, 9, .1); border: 1px solid rgba(247, 144, 9, .45); color: #fedf89; border-radius: 12px; padding: 12px 14px; margin: -6px 0 16px; font-size: 15px; line-height: 1.45; }
.clock-warning .strong { color: #fec84b; margin-bottom: 2px; }
.action { width: 100%; }
.action[disabled] { opacity: .75; cursor: progress; }
.secondary-action { margin-top: 10px; }
.secondary-action .btn { height: 52px; font-size: 16px; }
.hours-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.hours-row > div { background: #131c2e; border: 1px solid #22304a; border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; color: #9aa4b2; font-size: 13px; }
.hours-row b { color: #fff; font-size: 18px; font-variant-numeric: tabular-nums; }
.clock-done { margin-top: 18px; text-align: center; }
.clock-done .btn { height: 52px; font-size: 16px; }
.clock-done p { margin-top: 8px; }
.confirm {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px;
  background: rgba(7, 12, 22, .88); backdrop-filter: blur(6px); animation: fade .15s ease-out;
}
.confirm-card { text-align: center; max-width: 440px; width: 100%; }
.confirm .ring { width: 96px; height: 96px; border-radius: 999px; margin: 0 auto 18px; display: grid; place-items: center; }
.confirm .ring svg { width: 48px; height: 48px; color: #fff; }
.confirm.in .ring { background: #079455; box-shadow: 0 0 0 10px rgba(7, 148, 85, .2); }
.confirm.out .ring { background: #d92d20; box-shadow: 0 0 0 10px rgba(217, 45, 32, .2); }
.confirm.break_start .ring, .confirm.break_end .ring { background: #dc6803; box-shadow: 0 0 0 10px rgba(220, 104, 3, .2); }
.confirm .what { font-size: 32px; font-weight: 750; color: #fff; letter-spacing: -0.01em; }
.confirm .who { color: #cbd2dc; font-size: 18px; margin-top: 6px; }
.confirm .at { color: #fff; font-size: 22px; font-weight: 600; margin-top: 14px; font-variant-numeric: tabular-nums; }
.confirm .later { color: #6b778c; margin-top: 22px; font-size: 13px; }
.confirm .btn { margin-top: 18px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid var(--border); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-main { grid-template-columns: 1fr; }
  .status-strip { grid-template-columns: repeat(3, 1fr); }
  .status-strip .cell:nth-child(3) { border-right: 0; }
  .status-strip .cell:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .totals { grid-template-columns: repeat(2, 1fr); }
  .totals > div:nth-child(2) { border-right: 0; }
  .totals > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .shift-row.head { display: none; }
  .shift-row { grid-template-columns: minmax(0, 1fr) auto 20px; grid-template-areas: "day worked go" "span span span" "brk brk brk"; gap: 2px 10px; padding: 12px 16px; }
  .shift-row .sday { grid-area: day; }
  .shift-row .span { grid-area: span; }
  .shift-row .brk { grid-area: brk; color: var(--muted); }
  .shift-row .brk:empty { display: none; }
  .shift-row .worked { grid-area: worked; }
  .shift-row .go { grid-area: go; }
  .shift-row.cont .sday { visibility: visible; color: var(--muted); font-weight: 500; }
  .shift-row.empty-day { grid-template-areas: "day span go"; grid-template-columns: auto minmax(0,1fr) auto; }
  .shift-row.empty-day .worked, .shift-row.empty-day .brk { display: none; }
  .status-strip { grid-template-columns: repeat(2, 1fr); }
  .status-strip .cell { border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border); }
  .status-strip .cell:nth-child(2n) { border-right: 0 !important; }
  .status-strip .cell:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .shell { grid-template-columns: 1fr; }
  .main { grid-column: 1; }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 40; transform: translateX(-100%);
    transition: transform .2s ease; box-shadow: var(--shadow-lg);
  }
  .nav-open .sidebar { transform: none; }
  .nav-open .scrim { display: block; }
  .scrim { display: none; position: fixed; inset: 0; background: rgba(16, 24, 40, .4); z-index: 30; }
  .topbar {
    display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20;
    height: 56px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--border);
  }
  .topbar .brand { padding: 0; }
  .topbar .menu-btn { margin-left: -6px; }
  .page { padding: 20px 16px 48px; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero h1 { font-size: 36px; }
  .features { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .table th, .table td { padding: 10px 12px; }
  .hide-sm { display: none; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-value { font-size: 22px; }
  .clock-now .time { font-size: 46px; }
  .status-banner .state { font-size: 32px; }
  .action { height: 68px; font-size: 18px; }
  .diff { grid-template-columns: 1fr; }
  .break-row { grid-template-columns: 1fr; gap: 8px; padding-bottom: 10px; border-bottom: 1px dashed var(--border); }
  .break-row > button { justify-self: end; }
  .diff .arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Report ---------- */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; padding: 14px 18px; }
.filters .field { margin: 0; }
.filters .field.grow { flex: 1; min-width: 200px; }
.status-strip.three { grid-template-columns: repeat(3, 1fr); }
.status-strip.three .cell { border-bottom: 0 !important; }
.status-strip.three .cell:last-child { grid-column: auto; }
.table.compact td { padding-top: 8px; padding-bottom: 8px; }
@media (max-width: 860px) {
  .status-strip.three .cell { border-right: 1px solid var(--border) !important; }
  .status-strip.three .cell:last-child { border-right: 0 !important; }
  .status-strip.three .v { font-size: 18px; }
}
.error-list { margin: 4px 0 0; padding-left: 18px; }
.error-list li { margin: 2px 0; }

/* ---------- Panels (dialogs): side sheet on desktop, bottom sheet on phones ---------- */
dialog.sheet { border: 0; padding: 0; margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(560px, 100vw); max-width: 100vw; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto; }
dialog.sheet::backdrop { background: rgba(16, 24, 40, .45); }
dialog.sheet[open] { animation: sheet-in .16s ease-out; }
@keyframes sheet-in { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.panel { padding: 20px 22px 28px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { font-size: 18px; }
.panel-close { font-size: 16px; line-height: 1; }
.panel-page .panel { padding: 20px; }
.panel-page .panel-close { display: none; }
.history-box { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 12px; }
.history-box summary { cursor: pointer; font-weight: 600; color: var(--text-2); font-size: 13px; padding: 4px 0; }
.history-box .history-item { padding: 12px 0; }
@media (max-width: 640px) {
  dialog.sheet { margin: auto 0 0 0; width: 100vw; height: auto; max-height: 92vh; border-radius: 14px 14px 0 0; }
  dialog.sheet[open] { animation: sheet-up .18s ease-out; }
  @keyframes sheet-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
  .panel { padding: 16px 16px 24px; }
}

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: -6px 0 16px; }
.tabs a { padding: 9px 12px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); }
.tabs a.active { color: var(--text); border-bottom-color: var(--brand); font-weight: 600; }

/* ---------- Getting started ---------- */
.getting-started { margin-bottom: 16px; border-color: #c7d2fe; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.steps li:last-child { border-bottom: 0; }
.steps .grow { flex: 1; min-width: 0; }
.steps .title { font-weight: 600; }
.steps .meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.step-dot { flex: none; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--out-bg); color: var(--muted); }
.steps li.current .step-dot { background: var(--brand); color: #fff; }
.steps li.done .step-dot { background: var(--working-bg); color: var(--working); }
.steps li.done .title { color: var(--muted); }
.copy-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.copy-row .input { flex: 1; min-width: 200px; height: 34px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }

/* ---------- Team ---------- */
.table.clickable tbody tr { cursor: pointer; }
.table td.go { color: var(--faint); width: 32px; }
.table.clickable tbody tr:hover td.go { color: var(--brand); }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; font-size: 13px; color: var(--muted); }
.kv b { color: var(--text); font-weight: 600; text-align: right; }
.kv b.break { word-break: break-all; }
.big-num { font-size: 18px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.mono, .mono-ish { font-family: ui-monospace, Consolas, monospace; }
textarea.mono-ish { font-size: 13px; line-height: 1.6; }
.credentials-card { border-color: #c7d2fe; }
.credentials-card .card-head h2 svg { color: var(--brand); }
.grid-main > div > .card + .card { margin-top: 16px; }

/* ---------- Printing the PIN sheet ---------- */
@media print {
  body * { visibility: hidden; }
  .printable, .printable * { visibility: visible; }
  .printable { position: absolute; inset: 0 auto auto 0; width: 100%; border: 0; }
  .no-print { display: none !important; }
}

/* ---------- Employee portal ---------- */
.portal-body { background: var(--bg); min-height: 100vh; }
.portal-top { background: var(--surface); border-bottom: 1px solid var(--border); }
.portal-top-inner { max-width: 720px; margin: 0 auto; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.portal-top .brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-main { max-width: 720px; margin: 0 auto; padding: 20px 16px 48px; }
.portal-card { max-width: 440px; margin: 24px auto 0; padding: 24px; }
.portal-card h1 { font-size: 22px; }
.portal-card .lead { color: var(--muted); margin: 6px 0 18px; }
.portal-foot { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.portal-hello { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.totals.three { grid-template-columns: repeat(3, 1fr); }
.totals.three > div:nth-child(3) { border-right: 0; }
.shift-row.readonly { grid-template-columns: 130px minmax(0, 1.4fr) minmax(0, 1fr) 90px; }
@media (max-width: 860px) {
  .totals.three { grid-template-columns: repeat(3, 1fr); }
  .totals.three > div { border-bottom: 0 !important; border-right: 1px solid var(--border) !important; padding: 12px; }
  .totals.three > div:last-child { border-right: 0 !important; }
  .totals.three .v { font-size: 17px; }
  .shift-row.readonly { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "day worked" "span span" "brk brk"; }
}
.clock-link { color: #cbd2dc; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.clock-link:hover { color: #fff; }

/* ---------- Employee app (own phone) ---------- */
.app-status { border-radius: 16px; padding: 18px; text-align: center; border: 1px solid var(--border); background: var(--surface); margin-bottom: 14px; }
.app-status .label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.app-status .state { font-size: 34px; font-weight: 750; letter-spacing: .01em; line-height: 1.15; margin-top: 2px; }
.app-status .since { margin-top: 4px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.app-status.working { background: var(--working-bg); border-color: var(--working-border); }
.app-status.working .state { color: var(--working); }
.app-status.on_break { background: var(--break-bg); border-color: var(--break-border); }
.app-status.on_break .state { color: var(--break); }
.app-status.clocked_out .state { color: var(--out); }
.app-status.left_open { background: var(--danger-bg); border-color: var(--danger-border); }
.app-status.left_open .state { color: var(--danger); font-size: 28px; }
.app-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-actions.single { grid-template-columns: 1fr; }
.app-actions .action { width: 100%; height: 72px; font-size: 19px; }
.flash.punch-done { font-size: 15px; }
.flash.warn-box { border-color: var(--break-border); background: var(--break-bg); color: #7a2e0e; }
.section-title { font-size: 15px; margin: 26px 0 10px; }

/* "Add people": one box per person, separate labeled fields. */
.person-row { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px 4px; margin: 0 0 12px; min-width: 0; }
.person-row legend { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; margin-bottom: 6px; font-weight: 600; font-size: 14px; float: left; }
.person-row legend + * { clear: both; }
.person-row .remove-person { margin-left: auto; color: var(--muted); }
.person-row .remove-person:hover { color: var(--danger, #b42318); }
.add-person { margin: 0 0 16px; border-style: dashed; }

/* Sign-in "where to?" choice. */
.choose-list { display: grid; gap: 10px; }
.choose-btn { height: auto; min-height: 56px; justify-content: flex-start; gap: 12px; padding: 10px 16px; text-align: left; }
.choose-btn span { display: flex; flex-direction: column; font-size: 16px; }
.choose-btn small { font-size: 13px; font-weight: 400; opacity: .8; }
.person-row .field { margin-bottom: 12px; }
@media (max-width: 520px) { .person-row .row { gap: 0; } }

/* The hidden attribute always wins over component display rules (e.g. .btn). */
[hidden] { display: none !important; }

/* Sign-in / PIN handout: one block per person (readable on a phone and when printed). */
.cred-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.cred-person { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; break-inside: avoid; }
.cred-kv { display: flex; flex-direction: column; margin-top: 8px; font-size: 13px; }
.cred-kv > span:first-child { color: var(--muted); font-size: 12px; }
.cred-pw { font-size: 22px; letter-spacing: .03em; }

/* Holiday & paid time. */
.pill.holiday { background: #ecfdf3; color: #067647; border-color: #abefc6; }
.linkish { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.shift-row.paid-row { background: #f6fef9; }
.sched-row { padding: 3px 0; }
.sched-grid { display: grid; gap: 8px; }
.sched-head, .sched-day { display: grid; grid-template-columns: 130px 1fr 1fr 110px; gap: 8px; align-items: center; }
.sched-head { font-size: 12px; color: var(--muted); font-weight: 500; }
.sched-day.bad .input { border-color: var(--danger); }
.sched-day:has(input[data-sched-works]:not(:checked)) .input { opacity: .45; }
@media (max-width: 520px) {
  .sched-head { display: none; }
  .sched-day { grid-template-columns: 1fr 1fr 70px; }
  .sched-day .check { grid-column: 1 / -1; }
}
.add-holidays details { border-top: 1px solid var(--border); padding: 10px 0; }
.add-holidays details:first-child { border-top: 0; padding-top: 0; }
.add-holidays summary { cursor: pointer; }
.preset-row { display: flex; gap: 8px; padding: 5px 0; font-weight: 400; }
.preset-row .grow { flex: 1; }
.inline-edit { display: inline-block; text-align: left; }
.inline-edit summary { list-style: none; }
.inline-edit summary::-webkit-details-marker { display: none; }
.inline-edit[open] { display: block; }
.inline-edit-form { display: grid; gap: 4px; margin-top: 6px; min-width: 220px; }
tr.selected td { background: var(--brand-soft); }

/* Invitation / activation page. */
.invite-org { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; font-size: 13px; }

.invite-choice { margin: 0 0 14px; align-items: flex-start; font-weight: 400; }
.invite-choice input { margin-top: 3px; }
.invite-sent { color: var(--working); display: inline-flex; gap: 6px; align-items: center; }
