@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Poppins:wght@400;500;600;700&display=swap');
/* Auroma suite look (1 Dec 2026). One style file, served by ROMA at /auroma-suite.css and loaded by every Auroma app, so the
   apps share one design: the rounded black top box (one row of page tabs with Home just after the first and the rest under
   More, the Auroma logo, the page title and a short line), then white cards on the stone page. Figures always sit in white
   cards below the top box, never inside it. Everything is prefixed au- so it can't clash with an app's own styles.

   The top box:
   <header class="au-top">
     <div class="au-row">
       <nav class="au-tabs"><a class="au-tab on">Dashboard</a><a class="au-tab au-home roma-home" href="https://roma.myauroma.co.uk/" target="_top">…Home</a>
         … <details class="au-more"><summary class="au-tab">More</summary><div class="au-menu"><a>…</a></div></details></nav>
       <div class="au-spacer"></div> <button class="au-btn">…</button> <button class="au-btn au-btn-light">…</button>
     </div>
     <div class="au-head"><div class="au-headtext"><div class="au-brand">Stock Planner</div><h1 class="au-title">…</h1><div class="au-sub">…</div></div>
       <div class="au-controls">…</div></div>
   </header>
   Cards: .au-label (section label), .au-kpis > .au-card.au-kpi (small / b / i), .au-card, .au-pill (.good .warn .bad). */
:root {
  --au-ink: #1a1a1a; --au-ink-2: #3a3732; --au-muted: #6b665e; --au-faint: #9a948a; --au-line: #e7e1d6; --au-line-2: #f0ebe2;
  --au-stone: #f5f0e8; --au-soft: #faf8f4; --au-card: #ffffff; --au-on-dark: #ffffff; --au-on-dark-2: #cfc6b6; --au-on-dark-3: #b8b2a8;
  --au-good: #2f8a5b; --au-good-bg: #e5f3eb; --au-warn: #b86e00; --au-warn-bg: #fdf1de; --au-bad: #c8372d; --au-bad-bg: #fbe9e7;
  --au-radius: 16px; --au-top-radius: 18px;
  --au-font: Poppins, -apple-system, "Segoe UI", sans-serif; --au-display: "Space Grotesk", Poppins, sans-serif;
}
.au-top { position: relative; z-index: 20; margin: 0; padding: 12px 16px 20px; border-radius: var(--au-top-radius); background: var(--au-ink); color: var(--au-on-dark); font-family: var(--au-font); box-sizing: border-box; }
.au-top *, .au-top *::before, .au-top *::after { box-sizing: border-box; }
.au-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.au-spacer { flex: 1 1 auto; }
.au-tabs { display: flex; align-items: center; gap: 4px; padding: 4px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.au-tabs::-webkit-scrollbar { display: none; }
.au-tabs:has(.au-more[open]) { overflow: visible; }
.au-tab { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--au-on-dark-2) !important; font: 600 13px/1 var(--au-font) !important; text-decoration: none !important; white-space: nowrap; cursor: pointer; list-style: none; }
.au-tab::-webkit-details-marker { display: none; }
.au-tab svg { width: 15px; height: 15px; flex: none; }
.au-tab:hover { background: rgba(255,255,255,.08); color: #fff !important; }
.au-tab.on, .au-tab[aria-current="page"], .au-tab[aria-selected="true"] { background: #fff; color: var(--au-ink) !important; }
.au-tab .au-n { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; }
.au-tab.on .au-n { background: var(--au-stone); color: var(--au-ink); }
.au-more { position: relative; flex: none; }
.au-more > summary::after { content: ""; width: 7px; height: 7px; margin: -3px 0 0 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.au-more[open] > summary { background: rgba(255,255,255,.12); color: #fff !important; }
.au-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 50; min-width: 220px; max-height: 70vh; overflow-y: auto; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--au-line); box-shadow: 0 18px 40px rgba(26,26,26,.18); }
.au-menu a, .au-menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: var(--au-ink) !important; font: 500 13px var(--au-font); text-align: left; text-decoration: none !important; cursor: pointer; }
.au-menu a:hover, .au-menu button:hover { background: var(--au-stone); }
.au-menu .on, .au-menu [aria-current="page"] { background: var(--au-ink); color: #fff !important; }
.au-menu small { display: block; font-size: 11px; color: var(--au-muted); }
.au-btn { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff !important; font: 600 13px var(--au-font); text-decoration: none !important; white-space: nowrap; cursor: pointer; }
.au-btn:hover { background: rgba(255,255,255,.14); }
.au-btn-light { background: #fff; border-color: #fff; color: var(--au-ink) !important; }
.au-btn-light:hover { background: var(--au-stone); }
.au-btn svg { width: 15px; height: 15px; }
.au-head { display: flex; align-items: flex-end; gap: 16px; margin-top: 20px; padding: 0 4px; }
.au-headtext { flex: 1 1 auto; min-width: 0; }
.au-brand { display: flex; align-items: center; gap: 10px; font: 600 11.5px var(--au-font); letter-spacing: .08em; text-transform: uppercase; color: var(--au-on-dark-3); }
.au-brand::before { content: ""; flex: none; width: 104px; height: 22px; background: url("https://myauroma.co.uk/cdn/shop/files/Logo.png?v=1725510483&width=300") left center / contain no-repeat; filter: invert(1); }
.au-title { margin: 8px 0 4px; font: 600 30px/1.1 var(--au-display) !important; letter-spacing: -.02em; color: #fff !important; }
.au-sub { font: 400 13.5px/1.45 var(--au-font); color: var(--au-on-dark-3); }
.au-controls { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.au-controls select, .au-select { height: 38px; padding: 0 34px 0 14px; border-radius: 999px; border: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a1a1a' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center no-repeat; color: var(--au-ink); font: 500 13px var(--au-font); appearance: none; -webkit-appearance: none; cursor: pointer; }
/* Below the top box */
.au-page { background: var(--au-stone); }
.au-label { margin: 22px 4px 10px; font: 600 11.5px var(--au-font); letter-spacing: .08em; text-transform: uppercase; color: var(--au-muted); }
.au-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.au-card { background: var(--au-card); border: 1px solid var(--au-line); border-radius: var(--au-radius); padding: 16px 18px; box-shadow: none; }
.au-kpi small { display: block; font: 600 11px var(--au-font); letter-spacing: .06em; text-transform: uppercase; color: var(--au-muted); }
.au-kpi b { display: block; margin: 6px 0 2px; font: 600 26px/1.15 var(--au-display); color: var(--au-ink); font-variant-numeric: tabular-nums; }
.au-kpi i { font-style: normal; font-size: 12px; color: var(--au-muted); }
.au-kpi.warn { background: var(--au-warn-bg); border-color: #f6dfb6; } .au-kpi.warn b { color: var(--au-warn); }
.au-kpi.bad { background: var(--au-bad-bg); border-color: #f3cfca; } .au-kpi.bad b { color: var(--au-bad); }
.au-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font: 600 11px var(--au-font); background: var(--au-stone); color: var(--au-ink-2); }
.au-pill.good { background: var(--au-good-bg); color: var(--au-good); } .au-pill.warn { background: var(--au-warn-bg); color: var(--au-warn); } .au-pill.bad { background: var(--au-bad-bg); color: var(--au-bad); }
@media (max-width: 760px) {
  .au-top { padding: 8px 10px 14px; }
  .au-head { margin-top: 12px; flex-wrap: wrap; } .au-title { font-size: 24px !important; } .au-sub { display: none; }
  .au-tab .au-tlabel { display: none; } .au-btn .au-tlabel { display: none; } .au-btn { padding: 0 12px; }
}
@media print { .au-top { display: none; } }

/* Polaris drop-downs inside the black box (Accruals year and quarter): dark text on the white pill. */
.au-top .Polaris-Select { min-width: 110px; }
.au-top .Polaris-Select__Content { color: var(--au-ink, #1a1a1a) !important; font: 500 13px var(--au-font) !important; min-height: 38px; padding: 0 12px 0 16px; border-radius: 999px; }
.au-top .Polaris-Select__Content svg { fill: var(--au-ink, #1a1a1a) !important; }
.au-top .Polaris-Select__Backdrop, .au-top .Polaris-Select__Backdrop::after { border-radius: 999px !important; }
