:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #68736e;
  --paper: #f4f2ec;
  --surface: #fffefa;
  --line: #dcded6;
  --pine: #123f33;
  --pine-2: #1f5b4a;
  --moss: #dbe5d9;
  --amber: #e7a84c;
  --shadow: 0 18px 60px rgba(22, 39, 33, .09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
.topbar { height: 76px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,254,250,.94); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(12px); }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50% 50% 50% 8px; background: var(--pine); color: white; font-family: Georgia, serif; font-size: 21px; }
.brand strong, .brand small { display: block; }.brand strong { font-family: Georgia, serif; font-size: 20px; }.brand small { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.top-actions { display: flex; align-items: center; gap: 16px; }.user-email { font-size: 13px; color: var(--muted); }
.button { border: 1px solid var(--line); border-radius: 100px; background: var(--surface); color: var(--ink); padding: 10px 17px; font-weight: 700; transition: .2s ease; }
.button:hover { transform: translateY(-1px); border-color: #aeb7b1; }.button:disabled { opacity: .6; cursor: wait; }
.button.primary { width: 100%; background: var(--pine); color: white; border-color: var(--pine); padding: 13px 18px; }.button.primary:hover { background: var(--pine-2); }
.eyebrow { color: var(--pine-2); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; margin: 0 0 10px; }
.muted { color: var(--muted); }.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.login-shell { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 7vw; padding: 7vw; position: relative; overflow: hidden; }
.login-shell::before { content: ""; position: absolute; width: 460px; height: 460px; left: -190px; bottom: -240px; border: 1px solid #c8d0c7; border-radius: 50%; box-shadow: 0 0 0 50px var(--paper), 0 0 0 51px #dfe3db, 0 0 0 105px var(--paper), 0 0 0 106px #e2dfd5; }
.login-copy, .login-card { position: relative; z-index: 1; }.login-copy h1 { margin: 0; font: 400 clamp(54px, 7vw, 96px)/.94 Georgia, serif; letter-spacing: -.05em; }.login-copy > p:not(.eyebrow) { max-width: 550px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.signal-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }.signal-row span { border: 1px solid #cbd0ca; border-radius: 100px; padding: 8px 12px; font-size: 12px; }
.login-card { padding: 38px; max-width: 440px; width: 100%; justify-self: end; }.login-card h2 { margin: 0; font: 400 34px Georgia, serif; }.login-card label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; margin: 20px 0; }.login-card input { border: 1px solid var(--line); border-radius: 11px; padding: 13px; background: #fbfbf7; }.login-card input:focus { outline: 3px solid var(--moss); border-color: var(--pine-2); }
.form-message { min-height: 1.3em; color: var(--muted); font-size: 13px; }.form-message.error { color: #a33b31; }
.app-shell { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 240px 1fr; }.sidebar { border-right: 1px solid var(--line); padding: 34px 22px; display: flex; flex-direction: column; gap: 22px; background: #eeece5; }
.tenant-picker { display: grid; gap: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }.tenant-picker select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
nav { display: grid; gap: 6px; }.nav-item { text-decoration: none; color: var(--ink); padding: 11px 12px; border-radius: 10px; display: flex; align-items: center; gap: 10px; font-size: 14px; }.nav-item.active { background: var(--pine); color: white; }.nav-item small { margin-left: auto; opacity: .65; }.nav-item.disabled { pointer-events: none; opacity: .55; }
.sidebar-note { margin-top: auto; display: flex; gap: 10px; padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.45); border-radius: 12px; }.sidebar-note strong { font-size: 12px; }.sidebar-note p { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 4px 0 0; }.pulse { width: 8px; height: 8px; border-radius: 50%; background: #4e966e; flex: 0 0 auto; margin-top: 5px; box-shadow: 0 0 0 4px #d5e6d9; }
.workspace { padding: 42px clamp(24px, 5vw, 74px); min-width: 0; }.workspace-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }.workspace-head h1 { margin: 0; font: 400 clamp(32px, 4vw, 52px) Georgia, serif; letter-spacing: -.03em; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }.metrics article { border-top: 3px solid var(--pine); background: rgba(255,255,255,.65); padding: 20px; border-radius: 4px 4px 14px 14px; }.metrics span, .metrics small { display: block; color: var(--muted); font-size: 12px; }.metrics strong { display: block; font: 400 36px Georgia, serif; margin: 10px 0 5px; }
.leads-panel { overflow: hidden; box-shadow: none; }.panel-head { padding: 24px 26px 10px; display: flex; justify-content: space-between; }.panel-head h2 { font: 400 23px Georgia, serif; margin: 0; }.panel-head p { font-size: 12px; margin: 6px 0; }.table-wrap { overflow-x: auto; }table { border-collapse: collapse; width: 100%; }th, td { padding: 16px 20px; border-top: 1px solid var(--line); text-align: left; white-space: nowrap; font-size: 13px; }th { color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }td strong, td small { display: block; }td small { color: var(--muted); margin-top: 4px; }
.status { border: 0; border-radius: 100px; padding: 7px 10px; font-weight: 800; font-size: 11px; background: var(--moss); color: var(--pine); }.status-booked { background: #d9eadf; }.status-closed { background: #ece9e3; color: #69665f; }.status-new { background: #f8e5bd; color: #79551b; }
.text-button { border: 0; background: transparent; color: var(--pine-2); padding: 7px; font-weight: 800; font-size: 12px; }.empty-state { text-align: center; padding: 60px 20px; }.empty-state > span { width: 44px; height: 44px; display: grid; place-items: center; margin: auto; border-radius: 50%; background: var(--moss); }.empty-state h3 { font: 400 23px Georgia, serif; margin-bottom: 6px; }.empty-state p { color: var(--muted); }
dialog { width: min(620px, calc(100% - 30px)); border: 0; border-radius: 20px; padding: 28px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.25); }dialog::backdrop { background: rgba(12,28,23,.55); backdrop-filter: blur(4px); }.dialog-head { display: flex; justify-content: space-between; align-items: start; }.dialog-head h2 { font: 400 28px Georgia, serif; margin: 0; }.icon-button { border: 0; background: transparent; font-size: 28px; color: var(--muted); }.dialog-actions { display: flex; justify-content: flex-end; margin-top: 16px; }.dialog-actions .button { width: auto; }textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 14px; line-height: 1.6; color: var(--ink); background: #fbfbf7; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 850px) { .login-shell { grid-template-columns: 1fr; padding: 50px 24px; }.login-card { justify-self: start; }.app-shell { grid-template-columns: 1fr; }.sidebar { display: none; }.metrics { grid-template-columns: 1fr; }.workspace { padding: 28px 18px; }.topbar { padding: 0 18px; }.user-email { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
