/* BaabMarket visual system: editorial storefront and quiet, practical account UI.
   Loaded after legacy component styles; no payment or data behavior lives here. */
:root {
  --green: #204b3f;
  --ink: #202b26;
  --muted: #69716b;
  --line: #e2e4dd;
  --soft: #f3f4ef;
  --surface: #fff;
  --radius-control: 6px;
  --radius-panel: 10px;
}
body { background: #fff; font-size: 15px; line-height: 1.65; }
h1,h2,h3 { letter-spacing: -.035em; }
h1 { font-weight: 650; font-size: clamp(30px, 3.4vw, 44px); }
h2 { font-weight: 650; }
p { overflow-wrap: break-word; }
.wrap { width: calc(100% - 96px); max-width: 1280px; }
.page { padding-top: 32px; padding-bottom: 88px; }
.page-lead { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 64ch; margin-bottom: 36px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: .14em; }
.button { border-radius: var(--radius-control); min-height: 48px; padding: 13px 21px; font-size: 13px; font-weight: 650; line-height: 1.5; gap: 16px; box-shadow: none; }
.button:hover { transform: none; background: #173d32; }
.button:active { transform: translateY(1px); }
.button.outline { border-color: #b8c4ba; background: #fff; }
.button.outline:hover { background: #f3f5f0; }
.button .icon,.text-link .icon { width: 18px; height: 18px; }
.text-link { font-size: 13px; font-weight: 600; white-space: normal; line-height: 1.5; min-height: 40px; }
.icon { stroke-width: 1.6; }
:where(a,button,input,select,textarea):focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: none; }
.topbar { height: 35px; color: var(--muted); font-size: 11px; border-bottom: 1px solid #f0f1eb; }
.topbar > div { gap: 24px; }
.main-header { height: 94px; gap: 36px; align-items: center; }
.brand,.brand img { width: 184px; }
.brand img { height: 64px; }
.search { position: relative; inset: auto; border: 1px solid var(--line); border-radius: 6px; height: 46px; background: #f7f8f4; max-width: 550px; }
.search > input { font-size: 13px; }
.header-actions { margin-inline-start: auto; padding-top: 0; gap: 10px; }
.icon-button { width: 40px; height: 40px; border-radius: 5px; }
.icon-button:hover { background: var(--soft); }
.category-nav > .wrap { height: 48px; gap: 22px; }
.category-nav a { font-size: 12px; font-weight: 500; }
.category-nav .sell-nav { font-weight: 650; }
.deals-link { color: var(--green); }
.mega-menu { border-radius: 0 0 8px 8px; box-shadow: 0 16px 25px #203d3010; }
.suggestions { border-radius: 6px; }
.breadcrumbs,.tech-breadcrumb { color: var(--muted); font-size: 11px; gap: 10px; }
.section { margin: 0 auto; padding-top: 64px; padding-bottom: 64px; }
.section-heading { align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { font-size: 28px; margin: 9px 0 0; }
.section-heading p { font-size: 14px; color: var(--muted); }
.section-heading > a { flex-shrink: 0; }
/* The landing page uses product photographs in a fixed composition, not floating ornaments. */
.market-home { background: #fff; }
.editorial-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
.editorial-copy { padding: 25px 0; }
.editorial-copy > .eyebrow { color: var(--green); margin-bottom: 25px; }
.editorial-copy h1 { font-size: clamp(36px, 3.8vw, 54px); line-height: 1.13; font-weight: 650; letter-spacing: -.055em; margin-bottom: 25px; }
.editorial-copy h1 span { color: var(--green); }
.editorial-copy > p { font-size: 16px; line-height: 1.8; max-width: 36ch; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; }
.hero-actions .text-link { border-bottom: 1px solid #b5beb7; }
.hero-signature { display: flex; flex-wrap: wrap; gap: 6px 14px; border-top: 1px solid var(--line); margin-top: 42px; padding-top: 18px; font-size: 11px; color: var(--muted); }
.hero-signature > span:first-child { font-family: var(--heading); font-weight: 750; color: var(--green); }
.editorial-gallery { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 230px 230px; gap: 12px; }
.editorial-product { display: flex; flex-direction: column; position: relative; overflow: hidden; border-radius: 4px; background: #f2f3ed; padding: 22px; }
.editorial-product-label { display: flex; justify-content: space-between; align-items: start; gap: 10px; font-size: 12px; line-height: 1.5; z-index: 1; }
.editorial-product-label .icon { width: 18px; height: 18px; }
.editorial-product img { width: 100%; height: 100%; min-height: 0; flex: 1; object-fit: contain; mix-blend-mode: multiply; margin-top: 15px; transition: transform .35s ease; }
.editorial-product:hover img { transform: scale(1.025); }
.editorial-tech { grid-row: 1 / 3; background: #e9eee8; }
.editorial-tech img { padding: 32px 8px; }
.editorial-fashion { background: #f2ebe2; }
.editorial-home { background: #f3f1eb; }
.category-index { border-top: 1px solid var(--line); padding-top: 40px; padding-bottom: 56px; }
.category-tiles { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px; }
.category-tile { min-width: 0; }
.category-image { border-radius: 4px; background: #f5f5f0; height: auto; aspect-ratio: 1; padding: 22px; }
.category-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.category-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; }
.category-caption h3 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: -.01em; }
.category-caption .icon { width: 15px; height: 15px; }
.live-offers { border-top: 1px solid var(--line); }
.market-opening { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; background: #f7f8f4; border: 1px solid var(--line); padding: 32px; border-radius: 6px; }
.market-opening h3 { font-size: 18px; margin-bottom: 6px; font-weight: 600; }
.market-opening p { font-size: 14px; margin: 0; color: var(--muted); }
/* Seller invitation: supplied campaign artwork, with copy in its own panel. */
.seller-feature { display:grid; grid-template-columns:1fr 1fr; padding:0; border:0; background:var(--green); color:#fff; border-radius:16px; overflow:hidden; }
.seller-feature-copy { align-self:center; padding:clamp(32px,4.2vw,60px); }
.seller-feature-copy > .eyebrow { color:#d7e4da; font-size:10px; line-height:1.6; letter-spacing:.13em; }
.seller-feature h2 { font-size:clamp(30px,3vw,40px); line-height:1.18; letter-spacing:-.045em; font-weight:650; margin:22px 0; }
.seller-feature-copy > p { color:#e0e9e2; font-size:15px; line-height:1.8; max-width:38ch; margin-bottom:30px; }
.seller-feature .button { background:#fff; color:var(--green); border-color:#fff; min-height:50px; padding:14px 22px; }
.seller-feature .button:hover { background:#edf2e9; border-color:#edf2e9; }
.seller-feature-image { min-width:0; min-height:460px; align-self:stretch; position:relative; background:#f0f3e9; overflow:hidden; }
.seller-feature-image img { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:50% 50%; mix-blend-mode:normal; }
.brand-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 80px; padding-bottom: 80px; align-items: center; }
.brand-editorial h2 { font-size: 30px; line-height: 1.3; margin: 18px 0 0; }
.brand-editorial p { font-size: 16px; color: var(--muted); line-height: 1.8; max-width: 50ch; }
/* Merchandising, empty states and product detail retain the existing shopping behavior. */
.product-grid { gap: 28px; }
.product-card { border: 0; background: transparent; border-radius: 0; box-shadow: none; overflow: visible; }
.product-card:hover { box-shadow: none; transform: none; }
.card-picture { border-radius: 6px; background: #f5f6f1; overflow: hidden; }
.card-picture img { mix-blend-mode: multiply; object-fit: contain; }
.card-content { padding: 18px 0 12px; }
.product-card h3 { font-size: 16px; font-weight: 650; line-height: 1.5; letter-spacing: -.02em; }
.product-category,.card-detail,.card-caption { color: var(--muted); font-size: 11px; }
.card-price strong,.card-content > strong { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
.badge { border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #445649; padding: 5px 9px; font-size: 10px; font-weight: 500; line-height: 1.5; box-shadow: none; }
.favorite { border: 1px solid var(--line); background: #fff; }
.listings-page > .section-heading { padding: 24px 0 28px; margin-bottom: 0; }
.listings-page h1 { margin: 10px 0 12px; }
.offer-categories { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; gap: 8px; margin: 0 0 36px; }
.offer-categories a { border: 0; border-radius: 5px; padding: 9px 13px; font-size: 12px; }
.offer-categories a[aria-current] { color: var(--green); background: #eaf0e9; font-weight: 650; }
.empty-state { border: 1px solid var(--line); border-radius: 8px; padding: 56px 28px; background: #fafbf8; }
.empty-state h2 { font-size: 24px; font-weight: 600; }
.empty-state p { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 45ch; margin-inline: auto; }
.empty-state > span,.empty-symbol { border-radius: 8px; width: 52px; height: 52px; background: #edf1e9; margin-bottom: 22px; }
.empty-state > span .icon { width: 26px; height: 26px; }
.offer-photo { border-radius: 6px; background: #f5f6f1; }
.offer-layout { gap: 56px; }
.offer-layout .summary-box { padding: 30px; }
.tech-page { --tech-tint: #f0f3ed; --tech-selected: #f4f7f1; --tech-border: var(--line); }
.tech-option,.tech-thumbnails button,.tech-details-thumb { border-radius: 6px; }
.tech-page .button { border-radius: 6px; }
/* Account and seller workspace: readable controls, quiet panels, clear selected state. */
.account-page { background: #fff; }
.account-page .breadcrumbs { margin-bottom: 36px; }
.account-layout { grid-template-columns: 220px minmax(0,1fr); gap: 56px; align-items: start; }
.account-nav { border: 0; padding: 0 24px 0 0; position: sticky; top: 28px; }
.account-label { display: block; color: #778078; margin-bottom: 22px; padding-inline-start: 12px; }
.account-person { padding: 0 12px 24px; margin-bottom: 18px; border-bottom: 1px solid var(--line); gap: 12px; }
.account-person > span { width: 36px; height: 36px; border-radius: 6px; background: #eef1e9; font-size: 15px; flex-shrink: 0; }
.account-person strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.account-nav > a,.account-nav > button { border-radius: 0; min-height: 46px; padding: 12px; gap: 12px; font-size: 13px; text-align: start; border-inline-start: 2px solid transparent; }
.account-nav > a .icon { width: 18px; height: 18px; }
.account-nav > a.active { background: #f2f5ef; border-inline-start-color: var(--green); color: var(--green); font-weight: 650; }
.account-nav > button { color: var(--muted); margin-top: 24px; }
.account-body { max-width: 860px; min-width: 0; }
.account-body h1 { font-size: 34px; margin-bottom: 14px; font-weight: 650; }
.account-body .form-panel { max-width: 760px; }
.form-panel,.market-panel,.summary-box,.auth-panel { border: 1px solid var(--line); border-radius: var(--radius-panel); background: #fff; padding: 32px; box-shadow: none; }
.form-panel h2 { font-size: 21px; font-weight: 650; margin-bottom: 24px; }
form label:not(.option),.form-panel > label { font-size: 13px; font-weight: 550; }
form label input:not([type="radio"]):not([type="checkbox"]),form label select,form label textarea { border-color: #d4dad1; border-radius: 5px; padding: 12px 14px; min-height: 46px; font-size: 14px; }
form label input:focus,form label select:focus,form label textarea:focus { border-color: var(--green); }
.field-help,.auth-footnote { font-size: 12px; line-height: 1.7; color: var(--muted); }
.form-error { font-size: 13px; line-height: 1.6; }
.notice { background: #f1f4ed; border: 1px solid #e4e8de; border-radius: 6px; padding: 16px 20px; line-height: 1.75; font-size: 13px; }
.payout-panel { border-top: 3px solid var(--green); }
.payout-heading { margin-bottom: 24px; }
.payout-heading h2 { margin: 8px 0 0; }
.payout-panel p { font-size: 14px; max-width: 60ch; }
.payout-panel .field-help { font-size: 12px; margin-bottom: 0; }
.payout-panel .offer-actions { margin: 26px 0 18px; }
.payout-notice,.payout-details { max-width: 760px; }
.payout-details { padding-top: 26px; margin-top: 30px; border-top: 1px solid var(--line); }
.payout-details h2 { font-size: 20px; }
.payout-details p { color: var(--muted); font-size: 14px; }
.profile-shortcuts { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 760px; border-top: 1px solid var(--line); margin-top: 32px; }
.profile-shortcuts a { background: transparent; border-bottom: 1px solid var(--line); border-radius: 0; padding: 20px 2px; font-size: 14px; }
.profile-shortcuts a .icon:last-child { margin-inline-start: auto; }
.account-card { border: 1px solid var(--line); border-radius: 6px; box-shadow: none; }
.seller-page { max-width: 1120px; }
.seller-page > .section-heading { border-bottom: 1px solid var(--line); padding-bottom: 30px; margin-bottom: 36px; }
.seller-page h1 { margin: 10px 0 16px; }
.seller-page .form-panel { margin-bottom: 32px; }
.seller-page .form-grid { gap: 8px 28px; }
.boutique-panel { background: #fafbf8; }
.boutique-panel .notice { background: #fff; margin-top: 24px; }
.seller-page .section { border-top: 1px solid var(--line); padding-top: 32px; padding-bottom: 32px; }
.auth-page { gap: 72px; align-items: stretch; padding-top: 48px; }
.auth-story { background: #edf0e7; border-radius: 6px; padding: 44px; overflow: hidden; }
.auth-story h1 { font-size: 36px; font-weight: 600; margin-top: 24px; }
.auth-story p { font-size: 15px; color: var(--muted); }
.auth-still-life { height: 270px; display: grid; place-items: center; }
.auth-still-life img { height: 100%; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.auth-story > span:last-child { position: static; display: block; font-size: 11px; margin-top: 20px; }
.auth-panel { align-self: center; }
.auth-tabs a { font-size: 13px; padding-bottom: 14px; }
.market-panel { padding: 32px; }
.market-option.option { border-radius: 6px; }
.market-code { border-radius: 5px; }
.site-footer { background: #203e34; padding-top: 48px; }
.footer-heading { gap: 32px; padding-bottom: 36px; }
.footer-heading img { width: 160px; height: auto; }
.footer-heading > p { font-size: 22px; line-height: 1.5; font-weight: 400; }
.site-footer .button { color: #f9faf7; background: transparent; border-color: #ffffff55; }
.footer-columns { padding-top: 36px; padding-bottom: 36px; }
.footer-columns h3 { font-size: 13px; font-weight: 600; }
.footer-columns a { font-size: 12px; color: #d0dbd2; line-height: 1.7; }
.footer-bottom { font-size: 11px; }
.demo-footer { font-size: 10px; line-height: 1.7; color: #bdcbbf; }
html[dir="rtl"] .account-nav { border: 0; padding: 0 0 0 24px; }
html[dir="rtl"] .editorial-copy h1 { letter-spacing: 0; }
@media (max-width:1100px) {
  .wrap { width: calc(100% - 56px); }
  .main-header { gap: 24px; }
  .help-link { display: none; }
  .category-nav > .wrap { gap: 20px; overflow-x: auto; justify-content: flex-start; }
  .category-nav a { font-size: 12px; }
  .editorial-hero { gap: 32px; }
  .editorial-gallery { grid-template-rows: 200px 200px; }
  .editorial-product { padding: 16px; }
  .seller-feature-copy { padding: 40px; }
  .account-layout { grid-template-columns: 190px minmax(0,1fr); gap: 32px; }
  .category-tiles { gap: 14px; }
  .category-image { padding: 16px; }
}
@media (max-width:800px) {
  .wrap { width: calc(100% - 40px); }
  .page { padding-top: 24px; padding-bottom: 56px; }
  .topbar { height: 32px; font-size: 10px; }
  .topbar > div a:not(:first-child) { display: none; }
  .main-header { height: auto; min-height: 114px; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; padding-top: 14px; padding-bottom: 16px; }
  .mobile-menu { display: flex; width: 28px; height: 38px; margin: 0; }
  .main-header .brand,.main-header .brand img { width: 148px; }
  .main-header .brand img { height: 50px; }
  .header-actions { gap: 2px; }
  .header-actions .icon-button { width: 32px; height: 36px; }
  .header-actions .icon { width: 20px; height: 20px; }
  .search { grid-column: 1/-1; grid-row: 2; width: 100%; max-width: none; height: 42px; border-radius: 5px; margin: 0; }
  .search > input { font-size: 13px; }
  .category-nav > .wrap { height: 44px; width: calc(100% - 40px); padding: 0; gap: 22px; }
  .category-nav a { font-size: 12px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .section-heading { align-items: start; gap: 16px; margin-bottom: 24px; }
  .section-heading h2 { font-size: 23px; line-height: 1.3; }
  .section-heading .text-link { font-size: 12px; }
  .editorial-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 32px; padding-bottom: 36px; }
  .editorial-copy { padding: 0; }
  .editorial-copy > .eyebrow { margin-bottom: 18px; font-size: 10px; }
  .editorial-copy h1 { font-size: clamp(34px,8.7vw,48px); margin-bottom: 18px; line-height: 1.14; }
  .editorial-copy > p { font-size: 15px; margin-bottom: 0; max-width: 40ch; }
  .hero-actions { gap: 12px 20px; margin-top: 24px; }
  .hero-actions .button { font-size: 12px; padding: 13px 16px; }
  .hero-signature { margin-top: 26px; padding-top: 14px; font-size: 10px; }
  .editorial-gallery { grid-template-rows: 170px 170px; gap: 10px; }
  .editorial-product-label { font-size: 11px; gap: 6px; }
  .editorial-product { padding: 16px; }
  .editorial-tech img { padding: 20px 0; }
  .category-index { padding-top: 30px; padding-bottom: 36px; }
  .category-tiles { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 12px; }
  .category-caption { padding-top: 10px; }
  .category-caption h3 { font-size: 11px; line-height: 1.5; }
  .category-caption .icon { display: none; }
  .category-image { padding: 14px; }
  .market-opening { padding: 24px; gap: 20px; }
  .market-opening h3 { font-size: 18px; }
  .market-opening .button { width: 100%; }
  .seller-feature { grid-template-columns: 1fr; }
  .seller-feature-copy { padding: 32px 24px; }
  .seller-feature h2 { font-size: 28px; margin: 16px 0; }
  .seller-feature-image { min-height:0; aspect-ratio:1.12; }
  .brand-editorial { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
  .brand-editorial h2 { font-size: 27px; }
  .brand-editorial p { font-size: 15px; }
  .product-grid { gap: 24px 14px; }
  .card-content { padding-top: 14px; }
  .product-card h3 { font-size: 14px; }
  .card-price strong,.card-content > strong { font-size: 18px; }
  .listings-page > .section-heading { flex-wrap: wrap; padding-top: 8px; gap: 18px; }
  .listings-page h1 { font-size: 30px; }
  .listings-page .section-heading p { font-size: 13px; }
  .offer-categories { margin-top: 8px; margin-bottom: 28px; }
  .offer-categories a { font-size: 12px; }
  .empty-state { padding: 40px 22px; }
  .empty-state h2 { font-size: 23px; }
  .account-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .account-page .breadcrumbs { margin-bottom: 24px; }
  .account-nav,html[dir="rtl"] .account-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
  .account-label { display: none; }
  .account-person { width: 100%; margin: 0 0 12px; padding: 0; border: 0; }
  .account-person strong { font-size: 14px; }
  .account-nav > a,.account-nav > button { min-height: 42px; width: auto; font-size: 12px; border: 1px solid transparent; padding: 9px 10px; gap: 8px; border-radius: 4px; }
  .account-nav > a.active { border-color: #d9e3d6; }
  .account-nav > a .icon { display: none; }
  .account-nav > button { margin: 0; }
  .account-body h1 { font-size: 30px; }
  .page-lead { font-size: 15px; margin-bottom: 26px; }
  .form-panel,.market-panel,.summary-box,.auth-panel { padding: 24px; border-radius: 8px; }
  .form-panel h2 { font-size: 21px; }
  .form-grid,.seller-page .form-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .span-two { grid-column: auto; }
  .payout-heading { gap: 16px; }
  .payout-heading .badge { font-size: 10px; }
  .payout-panel .offer-actions .button { flex: 1 1 100%; font-size: 12px; }
  .payout-panel p,.payout-details p { font-size: 14px; }
  .payout-panel .field-help { font-size: 12px; }
  .notice { padding: 16px; font-size: 12px; }
  .payout-details h2 { font-size: 21px; line-height: 1.4; }
  .seller-page > .section-heading { flex-wrap: wrap; margin-bottom: 26px; gap: 18px; }
  .seller-page h1 { font-size: 30px; }
  .auth-page { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .auth-story { padding: 28px; }
  .auth-story h1 { font-size: 30px; }
  .auth-still-life { display: none; }
  .auth-panel { padding: 24px; }
  .footer-heading { align-items: start; gap: 26px; padding-bottom: 30px; }
  .footer-heading > p { display: none; }
  .footer-heading img { width: 148px; }
  .footer-columns { gap: 30px 24px; }
  .footer-columns h3 { font-size: 13px; }
  .footer-columns a { font-size: 12px; }
}
@media (max-width:370px) {
  .wrap { width: calc(100% - 32px); }
  .main-header { gap: 8px; }
  .main-header .brand,.main-header .brand img { width: 128px; }
  .header-actions .icon-button { width: 28px; }
  .editorial-gallery { grid-template-rows: 150px 150px; }
  .editorial-product { padding: 12px; }
  .hero-actions { gap: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.app-loading { max-width: 1280px; margin: auto; padding: 50px 48px; text-align: start; color: var(--muted); font-size: 13px; }
.loading-brand { display: block; color: var(--green); font: 750 24px var(--heading); margin-bottom: 28px; }
.loading-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.loading-layout i { height: 32px; background: #f1f3ed; border-radius: 4px; }
.loading-layout i:nth-child(2) { grid-column: 2; grid-row: 1/3; height: 280px; }
.loading-layout i:nth-child(3) { width: 70%; }
.button[aria-busy="true"] { opacity: .6; cursor: progress; }
.payout-panel .payout-error { color: #a43328; font-size: 13px; }
@media (max-width:800px) {
  .auth-story { min-height: auto; }
  .auth-page { min-height: 0; }
  .app-loading { padding: 32px 20px; }
}
.discovery-selection { border-top: 1px solid var(--line); }
/* Public offer cards use an anchor as the image container. */
a.card-picture { display: block; }
.card-picture .offer-photo { height: 100%; border-radius: 0; background: transparent; }

/* Installed application and explicit notification preferences. */
.install-page { max-width: 1040px; }
.install-hero { display:grid; grid-template-columns:112px minmax(0,1fr); gap:40px; align-items:start; padding:20px 0 44px; }
.app-icon { border-radius:24px; box-shadow:0 8px 24px #124c3c16; }
.install-hero h1 { font-size:clamp(30px,4.5vw,48px); line-height:1.14; max-width:650px; margin:12px 0 20px; }
.install-hero .page-lead { max-width:620px; margin-bottom:24px; }
.install-guides { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-block:1px solid var(--line); }
.install-guides section { padding:30px; }
.install-guides section + section { border-inline-start:1px solid var(--line); }
.install-guides h2 { margin:8px 0 22px; font-size:24px; }
.install-guides ol { padding-inline-start:22px; line-height:1.7; }
.install-guides li { padding-inline-start:8px; margin:16px 0; }
.install-page > .field-help { margin-block:22px 44px; }
.notification-panel { padding:32px; background:#f4f6f2; border:1px solid var(--line); border-radius:12px; }
.notification-panel p { max-width:650px; line-height:1.65; }
.notification-panel .offer-actions { gap:16px; flex-wrap:wrap; }
.notification-panel button { white-space:normal; }
[data-install][hidden],.notification-panel [hidden] { display:none!important; }
@media(max-width:600px) {
 .install-hero { grid-template-columns:1fr; gap:24px; padding-top:4px; }
 .app-icon { width:80px;height:80px;border-radius:18px; }
 .install-guides {grid-template-columns:1fr;}
 .install-guides section {padding:26px 0;}
 .install-guides section + section {border-inline-start:0;border-top:1px solid var(--line);}
 .notification-panel {padding:24px 20px;}
}
.install-hero .eyebrow { text-transform:none; letter-spacing:.02em; }
[data-install-status]:empty { display:none; }
.forgot-password { display:inline-flex; min-height:44px; align-items:center; margin-top:8px; color:var(--green); text-decoration:underline; text-underline-offset:4px; font-weight:600; }
.recovery-page { max-width:680px; padding-block:48px 80px; }
.recovery-page > .text-link { margin-bottom:28px; }
.recovery-page > .text-link .icon { transform:rotate(180deg); }
[dir=rtl] .recovery-page > .text-link .icon { transform:none; }
.recovery-panel { border:1px solid var(--line); border-radius:12px; padding:40px; background:#fff; }
.recovery-panel h1 { font-size:clamp(28px,4vw,38px); line-height:1.2; margin:12px 0 20px; }
.recovery-panel .page-lead { font-size:16px; line-height:1.7; margin-bottom:28px; }
.recovery-panel label { display:block; margin:20px 0; font-weight:600; }
.recovery-panel input { width:100%; min-width:0; margin-top:8px; }
.recovery-panel .password-field { margin-top:8px; }
.recovery-panel .password-field input { margin:0; }
.recovery-panel [data-reset-status]:empty { display:none; }
.recovery-panel [data-reset-status] { line-height:1.6; }
.recovery-panel > .button { margin-top:24px; }
.recovery-success { line-height:1.7; }
.recovery-success > .icon { width:32px;height:32px; color:var(--green); }
.recovery-success h2 { font-size:24px; margin:16px 0; }
.recovery-success .button { margin-top:16px; }
@media(max-width:600px){.recovery-page {padding-block:24px 48px;}.recovery-panel {padding:24px 20px;}}
