/* =====================================================================
   SkillVault — v3 hi-fi mockups · design system
   Brand: shield green + gold. UK construction SaaS.
   ===================================================================== */
@import url("/fonts.css");

:root {
  /* ——— Brand ——— */
  --green-900: #053d22;
  --green-800: #06542f;
  --green-700: #067a39;
  --green-600: #07a94f;
  --green-500: #16c065;
  --green-300: #7fe3a8;
  --green-100: #d6f8e4;
  --green-50:  #eefcf3;
  --gold-600:  #e0a800;
  --gold-500:  #f7c623;
  --gold-100:  #fdf3cf;

  /* ——— Neutrals ——— */
  --ink-900: #0d1b14;
  --ink-700: #1f2a24;
  --ink-500: #5b6b62;
  --ink-400: #8a978f;
  --ink-300: #b9c2bc;
  --line:    #e7ece9;
  --line-2:  #f0f3f1;
  --surface: #ffffff;
  --canvas:  #f3f6f4;
  --canvas-2:#eaf0ec;

  /* ——— Status ——— */
  --ok:   #0f9d58;   --ok-bg:   #e7f8ee;
  --warn: #c77700;   --warn-bg: #fff3da;
  --danger:#d83a34;  --danger-bg:#fdeceb;
  --info: #1d7fb8;   --info-bg: #e6f3fb;
  --violet:#7c3aed;  --violet-bg:#f1ecff;

  /* ——— Type ——— */
  --font-head: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* ——— Radius / shadow ——— */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --sh-1: 0 1px 2px rgba(13,27,20,.06), 0 1px 3px rgba(13,27,20,.04);
  --sh-2: 0 4px 14px rgba(13,27,20,.08);
  --sh-3: 0 12px 34px rgba(13,27,20,.12);
  --sh-4: 0 24px 60px rgba(13,27,20,.18);
  --sh-green: 0 10px 28px rgba(7,169,79,.32);
  --sh-gold:  0 10px 24px rgba(247,198,35,.4);

  --nav-h: 66px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--canvas);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
a { color: var(--green-700); text-decoration: none; }
img { max-width: 100%; }
svg { display: block; }
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* =====================================================================
   SHOWCASE / gallery
   ===================================================================== */
.showcase { background:
    radial-gradient(1200px 600px at 80% -10%, rgba(7,169,79,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(247,198,35,.10), transparent 55%),
    var(--canvas);
  min-height: 100vh; }
.showcase-head {
  max-width: 1200px; margin: 0 auto; padding: 28px 24px 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.showcase-head img { height: 46px; width: 46px; object-fit: contain; display: block; }
.showcase-links { display: flex; gap: 18px; font-weight: 600; font-size: 14px; flex-wrap: wrap; }
.showcase-links a { color: var(--ink-500); }
.showcase-links a:hover { color: var(--green-700); }
.showcase-hero { max-width: 1200px; margin: 0 auto; padding: 24px; }
.eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-700);
  background: var(--green-50); border: 1px solid var(--green-100);
  padding: 6px 12px; border-radius: 999px;
}
.showcase-hero h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; margin: 18px 0 10px; max-width: 16ch; }
.showcase-hero p { color: var(--ink-500); font-size: 18px; max-width: 60ch; margin: 0; }
.persona-row { display:flex; gap:10px; flex-wrap:wrap; margin-top: 22px; }
.persona-chip {
  display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:13px;
  padding:8px 14px; border-radius:999px; background: var(--surface); box-shadow: var(--sh-1);
  border:1px solid var(--line);
}
.persona-chip i { width:9px; height:9px; border-radius:50%; display:inline-block; }

.gallery { max-width: 1200px; margin: 8px auto 60px; padding: 24px; display: grid; gap: 30px; }
.gallery-group h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.gallery-group p.sub { color: var(--ink-500); margin: 0 0 18px; font-size: 14px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 16px; }
.tile {
  display:block; background: var(--surface); border:1px solid var(--line); border-radius: var(--r);
  padding: 18px; box-shadow: var(--sh-1); transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--green-300); }
.tile .tile-ico {
  width: 42px; height: 42px; border-radius: 12px; display:flex; align-items:center; justify-content:center;
  margin-bottom: 12px; color:#fff;
}
.tile-ico.g { background: linear-gradient(135deg, var(--green-600), var(--green-700)); }
.tile-ico.gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: var(--ink-900); }
.tile-ico.v { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.tile-ico.b { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.tile-ico.dark { background: linear-gradient(135deg, #334155, #0f172a); }
.tile strong { display:block; font-family: var(--font-head); font-size: 15px; }
.tile span { color: var(--ink-500); font-size: 13px; }
.tile small { display:inline-block; margin-top:10px; color: var(--green-700); font-weight:700; font-size:12px; }

/* =====================================================================
   Shared atoms
   ===================================================================== */
.pill {
  display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:11.5px;
  padding: 4px 9px; border-radius:999px; line-height:1; letter-spacing:.01em;
}
.pill svg { width:12px; height:12px; }
.pill-ok    { background: var(--ok-bg);    color: var(--ok); }
.pill-warn  { background: var(--warn-bg);  color: var(--warn); }
.pill-danger{ background: var(--danger-bg);color: var(--danger); }
.pill-info  { background: var(--info-bg);  color: var(--info); }
.pill-muted { background: var(--canvas-2); color: var(--ink-500); }
.pill-violet{ background: var(--violet-bg);color: var(--violet); }

.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  padding: 11px 18px; border-radius: 12px; border:1.5px solid transparent; cursor:pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease; text-decoration:none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--green-600), var(--green-700)); color:#fff; box-shadow: var(--sh-green); }
.btn-primary:hover { color:#fff; box-shadow: 0 14px 32px rgba(7,169,79,.4); }
.btn-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: var(--ink-900); box-shadow: var(--sh-gold); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink-700); }
.btn-ghost:hover { border-color: var(--green-300); color: var(--green-700); }
.btn-danger { background: var(--surface); border-color: #f3c4c1; color: var(--danger); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 22px; font-size: 15px; }

.card {
  background: var(--surface); border:1px solid var(--line); border-radius: var(--r);
  padding: 18px; box-shadow: var(--sh-1);
}
.card-h { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
.card-h h3 { font-size: 15px; font-weight: 700; }
.card-h a { font-size: 13px; font-weight: 600; }
.muted { color: var(--ink-500); }
.eyebrow-sm { font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-400); }

.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex:none;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-head);
  font-weight:700; font-size:14px; color:#fff; background: linear-gradient(145deg,#34d399,#059669);
  box-shadow: 0 0 0 2px var(--surface), var(--sh-1);
}
.avatar.v2 { background: linear-gradient(135deg,#60a5fa,#2563eb); }
.avatar.v3 { background: linear-gradient(135deg,#fbbf24,#d97706); }
.avatar.v4 { background: linear-gradient(135deg,#f472b6,#db2777); }
.avatar.sm { width: 32px; height:32px; font-size:12px; }

.row { display:flex; align-items:center; gap:12px; }
.row.between { justify-content:space-between; }
.stack { display:flex; flex-direction:column; gap:12px; }
.grid-2 { display:grid; gap:14px; }
@media (min-width:640px){ .grid-2 { grid-template-columns:1fr 1fr; } }

.list { display:flex; flex-direction:column; }
.list-item { display:flex; align-items:center; gap:12px; padding: 12px 0; border-bottom:1px solid var(--line-2); }
.list-item:last-child { border-bottom:none; }
.list-item .grow { flex:1; min-width:0; }
.list-item .ttl { font-weight:600; font-size:14px; }
.list-item .sub { font-size:12.5px; color: var(--ink-500); }

.docthumb {
  width:42px; height:42px; border-radius:10px; flex:none; display:flex; align-items:center; justify-content:center;
  background: var(--green-50); color: var(--green-700);
}

table.tbl { width:100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th { text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-400); font-weight:700; padding: 10px 12px; border-bottom:1px solid var(--line); }
table.tbl td { padding: 12px; border-bottom:1px solid var(--line-2); }
table.tbl tr:hover td { background: var(--green-50); }

.field { margin-bottom: 14px; }
.field label { display:block; font-size:12.5px; font-weight:600; color: var(--ink-700); margin-bottom:6px; }
.field input, .field select, .field textarea {
  width:100%; padding: 11px 13px; border:1.5px solid var(--line); border-radius: 11px; font: inherit; font-size:14px;
  background: var(--surface); color: var(--ink-900); transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--green-500); box-shadow: 0 0 0 4px var(--green-50);
}
.toggle { width: 42px; height:24px; border-radius:999px; background: var(--green-600); position:relative; flex:none; }
.toggle::after { content:""; position:absolute; top:3px; right:3px; width:18px; height:18px; border-radius:50%; background:#fff; box-shadow: var(--sh-1); }
.toggle.off { background: var(--ink-300); }
.toggle.off::after { right:auto; left:3px; }

/* Hidden on landing — only used in standalone prototype gallery */
.mock-flag,
.kiosk-flag {
  display: none !important;
}

/* =====================================================================
   PHONE SHELL (worker)
   ===================================================================== */
.phone-stage {
  min-height: 100vh; display:flex; align-items:center; justify-content:center; padding: 26px 16px 60px;
  background:
    radial-gradient(800px 500px at 70% 0%, rgba(7,169,79,.12), transparent 60%),
    radial-gradient(700px 460px at 0% 100%, rgba(247,198,35,.10), transparent 55%),
    var(--canvas-2);
}
.phone {
  width: 390px; max-width: 100%; background: #0d1b14; border-radius: 48px; padding: 11px;
  box-shadow: var(--sh-4), 0 0 0 1px rgba(13,27,20,.08), inset 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
}
.phone-screen {
  background: var(--canvas); border-radius: 38px; position: relative;
  height: 844px; max-height: calc(100vh - 48px); display:flex; flex-direction:column;
  overflow: hidden;
}
.dynamic-island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 118px; height: 32px; background: #0d1b14; border-radius: 999px; z-index: 12;
}
.statusbar {
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 26px 4px; font-size:15px; font-weight:600; color: var(--ink-900);
  font-variant-numeric: tabular-nums; letter-spacing: -.01em; z-index: 11; position: relative;
}
.statusbar .dots { display:flex; gap:6px; align-items:center; }
.statusbar .dots .icon { width:17px; height:17px; stroke-width:2.2; }

.app-top { padding: 4px 20px 12px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.app-top .hi { font-family: var(--font-head); font-weight:800; font-size:20px; line-height:1.2; letter-spacing:-.03em; }
.app-top .hi small { display:block; font-family:var(--font-body); font-weight:500; font-size:13px; color: var(--ink-500); letter-spacing:0; margin-top:2px; }

.app-body { flex:1; overflow-y:auto; overflow-x:hidden; padding: 2px 18px 108px; -webkit-overflow-scrolling: touch; }
.app-body::-webkit-scrollbar { width:0; }

.tabbar-wrap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 30px 14px 10px; pointer-events: none;
}
.tabbar {
  pointer-events: auto; height: 58px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border:1px solid rgba(231,236,233,.9); border-radius: 22px;
  box-shadow: 0 8px 28px rgba(13,27,20,.12), 0 1px 0 rgba(255,255,255,.8) inset;
  display:grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; align-items:end; padding: 0 2px 6px;
}
.tabbar-spacer {
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
  padding-bottom:3px; min-height:44px; pointer-events:none;
}
.tabbar-spacer__label {
  font-family:var(--font-head); font-size:10px; font-weight:800;
  letter-spacing:.06em; text-transform:uppercase; color:var(--ink-700);
  line-height:1;
}
.tabbar a {
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:2px;
  color: var(--ink-400); font-size:10px; font-weight:700; letter-spacing:.01em;
  padding-bottom: 3px; min-height: 44px; text-decoration:none;
  transition: color .15s ease;
}
.tabbar a.active { color: var(--green-700); }
.tabbar a.active .icon { stroke-width:2.4; }
.tabbar a .icon { width:21px; height:21px; }

/* ——— Scan FAB (floating, outside tab grid) ——— */
.tab-scan-fab {
  position:absolute; left:50%; top:0; transform:translateX(-50%);
  z-index:30; pointer-events:auto;
  display:block; text-decoration:none; color:var(--ink-900);
  -webkit-tap-highlight-color: transparent;
}
.tab-scan-fab__btn {
  width:64px; height:64px; border-radius:50%; position:relative; display:block;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.55) 0%, transparent 42%),
    linear-gradient(165deg, #ffe066 0%, #f7c623 42%, #dfa500 100%);
  box-shadow:
    0 14px 32px rgba(224,168,0,.42),
    0 4px 12px rgba(13,27,20,.14),
    inset 0 2px 0 rgba(255,255,255,.62),
    inset 0 -4px 8px rgba(160,100,0,.22);
  border:3.5px solid var(--surface);
  transition: transform .14s ease, box-shadow .14s ease;
}
.tab-scan-fab__btn::after {
  content:""; position:absolute; inset:7px; border-radius:50%;
  border:1px solid rgba(255,255,255,.38); pointer-events:none;
}
.tab-scan-fab__btn .icon {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:27px; height:27px; stroke-width:2.15;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.35));
}
.tab-scan-fab__pulse {
  position:absolute; inset:-3px; border-radius:50%; pointer-events:none;
  box-shadow: 0 0 0 0 rgba(247,198,35,.45);
  animation: fab-pulse 2.6s ease-out infinite;
}
.tab-scan-fab[aria-current="page"] + .tabbar .tabbar-spacer__label { color:var(--green-700); }
@keyframes fab-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(247,198,35,.45); }
  65%  { box-shadow: 0 0 0 14px rgba(247,198,35,0); }
  100% { box-shadow: 0 0 0 0 rgba(247,198,35,0); }
}
.tab-scan-fab:active .tab-scan-fab__btn {
  transform: scale(.93);
  box-shadow:
    0 8px 20px rgba(224,168,0,.35),
    0 2px 6px rgba(13,27,20,.12),
    inset 0 2px 0 rgba(255,255,255,.5),
    inset 0 -2px 6px rgba(160,100,0,.25);
}
.tab-scan-fab[aria-current="page"] .tab-scan-fab__btn {
  box-shadow:
    0 14px 32px rgba(224,168,0,.42),
    0 4px 12px rgba(13,27,20,.14),
    0 0 0 4px rgba(7,169,79,.28),
    inset 0 2px 0 rgba(255,255,255,.62),
    inset 0 -4px 8px rgba(160,100,0,.22);
}
@media (prefers-reduced-motion: reduce) {
  .tab-scan-fab__pulse { animation:none; opacity:0; }
}
.home-indicator {
  position:absolute; bottom:6px; left:50%; transform:translateX(-50%);
  width:132px; height:5px; border-radius:999px; background: var(--ink-900); opacity:.14; z-index:30; pointer-events:none;
}
.seg a { font-size:11.5px; white-space:nowrap; }

/* worker specifics */
.hero-status {
  border-radius: var(--r-lg); padding: 20px 20px 18px; color:#fff; position:relative; overflow:hidden;
  background: linear-gradient(145deg, var(--green-500) 0%, var(--green-700) 48%, var(--green-800) 100%);
  box-shadow: var(--sh-green);
}
.hero-status.out { background: linear-gradient(135deg,#475569,#1e293b); box-shadow: var(--sh-2); }
.hero-status::before { content:""; position:absolute; right:-56px; top:-56px; width:180px; height:180px; border-radius:50%; background: rgba(255,255,255,.10); }
.hero-status::after { content:""; position:absolute; right:24px; bottom:-48px; width:120px; height:120px; border-radius:50%; background: rgba(255,255,255,.06); }
.hero-status > * { position:relative; z-index:1; }
.hero-status .lbl { font-size:11px; text-transform:uppercase; letter-spacing:.14em; opacity:.88; font-weight:700; }
.hero-status .site { font-family:var(--font-head); font-weight:800; font-size:22px; margin:8px 0 5px; letter-spacing:-.02em; line-height:1.15; }
.hero-status .meta { font-size:13px; opacity:.9; line-height:1.45; }
.hero-status .live { display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-size:12px; font-weight:700; background:rgba(255,255,255,.18); padding:6px 11px; border-radius:999px; backdrop-filter:blur(4px); }
.live-dot { width:8px; height:8px; border-radius:50%; background: var(--green-300); box-shadow:0 0 0 0 rgba(127,227,168,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(127,227,168,.6);} 70%{box-shadow:0 0 0 9px rgba(127,227,168,0);} 100%{box-shadow:0 0 0 0 rgba(127,227,168,0);} }

.scan-btn {
  display:flex; align-items:center; justify-content:center; gap:10px; width:100%; margin:12px 0 14px;
  padding:15px 16px; border:none; border-radius: var(--r-lg); cursor:pointer;
  font-family:var(--font-head); font-weight:800; font-size:15.5px; letter-spacing:-.01em;
  background: linear-gradient(145deg, #fbd44a, var(--gold-600)); color: var(--ink-900);
  box-shadow: var(--sh-gold); transition: transform .12s ease, box-shadow .15s ease;
}
.scan-btn:active { transform: scale(.985); }
.scan-btn .icon { stroke-width:2.3; }

.mini-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin: 0 0 14px; }
.mini {
  background: var(--surface); border:1px solid var(--line); border-radius: var(--r); padding:14px 14px 13px;
  box-shadow: var(--sh-1);
}
.mini .k { font-family:var(--font-head); font-weight:800; font-size:22px; letter-spacing:-.02em; line-height:1.1; }
.mini .k-text { font-size:17px; line-height:1.2; }
.mini .l { font-size:12px; color: var(--ink-500); margin-top:2px; }
.mini .ico { color: var(--green-600); margin-bottom:7px; width:20px; height:20px; }

.ring { --p:70; width:54px; height:54px; border-radius:50%; flex:none; position:relative;
  background: conic-gradient(var(--green-300) calc(var(--p)*1%), rgba(255,255,255,.2) 0);
  display:flex; align-items:center; justify-content:center; }
.ring span { width:40px; height:40px; border-radius:50%; background: rgba(255,255,255,.95); display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:800; font-size:11px; color:var(--green-800); }

.alert {
  display:flex; gap:10px; align-items:flex-start; padding:12px 14px; border-radius:14px;
  font-size:13px; line-height:1.45; margin-bottom:12px; border:1px solid transparent;
}
.alert svg { flex:none; margin-top:2px; stroke-width:2.2; }
.alert-warn { background: var(--warn-bg); color:#7a4a00; border-color:#f5ddb0; }
.alert-danger { background: var(--danger-bg); color:#9b2620; border-color:#f3c4c1; }
.alert-ok { background: var(--ok-bg); color:#0a6b3c; border-color:#b8ebd0; }
.alert a { color: var(--green-700); font-weight:700; text-decoration:underline; text-underline-offset:2px; }

.section-label { font-family:var(--font-head); font-weight:800; font-size:14px; color: var(--ink-900); margin:14px 2px 8px; display:flex; align-items:center; justify-content:space-between; letter-spacing:-.01em; }
.section-label a { font-size:12px; font-weight:600; color: var(--green-700); text-decoration:none; }
.section-label a:hover { text-decoration:underline; }

.app-top .hi.compact { font-size:17px; }
.app-top-close {
  text-decoration:none; font-size:13px; font-weight:600;
  padding:7px 12px; border-radius:999px; background:var(--canvas-2); color:var(--ink-500);
  border:1px solid var(--line); transition:background .15s, color .15s;
}
.app-top-close:hover { background:var(--surface); color:var(--ink-700); }

/* ——— Scan / sign-in screen ——— */
.scan-stack { display:flex; flex-direction:column; gap:12px; }
.qr-card.scan-success {
  padding:20px 18px 18px; margin:0; text-align:center;
  border-color:var(--green-300); box-shadow:var(--sh-2), 0 0 0 4px var(--green-50);
}
.scan-site {
  display:inline-flex; align-items:center; gap:6px;
  margin-bottom:14px; font-weight:700;
}
.scan-site .icon { width:14px; height:14px; stroke-width:2.2; }
.qr-mark-svg { width:156px; height:156px; margin:0 auto 14px; display:block; border-radius:16px; }
.scan-verified {
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; color:var(--ink-500); margin:0;
}
.scan-verified .icon { color:var(--ok); flex-shrink:0; }
.scan-stack .alert { margin-bottom:0; }
.scan-status-card {
  padding:16px 18px; margin:0;
  background:linear-gradient(180deg, var(--green-50) 0%, var(--surface) 100%);
  border-color:var(--green-100);
}
.scan-status-card .eyebrow-sm { color:var(--green-700); opacity:.85; }
.status-row {
  display:flex; align-items:center; gap:8px; margin-top:4px;
}
.status-row .icon { color:var(--green-600); flex-shrink:0; }
.status-value {
  margin:0; font-size:18px;
  font-family:var(--font-head); font-weight:800; color:var(--green-700);
}
.live-badge {
  background:var(--surface); color:var(--green-700);
  padding:6px 11px; border-radius:999px; font-size:12px; font-weight:700;
  display:inline-flex; gap:6px; align-items:center;
  border:1px solid var(--green-100); box-shadow:var(--sh-1);
}
.scan-btn.signout {
  background:linear-gradient(145deg,var(--green-600),var(--green-800));
  color:#fff; box-shadow:var(--sh-green); margin:4px 0 0;
}
.scan-mock-link { text-align:center; margin:6px 0 0; }
.scan-mock-link a {
  display:inline-flex; align-items:center; gap:6px;
  font-size:11.5px; font-weight:600; color:var(--ink-400); text-decoration:none;
  padding:8px 14px; border-radius:999px;
  border:1px dashed var(--line-2); background:rgba(255,255,255,.7);
  transition:border-color .15s, color .15s;
}
.scan-mock-link a:hover { color:var(--green-700); border-color:var(--green-300); }
.scan-mock-link .icon { width:14px; height:14px; opacity:.7; }

.hero-status.teal { background:linear-gradient(145deg,#0f766e 0%,#0b4a44 55%,#0b3b36 100%); box-shadow:var(--sh-2); }
.live-badge .live-dot { background:var(--green-600); animation:pulse 2s infinite; box-shadow:none; }
.qr-card.danger { border:2px solid #f3c4c1; }
.scan-blocked { text-align:center; margin:0; padding:22px 18px 20px; }
.scan-blocked-tag { margin-bottom:14px; }
.scan-blocked-title {
  margin:0; font-family:var(--font-head); font-weight:800; font-size:17px;
}
.scan-blocked-desc { margin:6px 0 0; font-size:13px; color:var(--ink-500); }
.block-icon { width:80px; height:80px; border-radius:50%; background:var(--danger-bg); color:var(--danger); display:flex; align-items:center; justify-content:center; margin:0 auto 12px; }
.block-icon .icon { width:38px; height:38px; }
.preview-link { text-align:center; font-size:12.5px; margin-top:8px; color:var(--ink-500); }
.day.in-progress { border-style:dashed; background:var(--green-50); border-color:var(--green-300); }
.cert.pending { border-style:dashed; }
.cert.expired { border-color:#f3c4c1; background:var(--danger-bg); }
.docthumb.warn { background:var(--warn-bg); color:var(--warn); }
.docthumb.ok { background:var(--ok-bg); color:var(--ok); }
.btn-sm { padding:8px 12px; font-size:13px; }
.card-list { padding:4px 16px 2px; margin-bottom:14px; }
.stack-actions { margin-top:14px; display:flex; flex-direction:column; gap:10px; }
.list-item .pill { flex-shrink:0; white-space:nowrap; }
.list-item .ttl { line-height:1.35; }
.card.compact { padding:4px 16px 2px; }

.day {
  background: var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:14px; margin-bottom:10px; box-shadow: var(--sh-1);
}
.day .d-h { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.day .d-h b { font-family:var(--font-head); font-size:15px; }
.day .d-row { display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--ink-500); margin:3px 0; }
.timebar { height:8px; border-radius:999px; background: var(--canvas-2); overflow:hidden; margin:8px 0; display:flex; }
.timebar i { display:block; height:100%; }
.timebar .work { background: var(--green-500); }
.timebar .brk { background: var(--gold-500); }
.chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.chip { font-size:11px; font-weight:600; padding:4px 9px; border-radius:999px; background: var(--canvas-2); color: var(--ink-700); display:inline-flex; gap:5px; align-items:center; }
.chip.on { background: var(--green-50); color: var(--green-700); }

.seg { display:flex; gap:6px; background: var(--canvas-2); padding:4px; border-radius:14px; margin-bottom:14px; }
.seg a { flex:1; text-align:center; font-size:12.5px; font-weight:700; padding:8px; border-radius:10px; color: var(--ink-500); }
.seg a.active { background: var(--surface); color: var(--green-700); box-shadow: var(--sh-1); }

.cert {
  display:flex; align-items:center; gap:12px; background: var(--surface); border:1px solid var(--line);
  border-radius:var(--r); padding:14px; margin-bottom:10px; box-shadow: var(--sh-1);
}
.cert .badge-ico { width:44px; height:44px; border-radius:12px; flex:none; display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:800; font-size:13px; color:#fff; }
.cert .grow { flex:1; min-width:0; }
.cert .grow b { font-size:14.5px; font-family:var(--font-head); }
.cert .grow .n { font-size:12px; color:var(--ink-400); }

/* QR sign screen */
.qr-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding:22px; text-align:center; box-shadow: var(--sh-2); margin-bottom:14px; }
.qr-mark { width: 150px; height:150px; margin: 6px auto 14px; border-radius:18px; background:
  repeating-conic-gradient(var(--ink-900) 0% 25%, #fff 0% 50%) 0 0/22px 22px;
  box-shadow: inset 0 0 0 8px #fff, var(--sh-2); }

/* =====================================================================
   MANAGER (tablet)
   ===================================================================== */
.tablet-stage {
  min-height:100vh; background:
    radial-gradient(900px 500px at 80% 0%, rgba(7,169,79,.08), transparent 55%),
    radial-gradient(700px 420px at 0% 100%, rgba(56,189,248,.06), transparent 50%),
    var(--canvas-2);
  padding: 22px 16px 60px;
}
.tablet {
  max-width: 920px; margin:0 auto; background: var(--surface); border-radius: var(--r-xl);
  box-shadow: var(--sh-4), 0 0 0 1px rgba(13,27,20,.04); overflow:hidden; border:1px solid var(--line);
}
.tablet-top {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:20px 24px 16px; border-bottom:1px solid var(--line);
  background: linear-gradient(180deg, var(--green-50) 0%, var(--surface) 100%);
  overflow: visible;
}
.tablet-top img.proto-shield,
.tablet-top .proto-shield {
  width:40px; height:40px; flex:none; display:block;
  object-fit:contain; object-position:center; overflow:visible;
}
.tablet-back {
  display:inline-flex; align-items:center; gap:6px;
  color:var(--ink-700); font-weight:600; font-size:14px; text-decoration:none;
  padding:7px 11px; margin:-7px -11px; border-radius:11px; transition:background .15s, color .15s;
}
.tablet-back:hover { background:var(--canvas); color:var(--green-700); }
.tablet-back .icon { opacity:.7; }
.tablet-body { padding: 24px; }
.tablet-page-hd {
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
  flex-wrap:wrap; margin-bottom:20px;
}
.tablet-page-hd h1 { font-size:24px; font-weight:800; letter-spacing:-.02em; margin:0; }
.tablet-page-hd .sub { margin:4px 0 0; font-size:14px; color:var(--ink-500); }
.tablet-page-hd .btn-primary { flex-shrink:0; white-space:nowrap; }

.kpi-row { display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-bottom:20px; }
@media (max-width:560px){ .kpi-row { grid-template-columns:1fr; } }
.kpi {
  background: var(--surface); border:1px solid var(--line); border-radius: var(--r);
  padding:16px 18px; box-shadow: var(--sh-1);
}
.kpi .k { font-family:var(--font-head); font-weight:800; font-size:28px; line-height:1; letter-spacing:-.02em; }
.kpi .l { font-size:12.5px; color: var(--ink-500); margin-top:5px; font-weight:500; }
.kpi.alarm { background: var(--danger-bg); border-color:#f0c4c1; }
.kpi.alarm .k { color: var(--danger); }
.kpi.alarm .l { color:#9b2620; opacity:.85; }

.panel-h a { font-size:13px; font-weight:600; color:var(--green-700); text-decoration:none; }
.panel-h a:hover { text-decoration:underline; }
.panel-b.flush { padding:0; }
.tbl-approvals { margin:0; table-layout:fixed; width:100%; }
.tbl-approvals th { padding:12px 16px; font-size:10.5px; letter-spacing:.08em; }
.tbl-approvals td { padding:14px 16px; vertical-align:middle; }
.tbl-approvals .col-worker { width:auto; }
.tbl-approvals .col-hours { width:72px; }
.tbl-approvals .col-days { width:56px; text-align:center; }
.tbl-approvals .col-flag { width:auto; }
.tbl-approvals .col-act { width:84px; padding-left:4px; padding-right:4px; text-align:right; }
.tbl-approvals .col-act:last-child { width:92px; padding-right:16px; }
.tbl-approvals th.col-act { padding-top:12px; padding-bottom:12px; }
.tbl-approvals th.th-actions { text-align:right; padding-right:16px; }
.tbl-approvals tbody tr { transition:background .12s; }
.tbl-approvals tbody tr:not(.row-alert):hover td { background:var(--green-50); }
.tbl-approvals .worker-cell { display:flex; align-items:center; gap:10px; min-width:0; }
.tbl-approvals .worker-cell b { font-size:14px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tbl-approvals .num { font-weight:600; font-variant-numeric:tabular-nums; color:var(--ink-700); }
.tbl-approvals td.num { text-align:left; }
.tbl-approvals td.num-days { text-align:center; }
.tbl-approvals .flag-text { font-size:13px; font-weight:600; color:var(--danger); white-space:nowrap; }
.tbl-approvals tr.row-alert td { background:var(--danger-bg); border-bottom-color:#f5d0ce; }
.tbl-approvals tr.row-alert:hover td { background:#fdeceb; }
.tbl-approvals tr.row-alert td:first-child { box-shadow:inset 3px 0 0 var(--danger); }
.tbl-actions { display:block; }
.btn-compact {
  padding:7px 10px !important; font-size:13px !important; border-radius:10px !important;
  min-height:34px; width:100%; justify-content:center;
}

.person-row { display:flex; align-items:center; gap:12px; padding:12px; border:1px solid var(--line); border-radius:14px; margin-bottom:8px; background: var(--surface); }
.person-row .grow{ flex:1; }

/* =====================================================================
   ADMIN (desktop)
   ===================================================================== */
.admin { display:grid; grid-template-columns: 260px 1fr; min-height:100vh; }
@media (max-width: 860px){ .admin { grid-template-columns:1fr; } .sidebar{ display:none; } }
.sidebar {
  background: linear-gradient(180deg, var(--green-800) 0%, var(--green-900) 100%);
  color:#fff; padding: 22px 16px; position:sticky; top:0; height:100vh;
  display:flex; flex-direction:column;
}
.sidebar .brand {
  display:flex; align-items:center; gap:10px; margin-bottom:24px;
  padding:6px 4px 16px; border-bottom:1px solid rgba(255,255,255,.1);
  min-width:0;
}
.sidebar .brand-mark {
  width:48px; height:48px; flex:none; border-radius:14px;
  background:#fff; padding:9px;
  display:flex; align-items:center; justify-content:center;
  overflow: visible;
  box-shadow:0 4px 14px rgba(0,0,0,.22);
}
.sidebar .brand-mark img {
  width:100%; height:100%; max-width:30px; max-height:30px;
  display:block; object-fit:contain; object-position:center;
}
.sidebar .brand-label {
  min-width:0;
}
.sidebar .brand-label b {
  font-family:var(--font-head); font-weight:800; font-size:17px;
  display:block; line-height:1.2; letter-spacing:-.01em;
  white-space:nowrap;
}
.sidebar nav { display:flex; flex-direction:column; gap:4px; flex:1; }
.sidebar nav a {
  display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:12px;
  color: rgba(255,255,255,.78); font-weight:600; font-size:14px;
  transition: background .15s, color .15s; text-decoration:none;
}
.sidebar nav a .icon { opacity:.85; flex-shrink:0; }
.sidebar nav a:hover { background: rgba(255,255,255,.1); color:#fff; }
.sidebar nav a.active {
  background: rgba(255,255,255,.14); color:#fff;
  box-shadow: inset 3px 0 0 var(--gold-500);
}
.nav-badge {
  margin-left:auto; background:var(--gold-500); color:var(--ink-900);
  font-size:11px; font-weight:800; min-width:22px; height:22px;
  border-radius:999px; display:inline-flex; align-items:center; justify-content:center;
  padding:0 7px; line-height:1;
}
.sidebar .s-foot {
  margin-top:auto; padding-top:16px; font-size:11.5px; line-height:1.5;
  color: rgba(255,255,255,.45); border-top:1px solid rgba(255,255,255,.08);
}

.admin-main { background: var(--canvas); overflow-x:auto; }
.topbar {
  background: var(--surface); border-bottom:1px solid var(--line); padding: 16px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; position:sticky; top:0; z-index:10;
}
.topbar h1 { font-size:22px; font-weight:800; letter-spacing:-.02em; }
.topbar-tools { display:flex; align-items:center; gap:14px; }
.searchbox {
  display:flex; align-items:center; gap:8px; background: var(--canvas);
  border:1.5px solid var(--line); border-radius:12px; padding:9px 14px;
  color: var(--ink-400); font-size:13.5px; min-width:240px;
}
.searchbox:focus-within { border-color:var(--green-300); box-shadow:0 0 0 3px var(--green-50); }
.admin-content { padding: 26px 28px 60px; max-width: 1200px; }

.stat-cards { display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; margin-bottom:24px; align-items:stretch; }
@media (max-width:1000px){ .stat-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:520px){ .stat-cards { grid-template-columns: 1fr; } }
.stat {
  background: var(--surface); border:1px solid var(--line); border-radius: var(--r);
  padding:18px 18px 16px; box-shadow: var(--sh-1);
  display:flex; flex-direction:column; min-height:148px;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.stat:hover { box-shadow:var(--sh-2); border-color:var(--green-100); }
.stat-head { display:flex; align-items:center; gap:12px; }
.stat .ico-box {
  width:40px; height:40px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.stat .ico-box .icon { width:20px; height:20px; stroke-width:2.15; }
.stat-ico--green { background:linear-gradient(145deg,#16c065,#067a39); box-shadow:0 4px 12px rgba(7,169,79,.28); }
.stat-ico--blue  { background:linear-gradient(145deg,#38bdf8,#0284c7); box-shadow:0 4px 12px rgba(2,132,199,.28); }
.stat-ico--amber { background:linear-gradient(145deg,#fbbf24,#d97706); box-shadow:0 4px 12px rgba(217,119,6,.28); }
.stat-ico--violet{ background:linear-gradient(145deg,#8b5cf6,#6d28d9); box-shadow:0 4px 12px rgba(109,40,217,.28); }
.stat .k {
  font-family:var(--font-head); font-weight:800; font-size:32px; line-height:1;
  letter-spacing:-.03em; font-variant-numeric:tabular-nums;
}
.stat .l {
  font-size:13px; color: var(--ink-500); margin-top:10px; line-height:1.35;
  min-height:2.7em; flex:1;
}
.stat-foot { margin-top:auto; padding-top:10px; }
.stat .trend {
  font-size:12px; font-weight:700; display:inline-flex; gap:5px; align-items:center;
  line-height:1; white-space:nowrap;
}
.stat .trend .icon { width:14px; height:14px; stroke-width:2.4; flex-shrink:0; }
.trend.up { color: var(--ok); }
.trend.down { color: var(--danger); }
.trend.queue { color:#7c3aed; }

.tbl-compliance .worker-cell { display:flex; align-items:center; gap:10px; }
.tbl-compliance .worker-cell b { font-size:14px; font-weight:600; }
.tbl-compliance td:last-child { width:100px; }
.tbl-compliance .pill { min-width:72px; justify-content:center; }

.list-metrics .list-item { padding:13px 0; }
.list-metrics .metric {
  min-width:76px; text-align:right; flex-shrink:0;
  font-family:var(--font-head); font-weight:800; font-size:15px;
  font-variant-numeric:tabular-nums; color:var(--ink-900);
}
.list-metrics .metric-green { color:var(--green-700); }
.list-metrics .metric-slot {
  min-width:76px; display:flex; justify-content:flex-end; align-items:center; flex-shrink:0;
}
.list-metrics .metric-slot .pill { min-width:32px; justify-content:center; }

.panel { background: var(--surface); border:1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); overflow:hidden; }
.panel-h { padding: 16px 20px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:10px; }
.panel-h h3 { font-size:16px; font-weight:800; }
.panel-b { padding: 8px 20px 16px; }
.grid-main { display:grid; gap:20px; }
@media (min-width: 900px){ .grid-main.two { grid-template-columns: 1.6fr 1fr; } }

.doc-preview { background: var(--canvas); border:2px dashed var(--line); border-radius:14px; height:160px; display:flex; align-items:center; justify-content:center; color: var(--ink-400); font-size:13px; gap:8px; }

/* =====================================================================
   KIOSK
   ===================================================================== */
.kiosk {
  min-height:100vh; color:#fff; position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  padding: clamp(24px, 4vw, 48px) 24px 32px;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(22,192,101,.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(247,198,35,.08), transparent 50%),
    linear-gradient(180deg, #0a1f14 0%, #061510 45%, #030a07 100%);
}
.kiosk-vignette {
  position:fixed; inset:0; pointer-events:none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.45) 100%);
}
.kiosk-inner {
  position:relative; z-index:1; width:100%; max-width:520px;
  display:flex; flex-direction:column; align-items:center; text-align:center;
}
.kiosk-badge {
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-weight:700; font-size:12px; letter-spacing:.06em;
  text-transform:uppercase; color:#d6f8e4;
  background:rgba(255,255,255,.08); border:1px solid rgba(127,227,168,.25);
  padding:7px 14px; border-radius:999px; backdrop-filter:blur(8px);
  margin-bottom:20px;
}
.kiosk-badge .live-dot {
  background:var(--green-300);
  box-shadow:0 0 8px rgba(127,227,168,.8);
  animation:pulse 2s infinite;
}
.kiosk .k-site {
  font-family:var(--font-head); font-weight:800; font-size:clamp(30px,5.5vw,46px);
  letter-spacing:-.03em; line-height:1.1; margin:0;
}
.kiosk .k-sub {
  color:rgba(255,255,255,.58); margin:10px 0 0; font-size:17px; font-weight:500;
}
.kiosk .k-clock {
  font-family:var(--font-head); font-weight:800;
  font-size:clamp(44px,9vw,76px); margin:18px 0 0;
  letter-spacing:-.03em; font-variant-numeric:tabular-nums;
  color:#fff; text-shadow:0 2px 24px rgba(0,0,0,.35);
}
.k-qr-frame {
  position:relative; margin:26px 0 22px; width:min(340px,78vw);
}
.k-qr-glow {
  position:absolute; inset:-20%; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 65%);
  pointer-events:none;
}
.kiosk .k-qr {
  position:relative; width:100%; aspect-ratio:1;
  background:#fff; border-radius:26px; padding:18px;
  box-shadow:
    0 32px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
}
.k-qr-svg { width:100%; height:100%; display:block; }
.kiosk .k-cta {
  font-size:clamp(17px,3.5vw,21px); font-weight:600; line-height:1.45;
  color:rgba(255,255,255,.88); max-width:22em; margin:0;
}
.kiosk .k-cta strong { color:#fff; font-weight:800; }
.kiosk .k-timer {
  margin-top:18px; color:var(--gold-500); font-weight:800; font-size:17px;
  display:inline-flex; gap:8px; align-items:center;
  background:rgba(247,198,35,.12); border:1px solid rgba(247,198,35,.28);
  padding:9px 16px; border-radius:999px;
  font-variant-numeric:tabular-nums;
}
.kiosk .k-timer .icon { stroke:var(--gold-500); }
.kiosk .k-stats {
  display:flex; align-items:center; gap:20px; margin-top:26px;
  font-size:15px; font-weight:600; color:rgba(255,255,255,.75);
}
.k-stat b { color:#fff; font-family:var(--font-head); font-weight:800; font-size:18px; }
.k-stat-sep {
  width:4px; height:4px; border-radius:50%; background:rgba(255,255,255,.35);
}
.kiosk-foot { margin-top:clamp(28px,5vh,44px); display:flex; flex-direction:column; align-items:center; gap:12px; }
.k-logo-wrap {
  background:rgba(255,255,255,.96); padding:10px 20px; border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}
.kiosk .k-logo { height:36px; width:36px; object-fit:contain; display:block; filter:none; opacity:1; margin:0; }
.kiosk .k-offline {
  display:inline-flex; align-items:center; gap:7px;
  margin:0; font-size:12.5px; color:rgba(255,255,255,.42); font-weight:500;
}
.kiosk .k-offline .icon { opacity:.55; stroke-width:2; }
/* =====================================================================
   LANDING EMBED — strip stage backdrop when shown inside PhonePreview
   Activated by embed.js when ?embed=1 is present.
   ===================================================================== */
html.embed-mode,
html.embed-mode body {
  background: transparent !important;
  margin: 0;
  padding: 0 !important;
  min-height: 0 !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html.embed-mode body.phone-stage,
html.embed-mode body.tablet-stage,
html.embed-mode body.kiosk {
  display: flex !important;
  align-items: stretch;
  justify-content: center;
  min-height: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  background: transparent !important;
}

html.embed-mode body:has(> .admin) {
  display: block;
  min-height: 100% !important;
  height: 100% !important;
  overflow: hidden;
  background: var(--canvas) !important;
}

html.embed-mode .phone {
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: clamp(28px, 6vw, 48px);
  padding: clamp(7px, 1.4vw, 11px);
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

html.embed-mode .phone-screen {
  flex: 1;
  height: auto;
  min-height: 0;
  max-height: none;
  border-radius: clamp(22px, 5vw, 38px);
}

html.embed-mode .tablet {
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: clamp(14px, 2vw, 22px);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
html.embed-mode .tablet-top {
  padding-top: 22px;
}

html.embed-mode .tablet-body {
  flex: 1;
  overflow: auto;
}

html.embed-mode .kiosk {
  width: 100%;
  height: 100%;
  min-height: 100% !important;
  padding: clamp(12px, 3vw, 24px) !important;
}

html.embed-mode .admin {
  min-height: 100%;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

html.embed-mode .admin-main {
  overflow: auto;
  height: 100%;
}

