/* Mandi Plus — theme on top of Bootstrap 5 */
:root {
    --mp-green-950: #032b1c;
    --mp-green-900: #053d27;
    --mp-green-800: #075234;
    --mp-green-700: #0b6b43;
    --mp-green-600: #0f8a56;
    --mp-emerald: #10b981;
    --mp-emerald-300: #6ee7b7;
    --mp-green-50: #ecfdf5;
    --mp-green-100: #d1fae5;
    --mp-gold: #f5b72f;
    --mp-ink: #14211b;
    --mp-muted: #5d6b64;
    --mp-line: #e3ebe6;
    --mp-soft: #f5f8f6;
    --mp-radius: 14px;
    --mp-shadow: 0 1px 2px rgba(5, 61, 39, .06), 0 6px 20px rgba(5, 61, 39, .07);
    --mp-shadow-lg: 0 10px 40px rgba(5, 61, 39, .14);
    --bs-primary: #0b6b43;
    --bs-primary-rgb: 11, 107, 67;
    --bs-success: #0f8a56;
    --bs-success-rgb: 15, 138, 86;
    --bs-link-color: #0b6b43;
    --bs-link-color-rgb: 11, 107, 67;
    --bs-link-hover-color: #075234;
    --bs-link-hover-color-rgb: 7, 82, 52;
    --bs-body-color: #14211b;
    --bs-body-font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", "Noto Sans", "Noto Nastaliq Urdu", Arial, sans-serif;
    --bs-border-radius: .6rem;
    --bs-border-color: #dfe8e3;
    --bs-focus-ring-color: rgba(16, 185, 129, .3);
}
body { background: #fff; -webkit-font-smoothing: antialiased; }
.bg-soft { background: var(--mp-soft) !important; }
::selection { background: var(--mp-green-100); }
a { text-underline-offset: 2px; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { letter-spacing: -.015em; font-weight: 700; color: var(--mp-ink); }
.text-muted { color: var(--mp-muted) !important; }
[lang="ur"], .urdu { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif; direction: rtl; }

/* Buttons */
.btn { font-weight: 600; border-radius: .6rem; }
.btn-primary { --bs-btn-bg: var(--mp-green-700); --bs-btn-border-color: var(--mp-green-700); --bs-btn-hover-bg: var(--mp-green-800); --bs-btn-hover-border-color: var(--mp-green-800); --bs-btn-active-bg: var(--mp-green-900); --bs-btn-disabled-bg: var(--mp-green-700); --bs-btn-disabled-border-color: var(--mp-green-700); }
.btn-success { --bs-btn-bg: var(--mp-green-600); --bs-btn-border-color: var(--mp-green-600); --bs-btn-hover-bg: var(--mp-green-700); --bs-btn-hover-border-color: var(--mp-green-700); }
.btn-outline-success { --bs-btn-color: var(--mp-green-700); --bs-btn-border-color: #9fd9bd; --bs-btn-hover-bg: var(--mp-green-700); --bs-btn-hover-border-color: var(--mp-green-700); }
.btn-outline-primary { --bs-btn-color: var(--mp-green-700); --bs-btn-border-color: var(--mp-green-700); --bs-btn-hover-bg: var(--mp-green-700); --bs-btn-hover-border-color: var(--mp-green-700); }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover, .btn-whatsapp:focus { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }
.btn-gold { background: var(--mp-gold); border-color: var(--mp-gold); color: #2b1d00; }
.btn-gold:hover { background: #e6a71c; border-color: #e6a71c; color: #2b1d00; }
.form-control, .form-select { border-radius: .6rem; padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--mp-emerald); }
.form-label { font-weight: 600; font-size: .92rem; }
.form-check-input:checked { background-color: var(--mp-green-700); border-color: var(--mp-green-700); }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: .5rem; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--mp-ink); }
.brand span { display: flex; flex-direction: column; line-height: 1.05; font-size: 1.3rem; color: var(--mp-green-800); }
.brand strong { font-weight: 800; }
.brand .brand-name { font-weight: 600; white-space: nowrap; }
.brand small { font-size: .62rem; color: var(--mp-muted); font-weight: 500; letter-spacing: .02em; margin-top: 2px; }
.brand-light span { color: #fff; }
.brand-light small { color: rgba(255, 255, 255, .6); }

/* Header */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--mp-line); }
.site-header .navbar { padding: .6rem 0; }
.site-header .nav-link { font-weight: 600; color: #34443c; padding: .5rem .9rem !important; border-radius: .5rem; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--mp-green-700); background: var(--mp-green-50); }
.breadcrumb-wrap { background: var(--mp-soft); border-bottom: 1px solid var(--mp-line); padding: .55rem 0; font-size: .875rem; }
.breadcrumb-item a { text-decoration: none; }

/* Hero */
.hero { position: relative; color: #fff; padding: 4.5rem 0 5.5rem; overflow: hidden;
    background: radial-gradient(1200px 500px at 85% -10%, rgba(16, 185, 129, .45), transparent 60%),
                radial-gradient(800px 400px at -10% 110%, rgba(245, 183, 47, .18), transparent 60%),
                linear-gradient(135deg, var(--mp-green-950), var(--mp-green-800) 60%, var(--mp-green-700)); }
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(3, 43, 28, .92), rgba(7, 82, 52, .75) 55%, rgba(11, 107, 67, .55)); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: url("../img/hero-fields.svg") center bottom / cover no-repeat; opacity: .35; pointer-events: none; }
.hero > .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.08; max-width: 15ch; }
.hero .lead { color: rgba(255, 255, 255, .85); max-width: 52ch; }
.hero-eyebrow { display: inline-flex; gap: .5rem; align-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.hero-search { background: #fff; border-radius: 18px; padding: .6rem; box-shadow: var(--mp-shadow-lg); }
.hero-search .form-control, .hero-search .form-select { border: 0; background: var(--mp-soft); height: 52px; }
.hero-search .btn { height: 52px; }
.hero-chips a { display: inline-block; margin: .25rem .3rem 0 0; padding: .3rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: .85rem; border: 1px solid rgba(255, 255, 255, .15); }
.hero-chips a:hover { background: rgba(255, 255, 255, .22); }
.hero-stats { margin-top: 2.5rem; }
.hero-stats .stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; }
.hero-stats .stat span { color: rgba(255, 255, 255, .7); font-size: .85rem; }
.hero-visual { position: relative; }
.hero-card { background: rgba(255, 255, 255, .96); color: var(--mp-ink); border-radius: 18px; padding: 1rem; box-shadow: var(--mp-shadow-lg); }
.hero-card + .hero-card { margin-top: 1rem; margin-left: 2.5rem; }
.hero-card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mp-green-50); color: var(--mp-green-700); font-size: 1.3rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-soft { background: var(--mp-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-head p { margin: .25rem 0 0; color: var(--mp-muted); }
.eyebrow { color: var(--mp-green-600); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.page-hero { background: linear-gradient(135deg, var(--mp-green-900), var(--mp-green-700)); color: #fff; padding: 2.5rem 0; }
.page-hero h1 { color: #fff; margin-bottom: .35rem; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.page-hero p { color: rgba(255, 255, 255, .8); margin: 0; }

/* Category tiles */
.cat-tile { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--mp-radius); border: 1px solid var(--mp-line); background: #fff; text-decoration: none; color: var(--mp-ink); height: 100%; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--mp-shadow); border-color: #bfe6d2; color: var(--mp-ink); }
.cat-tile .icon { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; color: var(--mp-green-700); background: linear-gradient(135deg, var(--mp-green-50), #d9f7ea); }
.cat-tile strong { display: block; font-size: .98rem; line-height: 1.25; }
.cat-tile small { color: var(--mp-muted); }

/* City tiles */
.city-tile { position: relative; display: block; border-radius: var(--mp-radius); padding: 1.1rem 1.2rem; color: #fff; text-decoration: none; overflow: hidden; min-height: 96px;
    background: linear-gradient(135deg, var(--mp-green-800), var(--mp-green-600)); box-shadow: var(--mp-shadow); transition: transform .15s ease; }
.city-tile:nth-child(3n+2), .col:nth-child(3n+2) .city-tile { background: linear-gradient(135deg, #0a5a3a, #138f62); }
.city-tile:hover { transform: translateY(-2px); color: #fff; }
.city-tile strong { font-size: 1.1rem; display: block; }
.city-tile span { font-size: .85rem; opacity: .8; }
.city-tile i { position: absolute; right: -6px; bottom: -14px; font-size: 4.2rem; opacity: .12; }

/* Business cards */
.biz-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.biz-card:hover { box-shadow: var(--mp-shadow); transform: translateY(-2px); }
.biz-card.is-featured { border-color: #f1d68d; box-shadow: 0 0 0 1px #f8e7b3 inset; }
.biz-card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--mp-soft); overflow: hidden; }
.biz-card-media img { width: 100%; height: 100%; object-fit: cover; }
.biz-card-media img.is-logo { object-fit: contain; padding: 1.5rem; background: #fff; }
.biz-card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--mp-green-50), #c9f0dd); color: var(--mp-green-700); }
.biz-card-placeholder i { font-size: 2.6rem; opacity: .35; position: absolute; }
.biz-card-placeholder span { font-size: 2.4rem; font-weight: 800; color: var(--mp-green-800); }
.badge-featured, .badge-sponsored { position: absolute; top: .7rem; left: .7rem; background: var(--mp-gold); color: #3a2900; font-weight: 700; padding: .35rem .6rem; border-radius: 999px; font-size: .72rem; }
.badge-sponsored { background: #fff; color: #6b4f00; border: 1px solid #f1d68d; }
.biz-card-body { padding: 1rem 1.1rem .5rem; flex: 1; }
.biz-card-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--mp-green-600); text-decoration: none; }
.biz-card-title { font-size: 1.08rem; margin: .3rem 0 .35rem; line-height: 1.3; }
.biz-card-title a { color: var(--mp-ink); text-decoration: none; }
.biz-card-title a:hover { color: var(--mp-green-700); }
.verified { color: #1d9bf0; font-size: .95em; margin-left: .2rem; }
.biz-card-loc, .biz-card-rating { font-size: .86rem; color: var(--mp-muted); margin-bottom: .3rem; }
.biz-card-rating i { color: var(--mp-gold); }
.biz-card-text { font-size: .9rem; color: #4b5953; margin: 0; }
.biz-card-actions { display: flex; gap: .4rem; padding: .75rem 1.1rem 1rem; align-items: center; flex-wrap: wrap; }
.biz-card-actions .btn-link { text-decoration: none; font-weight: 700; padding-right: 0; }

/* Business-owner CTA */
.cta-band { border-radius: 24px; padding: clamp(1.75rem, 4vw, 3rem); color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(600px 300px at 100% 0, rgba(245, 183, 47, .25), transparent 60%), linear-gradient(135deg, var(--mp-green-900), var(--mp-green-700)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); }
.cta-band ul li { margin-bottom: .35rem; }
.cta-band ul i { color: var(--mp-emerald-300); }

/* How it works */
.step { padding: 1.4rem; border-radius: var(--mp-radius); background: #fff; border: 1px solid var(--mp-line); height: 100%; }
.step .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mp-green-700); color: #fff; font-weight: 800; margin-bottom: .8rem; }

/* Filters sidebar */
.filter-card { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); padding: 1.1rem; position: sticky; top: 90px; }
.filter-card .form-label { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--mp-muted); }
.result-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .7rem; border-radius: 999px; background: var(--mp-green-50); color: var(--mp-green-800); font-size: .85rem; font-weight: 600; text-decoration: none; border: 1px solid #c8eedb; }
.chip:hover { background: var(--mp-green-100); color: var(--mp-green-900); }

/* Profile */
.profile-hero { background: linear-gradient(135deg, var(--mp-green-950), var(--mp-green-700)); color: #fff; padding: 2rem 0 5.5rem; }
.profile-head { margin-top: -4.2rem; background: #fff; border-radius: 20px; box-shadow: var(--mp-shadow-lg); padding: 1.5rem; position: relative; z-index: 2; }
.profile-logo { width: 96px; height: 96px; border-radius: 18px; border: 4px solid #fff; box-shadow: var(--mp-shadow); object-fit: cover; background: #fff; flex-shrink: 0; }
.profile-logo.placeholder { display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; color: var(--mp-green-700); background: linear-gradient(135deg, var(--mp-green-50), #c9f0dd); }
.profile-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .25rem; }
.profile-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--mp-muted); font-size: .92rem; }
.contact-actions .btn { padding: .65rem 1.1rem; }
.panel { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); padding: 1.35rem; margin-bottom: 1.25rem; }
.panel h2 { font-size: 1.15rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.panel h2 i { color: var(--mp-green-600); }
.description { line-height: 1.75; color: #2c3a33; }
.description h2, .description h3 { font-size: 1.1rem; margin-top: 1.2rem; }
.description img { max-width: 100%; height: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--mp-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery-main { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--mp-soft); margin-bottom: .6rem; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .75rem; padding: .6rem 0; border-bottom: 1px dashed var(--mp-line); }
.info-list li:last-child { border-bottom: 0; }
.info-list i { color: var(--mp-green-600); font-size: 1.1rem; margin-top: .1rem; }
.info-list small { display: block; color: var(--mp-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.hours-table td { padding: .3rem 0; }
.hours-table tr.today td { font-weight: 700; color: var(--mp-green-800); }
.open-badge { font-size: .78rem; }
.service-item { padding: .75rem 0; border-bottom: 1px solid var(--mp-line); }
.service-item:last-child { border-bottom: 0; }
.rating-stars i { color: var(--mp-gold); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.6rem; color: #d3dcd7; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--mp-gold); }
.mobile-contact-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--mp-line); padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); display: flex; gap: .5rem; box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
.mobile-contact-bar .btn { flex: 1; }
@media (min-width: 992px) { .mobile-contact-bar { display: none; } }
@media (max-width: 991.98px) { body.has-contact-bar { padding-bottom: 76px; } }
.preview-banner { background: #fff7e0; border-bottom: 1px solid #f1d68d; padding: .6rem 0; font-size: .92rem; }

/* Pricing */
.price-card { border: 1px solid var(--mp-line); border-radius: 20px; padding: 1.75rem; background: #fff; height: 100%; display: flex; flex-direction: column; position: relative; }
.price-card.highlight { border: 2px solid var(--mp-green-600); box-shadow: var(--mp-shadow-lg); }
.price-card .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--mp-green-700); color: #fff; padding: .25rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.price-card .price { font-size: 2.2rem; font-weight: 800; color: var(--mp-green-800); }
.price-card .price small { font-size: .95rem; color: var(--mp-muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; flex: 1; }
.price-card li { padding: .35rem 0; display: flex; gap: .5rem; }
.price-card li i { color: var(--mp-green-600); }

/* Footer */
.site-footer { background: var(--mp-green-950); color: #fff; padding: 3.5rem 0 1.5rem; margin-top: 0; }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mp-emerald-300); margin-bottom: 1rem; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: rgba(255, 255, 255, .75); text-decoration: none; font-size: .93rem; }
.footer-links a:hover { color: #fff; }
.social { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.social:hover { background: var(--mp-green-600); color: #fff; }

/* Auth */
.auth-wrap { min-height: calc(100vh - 220px); display: flex; align-items: center; padding: 3rem 0; background: linear-gradient(180deg, var(--mp-soft), #fff); }
.auth-card { background: #fff; border: 1px solid var(--mp-line); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--mp-shadow); }

/* App shell (dashboard + admin) */
.app-shell { background: var(--mp-soft); }
.app-topbar { position: sticky; top: 0; z-index: 1040; background: #fff; border-bottom: 1px solid var(--mp-line); padding: .6rem 0; }
.app-topbar .brand span { font-size: 1.15rem; }
.app-body { display: flex; min-height: calc(100vh - 58px); }
.app-sidebar { width: 260px; background: #fff !important; border-right: 1px solid var(--mp-line); }
@media (min-width: 992px) { .app-sidebar { position: sticky; top: 58px; height: calc(100vh - 58px); overflow-y: auto; flex-shrink: 0; } .app-sidebar .offcanvas-body { display: flex; padding: 1rem; } }
.admin-shell .app-sidebar { background: #0c1f17 !important; border-right: 0; }
.admin-shell .side-nav .nav-link { color: rgba(255, 255, 255, .75); }
.admin-shell .side-nav .nav-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-shell .side-nav .nav-link.active { background: var(--mp-green-700); color: #fff; }
.admin-shell .side-section { color: rgba(255, 255, 255, .4); }
@media (max-width: 991.98px) { .admin-shell .app-sidebar .offcanvas-header { background: #0c1f17; color: #fff; } .admin-shell .app-sidebar .btn-close { filter: invert(1); } }
.side-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mp-muted); margin: 1rem .75rem .35rem; font-weight: 700; }
.side-nav .nav-link { display: flex; align-items: center; gap: .65rem; color: #34443c; font-weight: 600; font-size: .92rem; border-radius: .6rem; padding: .55rem .75rem; }
.side-nav .nav-link:hover { background: var(--mp-soft); color: var(--mp-green-800); }
.side-nav .nav-link.active { background: var(--mp-green-50); color: var(--mp-green-800); }
.sidebar-user { display: flex; gap: .75rem; align-items: center; padding: .5rem .5rem 1rem; border-bottom: 1px solid var(--mp-line); margin-bottom: .75rem; }
.sidebar-user small { display: block; color: var(--mp-muted); font-size: .78rem; word-break: break-all; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--mp-green-700); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.app-main { flex: 1; min-width: 0; padding: 1.5rem clamp(1rem, 2.5vw, 2rem) 3rem; }
.page-title { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.page-title h1 { font-size: 1.5rem; margin: 0; }
.card { border-color: var(--mp-line); border-radius: var(--mp-radius); }
.card-header { background: #fff; border-bottom-color: var(--mp-line); font-weight: 700; }
.stat-card { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); padding: 1.1rem 1.2rem; height: 100%; }
.stat-card .label { font-size: .78rem; color: var(--mp-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.stat-card .value { font-size: 1.7rem; font-weight: 800; color: var(--mp-ink); line-height: 1.2; }
.stat-card .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mp-green-50); color: var(--mp-green-700); font-size: 1.2rem; }
.stat-card.warn .icon { background: #fff4d6; color: #a66f00; }
.table > :not(caption) > * > * { padding: .7rem .75rem; }
.table thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mp-muted); font-weight: 700; background: var(--mp-soft); white-space: nowrap; }
.table-card { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); overflow: hidden; }
.table-card .table { margin: 0; }
.badge-status { font-weight: 600; }
.bar-chart { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: .5rem; }
.bar-chart .bar { flex: 1; background: linear-gradient(180deg, var(--mp-emerald), var(--mp-green-700)); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.bar-chart .bar:hover::after { content: attr(data-label); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--mp-ink); color: #fff; font-size: .72rem; padding: .2rem .4rem; border-radius: 4px; white-space: nowrap; margin-bottom: 4px; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .75rem; }
.thumb-grid figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--mp-line); background: #fff; }
.thumb-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.thumb-grid form { position: absolute; top: .35rem; right: .35rem; }
.dropzone { border: 2px dashed #bfe0cf; border-radius: var(--mp-radius); padding: 1.25rem; text-align: center; background: var(--mp-green-50); }
.progress { height: 1.1rem; border-radius: 999px; }
.progress-bar { background: linear-gradient(90deg, var(--mp-green-600), var(--mp-emerald)); }
.mapping-table td, .mapping-table th { vertical-align: middle; }
.code-block { background: #0f1a15; color: #d6f5e6; border-radius: 10px; padding: 1rem; font-size: .82rem; overflow: auto; max-height: 420px; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--mp-muted); }
.empty-state i { font-size: 2.6rem; color: #b5ccc0; display: block; margin-bottom: .5rem; }
.sticky-actions { position: sticky; bottom: 0; background: rgba(245, 248, 246, .95); padding: .9rem 0; border-top: 1px solid var(--mp-line); z-index: 5; }
.step-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.step-nav .s { padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--mp-line); font-size: .85rem; font-weight: 600; color: var(--mp-muted); }
.step-nav .s.done { background: var(--mp-green-50); color: var(--mp-green-800); border-color: #c8eedb; }
.step-nav .s.current { background: var(--mp-green-700); color: #fff; border-color: var(--mp-green-700); }

@media (max-width: 575.98px) {
    .hero { padding: 3rem 0 4rem; }
    .section { padding: 2.75rem 0; }
    .hero-card + .hero-card { margin-left: 0; }
    .profile-head { padding: 1.1rem; }
    .profile-logo { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
