.portal-shell{display:grid;grid-template-columns:256px 1fr;gap:40px;padding:40px 0 80px;align-items:start}
/* A grid track's default min-width is auto (its content's min-content
   width), not 0 - so a single long unbreakable string anywhere inside this
   column (e.g. a full URL rendered as DMCA notices' content-URL link text)
   stretches the whole 1fr track past the viewport instead of letting
   .admin-table-wrap's own overflow-x:auto contain it, pushing a page-wide
   horizontal scrollbar under the whole admin shell. */
.portal-main{min-width:0}
/* The sticky rule lives on the [data-portal-rail] wrapper, not .portal-rail
   itself. .portal-rail is nested one level inside that wrapper, and with
   align-items:start the wrapper (the actual grid item) shrinks to exactly
   the sidebar's own height rather than the full row height - a sticky
   element's movement is bounded by its own containing block, so putting
   sticky on .portal-rail left it with zero room to move: it would "stick"
   for 0 pixels and then scroll away together with its undersized wrapper.
   The wrapper is a direct child of the (tall) grid, so sticky on it has the
   room it needs. */
/* top trimmed from 104px to 92px (just enough to clear the 84px sticky
   header plus its 1px border, with a few px to spare) to reclaim vertical
   room - on a page whose rail content runs long (e.g. /portal/sponsor/'s
   neighborhood picker), that alone still isn't enough on a shorter
   viewport, so max-height plus its own overflow-y:auto makes the rail
   internally scrollable rather than just clipped by the bottom of the
   window - the bottom section (sign out, etc.) stays reachable either
   way. [data-admin-rail] is admin-shell.js's own equivalent wrapper
   (renderAdminShell) - same grid/sticky shape as the business portal, so it
   gets the exact same rule rather than a separate near-duplicate one. */
[data-portal-rail],[data-admin-rail]{position:sticky;top:92px;align-self:start;max-height:calc(100vh - 112px);overflow-y:auto}
.portal-rail{border-right:1px solid var(--line);padding-right:24px}
.portal-rail__biz{margin-bottom:18px}.portal-business-switcher{margin:0 0 18px}.portal-business-switcher label{display:block;font:700 10px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.portal-business-switcher select{display:block;width:100%;margin-top:6px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;font:700 13px var(--sans);color:var(--ink)}
.portal-rail__biz strong{display:block;font-size:16px}
.portal-rail__biz span{display:block;margin-top:4px;font:700 10px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.portal-rail__biz .plan-badge{display:inline-block;margin:0 0 8px;padding:4px 11px;border-radius:999px;font:700 10px var(--mono);letter-spacing:.06em;text-transform:uppercase;box-shadow:0 1px 2px rgba(11,26,46,.08)}
.plan-badge--free,.plan-badge--featured{background:#c7edd6;color:#146c2e}
.portal-logo-box{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;margin-bottom:12px;border:1px dashed #cbd5df;border-radius:10px;background-color:#f7f9fc;background-size:contain;background-repeat:no-repeat;background-position:center;cursor:pointer;overflow:hidden}
.portal-logo-box.has-logo{border:none}
.portal-logo-box:hover{border-color:#0054cc}
.portal-logo-box__placeholder{font:700 13px var(--mono);letter-spacing:.04em;text-transform:uppercase;color:#7a8a9c;text-align:center;padding:0 10px}
.portal-logo-box.is-uploading{opacity:.6;pointer-events:none}
.portal-logo-box__remove{position:absolute;top:6px;right:6px;width:22px;height:22px;border:none;border-radius:999px;background:rgba(17,24,32,.65);color:#fff;font:700 14px/22px var(--mono);text-align:center;padding:0;cursor:pointer;z-index:1}
.portal-logo-box__remove:hover{background:#b3261e}
.portal-logo-box--icon .portal-logo-box__remove{top:2px;right:2px;width:16px;height:16px;font-size:10px;line-height:16px}
.portal-logo-box__caption{display:block;margin:-6px 0 12px;font-size:11px;color:#7a8a9c;text-align:center}
/* icon_url renders at exactly 64px/12px-radius next to the business name on
   the public profile (business-profile.css's .profile-logo) - sized and
   cropped (background-size:cover, matching that img's object-fit:cover)
   to match here instead of the full-rail-width square .portal-logo-box
   otherwise uses for the logo, so this preview isn't misleadingly larger
   than what a visitor will actually see. */
.portal-logo-box--icon{width:64px;aspect-ratio:1/1;border-radius:12px;background-size:cover}
.portal-logo-box--icon .portal-logo-box__placeholder{font-size:8px;padding:0 2px}
.portal-logo-box--icon + .portal-logo-box__caption{width:64px;text-align:center}
.portal-logo-error{margin:0 0 8px;color:#b3261e;font-size:12px}
.portal-logo-error:empty{display:none}
/* .auth-error itself lives in auth.css (the sign-in/sign-up split-panel
   stylesheet), which this page never loads - every .auth-error usage here
   (photo upload errors, award badge upload errors, etc.) was rendering as
   plain unstyled text as a result, easy to miss. Copied verbatim from
   auth.css rather than pulling in that whole unrelated stylesheet for one
   rule - keep both in sync if this ever changes. */
.auth-error{padding:12px 14px;border:1px solid #f2c9c4;background:#fdecea;color:#8a241a;font-size:13px;margin-bottom:16px}
.portal-logo-note{margin:0 0 8px;padding:2px 8px;border-radius:999px;background:#fff1d6;color:#8a5300;font:700 10px var(--mono);letter-spacing:.03em;text-transform:uppercase;text-align:center;width:fit-content}
.portal-logo-note[hidden]{display:none}
.portal-nav{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.portal-nav a{display:block;padding:10px 12px;border-radius:8px;color:var(--ink-2);font-weight:700;font-size:14px;transition:background-color .16s ease,color .16s ease}.portal-nav__featured-only{display:inline-block;margin-left:4px;padding:2px 6px;border-radius:999px;background:var(--orange-soft);color:#b83d00;font:700 9px var(--mono);letter-spacing:.03em;text-transform:uppercase;vertical-align:middle}.portal-nav a.is-active .portal-nav__featured-only{background:rgba(255,255,255,.85)}
/* "Something needs your attention" indicator next to a nav item - currently
   only Advertise (a finished banner design awaiting the business's one
   approval look), but a plain, reusable dot rather than naming it after
   that one feature. */
.portal-nav__dot{display:inline-block;width:8px;height:8px;margin-left:4px;border-radius:999px;background:#e0473a;vertical-align:middle}
.portal-nav a:hover{background:var(--paper)}
.portal-nav a.is-active{background:var(--blue);color:#fff;box-shadow:0 4px 12px rgba(0,84,204,.22)}
.portal-nav__item{display:flex;align-items:center;gap:6px}
.portal-nav__item a:first-child{flex:1}
.portal-nav__preview{flex-shrink:0;padding:6px 8px!important;font-size:11px!important;color:var(--blue)!important;background:none!important;box-shadow:none!important}
.portal-nav__preview:hover{text-decoration:underline;transform:none!important}
.portal-nav__sublinks{display:flex;flex-direction:column;align-items:flex-end;padding:0 8px 6px}
.portal-rail__foot{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);display:grid;gap:8px;font-size:13px}
.portal-rail__foot a{color:var(--blue);font-weight:700}
.portal-help-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-start;justify-content:center;padding:60px 16px;background:rgba(11,26,46,.5);overflow-y:auto}
.portal-help-overlay[hidden]{display:none}
.portal-help-modal{width:min(420px,100%);background:#fff;border-radius:10px;padding:26px;box-shadow:0 20px 50px rgba(11,26,46,.25)}
.portal-help-modal h2{margin:0 0 12px;font-size:20px}
.portal-help-modal p{margin:0 0 14px;font-size:14px;color:var(--muted)}
.portal-help-modal a{color:var(--blue);font-weight:700}
.portal-help-modal .form-field{margin-bottom:14px}
.portal-help-modal [data-help-error]{color:#a83a05;font-size:13px;margin-bottom:8px}
.portal-help-modal__success[hidden]{display:none}
.portal-help-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}
.portal-main h1{margin-top:0}
.portal-loading{padding:40px;color:var(--muted);text-align:center}
.portal-empty{padding:44px;border:1px solid var(--line);border-radius:8px;text-align:center;background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%)}
.portal-empty h2{margin-top:0}
.portal-card{border:1px solid var(--line);border-radius:8px;background:#fff;padding:26px;margin-bottom:22px;box-shadow:0 5px 14px rgba(11,26,46,.04);transition:box-shadow .18s ease,border-color .18s ease}
.portal-card:hover{box-shadow:0 10px 24px rgba(11,26,46,.07);border-color:#d3dce7}
.portal-card h2{margin-top:0;font-size:22px;display:flex;align-items:center;gap:10px}
.section-icon{width:20px;height:20px;flex:0 0 auto;fill:currentColor;color:var(--blue)}

/* /portal/analytics/ and /portal/listing/ only - see portal-analytics-
   controller.js's `.analytics-page` wrapper and portal-listing-controller.js's
   `.listing-page` wrapper. Gives every card's title its own dark band so
   each section reads as a distinct block at a glance, rather than the
   default plain-text heading every other portal page still uses. Bleeds to
   the card's own edges via matching negative margins (safe at every
   viewport - .portal-card's padding never changes on smaller screens) and
   rounds only the top corners to match the card underneath. Harmless on
   .trust-map-card, whose whole card is already this same dark color. */
.analytics-page .portal-card>h2,.listing-page .portal-card>h2{margin:-26px -26px 20px;padding:16px 26px;background:var(--ink);color:#fff;border-radius:7px 7px 0 0}
/* portal-listing-controller.js prefixes each of these h2s with a
   .section-icon, which is styled blue (color:var(--blue)) for its normal
   home on a light background - unreadable against the dark band above, so
   it inherits the header's own white here instead. */
.listing-page .portal-card>h2 .section-icon{color:#fff}
/* Same dark header band as the h2-based version above, but on a <summary>
   instead of a plain h2 - portal-city-sponsor-controller.js/
   portal-sponsor-controller.js make each sponsorship card a collapsible
   <details> (a business holding several sponsorships can close the ones
   it isn't editing right now), and only <summary> is a valid direct child
   of <details> for that native disclosure behavior. */
.city-sponsor-page .portal-card>summary,.neighborhood-sponsor-page .portal-card>summary,.marketing-page .portal-card>summary{margin:-26px -26px 20px;padding:16px 26px;background:var(--ink);color:#fff;border-radius:7px 7px 0 0;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none}
.city-sponsor-page .portal-card>summary::-webkit-details-marker,.neighborhood-sponsor-page .portal-card>summary::-webkit-details-marker,.marketing-page .portal-card>summary::-webkit-details-marker{display:none}
.city-sponsor-page .portal-card:not([open])>summary,.neighborhood-sponsor-page .portal-card:not([open])>summary,.marketing-page .portal-card:not([open])>summary{margin-bottom:-26px;border-radius:7px}
.city-sponsor-page .portal-card>summary h2,.neighborhood-sponsor-page .portal-card>summary h2,.marketing-page .portal-card>summary h2{margin:0}
.portal-card__chevron{flex-shrink:0;color:#fff;transition:transform .2s ease}
.portal-card[open] .portal-card__chevron{transform:rotate(180deg)}
.field-icon{width:16px;height:16px;vertical-align:-3px;margin-right:6px;fill:currentColor;color:var(--blue)}
.field-icon--youtube rect{fill:#e02424}
.upgrade-actions{display:flex;flex-wrap:wrap;gap:10px}
.cancel-explainer{margin-top:18px;padding:18px 20px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
.cancel-explainer h3{margin:0 0 10px;font-size:16px}
.cancel-explainer ul{margin:0 0 16px;padding-left:20px}
.cancel-explainer li{margin-bottom:6px}
.portal-google-note{margin:14px 0 0;padding:12px 16px 14px 18px;border-left:3px solid var(--blue);border-radius:6px;background:var(--blue-50,#eaf2ff);color:var(--ink-2);font-size:14px}
.portal-google-note strong{color:var(--ink)}
.portal-google-note__section{margin-top:12px}
.portal-google-note__section>strong{display:block;margin-bottom:4px;font-size:13px}
.portal-google-note ul{margin:0;padding-left:18px}
.portal-google-note li{margin-bottom:4px}
.portal-google-note li:last-child{margin-bottom:0}
.portal-status-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:6px}
.badge--moderated{font:700 9px var(--mono);letter-spacing:.06em;text-transform:uppercase;background:#fff1e9;color:#a83a05;padding:4px 7px;border-radius:5px;margin-left:8px}
.badge--required{font:700 9px var(--mono);letter-spacing:.06em;text-transform:uppercase;background:#e8f2fb;color:#0054cc;padding:4px 7px;border-radius:5px;margin-left:8px}
.claim-steps{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:24px;box-shadow:0 5px 14px rgba(11,26,46,.04)}
.claim-step{flex:1;display:flex;align-items:center;gap:10px;padding:16px 18px;border-right:1px solid var(--line);color:var(--muted);font-weight:700;font-size:14px;transition:background-color .18s ease,color .18s ease}
.claim-step:last-child{border-right:0}
.claim-step__num{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--paper);color:var(--muted);font-size:12px;flex:0 0 auto;transition:background-color .18s ease,color .18s ease}
.claim-step.is-active{color:var(--ink);background:var(--blue-50,#f2f7fe)}
.claim-step.is-active .claim-step__num{background:var(--blue);color:#fff;box-shadow:0 2px 6px rgba(0,84,204,.3)}
.claim-result{border:1px solid var(--line);border-radius:8px;padding:22px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 5px 14px rgba(11,26,46,.04);transition:box-shadow .18s ease,border-color .18s ease}
.claim-result:hover{box-shadow:0 10px 24px rgba(11,26,46,.08);border-color:#9eb4d1}
.claim-result strong{display:block}
.claim-result small{color:var(--muted)}
.claim-not-found{padding:28px;border:1px dashed #c2ccda;border-radius:8px;text-align:center;color:var(--muted);margin-bottom:24px;background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%)}.form-trust--claim{border-left-color:#1a9f5c;background:#eaf8ef}
.listing-section{margin-bottom:8px;position:relative}
.address-autocomplete-panel{position:absolute;left:0;right:0;top:100%;z-index:40;margin-top:2px;max-height:260px;overflow-y:auto;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 12px 30px rgba(11,26,46,.12)}
.address-autocomplete-panel[hidden]{display:none}
.address-autocomplete-item{display:flex;flex-direction:column;gap:2px;width:100%;padding:9px 12px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;font-family:inherit;cursor:pointer}
.address-autocomplete-item:last-child{border-bottom:0}
.address-autocomplete-item strong{font-size:13px;color:#152c40}
.address-autocomplete-item span{font-size:12px;color:var(--muted)}
.address-autocomplete-item:hover,.address-autocomplete-item.is-active{background:#f1f5f9}
.listing-section label small{display:block;font-weight:400;color:var(--muted);margin-top:3px}
.listing-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.pending-note{margin:10px 0 16px;padding:10px 14px 10px 16px;background:#fff1e9;color:#a83a05;font-size:13px;border-radius:6px;border-left:3px solid #e17c3f}
.pending-note strong{display:block;font-size:14px;margin-bottom:2px}
/* Briefly drawn on right after a save lands the sponsor back on this exact
   note (see the scrollIntoView call in portal-city-sponsor-controller.js/
   portal-sponsor-controller.js) - a save can land several fields below the
   fold, so a plain scroll alone still leaves it easy to miss on first
   glance. Fades on its own; nothing needs to remove the class afterward. */
.pending-note--flash{animation:pending-note-flash 1.8s ease-out}
@keyframes pending-note-flash{0%,35%{box-shadow:0 0 0 4px rgba(225,124,63,.45)}100%{box-shadow:0 0 0 4px rgba(225,124,63,0)}}
.portal-field-note{margin:0;color:var(--muted);font-size:13px}
.portal-field-note a{color:var(--blue);text-decoration:underline;text-decoration-color:rgba(0,84,204,.35);text-underline-offset:2px}
.portal-field-note a:hover,.portal-field-note a:focus-visible{text-decoration-color:var(--blue)}
.field-label-row{display:flex;align-items:center;gap:6px}
.portal-card h2 .field-tooltip{margin-left:-2px}
.field-tooltip{position:relative;display:inline-flex;vertical-align:middle}
.field-tooltip__trigger{width:17px;height:17px;flex:0 0 auto;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--blue);font:700 11px/1 inherit;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:help}
.field-tooltip__trigger:hover,.field-tooltip__trigger:focus-visible{background:var(--blue);color:#fff;border-color:var(--blue)}
.field-tooltip__bubble{position:absolute;left:0;top:calc(100% + 8px);z-index:30;width:250px;max-width:70vw;background:#0b1a2e;color:#fff;font-size:12.5px;font-weight:400;line-height:1.5;padding:10px 12px;border-radius:8px;box-shadow:0 10px 24px rgba(11,26,46,.25);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .12s ease,transform .12s ease;pointer-events:none}
.field-tooltip__trigger:hover+.field-tooltip__bubble,.field-tooltip__trigger:focus-visible+.field-tooltip__bubble,.field-tooltip.is-open>.field-tooltip__bubble{opacity:1;visibility:visible;transform:none;pointer-events:auto}
@media(max-width:640px){
  /* A bubble anchored to its trigger's left edge can run off the right side
     of a narrow screen, since a field's icon can sit anywhere across the
     row. Only the tap-toggled (.is-open) state needs this - hover doesn't
     meaningfully happen on touch, so that path keeps the anchored desktop
     positioning. */
  .field-tooltip.is-open>.field-tooltip__bubble{position:fixed;left:16px;right:16px;top:auto;bottom:16px;width:auto;max-width:none;transform:none}
}
.field-example{margin:8px 0 22px;padding:10px 0 0 14px;border-left:2px solid var(--line);color:var(--muted);font-size:13px;line-height:1.55}
.video-upsell{display:flex;align-items:center;gap:10px;margin-top:8px;padding:12px 16px;border-radius:6px;background:var(--paper);border-left:3px solid #e02424;color:var(--ink-2);font-size:14px}
.video-upsell__icon{flex:0 0 auto;width:22px;height:22px}
.video-upsell__icon rect{fill:#e02424}
.section-icon--video rect{fill:#e02424}
.char-counter{display:block;margin-top:4px;font-size:12px;color:var(--muted)}
.char-counter--over{color:#a83a05;font-weight:700}[data-save-status].is-error{color:#a83a05;font-weight:700}.portal-field-error-highlight{outline:2px solid #a83a05;outline-offset:4px;border-radius:8px;background:#fff3ed;transition:outline-color .3s ease,background .3s ease}
.hours-day-row{display:grid;grid-template-columns:44px 132px 1fr auto 1fr;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.hours-day-row:last-child{border-bottom:0}
.hours-day-row__label{font-weight:700;font-size:13px}
.hours-day-row__closed{width:100%;padding:5px 6px;border:1px solid var(--line);border-radius:6px;font-size:13px;color:var(--ink-2);background:#fff}
.hours-day-row__to{text-align:center;color:var(--muted);font-size:13px}
.faq-row{display:flex;gap:10px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid var(--line);align-items:flex-start}
.faq-row:last-child{border-bottom:0}
.faq-row__fields{flex:1;display:grid;gap:8px;min-width:0}
.faq-row textarea{width:100%;resize:vertical}
@media(max-width:640px){.faq-row{flex-direction:column}}
.job-row{display:grid;gap:8px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.job-row:last-child{border-bottom:0}
.job-row textarea{width:100%;resize:vertical}
.job-row select{min-height:44px}
.job-row__expiry{margin:0;padding:8px 12px;border-radius:6px;background:#e6f7ec;color:#146c2e;font-size:12px;font-weight:700}
.job-row__expiry--expired{background:var(--orange-soft);color:#b83d00}
@media(max-width:640px){.job-row .form-grid{grid-template-columns:1fr!important}}
.hours-day-row input[type="time"]:disabled{background:var(--paper);color:var(--muted)}
@media(max-width:640px){.hours-day-row{grid-template-columns:1fr 1fr;grid-template-areas:"label closed" "open to" "open close"}.hours-day-row__label{grid-area:label}.hours-day-row__closed{grid-area:closed;justify-self:stretch}.hours-day-row__to{display:none}.hours-day-row input[type="time"]{width:100%}}
.upsell-banner{padding:12px 16px 12px 18px;margin-bottom:20px;border-radius:6px;background:var(--paper);color:var(--ink-2);font-size:14px;border-left:3px solid #9eb4d1}
.upsell-banner--annual{background:#c7edd6;color:#146c2e;border-left-color:#146c2e}
.upsell-banner--success{background:#eefaf0;color:#146c2e;border-left-color:#3fae6a}
.btn--subscribed,.btn--subscribed[disabled]{background:#159447;border-color:#159447;color:#fff;cursor:default;opacity:1}
.upsell-card{border:1px dashed #c2ccda;border-radius:8px;background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%);padding:32px;text-align:center;margin-bottom:22px}
.upsell-card h2{margin-top:0}
.benefit-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px;margin:20px 0 22px}
.benefit-group h3{margin:0 0 14px;font:400 20px var(--serif);color:#173b67}
.benefit-list{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.benefit-list li{display:flex;flex-direction:column;gap:3px;font-size:14px;color:#33465c;line-height:1.3}
.benefit-item__title{font-weight:700}
/* .benefit-list div{display:grid;gap:5px;padding:18px 0;border-top:...} and
   .benefit-list span{color:#d9e3ec;font-size:.95rem;line-height:1.55} in
   add-business.css (unrelated, a dark-background "why upgrade" panel)
   outspecify bare classes here, since .benefit-item__head is a <div> and
   .benefit-check/.benefit-item__desc are <span>s, all under .benefit-list -
   the div rule turned the icon+title row into a stacked grid with stray
   padding/border instead of a horizontal flex row, and the span rule
   clobbered the checkmark icon's size/line-height and the description
   text's color. All scoped to .benefit-list to win regardless of load
   order, same fix pattern as the pricing-picker badge earlier this session.
   The icon sits in its own single-line flex row with .benefit-item__title
   (align-items:center) rather than next to the full two-line text block -
   centering it against both the title and the description together looked
   fine in isolation but put the circle visibly above the title's true
   center once a font with different line-height metrics than the mockup's
   loaded. Centering it against the title alone is correct regardless of
   font metrics. */
.benefit-list .benefit-item__head{display:flex;align-items:center;gap:10px;padding:0;border-top:0}
.benefit-list .benefit-check{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:19px;height:19px;border-radius:50%;background:#159447;color:#fff;font-size:11px;font-weight:900;line-height:1}
.benefit-list .benefit-item__desc{display:block;margin-left:29px;font-size:13px;color:var(--muted);line-height:1.45}
/* Links under an item (today: the Real Estate sponsorship line). Scoped to .benefit-list like the rules above so add-business.css's bare .benefit-list span rule can't recolor them. */
.benefit-list .benefit-item__links{display:flex;flex-wrap:wrap;gap:4px 16px;margin:4px 0 0 29px;font-size:13px;font-weight:700;line-height:1.45}
.benefit-list .benefit-item__links a{color:var(--blue);text-decoration:none}
/* Sponsor pitch card (Sponsor a Neighborhood / Sponsor a City): reuses the Get Found checklist look above. */
.sponsor-pitch__lead{margin:4px 0 16px;font-size:16px;font-weight:700;line-height:1.4;color:var(--ink-2)}
.sponsor-pitch .benefit-list{margin-bottom:18px}
.sponsor-pitch .sponsor-pitch__price{margin:0 0 6px;font-weight:700;color:var(--ink-2)}
.sponsor-pitch .btn{margin-top:14px}
.benefit-list .benefit-item__links a:hover,.benefit-list .benefit-item__links a:focus-visible{text-decoration:underline}
@media(max-width:700px){.benefit-groups{grid-template-columns:1fr;gap:24px}}
.billing-toggle{display:flex;gap:14px;flex-wrap:wrap;margin:16px 0 20px}
.billing-option{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;flex:1 1 200px;min-width:190px;padding:20px 18px 16px;border:2px solid var(--line);border-radius:12px;cursor:pointer;background:#fff;opacity:.55;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,opacity .16s ease}
.billing-option:hover{opacity:.8}
.billing-option.is-selected:hover{opacity:1}
.billing-option input{position:absolute;opacity:0;width:0;height:0}
.billing-option strong{font-size:24px;font-weight:800;color:var(--ink-2)}
.billing-option span{font-size:12px;color:var(--muted)}
.billing-option.is-selected{opacity:1;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,84,204,.12)}
.billing-option.is-selected strong{color:var(--blue)}
/* The two options are visually distinct "pick me" buttons, not a neutral
   A/B toggle - green for the discounted annual plan (pre-selected by
   default, see this widget's own render() comment on why), plain grey for
   the no-discount monthly one, so the better deal reads as the obvious
   choice at a glance rather than requiring the price text to be read and
   compared first. Only the currently-selected option gets its color/
   background though (is-selected above) - the other one dims to the
   plain, half-opacity base style, so it's unambiguous which one is
   actually active (picking Monthly dims the green box, not just unchecks
   its radio). */
.billing-option--annual.is-selected{border-color:#1a9f5c;background:#f0faf4;box-shadow:0 0 0 3px rgba(26,159,92,.16)}
.billing-option--annual.is-selected strong{color:#0f7a43}
.billing-option .billing-option__badge{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:#0a7a5c;color:#fff;font:800 10px var(--mono);letter-spacing:.05em;text-transform:uppercase;padding:4px 10px;border-radius:999px;white-space:nowrap}
.billing-option--monthly.is-selected{border-color:#5b6b80;background:#f5f7fa;box-shadow:0 0 0 3px rgba(91,107,128,.14)}
.billing-option--monthly.is-selected strong{color:#374559}
.portal-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:16px 0 22px}
.portal-tile{border:1px solid var(--line);border-radius:8px;background:#fff;padding:16px 18px;box-shadow:0 5px 14px rgba(11,26,46,.04);transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}
.portal-tile:hover{box-shadow:0 10px 24px rgba(11,26,46,.07);border-color:#d3dce7;transform:translateY(-2px)}
.portal-tile__value{display:block;font:700 30px var(--mono,inherit);color:var(--ink)}
.portal-tile__label{display:block;margin-top:4px;font:700 10px var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.portal-subhead{margin:26px 0 4px;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--ink-2)}
.portal-checklist{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:12px}
.portal-checklist__item{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--ink-2);line-height:1.35}
.portal-checklist__icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:19px;height:19px;margin-top:1px;border-radius:50%;font-size:11px;font-weight:900;color:transparent;background:var(--paper);border:1px solid var(--line)}
.portal-checklist__item--done .portal-checklist__icon{background:#159447;border-color:#159447;color:#fff}
.portal-checklist__item--done .portal-checklist__label{color:var(--muted);text-decoration:line-through}
.portal-checklist__item--pending .portal-checklist__icon{background:#fff4e0;border-color:#e8961f;color:#8a5300;font-size:14px}
.portal-checklist__label{font-weight:700;color:var(--ink)}
.portal-checklist__hint{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
.portal-checklist__progress{height:8px;border-radius:5px;background:var(--paper);overflow:hidden;margin:14px 0 4px}
.portal-checklist__progress-fill{height:100%;background:linear-gradient(90deg,#2f7dff,var(--blue));border-radius:5px;transition:width .4s ease}
.analytics-bars{display:grid;gap:14px}
.analytics-bar-row{display:grid;grid-template-columns:180px 1fr 40px;align-items:center;gap:12px;font-size:13px}
.analytics-bar-row__label{color:var(--ink-2)}
.analytics-bar-row__track{height:10px;background:var(--paper);border-radius:5px;overflow:hidden}
.analytics-bar-row__fill{height:100%;background:linear-gradient(90deg,#2f7dff,var(--blue));border-radius:5px;transition:width .4s ease}
.analytics-bar-row__value{text-align:right;font-weight:700;color:var(--ink)}
.ai-visibility-prompt{margin:14px 0 0;padding:14px 18px;background:var(--ink);color:#fff;border-radius:8px;font-size:15px;font-weight:700;line-height:1.5}
.ai-visibility-list{display:grid;gap:16px;margin:16px 0}
.ai-visibility-row{border:1px solid var(--line);border-radius:8px;background:#fff;padding:18px 20px;box-shadow:0 5px 14px rgba(11,26,46,.04);transition:box-shadow .18s ease,border-color .18s ease}
.ai-visibility-row:hover{box-shadow:0 10px 24px rgba(11,26,46,.07);border-color:#d3dce7}
.ai-visibility-row__header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ai-visibility-row__identity{background:#fff0e8;border-radius:8px;padding:8px 14px}
.ai-visibility-row__label{display:block;font-size:16px;font-weight:700;color:var(--ink)}
.ai-visibility-row__meta{display:block;margin-top:4px;font-size:12px;color:var(--muted)}
.ai-visibility-status{display:inline-block;flex:0 0 auto;padding:6px 13px;border-radius:999px;font:700 10px var(--mono);letter-spacing:.05em;text-transform:uppercase}
.ai-visibility-status--yes{background:#c7edd6;color:#146c2e}
.ai-visibility-status--no{background:#fdecea;color:#8a241a}
.ai-visibility-row__response{margin:14px 0 0;padding-top:14px;border-top:1px solid var(--line);font-size:14px;line-height:1.6;color:var(--ink-2);white-space:pre-wrap}
.ai-visibility-highlight{background:#fff0e8;color:#a83a05;padding:1px 4px;border-radius:4px;font-weight:800}
.dr-gauge-row{display:flex;align-items:center;gap:20px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:20px;margin:16px 0;box-shadow:0 5px 14px rgba(11,26,46,.04)}
.dr-gauge{--dr-pct:0%;--dr-color:#1db954;position:relative;flex:0 0 auto;width:104px;height:104px;border-radius:50%;background:conic-gradient(var(--dr-color) var(--dr-pct),#c3ccd6 0);box-shadow:0 6px 18px rgba(11,26,46,.07)}
.dr-gauge::before{content:'';position:absolute;inset:9px;border-radius:50%;background:#fff}
.dr-gauge__value{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font:800 32px var(--mono,inherit);color:var(--ink)}
.dr-gauge-meta{display:flex;flex-direction:column;gap:6px}
.dr-gauge-label{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:var(--ink-2)}
.dr-trend-badge{display:inline-flex;padding:2px 9px;border-radius:999px;font:700 11px var(--mono);letter-spacing:.02em}
.dr-trend-badge--up{background:#c7edd6;color:#146c2e}
.dr-trend-badge--down{background:#fdecea;color:#8a241a}
.dr-trend-badge--flat{background:var(--paper);color:var(--muted)}
.rank-line{font-weight:700;font-size:15px;color:var(--ink-2);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rank-figure{font:800 26px var(--mono,inherit);color:var(--ink)}
.rank-disclaimer{margin-top:12px;font-size:11px;color:var(--muted)}
.rank-row-list{display:flex;flex-direction:column;gap:14px;margin-top:12px}
.rank-row{padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
.rank-row .rank-line{margin-top:4px}
.sponsor-click-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.sponsor-click-thumb{width:72px;text-align:center}
.sponsor-click-thumb img{display:block;width:72px;height:72px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}
.sponsor-click-thumb__count{display:block;margin-top:4px;font-size:11px;color:var(--muted)}
.rank-mini-details summary{cursor:pointer;color:var(--blue);font-weight:700;font-size:13px;list-style:none}
.compare-row-list{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.compare-row{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:10px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;background:var(--paper);font-size:13px}
.compare-row--own{border-color:var(--blue);background:#eef4ff}
.compare-row__rank{color:var(--muted);font-weight:700}
.compare-row__name{color:var(--ink-2);font-weight:600}
.compare-row__rating{font:800 15px var(--mono,inherit);color:var(--ink)}
.rank-mini-details summary::-webkit-details-marker{display:none}
.rank-mini-details summary::before{content:'▸ ';font-size:11px}

/* Rank Grid heatmap - see rank-grid.js/portal-analytics-controller.js. A
   plain 5x5 CSS grid of colored squares, deliberately simpler than the
   Trust Map graph (no pan/zoom/expand) - a fixed 25-point grid never needs
   those. */
.rank-grid-map-wrap{position:relative;max-width:420px;margin:16px 0}
.rank-grid-map-image{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--line)}
.rank-grid-business-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,calc(-100% - 8px));width:24px;height:24px;border-radius:50%;background:#1a73e8;border:2px solid #0b3d91;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:800;box-shadow:0 2px 6px rgba(11,26,46,.4)}
.rank-grid-business-pin:after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid #0b3d91}
.rank-grid-map{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;max-width:260px;margin:16px 0}
.rank-grid-point{aspect-ratio:1;border-radius:6px;display:flex;align-items:center;justify-content:center;font:700 11px var(--mono,inherit);color:#fff}
.rank-grid-point--good{background:#1db954}
.rank-grid-point--ok{background:#e8961f}
.rank-grid-point--poor{background:#e0473a}
.rank-grid-point--none{background:#c3ccd6;color:var(--muted)}
.rank-grid-legend{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0;font-size:12px;color:var(--muted)}
.rank-grid-legend__item{display:inline-flex;align-items:center;gap:6px}
.rank-grid-legend__item .rank-grid-point{width:14px;height:14px;border-radius:3px;aspect-ratio:auto}
.rank-grid-upsell{margin-top:14px;padding:14px 16px;border:1px dashed #c2ccda;border-radius:8px;background:var(--paper)}
.rank-mini-details[open] summary::before{content:'▾ '}
.rank-mini-details div{margin-top:4px;font-size:12px;color:var(--muted)}

/* SEO Audit ("SEO Health Report") - see seo-audit.js/portal-analytics-controller.js.
   Same severity palette as the Rank Grid heatmap above (good/ok/poor/none),
   applied as a left border on each finding instead of a filled dot. */
.seo-finding-group{margin-top:20px}
.seo-finding-group__count{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:var(--paper);color:var(--muted);font:700 11px var(--mono,inherit)}
.seo-finding-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.seo-finding{border:1px solid var(--line);border-left:4px solid var(--line);border-radius:8px;background:var(--paper);padding:12px 14px}
.seo-finding--critical{border-left-color:#e0473a}
.seo-finding--warning{border-left-color:#e8961f}
.seo-finding--opportunity{border-left-color:var(--blue)}
.seo-finding--passing{border-left-color:#1db954}
details.seo-finding{padding:0;cursor:pointer}
details.seo-finding summary{list-style:none;padding:12px 14px;cursor:pointer}
details.seo-finding summary::-webkit-details-marker{display:none}
details.seo-finding summary::before{content:'+ ';color:var(--blue);font-weight:900}
details.seo-finding[open] summary::before{content:'\2212 '}
.seo-finding__title{font-weight:700;font-size:14px;color:var(--ink-2)}
.seo-finding__detail{display:block;margin-top:3px;font-size:12.5px;color:var(--muted)}
.seo-finding__urls{display:block;margin-top:4px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.seo-finding__body{padding:0 14px 14px;display:grid;gap:10px}
.seo-finding__body p{margin:0;font-size:13px;color:var(--ink-2);line-height:1.6}
@media (min-width:640px){.seo-finding__body{grid-template-columns:1fr 1fr}}
.dr-explainer{margin-top:16px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
.dr-explainer summary{cursor:pointer;font-weight:700;color:var(--ink-2);list-style:none}
.dr-explainer summary::-webkit-details-marker{display:none}
.dr-explainer summary::before{content:'+';display:inline-block;width:16px;color:var(--blue,#0054cc);font-weight:900}
.dr-explainer[open] summary::before{content:'\2212'}
.dr-explainer p{margin:10px 0 0;color:var(--ink-2);font-size:13px;line-height:1.6}
.dr-explainer ul{margin:8px 0 0;padding-left:20px;color:var(--ink-2);font-size:13px;line-height:1.7}
.domain-rating-attribution{margin-top:12px;font-size:11px;color:var(--muted)}
.domain-rating-attribution a{color:var(--muted);text-decoration:underline}
.analytics-chart{display:flex;align-items:flex-end;gap:8px;height:160px;padding-top:10px}
.analytics-chart__col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0}
.analytics-chart__count{font-size:11px;font-weight:700;color:var(--ink-2);margin-bottom:4px}
.analytics-chart__bar{width:100%;max-width:26px;background:linear-gradient(180deg,#2f7dff,var(--blue));border-radius:5px 5px 0 0;min-height:4px;transition:height .4s ease}
.analytics-chart__label{margin-top:8px;font-size:10px;color:var(--muted);white-space:nowrap}
.analytics-chart__col--today .analytics-chart__bar{background:linear-gradient(180deg,#ffad00,#c24000)}
.trust-map-card{background:var(--ink);border-color:#1c3252}
.trust-map-card h2{color:#fff}
.trust-map-card .portal-field-note{color:#93a6c2}
.trust-map-wrap{display:flex;flex-direction:column;align-items:center;gap:14px;margin:16px 0}
.trust-map-canvas{position:relative;width:100%;display:flex;justify-content:center;overflow:hidden;border:1px solid #1c3252;border-radius:12px;background:#081420;padding:10px 0}
.trust-map-canvas__scale{transition:transform .15s ease;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
.trust-map-canvas__scale.is-grabbing{cursor:grabbing;transition:none}
.trust-map{width:100%;max-width:380px;height:auto}
.trust-map-controls{position:absolute;left:8px;bottom:8px;display:flex;flex-direction:column;padding:3px;border-radius:9px;background:#0d1b30;border:1px solid #1c3252}
.trust-map-control-btn{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:transparent;color:#c7d3e6;font-size:15px;line-height:1;cursor:pointer}
.trust-map-control-btn:not(:last-child){border-bottom:1px solid #1c3252}
.trust-map-control-btn:hover,.trust-map-control-btn:focus-visible{background:#1c3252;color:#fff}
.trust-map-modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:24px}
.trust-map-modal[hidden]{display:none}
.trust-map-modal__backdrop{position:absolute;inset:0;background:rgba(5,11,20,.72);border:0}
.trust-map-modal__panel{position:relative;max-width:640px;width:100%;max-height:90vh;overflow:auto;background:var(--ink);border:1px solid #1c3252;border-radius:14px;padding:32px 28px 24px}
.trust-map-modal__body{display:flex;justify-content:center;overflow:hidden;border:1px solid #1c3252;border-radius:12px;background:#081420;padding:10px 0}
.trust-map-modal__body .trust-map{max-width:520px}
.trust-map-modal__close{position:absolute;top:14px;right:14px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#132844;color:#fff;cursor:pointer;font-size:14px}
.trust-map-modal__close:hover,.trust-map-modal__close:focus-visible{background:#1c3252}
body.trust-map-modal-open{overflow:hidden}
.trust-map-link{stroke-width:1;opacity:.55}
.trust-map-node__track{fill:none;stroke:#25334b;stroke-width:3}
.trust-map-node__fill{fill:none;stroke-width:3;stroke-linecap:round}
.trust-map-node__value{fill:#fff;font:700 12px var(--mono,inherit)}
.trust-map-node__value--center{font-size:17px}
.trust-map-node__label{fill:#8ea2bd;font:600 9px var(--sans,inherit)}
.trust-map-legend{width:100%;max-width:280px;padding:12px 14px;border:1px solid #1c3252;border-radius:10px;background:#0d1b30}
.trust-map-legend-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0;font-size:12px;color:#c7d3e6}
.trust-map-legend-row span:first-child{display:flex;align-items:center}
.trust-map-legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px;flex:0 0 auto}
.trust-map-legend-value{font-weight:700;color:#fff}
.trust-map-domain-list{display:flex;flex-direction:column;gap:2px;margin-top:8px;border:1px solid #1c3252;border-radius:8px;overflow:hidden}
.trust-map-domain-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;font-size:13px;background:#0d1b30}
.trust-map-domain-row:nth-child(even){background:#0a1729}
.trust-map-domain-row__name{font-weight:700;color:#e7edf7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trust-map-domain-row__meta{flex:0 0 auto;color:#8ea2bd;font-size:12px;white-space:nowrap}
.trust-map-card .dr-explainer{background:#0d1b30;border-color:#1c3252}
.trust-map-card .dr-explainer summary{color:#e7edf7}
.trust-map-card .dr-explainer summary::before{color:#5fa8ff}
.trust-map-card .dr-explainer p,.trust-map-card .dr-explainer ul{color:#93a6c2}
.analytics-chart__col--today .analytics-chart__count,.analytics-chart__col--today .analytics-chart__label{color:#c24000;font-weight:700}
@media(max-width:980px){.portal-shell{grid-template-columns:1fr}[data-portal-rail]{position:static}.portal-rail{border-right:0;padding-right:0;border-bottom:1px solid var(--line);padding-bottom:16px}.portal-nav{display:flex;overflow-x:auto;gap:4px}.portal-nav a{white-space:nowrap}.portal-nav__item{flex-shrink:0}.portal-nav__item a:first-child{flex:none}.claim-steps{flex-direction:column}.claim-step{border-right:0;border-bottom:1px solid var(--line)}.claim-step:last-child{border-bottom:0}.analytics-bar-row{grid-template-columns:120px 1fr 32px}.portal-tiles{grid-template-columns:repeat(2,1fr)}.analytics-chart__label{font-size:9px}}
.btn--sm{min-height:34px;padding:0 12px;font-size:12px}
.photo-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.photo-slot{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 5px 14px rgba(11,26,46,.04);transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}
.photo-slot:hover{box-shadow:0 10px 24px rgba(11,26,46,.08);border-color:#9eb4d1;transform:translateY(-2px)}
/* .badge--required's own margin (margin-left:8px) is tuned for sitting
   inline next to a heading, not for a block of its own at the top of a
   photo slot - overridden here to sit flush with the slot's own padding
   instead. */
.photo-slot__card-badge{display:inline-block;margin:8px 0 0 8px}
.photo-slot__preview{aspect-ratio:4/3;background:var(--paper);display:grid;place-items:center;overflow:hidden}
.photo-slot__preview img{width:100%;height:100%;object-fit:cover;display:block}
.photo-slot__empty{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.photo-slot__caption{display:block;margin:8px 8px 0;width:calc(100% - 16px);padding:8px 10px!important;font-size:12px!important}
.photo-slot__actions{display:flex;flex-wrap:wrap;gap:6px;padding:8px}
.photo-slot__actions label{cursor:pointer}
.portal-shell .btn{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background-color .16s ease}
.portal-shell .btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 15px rgba(11,26,46,.1)}
.portal-shell .btn--primary:hover:not(:disabled){box-shadow:0 6px 16px rgba(0,84,204,.28)}
.portal-shell .btn:active:not(:disabled){transform:translateY(0)}
[data-advertise-form]{display:grid;gap:18px}
.ad-position-preview{padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
.ad-position-preview__page{display:flex;flex-direction:column;gap:3px}
.ad-position-preview__block{display:flex;align-items:center;justify-content:center;text-align:center;padding:8px;background:#fff;border:1px dashed #c7d0db;border-radius:4px;font-size:11px;color:var(--muted);line-height:1.3}
.ad-position-preview__block.is-ad{background:#fff4e6;border:1px solid #f0a63d;color:#8a5a12;font-weight:700}
/* Two-column sidebar-shape wireframe (portal-advertise-controller.js's
   PLACEMENT_PREVIEW_BY_FORMAT.sidebar_300x250) - the only preview shape
   that isn't a simple vertical stack of blocks. */
.ad-position-preview__cols{display:flex;gap:4px;align-items:stretch}
.ad-position-preview__maincol{flex:2;display:flex;flex-direction:column;gap:3px}
.ad-position-preview__sidecol{flex:1}
/* Compact variant for the three-up "compare before you pick" gallery
   (ad-placement-previews below) - same block styling, just smaller type
   and tighter padding than the single full-size preview used elsewhere. */
.ad-position-preview--compact{padding:10px}
.ad-position-preview--compact .ad-position-preview__block{padding:6px;font-size:10px}
.ad-placement-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0 18px}
.ad-placement-preview__label{margin:0 0 6px;font-weight:750;color:#1e3448;font-size:13px}
.ad-placement-preview__label span{display:block;font-weight:500;color:var(--muted);font-size:11px}
.ad-placement-preview__note{margin:8px 0 0;font-size:11px;color:var(--muted);line-height:1.5}
@media(max-width:700px){.ad-placement-previews{grid-template-columns:1fr}}
[data-advertise-form] .form-field>span:first-child{display:block;margin-bottom:4px;font-weight:750;color:#1e3448}
.ad-campaign-list{display:grid;gap:10px;margin-top:12px}
.ad-campaign-row{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fff;transition:box-shadow .3s ease,border-color .3s ease}
.ad-campaign-row--highlight{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,84,204,.18)}
.ad-campaign-row__top{display:flex;align-items:center;gap:14px}
.ad-campaign-row__placement{font-weight:750;color:#1e3448}
.ad-campaign-row__tiles{margin:0;grid-template-columns:repeat(5,1fr)}
.ad-campaign-row__tiles .portal-tile{padding:12px 14px}
.ad-campaign-row__tiles .portal-tile__value{font-size:22px}
.ad-campaign-row__section-label{margin:0 0 6px;font-weight:750;font-size:12px;color:#1e3448}
@media(max-width:700px){.ad-campaign-row__tiles{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.ad-campaign-row__tiles{grid-template-columns:repeat(2,1fr)}}
/* object-fit:contain (not cover) - a wide leaderboard creative cropped
   into an 80x45 box was hiding most of the actual ad; contain shows the
   whole thing letterboxed instead, and the wrapping <a>
   (portal-advertise-controller.js) opens it full size. */
.ad-campaign-row__thumb{max-width:160px;max-height:90px;width:auto;height:auto;object-fit:contain;border-radius:6px;border:1px solid var(--line);flex:0 0 auto;background:var(--paper)}
.ad-campaign-row__meta{display:flex;flex-direction:column;gap:3px;font-size:13px;color:var(--muted);flex:1}
.ad-campaign-row__status{align-self:flex-start;padding:3px 9px;border-radius:999px;font:700 10px var(--mono);letter-spacing:.04em;text-transform:uppercase}
.ad-campaign-row__status--active{background:#c7edd6;color:#146c2e}
.ad-campaign-row__status--scheduled{background:#fff1d6;color:#8a5300}
.ad-campaign-row__status--paused,.ad-campaign-row__status--canceled,.ad-campaign-row__status--completed{background:var(--paper);color:var(--muted)}
.ad-campaign-row__pending{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #f0b429;border-radius:6px;background:#fffaf0;font-size:13px;color:#5b4a1f}

/* Checkout form's style gallery (portal-advertise-controller.js) - a
   business picks one of up to 5 reference images per ad shape to point the
   owner toward, since they no longer upload their own creative. */
/* One template per row, not a multi-up grid - a 728px leaderboard or
   1270px feature banner needs real horizontal room to judge at a glance;
   cramming several into same-width grid cells left them all tiny
   regardless of their actual size. */
.ad-template-picker{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.ad-template-option{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;border:2px solid var(--line);border-radius:8px;background:#fff;cursor:pointer;text-align:left;font-size:13px;color:var(--muted);width:100%}
/* width:100% capped by max-width (set per format via --ad-template-max-width,
   its actual upload width in px) shows the template genuinely full-size
   whenever the page is wide enough, only shrinking on a narrower screen -
   aspect-ratio + object-fit:contain (both set alongside it) keeps it
   uncropped at its real shape rather than a fixed square. */
.ad-template-option img{width:100%;max-width:var(--ad-template-max-width,400px);aspect-ratio:var(--ad-template-ratio,16/9);object-fit:contain;border-radius:4px;background:var(--paper)}
.ad-template-option span{font-weight:700;color:#1e3448}
.ad-template-option:hover{border-color:#9fb6cc}
.ad-template-option.is-selected{border-color:var(--blue);box-shadow:0 0 0 2px rgba(0,84,204,.15)}

/* The business's one approval look at the owner's finished design (see
   advertising.js's approveAdCampaignDesign/requestAdCampaignDesignRevision). */
.ad-design-review{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #9fc7ff;border-radius:6px;background:#f0f7ff;font-size:13px;color:#1e3448}
.ad-design-review__actions{display:flex;gap:10px;flex-wrap:wrap}

/* Portal dashboard "Welcome back" banner - same brand background image as
   .directory-hero (assets/brand/bg-footer.webp) rather than a stock office
   photo, with a dark overlay for text contrast. Shown to Free and Featured
   owners alike on /portal/ - see portal-shell.js's renderPortalWelcomeBanner. */
.portal-review-notice{margin:0 0 22px;padding:14px 20px;border-radius:8px;background:#fff1e9;color:#a83a05;text-align:center;font-size:14px}.portal-review-notice strong{display:block;font-size:15px;margin-bottom:2px}
.portal-review-notice--incomplete{background:var(--blue-50,#eaf2ff);color:var(--ink-2)}.portal-review-notice--incomplete a{color:var(--blue);font-weight:700}
.portal-welcome{position:relative;padding:26px 28px;margin-bottom:22px;border-radius:8px;overflow:hidden;color:#fff;background:#0b3f95 url('/assets/brand/bg-footer.webp') center/cover no-repeat}
.portal-welcome::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,19,33,.72),rgba(7,19,33,.4))}
.portal-welcome__date{position:relative;display:block;font:700 10px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#cfe0f5}
.portal-welcome h1{position:relative;margin:8px 0 4px;font-size:28px;color:#fff}
.portal-welcome p{position:relative;margin:0;color:#dce6f3;font-size:14px}

/* /portal/sponsor/ - see portal-sponsor-controller.js. Reuses .portal-card
   and .form-field from elsewhere in this file/add-business.css; only the
   neighborhood-picker list (grouped by city) and the per-listing fieldset
   need new rules. */
/* Negative margins pull this out to the card's own edges (.portal-card's
   26px padding) so the bar reads as a full-bleed dark blue header rather
   than a blue line floating inside the white card - rounded top corners
   only while open (blends into the white content below), full corners
   when closed (the summary is the entire visible card at that point). */
.sponsor-picker-card__summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;margin:-26px -26px 0;padding:22px 26px;background:#0b3f95;border-radius:8px 8px 0 0;color:#fff}
.sponsor-picker-card:not([open]) .sponsor-picker-card__summary{margin-bottom:-26px;border-radius:8px}
.sponsor-picker-card__summary::-webkit-details-marker{display:none}
.sponsor-picker-card__summary h2{margin:0;color:#fff}
.sponsor-picker-card__chevron{flex-shrink:0;color:#fff;transition:transform .2s ease}
.sponsor-picker-card[open] .sponsor-picker-card__chevron{transform:rotate(180deg)}
/* One pill per city, jumping straight to that .sponsor-city-group below -
   with 29+ cities each holding several neighborhoods, reaching one near
   the bottom (e.g. Washington, DC) otherwise means scrolling past every
   city ahead of it. scroll-margin-top on the group clears the site's own
   sticky header so the jump doesn't land with the city name hidden
   behind it. */
.sponsor-city-jumpnav{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.sponsor-city-jumpnav a{font-size:12px;font-weight:700;color:var(--blue);background:#eef4ff;border:1px solid #dce7fb;border-radius:999px;padding:6px 12px;text-decoration:none}
.sponsor-city-jumpnav a:hover,.sponsor-city-jumpnav a:focus-visible{background:var(--blue);color:#fff;border-color:var(--blue)}
/* Filters the neighborhood groups below to one state at a time (see the
   [data-state-filter] click handler) - reuses the sitewide .filter-chip
   look (directory-controller.js's category filters) so this doesn't
   introduce a one-off button style. */
.state-filter-bar{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
/* One section per state (Virginia/Maryland/DC) - the "Choose from..."
   bullet above links straight here, same scroll-margin-top reasoning as
   .sponsor-city-group below it. */
.sponsor-state-group{margin-top:26px;scroll-margin-top:96px}
.sponsor-state-group:first-of-type{margin-top:16px}
.sponsor-state-heading{margin:0 0 4px;font:400 22px var(--serif);color:#173b67}
.sponsor-city-group{margin-top:22px;scroll-margin-top:96px}
.sponsor-city-group:first-of-type{margin-top:16px}
.sponsor-city-group h3{margin:0 0 4px;padding:8px 12px;font-size:15px;color:#1e3448;background:#d6e4fb;border-radius:6px}
.sponsor-city-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:2px}
.sponsor-city-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 4px;border-top:1px solid var(--line)}
.sponsor-city-row:first-child{border-top:0}
.sponsor-city-row__taken{font-size:13px;color:var(--muted)}
.sponsor-listing-field{border:1px solid var(--line);border-radius:8px;padding:16px;margin-top:14px;display:grid;gap:12px}
.sponsor-listing-field legend{font-weight:750;color:#1e3448;padding:0 4px}
.sponsor-listing-preview{width:100%;max-width:220px;height:120px;object-fit:cover;border-radius:6px;display:block}
/* The sponsor content form (portal-sponsor-controller.js) and its admin
   mirror (admin-ads-controller.js's edit/preview modals) stack plain
   .form-field divs directly as form/modal children with no parent grid-gap
   to space them - .form-field's own display:grid;gap:8px (add-business.css)
   only spaces a field's own label/input/note, not one field from the next,
   so every label ran flush against the previous field's input. */
[data-sponsor-form] .form-field,
[data-sponsorship-edit-form] .form-field,
.admin-modal .form-field {
  margin-bottom: 18px;
}
/* Section-intro notes (a plain <p class="portal-field-note"> sitting
   directly between an <h3>/<h4> and the field(s) it describes, not one
   nested inside a .form-field/.sponsor-listing-field's own internal grid
   gap) - .portal-field-note's own margin:0 left these flush against
   whatever came right after. Direct-child selector only catches that
   section-level placement, not the tighter nested case, which already
   looks right. */
[data-sponsor-form] > .portal-field-note,
[data-sponsorship-edit-form] > .portal-field-note,
.admin-modal > .portal-field-note {
  margin-bottom: 14px;
}

/* Portal Assistant - a floating chat widget (assets/js/portal-chat-widget.js)
   present on every portal page except /portal/claim/. Deliberately its own
   fixed-position layer rather than living inside .portal-shell/.portal-main,
   so it stays reachable while scrolling a long page (the listing editor,
   analytics) exactly like .back-to-top already does. */
.portal-chat-bubble {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(11, 26, 46, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.portal-chat-bubble:hover,
.portal-chat-bubble:focus-visible {
  background: #173b67;
  transform: translateY(-2px);
}
/* .back-to-top is appended later in body, as a sibling of #portal-chat-widget,
   on every portal page that loads the chat widget - without this, both sit
   at the same bottom-right corner and the (smaller, lower z-index) arrow
   disappears behind the chat bubble. Same 12px gap already used above for
   .portal-chat-panel's offset above the bubble. */
#portal-chat-widget ~ .back-to-top {
  bottom: 84px;
}
.portal-chat-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 32px));
  height: min(520px, calc(100vh - 140px));
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(11, 26, 46, 0.25);
  overflow: hidden;
}
.portal-chat-panel[hidden] {
  display: none;
}
.portal-chat-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--ink);
  color: #fff;
  flex: 0 0 auto;
}
.portal-chat-panel__head h2 {
  margin: 0;
  font-size: 15px;
}
.portal-chat-panel__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.portal-chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
}
.portal-chat-message {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.portal-chat-message--assistant {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 3px;
}
.portal-chat-message--user {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 3px;
}
.portal-chat-message.is-typing {
  color: var(--muted);
  font-style: italic;
}
.portal-chat-form {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.portal-chat-form textarea {
  flex: 1;
  resize: none;
  max-height: 120px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 500 13px var(--sans);
  color: var(--ink);
}
.portal-chat-form textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.portal-chat-form .btn {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
}
.badge-variant-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.badge-variant-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.badge-variant-btn:hover {
  border-color: #c7d2e0;
}
.badge-variant-btn.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.badge-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #f7f9fc;
  margin-bottom: 16px;
  overflow-x: auto;
}
/* Deliberately NOT the small width/height the embed snippet actually uses
   (see BADGE_VARIANTS' own comment) - this is just the picker's preview,
   sized to actually show the design clearly. No fixed width/height
   attribute on the <img> itself (see backlinkBadgeCard/applyVariant), so
   this height-only constraint keeps each badge's own real aspect ratio
   (square circle vs. taller seal) instead of stretching either one. */
.badge-preview__img {
  height: 180px;
  width: auto;
}
.award-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.award-row:last-child {
  border-bottom: 0;
}
.award-row__preview {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.award-row__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.award-row__empty {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.award-row__fields {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.award-row__fields input[type="text"] {
  flex: 1;
  min-width: 160px;
}
.backlink-embed-code {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: 12px/1.5 var(--mono, monospace);
  color: var(--ink);
  background: #f7f9fc;
  margin-bottom: 12px;
}
@media (max-width: 620px) {
  .portal-chat-bubble {
    right: 14px;
    bottom: 14px;
  }
  .portal-chat-panel {
    right: 14px;
    left: 14px;
    bottom: 78px;
    width: auto;
  }
  #portal-chat-widget ~ .back-to-top {
    bottom: 78px;
  }
}
.ownership-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.ownership-badge-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.ownership-badge-option input {
  accent-color: var(--brand, #0058cc);
}
.ownership-badge-option:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}

/* One consistent keyboard-focus ring across the portal and admin shells
   (both use .portal-shell). Inputs already had their own blue focus
   treatment; links and buttons were left to each browser's default, which
   is close to invisible against the solid-blue active nav item and the
   primary buttons. :focus-visible only - a mouse click doesn't trigger it. */
.portal-shell a:focus-visible,.portal-shell button:focus-visible,.portal-shell [role="button"]:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.portal-shell .btn--primary:focus-visible,.portal-nav a.is-active:focus-visible{outline-color:var(--ink)}
/* Label left, "Featured Only" badge / attention dot right - as inline text
   the badge wrapped onto its own line under the longer labels ("Domain
   Rating"), making that one nav row twice the height of its neighbors. */
.portal-nav a{display:flex;align-items:center;justify-content:space-between;gap:8px}
.portal-nav__featured-only{flex:0 0 auto;margin-left:0;white-space:nowrap}

/* Both rails are sticky with a capped height and scroll on their own once
   their content outgrows the screen (22 admin links; a Featured owner's
   logo + icon upload boxes above the portal nav) - with the scrollbar
   hidden until hover there was nothing on screen hinting more links
   existed below. Thin always-there scrollbar plus scroll shadows: the two
   "local" layers are page-colored covers that travel with the content and
   sit over the two fixed shadow layers, so a shadow only shows at an edge
   that actually has more hidden past it. */
[data-portal-rail],[data-admin-rail]{scrollbar-width:thin;scrollbar-color:#c9d3df transparent;overscroll-behavior:contain;
  background:
    linear-gradient(var(--paper) 40%,rgba(245,247,250,0)) top/100% 32px no-repeat local,
    linear-gradient(rgba(245,247,250,0),var(--paper) 60%) bottom/100% 32px no-repeat local,
    radial-gradient(farthest-side at 50% 0,rgba(11,26,46,.14),transparent) top/100% 10px no-repeat scroll,
    radial-gradient(farthest-side at 50% 100%,rgba(11,26,46,.14),transparent) bottom/100% 10px no-repeat scroll}
@media(max-width:980px){[data-portal-rail],[data-admin-rail]{background:none}}

/* "You're approved to advertise" card on the portal Advertise page (portal-advertise-controller.js): the price line reuses the sponsor pitch look, and the fields sit in a readable column. */
.ad-approved .ad-approved__price{margin:0 0 14px;font-size:14px;color:var(--ink-2)}
.ad-approved .ad-approved__form{display:grid;gap:14px;max-width:560px}
.ad-approved .ad-approved__form .form-field{margin:0}
.ad-approved .ad-approved__form .btn{justify-self:start}
