/* OpSpruce website
   Type: the device's own system font (San Francisco on Apple, Segoe on Windows, Roboto on Android).
   Color: white, pine green, soft neutrals. Spacing: 4 8 12 16 20 24 32 40 48 64 80 120. */
:root {
  --white: #FFFFFF;
  --pine: #1E6A43;         /* buttons, links (6.7:1 with white) */
  --pine-dark: #15502F;    /* hover and pressed */
  --forest: #0F3A25;       /* dark band, showcase cards */
  --forest-2: #184D33;
  --mint: #EEF6F1;         /* soft green sections */
  --gray: #F5F6F5;         /* neutral tiles */
  --ink: #1B1F1D;          /* headings */
  --text: #3A403D;         /* body (10:1) */
  --muted: #5F6763;        /* secondary (5.9:1) */
  --line: #DDE3DF;
  --field: #858D89;        /* input borders (3.4:1) */

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--pine-dark); }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--font-display); }
h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.sub { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.45; color: var(--text); }
.center .sub { max-width: 40em; margin-left: auto; margin-right: auto; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 20; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 10px; color: var(--white); }

/* Pill buttons, instant color change */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 2px solid var(--pine); background: var(--pine); color: var(--white); }
.btn:hover, .btn:active { background: var(--pine-dark); border-color: var(--pine-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--pine); }
.btn-outline:hover, .btn-outline:active { background: var(--mint); color: var(--pine-dark); border-color: var(--pine-dark); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-light { background: var(--white); border-color: var(--white); color: var(--forest); }
.btn-light:hover, .btn-light:active { background: var(--mint); border-color: var(--mint); color: var(--forest); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions { justify-content: center; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 32px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand svg { width: 28px; height: 28px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: 0.02em; }
.menu { display: flex; align-items: center; gap: 24px; flex-grow: 1; }
.menu a { color: var(--text); text-decoration: none; font-size: 14px; padding: 12px 0; }
.menu a:hover { color: var(--ink); text-decoration: underline; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right .signin { color: var(--text); text-decoration: none; font-size: 14px; padding: 12px 4px; }
.topbar-right .signin:hover { color: var(--ink); text-decoration: underline; }

.notice { background: var(--mint); border-bottom: 1px solid var(--line); font-size: 14px; text-align: center; padding: 12px var(--gutter); color: var(--ink); }
.notice a { font-weight: 600; }

/* Hero */
.hero { padding: 72px 0 0; text-align: center; }
.hero .sub { margin-top: 20px; }
.hero .actions { margin-top: 32px; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Hero product shot: laptop with manager view + phone with trainee view */
.stage { position: relative; max-width: 980px; margin: 56px auto 0; padding: 0 var(--gutter) 64px; }
.laptop { background: #1E2321; border-radius: 18px 18px 6px 6px; padding: 14px 14px 18px; box-shadow: 0 30px 60px rgba(15, 58, 37, 0.18); }
.laptop-wrap { width: 78%; }
.laptop-base { height: 14px; margin: 0 -20px; background: #C9CFCC; border-radius: 0 0 14px 14px; }
.phone { position: absolute; right: var(--gutter); bottom: 24px; width: 250px; background: #1E2321; border-radius: 36px; padding: 10px; box-shadow: 0 24px 48px rgba(15, 58, 37, 0.24); }
.phone .app { border-radius: 28px; }

/* App UI (drawn to match the real app, in a sample client's colors) */
.app { --c-brand: #1E6A43; --c-soft: #E6F1EA; --c-ink: #1B1F1D; --c-muted: #5F6763; --c-line: #D8E3DC; background: #F8FAF9; color: var(--c-ink); font-family: var(--font); font-size: 13px; line-height: 1.35; text-align: left; overflow: hidden; border-radius: 8px; }
.app-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: #FFFFFF; border-bottom: 1px solid var(--c-line); }
.app-bar .logo { width: 20px; height: 20px; flex-shrink: 0; }
.app-bar .co { flex-grow: 1; font-weight: 600; font-size: 13px; }
.app-bar .me { width: 26px; height: 26px; border-radius: 50%; background: var(--c-soft); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; }
.app-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.app .t1 { font-weight: 700; font-size: 18px; line-height: 1.2; }
.app .t2 { font-size: 12px; color: var(--c-muted); }
.app .back { font-size: 12px; font-weight: 600; color: var(--c-brand); }
.bar { height: 6px; border-radius: 3px; background: var(--c-soft); overflow: hidden; }
.bar i { display: block; height: 6px; background: var(--c-brand); }
.w0 { width: 0; } .w19 { width: 19%; } .w38 { width: 38%; } .w56 { width: 56%; } .w100 { width: 100%; }
.rows { display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 10px; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--c-line); }
.row .n { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.row .tx { flex-grow: 1; display: flex; flex-direction: column; }
.row .tx b { font-weight: 600; font-size: 13px; }
.row .tx small { font-size: 11px; color: var(--c-muted); }
.row .st { font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 3px; }
.row.done .n { background: #E3F1EA; color: #1F6B4A; } .row.done .st { color: #1F6B4A; }
.row.open { border-color: var(--c-brand); } .row.open .n { background: var(--c-brand); color: #FFFFFF; } .row.open .st { color: var(--c-brand); }
.row.locked { background: #F1F4F2; } .row.locked .n { background: #E4E9E6; color: var(--c-muted); } .row.locked .tx b, .row.locked .st { color: var(--c-muted); }
.panel { padding: 10px 12px; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--c-line); }
.panel b { display: block; font-weight: 600; }
.panel small { color: var(--c-muted); font-size: 11px; }
.tbl { width: 100%; border-collapse: collapse; background: #FFFFFF; border: 1px solid var(--c-line); font-size: 12px; }
.tbl th, .tbl td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--c-line); vertical-align: top; }
.tbl thead th { background: var(--c-soft); border-top: 0; font-size: 11px; }
.tbl tbody th { font-weight: 600; }
.tbl .bar { margin-top: 5px; }
.ok { color: #1F6B4A; font-weight: 600; }
.why { padding: 10px 12px; border-radius: 10px; background: var(--c-soft); }
.why b { display: block; margin-bottom: 2px; }
.rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rules li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.rules .num { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--c-brand); color: var(--c-brand); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.rules strong { display: block; font-weight: 600; }
.rules em { display: block; font-style: normal; margin-top: 2px; color: #3A403D; }
.q { font-weight: 600; }
.opt { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px; border-radius: 8px; background: #FFFFFF; border: 1px solid var(--c-line); }
.opt .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #858D89; flex-shrink: 0; }
.opt.right { background: #E3F1EA; border-color: #BFDCCB; color: #1F6B4A; font-weight: 600; }
.opt.right .dot { border-color: #1F6B4A; background: #1F6B4A; }
.opt .tag { margin-left: auto; font-size: 11px; display: flex; align-items: center; gap: 3px; }
.chk { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 5px 10px; border-radius: 8px; background: #FFFFFF; border: 1px solid var(--c-line); }
.chk .cbox { width: 16px; height: 16px; flex-shrink: 0; border-radius: 4px; border: 2px solid #858D89; display: flex; align-items: center; justify-content: center; }
.chk.on { background: #E3F1EA; border-color: #BFDCCB; }
.chk.on .cbox { background: var(--c-brand); border-color: var(--c-brand); }
.fake-field { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 600; }
.fake-field span { display: flex; align-items: center; justify-content: space-between; min-height: 32px; padding: 0 10px; border: 1.5px solid #858D89; border-radius: 6px; background: #FFFFFF; font-weight: 400; font-size: 12px; }
.fake-btn { display: flex; align-items: center; justify-content: center; min-height: 34px; border-radius: 8px; font-weight: 600; background: var(--c-brand); color: #FFFFFF; }
.fake-btn.off { background: #DDE3DF; color: #5F6763; }
.hint { font-size: 11px; color: var(--c-muted); }
.update { padding: 10px 12px; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--c-line); }
.update small { display: block; font-size: 11px; font-weight: 600; color: var(--c-brand); }
.update b { display: block; font-weight: 600; margin-top: 2px; }

/* Showcase cards (BambooHR-style tour) */
.tour { padding: 88px 0; background: var(--mint); }
.tour-head { max-width: 56em; }
.tour-head .sub { margin-top: 16px; }
.cards { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--forest); border-radius: 20px; padding: 24px 22px 0; overflow: hidden; display: flex; flex-direction: column; height: 500px; }
.card-text { min-height: 112px; display: flex; flex-direction: column; gap: 10px; }
.card h4 { margin: 0; color: var(--white); font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.card p { color: #CFE3D6; font-size: 15px; line-height: 1.45; }
.card .app { margin-top: 16px; flex: 1 1 auto; min-height: 0; border-radius: 12px 12px 0 0; }
.card .app-body { padding: 14px; }
.cards-note { margin-top: 24px; text-align: center; font-size: 14px; color: var(--muted); }

/* First week */
.week { padding: 88px 0; }
.week .tiles { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; }
.tile { background: var(--gray); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.tile .when { font-size: 14px; font-weight: 600; color: var(--pine); }
.tile p { font-size: 16px; color: var(--text); }

/* Dark band */
.band { background: var(--forest); color: #E6F0EA; padding: 88px 0; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.band h2 { color: var(--white); }
.band .sub { color: #CFE3D6; margin-top: 20px; }
.band .points { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.band .points li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.band .points svg { flex-shrink: 0; margin-top: 3px; }
.band .app { border-radius: 18px; max-width: 420px; justify-self: center; width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); }

/* Setup */
.setup { padding: 88px 0; }
.two { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.box { background: var(--gray); border-radius: 20px; padding: 32px; }
.box h3 { margin-bottom: 8px; }
.box ul { list-style: none; margin: 0; padding: 0; }
.box li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.box li:last-child { border-bottom: 0; padding-bottom: 0; }
.aside { margin: 24px auto 0; max-width: 44em; text-align: center; font-size: 15px; color: var(--muted); }

/* Who it's for */
.who { padding: 88px 0; background: var(--mint); }
.fit-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fit { background: var(--white); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; }
.fit p { font-size: 15px; color: var(--muted); }
.not { margin: 40px auto 0; max-width: 46em; text-align: center; }
.not p + p { margin-top: 8px; }

/* Pricing */
.pricing { padding: 88px 0 40px; }
.price-card { margin: 40px auto 0; max-width: 760px; border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.price-card .big { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.price-card ul { list-style: none; margin: 0; padding: 0; }
.price-card li { display: flex; gap: 10px; padding: 6px 0; font-size: 16px; }
.price-card li svg { flex-shrink: 0; margin-top: 4px; }

/* Data */
.data { padding: 48px 0 88px; }
.data-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.data-grid .box p { font-size: 16px; margin-top: 4px; }
.data .sub { margin-top: 12px; }

/* FAQ */
.faq-sec { padding: 88px 0; background: var(--gray); }
.faq { max-width: 820px; margin: 40px auto 0; background: var(--white); border-radius: 20px; padding: 8px 32px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { flex-shrink: 0; transition: none; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--text); max-width: 40em; }

/* Founder */
.founder { padding: 88px 0 32px; }
.founder blockquote { margin: 24px auto 0; max-width: 34em; font-family: var(--font-display); font-size: clamp(19px, 2.1vw, 23px); font-weight: 500; line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; }
.founder .sig { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* Request form */
.request { padding: 56px 0 96px; }
.form { max-width: 760px; margin: 40px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; text-align: left; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 17px/1.4 var(--font); color: var(--ink); border: 1.5px solid var(--field); border-radius: 12px; background: var(--white); min-height: 50px; padding: 12px 14px; width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--pine); outline-offset: 1px; border-color: var(--pine); }
.optional { font-weight: 400; color: var(--muted); }
.form .btn { margin-top: 24px; width: 100%; min-height: 52px; font-size: 17px; }
.form .fine { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.preview-notice { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--mint); color: var(--ink); font-size: 15px; text-align: center; }

/* Footer (Apple/Microsoft-style columns) */
.footer { background: var(--gray); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 13px; color: var(--muted); }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-cols h2 { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink); margin-bottom: 10px; line-height: 1.4; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols a { color: var(--muted); text-decoration: none; display: inline-block; padding: 7px 0; }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; }
.footer-about p { max-width: 24em; margin-top: 10px; line-height: 1.5; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Plain pages */
.page { padding: 80px 0 112px; }
.page .wrap > * { max-width: 42em; }
.page h1 { font-size: clamp(36px, 5vw, 52px); }
.page h2 { font-size: 24px; margin-top: 40px; }
.page p, .page ul { margin-top: 14px; }
.page ul { padding-left: 22px; }
.page li + li { margin-top: 6px; }
.page .btn { margin-top: 32px; }

/* Responsive */
@media (max-width: 1000px) {
  .menu { display: none; }
  .topbar .wrap { justify-content: space-between; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week .tiles, .fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero { padding-top: 56px; }
  .stage { margin-top: 48px; padding-bottom: 32px; }
  .laptop-wrap { width: 100%; }
  .phone { position: relative; right: auto; bottom: auto; margin: 32px auto 0; }
  .laptop-base { margin: 0 -12px; }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; }
  .card { flex: 0 0 82%; scroll-snap-align: start; height: 480px; }
  .two, .data-grid, .price-card, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .week .tiles, .fit-grid { grid-template-columns: minmax(0, 1fr); }
  .tour, .week, .band, .setup, .who, .faq-sec, .founder { padding-top: 64px; padding-bottom: 64px; }
  .pricing { padding-top: 80px; }
  .form, .price-card { padding: 24px; }
  .faq { padding: 4px 20px; }
  .topbar-right .signin { display: none; }
}
@media (max-width: 420px) {
  :root { --gutter: 18px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
}

/* Spacing between headings and intros */
h2 + .sub { margin-top: 16px; }
.price-card .sub { margin-top: 8px; font-size: 17px; }
.price-card .actions { margin-top: 20px; }

/* Small-screen menu (no JavaScript) */
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: 52px; width: min(280px, 80vw); background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(15, 58, 37, 0.14); padding: 8px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 16px; }
.mobile-menu a:hover { background: var(--mint); }
@media (max-width: 1000px) {
  .mobile-menu { display: block; margin-left: auto; }
  .topbar .wrap { gap: 12px; }
}
@media (max-width: 420px) {
  .topbar-right .btn-sm { padding: 0 12px; font-size: 12px; white-space: nowrap; }
  .brand span { font-size: 19px; }
}
@media (max-width: 370px) {
  .topbar-right .btn-sm { white-space: normal; text-align: center; line-height: 1.15; }
}

/* Product tour groups */
.tour-group { margin-top: 56px; }
.tour-group:first-of-type { margin-top: 40px; }
.group-head { max-width: 40em; }
.group-head h3 { font-size: clamp(21px, 2.2vw, 24px); letter-spacing: -0.02em; }
.group-head p { margin-top: 4px; font-size: 17px; color: var(--text); }

/* Extra drawn app pieces */
.whoami { font-size: 11px; color: var(--c-muted); }
.tapitem { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 6px 8px 6px 12px; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--c-line); }
.tapitem .tx { flex-grow: 1; display: flex; flex-direction: column; min-width: 0; }
.tapitem .tx b { font-weight: 600; font-size: 13px; }
.tapitem .tx small { font-size: 11px; color: var(--c-muted); }
.tapbtn { flex-shrink: 0; min-width: 62px; max-width: 76px; min-height: 34px; padding: 0 8px; text-align: center; line-height: 1.15; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 600; background: var(--c-brand); color: #FFFFFF; }
.tapitem.done { background: #E6F1EA; border-color: #BFDCCB; }
.tapitem.done .tapbtn { background: transparent; color: #1F6B4A; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stat { background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 10px; padding: 8px 10px; }
.stat b { display: block; font-size: 20px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat span { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--c-muted); margin-top: 2px; }
.dotc { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dotc.r { background: #C4553F; } .dotc.y { background: #D2A13A; } .dotc.g { background: #3F8F63; }
.chartbox { background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.chartbox .ct { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 600; }
.chartbox .ct small { font-weight: 400; color: var(--c-muted); font-size: 11px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; border-bottom: 1px solid var(--c-line); }
.bars i { flex: 1; display: block; border-radius: 3px 3px 0 0; }
.bars .g { background: #3F8F63; } .bars .y { background: #D2A13A; } .bars .r { background: #C4553F; } .bars .n { background: #CDD3D8; }
.days { display: flex; gap: 5px; font-size: 10px; color: var(--c-muted); margin-top: -4px; }
.days span { flex: 1; text-align: center; }
.bignum { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.bignum small { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 400; color: var(--c-muted); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; align-items: start; }
.agrid { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 11px; table-layout: fixed; }
.agrid th { font-weight: 600; text-align: left; font-size: 11px; vertical-align: middle; }
.agrid thead th { text-align: center; color: var(--c-muted); }
.agrid tbody th { line-height: 1.25; }
.agrid tbody th small { display: block; font-weight: 400; color: var(--c-muted); font-size: 10px; }
.cellp { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 36px; padding: 2px 2px; border-radius: 8px; background: #FFFFFF; border: 1px solid var(--c-line); font-weight: 500; font-size: 11px; line-height: 1.15; }
.cellp.any { background: #F1F4F2; color: var(--c-muted); }
.cellp.gap { background: #FCF8EF; border: 1px dashed #D2A13A; color: #8A6414; font-weight: 650; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #FFFFFF; border: 1px solid var(--c-line); }
.chip.warn { background: #FCF8EF; border-color: #E6D3A8; color: #8A6414; }
.tl { list-style: none; margin: 0; padding: 0; background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 10px; }
.tl li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; padding: 9px 12px; border-top: 1px solid var(--c-line); align-items: start; }
.tl li:first-child { border-top: 0; }
.tl .pt { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #3F8F63; }
.tl .pt.undo { background: #D2A13A; } .tl .pt.sub { background: #1E6A43; box-shadow: 0 0 0 3px #E6F1EA; }
.tl b { display: block; font-weight: 600; font-size: 12px; }
.tl small { font-size: 11px; color: var(--c-muted); }
.ed-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ed-top small { font-size: 11px; color: var(--c-muted); }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: 999px; background: var(--c-brand); color: #FFFFFF; font-size: 11px; font-weight: 600; }
.blk { border-radius: 10px; padding: 10px 12px; background: #FFFFFF; border: 1px solid var(--c-line); position: relative; }
.blk.sel { outline: 2px solid var(--c-brand); outline-offset: 2px; margin-top: 18px; }
.toolchip { position: absolute; right: 8px; top: -24px; background: #1B1F1D; color: #FFFFFF; border-radius: 7px; padding: 4px 8px; font-size: 10px; display: flex; gap: 8px; }
.addrow { display: flex; align-items: center; gap: 8px; color: var(--c-muted); font-size: 11px; }
.addrow::before, .addrow::after { content: ""; flex: 1; border-top: 1.5px dashed #BFCBC4; }
.lang { display: flex; padding: 3px; border-radius: 8px; background: #E4E9E6; }
.lang span { flex: 1; min-height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 12px; color: var(--c-muted); }
.lang span.on { background: #FFFFFF; color: var(--c-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .tour-group { margin-top: 56px; }
}

/* Dashboard drawn to match the app's manager home */
.dash-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.dpanel { background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.dhead b { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.dhead small, .dpanel .foot { font-size: 10px; color: var(--c-muted); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 10px; color: var(--c-muted); }
.legend i { display: inline-block; width: 12px; height: 2.5px; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
.sumstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border: 1px solid var(--c-line); border-radius: 6px; padding: 6px 8px; background: #FBFCFB; }
.sumstrip small { display: block; font-size: 10px; color: var(--c-muted); }
.sumstrip b { font-size: 17px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.lchart { border: 1px solid var(--c-line); border-radius: 6px; padding: 6px 6px 4px; background: #FFFFFF; }
.lchart svg { width: 100%; height: auto; }
.xlab { display: flex; justify-content: space-between; font-size: 9px; color: var(--c-muted); margin-top: 2px; font-weight: 600; }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.kcard { background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kt { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.badge { font-size: 9px; letter-spacing: 0; text-transform: none; font-weight: 600; padding: 2px 6px; border-radius: 4px; border: 1px solid transparent; white-space: nowrap; }
.badge.warn { background: #FDF3DC; color: #8A5A12; border-color: #EBD59B; }
.badge.bad { background: #FCE8EA; color: #A33A47; border-color: #F0C2C8; }
.badge.good { background: #E6F1EA; color: #1F6B4A; border-color: #BFDCCB; }
.badge.calm { background: #F1F4F2; color: #3A403D; border-color: var(--c-line); }
.kn { font-size: 22px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.kn span { margin-left: 5px; font-size: 10px; font-weight: 600; color: #1F6B4A; }
.kin { border: 1px solid var(--c-line); border-radius: 6px; padding: 6px 8px; background: #FBFCFB; display: flex; flex-direction: column; gap: 4px; }
.kin small { display: flex; justify-content: space-between; font-size: 9px; color: var(--c-muted); }
.kin small em { font-style: normal; font-weight: 700; color: var(--c-ink); }
.kin small em.amber { color: #8A5A12; }
.kin b { font-size: 11px; line-height: 1.3; font-weight: 600; }
.pillbars { display: flex; gap: 3px; }
.pillbars i { flex: 1; height: 4px; border-radius: 2px; background: #DCE4DF; }
.pillbars i.on { background: #9CC9B0; } .pillbars i.now { background: var(--c-brand); }
@media (max-width: 760px) {
  .dash-grid2 { grid-template-columns: minmax(0, 1fr); }
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card .cards4 { grid-template-columns: minmax(0, 1fr); }
.card .dpanel + .dpanel { margin-top: 2px; }
