/* Shared Glomium interface foundations. Keep the existing type and palette. */
:root { --gm-green:#10AF8B; --gm-deep:#0A6E58; --gm-ink:#1B1D1E; --gm-body:#4A524F; --gm-muted:#6B7572; --gm-line:#DDE3E1; }
:focus-visible { outline:2px solid var(--green, var(--gm-deep)) !important; outline-offset:4px !important; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-color:var(--green-deep, var(--green, var(--gm-deep))) !important; outline-offset:2px !important; }
.gm-auth { min-height:100vh; min-height:100svh; display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); background:#fff; }
.gm-auth-story { display:flex; flex-direction:column; justify-content:space-between; gap:56px; padding:clamp(32px,5vw,80px); background:#F3FAF8; border-right:1px solid var(--gm-line); position:relative; overflow:hidden; }
.gm-wordmark { width:142px; height:auto; align-self:flex-start; }
.gm-auth-statement { position:relative; padding:48px 0; }
.gm-auth-statement > span { display:block; color:var(--gm-deep); font-size:clamp(42px,5vw,76px); font-weight:200; line-height:1.06; letter-spacing:-.035em; }
.gm-auth-statement > strong { display:block; font-size:clamp(40px,5.1vw,80px); font-weight:300; line-height:1.12; letter-spacing:-.055em; color:var(--gm-ink); }
.gm-auth-statement p { margin:28px 0 0; font-size:17px; line-height:1.7; color:var(--gm-body); font-weight:300; }
.gm-auth-caption { display:flex; align-items:center; justify-content:space-between; gap:20px; border-top:1px solid var(--gm-line); padding-top:24px; font-size:10px; letter-spacing:.2em; color:var(--gm-deep); }
.gm-auth-panel { width:min(100%,480px); align-self:center; justify-self:center; padding:clamp(28px,5vw,56px); box-sizing:border-box; }
.gm-auth-heading { margin-bottom:14px; }
.gm-eyebrow { display:block; font-size:11px; line-height:1.6; letter-spacing:.22em; text-transform:uppercase; color:var(--gm-deep); }
.gm-auth-heading h1 { margin:16px 0 10px; font-size:clamp(32px,3.2vw,46px); font-weight:300; letter-spacing:-.025em; line-height:1.15; }
.gm-auth-heading p { margin:0; font-size:14px; line-height:1.7; color:var(--gm-body); }
.gm-field { display:flex; flex-direction:column; gap:9px; min-width:0; }
.gm-field > span { font-size:12px; line-height:1.5; color:var(--body,var(--gm-body)); }
.gm-auth-panel input { background:#fff; min-height:50px; }
.gm-auth-help { display:flex; justify-content:space-between; gap:16px; padding-top:18px; margin-top:4px; border-top:1px solid var(--gm-line); font-size:12px; line-height:1.6; color:var(--gm-deep); }
.gm-workspace-header { background:#fff; border-top:3px solid var(--gm-deep); }
.gm-workspace-nav { background:#FAFCFB; scroll-padding-inline:24px; }
.gm-workspace-nav button { font-size:11px !important; letter-spacing:.16em !important; }
.gm-crew-auth { max-width:440px; width:100%; padding:30px clamp(20px,4vw,38px); border:1px solid var(--line,var(--gm-line)); background:var(--surface,#fff); }
.gm-crew-auth .gm-auth-heading h1 { font-size:34px; }
.gm-recovery { min-height:100svh; display:flex; flex-direction:column; justify-content:center; max-width:720px; margin:0 auto; padding:clamp(36px,8vw,96px) 24px; box-sizing:border-box; }
.gm-recovery h1 { margin:26px 0 22px; font-size:clamp(40px,8vw,72px); line-height:1.05; font-weight:200; letter-spacing:-.035em; }
.gm-recovery p { color:var(--gm-body); font-size:16px; line-height:1.8; }
.gm-recovery-links { display:flex; flex-wrap:wrap; gap:16px; margin:24px 0 56px; }
.gm-recovery-links a { display:inline-flex; align-items:center; min-height:46px; padding:0 20px; border:1px solid var(--gm-line); color:var(--gm-deep); text-decoration:none; font-size:13px; }
.gm-recovery-links a:first-child { background:var(--gm-deep); color:#fff; border-color:var(--gm-deep); }
.gm-recovery .gm-slogan { font-size:11px; letter-spacing:.2em; color:var(--gm-deep); }
@media (max-width:760px) {
  .gm-auth { grid-template-columns:1fr; }
  .gm-auth-story { padding:26px 28px; gap:28px; border-right:0; border-bottom:1px solid var(--gm-line); }
  .gm-wordmark { width:116px; }
  .gm-auth-statement { padding:0; }
  .gm-auth-statement > span { font-size:32px; }
  .gm-auth-statement > strong { font-size:44px; }
  .gm-auth-statement p, .gm-auth-caption { display:none; }
  .gm-auth-panel { width:min(100%,480px); padding:32px 28px 42px; }
  .gm-auth-heading { margin-bottom:4px; }
  .gm-auth-heading h1 { font-size:32px; margin-top:10px; }
  .gm-workspace-header { gap:10px !important; }
  .gm-workspace-nav { gap:22px !important; }
}
@media (pointer:coarse) { input, textarea, select { font-size:max(16px,1em) !important; } .gm-auth-panel button, .gm-crew-auth button { min-height:44px; } }
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }

/* Client delivery, reports and selected work. */
.gm-project-intro { padding:28px clamp(20px,4vw,48px) 56px; background:#F3FAF8; border-bottom:1px solid var(--gm-line); }
.gm-project-intro-top { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; font-size:10px; letter-spacing:.2em; color:var(--gm-deep); }
.gm-project-intro-title { max-width:1400px; margin:clamp(56px,9vw,120px) auto 0; }
.gm-project-intro-title h1 { margin:18px 0; font-size:clamp(42px,8vw,104px); line-height:1.02; letter-spacing:-.035em; font-weight:200; color:var(--gm-ink); overflow-wrap:anywhere; }
.gm-project-intro-title p { margin:16px 0; font-size:clamp(16px,2vw,23px); line-height:1.6; color:var(--gm-body); }
.gm-project-intro-meta { font-size:11px; letter-spacing:.12em; color:var(--gm-muted); }
.gm-collection-pending { padding:clamp(40px,7vw,88px) clamp(20px,4vw,48px); max-width:1100px; margin:auto; }
.gm-collection-pending h2 { margin:18px 0; font-size:clamp(28px,4vw,44px); font-weight:300; line-height:1.2; letter-spacing:-.02em; }
.gm-collection-pending p { max-width:52ch; font-size:16px; line-height:1.8; color:var(--gm-body); }
.gm-client-page { --mute:#65736D; }
.gm-client-page input::placeholder, .gm-client-page textarea::placeholder { color:var(--gm-muted); opacity:1; }
.gm-client-summary { max-width:1464px; margin:0 auto; padding:36px clamp(20px,4vw,48px); display:grid; grid-template-columns:minmax(0,1.8fr) repeat(2,minmax(0,1fr)); gap:24px; border-bottom:1px solid var(--gm-line); }
.gm-client-summary > div { display:flex; flex-direction:column; gap:10px; min-width:0; }
.gm-client-summary h2 { margin:0; font-size:clamp(24px,3vw,36px); font-weight:300; letter-spacing:-.025em; line-height:1.2; overflow-wrap:anywhere; }
.gm-client-summary p { margin:0; color:var(--gm-body); font-size:14px; line-height:1.7; }
.gm-client-summary strong { font-size:28px; line-height:1.25; font-weight:300; }
.gm-client-nav a { display:inline-flex; align-items:center; min-height:44px; }
.gm-commercial-footer-main, .gm-commercial-footer-bottom { box-sizing:border-box; max-width:1560px; margin:0 auto; padding-inline:clamp(18px,4vw,48px); }
.gm-commercial-footer-main { padding-block:clamp(40px,6vw,80px) 32px; display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); align-items:end; gap:32px 48px; }
.gm-commercial-footer-note { margin:0; max-width:36ch; justify-self:end; text-align:right; font-size:10px; line-height:1.8; letter-spacing:.14em; text-transform:uppercase; color:#5F6C68; text-wrap:pretty; overflow-wrap:anywhere; }
.gm-commercial-footer-bottom { padding-block:20px 32px; border-top:1px solid var(--line,var(--gm-line)); display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
@media (max-width:700px) {
  .gm-commercial-footer-main { grid-template-columns:minmax(0,1fr); gap:24px; }
  .gm-commercial-footer-note { justify-self:start; text-align:left; max-width:none; }
}
.gm-coverage { margin:0; padding:22px 0 8px; border-top:1px solid rgba(255,255,255,.2); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.gm-coverage div { min-width:0; }
.gm-coverage dt { font-size:11px; letter-spacing:.13em; color:#BFE9DC; margin-bottom:8px; text-transform:uppercase; }
.gm-coverage dd { margin:0; font-size:14px; line-height:1.65; color:#E3EBE8; }
.gm-data-note { margin:0; font-size:13px; line-height:1.7; color:var(--gm-body); max-width:68ch; }
.gm-empty { margin:32px 0; padding:32px; border:1px solid var(--gm-line); background:#F3FAF8; }
.gm-empty h3 { margin:0 0 14px; font-size:28px; font-weight:300; }
.gm-empty p { color:var(--gm-body); font-size:15px; line-height:1.7; margin:0 0 16px; }
.gm-empty button { padding:12px 20px; min-height:44px; background:var(--gm-deep); border:0; color:white; font:inherit; cursor:pointer; }
@media (max-width:600px) {
  .gm-client-summary { grid-template-columns:1fr 1fr; }
  .gm-client-summary > div:first-child { grid-column:1 / -1; }
  .gm-coverage { grid-template-columns:1fr; gap:16px; }
  .gm-coverage div { display:grid; grid-template-columns:100px 1fr; gap:14px; }
  .gm-client-page [role="group"] button { min-height:44px; }
}

/* Finance document layout scales only the screen wrapper; PDF stays 794px. */
.gm-invoice-toolbar { flex-wrap:wrap; }
.gm-invoice-toolbar > div { flex-wrap:wrap; }
.gm-invoice-toolbar button { min-height:44px; }
@media(max-width:600px) {
  .gm-invoice-dialog { padding:12px !important; }
  .gm-invoice-toolbar { top:-12px !important; margin:-12px 0 0 !important; }
  .gm-invoice-toolbar > div { gap:6px !important; }
  .gm-invoice-toolbar button { font-size:10px !important; letter-spacing:.08em !important; padding:10px !important; }
  .gm-spend-row { grid-template-columns:minmax(0,1fr) auto !important; gap:12px !important; }
  .gm-spend-row > div:nth-child(2) { grid-row:2; grid-column:1/-1; }
}

/* Glomium signature: preserve the approved case inside uppercase labels. */
.gm-brand-tagline { text-transform:none; font-variant-caps:normal; }

/* Production and ad scheduling share the studio's work hierarchy. */
.gm-production { margin-top:24px; padding-top:20px; border-top:1px solid var(--admin-line,#DEE5E2); }
.gm-production label,.gm-ad-schedule label { display:flex; flex-direction:column; gap:8px; font-size:13px; }
.gm-production select,.gm-production input,.gm-ad-schedule input,.gm-ad-schedule select,.gm-ad-schedule textarea { width:100%; min-width:0; padding:12px; border:1px solid var(--admin-line,#DEE5E2); border-radius:0; background:var(--admin-surface,#fff); color:var(--admin-ink,#1B1D1E); font:inherit; }
.gm-ad-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:20px 0; }
.gm-ad-schedule .gm-agenda-card { margin-top:20px; }
.gm-ad-schedule textarea { min-height:84px; }
.gm-production .gm-agenda-toolbar { align-items:end; }
@media(max-width:620px){ .gm-ad-fields { grid-template-columns:1fr; } .gm-production label { width:100%; } }
.gm-ad-schedule h1 { font-size:clamp(30px,4vw,44px); font-weight:200; line-height:1.12; letter-spacing:-.035em; margin:8px 0 12px; }
.gm-ad-schedule h2 { font-size:clamp(23px,3vw,30px); font-weight:300; line-height:1.2; letter-spacing:-.02em; margin:4px 0 10px; }
.gm-ad-schedule .gm-agenda-facts { margin:20px 0; }
