/* ==========================================================================
   Kerio Coffee Nurseries — design system
   Matches keriocoffee.co.ke: Fraunces + DM Sans, forest green, warm cream,
   coffee-orange accents, soft rounded cards.
   ========================================================================== */

:root {
    --bg: #f9f7f1;
    --bg-sand: #f1ebe1;
    --card: #fefdfb;
    --cream: #fcfbf7;
    --ink: #1f322a;
    --ink-soft: #60766d;
    --green: #2b5e4d;
    --green-dark: #224b3d;
    --green-deep: #1f322a;
    --green-tint: #e7efe9;
    --orange: #db8433;
    --orange-tint: #f6e7d6;
    --sand: #eee4d8;
    --line: #e8e1d5;
    --line-soft: #efe9df;
    --red: #b4483a;
    --red-tint: #f7e4e0;
    --amber: #a86a1c;
    --amber-tint: #f8ecd9;
    --teal: #2f6f73;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow: 0 1px 2px rgba(31, 50, 42, .04), 0 8px 24px rgba(31, 50, 42, .06);
    --shadow-lg: 0 20px 50px rgba(31, 50, 42, .14);
    --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 400; color: var(--green); letter-spacing: -.01em; line-height: 1.1; margin: 0 0 .5em; }
h4, h5 { font-family: var(--font-sans); font-weight: 700; margin: 0 0 .4em; color: var(--ink); }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
small, .small { font-size: .85rem; }
.muted { color: var(--ink-soft); }
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.strong { font-weight: 700; }
.hidden { display: none !important; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ---------- Eyebrow (orange label with leading line) ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--orange); margin-bottom: 14px;
}
.eyebrow.line::before { content: ""; width: 28px; height: 1px; background: var(--orange); opacity: .6; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent;
    font: 700 .95rem/1.2 var(--font-sans); cursor: pointer; text-decoration: none;
    transition: background .15s, color .15s, border-color .15s, transform .05s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-dark); color: var(--cream); }
.btn-outline { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #c87425; color: #fff; }
.btn-ghost { background: transparent; color: var(--green); padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { background: var(--green-tint); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #9b3a2e; color: #fff; }
.btn-sm { padding: 7px 13px; font-size: .82rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.btn.is-loading {
    pointer-events: none;
    opacity: .88;
    cursor: wait;
}
.btn-spinner {
    width: 1em; height: 1em; border-radius: 50%;
    border: 2px solid rgba(252, 251, 247, .35);
    border-top-color: currentColor;
    animation: spin .7s linear infinite;
    flex: none;
}
.btn-outline.is-loading .btn-spinner,
.btn-ghost.is-loading .btn-spinner,
.btn:not(.btn-primary):not(.btn-orange):not(.btn-danger).is-loading .btn-spinner {
    border-color: rgba(43, 94, 77, .22);
    border-top-color: var(--green);
}
.link-underline { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; color: var(--green); font-size: .9rem; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.card-tight { padding: 16px 18px; }
.card + .card { margin-top: 16px; }
.card-title { font-family: var(--font-serif); color: var(--green); font-size: 1.35rem; margin: 0 0 4px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head h3 { margin: 0; font-size: 1.3rem; }
.card-green { background: var(--green); border-color: var(--green); color: var(--cream); }
.card-green h2, .card-green h3 { color: var(--cream); }
.card-green .muted { color: rgba(252, 251, 247, .75); }
.card-sand { background: var(--bg-sand); }

.icon-chip {
    width: 44px; height: 44px; border-radius: 14px; background: var(--sand);
    display: inline-flex; align-items: center; justify-content: center; color: var(--green); flex: none;
}
.icon-chip svg { width: 20px; height: 20px; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-main-side { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-main-side { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }

/* ---------- Badges / pills ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
    font-size: .75rem; font-weight: 700; line-height: 1.5; white-space: nowrap; border: 1px solid transparent;
}
.badge-green { background: var(--green-tint); color: var(--green); }
.badge-amber { background: var(--amber-tint); color: var(--amber); }
.badge-red { background: var(--red-tint); color: var(--red); }
.badge-teal { background: #e2eef0; color: var(--teal); }
.badge-orange { background: var(--orange-tint); color: #9a5a14; }
.badge-dark { background: var(--green); color: var(--cream); }
.badge-muted { background: var(--line-soft); color: var(--ink-soft); }
.pill { display: inline-flex; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .78rem; font-weight: 700; color: var(--green-deep); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
label, .label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; color: var(--ink); }
.label-hint { font-weight: 400; color: var(--ink-soft); }
.input, select.input, textarea.input {
    width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    font: 400 .95rem/1.4 var(--font-sans); transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(43, 94, 77, .12); }
textarea.input { min-height: 96px; resize: vertical; }
.input-sm { padding: 8px 10px; font-size: .85rem; }
.input-lg { padding: 16px 18px; font-size: 1.15rem; }
.input-otp { letter-spacing: .5em; text-align: center; font-size: 1.6rem; font-weight: 700; }
.input-group { display: flex; }
.input-group .prefix { padding: 12px 14px; border: 1px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--bg-sand); font-weight: 700; color: var(--ink-soft); }
.input-group .input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--green); width: 16px; height: 16px; flex: none; }
.error, .field-error { color: var(--red); font-size: .8rem; margin-top: 4px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 700; transition: all .15s; }
.choice span small { display: block; font-weight: 400; color: var(--ink-soft); }
.choice input:checked + span { border-color: var(--green); background: var(--green-tint); color: var(--green); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(43, 94, 77, .2); }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px; border: 1px solid; font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: var(--green-tint); border-color: #cfe0d5; color: var(--green-dark); }
.alert-warning { background: var(--amber-tint); border-color: #efd8b5; color: #7a4d12; }
.alert-error { background: var(--red-tint); border-color: #ecc9c2; color: #8a3226; }
.alert-info { background: #eef2f0; border-color: var(--line); color: var(--ink); }
.alert ul { margin: 0; padding-left: 18px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; padding: 12px 16px; background: var(--cream); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fbf9f4; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tfoot td { font-weight: 700; background: var(--cream); border-top: 1px solid var(--line); }
.table-compact td, .table-compact th { padding: 8px 12px; }
.empty { padding: 36px 16px; text-align: center; color: var(--ink-soft); }

/* key/value list */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: .92rem; margin: 0; }
.kv dt { color: var(--ink-soft); }
.kv dd { margin: 0; font-weight: 500; }

/* ---------- Stats ---------- */
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.stat-label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.stat-value { font-family: var(--font-serif); font-size: 2rem; color: var(--green); line-height: 1.15; margin-top: 6px; }
.stat-sub { font-size: .8rem; color: var(--ink-soft); }
.stat a { color: inherit; }

/* progress bar */
.bar { height: 8px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.bar.orange > span { background: var(--orange); }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.internal::before { background: var(--ink-soft); box-shadow: 0 0 0 4px var(--line-soft); }
.timeline .t-title { font-weight: 700; }
.timeline .t-meta { font-size: .78rem; color: var(--ink-soft); }

/* steps tracker (farmer) */
.steps { display: flex; gap: 0; margin: 8px 0 4px; }
.steps .step { flex: 1; text-align: center; position: relative; font-size: .75rem; color: var(--ink-soft); font-weight: 700; }
.steps .step .dot { width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 6px; background: var(--line-soft); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.steps .step::before { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.steps .step:first-child::before { display: none; }
.steps .step.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.steps .step.done::before, .steps .step.current::before { background: var(--green); }
.steps .step.current .dot { background: var(--orange); border-color: var(--orange); }
.steps .step.done, .steps .step.current { color: var(--green); }

/* chat */
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; padding: 4px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; }
.bubble.in { align-self: flex-start; background: var(--bg-sand); border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: var(--green); color: var(--cream); border-bottom-right-radius: 4px; }
.bubble .meta { font-size: .7rem; opacity: .7; margin-top: 4px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--sand); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .cap { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-size: .68rem; padding: 14px 6px 4px; }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a, .tabs button { padding: 10px 14px; font-weight: 700; font-size: .9rem; color: var(--ink-soft); border: 0; background: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; font-family: inherit; }
.tabs a.active, .tabs button.active { color: var(--green); border-bottom-color: var(--green); }
.tab-panel { display: none; } .tab-panel.active { display: block; }

/* modal (native <dialog>) */
dialog.modal { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(560px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); background: var(--card); color: var(--ink); }
dialog.modal::backdrop { background: rgba(31, 50, 42, .45); }
dialog.modal .modal-head { padding: 20px 24px 0; display: flex; justify-content: space-between; align-items: center; }
dialog.modal .modal-head h3 { margin: 0; font-size: 1.35rem; }
dialog.modal .modal-body { padding: 16px 24px 24px; }
dialog.modal .close { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }

/* pagination */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.pagination a, .pagination span { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: .85rem; font-weight: 700; color: var(--ink); }
.pagination .active { background: var(--green); color: var(--cream); border-color: var(--green); }
.pagination .disabled { opacity: .45; }

/* filters bar */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.filters .input { width: auto; min-width: 150px; padding: 9px 12px; font-size: .88rem; }
.filters .grow { flex: 1; min-width: 200px; }

/* ==========================================================================
   PUBLIC WEBSITE
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(252, 251, 247, .92);
    backdrop-filter: blur(14px) saturate(1.1);
    border-bottom: 1px solid var(--line-soft);
}
.site-header .container { position: relative; }
.site-header .bar-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    min-height: 72px; padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--green); color: var(--cream);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 16px rgba(43, 94, 77, .22);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-family: var(--font-serif); font-size: 1.28rem; font-weight: 600; color: var(--green-deep); line-height: 1; letter-spacing: -.02em; }
.brand-sub { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-top: 5px; }

.site-nav {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 10px; flex: 1; min-width: 0;
}
.site-nav-links {
    display: flex; align-items: center; justify-content: center;
    gap: 2px; flex: 1; flex-wrap: wrap;
}
.site-nav-actions {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
    padding-left: 14px; margin-left: 4px;
    border-left: 1px solid var(--line);
}
.site-nav a:not(.btn),
.site-nav .nav-text-btn {
    display: inline-flex; align-items: center;
    padding: 8px 11px; font-size: .86rem; font-weight: 600;
    color: var(--ink-soft); border-radius: 999px; white-space: nowrap;
    border: 0; background: transparent; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.site-nav a:not(.btn):hover,
.site-nav .nav-text-btn:hover {
    color: var(--green-deep); background: var(--green-tint);
}
.site-nav a:not(.btn).is-active,
.site-nav .nav-text-btn.is-active {
    color: var(--green-deep); background: var(--green-tint);
}
.site-nav-actions .btn {
    box-shadow: 0 6px 18px rgba(43, 94, 77, .18);
}
.site-nav-actions .btn:hover { color: var(--cream); }
.site-nav-logout { display: contents; }

.nav-toggle {
    display: none; align-items: center; justify-content: center;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px;
    width: 42px; height: 42px; color: var(--ink); cursor: pointer; flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle:hover { background: var(--green-tint); border-color: transparent; color: var(--green-deep); }

@media (max-width: 1080px) {
    .site-nav-links a { padding: 8px 9px; font-size: .82rem; }
}
@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px);
        flex-direction: column; align-items: stretch; gap: 8px;
        background: var(--card); border: 1px solid var(--line);
        border-radius: var(--radius-lg); padding: 14px;
        box-shadow: var(--shadow-lg);
    }
    .site-nav.open { display: flex; }
    .site-nav-links, .site-nav-actions {
        display: flex; flex-direction: column; align-items: stretch;
        gap: 4px; flex: none; width: 100%;
        padding: 0; margin: 0; border: 0;
    }
    .site-nav-actions {
        padding-top: 10px; margin-top: 6px;
        border-top: 1px solid var(--line-soft);
    }
    .site-nav a:not(.btn),
    .site-nav .nav-text-btn {
        width: 100%; justify-content: flex-start;
        padding: 12px 14px; border-radius: 12px; white-space: normal;
    }
    .site-nav-actions .btn {
        width: 100%; justify-content: space-between; margin: 0;
        box-shadow: none;
    }
}

.hero { position: relative; padding: 56px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(219, 132, 51, .16), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 4.6rem); line-height: 1.02; margin-bottom: 24px; }
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 470px; margin-bottom: 32px; }
.hero-meta { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--orange); }
.note-card { position: relative; background: var(--green); color: var(--cream); border-radius: var(--radius-xl); padding: 34px 32px; overflow: hidden; box-shadow: var(--shadow-lg); }
.note-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid rgba(219, 132, 51, .28); }
.note-card .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(252, 251, 247, .12); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.note-card .sun { position: absolute; right: 30px; top: 30px; color: var(--orange); }
.note-card blockquote { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.22; margin: 26px 0 18px; font-weight: 600; }
.note-card p { color: rgba(252, 251, 247, .75); font-size: .95rem; }
.note-card .figure { border-top: 1px solid rgba(252, 251, 247, .15); margin-top: 28px; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.note-card .figure strong { font-size: 1.6rem; display: block; }
.note-card .figure small { color: rgba(252, 251, 247, .7); }
.note-card .leaf { width: 64px; height: 64px; border-radius: 50%; background: rgba(219, 132, 51, .25); display: flex; align-items: center; justify-content: center; color: var(--orange); }
.note-card .leaf svg { width: 32px; height: 32px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.section { padding: 72px 0; }
.section-sand { background: var(--bg-sand); }
.section-line { border-top: 1px solid var(--line-soft); }
.section h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.photo-hero { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 360px; background: var(--green) center/cover no-repeat; display: flex; align-items: flex-end; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20, 45, 36, .75)); }
.photo-hero .inner { position: relative; z-index: 1; padding: 32px; }
.photo-hero h3 { color: #fff; font-size: 2rem; margin: 0; }
.photo-hero .eyebrow { color: var(--orange); }
.photo-split { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 32px; }
.photo-split .thumb { border-radius: 16px; min-height: 290px; background: var(--green-tint) center/cover no-repeat; }
.photo-split h3 { font-size: 2rem; }
.photo-split p { color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 900px) { .photo-grid { grid-template-columns: 1fr; } .photo-split { grid-template-columns: 1fr; } .photo-split .thumb { min-height: 220px; } }

.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.feature h4 { font-size: 1.1rem; margin-top: 22px; }
.feature p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

.variety-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; }
.variety-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.variety-card p { color: var(--ink-soft); margin-bottom: 12px; }
.variety-card .avail { font-weight: 700; color: var(--green); font-size: .9rem; margin-bottom: 20px; }

.audience-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.audience-card h4 { margin-top: 16px; }
.audience-card p { color: var(--ink-soft); font-size: .88rem; margin: 0; }

.search-banner { background: var(--green); color: var(--cream); border-radius: var(--radius-xl); padding: 34px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.search-banner h2 { color: var(--cream); font-size: clamp(1.7rem, 3vw, 2.15rem); font-weight: 600; }
.search-banner p { color: rgba(252, 251, 247, .75); font-size: .92rem; }
.search-banner .aside { background: rgba(252, 251, 247, .07); border: 1px solid rgba(252, 251, 247, .15); border-radius: var(--radius-lg); padding: 20px; }
.search-banner .aside strong { display: block; margin-bottom: 8px; }
@media (max-width: 860px) { .search-banner { grid-template-columns: 1fr; } }

.site-footer {
    background: linear-gradient(180deg, #2b5e4d 0%, #1f322a 100%);
    color: rgba(252, 251, 247, .72);
    padding: 56px 0 0;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 36px 28px;
    padding-bottom: 40px;
}
.footer-brand p { margin: 14px 0 0; font-size: .92rem; line-height: 1.6; max-width: 300px; }
.footer-location {
    display: inline-flex; align-items: flex-start; gap: 8px;
    margin-top: 14px !important; font-size: .88rem; color: rgba(252, 251, 247, .6);
}
.footer-location svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; color: var(--orange); }
.footer-logo {
    display: inline-flex; align-items: center; gap: 12px; color: var(--cream);
}
.footer-logo:hover { color: var(--cream); }
.footer-logo .brand-mark {
    background: var(--orange);
    box-shadow: none;
}
.footer-logo .brand-name { color: var(--cream); font-size: 1.2rem; }
.footer-logo .brand-sub { display: block; color: rgba(252, 251, 247, .55); margin-top: 4px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
    font-family: var(--font-sans);
    font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(252, 251, 247, .45); margin: 0 0 4px;
}
.footer-col a {
    color: rgba(252, 251, 247, .88); font-weight: 500; font-size: .92rem;
}
.footer-col a:hover { color: var(--cream); }
.footer-contact p { margin: 0 0 4px; font-size: .9rem; }
.footer-phone {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--orange) !important; font-weight: 700 !important; font-size: 1.05rem !important;
    margin: 4px 0 2px;
}
.footer-phone svg { width: 18px; height: 18px; }
.footer-cta { margin-top: 14px; align-self: flex-start; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(252, 251, 247, .12);
    font-size: .8rem; color: rgba(252, 251, 247, .5);
}
.footer-powered a {
    color: var(--orange); font-weight: 700;
}
.footer-powered a:hover { color: #f0b06a; }
@media (max-width: 960px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .site-footer { padding-top: 40px; }
}

/* ==========================================================================
   FARMER PORTAL
   ========================================================================== */
.portal-nav { display: flex; gap: 4px; overflow-x: auto; padding: 14px 0; border-bottom: 1px solid var(--line-soft); margin-bottom: 28px; }
.portal-nav a { padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: .9rem; color: var(--ink-soft); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.portal-nav a svg { width: 16px; height: 16px; }
.portal-nav a.active { background: var(--green); color: var(--cream); }
.portal-nav a:not(.active):hover { background: var(--line-soft); color: var(--ink); }
.portal-main { padding-bottom: 40px; min-height: 60vh; }
.page-title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 6px; }
.auth-wrap { min-height: calc(100vh - 77px); display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 460px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 36px 32px; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 720px; }
.auth-card h1 { font-size: 2.1rem; }
.summary-box { background: var(--bg-sand); border-radius: var(--radius); padding: 16px 18px; }
.summary-box .line { display: flex; justify-content: space-between; padding: 4px 0; font-size: .95rem; }
.summary-box .line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 1.05rem; }
.summary-box .line.deposit { color: var(--green); font-weight: 700; }
.stk-wait { display: flex; gap: 14px; align-items: center; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--green-tint); border-top-color: var(--green); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
#map-picker { height: 260px; border-radius: var(--radius); border: 1px solid var(--line); margin-top: 8px; }

/* ==========================================================================
   ADMIN
   ========================================================================== */
.admin-body { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.sidebar { background: var(--green-deep); color: rgba(252, 251, 247, .78); position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 18px 14px 30px; }
.sidebar .brand { padding: 4px 8px 18px; color: var(--cream); }
.sidebar .brand-mark { background: var(--orange); }
.sidebar .brand-name { color: var(--cream); }
.sidebar .brand-sub { color: rgba(252, 251, 247, .55); }
.side-group { margin-top: 14px; }
.side-group-title { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: rgba(252, 251, 247, .4); padding: 6px 12px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: rgba(252, 251, 247, .8); font-size: .9rem; font-weight: 500; border-left: 3px solid transparent; }
.side-link svg { width: 17px; height: 17px; opacity: .8; flex: none; }
.side-link:hover { background: rgba(252, 251, 247, .07); color: #fff; }
.side-link.active {
    background: rgba(252, 251, 247, .14);
    color: #fff;
    font-weight: 700;
    border-left-color: var(--orange);
    box-shadow: inset 0 0 0 1px rgba(252, 251, 247, .08);
}
.side-link.active svg { opacity: 1; }
.side-link .count { margin-left: auto; background: var(--orange); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 999px; padding: 1px 7px; }

/* Select2 — match Kerio inputs */
.select2-container { width: 100% !important; font-family: var(--font-sans); }
.select2-container--default .select2-selection--single {
    min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--card); padding: 6px 10px; display: flex; align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--ink); line-height: 1.4; padding: 0; font-size: .95rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px; right: 8px;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--green); box-shadow: 0 0 0 3px rgba(43, 94, 77, .12);
}
.select2-dropdown {
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--card); box-shadow: var(--shadow); z-index: 80;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; outline: none;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--green);
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--green); color: var(--cream);
}
.select2-container--default .select2-results__option--selected { background: var(--green-tint); color: var(--green-deep); }
.select2-container--default .select2-selection--multiple {
    min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
}
.form-group .select2-container { margin-top: 0; }
.admin-main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 32px; background: rgba(249, 247, 241, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.topbar form.search { flex: 1; max-width: 420px; }
.topbar .user { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--sand); color: var(--green); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.admin-content { padding: 28px 32px 60px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 2.1rem; margin: 0; }
.page-head .crumbs { font-size: .8rem; color: var(--ink-soft); margin-bottom: 6px; }
.page-head .crumbs a { color: var(--ink-soft); }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sidebar-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }
.perm-module { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.perm-module h5 { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; margin-bottom: 10px; }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-top: 10px; }
.chart-bars .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; height: 100%; min-width: 0; }
.chart-bars .pair { display: flex; gap: 3px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.chart-bars .b { width: 40%; max-width: 22px; border-radius: 6px 6px 0 0; background: var(--green); min-height: 2px; }
.chart-bars .b.alt { background: var(--orange); }
.chart-bars .lbl { font-size: .68rem; color: var(--ink-soft); white-space: nowrap; }
.legend { display: flex; gap: 14px; font-size: .78rem; color: var(--ink-soft); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.hbar { display: grid; grid-template-columns: 1fr 120px; gap: 8px; align-items: center; font-size: .85rem; }

@media (max-width: 1024px) {
    .admin-shell { grid-template-columns: 1fr; }
    .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; z-index: 50; transform: translateX(-100%); transition: transform .2s; }
    .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
    .sidebar-toggle { display: inline-flex; }
    .topbar, .admin-content { padding-left: 16px; padding-right: 16px; }
}

/* ==========================================================================
   PRINT (invoices, receipts, delivery notes, pick lists)
   ========================================================================== */
/* ---------- Service pages & blog ---------- */
.service-hero { padding-top: 48px; }
.service-hero h1 { font-size: clamp(2.6rem, 5.5vw, 3.8rem); margin-bottom: 18px; }
.service-hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 28px; }
.service-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.service-hero-photo { min-height: 360px; border-radius: var(--radius-xl); background: var(--green) center/cover no-repeat; box-shadow: var(--shadow); }
.service-close-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.request-card h3 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--green); font-weight: 500; }
@media (max-width: 900px) {
    .service-hero-grid, .service-close-grid { grid-template-columns: 1fr; }
}

.supply-diagram {
    position: relative; min-height: 340px; border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #2b5e4d 0%, #1f322a 100%);
    color: var(--cream); padding: 28px 24px 20px; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.supply-diagram .sun { position: absolute; top: 18px; right: 22px; color: var(--orange); }
.supply-diagram .sun svg { width: 28px; height: 28px; }
.diagram-label { font-size: .72rem; letter-spacing: .08em; text-transform: lowercase; opacity: .85; }
.diagram-net { height: 18px; margin: 8px 10% 28px; border: 2px solid rgba(252,251,247,.45); border-radius: 4px;
    background: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(252,251,247,.2) 10px, rgba(252,251,247,.2) 12px); }
.diagram-row { display: flex; gap: 18px; align-items: flex-end; margin: 0 8% 16px; }
.diagram-tank { width: 42px; height: 70px; background: #3d7ea3; border-radius: 6px; position: relative; }
.diagram-tank span, .diagram-filter span, .diagram-drip span { position: absolute; left: 50%; transform: translateX(-50%); bottom: -18px; font-size: .65rem; white-space: nowrap; opacity: .8; }
.diagram-filter { width: 28px; height: 36px; background: rgba(252,251,247,.25); border-radius: 4px; position: relative; }
.diagram-drip { position: relative; height: 4px; margin: 28px 6% 8px; background: rgba(252,251,247,.55); border-radius: 99px; }
.diagram-plants { display: flex; justify-content: space-between; margin: 0 8% 8px; }
.diagram-plants i { width: 10px; height: 22px; border-radius: 99px 99px 2px 2px; background: #6fbf7a; display: block; }
.diagram-soil { height: 28px; margin: 0 -24px -20px; background: #6b4a2e; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }

.supply-tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.supply-tab {
    border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
    padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; cursor: pointer; font-family: inherit;
}
.supply-tab.is-active, .supply-tab:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
.supply-panel { display: none; padding: 28px; }
.supply-panel.is-active { display: block; }
.supply-panel h3 { font-family: var(--font-serif); font-size: 1.7rem; color: var(--green); font-weight: 500; }
.check-list { margin: 16px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 28px; color: var(--ink-soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--green-tint); box-shadow: inset 0 0 0 4px var(--green); }

.starter-sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.starter-chip {
    border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 14px 18px;
    cursor: pointer; text-align: left; font-family: inherit; min-width: 120px;
}
.starter-chip strong { display: block; font-size: 1.25rem; color: var(--green-deep); }
.starter-chip span { font-size: .8rem; color: var(--ink-soft); }
.starter-chip.is-active { border-color: var(--green); background: var(--green-tint); }
.starter-detail { display: none; padding: 28px; }
.starter-detail.is-active { display: block; }
.starter-illus { height: 120px; border-radius: 16px; background: var(--green-tint); margin: 16px 0; position: relative; overflow: hidden; }
.illus-net { height: 14px; margin: 18px 12%; border: 2px dashed var(--green); opacity: .5; }
.illus-beds { height: 36px; margin: 24px 10% 0; background: repeating-linear-gradient(90deg, #6fbf7a 0 18px, transparent 18px 28px); opacity: .7; }
.illus-drip { height: 3px; margin: 14px 10% 0; background: var(--teal); opacity: .6; }

.steps-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; }
.steps-list li { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.step-num {
    width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--cream);
    display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.steps-list h4 { margin: 0 0 4px; }
.steps-list p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.blog-card {
    display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden; color: inherit;
}
.blog-card:hover { color: inherit; border-color: var(--green); }
.blog-cover { min-height: 160px; background: var(--green-tint) center/cover no-repeat; }
.blog-body { padding: 18px 20px 22px; }
.blog-body h3 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--green); font-weight: 500; margin: 6px 0 8px; }
.blog-body p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.blog-hero-img { min-height: 280px; border-radius: var(--radius-xl); background: var(--green) center/cover no-repeat; margin: 24px 0; }
.blog-content { font-size: 1.05rem; line-height: 1.75; color: var(--ink); }
.blog-content p { margin-bottom: 1.1em; }

.captcha-wrap { margin: 14px 0; }
.captcha-wrap .cf-turnstile, .captcha-wrap .g-recaptcha { margin-top: 4px; }

/* Cookie consent */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(31, 50, 42, .96); color: var(--cream);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, .18);
    animation: cookie-in .35s ease;
}
@keyframes cookie-in {
    from { transform: translateY(110%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
}
.cookie-banner-copy { flex: 1 1 280px; min-width: 0; }
.cookie-banner-copy strong { display: block; font-size: 1rem; margin-bottom: 4px; color: #fff; }
.cookie-banner-copy p { margin: 0; font-size: .88rem; line-height: 1.45; color: rgba(252, 251, 247, .88); }
.cookie-banner-copy a { color: #f0c48a; }
.cookie-banner-copy a:hover { color: #fff; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.cookie-banner .btn-ghost { color: var(--cream); }
.cookie-banner .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cookie-banner.is-hiding { animation: cookie-out .25s ease forwards; }
@keyframes cookie-out {
    to { transform: translateY(110%); opacity: 0; }
}
@media (max-width: 640px) {
    .cookie-banner-actions { width: 100%; }
    .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

.doc { max-width: 820px; margin: 24px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.doc-head { display: flex; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--green); padding-bottom: 20px; margin-bottom: 24px; }
.doc-title { font-family: var(--font-serif); color: var(--green); font-size: 2rem; text-align: right; }
.doc .stamp { display: inline-block; border: 2px solid currentColor; padding: 4px 12px; border-radius: 8px; font-weight: 700; letter-spacing: .1em; transform: rotate(-4deg); }
.no-print { }
@media print {
    @page { margin: 14mm; }
    body { background: #fff; }
    .no-print, .site-header, .site-footer, .sidebar, .topbar, .portal-nav { display: none !important; }
    .admin-shell { display: block; }
    .admin-content { padding: 0; }
    .doc { border: 0; margin: 0; padding: 0; max-width: none; }
    a { color: inherit; }
}
