:root {
    --forest-950: #10283c;
    --forest-900: #173b59;
    --forest-800: #245577;
    --forest-700: #2d678e;
    --leaf-500: #377aa5;
    --leaf-400: #6e98b3;
    --lime-200: #dce8f0;
    --cream: #edf1f4;
    --paper: #ffffff;
    --ink: #172b3a;
    --muted: #607484;
    --line: #c9d2d9;
    --warning: #b97619;
    --danger: #b83a3a;
    --shadow: none;
    --radius-lg: 4px;
    --radius-md: 3px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

.site-header,
.admin-header {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
}

.site-header { background: var(--paper); border-bottom: 1px solid rgba(23, 49, 41, .08); }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--forest-900);
    text-decoration: none;
    font-family: 'Segoe UI', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .03em;
}

.brand strong { font-weight: 800; }

.brand-mark {
    position: relative;
    display: inline-flex;
    width: 31px;
    height: 34px;
    transform: rotate(-8deg);
}

.brand-mark i {
    position: absolute;
    display: block;
    width: 11px;
    height: 27px;
    bottom: 1px;
    background: var(--leaf-500);
    border-radius: 100% 0 100% 0;
    transform-origin: bottom center;
}
.brand-mark i:nth-child(1) { left: 3px; transform: rotate(-21deg); }
.brand-mark i:nth-child(2) { left: 10px; height: 32px; background: var(--forest-700); transform: rotate(2deg); }
.brand-mark i:nth-child(3) { left: 17px; transform: rotate(25deg); }

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    color: var(--forest-700);
    background: #ebf6e8;
    border: 1px solid #d2ebce;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: var(--leaf-500);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(71, 165, 95, .14);
    animation: pulse 2s infinite;
}

@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(71, 165, 95, 0); } }

.hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: end;
    padding: 56px max(5vw, calc((100vw - 1120px) / 2));
    color: white;
    background:
        radial-gradient(circle at 86% 10%, rgba(112, 190, 114, .28), transparent 29%),
        linear-gradient(128deg, var(--forest-950), var(--forest-800));
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    right: -120px;
    bottom: -170px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(255, 255, 255, .025), 0 0 0 80px rgba(255, 255, 255, .02);
}

.hero-copy, .queue-summary { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 8px; color: var(--leaf-500); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime-200); }

h1, h2, h3 { font-family: 'Segoe UI', sans-serif; letter-spacing: -.035em; }
.hero h1 { margin: 0; font-size: clamp(35px, 6vw, 58px); line-height: 1.04; }
.hero-copy > p:last-child { max-width: 520px; margin: 15px 0 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.55; }

.queue-summary {
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 19px 23px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.17);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}
.summary-number { font-family: 'Segoe UI', sans-serif; font-size: 42px; font-weight: 800; color: var(--lime-200); line-height: 1; }
.queue-summary strong, .queue-summary span { display: block; }
.queue-summary strong { font-size: 14px; }
.queue-summary span { margin-top: 3px; color: rgba(255,255,255,.65); font-size: 12px; }

.lookup-section,
.queue-section,
.safety-note,
footer {
    width: min(1120px, 90vw);
    margin-left: auto;
    margin-right: auto;
}

.lookup-section {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    padding: 27px 0 5px;
}
.lookup-section > label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.search-box { position: relative; max-width: 560px; }
.search-box input {
    width: 100%;
    height: 54px;
    padding: 0 48px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 15px;
    outline: none;
    box-shadow: 0 8px 28px rgba(17, 52, 38, .05);
    transition: border-color .2s, box-shadow .2s;
}
.search-box input:focus { border-color: var(--leaf-500); box-shadow: 0 0 0 4px rgba(71,165,95,.13); }
.search-icon { position: absolute; left: 19px; top: 18px; width: 16px; height: 16px; border: 2px solid var(--muted); border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ''; position: absolute; width: 7px; height: 2px; right: -5px; bottom: -3px; background: var(--muted); transform: rotate(45deg); border-radius: 2px; }
.clear-button { position: absolute; right: 10px; top: 9px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--muted); background: transparent; font-size: 22px; }
.clear-button:hover { background: #eef2ed; }
.lookup-result { min-height: 19px; margin: 8px 0 0; color: var(--forest-700); font-size: 13px; font-weight: 600; }
.lookup-result.not-found { color: var(--danger); }

.queue-section { padding: 35px 0 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: clamp(23px, 4vw, 30px); }
.refresh-button, .text-button { border: 0; color: var(--forest-700); background: transparent; font-weight: 700; }
.refresh-button { display: flex; gap: 6px; padding: 10px; border-radius: 10px; }
.refresh-button:hover { background: #e9eee9; }
.refresh-button.spinning span { animation: spin .65s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.queue-list { display: grid; gap: 11px; }
.queue-card {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1.3fr) minmax(120px, .7fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 92px;
    padding: 14px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 18px rgba(17, 52, 38, .035);
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.queue-card.is-mine { border-color: var(--leaf-500); box-shadow: 0 0 0 3px rgba(71,165,95,.13), var(--shadow); transform: translateY(-1px); }
.queue-card.is-first { color: #fff; background: linear-gradient(115deg, var(--forest-900), var(--forest-800)); border-color: transparent; }
.queue-card.is-first .card-label, .queue-card.is-first .arrival-time { color: rgba(255,255,255,.62); }
.position-badge { display: grid; place-items: center; width: 52px; height: 52px; color: var(--forest-800); background: #edf5e7; border-radius: 15px; font-family: 'Segoe UI', sans-serif; font-size: 21px; font-weight: 800; }
.is-first .position-badge { color: var(--forest-900); background: var(--lime-200); }
.truck-id strong, .equipment strong { display: block; font-family: 'Segoe UI', sans-serif; font-size: 17px; }
.card-label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.arrival-time { margin-top: 3px; color: var(--muted); font-size: 12px; }
.status-badge { justify-self: end; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: var(--forest-700); background: #eaf5e7; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status-badge::before { content: ''; width: 6px; height: 6px; background: var(--leaf-500); border-radius: 50%; }
.is-first .status-badge { color: var(--lime-200); background: rgba(255,255,255,.11); }
.is-first .status-badge::before { background: var(--lime-200); animation: pulse-light 2s infinite; }
@keyframes pulse-light { 50% { box-shadow: 0 0 0 5px rgba(217,237,170,0); } }

.loading-card { min-height: 92px; overflow: hidden; background: #eef1ea; }
.loading-card::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: shimmer 1.5s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

.last-update { margin: 15px 2px 0; color: var(--muted); font-size: 12px; text-align: right; }
.alert { display: flex; flex-direction: column; gap: 3px; margin: 12px 0; padding: 13px 15px; color: var(--forest-800); background: #edf5e7; border: 1px solid #d5e9d1; border-radius: 12px; font-size: 13px; }
.error-alert, .alert.error { color: #842f2f; background: #fff0ee; border-color: #f2cfca; }

.empty-state { padding: 45px 20px; text-align: center; background: var(--paper); border: 1px dashed #cbd8ce; border-radius: var(--radius-lg); }
.empty-state > span { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; color: var(--forest-700); background: #eaf5e7; border-radius: 50%; font-size: 24px; }
.empty-state h3, .empty-state h2 { margin: 0; }
.empty-state p { margin: 7px 0 0; color: var(--muted); }

.safety-note { display: flex; gap: 14px; margin-top: 28px; margin-bottom: 45px; padding: 18px 20px; background: #fbf4e4; border: 1px solid #eeddb9; border-radius: var(--radius-md); }
.safety-icon { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; color: #fff; background: var(--warning); border-radius: 50%; font-weight: 800; }
.safety-note strong { font-size: 14px; }
.safety-note p { margin: 3px 0 0; color: #756142; font-size: 13px; line-height: 1.45; }

footer { display: flex; justify-content: space-between; padding: 24px 0 calc(24px + var(--safe-bottom)); color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
footer a { color: var(--muted); }

/* Administração */
.admin-page { min-height: 100vh; background: #eef1e9; }
.admin-header { color: #fff; background: var(--forest-950); }
.brand-light { color: white; }
.operator-label { margin-right: auto; margin-left: 25px; padding-left: 25px; border-left: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.66); font-size: 13px; }
.text-button.light { color: white; }
.admin-main { width: min(1040px, 90vw); margin: 0 auto; padding: 55px 0 calc(70px + var(--safe-bottom)); }
.login-panel { width: min(430px, 100%); margin: 30px auto; padding: 38px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.lock-mark { position: relative; width: 51px; height: 45px; margin-bottom: 25px; background: #e8f3e5; border-radius: 14px; }
.lock-mark::before { content: ''; position: absolute; left: 15px; top: -10px; width: 21px; height: 25px; border: 4px solid var(--forest-700); border-bottom: 0; border-radius: 14px 14px 0 0; }
.lock-mark::after { content: ''; position: absolute; left: 23px; top: 20px; width: 6px; height: 11px; background: var(--forest-700); border-radius: 4px; }
.login-panel h1 { margin: 0; font-size: 29px; }
.login-panel > p:not(.eyebrow) { margin: 9px 0 27px; color: var(--muted); line-height: 1.5; }
.login-panel label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.password-field { position: relative; }
.password-field input { width: 100%; height: 52px; padding: 0 73px 0 14px; border: 1px solid var(--line); border-radius: 12px; outline: 0; }
.password-field input:focus { border-color: var(--leaf-500); box-shadow: 0 0 0 4px rgba(71,165,95,.13); }
.password-field button { position: absolute; right: 6px; top: 7px; height: 38px; padding: 0 10px; border: 0; color: var(--forest-700); background: transparent; font-size: 12px; font-weight: 700; }
.form-error { margin: 8px 0 0; color: var(--danger); font-size: 12px; }
.primary-button, .secondary-button, .danger-button { min-height: 43px; padding: 0 18px; border-radius: 11px; font-weight: 700; border: 1px solid transparent; }
.primary-button { color: white; background: var(--forest-700); box-shadow: 0 7px 18px rgba(29,104,72,.18); }
.primary-button:hover:not(:disabled) { background: var(--forest-800); }
.primary-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.secondary-button { color: var(--forest-700); background: white; border-color: var(--line); }
.danger-button { color: var(--danger); background: #fff; border-color: #eccaca; }
.full-button { width: 100%; margin-top: 19px; }
.back-link { display: block; margin-top: 22px; color: var(--muted); font-size: 12px; text-align: center; }

.dashboard-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 28px; }
.dashboard-heading h1 { margin: 0; font-size: clamp(30px, 5vw, 45px); }
.dashboard-heading p:last-child { max-width: 650px; margin: 9px 0 0; color: var(--muted); }
.dashboard-count { flex: 0 0 auto; min-width: 105px; padding: 13px; background: white; border: 1px solid var(--line); border-radius: 15px; text-align: center; }
.dashboard-count strong, .dashboard-count span { display: block; }
.dashboard-count strong { font-family: 'Segoe UI', sans-serif; font-size: 29px; line-height: 1; }
.dashboard-count span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; color: var(--muted); font-size: 12px; }
.admin-queue { display: grid; gap: 9px; }
.admin-card { display: grid; grid-template-columns: 36px 52px minmax(0, 1fr) minmax(110px, .55fr) auto; align-items: center; gap: 14px; min-height: 78px; padding: 11px 13px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 3px 12px rgba(17,52,38,.03); }
.admin-card.dragging { opacity: .5; }
.admin-card.drag-over { border-color: var(--leaf-500); transform: translateY(2px); }
.drag-handle { color: #9caaa4; font-size: 20px; letter-spacing: -5px; cursor: grab; user-select: none; }
.admin-position { display: grid; place-items: center; width: 44px; height: 44px; color: var(--forest-800); background: #eef5e9; border-radius: 12px; font-family: 'Segoe UI', sans-serif; font-weight: 800; }
.admin-card strong { display: block; }
.admin-card small { color: var(--muted); }
.move-buttons { display: flex; gap: 5px; }
.move-buttons button { width: 38px; height: 38px; border: 1px solid var(--line); color: var(--forest-700); background: white; border-radius: 9px; font-size: 17px; }
.move-buttons button:disabled { color: #bec7c2; cursor: not-allowed; }
.admin-actions { position: sticky; bottom: 15px; display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; padding: 13px; background: rgba(238,241,233,.92); border: 1px solid rgba(220,228,221,.8); border-radius: 15px; backdrop-filter: blur(10px); }
.empty-state.compact { padding: 30px; }

.dialog-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8,28,21,.62); backdrop-filter: blur(3px); }
.dialog { width: min(420px, 100%); padding: 27px; background: white; border-radius: 19px; box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.dialog h2 { margin: 0; }
.dialog p { color: var(--muted); line-height: 1.5; }
.dialog > div { display: flex; justify-content: flex-end; gap: 9px; margin-top: 23px; }

[hidden] { display: none !important; }

@media (max-width: 720px) {
    .site-header, .admin-header { min-height: 64px; padding: 0 5vw; }
    .operator-label { display: none; }
    .hero { grid-template-columns: 1fr; gap: 30px; align-items: start; padding-top: 38px; padding-bottom: 36px; }
    .queue-summary { width: 100%; min-width: 0; }
    .lookup-section { padding-top: 22px; }
    .queue-section { padding-top: 24px; }
    .queue-card { grid-template-columns: 51px 1fr auto; gap: 13px; min-height: 99px; padding: 13px; }
    .position-badge { grid-row: 1 / span 2; width: 47px; height: 56px; }
    .equipment { grid-column: 2; }
    .equipment strong { font-size: 14px; }
    .equipment .card-label { display: inline; margin-right: 5px; }
    .status-badge { grid-column: 3; grid-row: 1 / span 2; align-self: center; padding: 7px 9px; }
    .arrival-time { display: none; }
    .admin-main { width: min(94vw, 1040px); padding-top: 34px; }
    .login-panel { padding: 29px 23px; }
    .dashboard-heading { align-items: center; }
    .dashboard-heading p:last-child { font-size: 13px; }
    .dashboard-count { min-width: 82px; }
    .admin-card { grid-template-columns: 29px 44px minmax(0, 1fr) auto; gap: 9px; }
    .admin-equipment { grid-column: 3; }
    .admin-actions { justify-content: stretch; }
    .admin-actions button { flex: 1; padding: 0 10px; font-size: 12px; }
}

@media (max-width: 430px) {
    .brand { font-size: 15px; }
    .brand-mark { transform: scale(.9) rotate(-8deg); transform-origin: left center; margin-right: -3px; }
    .hero-copy > p:last-child { font-size: 14px; }
    .section-heading { align-items: center; }
    .refresh-button { font-size: 12px; }
    .queue-card { grid-template-columns: 48px minmax(0,1fr); }
    .status-badge { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 2px; }
    .position-badge { grid-row: 1 / span 3; }
    .dashboard-heading { align-items: flex-start; }
    .dashboard-heading h1 { font-size: 30px; }
    .dashboard-heading p:last-child { display: none; }
    .admin-card { grid-template-columns: 37px minmax(0, 1fr) auto; }
    .drag-handle { display: none; }
    .admin-position { width: 37px; height: 48px; grid-row: 1 / span 2; }
    .admin-truck { grid-column: 2; }
    .admin-equipment { grid-column: 2; }
    .move-buttons { grid-column: 3; grid-row: 1 / span 2; flex-direction: column; }
    .move-buttons button { width: 36px; height: 34px; }
    footer { flex-direction: column; gap: 8px; }
}

/* Versão operacional enxuta. */
.hero { padding-top: 24px; padding-bottom: 24px; }
.hero h1 { font-size: clamp(28px, 5vw, 38px); }
.queue-section { padding-top: 26px; }
.section-heading { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: 22px; }
.login-panel form { margin-top: 25px; }
.dashboard-heading { align-items: center; }
.queue-card { grid-template-columns: 58px minmax(0, 1.3fr) minmax(110px, .6fr) auto; }
.status-badge { min-width: 70px; justify-content: center; font-size: 12px; }

@media (max-width: 720px) {
    .hero { gap: 18px; }
    .queue-card { grid-template-columns: 51px 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Direção visual industrial: simples, sóbria e funcional. */
.brand-placeholder {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: var(--forest-800);
    border: 2px solid #88a9bd;
    font-size: 19px;
    font-weight: 800;
}

.brand-logo { display: block; width: 148px; height: 48px; object-fit: contain; }

.brand-light .brand-placeholder { background: transparent; border-color: #b7cbd8; }
.live-pill { border-radius: 2px; background: #e5edf2; border-color: #b9cbd7; }
.live-dot { box-shadow: none; animation: none; background: #27824c; }
.hero {
    align-items: center;
    padding-top: 35px;
    padding-bottom: 35px;
    background: var(--forest-950);
}
.hero::after { display: none; }
.hero h1 { font-size: clamp(31px, 5vw, 46px); }
.hero-copy > p:last-child { margin-top: 8px; }
.operational-summary { position: relative; z-index: 1; display: flex; gap: 10px; }
.queue-summary {
    min-width: 215px;
    padding: 14px 17px;
    background: #173b59;
    border: 1px solid #496b83;
    border-radius: 2px;
    backdrop-filter: none;
}
.average-summary { min-width: 195px; }
.average-summary .summary-number { font-size: 25px; color: #fff; white-space: nowrap; }
.summary-number { color: #fff; }
.lookup-section { padding-top: 22px; }
.search-box input { border-radius: 2px; box-shadow: none; }
.search-box input:focus { box-shadow: 0 0 0 2px rgba(55,122,165,.2); }
.queue-card {
    min-height: 78px;
    padding: 10px 14px;
    border-radius: 2px;
    border-left: 5px solid #8ca2b2;
    box-shadow: none;
}
.queue-card.is-first {
    color: var(--ink);
    background: #dce9f1;
    border: 1px solid #90adbf;
    border-left: 5px solid var(--forest-700);
}
.queue-card.has-analysis { border-left-color: #c57b19; }
.queue-card.is-first .card-label,
.queue-card.is-first .arrival-time { color: var(--muted); }
.position-badge,
.is-first .position-badge {
    width: 48px;
    height: 48px;
    color: #fff;
    background: var(--forest-800);
    border-radius: 2px;
}
.truck-id strong { font-size: 21px; }
.card-status { justify-self: end; display: flex; align-items: flex-end; gap: 5px; flex-direction: column; }
.status-badge,
.is-first .status-badge {
    color: var(--forest-900);
    background: #e6edf2;
    border: 1px solid #c0cdd5;
    border-radius: 2px;
}
.status-badge::before,
.is-first .status-badge::before { display: none; }
.analysis-badge {
    padding: 4px 7px;
    color: #77460e;
    background: #fff2d9;
    border: 1px solid #dfbd82;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
.safety-note { border-radius: 2px; }
.empty-state { border-radius: 2px; }
.admin-header { color: var(--ink); background: #fff; border-bottom: 4px solid #3b789e; }
.admin-header .brand-light { color: var(--forest-900); }
.admin-header .operator-label { color: var(--muted); border-left-color: var(--line); }
.admin-header .text-button.light { color: var(--forest-700); }
.operator-user { margin-right: 16px; color: var(--muted); font-size: 12px; }
.login-panel { border-radius: 3px; box-shadow: none; border-top: 5px solid var(--forest-700); }
.standard-input {
    width: 100%;
    height: 52px;
    margin-bottom: 17px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 2px;
    outline: 0;
}
.standard-input:focus { border-color: var(--forest-700); box-shadow: 0 0 0 2px rgba(55,122,165,.18); }
.password-field input,
.primary-button,
.secondary-button,
.danger-button,
.dashboard-count,
.admin-card,
.move-buttons button,
.admin-actions,
.dialog { border-radius: 2px; box-shadow: none; }
.admin-card { min-height: 68px; border-left: 4px solid #7c94a5; }
.admin-card.analysis-required { border-left-color: #c57b19; }
.admin-position { border-radius: 2px; background: var(--forest-800); color: #fff; }
.admin-actions { background: #e4e9ed; backdrop-filter: none; }

@media (max-width: 720px) {
    .operational-summary { width: 100%; }
    .queue-summary { min-width: 0; flex: 1; }
    .queue-card { min-height: 92px; }
    .card-status { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 430px) {
    .operational-summary { flex-direction: column; }
    .queue-summary { width: 100%; }
    .card-status { grid-column: 2; grid-row: 3; justify-self: start; align-items: flex-start; margin-top: 3px; }
}
