/**
 * Platform Theme — High Contrast Basic
 *
 * Same token set as cruinn-default.css. Source for the Black & White Basic
 * admin preset (dev/docs/THEMES_PLAN.md Phase 4) — deliberately plain/high-contrast
 * instead of Cruinn's brand palette: black borders, 3px radius, Arial,
 * black text on white/transparent (white on black inverse), blue links,
 * red visited, subtle green / soft red for OK / Warning.
 *
 * Last edit: 2026-10-08 IST — tokens renamed --plat-* → --shell-*; added
 * --shell-drop.
 * Previous: 2026-07-25.
 */
:root {
    --shell-font: Arial, Helvetica, sans-serif;

    --shell-dark: #000000;
    --shell-card-bg-dark: #000000;
    --shell-primary: #000000;
    --shell-accent: #0000ee;
    --shell-accent-lt: #3333ff;
    --shell-accent-text: #ffffff;
    --shell-cream: #ffffff;
    --shell-text: #000000;
    --shell-text-light: #666666;
    --shell-bg: #ffffff;
    --shell-bg-card: #ffffff;
    --shell-border: #000000;
    --shell-ok: #2e7d32;
    --shell-err: #b30000;
    --shell-err-text: #ffffff;
    /* Editor drop/insert marker and zone-edge rule — deliberately not the
       accent, so it reads as "editor chrome" against any page content */
    --shell-drop: #cc00cc;

    --shell-radius: 3px;
    --shell-shadow: none;

    /* Neutral overlay alphas — dark-chrome hover/border treatments (sidebar, topbar) */
    --shell-white: #ffffff;
    --shell-white-a04: rgba(255, 255, 255, .04);
    --shell-white-a05: rgba(255, 255, 255, .05);
    --shell-white-a08: rgba(255, 255, 255, .08);
    --shell-white-a12: rgba(255, 255, 255, .12);
    --shell-white-a20: rgba(255, 255, 255, .2);
    --shell-black-a15: rgba(0, 0, 0, .15);
    --shell-black-a35: rgba(0, 0, 0, .35);
    --shell-black-a40: rgba(0, 0, 0, .4);

    /* Accent alphas — derived from --shell-accent (#0000ee = 0,0,238) */
    --shell-accent-a07: rgba(0, 0, 238, .07);
    --shell-accent-a08: rgba(0, 0, 238, .08);
    --shell-accent-a15: rgba(0, 0, 238, .15);
    --shell-accent-a18: rgba(0, 0, 238, .18);
    --shell-accent-a20: rgba(0, 0, 238, .2);
    --shell-accent-a25: rgba(0, 0, 238, .25);

    /* Cream alphas — derived from --shell-cream (#ffffff = 255,255,255), sidebar text on dark bg */
    --shell-cream-a30: rgba(255, 255, 255, .3);
    --shell-cream-a35: rgba(255, 255, 255, .35);
    --shell-cream-a55: rgba(255, 255, 255, .55);
    --shell-cream-a65: rgba(255, 255, 255, .65);
    --shell-cream-a70: rgba(255, 255, 255, .7);
    --shell-cream-a75: rgba(255, 255, 255, .75);

    /* Alert variants — subtle green / soft red */
    --shell-alert-error-bg: #fdecea;
    --shell-alert-error-border: #e5a3a3;
    --shell-alert-success-bg: #eaf7ea;
    --shell-alert-success-border: #a3d9a3;

    /* Alert-error re-skin for the dark shell-init card (install/login) */
    --shell-alert-error-bg-dark: rgba(179, 0, 0, .15);
    --shell-alert-error-border-dark: rgba(179, 0, 0, .4);

    /* Small tag/pill (Engine Health module badges) */
    --shell-tag-bg: #e0e0e0;
    --shell-tag-text: #000000;

    /* Pending/unsaved state (draft badges) */
    --shell-warn-bg: #fff3cd;
    --shell-warn-text: #664d03;
}

.dashboard-section-stack {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-flow: 0.75rem;
}
