:root {
    --ink: #123047;
    --ink-soft: #4f6b80;
    --mist: #ecf6fb;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --primary: #0f8b8d;
    --primary-deep: #0b5f66;
    --accent: #f4a261;
    --accent-soft: #ffd8b8;
    --success-soft: #d8f3dc;
    --border-soft: rgba(18, 48, 71, 0.1);
    --shadow: 0 24px 70px rgba(18, 48, 71, 0.14);
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Candara", "Trebuchet MS", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(244, 162, 97, 0.28), transparent 34%),
        radial-gradient(circle at top right, rgba(15, 139, 141, 0.24), transparent 28%),
        linear-gradient(140deg, #edf7fb 0%, #f8fbfd 50%, #fff4ea 100%);
}

.site-shell {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.site-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.site-glow-left {
    top: -120px;
    left: -100px;
    background: rgba(244, 162, 97, 0.22);
}

.site-glow-right {
    top: 220px;
    right: -120px;
    background: rgba(15, 139, 141, 0.16);
}

.site-header,
main {
    position: relative;
    z-index: 1;
}

.site-header {
    padding: 1.4rem 0 0.5rem;
}

.navbar {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(16, 46, 73, 0.96), rgba(11, 95, 102, 0.9));
    box-shadow: var(--shadow);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #ffcc94);
    color: #472410;
    font-weight: 800;
}

.hero-card,
.panel-card,
.touch-card,
.summary-card,
.table-shell,
.form-shell {
    border: 1px solid var(--border-soft);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-card,
.panel-card,
.touch-card,
.form-shell {
    padding: 2rem;
}

.touch-card {
    min-height: 100%;
}

.hero-card {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(236, 246, 251, 0.96)),
        linear-gradient(130deg, rgba(255, 216, 184, 0.3), transparent 55%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    color: var(--primary-deep);
    background: rgba(15, 139, 141, 0.08);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.eyebrow {
    color: var(--primary-deep);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.display-compact {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
}

.lead-soft {
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.metric-box {
    padding: 1rem 1.15rem;
    border-radius: 20px;
    background: var(--surface-strong);
    border: 1px solid var(--border-soft);
    min-height: 100%;
}

.metric-label {
    display: block;
    color: var(--ink-soft);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 800;
}

.metric-value-schedule {
    font-size: 1rem;
    line-height: 1.4;
}

.touch-title {
    font-size: 1.75rem;
    font-weight: 800;
}

.touch-subtitle {
    color: var(--ink-soft);
}

.touch-input {
    height: 66px;
    border-radius: 18px;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(15, 139, 141, 0.24);
}

.touch-select {
    height: 66px;
    border-radius: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 1px solid rgba(15, 139, 141, 0.24);
}

.touch-input:focus,
.form-control:focus,
.custom-select:focus {
    border-color: rgba(15, 139, 141, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(15, 139, 141, 0.12);
}

.touch-action {
    min-height: 86px;
    border-radius: 22px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-entry {
    color: #083d40;
    background: linear-gradient(135deg, #8ad6c9, #c9f3ec);
    border: none;
}

.btn-exit {
    color: #7a3d00;
    background: linear-gradient(135deg, #ffbe7a, #ffe1bd);
    border: none;
}

.btn-entry:hover,
.btn-exit:hover,
.btn-primary:hover,
.btn-info:hover,
.btn-success:hover,
.btn-warning:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-info,
.btn-success,
.btn-warning {
    border: none;
    border-radius: 16px;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #16a7aa);
}

.btn-info {
    color: #fff;
    background: linear-gradient(135deg, #2b74b8, #4ea5eb);
}

.btn-success {
    background: linear-gradient(135deg, #3f9967, #58c58d);
}

.btn-warning {
    color: #593000;
    background: linear-gradient(135deg, #f2b15d, #ffd28f);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 139, 141, 0.1);
    color: var(--primary-deep);
    font-weight: 700;
}

.summary-card {
    padding: 1.5rem;
}

.summary-card h5,
.panel-card h5,
.form-shell h5 {
    font-weight: 800;
}

.table-shell {
    padding: 1rem;
}

.table-shell .table {
    margin-bottom: 0;
}

.table-shell .table th {
    border-top: none;
    font-size: 0.8rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.table-shell .table td,
.table-shell .table th {
    vertical-align: middle;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.section-copy {
    color: var(--ink-soft);
}

.mini-note {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.list-clean {
    padding-left: 1.15rem;
    color: var(--ink-soft);
}

.table .badge-soft {
    background: rgba(15, 139, 141, 0.1);
    color: var(--primary-deep);
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    font-weight: 700;
}

.footer-note {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .site-header {
        padding-top: 1rem;
    }

    .navbar {
        border-radius: 20px;
    }

    .hero-card,
    .panel-card,
    .touch-card,
    .form-shell {
        padding: 1.35rem;
    }
}
