/* ORIVUNEX design kit: navy, gold, clear white. Structured cards show practical details and next steps. */
:root {
  --navy: #0B1F3A; --navy-2: #14305A; --gold: #B8902F; --gold-bright: #D4AF37; --gold-ink: #7A5C12; --gold-soft: #FBF5E3;
  --bg: #F6F7FA; --surface: #FFFFFF; --ink: #15233A; --muted: #55637A; --line: #DDE2EB; --tint: #EDF1F8;
  --ok: #1E6B45; --ok-soft: #E3F3EA; --warn: #8A5A00; --warn-soft: #FDF1D8; --bad: #A7321F; --bad-soft: #FBE7E3;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --r: 8px; --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 6px 18px rgba(11, 31, 58, .05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); } h2 { font-size: 1.35rem; } h3 { font-size: 1.08rem; }
p { margin: 0 0 .8em; } a { color: var(--navy-2); } small { color: var(--muted); }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); } .small { font-size: .88rem; } .right { text-align: end; } .nowrap { white-space: nowrap; }

.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 8px; }
main:focus { outline: none; }
.env-bar { background: var(--gold-soft); color: var(--gold-ink); font-size: .82rem; font-weight: 600; text-align: center; padding: 5px 16px; }
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.head-row { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { height: 52px; width: 52px; display: block; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; letter-spacing: .08em; }
.logo-slot { font-size: .62rem; line-height: 1.1; color: var(--muted); border: 1px dashed var(--muted); border-radius: 4px; padding: 5px 6px; text-align: center; width: 54px; }
.head-search { flex: 1; display: flex; min-width: 0; max-width: 340px; }
.head-search input { width: 100%; border: 1px solid var(--line); border-radius: var(--r) 0 0 var(--r); padding: 8px 12px; font: inherit; background: var(--bg); min-width: 0; }
.head-search button { border: 1px solid var(--navy); background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 0 var(--r) var(--r) 0; font: inherit; cursor: pointer; }
.head-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang select { border: 1px solid var(--line); border-radius: 6px; padding: 7px; max-width: 118px; background: var(--surface); font: inherit; font-size: .85rem; color: var(--ink); }
.main-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
.main-nav a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .94rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--navy); }
.main-nav a.on { color: var(--navy); border-bottom-color: var(--gold-bright); }
.count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 99px; background: var(--gold-bright); color: var(--navy); font-size: .72rem; font-weight: 800; text-align: center; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: var(--r); border: 1px solid var(--navy); background: var(--navy); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-2); }
.btn.gold { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--navy); }
.btn.gold:hover { background: #E2BF4A; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--tint); }
.btn.danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn.small { padding: 5px 10px; font-size: .85rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .84rem; text-decoration: underline; cursor: pointer; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
form.inline { display: inline; }

main { padding-block: 26px 90px; min-height: 60vh; }
.page-head { margin-bottom: 20px; max-width: 760px; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.12rem; margin: 26px 0 8px; }
.legal p, .legal li { line-height: 1.65; max-width: 74ch; }
.legal ul { padding-inline-start: 1.2em; }
.terms-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.terms-notice p { margin: 0; }
.flash { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.flash li { padding: 10px 14px; border-radius: var(--r); background: var(--tint); }
.flash .success { background: var(--ok-soft); color: var(--ok); }
.flash .error { background: var(--bad-soft); color: var(--bad); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.panel + .panel { margin-top: 16px; }
.layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.layout.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 26px; text-align: center; color: var(--muted); background: var(--surface); }

/* world map */
.world { position: relative; margin: 12px 0; }
.world-canvas { aspect-ratio: 1000 / 469; }
.world-canvas svg { width: 100%; height: auto; display: block; }
.world-canvas path { fill: #DCE2EC; stroke: #FFFFFF; stroke-width: .4; }
.world-canvas path.on { cursor: pointer; }
.world-canvas path.l1, .world-legend .l1 { fill: #D4AF37; background: #D4AF37; }
.world-canvas path.l2, .world-legend .l2 { fill: #A8802A; background: #A8802A; }
.world-canvas path.l3, .world-legend .l3 { fill: #2E5A94; background: #2E5A94; }
.world-canvas path.l4, .world-legend .l4 { fill: #0B1F3A; background: #0B1F3A; }
.world-canvas path.on:hover, .world-canvas path.on:focus-visible { stroke: var(--gold-ink); stroke-width: 1.2; outline: none; }
.world-legend { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-top: 8px; }
.world-legend i { width: 22px; height: 10px; border-radius: 3px; display: inline-block; }
.world-tip { position: absolute; transform: translateY(-100%); width: 200px; background: var(--navy); color: #fff; border-radius: 8px; padding: 8px 10px; font-size: .82rem; pointer-events: none; box-shadow: var(--shadow); }
.world-tip b, .world-tip span { display: block; }
.world-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.world-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.world-stats b { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--navy); }
.world-stats span { color: var(--muted); font-size: .88rem; }

/* hero */
.hero { background: var(--navy) url("../img/network.5a9d69262ffe.svg") center / cover no-repeat; color: #fff; }
.hero .wrap { padding-block: 54px 46px; }
.slogan { color: var(--gold); font-weight: 700; letter-spacing: .06em; }
.hero .slogan { color: var(--gold-bright); margin: 0 0 10px; text-transform: uppercase; font-size: .85rem; letter-spacing: .14em; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); max-width: 16ch; }
.hero p { color: #D5DEEC; font-size: 1.08rem; max-width: 56ch; }
.hero-search { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; background: var(--surface); padding: 10px; border-radius: 10px; margin-top: 22px; max-width: 920px; }
.hero-search input, .hero-search select { border: 1px solid var(--line); border-radius: 6px; padding: 10px; font: inherit; color: var(--ink); background: #fff; min-width: 0; width: 100%; }
.band { padding-block: 34px 0; }
.band > h2 { margin-bottom: 14px; }
.intents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.intent { display: block; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold-bright); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.intent b { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.08rem; }
.intent span { font-size: .88rem; color: var(--muted); }
.intent:hover { border-color: var(--navy); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.tile { padding: 11px 13px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--navy); font-weight: 600; font-size: .94rem; }
.tile:hover { background: var(--tint); }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare ul, .plain { margin: 0; padding-inline-start: 18px; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; min-width: 0; box-shadow: var(--shadow); overflow: hidden; }
.card .photo { aspect-ratio: 16 / 8; max-width: 100%; width: 100%; object-fit: cover; display: block; background: var(--tint); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card h3 { margin: 0; font-size: 1.05rem; } .card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .86rem; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--tint); color: var(--navy-2); white-space: nowrap; }
.chip.loc { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.chip.sponsored { background: var(--gold-soft); color: var(--gold-ink); border: 1px solid var(--gold); }
.verify { display: inline-flex; font-size: .76rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.verify.l0 { background: var(--tint); color: var(--muted); } .verify.l1 { background: var(--warn-soft); color: var(--warn); } .verify.l2 { background: var(--ok-soft); color: var(--ok); }
.state { display: inline-flex; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--tint); color: var(--navy-2); white-space: nowrap; }
.state.good { background: var(--ok-soft); color: var(--ok); } .state.wait { background: var(--warn-soft); color: var(--warn); } .state.stop { background: var(--bad-soft); color: var(--bad); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.facts dt { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* filters + forms */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filters input, .filters select { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font: inherit; background: var(--surface); min-width: 0; flex: 1 1 160px; color: var(--ink); }
.stack-form { display: grid; gap: 14px; }
.stack-form div > label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 3px; }
.stack-form input[type=text], .stack-form input[type=email], .stack-form input[type=password], .stack-form input[type=url], .stack-form input[type=number], .stack-form select, .stack-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; font: inherit; background: #fff; color: var(--ink); }
.stack-form .helptext { font-size: .82rem; color: var(--muted); }
.stack-form div[id^="id_"]:not(.helptext) { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 3px 12px; max-height: 240px; overflow-y: auto; font-size: .92rem; }
.stack-form div[id^="id_"] label { font-weight: 400; display: flex; gap: 6px; align-items: flex-start; }
.stack-form div:has(> input[type=checkbox]) { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; align-items: start; }
.stack-form div:has(> input[type=checkbox]) > input { order: -1; margin-top: 4px; }
.stack-form div:has(> input[type=checkbox]) > .helptext, .stack-form div:has(> input[type=checkbox]) > .errorlist { grid-column: 1 / -1; }
.stack-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.stack-form legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 3px; }
[hidden] { display: none !important; }
.errorlist { list-style: none; margin: 0 0 4px; padding: 0; color: var(--bad); font-size: .85rem; font-weight: 600; }
.auth { max-width: 500px; margin: 0 auto; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th { text-align: start; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 7px 10px; border-bottom: 1px solid var(--line); }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num, th.num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total td { font-weight: 800; border-top: 2px solid var(--navy); }
.scroll { overflow-x: auto; }

/* lists */
.rows { display: grid; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: flex-start; min-width: 0; }
.row:last-child { border-bottom: 0; } .row > div { min-width: 0; overflow-wrap: anywhere; }
.reason { font-size: .85rem; color: var(--muted); }
.feedback { padding: 12px 0; border-bottom: 1px solid var(--line); } .feedback:last-child { border-bottom: 0; }
.stars { color: var(--gold); font-weight: 700; }

/* messages */
.thread { display: grid; gap: 10px; max-height: 56vh; overflow-y: auto; padding: 4px; margin-bottom: 14px; align-content: start; }
.bubble { background: var(--tint); border-radius: 10px; padding: 9px 13px; max-width: 78%; justify-self: start; overflow-wrap: anywhere; }
.bubble.mine { background: var(--navy); color: #fff; justify-self: end; }
.bubble.mine header, .bubble.mine small { color: #C6D3E6; }
.bubble.restricted { background: var(--warn-soft); color: var(--ink); } .bubble.restricted header, .bubble.restricted small { color: var(--warn); }
.bubble header { font-size: .74rem; font-weight: 700; color: var(--muted); } .bubble p { margin: 0; white-space: pre-wrap; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs a { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-size: .86rem; font-weight: 600; background: var(--surface); }
.tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.console-bar { background: var(--navy); }
.console-bar nav { display: flex; gap: 2px; overflow-x: auto; }
.console-bar a { color: #D5DEEC; text-decoration: none; padding: 9px 12px; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.console-bar a:hover { color: #fff; }
.tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tally a { display: block; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.tally b { display: block; font-size: 1.6rem; font-family: var(--serif); color: var(--navy); }
.quote { background: var(--bg); border-inline-start: 3px solid var(--gold-bright); padding: 10px 14px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 12px; }
.qr { width: 200px; max-width: 100%; display: block; background: #fff; padding: 8px; border: 1px solid var(--line); }

.site-foot { background: var(--navy); color: #C6D3E6; padding-block: 28px; font-size: .9rem; }
.site-foot a { color: #fff; } .foot-cols { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mobile-bar { display: none; }

/* guidance */
.hint { font-size: .86rem; color: var(--muted); }
.reveal { display: inline-block; margin-top: 4px; }
.back { display: inline-block; margin-bottom: 12px; font-size: .92rem; text-decoration: none; font-weight: 600; }
.guide { border-top: 3px solid var(--gold-bright); }
.guide progress { width: 100%; height: 8px; accent-color: var(--gold); margin-bottom: 8px; }
.guide-step { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.guide-step:last-child { border-bottom: 0; }
.guide-step > div { flex: 1; min-width: 0; }
.guide-step p { margin: 0; font-size: .9rem; color: var(--muted); }
.tick { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: var(--muted); }
.guide-step.done .tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.guide-step.current .tick { border-color: var(--gold); color: var(--gold-ink); }
.guide-step.done b { color: var(--muted); font-weight: 600; }
.choices { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.long-choices { max-height: 15rem; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 4px 12px; }
.long-choices [hidden] { display: none; }
.choice-filter { width: 100%; margin-bottom: 6px; }
.choices legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.choice { display: flex; gap: 10px; padding: 14px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--tint); }
.choice input { margin-top: 5px; }
.choice small { display: block; }
.steps-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps-3 div { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); counter-increment: s; }
.steps-3 div::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 8px; }
.steps-3 b { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.08rem; }
.steps-3 span { font-size: .92rem; color: var(--muted); }
.form-part { border: 0; border-top: 1px solid var(--line); padding: 16px 0 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.form-part:first-of-type { border-top: 0; padding-top: 0; }
.form-part legend { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--navy); padding: 0; float: left; width: 100%; margin-bottom: 8px; }
.form-part > legend + * { clear: both; }
.next { background: var(--tint); border-radius: var(--r); padding: 14px 16px; }
.next ol { margin: 6px 0 0; padding-inline-start: 18px; font-size: .92rem; }
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-bottom: 20px; }
.help-section { scroll-margin-top: 130px; }
.help-section h3 { margin-top: 12px; }
.jump { position: static; }

@media (max-width: 860px) {
  .steps-3 { grid-template-columns: minmax(0, 1fr); }
  .btn { min-height: 44px; }
  .btn.small { min-height: 38px; }
  .layout, .layout.even, .compare { grid-template-columns: minmax(0, 1fr); }
  .intents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-search { grid-template-columns: minmax(0, 1fr); }
  .head-search { display: none; }
  .main-nav { display: none; }
  .head-row { min-height: 58px; gap: 10px; }
  main { padding-bottom: 100px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobile-bar a { padding: 9px 2px; text-align: center; font-size: .72rem; font-weight: 700; color: var(--navy); text-decoration: none; }
}
@media (max-width: 480px) {
  .head-row { flex-wrap: wrap; padding-block: 8px; }
  .head-actions { width: 100%; margin-inline-start: 0; justify-content: space-between; }
  .lang select { max-width: 150px; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .intents { grid-template-columns: minmax(0, 1fr); }
  .bubble { max-width: 92%; }
  .head-actions a.ghost { display: none; }
}

/* Arabic: the serif fallback is calligraphic, so headings use the sans stack. */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .intent b, [dir="rtl"] .steps-3 b, [dir="rtl"] .form-part legend { font-family: var(--sans); font-weight: 700; }
form[aria-busy="true"] button[type="submit"], form[aria-busy="true"] button:not([type]) { opacity: .6; cursor: progress; }
.price { font-weight: 700; color: var(--navy); margin: 6px 0; }
.price-row { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 12px; }
@media (max-width: 600px) { .price-row { grid-template-columns: 1fr 1fr; } }
.logo { border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.card .logo { margin-bottom: 8px; }
.company-head { display: flex; align-items: center; gap: 14px; }
.company-head h1 { margin: 0; }
video.photo { width: 100%; max-height: 420px; background: #000; border-radius: var(--r); margin-top: 10px; }
.register-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
@media (max-width: 700px) { .register-paths { grid-template-columns: 1fr; } }
.register-paths .path { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.register-paths .path:hover { border-color: var(--navy); }
.register-paths .path b { font-size: 1.2rem; }
.register-paths .path .btn { align-self: flex-start; margin-top: auto; }
.table-scroll { overflow-x: auto; }
.partner { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.partner b { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); letter-spacing: .02em; }
.gallery { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.gallery .thumb { display: block; width: 76px; height: 76px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; }
.gallery .thumb.on, .gallery .thumb:focus-visible { border-color: var(--gold); }
.gallery .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery.edit .thumb { width: 96px; height: auto; border: 1px solid var(--line); font-size: .8rem; }
.gallery.edit .thumb img { height: 72px; }
.gallery.edit .thumb span { display: block; padding: 3px 4px; }
.review-steps { display: flex; list-style: none; padding: 0; margin: 12px 0 8px; gap: 6px; flex-wrap: wrap; }
.review-steps li { flex: 1 1 0; min-width: 120px; padding: 7px 10px; border-radius: 6px; background: var(--tint); color: var(--muted); font-size: .85rem; font-weight: 700; }
.review-steps li.done { background: var(--ok-soft); color: var(--ok); }
.review-steps li.done::before { content: "✓ "; }
.review-steps li.current { background: var(--navy); color: #fff; }
.review-steps li.current.attention { background: var(--warn-soft); color: var(--warn); }
.intro-offer { border-left: 4px solid var(--gold); }
/* Sector portals: each sector brings its own accent colour through --sector. */
.sector-icon { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sector-badge { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--sector) 12%, #fff); color: var(--sector); flex: none; }
.sector-badge.large { width: 68px; height: 68px; border-radius: 18px; }
.sector-badge.large .sector-icon { width: 38px; height: 38px; }
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.sector-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--sector); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.sector-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11, 31, 58, .10); }
.sector-card > b { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.sector-counts { display: flex; gap: 12px; margin-top: auto; font-size: .8rem; font-weight: 700; color: var(--sector); }
.sector-hero { border-radius: 18px; padding: 28px; margin: 8px 0 18px; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, color-mix(in srgb, var(--sector) 70%, var(--navy)) 100%); }
.sector-hero h1 { color: #fff; margin: 0 0 6px; }
.sector-hero p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 60ch; }
.sector-hero-main { display: flex; gap: 18px; align-items: center; }
.sector-hero .sector-badge { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.sector-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem !important; color: var(--gold-bright, #D4AF37) !important; font-weight: 700; margin-bottom: 4px !important; }
.sector-search { display: grid; grid-template-columns: 1fr 200px auto; gap: 8px; margin: 20px 0 12px; }
.sector-search input, .sector-search select { border: 0; }
.sector-hero .chips .chip { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .25); text-decoration: none; }
.sector-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.sector-stats > a, .sector-stats > span { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.sector-stats b { font-size: 1.6rem; line-height: 1.1; }
.sector-stats span span, .sector-stats a span { font-size: .8rem; opacity: .85; }
.sector-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.sector-action { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); border-left: 4px solid var(--sector, var(--gold)); }
.sector-action:hover b { text-decoration: underline; }
@media (max-width: 760px) {
  .sector-search { grid-template-columns: 1fr; }
  .sector-stats { grid-template-columns: repeat(2, 1fr); }
  .sector-actions { grid-template-columns: 1fr; }
  .sector-hero { padding: 20px; }
  .sector-hero-main { align-items: flex-start; }
}
.sector-grid.compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.sector-grid.compact .sector-card { flex-direction: row; align-items: center; padding: 12px; border-top-width: 1px; border-left: 4px solid var(--sector); }
.sector-grid.compact .sector-card b { font-size: .98rem; }
/* Sector accent colours, one class per sector slug (generated from directory/sectors.py). */
.sector-card, .sector-hero, .sector-actions, .cat-tile { --sector: var(--navy-2); }
.s-agriculture { --sector: #4E7A2E; }
.s-food-beverages { --sector: #B5562B; }
.s-construction-materials { --sector: #8A6A2F; }
.s-fashion-textiles { --sector: #9B3B63; }
.s-technology-it { --sector: #2D5FA0; }
.s-manufacturing { --sector: #5B6472; }
.s-energy { --sector: #C08A12; }
.s-healthcare { --sector: #B03A48; }
.s-transport-logistics { --sector: #1F6F78; }
.s-tourism { --sector: #2E7F5E; }
.s-professional-services { --sector: #3E4A7A; }
.s-property { --sector: #7A4F2E; }
.s-education { --sector: #6A4C9C; }
.s-other { --sector: #55637A; }
@media (max-width: 760px) { .sector-hero h1 { font-size: 1.6rem; overflow-wrap: anywhere; } .sector-badge.large { width: 52px; height: 52px; } }
.sector-search > * { min-width: 0; width: 100%; }
.sector-search input, .sector-search select { padding: 11px 12px; border-radius: var(--r); font: inherit; background: #fff; color: var(--ink); }
.sector-search .btn { width: auto; }
@media (max-width: 760px) { .sector-search .btn { width: 100%; } .row h2 { min-width: 0; } }
.admin-panel { border-top: 3px solid var(--gold-bright); }
.admin-panel .tally { margin-top: 12px; }
.mobile-bar a[href*="/console/"] { color: var(--gold-ink); }
.flash.terms-notice { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; }
/* ---------- Founder's design protocol (4 Nov 2026): shared components for every design ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -3px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--gold-ink); margin: 0 0 4px; }
.lead { font-size: 1.08rem; color: var(--muted); }
.btn.wide { width: 100%; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* hero with globe */
.hero-globe { background: radial-gradient(900px 480px at 85% 30%, rgba(46,90,148,.55), transparent 62%), linear-gradient(160deg, #0B1F3A 0%, #0E2748 100%); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: center; padding-block: 52px 40px; }
.hero-globe h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 17ch; margin-bottom: 12px; }
.hero-globe .lead { color: #D5DEEC; max-width: 52ch; }
.hero-globe .slogan { color: var(--gold-bright); text-transform: uppercase; font-size: .8rem; letter-spacing: .14em; margin: 0 0 10px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; color: #E7EDF6; font-size: .96rem; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .ico { color: var(--gold-bright); width: 20px; height: 20px; }
.hero-globe .hero-search { max-width: none; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 480px; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }

/* two equal ways in */
.join { margin-top: -26px; position: relative; z-index: 2; }
.join-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.join-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 14px; row-gap: 4px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 36px rgba(11,31,58,.12); text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s; }
.join-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(11,31,58,.16); }
.join-card > * { grid-column: 2; }
.join-card .join-icon { grid-column: 1; grid-row: 1 / span 3; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--navy); }
.join-card .join-icon .ico { width: 26px; height: 26px; }
.join-card.person .join-icon { background: var(--gold-soft); color: var(--gold-ink); }
.join-card b { font-size: 1.2rem; color: var(--navy); }
.join-card > span:not(.btn):not(.ribbon):not(.join-icon) { color: var(--muted); font-size: .94rem; }
.join-card .btn { justify-self: start; align-self: start; margin-top: 12px; }
.ribbon { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: #0B1F3A; background: linear-gradient(180deg, #EBCB62, #D4AF37); padding: 4px 10px; border-radius: 999px; }
.ribbon .ico { width: 15px; height: 15px; }

/* category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; padding: 14px; border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff;
  background: radial-gradient(120px 90px at 82% 22%, rgba(255,255,255,.22), transparent 70%), linear-gradient(150deg, color-mix(in srgb, var(--sector) 88%, #fff) 0%, var(--sector) 45%, color-mix(in srgb, var(--sector) 55%, #071427) 100%); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,31,58,.18); }
.cat-tile b { position: relative; font-size: 1rem; line-height: 1.25; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.cat-art { position: absolute; top: 12px; inset-inline-end: 12px; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); }
.cat-art .sector-icon { width: 30px; height: 30px; color: #fff; }

/* offer and company cards with actions */
.card .media { position: relative; display: block; }
.card .media .photo { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; height: auto; }
.card .media.slim .photo { aspect-ratio: 16 / 5; }
.photo.placeholder { display: grid; place-items: center; background: linear-gradient(150deg, var(--tint), color-mix(in srgb, var(--tint) 60%, var(--navy-2) 12%)); color: color-mix(in srgb, var(--navy-2) 45%, transparent); }
.photo.placeholder .ico { width: 44px; height: 44px; stroke-width: 1.2; }
.media .kind { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(11,31,58,.82); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.media .kind.sponsored { inset-inline-start: auto; inset-inline-end: 10px; background: var(--gold-bright); color: #0B1F3A; }
.byline { font-size: .82rem; font-weight: 600; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.byline .ico { width: 15px; height: 15px; color: var(--ok); }
.chip .ico, .small .ico { width: 14px; height: 14px; vertical-align: -2px; }
.actions { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.actions form { display: contents; }
.act { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; list-style: none; padding: 0; }
.act::-webkit-details-marker { display: none; }
.act:hover { border-color: var(--navy-2); }
.act.heart.on { color: #D6336C; border-color: color-mix(in srgb, #D6336C 40%, var(--line)); background: color-mix(in srgb, #D6336C 8%, var(--surface)); }
.act.heart.on .ico { fill: currentColor; }
.views { display: inline-flex; align-items: center; gap: 5px; font-size: .86rem; color: var(--muted); padding: 0 6px; font-variant-numeric: tabular-nums; }
.actions .contact { margin-inline-start: auto; }
.share { position: relative; }
.share-menu { position: absolute; bottom: calc(100% + 6px); inset-inline-start: 0; z-index: 10; min-width: 190px; display: grid; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(11,31,58,.16); }
.share-menu a, .share-menu button { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; border: 0; background: none; font: inherit; font-size: .9rem; color: var(--ink); text-decoration: none; cursor: pointer; text-align: start; }
.share-menu a:hover, .share-menu button:hover { background: var(--tint); }
.share-menu button.done { color: var(--ok); }
.company-id { display: flex; gap: 12px; align-items: center; margin-top: -40px; }
.company-card .company-id .logo { border: 3px solid var(--surface); box-shadow: var(--shadow); }
.logo.initials { display: grid; place-items: center; width: 56px; height: 56px; font-weight: 800; font-size: 1.4rem; color: #fff; background: linear-gradient(150deg, var(--navy-2), var(--navy)); flex: none; }
.company-card .body { padding-top: 0; position: relative; }
.company-card .company-id h3 { margin-top: 30px; }
.cards.compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* company profile */
.profile-hero { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 18px; }
.profile-hero .cover { aspect-ratio: 3 / 1; background: radial-gradient(500px 200px at 80% 20%, rgba(212,175,55,.3), transparent 70%), linear-gradient(150deg, #0B1F3A, #1E4C8F); }
.profile-hero .cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.profile-id { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 14px 22px 16px; }
.profile-id .logo { width: 112px; height: 112px; margin-top: -64px; padding: 8px; object-fit: contain; background: #fff; border: 4px solid var(--surface); box-shadow: var(--shadow); border-radius: 22px; }
.profile-actions { align-self: center; }
.profile-id .logo.initials { font-size: 2.2rem; }
.profile-name h1 { margin: 0 0 2px; font-size: clamp(1.5rem, 3vw, 2rem); }
.profile-name p { margin: 0 0 6px; }
.profile-actions { display: flex; align-items: center; gap: 8px; }
.profile-actions .actions { border-top: 0; padding-top: 0; margin: 0; }
.profile-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); padding: 0 14px; }
.profile-tabs a { padding: 12px 12px; white-space: nowrap; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; border-bottom: 3px solid transparent; }
.profile-tabs a:hover { color: var(--navy); border-bottom-color: var(--gold-bright); }
.profile-tabs span { font-size: .75rem; background: var(--tint); border-radius: 99px; padding: 1px 7px; margin-inline-start: 2px; }
.layout .panel[id] { scroll-margin-top: 140px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.sticky-side { position: sticky; top: 130px; }
.report-line { display: flex; align-items: center; gap: 6px; font-size: .86rem; margin: 12px 0 0; }
.report-line .ico { color: var(--bad); width: 16px; height: 16px; }
.report-line a { color: var(--bad); }
.confirm-delete { display: inline-block; position: relative; }
.confirm-delete summary { list-style: none; }
.confirm-delete summary::-webkit-details-marker { display: none; }
.confirm-delete form { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 10; width: 260px; display: grid; gap: 8px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(11,31,58,.16); font-size: .88rem; }

/* promise, about, contact */
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; background: linear-gradient(150deg, #0B1F3A, #14305A); border-radius: 18px; padding: 22px; color: #D5DEEC; }
.promise > div { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.promise .ico { width: 30px; height: 30px; color: var(--gold-bright); }
.promise b { color: #fff; font-size: 1.08rem; }
.promise span { font-size: .9rem; }
.about-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-bottom: 18px; }
.about-head img { width: 220px; height: auto; }
.about-counts { margin-bottom: 18px; } .about-counts div { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.contact-way > .ico { width: 30px; height: 30px; color: var(--gold-ink); margin-bottom: 6px; }
.contact-way + .contact-way { margin-top: 0; }

/* phone menu */
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; } .mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; inset-inline-start: 0; top: calc(100% + 8px); z-index: 40; width: min(300px, 86vw); display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 44px rgba(11,31,58,.2); }
.mobile-menu nav a { padding: 11px 12px; border-radius: 9px; text-decoration: none; color: var(--ink); font-weight: 600; }
.mobile-menu nav a.on, .mobile-menu nav a:hover { background: var(--tint); }
.main-nav a { padding-inline: 11px; font-size: .9rem; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 36px 44px; }
  .hero-art { order: -1; } .hero-art img { max-width: 200px; }
  .profile-id { grid-template-columns: auto minmax(0, 1fr); }
  .profile-actions { grid-column: 1 / -1; flex-wrap: wrap; }
  .promise, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .sticky-side { position: static; }
}
@media (max-width: 860px) { .mobile-menu { display: block; } }
@media (max-width: 640px) {
  .join-grid { grid-template-columns: minmax(0, 1fr); }
  .ticks { grid-template-columns: minmax(0, 1fr); }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tile { min-height: 112px; }
  .about-head { grid-template-columns: minmax(0, 1fr); } .about-head img { display: none; }
  .profile-hero .cover { aspect-ratio: 3 / 1; }
  .profile-id { padding-inline: 14px; }
  .profile-id .logo { width: 76px; height: 76px; margin-top: -48px; }
}
form.mode { display: inline; }
.mode-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer; padding: 0; }
.mode-toggle:hover { border-color: var(--navy); }
:root[data-theme="light"] .mode-toggle, :root[data-theme="dark"] .mode-toggle { border-color: var(--outline); background: transparent; color: var(--ink); }
.hero-stats { display: none; } .scroll-down { display: none; }
:root[data-theme="light"] .hero-stats, :root[data-theme="dark"] .hero-stats { display: grid; }
:root[data-theme="light"] .scroll-down, :root[data-theme="dark"] .scroll-down { display: grid; }
/* Section headers: title and a short line on the left, a quiet pill button on the right (no underlined links). */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0 0 2px; }
.section-head p { margin: 0; font-size: .95rem; }
.see-all, .row > h2 ~ a:not(.btn) { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--navy); font-size: .88rem; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s, gap .15s; }
.see-all:hover, .row > h2 ~ a:not(.btn):hover { border-color: var(--navy-2); gap: 9px; }
.see-all .ico { width: 16px; height: 16px; }
:root[data-theme="light"] .see-all, :root[data-theme="dark"] .see-all, :root[data-theme="light"] .row > h2 ~ a:not(.btn), :root[data-theme="dark"] .row > h2 ~ a:not(.btn) { background: var(--surface); border-color: var(--outline); color: var(--ink); }
@media (max-width: 640px) { .section-head { align-items: flex-start; flex-direction: column; gap: 10px; } }
.act { flex: none; }
/* Profile concept (6 Nov 2026): fixed picture frames, company information strip, private person profile. */
.logo { object-fit: contain; }
.info-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 22px 14px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.info-strip > div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 12px 14px; }
.info-strip > div + div { border-inline-start: 1px solid var(--line); }
.info-strip .ico { grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--muted); }
.info-strip dt { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: none; letter-spacing: 0; }
.info-strip dd { margin: 0; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
.tagline { display: flex; gap: 10px; align-items: flex-start; margin: 0 22px 14px; padding: 12px 16px; border-radius: 14px; background: var(--gold-soft); color: var(--ink); font-size: .95rem; }
.tagline .ico { color: var(--gold-ink); width: 22px; height: 22px; }
.profile-cta { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 22px 16px; }
.profile-cta .btn { flex: 1 1 180px; }
.price-tag { display: inline-block; justify-self: start; align-self: flex-start; margin: 2px 0; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-weight: 700; font-size: .86rem; }
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--tint); }
.avatar.large { width: 72px; height: 72px; } .avatar.xl { width: 120px; height: 120px; border: 4px solid var(--surface); box-shadow: var(--shadow); }
.avatar.initials { color: #fff; font-weight: 700; font-size: 1.1rem; background: linear-gradient(150deg, var(--navy-2), var(--navy)); }
.avatar.large.initials { font-size: 1.8rem; } .avatar.xl.initials { font-size: 2.8rem; }
.person-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-bottom: 18px; }
.person-name h1 { margin: 0 0 2px; } .person-name p { margin: 0; }
.private-note { display: grid; gap: 10px; }
.private-note > .ico { width: 28px; height: 28px; color: var(--ok); }
.private-note p { margin: 0; }
.person-preview { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding: 14px; border-radius: 16px; background: var(--tint); }
.person-preview > div { display: grid; gap: 4px; justify-items: start; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(5, 10, 20, .86); }
.lightbox img { display: block; max-width: 96vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox button { position: fixed; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.4rem; cursor: pointer; }
@media (max-width: 760px) {
  .info-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 14px; }
  .info-strip > div:nth-child(3) { border-inline-start: 0; }
  .info-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tagline, .profile-cta { margin-inline: 14px; } .profile-cta { padding-inline: 0; }
  .person-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .profile-id .logo { width: 88px; height: 88px; margin-top: -52px; }
}
.profile-id .logo.initials, .company-id .logo.initials { padding: 0; color: #fff; background: linear-gradient(150deg, var(--navy-2), var(--navy)); display: grid; place-items: center; }
.profile-id .logo.initials { font-size: 2.6rem; }
.support-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 16px; }
.support-box > .ico { width: 30px; height: 30px; color: var(--gold-ink); }
.support-box h2 { margin: 0 0 2px; } .support-box p { margin: 0; }
@media (max-width: 640px) { .support-box { grid-template-columns: auto minmax(0, 1fr); } .support-box .btn { grid-column: 1 / -1; } }
/* Product page: the main photo sits in a fixed frame and is shown whole, whatever size was uploaded. */
.listing-photo { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 560px; object-fit: contain; background: var(--tint); border-radius: 18px; margin-bottom: 12px; }
video.photo { aspect-ratio: 16 / 9; object-fit: contain; }
@media (max-width: 640px) { .listing-photo { border-radius: 14px; } }
/* Menus near the right edge open towards the page, never past it. */
.profile-actions .share-menu, .person-actions .share-menu { inset-inline-start: auto; inset-inline-end: 0; top: calc(100% + 6px); bottom: auto; }
.actions .share:last-of-type .share-menu { max-width: calc(100vw - 32px); }
/* Tick-box lists never run past the edge of small phones. */
.stack-form div[id^="id_"]:not(.helptext) { grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); }
.long-choices { grid-template-columns: repeat(auto-fill, minmax(min(11rem, 100%), 1fr)); }
.stack-form div[id^="id_"] label, .long-choices label { overflow-wrap: anywhere; }
/* Notifications: bell with counter, device switch, list. */
.bell { position: relative; text-decoration: none; }
.bell .count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 99px; background: #D6336C; color: #fff; font-size: .7rem; font-weight: 800; }
.push-switch { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 16px; }
.push-switch > .ico { width: 26px; height: 26px; color: var(--gold-ink); }
.push-switch > div { display: grid; gap: 2px; }
.push-hint { margin: 14px 0 8px; }
.notice > div { display: flex; gap: 10px; align-items: flex-start; }
.notice .ico { color: var(--muted); margin-top: 2px; }
.notice.unread { font-weight: 600; } .notice.unread .ico { color: var(--gold-ink); }
@media (max-width: 640px) { .push-switch { grid-template-columns: auto minmax(0, 1fr); } .push-switch .btn { grid-column: 1 / -1; } }
/* Design comparison, 6 Nov 2026: search tabs, trust strip, footer columns, "you are here" paths, phone bar icons. */
.search-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-top: 20px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.search-tabs button { border: 0; background: transparent; color: inherit; font: inherit; font-size: .9rem; font-weight: 600; padding: 7px 16px; border-radius: 999px; cursor: pointer; opacity: .75; }
.search-tabs button[aria-selected="true"] { background: var(--gold-bright); color: #0B1F3A; opacity: 1; }
.search-tabs + .hero-search { margin-top: 10px; }
.trust-strip { margin-top: 18px; }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust-strip .wrap > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.trust-strip .ico { width: 24px; height: 24px; color: var(--gold-ink); margin-top: 2px; }
.trust-strip span { display: grid; gap: 2px; font-size: .86rem; color: var(--muted); }
.trust-strip b { color: var(--ink); font-size: .95rem; }
.sector-fill { background: linear-gradient(150deg, color-mix(in srgb, var(--sector) 22%, var(--surface)), color-mix(in srgb, var(--sector) 38%, var(--surface))) !important; color: var(--sector); }
.sector-fill .sector-icon { width: 56px; height: 56px; stroke-width: 1.3; opacity: .85; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-bottom: 14px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs > * + *::before { content: "›"; margin: 0 8px; color: var(--muted); opacity: .6; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-foot { padding-block: 40px 22px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.foot-grid nav { display: grid; align-content: start; gap: 8px; }
.foot-grid h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 4px; color: inherit; opacity: .7; font-family: var(--sans); }
.foot-grid nav a { text-decoration: none; font-size: .92rem; }
.foot-brand p { margin: 6px 0 0; }
.foot-brand .brand { color: inherit; } .foot-brand .brand-name { font-size: 1.1rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(127,127,127,.25); font-size: .85rem; opacity: .85; }
.mobile-bar a { display: grid; justify-items: center; gap: 3px; position: relative; }
.mobile-bar .ico { width: 22px; height: 22px; }
.mobile-bar a.on { color: var(--gold-ink); }
.mobile-bar .count { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px; border-radius: 99px; background: #D6336C; color: #fff; font-size: .62rem; }
@media (max-width: 960px) {
  .trust-strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .trust-strip .wrap { grid-template-columns: minmax(0, 1fr); } .search-tabs { display: flex; } .search-tabs button { flex: 1; } }
@media (max-width: 640px) { .crumbs > *:not(:nth-last-child(-n+2)) { display: none; } .crumbs > :nth-last-child(2)::before { content: none; } }
