@import "./auth-theme.css";
@import "./header.css";

:root {
    --primary: #0a84ff;
    --primary-deep: color-mix(in srgb, var(--primary) 80%, black);
    --primary-soft: color-mix(in srgb, var(--primary) 15%, transparent);
    --primary-hover: color-mix(in srgb, var(--primary) 90%, black);
    --secondary: #14b8a6;
    --secondary-soft: color-mix(in srgb, var(--secondary) 15%, transparent);
    --accent: #34c759;
    --bg-base: color-mix(in srgb, var(--primary) 5%, #fafafa);
    --bg-tint: color-mix(in srgb, var(--primary) 8%, #f0f0f0);
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --text-main: #111827;
    --text-soft: #5b6472;
    --text-faint: color-mix(in srgb, var(--primary) 40%, #9ca3af);
    --border: rgba(148, 163, 184, 0.18);
    --border-strong: color-mix(in srgb, var(--primary) 26%, transparent);
    --danger: #dc2626;
    --danger-soft: #fee2e2;
    --success: #16a34a;
    --success-soft: #dcfce7;
    --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.07);
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 16px;
}








* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(10, 132, 255, 0.08), transparent 30%),
        linear-gradient(180deg, #f7f9fc 0%, #f3f6fb 48%, #eef2f7 100%);
    color: var(--text-main);
    -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    appearance: none;
    background: none;
    border: 0;
}

.hidden {
    display: none !important;
}

.no-print {
    print-color-adjust: exact;
}

.bg-vibrant-pattern {
    background-image:
        radial-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
    background-size: 28px 28px, auto;
}

.app-container {
    position: relative;
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(248, 250, 252, 0.8);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(22px);
}

.header-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0 calc(132px + env(safe-area-inset-bottom));
}

.bottom-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 30px;
    background: rgba(250, 252, 255, 0.88);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(26px) saturate(1.25);
}

.nav-item {
    display: flex;
    min-height: 62px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 22px;
    color: #7b8797;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nav-item i {
    font-size: 1.35rem;
}

.nav-item.active {
    background: rgba(10, 132, 255, 0.12);
    color: var(--primary-deep);
    box-shadow: inset 0 0 0 1px rgba(10, 132, 255, 0.14);
}

.nav-item:active {
    transform: scale(0.97);
}

.screen {
    width: min(960px, calc(100% - 28px));
    margin: 0 auto;
    padding: 6px 0 24px;
}

.stack {
    display: grid;
    gap: 16px;
}

.hero-panel,
.card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(251, 146, 60, 0.14);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
}

.card {
    margin-bottom: 0;
}

.hero-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 30%),
        linear-gradient(160deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    border: none;
    min-height: 132px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.hero-panel::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.hero-kicker,
.section-kicker,
.meta-label {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-kicker {
    color: rgba(255, 247, 237, 0.9);
}

.hero-title,
.panel-title,
.metric-value,
.detail-title,
.section-title {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero-title {
    margin-top: 10px;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 0.98;
}

.hero-body,
.muted-text,
.panel-link {
    color: rgba(255, 255, 255, 0.92);
}

.hero-body {
    max-width: 34rem;
    margin: 12px 0 0;
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 650;
}

.metrics-grid,
.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.metric-card {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.metric-card--warm {
    border-left: 5px solid var(--primary);
}

.metric-card--success {
    border-left: 6px solid var(--success);
}

.metric-label {
    margin: 0;
    color: var(--text-faint);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.metric-value {
    margin-top: 10px;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: var(--text-main);
}

.metric-value--success {
    color: var(--success);
}

.metric-value--small {
    font-size: 1.15rem;
}

.section-card,
.list-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-card);
}

.section-header,
.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.section-title,
.panel-title {
    font-size: 1.28rem;
    color: var(--text-main);
}

.section-link,
.text-button {
    padding: 0;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 900;
}

.list-stack,
.space-y-2,
.space-y-4 {
    display: grid;
}

.list-stack,
.space-y-4 {
    gap: 16px;
}

.space-y-2 {
    gap: 12px;
}

.project-row,
.data-row,
.catalog-item,
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 16px;
    border-radius: 22px;
    background: rgba(247, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: transform 0.18s ease, background 0.18s ease;
}

.project-row:hover,
.catalog-item:hover {
    background: #ffffff;
}

.project-row:active {
    transform: scale(0.985);
}

.row-title,
.catalog-title,
.timeline-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 900;
    color: var(--text-main);
}

.row-subtitle,
.timeline-copy,
.catalog-meta,
.detail-copy,
.support-copy {
    margin: 6px 0 0;
    color: var(--text-soft);
    font-size: 0.97rem;
    line-height: 1.45;
}

.status-pill,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-active,
.status-pill--active {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-approved,
.status-pill--approved {
    background: #dcfce7;
    color: #166534;
}

.badge-draft,
.status-pill--draft {
    background: #fef3c7;
    color: #92400e;
}

.btn {
    display: inline-flex;
    width: auto;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:active,
.icon-button:active,
.chip-button:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-deep), var(--primary));
    color: #fff;
    box-shadow: 0 14px 26px rgba(10, 132, 255, 0.22);
}

.btn-secondary {
    background: #f3f7fc;
    color: #1f2937;
}

.btn-success {
    background: linear-gradient(135deg, #047857, #10b981);
    color: #fff;
    box-shadow: 0 16px 28px rgba(5, 150, 105, 0.2);
}

.btn-danger {
    background: var(--danger-soft);
    color: #991b1b;
}

.btn-small {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
}

.btn-quiet {
    background: #f8fafc;
    color: var(--text-soft);
}

.w-full {
    width: 100%;
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #f2f6fb;
    color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
    transition: transform 0.18s ease, background 0.18s ease;
}

.icon-button--neutral {
    background: #f8fafc;
    color: #475569;
}

.detail-hero {
    background: linear-gradient(160deg, #0f172a, #1f2937);
    color: #fff;
    border: none;
}

.detail-title {
    font-size: 2rem;
    color: #fff;
}

.detail-meta {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.detail-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-copy-strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

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

.section-tabs--wide {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chip-button {
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 18px;
    background: #f3f6fa;
    color: #334155;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.chip-button.active {
    background: linear-gradient(135deg, #111827, #334155);
    color: #fff;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 2px solid rgba(251, 146, 60, 0.18);
    background: #fffaf7;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.12);
}

.dialog-card {
    width: min(92vw, 520px);
    border-radius: 28px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
    border-top: 8px solid var(--primary);
}

.dialog-card--danger {
    border-top-color: var(--danger);
}

.dialog-title {
    margin: 0 0 14px;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-main);
}

.dialog-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dialog-stack {
    display: grid;
    gap: 14px;
}

.dialog-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: min(100%, 860px);
    max-height: min(90vh, 820px);
    border-radius: 28px 28px 18px 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
    transform: translateY(100%);
    transition: transform 0.24s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.catalog-modal-panel {
    min-height: 72vh;
}

.empty-state {
    padding: 20px;
    text-align: center;
    border-radius: var(--radius-md);
    background: rgba(248, 250, 252, 0.92);
    border: 1.5px dashed rgba(148, 163, 184, 0.3);
}

.settings-group {
    padding-top: 6px;
}

.settings-group + .settings-group {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding-top: 18px;
}

.settings-group-header {
    background: #ffffff;
}

.settings-item-row {
    background: rgba(243, 246, 250, 0.88);
}

.inline-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.inline-actions--tight {
    gap: 8px;
}

/* Brand colour swatches */
.brand-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.15s, border-color 0.15s;
    padding: 0;
}
.brand-swatch:hover {
    transform: scale(1.12);
}
.brand-swatch[data-active="true"] {
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.9) inset;
}
.brand-swatch__check {
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    display: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.brand-swatch[data-active="true"] .brand-swatch__check {
    display: block;
}

.profile-shell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-logo {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary-soft), #ffffff);
    color: var(--primary-deep);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 900;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

.profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.progress-shell {
    display: grid;
    gap: 10px;
}

.progress-track {
    height: 14px;
    border-radius: 999px;
    background: #e6edf7;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #34c759);
}

.insight-row {
    align-items: flex-start;
}

.boq-line-item {
    align-items: center;
}

.boq-line-actions {
    align-items: center;
}

.quantity-stepper {
    display: inline-flex;
    align-items: center;
    border-radius: 16px;
    background: #eef4fb;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
    overflow: hidden;
}

.stepper-button,
.stepper-value {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #1f2937;
}

.stepper-button {
    font-size: 1.15rem;
}

.stepper-value {
    min-width: 46px;
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 1px 0 0 rgba(148, 163, 184, 0.14), inset -1px 0 0 rgba(148, 163, 184, 0.14);
}

.sos-footer {
    padding-bottom: calc(132px + env(safe-area-inset-bottom)) !important;
}

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

.toast-container {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: grid;
    gap: 10px;
    width: min(92vw, 480px);
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 22px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 900;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.2);
    animation: slideDown 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

.bg-slate-800 {
    background: #1e293b;
}

.bg-emerald-600 {
    background: #059669;
}

.bg-red-600 {
    background: #dc2626;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-sm { font-size: 0.95rem; }
.text-lg { font-size: 1.15rem; }
.text-xl { font-size: 1.32rem; }
.text-2xl { font-size: 1.8rem; }
.text-3xl { font-size: 2.3rem; }
.text-xs { font-size: 0.75rem; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 800; }
.font-medium { font-weight: 650; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-widest { letter-spacing: 0.16em; }
.p-2 { padding: 12px; }
.p-4 { padding: 20px; }
.px-4 { padding-left: 20px; padding-right: 20px; }
.py-2 { padding-top: 12px; padding-bottom: 12px; }
.py-3 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 10px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 30px; }
.pt-4 { padding-top: 16px; }
.rounded-full { border-radius: 999px; }
.rounded-xl { border-radius: 20px; }
.rounded-2xl { border-radius: 28px; }
.shadow-sm { box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); }
.shadow-lg { box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12); }
.shadow-xl { box-shadow: 0 28px 58px rgba(15, 23, 42, 0.14); }
.border-none { border: none !important; }
.border-b { border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.border-t { border-top: 1px solid rgba(148, 163, 184, 0.14); }
.border-2 { border-width: 2px; border-style: solid; }
.border-l-4 { border-left-width: 6px; border-left-style: solid; }
.border-orange-500 { border-color: var(--primary); }
.border-emerald-500 { border-color: var(--success); }
.border-slate-200 { border-color: rgba(148, 163, 184, 0.22); }
.border-blue-200 { border-color: rgba(96, 165, 250, 0.28); }
.bg-white { background: #fff; }
.bg-slate-50 { background: #f8fafc; }
.bg-orange-50 { background: #fff3e6; }
.bg-orange-100 { background: #ffe7d1; }
.bg-blue-100 { background: #dbeafe; }
.text-white { color: #fff; }
.text-orange-100 { color: #ffedd5; }
.text-orange-50 { color: #fff7ed; }
.text-orange-600 { color: var(--primary); }
.text-orange-700 { color: #c2410c; }
.text-orange-800 { color: #9a3412; }
.text-blue-800 { color: #1e40af; }
.text-emerald-50 { color: #ecfdf5; }
.text-emerald-100 { color: #d1fae5; }
.text-emerald-600 { color: var(--success); }
.text-red-500 { color: var(--danger); }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: var(--text-faint); }
.text-slate-500 { color: var(--text-soft); }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: var(--text-main); }
.flex { display: flex; }
.grid { display: grid; }
.flex-1 { flex: 1 1 auto; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 10px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.relative { position: relative; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.transition,
.transition-transform { transition: all 0.18s ease; }
.hover\:bg-orange-200:hover { background: #ffd4b1; }
.hover\:bg-slate-200:hover { background: #e2e8f0; }
.drop-shadow-md { text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body .sos-fb-btn {
    bottom: calc(110px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 767px) {
    .metrics-grid,
    .metrics-grid-4,
    .two-column-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-tabs {
        grid-template-columns: 1fr;
    }

    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .inline-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .profile-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .boq-line-item {
        align-items: flex-start;
    }

    .screen {
        width: calc(100% - 20px);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .bottom-nav {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 8px;
    }

    .nav-item {
        min-height: 62px;
        font-size: 0.72rem;
    }
}

@media (min-width: 768px) {
    body .sos-fb-btn {
        bottom: 24px !important;
    }
}

@media print {
    @page {
        margin: 1cm;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .no-print,
    .bottom-nav,
    .header,
    .toast-container,
    .modal-overlay,
    .sos-fb-btn,
    .sos-fb-overlay,
    .sos-fb-drawer,
    .sos-footer {
        display: none !important;
    }

    .content-area {
        overflow: visible;
        padding: 0;
    }

    .card,
    .section-card,
    .hero-panel {
        box-shadow: none !important;
        background: #fff !important;
        border: 1px solid #e2e8f0 !important;
    }
}
