/* drop — same tokens as the app shell: Steel accent, Ink, Paper, Barlow. */
:root{
  --head:'Barlow',-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;
  --serif:'Barlow',-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;
  --sans:'Barlow',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  --accent:#5980a6; --accent-d:#456a8e;
  --orange:#5980a6; --orange-d:#456a8e;
  --navy:#1d1f20; --navy-2:#2a2d2f; --ink:#3c4043;
  --muted:#6e7174; --line:#e2e2e4; --bg:#f2f2f3; --card:#ffffff;
  --green:#5f8f7d; --red:#b06e6e; --amber:#c49a62; --blue:#5980a6;
  --shadow:0 1px 2px rgba(29,31,32,.05),0 4px 14px rgba(29,31,32,.07); --radius:12px;
}
*{box-sizing:border-box} html,body{margin:0;height:100%}
body{font-family:var(--sans);font-weight:400;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:var(--accent)} button{font-family:inherit;cursor:pointer}
h1,h2,h3{font-family:var(--head);font-weight:700;letter-spacing:-.005em;color:var(--navy-2)}
label{font-family:var(--head);font-weight:600;letter-spacing:.04em}
/* the drop wordmark: inline SVG, so it takes the page's Barlow */
.brandmark{display:block;line-height:0}
.brandmark svg{height:54px;width:auto;display:block}

/* buttons */
.btn{border:1px solid var(--line);background:#fff;color:var(--navy-2);padding:10px 16px;border-radius:8px;
  font-family:var(--sans);font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.btn:hover{background:var(--bg)}
.btn.primary{background:var(--accent-d);border-color:var(--accent-d);color:#fff}
.btn.primary:hover{background:#3b5c7c;border-color:#3b5c7c}
.btn.block{width:100%;justify-content:center}
/* working state: the button keeps its size, swaps its label and stops taking clicks */
.btn.loading{pointer-events:none;opacity:.8}
.btn-spin{width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;
  border-radius:50%;display:inline-block;animation:btn-spin .7s linear infinite;flex-shrink:0}
@keyframes btn-spin{to{transform:rotate(360deg)}}

/* auth screens */
.auth{min-height:100vh;display:grid;place-items:center;padding:24px}
.auth-card{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);
  width:100%;max-width:400px;padding:34px 30px;position:relative;overflow:hidden}
/* an oversized brand dot falling out of the top corner — the logo's mark at 20x, clipped by the
   card. Pure decoration, so it sits behind everything and is hidden from the accessibility tree
   by virtue of being a pseudo-element. */
.auth-card::before{content:"";position:absolute;top:-118px;right:-92px;width:260px;height:260px;
  border-radius:50%;background:var(--accent);opacity:.07;pointer-events:none}
.auth-card>*{position:relative}
/* Brand block on the auth screens: wordmark, promise, and a bit of cheek.
   The tagline used to be an 11px muted <small> wedged into .brand with inline styles that
   fought the rule they were borrowing — fine print, on the line the product is sold on. It gets
   display type here: the setup half hangs back in muted, the payoff lands in the brand blue,
   and the full stop is the wordmark's own dot rather than a period, so the logo and the line
   read as one lockup. */
.auth-brand{margin:0 0 26px}
.auth-brand .brandmark{margin-bottom:13px}
.auth-tagline{font-family:var(--head);font-size:17px;font-weight:700;line-height:1.3;
  letter-spacing:-.022em;margin:0}
/* inline-block + nowrap: the only break point is the space between the sentences */
.auth-tagline span{display:inline-block;white-space:nowrap}
.auth-tagline .ask{color:var(--muted)}
.auth-tagline .pay{color:var(--accent-d)}
/* the borrowed dot — sized off the type so it tracks the tagline at any scale */
.auth-tagline .dot{display:inline-block;width:.44em;height:.44em;border-radius:50%;
  background:var(--accent);margin-left:.13em;vertical-align:baseline}

/* the rotating one-liner: an aside, so it is set like one — dashed in, and quiet enough that
   nobody trying to sign in has to read it */
.auth-quip{margin:10px 0 0;font-size:13px;line-height:1.45;color:var(--muted);font-style:italic}
.auth-quip::before{content:"— ";font-style:normal}

.brand{display:flex;align-items:center;gap:11px;margin-bottom:22px}
.brand .logo{width:40px;height:40px;border-radius:11px;background:var(--orange);color:#fff;display:grid;
  place-items:center;font-family:var(--serif);font-weight:600;font-size:20px}
.brand b{font-family:var(--serif);font-size:19px;color:var(--navy-2)}
.brand small{display:block;color:var(--muted);font-size:11px}
.auth-card h1{font-size:24px;margin:0 0 4px}
.auth-card .lead{color:var(--muted);margin:0 0 20px;font-size:13.5px}
label{display:block;font-size:12px;font-weight:700;color:var(--navy-2);margin-bottom:6px}
input[type=email],input[type=text]{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:9px;
  font-size:15px;font-family:inherit;background:#fff;color:var(--ink)}
input:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(89,128,166,.18)}
.otp-input{letter-spacing:12px;text-align:center;font-size:26px;font-weight:600;font-family:var(--serif)}
.msg{padding:11px 14px;border-radius:9px;font-size:13px;margin-bottom:16px;display:flex;gap:8px;align-items:flex-start}
.msg.info{background:#eef2f6;color:#5f748c;border:1px solid #dbe4ec}
.msg.err{background:#efe1e1;color:#956769;border:1px solid #e6cfcf}
.msg.ok{background:#e3ecdd;color:#5f7657;border:1px solid #d3e2cb}
.sub{color:var(--muted);font-size:12.5px} .center{text-align:center}
.mt{margin-top:16px} .dev-code{font-family:var(--serif);font-weight:700;color:var(--orange)}

/* app shell */
.app{display:flex;min-height:100vh}
.side{width:230px;background:var(--navy);color:#cfc6d1;display:flex;flex-direction:column;flex-shrink:0}
.side .brand{padding:20px;margin:0;border-bottom:1px solid rgba(255,255,255,.08)}
.side .brand b,.side .brand .logo{color:#fff} .side .brand b{color:#fff}
.nav{padding:12px 10px;flex:1}
.nav a{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:8px;color:#cfc6d1;
  text-decoration:none;font-size:13.5px;margin-bottom:2px}
.nav a:hover{background:rgba(255,255,255,.06);color:#fff}
.nav a.active{background:var(--orange);color:#fff;font-weight:600}
.nav a .ic{width:20px;text-align:center}
.side-foot{padding:14px;border-top:1px solid rgba(255,255,255,.08);font-size:12px}
.side-foot .who{color:#fff;font-weight:600} .side-foot .role{color:#a99fac}
.main{flex:1;display:flex;flex-direction:column;min-width:0}
.top{height:62px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;
  gap:14px;padding:0 24px}
.top h1{font-size:22px;margin:0}
.content{padding:24px;flex:1}
.rolechip{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;
  background:#e7e2ef;color:#6d6488;padding:3px 9px;border-radius:10px}

/* cards + table */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow)}
.card .k{color:var(--muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.4px}
.card .v{font-family:var(--serif);font-size:29px;font-weight:600;color:var(--navy-2);margin-top:4px}
.card .v.orange{color:var(--orange)} .card .v.green{color:var(--green)} .card .v.red{color:var(--red)}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-top:18px;overflow:hidden}
.panel h3{margin:0;padding:15px 18px;border-bottom:1px solid var(--line);font-size:18px}
table{width:100%;border-collapse:collapse;font-size:13px}
thead th{background:var(--bg);text-align:left;padding:11px 14px;color:var(--muted);font-size:11.5px;
  text-transform:uppercase;letter-spacing:.4px;font-weight:700;border-bottom:1px solid var(--line)}
tbody td{padding:11px 14px;border-bottom:1px solid #f1ece6}
tbody tr:hover{background:#faf7f2}
.company{font-weight:600;color:var(--navy-2)}
.badge{display:inline-block;padding:3px 10px;border-radius:12px;font-size:11.5px;font-weight:600}
.b-active{background:#e3ecdd;color:#5f7657} .b-trial{background:#e0e8f0;color:#5f748c}
.b-past{background:#f2e7d8;color:#9a7a4d} .b-cancel{background:#efe1e1;color:#956769}
.b-none,.b-expired{background:#eae5df;color:#847b73}
.b-cust{background:#e7e2ef;color:#6d6488} .b-prospect{background:#f1e9d8;color:#89744a}
.empty{padding:44px;text-align:center;color:var(--muted)}
@media(max-width:820px){.cards{grid-template-columns:repeat(2,1fr)}.side{display:none}}
