body { background: #f3f6fb; color: #152033; }
.topbar { background: rgba(255,255,255,.88); backdrop-filter: blur(12px); }
.brand-mark { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; color: #0f172a; text-decoration: none; }
.brand-mark:hover { color: #0f172a; }
.brand-mark__dot { width: .9rem; height: .9rem; border-radius: 999px; background: linear-gradient(135deg, #2563eb, #7c3aed); box-shadow: 0 0 0 6px rgba(37,99,235,.12); }
.locale-switch { display: inline-flex; padding: .25rem; background: #eef2ff; border-radius: 999px; }
.locale-switch__link { padding: .35rem .7rem; border-radius: 999px; color: #475569; text-decoration: none; font-size: .875rem; }
.locale-switch__link.is-active { background: #fff; color: #0f172a; box-shadow: 0 4px 14px rgba(15,23,42,.08); }
.topbar-user { flex-direction: column; align-items: flex-end; }
.topbar-user__name { font-weight: 600; color: #0f172a; }
.topbar-action { border-radius: .8rem; }
.app-shell { display: flex; min-height: calc(100vh - 65px); gap: 1.25rem; padding: 1.25rem; }
.app-sidebar { width: 290px; flex: 0 0 290px; }
.sidebar-card { position: sticky; top: 1.25rem; background: #ffffff; border: 1px solid rgba(148,163,184,.16); border-radius: 1.3rem; box-shadow: 0 18px 45px rgba(15,23,42,.06); padding: 1.1rem; }
.sidebar-kicker { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; margin-bottom: .9rem; }
.sidebar-user { padding: .95rem 1rem; background: linear-gradient(135deg, #f8fafc, #eef4ff); border-radius: 1rem; margin-bottom: 1rem; }
.sidebar-user__name { font-weight: 700; color: #0f172a; }
.sidebar-user__meta { color: #64748b; font-size: .9rem; word-break: break-word; }
.sidebar-link { color: #334155; border-radius: .95rem; padding: .85rem .95rem; font-weight: 500; }
.sidebar-link:hover { background: #f8fafc; color: #0f172a; }
.sidebar-link.active { background: linear-gradient(135deg, #eaf2ff, #f5f3ff); color: #0f172a; box-shadow: inset 0 0 0 1px rgba(59,130,246,.15); }
.app-content { flex: 1; min-width: 0; padding: .25rem; }
.nav-link { color: #334155; border-radius: .75rem; }
.card-soft { border: 1px solid rgba(148,163,184,.14); border-radius: 1.15rem; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05); }
.metric-card h3 { font-size: 2rem; margin: 0; }
.auth-wrap { min-height: calc(100vh - 65px); display:grid; place-items:center; padding:1.5rem; }
.auth-wrap--split { max-width: 1320px; }
.auth-surface { width: 100%; background: #fff; border-radius: 1.5rem; border: 1px solid rgba(148,163,184,.16); box-shadow: 0 24px 60px rgba(15,23,42,.08); }
.auth-panel { min-height: 720px; }
.auth-panel--info { background: radial-gradient(circle at top left, rgba(59,130,246,.20), transparent 35%), linear-gradient(160deg, #0f172a, #1e293b 55%, #334155); color: #fff; }
.auth-panel--form { background: #fff; }
.auth-panel__content { height: 100%; padding: 3rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.auth-panel__content--narrow { max-width: 620px; margin: 0 auto; }
.auth-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 1rem; }
.auth-lead { max-width: 34rem; color: rgba(255,255,255,.86); font-size: 1.05rem; }
.auth-benefits { display: flex; flex-wrap: wrap; gap: .75rem; }
.auth-benefit { padding: .7rem .95rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); font-size: .95rem; }
.auth-form-card { background: linear-gradient(180deg, #ffffff, #fbfdff); border: 1px solid rgba(148,163,184,.18); border-radius: 1.3rem; padding: 2rem; box-shadow: 0 12px 30px rgba(15,23,42,.04); }
.auth-card { width:100%; max-width: 480px; border:0; border-radius:1.25rem; box-shadow:0 20px 40px rgba(15,23,42,.08); }
.form-control, .form-select { min-height: 48px; border-radius: .9rem; border-color: #d7deea; }
.form-control:focus, .form-select:focus { border-color: #93c5fd; box-shadow: 0 0 0 .2rem rgba(59,130,246,.12); }
.btn { border-radius: .9rem; font-weight: 600; }
.btn-primary { box-shadow: 0 12px 24px rgba(37,99,235,.18); }
.btn-primary:hover { transform: translateY(-1px); }
.alert { border-radius: 1rem; }

.summary-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.summary-progress { height: .8rem; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.summary-progress .progress-bar { background: linear-gradient(90deg, #2563eb, #38bdf8); }
.summary-checklist li { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; color: #475569; }
.summary-checklist .status-dot { width: .8rem; height: .8rem; border-radius: 999px; background: #cbd5e1; display: inline-block; }
.summary-checklist .is-complete { color: #0f172a; font-weight: 500; }
.summary-checklist .is-complete .status-dot { background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .12); }
.summary-mini-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1rem; height: 100%; }
.summary-note-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 1rem; padding: 1rem; color: #1e3a8a; }
.summary-group-title { font-weight: 700; margin-bottom: .75rem; }
.summary-contact-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1rem; }
.empty-state { padding: 2rem; border: 1px dashed #cbd5e1; border-radius: 1rem; text-align: center; background: #f8fafc; }
.empty-state.compact { padding: 1.25rem; }
.small-link { font-size: .9rem; text-decoration: none; }
.small-link:hover { text-decoration: underline; }
@media print {
  .app-sidebar, .navbar, .btn, .small-link { display: none !important; }
  .app-content { padding: 0; }
  .card-soft { box-shadow: none; border: 1px solid #e2e8f0; }
  body { background: white; }
}
@media (max-width: 991px) {
  .app-shell { display:block; }
  .app-sidebar { width:auto; }
  .app-content { padding:1rem; }
}

.starter-card { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.25rem; }
.starter-icon { width: 2.5rem; height: 2.5rem; border-radius: .85rem; display: inline-flex; align-items: center; justify-content: center; background: #eff6ff; color: #1d4ed8; font-size: 1.25rem; margin-bottom: .9rem; }
.starter-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; margin-bottom: .5rem; }
.starter-banner { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; background: #f8fafc; border: 1px solid #dbeafe; border-radius: 1rem; }
.onboarding-tips li { padding-left: 1.1rem; position: relative; margin-bottom: .55rem; }
.onboarding-tips li::before { content: "•"; position: absolute; left: 0; color: #2563eb; }

.dashboard-hero { background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%); }
.dashboard-score-card { background: #ffffff; border: 1px solid #dbeafe; border-radius: 1rem; padding: 1.25rem; }
.dashboard-score { font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: .35rem; }
.progress-step { border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1rem; background: #fff; }
.progress-step.is-complete { background: #f8fafc; }
.recent-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px solid #e2e8f0; }
.recent-item:first-child { border-top: 0; padding-top: 0; }
.section-status-row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 0; border-top: 1px solid #e2e8f0; }
.section-status-row:first-child { border-top: 0; padding-top: 0; }
.onboarding-step-card.is-complete { border-color: #bbf7d0 !important; background: #f0fdf4 !important; }


.summary-hero-card { overflow: hidden; }
.summary-hero-starter { background: linear-gradient(135deg, rgba(13,110,253,0.04), rgba(13,110,253,0.01)); }
.summary-hero-progress { background: linear-gradient(135deg, rgba(255,193,7,0.10), rgba(255,255,255,0.01)); }
.summary-hero-ready { background: linear-gradient(135deg, rgba(25,135,84,0.10), rgba(255,255,255,0.01)); }
.summary-score-wrap { min-width: 120px; }
.summary-score-label { font-size: .8rem; color: var(--bs-secondary-color); }
.summary-score-value { font-size: 2rem; font-weight: 700; line-height: 1; }
.summary-progress { height: .8rem; background: rgba(15,23,42,.08); }
.summary-review-row { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.85rem 0; border-top:1px solid rgba(15,23,42,.08); }
.summary-review-row:first-child { border-top:0; padding-top:0; }
.summary-review-row.is-complete .fw-semibold { color: #198754; }
.summary-missing-card { padding: 1rem; border:1px solid rgba(15,23,42,.08); border-radius: 1rem; background:#fff; }
.success-state { border:1px dashed rgba(25,135,84,.35); border-radius:1rem; }


.asset-form-hero { background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%); }
.asset-form-security-note { max-width: 320px; padding: 1rem 1.1rem; background: rgba(255,255,255,.8); border: 1px solid #dbeafe; border-radius: 1rem; }
.asset-guide-card { position: sticky; top: 1.5rem; }
.asset-guide-list, .asset-checklist { padding-left: 1rem; margin-bottom: 0; }
.asset-guide-list li, .asset-checklist li { margin-bottom: .55rem; }
.asset-guide-block + .asset-guide-block { border-top: 1px solid #e2e8f0; padding-top: 1rem; margin-top: 1rem; }
.starter-chip { display:flex; gap:.9rem; align-items:center; padding:1rem; background:#f8fafc; border:1px solid #e2e8f0; border-radius:1rem; }
.starter-chip:hover { background:#eff6ff; border-color:#bfdbfe; }
.instruction-pill { display:inline-flex; align-items:center; padding:.35rem .65rem; border-radius:999px; background:#eff6ff; color:#1d4ed8; font-size:.85rem; font-weight:600; }
@media (max-width: 991px) { .asset-guide-card { position: static; } }


.contacts-hero { background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%); }
.contacts-hero-side { min-width: 220px; }
.contacts-stat-card { padding: 1.15rem 1.25rem; border: 1px solid #dbeafe; border-radius: 1rem; background: rgba(255,255,255,.85); }
.contacts-stat-number { font-size: 2.4rem; font-weight: 700; line-height: 1; margin-bottom: .35rem; }
.contact-guide-card { position: sticky; top: 1.5rem; }
.contact-person-card { border: 1px solid #e2e8f0; }
.contact-detail-row { display:flex; justify-content:space-between; gap:1rem; padding:.6rem 0; border-top:1px solid #e2e8f0; font-size:.95rem; }
.contact-detail-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-detail-row span { color:#64748b; }
.contact-form .form-control, .contact-form .form-select { min-height: 48px; }
.contact-form textarea.form-control { min-height: 140px; }
@media (max-width: 991px) { .contact-guide-card { position: static; } .contacts-hero-side { min-width: 0; width: 100%; } }

.dashboard-hero, .asset-form-hero, .contacts-hero { border-radius: 1.25rem; border: 1px solid rgba(148,163,184,.12); box-shadow: 0 16px 40px rgba(15,23,42,.05); }
.metric-card .card-body, .dashboard-score-card, .progress-step, .summary-missing-card, .summary-mini-card, .summary-contact-card, .starter-card, .starter-chip, .contact-person-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.metric-card:hover .card-body, .progress-step:hover, .summary-missing-card:hover, .starter-card:hover, .starter-chip:hover, .contact-person-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,23,42,.06); }
.table, .table > :not(caption) > * > * { --bs-table-bg: transparent; }
.table thead th { color: #64748b; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.table tbody td { padding-top: .95rem; padding-bottom: .95rem; vertical-align: middle; }
.page-title-block { margin-bottom: 1.5rem; }
.page-title-block h1 { margin-bottom: .35rem; }
.empty-state { border-style: solid; border-color: rgba(148,163,184,.22); background: linear-gradient(180deg, #fbfdff, #f8fafc); }
.inline-actions { display:flex; flex-wrap:wrap; gap:.65rem; }
.section-header { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; margin-bottom:1.25rem; }
.section-header__text { max-width:42rem; }
@media (max-width: 991px) { .app-shell { display:block; padding: 1rem; } .app-sidebar { width:auto; } .sidebar-card { position: static; margin-bottom: 1rem; } .app-content { padding:0; } .auth-panel { min-height: auto; } .auth-panel__content { padding: 2rem 1.25rem; } .auth-form-card { padding: 1.35rem; } }
