/* ════════════════════════════════════════════════════════════════════════
   ICC OFFPrice — design system  ·  "Stone" (warm greige + evergreen)
   Modern, clean B2B. Replaces the original navy/gold sheet.
   Type: Archivo (display) + Hanken Grotesk (text).
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --maxw: 1200px;

  --font-display: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-text: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* Stone palette */
  --page:        #ECE8DF;
  --band:        #F4F1E9;
  --card:        #FBF9F3;
  --ink:         #21261F;
  --ink-soft:    #3C4236;
  --muted:       #6B6E61;
  --line:        #DDD6C6;
  --line-soft:   #E6E0D3;
  --accent:      #2C5A43;
  --accent-2:    #3E7C5C;
  --accent-ink:  #F7F4EB;
  --accent-tint: rgba(44,90,67,.10);
  --dark:        #1F2D1C;
  --dark-2:      #2A3D27;
  --on-dark:     #F2EFE4;
  --on-dark-dim: rgba(242,239,228,.66);
  --on-dark-line:rgba(242,239,228,.13);

  --danger:      #B23A33;
  --ok:          #2C5A43;

  --radius:      8px;
  --radius-sm:   5px;
  --shadow-sm:   0 1px 3px rgba(31,45,28,.06);
  --shadow-md:   0 12px 30px rgba(31,45,28,.10);
  --shadow-lg:   0 24px 60px rgba(31,45,28,.16);
  --t:           .2s ease;
  --nav-h:       78px;
}

/* ─── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }

/* ─── Typography ─────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: var(--accent); display: block; }
.eyebrow.solo { gap: 0; }
.eyebrow.solo::before { display: none; }
.eyebrow.on-dark { color: var(--accent-2); }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-text); font-size: 15px; font-weight: 600; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-sm); cursor: pointer;
  border: 1.5px solid transparent; transition: transform var(--t), background var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
}
.btn .ico { width: 16px; height: 16px; flex: 0 0 auto; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--page); }
.btn-dark:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border-color: var(--on-dark-line); }
.btn-ghost-dark:hover { border-color: var(--on-dark); background: rgba(255,255,255,.05); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* ─── Brand mark ─────────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.brand .wordmark b { color: var(--accent); font-weight: 800; }

/* ─── Navbar ─────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--muted); padding: 9px 16px; border-radius: var(--radius-sm); transition: color var(--t), background var(--t); white-space: nowrap; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-cta { margin-left: 10px; background: var(--accent); color: var(--accent-ink) !important; padding: 11px 22px; font-weight: 600; }
.nav-cta:hover { background: var(--accent-2); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; display: block; transition: var(--t); }

/* ─── Page loader ────────────────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo { color: var(--on-dark); font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.loader-logo span { color: var(--accent-2); }
.loader-bar { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--accent-2); animation: loaderBar .7s ease forwards; }
@keyframes loaderBar { from { width: 0; } to { width: 100%; } }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero { padding: clamp(56px, 8vw, 88px) 0 clamp(64px, 9vw, 96px); background: var(--page); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero-headline { font-size: clamp(38px, 6vw, 62px); font-weight: 800; margin-top: 22px; }
.hero-headline .hl { color: var(--accent); }
.hero-subheadline { font-size: clamp(16px, 2vw, 18px); line-height: 1.65; color: var(--ink-soft); max-width: 32em; margin-top: 22px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* Hero network card (graphic, no photography) */
.netcard { background: var(--dark); border-radius: var(--radius); padding: 34px; color: var(--on-dark); position: relative; overflow: hidden; }
.netcard::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(var(--on-dark-line) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.netcard-inner { position: relative; z-index: 1; }
.nc-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-dim); }
.nc-source { display: flex; align-items: center; gap: 13px; margin: 18px 0 0; }
.nc-source .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 5px var(--accent-tint); flex: 0 0 auto; }
.nc-source .t { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.nc-source .s { color: var(--on-dark-dim); font-size: 13px; }
.nc-rail { height: 1px; background: var(--on-dark-line); margin: 22px 0; }
.nc-markets { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--on-dark-line); border-radius: var(--radius-sm); overflow: hidden; }
.nc-m { background: var(--dark-2); padding: 16px 18px; }
.nc-m .mk { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--on-dark); }
.nc-m .ms { font-size: 12px; color: var(--on-dark-dim); margin-top: 3px; }

/* ─── Sections ───────────────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 96px) 0; }
.section.band { background: var(--band); }
.sec-head { max-width: 640px; }
.sec-head h2 { margin-top: 16px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { gap: 0; justify-content: center; }
.sec-head.center .eyebrow::before { display: none; }

/* What we do */
.do-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.do-body { margin-top: 22px; display: flex; flex-direction: column; gap: 15px; }
.do-body p { font-size: 16.5px; line-height: 1.7; }
.do-grid .actions { margin-top: 30px; }

/* Stat card */
.statcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { display: flex; align-items: center; gap: 20px; padding: 26px 30px; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: none; }
.stat .si { width: 50px; height: 50px; flex: 0 0 auto; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent); }
.stat .si svg { width: 24px; height: 24px; }
.stat .snum { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.stat .slabel { font-size: 14px; color: var(--muted); margin-top: 5px; }

/* ─── Pillars ────────────────────────────────────────────────────────── */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.pillar .pico { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent); margin-bottom: 20px; }
.pillar .pico svg { width: 26px; height: 26px; }
.pillar .pnum { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.pillar h3 { margin-top: 6px; margin-bottom: 11px; }
.pillar p { font-size: 15.5px; line-height: 1.62; }

/* ─── CTA band ───────────────────────────────────────────────────────── */
.footer-cta-section { background: var(--dark); padding: clamp(64px, 8vw, 88px) 0; position: relative; overflow: hidden; }
.footer-cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(var(--on-dark-line) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .45;
}
.footer-cta-section .wrap { position: relative; z-index: 1; text-align: center; }
.footer-cta-section .eyebrow { color: var(--accent-2); justify-content: center; gap: 0; }
.footer-cta-section .eyebrow::before { display: none; }
.footer-cta-heading { color: var(--on-dark); font-size: clamp(30px, 4.5vw, 42px); max-width: 16em; margin: 16px auto 0; }
.footer-cta-text { color: var(--on-dark-dim); font-size: clamp(16px, 2vw, 18px); max-width: 34em; margin: 18px auto 0; }
.footer-cta-section .actions { display: flex; justify-content: center; margin-top: 32px; }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.footer { background: var(--page); border-top: 1px solid var(--line); padding: 52px 0 40px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; }
.footer .wordmark { font-size: 17px; }
.footer-tagline { font-size: 14px; color: var(--muted); margin-top: 12px; max-width: 26em; }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color var(--t); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 13px; color: var(--muted); }
.footer-legal a:hover { color: var(--accent); }

/* ─── Inner page header ──────────────────────────────────────────────── */
.page-header { background: var(--dark); padding: clamp(72px, 10vw, 104px) 0 clamp(56px, 8vw, 80px); position: relative; overflow: hidden; }
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(var(--on-dark-line) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .45;
}
.page-header .wrap { position: relative; z-index: 1; }
.page-header .eyebrow { color: var(--accent-2); }
.page-title { color: var(--on-dark); font-size: clamp(34px, 5.5vw, 56px); font-weight: 800; margin-top: 16px; }
.page-intro { color: var(--on-dark-dim); font-size: clamp(16px, 2vw, 18px); max-width: 42em; margin-top: 18px; line-height: 1.6; }

/* ─── About ──────────────────────────────────────────────────────────── */
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.about-section.reverse .about-visual { order: -1; }
.about-label { display: inline-block; }
.about-heading { margin: 16px 0 0; }
.about-body { margin-top: 20px; display: flex; flex-direction: column; gap: 15px; }
.about-body p { font-size: 16.5px; line-height: 1.72; }

/* About visual: region list */
.about-visual { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 30px; }
.region-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.region-item:last-child { border-bottom: none; }
.region-ico { width: 44px; height: 44px; flex: 0 0 auto; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent); }
.region-ico svg { width: 22px; height: 22px; }
.region-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.region-desc { font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.55; }

/* Difference (dark band) */
.difference-section { background: var(--dark); padding: clamp(64px, 9vw, 96px) 0; position: relative; overflow: hidden; }
.difference-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(var(--on-dark-line) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .4;
}
.difference-section .wrap { position: relative; z-index: 1; }
.difference-section .eyebrow { color: var(--accent-2); justify-content: center; gap: 0; }
.difference-section .eyebrow::before { display: none; }
.difference-section .sec-head h2 { color: var(--on-dark); }
.difference-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 48px; }
.difference-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(255,255,255,.04); border: 1px solid var(--on-dark-line); border-radius: var(--radius);
  padding: 22px 24px; transition: background var(--t), border-color var(--t);
}
.difference-item:hover { background: rgba(255,255,255,.07); border-color: var(--accent-2); }
.diff-check { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); color: var(--on-dark); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.diff-check svg { width: 15px; height: 15px; }
.difference-item p { color: var(--on-dark); font-size: 15.5px; line-height: 1.55; }

/* ─── Contact ────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 5vw, 64px); align-items: start; }
.contact-details h3 { margin-bottom: 26px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-ico { width: 46px; height: 46px; flex: 0 0 auto; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent); }
.contact-ico svg { width: 22px; height: 22px; }
.contact-item-label { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; }
.contact-item-value { font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.contact-item-value a { color: var(--ink); font-weight: 500; }
.contact-item-value a:hover { color: var(--accent); }
.contact-note { margin-top: 30px; padding: 22px; background: var(--band); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-note p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.contact-note strong { color: var(--ink); font-weight: 600; }

/* Form */
.contact-form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-label .required { color: var(--accent); margin-left: 2px; }
.form-label .opt { color: var(--muted); font-weight: 400; }
.form-input, .form-textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--page); transition: border-color var(--t), box-shadow var(--t); outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: #A7A99C; }
.form-input:focus, .form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.form-textarea { resize: vertical; min-height: 130px; }

.captcha-box { background: var(--band); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.captcha-question { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; flex: 1; min-width: 120px; }
.captcha-input { width: 84px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 1rem; font-weight: 700; color: var(--ink); text-align: center; background: var(--page); outline: none; transition: border-color var(--t), box-shadow var(--t); }
.captcha-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }

.form-error { color: var(--danger); font-size: 14px; font-weight: 500; padding: 13px 16px; background: rgba(178,58,51,.06); border: 1px solid rgba(178,58,51,.2); border-radius: var(--radius-sm); display: none; margin-bottom: 18px; }
.form-error.visible { display: block; }
.form-success { color: var(--ok); font-size: 15px; font-weight: 500; padding: 22px 24px; background: var(--accent-tint); border: 1px solid rgba(44,90,67,.25); border-radius: var(--radius-sm); text-align: center; display: none; }
.form-success.visible { display: block; }
.form-submit-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.submit-note { font-size: 13px; color: var(--muted); }

/* ─── Responsive (marketing) ─────────────────────────────────────────── */
@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column;
    background: var(--page); border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px; gap: 4px; align-items: stretch;
    transform: translateY(calc(-100% - var(--nav-h) - 24px)); transition: transform var(--t); box-shadow: var(--shadow-md);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { padding: 12px 16px; }
  .nav-cta { margin-left: 0; text-align: center; }
  .hero-grid, .do-grid, .about-section, .contact-grid { grid-template-columns: 1fr; }
  .hero .netcard { order: 2; }
  .about-section.reverse .about-visual { order: 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .difference-list { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 24px; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .nc-markets { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ════════════════════════════════════════════════════════════════════════
   ADMIN PANEL
   ════════════════════════════════════════════════════════════════════════ */
.admin-body { background: #E7E3D9; min-height: 100vh; color: var(--ink); }

.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--dark); padding: 24px; position: relative; overflow: hidden; }
.admin-login-wrap::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--on-dark-line) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; }
.admin-login-card { position: relative; z-index: 1; background: var(--card); border-radius: var(--radius); padding: 44px 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); text-align: center; }
.admin-login-brand { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 6px; }
.admin-login-brand .mark { width: 34px; height: 34px; }
.admin-login-brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.admin-login-brand .wordmark b { color: var(--accent); }
.admin-login-sub { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.admin-login-card h2 { font-size: 1.4rem; margin-bottom: 22px; }

.admin-header { background: var(--dark); height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 3vw, 32px); position: sticky; top: 0; z-index: 100; }
.admin-header-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--on-dark); letter-spacing: -.01em; }
.admin-header-logo .mark { width: 28px; height: 28px; }
.admin-header-logo b { color: var(--accent-2); }
.admin-header-logo .sep { color: var(--on-dark-dim); font-weight: 400; }
.admin-header-actions { display: flex; gap: 12px; align-items: center; }
.admin-header-actions a, .admin-header-actions button {
  color: var(--on-dark-dim); font-family: inherit; font-size: 14px; padding: 7px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--on-dark-line); background: transparent; cursor: pointer; transition: all var(--t); white-space: nowrap;
}
.admin-header-actions a:hover, .admin-header-actions button:hover { background: rgba(255,255,255,.07); color: var(--on-dark); }

.admin-layout { display: flex; min-height: calc(100vh - 64px); }
.admin-sidebar { width: 232px; background: var(--card); border-right: 1px solid var(--line); padding: 24px 14px; flex-shrink: 0; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; }
.admin-sidebar-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 6px; }
.admin-sidebar-section + .admin-sidebar-section { margin-top: 10px; }
.admin-tab-btn { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border: none; border-radius: var(--radius-sm); background: none; color: var(--ink-soft); font-size: 14px; font-family: inherit; font-weight: 500; cursor: pointer; text-align: left; transition: all var(--t); }
.admin-tab-btn:hover { background: var(--band); color: var(--ink); }
.admin-tab-btn.active { background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.admin-tab-icon { width: 18px; height: 18px; flex: 0 0 auto; display: flex; align-items: center; }
.admin-tab-icon svg { width: 18px; height: 18px; }

.admin-main { flex: 1; padding: clamp(20px, 3vw, 36px); overflow-y: auto; max-width: 920px; }
.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }
.admin-section-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em; }
.admin-section-desc { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.admin-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.admin-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 9px; }
.admin-card-title .card-icon { color: var(--accent); display: flex; }
.admin-card-title .card-icon svg { width: 17px; height: 17px; }

.admin-field { margin-bottom: 20px; }
.admin-field:last-child { margin-bottom: 0; }
.admin-label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .04em; }
.admin-input, .admin-textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 14px; color: var(--ink); background: var(--page); transition: border-color var(--t), box-shadow var(--t); outline: none; }
.admin-input:focus, .admin-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.admin-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.admin-hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }

.list-editor { display: flex; flex-direction: column; gap: 8px; }
.list-editor-item { display: flex; gap: 8px; align-items: center; }
.list-editor-item .admin-input { flex: 1; }
.remove-item-btn { width: 34px; height: 34px; flex-shrink: 0; background: rgba(178,58,51,.07); border: 1px solid rgba(178,58,51,.2); color: var(--danger); border-radius: var(--radius-sm); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all var(--t); }
.remove-item-btn:hover { background: rgba(178,58,51,.14); }
.add-item-btn { align-self: flex-start; padding: 9px 16px; background: none; border: 1.5px dashed var(--line); color: var(--muted); border-radius: var(--radius-sm); cursor: pointer; font-size: 13.5px; font-family: inherit; transition: all var(--t); margin-top: 4px; }
.add-item-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }

.admin-save-row { display: flex; align-items: center; gap: 16px; padding-top: 4px; }
.save-status { font-size: 14px; font-weight: 500; color: var(--ok); opacity: 0; transition: opacity var(--t); }
.save-status.visible { opacity: 1; }
.save-status.error { color: var(--danger); }

/* Submissions */
.submission-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 12px; }
.submission-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.submission-top strong { font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.submission-date { color: var(--muted); font-size: 13px; white-space: nowrap; }
.submission-meta { font-size: 13.5px; color: var(--ink-soft); margin: 6px 0 0; }
.submission-meta a { color: var(--accent); font-weight: 500; }
.submission-msg { white-space: pre-wrap; margin: 10px 0 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.submission-card .remove-item-btn { width: auto; padding: 7px 14px; font-size: 13px; margin-top: 12px; gap: 6px; }
.admin-muted { color: var(--muted); font-size: 14px; }
.admin-error { color: var(--danger); font-size: 14px; }

@media (max-width: 720px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; top: 0; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .admin-sidebar-label { display: none; }
  .admin-sidebar-section + .admin-sidebar-section { margin-top: 0; }
  .admin-tab-btn { width: auto; }
}
