:root { color-scheme: dark; color: #eceef2; background: #111216; --bg: #111216; --surface: #191b21; --raised: #21242c; --blue: #74a4ff; --primary: #3478ed; --border: #30333c; --muted: #a2a8b5; --green: #65d6a6; --red: #ff9098; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
a:hover { color: #a6c6ff; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border); border-radius: 6px; padding: 9px 14px; background: var(--raised); color: #eceef2; font-weight: 550; min-height: 40px; white-space: normal; text-align: center; }
button:disabled { cursor: not-allowed; }
button:hover, .button:hover { background: #2b2f39; color: white; }
button.primary, .button.primary { background: var(--primary); color: white; border-color: var(--primary); }
button.primary:hover, .button.primary:hover { background: #2267db; }
button.quiet, .button.quiet { border-color: transparent; background: transparent; }
button.quiet:hover, .button.quiet:hover { background: #ffffff0a; }
input, select, textarea { border-color: #3c404b; background: #14161c; }
input::placeholder, textarea::placeholder { color: #818897; }
input:focus, select:focus, textarea:focus { outline-color: #74a4ff66; }
.brand { color: #f7f8fb; white-space: nowrap; gap: 11px; }
.brand img { width: 38px; height: 38px; background: white; border-radius: 6px; }
.shell { grid-template-columns: 240px minmax(0, 1fr); }
.sidebar { background: var(--surface); padding: 25px 16px 20px; }
.sidebar .brand { padding: 0 8px 30px; font-size: 20px; }
.workspace-switch { margin-bottom: 26px; font-size: 12px; background: #21242b; font-weight: 550; padding: 10px; border: 1px solid var(--border); border-radius: 6px; }
.nav-label { color: #9198a6; font-weight: 600; }
.nav button { background: transparent; color: #aeb4c1; min-height: 42px; text-align: left; }
.nav button:hover { background: #232630; color: #f5f6f9; }
.nav button.active { background: #2a303d; color: #f7f9ff; }
.nav button.active svg { color: #83acff; }
.nav-divider { margin-top: 23px; margin-bottom: 4px; padding-top: 18px; border-top: 1px solid var(--border); }
.sidebar-bottom { padding-top: 28px; }
.account small { font-size: 11px; }
.avatar { width: 34px; height: 34px; background: #2d3f61; color: #b9d0ff; font-weight: 650; }
tr:nth-child(3n+2) .avatar { background: #2c443e; color: #afe0cb; }
tr:nth-child(3n+3) .avatar { background: #453747; color: #dfbce2; }
.topbar { height: 72px; border-bottom-color: #282b33; background: transparent; padding: 0 36px; }
.topbar strong { color: #d4d8e2; font-weight: 500; }
.topbar > .actions:last-child { gap: 22px; }
.live { font-size: 11px; }
.dot { width: 6px; height: 6px; flex: none; }
.content { padding: 34px 36px 50px; }
.welcome { color: var(--muted); font-size: 13px; margin-bottom: 5px; }
.page-heading { margin-bottom: 30px; }
.page-heading .muted { font-size: 12px; }
.stats { gap: 16px; margin-bottom: 36px; border: 0; background: transparent; }
.stat, .stat:last-child, .stat:nth-child(2), .stat:nth-child(-n+2) { padding: 21px 21px 19px; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; min-width: 0; }
.stat-label { color: #b4bac7; }
.stat-label svg { color: #909aac; width: 16px; height: 16px; }
.stat-number { margin: 12px 0 4px; overflow-wrap: anywhere; }
.stat:first-child .stat-number { color: var(--green); }
.stat:nth-child(2) .stat-number { color: #88afff; }
.stat-number small { margin-left: 3px; font-size: 14px; font-weight: 400; }
.search input { background: var(--surface); }
.count { background: #2a2e37; color: #c6cbd5; }
.table-wrap { background: var(--surface); }
th { color: #a9b0be; background: #1e2128; font-weight: 550; padding: 14px 17px; }
td { padding: 17px; border-bottom-color: #2a2d35; }
tr:hover td { background: #1f222a; }
.person strong { font-weight: 550; }
.status { background: #292d35; color: #b2b9c7; }
.status.working, .status.resolved, .status.clocked_in, .status.active, .status.assigned { background: #1e3730; color: #7ed7ad; }
.status.idle, .status.pending, .status.away { background: #393323; color: #e6cb86; }
.status.paused { background: #24334e; color: #a7c4ff; }
.status.disabled, .status.declined { background: #3b292f; color: #eda4ad; }
.empty { background: transparent; border-top: 1px solid var(--border); }
.empty svg { color: #7f899c; }
.segmented { background: #1c1f26; border: 1px solid var(--border); }
.segmented button.active { background: #353b48; color: #f4f6fc; box-shadow: none; }
.error { color: #ffacb2; background: #40272e; }
.shot { background: var(--surface); }
.shot img { background: #0b0c0f; }
dialog { border-color: #454a58; background: #1d2027; box-shadow: 0 25px 100px #0007; }
dialog::backdrop { background: #08090db8; }
.credential { background: #242d3d; border-color: #3c4e6d; }
.idle-total { color: #e6cb86; }
#toast { background: #eceff6; color: #171b25; box-shadow: 0 5px 22px #0005; }
.badge-beta { border-color: #414755; color: #a6afc0; }
.sidebar-backdrop { display: none; }
.auth { background: var(--bg); }
.auth header { padding: 24px 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.auth-main { margin: 54px auto 60px; }
.auth-symbol { width: 48px; height: 48px; display: grid; place-items: center; background: #243450; border: 1px solid #37517a; color: #a5c4ff; border-radius: 8px; margin-bottom: 24px; }
.auth-symbol svg { width: 23px; height: 23px; }
.auth .segmented { width: 100%; }
.auth .segmented button { flex: 1; }
.auth-bottom { display: flex; justify-content: center; gap: 20px; padding: 25px; margin-top: auto; color: #9098a8; font-size: 11px; border-top: 1px solid #282b33; }
.public-inner { width: min(1200px, calc(100% - 80px)); margin: 0 auto; }
.public-header { border-bottom: 1px solid var(--border); background: #14161b; position: relative; z-index: 3; }
.public-header-inner { width: min(1440px, calc(100% - 80px)); margin: 0 auto; min-height: 84px; display: flex; align-items: center; gap: 64px; }
.public-header nav { display: flex; align-items: center; flex: 1; gap: 30px; font-size: 13px; }
.public-header nav > a:not(.button) { color: #b8bfcd; }
.public-header nav > a:hover { color: white; }
.nav-spacer { flex: 1; }
.public-menu { display: none; }
.public-hero { position: relative; min-height: 550px; height: min(690px, calc(100svh - 160px)); display: flex; align-items: center; isolation: isolate; overflow: hidden; background: #14161b; }
.hero-background { position: absolute; bottom: 0; left: 50%; width: min(1440px, 100%); height: auto; transform: translateX(-50%); z-index: -1; }
.hero-content { padding: 38px 0 0; align-self: flex-start; text-align: center; }
.hero-content .eyebrow, .hero-actions { justify-content: center; }
.eyebrow { font-size: 11px; color: #9bbaff; font-weight: 600; display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.public-hero h1 { font-size: 76px; line-height: 1.1; font-weight: 700; margin-bottom: 20px; }
.hero-tagline { font-size: 31px; line-height: 1.3; font-weight: 500; margin-bottom: 20px; }
.hero-description { color: #b8bfcd; font-size: 16px; line-height: 1.75; max-width: 680px; margin: 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .button { min-height: 46px; }
.hero-caption { position: absolute; bottom: 23px; right: 40px; color: #b8bfcd; font-size: 10px; display: flex; gap: 14px; }
.hero-caption span { color: #8f98aa; }
.capability-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #191b21; }
.capability-strip > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.capability-strip span { display: flex; align-items: center; gap: 11px; color: #bfc5d1; font-size: 12px; }
.capability-strip svg { color: #899ab7; }
.product-section { padding-top: 90px; padding-bottom: 80px; scroll-margin-top: 30px; }
.public-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; }
.public-section-heading .eyebrow, .faq-section .eyebrow, .public-cta .eyebrow { margin-bottom: 12px; }
.landing h2 { font-size: 32px; line-height: 1.3; font-weight: 600; }
.public-section-heading p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 13px; }
.product-tabs { flex: none; margin-bottom: 3px; }
.product-tabs button { padding: 8px 14px; min-height: 38px; }
.product-figure { margin: 0; }
.product-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.product-figure figcaption { text-align: right; color: #929bab; font-size: 10px; padding-top: 12px; }
.feature-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px; margin-top: 45px; }
.feature-columns article > svg { color: #88aeff; width: 22px; height: 22px; margin-bottom: 17px; }
.feature-columns h3, .workflow h3 { font-size: 16px; font-weight: 550; margin-bottom: 10px; }
.feature-columns p, .workflow p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.workflow-section { background: #191b20; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 75px 0; scroll-margin-top: 20px; }
.workflow-section h2 { max-width: 540px; }
.workflow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px; margin: 45px 0 0; padding: 0; }
.workflow li { border-top: 1px solid #3b424f; padding-top: 24px; }
.step { color: #8fa8ce; font-size: 13px; display: block; margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.pricing-section { padding: 85px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 30px; }
.pricing-section .public-section-heading strong { color: #e5e9f1; font-weight: 550; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pricing-option { min-width: 0; padding: 26px 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.pricing-option h3 { font-size: 22px; line-height: 1.4; font-weight: 600; }
.pricing-option h3 span { font-size: 14px; color: #bbc3d0; font-weight: 400; }
.pricing-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 24px 0; font-variant-numeric: tabular-nums; }
.pricing-total strong { font-size: 38px; line-height: 1.15; font-weight: 600; color: #f5f7fb; }
.pricing-total > span { color: var(--muted); font-size: 12px; }
.pricing-included { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; }
.pricing-included svg { flex: none; width: 16px; height: 16px; }
.pricing-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0 34px; }
.pricing-summary p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.pricing-summary .button { flex: none; }
.pricing-features { border-top: 1px solid var(--border); padding-top: 28px; }
.pricing-features h3 { font-size: 16px; font-weight: 550; }
.pricing-features ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 30px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 12px; color: #bbc3d0; font-size: 13px; line-height: 1.7; }
.pricing-features svg { flex: none; width: 19px; height: 19px; margin-top: 2px; color: #93b5f3; }
.faq-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; padding-top: 85px; padding-bottom: 85px; scroll-margin-top: 30px; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; font-size: 14px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { color: #9ba5b8; width: 16px; height: 16px; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 25px 23px 0; font-size: 13px; line-height: 1.8; }
.public-cta { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #1a1e26; }
.public-cta > div { padding-top: 55px; padding-bottom: 55px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.public-cta .button { min-height: 46px; }
.public-footer { padding-top: 32px; padding-bottom: 32px; display: flex; align-items: center; gap: 30px; font-size: 11px; color: var(--muted); }
.public-footer .brand { font-size: 18px; }
.public-footer img { width: 30px; height: 30px; }
.public-footer > div { display: flex; margin-left: auto; gap: 24px; }
.public-footer a:not(.brand) { color: #b4bdcf; }
@media (max-width: 1200px) {
  .shell { grid-template-columns: 215px minmax(0, 1fr); } .sidebar { padding: 23px 12px 20px; } .sidebar .brand { font-size: 18px; gap: 9px; }
  .content { padding: 28px 25px; } .topbar { padding: 0 25px; } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat:last-child, .stat:nth-child(2), .stat:nth-child(-n+2) { padding: 20px; }
  .public-header-inner { gap: 35px; } .public-header nav { gap: 20px; } .public-hero h1 { font-size: 64px; } .hero-tagline { font-size: 28px; }
}
@media (max-width: 900px) {
  .public-header-inner { width: calc(100% - 40px); min-height: 72px; justify-content: space-between; } .public-menu { display: inline-flex; }
  .public-header nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #1b1e26; padding: 24px; border-bottom: 1px solid var(--border); }
  .public-header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 20px; } .nav-spacer { display: none; }
  .public-inner { width: calc(100% - 48px); } .hero-background { object-position: left center; }
  .hero-content { padding: 35px 24px 0; margin: 0; width: 100%; }
  .capability-strip > div { grid-template-columns: repeat(2, 1fr); } .public-section-heading { align-items: flex-start; flex-direction: column; }
  .feature-columns, .workflow { gap: 25px; } .faq-section { gap: 40px; grid-template-columns: 1fr 1.5fr; } .landing h2 { font-size: 28px; }
  .pricing-grid, .pricing-features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .shell { display: block; } .sidebar { left: -270px; width: 250px; z-index: 6; } .sidebar.open { left: 0; }
  .sidebar.open + .sidebar-backdrop { display: block; position: fixed; inset: 0; border: 0; border-radius: 0; width: 100%; height: 100%; background: #050609ad; z-index: 5; }
  .topbar { padding: 0 16px; height: 60px; } .topbar > .actions:last-child { gap: 8px; } .topbar .live { font-size: 10px; }
  .content { padding: 25px 16px 35px; } .stats { margin-bottom: 27px; gap: 10px; }
  .stat, .stat:last-child, .stat:nth-child(2), .stat:nth-child(-n+2) { padding: 16px 13px; } .stat-number { font-size: 24px; } .stat-label { gap: 7px; }
  td, th { padding: 13px 12px; } .auth header { padding: 20px; } .auth header .brand { font-size: 18px; gap: 8px; } .auth header .brand img { width: 32px; height: 32px; }
  .back-link { font-size: 11px; gap: 5px; } .auth-main { margin-top: 34px; } .auth-bottom { flex-wrap: wrap; gap: 10px 20px; }
  .public-header .brand { font-size: 20px; } .public-hero { min-height: 450px; height: min(550px, calc(100svh - 128px)); }
  .public-hero h1 { font-size: 52px; margin-bottom: 16px; } .hero-tagline { font-size: 24px; } .hero-description { font-size: 14px; max-width: 390px; }
  .hero-content { padding-top: 30px; padding-bottom: 0; } .hero-actions { gap: 10px; margin-top: 25px; } .hero-actions .button { font-size: 12px; padding: 9px 11px; }
  .hero-caption { right: 24px; bottom: 14px; font-size: 9px; } .eyebrow { font-size: 10px; margin-bottom: 16px; }
  .capability-strip > div { gap: 18px 14px; padding-top: 20px; padding-bottom: 20px; } .capability-strip span { font-size: 10px; gap: 8px; } .capability-strip svg { width: 16px; height: 16px; }
  .product-section { padding-top: 56px; padding-bottom: 50px; } .landing h2 { font-size: 26px; } .public-section-heading { gap: 24px; margin-bottom: 25px; }
  .product-tabs { width: 100%; } .product-tabs button { flex: 1; padding: 7px 10px; } .product-figure figcaption { text-align: left; line-height: 1.6; }
  .feature-columns, .workflow { grid-template-columns: 1fr; gap: 28px; } .feature-columns { margin-top: 32px; } .feature-columns article { border-top: 1px solid var(--border); padding-top: 24px; }
  .feature-columns article > svg { margin-bottom: 12px; } .workflow-section { padding: 50px 0; } .workflow { margin-top: 30px; } .workflow li { padding-top: 20px; } .step { margin-bottom: 12px; }
  .pricing-section { padding: 50px 0; } .pricing-grid { gap: 12px; } .pricing-option { padding: 22px 18px; }
  .pricing-summary { flex-direction: column; align-items: flex-start; gap: 18px; } .pricing-features ul { grid-template-columns: 1fr; gap: 18px; }
  .faq-section { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; padding-bottom: 50px; } .public-cta > div { padding-top: 40px; padding-bottom: 40px; flex-direction: column; align-items: flex-start; }
  .public-footer { flex-wrap: wrap; gap: 20px; padding-top: 25px; padding-bottom: 25px; } .public-footer > div { margin-left: 0; flex-basis: 100%; flex-wrap: wrap; gap: 16px 24px; }
}
@media (max-width: 480px) { .pricing-grid { grid-template-columns: 1fr; } .pricing-option { padding: 24px; } }
@media (max-width: 360px) {
  .public-hero h1 { font-size: 44px; }
  .hero-tagline { font-size: 21px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 6px; }
  .hero-actions .button { font-size: 11px; padding: 8px; }
  .hero-actions svg { width: 16px; height: 16px; }
}
@media (max-height: 650px) and (min-width: 701px) { .public-hero { min-height: 420px; } .hero-content { padding: 25px 0 40px; } .public-hero h1 { font-size: 52px; margin-bottom: 12px; } .hero-tagline { font-size: 25px; margin-bottom: 12px; } .hero-actions { margin-top: 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
