/* ╔══════════════════════════════════════════════════════════════════════════╗
 * ║  OGACE FRAME · assets/css/ogace-frame.css                                 ║
 * ║  The single design frame for the entire OGACE frontend.                   ║
 * ║  ─────────────────────────────────────────────────────────────────────   ║
 * ║  One file governs every redesign surface. The trick is SEMANTIC SURFACE   ║
 * ║  TOKENS: brand constants (navy/red/gold, type) never change, but          ║
 * ║  --surface / --ink / --line / --accent flip on ONE switch:                ║
 * ║                                                                           ║
 * ║      <div class="ogace" data-surface="light"> … Tourism marketplace       ║
 * ║      <div class="ogace" data-surface="dark">  … AdGraph console           ║
 * ║                                                                           ║
 * ║  Every component reads the semantic tokens, so the same markup renders     ║
 * ║  correctly in both worlds. Default (no attribute) = light.                 ║
 * ║                                                                           ║
 * ║  LAYERS                                                                    ║
 * ║   0 tokens · 1 base + surfaces · 2 primitives (console/btn/badge/chip)     ║
 * ║   3 layout (wrap/section/grid) · 4 components (hero/pillar/card/frame/     ║
 * ║     feed/reach/console-panel) · 5 utilities + responsive                   ║
 * ╚══════════════════════════════════════════════════════════════════════════╝ */

/* ═══ LAYER 0 · TOKENS ═══════════════════════════════════════════════════════ */
.ogace{
  /* — brand constants (Cambodian flag) — */
  --navy:#0A2463; --navy-700:#081f54; --navy-900:#061436; --navy-lit:#3b6fe0; --navy-050:#eef0f4;
  --red:#C1121F;  --red-700:#a40f1a;  --red-lit:#ff4756;  --red-050:#f9e7e9;
  --gold:#c9a227; --gold-lit:#e0b23a;
  /* graph-layer accents */
  --g0:#1f8f8a; --g1:#3b6fe0; --g2:#8a6df0; --g3:#c1121f; --g4:#c9a227;
  /* type */
  --font-disp:'Fraunces',Georgia,serif;
  --font-ui:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-mono:'DM Mono',ui-monospace,monospace;
  --font-km:'Noto Sans Khmer','Khmer OS',sans-serif;
  /* scale */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:22px; --sp-6:32px; --sp-7:48px; --sp-8:72px;
  --r-s:8px; --r-m:14px; --r-l:22px; --r-xl:28px; --r-pill:999px;
  --dur:.2s;

  /* — SEMANTIC SURFACE (default = LIGHT / Tourism marketplace) — */
  --surface:#ffffff; --surface-2:#f7f8fb; --surface-3:#eef1f6;
  --panel:#ffffff; --panel-2:#f7f8fb;
  --ink:#12151c; --slate:#4a5162; --muted:#8a90a0; --dim:#a7adba;
  --line:#e6e8ee; --line-2:#d7dbe4;
  --accent:var(--red); --accent-700:var(--red-700); --accent-ink:#ffffff;
  --con-ink:var(--navy-lit); --con-mut:#6b7488;
  --shadow-s:0 1px 2px rgba(10,36,99,.06);
  --shadow-m:0 6px 22px rgba(10,36,99,.10);
  --shadow-l:0 18px 48px rgba(10,36,99,.16);
  --hero-grad:radial-gradient(120% 90% at 78% 8%,rgba(193,18,31,.42),transparent 55%),linear-gradient(160deg,#0d2a72 0%,var(--navy) 42%,var(--navy-900) 100%);
  --hero-ink:#ffffff;

  font-family:var(--font-ui);
  color:var(--ink);
  background:var(--surface);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

/* — DARK surface (AdGraph console / network) — */
.ogace[data-surface="dark"]{
  --surface:#060e1c; --surface-2:#0a1628; --surface-3:#0e1c33;
  --panel:#0e1c33; --panel-2:#12233f;
  --ink:#e7edf9; --slate:#8ba0c4; --muted:#8ba0c4; --dim:#5f739a;
  --line:rgba(255,255,255,.09); --line-2:rgba(255,255,255,.15);
  --accent:var(--red-lit); --accent-700:var(--red); --accent-ink:#ffffff;
  --con-ink:#ff9ba3; --con-mut:#5f739a;
  --gold:var(--gold-lit); --g0:#25c2b0; --g3:#ff4756;
  --shadow-s:0 1px 2px rgba(0,0,0,.4);
  --shadow-m:0 8px 24px rgba(0,0,0,.4);
  --shadow-l:0 18px 44px rgba(0,0,0,.55);
  --hero-ink:#ffffff;
  background-image:radial-gradient(60% 40% at 85% -5%,rgba(59,111,224,.14),transparent 60%),radial-gradient(50% 40% at 5% 5%,rgba(193,18,31,.12),transparent 55%);
}

/* ═══ LAYER 1 · BASE ═════════════════════════════════════════════════════════ */
.ogace *{box-sizing:border-box}
.ogace img{display:block;max-width:100%}
.ogace a{color:inherit;text-decoration:none}
.ogace ::selection{background:var(--accent);color:var(--accent-ink)}

/* ═══ LAYER 2 · PRIMITIVES ═══════════════════════════════════════════════════ */

/* Console eyebrow — the OGACE signature, encodes a graph layer */
.ogace .og-console{font-family:var(--font-mono);font-size:12px;color:var(--con-mut);display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}
.ogace .og-console .u{color:var(--muted)}
.ogace .og-console .l{color:var(--con-ink);font-weight:500}
.ogace .og-console .h{color:var(--dim)}
.ogace .og-console .s{font-size:10px;padding:2px 8px;border-radius:var(--r-pill);background:var(--surface-3);border:1px solid var(--line);color:var(--muted);letter-spacing:.06em}
.ogace[data-surface="dark"] .og-console .s{background:rgba(255,255,255,.06)}

/* Buttons */
.ogace .og-btn{font-family:var(--font-ui);font-weight:600;font-size:14px;line-height:1.2;border-radius:var(--r-pill);padding:10px 18px;border:1px solid transparent;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:transform var(--dur),box-shadow var(--dur),background var(--dur),filter var(--dur)}
.ogace .og-btn:focus-visible{outline:3px solid var(--navy-lit);outline-offset:2px}
.ogace .og-btn--primary{background:var(--accent);color:var(--accent-ink)}
.ogace .og-btn--primary:hover{background:var(--accent-700);transform:translateY(-1px);box-shadow:var(--shadow-m)}
.ogace .og-btn--navy{background:var(--navy);color:#fff}
.ogace[data-surface="dark"] .og-btn--navy{background:var(--navy-lit)}
.ogace .og-btn--navy:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:var(--shadow-m)}
.ogace .og-btn--ghost{background:transparent;border-color:var(--line-2);color:var(--ink)}
.ogace .og-btn--ghost:hover{background:var(--surface-2)}
.ogace .og-btn--wa{background:#25d366;color:#04310f}
.ogace .og-btn--tg{background:#229ed9;color:#fff}
.ogace .og-btn--wa:hover,.ogace .og-btn--tg:hover{filter:brightness(1.05);transform:translateY(-1px)}
.ogace .og-btn svg{width:18px;height:18px}

/* Badges + chips + tags */
.ogace .og-badge{font-family:var(--font-mono);font-size:10.5px;font-weight:500;letter-spacing:.04em;padding:4px 10px;border-radius:var(--r-pill);background:var(--accent);color:#fff}
.ogace .og-badge--gold{background:var(--gold);color:#3a2e00}
.ogace .og-badge--spon{background:rgba(0,0,0,.35);color:#fff;border:1px solid rgba(255,255,255,.25)}
.ogace .og-chip{font-family:var(--font-ui);font-size:12px;padding:7px 12px;border-radius:var(--r-pill);border:1px solid var(--line-2);background:var(--surface-2);color:var(--muted);cursor:pointer;transition:var(--dur)}
.ogace .og-chip.is-on{background:rgba(59,111,224,.14);border-color:var(--navy-lit);color:var(--ink)}
.ogace .og-tag{font-family:var(--font-mono);font-size:10.5px;letter-spacing:.06em;color:#fff;background:rgba(0,0,0,.22);padding:4px 9px;border-radius:var(--r-pill);border:1px solid rgba(255,255,255,.25)}
.ogace .og-km{font-family:var(--font-km)}

/* ═══ LAYER 3 · LAYOUT ═══════════════════════════════════════════════════════ */
.ogace .og-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.ogace .og-wrap--wide{max-width:1240px}
.ogace .og-section{padding:var(--sp-8) 0}
.ogace .og-section--alt{background:var(--surface-2)}
.ogace .og-sechead{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:var(--sp-6);flex-wrap:wrap}
.ogace .og-sechead .og-console{margin-bottom:8px}
.ogace .og-sechead h2{font-family:var(--font-disp);font-weight:600;font-size:clamp(24px,3.3vw,38px);letter-spacing:-.02em;line-height:1.08}
.ogace .og-sechead p{color:var(--slate);font-size:15px;max-width:56ch;margin-top:8px}
.ogace .og-seclink{font-family:var(--font-mono);font-size:13px;color:var(--navy-lit);font-weight:500;white-space:nowrap}
.ogace .og-seclink:hover{color:var(--accent-700)}
.ogace .og-grid{display:grid;gap:20px}
.ogace .og-grid--3{grid-template-columns:repeat(3,1fr)}
.ogace .og-grid--4{grid-template-columns:repeat(4,1fr)}
.ogace .og-grid--5{grid-template-columns:repeat(5,1fr)}

/* ═══ LAYER 4 · COMPONENTS ═══════════════════════════════════════════════════ */

/* — Hero (shared shell; content differs per surface) — */
.ogace .og-hero{position:relative;overflow:hidden;color:var(--hero-ink);background:var(--hero-grad)}
.ogace[data-surface="dark"] .og-hero{background:none}
.ogace .og-hero .og-wrap{position:relative;z-index:2;padding:var(--sp-6) 24px var(--sp-7)}
.ogace .og-hero-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:var(--sp-6)}
.ogace .og-hero h1{font-family:var(--font-disp);font-weight:600;font-size:clamp(34px,5.6vw,64px);line-height:1.02;letter-spacing:-.02em;max-width:16ch;margin:12px 0 8px}
.ogace .og-hero h1 em{font-style:italic;color:#ffd7db}
.ogace[data-surface="dark"] .og-hero h1 em{color:var(--red-lit)}
.ogace .og-hero p{font-size:clamp(15px,1.9vw,19px);max-width:58ch;margin-bottom:6px;color:rgba(255,255,255,.82)}
.ogace[data-surface="dark"] .og-hero p{color:var(--muted)}
.ogace .og-hero-km{font-family:var(--font-km);font-size:15px;color:rgba(255,255,255,.55);margin-bottom:var(--sp-5)}
.ogace .og-hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin:var(--sp-4) 0 var(--sp-6)}
.ogace .og-hero .og-console .l{color:#ff9ba3}
.ogace .og-hero .og-console{color:rgba(255,255,255,.72)}
.ogace .og-hero .og-console .u{color:rgba(255,255,255,.72)}
.ogace .og-hero .og-console .s{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.16);color:rgba(255,255,255,.8)}

/* — Stat ticker — */
.ogace .og-stat{background:var(--panel);border:1px solid var(--line);border-radius:var(--r-m);padding:16px 18px}
.ogace[data-surface="dark"] .og-stat{background:linear-gradient(180deg,var(--panel),var(--surface-2))}
.ogace .og-stat b{font-family:var(--font-disp);font-size:28px;font-weight:600;display:block;line-height:1}
.ogace .og-stat span{font-size:12px;color:var(--dim);font-family:var(--font-mono)}
.ogace .og-stat .up{color:var(--g0)}

/* — Pillars (Tourism OS three services) — */
.ogace .og-pillar{position:relative;border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden;background:var(--panel);transition:transform var(--dur),box-shadow var(--dur);display:flex;flex-direction:column}
.ogace .og-pillar:hover{transform:translateY(-4px);box-shadow:var(--shadow-l)}
.ogace .og-pillar-top{height:132px;position:relative;overflow:hidden}
.ogace .og-pillar-top .glyph{position:absolute;right:-8px;bottom:-14px;font-size:120px;line-height:1;opacity:.16;color:#fff}
.ogace .og-pillar-top .og-tag{position:absolute;left:16px;top:14px}
.ogace .og-pillar--a .og-pillar-top{background:linear-gradient(135deg,#0d2a72,var(--navy))}
.ogace .og-pillar--b .og-pillar-top{background:linear-gradient(135deg,#5647c9,#3a2e9e)}
.ogace .og-pillar--c .og-pillar-top{background:linear-gradient(135deg,#b0182a,#8a0f1e)}
.ogace .og-pillar-body{padding:20px 20px 22px;flex:1;display:flex;flex-direction:column}
.ogace .og-pillar-body h3{font-family:var(--font-disp);font-size:21px;font-weight:600;letter-spacing:-.01em;margin-bottom:3px}
.ogace .og-pillar-body .og-km{font-size:12.5px;color:var(--muted);margin-bottom:10px}
.ogace .og-pillar-body p{font-size:14px;color:var(--slate);flex:1;margin-bottom:16px}
.ogace .og-pillar-body ul{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:7px}
.ogace .og-pillar-body li{font-size:13px;color:var(--ink);display:flex;gap:9px;align-items:center}
.ogace .og-pillar-body li::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--accent);flex:none}
.ogace .og-pillar-cta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ogace .og-pillar-price{font-family:var(--font-mono);font-size:12px;color:var(--slate)}
.ogace .og-pillar-price b{color:var(--navy);font-size:15px;font-family:var(--font-ui)}
.ogace[data-surface="dark"] .og-pillar-price b{color:var(--ink)}

/* — Category rail — */
.ogace .og-cats{display:flex;gap:10px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}
.ogace .og-cats::-webkit-scrollbar{display:none}
.ogace .og-cat{flex:none;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 18px;border:1px solid var(--line);border-radius:var(--r-m);background:var(--panel);cursor:pointer;transition:border-color var(--dur),transform var(--dur);min-width:96px}
.ogace .og-cat:hover{border-color:var(--navy);transform:translateY(-2px)}
.ogace .og-cat.is-on{border-color:var(--accent);box-shadow:inset 0 -3px 0 var(--accent)}
.ogace .og-cat .i{font-size:24px;line-height:1}
.ogace .og-cat .n{font-size:12.5px;font-weight:600;color:var(--ink)}

/* — Product / tour cards (GYG-style) — */
.ogace .og-tcard{border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden;background:var(--panel);transition:transform var(--dur),box-shadow var(--dur);display:flex;flex-direction:column}
.ogace .og-tcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-l)}
.ogace .og-tcard-img{height:186px;position:relative;overflow:hidden;background:linear-gradient(160deg,#0d2a72,#061436)}
.ogace .og-tcard-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.ogace .og-tcard:hover .og-tcard-img img{transform:scale(1.06)}
.ogace .og-tcard-badge{position:absolute;left:12px;top:12px;z-index:2}
.ogace .og-tcard-heart{position:absolute;right:12px;top:12px;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;z-index:2;cursor:pointer;color:var(--slate);border:none;transition:var(--dur)}
.ogace .og-tcard-heart:hover{color:var(--accent);transform:scale(1.1)}
.ogace .og-tcard-body{padding:15px 16px 17px;display:flex;flex-direction:column;flex:1}
.ogace .og-tcard-eyebrow{font-family:var(--font-mono);font-size:10.5px;color:var(--con-ink);letter-spacing:.04em;margin-bottom:6px}
.ogace .og-tcard-body h3{font-size:16px;font-weight:600;line-height:1.28;margin-bottom:8px;color:var(--ink)}
.ogace .og-tcard-meta{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--slate);margin-bottom:6px}
.ogace .og-stars{color:var(--gold);letter-spacing:1px;font-size:13px}
.ogace .og-tcard-meta b{color:var(--ink)}
.ogace .og-tcard-meta .rev{color:var(--muted)}
.ogace .og-tcard-foot{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.ogace .og-tcard-price{font-size:12px;color:var(--muted)}
.ogace .og-tcard-price b{display:block;font-size:20px;color:var(--navy);font-weight:700;line-height:1.1}
.ogace[data-surface="dark"] .og-tcard-price b{color:var(--ink)}
.ogace .og-tcard-book{display:flex;gap:7px}
.ogace .og-mini{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform var(--dur)}
.ogace .og-mini:hover{transform:translateY(-2px)}
.ogace .og-mini--wa{background:#25d366}.ogace .og-mini--tg{background:#229ed9}
.ogace .og-mini svg{width:18px;height:18px}

/* — B2B band — */
.ogace .og-b2b{background:linear-gradient(150deg,var(--navy-900),var(--navy) 60%,#0d2a72);color:#fff;border-radius:var(--r-xl);overflow:hidden;position:relative}
.ogace .og-b2b::before{content:"";position:absolute;right:-60px;top:-60px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(193,18,31,.5),transparent 70%)}
.ogace .og-b2b-inner{position:relative;z-index:2;display:grid;grid-template-columns:1.1fr .9fr;gap:40px;padding:52px 48px}

/* — Ad frames (AdGraph) — */
.ogace .og-ad{border-radius:12px;overflow:hidden;position:relative;color:#fff;box-shadow:var(--shadow-m)}
.ogace .og-ad .og-badge{position:absolute;top:8px;left:8px;z-index:3}
.ogace .og-ad .og-ad-cta{font-weight:700;font-size:12px;background:#fff;color:var(--navy);padding:7px 13px;border-radius:var(--r-pill)}
.ogace .og-ad--lead{max-width:560px;aspect-ratio:728/120;background:linear-gradient(115deg,#0d2a72,var(--navy) 55%,#5a0f18);display:flex;align-items:center;padding:0 20px;gap:16px}
.ogace .og-ad--lead .big{font-family:var(--font-disp);font-weight:600;font-size:clamp(15px,2.4vw,22px);line-height:1.05}
.ogace .og-ad--lead .big em{color:#ffd7db;font-style:italic}
.ogace .og-ad--lead .sub{font-size:11px;color:rgba(255,255,255,.7)}
.ogace .og-ad--lead .og-ad-cta{margin-left:auto;background:var(--red-lit);color:#fff}
.ogace .og-ad--term{max-width:560px;background:#04101f;border:1px solid rgba(59,111,224,.4);font-family:var(--font-mono);padding:14px 16px;color:#cfe0ff;box-shadow:0 0 0 1px rgba(59,111,224,.15),var(--shadow-l)}
.ogace .og-ad--term .row{display:flex;gap:8px;margin-bottom:6px;font-size:12px}
.ogace .og-ad--term .u{color:var(--red-lit)}.ogace .og-ad--term .c{color:var(--dim)}
.ogace .og-ad--term .out{font-size:13px;color:#fff;font-family:var(--font-ui);font-weight:600;margin:6px 0}
.ogace .og-ad--term .caret{display:inline-block;width:8px;height:15px;background:var(--g0);vertical-align:-2px;margin-left:2px;animation:og-blink 1.1s steps(1) infinite}
.ogace .og-ad--term .og-ad-cta{display:inline-block;margin-top:6px;background:var(--g0);color:#03211d}
@keyframes og-blink{50%{opacity:0}}

/* — Feed (network feed / social) — */
.ogace .og-feed{columns:3;column-gap:18px}
.ogace .og-fcard{break-inside:avoid;margin-bottom:18px;border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden;background:var(--panel)}
.ogace .og-fcard.is-ad{outline:1px solid rgba(224,178,58,.4);outline-offset:-1px}
.ogace .og-fcard-spon{font-family:var(--font-mono);font-size:9.5px;letter-spacing:.09em;color:var(--gold);background:rgba(224,178,58,.1);border-bottom:1px solid rgba(224,178,58,.22);padding:5px 12px;display:flex;justify-content:space-between}
.ogace .og-fcard-media{height:150px;position:relative;display:flex;align-items:flex-end;padding:12px}
.ogace .og-fcard-media .lay{position:absolute;top:10px;right:10px;font-family:var(--font-mono);font-size:9.5px;color:#fff;background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.22);padding:2px 8px;border-radius:var(--r-pill)}
.ogace .og-fcard-body{padding:13px 14px 15px}
.ogace .og-fcard-body h3{font-size:15px;font-weight:600;line-height:1.28;margin-bottom:5px}
.ogace .og-fcard-by{font-family:var(--font-mono);font-size:11px;color:var(--dim);display:flex;align-items:center;gap:6px;margin-bottom:9px}
.ogace .og-fcard-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}
.ogace .og-fcard-meta .price{color:var(--ink);font-weight:700}
.ogace .og-av{width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,var(--navy-lit),var(--red-lit));flex:none}

/* — Reach nodes (graph layers) — */
.ogace .og-node{background:var(--panel);border:1px solid var(--line);border-radius:var(--r-m);padding:18px 16px;position:relative;overflow:hidden}
.ogace .og-node::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px}
.ogace .og-node.l0::before{background:var(--g0)}.ogace .og-node.l1::before{background:var(--g1)}.ogace .og-node.l2::before{background:var(--g2)}.ogace .og-node.l3::before{background:var(--g3)}.ogace .og-node.l4::before{background:var(--g4)}
.ogace .og-node .gl{font-family:var(--font-mono);font-size:11px;color:var(--dim)}
.ogace .og-node h4{font-size:15px;font-weight:700;margin:6px 0 4px}
.ogace .og-node p{font-size:12px;color:var(--muted);margin-bottom:10px}
.ogace .og-node .fmts{font-family:var(--font-mono);font-size:10.5px;color:var(--dim)}
.ogace .og-node .imp{font-family:var(--font-mono);font-size:12px;margin-top:10px;color:var(--ink)}
.ogace .og-node .imp b{color:var(--g0)}

/* — Console panel (advertiser / terminal UI) — */
.ogace .og-panel{background:var(--panel-2);border:1px solid var(--line-2);border-radius:var(--r-l);overflow:hidden}
.ogace .og-panel-head{background:var(--surface);border-bottom:1px solid var(--line);padding:12px 18px;font-family:var(--font-mono);font-size:12px;color:var(--muted);display:flex;align-items:center;gap:10px}
.ogace[data-surface="dark"] .og-panel-head{background:#04101f}
.ogace .og-panel-head .dots{display:flex;gap:6px}
.ogace .og-panel-head .dots i{width:10px;height:10px;border-radius:50%;display:block}
.ogace .og-panel-head .dots i:nth-child(1){background:#ff5f57}.ogace .og-panel-head .dots i:nth-child(2){background:#febc2e}.ogace .og-panel-head .dots i:nth-child(3){background:#28c840}
.ogace .og-field{width:100%;background:var(--surface);border:1px solid var(--line-2);border-radius:10px;padding:11px 13px;color:var(--ink);font-family:var(--font-ui);font-size:14px}
.ogace[data-surface="dark"] .og-field{background:#04101f}
.ogace .og-field:focus{outline:none;border-color:var(--navy-lit)}
.ogace .og-seg{display:flex;gap:6px;background:var(--surface);border:1px solid var(--line-2);border-radius:10px;padding:4px}
.ogace[data-surface="dark"] .og-seg{background:#04101f}
.ogace .og-seg button{flex:1;font-family:var(--font-mono);font-size:11.5px;color:var(--muted);background:transparent;border:none;border-radius:7px;padding:8px;cursor:pointer}
.ogace .og-seg button.is-on{background:var(--navy-lit);color:#fff}

/* ═══ LAYER 5 · UTILITIES + RESPONSIVE ═══════════════════════════════════════ */
.ogace .u-mono{font-family:var(--font-mono)}
.ogace .u-mut{color:var(--muted)}
.ogace .u-center{text-align:center}
.ogace .u-mt-auto{margin-top:auto}
.ogace .u-flex{display:flex;gap:12px;flex-wrap:wrap}

@media(max-width:1000px){
  .ogace .og-grid--3,.ogace .og-grid--5{grid-template-columns:repeat(2,1fr)}
  .ogace .og-feed{columns:2}
  .ogace .og-b2b-inner{grid-template-columns:1fr;gap:28px;padding:38px 28px}
}
@media(max-width:620px){
  .ogace .og-grid--3,.ogace .og-grid--4,.ogace .og-grid--5{grid-template-columns:1fr}
  .ogace .og-feed{columns:1}
  .ogace .og-sechead{flex-direction:column;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){.ogace *{animation:none!important;transition:none!important}}
