/* Gracie's Nursery — global styles
   Vanilla CSS, no preprocessor. Designed for an app-feel on mobile and a
   tasteful botanical look on desktop. No external resources of any kind.
*/

/* =====================================================================
   Design tokens
   ===================================================================== */
:root {
    --bg:           #f7f3ec;
    --bg-tint:      #efe9dc;
    --card:         #ffffff;
    --ink:          #2a3528;
    --ink-soft:     #4d5a48;
    --muted:        #6b7864;
    --border:       #e6dfd2;
    --border-soft:  #f1ebde;

    --leaf:         #4a6741;
    --leaf-deep:    #3a5232;
    --leaf-tint:    #e8efe2;

    --terracotta:   #c97a5a;
    --gold:         #b8945a;
    --sale:         #c44a3d;
    --onsite:       #2f5d6b;
    --onsite-tint:  #dff0f3;

    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-5:  24px;
    --space-6:  32px;
    --space-7:  48px;
    --space-8:  64px;
    --space-9:  96px;

    --r-sm:     6px;
    --r-md:     12px;
    --r-lg:     20px;
    --r-pill:   999px;

    --shadow-sm: 0 1px 2px rgba(42, 53, 40, 0.05);
    --shadow-md: 0 4px 16px rgba(42, 53, 40, 0.08);
    --shadow-lg: 0 12px 40px rgba(42, 53, 40, 0.10);

    --serif: ui-serif, "Iowan Old Style", Georgia, "Times New Roman", serif;
    --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --mono:  ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* =====================================================================
   Reset & base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--leaf-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
hr { border: none; border-top: 1px solid var(--border); margin: var(--space-6) 0; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    margin: 0 0 var(--space-3);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
.eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

/* =====================================================================
   Layout
   ===================================================================== */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}
.container-narrow { max-width: 760px; }

main { padding: var(--space-7) 0 var(--space-9); }
.section { padding: var(--space-7) 0; }
.section + .section { padding-top: 0; }

.row { display: flex; gap: var(--space-4); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.stack-tight { display: flex; flex-direction: column; gap: var(--space-2); }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 243, 236, 0.94);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-5);
    max-width: 1180px;
    margin: 0 auto;
}
.brand {
    font-family: var(--serif);
    font-size: 1.65rem;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex; align-items: baseline; gap: 0.45rem;
}
.brand:hover { text-decoration: none; }
.brand__leaf {
    width: 14px; height: 14px;
    background: var(--leaf);
    border-radius: 50% 0 50% 50%;
    transform: rotate(-15deg);
    display: inline-block;
}
.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav a {
    color: var(--ink-soft);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--r-pill);
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 120ms ease;
}
.nav a:hover { background: var(--leaf-tint); color: var(--leaf-deep); }
.nav a[aria-current="page"] { background: var(--leaf-tint); color: var(--leaf-deep); }

.cart-pill {
    display: inline-flex; align-items: center; gap: var(--space-2);
    background: var(--ink); color: #fff;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--r-pill);
    font-size: 0.85rem;
    text-decoration: none;
}
.cart-pill:hover { background: var(--leaf-deep); color: #fff; text-decoration: none; }
.cart-pill__count {
    background: rgba(255,255,255,0.2);
    border-radius: var(--r-pill);
    padding: 2px 8px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

@media (max-width: 720px) {
    .site-header__inner { padding: var(--space-3); }
    .nav { gap: 0; }
    .nav a { padding: var(--space-2) var(--space-2); font-size: 0.85rem; }
    .nav a span.nav-label { display: none; }
}

/* =====================================================================
   Onsite banner
   ===================================================================== */
.onsite-banner {
    background: var(--onsite-tint);
    color: var(--onsite);
    border-bottom: 1px solid #c5dde2;
    text-align: center;
    font-size: 0.9rem;
    padding: var(--space-2) var(--space-4);
}
.onsite-banner__dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--onsite);
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 8px;
    box-shadow: 0 0 0 0 rgba(47, 93, 107, 0.6);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(47, 93, 107, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(47, 93, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(47, 93, 107, 0); }
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 80ms ease, background 120ms ease, border-color 120ms ease;
    white-space: nowrap;
    line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary { background: var(--leaf); color: #fff; }
.btn-primary:hover { background: var(--leaf-deep); text-decoration: none; }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1a221a; text-decoration: none; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { background: var(--card); border-color: var(--leaf); text-decoration: none; }

.btn-onsite { background: var(--onsite); color: #fff; }
.btn-onsite:hover { background: #1f4150; text-decoration: none; }

.btn-danger { background: var(--sale); color: #fff; }
.btn-danger:hover { background: #a83a30; text-decoration: none; }

.btn-sm { padding: var(--space-2) var(--space-3); font-size: 0.85rem; }
.btn-block { width: 100%; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
    background:
        radial-gradient(circle at 80% 30%, rgba(74,103,65,0.10), transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(201,122,90,0.10), transparent 50%),
        var(--bg-tint);
    border-radius: var(--r-lg);
    padding: clamp(var(--space-7), 8vw, var(--space-9)) var(--space-6);
    margin: var(--space-5) 0;
    text-align: center;
}
.hero h1 { margin-top: var(--space-3); }
.hero p { color: var(--muted); max-width: 56ch; margin: 0 auto var(--space-5); }
.hero__cta { display: inline-flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }

/* =====================================================================
   Cards / Catalog
   ===================================================================== */
.grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card a { color: inherit; text-decoration: none; }
.card__photo {
    aspect-ratio: 4 / 3;
    background: var(--leaf-tint);
    position: relative;
    overflow: hidden;
}
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__photo--placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--leaf-deep);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    padding: var(--space-4);
    text-align: center;
}
.card__body {
    padding: var(--space-4);
    display: flex; flex-direction: column; gap: var(--space-2);
    flex: 1;
}
.card__title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; margin: 0; }
.card__latin { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 0.9rem; margin: 0; }
.card__meta { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; margin-top: auto; }
.card__price {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.card__price--strike {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 0.95rem;
    margin-right: var(--space-2);
}
.card__price--sale { color: var(--sale); }

.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    background: var(--leaf-tint); color: var(--leaf-deep);
}
.badge-sale { background: #fbe5e1; color: var(--sale); }
.badge-oos { background: #efe6d6; color: #8a6f3a; }
.badge-kids { background: #fbf0d4; color: #8a6c1d; }

.card__photo-badges {
    position: absolute; top: var(--space-3); left: var(--space-3);
    display: flex; gap: var(--space-2); flex-wrap: wrap;
}

/* =====================================================================
   Filters
   ===================================================================== */
.filters {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--space-4);
    display: grid;
    gap: var(--space-3);
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: var(--space-5);
}
.filter-group label { font-size: 0.8rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: var(--space-2); }
.filter-group select, .filter-group input[type="search"] {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--bg);
    color: var(--ink);
    font: inherit;
}
.filter-group select:focus, .filter-group input:focus { outline: 2px solid var(--leaf); outline-offset: 1px; }
.filters-summary { font-size: 0.9rem; color: var(--muted); margin: var(--space-3) 0; }
.filters-summary button { background: none; border: none; color: var(--leaf-deep); cursor: pointer; padding: 0; text-decoration: underline; }

/* =====================================================================
   Plant detail
   ===================================================================== */
.plant-detail { display: grid; gap: var(--space-7); grid-template-columns: 1.05fr 1fr; }
@media (max-width: 880px) { .plant-detail { grid-template-columns: 1fr; gap: var(--space-5); } }

.plant-photo {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.plant-photo img { width: 100%; height: 100%; object-fit: cover; }
.plant-credit {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: var(--space-2);
    line-height: 1.3;
}
.plant-credit a { color: var(--muted); text-decoration: underline; }

.plant-title-row { display: flex; gap: var(--space-3); align-items: baseline; flex-wrap: wrap; }
.plant-latin { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.1rem; }

.plant-price-row { display: flex; align-items: baseline; gap: var(--space-3); margin: var(--space-4) 0 var(--space-3); }
.plant-price { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.plant-price--strike { text-decoration: line-through; font-size: 1.1rem; color: var(--muted); }
.plant-price--sale { color: var(--sale); }
.stock-line { color: var(--muted); font-size: 0.9rem; }
.stock-line__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); margin-right: 6px; vertical-align: middle; }
.stock-line.oos .stock-line__dot { background: var(--sale); }

.qty-input {
    display: inline-flex; align-items: center; gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    overflow: hidden;
    background: var(--card);
}
.qty-input button {
    width: 36px; height: 36px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--ink);
}
.qty-input button:hover { background: var(--leaf-tint); }
.qty-input input {
    width: 40px;
    text-align: center;
    border: none;
    font: inherit;
    background: transparent;
    color: var(--ink);
    -moz-appearance: textfield;
}
.qty-input input::-webkit-outer-spin-button, .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.plant-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); align-items: center; }

.plant-facts {
    margin-top: var(--space-5);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--space-5);
    display: grid;
    gap: var(--space-4);
}
.plant-facts dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.plant-facts dd { margin: 0; color: var(--ink); }

.plant-section { margin-top: var(--space-7); }
.plant-section h2 { font-size: 1.4rem; margin-bottom: var(--space-4); }

.qr-block {
    margin-top: var(--space-5);
    padding: var(--space-5);
    background: var(--leaf-tint);
    border-radius: var(--r-md);
    text-align: center;
}
.qr-block svg { display: inline-block; background: #fff; padding: 8px; border-radius: 8px; }
.qr-block code { display: block; margin-top: var(--space-3); font-size: 0.78rem; color: var(--muted); word-break: break-all; }

/* =====================================================================
   Cart / Checkout
   ===================================================================== */
.cart-table {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}
.cart-table th, .cart-table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}
.cart-table tr:last-child td { border-bottom: none; }
.cart-table th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--bg-tint); }
.cart-table td.right, .cart-table th.right { text-align: right; }
.cart-row__name { font-family: var(--serif); font-size: 1.05rem; }
.cart-row__sub { color: var(--muted); font-size: 0.85rem; }
.cart-totals {
    margin-top: var(--space-5);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--space-5);
}
.cart-totals dl { display: grid; grid-template-columns: 1fr auto; gap: var(--space-3) var(--space-5); margin: 0; }
.cart-totals dl dt { color: var(--muted); }
.cart-totals dl dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.cart-totals .total-row dt, .cart-totals .total-row dd {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--ink);
    border-top: 1px solid var(--border);
    padding-top: var(--space-3);
}

.empty-state {
    text-align: center;
    background: var(--card);
    border: 1px dashed var(--border);
    border-radius: var(--r-md);
    padding: var(--space-8) var(--space-5);
    color: var(--muted);
}
.empty-state h2 { color: var(--ink); }

/* =====================================================================
   Forms
   ===================================================================== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
    padding: var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--card);
    font: inherit;
    color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: 2px solid var(--leaf);
    outline-offset: 1px;
    border-color: var(--leaf);
}
.field-help { font-size: 0.8rem; color: var(--muted); }
.field-error { color: var(--sale); font-size: 0.85rem; }

.fulfilment-toggle {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3);
}
.fulfilment-toggle label {
    display: block;
    border: 1px solid var(--border);
    background: var(--card);
    padding: var(--space-4);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: border-color 120ms;
}
.fulfilment-toggle input { display: none; }
.fulfilment-toggle input:checked + label,
.fulfilment-toggle label:has(input:checked) {
    border-color: var(--leaf);
    background: var(--leaf-tint);
}
.fulfilment-toggle label strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 4px; color: var(--ink); }
.fulfilment-toggle label small { color: var(--muted); }

/* =====================================================================
   Cross-sells
   ===================================================================== */
.acc-grid {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.acc-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.acc-card__icon {
    width: 48px; height: 48px;
    background: var(--leaf-tint);
    border-radius: var(--r-sm);
    display: grid; place-items: center;
    font-size: 1.6rem;
}
.acc-card__name { font-family: var(--serif); font-size: 1rem; margin: 0; }
.acc-card__blurb { color: var(--muted); font-size: 0.85rem; flex: 1; }
.acc-card__foot { display: flex; justify-content: space-between; align-items: center; }
.acc-card__price { font-variant-numeric: tabular-nums; font-weight: 600; }

/* =====================================================================
   Toast
   ===================================================================== */
.toast {
    position: fixed; bottom: var(--space-5); left: 50%; transform: translateX(-50%);
    background: var(--ink); color: #fff;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    animation: toast-in 200ms ease;
}
@keyframes toast-in {
    from { opacity: 0; transform: translate(-50%, 12px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
    margin-top: var(--space-9);
    padding: var(--space-7) 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
    background: var(--bg-tint);
}
.site-footer .container { display: flex; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }

/* =====================================================================
   Staff dashboard
   ===================================================================== */
.staff-shell {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}
.staff-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--bg-tint);
    overflow-x: auto;
}
.staff-tabs button {
    padding: var(--space-4) var(--space-5);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}
.staff-tabs button.active { color: var(--ink); border-bottom-color: var(--leaf); background: var(--card); }
.staff-tabs .badge-count {
    display: inline-block;
    margin-left: 8px;
    background: var(--sale);
    color: #fff;
    border-radius: var(--r-pill);
    padding: 1px 8px;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
}
.staff-panel { padding: var(--space-5); }

.ping {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-4);
    padding: var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin-bottom: var(--space-3);
    background: var(--card);
    align-items: center;
}
.ping--new { border-color: var(--terracotta); background: #fdf3ee; animation: ping-flash 1.4s ease-out 1; }
@keyframes ping-flash {
    0%   { background: #fce0d2; }
    100% { background: #fdf3ee; }
}
.ping__kind {
    display: inline-flex;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-pill);
    padding: 4px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}
.ping__kind--help { background: var(--terracotta); }
.ping__kind--fetch { background: var(--leaf); }
.ping__when { color: var(--muted); font-size: 0.85rem; }
.ping__title { font-family: var(--serif); font-size: 1.1rem; margin: 4px 0; }
.ping__note { color: var(--muted); }

.staff-login {
    max-width: 380px;
    margin: var(--space-9) auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--space-6);
}
.staff-login h1 { text-align: center; }
.staff-login .field { margin-bottom: var(--space-4); }

.order-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--space-4);
    margin-bottom: var(--space-3);
}
.order-card__head { display: flex; justify-content: space-between; gap: var(--space-3); align-items: baseline; flex-wrap: wrap; }
.order-card__ref { font-family: var(--mono); }
.order-card__items { color: var(--muted); font-size: 0.9rem; margin-top: var(--space-2); }

.staff-plant {
    display: grid;
    grid-template-columns: 64px 1fr auto auto;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-soft);
}
.staff-plant img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-sm); }
.staff-plant__name { font-family: var(--serif); }
.toggle {
    display: inline-flex; align-items: center; gap: var(--space-2);
    cursor: pointer;
    user-select: none;
}
.toggle input { width: 36px; height: 20px; appearance: none; background: var(--border); border-radius: var(--r-pill); position: relative; transition: background 160ms; cursor: pointer; }
.toggle input::after {
    content: ""; position: absolute; top: 2px; left: 2px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: left 160ms;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.toggle input:checked { background: var(--leaf); }
.toggle input:checked::after { left: 18px; }

/* =====================================================================
   Utilities
   ===================================================================== */
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.text-small  { font-size: 0.85rem; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.flex-1 { flex: 1; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
