:root {
    --blue: #075fe4;
    --blue-dark: #05389d;
    --navy: #061a44;
    --orange: #f56a00;
    --ink: #0b1734;
    --muted: #647087;
    --line: #e4e9f1;
    --soft: #f5f8fc;
    --white: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--white); color: var(--ink); }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; width: auto; height: 58px; align-items: center; gap: 7px; flex: 0 0 auto; text-decoration: none; }
.brand-mark { position: relative; width: 48px; height: 48px; display: block; overflow: hidden; border-radius: 8px; }
.brand-mark img { position: absolute; width: 147px; max-width: none; height: 98px; left: -35px; top: -5px; }
.brand-word { color: var(--navy); font-size: 1.38rem; font-weight: 850; letter-spacing: -.055em; }
.brand-word span { color: var(--blue); }
.brand-word em { color: var(--orange); font-style: normal; font-size: .84em; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .94rem; font-weight: 650; }
.main-nav a { text-decoration: none; color: #3c4962; }
.main-nav a:hover, .main-nav a:focus, .main-nav a.active { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--blue); color: #fff !important; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(7,95,228,.16); }
.button:hover, .button:focus { background: var(--blue-dark); }
.button-small { min-height: 42px; padding-inline: 18px; border-radius: 7px; }
.button-large { min-height: 54px; padding-inline: 28px; }
.launch-bar { background: var(--navy); color: #fff; }
.launch-inner { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .88rem; }
.launch-inner strong { color: #ffb36f; letter-spacing: .08em; font-size: .76rem; }
.launch-inner a { color: #fff; font-weight: 700; }
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f7faff 100%); border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -270px; width: 760px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(7,95,228,.11), transparent 67%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 880px; padding: 104px 0 90px; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 18px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 820px; margin: 0 auto 20px; font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: var(--blue); }
.hero > .hero-inner > p:not(.search-examples):not(.clarifier) { max-width: 650px; margin: 0 auto 36px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; }
.hero-search { width: min(760px, 100%); margin: 0 auto; padding: 7px; display: grid; grid-template-columns: 1fr auto; gap: 8px; background: #fff; border: 1px solid #cfd8e7; border-radius: 12px; box-shadow: 0 18px 48px rgba(12,41,92,.12); }
.hero-search input { width: 100%; min-height: 50px; border: 0; outline: 0; padding: 0 15px; color: var(--ink); font: inherit; font-size: 1rem; background: transparent; }
.hero-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,95,228,.11), 0 18px 48px rgba(12,41,92,.12); }
.search-examples { margin: 16px 0 0; color: #7c8799; font-size: .83rem; }
.search-examples span { color: #515e74; }
.hero-actions { margin-top: 34px; display: flex; justify-content: center; align-items: center; gap: 24px; }
.text-link { color: var(--blue); font-weight: 750; text-decoration: none; }
.clarifier { margin: 26px auto 0; color: #7d8796; font-size: .78rem; }
.home-ranking-section { padding: 82px 0 90px; background: #f2f7ff; border-bottom: 1px solid #dfe8f5; }
.home-ranking-header { margin-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.home-ranking-header .eyebrow { margin-bottom: 12px; }
.home-ranking-header h2 { margin-bottom: 9px; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.home-ranking-header p { max-width: 640px; margin: 0; color: var(--muted); line-height: 1.6; }
.home-ranking-header .button { flex: 0 0 auto; }
.how-it-works { padding: 84px 0 94px; background: #fff; }
.section-heading { text-align: center; }
.section-heading h2 { margin-bottom: 42px; font-size: clamp(1.85rem, 4vw, 2.65rem); letter-spacing: -.035em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { min-height: 180px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.step-number { width: 38px; height: 38px; margin-bottom: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #eaf2ff; color: var(--blue); font-weight: 800; }
.step-number.accent { background: #fff0e4; color: var(--orange); }
.steps h3 { margin-bottom: 9px; font-size: 1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.notice { padding: 12px 0; font-size: .92rem; }
.notice-success { background: #e9f8f0; color: #14643b; border-bottom: 1px solid #bfe8d0; }
.discovery-section { padding: 86px 0; background: var(--soft); }
.discovery-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 40px; align-items: start; }
.section-heading.left { text-align: left; }
.section-heading.left h2 { margin-bottom: 28px; }
.category-shortcuts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.category-shortcuts a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 18px; background: #fff; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; font-weight: 700; }
.category-shortcuts a:hover { border-color: #9bbcf0; color: var(--blue); }
.category-shortcuts small { color: var(--muted); font-weight: 500; white-space: nowrap; }
.simple-card { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 34px rgba(17,42,82,.07); }
.simple-card h2 { margin-bottom: 22px; font-size: 1.55rem; letter-spacing: -.025em; }
.simple-card p { margin: 22px 0 0; color: var(--muted); line-height: 1.6; font-size: .9rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-list a { padding: 8px 11px; background: #f1f6ff; color: var(--blue-dark); border: 1px solid #dbe8fb; border-radius: 7px; text-decoration: none; font-size: .86rem; font-weight: 650; }
.global-cities-section { padding: 86px 0 94px; background: #fff; }
.global-cities-section .section-heading > p { max-width: 620px; margin: -28px auto 38px; color: var(--muted); line-height: 1.65; }
.global-city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.global-city-grid a { min-height: 82px; padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--blue); text-decoration: none; box-shadow: 0 5px 18px rgba(17,42,82,.04); }
.global-city-grid a:hover { border-color: #9bbcf0; box-shadow: 0 9px 24px rgba(7,95,228,.09); transform: translateY(-1px); }
.global-city-grid a > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.global-city-grid strong { color: var(--ink); font-size: .96rem; }
.global-city-grid small { color: var(--muted); font-size: .75rem; }
.cta-strip { padding: 68px 0; background: var(--navy); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-inner .eyebrow { color: #ffb36f; }
.cta-inner h2 { margin: 0; max-width: 650px; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.035em; }
.site-footer { padding: 66px 0 24px; background: #07152f; color: #c7d0df; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; }
.footer-grid > div:first-child { max-width: 340px; }
.footer-brand { color: #fff; font-size: 1.55rem; font-weight: 850; letter-spacing: -.04em; text-decoration: none; }
.footer-brand span { color: var(--orange); }
.footer-grid p { margin-top: 15px; color: #95a2b5; line-height: 1.65; font-size: .9rem; }
.footer-grid h2 { margin-bottom: 16px; color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid a:not(.footer-brand) { color: #aeb9ca; font-size: .89rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 52px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #20304c; color: #7f8da1; font-size: .78rem; }
.narrow { max-width: 980px; }
.form-width { max-width: 820px; }
.prose-width { max-width: 780px; }
.page-hero { padding: 78px 0 68px; background: linear-gradient(180deg,#fff,#f5f8fc); border-bottom: 1px solid var(--line); }
.page-hero.compact { padding: 64px 0 56px; text-align: center; }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(2.25rem,5vw,4rem); line-height: 1.05; letter-spacing: -.05em; }
.page-hero p { max-width: 740px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.page-section { padding: 70px 0 88px; }
.inline-search { max-width: 680px; margin: 30px auto 0; padding: 6px; display: grid; grid-template-columns: 1fr auto; gap: 7px; background: #fff; border: 1px solid #ccd6e5; border-radius: 10px; box-shadow: 0 10px 30px rgba(12,41,92,.08); }
.inline-search input { min-width: 0; border: 0; outline: 0; padding: 0 14px; font: inherit; }
.panel { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 26px rgba(17,42,82,.055); }
.panel > h2 { margin-bottom: 20px; font-size: 1.22rem; letter-spacing: -.025em; }
.category-accordion { display: grid; gap: 12px; }
.category-accordion details { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.category-accordion summary { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 750; }
.category-accordion summary small { color: var(--muted); font-weight: 550; }
.category-accordion details[open] summary { border-bottom: 1px solid var(--line); background: #f9fbfe; }
.category-links { padding: 18px 22px 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 4px 18px; }
.category-links a { padding: 7px 0; display: flex; justify-content: space-between; gap: 8px; color: #35445d; text-decoration: none; font-size: .9rem; }
.category-links a span { color: #9ba8ba; }
.category-links a:hover { color: var(--blue); }
.supporting-cta { margin-top: 32px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #f3f7fd; border: 1px solid #dbe5f3; border-radius: 11px; }
.supporting-cta h2 { margin-bottom: 7px; font-size: 1.2rem; }
.supporting-cta p { margin: 0; color: var(--muted); }
.button-secondary { background: #fff; color: var(--blue) !important; border: 1px solid #b8cff1; box-shadow: none; }
.button-secondary:hover { background: #edf4ff; }
.empty-state { padding: 54px 28px; text-align: center; background: var(--soft); border: 1px dashed #c7d3e3; border-radius: 12px; }
.empty-state h2 { margin-bottom: 10px; }
.empty-state p { margin: 0 0 24px; color: var(--muted); }
.search-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.search-columns .full { grid-column: 1/-1; }
.result-row { padding: 12px 0; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.result-row small { color: var(--muted); }
.result-row:hover span { color: var(--blue); }
.muted { color: var(--muted); }
.breadcrumbs { margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .83rem; }
.breadcrumbs a { color: #53647c; text-decoration: none; }
.ranking-hero { padding: 54px 0; }
.ranking-hero h1 { max-width: 850px; font-size: clamp(2.2rem,5vw,3.7rem); }
.ranking-hero > .container > p { margin: 0; max-width: 760px; color: var(--muted); line-height: 1.7; }
.ranking-note { margin-top: 25px; padding: 14px 17px; background: #edf4ff; border: 1px solid #d4e3fa; border-radius: 8px; color: #43536c; font-size: .85rem; }
.results-heading { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.results-heading h2 { margin-bottom: 6px; font-size: 1.5rem; }
.results-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.ranking-list { display: grid; gap: 14px; }
.ranking-card { padding: 26px; display: grid; grid-template-columns: 72px 80px 1fr auto; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 7px 24px rgba(17,42,82,.05); }
.ranking-card:first-child { border-color: #a9c7f5; box-shadow: 0 10px 30px rgba(7,95,228,.10); }
.rank-number { display: flex; flex-direction: column; color: var(--blue); }
.rank-number small { color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.rank-number strong { font-size: 2rem; letter-spacing: -.05em; }
.business-logo, .profile-logo { width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #edf3fc; border: 1px solid #dbe4f1; border-radius: 12px; color: var(--blue); font-size: 1.7rem; font-weight: 850; }
.business-logo img, .profile-logo img { width: 100%; height: 100%; object-fit: contain; }
.listing-label { margin-bottom: 6px; color: var(--orange); font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.business-summary h3 { margin-bottom: 8px; font-size: 1.18rem; }
.business-summary h3 a { text-decoration: none; }
.business-summary h3 a:hover { color: var(--blue); }
.business-summary > p { margin-bottom: 12px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.listing-meta { display: flex; gap: 16px; color: #536178; font-size: .79rem; }
.ranking-context { color: var(--blue-dark); font-weight: 700; text-decoration: none; }
.ranking-context:hover { color: var(--blue); text-decoration: underline; }
.card-actions { min-width: 142px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.button-link { color: var(--blue); font-size: .88rem; font-weight: 700; text-decoration: none; }
.pagination { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--muted); font-size: .88rem; }
.pagination a { color: var(--blue); font-weight: 700; text-decoration: none; }
.related-grid { margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.link-list { display: flex; flex-direction: column; }
.link-list a { padding: 10px 0; border-top: 1px solid var(--line); color: #3d4b62; text-decoration: none; font-size: .9rem; }
.company-heading { display: flex; align-items: center; gap: 24px; }
.company-heading .profile-logo { width: 104px; height: 104px; }
.company-heading h1 { margin-bottom: 8px; }
.company-heading p { text-align: left; }
.profile-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; align-items: start; }
.profile-content > p { color: #495970; line-height: 1.75; }
.profile-content h2:not(:first-child) { margin-top: 34px; }
.profile-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.profile-grid aside { display: grid; gap: 18px; }
.position-list { display: grid; }
.position-list a { padding: 13px 0; display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--line); text-decoration: none; }
.position-list strong { min-width: 42px; color: var(--blue); font-size: 1.25rem; }
.position-list span { font-weight: 700; }
.position-list small { margin-top: 3px; display: block; color: var(--muted); font-weight: 500; }
.profile-categories .chip-list span { padding: 7px 9px; background: #f3f6fa; border-radius: 6px; color: #4a5870; font-size: .78rem; }
.form-section { background: #f7f9fc; }
.listing-form { display: grid; gap: 18px; }
.form-panel { margin: 0; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 7px 25px rgba(17,42,82,.045); }
.form-panel legend { padding: 0 10px 0 0; display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; }
.form-panel legend span { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; background: #eaf2ff; border-radius: 50%; color: var(--blue); font-size: .8rem; }
.field-grid { display: grid; gap: 20px; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
.field.full { grid-column: 1/-1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .managed-bids form > label { color: #26354d; font-size: .86rem; font-weight: 750; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select, .inline-action input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cdd6e3; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; }
.field textarea { line-height: 1.55; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .inline-action input:focus { border-color: var(--blue); outline: 3px solid rgba(7,95,228,.1); }
.field small, .managed-bids small { color: var(--muted); font-size: .75rem; line-height: 1.45; }
.fieldset-help { margin: 0 0 20px; color: var(--muted); font-size: .88rem; }
.category-picker { max-height: 370px; margin-top: 16px; padding: 14px 18px; overflow: auto; border: 1px solid #d2dbe8; border-radius: 8px; }
.category-picker section { padding: 10px 0 16px; border-bottom: 1px solid var(--line); }
.category-picker section:last-child { border: 0; }
.category-picker h2 { margin-bottom: 10px; color: #34435a; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; }
.category-picker section > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; }
.category-picker label { display: flex; gap: 9px; align-items: flex-start; color: #46546a; font-size: .84rem; cursor: pointer; }
.category-picker input { margin-top: 2px; accent-color: var(--blue); }
.picker-footer { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .8rem; }
.picker-footer a { color: var(--blue); }
.competition-box { margin-bottom: 26px; padding: 20px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; background: #f1f6ff; border: 1px solid #d7e5f9; border-radius: 9px; }
.competition-box[hidden] { display: none; }
.competition-box > div { display: flex; flex-direction: column; gap: 5px; }
.competition-box small { color: var(--muted); }
.competition-box strong { color: var(--blue-dark); font-size: 1.15rem; }
.competition-box p { grid-column: 1/-1; margin: 4px 0 0; color: #45556d; font-size: .82rem; }
.bid-field { max-width: 420px; }
.money-input { display: grid; grid-template-columns: auto 1fr; align-items: center; border: 1px solid #cdd6e3; border-radius: 8px; overflow: hidden; }
.money-input:focus-within { border-color: var(--blue); outline: 3px solid rgba(7,95,228,.1); }
.money-input span { height: 100%; padding: 0 14px; display: flex; align-items: center; background: #f4f7fb; border-right: 1px solid #d6deea; color: #536078; font-size: .82rem; font-weight: 750; }
.money-input input { border: 0; outline: 0 !important; }
.mode-note { margin-top: 22px; padding: 16px; display: flex; flex-direction: column; gap: 5px; background: #eef9f3; border-left: 3px solid #29a46b; color: #315d49; font-size: .83rem; }
.optional-panel summary { cursor: pointer; font-weight: 750; }
.optional-panel[open] summary { margin-bottom: 22px; }
.confirm-check { padding: 8px 2px; display: flex; gap: 11px; align-items: flex-start; color: #3c4a60; font-size: .87rem; }
.confirm-check input { margin-top: 3px; accent-color: var(--blue); }
.confirm-check a { color: var(--blue); }
.submit-bid { min-height: 58px; font-size: 1rem; }
.form-privacy { margin: -4px 0 0; text-align: center; color: var(--muted); font-size: .77rem; }
.form-errors { padding: 18px; background: #fff0f0; border: 1px solid #efc3c3; border-radius: 9px; color: #8b2525; font-size: .86rem; }
.form-errors ul { margin: 9px 0 0; padding-left: 20px; }
.notice-box { padding: 18px; display: flex; flex-direction: column; gap: 5px; background: #eff5ff; border: 1px solid #d1e0f7; border-radius: 9px; color: #3e516c; }
.notice-box.warning { margin-bottom: 18px; background: #fff7e9; border-color: #f0d6a4; color: #79561b; }
.bot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.success-page { min-height: 65vh; text-align: center; }
.success-icon { width: 68px; height: 68px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: #e7f7ee; border-radius: 50%; color: #17844e; font-size: 2rem; font-weight: 850; }
.success-page h1 { margin-bottom: 15px; font-size: 2.5rem; letter-spacing: -.04em; }
.success-page > .container > p { margin: 0 auto 26px; max-width: 620px; color: var(--muted); line-height: 1.65; }
.success-page .notice-box { margin-bottom: 26px; text-align: left; }
.form-stack { display: grid; gap: 20px; }
.manage-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 24px; align-items: start; }
.managed-bids { display: grid; gap: 16px; }
.managed-bids article { padding-top: 18px; border-top: 1px solid var(--line); }
.managed-bids h3 { margin: 8px 0 5px; }
.managed-bids p { color: var(--muted); font-size: .85rem; }
.managed-bids dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.managed-bids dl div { display: flex; flex-direction: column; }
.managed-bids dt { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.managed-bids dd { margin: 4px 0 0; font-weight: 750; }
.status-pill { padding: 4px 7px; display: inline-block; border-radius: 999px; background: #edf1f6; color: #536078; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.status-pill.active { background: #e6f7ed; color: #187c4c; }
.status-pill.pending { background: #fff3dd; color: #8a5a09; }
.inline-action { margin-top: 7px; display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.prose { color: #3f4e64; font-size: 1rem; line-height: 1.75; }
.prose h2 { margin: 38px 0 10px; color: var(--ink); font-size: 1.35rem; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.explain-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.explain-steps li { padding: 25px; display: grid; grid-template-columns: 44px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.explain-steps li > span { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: #eaf2ff; border-radius: 50%; color: var(--blue); font-weight: 850; }
.explain-steps h2 { margin: 0 0 5px; }
.explain-steps p { margin: 0; }
.important-note { margin-top: 30px; padding: 22px; background: #fff7e8; border-left: 4px solid var(--orange); border-radius: 8px; }
.important-note p { margin: 6px 0 0; }
.center-action { margin-top: 32px; text-align: center; }
.admin-login { min-height: 70vh; background: var(--soft); }
.admin-login form { max-width: 520px; margin: 0 auto; }
.admin-login h1 { margin-bottom: 0; }
.admin-body { min-height: 100vh; display: grid; grid-template-columns: 245px 1fr; background: #f5f7fa; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 26px 18px; display: flex; flex-direction: column; background: #07152f; color: #c7d0df; overflow-y: auto; }
.admin-brand { margin: 0 10px 26px; color: #fff; font-size: 1.35rem; font-weight: 850; letter-spacing: -.04em; text-decoration: none; }
.admin-brand span { color: var(--orange); }
.admin-brand small { margin-top: 3px; display: block; color: #76869e; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar nav a { padding: 10px 11px; border-radius: 7px; color: #aab6c8; font-size: .84rem; text-decoration: none; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: #142745; color: #fff; }
.admin-sidebar form { margin-top: auto; }
.admin-sidebar form button, .view-site { width: 100%; padding: 9px 10px; display: block; background: transparent; border: 0; color: #8e9bb0; text-align: left; font: inherit; font-size: .78rem; cursor: pointer; text-decoration: none; }
.admin-main { min-width: 0; padding: 34px 38px 70px; }
.admin-main > header { margin-bottom: 25px; display: flex; justify-content: space-between; align-items: center; }
.admin-main > header span { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-main > header h1 { margin: 4px 0 0; font-size: 2rem; letter-spacing: -.04em; }
.admin-main > .notice-box { margin-bottom: 20px; }
.admin-stat-grid { margin-bottom: 24px; display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.admin-stat-grid div { padding: 20px; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.admin-stat-grid small { color: var(--muted); font-size: .72rem; }
.admin-stat-grid strong { font-size: 1.5rem; letter-spacing: -.03em; }
.admin-intro { max-width: 760px; }
.admin-intro p { margin: 0; color: var(--muted); line-height: 1.65; }
.admin-search { max-width: 560px; margin-bottom: 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.admin-search input { min-height: 42px; padding: 9px 12px; border: 1px solid #cfd8e5; border-radius: 7px; font: inherit; }
.admin-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 9px; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.admin-table th { padding: 12px 14px; background: #f7f9fc; border-bottom: 1px solid var(--line); color: #59677d; text-align: left; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.admin-table td { padding: 13px 14px; border-bottom: 1px solid #edf0f4; vertical-align: top; }
.admin-table td small { margin-top: 4px; display: block; color: var(--muted); max-width: 280px; overflow-wrap: anywhere; }
.table-action { margin-bottom: 5px; display: flex; gap: 5px; }
.table-action select, .table-action button, .danger-button { min-height: 30px; padding: 4px 7px; border: 1px solid #ccd5e2; border-radius: 5px; background: #fff; color: #344158; font: inherit; font-size: .72rem; }
.table-action button { cursor: pointer; color: var(--blue); font-weight: 750; }
.danger-button { color: #a52c2c; cursor: pointer; }
.admin-pagination { margin-top: 18px; }
.admin-pagination nav > div:first-child { display: none; }
.admin-pagination nav > div:last-child { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.admin-pagination nav span, .admin-pagination nav a { font-size: .78rem; }
.admin-pagination svg { width: 16px; }
.admin-edit-list { display: grid; gap: 8px; }
.admin-create { margin-bottom: 18px; }
.admin-create > summary { cursor: pointer; font-weight: 800; }
.admin-create[open] > summary { margin-bottom: 18px; }
.admin-edit-list > details { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.admin-edit-list summary { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; }
.admin-edit-list summary > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.admin-edit-list summary small { color: var(--muted); font-size: .72rem; }
.admin-edit-form, .location-admin { padding: 18px; border-top: 1px solid var(--line); }
.admin-edit-form .button { margin-top: 16px; }
.location-admin { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.location-admin div { padding: 13px; background: #f7f9fc; border-radius: 6px; }
.location-admin h2 { margin-bottom: 5px; font-size: .85rem; }
.location-admin p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.admin-hint { max-width: 760px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.admin-settings { max-width: 900px; }
.admin-settings > h2, .stripe-status > h2 { margin-bottom: 22px; }
.admin-settings .button { margin-top: 22px; }
.toggle-field { min-height: 44px; display: flex; gap: 10px; align-items: center; color: #344259; font-size: .84rem; font-weight: 700; }
.toggle-field input { accent-color: var(--blue); }
.stripe-status { max-width: 900px; margin-top: 20px; }
.stripe-status > p { color: var(--muted); font-size: .84rem; }
.stripe-status dl { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.stripe-status dl div { padding: 14px; background: #f7f9fc; border-radius: 7px; }
.stripe-status dt { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.stripe-status dd { margin: 5px 0 0; font-weight: 750; }
.location-category-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.location-category-list a { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; }
.location-category-list a:hover { border-color: #9fbdeb; }
.location-category-list span { display: flex; flex-direction: column; gap: 4px; }
.location-category-list small { color: var(--muted); font-size: .67rem; text-transform: uppercase; }
.location-category-list strong { color: var(--ink); }
.location-category-list em { color: var(--blue); font-size: .78rem; font-style: normal; white-space: nowrap; }
.nearby-panel { margin-top: 34px; }

@media (max-width: 820px) {
    .header-inner { min-height: 66px; }
    .brand { height: 50px; }
    .brand-mark { width: 42px; height: 42px; }
    .brand-mark img { width: 129px; height: 86px; left: -31px; top: -4px; }
    .main-nav a:not(.button) { display: none; }
    .hero-inner { padding: 76px 0 72px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .home-ranking-header { align-items: flex-start; flex-direction: column; gap: 20px; }
    .discovery-grid { grid-template-columns: 1fr; }
    .global-city-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .category-links { grid-template-columns: repeat(2,1fr); }
    .ranking-card { grid-template-columns: 62px 70px 1fr; }
    .card-actions { grid-column: 2/-1; flex-direction: row; align-items: center; }
    .profile-grid, .manage-grid { grid-template-columns: 1fr; }
    .admin-stat-grid { grid-template-columns: repeat(2,1fr); }
    .location-admin, .stripe-status dl { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
    .container { width: min(100% - 28px, 1120px); }
    .main-nav { gap: 10px; }
    .button-small { padding-inline: 13px; font-size: .82rem; }
    .launch-inner { padding: 9px 0; flex-wrap: wrap; gap: 4px 8px; text-align: center; }
    .hero h1 { font-size: 2.9rem; }
    .hero-search { grid-template-columns: 1fr; padding: 6px; }
    .hero-search .button { width: 100%; }
    .search-examples { line-height: 1.6; }
    .hero-actions { flex-direction: column; gap: 18px; }
    .steps { grid-template-columns: 1fr; }
    .home-ranking-section { padding: 58px 0 64px; }
    .steps li { min-height: 0; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
    .step-number { margin: 0; }
    .category-shortcuts { grid-template-columns: 1fr; }
    .global-cities-section { padding: 58px 0 64px; }
    .global-city-grid { grid-template-columns: 1fr; }
    .cta-inner { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; }
    .page-hero, .page-hero.compact { padding: 46px 0 42px; }
    .page-section { padding: 46px 0 62px; }
    .inline-search { grid-template-columns: 1fr; }
    .category-links, .search-columns, .field-grid.two, .category-picker section > div, .related-grid, .location-category-list { grid-template-columns: 1fr; }
    .supporting-cta, .results-heading { align-items: flex-start; flex-direction: column; }
    .search-columns .full { grid-column: auto; }
    .ranking-card { grid-template-columns: 54px 58px 1fr; gap: 14px; padding: 19px; align-items: start; }
    .business-logo { width: 56px; height: 56px; }
    .rank-number strong { font-size: 1.55rem; }
    .business-summary { grid-column: 2/-1; }
    .card-actions { grid-column: 2/-1; }
    .company-heading { align-items: flex-start; }
    .company-heading .profile-logo { width: 76px; height: 76px; flex: 0 0 auto; }
    .form-panel { padding: 22px 18px; }
    .competition-box { grid-template-columns: 1fr; }
    .competition-box p { grid-column: auto; }
    .picker-footer { flex-direction: column; }
    .admin-body { display: block; }
    .admin-sidebar { position: static; width: 100%; height: auto; }
    .admin-sidebar nav { display: grid; grid-template-columns: repeat(2,1fr); }
    .admin-sidebar form { margin-top: 18px; }
    .admin-main { padding: 26px 14px 54px; }
    .admin-stat-grid, .location-admin, .stripe-status dl { grid-template-columns: 1fr; }
}
