/* VOICE   work tool for hosts: calm, exact, nothing decorative
   IDEA    a hotel key tag: one plain object that opens everything
   PICTURE the real product: printed card and the guest page on a phone
   COLOUR  white surfaces on neutral grey, near-black ink and buttons, one cobalt accent
   TYPE    Inter Tight for headings, Inter for text
   LAYOUT  content first; no decorative bands, shadows only where things float */

:root {
  --bg: #f3f3f1;
  --panel: #ffffff;
  --ink: #141414;
  --ink-2: #303030;
  --muted: #6b6b66;
  --line: #e2e2de;
  --line-2: #ececea;
  --brand: #141414;
  --brand-2: #2a2a2a;
  --brand-soft: #eeeeeb;
  --accent: #2f4ae8;
  --accent-soft: #e9ecfd;
  --gold: #6b6b66;
  --danger: #c2361f;
  --radius: 12px;
  --shadow-sm: none;
  --shadow-md: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-lg: 0 24px 60px -28px rgba(0, 0, 0, .35);
  --serif: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11";
}
::selection { background: #d5dbfb; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, .page h1, .modal h2, .auth-side h2, .card h3, .team-card h2, .auth h1, .stat b, .cal-nav b, .clean-day {
  font-family: var(--serif); font-weight: 650; letter-spacing: -0.022em;
}
.page h1 { font-size: 32px; line-height: 1.1; }
.edit-head h1 { font-size: 28px; }

/* buttons: flat, black for the main action */
.btn { border-radius: 8px; box-shadow: none; font-weight: 600; }
.btn:hover:not(:disabled) { background: #f7f7f5; border-color: #cfcfca; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.btn.primary:hover:not(:disabled) { background: #000; border-color: #000; }
.btn.small { border-radius: 7px; }
.icon-btn { border-radius: 8px; }

/* labels above headings are left out; the greeting stays as plain text */
.page .eyebrow, .eyebrow { display: none; }
#dashHello { display: block; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: var(--muted); margin: 0 0 4px; }

/* top bar */
.topbar { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.topbar-in { height: 60px; }
.brandmark .logo { width: 30px; height: 30px; border-radius: 7px; background: var(--ink); box-shadow: none; }
.brandmark .logo svg { width: 17px; height: 17px; }
.brandmark .bm-text { font-family: var(--serif); font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.brandmark .bm-text em { font-style: normal; color: var(--muted); font-weight: 500; }
.nav a { border-radius: 7px; height: 36px; }
.nav a.active { background: var(--brand-soft); color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 7px 7px 0 0; }
.avatar { background: var(--brand-soft); color: var(--ink); }

/* login */
.auth-side { background: var(--ink); color: #e9e9e6; }
.auth-side::after { display: none; }
.auth-side .brandmark .logo { background: #fff; }
.auth-side .brandmark .logo svg { color: var(--ink); }
.auth-side .brandmark .bm-text em { color: #9a9a95; }
.auth-side h2 { font-size: 40px; line-height: 1.08; max-width: 15ch; }
.auth-side h2 em { font-style: normal; color: #fff; font-weight: 650; }
.perks li { color: #c9c9c4; }
.perks li span { background: rgba(255, 255, 255, .08); border-radius: 7px; }
.auth-side .foot { color: #8f8f8a; }
.tabs { background: var(--brand-soft); border-radius: 9px; }
.tabs button { border-radius: 7px; }

/* dashboard */
.card { border-radius: var(--radius); box-shadow: none; }
.card:hover { transform: none; box-shadow: none; border-color: #c9c9c4; }
.card-visual { height: 120px; }
.card-visual.pattern { background-image: none; }
.card-visual .cv-icon { background: rgba(255, 255, 255, .16); border-radius: 8px; backdrop-filter: none; }
.card-visual .chip { box-shadow: none; border-radius: 6px; }
.card .shared { border-radius: 6px; background: var(--brand-soft); color: var(--ink-2); }
.card .link { color: var(--muted); }
.add-card { border-radius: var(--radius); min-height: 250px; border-color: #cfcfca; }
.add-card:hover { border-color: var(--ink); color: var(--ink); }
.add-card .plus { border-radius: 8px; background: var(--brand-soft); color: var(--ink); }
.banner { border-radius: 10px; }

/* editor */
details.sec { border-radius: var(--radius); box-shadow: none; }
details.sec[open] { box-shadow: none; }
details.sec > summary .num { border-radius: 6px; background: var(--brand-soft); color: var(--ink); }
.stat { border-radius: 10px; }
.stat b { font-size: 26px; }
.list-item { border-radius: 10px; }
.toggle { background: var(--accent-soft); border-color: #d2d8fb; border-radius: 10px; }
.toggle input, .chips input, .checklist input, .card-opts input[type=checkbox], .switch input { accent-color: var(--ink); }
.chips label { border-radius: 8px; }
.chips label:has(input:checked) { border-color: var(--ink); background: var(--brand-soft); color: var(--ink); }
.save-state.ok::before { background: #2e9e63; }
.themes button[aria-pressed=true] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.preview-label { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.phone { box-shadow: 0 0 0 1px #0b0b0a, 0 0 0 3px #3a3a38, var(--shadow-lg); }

/* modals */
.modal { border-radius: 14px; }
.card-preview { background: var(--brand-soft); border-radius: 12px; }
.modal-back { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0, 0, 0, .45); }

/* team, reports, calendar, cleanings */
.team-card, .report, .invite-card, .clean, .cal-wrap { border-radius: var(--radius); box-shadow: none; }
.tag { border-radius: 6px; background: var(--brand-soft); color: var(--ink); }
.cal-day.today { background: var(--ink); border-radius: 7px; }
.cal-day em { color: var(--muted); }
.cal-bar { border-radius: 6px; box-shadow: none; }
.status-pill { border-radius: 6px; }
.toast { border-radius: 8px; }
a.g-link, .clean-head .g-link, .cal-name small a { color: var(--accent); }

/* printed card */
.pc { font-family: "Inter", system-ui, sans-serif; }
.pc-name { font-family: "Inter Tight", "Inter", sans-serif; font-weight: 700; letter-spacing: -0.02em; }

/* ---------------------------------------------------------------- phones and narrow windows */
.only-narrow { display: none !important; }
@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .preview-col { order: 2; }
  .preview-sticky { position: static; }
  .phone { width: 100%; max-width: 380px; height: 680px; }
  .only-narrow { display: inline-flex !important; }
}
@media (max-width: 600px) {
  .page { padding: 20px 14px 90px; }
  .page h1 { font-size: 26px; }
  .page-head { gap: 14px; margin-bottom: 20px; }
  .topbar-in { padding: 0 12px; gap: 8px; }
  .edit-head { gap: 6px 10px; }
  .edit-head h1 { flex-basis: 100%; order: 2; font-size: 24px; }
  .edit-head .back { order: 1; }
  .edit-head .save-state { order: 3; }
  .edit-head #btnEditQr { order: 4; margin-left: auto; }
  .edit-tools { margin: 6px 0 18px; }
  details.sec > summary { padding: 14px 14px; gap: 10px; font-size: 15px; }
  details.sec > summary .hint { display: none; }
  details.sec > summary::after { margin-left: auto; }
  .sec-body { padding: 16px 14px; }
  .row, .wiz-grid, .cal-add { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-item { padding: 12px 10px; }
  .list-item .rm { top: 4px; right: 4px; }
  .modal-back { padding: 0; align-items: flex-end; }
  .modal { width: 100%; max-height: 94vh; border-radius: 16px 16px 0 0; padding: 20px 16px 28px; }
  .modal.wide { width: 100%; }
  .card-preview { padding: 14px; }
  .card-preview .pc { font-size: 9px; }
  .card-opts { gap: 10px 14px; }
  .link-row { flex-wrap: wrap; }
  .link-row input { min-width: 0; flex: 1 1 200px; }
  .modal-actions .btn { flex: 1 1 auto; }
  .chips label { padding: 8px 12px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .add-card { min-height: 140px; }
}
