/*
 * Ops Board - Free light dashboard/admin template
 * Source: https://templates.inuno.app
 * Copyright (c) 2026 templates.inuno.app
 *
 * Free license note:
 * This free template may be used privately and commercially,
 * but the attribution/backlink to https://templates.inuno.app must remain.
 */

:root {
    --bg: #f4f8fb;
    --panel: #ffffff;
    --soft: #eaf2f8;
    --ink: #122033;
    --muted: #69788a;
    --line: rgba(20, 39, 60, 0.13);
    --accent: #0f766e;
    --blue: #2563eb;
    --orange: #f97316;
    --red: #e11d48;
    --green: #16a34a;
    --shadow: 0 24px 70px rgba(50, 70, 92, 0.15);
    --radius: 8px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 0%, rgba(15, 118, 110, 0.13), transparent 28rem),
        radial-gradient(circle at 92% 8%, rgba(37, 99, 235, 0.12), transparent 30rem),
        linear-gradient(135deg, #f4f8fb, #edf6f7 48%, #f8fbff);
    font-family: var(--font);
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.topbar,
.brand,
.topbar nav,
.site-footer,
.site-footer nav,
.social-links,
.panel-head {
    display: flex;
    align-items: center;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    justify-content: space-between;
    gap: 18px;
    width: min(1320px, calc(100% - 44px));
    min-height: 82px;
    margin: 0 auto;
    padding: 0 18px;
    background: rgba(244, 248, 251, 0.84);
    backdrop-filter: blur(18px);
}

.brand {
    gap: 11px;
    font-weight: 950;
}

.brand span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    font-size: 12px;
}

.topbar nav {
    gap: 8px;
}

.topbar nav a,
.topbar button,
.panel-head a,
.panel-head button {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    padding: 0 13px;
    font-weight: 900;
}

.topbar nav a.is-active,
.topbar nav a:hover {
    border-color: rgba(15, 118, 110, 0.35);
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent);
}

.topbar button,
.panel-head button {
    background: linear-gradient(135deg, var(--orange), #fb6b10);
    color: #fff;
}

.workspace,
.site-footer,
.simple-page {
    width: min(1320px, calc(100% - 44px));
    margin: 0 auto;
}

.workspace {
    display: grid;
    gap: 12px;
    padding: 12px 0 22px;
}

.hero-panel,
.metrics article,
.panel,
.simple-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
    gap: 18px;
    min-height: 330px;
    padding: 22px;
    overflow: hidden;
}

.hero-panel h1 {
    max-width: 760px;
    margin: 14px 0;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 0.94;
}

.hero-panel p {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.hero-panel img {
    min-height: 286px;
    border-radius: var(--radius);
}

.eyebrow,
.panel-head span,
.metrics span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.metrics article {
    min-height: 120px;
    padding: 16px;
}

.metrics strong {
    display: block;
    margin: 13px 0 7px;
    font-size: clamp(30px, 3vw, 44px);
}

.metrics small {
    color: var(--muted);
    font-weight: 800;
}

.layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 12px;
}

.panel {
    min-width: 0;
    padding: 18px;
}

.panel-head {
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.panel-head h2 {
    margin: 4px 0 0;
    font-size: 24px;
}

.lanes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.lanes section {
    display: grid;
    gap: 10px;
    min-height: 320px;
    align-content: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
    padding: 12px;
}

.lanes h3 {
    margin: 0 0 2px;
    font-size: 17px;
}

.lanes article,
.schedule-panel li,
.legal-list article,
details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    padding: 12px;
}

.lanes strong,
.lanes span,
.schedule-panel time,
.schedule-panel strong {
    display: block;
}

.lanes span,
.schedule-panel time {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.schedule-panel ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.table-panel {
    grid-column: 1 / -1;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

b.ok,
b.watch,
b.risk {
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
}

b.ok { background: rgba(22, 163, 74, 0.1); color: var(--green); }
b.watch { background: rgba(249, 115, 22, 0.12); color: var(--orange); }
b.risk { background: rgba(225, 29, 72, 0.1); color: var(--red); }

.simple-page {
    display: grid;
    min-height: calc(100vh - 160px);
    padding: 24px 0;
}

.simple-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
    gap: 24px;
    align-self: start;
    padding: clamp(22px, 4vw, 44px);
}

.simple-panel.text-only {
    display: grid;
    max-width: 900px;
    grid-template-columns: 1fr;
}

.simple-panel.text-with-media {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
}

.simple-media {
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--radius);
}

.simple-panel form {
    grid-column: 1 / -1;
}

.simple-panel h1 {
    max-width: 760px;
    margin: 12px 0;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 0.96;
}

.simple-panel p {
    color: var(--muted);
    line-height: 1.65;
}

form,
.legal-list,
.text-only {
    display: grid;
    gap: 12px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    padding: 12px;
}

form button {
    justify-self: start;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    padding: 0 16px;
    font-weight: 950;
}

summary {
    cursor: pointer;
    font-weight: 950;
}

.site-footer {
    justify-content: space-between;
    gap: 18px;
    min-height: 76px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.site-footer p {
    margin: 0;
}

.site-footer nav,
.social-links {
    gap: 8px;
}

.site-footer nav a {
    font-weight: 900;
}

.social-links a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 980px) {
    .topbar,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .hero-panel,
    .layout-grid,
    .simple-panel,
    .simple-panel.text-with-media {
        grid-template-columns: 1fr;
    }

    .metrics,
    .lanes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .topbar,
    .workspace,
    .site-footer,
    .simple-page {
        width: min(100% - 24px, 1320px);
    }

    .topbar nav {
        flex-wrap: wrap;
    }

    .metrics,
    .lanes {
        grid-template-columns: 1fr;
    }

    th,
    td {
        padding: 10px 7px;
        font-size: 12px;
    }
}
