/* Andaman Home Service — Navy / Green / Gold theme */
:root {
    --ahs-navy: #0a2540;
    --ahs-navy-light: #1a3a5c;
    --ahs-green: #1a7f5a;
    --ahs-green-light: #22a06b;
    --ahs-gold: #c9a227;
    --ahs-gold-light: #dbb84a;
    --ahs-bg: #ffffff;
    --ahs-gray: #f4f6f8;
    --ahs-text: #1e293b;
    --ahs-muted: #64748b;
    --ahs-radius: 12px;
    --ahs-shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
    --font-main: 'Sarabun', system-ui, sans-serif;
}

.ahs-body { font-family: var(--font-main); color: var(--ahs-text); background: var(--ahs-bg); }
.ahs-main { min-height: 60vh; }

/* Header */
.ahs-header { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 1050; box-shadow: var(--ahs-shadow); }
.ahs-navbar { padding: 8px 0; }
.ahs-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ahs-navy) !important; font-weight: 700; font-size: 1.1rem; }
.ahs-logo img { flex-shrink: 0; }
.ahs-nav .nav-link { color: var(--ahs-text) !important; font-weight: 500; padding: 8px 12px !important; border-radius: 8px; }
.ahs-nav .nav-link:hover { background: var(--ahs-gray); color: var(--ahs-navy) !important; }
.ahs-header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 0; }
.ahs-nav-toggle { border: 1px solid #e2e8f0; padding: 8px 12px; border-radius: 8px; color: var(--ahs-navy); }
@media (min-width: 992px) {
    .ahs-header-actions { padding: 0; margin-left: 12px; }
}
@media (max-width: 991px) {
    .ahs-navbar .navbar-collapse { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); padding: 12px; margin-top: 8px; box-shadow: var(--ahs-shadow); }
    .ahs-header-actions { width: 100%; flex-direction: column; align-items: stretch; }
    .ahs-header-actions .btn { width: 100%; text-align: center; }
}
.ahs-lang-switch a { padding: 4px 10px; border-radius: 6px; text-decoration: none; color: var(--ahs-muted); font-weight: 600; font-size: 0.85rem; }
.ahs-lang-switch a.active { background: var(--ahs-navy); color: #fff; }

/* Buttons */
.ahs-btn-gold { background: linear-gradient(135deg, var(--ahs-gold), var(--ahs-gold-light)); color: #fff !important; border: none; font-weight: 600; border-radius: 10px; padding: 10px 20px; }
.ahs-btn-gold:hover { filter: brightness(1.05); color: #fff; }
.ahs-btn-outline { border: 2px solid var(--ahs-navy); color: var(--ahs-navy) !important; background: transparent; font-weight: 600; border-radius: 10px; }
.ahs-btn-outline:hover { background: var(--ahs-navy); color: #fff !important; }
.ahs-btn-ghost { background: transparent; color: var(--ahs-muted); border: none; }

/* Hero */
.ahs-hero { background: linear-gradient(135deg, var(--ahs-navy) 0%, var(--ahs-navy-light) 50%, #0d3d2e 100%); color: #fff; padding: 80px 0 100px; position: relative; overflow: hidden; }
.ahs-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(201,162,39,0.15), transparent 50%); }
.ahs-hero-content { position: relative; max-width: 720px; }
.ahs-hero-badge { display: inline-block; background: rgba(255,255,255,0.12); padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; margin-bottom: 16px; }
.ahs-hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 16px; }
.ahs-hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 28px; }
.ahs-search-box { display: flex; align-items: center; background: #fff; border-radius: var(--ahs-radius); padding: 8px 8px 8px 16px; box-shadow: var(--ahs-shadow); margin-bottom: 24px; gap: 8px; }
.ahs-search-box i { color: var(--ahs-muted); }
.ahs-search-box input { border: none; flex: 1; }
.ahs-search-box input:focus { outline: none; box-shadow: none; }
.ahs-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ahs-hero-cta .ahs-btn-outline { border-color: rgba(255,255,255,0.5); color: #fff !important; }
.ahs-hero-cta .ahs-btn-outline:hover { background: #fff; color: var(--ahs-navy) !important; }

/* Sections */
.ahs-section { padding: 64px 0; }
.ahs-section-alt { background: var(--ahs-gray); }
.ahs-section-navy { background: var(--ahs-navy); }
.ahs-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.ahs-section-head h2 { font-weight: 700; color: var(--ahs-navy); margin: 0; }
.ahs-page-hero { background: var(--ahs-gray); padding: 48px 0; border-bottom: 1px solid #e2e8f0; }
.ahs-page-hero h1 { font-weight: 700; color: var(--ahs-navy); margin: 0; }

/* Legal pages */
.ahs-legal-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); padding: 24px 28px; box-shadow: var(--ahs-shadow-sm, 0 1px 3px rgba(0,0,0,.06)); }
.ahs-legal-section { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #eef2f7; }
.ahs-legal-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.ahs-legal-section h2 { font-size: 1.05rem; font-weight: 700; color: var(--ahs-navy); margin-bottom: 10px; }
.ahs-legal-body { font-size: 0.92rem; line-height: 1.65; color: var(--ahs-text); }
.ahs-legal-body ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.ahs-legal-body li { margin-bottom: 0.35rem; }
.ahs-legal-body a { color: var(--ahs-green); text-decoration: underline; }
.ahs-legal-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #e2e8f0; }
.ahs-terms-accept .form-check-label a { color: var(--ahs-green); text-decoration: underline; }
.ahs-footer-legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ahs-footer-legal a { color: inherit; text-decoration: underline; }
.ahs-registration-type-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.ahs-company-fields { border-top: 1px dashed #dbe3ec; padding-top: 10px; margin-top: 4px; }

/* Portfolio */
.ahs-portfolio-card { border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); overflow: hidden; background: #fff; height: 100%; display: flex; flex-direction: column; }
.ahs-portfolio-card-cover { position: relative; aspect-ratio: 16/10; background: #f1f5f9; overflow: hidden; }
.ahs-portfolio-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.ahs-portfolio-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: #94a3b8; font-size: 2rem; }
.ahs-portfolio-status { position: absolute; top: 8px; right: 8px; }
.ahs-portfolio-status--published { background: var(--ahs-green) !important; }
.ahs-portfolio-status--draft { background: #64748b !important; }
.ahs-portfolio-card-body { padding: 12px 14px; flex: 1; }
.ahs-portfolio-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--ahs-navy); }
.ahs-portfolio-review { border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); padding: 14px; background: #fafbfc; }
.ahs-portfolio-public-card { border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); overflow: hidden; background: #fff; height: 100%; }
.ahs-portfolio-public-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #e2e8f0; }
.ahs-portfolio-public-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ahs-portfolio-public-gallery img.cover { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 120px; }

/* Cards */
.ahs-cat-card { display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); padding: 24px 16px; text-align: center; text-decoration: none; color: var(--ahs-text); transition: all 0.2s; height: 100%; box-shadow: var(--ahs-shadow); }
.ahs-cat-card:hover { transform: translateY(-4px); border-color: var(--ahs-green); color: var(--ahs-navy); }
.ahs-cat-icon { width: 56px; height: 56px; margin: 0 auto 12px; background: linear-gradient(135deg, var(--ahs-green), var(--ahs-green-light)); color: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.ahs-cat-card h3 { font-size: 0.95rem; font-weight: 600; margin: 0; }
.ahs-cat-card-lg p { font-size: 0.8rem; color: var(--ahs-muted); margin: 8px 0 0; }

.ahs-provider-card { background: #fff; border-radius: var(--ahs-radius); overflow: hidden; box-shadow: var(--ahs-shadow); border: 1px solid #e2e8f0; height: 100%; }
.ahs-provider-avatar { height: 160px; overflow: hidden; background: var(--ahs-gray); }
.ahs-provider-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ahs-provider-body { padding: 16px; }
.ahs-provider-body h3 { font-size: 1rem; margin: 0 0 8px; }
.ahs-provider-body h3 a { color: var(--ahs-navy); text-decoration: none; }
.ahs-badge-verified { display: inline-block; background: #dcfce7; color: var(--ahs-green); font-size: 0.75rem; padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.ahs-rating { color: var(--ahs-gold); font-weight: 600; font-size: 0.9rem; }
.ahs-price { color: var(--ahs-green); font-weight: 700; }

.ahs-step-card { text-align: center; padding: 32px 20px; background: #fff; border-radius: var(--ahs-radius); box-shadow: var(--ahs-shadow); height: 100%; }
.ahs-step-num { width: 48px; height: 48px; background: var(--ahs-gold); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; margin: 0 auto 16px; }
.ahs-why-item { color: rgba(255,255,255,0.95); font-weight: 500; }
.ahs-why-item i { color: var(--ahs-gold); margin-right: 8px; }

.ahs-review-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); padding: 20px; }
.ahs-cta-banner { background: linear-gradient(135deg, var(--ahs-green), var(--ahs-navy)); color: #fff; padding: 64px 0; }
.ahs-cta-banner h2 { font-weight: 700; }

.ahs-form-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); padding: 32px; box-shadow: var(--ahs-shadow); }
.ahs-steps span { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: #e2e8f0; align-items: center; justify-content: center; margin-right: 8px; font-weight: 600; }
.ahs-steps span.active { background: var(--ahs-gold); color: #fff; }

.ahs-provider-profile-hero { background: var(--ahs-gray); padding: 48px 0; }
.ahs-profile-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--ahs-shadow); }
.ahs-sidebar-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); padding: 20px; }

/* Footer */
.ahs-footer { background: var(--ahs-navy); color: rgba(255,255,255,0.85); padding: 48px 0 24px; margin-top: 48px; }
.ahs-footer h5, .ahs-footer h6 { color: #fff; }
.ahs-footer-links { list-style: none; padding: 0; }
.ahs-footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; }
.ahs-footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 32px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; }
.ahs-footer-bottom a { color: var(--ahs-gold); }

/* Dashboard */
.ahs-dash-body { background: var(--ahs-gray); }
.ahs-dash-wrap { display: flex; min-height: 100vh; }
.ahs-dash-sidebar { width: 260px; background: var(--ahs-navy); color: #fff; padding: 24px 16px; flex-shrink: 0; position: fixed; height: 100vh; overflow-y: auto; }
.ahs-dash-sidebar .ahs-logo { color: #fff; margin-bottom: 24px; }
.ahs-dash-nav { display: flex; flex-direction: column; gap: 4px; }
.ahs-dash-nav a { color: rgba(255,255,255,0.85); text-decoration: none; padding: 10px 14px; border-radius: 8px; display: flex; align-items: center; gap: 10px; }
.ahs-dash-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.ahs-dash-nav a.ahs-dash-nav-continue { background: var(--ahs-gold); color: var(--ahs-navy); font-weight: 600; margin-bottom: 8px; }
.ahs-dash-nav a.ahs-dash-nav-continue:hover { background: #e6b84d; color: var(--ahs-navy); }
.ahs-dash-sidebar-footer { margin-top: auto; padding-top: 24px; }
.ahs-dash-sidebar-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.ahs-dash-main { margin-left: 260px; flex: 1; padding: 32px; }
.ahs-stat-card { background: #fff; border-radius: var(--ahs-radius); padding: 24px; box-shadow: var(--ahs-shadow); }
.ahs-stat-label { color: var(--ahs-muted); font-size: 0.85rem; }
.ahs-stat-value { font-size: 1.8rem; font-weight: 700; color: var(--ahs-navy); }

/* Onboarding steps */
.ahs-steps-bar { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.ahs-step-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ahs-step-item span { width: 40px; height: 40px; border-radius: 50%; background: #e2e8f0; color: var(--ahs-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ahs-step-item small { font-size: 0.75rem; color: var(--ahs-muted); }
.ahs-step-item.active span { background: var(--ahs-gold); color: #fff; }
.ahs-step-item.done span { background: var(--ahs-green); color: #fff; }
.ahs-step-line { width: 48px; height: 3px; background: #e2e8f0; margin: 0 8px 18px; }
.ahs-step-line.done { background: var(--ahs-green); }

/* Provider registration flow — compact */
.ahs-register-hero-compact { background: linear-gradient(135deg, #f8fafc 0%, #eef6f2 100%); border-bottom: 1px solid #e2e8f0; padding: 20px 0 16px; }
.ahs-register-hero-compact h1 { font-size: clamp(1.35rem, 4vw, 1.75rem); font-weight: 700; color: var(--ahs-navy); margin: 0 0 6px; }
.ahs-register-hero-compact p { margin: 0 0 10px; color: var(--ahs-muted); font-size: 0.92rem; }
.ahs-register-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ahs-register-hero-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; font-size: 0.78rem; color: var(--ahs-text); }
.ahs-register-hero-tags i { color: var(--ahs-green); font-size: 0.75rem; }
.ahs-register-flow--compact { padding: 20px 0 32px; }
.ahs-register-flow-head--compact { margin-bottom: 12px; }
.ahs-register-progress-compact { margin-bottom: 10px; }
.ahs-register-progress-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ahs-register-progress-label { font-size: 0.82rem; font-weight: 700; color: var(--ahs-navy); }
.ahs-register-progress-name { font-size: 0.82rem; font-weight: 600; color: var(--ahs-green); }
.ahs-register-progress-track { height: 5px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.ahs-register-progress-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--ahs-green), var(--ahs-gold)); border-radius: 999px; }
.ahs-register-steps-bar { margin: 0; }
.ahs-register-flow-head--compact .ahs-step-item span { width: 30px; height: 30px; font-size: 0.82rem; }
.ahs-register-flow-head--compact .ahs-step-item small { font-size: 0.68rem; }
.ahs-register-flow-head--compact .ahs-step-line { width: 28px; margin: 0 4px 14px; height: 2px; }
.ahs-register-current-desc { margin: 8px 0 0; font-size: 0.82rem; color: var(--ahs-muted); text-align: center; }
.ahs-register-form-card { padding: 16px 18px; }
.ahs-form-compact .form-label-sm { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ahs-text); margin-bottom: 4px; }
.ahs-form-compact .form-check-sm .form-check-label { font-size: 0.85rem; }
.ahs-register-form-actions { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e2e8f0; }
.ahs-register-form-actions .btn { width: 100%; padding: 10px 16px; }
.ahs-doc-upload-card--compact { padding: 12px 10px; }

/* Form sections */
.ahs-form-section-block { border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); padding: 12px 14px; background: #fff; }
.ahs-form-section-head { font-size: 0.9rem; font-weight: 700; color: var(--ahs-navy); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.ahs-form-section-head i { color: var(--ahs-green); }

/* Pick chips (days, areas) */
.ahs-pick-chip, .ahs-schedule-chip { display: inline-flex; align-items: center; margin: 0; cursor: pointer; }
.ahs-pick-chip input, .ahs-schedule-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.ahs-pick-chip span, .ahs-schedule-chip span {
    display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid #cbd5e1;
    background: #fff; font-size: 0.85rem; color: var(--ahs-text); transition: all 0.15s;
}
.ahs-pick-chip input:checked + span, .ahs-schedule-chip input:checked + span { background: var(--ahs-green); border-color: var(--ahs-green); color: #fff; }
.ahs-pick-chip:hover span, .ahs-schedule-chip:hover span { border-color: var(--ahs-green); }

/* Working schedule picker */
.ahs-schedule-days, .ahs-schedule-slots, .ahs-schedule-days--picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.ahs-schedule-days--compact .ahs-pick-chip span, .ahs-schedule-days--compact .ahs-schedule-chip span { padding: 4px 10px; font-size: 0.78rem; }
.ahs-time-ranges { display: flex; flex-direction: column; gap: 8px; }
.ahs-time-range-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ahs-time-range-row .form-select { width: auto; min-width: 100px; flex: 1 1 100px; max-width: 140px; }
.ahs-time-range-sep { font-size: 0.85rem; color: var(--ahs-muted); font-weight: 600; }

/* Contact channels */
.ahs-contact-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.ahs-contact-rows { display: flex; flex-direction: column; gap: 8px; }
.ahs-contact-row { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; }
.ahs-contact-row--compact { gap: 6px; }
.ahs-contact-type-badge {
    display: inline-block; padding: 4px 10px; border-radius: 6px; background: #eef2f7;
    font-size: 0.78rem; font-weight: 600; color: var(--ahs-navy); white-space: nowrap;
}
.ahs-contact-row .ahs-contact-remove { flex-shrink: 0; }
@media (max-width: 767px) {
    .ahs-contact-row { grid-template-columns: 1fr auto; }
    .ahs-contact-type-badge { grid-column: 1 / -1; }
}

/* Service area picker */
.ahs-service-area-grid { display: flex; flex-direction: column; gap: 12px; }
.ahs-service-area-province { border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); padding: 12px 14px; background: #fafbfc; }
.ahs-service-area-province--compact { padding: 10px 12px; }
.ahs-service-area-province-head { margin-bottom: 8px; color: var(--ahs-navy); font-size: 0.95rem; }
.ahs-service-area-province-head i { color: var(--ahs-green); margin-right: 4px; }
.ahs-service-area-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ahs-service-area-step-label { font-size: 0.82rem; font-weight: 700; color: var(--ahs-navy); margin-bottom: 8px; }
.ahs-service-area-provinces-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.ahs-area-add-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.ahs-area-add-bar .form-select { flex: 1 1 180px; }
.ahs-province-cards { display: flex; flex-direction: column; gap: 10px; }
.ahs-province-card { border: 1px solid #dbe3ec; border-radius: var(--ahs-radius); padding: 10px 12px; background: #f8fafc; }
.ahs-province-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: var(--ahs-navy); font-size: 0.9rem; }
.ahs-area-summary { font-size: 0.82rem; color: var(--ahs-text); padding: 8px 10px; background: #f0fdf4; border-radius: 8px; border: 1px solid #bbf7d0; }

.ahs-field-invalid { outline: 2px solid #dc3545 !important; outline-offset: 2px; border-radius: 6px; }
.ahs-schedule-days.ahs-field-invalid, .ahs-category-checks.ahs-field-invalid, .ahs-service-area-wrap.ahs-field-invalid,
.ahs-contact-channels-wrap.ahs-field-invalid, .ahs-hours-picker-wrap.ahs-field-invalid, .ahs-form-section-block.ahs-field-invalid { padding: 8px; background: #fff5f5; }
.ahs-doc-upload-card--compact .ahs-doc-icon { font-size: 1.35rem; margin-bottom: 4px; }
.ahs-doc-upload-card--compact label { display: block; margin-bottom: 6px; }
.ahs-category-checks .form-check-label { font-size: 0.82rem; line-height: 1.35; }
@media (max-width: 767px) {
    .ahs-register-flow--compact { padding: 14px 0 24px; }
    .ahs-register-hero-compact { padding: 16px 0 12px; }
    .ahs-register-hero-tags span { font-size: 0.72rem; padding: 3px 8px; }
    .ahs-register-current-desc { font-size: 0.78rem; }
    .ahs-register-flow-head--compact .ahs-step-item small { display: none; }
    .ahs-register-flow-head--compact .ahs-step-line { width: 18px; margin-bottom: 0; }
    .ahs-register-form-card { padding: 14px; }
    .ahs-form-card { padding: 14px; }
}
@media (max-width: 575px) {
    .ahs-register-hero-tags { gap: 6px; }
}
.ahs-doc-upload-card { border: 2px dashed #cbd5e1; border-radius: var(--ahs-radius); padding: 20px; text-align: center; height: 100%; }
.ahs-doc-upload-card.uploaded { border-color: var(--ahs-green); background: #f0fdf4; }
.ahs-doc-icon { font-size: 2rem; color: var(--ahs-navy); margin-bottom: 8px; }

/* Dashboard completion */
.ahs-completion-ring { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto; background: conic-gradient(var(--ahs-green) calc(var(--pct) * 1%), #e2e8f0 0); display: flex; align-items: center; justify-content: center; position: relative; }
.ahs-completion-ring::before { content: ''; position: absolute; inset: 10px; background: #fff; border-radius: 50%; }
.ahs-completion-pct { position: relative; font-size: 1.6rem; font-weight: 700; color: var(--ahs-navy); }
.ahs-missing-panel, .ahs-checklist-panel { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--ahs-radius); padding: 24px; box-shadow: var(--ahs-shadow); }
.ahs-missing-group { margin-bottom: 16px; }
.ahs-missing-group h6 { color: var(--ahs-navy); font-weight: 600; margin-bottom: 8px; }
.ahs-missing-list { list-style: none; padding: 0; margin: 0; }
.ahs-missing-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.ahs-check-item { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; background: var(--ahs-gray); font-size: 0.9rem; }
.ahs-check-item.done { background: #f0fdf4; }
.ahs-check-item small { margin-left: auto; }

@media (max-width: 991px) {
    .ahs-dash-sidebar { transform: translateX(-100%); z-index: 1050; }
    .ahs-dash-main { margin-left: 0; }
    .ahs-nav-toggle { background: none; border: none; font-size: 1.4rem; color: var(--ahs-navy); }
}

/* Bookings & job workflow */
.ahs-booking-list { display: flex; flex-direction: column; gap: 12px; }
.ahs-booking-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: var(--ahs-radius);
    padding: 16px 18px; box-shadow: var(--ahs-shadow);
}
.ahs-booking-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.ahs-booking-code { font-size: 1.05rem; color: var(--ahs-navy); }
.ahs-booking-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.88rem; color: var(--ahs-muted); margin-bottom: 6px; }
.ahs-booking-meta a { color: var(--ahs-green); text-decoration: none; font-weight: 600; }
.ahs-booking-snippet { font-size: 0.88rem; color: #475569; }
.ahs-empty-card { background: #fff; border: 1px dashed #cbd5e1; border-radius: var(--ahs-radius); }
.ahs-info-panel {
    background: #fff; border: 1px solid #e2e8f0; border-radius: var(--ahs-radius);
    padding: 16px 18px; height: 100%;
}
.ahs-info-panel h6 { font-weight: 700; color: var(--ahs-navy); margin-bottom: 10px; }
.ahs-update-form-panel { border-color: #bbf7d0; background: #fafffe; }
.ahs-phone-link { color: var(--ahs-green); font-weight: 700; text-decoration: none; }
.ahs-photo-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ahs-photo-grid img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0; }
.ahs-timeline { position: relative; padding-left: 20px; border-left: 2px solid #e2e8f0; }
.ahs-timeline-item { position: relative; padding-bottom: 18px; }
.ahs-timeline-item:last-child { padding-bottom: 0; }
.ahs-timeline-dot {
    position: absolute; left: -27px; top: 4px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--ahs-green); border: 2px solid #fff; box-shadow: 0 0 0 2px #bbf7d0;
}
.ahs-timeline-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 4px; font-size: 0.88rem; }
.ahs-timeline-body p:last-child { margin-bottom: 0; }
.ahs-timeline-photos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ahs-timeline-photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid #e2e8f0; }

