/* thrijobs.com - one stylesheet, no framework.
   Ink navy for text and structure, marigold only for actions, teal only for "verified". */
:root {
  --ink: #14213d;
  --ink-2: #2b3a5c;
  --slate: #5b6478;
  --paper: #f6f7f9;
  --white: #ffffff;
  --rule: #dde1e8;
  --rule-strong: #c4cad6;
  --gold: #f2a900;
  --gold-deep: #c98a00;
  --gold-soft: #fff4d6;
  --teal: #0e7c7b;
  --teal-soft: #e2f3f2;
  --red: #b42318;
  --red-soft: #fdecea;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1160px;
  --chip: #eceff4;
  --info-bg: #eef1f7;
  --gold-line: #f2d38a;
  --on-gold: #14213d;
  --kyc: #15803d;
  --kyc-soft: #e8f6ec;
  --kyc-line: #b7e1c3;
  --in: #b45309;
  --in-soft: #fff1e0;
  --intl: #1d4ed8;
  --intl-soft: #e8efff;
  color-scheme: light;
}
[data-theme='dark'] {
  color-scheme: dark;
  --ink: #e8ecf5;
  --ink-2: #c3cbdb;
  --slate: #93a0b8;
  --paper: #0f1626;
  --white: #172036;
  --rule: #26314a;
  --rule-strong: #34405c;
  --gold-soft: #3a2f10;
  --gold-line: #6b5414;
  --teal: #4cc3c1;
  --teal-soft: #113634;
  --red: #ff8a80;
  --red-soft: #3b1a1a;
  --chip: #222c44;
  --info-bg: #1b2540;
  --kyc: #5bd68a;
  --kyc-soft: #12301f;
  --kyc-line: #22553a;
  --in: #ffb366;
  --in-soft: #3a2612;
  --intl: #8fb0ff;
  --intl-soft: #19264a;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink-2); text-decoration-color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
h2 { font-size: 1.45rem; font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--slate); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.inline { display: inline; margin: 0; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 5; }
.nav { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-decoration: none; color: var(--ink); letter-spacing: -0.02em; }
.logo span { color: var(--gold-deep); }
.nav-links { display: flex; align-items: center; gap: 22px; flex: 1; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a.on { border-bottom-color: var(--gold); color: var(--ink); }
.nav-links a.btn { border-bottom: 0; color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); padding: 6px 12px; font: inherit; font-weight: 600; color: var(--ink); }
.badge { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #e11d2e; color: #fff; font-size: .78rem; font-weight: 700; text-align: center; line-height: 20px; }
.demo-bar { background: #14213d; color: #dfe5f2; text-align: center; font-size: .86rem; padding: 6px 16px; }

/* ---------- Buttons & links that act ---------- */
.btn {
  display: inline-block; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--gold); color: var(--on-gold); border: 2px solid var(--gold); border-radius: var(--radius-sm);
  padding: 10px 18px; line-height: 1.2;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--on-gold); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-small { padding: 6px 12px; font-size: .95rem; }
.btn-block { display: block; width: 100%; margin-bottom: 10px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.linklike:hover { text-decoration-color: var(--gold); }
.linklike.danger { color: var(--red); }

/* ---------- Flash / notices ---------- */
.flash { margin: 16px 0; padding: 12px 16px; border-radius: var(--radius-sm); border-left: 4px solid var(--ink); background: var(--white); }
.flash-success { border-color: var(--teal); background: var(--teal-soft); }
.flash-error { border-color: var(--red); background: var(--red-soft); }
.flash-warn { border-color: var(--gold); background: var(--gold-soft); }
.flash-info { border-color: var(--ink-2); background: var(--info-bg); }

/* ---------- Hero ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--rule); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); line-height: 1.04; letter-spacing: -0.025em; max-width: 15ch; margin-bottom: .45em; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 54ch; }
.lede-small { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.hero-search { display: flex; gap: 8px; margin: 28px 0 14px; max-width: 560px; }
.hero-search input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); }
.hero-links { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 600; }

/* The receipt: the one bold element on the site */
.receipt { margin: 0; justify-self: center; width: 100%; max-width: 360px; }
.receipt-paper {
  position: relative; background: var(--white); padding: 30px 28px 26px; border: 1px solid var(--rule-strong);
  transform: rotate(1.4deg); box-shadow: 0 1px 0 var(--rule), 0 18px 30px -18px rgba(20, 33, 61, .45);
}
.receipt-paper::before, .receipt-paper::after {
  content: ''; position: absolute; left: -1px; right: -1px; height: 10px;
  background: radial-gradient(circle at 6px 0, transparent 5px, var(--white) 5.5px) 0 0 / 12px 10px repeat-x;
}
.receipt-paper::before { top: -10px; transform: scaleY(-1); }
.receipt-paper::after { bottom: -10px; }
.receipt-head { font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin: 0 0 2px; }
.receipt-job { color: var(--slate); font-size: .95rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px dashed var(--rule-strong); }
.receipt-lines { margin: 0; }
.receipt-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.receipt-lines dt { color: var(--ink-2); }
.receipt-lines dd { margin: 0; font-weight: 600; }
.receipt-total { margin-top: 10px; padding-top: 14px !important; border-top: 2px dashed var(--rule-strong); }
.receipt-total dt { font-weight: 700; color: var(--ink); }
.receipt-total dd { font-family: var(--display); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.receipt-stamp {
  display: inline-block; margin: 18px 0 0; padding: 4px 12px; border: 2px solid var(--teal); color: var(--teal);
  border-radius: 4px; font-family: var(--display); font-weight: 800; transform: rotate(-6deg);
}
.receipt figcaption { margin-top: 26px; font-size: .9rem; color: var(--slate); max-width: 34ch; }
@media (prefers-reduced-motion: no-preference) {
  .receipt-paper { animation: print .7s cubic-bezier(.2, .7, .3, 1) both .15s; }
  @keyframes print { from { opacity: 0; transform: translateY(-14px) rotate(1.4deg); } to { opacity: 1; transform: translateY(0) rotate(1.4deg); } }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tint { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }

.category-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: 32px; border-top: 1px solid var(--rule); }
.category-list li { border-bottom: 1px solid var(--rule); }
.category-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px; text-decoration: none; font-weight: 600; }
.category-list .muted { white-space: nowrap; font-weight: 400; font-size: .92rem; }
.category-list a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.how { background: var(--paper); border-radius: var(--radius); padding: 28px; }
.steps { padding-left: 1.3em; margin: 0 0 20px; }
.steps li { margin-bottom: 12px; padding-left: 4px; }
.steps li::marker { font-family: var(--display); font-weight: 800; color: var(--gold-deep); }

.trust h2 { max-width: 28ch; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 20px; }
.trust-grid > div { border-top: 3px solid var(--ink); padding-top: 14px; }
.trust-grid p { color: var(--ink-2); }

.band { background: #14213d; color: #ffffff; padding: 44px 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band h2 { color: #ffffff; margin-bottom: 6px; }
.band p { color: #c7cfe0; margin: 0; max-width: 60ch; }

/* ---------- Jobs ---------- */
.job-list { border-top: 1px solid var(--rule); }
.job-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--rule); }
.job-row.is-featured { background: linear-gradient(90deg, var(--gold-soft), transparent 70%); padding-left: 14px; border-left: 3px solid var(--gold); }
.job-title { margin: 0 0 4px; font-size: 1.15rem; }
.job-title a { text-decoration: none; }
.job-title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--slate); font-size: .93rem; margin-bottom: 8px; }
.job-meta span:first-child { color: var(--ink); font-weight: 700; }
.job-snippet { color: var(--ink-2); margin-bottom: 10px; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; white-space: nowrap; }
.proposal-count { color: var(--slate); font-size: .92rem; }
.proposal-count strong { color: var(--ink); }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--chip); color: var(--ink-2); border-radius: 999px; padding: 2px 10px; font-size: .86rem; }

.pill { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--chip); color: var(--ink-2); text-transform: capitalize; margin: 0; }
.pill-gold { background: var(--gold); color: var(--on-gold); }
.pill-green { background: var(--teal-soft); color: var(--teal); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-muted { background: var(--chip); color: var(--slate); }
.verified { display: inline-flex; align-items: center; gap: 5px; font-family: var(--body); font-size: .78rem; font-weight: 700; color: var(--kyc); background: var(--kyc-soft); border: 1px solid var(--kyc-line); border-radius: 999px; padding: 1px 9px 1px 5px; vertical-align: middle; white-space: nowrap; line-height: 1.5; }
.verified::before { content: ''; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--kyc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- People ---------- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 28px; border-top: 1px solid var(--rule); }
.people-list { border-top: 1px solid var(--rule); }
.person { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.person-body { min-width: 0; }
.person-name { margin: 0 0 2px; font-size: 1.1rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.person-name a { text-decoration: none; }
.person-headline { color: var(--ink-2); margin-bottom: 6px; }
.person-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .92rem; color: var(--slate); margin-bottom: 8px; }
.person-meta span:first-child { color: var(--ink); font-weight: 700; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--white); vertical-align: middle; }
.avatar-lg { width: 76px; height: 76px; font-size: 1.6rem; }
.av-0 { background: #14213d; } .av-1 { background: #0e7c7b; } .av-2 { background: #7a4b00; } .av-3 { background: #4a3f8f; }
.av-4 { background: #8a2f4f; } .av-5 { background: #2f6b3a; } .av-6 { background: #375a8c; } .av-7 { background: #6b4e3d; }
.stars { white-space: nowrap; }
.star-icon { color: var(--gold-deep); }

/* ---------- Pages & layout ---------- */
.page { padding-top: 36px; padding-bottom: 64px; }
.narrow { max-width: 760px; }
.page-head { margin-bottom: 24px; }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.crumbs { font-size: .92rem; color: var(--slate); margin-bottom: 14px; }
.browse { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; position: sticky; top: 84px; }
.filters-inline { flex-direction: row; flex-wrap: wrap; align-items: center; position: static; margin-bottom: 24px; }
.filters-inline input, .filters-inline select { width: auto; flex: 1; min-width: 180px; }
.pager { display: flex; gap: 6px; margin-top: 24px; }
.pager a { padding: 6px 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); text-decoration: none; background: var(--white); }
.pager a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.empty { background: var(--white); border: 1px dashed var(--rule-strong); border-radius: var(--radius); padding: 22px; color: var(--ink-2); }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.detail-main h1 { margin-bottom: 10px; }
.detail-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; }
.side-card p { margin-bottom: .5em; }
.h-small { font-size: 1rem; font-weight: 700; margin: 28px 0 10px; }
.side-card .h-small { margin-top: 0; }
.prose { max-width: 70ch; }
.prose p { color: var(--ink-2); }
.prose-page ul, .prose-page ol { padding-left: 1.2em; }
.prose-page li { margin-bottom: 10px; }
.rate { font-size: 1.05rem; } .rate strong { font-family: var(--display); font-size: 1.8rem; }
.profile-head { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; }
.profile-head h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.seller { display: flex; align-items: center; gap: 8px; }
.report summary { cursor: pointer; color: var(--slate); font-size: .92rem; }
.report form { margin-top: 10px; }

/* proposals */
.proposals { margin-top: 36px; }
.proposal { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.proposal.is-accepted { border-color: var(--teal); box-shadow: inset 4px 0 0 var(--teal); }
.proposal-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-bottom: 12px; }
.proposal-head h3 { margin: 0; }
.proposal-head p { margin: 0; font-size: .92rem; }
.bid { text-align: right; } .bid strong { display: block; font-family: var(--display); font-size: 1.4rem; } .bid span { font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 14px 0; }
.accept-form { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding: 12px; background: var(--paper); border-radius: var(--radius-sm); }
.proposal-form { margin-top: 36px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; }
.service-card:hover { border-color: var(--ink); }
.service-cat { font-size: .85rem; color: var(--slate); }
.service-title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.25; flex: 1; }
.service-by { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.service-by .avatar { width: 28px; height: 28px; font-size: .75rem; }
.service-foot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--rule); padding-top: 10px; }
.service-foot strong { font-family: var(--display); font-size: 1.3rem; }
.service-list { border-top: 1px solid var(--rule); }
.service { display: flex; justify-content: space-between; gap: 16px; padding: 12px 2px; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.service-price { text-align: right; white-space: nowrap; } .service-price small { display: block; color: var(--slate); font-weight: 400; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.hint { font-weight: 400; color: var(--slate); font-size: .9rem; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--white); width: 100%;
  border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); padding: 10px 12px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 2px solid var(--gold); outline-offset: 0; }
fieldset { border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; }
legend { font-weight: 700; padding: 0 4px; }
label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
label.check input { width: auto; accent-color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 0; padding: 0; }
.role-pick legend { margin-bottom: 8px; padding: 0; }
.role-option { flex-direction: row; align-items: flex-start; gap: 10px; border: 2px solid var(--rule); border-radius: var(--radius); padding: 14px; background: var(--white); cursor: pointer; }
.role-option input { width: auto; margin-top: 4px; accent-color: var(--ink); }
.role-option span { display: flex; flex-direction: column; font-weight: 400; }
.role-option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- Dashboard ---------- */
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.dash-section { margin-bottom: 36px; }
.callout { background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 22px; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.checklist li { padding: 4px 0 4px 28px; position: relative; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border: 2px solid var(--ink-2); border-radius: 4px; }
.checklist li.done { color: var(--slate); text-decoration: line-through; }
.checklist li.done::before { background: var(--teal); border-color: var(--teal); }
.table-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.table-list li { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, auto)); gap: 16px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--rule); }
.table-list li > a { font-weight: 600; }
.credits { position: sticky; top: 84px; }
.credit-count { font-family: var(--display); font-size: 3.2rem; font-weight: 800; line-height: 1; margin: 4px 0 6px !important; }
.ledger { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.ledger li { padding: 4px 0; border-bottom: 1px solid var(--rule); }
.plus { color: var(--teal); font-weight: 700; } .minus { color: var(--red); font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; border-top: 1px solid var(--rule); margin: 20px 0; }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--slate); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 700; }
.review { margin: 0 0 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.review-top { margin-bottom: 6px; }
.review footer { font-size: .9rem; }
.rating { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- Messages ---------- */
.conv-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.conv { display: flex; gap: 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.conv:hover { background: var(--white); }
.conv.is-unread .conv-last { color: var(--ink); font-weight: 600; }
.conv-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.conv-top { display: flex; justify-content: space-between; gap: 12px; }
.conv-job { font-size: .88rem; }
.conv-last { color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.chat-head > div { flex: 1; }
.chat-head p { margin: 0; }
.chat-title { font-size: 1.5rem; margin: 0; }
.chat { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; height: 52vh; min-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 14px; }
.msg-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-time { display: block; font-size: .78rem; margin-top: 4px; opacity: .7; }
.msg-mine { align-self: flex-end; background: #14213d; color: #ffffff; border-bottom-right-radius: 4px; }
.msg-theirs { align-self: flex-start; background: var(--chip); border-bottom-left-radius: 4px; }
.msg-system { align-self: center; background: var(--teal-soft); color: var(--teal); font-size: .92rem; text-align: center; max-width: 92%; }
.msg-warn { margin: 0 0 8px; padding: 8px 10px; background: var(--gold-soft); color: var(--ink); border-radius: 8px; font-size: .88rem; font-weight: 600; }
.chat-form { display: flex; gap: 10px; margin: 12px 0 6px; align-items: flex-end; }
.chat-form textarea { flex: 1; }

/* ---------- Pricing ---------- */
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.price-col { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.price-table th, .price-table td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--rule); }
.price-table th[scope='row'] { font-weight: 400; color: var(--ink-2); }
.price-table td { font-weight: 700; }
.price-table thead th { font-family: var(--display); }
.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); max-width: 70ch; }

/* ---------- Admin ---------- */
.admin-nav { display: flex; gap: 22px; border-bottom: 1px solid var(--rule); margin-bottom: 24px; flex-wrap: wrap; }
.admin-nav a { text-decoration: none; font-weight: 600; padding: 8px 0; border-bottom: 3px solid transparent; }
.admin-nav a.on { border-bottom-color: var(--gold); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 24px; margin: 0 0 32px; border-top: 1px solid var(--rule); }
.kpis div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.kpis dt { color: var(--slate); font-size: .9rem; }
.kpis dd { margin: 0; font-family: var(--display); font-size: 1.8rem; font-weight: 800; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: 28px; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data th { background: var(--paper); font-weight: 700; }
.row-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.row-actions form { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--rule); padding: 44px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 6px; }
.footer-grid a:not(.logo) { text-decoration: none; color: var(--ink-2); }
.footer-grid a:not(.logo):hover { text-decoration: underline; }
.foot-h { font-family: var(--body); font-size: .95rem; font-weight: 700; margin: 0 0 4px; }
.foot-base { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .9rem; }

/* ---------- thrijobs additions ---------- */
.theme-toggle { background: none; border: 1px solid var(--rule-strong); border-radius: 50%; width: 34px; height: 34px; font-size: 1rem; color: var(--ink); cursor: pointer; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 28px; padding: 12px 16px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); font-weight: 600; }
.add-box { margin-top: 12px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 16px; }
.add-box summary { cursor: pointer; font-weight: 700; }
.add-box form { margin-top: 14px; }
.hours-table { border-collapse: collapse; width: 100%; max-width: 520px; }
.hours-table th, .hours-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--rule); }
.hours-table input[type=time] { width: auto; }
.hours-table input[type=checkbox] { width: auto; accent-color: var(--ink); }
.hours { margin: 0; } .hours div { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid var(--rule); } .hours dd { margin: 0; }
.timeline-list { list-style: none; padding: 0; margin: 0; } .timeline-list li { padding: 8px 0 8px 14px; border-left: 3px solid var(--rule-strong); margin-bottom: 4px; }
.alert-form { align-items: flex-end; } .alert-form label { flex: 1; min-width: 180px; }
.alert-box { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.alert-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.alert-head .h-small { margin: 0 0 8px; }
.note-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.note-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--rule); }
.note-list li.is-new { font-weight: 700; }
.approval { display: flex; justify-content: space-between; gap: 20px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.approval h3 { margin-bottom: 4px; } .approval p { margin-bottom: 6px; }
.approval .row-actions { align-items: flex-start; flex-shrink: 0; }
.invoice { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px; margin-bottom: 20px; }
.invoice-top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.invoice-meta { text-align: right; } .invoice-meta h1 { margin-bottom: 4px; }
.price-table tfoot th, .price-table tfoot td { font-weight: 700; border-bottom: 0; }
.attach { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); cursor: pointer; font-size: 1.2rem; }
.attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.attach:focus-within { outline: 3px solid var(--gold); }
.msg-file { display: block; margin-top: 6px; color: inherit; font-weight: 600; }
.msg-file img { max-width: 240px; max-height: 200px; border-radius: 8px; display: block; }
@media print { .site-header, .site-footer, .demo-bar, .no-print { display: none !important; } body { background: #fff; } .invoice { border: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .two-col, .detail, .dash-grid, .browse, .price-cols { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .filters, .detail-side, .credits { position: static; }
  .trust-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0 16px; }
  .nav-links.open { display: flex; }
  .nav-spacer { display: none; }
  body { font-size: 16px; }
  .hero { padding: 40px 0 48px; }
  .hero-search { flex-direction: column; }
  .row, .role-pick { grid-template-columns: 1fr; }
  .job-row { grid-template-columns: 1fr; }
  .job-side { flex-direction: row; align-items: center; }
  .table-list li { grid-template-columns: 1fr; gap: 4px; }
  .approval, .invoice-top { flex-direction: column; }
  .invoice-meta { text-align: left; }
  .proposal-head { grid-template-columns: auto minmax(0, 1fr); }
  .bid { grid-column: 1 / -1; text-align: left; }
  .msg { max-width: 92%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.theme-toggle { display: grid; place-items: center; padding: 0; }
.theme-toggle span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }

/* ---- Plans, KYC, privacy (Nov 2026) ---- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin: 12px 0 16px; }
.plan-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.plan-card h3 { margin: 0; font-family: var(--display); font-size: 1.1rem; }
.plan-card ul { margin: 0 0 6px; padding-left: 18px; color: var(--ink-2); flex: 1; }
.plan-card form { margin-top: auto; }
.plan-current { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.plan-price { font-family: var(--display); font-size: 1.35rem; font-weight: 700; margin: 0; font-variant-numeric: tabular-nums; }
.side-card-warn { border-color: var(--gold-line); background: var(--gold-soft); margin-bottom: 14px; }
.contact-box { margin: 10px 0; }
.sponsored-strip { border: 1px dashed var(--gold-line); border-radius: var(--radius); padding: 12px; margin-bottom: 18px; background: var(--gold-soft); }
.sponsored-strip .h-small { margin: 0 0 8px; }
.settings-group { border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 18px; }
.settings-group legend { font-family: var(--display); font-weight: 700; padding: 0 6px; }
.settings-group .check { grid-column: 1 / -1; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form select { min-width: 0; max-width: 100%; }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn-danger:hover { background: var(--red); border-color: var(--red); color: #fff; filter: brightness(.92); }
.hint { color: var(--slate); font-size: .9rem; }
.pill-gold-soft { background: var(--gold-soft); color: var(--ink); }
strong.credit-count { font: inherit; font-weight: 700; color: inherit; }
.settings-form > .btn { margin-bottom: 28px; }
.btn-buy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.plan-card .btn-buy { width: 100%; white-space: normal; text-align: center; }
.buy-icon { width: 16px; height: 16px; flex: none; }
.buy-form { margin: 0; }
.price-table td:last-child:not(:nth-child(2)) { text-align: right; width: 1%; white-space: nowrap; }
.price-table .btn-buy { padding: 5px 12px; font-size: .9rem; }
.plan-card > .buy-form, .plan-card > .btn-buy, .plan-card > .hint { margin-top: auto; }
@media (max-width: 520px) {
  .price-table th, .price-table td { padding: 10px 4px; }
  .price-table .btn-buy { padding: 5px 9px; }
  .price-table td:nth-child(2) { white-space: nowrap; }
}

/* ---- Account menu in the header ---- */
.account-menu { position: relative; }
.account-menu > summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 8px 4px 4px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu > summary:hover, .account-menu[open] > summary { border-color: var(--rule-strong); }
.account-menu > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.account-menu .avatar { width: 30px; height: 30px; font-size: .8rem; }
.account-who { display: flex; flex-direction: column; line-height: 1.1; }
.account-name { font-weight: 700; color: var(--ink); font-size: .92rem; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role-pill { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); }
.role-client { color: var(--teal); }
.role-freelancer { color: var(--gold-deep); }
.account-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(20, 33, 61, .14); padding: 8px; display: flex; flex-direction: column; z-index: 20; }
.account-panel a, .account-panel .linklike { display: block; padding: 8px 10px; border-radius: var(--radius-sm); border: 0; text-align: left; width: 100%; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.account-panel a:hover, .account-panel .linklike:hover { background: var(--chip); color: var(--ink); }
.account-panel form { margin: 4px 0 0; border-top: 1px solid var(--rule); padding-top: 4px; }
.account-head { margin: 0 0 6px; padding: 6px 10px 10px; border-bottom: 1px solid var(--rule); font-size: .9rem; }
@media (max-width: 780px) {
  .account-menu { width: 100%; }
  .account-panel { position: static; width: 100%; box-shadow: none; margin-top: 8px; }
}
.role-box { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); padding: 14px 16px; margin: 0 0 18px; }
.role-box p { margin: 0 0 8px; }
.mobile-who { display: none; align-items: center; gap: 6px; text-decoration: none; margin-left: auto; }
.mobile-who .avatar { width: 30px; height: 30px; font-size: .8rem; }
@media (max-width: 780px) {
  .mobile-who { display: inline-flex; }
  .mobile-who + .nav-toggle { margin-left: 10px; }
}
@media (max-width: 780px) {
  .nav { gap: 10px; }
  .mobile-who + .nav-toggle { margin-left: 0; }
}
.plan-bought { background: var(--paper); border-style: dashed; }
.plan-bought h3, .plan-bought .plan-price { color: var(--slate); }
.done-chip { margin: 0; font-size: .85rem; font-weight: 700; color: var(--teal); }
.btn-done, .btn:disabled.btn-block { background: var(--chip); border-color: var(--chip); color: var(--slate); opacity: 1; cursor: default; }

/* ---- Account tabs: always visible under the header for signed-in people ---- */
.tabs { border-top: 1px solid var(--rule); background: var(--white); }
.tabs-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.tabs-row a { flex: none; padding: 10px 12px; font-weight: 600; font-size: .93rem; color: var(--slate); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs-row a:hover { color: var(--ink); }
.tabs-row a.on { color: var(--ink); border-bottom-color: var(--gold); }
.tabs-row a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* ---- Profile: skill and language chips, "More for your profile" ---- */
.pick-field { border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 16px 16px; margin: 0; background: var(--white); min-width: 0; }
.pick-field legend { font-weight: 700; padding: 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--ink-2); background: var(--paper); transition: background .15s, border-color .15s; }
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--teal-soft); border-color: var(--teal); color: var(--teal); }
.chip input:checked + span::before { content: '✓ '; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.skill-group { border-top: 1px solid var(--rule); padding: 8px 0; }
.skill-group:first-of-type { border-top: 0; }
.skill-group > summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 4px 0; }
.pick-other { margin-top: 12px; }
.btn-wide { width: 100%; padding-top: 12px; padding-bottom: 12px; }
.more-section { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule); }
.more-section h2 { font-size: 1.2rem; margin: 0 0 14px; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.more-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--ink); min-width: 0; }
.more-card strong { font-size: 1rem; }
.more-card span { color: var(--slate); font-size: .9rem; }
.more-card:hover { border-color: var(--gold); box-shadow: 0 2px 10px rgba(20, 33, 61, .08); }
.more-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }


/* ---- Nov 2026: country tags, back links, settings pages, hire checklist ---- */
.country { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 0 9px; line-height: 1.7; white-space: nowrap; }
.country::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
span.country.country-in, .job-meta span.country-in, .person-meta span.country-in { color: var(--in); background: var(--in-soft); }
span.country.country-intl, .job-meta span.country-intl, .person-meta span.country-intl { color: var(--intl); background: var(--intl-soft); }
.backbar { margin: 14px 0 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--ink-2); padding: 4px 12px 4px 8px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); font-size: .95rem; }
.back-link:hover, .back-link:focus-visible { border-color: var(--ink-2); color: var(--ink); }
.nowrap { white-space: nowrap; }
.h-note { font-family: var(--body); font-size: .9rem; font-weight: 600; }

.settings-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 18px 0 40px; }
.settings-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 40px 16px 18px; text-decoration: none; color: var(--ink); }
.settings-card strong { font-family: var(--display); font-size: 1.1rem; }
.settings-card .muted { font-size: .92rem; line-height: 1.4; }
.settings-now { margin-top: auto; font-size: .85rem; font-weight: 700; color: var(--teal); }
.settings-go { position: absolute; right: 16px; top: 16px; font-size: 1.2rem; color: var(--slate); }
.settings-card:hover, .settings-card:focus-visible { border-color: var(--ink-2); }
.settings-block { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 18px; }
.settings-block h2 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin: 0 0 12px; }
.settings-table { width: 100%; }
.settings-table th[scope=row] { font-weight: 700; text-align: left; white-space: nowrap; background: transparent; vertical-align: middle; }
.settings-table td { vertical-align: middle; }
.settings-table thead th { font-weight: 700; font-size: .85rem; text-transform: none; }
.settings-table input[type=number] { width: 110px; padding: 6px 8px; font: inherit; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); text-align: right; }
.settings-table .cell-check { text-align: center; }
.settings-table input[type=checkbox], .setting-check input { width: 18px; height: 18px; accent-color: var(--teal); }
.settings-list { display: grid; gap: 0; margin-top: 6px; }
.setting-row { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--rule); font-weight: 600; margin: 0; }
.setting-row:first-child { border-top: 0; }
.setting-row input[type=number], .setting-row input[type=text] { width: 100%; padding: 7px 9px; font: inherit; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); }
.setting-row input[type=number] { max-width: 120px; justify-self: end; text-align: right; }
.setting-check { grid-template-columns: 22px minmax(0, 1fr); font-weight: 600; cursor: pointer; }
.settings-actions { display: flex; gap: 10px; align-items: center; padding: 4px 0 12px; margin-bottom: 18px; }
.upload-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 12px; }
.inline-details { margin: 8px 0 12px; }
.inline-details summary { cursor: pointer; font-weight: 700; }
@media (max-width: 640px) { .setting-row { grid-template-columns: 1fr; gap: 6px; } .setting-check { grid-template-columns: 22px 1fr; } .setting-row input[type=number] { justify-self: start; } }

.approval-held { border-left: 4px solid var(--red); padding-left: 14px; }
.hold-note { margin: 6px 0 0; color: var(--red); font-weight: 700; }

.start-card { background: var(--white); border: 2px solid var(--gold-line); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }
.start-card.start-done { border-color: var(--kyc-line); }
.start-card h2 { margin: 0 0 10px; font-family: var(--display); font-size: 1.25rem; }
.start-list { list-style: none; margin: 0; padding: 0; }
.start-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--rule); }
.start-list li:first-child { border-top: 0; }
.start-list p { margin: 2px 0 6px; }
.check-mark { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--rule-strong); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.start-list .done .check-mark { background: var(--kyc); border-color: var(--kyc); color: #fff; }
.consent-box { margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 14px; }
.consent-box h3 { margin: 0 0 8px; font-family: var(--display); }
.consent-text { max-height: 320px; overflow: auto; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .95rem; margin-bottom: 12px; }
.consent-text ol { padding-left: 20px; margin: 8px 0 0; }
.consent-text li { margin-bottom: 6px; }

.balance-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 14px; }
.balance { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 18px; display: flex; align-items: baseline; gap: 10px; }
.balance-num { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.pack-table td, .pack-table th { vertical-align: middle; }
.pack-table .row-bought td { background: var(--chip); }
.more-packs { background: var(--white); border: 1px dashed var(--rule-strong); border-radius: var(--radius); padding: 10px 16px; }
.more-packs summary { cursor: pointer; font-weight: 700; }
.more-packs[open] summary { margin-bottom: 10px; }
.avatar-photo { object-fit: cover; background: var(--chip); display: inline-block; }
.photo-box { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 20px; }
.photo-box .h-small { margin: 0 0 4px; }
.photo-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0; }
.file-btn { position: relative; overflow: hidden; cursor: pointer; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form-aside { margin: -6px 0 6px; text-align: right; font-size: .95rem; }
.policy-table th[scope=row] { text-align: left; white-space: normal; min-width: 160px; }
.contact-facts { grid-template-columns: 1fr; }
.user-cell .avatar { width: 30px; height: 30px; font-size: .75rem; margin-right: 6px; }
.settings-now.warn { color: var(--red); }
.backup-now { margin: 4px 0 14px; }

/* ---- Talent profile (as clients see it) ---- */
:root { --band: #14213d; --band-2: #1d2c4f; --on-band: #ffffff; --on-band-2: #c9d2e6; }
[data-theme='dark'] { --band: #0a1120; --band-2: #121c33; --on-band: #e8ecf5; --on-band-2: #93a0b8; }
.tp-band { background: var(--band); color: var(--on-band); border-bottom: 4px solid var(--gold); }
.tp-band-inner { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding-top: 40px; padding-bottom: 28px; }
.tp-photo .avatar { width: 128px; height: 128px; font-size: 2.6rem; box-shadow: 0 0 0 5px var(--band), 0 0 0 7px var(--gold); }
.tp-name { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 8px; color: var(--on-band); }
.tp-headline { font-size: 1.2rem; color: var(--on-band-2); margin: 0 0 14px; max-width: 62ch; }
.tp-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.tp-band .verified { background: #e8f6ec; }
.tp-band .country-in, .tp-band span.country.country-in { background: #fff1e0; color: #b45309; }
.tp-band .country-intl, .tp-band span.country.country-intl { background: #e8efff; color: #1d4ed8; }
.tp-band .tp-plan { background: var(--band-2); color: var(--on-band); border: 1px solid #34456e; }
.tp-facts { background: var(--band-2); }
.tp-facts-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.tp-facts-row > div { padding: 14px 18px 14px 0; border-right: 1px solid #2d3d63; }
.tp-facts-row > div + div { padding-left: 18px; }
.tp-facts-row > div:last-child { border-right: 0; }
.tp-facts dt { font-size: .82rem; color: var(--on-band-2); margin: 0 0 2px; }
.tp-facts dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--on-band); }
.tp-facts dd small { font-family: var(--body); font-weight: 400; font-size: .92rem; color: var(--on-band-2); }
.tp-facts .star-icon { color: var(--gold); }
.tp-page { padding-top: 28px; }
.tp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.tp-sheet { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 28px; }
.tp-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--rule); }
.tp-row:first-child { border-top: 0; }
.tp-row > h2 { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--slate); margin: 2px 0 0; }
.tp-about p { margin: 0 0 .7em; max-width: 68ch; }
.tp-about p:last-child { margin-bottom: 0; }
.tp-cat { font-weight: 700; margin: 0 0 8px; }
.tp-skills { margin: 0; }
.tp-gigs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tp-gigs a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius-sm); text-decoration: none; }
.tp-gigs a:hover, .tp-gigs a:focus-visible { border-color: var(--ink-2); }
.tp-gig-title { font-weight: 700; }
.tp-gig-meta { color: var(--slate); font-size: .92rem; white-space: nowrap; }
.tp-gig-meta strong { color: var(--ink); }
.tp-time { list-style: none; margin: 0; padding: 0; }
.tp-time li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 0 0 14px; }
.tp-time li:last-child { padding-bottom: 0; }
.tp-time p { margin: 4px 0 0; color: var(--ink-2); }
.tp-when { color: var(--slate); font-size: .92rem; font-variant-numeric: tabular-nums; padding-top: 1px; }
.tp-review { margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid var(--rule); }
.tp-review:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.tp-review p { margin: 0 0 6px; }
.tp-review-top .star-icon { color: var(--gold-deep); letter-spacing: 1px; }
.tp-side { position: sticky; top: 16px; display: grid; gap: 14px; }
.tp-hire, .tp-hours { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; }
.tp-hire { border-top: 4px solid var(--gold); }
.tp-hire h2, .tp-hours h2 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 10px; }
.tp-hours h2 small { font-family: var(--body); font-weight: 400; color: var(--slate); font-size: .85rem; }
.tp-hire .form { margin-bottom: 8px; }
.tp-hire textarea { width: 100%; }
.tp-hire .btn-block + .btn-block, .tp-hire form + form, .tp-hire .btn + form { margin-top: 8px; }
.tp-rate { font-family: var(--display); font-weight: 800; font-size: 1.6rem; margin: 0; }
.tp-rate small { font-family: var(--body); font-weight: 400; font-size: .95rem; color: var(--slate); }
.tp-link { margin: 10px 0 0; }
@media (max-width: 960px) {
  .tp-layout { grid-template-columns: 1fr; }
  .tp-side { position: static; }
  .tp-facts-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-facts-row > div:nth-child(3) { border-right: 0; }
  .tp-facts-row > div:nth-child(4) { padding-left: 0; }
}
@media (max-width: 640px) {
  .tp-band-inner { grid-template-columns: 1fr; gap: 16px; padding-top: 28px; }
  .tp-photo .avatar { width: 96px; height: 96px; font-size: 2rem; }
  .tp-facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-facts-row > div { border-right: 0; padding-left: 0 !important; }
  .tp-sheet { padding: 4px 18px; }
  .tp-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .tp-gigs a { flex-direction: column; gap: 4px; }
  .tp-gig-meta { white-space: normal; }
  .tp-time li { grid-template-columns: 72px minmax(0, 1fr); }
}
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--white); color: var(--ink); border: 1px solid var(--rule-strong); }
.btn-google:hover, .btn-google:focus-visible { border-color: var(--ink-2); background: var(--white); }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--slate); margin: 16px 0; font-size: .95rem; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.captcha { margin: 4px 0 8px; min-height: 78px; }
.users-table td { vertical-align: top; }
.users-table .user-cell { display: flex; gap: 10px; align-items: flex-start; min-width: 220px; }
.user-email { display: block; word-break: break-all; }
.row-menu { position: relative; }
.row-menu summary { cursor: pointer; list-style: none; font-weight: 700; padding: 4px 12px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: .9rem; white-space: nowrap; }
.row-menu summary::-webkit-details-marker { display: none; }
.row-menu summary::after { content: ' ▾'; }
.row-menu[open] summary { border-color: var(--ink-2); }
.row-menu-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 200px; background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgba(20, 33, 61, .14); padding: 6px; display: grid; }
.row-menu-panel form { margin: 0; }
.row-menu-panel button { width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; font: inherit; color: var(--ink); cursor: pointer; border-radius: 4px; }
.row-menu-panel button:hover, .row-menu-panel button:focus-visible { background: var(--chip); }
.row-menu-panel button.danger { color: var(--red); }
.users-table-wrap, .table-wrap:has(.users-table) { overflow: visible; }
.alert-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; margin: 0 0 20px; }
.alert-form label { display: grid; gap: 6px; font-weight: 700; margin: 0; }
.alert-form select { width: 100%; }
.alert-quota { margin: 0 0 12px; }
@media (max-width: 640px) { .alert-form { grid-template-columns: 1fr; } }
.users-table { width: 100%; table-layout: auto; }
.users-table th, .users-table td { padding-left: 10px; padding-right: 10px; }
.users-table .user-cell { min-width: 0; }
.users-table .user-cell > div { min-width: 0; }
@media (max-width: 1000px) { .users-table td:nth-child(2) { white-space: normal; } .users-table .user-cell .avatar { display: none; } }
.alert-table td { vertical-align: middle; }

/* =====================================================================================
   December 2026 redesign: clean international look (white cards on a cool grey page,
   pill buttons, one font), colour sets per audience: public palette, client blue, talent amber.
   Later rules here override the older ones above.
   ===================================================================================== */
:root {
  --display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ink: #101828; --ink-2: #344054; --slate: #667085;
  --paper: #f2f4f7; --white: #ffffff; --rule: #e4e7ec; --rule-strong: #d0d5dd; --chip: #f2f4f7;
  --radius: 14px; --radius-sm: 10px; --wrap: 1280px;
  --red: #d92d20; --red-soft: #fef3f2; --teal: #067647; --teal-soft: #ecfdf3;
  --lift: 0 1px 2px rgba(16, 24, 40, .05);
  --pop: 0 12px 32px -8px rgba(16, 24, 40, .18);
  /* brand (overridden by palette and skin classes below) */
  --brand: #1d5bd8; --brand-ink: #1846a8; --brand-soft: #edf3ff; --brand-line: #c7d8fb; --on-brand: #ffffff;
  --accent: #f2a900;
}
[data-theme='dark'] {
  --ink: #eef1f6; --ink-2: #c8cfdb; --slate: #98a2b3;
  --paper: #0c111d; --white: #161b26; --rule: #262d3b; --rule-strong: #333b4c; --chip: #1f2532;
  --red: #f97066; --red-soft: #3a1714; --teal: #47cd89; --teal-soft: #10291c;
  --lift: 0 1px 2px rgba(0, 0, 0, .4); --pop: 0 12px 32px -8px rgba(0, 0, 0, .6);
}

/* Public palettes (Admin → Settings → Colours and look) */
.palette-ocean, .client-blue { --brand: #1d5bd8; --brand-ink: #1846a8; --brand-soft: #edf3ff; --brand-line: #c7d8fb; --on-brand: #fff; }
.palette-emerald { --brand: #0b8a5d; --brand-ink: #08613f; --brand-soft: #e8f7f0; --brand-line: #bde7d3; --on-brand: #fff; }
.palette-royal, .client-indigo { --brand: #4f46e5; --brand-ink: #3730a3; --brand-soft: #eef0ff; --brand-line: #cdd0fb; --on-brand: #fff; }
.palette-sunrise { --brand: #e0620d; --brand-ink: #a2440a; --brand-soft: #fff3ea; --brand-line: #fbd2b4; --on-brand: #fff; }
.palette-festive { --brand: #c81e3a; --brand-ink: #941428; --brand-soft: #fff0f2; --brand-line: #f8c6cf; --on-brand: #fff; --accent: #e7b10a; }
.client-teal { --brand: #0e7c86; --brand-ink: #0a5a62; --brand-soft: #e7f6f7; --brand-line: #b6e1e5; --on-brand: #fff; }
/* Talent: warm and light */
.talent-amber { --brand: #f5a700; --brand-ink: #8f5b00; --brand-soft: #fff8e1; --brand-line: #f8dc8c; --on-brand: #231a00; }
.talent-peach { --brand: #f4774b; --brand-ink: #a8401b; --brand-soft: #fff1ea; --brand-line: #fbcdb9; --on-brand: #fff; }
.talent-mint { --brand: #12a37f; --brand-ink: #0b6b53; --brand-soft: #e7f8f2; --brand-line: #b5e6d6; --on-brand: #fff; }
.skin-admin { --brand: #3e4c6b; --brand-ink: #26324d; --brand-soft: #eef1f6; --brand-line: #ccd3e0; --on-brand: #fff; }
[data-theme='dark'] .palette-ocean, [data-theme='dark'] .client-blue { --brand: #528bff; --brand-ink: #8db2ff; --brand-soft: #14213d; --brand-line: #244075; --on-brand: #fff; }
[data-theme='dark'] .palette-emerald { --brand: #2fbf86; --brand-ink: #6fdcb0; --brand-soft: #0f2a20; --brand-line: #1d4d3a; --on-brand: #04140d; }
[data-theme='dark'] .palette-royal, [data-theme='dark'] .client-indigo { --brand: #7c74ff; --brand-ink: #aaa5ff; --brand-soft: #1c1b3d; --brand-line: #34316e; --on-brand: #fff; }
[data-theme='dark'] .palette-sunrise { --brand: #ff8a3d; --brand-ink: #ffb27d; --brand-soft: #2e1a0c; --brand-line: #5a3317; --on-brand: #1c0d02; }
[data-theme='dark'] .palette-festive { --brand: #ff5470; --brand-ink: #ff94a6; --brand-soft: #2f1218; --brand-line: #5c1f2b; --on-brand: #1c0207; }
[data-theme='dark'] .client-teal { --brand: #2bb3bd; --brand-ink: #7fd8de; --brand-soft: #0e2729; --brand-line: #1d4a4e; --on-brand: #021314; }
[data-theme='dark'] .talent-amber { --brand: #ffbf2e; --brand-ink: #ffd27a; --brand-soft: #2a2108; --brand-line: #5a4512; --on-brand: #1d1500; }
[data-theme='dark'] .talent-peach { --brand: #ff936b; --brand-ink: #ffb79c; --brand-soft: #2d170e; --brand-line: #5c2f1d; --on-brand: #1d0a03; }
[data-theme='dark'] .talent-mint { --brand: #3ccf9f; --brand-ink: #82e3c3; --brand-soft: #0d2a21; --brand-line: #1c4f40; --on-brand: #02140e; }
[data-theme='dark'] .skin-admin { --brand: #8b9ac0; --brand-ink: #bcc6de; --brand-soft: #1a2030; --brand-line: #303a52; --on-brand: #0c111d; }

/* Base */
body { font-size: 16px; line-height: 1.6; background: var(--paper); letter-spacing: -0.003em; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
h2 { font-size: 1.3rem; font-weight: 700; }
a { color: var(--brand-ink); text-decoration-color: var(--brand-line); }
a:hover { color: var(--brand-ink); text-decoration-color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); padding: 0 24px; }
.icon { flex: none; vertical-align: middle; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); box-shadow: var(--lift); }
.nav { min-height: 64px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 800; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-size: 1.25rem; font-weight: 800; line-height: 1; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.logo-word { font-size: 1.3rem; letter-spacing: -0.03em; }
.logo-word span, .logo span { color: var(--brand-ink); }
.nav-links { gap: 6px; }
.nav-links > a:not(.btn) { padding: 8px 12px; border-radius: 999px; border-bottom: 0; color: var(--ink-2); font-weight: 600; }
.nav-links > a:not(.btn):hover { background: var(--chip); color: var(--ink); }
.nav-links > a.on:not(.btn) { color: var(--brand-ink); background: var(--brand-soft); }
.nav-member { gap: 2px; }
.nav-links > a.nav-icon { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 12px 4px; border-radius: 12px; font-size: .78rem; font-weight: 600; color: var(--slate); min-width: 68px; }
.nav-links > a.nav-icon .icon { width: 22px; height: 22px; }
.nav-links > a.nav-icon.on { color: var(--ink); background: transparent; box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.nav-icon .badge { position: absolute; top: 2px; left: calc(50% + 4px); min-width: 18px; line-height: 18px; padding: 0 5px; font-size: .7rem; border: 2px solid var(--white); }
.badge { background: #e11d2e; color: #fff; }
.nav-toggle { display: none; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 14px; }
.theme-toggle { width: 36px; height: 36px; border-color: var(--rule); }
.btn-small .icon { margin: -2px 2px 0 -4px; }
.account-menu > summary { border-color: var(--rule); padding: 3px 10px 3px 3px; }
.account-menu .avatar { width: 32px; height: 32px; }
.account-panel { width: 300px; padding: 8px; border-radius: 16px; box-shadow: var(--pop); }
.account-panel a, .account-panel .linklike { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.account-head { display: flex; gap: 12px; align-items: center; padding: 10px; }
.account-head > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-head .avatar-lg { width: 52px; height: 52px; font-size: 1.1rem; }
.role-client { color: #1d5bd8; } .role-freelancer { color: #a26800; } .role-admin { color: var(--slate); }
[data-theme='dark'] .role-client { color: #8db2ff; } [data-theme='dark'] .role-freelancer { color: #ffd27a; }
.tabs { background: var(--white); border-top: 1px solid var(--rule); }
.tabs-row { gap: 6px; padding-top: 8px; padding-bottom: 8px; }
.tabs-row a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); font-size: .86rem; background: var(--white); }
.tabs-row a:hover { border-color: var(--rule-strong); color: var(--ink); }
.tabs-row a.on { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-ink); }
.tabs-row .badge { line-height: 18px; min-width: 18px; font-size: .7rem; }
.demo-bar { background: var(--ink); color: var(--paper); font-size: .8rem; padding: 5px 16px; }
[data-theme='dark'] .demo-bar { background: #1f2532; color: #c8cfdb; }

/* Announcement bar */
.notice-bar { border-bottom: 1px solid var(--rule); }
.notice-row { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; }
.notice-row p { margin: 0; flex: 1; font-weight: 600; font-size: .95rem; }
.notice-row a { color: inherit; text-decoration-color: currentColor; }
.notice-close { background: none; border: 0; font-size: 1.4rem; line-height: 1; color: inherit; cursor: pointer; padding: 0 4px; opacity: .7; }
.notice-close:hover { opacity: 1; }
.notice-info { background: var(--brand-soft); color: var(--brand-ink); }
.notice-success { background: #ecfdf3; color: #067647; }
.notice-warning { background: #fffaeb; color: #93370d; }
.notice-urgent { background: #d92d20; color: #fff; }
[data-theme='dark'] .notice-success { background: #10291c; color: #75e0a7; }
[data-theme='dark'] .notice-warning { background: #2e2108; color: #fec84b; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--brand); border: 1.5px solid var(--brand); color: var(--on-brand); border-radius: 999px; padding: 10px 20px; font-weight: 700; transition: filter .15s, background .15s; }
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); filter: brightness(.93); }
.btn-ghost { background: var(--white); border-color: var(--rule-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--chip); border-color: var(--ink-2); color: var(--ink); filter: none; }
.btn-small { padding: 7px 14px; font-size: .9rem; }
.btn-block { display: flex; }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn-soft { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-ink); }
.btn-soft:hover { background: var(--brand-soft); color: var(--brand-ink); filter: brightness(.97); }
.linklike { color: var(--brand-ink); text-decoration-color: var(--brand-line); }
.linklike:hover { text-decoration-color: var(--brand); }

/* Cards and surfaces */
.side-card, .settings-block, .proposal, .proposal-form, .review, .alert-box, .approval, .invoice, .price-col, .plan-card, .photo-box, .role-box, .more-card, .settings-card, .start-card, .empty, .filters, .tp-sheet, .add-box, .quick-links, .table-wrap, .balance {
  border-radius: var(--radius); border-color: var(--rule); box-shadow: var(--lift);
}
.empty { box-shadow: none; }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--lift); }
.card > h2:first-child, .card > .card-head:first-child { margin-top: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-head h2 { margin: 0; font-size: 1.1rem; }
.card-head a { font-weight: 600; font-size: .92rem; }

/* Flash messages */
.flash { border: 1px solid var(--rule); border-left-width: 4px; border-radius: 12px; }
.flash-success { border-color: #75e0a7; border-left-color: #12b76a; background: #ecfdf3; }
.flash-error { border-color: #fda29b; border-left-color: var(--red); background: var(--red-soft); }
.flash-warn { border-color: #fedf89; border-left-color: #f79009; background: #fffaeb; }
.flash-info { border-color: var(--brand-line); border-left-color: var(--brand); background: var(--brand-soft); }
[data-theme='dark'] .flash-success { background: #10291c; border-color: #1f5137; }
[data-theme='dark'] .flash-warn { background: #2e2108; border-color: #5a4512; }

/* Forms */
input, select, textarea { border-radius: var(--radius-sm); border-color: var(--rule-strong); padding: 10px 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: 3px solid var(--brand-soft); }
label { font-weight: 600; font-size: .95rem; }
label.check input, .role-option input, .settings-table input[type=checkbox], .setting-check input { accent-color: var(--brand); }
.role-option:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-soft); }
.chip input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink); }
label.needed textarea { border-color: var(--brand); background: var(--brand-soft); }

/* Pills, tags, avatars */
.pill { font-weight: 600; }
.pill-gold { background: var(--accent); color: #1d1500; }
.tags li { background: var(--chip); border: 1px solid var(--rule); font-weight: 500; }
.avatar { font-family: var(--body); font-weight: 700; }
.av-0 { background: #1d5bd8; } .av-1 { background: #0b8a5d; } .av-2 { background: #c26a00; } .av-3 { background: #6941c6; }
.av-4 { background: #c11574; } .av-5 { background: #027a48; } .av-6 { background: #3e4c6b; } .av-7 { background: #b54708; }
.star-icon { color: #f5a700; }

/* Tables and lists */
table.data th { background: var(--chip); font-size: .85rem; color: var(--ink-2); }
.table-list { border-top: 0; }
.table-list li { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.table-list li:last-child { border-bottom: 0; }

/* Sub navigation in admin */
.admin-nav { gap: 6px; border-bottom: 0; margin-bottom: 22px; }
.admin-nav a { padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); font-size: .9rem; color: var(--ink-2); }
.admin-nav a.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.admin-role-note { margin: -10px 0 18px; font-size: .9rem; }

/* ---------- Home page ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--brand-soft), var(--paper) 92%); border-bottom: 0; padding: 72px 0 64px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.05; max-width: 17ch; }
.hero .lede { color: var(--ink-2); font-size: 1.15rem; }
.hero-search { background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: 6px; box-shadow: var(--pop); max-width: 600px; }
.hero-search input { border: 0; background: transparent; padding: 10px 16px; outline: none; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { border-color: var(--brand); }
.hero-links a { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { color: var(--brand); }
.hero-photo { margin: 0; justify-self: end; width: 100%; max-width: 460px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 24px; box-shadow: var(--pop); border: 6px solid var(--white); }
.receipt-paper { border-radius: 4px; }
.receipt-total dd, .receipt-head { font-family: var(--body); }
.receipt-stamp { font-family: var(--body); border-color: var(--teal); color: var(--teal); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.hero-blob-1 { width: 420px; height: 420px; right: -120px; top: -160px; background: var(--brand-line); }
.hero-blob-2 { width: 300px; height: 300px; left: -120px; bottom: -160px; background: var(--brand-soft); }
@media (prefers-reduced-motion: no-preference) {
  .animate .hero-blob-1 { animation: drift 14s ease-in-out infinite alternate; }
  .animate .hero-blob-2 { animation: drift 18s ease-in-out infinite alternate-reverse; }
  @keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
}

/* Offer banner: style per occasion */
.offer { position: relative; overflow: hidden; border-radius: 20px; margin: 24px 0 0; padding: 22px 26px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; color: #fff; background: linear-gradient(110deg, var(--brand-ink), var(--brand)); box-shadow: var(--pop); }
.offer-emblem { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); font-size: 1.8rem; }
.offer h2 { color: #fff; margin: 0 0 2px; font-size: 1.35rem; }
.offer p { margin: 0; opacity: .92; }
.offer-code { display: inline-block; margin-top: 8px; padding: 3px 10px; border: 1.5px dashed rgba(255, 255, 255, .7); border-radius: 8px; font-weight: 800; letter-spacing: .06em; }
.offer .btn { background: #fff; border-color: #fff; color: #101828; }
.offer-until { font-size: .85rem; opacity: .85; }
.offer-christmas { background: linear-gradient(110deg, #0f5132, #b42318); }
.offer-newyear { background: linear-gradient(110deg, #1b1446, #5b2ac2 60%, #c2185b); }
.offer-diwali { background: linear-gradient(110deg, #7a1f00, #e0620d 60%, #f5a700); }
.offer-pongal { background: linear-gradient(110deg, #8a4b00, #d48806 55%, #2f8f2f); }
.offer-festival { background: linear-gradient(110deg, #8a1538, #d6336c 55%, #f59f00); }
.offer-fx { position: absolute; inset: 0; pointer-events: none; }
.offer-fx i { position: absolute; top: -12px; display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .85); opacity: 0; }
.offer-newyear .offer-fx i, .offer-festival .offer-fx i { width: 7px; height: 12px; border-radius: 2px; }
.offer-newyear .offer-fx i:nth-child(3n) { background: #ffd43b; } .offer-newyear .offer-fx i:nth-child(3n+1) { background: #74c0fc; }
.offer-festival .offer-fx i:nth-child(2n) { background: #ffd43b; }
.offer-diwali .offer-fx i, .offer-pongal .offer-fx i { top: auto; bottom: 10px; width: 10px; height: 10px; background: #ffd43b; box-shadow: 0 0 12px 4px rgba(255, 196, 0, .7); }
@media (prefers-reduced-motion: no-preference) {
  .offer-fx i { animation: fall 7s linear infinite; }
  .offer-diwali .offer-fx i, .offer-pongal .offer-fx i { animation: glow 2.4s ease-in-out infinite; opacity: .9; }
  .offer-fx i:nth-child(1) { left: 6%; animation-delay: 0s; } .offer-fx i:nth-child(2) { left: 18%; animation-delay: 1.4s; }
  .offer-fx i:nth-child(3) { left: 31%; animation-delay: 3.1s; } .offer-fx i:nth-child(4) { left: 44%; animation-delay: .7s; }
  .offer-fx i:nth-child(5) { left: 57%; animation-delay: 2.2s; } .offer-fx i:nth-child(6) { left: 69%; animation-delay: 4s; }
  .offer-fx i:nth-child(7) { left: 81%; animation-delay: 1.9s; } .offer-fx i:nth-child(8) { left: 93%; animation-delay: 5.1s; }
  @keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(160px) rotate(220deg); opacity: 0; } }
  @keyframes glow { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
}
.offer-sale .offer-fx { display: none; }

.section { padding: 64px 0; }
.section-tint { background: var(--white); border-color: var(--rule); }
.section-head h2 { font-size: 1.55rem; }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.cat-grid a { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--lift); transition: border-color .15s, transform .15s; }
.cat-grid a:hover { border-color: var(--brand-line); transform: translateY(-2px); }
.cat-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.cat-grid strong { display: block; font-size: .98rem; line-height: 1.3; }
.cat-grid small { color: var(--slate); font-weight: 500; }
.job-list { border-top: 0; display: grid; gap: 12px; }
.job-row { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--lift); }
.job-row:hover { border-color: var(--brand-line); }
.job-row.is-featured { border-left: 4px solid var(--accent); padding-left: 18px; background: var(--white); }
.job-title a { color: var(--ink); }
.job-title a:hover { color: var(--brand-ink); text-decoration-color: var(--brand); }
.people-grid { border-top: 0; gap: 12px; }
.person { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; box-shadow: var(--lift); }
.person-name a { color: var(--ink); }
.how { background: var(--white); border: 1px solid var(--rule); box-shadow: var(--lift); }
.steps li::marker { color: var(--brand); font-family: var(--body); }
.trust-grid > div { border-top: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; box-shadow: var(--lift); }
.trust-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 12px; }
.band { background: linear-gradient(110deg, var(--brand-ink), var(--brand)); border-radius: 24px; margin: 0 24px 64px; }
.band .btn { background: #fff; border-color: #fff; color: #101828; }
.band p { color: rgba(255, 255, 255, .88); }

/* ---------- Dashboards: profile card on the left, work in the middle, help on the right ---------- */
.dash { display: grid; grid-template-columns: 280px minmax(0, 1fr) 300px; gap: 24px; align-items: start; padding-top: 24px; padding-bottom: 56px; }
.dash-left, .dash-right { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 132px; }
.dash-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.dash-main .dash-section { margin: 0; }
.profile-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: var(--lift); text-align: center; }
.profile-cover { height: 72px; background: linear-gradient(120deg, var(--brand), var(--brand-ink)); }
.skin-talent .profile-cover { background: linear-gradient(120deg, #ffe08a, var(--brand) 70%); }
.profile-photo { position: relative; display: inline-block; margin-top: -46px; }
.profile-photo .avatar { width: 92px; height: 92px; font-size: 2rem; border: 4px solid var(--white); box-shadow: var(--lift); }
.profile-photo .photo-add { position: absolute; right: 0; bottom: 4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); border: 3px solid var(--white); }
.profile-body { padding: 8px 18px 18px; }
.profile-body h2 { font-size: 1.15rem; margin: 6px 0 2px; }
.profile-body .headline { color: var(--ink-2); font-size: .92rem; margin: 0 0 10px; }
.profile-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 12px; }
.role-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); border: 1px solid var(--brand-line); font-weight: 700; font-size: .78rem; }
.strength { text-align: left; border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 4px; }
.strength-top { display: flex; justify-content: space-between; font-size: .86rem; font-weight: 600; }
.meter { height: 8px; background: var(--chip); border-radius: 999px; overflow: hidden; margin: 6px 0 4px; }
.meter > span { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.profile-links { display: flex; flex-direction: column; border-top: 1px solid var(--rule); text-align: left; }
.profile-links a { display: flex; align-items: center; gap: 10px; padding: 11px 18px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; border-bottom: 1px solid var(--rule); }
.profile-links a:last-child { border-bottom: 0; }
.profile-links a:hover { background: var(--chip); color: var(--ink); }
.stat-list { list-style: none; margin: 0; padding: 0; }
.stat-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .92rem; }
.stat-list li:last-child { border-bottom: 0; }
.stat-list strong { color: var(--brand-ink); }
.greet { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.greet h1 { margin: 0; font-size: 1.7rem; }
.greet p { margin: 2px 0 0; }
.next-step { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--radius); padding: 18px 20px; }
.next-step .next-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }
.next-step h2 { font-size: 1.05rem; margin: 0 0 2px; }
.next-step p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.next-label { display: block; font-size: .78rem; font-weight: 700; color: var(--brand-ink); margin-bottom: 2px; }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpi { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--lift); }
.kpi dt { color: var(--slate); font-size: .82rem; font-weight: 600; }
.kpi dd { margin: 2px 0 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }

/* Progress steps (journey from profile to payment) */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: 0; counter-reset: step; }
.journey li { position: relative; text-align: center; padding: 0 4px; font-size: .8rem; font-weight: 600; color: var(--slate); line-height: 1.3; }
.journey li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: var(--white); border: 2px solid var(--rule-strong); color: var(--slate); font-weight: 800; position: relative; z-index: 1; }
.journey li::after { content: ''; position: absolute; top: 17px; left: calc(50% + 17px); right: calc(-50% + 17px); height: 2px; background: var(--rule-strong); }
.journey li:last-child::after { display: none; }
.journey li.done { color: var(--ink-2); }
.journey li.done::before { content: '✓'; background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.journey li.done::after { background: var(--brand); }
.journey li.now { color: var(--ink); }
.journey li.now::before { border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 5px var(--brand-soft); }
.journey small { display: block; font-weight: 500; color: var(--slate); margin-top: 2px; }
.journey-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); font-size: .94rem; }

/* Support */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.contact-tiles { display: grid; gap: 12px; }
.contact-tile { display: flex; gap: 12px; align-items: flex-start; }
.contact-tile .cat-icon { width: 40px; height: 40px; }
.contact-tile p { margin: 0; }
.topic-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; border: 0; padding: 0; }
.topic-pick label { flex-direction: row; align-items: center; gap: 8px; border: 1px solid var(--rule); border-radius: 12px; padding: 10px 12px; font-weight: 600; cursor: pointer; background: var(--white); }
.topic-pick input { width: auto; accent-color: var(--brand); }
.topic-pick label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.ticket-list { list-style: none; margin: 0; padding: 0; }
.ticket-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.ticket-list li:last-child { border-bottom: 0; }
.status-open { background: #fffaeb; color: #b54708; } .status-answered { background: #ecfdf3; color: #067647; } .status-closed { background: var(--chip); color: var(--slate); }
.thread { display: flex; flex-direction: column; gap: 12px; }
.thread .msg { max-width: 86%; border-radius: 16px; }
.thread .msg-staff { align-self: flex-start; background: var(--brand-soft); border: 1px solid var(--brand-line); }
.thread .msg-member { align-self: flex-end; background: var(--chip); }
.msg-who { font-size: .8rem; font-weight: 700; color: var(--slate); margin-bottom: 4px; display: block; }
.faq-mini details { border-bottom: 1px solid var(--rule); padding: 10px 0; }
.faq-mini details:last-child { border-bottom: 0; }
.faq-mini summary { cursor: pointer; font-weight: 600; }
.faq-mini p { margin: 8px 0 0; color: var(--ink-2); font-size: .94rem; }

/* Admin settings overview: one block per side, coloured */
.side-block { margin: 0 0 30px; }
.side-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.side-head h2 { margin: 0; font-size: 1.2rem; }
.side-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: 1px; }
.side-client .side-dot { background: #1d5bd8; } .side-talent .side-dot { background: #f5a700; } .side-both .side-dot { background: #12a37f; }
.side-site .side-dot { background: #c11574; } .side-ops .side-dot { background: #3e4c6b; } .side-tech .side-dot { background: #667085; }
.side-client .settings-card { border-top: 4px solid #1d5bd8; } .side-talent .settings-card { border-top: 4px solid #f5a700; }
.side-site .settings-card { border-top: 4px solid #c11574; }
.settings-cards { margin: 0; }
.settings-banner { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; margin: 0 0 18px; font-weight: 600; }
.settings-banner-client { background: #edf3ff; color: #1846a8; border: 1px solid #c7d8fb; }
.settings-banner-talent { background: #fff8e1; color: #8f5b00; border: 1px solid #f8dc8c; }
[data-theme='dark'] .settings-banner-client { background: #14213d; color: #8db2ff; border-color: #244075; }
[data-theme='dark'] .settings-banner-talent { background: #2a2108; color: #ffd27a; border-color: #5a4512; }
.role-table td, .role-table th { vertical-align: middle; }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 0 0 24px; }
.perm-grid .card { padding: 14px 16px; }
.perm-grid h3 { margin: 0 0 4px; font-size: 1rem; }
.perm-grid p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.danger-zone { border: 1px solid #fda29b; background: var(--red-soft); border-radius: var(--radius); padding: 18px 20px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 18px; }
.compare > div { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; }
.compare h3 { margin: 0 0 4px; font-size: 1rem; }
.compare p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.bar-row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 40px; gap: 10px; align-items: center; padding: 6px 0; font-size: .92rem; }
.bar-row .meter { margin: 0; }
.money-note { font-size: .86rem; color: var(--slate); }

/* Footer */
.site-footer { background: var(--white); }
.footer-grid a:not(.logo) { color: var(--ink-2); }

/* ---------- Responsive: phones, tablets, laptops and big monitors ---------- */
@media (min-width: 1600px) { :root { --wrap: 1440px; } body { font-size: 16.5px; } .dash { grid-template-columns: 300px minmax(0, 1fr) 320px; } }
@media (max-width: 1220px) {
  .dash { grid-template-columns: 260px minmax(0, 1fr); }
  .dash-right { grid-column: 2; position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; }
  .journey li:nth-child(4)::after { display: none; }
}
@media (max-width: 960px) {
  .dash { grid-template-columns: 1fr; }
  .dash-left, .dash-right { position: static; }
  .dash-right { grid-column: auto; }
  .profile-card { display: grid; grid-template-columns: auto minmax(0, 1fr); text-align: left; }
  .profile-cover { display: none; }
  .profile-photo { margin: 16px 0 0 16px; }
  .profile-photo .avatar { width: 72px; height: 72px; font-size: 1.5rem; }
  .profile-tags { justify-content: flex-start; }
  .profile-links { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .profile-links a { flex: 1 1 50%; border-right: 1px solid var(--rule); }
  .support-grid { grid-template-columns: 1fr; }
  .offer { grid-template-columns: auto minmax(0, 1fr); }
  .offer > .btn, .offer > div:last-child { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 0 16px; }
  .nav-links.open { display: flex; }
  .nav-links > a.nav-icon { flex-direction: row; justify-content: flex-start; gap: 12px; font-size: .98rem; padding: 10px 12px; border-radius: 10px; min-width: 0; }
  .nav-links > a.nav-icon.on { box-shadow: none; background: var(--brand-soft); color: var(--brand-ink); border-radius: 10px; }
  .nav-icon .badge { position: static; border: 0; }
  .nav-spacer { display: none; }
  .mobile-who { display: inline-flex; margin-left: auto; }
  .account-menu { width: 100%; }
  .account-panel { position: static; width: 100%; box-shadow: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 40px; }
  .hero-search { border-radius: 18px; flex-direction: column; }
  .hero-search .btn { width: 100%; }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey li::after { display: none; }
  .next-step { grid-template-columns: auto minmax(0, 1fr); }
  .next-step .btn { grid-column: 1 / -1; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .band { margin: 0 12px 40px; border-radius: 18px; }
  .compare { grid-template-columns: 1fr; }
  .profile-links a { flex-basis: 100%; border-right: 0; }
  .bar-row { grid-template-columns: 1fr 1fr 32px; }
  .offer { padding: 18px; }
}
.row-menu-link { display: block; padding: 8px 10px; border-radius: 4px; text-decoration: none; color: var(--ink); }
.row-menu-link:hover { background: var(--chip); }
.row-menu-link.danger, .row-menu-panel button.danger { color: var(--red); }
.band.wrap { margin: 0 auto 64px; width: calc(100% - 48px); max-width: calc(var(--wrap) - 48px); padding: 44px 40px; }
@media (max-width: 640px) { .band.wrap { width: calc(100% - 24px); padding: 32px 22px; } }
.cat-grid small { display: block; }
.nav-links a.btn, .nav-links a.btn:hover { color: var(--on-brand); border-bottom: 1.5px solid var(--brand); padding: 7px 16px; }
.nav-links a.btn .icon { margin: 0; }
.pill { text-transform: none; }
.pill::first-letter { text-transform: uppercase; }
@media (max-width: 960px) {
  .profile-photo { align-self: start; }
  .dash-left { display: contents; }
  .dash-left > .profile-card { order: 0; }
  .dash-main { order: 1; }
  .dash-left > .card { order: 2; }
  .dash-right { order: 3; }
}
@media (max-width: 640px) { .profile-links { display: none; } .profile-body { padding-bottom: 14px; } }
.hero > .wrap { position: relative; z-index: 1; }
.logo .logo-mark { color: var(--on-brand); }
.logo .logo-word > span { color: var(--brand-ink); }
.logo .logo-word { color: var(--ink); }
