:root {
    --ink: #071a2d;
    --ink-2: #102c46;
    --paper: #f7fafc;
    --white: #ffffff;
    --coral: #ff694b;
    --coral-dark: #e94f33;
    --teal: #1bb7a6;
    --sky: #dff7f4;
    --line: #dce6ed;
    --muted: #607286;
    --shadow: 0 24px 70px rgba(7, 26, 45, .13);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 2000; padding: .75rem 1rem; color: #fff; background: var(--ink); border-radius: .75rem; }
.skip-link:focus { top: 1rem; }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { max-width: 800px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(247, 250, 252, .9); border-bottom: 1px solid rgba(220, 230, 237, .8); backdrop-filter: blur(15px); }
.navbar { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .62rem; color: var(--ink); font-size: 1.35rem; font-weight: 850; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--coral); border-radius: 11px 11px 11px 3px; font-size: 1rem; font-weight: 900; box-shadow: 0 8px 20px rgba(255, 105, 75, .28); }
.nav-link { color: #345066; font-weight: 650; border-radius: .7rem; }
.nav-link:hover, .nav-link:focus { color: var(--coral-dark); background: #fff; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; padding: .64rem 1.08rem; font-weight: 750; }
.btn-konconi { color: #fff; background: var(--coral); border: 1px solid var(--coral); box-shadow: 0 10px 24px rgba(255, 105, 75, .23); }
.btn-konconi:hover, .btn-konconi:focus { color: #fff; background: var(--coral-dark); border-color: var(--coral-dark); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover, .btn-ghost:focus { color: var(--ink); background: #fff; }

.hero-section { position: relative; overflow: hidden; padding: 5.4rem 0 5.8rem; background: radial-gradient(circle at 85% 15%, rgba(27, 183, 166, .18), transparent 28%), radial-gradient(circle at 12% 92%, rgba(255, 105, 75, .14), transparent 26%), var(--paper); }
.hero-section::after { content: ""; position: absolute; width: 420px; height: 420px; right: -260px; bottom: -260px; border: 80px solid rgba(255,255,255,.75); border-radius: 50%; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .48rem; margin-bottom: 1rem; color: #38637a; font-size: .79rem; line-height: 1.2; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 5px rgba(27, 183, 166, .13); }
.hero-copy h1, .page-hero h1 { margin: 0; font-size: clamp(3.2rem, 7vw, 5.8rem); line-height: .96; letter-spacing: -.068em; font-weight: 880; }
.hero-copy h1 span { color: var(--coral); }
.hero-copy > p { max-width: 640px; margin: 1.65rem 0 1.8rem; color: var(--muted); font-size: 1.13rem; line-height: 1.7; }
.activity-search { display: flex; max-width: 650px; padding: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 15px 38px rgba(7, 26, 45, .09); }
.activity-search input { min-width: 0; flex: 1; padding: .75rem .9rem; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 1rem; }
.activity-search button { padding: .82rem 1.15rem; color: #fff; background: var(--ink); border: 0; border-radius: 11px; font-weight: 800; white-space: nowrap; }
.activity-search button:hover { background: var(--coral-dark); }
.trust-row { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; margin-top: 1.25rem; color: #526d80; font-size: .88rem; font-weight: 700; }
.trust-row span::before { content: "✓"; margin-right: .4rem; color: var(--teal); font-weight: 900; }

.moment-board { position: relative; padding: 1rem; background: var(--ink); border: 1px solid rgba(255,255,255,.08); border-radius: 30px; box-shadow: var(--shadow); transform: rotate(1deg); }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: .35rem .35rem .9rem; color: #d5e6f1; font-size: .83rem; font-weight: 750; }
.board-pill { padding: .28rem .65rem; background: rgba(255,255,255,.09); border-radius: 999px; }
.moment-card { display: flex; min-height: 132px; align-items: center; gap: 1rem; padding: 1.15rem; background: #fff; border-radius: 19px; }
.moment-card-featured { position: relative; }
.moment-card h2 { margin: .05rem 0; font-size: 1.15rem; font-weight: 830; letter-spacing: -.025em; }
.moment-card p { margin: 0; color: var(--muted); font-size: .83rem; }
.card-kicker { color: var(--coral-dark); font-size: .7rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.activity-icon { display: grid; flex: 0 0 auto; width: 58px; height: 58px; place-items: center; background: #fff0ec; border-radius: 18px; font-size: 1.7rem; }
.activity-icon.teal { background: var(--sky); }
.activity-icon.coral { color: var(--coral); background: rgba(255,255,255,.1); }
.avatar-stack { display: flex; margin-left: auto; }
.avatar-stack span { display: grid; width: 32px; height: 32px; margin-left: -8px; place-items: center; color: var(--ink); background: var(--sky); border: 3px solid #fff; border-radius: 50%; font-size: .7rem; font-weight: 850; }
.board-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .75rem; }
.compact-card { display: block; min-height: 185px; }
.compact-card .activity-icon { width: 48px; height: 48px; margin-bottom: 1rem; font-size: 1.3rem; }
.dark-card { color: #fff; background: #143550; border: 1px solid rgba(255,255,255,.06); }
.dark-card p { color: #aac1d1; }
.board-note { margin: .8rem .25rem .1rem; color: #a9c3d3; font-size: .78rem; }
.board-note span { color: var(--teal); }

.activity-section, .content-section { padding: 5.5rem 0; background: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2, .safety-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.05em; font-weight: 850; }
.section-heading a { color: var(--coral-dark); font-weight: 800; text-decoration: none; white-space: nowrap; }
.activity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.activity-tile { min-height: 230px; padding: 1.45rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.activity-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(7,26,45,.08); }
.tile-icon { display: grid; width: 52px; height: 52px; margin-bottom: 2.3rem; place-items: center; color: var(--coral-dark); background: #fff; border-radius: 16px; font-size: 1.35rem; box-shadow: 0 8px 20px rgba(7,26,45,.07); }
.activity-tile h3 { margin: 0 0 .45rem; font-size: 1.08rem; font-weight: 830; }
.activity-tile p { margin: 0; color: var(--muted); font-size: .92rem; }

.safety-band { padding: 6rem 0; color: #fff; background: var(--ink); }
.safety-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.eyebrow-light { color: #81d9d0; }
.safety-points { display: grid; gap: 1.2rem; }
.safety-points p { position: relative; margin: 0; padding: 0 0 1.2rem 3.3rem; color: #aec2d0; border-bottom: 1px solid rgba(255,255,255,.1); }
.safety-points p:last-child { border: 0; }
.safety-points p > span { position: absolute; left: 0; top: .05rem; color: var(--coral); font-size: .82rem; font-weight: 850; }
.safety-points strong { color: #fff; font-size: 1.08rem; }

.page-hero { padding: 6.5rem 0 5rem; text-align: center; background: radial-gradient(circle at 50% 0, rgba(27,183,166,.15), transparent 42%), var(--paper); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero p { max-width: 680px; margin: 1.3rem auto 0; color: var(--muted); font-size: 1.1rem; }
.compact-hero { padding-block: 4.5rem; }
.safety-hero { color: #fff; background: radial-gradient(circle at 50% 0, rgba(27,183,166,.24), transparent 42%), var(--ink); }
.safety-hero p { color: #b6cbd8; }
.light-search { margin: 1.8rem auto 0; text-align: left; }
.empty-state { max-width: 650px; margin: auto; padding: 3rem; text-align: center; background: var(--paper); border: 1px dashed #bfd0db; border-radius: var(--radius); }
.empty-state > span { display: grid; width: 64px; height: 64px; margin: 0 auto 1.2rem; place-items: center; color: var(--coral-dark); background: #fff; border-radius: 19px; font-size: 1.8rem; box-shadow: 0 12px 28px rgba(7,26,45,.08); }
.empty-state h2 { font-size: 1.55rem; font-weight: 850; }
.empty-state p { color: var(--muted); }
.steps-grid, .principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.steps-grid article, .principle-grid article, .prose-card { padding: 2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps-grid article > span { color: var(--coral); font-size: .79rem; font-weight: 900; }
.steps-grid h2, .principle-grid h2 { margin: .7rem 0 .4rem; font-size: 1.3rem; font-weight: 850; }
.steps-grid p, .principle-grid p, .prose-card p { margin: 0; color: var(--muted); }
.prose-card p + p { margin-top: 1.2rem; }

.site-footer { padding: 4.5rem 0 1rem; color: #b8cbd8; background: #041220; }
.brand-light { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-copy { max-width: 430px; margin-top: 1rem; }
.footer-title { margin: .25rem 0 .8rem; color: #fff; font-size: .88rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid > div > a:not(.brand) { display: block; width: fit-content; margin: .45rem 0; color: #b8cbd8; text-decoration: none; }
.footer-grid > div > a:hover { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.09); font-size: .82rem; }
.mobile-bottom-nav { display: none; }

/* Authentication */
.auth-body { min-height: 100vh; padding: 0; background: #fff; }
.auth-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr); }
.auth-aside { display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; padding: clamp(2rem, 5vw, 4.8rem); color: #fff; background: radial-gradient(circle at 90% 15%, rgba(27,183,166,.25), transparent 28%), radial-gradient(circle at 15% 90%, rgba(255,105,75,.22), transparent 25%), var(--ink); }
.auth-aside h1 { max-width: 620px; margin: 0 0 1rem; font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: 1; font-weight: 880; letter-spacing: -.06em; }
.auth-aside p { max-width: 550px; color: #b8ccd9; font-size: 1.05rem; }
.auth-aside ul { display: grid; gap: .55rem; margin: 2rem 0 0; padding: 0; color: #c8d9e3; list-style: none; font-size: .88rem; }
.auth-aside li::before { content: "✓"; margin-right: .55rem; color: var(--teal); }
.auth-main { display: grid; align-items: center; padding: 2rem; overflow-y: auto; }
.auth-card { width: min(600px, 100%); margin: auto; padding: 1rem 0; }
.back-link { display: inline-block; margin-bottom: 2rem; color: #4f697b; font-size: .9rem; font-weight: 750; text-decoration: none; }
.back-link:hover { color: var(--coral-dark); }
.form-heading { margin-bottom: 1.7rem; }
.form-heading .eyebrow { margin-bottom: .7rem; }
.form-heading h2 { margin: 0 0 .4rem; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 880; letter-spacing: -.05em; }
.form-heading p { margin: 0; color: var(--muted); }
.konconi-form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { min-width: 0; }
.full-field { grid-column: 1 / -1; }
.form-field label, .check-row { font-size: .9rem; font-weight: 780; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: .75rem .85rem; color: var(--ink); background: #fff; border: 1px solid #cbd8e0; border-radius: 12px; font: inherit; outline: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(27,183,166,.12); }
.form-field small { display: block; margin-top: .3rem; color: var(--muted); font-size: .75rem; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.label-row span { color: var(--muted); font-size: .72rem; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 4.4rem; }
.password-toggle { position: absolute; right: .45rem; top: .42rem; min-width: 3.3rem; height: 34px; color: #405f72; background: var(--paper); border: 0; border-radius: 8px; font-size: .73rem; font-weight: 800; }
.check-row { display: flex; align-items: start; gap: .72rem; padding: .85rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.check-row input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .18rem; accent-color: var(--coral); }
.check-row span { color: #38566a; font-weight: 520; }
.check-row strong, .check-row small { display: block; }
.check-row strong { color: var(--ink); }
.check-row small { margin-top: .12rem; color: var(--muted); font-size: .75rem; }
.check-row a { color: var(--coral-dark); font-weight: 800; }
.btn-wide { width: 100%; margin-top: .3rem; }
.form-switch { margin: 1.2rem 0 0; color: var(--muted); text-align: center; }
.form-switch a { color: var(--coral-dark); font-weight: 800; }
.alert.fade-out { opacity: .25; transition: opacity .4s ease; }

/* Account application */
.app-body { padding: 0; background: #eef4f7; }
.app-shell { display: grid; min-height: 100vh; grid-template-columns: 260px minmax(0, 1fr); }
.app-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 1.6rem 1.1rem; color: #fff; background: var(--ink); }
.app-sidebar .brand { padding: 0 .6rem; }
.app-nav { display: grid; gap: .35rem; margin-top: 2.6rem; }
.app-nav a, .app-nav > span.nav-disabled { display: flex; min-height: 45px; align-items: center; gap: .75rem; padding: .65rem .8rem; color: #b7cad7; border-radius: 11px; font-size: .9rem; font-weight: 720; text-decoration: none; }
.app-nav a > span, .app-nav > span.nav-disabled > span { display: grid; width: 24px; place-items: center; color: #7da1b6; font-size: 1rem; }
.app-nav a:hover, .app-nav a.active { color: #fff; background: rgba(255,255,255,.09); }
.app-nav a.active > span { color: var(--coral); }
.app-nav .nav-label { margin: 1.2rem .8rem .2rem; color: #67869a; font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.app-nav > span.nav-disabled { opacity: .48; }
.sidebar-logout { margin-top: auto; }
.sidebar-logout button { width: 100%; min-height: 43px; color: #d4e2ea; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 11px; font-weight: 750; }
.app-main { min-width: 0; }
.app-topbar { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.25rem clamp(1.25rem,4vw,3.4rem); background: rgba(255,255,255,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.app-topbar h1 { margin: 0; font-size: 1.55rem; font-weight: 850; letter-spacing: -.035em; }
.topbar-kicker { display: block; color: var(--muted); font-size: .69rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.account-chip { display: flex; align-items: center; gap: .7rem; }
.account-chip > span { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; background: var(--coral); border-radius: 13px; font-weight: 850; }
.account-chip strong, .account-chip small { display: block; }
.account-chip strong { font-size: .86rem; }
.account-chip small { color: var(--muted); font-size: .7rem; text-transform: capitalize; }
.app-content { width: min(1420px, 100%); margin: 0 auto; padding: clamp(1.25rem,4vw,3.4rem); }
.welcome-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem,4vw,2.5rem); color: #fff; background: radial-gradient(circle at 88% 15%,rgba(27,183,166,.23),transparent 25%),var(--ink); border-radius: var(--radius); box-shadow: 0 18px 48px rgba(7,26,45,.15); }
.welcome-panel .eyebrow { margin-bottom: .5rem; color: #84dcd3; }
.welcome-panel h2 { margin: 0 0 .4rem; font-size: clamp(1.8rem,4vw,3rem); font-weight: 870; letter-spacing: -.05em; }
.welcome-panel p { max-width: 740px; margin: 0; color: #b7cbd8; }
.summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 1rem 0; }
.summary-card { display: flex; gap: 1rem; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.summary-icon { display: grid; flex: 0 0 auto; width: 46px; height: 46px; place-items: center; color: var(--coral-dark); background: #fff0ec; border-radius: 14px; font-weight: 850; }
.teal-bg { color: #087d70; background: var(--sky); }
.dark-bg { color: #fff; background: var(--ink-2); }
.summary-card small, .summary-card strong { display: block; }
.summary-card small { color: var(--muted); font-size: .72rem; font-weight: 750; }
.summary-card strong { margin: .08rem 0 .2rem; font-size: 1.08rem; }
.summary-card p { margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.45; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,.75fr); gap: 1rem; }
.panel { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 19px; }
.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.panel-head .eyebrow { margin-bottom: .35rem; }
.panel-head h2, .next-panel h2, .privacy-panel h2 { margin: 0; font-size: 1.35rem; font-weight: 850; letter-spacing: -.035em; }
.panel-head p { margin: .3rem 0 0; color: var(--muted); }
.soft-badge, .version-badge { display: inline-flex; padding: .35rem .65rem; color: #466277; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.panel-empty { padding: 3.2rem 1rem; text-align: center; border: 1px dashed #cad8e1; border-radius: 15px; }
.panel-empty > span { color: var(--coral); font-size: 1.7rem; }
.panel-empty h3 { margin: .5rem 0 .3rem; font-size: 1.05rem; font-weight: 830; }
.panel-empty p { margin: 0 0 .7rem; color: var(--muted); font-size: .86rem; }
.panel-empty a { color: var(--coral-dark); font-size: .86rem; font-weight: 800; text-decoration: none; }
.checklist { display: grid; gap: 1rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: .75rem; color: var(--muted); }
.checklist li > span { display: grid; flex: 0 0 auto; width: 28px; height: 28px; place-items: center; background: #edf2f5; border-radius: 50%; font-size: .7rem; font-weight: 850; }
.checklist li.done > span { color: #fff; background: var(--teal); }
.checklist strong, .checklist small { display: block; }
.checklist strong { color: var(--ink); font-size: .86rem; }
.checklist small { font-size: .75rem; line-height: 1.45; }
.profile-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 1rem; }
.profile-form { gap: 1.2rem; }
.privacy-panel { height: fit-content; }
.privacy-panel .summary-icon { margin-bottom: 1rem; }
.privacy-panel p { color: var(--muted); font-size: .88rem; }
.privacy-panel dl { margin: 1.5rem 0 0; }
.privacy-panel dl div { padding: .65rem 0; border-top: 1px solid var(--line); }
.privacy-panel dt { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.privacy-panel dd { margin: .1rem 0 0; font-size: .85rem; font-weight: 750; word-break: break-word; }
.admin-welcome { background: radial-gradient(circle at 88% 15%,rgba(255,105,75,.25),transparent 27%),var(--ink); }
.version-badge { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.12); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 1rem 0; }
.admin-stat-grid article { padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.admin-stat-grid span, .admin-stat-grid strong, .admin-stat-grid small { display: block; }
.admin-stat-grid span { color: var(--muted); font-size: .76rem; font-weight: 760; }
.admin-stat-grid strong { margin: .25rem 0; font-size: 2rem; line-height: 1; }
.admin-stat-grid small { color: #7890a0; font-size: .7rem; }
.table-panel { padding: 0; overflow: hidden; }
.table-panel .panel-head { padding: 1.4rem 1.4rem .2rem; }
.konconi-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.konconi-table th { padding: .75rem 1.4rem; color: var(--muted); background: var(--paper); font-size: .69rem; letter-spacing: .07em; text-align: left; text-transform: uppercase; }
.konconi-table td { padding: .9rem 1.4rem; border-top: 1px solid var(--line); }
.role-badge, .status-badge { display: inline-flex; padding: .25rem .5rem; background: #edf2f5; border-radius: 999px; font-size: .68rem; font-weight: 800; text-transform: capitalize; }
.status-badge.active { color: #087d70; background: var(--sky); }

/* Package 3: provider marketplace */
.provider-welcome { background: radial-gradient(circle at 90% 10%, rgba(255,105,75,.24), transparent 28%), radial-gradient(circle at 70% 100%, rgba(27,183,166,.2), transparent 30%), var(--ink); }
.provider-progress { display: grid; grid-template-columns: repeat(5,1fr); gap: .6rem; margin: 1rem 0; }
.provider-progress span { padding: .7rem .8rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: .75rem; font-weight: 800; text-align: center; }
.provider-progress span.done { color: #087d70; background: var(--sky); border-color: #b9e9e3; }
.provider-sections { display: grid; gap: 1rem; }
.provider-sections fieldset { padding: 0; border: 0; }
.provider-sections fieldset + fieldset { margin-top: .7rem; }
.provider-sections legend { margin-bottom: .8rem; font-size: .9rem; font-weight: 820; }
.subform { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.service-list { display: grid; gap: .7rem; }
.service-list article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.service-list h3 { margin: .35rem 0 .15rem; font-size: 1rem; font-weight: 820; }
.service-list p { margin: 0; color: var(--muted); font-size: .82rem; }
.service-list strong { display: block; margin-top: .55rem; font-size: .84rem; }
.btn-text-danger { padding: .35rem; color: #b52e1b; background: transparent; border: 0; font-size: .75rem; font-weight: 820; }
.choice-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .55rem; }
.choice-card { display: flex; min-height: 44px; align-items: center; gap: .55rem; padding: .6rem .7rem; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; font-size: .8rem; font-weight: 720; cursor: pointer; }
.choice-card input { width: 17px; height: 17px; accent-color: var(--teal); }
.schedule-list { display: grid; gap: .5rem; }
.schedule-row { display: grid; grid-template-columns: minmax(120px,1fr) 135px auto 135px; gap: .65rem; align-items: center; padding: .65rem .75rem; background: var(--paper); border-radius: 11px; }
.schedule-row label { font-size: .82rem; font-weight: 760; }
.schedule-row input[type="checkbox"] { width: 17px; height: 17px; margin-right: .35rem; accent-color: var(--teal); }
.schedule-row input[type="time"] { min-height: 40px; padding: .4rem .55rem; background: #fff; border: 1px solid #cbd8e0; border-radius: 9px; }
.gallery-admin-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.gallery-admin-list article { display: grid; grid-template-columns: 52px 1fr auto; gap: .75rem; align-items: center; padding: .7rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.gallery-admin-list article > span { display: grid; width: 48px; height: 48px; place-items: center; color: var(--coral-dark); background: #fff0ec; border-radius: 12px; font-size: .7rem; font-weight: 820; }
.gallery-admin-list strong, .gallery-admin-list small { display: block; }
.gallery-admin-list strong { font-size: .8rem; }
.gallery-admin-list small { color: var(--muted); font-size: .68rem; text-transform: capitalize; }
.submit-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; color: #fff; background: var(--ink); border-radius: var(--radius); }
.submit-panel h2 { margin: 0 0 .35rem; font-size: 1.55rem; font-weight: 850; }
.submit-panel p { max-width: 680px; margin: 0; color: #b7cad7; }
.submit-panel form { flex: 0 0 auto; }
.status-badge.status-draft { color: #526d80; background: #edf2f5; }
.status-badge.status-pending { color: #8a5a00; background: #fff3cd; }
.status-badge.status-approved { color: #087d70; background: var(--sky); }
.status-badge.status-rejected, .status-badge.status-suspended { color: #a52a1a; background: #fff0ec; }
.provider-welcome > .status-badge, .detail-heading > .status-badge { padding: .5rem .8rem; }
.table-link { color: var(--coral-dark); font-weight: 820; text-decoration: none; white-space: nowrap; }
.detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1rem; }
.detail-heading .back-link { margin-bottom: 1rem; }
.detail-heading h2 { margin: 0; font-size: clamp(2rem,4vw,3.4rem); font-weight: 870; letter-spacing: -.05em; }
.detail-heading p { margin: .25rem 0 0; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 1rem; align-items: start; }
.review-decision { position: sticky; top: 1rem; }
.review-decision h2 { font-size: 1.35rem; font-weight: 850; }
.review-decision > p { color: var(--muted); font-size: .84rem; }
.review-data { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; }
.review-data div { padding: .8rem; background: var(--paper); border: 1px solid var(--line); }
.review-data div:first-child { border-radius: 12px 0 0 12px; }
.review-data div:last-child { border-radius: 0 12px 12px 0; }
.review-data dt { color: var(--muted); font-size: .67rem; text-transform: uppercase; }
.review-data dd { margin: .15rem 0 0; font-size: .82rem; font-weight: 760; }
.document-actions { display: flex; gap: .6rem; margin-top: 1rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-row span { display: inline-flex; padding: .34rem .62rem; color: #24536b; background: var(--sky); border-radius: 999px; font-size: .73rem; font-weight: 780; }
.schedule-summary { display: grid; gap: .45rem; margin-top: 1rem; }
.schedule-summary > span { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .7rem; background: var(--paper); border-radius: 9px; color: var(--muted); font-size: .78rem; }
.schedule-summary strong { color: var(--ink); }
.review-gallery, .public-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.review-gallery figure { margin: 0; overflow: hidden; background: var(--paper); border-radius: 14px; }
.review-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.review-gallery figcaption { padding: .55rem .7rem; color: var(--muted); font-size: .72rem; }
.preserve-lines { white-space: pre-line; }

.explore-hero { padding: 4.8rem 0 2.2rem; color: #fff; background: radial-gradient(circle at 85% 10%,rgba(27,183,166,.23),transparent 28%), radial-gradient(circle at 10% 100%,rgba(255,105,75,.2),transparent 30%), var(--ink); }
.explore-hero .eyebrow { color: #83ddd4; }
.explore-hero h1 { max-width: 850px; margin: 0 0 2rem; font-size: clamp(2.5rem,6vw,4.8rem); line-height: 1; font-weight: 880; letter-spacing: -.06em; }
.explore-filter { display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr auto; gap: .55rem; align-items: end; padding: .75rem; color: var(--ink); background: #fff; border-radius: 18px; box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.explore-filter .form-field label { font-size: .7rem; }
.explore-filter .form-field input, .explore-filter .form-field select { min-height: 44px; }
.explore-results { padding-top: 3.5rem; }
.provider-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.provider-card { overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.provider-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(7,26,45,.1); }
.provider-card > img, .provider-card-initial { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.provider-card-initial { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--ink-2),var(--teal)); font-size: 4rem; font-weight: 880; }
.provider-card-body { padding: 1.15rem; }
.provider-card-meta { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.provider-card-meta small { color: var(--muted); }
.verified-pill { color: #087d70; font-size: .69rem; font-weight: 830; }
.provider-card h3 { margin: .7rem 0 .15rem; font-size: 1.35rem; font-weight: 850; }
.provider-card p { min-height: 3rem; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.provider-price { display: flex; align-items: end; justify-content: space-between; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.provider-price span { color: var(--muted); font-size: .72rem; }
.provider-price strong { font-size: 1rem; }

.provider-public-hero { padding: 5rem 0; color: #fff; background: radial-gradient(circle at 85% 20%,rgba(27,183,166,.22),transparent 30%),var(--ink); }
.provider-public-grid { display: grid; grid-template-columns: 1fr minmax(320px,.65fr); gap: clamp(2rem,6vw,5rem); align-items: center; }
.provider-public-grid .eyebrow { color: #80dcd2; }
.provider-public-grid h1 { margin: 0; font-size: clamp(3.2rem,7vw,6rem); line-height: .95; font-weight: 880; letter-spacing: -.065em; }
.provider-headline { max-width: 680px; margin: 1rem 0 1.4rem; color: #c0d3de; font-size: 1.15rem; }
.provider-cover { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 8px solid rgba(255,255,255,.08); border-radius: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.25); transform: rotate(1.5deg); }
.provider-initial { display: grid; place-items: center; background: linear-gradient(135deg,var(--coral),var(--teal)); font-size: 6rem; font-weight: 880; }
.provider-detail-section { background: var(--paper); }
.public-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 1rem; align-items: start; }
.public-detail-grid > div { display: grid; gap: 1rem; }
.public-card, .booking-teaser { padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: 19px; }
.public-card h2, .booking-teaser h2 { margin: 0 0 .7rem; font-size: 1.4rem; font-weight: 850; }
.public-card > p, .booking-teaser > p { color: var(--muted); }
.public-service-list { display: grid; gap: .75rem; }
.public-service-list article { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem; background: var(--paper); border-radius: 14px; }
.public-service-list h3 { margin: .45rem 0 .2rem; font-size: 1.05rem; font-weight: 830; }
.public-service-list p { margin: 0 0 .4rem; color: var(--muted); font-size: .84rem; }
.public-service-list small { color: #587184; }
.price-pair { display: grid; gap: .35rem; min-width: 145px; }
.price-pair span { padding: .5rem .65rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 9px; font-size: .7rem; }
.price-pair strong { display: block; color: var(--ink); font-size: .84rem; }
.public-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 13px; }
.booking-teaser { position: sticky; top: 1rem; }
.booking-request-form { margin-top: 1.2rem; }

/* Package 4: booking, payment, and meeting workflow */
.booking-welcome { background: radial-gradient(circle at 90% 10%,rgba(27,183,166,.25),transparent 27%),radial-gradient(circle at 65% 110%,rgba(255,105,75,.2),transparent 30%),var(--ink); }
.booking-tabs { display: grid; gap: 1rem; margin-top: 1rem; }
.booking-list { display: grid; gap: .55rem; }
.booking-list > a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 13px; text-decoration: none; }
.booking-list > a:hover { background: #fff; box-shadow: 0 10px 24px rgba(7,26,45,.07); }
.booking-list h3 { margin: .2rem 0 .1rem; font-size: .98rem; font-weight: 830; }
.booking-list p { margin: 0; color: var(--muted); font-size: .77rem; }
.booking-code { display: inline-flex; color: var(--coral-dark); font-size: .69rem; font-weight: 880; letter-spacing: .08em; }
.booking-status { display: inline-flex; padding: .34rem .55rem; color: #405d70; background: #eaf0f4; border-radius: 999px; font-size: .68rem; font-weight: 830; white-space: nowrap; }
.status-requested, .status-negotiating { color: #41647b; background: #e9f2f7; }
.status-waiting_payment, .status-payment_review { color: #875700; background: #fff3cd; }
.status-paid, .status-checked_in, .status-in_progress, .status-completed, .status-settling, .status-settled { color: #087d70; background: var(--sky); }
.status-rejected, .status-cancelled, .status-disputed, .status-refunded, .status-safety_stop { color: #a52a1a; background: #fff0ec; }
.booking-heading { align-items: center; }
.booking-heading .booking-status { padding: .55rem .75rem; }
.booking-timeline { display: grid; grid-template-columns: repeat(10,1fr); margin: 1rem 0; padding: 1rem; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.booking-timeline div { position: relative; min-width: 105px; text-align: center; }
.booking-timeline div::after { content: ""; position: absolute; top: 14px; left: 50%; right: -50%; height: 2px; background: var(--line); }
.booking-timeline div:last-child::after { display: none; }
.booking-timeline span { position: relative; z-index: 1; display: grid; width: 29px; height: 29px; margin: 0 auto .45rem; place-items: center; color: var(--muted); background: #eef3f6; border-radius: 50%; font-size: .66rem; font-weight: 850; }
.booking-timeline small { display: block; color: var(--muted); font-size: .61rem; line-height: 1.25; }
.booking-timeline .done span, .booking-timeline .active span { color: #fff; background: var(--teal); }
.booking-timeline .done::after { background: var(--teal); }
.booking-timeline .active small { color: var(--ink); font-weight: 820; }
.branch-alert { margin: 1rem 0; padding: 1rem 1.2rem; border: 1px solid #ffc7bb; border-radius: 14px; }
.branch-alert strong { display: block; }
.branch-alert p { margin: .2rem 0 0; font-size: .84rem; }
.booking-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 1rem; align-items: start; }
.booking-side { display: grid; gap: 1rem; position: sticky; top: 1rem; }
.booking-facts { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; }
.booking-facts div { padding: .8rem; background: var(--paper); border-right: 1px solid var(--line); }
.booking-facts div:first-child { border-radius: 12px 0 0 12px; }
.booking-facts div:last-child { border: 0; border-radius: 0 12px 12px 0; }
.booking-facts dt { color: var(--muted); font-size: .66rem; text-transform: uppercase; }
.booking-facts dd { margin: .2rem 0 0; font-size: .81rem; font-weight: 780; }
.booking-notes { margin: 1rem 0 0; color: var(--muted); font-size: .84rem; }
.offer-list { display: grid; gap: .6rem; }
.offer-list article { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .9rem; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; }
.offer-list article.offer-pending { border-color: #9ddfd8; box-shadow: inset 3px 0 0 var(--teal); }
.offer-list strong, .offer-list small { display: block; }
.offer-list small { color: var(--muted); font-size: .68rem; }
.offer-list p { margin: .5rem 0 0; color: var(--muted); font-size: .8rem; }
.offer-value { min-width: 180px; text-align: right; }
.offer-value > strong { font-size: 1rem; }
.offer-value > span { color: var(--muted); font-size: .7rem; }
.offer-value form { margin-top: .55rem; }
.offer-value .btn { min-height: 36px; padding: .35rem .7rem; font-size: .75rem; }
.pin-panel, .action-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem; color: #fff; background: var(--ink); border-radius: 18px; }
.pin-panel { display: block; text-align: center; }
.pin-panel > strong { display: block; margin: .4rem 0; color: #fff; font-size: clamp(2.7rem,7vw,4.5rem); line-height: 1; letter-spacing: .2em; }
.pin-panel p, .action-panel p { margin: 0; color: #b7cbd8; font-size: .82rem; }
.pin-form { display: flex; gap: .7rem; }
.pin-form input { min-width: 0; flex: 1; min-height: 52px; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 12px; font-size: 1.5rem; font-weight: 850; letter-spacing: .25em; text-align: center; }
.action-panel h2 { margin: 0 0 .2rem; font-size: 1.35rem; font-weight: 850; }
.meeting-active { background: radial-gradient(circle at 85% 10%,rgba(255,105,75,.25),transparent 30%),var(--ink); }
.event-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.event-list li { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: .65rem; padding-bottom: 1rem; }
.event-list li::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: -2px; width: 2px; background: var(--line); }
.event-list li:last-child::before { display: none; }
.event-list li > span { position: relative; z-index: 1; width: 14px; height: 14px; margin-top: .25rem; background: var(--teal); border: 3px solid #dff7f4; border-radius: 50%; }
.event-list strong, .event-list small { display: block; }
.event-list strong { font-size: .82rem; }
.event-list small { color: var(--muted); font-size: .7rem; }
.financial-card dl { margin: .6rem 0; }
.financial-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.financial-card dt { color: var(--muted); font-size: .74rem; font-weight: 650; }
.financial-card dd { margin: 0; font-size: .77rem; font-weight: 800; text-align: right; }
.financial-card dl .total dt, .financial-card dl .total dd { color: var(--ink); font-size: .95rem; }
.financial-card > small { color: var(--muted); font-size: .69rem; text-transform: capitalize; }
.payment-item { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem; background: var(--paper); border-radius: 10px; }
.payment-item strong, .payment-item small { display: block; }
.payment-item small { color: var(--muted); font-size: .69rem; }
.payment-item a { color: var(--coral-dark); font-size: .74rem; font-weight: 820; }
.compact-form { margin-top: .8rem; }
.compact-form .btn { width: 100%; }
.settlement-card h2 { margin: .2rem 0; font-size: 1.3rem; font-weight: 850; }
.settlement-card p, .danger-zone > p { margin: 0; color: var(--muted); font-size: .78rem; }
.danger-zone { border-color: #f2c5bd; }
.admin-hero-actions { display: flex; gap: .6rem; }

/* Package 5: wallet, affiliate, chat and safety */
.topbar-account { display: flex; align-items: center; gap: 1rem; }
.header-wallet { display: block; min-width: 150px; padding: .55rem .8rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; text-align: right; }
.header-wallet small, .header-wallet strong { display: block; }
.header-wallet small { color: var(--muted); font-size: .65rem; font-weight: 750; }
.header-wallet strong { font-size: .9rem; }
.wallet-hero, .affiliate-link-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem,4vw,2.5rem); color: #fff; background: radial-gradient(circle at 85% 15%,rgba(27,183,166,.28),transparent 30%),var(--ink); border-radius: var(--radius); box-shadow: 0 18px 48px rgba(7,26,45,.15); }
.wallet-hero h2 { margin: .25rem 0; font-size: clamp(2.2rem,5vw,4rem); font-weight: 880; letter-spacing: -.06em; }
.wallet-hero p, .affiliate-link-card small { margin: 0; color: #b7cbd8; }
.wallet-pending { min-width: 190px; padding: 1rem 1.2rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); border-radius: 15px; }
.wallet-pending small, .wallet-pending strong { display: block; }
.wallet-pending small { color: #b7cbd8; font-size: .72rem; }
.wallet-pending strong { margin-top: .2rem; font-size: 1.2rem; }
.wallet-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 1rem 0; }
.wallet-stat-grid article { padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.wallet-stat-grid small, .wallet-stat-grid strong { display: block; }
.wallet-stat-grid small { color: var(--muted); font-size: .72rem; }
.wallet-stat-grid strong { margin-top: .3rem; font-size: 1.05rem; }
.wallet-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.7fr); gap: 1rem; }
.ledger-list, .withdrawal-list { display: grid; gap: .6rem; }
.ledger-list article, .withdrawal-list article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.ledger-list strong, .ledger-list small, .withdrawal-list strong, .withdrawal-list small { display: block; }
.ledger-list small, .withdrawal-list small { color: var(--muted); font-size: .69rem; }
.money-credit { color: #087d70; font-weight: 850; white-space: nowrap; }
.money-debit { color: #b52e1b; font-weight: 850; white-space: nowrap; }
.muted-copy { color: var(--muted); font-size: .85rem; }
.withdrawal-list article > div:last-child { text-align: right; }
.affiliate-welcome .eyebrow { color: #84dcd3; }
.affiliate-link-card { margin-bottom: 1rem; }
.affiliate-link-card > div { min-width: 0; }
.affiliate-link-card strong, .affiliate-link-card small { display: block; }
.affiliate-link-card strong { margin: .35rem 0; overflow-wrap: anywhere; font-size: clamp(1rem,2.3vw,1.45rem); }
.affiliate-payout { max-width: 900px; }
.finance-settings { margin: 1rem 0; }
.three-columns { grid-template-columns: repeat(3,1fr); }
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.table-scroll { overflow-x: auto; }
.table-subtext { display: block; color: var(--muted); font-size: .68rem; }
.inline-rate-form { display: flex; align-items: center; gap: .4rem; }
.inline-rate-form input, .inline-rate-form select, .withdrawal-decision input { min-height: 38px; padding: .45rem .55rem; border: 1px solid #cbd8e0; border-radius: 9px; font: inherit; }
.inline-rate-form input { width: 88px; }
.withdrawal-decision { display: grid; grid-template-columns: minmax(130px,1fr) auto auto; gap: .4rem; }
.chat-thread { display: grid; gap: .65rem; max-height: 430px; padding: .9rem; overflow-y: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.chat-thread article { display: flex; }
.chat-thread article > div { max-width: 82%; padding: .75rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 13px 13px 13px 4px; }
.chat-thread article.mine { justify-content: flex-end; }
.chat-thread article.mine > div { background: var(--sky); border-color: #b9e9e3; border-radius: 13px 13px 4px 13px; }
.chat-thread strong, .chat-thread small { display: block; font-size: .68rem; }
.chat-thread p { margin: .2rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-thread small, .chat-empty, .chat-closed { color: var(--muted); }
.chat-empty { padding: 1.2rem; text-align: center; font-size: .82rem; }
.chat-compose { display: grid; grid-template-columns: 1fr auto; gap: .6rem; margin-top: .7rem; }
.chat-compose textarea { min-height: 54px; padding: .7rem .8rem; border: 1px solid #cbd8e0; border-radius: 12px; resize: vertical; }
.chat-closed { margin: .8rem 0 0; font-size: .78rem; }
.safety-form-panel h2 { margin: .25rem 0; font-size: 1.25rem; font-weight: 850; }
.safety-form-panel > p { color: var(--muted); font-size: .78rem; }
.own-report-list { display: grid; gap: .3rem; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.safety-admin-welcome { background: radial-gradient(circle at 88% 15%,rgba(255,105,75,.28),transparent 27%),var(--ink); }
.safety-report-list { display: grid; gap: 1rem; margin-top: 1rem; }
.safety-report-card.emergency { border-color: #ee7965; box-shadow: 0 0 0 3px rgba(255,105,75,.1); }
.safety-report-head { display: flex; justify-content: space-between; gap: 1rem; }
.safety-report-head h2 { margin: .25rem 0; font-size: 1.2rem; }
.safety-report-head p { margin: 0; color: var(--muted); font-size: .78rem; }
.decision-row { display: flex; gap: .6rem; }
.resolution-note { margin-top: 1rem; padding: .8rem; color: #315467; background: var(--sky); border-radius: 11px; }

@media (max-width: 1100px) {
    .explore-filter { grid-template-columns: 1fr 1fr; }
    .filter-search { grid-column: 1 / -1; }
    .explore-filter .btn { width: 100%; }
    .provider-card-grid { grid-template-columns: 1fr 1fr; }
    .review-grid, .public-detail-grid { grid-template-columns: 1fr; }
    .review-decision, .booking-teaser { position: static; }
    .booking-detail-grid { grid-template-columns: 1fr; }
    .booking-side { position: static; }
    .finance-grid, .wallet-grid { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
    .navbar-collapse { padding: .6rem 0 1rem; }
    .hero-grid, .safety-grid { grid-template-columns: 1fr; }
    .hero-section { padding-top: 4rem; }
    .moment-board { max-width: 620px; transform: none; }
    .activity-grid { grid-template-columns: 1fr 1fr; }
    .safety-grid { gap: 2.5rem; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-aside { min-height: 390px; padding: 2.2rem; }
    .auth-aside > div { margin-block: 3rem; }
    .auth-aside h1 { max-width: 760px; font-size: clamp(2.4rem,8vw,4.2rem); }
    .app-shell { grid-template-columns: 210px minmax(0,1fr); }
    .summary-grid { grid-template-columns: 1fr; }
    .dashboard-grid, .profile-grid { grid-template-columns: 1fr; }
    .admin-stat-grid { grid-template-columns: 1fr 1fr; }
    .provider-public-grid { grid-template-columns: 1fr; }
    .provider-cover { max-width: 620px; transform: none; }
    .choice-grid { grid-template-columns: 1fr 1fr; }
    .booking-facts { grid-template-columns: 1fr 1fr; }
    .booking-facts div { border-bottom: 1px solid var(--line); }
    .three-columns { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    body { padding-bottom: 66px; }
    .container { width: min(100% - 1.25rem, 1160px); }
    .site-header .navbar { min-height: 66px; }
    .navbar-toggler { border: 0; }
    .hero-section { padding: 3.2rem 0 4rem; }
    .hero-copy h1 { font-size: clamp(2.75rem, 15vw, 4.3rem); }
    .hero-copy > p { font-size: 1rem; }
    .activity-search { display: grid; }
    .activity-search button { width: 100%; }
    .trust-row { display: grid; gap: .35rem; }
    .board-two-col, .activity-grid, .steps-grid, .principle-grid, .footer-grid { grid-template-columns: 1fr; }
    .compact-card { min-height: 160px; }
    .section-heading { align-items: start; flex-direction: column; }
    .activity-section, .content-section, .safety-band { padding: 4rem 0; }
    .activity-tile { min-height: auto; }
    .tile-icon { margin-bottom: 1.25rem; }
    .page-hero { padding: 4rem 0 3.5rem; }
    .page-hero h1 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
    .empty-state { padding: 2rem 1.25rem; }
    .site-footer { padding-bottom: 2rem; }
    .mobile-bottom-nav { position: fixed; display: grid; grid-template-columns: repeat(4, 1fr); left: .55rem; right: .55rem; bottom: .55rem; z-index: 1200; min-height: 58px; padding: .34rem; background: rgba(7,26,45,.96); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; box-shadow: 0 14px 36px rgba(0,0,0,.28); backdrop-filter: blur(12px); }
    .mobile-bottom-nav a { display: grid; place-items: center; align-content: center; gap: .05rem; color: #d5e6f1; font-size: .68rem; font-weight: 750; text-decoration: none; }
    .mobile-bottom-nav a span { color: var(--coral); font-size: 1.1rem; line-height: 1; }
    .auth-main { padding: 1.25rem; }
    .auth-aside { min-height: 350px; padding: 1.5rem; }
    .auth-aside > div { margin-block: 2.5rem 1.5rem; }
    .auth-aside h1 { font-size: clamp(2.25rem,12vw,3.4rem); }
    .form-grid { grid-template-columns: 1fr; }
    .full-field { grid-column: auto; }
    .app-shell { display: block; }
    .app-sidebar { display: none; }
    .app-topbar { min-height: 78px; padding: 1rem; }
    .app-topbar h1 { font-size: 1.25rem; }
    .account-chip > div { display: none; }
    .account-chip > span { width: 38px; height: 38px; }
    .topbar-account { gap: .45rem; }
    .header-wallet { min-width: auto; padding: .45rem .6rem; }
    .header-wallet small { display: none; }
    .header-wallet strong { font-size: .78rem; }
    .app-content { padding: 1rem .65rem 1.5rem; }
    .welcome-panel { align-items: start; flex-direction: column; }
    .summary-grid { grid-template-columns: 1fr; }
    .dashboard-grid, .profile-grid, .admin-stat-grid { grid-template-columns: 1fr; }
    .app-mobile-nav { display: grid; }
    .app-mobile-nav form { display: grid; margin: 0; }
    .app-mobile-nav button { display: grid; place-items: center; align-content: center; gap: .05rem; padding: 0; color: #d5e6f1; background: transparent; border: 0; font-size: .68rem; font-weight: 750; }
    .app-mobile-nav button span { color: var(--coral); font-size: 1.1rem; line-height: 1; }
    .konconi-table { min-width: 680px; }
    .provider-progress { grid-template-columns: 1fr 1fr; }
    .choice-grid, .gallery-admin-list, .provider-card-grid, .review-data, .review-gallery, .public-gallery { grid-template-columns: 1fr; }
    .schedule-row { grid-template-columns: 1fr 1fr auto 1fr; }
    .schedule-row label { grid-column: 1 / -1; }
    .submit-panel, .detail-heading { align-items: stretch; flex-direction: column; }
    .submit-panel form, .submit-panel .btn, .document-actions .btn { width: 100%; }
    .document-actions { flex-direction: column; }
    .public-service-list article { grid-template-columns: 1fr; }
    .price-pair { grid-template-columns: 1fr 1fr; }
    .booking-list > a, .offer-list article, .pin-panel, .action-panel { align-items: stretch; flex-direction: column; }
    .offer-list article { grid-template-columns: 1fr; }
    .offer-value { text-align: left; }
    .booking-facts { grid-template-columns: 1fr; }
    .booking-facts div, .booking-facts div:first-child, .booking-facts div:last-child { border-right: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
    .booking-facts div:first-child { border-radius: 12px 12px 0 0; }
    .booking-facts div:last-child { border-bottom: 0; border-radius: 0 0 12px 12px; }
    .pin-form, .admin-hero-actions { flex-direction: column; }
    .pin-panel > strong { letter-spacing: .12em; }
    .wallet-hero, .affiliate-link-card, .safety-report-head { align-items: stretch; flex-direction: column; }
    .wallet-stat-grid { grid-template-columns: 1fr; }
    .wallet-pending { min-width: 0; }
    .chat-compose, .withdrawal-decision { grid-template-columns: 1fr; }
    .inline-rate-form { align-items: stretch; flex-direction: column; }
    .inline-rate-form input { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Package 6: extend the existing navy/coral administration surface. */
.app-sidebar { max-height: 100dvh; overflow-y: auto; }
.app-main { min-width: 0; }
.app-topbar { position: relative; gap: 1rem; flex-wrap: wrap; }
.topbar-account { margin-left: auto; }
.notification-chip { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); text-decoration: none; font-size: 1.6rem; }
.notification-chip b { position: absolute; top: -7px; right: -8px; min-width: 22px; border-radius: 12px; padding: 2px 4px; background: #b8281d; color: white; font-size: .75rem; text-align: center; }
.header-wallet strong { font-size: .95rem; }
.nav-label { display: block; padding: 1.2rem .85rem .25rem; color: #b7c9db; font-size: .875rem; }
.settings-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(240px,1fr); gap: 1.25rem; align-items: start; }
.report-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin: 1.25rem 0; }
.report-stat-grid article { display: grid; gap: .5rem; padding: 1.2rem; background: white; border: 1px solid var(--line); border-radius: 16px; }
.report-stat-grid article strong { font-size: clamp(1.25rem,2vw,1.8rem); overflow-wrap: anywhere; }
.report-stat-grid article span, .table-meta { font-size: .875rem; }
.report-stat-grid small, .table-meta { color: #516073; }
.table-meta { display: block; margin-top: .3rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; }
.filter-bar label { display: grid; gap: .4rem; }
.filter-bar input, .filter-bar select { border: 1px solid var(--line); border-radius: 8px; padding: .6rem; font: inherit; max-width: 100%; }
.command-box { display: block; padding: 1rem; background: #071a2d; color: #e5f2ff; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .875rem; margin: 1rem 0; }
.permission-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem 1rem; }
.permission-grid .check-row { align-items: flex-start; padding: .75rem; border: 1px solid var(--line); border-radius: 10px; }
.ledger-health { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ledger-health > strong { font-size: 2rem; color: #15784e; }
.notification-list { display: grid; gap: .75rem; margin-top: 1rem; }
.notification-item { display: flex; align-items: flex-start; gap: .85rem; width: 100%; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: white; color: #13273b; text-align: left; font: inherit; }
.notification-item:hover { border-color: #d65a43; }
.notification-item > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.notification-item p { margin: .3rem 0; }
.notification-item small { font-size: .875rem; color: #516073; }
.notification-dot { width: 9px; height: 9px; border-radius: 50%; background: #becbd4; flex: 0 0 auto; margin-top: .5rem; }
.notification-item.unread { border-left: 4px solid #e0644e; }
.notification-item.unread .notification-dot { background: #bd3825; }
.notification-item.type-safety { border-left: 4px solid #ad2020; }
.table-link { color: #a52e20; font-weight: 700; }
.mobile-menu { display: none; }
.rbac-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.permission-list { display: grid; gap: .55rem; }
.permission-list > label { display: flex; gap: .8rem; align-items: flex-start; padding: .65rem; border: 1px solid var(--line); border-radius: 8px; }
.permission-list input { margin-top: .4rem; width: 18px; height: 18px; }
.permission-list span { display: grid; gap: .2rem; min-width: 0; }
.permission-list strong { font-size: .95rem; overflow-wrap: anywhere; }
.permission-list small { font-size: .875rem; color: #516073; }
.inline-form, .table-action-form { display: flex; align-items: end; gap: .7rem; flex-wrap: wrap; }
.table-action-form select { padding: .6rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.token-reveal { display: grid; gap: .75rem; background: #edf6f3; padding: 1rem; border-radius: 10px; margin: 1rem 0; }
.token-reveal code { overflow-wrap: anywhere; }
.token-list { display: grid; gap: .75rem; margin: 1rem 0; }
.token-list article { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .8rem; border: 1px solid var(--line); border-radius: 10px; }
.token-list small { display: block; font-size: .875rem; }
.api-doc-line { margin-top: 1rem; overflow-wrap: anywhere; }
.offline-body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 1.5rem; background: #071a2d; }
.offline-card { max-width: 520px; background: white; color: #13273b; padding: clamp(1.5rem,5vw,3rem); border-radius: 22px; }
.offline-card h1 { margin: 1.5rem 0 1rem; font-size: 2rem; }
.offline-card p { line-height: 1.7; }
.offline-card .btn { display: inline-block; margin-top: .8rem; text-decoration: none; padding: .8rem 1.2rem; border-radius: 10px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b8432e; outline-offset: 3px; }
@media (max-width: 1100px) { .report-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .settings-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
    .app-topbar { padding: .9rem; gap: .8rem; }
    .app-topbar h1 { font-size: 1.1rem; }
    .mobile-menu { display: block; }
    .mobile-menu summary { cursor: pointer; list-style: none; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 10px; font-size: .875rem; font-weight: 700; }
    .mobile-menu[open] summary { background: #071a2d; color: white; }
    .mobile-menu-panel { position: absolute; top: 100%; left: .6rem; right: .6rem; z-index: 1300; max-height: 65dvh; overflow-y: auto; padding: 1rem; background: #071a2d; border-radius: 16px; box-shadow: 0 18px 40px #071a2d55; }
    .mobile-menu-panel .app-nav { margin-top: 0; }
    .mobile-menu-panel .btn { color: white; }
    .notification-chip { width: 36px; height: 36px; font-size: 1.3rem; }
    .report-stat-grid, .permission-grid, .rbac-grid { grid-template-columns: 1fr; }
    .mobile-bottom-nav a, .mobile-bottom-nav button { font-size: .875rem; }
    .heading-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
    .notification-item { padding: 1rem; }
}

/* 1.0.3: compact onboarding with server-rendered, bookmarkable tabs. */
.onboarding-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.onboarding-heading h2 { margin:0; font-size:clamp(1.4rem,3vw,2rem); }
.onboarding-heading p { margin:.5rem 0 0; color:var(--muted); }
.onboarding-tabs { display:flex; gap:.5rem; padding:.4rem; margin:1rem 0; background:white; border:1px solid var(--line); border-radius:14px; overflow-x:auto; }
.onboarding-tabs a { display:flex; flex:1 0 auto; align-items:center; justify-content:center; gap:.5rem; min-height:48px; padding:.65rem 1rem; border-radius:10px; font-size:.875rem; font-weight:650; text-decoration:none; }
.onboarding-tabs a[aria-current] { color:white; background:var(--ink-2); }
.onboarding-tabs a:hover { box-shadow:inset 0 0 0 1px #91aabc; }
.onboarding-photo { width:96px; height:96px; object-fit:cover; border-radius:10px; }
.kyc-actions > div { flex:1; min-width:0; }
.kyc-actions strong { display:block; margin-bottom:.5rem; }
.kyc-actions > div > div { display:flex; flex-wrap:wrap; gap:.5rem; }
@media(max-width:680px) { .onboarding-heading { align-items:start; flex-direction:column; } .onboarding-tabs a { flex-direction:column; gap:.25rem; min-width:85px; padding:.6rem; } }

/* 1.0.2: shared navigation, real provider cards and responsive account layout. */
:root { --coral: #d0442b; --coral-dark: #bd3823; --paper: #f5f7fa; --muted: #596b7c; --radius: 18px; }
body { line-height: 1.55; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
input, select, textarea, fieldset { min-width: 0; max-width: 100%; }
button, summary, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
main, section, article, aside, .form-field, .form-grid > *, .summary-card > div { min-width: 0; }
h1, h2, h3, p, .alert, .account-chip strong, .drawer-user strong { overflow-wrap: anywhere; }
html { scroll-padding-top: 130px; }
.ui-icon { display: inline-block; flex: 0 0 auto; width: 22px; height: 22px; vertical-align: middle; }
.btn { gap: .5rem; box-shadow: none; font-size: .9rem; }
.btn .ui-icon, .text-link .ui-icon, .back-link .ui-icon { width: 18px; height: 18px; }
.table-link .ui-icon, .booking-timeline .ui-icon { width: 16px; height: 16px; }
.btn-konconi:hover, .btn-konconi:focus { transform: none; }
.btn-ghost { background: white; }
.text-link, .back-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--coral-dark); font-size: .875rem; font-weight: 750; text-decoration: none; }
.text-link:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 44px; width: 44px; height: 44px; padding: 0; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; cursor: pointer; }
.icon-button:hover { background: var(--paper); }
.brand { gap: .65rem; font-size: 1.5rem; letter-spacing: -.065em; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px 12px 12px 4px; box-shadow: none; }
.eyebrow { font-size: .75rem; letter-spacing: .08em; }
.eyebrow .ui-icon { width: 17px; height: 17px; }
.site-header { background: rgba(255,255,255,.97); }
.public-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 80px; }
.public-links { display: flex; align-items: center; gap: .35rem; }
.public-links a { display: flex; align-items: center; gap: .45rem; min-height: 44px; padding: .6rem .8rem; color: #4d6072; border-radius: 10px; font-size: .875rem; font-weight: 650; text-decoration: none; }
.public-links .ui-icon { width: 18px; height: 18px; }
.public-links a:hover, .public-links a[aria-current] { color: var(--coral-dark); background: #fff0eb; }
.public-account-actions { display: flex; align-items: center; gap: .6rem; }
.public-menu-button, .topbar-brand { display: none; }
.app-body { background: var(--paper); }
.app-shell { grid-template-columns: 248px minmax(0,1fr); }
.app-sidebar { height: 100vh; height: 100dvh; max-height: none; overflow: hidden; padding: 1.4rem .85rem 1rem; }
.sidebar-brand { flex: 0 0 auto; margin: .1rem .4rem 1rem; }
.sidebar-brand small { display: block; margin-top: .2rem; color: #aec1cf; font-size: .75rem; font-weight: 450; letter-spacing: 0; }
.app-nav { display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column; gap: 1.25rem; margin: .25rem 0 1rem; padding: 0 .2rem; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a5265 transparent; }
.nav-section { display: grid; flex: 0 0 auto; gap: .18rem; }
.app-nav .nav-label { margin: 0; padding: .45rem .75rem; color: #93aabb; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: none; }
.app-nav a { min-height: 44px; padding: .6rem .75rem; gap: .75rem; color: #d1dee7; font-size: .875rem; font-weight: 550; border: 1px solid transparent; border-radius: 10px; }
.app-nav a > .nav-text { display: inline; width: auto; color: inherit; font-size: inherit; line-height: 1.4; }
.app-nav a > .ui-icon { width: 20px; height: 20px; color: #91aabc; }
.app-nav a:hover { background: #142e43; }
.app-nav a.active { background: #203a50; border-color: #345267; color: white; }
.app-nav a.active > .ui-icon { color: #ff9d85; }
.sidebar-logout { flex: 0 0 auto; margin: 0 .2rem; padding-top: .75rem; border-top: 1px solid #284052; }
.sidebar-logout button { display: flex; align-items: center; gap: .8rem; min-height: 44px; padding: .65rem .8rem; font-size: .875rem; font-weight: 550; }
.sidebar-logout .ui-icon { width: 20px; height: 20px; }
.app-topbar { position: sticky; top: 0; z-index: 1000; display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 90px; gap: 1rem; padding: 1rem 2rem; background: rgba(255,255,255,.98); }
.topbar-title { min-width: 0; }
.app-topbar h1 { font-size: 1.3rem; font-weight: 750; letter-spacing: -.025em; line-height: 1.35; }
.topbar-kicker { font-size: .75rem; font-weight: 500; letter-spacing: 0; text-transform: none; margin-bottom: .15rem; }
.topbar-account { min-width: 0; gap: .7rem; margin: 0; }
.notification-chip { position: relative; border-color: var(--line); border-radius: 12px; font-size: inherit; }
.notification-chip b { top: -5px; right: -5px; min-width: 18px; padding: 1px 4px; font-size: .75rem; }
.header-wallet { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .5rem .8rem; color: #135f59; background: #eff9f6; border: 1px solid #cfe9e1; border-radius: 12px; text-align: left; }
.header-wallet > span { min-width: 0; }
.header-wallet small { display: block; color: #44736e; font-size: .75rem; font-weight: 500; }
.header-wallet strong { font-size: .95rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.header-wallet:hover { background: #e2f3ed; }
.account-chip { min-width: 0; text-decoration: none; }
.account-chip > span { width: 42px; height: 42px; flex: 0 0 auto; background: var(--ink-2); border: 3px solid #edf2f5; border-radius: 50%; }
.account-chip strong { max-width: 140px; font-size: .875rem; }
.account-chip small { font-size: .75rem; }
.app-content { width: min(1360px,100%); padding: 1.75rem 2rem 3rem; }
.has-drawer { overflow: hidden; }
.nav-drawer { position: fixed; inset: 0 auto 0 0; width: min(360px,calc(100% - 32px)); max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 1rem 1rem max(1rem,env(safe-area-inset-bottom)); color: #fff; background: var(--ink); border: 0; border-radius: 0 18px 18px 0; overflow: auto; overscroll-behavior: contain; }
.nav-drawer[open] { display: flex; flex-direction: column; gap: .75rem; }
.nav-drawer::backdrop { background: rgba(7,26,45,.62); }
.drawer-head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer-head h2 { margin: 0; font-size: 1rem; font-weight: 650; }
.drawer-head .icon-button { color: white; background: #203a50; border-color: #3a5265; }
.drawer-user { display: flex; align-items: center; flex: 0 0 auto; gap: .7rem; padding: .75rem .35rem; border-bottom: 1px solid #284052; }
.drawer-user strong, .drawer-user small { display: block; }
.drawer-user small { color: #aec1cf; font-size: .8rem; }
.nav-drawer .app-nav { margin-top: 0; }
.public-drawer .brand { margin: 1rem .5rem; }
.public-drawer .public-links { display: grid; margin-bottom: 1rem; }
.public-drawer .public-links a { color: #d1dee7; padding: .85rem; }
.public-drawer .public-links a:hover, .public-drawer .public-links a[aria-current] { color: white; background: #203a50; }
.drawer-secondary { display: flex; gap: .6rem; align-items: center; justify-content: center; min-height: 44px; color: #c0d4e2; font-size: .875rem; text-decoration: none; }
.menu-fallback { padding: 1rem; background: var(--ink); color: white; }
.menu-fallback .app-nav { max-height: 70vh; }
.menu-fallback .public-links { display: grid; }
.menu-fallback .public-links a { color: white; }

.market-hero { display: grid; grid-template-columns: minmax(0,1fr) 260px; align-items: center; gap: 3rem; margin-block: 1.5rem 0; padding: 2.75rem 3rem; color: white; background: var(--ink); border-radius: 24px; }
.market-hero .eyebrow { margin-bottom: 1rem; }
.market-hero h1 { margin: 0; font-size: clamp(2rem,3.4vw,3.25rem); font-weight: 750; line-height: 1.15; letter-spacing: -.04em; }
.market-hero h1 span { color: #ffab91; }
.market-hero-copy > p { max-width: 590px; margin: 1rem 0 1.4rem; color: #c1d1dd; }
.market-search { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .4rem; color: var(--ink); background: white; border: 1px solid #d5dfe7; border-radius: 13px; }
.market-search > .ui-icon { margin-left: .55rem; color: #6d7d8d; width: 20px; height: 20px; }
.market-search input { flex: 1; width: 100%; min-width: 0; min-height: 44px; padding: .5rem .2rem; background: transparent; color: var(--ink); border: 0; outline: none; }
.market-search:focus-within { outline: 3px solid #e48c79; outline-offset: 3px; }
.market-search .btn { flex: 0 0 auto; border-radius: 9px; }
.market-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1rem; }
.market-trust span { display: flex; align-items: center; gap: .4rem; color: #c1d1dd; font-size: .75rem; }
.market-trust .ui-icon { width: 16px; height: 16px; color: #8edacd; }
.hero-side-note { padding-left: 2rem; border-left: 1px solid #345267; }
.hero-side-icon { display: inline-flex; padding: 1rem; color: #a5e1d6; background: #163648; border-radius: 18px; }
.hero-side-icon .ui-icon { width: 36px; height: 36px; }
.hero-side-note strong { display: block; margin: 1rem 0; font-size: 1.65rem; font-weight: 550; letter-spacing: -.03em; }
.hero-side-note a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: #c1d1dd; font-size: .875rem; text-decoration: none; }
.hero-side-note a .ui-icon { width: 18px; height: 18px; }
.directory-section { padding-block: 2.75rem; }
.directory-heading { align-items: center; flex-direction: row; gap: 1rem; margin-bottom: 1.15rem; }
.directory-heading .eyebrow { margin-bottom: .5rem; }
.directory-heading h2 { font-size: clamp(1.3rem,2.3vw,1.85rem); font-weight: 750; line-height: 1.25; letter-spacing: -.03em; }
.directory-heading p { margin: .4rem 0 0; color: var(--muted); font-size: .875rem; }
.directory-heading a { flex: 0 0 auto; font-size: .875rem; white-space: normal; }
.category-nav { display: flex; gap: .6rem; margin-bottom: 1.5rem; padding: .25rem .2rem .6rem; overflow-x: auto; scrollbar-width: thin; overscroll-behavior-x: contain; }
.category-nav a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem .9rem; color: #4d6072; background: #fff; border: 1px solid var(--line); border-radius: 11px; font-size: .875rem; font-weight: 550; text-decoration: none; }
.category-nav .ui-icon { width: 20px; height: 20px; }
.category-nav a:hover, .category-nav a[aria-current] { color: #fff; background: var(--ink-2); border-color: var(--ink-2); }
.provider-card-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.2rem; }
.provider-card { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; box-shadow: 0 3px 12px #071a2d04; transition: border-color .15s,box-shadow .15s; }
.provider-card:hover { transform: none; border-color: #b4c5d2; box-shadow: 0 8px 24px #071a2d0c; }
.provider-photo { position: relative; width: 100%; aspect-ratio: 8/9; background: #e6edf1; overflow: hidden; }
.provider-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.provider-photo-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; width: 100%; height: 100%; color: #5b7488; background: #e7eef2; }
.provider-photo-fallback > span { display: grid; width: 86px; height: 86px; place-items: center; font-size: 2.5rem; font-weight: 650; color: #59788d; background: #d6e2e9; border-radius: 50%; }
.provider-photo-fallback small { font-size: .75rem; }
.photo-verified { position: absolute; top: .75rem; left: .75rem; display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .5rem; color: #18564b; background: rgba(255,255,255,.96); border: 1px solid #e1ede8; border-radius: 7px; font-size: .75rem; font-weight: 600; }
.photo-verified .ui-icon { width: 16px; height: 16px; }
.provider-card-body { display: flex; flex-direction: column; flex: 1; padding: 1rem; }
.provider-location { display: flex; align-items: center; gap: .25rem; color: #607286; font-size: .75rem; }
.provider-location .ui-icon { width: 15px; height: 15px; }
.provider-card-body h3 { margin: .3rem 0 .35rem; font-size: 1.1rem; line-height: 1.35; font-weight: 750; letter-spacing: -.02em; }
.provider-card-body .provider-service-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.85em; margin: 0 0 .75rem; color: #526577; font-size: .875rem; line-height: 1.45; }
.provider-category { align-self: flex-start; max-width: 100%; margin-top: auto; padding: .2rem .45rem; color: #4d6375; background: #f2f5f7; border-radius: 5px; font-size: .75rem; }
.provider-price { display: block; margin-top: .85rem; padding-top: .85rem; border-top: 1px solid #edf1f4; }
.provider-price > span { display: block; margin-bottom: .2rem; color: var(--muted); font-size: .75rem; }
.provider-price > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .35rem; }
.provider-price strong { color: var(--ink); font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.provider-price small { color: #607286; font-size: .75rem; }
.provider-card-link { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin-top: .6rem; padding: .45rem .7rem; color: var(--coral-dark); background: #fff3ef; border-radius: 8px; font-size: .875rem; font-weight: 650; }
.provider-card-link .ui-icon { width: 18px; height: 18px; }
.directory-note { margin: 1rem 0 0; color: var(--muted); font-size: .8rem; }
.directory-empty { display: flex; align-items: center; gap: 1.2rem; padding: 2rem; background: white; border: 1px dashed #bdccd7; border-radius: 16px; }
.empty-icon { display: grid; place-items: center; flex: 0 0 auto; width: 56px; height: 56px; color: #45647a; background: #edf3f7; border-radius: 16px; }
.empty-icon .ui-icon { width: 28px; height: 28px; }
.directory-empty > div { flex: 1; }
.directory-empty h3 { margin: 0 0 .35rem; font-size: 1.1rem; font-weight: 700; }
.directory-empty p { margin: 0; color: var(--muted); font-size: .875rem; }
.directory-empty .btn { flex: 0 0 auto; }
.how-strip { padding-bottom: 3.5rem; }
.how-strip-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.how-strip-grid article { display: flex; gap: .8rem; }
.how-strip-grid article > span { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; color: #2d615e; background: #e5f2ee; border-radius: 12px; }
.how-strip h3 { font-size: 1rem; font-weight: 700; }
.how-strip p { color: var(--muted); font-size: .875rem; margin: .35rem 0 0; }
.directory-search-section { padding-top: 2.5rem; }
.directory-search-section h1 { margin: 0; font-size: clamp(1.6rem,3vw,2.5rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.25; }
.directory-search-section > p { margin: .75rem 0 1.3rem; color: var(--muted); }
.directory-filter-form { display: grid; gap: .8rem; }
.directory-filters { padding: .2rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.directory-filters summary { display: flex; width: 100%; min-height: 44px; align-items: center; gap: .5rem; padding: .4rem 0; list-style: none; cursor: pointer; font-size: .875rem; font-weight: 600; }
.directory-filters summary::-webkit-details-marker { display: none; }
.directory-filters summary > .ui-icon:last-child { margin-left: auto; }
.directory-filters[open] summary > .ui-icon:last-child { transform: rotate(180deg); }
.filter-count { padding: .1rem .45rem; color: white; background: var(--ink-2); border-radius: 6px; font-size: .75rem; }
.directory-filter-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; align-items: end; padding: 1rem 0; border-top: 1px solid var(--line); }
.explore-directory { padding-top: 1.75rem; min-height: 40vh; }
.dashboard-welcome { gap: 2rem; padding: 1.75rem 2rem; background: var(--ink); box-shadow: none; }
.dashboard-welcome h2 { font-size: 1.8rem; line-height: 1.25; }
.dashboard-welcome .market-search { width: min(390px,45%); flex: 0 0 auto; }
.quick-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; margin: 1rem 0 2rem; }
.quick-actions a { display: flex; align-items: center; gap: .7rem; min-height: 64px; padding: .9rem 1rem; background: white; border: 1px solid var(--line); border-radius: 12px; font-size: .875rem; font-weight: 650; text-decoration: none; }
.quick-actions a > .ui-icon:first-child { color: #2d736c; }
.quick-actions a > .ui-icon:last-child { width: 17px; height: 17px; margin-left: auto; color: #7990a2; }
.quick-actions a:hover { border-color: #a6c9c3; }
.dashboard-directory { margin-bottom: 2rem; }
.account-progress-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.account-progress-row strong, .account-progress-row small { display: block; }
.account-progress-row strong { font-size: .875rem; }
.account-progress-row small { color: var(--muted); font-size: .8rem; }
.provider-intro { padding-block: 1.5rem 2rem; }
.provider-intro .back-link { margin-bottom: 1rem; }
.provider-intro-grid { display: grid; grid-template-columns: minmax(0,360px) minmax(0,1fr); gap: 3rem; align-items: center; }
.provider-main-photo { border-radius: 20px; }
.provider-intro-copy h1 { margin: 0; font-size: clamp(2rem,4vw,3.25rem); line-height: 1.2; font-weight: 750; letter-spacing: -.04em; }
.provider-intro-copy .provider-headline { font-size: 1.1rem; color: #526577; margin: .75rem 0 1.2rem; }
.intro-price { margin-block: 1.3rem; }
.intro-price > span { color: var(--muted); font-size: .875rem; }
.intro-price strong { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin-top: .25rem; font-size: 1.9rem; font-weight: 750; }
.intro-price small { font-size: .875rem; color: var(--muted); font-weight: 450; }
.intro-price p { margin: .25rem 0 0; color: var(--muted); font-size: .875rem; }
.intro-note { display: flex; gap: .5rem; align-items: center; color: var(--muted); margin: 1rem 0 0; font-size: .8rem; }
.intro-note .ui-icon { color: #2d736c; width: 18px; height: 18px; }
.provider-detail-section { padding-bottom: 3rem; }
.public-detail-grid { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
.booking-teaser { top: 104px; scroll-margin-top: 130px; }
.public-card { background: white; }
.public-card h2, .booking-teaser h2 { font-size: 1.4rem; font-weight: 750; }
.service-duration { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.service-duration .ui-icon { width: 16px; height: 16px; }
.price-pair > span > .ui-icon { width: 15px; height: 15px; margin-right: .25rem; }
.public-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
.public-gallery figure { min-width: 0; margin: 0; }
.gallery-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; background: #e7eef2; }
.gallery-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; height: 100%; color: var(--muted); font-size: .8rem; }
.public-gallery figcaption { margin-top: .5rem; color: var(--muted); font-size: .8rem; }
.provider-visibility { display: flex; gap: .85rem; align-items: start; margin-top: 1rem; padding: 1rem 1.2rem; color: #315a70; background: #ebf3f8; border: 1px solid #cddfe9; border-radius: 12px; }
.provider-visibility > .ui-icon { margin-top: .1rem; }
.provider-visibility strong { display: block; }
.provider-visibility p { margin: .3rem 0 0; font-size: .875rem; }

/* Shared forms, tables and secondary pages keep their existing workflows. */
.panel { padding: 1.35rem; border-radius: 16px; }
.panel h2 { font-size: 1.35rem; }
.table-panel { padding: 0; }
.table-responsive, .table-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.konconi-table { font-size: .875rem; }
.konconi-table th { padding: .8rem 1rem; font-size: .75rem; letter-spacing: .035em; }
.konconi-table td { padding: .85rem 1rem; }
.konconi-table td strong { overflow-wrap: anywhere; }
.table-panel .panel-head { padding: 1.25rem 1.25rem 0; }
.form-field label, .form-field input, .form-field select, .form-field textarea { font-size: .875rem; }
.form-field small, .label-row span, .form-field > p { font-size: .8rem; }
.role-badge, .status-badge, .booking-status, .soft-badge, .version-badge { max-width: 100%; font-size: .75rem; white-space: normal; line-height: 1.5; }
.booking-code, .booking-list p, .schedule-summary > span, .tag-row span { font-size: .8rem; }
.booking-list > a > div { min-width: 0; }
.booking-list h3 { font-size: 1rem; }
.booking-status { flex: 0 0 auto; }
.welcome-panel, .wallet-hero, .affiliate-link-card { box-shadow: none; }
.welcome-panel:not(.dashboard-welcome) h2 { font-size: clamp(1.5rem,2.5vw,2rem); }
.welcome-panel .btn-ghost { color: white; background: #203a50; border-color: #3a5265; }
.admin-stat-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.admin-stat-grid span, .summary-card small, .wallet-stat-grid small { font-size: .875rem; }
.admin-stat-grid small, .summary-card p { font-size: .75rem; }
.admin-stat-grid strong { font-size: 1.85rem; }
.admin-stat-grid .stat-label { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.stat-label .ui-icon { width: 20px; height: 20px; color: #567b8d; }
.report-stat-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.report-stat-grid article { padding: 1rem; }
.ledger-health { flex-wrap: wrap; }
.ledger-health .ui-icon { width: 32px; height: 32px; }
.panel-empty > span .ui-icon { width: 32px; height: 32px; }
.financial-card dt, .financial-card dd, .event-list strong, .service-list p { font-size: .875rem; }
.event-list small, .financial-card > small, .table-subtext, .chat-thread strong, .chat-thread small { font-size: .75rem; }
.filter-bar label { min-width: 0; }
.schedule-row input[type="time"] { min-width: 0; width: 100%; }
.decision-row, .document-actions, .heading-actions { flex-wrap: wrap; }
.auth-aside { min-height: 100dvh; }
.auth-aside h1 { font-size: clamp(2rem,3.3vw,3.25rem); line-height: 1.15; }
.auth-main { padding: 3rem; }
.auth-card { width: 100%; }
.auth-card h2 { font-size: 2rem; }
.back-link { margin-bottom: 1rem; }
.site-footer { padding-top: 3rem; }

@media (max-width: 1250px) {
    .account-chip > div { display: none; }
    .app-content { padding: 1.5rem; }
    .app-topbar { padding-inline: 1.5rem; }
    .app-content .provider-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .dashboard-welcome { display: block; }
    .dashboard-welcome .market-search { width: 100%; margin-top: 1.2rem; }
    .admin-stat-grid, .report-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 991px) {
    .desktop-public-nav, .desktop-signup, .hero-side-note, .app-sidebar { display: none; }
    .public-menu-button, .topbar-brand { display: flex; align-items: center; gap: .5rem; }
    .public-topbar { min-height: 72px; }
    .app-shell { display: block; }
    .app-topbar { grid-template-columns: minmax(0,1fr) auto; gap: .8rem; }
    .topbar-brand { grid-column: 1; grid-row: 1; }
    .topbar-account { grid-column: 2; grid-row: 1; }
    .topbar-title { grid-column: 1/-1; grid-row: 2; }
    .topbar-kicker { display: none; }
    .app-topbar h1 { font-size: 1.3rem; }
    .mobile-brand-name { display: none; }
    body, .app-body { padding-bottom: calc(80px + env(safe-area-inset-bottom,0px)); }
    .auth-body, .offline-body { padding-bottom: 0; }
    .mobile-bottom-nav { position: fixed; inset: auto 0 0; z-index: 1100; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .2rem; min-height: 70px; padding: .4rem max(.6rem,env(safe-area-inset-right)) calc(.4rem + env(safe-area-inset-bottom,0px)) max(.6rem,env(safe-area-inset-left)); background: rgba(255,255,255,.98); border: 0; border-top: 1px solid #dce6ed; border-radius: 0; box-shadow: 0 -4px 20px #071a2d06; }
    .mobile-bottom-nav a { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; min-height: 54px; gap: .2rem; padding: .3rem .1rem; color: #647587; border-radius: 10px; text-decoration: none; }
    .mobile-bottom-nav a > span { color: inherit; font-size: .75rem; line-height: 1.25; font-weight: 600; }
    .mobile-bottom-nav .ui-icon { width: 21px; height: 21px; }
    .mobile-bottom-nav a[aria-current] { color: var(--coral-dark); background: #fff0eb; }
    .mobile-bottom-nav a:hover { color: var(--ink); background: #edf2f6; }
    .market-hero { grid-template-columns: 1fr; padding: 2.25rem; }
    .market-hero h1 { font-size: 2.5rem; }
    .provider-card-grid, .app-content .provider-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .provider-intro-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 1.5rem; }
    .public-detail-grid { grid-template-columns: 1fr; }
    .booking-teaser { position: static; }
    .auth-aside { min-height: auto; padding: 2rem; }
    .auth-aside > div { margin: 2rem 0 0; }
    .auth-aside h1 { font-size: 1.8rem; }
    .auth-aside ul { display: none; }
    .auth-aside p { margin-bottom: 0; }
    .auth-main { padding: 2rem; }
    .auth-card { max-width: 560px; margin: auto; }
}
@media (max-width: 680px) {
    .container { width: calc(100% - 2rem); padding-inline: 0; }
    .public-topbar { gap: .5rem; min-height: 68px; }
    .public-account-actions { gap: .4rem; }
    .header-account-button .ui-icon { display: none; }
    .public-account-actions .btn { padding-inline: .7rem; }
    .brand { font-size: 1.4rem; }
    .brand-mark { width: 34px; height: 34px; }
    .app-topbar { gap: .6rem .4rem; padding: .7rem .8rem; }
    .topbar-brand { gap: .2rem; }
    .topbar-brand .brand-mark { width: 30px; height: 30px; font-size: .875rem; }
    .topbar-account { gap: .4rem; }
    .topbar-account .notification-chip { min-width: 40px; width: 40px; height: 44px; border: 0; }
    .header-wallet { padding: .35rem .55rem; min-height: 44px; max-width: min(170px,calc(100vw - 212px)); }
    .header-wallet > .ui-icon { display: none; }
    .header-wallet small { font-size: .75rem; }
    .header-wallet strong { font-size: .875rem; }
    .account-chip > span { width: 40px; height: 40px; }
    .app-content { padding: 1.1rem 1rem 1.5rem; }
    .market-hero { padding: 1.6rem 1.2rem; margin-top: 1rem; border-radius: 18px; }
    .market-hero h1 { margin-bottom: 1rem; font-size: 1.75rem; line-height: 1.18; }
    .market-hero .eyebrow { margin-bottom: .65rem; }
    .market-hero-copy > p, .market-hero .market-trust { display: none; }
    .market-search { gap: .25rem; }
    .market-search input { font-size: 1rem; }
    .market-search .btn { padding-inline: .7rem; font-size: .875rem; }
    .market-search > .ui-icon { width: 18px; height: 18px; margin-left: .25rem; }
    .market-trust { gap: .55rem .8rem; }
    .directory-section { padding-block: 1.8rem; }
    .directory-heading { gap: .65rem; align-items: center; flex-direction: row; }
    .directory-heading a { max-width: 100px; text-align: right; justify-content: flex-end; font-size: .875rem; }
    .directory-heading a > .ui-icon { width: 16px; height: 16px; }
    .category-nav { margin-bottom: 1rem; }
    .provider-card-grid, .app-content .provider-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
    .provider-card { border-radius: 12px; }
    .provider-card-body { padding: .75rem; }
    .provider-card-body h3 { font-size: 1rem; }
    .provider-card-body .provider-service-title { font-size: .875rem; margin-bottom: .5rem; }
    .provider-category { font-size: .75rem; }
    .provider-price { margin-top: .65rem; padding-top: .65rem; }
    .provider-price strong { font-size: 1rem; }
    .provider-price small { font-size: .75rem; }
    .provider-price > div { align-items: start; flex-direction: column; gap: .1rem; }
    .photo-verified { top: .5rem; left: .5rem; padding: .25rem .35rem; font-size: .75rem; }
    .photo-verified .ui-icon { width: 14px; height: 14px; }
    .provider-photo-fallback > span { width: 60px; height: 60px; font-size: 2rem; }
    .provider-photo-fallback small { padding: 0 .5rem; text-align: center; }
    .provider-card-link { padding: .4rem .5rem; font-size: .875rem; }
    .provider-card-link .ui-icon { width: 16px; height: 16px; }
    .directory-empty { flex-direction: column; align-items: start; padding: 1.35rem; gap: .8rem; }
    .directory-empty .btn { margin-top: .3rem; }
    .how-strip { padding-bottom: 2rem; }
    .how-strip-grid { grid-template-columns: 1fr; padding-top: 1.25rem; gap: 1.25rem; }
    .directory-search-section { padding-top: 1.5rem; }
    .directory-filter-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
    .directory-filter-fields .btn { width: 100%; }
    .directory-filter-fields .form-field:first-child { grid-column: 1/-1; }
    .directory-filters { padding-inline: .85rem; }
    .dashboard-welcome { padding: 1.35rem; }
    .dashboard-welcome h2 { font-size: 1.5rem; }
    .dashboard-welcome .market-search { margin-top: 1rem; }
    .quick-actions { gap: .5rem; margin-bottom: 1.75rem; }
    .quick-actions a { flex-direction: column; align-items: center; gap: .5rem; padding: .85rem .35rem; text-align: center; font-size: .875rem; }
    .quick-actions a > .ui-icon:last-child { display: none; }
    .dashboard-directory { margin-bottom: 1.5rem; }
    .provider-intro { padding-top: 1rem; }
    .provider-intro-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .provider-main-photo { aspect-ratio: 4/3; border-radius: 16px; }
    .provider-intro-copy h1 { font-size: 2rem; }
    .provider-intro-copy .eyebrow { margin-bottom: .5rem; }
    .provider-intro-copy .btn { width: 100%; }
    .provider-detail-section { padding-bottom: 2rem; }
    .public-card, .booking-teaser { padding: 1.2rem; }
    .public-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .panel { padding: 1.1rem; }
    .panel-head { flex-wrap: wrap; gap: .7rem; }
    .table-panel { padding: 0; }
    .admin-stat-grid, .report-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
    .admin-stat-grid article { padding: 1rem; }
    .admin-stat-grid .stat-label { align-items: start; }
    .admin-stat-grid .stat-label > .ui-icon { display: none; }
    .report-stat-grid article strong { font-size: 1.15rem; }
    .report-stat-grid article span { font-size: .875rem; }
    .filter-bar { align-items: stretch; }
    .filter-bar label { flex: 1 1 130px; }
    .filter-bar .btn { flex: 1 1 auto; }
    .form-field input, .form-field select, .form-field textarea, .filter-bar input, .filter-bar select { font-size: 1rem; }
    .schedule-row { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
    .schedule-row > label { grid-column: 1/-1; }
    .schedule-row > label input { width: auto; }
    .price-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .price-pair strong { font-size: .95rem; overflow-wrap: anywhere; }
    .wallet-hero h2 { font-size: clamp(1.65rem,7vw,2.4rem); overflow-wrap: anywhere; }
    .ledger-list article, .withdrawal-list article, .token-list article { flex-wrap: wrap; }
    .money-credit, .money-debit { white-space: normal; overflow-wrap: anywhere; }
    .notification-item { padding: .9rem; }
    .auth-aside { padding: 1.5rem; }
    .auth-aside > div { margin-top: 1.3rem; }
    .auth-aside h1 { font-size: 1.5rem; }
    .auth-aside p { font-size: .875rem; }
    .auth-main { padding: 1.5rem 1rem 2rem; }
    .auth-card h2 { font-size: 1.65rem; }
    .footer-grid { gap: 1.75rem; }
    .footer-title { font-size: .8rem; }
}
@media (max-width: 359px) {
    .provider-card-grid, .app-content .provider-card-grid { grid-template-columns: 1fr; }
    .provider-card .provider-photo { aspect-ratio: 4/3; }
    .header-wallet { padding-inline: .4rem; }
    .topbar-account { gap: .25rem; }
    .directory-filter-fields { grid-template-columns: 1fr; }
    .directory-filter-fields .form-field:first-child { grid-column: auto; }
    .directory-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Affiliate members */
.affiliate-members { margin-bottom: 24px; }
.referral-member-list { list-style: none; margin: 0; padding: 0; }
.referral-member-list li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #edf0f4; }
.referral-member-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #eef2ff; color: #4338ca; font-weight: 700; }
.referral-member-list li > div { min-width: 0; }
.referral-member-list strong { display: block; overflow-wrap: anywhere; }
.referral-member-list small, .referral-member-footer { color: #64748b; }
.referral-member-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; }
.referral-member-footer nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.referral-member-footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* Payment and deposit cards */
.booking-checkout { width: 100%; }
.booking-checkout h2 { margin-bottom: 20px; }
.checkout-methods { display: grid; gap: 20px; margin-top: 24px; }
.checkout-choice { min-width: 0; border-top: 1px solid #e2e8f0; padding-top: 22px; }
.checkout-choice h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.payment-destination { display: grid; gap: 8px; background: #f3f6fb; color: #182235; border-radius: 16px; padding: 18px; margin: 16px 0; overflow-wrap: anywhere; }
.payment-destination .eyebrow { color: #526176; }
.destination-number { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.destination-number b { font-size: 1.3rem; overflow-wrap: anywhere; min-width: 0; }
.payment-destination p { margin: 0; }
.deposit-main { max-width: 850px; margin: 18px 0 24px; }
.deposit-review { padding: 24px 0; border-bottom: 1px solid #e2e8f0; }
.booking-checkout .btn { white-space: normal; }

/* Finance sections and queues */
.finance-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.finance-subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 12px; background: #fff; color: #42526b; border: 1px solid #e2e8f0; text-decoration: none; }
.finance-subnav a[aria-current="page"] { background: #142d46; color: #fff; border-color: #142d46; }
.finance-stat-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.finance-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 16px; }
.finance-filter select { min-height: 44px; max-width: 100%; padding: 8px 12px; border: 1px solid #d6dfeb; border-radius: 10px; }
.queue-action { min-width: 180px; max-width: 300px; }
.queue-action summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
.queue-action p, .queue-action label { white-space: normal; }
.table-panel > .referral-member-footer { padding: 16px; }
@media (max-width: 760px) { .finance-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* Wallet actions inside the balance card */
.smtp-settings { margin-bottom: 20px; }
#email-smtp { scroll-margin-top: 110px; }
.smtp-queue-summary { margin-top: 16px; }
.site-brand-logo { display: block; width: auto; max-width: 168px; height: 38px; object-fit: contain; }
.branding-settings { margin-bottom: 20px; }
.branding-preview { display: flex; align-items: center; justify-content: center; min-height: 100px; padding: 16px; border: 1px solid #cfdae3; border-radius: 12px; background: repeating-conic-gradient(#f3f5f7 0% 25%, #cfd8df 0% 50%) 50% / 20px 20px; }
.branding-preview img { max-width: 100%; max-height: 72px; object-fit: contain; }
.favicon-preview img { width: 48px; height: 48px; }
#identitas-situs { scroll-margin-top: 110px; }
@media (max-width: 991px) {
    .app-topbar .account-chip { display: none; }
    .app-topbar .topbar-account { justify-self: end; }
    .app-topbar .mobile-brand-name { display: inline; }
    .app-topbar .topbar-brand { min-width: 0; }
    .app-topbar .topbar-brand .brand { min-width: 0; gap: 0; font-size: 1.3rem; }
    .app-topbar .topbar-brand .brand-mark { display: none; }
    .app-topbar .site-brand-logo { width: auto; max-width: 110px; height: 32px; }
    .app-topbar .header-wallet { max-width: min(200px, calc(100vw - 182px)); }
}
@media (max-width: 380px) {
    .app-topbar { padding-inline: 10px; }
    .app-topbar .topbar-brand .brand { font-size: 1.1rem; }
    .app-topbar .site-brand-logo { max-width: 82px; height: 30px; }
    .app-topbar .header-wallet { padding-inline: 7px; max-width: calc(100vw - 168px); }
    .app-topbar .notification-chip { width: 34px; min-width: 34px; }
}
.pwa-install-fab { display: none; }
.pwa-install-fab[hidden], .profile-install-card[hidden] { display: none !important; }
@media (max-width: 991.98px) {
    .profile-install-card { display: none; }
    .pwa-install-fab:not([hidden]) { position: fixed; z-index: 1090; right: max(16px, env(safe-area-inset-right, 0px)); bottom: var(--pwa-install-bottom, calc(82px + env(safe-area-inset-bottom, 0px))); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 22px #071a2d30; }
    .pwa-install-fab .ui-icon { width: 20px; height: 20px; }
    body.has-drawer .pwa-install-fab { display: none; }
}
@media (display-mode: standalone) { .pwa-install-fab, .profile-install-card { display: none !important; } }
.wallet-summary-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.withdrawal-available { display: grid; gap: 6px; padding: 24px; margin: 16px 0 24px; color: #fff; background: #071e2e; border-radius: 16px; }
.withdrawal-available strong { font-size: clamp(1.6rem, 5vw, 2.6rem); overflow-wrap: anywhere; }
.withdrawal-available small, .withdrawal-available span { color: #c7dce3; }
.payout-account-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.payout-account-choice { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid #cadbe4; border-radius: 12px; cursor: pointer; }
.payout-account-choice:has(input:checked) { background: #eef8f7; border-color: #087b79; }
.payout-account-choice input[type="radio"] { width: 20px; height: 20px; flex: 0 0 20px; margin: 3px 0 0; }
.payout-account-choice span { min-width: 0; overflow-wrap: anywhere; }
.payout-account-choice strong, .payout-account-choice small { display: block; }
.payout-account-choice small { margin-top: 4px; color: #506779; }
.withdrawal-form fieldset { min-width: 0; }
.withdrawal-form legend { font-size: 1rem; font-weight: 700; }
.payout-add-panel { display: none; margin-top: 16px; }
.payout-add-panel:target { display: block; }
#tambah-rekening, #mutasi-saldo, #penarikan { scroll-margin-top: 110px; }
.wallet-history { margin-top: 16px; min-width: 0; }
.wallet-history-table { min-width: 720px; }
.wallet-history-table td:nth-child(2) { white-space: normal; min-width: 210px; max-width: 320px; overflow-wrap: anywhere; }
.wallet-history-table td:nth-child(4), .wallet-history-table td:nth-child(5) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.wallet-history-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px; }
.wallet-history-footer nav { display: flex; gap: 8px; }
@media (max-width: 760px) { .payout-account-list { grid-template-columns: minmax(0, 1fr); } .wallet-history-footer { align-items: stretch; flex-direction: column; } }
.booking-countdown { display: inline-block; font-variant-numeric: tabular-nums; font-weight: 700; color: #087b79; }
.countdown-expired { font-size: .9rem; }
.pending-earnings { margin-top: 16px; }
.pending-earnings-list article { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid #dbe6ee; }
.pending-earnings-list article > div { min-width: 0; overflow-wrap: anywhere; }
.pending-earnings-list article > div:last-child { text-align: right; }
.pending-earnings-list strong, .pending-earnings-list small, .pending-earnings-list .booking-countdown { display: block; }
.pending-earnings-list small { color: #506779; margin-top: 4px; }
.chat-deadline { padding: 12px; background: #eef8f7; border-radius: 10px; }
@media (max-width: 480px) { .pending-earnings-list article { flex-direction: column; gap: 8px; } .pending-earnings-list article > div:last-child { text-align: left; } }
.wallet-hero { flex-wrap: wrap; }
.wallet-balance { flex: 1 1 280px; min-width: 0; }
.wallet-balance h2 { overflow-wrap: anywhere; }
.wallet-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wallet-hero-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; }
.wallet-withdraw-button { color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.5); }
.wallet-withdraw-button:hover, .wallet-withdraw-button:focus-visible { color: #071a2d; background: #fff; border-color: #fff; }
#tarik-saldo { scroll-margin-top: 100px; }
@media (max-width: 760px) {
    .wallet-hero { flex-direction: column; align-items: stretch; }
    .wallet-balance { flex: none; }
    .wallet-hero-actions .btn { flex: 1 1 140px; }
}
