/* AutoServe360 Core – marketplace UI. Uses theme tokens when available. */
.as360, .as-profile, .as-profile-hero {
	--as-blue: var(--blue-btn, #0b78df);
	--as-blue-h: var(--blue-btn-hover, #0864bb);
	--as-ink: var(--heading, #102339);
	--as-text: var(--text, #4f5d6f);
	--as-muted: var(--muted, #667085);
	--as-line: var(--line, #dcecf8);
	--as-tint: var(--tint, #f3faff);
	--as-r: 14px;
	color: var(--as-text);
}
.as360 *, .as360 *::before, .as360 *::after { box-sizing: border-box; }
.as-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.as-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.as-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 2px solid var(--as-blue, #0b78df); border-radius: 10px; background: var(--as-blue, #0b78df); color: #fff !important; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.as-btn:hover, .as-btn:focus-visible { background: var(--as-blue-h, #0864bb); border-color: var(--as-blue-h, #0864bb); transform: translateY(-1px); }
.as-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.as-btn--block { width: 100%; }
.as-btn--ghost { background: transparent; color: var(--as-blue, #0b78df) !important; }
.as-btn--ghost:hover { color: #fff !important; }
.as-link { color: var(--as-blue, #0b78df); font-weight: 700; text-decoration: none; }
.as-link:hover { text-decoration: underline; }

/* Hero search bar */
.as-searchbar { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 10px; background: #fff; padding: 10px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); max-width: 760px; }
.as-searchbar__field { position: relative; display: block; margin: 0; }
.as-searchbar select, .as-searchbar input { width: 100%; height: 52px; border: 1px solid #d9e2ec; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15px; color: #102339; background: #fff; }
.as-searchbar__loc input { padding-right: 48px; }
.as-searchbar .as-geo { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.as-searchbar__submit { height: 52px; padding: 0 28px; }
@media (max-width: 720px) { .as-searchbar { grid-template-columns: 1fr; } }

.as-geo { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: #e5f5ff; color: var(--as-blue, #0b78df); cursor: pointer; }
.as-geo:hover { background: #cfeaff; }
.as-geo.is-loading { animation: as-pulse 1s infinite; }
@keyframes as-pulse { 50% { opacity: .4; } }

/* Forms */
.as-form { display: grid; gap: 16px; }
.as-field { margin: 0; display: grid; gap: 6px; }
.as-field label, .as-fieldset legend { font-weight: 700; color: var(--as-ink); font-size: 14px; }
.as-field input, .as-field select, .as-field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff; color: #102339; font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.as-field textarea { min-height: 96px; resize: vertical; }
.as-field input:focus, .as-field select:focus, .as-field textarea:focus { outline: none; border-color: var(--as-blue); box-shadow: 0 0 0 3px rgba(21, 152, 255, .2); }
.as-field input[type="file"] { padding: 10px; background: var(--as-tint); }
.as-field small { color: var(--as-muted); font-size: 13px; }
.req { color: #c2261d; }
.as-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.as-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.as-row--4 { grid-template-columns: 1.4fr 1fr .8fr 1fr; }
@media (max-width: 700px) { .as-row, .as-row--3, .as-row--4 { grid-template-columns: 1fr; } }
.as-fieldset { border: 1px solid var(--as-line); border-radius: var(--as-r); padding: 20px; margin: 0; display: grid; gap: 16px; }
.as-fieldset legend { padding: 0 8px; font-size: 16px; }
.as-with-btn { position: relative; display: block; }
.as-with-btn input { padding-right: 70px; }
.as-with-btn .as-geo, .as-with-btn .as-reveal { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); }
.as-reveal { border: 0; background: transparent; color: var(--as-blue); font-weight: 700; font-size: 13px; padding: 8px 10px; cursor: pointer; }
.as-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.as-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--as-blue); flex: none; }
.as-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) { .as-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.as-check--tile { border: 1px solid var(--as-line); border-radius: 10px; padding: 12px; background: #fff; align-items: center; }
.as-check--tile:has(input:checked) { border-color: var(--as-blue); background: #eef7ff; }
.as-form__between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.as-alt { margin-top: 18px; font-size: 15px; color: var(--as-muted); }
.as-alt a { font-weight: 700; color: var(--as-blue); }
.as-fine { font-size: 13.5px; color: var(--as-muted); margin-top: 20px; }

/* Alerts */
.as-alert { border-radius: 12px; padding: 14px 18px; margin: 0 0 18px; font-size: 15px; border: 1px solid; }
.as-alert p, .as-alert ul { margin: 0; }
.as-alert ul { padding-left: 18px; }
.as-alert--error { background: #fef3f2; border-color: #fecdca; color: #912018; }
.as-alert--success { background: #ecfdf3; border-color: #abefc6; color: #085d3a; }
.as-alert--info { background: #eff8ff; border-color: #b2ddff; color: #194185; }

/* Panels & dashboards */
.as-panel { background: #fff; border: 1px solid var(--as-line); border-radius: 18px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 10px 28px rgba(5, 29, 50, .06); }
.as-panel h2, .as-panel h3 { color: var(--as-ink); margin-top: 0; }
.as-panel h2 { font-size: 22px; }
.as-panel h3 { font-size: 18px; }
.as-panel + .as-panel { margin-top: 20px; }
.as-muted { color: var(--as-muted); font-size: 14.5px; }
.as-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; color: var(--as-blue); margin: 0 0 4px; }
.as-dash { display: grid; gap: 20px; }
.as-dash .as-panel + .as-panel { margin-top: 0; }
.as-dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.as-dash__head-actions { display: flex; gap: 18px; }
.as-dash__title { margin: 0; font-size: clamp(24px, 3vw, 32px); }
.as-dash__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 700px) { .as-dash__grid { grid-template-columns: 1fr; } }
.as-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 800px) { .as-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.as-stat { background: #fff; border: 1px solid var(--as-line); border-radius: 14px; padding: 16px; display: grid; gap: 6px; }
.as-stat strong { font-size: 26px; color: var(--as-ink); }
.as-stat__label { font-size: 13px; color: var(--as-muted); font-weight: 700; }
.as-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--as-line); overflow-x: auto; }
.as-tabs a { padding: 12px 16px; font-weight: 700; color: var(--as-muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.as-tabs a[aria-current="page"] { color: var(--as-ink); border-color: var(--as-blue); }
.as-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: #c2261d; color: #fff; font-size: 12px; margin-left: 4px; }
.as-list { list-style: none; padding: 0; margin: 0; }
.as-list__item { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--as-line); flex-wrap: wrap; }
.as-list__item:first-child { border-top: 0; }
.as-list__main { display: grid; gap: 4px; flex: 1 1 320px; }
.as-list__main a { color: var(--as-ink); }
.as-note { background: var(--as-tint); border-radius: 8px; padding: 8px 12px; font-size: 14px; }
.as-dl { display: grid; grid-template-columns: 90px 1fr; gap: 4px 12px; margin: 8px 0 0; font-size: 14.5px; }
.as-dl dt { color: var(--as-muted); font-weight: 700; }
.as-dl dd { margin: 0; }
.as-req__side { display: grid; gap: 10px; justify-items: end; flex: 0 1 300px; }
.as-req__form { display: grid; gap: 8px; width: 100%; }
.as-req__form textarea { width: 100%; border: 1px solid #cfd8e3; border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; }
.as-req__btns { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 700px) { .as-req__side { justify-items: start; } .as-req__btns { justify-content: flex-start; } }
.as-status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: #f2f4f7; color: #344054; }
.as-status--new, .as-status--pending { background: #fffaeb; color: #93370d; }
.as-status--accepted { background: #eff8ff; color: #175cd3; }
.as-status--completed, .as-status--approved { background: #ecfdf3; color: #067647; }
.as-status--declined, .as-status--rejected { background: #fef3f2; color: #b42318; }
.as-review-form { width: 100%; }
.as-review-form summary { list-style: none; cursor: pointer; }
.as-review-form summary::-webkit-details-marker { display: none; }
.as-review-form[open] summary { margin-bottom: 12px; }
.as-rate { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.as-rate legend { width: 100%; font-weight: 700; margin-bottom: 4px; }
.as-rate input { position: absolute; opacity: 0; }
.as-rate label { font-size: 28px; color: #d0d5dd; cursor: pointer; line-height: 1; }
.as-rate input:checked ~ label, .as-rate label:hover, .as-rate label:hover ~ label { color: #f5a524; }
.as-rate input:focus-visible + label { outline: 2px solid var(--as-blue); }

/* Search filters & results */
.as-filters { background: #fff; border: 1px solid var(--as-line); border-radius: 18px; padding: 22px; box-shadow: 0 10px 28px rgba(5, 29, 50, .06); display: grid; gap: 14px; }
.as-filters__row { display: grid; grid-template-columns: 1fr 1.5fr .8fr; gap: 14px; }
.as-filters__more .as-filters__row { grid-template-columns: 1fr 1.5fr; margin-top: 12px; }
@media (max-width: 800px) { .as-filters__row, .as-filters__more .as-filters__row { grid-template-columns: 1fr; } }
.as-filters__more summary { cursor: pointer; color: var(--as-blue); font-weight: 700; font-size: 14.5px; }
.as-filters__actions { display: flex; gap: 18px; align-items: center; }
.as-results { margin-top: 28px; }
.as-results__count { font-size: 16px; color: var(--as-ink); margin-bottom: 16px; }
.as-results-intro { margin: 24px 0 8px; color: var(--as-muted); }
.as-subhead { font-size: 22px; margin: 28px 0 16px; color: var(--as-ink); }
.as-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .as-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .as-grid { grid-template-columns: 1fr; } }
.as-card { background: #fff; border: 1px solid var(--as-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, transform .2s; }
.as-card:hover { box-shadow: 0 16px 34px rgba(5, 29, 50, .12); transform: translateY(-3px); }
.as-card__head { display: flex; gap: 14px; align-items: center; }
.as-card__logo { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; }
.as-card__logo--initial { display: grid; place-items: center; background: linear-gradient(135deg, #0b2941, #12517c); color: #fff; font-weight: 800; font-size: 22px; }
.as-card__title { font-size: 18px; margin: 0 0 2px; line-height: 1.25; }
.as-card__title a { color: var(--as-ink); text-decoration: none; }
.as-card__title a:hover { color: var(--as-blue); }
.as-card__meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14px; }
.as-card__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; }
.as-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #eef4fb; color: #1d3b5a; font-size: 12.5px; font-weight: 700; }
.as-badge--ok { background: #ecfdf3; color: #067647; }
.as-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.as-chip { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--as-tint); border: 1px solid var(--as-line); font-size: 13px; color: #1d3b5a; text-decoration: none; }
a.as-chip:hover { border-color: var(--as-blue); }
.as-locked { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--as-muted); }
.as-stars { display: inline-flex; align-items: center; gap: 1px; font-size: 15px; }
.as-star { color: #d0d5dd; }
.as-star.is-on { color: #f5a524; }
.as-stars__count { margin-left: 6px; font-size: 13px; color: var(--as-muted); }
.as-empty { border: 1px dashed #b9d4ea; border-radius: 16px; padding: 28px; text-align: center; background: var(--as-tint); }
.as-empty h3 { margin: 0 0 6px; color: var(--as-ink); }
.as-gate { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(125deg, #04111f, #0b2941 65%, #12517c); color: #dbe7f2; border-radius: 16px; padding: 22px 24px; margin-bottom: 18px; }
.as-gate strong { color: #fff; }
.as-gate p { margin: 4px 0 0; color: #c9d9e8; }
.as-gate__actions { display: flex; gap: 16px; align-items: center; }
.as-gate .as-link { color: #9bd7ff; }
.as-gate--compact { padding: 16px 20px; }

/* Pricing */
.as-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto; }
@media (max-width: 720px) { .as-plans { grid-template-columns: 1fr; } }
.as-plan { position: relative; background: #fff; border: 1px solid var(--as-line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 28px rgba(5, 29, 50, .06); }
.as-plan.is-featured { border: 2px solid var(--as-blue); box-shadow: 0 20px 44px rgba(11, 120, 223, .18); }
.as-plan__tag { position: absolute; top: -13px; left: 32px; background: var(--as-blue); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.as-plan__name { margin: 0; font-size: 20px; color: var(--as-ink); }
.as-plan__price { margin: 0; color: var(--as-muted); }
.as-plan__price span { font-size: 44px; font-weight: 800; color: var(--as-ink); letter-spacing: -.03em; }
.as-plan__note { margin: 0; color: #067647; font-weight: 700; font-size: 14px; }
.as-plan__list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.as-plan__list li { position: relative; padding-left: 28px; }
.as-plan__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #e5f5ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b78df' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.as-plan form { margin-top: auto; }
.as360--pricing .as-fine { text-align: center; }

/* Provider profile */
.as-profile-hero { background: linear-gradient(125deg, #04111f, #0b2941 65%, #12517c); color: #fff; padding: 36px 0 44px; }
.as-back { color: #9bd7ff; text-decoration: none; font-weight: 700; font-size: 14px; }
.as-profile-hero__row { display: flex; gap: 20px; align-items: center; margin-top: 18px; }
.as-profile-hero__logo { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; font-size: 34px; display: grid; place-items: center; background: linear-gradient(135deg, #1598ff, #12517c); color: #fff; font-weight: 800; flex: none; }
.as-profile-hero__title { color: #fff; font-size: clamp(28px, 4vw, 44px); margin: 0 0 8px; }
.as-profile-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0; color: #c9d9e8; }
.as-profile-hero .as-stars__count { color: #c9d9e8; }
.as-profile { padding: 40px 0 72px; background: var(--tint, #f3faff); }
.as-profile__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.as-profile__side { position: sticky; top: 110px; display: grid; gap: 20px; }
.as-profile__side .as-panel + .as-panel { margin-top: 0; }
.as-contact-box .as-btn + .as-btn { margin-top: 10px; }
.as-contact-box .as-gate { margin: 0; }
@media (max-width: 900px) { .as-profile__grid { grid-template-columns: 1fr; } .as-profile__side { position: static; } }
.as-reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.as-review { border-top: 1px solid var(--as-line); padding-top: 14px; }
.as-review:first-child { border-top: 0; padding-top: 0; }
.as-review__head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.as-review p { margin: 6px 0 0; }
.as-profile .as-panel h3 { margin-top: 20px; }

/* ==========================================================================
   Account area (My Account + Provider dashboard)
   ========================================================================== */
.as-app-page .page-banner { display: none; }
.as-app-page .sec--module { padding: clamp(24px, 4vw, 44px) 0 88px; background: #f4f8fc; }
.as-app-page .sec--module > .container { max-width: 1280px; }

.acct { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; color: var(--as-text); }
.acct .ai { width: 20px; height: 20px; flex: none; }

/* Sidebar */
.acct__side { min-width: 0; position: sticky; top: 108px; background: #fff; border: 1px solid #e3edf6; border-radius: 20px; padding: 20px 14px 14px; box-shadow: 0 10px 30px rgba(5, 29, 50, .06); }
.admin-bar .acct__side { top: 140px; }
.acct-profile { display: flex; gap: 12px; align-items: center; padding: 0 6px; }
.acct-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #1598ff, #0b2941); color: #fff; font-weight: 800; font-size: 18px; letter-spacing: .02em; box-shadow: 0 0 0 4px #eaf5ff; }
.acct-avatar--biz { border-radius: 14px; }
.acct-profile__txt { display: grid; min-width: 0; }
.acct-profile__txt strong { color: var(--as-ink); font-size: 16px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-profile__txt span { font-size: 13px; color: var(--as-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-plan-pill { display: flex; align-items: center; gap: 8px; margin: 16px 6px 14px; padding: 9px 12px; border-radius: 12px; font-size: 13px; font-weight: 800; }
.acct-plan-pill .ai { width: 17px; height: 17px; }
.acct-plan-pill.is-active { background: #ecfdf3; color: #067647; }
.acct-plan-pill.is-inactive { background: #fff7e6; color: #93370d; }
.acct-plan-pill.is-error { background: #fef3f2; color: #b42318; }
.acct__nav { display: grid; gap: 2px; border-top: 1px solid #edf2f7; padding-top: 12px; }
.acct__link { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #344054; font-weight: 700; font-size: 14.5px; text-decoration: none; transition: background .15s, color .15s; }
.acct__link .ai { color: #8a98a8; transition: color .15s; }
.acct__link:hover { background: #f4f8fc; color: var(--as-ink); }
.acct__link:hover .ai { color: var(--as-blue); }
.acct__link.is-current { background: #eaf4ff; color: var(--as-blue); }
.acct__link.is-current .ai { color: var(--as-blue); }
.acct__link.is-current::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--as-blue); }
.acct__count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; display: inline-grid; place-items: center; background: #d92d20; color: #fff; font-size: 12px; }
.acct__sep { height: 1px; background: #edf2f7; margin: 8px 6px; }

/* Main */
.acct__main { display: grid; gap: 22px; min-width: 0; }
.acct__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.acct__kicker { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--as-blue); }
.acct__title { margin: 0; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; color: var(--as-ink); }
.acct__actions { display: flex; gap: 10px; }
.acct .as-btn .ai { width: 18px; height: 18px; }
.acct .as-alert { margin: 0; }

/* Hero banner */
.acct-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 30px; border-radius: 20px; color: #c9d9e8; background: linear-gradient(120deg, #04111f 0%, #0b2941 60%, #12517c 100%); }
.acct-hero::after { content: ""; position: absolute; width: 260px; height: 260px; right: -70px; top: -120px; border-radius: 50%; border: 1px solid rgba(105, 197, 255, .28); box-shadow: 0 0 0 40px rgba(105, 197, 255, .05); pointer-events: none; }
.acct-hero.is-upsell { background: linear-gradient(120deg, #0b2941 0%, #0b78df 100%); }
.acct-hero__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9bd7ff; }
.acct-hero__title { margin: 0 0 6px; font-size: 22px; color: #fff; }
.acct-hero__text { margin: 0; max-width: 560px; font-size: 15px; }
.acct-hero .as-btn { position: relative; z-index: 1; }
.as-btn--light { background: #fff !important; border-color: #fff !important; color: #0b2941 !important; }
.as-btn--light:hover { background: #eaf4ff !important; border-color: #eaf4ff !important; }

/* Stats */
.acct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.acct-stat { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #e3edf6; border-radius: 16px; padding: 18px; }
.acct-stat__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none; background: #eaf4ff; color: var(--as-blue); }
.acct-stat--green .acct-stat__icon { background: #ecfdf3; color: #079455; }
.acct-stat--amber .acct-stat__icon { background: #fff7e6; color: #dc6803; }
.acct-stat__label { display: block; font-size: 13px; font-weight: 700; color: var(--as-muted); }
.acct-stat__value { display: block; font-size: 26px; line-height: 1.2; color: var(--as-ink); letter-spacing: -.02em; }
.acct-stat__value small { font-size: 14px; color: var(--as-muted); font-weight: 600; }
.acct-stat__hint { display: block; font-size: 12.5px; color: #98a2b3; }

/* Cards */
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.acct-card { background: #fff; border: 1px solid #e3edf6; border-radius: 18px; padding: 22px 24px; box-shadow: 0 6px 20px rgba(5, 29, 50, .04); }
.acct-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.acct-card__head h3 { margin: 0; font-size: 17px; color: var(--as-ink); }
.acct-card__sub { font-size: 13.5px; color: var(--as-muted); flex-basis: 100%; }
.acct-card__link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--as-blue); text-decoration: none; }
.acct-card__link .ai { width: 16px; height: 16px; }
.acct-card .req-card { box-shadow: none; }
.acct-card .req-card + .req-card { margin-top: 12px; }

.acct-mini { list-style: none; margin: 0; padding: 0; }
.acct-mini li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #edf2f7; }
.acct-mini li:first-child { border-top: 0; padding-top: 0; }
.acct-mini__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex: none; background: #eef4fb; color: #1d3b5a; font-weight: 800; font-size: 14px; }
.acct-mini__avatar--lg { width: 46px; height: 46px; border-radius: 12px; font-size: 16px; background: linear-gradient(135deg, #e5f3ff, #d3e8fb); color: #0b2941; }
.acct-mini__txt { display: grid; flex: 1; min-width: 0; }
.acct-mini__txt strong { color: var(--as-ink); font-size: 15px; }
.acct-mini__txt span { font-size: 13px; color: var(--as-muted); }

.acct-quick { display: grid; gap: 10px; }
.acct-quick a { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid #e3edf6; border-radius: 14px; text-decoration: none; color: var(--as-muted); font-size: 13px; transition: border-color .15s, background .15s, transform .15s; }
.acct-quick a:hover { border-color: #b2d8ff; background: #f5faff; transform: translateY(-1px); }
.acct-quick .ai { color: var(--as-blue); width: 22px; height: 22px; }
.acct-quick span { display: grid; }
.acct-quick strong { color: var(--as-ink); font-size: 14.5px; }
.acct-safety { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff7e6; color: #93370d; font-size: 13px; font-weight: 600; }
.acct-safety .ai { width: 18px; height: 18px; }

.acct-empty { text-align: center; padding: 28px 16px; }
.acct-empty__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #eaf4ff; color: var(--as-blue); margin-bottom: 12px; }
.acct-empty__icon .ai { width: 26px; height: 26px; }
.acct-empty h3 { margin: 0 0 6px; font-size: 17px; color: var(--as-ink); }
.acct-empty p { margin: 0 auto 14px; max-width: 380px; font-size: 14.5px; color: var(--as-muted); }
.acct__main > .acct-empty { background: #fff; border: 1px dashed #c9dcee; border-radius: 18px; }
.acct-guest { max-width: 520px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid #e3edf6; border-radius: 20px; padding: 40px 28px; box-shadow: 0 10px 30px rgba(5, 29, 50, .06); }
.acct-guest h3 { margin: 0 0 6px; color: var(--as-ink); }
.acct-guest__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Filter chips */
.acct-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.acct-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid #d5e3f0; background: #fff; color: #344054; font-size: 14px; font-weight: 700; text-decoration: none; }
.acct-chip:hover { border-color: var(--as-blue); color: var(--as-blue); }
.acct-chip.is-on { background: var(--as-ink); border-color: var(--as-ink); color: #fff; }

/* Request cards */
.req-card { background: #fff; border: 1px solid #e3edf6; border-radius: 18px; padding: 20px 22px; box-shadow: 0 6px 20px rgba(5, 29, 50, .04); display: grid; gap: 16px; scroll-margin-top: 120px; }
.req-card.is-new { border-color: #fdb022; box-shadow: 0 0 0 3px rgba(253, 176, 34, .15); }
.req-card__head { display: flex; gap: 14px; align-items: center; }
.req-card__who { flex: 1; min-width: 0; }
.req-card__who h3 { margin: 0; font-size: 17px; }
.req-card__who h3 a { color: var(--as-ink); text-decoration: none; }
.req-card__who h3 a:hover { color: var(--as-blue); }
.req-card__who p { margin: 2px 0 0; font-size: 13.5px; color: var(--as-muted); }
.req-card__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 14px 16px; border-radius: 14px; background: #f7fafd; }
.req-card__meta dt { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8a98a8; }
.req-card__meta dt .ai { width: 15px; height: 15px; }
.req-card__meta dd { margin: 4px 0 0; font-size: 14.5px; color: var(--as-ink); font-weight: 600; overflow-wrap: anywhere; }
.req-card__foot { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.req-card__foot:empty { display: none; }
.req-note { border-left: 3px solid var(--as-blue); background: #f2f8ff; border-radius: 0 12px 12px 0; padding: 12px 16px; }
.req-note--customer { border-left-color: #98a2b3; background: #f7f8fa; }
.req-note__label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #475467; }
.req-note__label .ai { width: 15px; height: 15px; }
.req-note p { margin: 6px 0 0; color: var(--as-ink); font-size: 15px; }
.req-reviewed { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13.5px; color: var(--as-muted); }
.req-review { border-top: 1px solid #edf2f7; padding-top: 14px; }
.req-review summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; color: #b54708; list-style: none; }
.req-review summary::-webkit-details-marker { display: none; }
.req-review summary .ai { color: #f5a524; }
.req-review[open] summary { margin-bottom: 14px; }
.req-action { display: grid; gap: 10px; border-top: 1px solid #edf2f7; padding-top: 14px; }
.req-action textarea { width: 100%; border: 1px solid #cfd8e3; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14.5px; resize: vertical; }
.req-action textarea:focus { outline: none; border-color: var(--as-blue); box-shadow: 0 0 0 3px rgba(21, 152, 255, .2); }
.req-action__btns { display: flex; gap: 10px; justify-content: flex-end; }

/* Stepper */
.req-steps { list-style: none; margin: 0; padding: 0; display: flex; }
.req-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #98a2b3; }
.req-step::before { content: ""; position: absolute; top: 13px; left: -50%; right: 50%; height: 3px; background: #e4e7ec; z-index: 0; }
.req-step:first-child::before { display: none; }
.req-step__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid #e4e7ec; color: #fff; }
.req-step__dot .ai { width: 14px; height: 14px; stroke-width: 3; }
.req-step.is-done, .req-step.is-current { color: var(--as-ink); }
.req-step.is-done .req-step__dot, .req-step.is-current .req-step__dot { background: var(--as-blue); border-color: var(--as-blue); }
.req-step.is-done::before, .req-step.is-current::before { background: var(--as-blue); }
.req-step.step-completed.is-current .req-step__dot { background: #079455; border-color: #079455; }
.req-step.step-completed.is-current::before { background: #079455; }
.req-steps.is-declined .req-step.step-declined .req-step__dot { background: #d92d20; border-color: #d92d20; }
.req-steps.is-declined .req-step.step-declined { color: #b42318; }
.req-steps.is-declined .req-step.step-declined::before { background: #fda29b; }

/* Membership plan card */
.acct-plan { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 30px; padding: 28px 30px; border-radius: 20px; color: #c9d9e8; background: linear-gradient(125deg, #04111f 0%, #0b2941 55%, #12517c 100%); position: relative; overflow: hidden; }
.acct-plan::after { content: ""; position: absolute; width: 300px; height: 300px; right: -90px; bottom: -160px; border-radius: 50%; border: 1px solid rgba(105, 197, 255, .25); pointer-events: none; }
.acct-plan__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(18, 183, 106, .16); color: #6ce9a6; font-size: 12.5px; font-weight: 800; }
.acct-plan__badge .ai { width: 15px; height: 15px; }
.acct-plan h3 { margin: 14px 0 4px; color: #fff; font-size: 24px; }
.acct-plan__price { margin: 0; }
.acct-plan__price span { font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.acct-plan__detail { margin: 8px 0 0; font-size: 14.5px; }
.acct-plan__facts { margin: 0; display: grid; gap: 12px; align-content: start; }
.acct-plan__facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.acct-plan__facts dt { font-size: 13.5px; color: #9fb3c6; }
.acct-plan__facts dd { margin: 0; color: #fff; font-weight: 700; font-size: 14.5px; text-align: right; }
.acct-plan__cta { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.acct-plan__cta small { color: #9fb3c6; font-size: 13px; }
.acct-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.acct-benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--as-ink); }
.acct-benefits .ai { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #ecfdf3; color: #079455; stroke-width: 3; }
.acct-card .as-plans { max-width: none; }

/* Profile & security */
.acct-form-foot { display: flex; justify-content: flex-end; padding-top: 6px; border-top: 1px solid #edf2f7; margin-top: 4px; }
.acct .as-field input[readonly] { background: #f7f8fa; color: var(--as-muted); }
.acct-sec { list-style: none; margin: 0; padding: 0; }
.acct-sec li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid #edf2f7; }
.acct-sec li:first-child { border-top: 0; padding-top: 0; }
.acct-sec .ai { color: var(--as-blue); width: 22px; height: 22px; }
.acct-sec div { display: grid; flex: 1; }
.acct-sec strong { color: var(--as-ink); font-size: 14.5px; }
.acct-sec span { font-size: 13px; color: var(--as-muted); }

/* Provider extras */
.acct-meter { height: 8px; border-radius: 99px; background: #edf2f7; overflow: hidden; margin-bottom: 14px; }
.acct-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1598ff, #079455); }
.acct-checks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.acct-checks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--as-muted); }
.acct-checks .ai { width: 18px; height: 18px; color: #c0cad6; }
.acct-checks li.is-done { color: var(--as-ink); }
.acct-checks li.is-done .ai { color: #079455; }
.acct-rating { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #edf2f7; }
.acct-rating > strong { font-size: 44px; line-height: 1; color: var(--as-ink); letter-spacing: -.03em; }
.acct-rating div { display: grid; gap: 4px; }
.acct-rating .as-stars { font-size: 20px; }
.acct-rating span { font-size: 13.5px; color: var(--as-muted); }

/* Responsive */
@media (max-width: 1100px) {
	.acct-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.acct { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.acct__side { position: static; padding: 16px; min-width: 0; }
	.acct-plan-pill { margin: 12px 0; }
	.acct__nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.acct__nav::-webkit-scrollbar { display: none; }
	.acct__link { padding: 9px 12px; }
	.acct__link.is-current::before { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
	.acct__sep { display: none; }
	.acct-plan { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.acct-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.acct-stat { flex-direction: column; gap: 10px; padding: 14px; }
	.req-card { padding: 16px; }
	.req-card__meta { grid-template-columns: 1fr; }
	.req-card__head { flex-wrap: wrap; }
	.acct-benefits { grid-template-columns: 1fr; }
	.acct-hero, .acct-plan { padding: 22px; }
	.req-action__btns { justify-content: stretch; }
	.req-action__btns .as-btn { flex: 1; }
}

/* Profile tab */
.acct-stack { display: grid; gap: 22px; align-content: start; min-width: 0; }
.acct-avatar.has-photo { padding: 0; overflow: hidden; background: #eaf4ff; }
.acct-avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.acct-photo { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.acct-photo__preview { width: 112px; height: 112px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #1598ff, #0b2941); color: #fff; font-size: 36px; font-weight: 800; box-shadow: 0 0 0 5px #eaf4ff; }
.acct-photo__preview img { width: 100%; height: 100%; object-fit: cover; }
.acct-photo__actions { display: grid; gap: 10px; justify-items: start; }
.acct-photo__upload { position: relative; cursor: pointer; }
.acct-photo__upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.acct-photo__upload:focus-within { outline: 3px solid var(--as-blue); outline-offset: 3px; }
.acct-photo__actions small { color: var(--as-muted); font-size: 13px; }
.acct-photo__name:empty { display: none; }
.acct-photo__name { color: var(--as-blue) !important; font-weight: 700; }
.acct-photo__name.is-error { color: #b42318 !important; }
.acct-photo__remove { font-size: 14px; color: #b42318; }

.acct-choice { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.acct-choice legend { grid-column: 1 / -1; font-weight: 700; color: var(--as-ink); font-size: 14px; margin-bottom: 8px; padding: 0; }
.acct-choice__opt { position: relative; cursor: pointer; }
.acct-choice__opt input { position: absolute; opacity: 0; }
.acct-choice__opt span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px solid #d5e3f0; border-radius: 12px; font-weight: 700; font-size: 14px; color: #344054; background: #fff; transition: border-color .15s, background .15s; }
.acct-choice__opt span .ai { width: 18px; height: 18px; color: #8a98a8; }
.acct-choice__opt input:checked + span { border-color: var(--as-blue); background: #eaf4ff; color: var(--as-blue); box-shadow: 0 0 0 1px var(--as-blue); }
.acct-choice__opt input:checked + span .ai { color: var(--as-blue); }
.acct-choice__opt input:focus-visible + span { outline: 3px solid var(--as-blue); outline-offset: 2px; }
@media (max-width: 600px) { .acct-choice { grid-template-columns: 1fr; } }

.acct-toggles { display: grid; gap: 14px; }
.acct-toggle { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; position: relative; }
.acct-toggle input { position: absolute; opacity: 0; }
.acct-toggle__ui { flex: none; width: 44px; height: 26px; border-radius: 13px; background: #d0d5dd; position: relative; transition: background .2s; margin-top: 2px; }
.acct-toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.acct-toggle input:checked + .acct-toggle__ui { background: var(--as-blue); }
.acct-toggle input:checked + .acct-toggle__ui::after { transform: translateX(18px); }
.acct-toggle input:focus-visible + .acct-toggle__ui { outline: 3px solid var(--as-blue); outline-offset: 2px; }
.acct-toggle > span:last-child { display: grid; font-size: 13.5px; color: var(--as-muted); }
.acct-toggle strong { color: var(--as-ink); font-size: 14.5px; }

.acct-savebar { position: sticky; bottom: 16px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-radius: 16px; background: rgba(4, 17, 31, .94); color: #c9d9e8; box-shadow: 0 16px 36px rgba(4, 17, 31, .25); }
.acct-savebar span { font-size: 14px; }
.acct-pct { font-size: 22px; color: var(--as-blue); }

/* ===== Transaction model (fees, quotes, payouts) ===== */
.as-status--info { background: #eff8ff; color: #175cd3; }
.as-status--warn { background: #fffaeb; color: #93370d; }
.as-status--ok { background: #ecfdf3; color: #067647; }
.as-status--bad { background: #fef3f2; color: #b42318; }
.as-status--muted { background: #f2f4f7; color: #475467; }
.as-plan__tag--alt { background: #081a2c; }
.as-fees .as-plan__note { font-weight: 700; color: #081a2c; }
.as-example { margin-top: 32px; background: #fff; border: 1px solid #dcecf8; border-radius: 18px; padding: 28px; }
.as-example__title { margin: 0 0 18px; font-size: 20px; color: #081a2c; }
.as-example__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.as-ledger { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0; padding: 18px 20px; background: #f6fbff; border-radius: 14px; font-size: 15px; }
.as-ledger dt { color: #475467; margin: 0; }
.as-ledger dd { margin: 0; font-weight: 700; color: #102339; text-align: right; font-variant-numeric: tabular-nums; }
.as-ledger .is-total { border-top: 1px dashed #c6dcef; padding-top: 10px; color: #081a2c; font-weight: 800; }
.as-ledger--compact { padding: 14px 16px; font-size: 14px; background: #f8fbfe; }
.as-feebox { background: #f6fbff; border: 1px solid #dcecf8; border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #344054; margin: 4px 0 14px; }
.as-feebox strong { color: #081a2c; }
.as-feebox ul { margin: 8px 0 0; padding-left: 18px; }
.as-feebox li { margin: 3px 0; }
.as-lock-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #475467; background: #f8fafc; border-radius: 12px; padding: 12px 14px; }
.as-lock-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--as-blue); }
.as-req__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.as-req__actions form { margin: 0; }
.as-inline-form { display: grid; gap: 10px; margin-top: 14px; padding: 16px; border: 1px solid #e4eef7; border-radius: 12px; background: #fbfdff; }
.as-inline-form .as-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.as-inline-form label { font-size: 13px; font-weight: 700; color: #344054; display: block; margin-bottom: 4px; }
.as-inline-form input, .as-inline-form textarea { width: 100%; }
.as-quote-calc { font-size: 13px; color: #475467; }
.as-details-toggle { margin-top: 12px; }
.as-details-toggle > summary { cursor: pointer; font-weight: 700; color: var(--as-blue); font-size: 14px; list-style: none; }
.as-details-toggle > summary::-webkit-details-marker { display: none; }
.as-details-toggle > summary::before { content: "+ "; }
.as-details-toggle[open] > summary::before { content: "– "; }
.as-contact-reveal { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; padding: 12px 14px; background: #ecfdf3; border-radius: 12px; font-size: 14px; color: #054f31; }
.as-contact-reveal a { color: inherit; font-weight: 800; }
.as-payout-status { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.as-table-wrap { overflow-x: auto; }
.as-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.as-table th, .as-table td { padding: 10px 12px; border-bottom: 1px solid #eef3f8; text-align: left; white-space: nowrap; }
.as-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #667085; font-weight: 800; }
.as-table td.as-num, .as-table th.as-num { text-align: right; font-variant-numeric: tabular-nums; }
.as-demo-flag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #fff3d6; color: #8a4b00; border-radius: 6px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }
.req-step.is-next .req-step__dot { border-color: var(--as-blue); background: #fff; box-shadow: 0 0 0 4px rgba(11,120,223,.12); }
.req-step.is-next { color: var(--as-ink); }
.req-steps.is-declined .req-step.is-x .req-step__dot { background: #d92d20; border-color: #d92d20; }
.req-steps.is-declined .req-step.is-x::before { background: #d92d20; }
.req-quote { margin-top: 14px; border: 1px solid #b9dcfb; background: linear-gradient(180deg, #f3f9ff, #fff); border-radius: 14px; padding: 16px 18px; }
.req-quote__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 800; color: #081a2c; }
.req-quote__line { margin: 10px 0 0; font-size: 14px; color: #344054; }
.req-card .as-lock-note { margin-top: 14px; }
.req-card .as-ledger--compact { margin-top: 14px; max-width: 460px; }
.req-card > .as-fine .ai { width: 15px; height: 15px; vertical-align: -2px; }
.as-howto { margin: 0; padding: 0; list-style: none; counter-reset: howto; display: grid; gap: 14px; }
.as-howto li { counter-increment: howto; position: relative; padding-left: 40px; font-size: 14.5px; color: #475467; line-height: 1.5; }
.as-howto li::before { content: counter(howto); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #eaf4ff; color: var(--as-blue); font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.as-howto strong { display: block; color: #081a2c; }

/* reCAPTCHA */
.as-captcha { margin: 6px 0 14px; min-height: 78px; }
.as-captcha-note { font-size: 12px; color: #667085; margin: 4px 0 12px; }
.as-captcha-note a { color: inherit; }
.grecaptcha-badge { visibility: hidden; }
@media (max-width: 380px) { .as-captcha { transform: scale(.86); transform-origin: 0 0; min-height: 68px; } }

/* Responsive fixes (Oct 2026 audit) */
.acct__main { grid-template-columns: minmax(0, 1fr); }
.acct-card, .acct-stats, .as-table-wrap { min-width: 0; max-width: 100%; }
.as-table-wrap { -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
	.as-table th, .as-table td { padding: 9px 10px; font-size: 13px; }
	.as-payout-status { display: block; }
	.as-req__actions { width: 100%; }
}
.as-inline-form input[type=text], .as-inline-form input[type=number], .as-inline-form input:not([type]), .as-inline-form textarea { padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 10px; font: inherit; font-size: 15px; background: #fff; color: #102339; }
.as-inline-form input:focus, .as-inline-form textarea:focus { outline: 2px solid rgba(11,120,223,.25); border-color: var(--as-blue); }
/* Account tab strip: hint that it scrolls sideways on phones. */
@media (max-width: 900px) {
	.acct__nav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); scroll-snap-type: x proximity; }
}
/* Tables become stacked cards on phones. */
@media (max-width: 640px) {
	.as-table thead { display: none; }
	.as-table, .as-table tbody, .as-table tr, .as-table td { display: block; width: 100%; }
	.as-table tr { border: 1px solid #e4eef7; border-radius: 12px; padding: 6px 12px; margin-bottom: 10px; }
	.as-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 0; white-space: normal; text-align: right; }
	.as-table td::before { content: attr(data-label); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #667085; text-align: left; }
	.as-table td.as-num { text-align: right; }
}

/* ===== Messages ===== */
.inbox { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: #fff; border: 1px solid #e4eef7; border-radius: 18px; overflow: hidden; min-height: 560px; }
.inbox__list { list-style: none; margin: 0; padding: 8px; border-right: 1px solid #eef3f8; overflow-y: auto; max-height: 680px; }
.inbox__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; color: inherit; }
.inbox__item:hover { background: #f6fbff; }
.inbox__item.is-open { background: #eaf4ff; }
.inbox__txt { min-width: 0; display: grid; }
.inbox__txt strong { font-size: 14px; color: #081a2c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox__txt span { font-size: 13px; color: #667085; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox__item.is-unread .inbox__txt span { color: #102339; font-weight: 700; }
.inbox__meta { display: grid; justify-items: end; gap: 4px; font-size: 11.5px; color: #98a2b3; }
.thread { display: flex; flex-direction: column; min-width: 0; min-height: 560px; }
.thread--empty { align-items: center; justify-content: center; color: #98a2b3; gap: 8px; }
.thread--empty .ai { width: 36px; height: 36px; }
.thread__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eef3f8; }
.thread__back { display: none; color: var(--as-blue); }
.thread__back .ai { transform: rotate(180deg); }
.thread__who { display: grid; min-width: 0; flex: 1; }
.thread__who strong { color: #081a2c; }
.thread__who strong a { color: inherit; text-decoration: none; }
.thread__who span { font-size: 13px; color: #667085; }
.thread__more { position: relative; }
.thread__more > summary { list-style: none; cursor: pointer; font-size: 22px; line-height: 1; padding: 4px 10px; border-radius: 8px; color: #667085; }
.thread__more > summary::-webkit-details-marker { display: none; }
.thread__more[open] > summary { background: #f2f4f7; }
.thread__report { position: absolute; right: 0; top: 38px; width: 280px; z-index: 5; box-shadow: 0 14px 30px rgba(5, 29, 50, .14); }
.thread__msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; max-height: 520px; background: #f8fbfe; }
.msg { max-width: min(78%, 560px); display: grid; gap: 4px; }
.msg__body { padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.msg--theirs { align-self: flex-start; }
.msg--theirs .msg__body { background: #fff; border: 1px solid #e4eef7; border-bottom-left-radius: 4px; color: #102339; }
.msg--mine { align-self: flex-end; justify-items: end; }
.msg--mine .msg__body { background: var(--as-blue); color: #fff; border-bottom-right-radius: 4px; }
.msg--admin .msg__body { background: #fff7e6; border-color: #f5d9a6; }
.msg__who { font-size: 12px; font-weight: 800; color: #475467; padding: 0 4px; }
.msg time { font-size: 11.5px; color: #98a2b3; padding: 0 4px; }
.msg__img img { display: block; max-width: 260px; max-height: 220px; border-radius: 12px; border: 1px solid #e4eef7; object-fit: cover; }
.msg__file { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; background: #fff; border: 1px solid #e4eef7; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--as-blue); text-decoration: none; }
.msg--system { align-self: center; text-align: center; max-width: 90%; font-size: 12.5px; color: #475467; background: #eef3f8; border-radius: 999px; padding: 6px 14px; display: block; }
.msg--system time { display: inline; margin-left: 6px; }
.msg--system a { color: var(--as-blue); font-weight: 700; }
.thread__note { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 18px; font-size: 12.5px; color: #667085; background: #fffaeb; border-top: 1px solid #f5e6c4; }
.thread__note .ai { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; }
.thread__form { border-top: 1px solid #eef3f8; padding: 12px 14px; display: grid; gap: 8px; background: #fff; }
.thread__form textarea { width: 100%; resize: vertical; min-height: 48px; max-height: 200px; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 12px; font: inherit; font-size: 15px; }
.thread__form textarea:focus { outline: 2px solid rgba(11,120,223,.25); border-color: var(--as-blue); }
.thread__actions { display: flex; align-items: center; gap: 10px; }
.thread__actions .as-btn { margin-left: auto; }
.thread__attach { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #475467; cursor: pointer; }
.thread__attach:hover { background: #f2f4f7; }
.thread__attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thread__filename { font-size: 13px; color: #475467; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; }
.thread__err { margin: 0; font-size: 13px; color: #b42318; }
.req-msg-link { margin: 12px 0 0; }
@media (max-width: 900px) {
	.inbox { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.inbox__list { border-right: 0; max-height: none; }
	.inbox.has-open .inbox__list, .inbox:not(.has-open) .thread { display: none; }
	.thread__back { display: inline-flex; }
	.thread { min-height: 0; }
	.thread__msgs { max-height: 60vh; padding: 14px; }
	.msg { max-width: 88%; }
	.thread__report { width: min(280px, 80vw); }
}
