:root {
  --ink: #132d29;
  --muted: #60716e;
  --green: #086b58;
  --green-dark: #075448;
  --mint: #d8eee6;
  --lime: #d8f05e;
  --cream: #f6f3ea;
  --paper: #fffefa;
  --surface: #ffffff;
  --surface-soft: #f2f6f3;
  --surface-hover: #f7faf8;
  --line: #dde5e1;
  --white: #fff;
  --shadow: 0 20px 60px rgba(19, 45, 41, .12);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
[hidden] { display: none !important; }
[hidden] { display: none !important; }

* { box-sizing: border-box; }
.pilot-banner { display: none; }
.pilot-mode .pilot-banner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 18px; background: #fff1c7; color: #5f4810; border-bottom: 1px solid #e4cb75; font-size: 11px; text-align: center; }
.pilot-banner b { color: #8a5d00; letter-spacing: .6px; }
.pilot-banner strong { padding: 3px 8px; border-radius: 99px; background: #8a5d00; color: white; white-space: nowrap; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand { font-family: "Manrope", sans-serif; }

.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 76px); border-bottom: 1px solid rgba(19,45,41,.08); position: relative; z-index: 10; background: rgba(255,254,250,.94); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.8px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px 11px 11px 3px; color: var(--lime); background: var(--green); display: grid; place-items: center; font-size: 22px; }
.desktop-nav { display: flex; gap: 34px; font-size: 14px; font-weight: 600; }
.desktop-nav a { padding: 28px 0 25px; border-bottom: 3px solid transparent; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--green); border-color: var(--lime); }
.top-actions { display: flex; gap: 10px; }
.notification-trigger { position: relative; width: 39px; height: 39px; align-self: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 19px; }
.notification-trigger span { position: absolute; right: -3px; top: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; display: grid; place-items: center; background: #d94b45; color: white; font-size: 8px; font-weight: 800; border: 2px solid white; }
.button { border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 8px 22px rgba(8,107,88,.18); }
.button-primary:hover { background: var(--green-dark); }
.button-ghost { color: var(--green); background: transparent; }
.button-accent { background: var(--lime); color: var(--ink); }
.button-light { background: var(--white); color: var(--green); }
.button-dark { background: var(--ink); color: white; padding: 15px 22px; }

.hero { min-height: 610px; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--cream); overflow: hidden; }
.hero-copy { padding: 82px 6vw 70px max(6vw, calc((100vw - 1300px)/2)); align-self: center; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; background: var(--mint); color: var(--green); padding: 7px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(8,107,88,.13); }
.hero h1 { font-size: clamp(48px, 5.4vw, 79px); line-height: .99; letter-spacing: -4.5px; margin: 24px 0; max-width: 700px; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-copy > p { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 590px; }
.hero-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 690px; margin-top: 24px; }
.path-button { min-width: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; border: 1px solid var(--line); border-radius: 13px; padding: 13px; background: var(--surface); color: var(--ink); text-align: left; }
.path-button > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--mint); color: var(--green); font-size: 19px; }
.path-button b, .path-button small { display: block; }
.path-button b { font-size: 11px; }
.path-button small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.path-button > strong { color: var(--green); }
.professional-path { background: var(--green); color: white; border-color: var(--green); }
.professional-path > span { background: rgba(255,255,255,.15); color: var(--lime); }
.professional-path small { color: rgba(255,255,255,.72); }
.professional-path > strong { color: var(--lime); }
.search-panel { background: white; box-shadow: var(--shadow); border-radius: 16px; display: grid; grid-template-columns: 1.35fr .8fr .75fr auto; padding: 9px; max-width: 880px; margin-top: 32px; align-items: end; }
.search-panel label { display: block; padding: 4px 12px; border-right: 1px solid var(--line); }
.search-panel label > span { font-size: 11px; color: var(--muted); font-weight: 700; display: block; margin: 0 0 4px 30px; }
.input-wrap { display: flex; align-items: center; gap: 10px; }
.input-wrap svg { width: 20px; fill: none; stroke: var(--green); stroke-width: 1.8; }
.input-wrap input, .input-wrap select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 4px 0; }
.input-wrap select { appearance: none; }
.location-wrap { position: relative; }
.location-wrap::after { content: "⌄"; position: absolute; right: 2px; color: var(--muted); }
.search-button { min-height: 54px; padding-inline: 26px; }
.trust-row { display: flex; gap: 22px; margin-top: 23px; color: var(--muted); font-size: 12px; font-weight: 600; }
.trust-row b { color: var(--green); margin-right: 4px; }

.hero-visual { position: relative; background: var(--green); display: grid; place-items: center; min-height: 610px; }
.sun-shape { position: absolute; width: 480px; height: 480px; background: var(--lime); border-radius: 48% 52% 45% 55%; opacity: .94; transform: rotate(-8deg); }
.person-card { width: min(360px, 72%); background: white; border-radius: 24px; overflow: hidden; position: relative; z-index: 2; box-shadow: 0 35px 70px rgba(0,0,0,.22); transform: rotate(2deg); }
.person-photo { height: 335px; background: linear-gradient(150deg, #e9bd84, #bb784a); position: relative; overflow: hidden; }
.portrait { position: absolute; inset: 0; }
.portrait-head { position: absolute; width: 150px; height: 190px; border-radius: 48% 48% 42% 42%; background: #68422e; left: 50%; top: 48px; transform: translateX(-50%); box-shadow: inset 0 42px 0 #211f1b; }
.portrait-head::after { content: ""; position: absolute; width: 76px; height: 34px; border-bottom: 5px solid #fff; border-radius: 50%; left: 37px; top: 105px; opacity: .9; }
.portrait-body { position: absolute; width: 300px; height: 200px; border-radius: 48% 48% 0 0; background: #e5c34e; left: 50%; bottom: -70px; transform: translateX(-50%); }
.online-pill { position: absolute; left: 18px; bottom: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(4px); border-radius: 99px; padding: 7px 11px; font-size: 11px; font-weight: 700; }
.online-pill i { display: inline-block; width: 7px; height: 7px; background: #24a26d; border-radius: 50%; margin-right: 5px; }
.person-info { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.person-info h3 { margin: 0 0 3px; font-size: 18px; }
.person-info p { margin: 0; color: var(--muted); font-size: 13px; }
.rating { background: #f8f3d7; padding: 6px 9px; border-radius: 7px; font-size: 12px; font-weight: 800; }
.floating-note { position: absolute; z-index: 3; background: white; border-radius: 13px; padding: 12px 15px; box-shadow: 0 15px 40px rgba(0,0,0,.18); display: flex; gap: 9px; align-items: center; font-size: 12px; }
.floating-note small { display: block; color: var(--muted); margin-top: 2px; }
.floating-note > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--mint); color: var(--green); font-weight: 900; }
.note-top { top: 15%; left: 7%; }
.note-bottom { bottom: 11%; right: 6%; display: block; }
.note-bottom b { color: var(--green); font-size: 17px; }

.section { padding: 88px max(6vw, calc((100vw - 1300px)/2)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 34px; gap: 20px; }
.kicker { display: block; color: var(--green); letter-spacing: 1.8px; font-weight: 800; font-size: 11px; margin-bottom: 9px; }
.section h2, .how-section h2, .provider-cta h2 { font-size: clamp(29px, 3vw, 42px); letter-spacing: -1.7px; margin: 0; }
.text-button { background: none; border: 0; color: var(--green); font-weight: 700; }
.text-button span { margin-left: 6px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-card { text-align: left; border: 1px solid var(--line); background: white; border-radius: 14px; padding: 22px; min-height: 156px; transition: transform .2s, box-shadow .2s, border .2s; }
.category-card:hover { transform: translateY(-4px); border-color: #a9c9bf; box-shadow: 0 14px 32px rgba(19,45,41,.08); }
.category-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; background: var(--mint); font-size: 23px; margin-bottom: 21px; }
.category-card h3 { font-size: 15px; margin-bottom: 5px; }
.category-card p { color: var(--muted); font-size: 12px; margin: 0; }

.nearby-section { background: #f2f6f3; }
.filter-pills { display: flex; gap: 6px; }
.pill { background: transparent; border: 1px solid #cbd8d3; border-radius: 99px; padding: 8px 13px; color: var(--muted); font-size: 12px; font-weight: 600; }
.pill.active { color: white; background: var(--green); border-color: var(--green); }
.provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.provider-card { border-radius: 16px; background: white; padding: 18px; border: 1px solid transparent; transition: transform .2s, box-shadow .2s; }
.provider-reason { display: inline-block; border-radius: 999px; background: var(--mint); color: var(--green); padding: 5px 8px; margin-bottom: 11px; font-size: 8px; font-weight: 800; }
.provider-card:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(19,45,41,.08); }
.provider-top { display: flex; gap: 13px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 14px 14px 14px 4px; display: grid; place-items: center; color: white; font-size: 20px; font-weight: 800; flex: 0 0 auto; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.avatar.company-avatar { border-radius: 14px; padding: 3px; background: var(--surface-soft) !important; border: 1px solid var(--line); }
.provider-main { min-width: 0; flex: 1; }
.provider-main h3 { margin: 0 0 3px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.provider-main p { margin: 0; color: var(--muted); font-size: 12px; }
.save-button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: white; color: var(--muted); font-size: 17px; }
.save-button.saved { background: #fce5e5; color: #bf3944; border-color: #f5cbcf; }
.provider-meta { display: flex; gap: 15px; border-top: 1px solid #edf0ee; border-bottom: 1px solid #edf0ee; margin: 15px 0; padding: 12px 0; font-size: 11px; color: var(--muted); }
.provider-meta b { color: var(--ink); }
.provider-actions { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 11px; color: var(--muted); }
.price b { display: block; color: var(--ink); font-size: 14px; }
.view-profile { background: var(--mint); border: 0; color: var(--green); font-size: 11px; padding: 9px 12px; border-radius: 8px; font-weight: 700; }
.empty-state { text-align: center; color: var(--muted); padding: 40px; }

.how-section { background: var(--green); color: white; display: grid; grid-template-columns: 1fr 1fr; padding: 84px max(6vw, calc((100vw - 1300px)/2)); gap: 10vw; align-items: center; }
.kicker.light { color: var(--lime); }
.how-copy > p { color: rgba(255,255,255,.72); line-height: 1.7; max-width: 540px; margin: 20px 0 27px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 20px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.steps li > span { color: var(--lime); font-weight: 800; font-size: 12px; }
.steps h3 { margin: 0 0 6px; font-size: 17px; }
.steps p { color: rgba(255,255,255,.65); margin: 0; font-size: 13px; }
.provider-cta { margin: 72px max(6vw, calc((100vw - 1300px)/2)); background: var(--lime); border-radius: 22px; padding: 52px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.provider-cta > div { max-width: 720px; }
.provider-cta p { margin: 14px 0 0; line-height: 1.6; color: #415048; }
.trust-business-section { padding-top: 20px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { border: 1px solid var(--line); border-radius: 16px; padding: 25px; display: flex; gap: 16px; background: white; }
.value-icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--green); display: grid; place-items: center; font: 800 20px "Manrope", sans-serif; }
.value-card h3 { font-size: 16px; margin: 2px 0 8px; }
.value-card p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
.site-footer { padding: 58px max(6vw, calc((100vw - 1300px)/2)) 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(4, 1fr); gap: 42px; align-items: start; }
.footer-intro p { margin: 14px 0 8px; color: var(--ink); font-weight: 750; }
.footer-intro small { display: block; max-width: 280px; line-height: 1.65; color: var(--muted); }
.footer-grid nav { display: grid; gap: 9px; }
.footer-grid h3 { margin: 4px 0 8px; color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid button { width: fit-content; border: 0; background: none; padding: 0; color: var(--muted); text-align: left; font: inherit; cursor: pointer; }
.footer-grid button:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 42px; padding-top: 20px; font-size: 10px; }
.footer-brand { color: var(--ink); font-size: 20px; }
.footer-brand .brand-mark { width: 31px; height: 31px; font-size: 17px; }

.mobile-nav { display: none; }

/* Authenticated application shell */
.app-shell[hidden] { display: none; }
body.authenticated-mode { background: #f5f7f5; padding-bottom: 0; }
body.authenticated-mode > .topbar,
body.authenticated-mode > #public-site,
body.authenticated-mode > #public-footer,
body.authenticated-mode > #public-mobile-nav { display: none !important; }
.app-shell { min-height: calc(100dvh - 0px); background: #f5f7f5; }
.app-topbar { position: sticky; top: 0; z-index: 28; height: 74px; display: grid; grid-template-columns: 240px 1fr auto; align-items: center; gap: 24px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
.app-brand { border: 0; background: none; color: var(--ink); padding: 0; cursor: pointer; }
.app-role-switcher { justify-self: center; display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); }
.app-role-switcher[hidden] { display: none; }
.app-role-switcher button { border: 0; border-radius: 999px; padding: 8px 14px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 800; cursor: pointer; }
.app-role-switcher button.active { background: var(--green); color: white; box-shadow: 0 4px 12px rgba(13,99,80,.18); }
.app-top-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.app-icon-action { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--green); font-size: 20px; cursor: pointer; }
.app-icon-action > span { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border: 2px solid white; border-radius: 99px; background: #b84e42; color: white; font-size: 8px; font-weight: 850; }
.app-user-action { min-width: 178px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; border: 0; border-radius: 13px; padding: 5px 7px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.app-user-action:hover { background: var(--surface-soft); }
.app-user-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font: 800 12px "Manrope", sans-serif; }
.app-user-action b, .app-user-action small { display: block; }
.app-user-action b { font-size: 12px; }
.app-user-action small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.app-user-action strong { color: var(--muted); font-size: 10px; }
.app-layout { min-height: calc(100dvh - 74px); display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.app-sidebar { position: sticky; top: 74px; align-self: start; height: calc(100dvh - 74px); display: flex; flex-direction: column; justify-content: space-between; padding: 28px 18px 20px; border-right: 1px solid var(--line); background: white; }
.app-sidebar nav { display: grid; gap: 5px; }
.app-sidebar nav button { width: 100%; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 11px; padding: 12px 13px; background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.app-sidebar nav button span { width: 24px; color: var(--green); font-size: 17px; text-align: center; }
.app-sidebar nav button b { font-size: 12px; }
.app-sidebar nav button:hover, .app-sidebar nav button.active { background: var(--mint); color: var(--green); }
.app-sidebar-help { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; border-radius: 13px; padding: 13px; background: var(--green); color: white; }
.app-sidebar-help > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.15); color: var(--lime); font-weight: 900; }
.app-sidebar-help b, .app-sidebar-help small { display: block; }
.app-sidebar-help b { font-size: 11px; }
.app-sidebar-help small { margin-top: 2px; color: rgba(255,255,255,.72); font-size: 9px; }
.app-sidebar-help button { grid-column: 1 / -1; border: 0; border-radius: 8px; padding: 8px; background: white; color: var(--green); font-size: 10px; font-weight: 850; cursor: pointer; }
.app-dashboard { width: min(1480px, 100%); margin: 0 auto; padding: 40px clamp(24px, 4vw, 58px) 70px; }
.app-dashboard-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 28px; }
.app-dashboard-heading h1 { margin: 5px 0 6px; font: 800 clamp(30px, 4vw, 46px)/1.06 "Manrope", sans-serif; letter-spacing: -2px; }
.app-dashboard-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.app-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.app-stat-card { position: relative; min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: white; color: var(--ink); box-shadow: 0 8px 30px rgba(28,57,49,.04); text-align: left; font: inherit; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.app-stat-card::after { content: "→"; position: absolute; top: 15px; right: 16px; color: var(--green); font-weight: 900; }
.app-stat-card:hover, .app-stat-card:focus-visible { transform: translateY(-2px); border-color: #8dbdaf; box-shadow: 0 13px 34px rgba(28,57,49,.09); outline: none; }
.app-stat-card span, .app-stat-card strong, .app-stat-card small { display: block; }
.app-stat-card span { color: var(--muted); font-size: 11px; }
.app-stat-card strong { margin: 7px 0 5px; color: var(--ink); font: 800 25px "Manrope", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-stat-card small { color: var(--green); font-size: 10px; }
.app-stat-card.highlight { border-color: transparent; background: var(--green); color: white; }
.app-stat-card.highlight span, .app-stat-card.highlight small { color: rgba(255,255,255,.7); }
.app-stat-card.highlight strong { color: var(--lime); }
.app-stat-card.highlight::after { color: var(--lime); }

body.authenticated-mode dialog.page-view {
  inset: 74px 0 0 240px;
  width: calc(100vw - 240px);
  height: calc(100dvh - 74px);
  max-height: calc(100dvh - 74px);
  margin: 0;
  z-index: 40;
}
body.authenticated-mode dialog.page-view::backdrop { background: transparent; backdrop-filter: none; pointer-events: none; }
body.authenticated-mode .page-view .dialog-card { width: min(1480px, 100%); padding-bottom: 90px; }

.request-intake { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 9px; background: #fff4d8; color: #855b13; font-size: 9px; font-weight: 850; }
.request-intake.urgent { background: #ffe7e2; color: #a33f34; }
.request-intake.closed { background: #edf1ef; color: var(--muted); }
.request-intake i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
.job-card .job-intake-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 9px 0 3px; }
.proposal-offer .proposal-reject { margin-top: 6px; border: 0; background: transparent; color: #9b554d; text-decoration: underline; }
.client-decision-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; border-radius: 11px; padding: 11px 13px; background: #fff8e8; color: #725515; font-size: 10px; }
.client-decision-actions[hidden] { display: none; }
.client-decision-actions span { margin-right: auto; }
.client-decision-actions button { border: 1px solid #dfc98d; border-radius: 8px; padding: 7px 9px; background: white; color: #725515; font-weight: 800; }
.app-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .65fr); gap: 18px; align-items: start; }
.app-dashboard-aside { display: grid; gap: 18px; }
.app-panel { border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 8px 32px rgba(28,57,49,.04); }
.app-main-panel { min-height: 410px; padding: 22px; }
.app-quick-panel, .app-profile-progress { padding: 18px; }
.app-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 16px; }
.app-panel-heading span { color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.app-panel-heading h2 { margin: 5px 0 0; font-size: 18px; }
.app-panel-heading > button { border: 0; background: none; color: var(--green); font-size: 11px; font-weight: 850; cursor: pointer; }
.app-activity-list { display: grid; gap: 9px; }
.app-activity-item { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 13px; padding: 14px; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }
.app-activity-item:hover { border-color: #9ac3b6; transform: translateY(-1px); }
.app-activity-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--mint); color: var(--green); font-size: 17px; }
.app-activity-item b, .app-activity-item small { display: block; }
.app-activity-item b { font-size: 12px; }
.app-activity-item small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.app-activity-item strong { color: var(--green); font-size: 11px; white-space: nowrap; }
.app-empty-state { display: grid; place-items: center; min-height: 260px; border: 1px dashed var(--line); border-radius: 14px; padding: 30px; text-align: center; }
.app-empty-state span { font-size: 30px; }
.app-empty-state h3 { margin: 10px 0 5px; font-size: 14px; }
.app-empty-state p { max-width: 420px; margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.app-quick-actions { display: grid; gap: 8px; }
.app-quick-actions button { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 11px; padding: 12px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 750; text-align: left; cursor: pointer; }
.app-quick-actions button span { color: var(--green); }
.app-profile-progress { background: linear-gradient(145deg, #eff8f4, white); }
.app-profile-progress > span { color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.app-profile-progress h3 { margin: 7px 0 5px; font-size: 16px; }
.app-profile-progress p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.app-progress-track { height: 7px; margin: 14px 0 7px; border-radius: 99px; overflow: hidden; background: #dce9e4; }
.app-progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.app-profile-progress small { color: var(--green); font-size: 10px; }
.app-mobile-nav { display: none; }
dialog { border: 0; padding: 0; border-radius: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.24); width: min(620px, calc(100% - 30px)); color: var(--ink); }
dialog::backdrop { background: rgba(7,31,27,.6); backdrop-filter: blur(4px); }
.dialog-card { padding: 30px; background: white; }
.dialog-head { display: flex; justify-content: space-between; align-items: start; }
.dialog-head h2 { margin: 0; font-size: 27px; }
.icon-button { border: 0; background: #eef2f0; border-radius: 50%; width: 36px; height: 36px; font-size: 24px; line-height: 1; color: var(--muted); }
.progress { height: 4px; background: #edf0ee; margin: 22px 0 27px; border-radius: 99px; overflow: hidden; }
.progress span { display: block; width: 50%; height: 100%; background: var(--lime); transition: width .3s; }
.form-step { display: none; min-height: 220px; }
.form-step.active { display: block; }
.choice-field, .quote-breakdown { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0 0 16px; }
.choice-field legend, .quote-breakdown legend { font-weight: 700; font-size: 12px; padding: 0 6px; }
.segmented-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.segmented-options label { position: relative; }
.segmented-options input { position: absolute; opacity: 0; }
.segmented-options span { display: block; text-align: center; border: 1px solid var(--line); border-radius: 9px; padding: 10px 5px; color: var(--muted); font-size: 10px; font-weight: 700; cursor: pointer; }
.segmented-options input:checked + span { border-color: var(--green); background: var(--mint); color: var(--green); }
.urgent-choice { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 10px; background: #fff7d9; cursor: pointer; }
.urgent-choice input { accent-color: #bd7b18; }
.urgent-choice b, .urgent-choice small { display: block; }
.urgent-choice b { font-size: 11px; color: #725000; }
.urgent-choice small { font-size: 9px; color: #816f41; margin-top: 2px; }
.form-label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.form-label select, .form-label textarea, .form-label input { width: 100%; border: 1px solid #ccd7d3; border-radius: 10px; padding: 12px 13px; margin-top: 7px; outline: none; background: white; color: var(--ink); }
.form-label textarea { resize: vertical; }
.form-label select:focus, .form-label textarea:focus, .form-label input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,107,88,.1); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.location-fields { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 12px; }
.private-field { display: block; margin-top: 3px; color: var(--green); font-weight: 500; font-size: 10px; }
.map-preview { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 145px 1fr; align-items: center; margin: 0 0 16px; background: var(--surface-soft); }
.map-grid { height: 92px; position: relative; background: linear-gradient(30deg, transparent 48%, #b7d1c8 49%, #b7d1c8 51%, transparent 52%), linear-gradient(120deg, transparent 48%, #c8d9d3 49%, #c8d9d3 51%, transparent 52%), #e7f0ec; background-size: 38px 38px, 46px 46px; display: grid; place-items: center; }
.map-grid i { position: absolute; width: 66px; height: 66px; background: rgba(8,107,88,.15); border: 1px solid rgba(8,107,88,.28); border-radius: 50%; }
.map-grid span { z-index: 1; color: var(--green); font-size: 22px; }
.map-preview > div:last-child { padding: 13px; }
.map-preview b, .map-preview small { display: block; }
.map-preview b { font-size: 11px; }
.map-preview small { color: var(--muted); font-size: 9px; line-height: 1.45; margin-top: 4px; }
.request-media { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mini-upload { position: relative; border: 1px dashed #a9bbb5; border-radius: 10px; padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 2px 9px; cursor: pointer; }
.mini-upload input { position: absolute; opacity: 0; inset: 0; width: 100%; cursor: pointer; }
.mini-upload span { grid-row: 1 / 3; font-size: 20px; color: var(--green); }
.mini-upload b, .mini-upload small { display: block; }
.mini-upload b { font-size: 10px; }
.mini-upload small { color: var(--muted); font-size: 8px; }
.money-input { position: relative; }
.money-input span { position: absolute; right: 13px; top: 19px; color: var(--muted); }
.money-input input { padding-right: 50px; }
.check-label { display: flex; gap: 9px; align-items: center; font-size: 13px; color: var(--muted); }
.check-label input { accent-color: var(--green); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid #edf0ee; padding-top: 20px; margin-top: 8px; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 12px 18px; border-radius: 10px; z-index: 100; font-size: 13px; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.profile-modal { position: relative; }
.profile-close { position: absolute; right: 20px; top: 20px; z-index: 2; }
.profile-hero { display: flex; align-items: center; gap: 18px; padding-right: 50px; }
.profile-hero .avatar { width: 82px; height: 82px; font-size: 29px; }
.profile-hero h2 { margin: 0 0 5px; }
.profile-hero p { margin: 0; color: var(--muted); }
.verified { color: var(--green); font-size: 12px; font-weight: 700; margin-top: 6px; display: block; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: #f2f6f3; border-radius: 12px; padding: 15px; margin: 22px 0; text-align: center; }
.profile-stats b { display: block; font-size: 18px; }
.profile-stats span { font-size: 11px; color: var(--muted); }
.profile-location { margin: 15px 0 0; color: var(--muted); font-size: 11px; }
.profile-section { margin: 24px 0; }
.profile-section h3 { font-size: 15px; margin: 0 0 10px; }
.profile-section > p { color: var(--muted); line-height: 1.7; font-size: 13px; margin: 0; }
.profile-section-head { display: flex; align-items: center; justify-content: space-between; }
.profile-section-head span { color: var(--muted); font-size: 10px; }
.profile-specialties, .credential-list { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-specialties span, .credential-list span { border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--line); padding: 7px 10px; color: var(--ink); font-size: 9px; font-weight: 700; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.portfolio-grid article { min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.portfolio-grid article > img, .portfolio-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: grid; place-items: center; background: var(--surface-soft); color: var(--green); font-size: 28px; }
.portfolio-grid article > div { padding: 10px; }
.portfolio-grid b { display: block; font-size: 10px; }
.portfolio-grid p { margin: 4px 0 0; color: var(--muted); font-size: 8px; line-height: 1.45; }
.portfolio-empty { grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: 12px; padding: 22px; color: var(--muted); font-size: 10px; text-align: center; }
.profile-price { border-left: 4px solid var(--lime); border-radius: 9px; background: var(--surface-soft); padding: 14px 16px; }
.profile-price span, .profile-price b, .profile-price small { display: block; }
.profile-price span, .profile-price small { color: var(--muted); font-size: 9px; }
.profile-price b { margin: 5px 0; font-size: 15px; }
.proposal-profile-link { width: auto; border: 0; background: none; color: var(--green); padding: 4px 0; font-size: 9px; font-weight: 750; }
.profile-contact { width: 100%; margin-top: 10px; }
.portfolio-upload-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.portfolio-file-preview { min-width: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface); }
.portfolio-file-preview img, .portfolio-file-preview video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.portfolio-file-preview small { display: block; padding: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 7px; }
.editorial-content { margin-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.editorial-content h3 { margin: 26px 0 8px; color: var(--ink); font-size: 17px; }
.editorial-content h4 { margin: 18px 0 6px; color: var(--ink); font-size: 13px; }
.editorial-content p { margin: 0 0 12px; }
.editorial-content ul, .editorial-content ol { padding-left: 20px; }
.editorial-content li { margin: 7px 0; }
.welcome-dialog { width: min(680px, calc(100% - 30px)); }
.welcome-card { position: relative; text-align: center; padding: 38px; }
.welcome-close { position: absolute; top: 18px; right: 18px; }
.welcome-mark { margin: 0 auto 15px; }
.welcome-card h2 { margin: 4px 0 8px; font-size: 31px; }
.welcome-card > p { max-width: 480px; margin: 0 auto 24px; color: var(--muted); line-height: 1.55; }
.welcome-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.welcome-option { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 108px; border: 1px solid var(--line); border-radius: 15px; padding: 16px; background: var(--surface); color: var(--ink); text-align: left; }
.welcome-option > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--mint); color: var(--green); font-size: 23px; }
.welcome-option b, .welcome-option small { display: block; }
.welcome-option b { font-size: 13px; }
.welcome-option small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.welcome-option > strong { color: var(--green); font-size: 18px; }
.professional-option { border-color: var(--green); background: var(--green); color: white; }
.professional-option > span { background: rgba(255,255,255,.14); color: var(--lime); }
.professional-option small { color: rgba(255,255,255,.72); }
.professional-option > strong { color: var(--lime); }
.existing-account { display: block; margin: 18px auto 4px; }
.welcome-explore { display: block; margin: 0 auto; padding: 8px; font-size: 10px; }
.editorial-lead { border-left: 4px solid var(--lime); background: var(--surface-soft); border-radius: 8px; padding: 16px; color: var(--ink); font-size: 14px; }
.editorial-note { border: 1px solid #d9aa52; border-radius: 9px; background: #fff8e8; padding: 12px; color: #73541e; font-size: 10px; }
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.article-grid article { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 16px; }
.article-grid em { color: var(--green); font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: .08em; }
.article-grid h3 { margin: 8px 0; font-size: 14px; }
.article-grid p { margin: 0; font-size: 11px; }
.steps-editorial { display: grid; gap: 10px; margin-top: 16px; }
.steps-editorial article { display: grid; grid-template-columns: 35px 1fr; gap: 10px; border: 1px solid var(--line); border-radius: 11px; padding: 13px; }
.steps-editorial span { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--green); font-weight: 800; }
.steps-editorial h3 { margin: 1px 0 4px; font-size: 13px; }
.steps-editorial p { margin: 0; font-size: 11px; }
.privacy-note { background: #edf7f3; color: #356158; padding: 12px 14px; border-radius: 10px; font-size: 12px; line-height: 1.5; margin: 18px 0 22px; }
.register-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.company-fields { grid-template-columns: 1fr 1fr; gap: 14px; background: var(--surface-soft); border-radius: 11px; padding: 14px; margin: -3px 0 18px; }
.company-fields:not([hidden]) { display: grid; }
.identity-image-row { display: grid; grid-template-columns: 116px 1fr; gap: 14px; align-items: stretch; }
.image-preview { width: 116px; min-height: 116px; border-radius: 16px; overflow: hidden; background: var(--green); color: white; display: grid; place-items: center; font: 800 28px "Manrope", sans-serif; }
.image-preview img { width: 100%; height: 100%; min-height: 116px; object-fit: cover; display: block; }
.identity-upload { min-height: 116px; }
.verification-box { border: 1px solid var(--line); border-radius: 12px; padding: 17px; margin: 2px 0 18px; }
.verification-box legend { font: 700 14px "Manrope", sans-serif; padding: 0 7px; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.upload-box { position: relative; border: 1px dashed #a9bbb5; border-radius: 10px; min-height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; cursor: pointer; }
.upload-box:hover { background: #f5faf7; border-color: var(--green); }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-box span { color: var(--green); font-size: 22px; }
.upload-box b { font-size: 11px; margin-top: 5px; }
.upload-box small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.credential-upload { min-height: 98px; width: 100%; }
.qualification-questions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.level-preview { display: flex; justify-content: space-between; gap: 16px; align-items: center; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; padding: 15px; margin: 0 0 18px; }
.level-preview span, .level-preview strong, .level-preview small { display: block; }
.level-preview span { color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.level-preview strong { font-size: 13px; margin: 3px 0; }
.level-preview small { color: var(--muted); font-size: 9px; }
.preview-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.preview-badges i { border: 1px dashed #9fb1ab; color: var(--muted); border-radius: 99px; padding: 5px 7px; font-size: 8px; font-style: normal; }
.consent { align-items: flex-start; line-height: 1.5; }
.wide-dialog { width: min(820px, calc(100% - 30px)); }
.dashboard-modal { min-height: 560px; }
.wallet-card { background: var(--green); color: white; border-radius: 16px; padding: 22px; margin: 24px 0 27px; display: flex; justify-content: space-between; align-items: center; }
.wallet-card > div > span, .wallet-card small { color: rgba(255,255,255,.68); display: block; font-size: 11px; }
.wallet-card strong { display: block; font-size: 20px; margin: 5px 0; }
.wallet-card strong b { color: var(--lime); font-size: 30px; }
.professional-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: -15px 0 25px; }
.professional-tools label, .professional-tools button { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--surface); color: var(--ink); font-size: 9px; }
.professional-tools select { display: block; width: 100%; border: 0; margin-top: 4px; background: transparent; color: var(--ink); font-weight: 700; }
.professional-tools button { text-align: left; }
.professional-tools b, .professional-tools span { display: block; }
.professional-tools b { color: var(--green); font-size: 14px; }
.professional-tools span { color: var(--muted); margin-top: 2px; }
.professional-priority-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: -15px 0 24px; }
.professional-priority-nav > button, .professional-priority-nav > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 13px; background: var(--surface); color: var(--ink); text-align: left; }
.professional-priority-nav > button > span, .professional-priority-nav > div > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--mint); color: var(--green); font-size: 11px; font-weight: 900; }
.professional-priority-nav b, .professional-priority-nav small { display: block; }
.professional-priority-nav b { font-size: 11px; }
.professional-priority-nav small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.professional-priority-nav strong { color: var(--green); }
.professional-secondary-tools, .professional-growth-details { margin-top: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.professional-secondary-tools > summary, .professional-growth-details > summary { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 15px 17px; cursor: pointer; list-style: none; font-size: 10px; font-weight: 800; }
.professional-secondary-tools > summary::-webkit-details-marker, .professional-growth-details > summary::-webkit-details-marker { display: none; }
.professional-secondary-tools > summary span { color: var(--green); }
.professional-secondary-tools .professional-tools { margin: 0; padding: 0 15px 15px; grid-template-columns: repeat(4, 1fr); }
.professional-growth-details > summary b, .professional-growth-details > summary small { display: block; }
.professional-growth-details > summary small { color: var(--muted); font-size: 8px; margin-top: 3px; font-weight: 500; }
.professional-growth-details > summary strong { color: var(--green); font-size: 10px; }
.professional-growth-details .credibility-row { margin: 0 15px 14px; }
.professional-growth-details .level-progress-card { margin: 0 15px 14px; }
.professional-growth-details .specialty-summary { margin: 0 15px 15px; }
.request-list-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.credibility-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: -12px 0 10px; }
.credibility-row span { border: 1px solid var(--line); border-radius: 9px; padding: 9px; color: var(--muted); font-size: 9px; }
.credibility-row b { color: var(--green); display: block; font-size: 10px; margin-bottom: 2px; }
.level-progress-card { border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, var(--surface-soft), var(--surface)); padding: 18px; margin: 0 0 24px; overflow: hidden; }
.level-progress-copy { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.level-progress-copy b, .level-progress-copy small { display: block; }
.level-progress-copy b { font-size: 13px; }
.level-progress-copy small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.level-progress-copy > strong { color: var(--green); font-size: 11px; white-space: nowrap; }
.level-journey { display: grid; grid-template-columns: repeat(5, minmax(125px, 1fr)); gap: 9px; margin-top: 16px; overflow-x: auto; padding-bottom: 5px; }
.level-step { position: relative; min-height: 170px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 12px; opacity: .62; }
.level-step.achieved, .level-step.current { opacity: 1; }
.level-step.current { border-width: 2px; box-shadow: 0 10px 28px rgba(20, 87, 74, .12); transform: translateY(-2px); }
.level-step.gold { background: linear-gradient(150deg, #fffdf5, #fff4cf); border-color: #d9b64a; }
.level-step.diamond { background: linear-gradient(150deg, #f8fdff, #e2f5fa); border-color: #75b9c8; }
.level-medal { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--green); font-size: 16px; margin-bottom: 9px; }
.level-step.gold .level-medal { background: #e6bd45; color: #513a00; }
.level-step.diamond .level-medal { background: linear-gradient(135deg, #bdeaf2, #fff); color: #176b7c; box-shadow: inset 0 0 0 1px #75b9c8; }
.level-step > span, .level-step > b, .level-step > mark, .level-step > small, .level-step > em, .level-step > strong { display: block; }
.level-step > span { color: var(--muted); font-size: 8px; text-transform: uppercase; font-weight: 800; }
.level-step > b { font-size: 11px; margin-top: 2px; }
.level-step > mark { width: fit-content; border-radius: 999px; background: var(--surface-soft); color: var(--green); padding: 4px 6px; font-size: 7px; font-weight: 850; margin-top: 6px; }
.level-step.gold > mark { background: #e6bd45; color: #513a00; }
.level-step.diamond > mark { background: #d5f1f7; color: #176b7c; }
.level-step > small { color: var(--muted); font-size: 8px; line-height: 1.45; margin-top: 7px; }
.level-step > em { color: var(--green); font-size: 8px; line-height: 1.35; font-style: normal; font-weight: 750; margin-top: 8px; }
.level-step > strong { position: absolute; right: 10px; top: 12px; color: var(--muted); font-size: 8px; }
.level-breakdown { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.level-breakdown span { border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); padding: 6px 9px; font-size: 8px; }
.level-breakdown b { color: var(--green); margin-right: 4px; }
.level-quality-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 12px; }
.level-quality-metrics article { border-radius: 9px; background: var(--surface); border: 1px solid var(--line); padding: 9px; }
.level-quality-metrics b, .level-quality-metrics span { display: block; }
.level-quality-metrics b { color: var(--green); font-size: 11px; }
.level-quality-metrics span { color: var(--muted); font-size: 7px; margin-top: 2px; }
.level-quality-metrics .has-penalty b { color: #a34141; }
.request-list-heading h3 { margin: 0 0 3px; font-size: 17px; }
.request-list-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.live-badge { font-size: 10px; background: var(--mint); color: var(--green); border-radius: 99px; padding: 6px 9px; font-weight: 700; }
.live-badge i { display: inline-block; width: 6px; height: 6px; background: #20a56c; border-radius: 50%; margin-right: 4px; }
.job-list { display: grid; gap: 10px; }
.job-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.job-card.urgent-job { border-color: #d9aa58; box-shadow: inset 3px 0 #d39228; }
.job-card h4 { font: 700 14px "Manrope", sans-serif; margin: 0 0 5px; }
.job-card p { color: var(--muted); font-size: 11px; margin: 0; }
.job-card .job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.job-meta span { background: #f2f5f3; border-radius: 6px; padding: 4px 7px; font-size: 10px; }
.job-meta .match-quality { font-weight: 800; }
.job-meta .match-3 { background: var(--mint); color: var(--green); }
.job-meta .match-2 { background: #eef4ff; color: #3d5f91; }
.job-meta .match-1 { background: #fff5dc; color: #765c1e; }
.unlock-button { min-width: 112px; background: var(--mint); color: var(--green); border: 0; border-radius: 9px; padding: 10px; font-weight: 700; font-size: 11px; }
.unlock-button.unlocked { background: var(--green); color: white; }
.dialog-intro { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 18px 0 22px; }
.credit-packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.credit-packages button { position: relative; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 20px 12px; display: flex; flex-direction: column; gap: 5px; color: var(--ink); }
.credit-packages button:hover, .credit-packages .popular { border-color: var(--green); background: #f5faf7; }
.credit-packages span { color: var(--muted); font-size: 11px; }
.credit-packages strong { font-size: 17px; }
.credit-packages b { color: var(--green); font-size: 15px; }
.credit-packages small { color: var(--muted); font-size: 9px; }
.credit-packages em { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--green); color: white; border-radius: 99px; padding: 4px 7px; font-style: normal; font-size: 7px; white-space: nowrap; }
.payment-note { text-align: center; color: var(--muted); font-size: 10px; margin: 17px 0 0; }
.role-grid { display: grid; gap: 11px; margin: 20px 0; }
.role-card { border: 1px solid var(--line); background: white; border-radius: 13px; padding: 17px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; text-align: left; color: var(--ink); }
.role-card:hover { border-color: var(--green); background: #f7fbf9; }
.role-card > span { width: 43px; height: 43px; background: var(--mint); color: var(--green); border-radius: 11px; display: grid; place-items: center; font-size: 21px; }
.role-card strong, .role-card small { display: block; }
.role-card strong { font: 700 14px "Manrope", sans-serif; margin-bottom: 4px; }
.role-card small { color: var(--muted); font-size: 11px; }
.role-card > b { color: var(--green); }
.professional-role > span { background: var(--lime); color: var(--ink); }
.register-link { display: block; margin: 8px auto 0; font-size: 11px; }
.demo-note { color: var(--muted); text-align: center; font-size: 9px; margin: 18px 0 0; }
.quick-settings { border: 1px solid var(--line); border-radius: 11px; padding: 11px; display: flex; gap: 12px; align-items: center; justify-content: space-between; font-size: 10px; }
.quick-settings label { display: flex; align-items: center; gap: 7px; }
.quick-settings select { border: 1px solid var(--line); border-radius: 7px; padding: 5px; background: var(--surface); color: var(--ink); }
.data-toggle input { accent-color: var(--green); }
.admin-demo-link { width: 100%; margin-top: 12px; font-size: 10px; }
.account-login, .auth-submit { width: 100%; }
.api-status { display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; margin-top: 10px; }
.api-status i { width: 6px; height: 6px; border-radius: 50%; background: #c1962a; }
.api-status.online i { background: #22a66d; }
.api-status.offline i { background: #c85a55; }
.demo-separator { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 9px; margin: 21px 0 3px; }
.demo-separator::before, .demo-separator::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-step { margin-top: 20px; }
.auth-back { display: block; margin: 8px auto 0; }
.dev-code { border: 1px dashed var(--green); background: var(--mint); color: var(--green); border-radius: 9px; padding: 10px 12px; text-align: center; font-size: 11px; margin: 0 0 17px; }
.dev-code strong { letter-spacing: 2px; font-size: 14px; }
.client-summary { background: #f2f6f3; border-radius: 15px; padding: 20px; margin: 24px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.client-summary h3 { font-size: 17px; margin: 0 0 6px; }
.client-summary p { color: var(--muted); font-size: 11px; margin: 0; }
.client-summary-meta { display: flex; gap: 7px; margin-top: 12px; flex-wrap: wrap; }
.client-summary-meta span { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; font-size: 10px; }
.client-request-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: -13px 0 24px; }
.client-request-actions button { border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; background: var(--surface); color: var(--muted); font-size: 9px; }
.client-request-actions .primary-inline-action { border-color: var(--green); background: var(--green); color: white; font-weight: 800; }
.client-request-actions .danger-action { color: #b24b46; border-color: #e1b9b6; }
.status-badge { flex: 0 0 auto; background: #fff6d8; color: #725c00; padding: 7px 10px; border-radius: 99px; font-size: 10px; font-weight: 700; }
.status-badge.chosen { background: var(--mint); color: var(--green); }
.proposal-count { color: var(--green); font-size: 11px; font-weight: 700; }
.proposal-list { display: grid; gap: 10px; }
.proposal-card { border: 1px solid var(--line); border-radius: 13px; padding: 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: start; }
.proposal-card.selected { border: 2px solid var(--green); background: #f6fbf9; }
.proposal-card.declined { opacity: .55; }
.proposal-provider h4 { font: 700 14px "Manrope", sans-serif; margin: 1px 0 3px; }
.proposal-provider > span { color: var(--muted); font-size: 10px; }
.proposal-provider p { color: #52645f; font-size: 11px; line-height: 1.5; margin: 9px 0 0; }
.quote-summary { display: block; color: var(--green); font-size: 8px; margin-top: 7px; }
.proposal-offer { min-width: 120px; text-align: right; }
.proposal-offer strong { display: block; font-size: 16px; margin-bottom: 7px; }
.proposal-offer button { border: 0; background: var(--green); color: white; border-radius: 8px; padding: 8px 10px; font-size: 10px; font-weight: 700; }
.proposal-offer .selected-label { color: var(--green); font-size: 10px; font-weight: 800; }
.three-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.three-cols .form-label { margin: 0; font-size: 9px; }
.quote-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 11px; font-size: 11px; }
.quote-total strong { color: var(--green); font-size: 16px; }
.proposal-empty { border: 1px dashed #b9c8c2; border-radius: 12px; color: var(--muted); text-align: center; padding: 30px; font-size: 12px; }
.unlock-button.proposal-sent { background: #edf1ef; color: var(--muted); }
.chat-button { display: block; margin-top: 7px; width: 100%; border: 1px solid var(--green) !important; background: white !important; color: var(--green) !important; }
.payment-options { display: grid; gap: 10px; margin: 20px 0; }
.payment-option { position: relative; border: 1px solid var(--line); border-radius: 13px; padding: 17px; display: grid; grid-template-columns: auto 1fr; gap: 12px; cursor: pointer; }
.payment-option:has(input:checked) { border: 2px solid var(--green); background: #f5faf7; }
.payment-option input { position: absolute; opacity: 0; }
.payment-radio { width: 20px; height: 20px; border: 2px solid #a9bbb5; border-radius: 50%; margin-top: 2px; }
.payment-option:has(input:checked) .payment-radio { border: 6px solid var(--green); }
.payment-option strong, .payment-option small { display: block; }
.payment-option strong { font: 700 14px "Manrope", sans-serif; }
.payment-option p { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 6px 0; }
.payment-option small { color: #47635d; font-size: 9px; }
.payment-option em { display: inline-block; background: var(--green); color: white; border-radius: 99px; padding: 3px 6px; font-size: 7px; font-style: normal; margin-bottom: 6px; }
.notification-list { display: grid; margin: 20px 0; }
.notification-list > button { display: grid; grid-template-columns: auto 1fr; gap: 11px; border: 0; border-bottom: 1px solid var(--line); background: white; padding: 13px 4px; text-align: left; color: var(--ink); }
.notification-list > button:hover { background: #f7faf8; }
.notice-icon { width: 35px; height: 35px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--green); }
.notification-list b { font-size: 12px; }
.notification-list p { color: var(--muted); font-size: 10px; margin: 3px 0; }
.notification-list small { color: #87938f; font-size: 8px; }
.notification-settings { border: 1px solid var(--line); border-radius: 11px; padding: 15px; }
.notification-settings legend { font-weight: 700; font-size: 11px; padding: 0 6px; }
.notification-settings label { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 11px; }
.notification-settings label span { margin-left: auto; color: var(--green); font-size: 8px; font-weight: 700; }
.notification-settings input { accent-color: var(--green); }
.notification-settings > small { color: var(--muted); font-size: 9px; line-height: 1.4; display: block; margin-top: 7px; }
.chat-dialog { width: min(520px, calc(100% - 30px)); }
.chat-modal { padding-bottom: 18px; }
.chat-head small { color: var(--muted); font-size: 9px; }
.chat-head small i { display: inline-block; width: 6px; height: 6px; background: #22a66d; border-radius: 50%; margin-right: 4px; }
.chat-context { display: flex; justify-content: space-between; gap: 16px; align-items: center; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 10px; background: var(--surface-soft); padding: 12px 14px; margin-top: 18px; }
.chat-context b, .chat-context span { display: block; }
.chat-context b { font-size: 12px; }
.chat-context span { color: var(--muted); font-size: 9px; margin-top: 3px; }
.chat-context > strong { color: var(--green); font-size: 14px; white-space: nowrap; }
.chat-service-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.chat-service-actions button { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--green); padding: 7px 10px; font-size: 8px; font-weight: 800; }
.chat-service-actions button.danger-action { color: #a34141; }
.chat-safety { background: #fff8de; color: #6b5c25; padding: 9px 11px; border-radius: 8px; font-size: 9px; line-height: 1.4; margin: 18px 0 10px; }
.messages { min-height: 265px; max-height: 390px; overflow-y: auto; padding: 10px 2px; display: flex; flex-direction: column; gap: 9px; }
.message { max-width: 78%; padding: 9px 11px; border-radius: 12px 12px 12px 3px; background: #edf1ef; font-size: 11px; line-height: 1.45; }
.message.mine { align-self: flex-end; border-radius: 12px 12px 3px 12px; background: var(--green); color: white; }
.message small { display: block; color: var(--muted); font-size: 7px; margin-top: 3px; }
.message.mine small { color: rgba(255,255,255,.64); }
.chat-compose { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.chat-attachment { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--green); font-size: 18px; cursor: pointer; }
.chat-attachment input { display: none; }
.message-attachment { display: block; border-radius: 7px; background: rgba(255,255,255,.55); padding: 6px 8px; margin-top: 6px; font-size: 8px; font-weight: 750; }
.chat-compose input { border: 1px solid #ccd7d3; border-radius: 99px; padding: 11px 14px; outline: none; }
.chat-compose button { width: 41px; height: 41px; border: 0; border-radius: 50%; background: var(--green); color: white; font-size: 20px; }
.earnings-grid, .admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 23px 0; }
.earnings-grid article, .admin-stats article { border: 1px solid var(--line); border-radius: 11px; padding: 14px; }
.earnings-grid span, .earnings-grid strong, .earnings-grid small, .admin-stats span, .admin-stats strong, .admin-stats small { display: block; }
.earnings-grid span, .admin-stats span { color: var(--muted); font-size: 9px; }
.earnings-grid strong, .admin-stats strong { font-size: 19px; margin: 5px 0; color: var(--green); }
.earnings-grid small, .admin-stats small { color: var(--muted); font-size: 8px; }
.chart-title { margin: 24px 0 8px; font-size: 13px; }
.simple-chart { height: 230px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(12, minmax(48px, 1fr)); align-items: end; gap: 12px; padding: 12px 14px 0; overflow-x: auto; }
.chart-column { height: 100%; display: grid; grid-template-rows: 1fr auto auto auto; justify-items: center; align-items: end; gap: 3px; min-width: 48px; }
.chart-column i { width: min(38px, 70%); min-height: 4px; align-self: end; background: var(--green); border-radius: 6px 6px 0 0; opacity: .85; }
.chart-column b { color: var(--green); font-size: 8px; white-space: nowrap; }
.chart-column span { color: var(--muted); font-size: 8px; text-transform: uppercase; padding-bottom: 7px; }
.chart-column small { color: var(--muted); font-size: 7px; }
.earnings-detail-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .5fr); gap: 24px; margin-top: 30px; }
.earnings-calendar { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--surface); }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays b { padding: 9px 5px; background: var(--surface-soft); color: var(--muted); font-size: 8px; text-align: center; }
.calendar-days > i, .calendar-days > article { min-height: 76px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); padding: 7px; }
.calendar-days article span, .calendar-days article b, .calendar-days article small { display: block; }
.calendar-days article span { color: var(--muted); font-size: 8px; }
.calendar-days article b { font-size: 9px; margin-top: 8px; }
.calendar-days article small { color: var(--muted); font-size: 7px; margin-top: 3px; }
.calendar-days article.has-earnings { background: #e9f6ef; box-shadow: inset 0 0 0 1px #84bea8; }
.calendar-days article.has-earnings b { color: var(--green); }
.weekly-earnings, .catalog-suggestion-list { display: grid; gap: 8px; }
.weekly-earnings article, .catalog-suggestion-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: center; border: 1px solid var(--line); border-radius: 11px; padding: 12px; background: var(--surface); }
.weekly-earnings b, .weekly-earnings small, .weekly-earnings strong, .weekly-earnings span, .catalog-suggestion-list b, .catalog-suggestion-list small { display: block; }
.weekly-earnings small, .weekly-earnings span, .catalog-suggestion-list small { color: var(--muted); font-size: 8px; }
.weekly-earnings strong { color: var(--green); font-size: 11px; text-align: right; }
.weekly-earnings span { grid-column: 2; text-align: right; }
.negotiation-tabs { display: flex; gap: 7px; margin: 20px 0; }
.negotiation-tabs { flex-wrap: wrap; }
.negotiation-search { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; margin-top: 18px; color: var(--green); }
.negotiation-search input { width: 100%; border: 0; padding: 11px 0; background: transparent; color: var(--ink); outline: 0; }
.negotiation-tabs button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; background: var(--surface); color: var(--muted); font-size: 9px; font-weight: 800; }
.negotiation-tabs button.active { background: var(--green); color: white; border-color: var(--green); }
.negotiation-list { display: grid; gap: 9px; }
.negotiation-item { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); padding: 14px; text-align: left; color: var(--ink); }
.negotiation-item:hover { border-color: var(--green); background: var(--surface-soft); }
.negotiation-item.has-unread { border-left: 4px solid var(--green); }
.negotiation-title b i { display: inline-block; border-radius: 999px; background: var(--green); color: white; padding: 3px 6px; margin-left: 5px; font-size: 7px; font-style: normal; }
.negotiation-title { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.negotiation-item strong, .negotiation-item p, .negotiation-item small { display: block; }
.negotiation-item > div > strong { margin-top: 3px; font-size: 10px; }
.negotiation-item p { color: var(--ink); font-size: 9px; margin: 7px 0 3px; }
.negotiation-item small { color: var(--muted); font-size: 8px; }
.negotiation-item > em { color: var(--green); font-size: 10px; font-style: normal; font-weight: 800; text-align: right; white-space: nowrap; }
.conversation-status { border-radius: 999px; padding: 5px 8px; background: #fff1d2; color: #7b5b12; font-size: 7px; font-weight: 850; text-transform: uppercase; }
.conversation-status.status-completed { background: #e3f2ea; color: var(--green); }
.conversation-status.status-in_progress { background: #dff2ff; color: #276786; }
.job-feedback { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.job-feedback button { border: 0; border-radius: 999px; background: var(--surface-soft); color: var(--muted); padding: 6px 9px; font-size: 7px; font-weight: 750; }
.job-feedback button:first-child { color: var(--green); }
.public-level.level-4 { background: #fff2c2; color: #70510a; }
.public-level.level-5 { background: linear-gradient(135deg, #dff8ff, #fff); color: #176b7c; border: 1px solid #75b9c8; }
.catalog-suggestion-list mark { border-radius: 999px; background: #fff0bd; color: #72520a; padding: 3px 6px; font-size: 7px; }
.request-confirmation { max-width: 720px; margin: 5px auto; }
.request-confirmation > h3 { margin: 8px 0; font-size: 22px; }
.request-confirmation > p, .request-confirmation > small { color: var(--muted); font-size: 10px; line-height: 1.5; }
#request-review { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 18px 0; }
#request-review article { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); padding: 13px; }
#request-review article span, #request-review article b { display: block; }
#request-review article span { color: var(--muted); font-size: 8px; }
#request-review article b { font-size: 10px; margin-top: 4px; }
#request-review .review-description { grid-column: 1 / -1; }
#request-review .review-description p { margin: 5px 0 0; color: var(--ink); font-size: 10px; line-height: 1.5; }
.credit-pricing-note { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.rating-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.rating-fields label { font-size: 10px; font-weight: 700; }
.rating-fields select { display: block; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px; margin-top: 5px; background: var(--surface); color: var(--ink); }
.admin-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-list { display: grid; gap: 7px; }
.admin-list button { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 10px; color: var(--ink); }
.admin-list .avatar { width: 40px; height: 40px; }
.admin-list b, .admin-list small { display: block; }
.admin-list b { font-size: 11px; }
.admin-list small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.admin-list em { color: var(--green); font-size: 9px; font-style: normal; font-weight: 700; }
.admin-review-item { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 10px; }
.admin-review-item b, .admin-review-item small { display: block; }
.admin-review-item small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.admin-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.admin-actions button { width: auto; display: inline-flex; padding: 7px 9px; color: var(--green); font-size: 8px; font-weight: 750; }
.service-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.field-help { margin: 0 0 12px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.specialty-builder { grid-column: 1 / -1; }
.add-specialty-button { width: auto; margin-top: 10px; }
.selected-specialties { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; min-height: 30px; }
.specialty-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid color-mix(in srgb, var(--green) 34%, var(--line)); border-radius: 999px; background: var(--surface-soft); padding: 7px 8px 7px 11px; color: var(--ink); font-size: 9px; font-weight: 700; }
.specialty-chip button { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--surface); color: var(--muted); padding: 0; font-size: 14px; line-height: 1; }
.specialty-empty, .specialty-count { color: var(--muted); font-size: 9px; }
.specialty-count { display: block; margin-top: 8px; }
.specialty-summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 14px 0; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); padding: 12px 14px; }
.specialty-summary b, .specialty-summary small { display: block; }
.specialty-summary b { font-size: 10px; }
.specialty-summary small { color: var(--muted); font-size: 9px; margin-top: 4px; line-height: 1.45; }
.specialty-summary button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--green); padding: 8px 11px; font-size: 9px; font-weight: 750; }
.admin-alerts { display: grid; gap: 7px; }
.admin-alerts p { border-left: 3px solid #c58c2b; background: var(--surface-soft); padding: 10px; border-radius: 5px; margin: 0; }
.admin-alerts b, .admin-alerts span { display: block; font-size: 10px; }
.admin-alerts span { color: var(--muted); font-size: 8px; margin-top: 3px; }
.schedule-layout { display: grid; grid-template-columns: minmax(260px, .75fr) 1.25fr; gap: 22px; margin-top: 20px; }
.schedule-form { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--surface-soft); }
.schedule-form .two-cols { grid-template-columns: 1fr; }
.schedule-form h3 { margin: 0 0 14px; font-size: 15px; }
.schedule-list, .review-list, .admin-table { display: grid; gap: 9px; }
.schedule-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 11px; padding: 12px; }
.schedule-item time { width: 50px; text-align: center; border-radius: 9px; background: var(--surface-soft); padding: 8px 4px; }
.schedule-item time b, .schedule-item time span { display: block; }
.schedule-item time b { color: var(--green); font-size: 12px; text-transform: uppercase; }
.schedule-item time span { color: var(--muted); font-size: 8px; margin-top: 3px; }
.schedule-item h4, .schedule-item p { margin: 0; }
.schedule-item h4 { font-size: 11px; }
.schedule-item p { color: var(--muted); font-size: 8px; margin-top: 4px; }
.schedule-status { display: inline-block; margin-top: 6px; padding: 3px 7px; border-radius: 99px; background: #eef7f3; color: var(--green); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.schedule-status.cancelled { background: #f8eeee; color: #9a4242; }
.schedule-actions { display: flex; flex-direction: column; gap: 5px; }
.schedule-actions button, .admin-table button, .admin-search button { border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--green); padding: 7px 9px; font-size: 8px; font-weight: 750; }
.review-summary, .finance-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin: 20px 0; }
.review-summary article, .finance-summary article { border: 1px solid var(--line); border-radius: 11px; padding: 13px; }
.review-summary strong, .review-summary span, .review-summary small, .finance-summary strong, .finance-summary span { display: block; }
.review-summary strong, .finance-summary strong { color: var(--green); font-size: 18px; }
.review-summary span, .finance-summary span { color: var(--muted); font-size: 8px; margin-top: 4px; }
.review-summary small { color: var(--muted); font-size: 7px; }
.review-list > article { border: 1px solid var(--line); border-radius: 11px; padding: 13px; }
.review-list > article > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; }
.review-list .avatar { width: 36px; height: 36px; }
.review-list b, .review-list small { display: block; }
.review-list small, .review-list p { color: var(--muted); font-size: 8px; }
.review-list p { margin: 10px 0 0; line-height: 1.5; }
.admin-section { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.admin-search { display: flex; gap: 6px; }
.admin-search input { border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; min-width: 180px; }
.admin-table > article { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.admin-table b, .admin-table small { display: block; }
.admin-table b { font-size: 10px; }
.admin-table small, .admin-table span { color: var(--muted); font-size: 8px; }
.admin-state { padding: 4px 7px; border-radius: 99px; background: #eef7f3; color: var(--green) !important; font-weight: 750; }
.admin-state.suspended { background: #f8eeee; color: #9a4242 !important; }
.catalog-admin-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.catalog-suggestion-list { margin-top: 10px; }
.catalog-admin-summary article { border: 1px solid var(--line); border-radius: 10px; padding: 13px; }
.catalog-admin-summary strong, .catalog-admin-summary span { display: block; }
.catalog-admin-summary strong { color: var(--green); font-size: 19px; }
.catalog-admin-summary span, .catalog-admin-summary p { color: var(--muted); font-size: 8px; }
.catalog-admin-summary p { grid-column: 1 / -1; line-height: 1.5; }
html.low-data .provider-card .avatar img, html.low-data .map-preview, html.low-data .person-photo, html.low-data .request-media { display: none; }
html.low-data .provider-card .avatar::after { content: "B"; }
html.low-data * { animation: none !important; }

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 65px 7vw; }
  .hero-visual { min-height: 530px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
  .app-topbar { grid-template-columns: auto 1fr auto; padding: 0 18px; }
  .app-layout { grid-template-columns: 78px minmax(0, 1fr); }
  .app-sidebar { padding: 24px 10px 18px; }
  .app-sidebar nav button { justify-content: center; padding: 12px 7px; }
  .app-sidebar nav button b, .app-sidebar-help { display: none; }
  .app-sidebar nav button span { width: auto; }
  .app-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .pilot-mode .pilot-banner { align-items: flex-start; gap: 5px; flex-wrap: wrap; padding: 7px 12px; font-size: 9px; }
  .service-path-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 72px; }
  .topbar { height: 64px; padding: 0 18px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 34px; height: 34px; }
  .top-actions .button-ghost { display: none; }
  .top-actions .button-primary { padding: 10px 12px; font-size: 12px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 50px 20px 38px; }
  .hero h1 { font-size: 48px; letter-spacing: -3px; margin: 20px 0; }
  .hero-copy > p { font-size: 16px; }
  .hero-paths { grid-template-columns: 1fr; }
  .search-panel { grid-template-columns: 1fr; gap: 5px; background: transparent; box-shadow: none; padding: 0; }
  .search-panel label { border: 1px solid var(--line); border-radius: 11px; background: white; padding: 9px 14px; }
  .search-button { margin-top: 3px; }
  .trust-row { flex-wrap: wrap; gap: 8px 18px; }
  .hero-visual { min-height: 460px; }
  .sun-shape { width: 350px; height: 350px; }
  .person-card { width: 260px; }
  .person-photo { height: 260px; }
  .note-top { top: 9%; left: 3%; }
  .note-bottom { bottom: 6%; right: 3%; }
  .section { padding: 60px 20px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 26px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-card { min-height: 142px; padding: 16px; }
  .category-icon { margin-bottom: 17px; }
  .filter-pills { overflow-x: auto; width: 100%; padding-bottom: 3px; scroll-snap-type: x proximity; }
  .filter-pills .pill { scroll-snap-align: start; }
  .pill { white-space: nowrap; }
  .provider-grid { grid-template-columns: 1fr; }
  .how-section { grid-template-columns: 1fr; padding: 60px 20px; gap: 35px; }
  .provider-cta { margin: 40px 20px; padding: 32px 24px; flex-direction: column; align-items: start; }
  .value-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 42px 20px 92px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; height: 68px; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
  .mobile-nav a, .mobile-nav button { border: 0; background: none; color: var(--muted); font-size: 9px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .mobile-nav span { font-size: 20px; line-height: 1; }
  .mobile-nav .active { color: var(--green); }
  .mobile-nav > button:nth-child(3) span { background: var(--green); color: white; border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; margin-top: -25px; border: 4px solid white; box-sizing: content-box; }
  .mobile-nav > button:nth-child(3) b { font-size: 9px; color: var(--green); }
  dialog { max-height: 92vh; overflow-y: auto; }
  .dialog-card { padding: 24px 19px; }
  .welcome-card { padding: 32px 18px 24px; }
  .welcome-paths { grid-template-columns: 1fr; }
  .welcome-option { min-height: 92px; }
  .two-cols, .location-fields, .segmented-options { grid-template-columns: 1fr; gap: 0; }
  .profile-hero { align-items: flex-start; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-upload-preview { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .register-grid, .document-grid, .credit-packages { grid-template-columns: 1fr; }
  .company-fields:not([hidden]), .qualification-questions { grid-template-columns: 1fr; }
  .identity-image-row { grid-template-columns: 86px 1fr; }
  .image-preview { width: 86px; min-height: 108px; }
  .upload-box { min-height: 92px; }
  .wallet-card { align-items: flex-start; flex-direction: column; gap: 17px; }
  .professional-priority-nav { grid-template-columns: 1fr; margin-top: -8px; }
  .professional-secondary-tools .professional-tools { grid-template-columns: 1fr 1fr; }
  .level-quality-metrics { grid-template-columns: 1fr 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .unlock-button { width: 100%; }
  .client-summary { align-items: flex-start; flex-direction: column; }
  .proposal-card { grid-template-columns: auto 1fr; }
  .proposal-offer { grid-column: 1 / -1; width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; }
  .notification-trigger { display: none; }
  .level-preview { align-items: flex-start; flex-direction: column; }
  .preview-badges { justify-content: flex-start; }
  .credibility-row { grid-template-columns: 1fr; }
  .level-progress-card { grid-template-columns: 1fr; }
  .level-progress-copy { flex-direction: column; gap: 8px; }
  .level-journey { grid-template-columns: repeat(5, 145px); }
  .map-preview, .admin-columns, .schedule-layout { grid-template-columns: 1fr; }
  .request-media, .professional-tools, .rating-fields { grid-template-columns: 1fr; }
  .earnings-grid, .admin-stats, .review-summary, .finance-summary, .professional-tools { grid-template-columns: 1fr 1fr; }
  .earnings-detail-layout { grid-template-columns: 1fr; }
  .calendar-days > i, .calendar-days > article { min-height: 62px; padding: 5px; }
  .calendar-days article b { font-size: 7px; }
  .negotiation-item { grid-template-columns: auto minmax(0, 1fr); }
  .negotiation-item > em { grid-column: 2; text-align: left; }
  #request-review { grid-template-columns: 1fr; }
  #request-review .review-description { grid-column: auto; }
  .chat-compose { grid-template-columns: auto minmax(0, 1fr) auto; }
  body.authenticated-mode { padding-bottom: 72px; }
  .app-shell { min-height: 100dvh; }
  .app-topbar { height: 64px; grid-template-columns: auto 1fr auto; gap: 8px; padding: 0 14px; }
  .app-topbar .brand { font-size: 19px; }
  .app-topbar .brand-mark { width: 32px; height: 32px; font-size: 16px; }
  .app-role-switcher { justify-self: center; }
  .app-role-switcher button { padding: 7px 9px; font-size: 8px; }
  .app-icon-action { width: 38px; height: 38px; }
  .app-user-action { min-width: 0; padding: 3px; }
  .app-user-action > span:nth-child(2), .app-user-action > strong { display: none; }
  .app-user-avatar { width: 36px; height: 36px; }
  .app-layout { min-height: calc(100dvh - 64px); display: block; }
  .app-sidebar { display: none; }
  .app-dashboard { padding: 26px 16px 96px; }
  .app-dashboard-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 20px; }
  .app-dashboard-heading h1 { font-size: 34px; letter-spacing: -1.5px; }
  .app-dashboard-heading .button { width: 100%; }
  .app-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .app-stat-card { padding: 14px; }
  .app-stat-card strong { font-size: 19px; }
  .app-dashboard-grid { grid-template-columns: 1fr; }
  .app-main-panel { min-height: 0; padding: 16px; }
  .app-activity-item { grid-template-columns: auto minmax(0, 1fr); padding: 12px; }
  .app-activity-item > strong { grid-column: 2; }
  .app-dashboard-aside { grid-template-columns: 1fr; }
  .app-mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 35; height: 68px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
  .app-mobile-nav button { border: 0; background: none; color: var(--muted); font-size: 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .app-mobile-nav button span { color: var(--green); font-size: 19px; line-height: 1; }
  .app-mobile-nav button.active { color: var(--green); }
  .app-mobile-nav .app-mobile-primary span { width: 42px; height: 42px; display: grid; place-items: center; margin-top: -25px; border: 4px solid white; border-radius: 50%; background: var(--green); color: white; box-sizing: content-box; }
  .app-mobile-nav .app-mobile-primary b { color: var(--green); font-size: 10px; }
  body.authenticated-mode dialog.page-view { inset: 64px 0 68px 0; width: 100vw; height: calc(100dvh - 132px); max-height: calc(100dvh - 132px); }
  body.authenticated-mode .page-view .dialog-card { min-height: calc(100dvh - 132px); padding-bottom: 32px; }
}

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

dialog.page-view {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
  margin: 0;
  border-radius: 0;
  overflow-y: scroll;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  box-shadow: none;
  background: var(--paper);
}
dialog.page-view::backdrop { background: var(--paper); backdrop-filter: none; }
.page-view .dialog-card { width: min(1180px, 100%); min-height: 100%; height: auto; margin: 0 auto; padding: 42px clamp(22px, 5vw, 70px) 90px; box-sizing: border-box; background: var(--paper); }
.page-view .dialog-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.page-view .dialog-head > div { min-width: 0; }
.page-back-button { border: 0; border-radius: 999px; background: var(--surface-soft); color: var(--green); padding: 10px 14px; font-size: 11px; font-weight: 800; cursor: pointer; }
.page-back-button:hover { background: var(--mint); }
.history-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0; }
.history-summary article { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--surface); }
.history-summary strong, .history-summary span { display: block; }
.history-summary strong { color: var(--green); font-size: 24px; }
.history-summary span { color: var(--muted); font-size: 9px; margin-top: 5px; }
.history-columns { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; }
.history-list { display: grid; gap: 9px; }
.history-list > article { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--surface); }
.history-list b, .history-list small, .history-list p { display: block; }
.history-list b { font-size: 11px; }
.history-list small, .history-list p { color: var(--muted); font-size: 8px; }
.history-list p { margin: 6px 0 0; line-height: 1.45; }
.history-actions { display: grid; justify-items: end; gap: 8px; }
.history-actions strong { color: var(--green); font-size: 12px; }
.history-actions button { border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); color: var(--green); padding: 8px 10px; font-size: 8px; font-weight: 800; }
.credit-history-amount { text-align: right; }
.credit-history-amount strong, .credit-history-amount small { display: block; }
.credit-history-amount strong { color: #9b5b35; font-size: 10px; }
.history-status { border-radius: 99px; background: var(--surface-soft); color: var(--green); padding: 5px 8px; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.current-admin { color: var(--muted); font-size: 8px; }

@media (max-width: 760px) {
  dialog.page-view { height: 100dvh; max-height: 100dvh; }
  .page-view .dialog-card { padding: 22px 17px 90px; }
  .page-view .dialog-head { grid-template-columns: auto 1fr; gap: 11px; }
  .page-view .dialog-head > .icon-button { grid-column: 2; grid-row: 1; justify-self: end; }
  .page-view .dialog-head > div { grid-column: 1 / -1; grid-row: 2; }
  .page-back-button span { display: none; }
  .page-back-button { width: 38px; height: 38px; padding: 0; font-size: 18px; }
  .history-summary { grid-template-columns: 1fr 1fr; }
  .history-columns { grid-template-columns: 1fr; }
  .history-list > article { grid-template-columns: 1fr; }
  .history-actions { justify-items: start; }
  .credit-history-amount { text-align: left; }
}
