/* Classic View - Lightweight, table-based UI for fast page loads */
/* ESIIL Brand: #234A65 primary, #42BCDC accent, #007135 green */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #161A19;
    background: #ffffff;
    margin: 0;
    padding: 0;
}

a { color: #42BCDC; text-decoration: none; }
a:hover { color: #234A65; text-decoration: underline; }

/* Layout */
.classic-container {
    display: flex;
    min-height: 100vh;
}

/* Top Nav */
.classic-topnav {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: #234A65;
    color: #e0e0e0;
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.classic-topnav .brand {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    margin-right: 1rem;
}
.classic-topnav a { color: #a0d8ef; }
.classic-topnav a:hover { color: #fff; text-decoration: none; }
.classic-topnav .spacer { flex: 1; }
.classic-topnav .btn-login {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(90deg, #42BCDC, #007135);
    color: #fff;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}
.classic-topnav .btn-login:hover { opacity: 0.9; text-decoration: none; }
.classic-topnav .view-toggle {
    font-size: 12px;
    color: #a0d8ef;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 0;
}
.classic-topnav .view-toggle:hover { color: #fff; border-color: #42BCDC; text-decoration: none; }

/* Sidebar */
.classic-sidebar {
    width: 180px;
    min-width: 180px;
    background: #f9fafb;
    border-right: 1px solid #E3E3E3;
    padding: 0.75rem 0;
    font-size: 13px;
}
.classic-sidebar .nav-section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #234A65;
    padding: 0.5rem 0.75rem 0.25rem;
    margin: 0;
    font-weight: 700;
}
.classic-sidebar a {
    display: block;
    padding: 0.35rem 0.75rem;
    color: #161A19;
    border-left: 3px solid transparent;
}
.classic-sidebar a:hover {
    background: #E3E3E3;
    text-decoration: none;
}
.classic-sidebar a.active {
    background: #e8f6fb;
    border-left-color: #42BCDC;
    color: #234A65;
    font-weight: 700;
}

/* Content */
.classic-content {
    flex: 1;
    padding: 1.25rem 1.5rem;
    min-width: 0;
    overflow-x: auto;
}

/* Page header */
.classic-page-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.classic-page-header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #234A65;
}
.classic-page-header .count {
    font-size: 0.875rem;
    color: #42BCDC;
}

/* Toolbar */
.classic-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.classic-toolbar select,
.classic-toolbar input[type="text"] {
    padding: 0.3rem 0.5rem;
    border: 1px solid #E3E3E3;
    border-radius: 0;
    font-size: 13px;
    background: #fff;
}
.classic-toolbar input[type="text"] { width: 220px; }

/* Filter links */
.classic-filters {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}
.classic-filters a, .classic-filters span {
    padding: 0.25rem 0.6rem;
    font-size: 12px;
    border-radius: 0;
    color: #4b5563;
}
.classic-filters a:hover { background: #f3f4f6; text-decoration: none; }
.classic-filters .active {
    background: #234A65;
    color: #fff;
    font-weight: 700;
}

/* Breadcrumbs */
.classic-breadcrumb {
    font-size: 13px;
    margin-bottom: 0.75rem;
    color: #4b5563;
}
.classic-breadcrumb a { color: #42BCDC; }
.classic-breadcrumb a:hover { color: #234A65; }
.classic-breadcrumb .sep { margin: 0 0.25rem; color: #9ca3af; }

/* Tables */
.classic-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.classic-table th {
    text-align: left;
    padding: 0.5rem 0.6rem;
    background: #f3f4f6;
    border-bottom: 2px solid #E3E3E3;
    font-weight: 700;
    color: #234A65;
    white-space: nowrap;
    position: sticky;
    top: 0;
}
.classic-table td {
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #E3E3E3;
    vertical-align: middle;
}
.classic-table tbody tr:hover { background: #f9fafb; }
.classic-table .col-checkbox { width: 30px; }
.classic-table .col-icon { width: 24px; text-align: center; }
.classic-table .col-actions { white-space: nowrap; }
.classic-table .col-size,
.classic-table .col-date { white-space: nowrap; color: #4b5563; font-size: 12px; }

/* Inline icons (unicode replacements for Font Awesome) */
.icon-folder::before { content: "\1F4C1"; margin-right: 0.3rem; }
.icon-file::before { content: "\1F4C4"; margin-right: 0.3rem; }
.icon-app::before { content: "\25B6"; margin-right: 0.3rem; }

/* Status badges */
.status { font-weight: 700; font-size: 12px; }
.status-running { color: #007135; }
.status-completed { color: #4b5563; }
.status-failed { color: #dc2626; }
.status-submitted, .status-pending { color: #d97706; }
.status-canceled { color: #9ca3af; }

/* Action links */
.action-link {
    font-size: 12px;
    margin-right: 0.5rem;
    white-space: nowrap;
}
.action-link-primary { color: #42BCDC; }
.action-link-primary:hover { color: #234A65; }
.action-link-danger { color: #dc2626; }
.action-link-success { color: #007135; }

/* Buttons — ESIIL brand: gradient, uppercase, bold, no radius */
.classic-btn {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid #234A65;
    border-radius: 0;
    background: #fff;
    color: #234A65;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
.classic-btn:hover { background: #234A65; color: #fff; text-decoration: none; }
.classic-btn-primary {
    background: linear-gradient(90deg, #42BCDC, #007135);
    color: #fff; border-color: transparent;
}
.classic-btn-primary:hover { opacity: 0.9; }
.classic-btn-success {
    background: linear-gradient(90deg, #42BCDC, #007135);
    color: #fff; border-color: transparent;
}
.classic-btn-success:hover { opacity: 0.9; }

/* Pagination */
.classic-pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 13px;
    color: #4b5563;
}
.classic-pagination a {
    padding: 0.25rem 0.5rem;
    border: 1px solid #E3E3E3;
    border-radius: 0;
    color: #234A65;
}
.classic-pagination a:hover { background: #f3f4f6; text-decoration: none; }

/* Info/warning messages */
.classic-info {
    padding: 0.5rem 0.75rem;
    background: #e8f6fb;
    border: 1px solid #42BCDC;
    border-radius: 0;
    font-size: 13px;
    color: #234A65;
    margin-bottom: 0.75rem;
}

/* Quick links grid */
.classic-quicklinks {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.classic-quicklinks a {
    padding: 0.75rem 1rem;
    border: 1px solid #E3E3E3;
    border-radius: 0;
    color: #161A19;
    font-size: 14px;
}
.classic-quicklinks a:hover { background: #f9fafb; text-decoration: none; border-color: #42BCDC; }

/* Empty state */
.classic-empty {
    text-align: center;
    padding: 2rem;
    color: #9ca3af;
    font-size: 14px;
}

/* Icon action buttons (inline, emoji-based) */
.icon-btn {
    display: inline-block; font-size: 16px; padding: 2px 4px;
    cursor: pointer; text-decoration: none; border-radius: 0;
    color: #234A65; background: none; border: none; vertical-align: middle;
}
.icon-btn:hover { background: #E3E3E3; text-decoration: none; }
.icon-btn-danger:hover { background: #fef2f2; }

/* Kebab dropdown menu */
.kebab-cell { position: relative; width: 32px; text-align: center; }
.kebab-btn {
    background: none; border: none; cursor: pointer; font-size: 18px;
    color: #4b5563; padding: 2px 6px; border-radius: 0; line-height: 1;
}
.kebab-btn:hover { background: #E3E3E3; color: #234A65; }
.kebab-menu {
    display: none; position: absolute; right: 0; top: 100%; z-index: 50;
    background: #fff; border: 1px solid #E3E3E3; border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.12); min-width: 160px;
    padding: 4px 0; font-size: 13px;
}
.kebab-menu.open { display: block; }
.kebab-menu a, .kebab-menu button {
    display: block; width: 100%; text-align: left; padding: 6px 12px;
    color: #161A19; background: none; border: none; cursor: pointer;
    font-size: 13px; text-decoration: none;
}
.kebab-menu a:hover, .kebab-menu button:hover { background: #f3f4f6; text-decoration: none; }
.kebab-menu .danger { color: #dc2626; }
.kebab-menu .danger:hover { background: #fef2f2; }
.kebab-menu .separator { border-top: 1px solid #E3E3E3; margin: 4px 0; }

/* Toast notifications */
.classic-toast {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000;
    padding: 0.5rem 1rem; border-radius: 0; font-size: 13px;
    color: #fff; background: #234A65; box-shadow: 0 4px 12px rgba(0,0,0,.2);
    opacity: 0; transition: opacity .2s; pointer-events: none;
}
.classic-toast.show { opacity: 1; }
.classic-toast.error { background: #dc2626; }
.classic-toast.success { background: #007135; }

/* Data browser toolbar */
.db-toolbar {
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 0.75rem; flex-wrap: wrap;
}
.db-toolbar .spacer { flex: 1; }

/* Share Modal */
.classic-modal {
    display: none; position: fixed; z-index: 1000;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}
.classic-modal.open { display: block; }
.classic-modal-content {
    background: #fff; margin: 8% auto; max-width: 550px; width: 90%;
    border: 1px solid #E3E3E3; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.classic-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.75rem 1rem; border-bottom: 1px solid #E3E3E3; background: #f3f4f6;
}
.classic-modal-header strong { color: #234A65; }
.classic-modal-close {
    background: none; border: none; font-size: 1.25rem; cursor: pointer; color: #4b5563;
}
.classic-modal-close:hover { color: #161A19; }
.classic-modal-body { padding: 1rem; }
.classic-modal-footer {
    padding: 0.75rem 1rem; border-top: 1px solid #E3E3E3; text-align: right;
}
.classic-modal .permission-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.4rem 0.5rem; border-bottom: 1px solid #E3E3E3; font-size: 13px;
}
.classic-modal .permission-item:last-child { border-bottom: none; }
.classic-modal .perm-badge {
    background: #234A65; color: #fff; padding: 0.1rem 0.4rem;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.classic-modal .perm-remove {
    background: none; border: 1px solid #dc2626; color: #dc2626;
    cursor: pointer; padding: 0.15rem 0.4rem; font-size: 12px;
}
.classic-modal .perm-remove:hover { background: #fef2f2; }

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body { background: #0f172a; color: #e2e8f0; }
    a { color: #5ccfee; }
    a:hover { color: #fff; }
    .classic-sidebar { background: #1e293b; border-color: #334155; }
    .classic-sidebar a { color: #cbd5e1; }
    .classic-sidebar a:hover { background: #334155; }
    .classic-sidebar a.active { background: #1a3a50; border-left-color: #5ccfee; color: #5ccfee; }
    .classic-sidebar .nav-section-title { color: #5ccfee; }
    .classic-content { background: #0f172a; }
    .classic-page-header h1 { color: #5ccfee; }
    .classic-page-header .count { color: #5ccfee; }
    .classic-table th { background: #1e293b; border-color: #334155; color: #cbd5e1; }
    .classic-table td { border-color: #1e293b; }
    .classic-table tbody tr:hover { background: #1e293b; }
    .classic-toolbar select, .classic-toolbar input[type="text"] { background: #1e293b; border-color: #334155; color: #e2e8f0; }
    .classic-btn { background: #1e293b; border-color: #5ccfee; color: #5ccfee; }
    .classic-btn:hover { background: #5ccfee; color: #0f172a; }
    .classic-info { background: #1e293b; border-color: #334155; color: #5ccfee; }
    .classic-quicklinks a { border-color: #334155; color: #cbd5e1; }
    .classic-quicklinks a:hover { background: #1e293b; border-color: #5ccfee; }
    .classic-breadcrumb { color: #94a3b8; }
    .classic-breadcrumb a { color: #5ccfee; }
    .classic-filters a, .classic-filters span { color: #94a3b8; }
    .classic-filters a:hover { background: #1e293b; }
    .classic-filters .active { background: #3a6a8a; color: #fff; }
    .classic-pagination a { border-color: #334155; color: #cbd5e1; }
    .classic-pagination a:hover { background: #1e293b; }
    .kebab-btn { color: #94a3b8; }
    .kebab-btn:hover { background: #334155; color: #e2e8f0; }
    .kebab-menu { background: #1e293b; border-color: #334155; }
    .kebab-menu a, .kebab-menu button { color: #cbd5e1; }
    .kebab-menu a:hover, .kebab-menu button:hover { background: #334155; }
    .kebab-menu .danger { color: #f87171; }
    .kebab-menu .danger:hover { background: #371520; }
    .kebab-menu .separator { border-color: #334155; }
    .classic-toast { background: #334155; }
    .icon-btn { color: #cbd5e1; }
    .icon-btn:hover { background: #334155; }
    .status-running { color: #00a050; }
    .action-link-primary { color: #5ccfee; }
    .action-link-success { color: #00a050; }
    .classic-modal-content { background: #1e293b; border-color: #334155; }
    .classic-modal-header { background: #0f172a; border-color: #334155; }
    .classic-modal-header strong { color: #5ccfee; }
    .classic-modal-close { color: #94a3b8; }
    .classic-modal-close:hover { color: #e2e8f0; }
    .classic-modal-body { color: #e2e8f0; }
    .classic-modal-footer { border-color: #334155; }
    .classic-modal .permission-item { border-color: #334155; color: #cbd5e1; }
    .classic-modal .perm-remove { border-color: #f87171; color: #f87171; }
    .classic-modal .perm-remove:hover { background: #371520; }
}

/* ============================================================
   Phase 0 chrome — Sonora-parity top bar, sidebar badges,
   dropdowns, wizard stepper, star rating, bulk-action bar,
   metadata editor, and the "coming soon" placeholder.
   Self-contained block with its own dark-mode rules at the end.
   ============================================================ */

/* Global search in the top bar */
.classic-topnav .classic-search {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
}
.classic-topnav .classic-search input {
    background: transparent; border: none; outline: none; color: #fff;
    font-size: 13px; padding: 0.25rem 0.5rem; width: 170px;
}
.classic-topnav .classic-search input::placeholder { color: #cfe8f3; }
.classic-topnav .classic-search button {
    background: none; border: none; color: #cfe8f3; cursor: pointer;
    padding: 0.2rem 0.45rem; font-size: 14px;
}
.classic-topnav .classic-search button:hover { color: #fff; }

/* Icon buttons (bell, bag) + count badge in the top bar */
.topnav-icon {
    position: relative; background: none; border: none; cursor: pointer;
    color: #cfe8f3; font-size: 16px; padding: 0.2rem 0.35rem; line-height: 1;
}
.topnav-icon:hover { color: #fff; text-decoration: none; }
.topnav-badge {
    position: absolute; top: -5px; right: -5px; min-width: 15px; height: 15px;
    padding: 0 3px; border-radius: 999px; background: #dc2626; color: #fff;
    font-size: 9px; font-weight: 700; line-height: 15px; text-align: center;
}
.topnav-badge[data-count="0"] { display: none; }

/* Quota chip in the top bar */
.topnav-chip {
    font-size: 11px; color: #cfe8f3; border: 1px solid rgba(255,255,255,0.25);
    padding: 0.15rem 0.4rem;
}
.topnav-chip:hover { color: #fff; border-color: #42BCDC; text-decoration: none; }

/* Shared dropdown panel (bell / bag / user menu) */
.topnav-menu { position: relative; display: inline-block; }
.topnav-dropdown {
    display: none; position: absolute; right: 0; top: 100%; z-index: 200;
    background: #fff; color: #161A19; border: 1px solid #E3E3E3;
    box-shadow: 0 6px 18px rgba(0,0,0,.16); min-width: 260px; margin-top: 4px;
}
.topnav-dropdown.open { display: block; }
.topnav-dropdown .dd-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.5rem 0.75rem; border-bottom: 1px solid #E3E3E3; background: #f3f4f6;
    font-weight: 700; color: #234A65; font-size: 12px;
}
.topnav-dropdown .dd-header a { font-size: 11px; }
.topnav-dropdown .dd-body { max-height: 320px; overflow-y: auto; }
.topnav-dropdown .dd-item {
    display: block; padding: 0.5rem 0.75rem; border-bottom: 1px solid #f1f1f1;
    color: #161A19; font-size: 13px;
}
.topnav-dropdown .dd-item:hover { background: #f9fafb; text-decoration: none; }
.topnav-dropdown .dd-item .dd-meta { display: block; color: #9ca3af; font-size: 11px; }
.topnav-dropdown .dd-empty { padding: 1rem; text-align: center; color: #9ca3af; font-size: 13px; }
.topnav-dropdown .dd-footer {
    padding: 0.4rem 0.75rem; border-top: 1px solid #E3E3E3; text-align: center; font-size: 12px;
}

/* User menu trigger in the top bar */
.usermenu-trigger { cursor: pointer; color: #e0e0e0; background: none; border: none; font: inherit; }
.usermenu-trigger:hover { color: #fff; text-decoration: none; }

/* Sidebar: disabled "coming soon" items + count badge */
.classic-sidebar .nav-soon {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.35rem 0.75rem; color: #9ca3af; border-left: 3px solid transparent;
    cursor: default; font-size: 13px;
}
.classic-sidebar .nav-soon em {
    font-style: normal; font-size: 9px; text-transform: uppercase;
    background: #E3E3E3; color: #6b7280; padding: 0 4px; letter-spacing: .03em;
}
.classic-sidebar a .nav-count {
    float: right; background: #234A65; color: #fff; font-size: 10px; font-weight: 700;
    border-radius: 999px; padding: 0 5px; min-width: 16px; text-align: center; line-height: 16px;
}
.classic-sidebar a .nav-count[data-count="0"] { display: none; }

/* "Coming soon" placeholder page */
.classic-placeholder { text-align: center; padding: 3rem 1rem; color: #6b7280; }
.classic-placeholder h1 { color: #234A65; font-size: 1.4rem; margin-bottom: .5rem; }
.classic-placeholder .soon-badge {
    display: inline-block; background: #e8f6fb; color: #234A65; border: 1px solid #42BCDC;
    padding: .2rem .6rem; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem;
}

/* Wizard stepper (app launch wizard, etc.) */
.classic-wizard { max-width: 780px; }
.wizard-steps { display: flex; margin-bottom: 1.25rem; border-bottom: 2px solid #E3E3E3; }
.wizard-steps .step {
    flex: 1; text-align: center; padding: 0.5rem; font-size: 12px; color: #9ca3af;
    border-bottom: 2px solid transparent; margin-bottom: -2px; font-weight: 700;
}
.wizard-steps .step .num {
    display: inline-block; width: 20px; height: 20px; line-height: 20px; border-radius: 999px;
    background: #E3E3E3; color: #6b7280; margin-right: 4px; font-size: 11px;
}
.wizard-steps .step.active { color: #234A65; border-bottom-color: #42BCDC; }
.wizard-steps .step.active .num { background: #234A65; color: #fff; }
.wizard-steps .step.done .num { background: #007135; color: #fff; }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-actions { display: flex; justify-content: space-between; margin-top: 1.25rem; }

/* Star rating widget */
.star-rating { display: inline-flex; gap: 2px; font-size: 16px; cursor: pointer; }
.star-rating .star { color: #d1d5db; }
.star-rating .star.filled { color: #f59e0b; }
.star-rating.readonly { cursor: default; }

/* Bulk-action bar (data browser multi-select, etc.) */
.bulk-bar {
    display: none; align-items: center; gap: 0.75rem; padding: 0.4rem 0.75rem;
    background: #234A65; color: #fff; font-size: 13px; margin-bottom: 0.5rem;
}
.bulk-bar.show { display: flex; }
.bulk-bar .bulk-count { font-weight: 700; }
.bulk-bar .spacer { flex: 1; }
.bulk-bar button {
    background: none; border: 1px solid rgba(255,255,255,0.4); color: #fff;
    padding: 0.2rem 0.6rem; cursor: pointer; font-size: 12px; text-transform: uppercase; font-weight: 700;
}
.bulk-bar button:hover { background: rgba(255,255,255,0.15); }

/* Metadata key/value editor */
.kv-editor { width: 100%; border-collapse: collapse; font-size: 13px; }
.kv-editor th { text-align: left; padding: 0.3rem 0.4rem; color: #234A65; font-size: 11px; text-transform: uppercase; }
.kv-editor td { padding: 0.2rem 0.4rem; }
.kv-editor input { width: 100%; padding: 0.25rem 0.4rem; border: 1px solid #E3E3E3; font-size: 13px; }
.kv-editor .kv-remove { background: none; border: none; color: #dc2626; cursor: pointer; font-size: 14px; }

/* Dark mode for the Phase 0 chrome additions */
@media (prefers-color-scheme: dark) {
    .topnav-dropdown { background: #1e293b; color: #e2e8f0; border-color: #334155; }
    .topnav-dropdown .dd-header { background: #0f172a; border-color: #334155; color: #5ccfee; }
    .topnav-dropdown .dd-item { color: #cbd5e1; border-color: #1e293b; }
    .topnav-dropdown .dd-item:hover { background: #334155; }
    .topnav-dropdown .dd-footer { border-color: #334155; }
    .classic-sidebar .nav-soon { color: #64748b; }
    .classic-sidebar .nav-soon em { background: #334155; color: #94a3b8; }
    .classic-placeholder { color: #94a3b8; }
    .classic-placeholder h1 { color: #5ccfee; }
    .classic-placeholder .soon-badge { background: #1e293b; border-color: #334155; color: #5ccfee; }
    .wizard-steps { border-color: #334155; }
    .wizard-steps .step.active { color: #5ccfee; border-bottom-color: #5ccfee; }
    .wizard-steps .step .num { background: #334155; color: #94a3b8; }
    .wizard-steps .step.active .num { background: #3a6a8a; color: #fff; }
    .star-rating .star { color: #475569; }
    .kv-editor input { background: #1e293b; border-color: #334155; color: #e2e8f0; }
    .kv-editor th { color: #5ccfee; }
}

/* ============================================================
   Phase 1 — section headings, form fields (launch wizard /
   detail), and app-meta strip.
   ============================================================ */
.classic-section-title {
    font-size: 0.95rem; color: #234A65; font-weight: 700;
    margin: 1.4rem 0 0.6rem; padding-bottom: 0.25rem; border-bottom: 1px solid #E3E3E3;
}
.classic-form .field { margin-bottom: 0.9rem; }
.classic-form label { display: block; font-weight: 700; font-size: 13px; color: #234A65; margin-bottom: 0.2rem; }
.classic-form .req { color: #dc2626; }
.classic-form input[type="text"], .classic-form input[type="number"],
.classic-form select, .classic-form textarea {
    width: 100%; max-width: 480px; padding: 0.35rem 0.5rem;
    border: 1px solid #E3E3E3; font-size: 13px; background: #fff; border-radius: 0;
}
.classic-form .help { display: block; color: #6b7280; font-size: 11px; margin-top: 0.15rem; }
.classic-form .field-check { display: flex; align-items: center; gap: 0.5rem; }
.classic-form .field-check input { width: auto; }
.app-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 13px; color: #4b5563; margin-bottom: 1rem; }
.app-meta b { color: #234A65; }
.review-list { font-size: 13px; }
.review-list .review-row { display: flex; gap: 0.5rem; padding: 0.2rem 0; border-bottom: 1px solid #f1f1f1; }
.review-list .review-row b { min-width: 160px; color: #234A65; }

@media (prefers-color-scheme: dark) {
    .classic-section-title { color: #5ccfee; border-color: #334155; }
    .classic-form label { color: #5ccfee; }
    .classic-form input[type="text"], .classic-form input[type="number"],
    .classic-form select, .classic-form textarea {
        background: #1e293b; border-color: #334155; color: #e2e8f0;
    }
    .app-meta { color: #94a3b8; }
    .app-meta b { color: #5ccfee; }
    .review-list .review-row { border-color: #1e293b; }
    .review-list .review-row b { color: #5ccfee; }
}
