/* Furgo brand colors, typography, and shared design values. */
:root {
  color-scheme: light;
  --orange: #fe7801;
  --orange-dark: #e86900;
  --cream: #fffbf8;
  --ink: #25262b;
  --muted: #77777c;
  --line: #eee9e4;
  --peach: #fff0e2;
  --green: #426e54;
  font-family: 'Avenir Next';
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Consistent base styles shared by every page. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 320px; margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

/* Shared navigation header used on Login and Register pages. */
.site-header {
  width: min(1240px, calc(100% - 64px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 27px/1 'Avenir Next'; letter-spacing: -1.8px; }
.brand-image { display: block; width: auto; max-width: 140px; height: 46px; object-fit: contain; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; color: white; background: var(--orange); }
.brand-mark svg { width: 24px; height: 24px; }
.nav-links { display: flex; align-items: center; gap: 34px; color: #55545a; font-size: 14px; font-weight: 600; }
.nav-links a:hover, .text-link:hover { color: var(--orange-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login { padding: 11px 15px; color: var(--ink); font-size: 14px; font-weight: 700; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 14px; padding: 0 21px; font-weight: 700; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--orange); box-shadow: 0 8px 18px #fe78012c; }
.button-primary:hover { background: var(--orange-dark); box-shadow: 0 10px 20px #fe78013d; }
.button-light { color: var(--ink); background: white; border: 1px solid var(--line); }
.button-light:hover { background: #fff8f2; }
.button-large { min-height: 54px; padding: 0 24px; border-radius: 16px; }

.hero { width: min(1240px, calc(100% - 64px)); margin: 14px auto 0; min-height: 568px; position: relative; overflow: hidden; border-radius: 34px; background: linear-gradient(112deg, #fff0e1 0%, #fff7ef 54%, #ffe6ce 100%); display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; padding: 70px 7.2%; }
.hero-copy { position: relative; z-index: 1; max-width: 560px; padding-bottom: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #b55708; background: #fff9f2cc; border: 1px solid #f8dfc8; border-radius: 30px; padding: 9px 13px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 560px; margin: 23px 0 17px; font: 700 clamp(44px, 5.2vw, 70px)/1.05 'Avenir Next'; letter-spacing: -4.2px; }
.hero h1 span { color: var(--orange); }
.hero-copy > p { max-width: 450px; margin-bottom: 28px; color: #68666a; font-size: 17px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.social-proof { display: flex; align-items: center; gap: 12px; margin-top: 38px; color: #706b68; font-size: 12px; }
.avatar-stack { display: flex; padding-left: 3px; }
.avatar { width: 29px; height: 29px; display: grid; place-items: center; margin-left: -4px; border: 2px solid var(--cream); border-radius: 50%; background: #f6c39c; font-size: 14px; }
.avatar:nth-child(2) { background: #c7d3b0; }.avatar:nth-child(3) { background: #eac3c4; }.avatar:nth-child(4) { background: #e9d6a5; }
.rating { color: #df8100; letter-spacing: 1px; font-size: 13px; }
.hero-art { align-self: stretch; min-height: 390px; position: relative; display: grid; place-items: center; }
.sun { width: 350px; height: 350px; position: absolute; top: 50%; left: 50%; transform: translate(-45%, -48%); border-radius: 50%; background: linear-gradient(145deg, #ffbd76, #ff8b1e); box-shadow: 0 28px 60px #e7731e27; }
.pet-illustration { position: relative; z-index: 1; width: min(100%, 430px); transform: translate(5px, 13px); filter: drop-shadow(0 20px 16px #7d431c20); }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid #ffffffbd; border-radius: 17px; background: #fffdfbf0; box-shadow: 0 13px 35px #7b53251b; }
.float-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; background: #fff0e2; font-size: 20px; }
.float-card strong { display: block; margin-bottom: 3px; font-size: 12px; }
.float-card small { color: var(--muted); font-size: 10px; }
.float-card.top { top: 14%; right: -3%; }.float-card.bottom { bottom: 12%; left: -3%; }
.float-card .check { width: 19px; height: 19px; display: grid; place-items: center; margin-left: 7px; border-radius: 50%; color: white; background: #65a878; font-size: 11px; }

.section { width: min(1160px, calc(100% - 64px)); margin: 112px auto; }
.section-heading { max-width: 600px; margin: 0 auto 42px; text-align: center; }
.section-kicker { margin-bottom: 13px; color: var(--orange-dark); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.section-heading h2 { margin-bottom: 13px; font: 700 clamp(30px, 4vw, 43px)/1.15 'Avenir Next'; letter-spacing: -1.8px; }
.section-heading p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.service-card { min-height: 205px; padding: 23px 21px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px #4f38200e; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 16px; background: var(--peach); font-size: 23px; }
.service-card:nth-child(2) .service-icon { background: #f2eee5; }.service-card:nth-child(3) .service-icon { background: #eaf1e6; }.service-card:nth-child(4) .service-icon { background: #f4e9ed; }
.service-card h3 { margin-bottom: 8px; font: 700 17px 'Avenir Next'; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.care-band { width: min(1240px, calc(100% - 64px)); min-height: 280px; margin: 0 auto 100px; padding: 55px 7%; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 30px; color: white; background: var(--ink); overflow: hidden; position: relative; }
.care-band::after { content: ''; position: absolute; width: 360px; height: 360px; right: 10%; top: -190px; border: 1px solid #ffffff13; border-radius: 50%; box-shadow: 0 0 0 35px #ffffff09, 0 0 0 72px #ffffff06; }
.care-band-copy { max-width: 550px; position: relative; z-index: 1; }
.care-band h2 { margin-bottom: 12px; font: 700 clamp(27px, 3.5vw, 40px)/1.15 'Avenir Next'; letter-spacing: -1.5px; }
.care-band p { margin-bottom: 0; color: #d0cfd1; line-height: 1.65; }
.care-band .button { z-index: 1; flex: 0 0 auto; }
.site-footer { width: min(1240px, calc(100% - 64px)); min-height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #77777c; font-size: 12px; }
.footer-brand { color: var(--ink); transform: scale(.82); transform-origin: left center; }
.footer-note { margin: 0; }
.footer-links { display: flex; gap: 22px; }

/* Centered account area for the Login and Register forms. */
.auth-shell { width: min(100% - 48px, 480px); min-height: calc(100vh - 150px); margin: 0 auto; padding: 28px 0; display: grid; grid-template-columns: 1fr; align-content: center; }
.auth-paw { position: absolute; right: -50px; top: 44%; color: #ffffff5c; font-size: 230px; transform: rotate(-20deg); }
.auth-panel { width: 100%; max-width: 460px; justify-self: center; padding: 14px 0; }
.auth-panel h2 { margin: 0 0 9px; font: 700 32px/1.2 'Avenir Next'; letter-spacing: -1.3px; }
.auth-intro { margin: 0 0 29px; color: var(--muted); font-size: 14px; line-height: 1.6; }
/* Login selector lets the customer choose an email address or phone number. */
.login-method-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 18px; padding: 4px; border-radius: 13px; background: #f3efeb; }
.login-method-option { min-height: 40px; border: 0; border-radius: 10px; color: #77777c; background: transparent; font-size: 12px; font-weight: 700; }
.login-method-option.selected { color: var(--ink); background: #fff; box-shadow: 0 2px 7px #25262b12; }
.form-field { display: grid; gap: 8px; margin-bottom: 17px; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field input { width: 100%; height: 50px; padding: 0 15px; border: 1px solid #e9e5e1; border-radius: 12px; outline: 0; color: var(--ink); background: #fff; transition: border .15s ease, box-shadow .15s ease; }
.phone-input { display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 8px; }
.phone-input.email-login { grid-template-columns: minmax(0, 1fr); }
.country-code { width: 100%; min-height: 50px; display: flex; align-items: center; padding: 0 12px; border: 1px solid #e9e5e1; border-radius: 12px; color: var(--ink); background: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.otp-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 14px; }
.otp-send-button { padding: 5px 0; border: 0; color: var(--orange-dark); background: transparent; font-size: 12px; font-weight: 700; }
.otp-send-button:disabled { color: #918b86; cursor: wait; }
.otp-countdown { color: #77777c; font-size: 11px; }
.otp-demo-hint { margin: -4px 0 14px; color: #7b603f; font-size: 11px; }
.terms-row { justify-content: flex-start; }
.terms-row .check-label { align-items: flex-start; line-height: 1.5; }
.form-field input::placeholder { color: #aaa6a3; }
.form-field input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px #fe78011c; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 72px; }
.show-password { position: absolute; top: 50%; right: 13px; transform: translateY(-50%); padding: 5px; border: 0; color: #77777c; background: transparent; font-size: 12px; font-weight: 700; }
.form-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 21px; color: #6e6b70; font-size: 12px; }
.check-label { display: inline-flex; align-items: center; gap: 8px; }
.check-label input { accent-color: var(--orange); }
.text-link { color: var(--orange-dark); font-weight: 700; }
.auth-submit { width: 100%; min-height: 51px; }
.form-divider { display: flex; align-items: center; gap: 13px; margin: 21px 0; color: #a19d99; font-size: 11px; }
.form-divider::before, .form-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.sso-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: -7px 0 22px; }
.sso-button { min-height: 45px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font-size: 13px; font-weight: 700; }
.sso-button:hover { border-color: #efc7a6; background: #fffaf5; }
/* Section: Account access. Function: Give the Login/Register switch clear separation from the primary form action. */
.auth-switch { margin: 24px 0 0; color: #77777c; text-align: center; font-size: 13px; }
.demo-note { margin-top: 20px; padding: 11px 13px; border-radius: 11px; color: #725a48; background: #fff4e8; font-size: 11px; line-height: 1.5; }
.form-feedback { display: none; margin: 0 0 16px; padding: 12px 14px; border-radius: 11px; color: #315b3d; background: #edf6ee; font-size: 12px; line-height: 1.5; }
.form-feedback.visible { display: block; }
.market-order-summary .form-feedback.is-error { color: #a93228; background: #fff0ed; }
.auth-footer { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 19px 0 25px; border-top: 1px solid var(--line); color: #89858a; font-size: 11px; }
.mobile-menu-button { display: none; }

/* My Profile keeps contact details read-only and provides name, support, and logout controls. */
.profile-page { width: min(100% - 36px, 620px); min-height: 100vh; margin: 0 auto; padding: 26px 0 112px; color: var(--ink); }
.profile-heading { display: flex; align-items: center; gap: 15px; margin: 3px 0 23px; }
.profile-back { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 30px; line-height: 1; }
.profile-heading .section-kicker { margin: 0 0 3px; }
.profile-heading h1 { margin: 0; font: 700 28px/1.15 'Avenir Next'; letter-spacing: -.8px; }
.profile-card { position: relative; margin-bottom: 17px; padding: 22px 18px; border: 1px solid #f1e5db; border-radius: 20px; background: #fff; box-shadow: 0 6px 18px #3824120b; }
.profile-avatar { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 50%; color: var(--orange); background: #fff2e6; }
.profile-avatar svg { width: 28px; height: 28px; }
.profile-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 19px; }
.profile-section-heading h2 { margin: 0 0 5px; font: 700 19px/1.25 'Avenir Next'; letter-spacing: -.3px; }
.profile-section-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.profile-form .form-field { margin-bottom: 15px; }
.profile-form input[readonly] { color: #77777c; background: #f8f6f4; cursor: default; }
.profile-form .form-field small { color: var(--muted); font-size: 11px; }
.support-card { scroll-margin-top: 20px; }
.support-paw { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--orange); background: #fff2e6; }
.support-paw svg { width: 23px; height: 23px; }
.support-form select, .support-form textarea { width: 100%; border: 1px solid #e9e5e1; border-radius: 12px; outline: 0; color: var(--ink); background: #fff; font: inherit; }
.support-form select { height: 50px; padding: 0 13px; }
.support-form textarea { min-height: 112px; padding: 13px; resize: vertical; line-height: 1.5; }
.support-form select:focus, .support-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px #fe78011c; }
.support-form .button-secondary { width: 100%; min-height: 48px; }
.support-form .demo-note { margin-bottom: 0; }
.profile-logout { width: 100%; min-height: 48px; margin: 3px 0 16px; border: 1px solid #f0c7ac; border-radius: 13px; color: #b84919; background: #fff; font: 700 14px 'Avenir Next'; }
.profile-logout:hover { background: #fff7f1; }

/* Match the supplied cream-background My Profile and Edit Profile mobile screens. */
.profile-page { width: 100%; max-width: none; min-height: 100vh; min-height: 100svh; margin: 0; padding: 24px 24px calc(104px + env(safe-area-inset-bottom)); background: #fff7ed; }
.profile-heading { width: min(100%, 620px); height: 58px; position: relative; justify-content: center; gap: 0; margin: 27px auto 28px; }
.profile-heading h1 { font-size: 27px; letter-spacing: -.6px; text-align: center; }
.profile-back { width: 42px; height: 54px; position: absolute; left: 0; top: 50%; transform: translateY(-50%); border: 0; border-radius: 0; background: transparent; font-size: 55px; font-weight: 400; }
.profile-summary { width: min(100%, 620px); margin: 0 auto 34px; padding: 24px 25px 23px; border-radius: 25px; background: #fff; box-shadow: 0 8px 16px #29211b32; }
.profile-summary-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.profile-summary-top h2 { min-width: 0; overflow-wrap: anywhere; margin: 0; font: 700 30px/1.15 'Avenir Next'; letter-spacing: -.8px; }
.profile-summary p { margin: 0 0 8px; color: #929093; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.profile-edit-link { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 0 17px; border-radius: 25px; color: #fff; background: var(--orange); box-shadow: 0 5px 10px #bc5a1b40; font-size: 14px; font-weight: 700; }
.profile-menu { width: min(100%, 590px); margin: 0 auto; }
.profile-menu-group { margin: 0 0 28px; }
.profile-menu-group h2 { margin: 0 0 3px; font: 700 21px/1.3 'Avenir Next'; }
.profile-menu-row { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #171719; font-size: 18px; }
.profile-chevron { padding: 0 3px 4px; font: 400 37px/1 'Avenir Next'; }
.profile-menu-group + .profile-menu-group { margin-top: 34px; margin-bottom: 25px; }
.profile-logout { width: auto; min-width: 150px; min-height: 48px; display: block; margin: 70px 0 18px max(0px, calc((100% - 590px)/2)); padding: 0 24px; border: 0; border-radius: 26px; color: #fff; background: var(--orange); box-shadow: 0 6px 11px #bc5a1b40; font: 700 19px 'Avenir Next'; }
.edit-profile-form { width: min(100%, 620px); margin: 49px auto 0; }
.edit-profile-form h2 { margin: 0 0 23px; font: 700 23px/1.2 'Avenir Next'; letter-spacing: -.4px; }
.edit-profile-form > p { margin: -12px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.change-password-form { margin-top: 38px; padding-top: 28px; border-top: 1px solid #ead9ca; }
.change-password-page .change-password-form { margin-top: 49px; padding-top: 0; border-top: 0; }
.portal-edit-profile-page > .admin-portal-header { width: min(100%, 1040px); margin: 0 auto; }
.edit-field { display: grid; gap: 7px; margin-bottom: 23px; }
.edit-field label { font-size: 17px; }
.edit-field input { width: 100%; height: 68px; padding: 0 15px; border: 0; border-radius: 22px; outline: 0; color: var(--ink); background: #fff; font: 16px 'Avenir Next'; }
.edit-field input[readonly] { color: #929093; }
.edit-field input:focus:not([readonly]) { box-shadow: 0 0 0 3px #fe780126; }
.edit-save-button { width: 100%; min-height: 66px; margin-top: 2px; border-radius: 22px; box-shadow: 0 7px 12px #29211b32; font-size: 23px; }
.support-destination .profile-card { width: min(100%, 620px); margin: 0 auto; }
.support-destination .profile-card + .profile-card { margin-top: 18px; }
.support-destination .profile-card h2 { margin-top: 0; }
.help-card > p { color: var(--muted); font-size: 14px; }
.help-card details { padding: 15px 0; border-bottom: 1px solid var(--line); }
.help-card summary { font-weight: 700; cursor: pointer; }
.help-card details p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.help-feedback-link { margin-top: 20px; }
.support-destination .bottom-nav { position: fixed; }
/* Account destination pages share the cream profile shell and card-based mobile layout. */
.account-page .account-card { width: min(100%, 620px); margin: 0 auto 17px; }
.account-card > h2, .account-form > h2 { margin: 0 0 14px; font: 700 19px/1.3 'Avenir Next'; }
.account-empty, .account-help-text { margin: 0 0 17px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-list-card { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fffaf6; }
.account-list-card h2 { margin: 0 0 5px; font: 700 15px/1.3 'Avenir Next'; }
.account-list-card p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.account-address-actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.account-address-primary-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.account-default-badge { display: inline-flex; align-items: center; margin-left: 5px; padding: 3px 8px; border-radius: 999px; color: #a54e00; background: #fff0df; font: 700 10px 'Avenir Next'; vertical-align: middle; }
.account-set-default { min-height: 32px; padding: 0 10px; border: 1px solid var(--orange); border-radius: 9px; color: var(--orange-dark); background: transparent; font: 700 11px 'Avenir Next'; cursor: pointer; }
.account-edit-address { min-height: 32px; padding: 0 12px; border: 1px solid var(--orange); border-radius: 9px; color: var(--orange); background: transparent; box-shadow: none; font: 700 11px 'Avenir Next'; cursor: pointer; }
.account-edit-address:hover, .account-edit-address:focus-visible, .account-edit-address:active { color: var(--orange); background: transparent; box-shadow: none; }
.account-list-card.is-default-address { border-color: #ffd0a6; }
.account-remove { flex: 0 0 auto; padding: 0; border: 0; border-radius: 0; color: #c8372b; background: transparent; box-shadow: none; font: 600 11px 'Avenir Next'; text-decoration: underline; text-underline-offset: 2px; }
.account-remove:hover, .account-remove:focus-visible, .account-remove:active { color: #c8372b; background: transparent; box-shadow: none; text-decoration: underline; }
.account-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.account-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.account-form-wide { grid-column: 1 / -1; }
.account-form input { width: 100%; height: 50px; padding: 0 13px; border: 1px solid #e9e5e1; border-radius: 12px; outline: 0; color: var(--ink); background: #fff; font: inherit; }
.account-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px #fe78011c; }
.account-submit { width: 100%; min-height: 50px; margin-top: 4px; }
.account-address-form-actions { display: flex; align-items: center; gap: 10px; }
.account-address-form-actions .account-submit { flex: 1; }
.account-cancel-edit { min-height: 50px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: transparent; font: 700 13px 'Avenir Next'; cursor: pointer; }
.account-cancel-edit[hidden] { display: none; }
.account-delete-dialog { width: min(420px, calc(100vw - 36px)); box-sizing: border-box; padding: 24px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: #fffaf6; box-shadow: 0 18px 55px rgba(54, 34, 21, .22); }
.account-delete-dialog::backdrop { background: rgba(37, 31, 27, .42); backdrop-filter: blur(2px); }
.account-delete-dialog h2 { margin: 0 0 8px; font: 700 18px/1.35 'Avenir Next'; }
.account-delete-dialog p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.account-delete-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.account-delete-dialog-actions button { min-height: 40px; padding: 0 15px; border-radius: 10px; font: 700 12px 'Avenir Next'; cursor: pointer; box-shadow: none; }
.account-delete-cancel { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.account-delete-confirm { border: 1px solid #c8372b; color: #fff; background: #c8372b; }
.account-card .demo-note { margin-bottom: 0; }
.account-checkbox { display: flex; align-items: center; gap: 8px; margin: 3px 0 15px; color: var(--muted); font-size: 12px; }
.account-checkbox input { width: 17px; height: 17px; accent-color: var(--orange); }
.payment-method-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--peach); }
.payment-method-copy { flex: 1; }
.credit-balance-card { width: min(100%, 620px); display: grid; gap: 8px; margin: 0 auto 18px; padding: 24px; border: 2px solid #fff; border-radius: 22px; color: #fff; background: var(--orange); box-shadow: 0 7px 15px #bc5a1b26; }
.credit-balance-card span { font-size: 15px; }
.credit-balance-card strong { font: 700 32px/1.1 'Avenir Next'; }
.credit-balance-card small { opacity: .9; font-size: 12px; }
.credit-topup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.credit-topup > label { position: relative; cursor: pointer; }
.credit-topup > label input { position: absolute; opacity: 0; }
.credit-topup > label span { min-height: 45px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font-size: 13px; font-weight: 700; }
.credit-topup > label input:checked + span { border-color: var(--orange); color: var(--orange-dark); background: #fff5eb; box-shadow: 0 0 0 2px #fe78011c; }
.credit-topup .form-feedback, .credit-topup .account-submit { grid-column: 1 / -1; }
.credit-history ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.credit-history li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.credit-history li span { display: grid; gap: 4px; }
.credit-history li strong { font-size: 13px; }
.credit-history li small { color: var(--muted); font-size: 11px; }
.credit-history li b { color: #438253; font-size: 12px; }
.credit-history li b.credit-debit { color: #b84919; }
.credit-history li.account-empty-row { color: var(--muted); font-size: 13px; }
/* Pet Profile screen: editable pet details and removable care remarks. */
.pet-profile-page { width: 100%; min-height: 100vh; min-height: 100svh; margin: 0; padding: 24px 24px calc(108px + env(safe-area-inset-bottom)); background: #fff7ed; }
.pet-profile-page .profile-heading { width: min(100%, 760px); left: auto; transform: none; margin: 27px auto 24px; }
.pet-profile-page > .profile-summary { width: min(100%, 760px); }
.pet-profile-form { width: min(100%, 760px); margin: 0 auto; }
.pet-profile-photo { width: min(164px, 44vw); height: auto; aspect-ratio: 1 / 1; position: relative; display: grid; place-items: center; overflow: hidden; margin: 0 auto 30px; padding: 0; border: 1px solid var(--orange); border-radius: 50%; color: inherit; background: #f2f2f2; font: inherit; text-align: center; cursor: pointer; }
.pet-profile-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.pet-profile-photo:not(.has-photo) { display: block; background: transparent; }
.pet-profile-photo:not(.has-photo)::before { content: ''; position: absolute; inset: 8px; z-index: 0; border-radius: 50%; background: #f1f1f1; }
.pet-profile-photo:not(.has-photo) > img { display: none; }
.pet-profile-photo.has-photo .pet-photo-prompt,
.pet-profile-photo.has-photo .pet-photo-upload-mark { display: none; }
.pet-photo-prompt { position: absolute; z-index: 1; right: 8px; bottom: 24%; left: 8px; width: max-content; max-width: calc(100% - 16px); margin: 0 auto; padding: 4px 9px; color: #1674c4; background: transparent; font-size: 13px; font-weight: 600; }
.pet-photo-upload-mark { width: 38px; height: 38px; position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; border: 1px solid #f4dfce; border-radius: 50%; background: #fffaf2; box-shadow: 0 2px 6px #42251424; }
.pet-photo-upload-mark img { width: 21px; height: 21px; position: static; object-fit: contain; }
.pet-profile-photo:not(.has-photo) .pet-photo-upload-mark { width: 48px; height: 48px; top: 23%; right: auto; left: 50%; transform: translateX(-50%); border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pet-profile-photo:not(.has-photo) .pet-photo-upload-mark img { width: 48px; height: 48px; }
.pet-profile-photo input { width: 100%; height: 100%; position: absolute; z-index: 2; inset: 0; opacity: 0; cursor: pointer; }
.pet-profile-picture-options { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: -18px auto 24px; text-align: center; }
.pet-profile-picture-options button { min-height: 36px; padding: 0 15px; border: 1px solid #fe7801; border-radius: 20px; color: #d85f00; background: transparent; font: 600 12px 'Avenir Next'; cursor: pointer; }
.pet-profile-picture-options button.is-selected { color: #fff; background: #fe7801; }
.pet-profile-picture-options span { color: var(--muted); font-size: 11px; }
.pet-profile-picture-choice-dialog { width: min(92vw, 390px); position: relative; padding: 22px; }
.pet-profile-picture-dialog-close { width: 34px; height: 34px; position: absolute; top: 12px; right: 12px; display: grid; place-items: center; padding: 0 0 2px; border: 0; border-radius: 50%; color: var(--ink); background: #fff1e5; font: 400 25px/1 Arial, sans-serif; cursor: pointer; }
.pet-profile-picture-choice-dialog h2 { padding-right: 36px; }
.pet-profile-picture-choice-dialog p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.pet-profile-picture-choice-actions { display: grid; gap: 9px; }
.pet-profile-picture-choice-actions button { min-height: 42px; padding: 0 14px; border: 1px solid #f0d9c8; border-radius: 22px; color: #a94e0b; background: #fff; font: 600 13px 'Avenir Next'; cursor: pointer; }
.pet-profile-picture-choice-actions [data-use-created-avatar]:not(:disabled) { border-color: #fe7801; color: #a94e0b; background: #fff; }
.pet-profile-picture-choice-actions .pet-profile-picture-delete { min-height: auto; justify-self: center; padding: 3px 6px; border: 0; border-radius: 0; color: #9b4a32; background: transparent; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; }
.pet-profile-picture-choice-actions [data-upload-profile-photo] { border-color: #fe7801; color: #fff; background: #fe7801; }
.pet-profile-picture-choice-actions button:disabled { color: #aaa; cursor: not-allowed; }
.pet-avatar-create-result { display: flex; align-items: center; gap: 9px; margin-top: 7px; }
.pet-avatar-create-result[hidden] { display: none; }
.pet-avatar-create-result img { width: 58px; height: 58px; object-fit: contain; }
.pet-avatar-create-feedback { min-height: 0; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.pet-avatar-create-feedback:empty { display: none; }
.pet-avatar-create-feedback.is-error { color: #bd321d; font-weight: 600; }
.pet-avatar-create-feedback.is-success { color: #438253; font-weight: 600; }
.pet-photo-crop-dialog { width: min(92vw, 420px); margin: auto; padding: 24px; border: 0; border-radius: 24px; color: var(--ink); background: #fffaf6; box-shadow: 0 18px 60px #26150d40; }
.pet-photo-crop-dialog::backdrop { background: #1b130e80; backdrop-filter: blur(3px); }
.pet-photo-crop-dialog h2 { margin: 0 0 5px; font: 700 21px/1.3 'Avenir Next'; }
.pet-photo-crop-dialog > p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.pet-photo-crop-viewport { width: min(72vw, 300px); aspect-ratio: 1; position: relative; overflow: hidden; margin: 0 auto; border: 3px solid var(--orange); border-radius: 50%; background: #f1eee9; touch-action: none; cursor: grab; }
.pet-photo-crop-viewport:active { cursor: grabbing; }
.pet-photo-crop-viewport img { position: absolute; max-width: none; max-height: none; user-select: none; pointer-events: none; }
.pet-photo-zoom { display: grid; gap: 8px; margin: 18px 2px; color: var(--ink); font-size: 14px; font-weight: 700; }
.pet-photo-zoom input { width: 100%; accent-color: var(--orange); }
.pet-photo-crop-actions { display: flex; justify-content: flex-end; gap: 10px; }
.pet-photo-crop-actions button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 22px; color: var(--ink); background: #f1e9e2; font: 700 13px 'Avenir Next'; cursor: pointer; }
.pet-photo-crop-actions [data-use-photo-crop] { color: #fff; background: var(--orange); }
.pet-profile-crop-feedback { margin: 8px 0; color: #b84919; font-size: 12px; line-height: 1.4; }
.pet-profile-crop-feedback:empty { display: none; }
.pet-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 18px; }
.pet-form-field { min-width: 0; display: grid; gap: 7px; font-size: 17px; }
.pet-species-field { min-width: 0; grid-column: 1 / -1; display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.pet-species-field legend { margin-bottom: 9px; padding: 0; font-size: 17px; }
.pet-species-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 14px; }
.pet-species-choice { position: relative; aspect-ratio: 1.6 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; overflow: hidden; padding: 9px; border: 2px solid #fff; border-radius: 20px; color: var(--ink); background: #fdf2e6; box-shadow: inset 0 2px 5px #fff9, inset 0 -3px 6px #dbbba533; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease; }
.pet-species-choice[data-selected="true"] { border-color: var(--orange); color: #fff; background: #fe7801; box-shadow: inset 0 1px 4px #ffffff4a, inset 0 -2px 6px #a9470038; }
.pet-species-choice:focus-within { outline: 3px solid #fe780133; outline-offset: 2px; }
.pet-species-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pet-species-choice img { display: block; width: 72%; height: 70%; object-fit: contain; }
.pet-species-choice span { font-size: 16px; font-weight: 700; line-height: 1.2; }
.pet-breed-control { position: relative; min-width: 0; }
.pet-breed-listbox { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: min(280px, 42vh); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid #ead9cd; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px #38261b24; -webkit-overflow-scrolling: touch; }
.pet-breed-listbox[hidden] { display: none; }
.pet-breed-listbox button { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 10px; color: var(--ink); background: #fff; font: 15px 'Avenir Next'; text-align: left; cursor: pointer; }
.pet-breed-listbox button[hidden] { display: none; }
.pet-breed-listbox button:hover, .pet-breed-listbox button[aria-selected="true"] { background: #fff1e6; }
.pet-name-field { grid-column: 1 / -1; }
.pet-occasion-date-row { min-width: 0; grid-column: 1 / -1; display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.pet-occasion-date-row > legend { margin: 0; padding: 0; font-size: 17px; white-space: nowrap; }
.pet-occasion-date-controls { min-width: 0; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: stretch; gap: 14px; }
.pet-occasion-buttons { display: grid; min-width: 0; }
.pet-occasion-buttons select { width: 100%; height: 68px; min-width: 0; padding: 0 34px 0 14px; border: 1px solid #fff; border-radius: 16px; appearance: none; color: var(--ink); background-color: #fdf2e6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='m2 2 7 7 7-7' fill='none' stroke='%2325262b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px 10px; box-shadow: inset 0 2px 5px #ffffffd9, inset 0 -3px 7px #e9d8cc70; font: 700 14px 'Avenir Next'; cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease, color .18s ease; }
.pet-occasion-buttons select[data-selected="true"] { color: #fff; background-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='m2 2 7 7 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); box-shadow: inset 0 2px 4px #ffffff4d, inset 0 -4px 7px #b74a0055; }
.pet-occasion-buttons select:focus-visible { outline: 2px solid #fe780155; outline-offset: 2px; }
.pet-birth-date-field { min-width: 0; }
.pet-birth-date-field.is-disabled { color: #99949a; }
.pet-birth-date-selects select:disabled { color: #a5a1a3; background-color: #eee9e6; box-shadow: inset 0 2px 5px #aaa4a033; cursor: not-allowed; }
.pet-form-field input, .pet-form-field select { width: 100%; height: 68px; min-width: 0; padding: 0 16px; border: 0; border-radius: 19px; outline: 0; color: var(--ink); background: #fff; font: 16px 'Avenir Next'; }
.pet-form-field input[type="date"] { display: flex; align-items: center; width: 100%; height: 68px; min-width: 0; max-width: 100%; box-sizing: border-box; padding: 0 16px; line-height: normal; text-align: left !important; text-align-last: left; touch-action: manipulation; }
.pet-form-field input[type="date"]::-webkit-date-and-time-value { display: flex; align-items: center; width: 100%; min-height: 1.2em; text-align: left; }
.pet-form-field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }
.pet-birth-date-selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.pet-birth-date-selects select { width: 100%; height: 68px; min-width: 0; padding: 0 26px 0 10px !important; border: 0; border-radius: 19px; outline: 0; color: var(--ink); background-color: #fff; background-position: right 8px center !important; background-size: 11px 8px !important; font: 15px 'Avenir Next'; }
.pet-form-field select { padding-right: 48px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='m2 2 7 7 7-7' fill='none' stroke='%2325262b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; background-size: 16px 11px; }
.pet-form-field input:focus, .pet-form-field select:focus, .pet-remark-entry input:focus { box-shadow: 0 0 0 3px #fe780126; }
.pet-vaccination-section { margin-top: 24px; }
.pet-care-panel.pet-vaccination-page-panel { box-shadow: inset 0 2px 8px #ffffffb8, inset 0 -5px 12px #e9d8cc70, 0 5px 14px #49301a12; }
.pet-vaccination-section h2 { margin: 0 0 5px; font-size: 17px; font-weight: 700; }
.pet-vaccination-section > p { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.pet-vaccination-upload { min-height: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; padding: 0 20px; border-radius: 16px; color: #fff !important; -webkit-text-fill-color: #fff; background: var(--orange); box-shadow: inset 0 2px 3px #ffffff65, inset 0 -4px 6px #b74a0060; font: 700 14px 'Avenir Next'; cursor: pointer; }
.pet-vaccination-upload > span { color: #fff !important; -webkit-text-fill-color: #fff; }
.pet-vaccination-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pet-vaccination-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pet-vaccination-list li { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px 6px 14px; border-radius: 13px; background: #fff; box-shadow: inset 0 2px 5px #eadfd866, inset 0 -2px 4px #ffffffd9; font-size: 13px; }
.pet-vaccination-list li a { min-width: 0; overflow: hidden; color: #a74914; text-overflow: ellipsis; white-space: nowrap; }
.pet-vaccination-list li button { width: 28px; height: 28px; flex: 0 0 auto; border: 0; border-radius: 50%; color: #a74914; background: #fff0e4; box-shadow: inset 0 2px 4px #ffffffd9, inset 0 -2px 4px #e7cbb8aa; font: 21px/1 'Avenir Next'; cursor: pointer; }
.pet-vaccination-list .pet-vaccination-empty { color: var(--muted); background: transparent; }
.pet-remarks-section { margin-top: 24px; }
.pet-remarks-section h2 { margin: 0 0 9px; font-size: 17px; font-weight: 500; }
.pet-remarks-help { margin: -2px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.pet-remark-entry { display: flex; align-items: stretch; gap: 12px; }
.pet-remark-entry input { width: 100%; min-width: 0; height: 52px; padding: 0 14px; border: 0; border-radius: 16px; outline: 0; background: #fff; font: 15px 'Avenir Next'; }
.pet-add-remark { min-width: 128px; padding: 0 16px; border: 0; border-radius: 17px; color: #fff; background: var(--orange); font: 700 15px 'Avenir Next'; cursor: pointer; }
.pet-remarks-list { min-height: 38px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin: 14px 0 22px; }
.pet-remark-chip { min-height: 34px; display: inline-flex; align-items: center; gap: 10px; padding: 4px 7px 4px 12px; border-radius: 20px; color: #fff; background: var(--orange); font-size: 13px; font-weight: 600; }
.pet-remark-chip button { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: transparent; font: 20px/1 'Avenir Next'; cursor: pointer; }
.pet-save-profile { width: 100%; min-height: 66px; border-radius: 20px; box-shadow: 0 7px 12px #29211b32; font-size: 23px; }
.pet-delete-trigger { display: block; margin: 14px auto 0; padding: 3px 8px; border: 0; color: #b84919; background: transparent; font: 600 13px 'Avenir Next'; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pet-delete-dialog { width: min(90vw, 390px); margin: auto; padding: 25px; border: 0; border-radius: 22px; color: var(--ink); background: #fffaf6; box-shadow: 0 18px 60px #26150d40; }
.pet-delete-dialog::backdrop { background: #1b130e80; backdrop-filter: blur(3px); }
.pet-delete-dialog h2 { margin: 0 0 10px; font: 700 21px/1.3 'Avenir Next'; }
.pet-delete-dialog p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pet-delete-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.pet-delete-actions button { min-height: 42px; padding: 0 15px; border: 0; border-radius: 22px; color: var(--ink); background: #f1e9e2; font: 700 13px 'Avenir Next'; cursor: pointer; }
.pet-delete-actions [data-confirm-delete] { color: #fff; background: #c74632; }
.pet-profile-page .bottom-nav { position: fixed; }
.pet-care-page .profile-heading { margin-bottom: 20px; }
.pet-overview-media { width: min(100%, 760px); position: relative; display: flex; flex-direction: column; align-items: center; margin: 0 auto 15px; }
.pet-overview-media .pet-profile-photo { margin: 0 auto 8px; }
.pet-overview-media .pet-profile-picture-options { margin: 0 auto 8px; }
.pet-overview-media .pet-avatar-create-feedback:not(:empty) { max-width: 420px; padding: 5px 10px; text-align: center; }
.pet-profile-overview-card { width: min(100%, 760px); min-width: 0; height: auto; min-height: 260px; flex: 0 0 auto; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; row-gap: 10px; column-gap: 12px; margin: 0 auto 25px; padding: 24px 26px 62px; }
.pet-profile-overview-card .pet-profile-card-avatar { width: 100px; height: 100px; grid-column: 1; grid-row: 1; justify-self: center; align-self: center; object-fit: contain; }
.pet-profile-overview-card .pet-info { grid-column: 2; grid-row: 1; align-self: center; }
.pet-profile-overview-card .pet-tags { grid-column: 1 / -1; grid-row: 2; }
.pet-profile-overview-card .pet-profile-button { min-height: 48px; padding: 0 34px; font-size: 20px; }
.pet-profile-swap-arrow { width: 44px; height: 44px; position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; padding: 0; transform: translateY(-50%); border: 1px solid rgba(242, 214, 193, .6); border-radius: 50%; color: #c75b19; background: rgba(255, 249, 242, .6); box-shadow: 0 2px 7px #70401926; font: 400 30px/1 Arial, sans-serif; line-height: 1; text-align: center; cursor: pointer; animation: pet-profile-arrow-blink 3.6s ease-in-out infinite; }
.pet-profile-swap-arrow.is-previous { left: 10px; }
.pet-profile-swap-arrow.is-next { right: 10px; }
.pet-profile-swap-arrow:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@keyframes pet-profile-arrow-blink { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pet-profile-swap-arrow { animation: none; } }
.pet-profile-swipe-viewport { width: min(100%, 760px); overflow: hidden; margin: 0 auto; touch-action: pan-y; }
.pet-profile-swipe-track { width: 100%; display: flex; align-items: stretch; gap: 16px; }
.pet-profile-swipe-track > .pet-profile-transition-content { width: 100%; min-width: 0; flex: 0 0 100%; }
.pet-profile-swipe-track > .pet-profile-add-swipe-slide { display: flex; align-items: stretch; }
.pet-profile-add-swipe-panel { width: 100%; display: grid; place-items: start center; padding: 0; }
.pet-profile-add-swipe-panel .add-pet-card { width: min(100%, 760px); min-width: 0; height: auto; min-height: 0; flex: 0 0 auto; aspect-ratio: 340 / 214; margin: 0 auto 25px; }
.pet-profile-add-card-wrap { width: min(100%, 760px); position: relative; }
.pet-profile-page .pet-card.pet-profile-overview-card { overflow: hidden; border-radius: 6.5% / 10%; background-color: #ffe7d9; background-clip: padding-box; background-position: center; background-size: 106% 106%; }
.pet-profile-add-settings .profile-menu-row:disabled { color: #8b8580; opacity: 1; cursor: default; }
.pet-care-menu { width: min(100%, 760px); }
.pet-care-menu .profile-menu-group { display: grid; gap: 10px; margin-bottom: 22px; }
.pet-care-links .profile-menu-row { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 15px; border: 1px solid rgb(255 255 255 / 78%); border-radius: 15px; color: #171719; background: rgb(255 255 255 / 46%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 72%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 18px 'Avenir Next'; text-align: left; text-decoration: none; cursor: pointer; }
.pet-care-links .profile-menu-row:disabled { color: #171719; opacity: 1; cursor: default; }
.pet-setting-label { min-width: 0; display: inline-flex; align-items: center; gap: 12px; }
.pet-setting-icon { width: 23px; height: 23px; flex: 0 0 23px; display: inline-flex; color: #fe7801; }
.pet-setting-icon svg { width: 100%; height: 100%; }
.pet-care-links .profile-chevron { flex: 0 0 auto; color: #fe7801; font-size: 30px; line-height: 1; }
.pet-assistant-profile-toggle { width: 100%; min-height: 48px; margin: 8px 0 18px; padding: 0 18px; border: 1px solid #fe7801; border-radius: 24px; color: #bf5100; background: #fff; font: 700 14px 'Avenir Next'; cursor: pointer; }
.pet-assistant-profile-toggle.is-selected { color: #fff; background: #fe7801; }
.pet-avatar-intro { width: min(100%, 760px); display: flex; align-items: flex-end; gap: 16px; margin: 0 auto 18px; padding: 18px; border-radius: 20px; background: linear-gradient(145deg, #fffaf4 0%, #ffe9d6 100%); box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.78), inset 0 -3px 7px rgba(165, 88, 38, 0.12); }
.pet-avatar-intro > img { width: 92px; height: 92px; flex: 0 0 92px; object-fit: contain; transform: translateY(18px) scale(1.69); transform-origin: bottom center; }
.pet-avatar-intro-content { min-width: 0; flex: 1 1 auto; }
.pet-avatar-intro h2 { margin: 0 0 4px; font: 700 18px/1.3 'Avenir Next'; }
.pet-avatar-intro p { margin: 0 0 7px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.pet-avatar-save-inline { width: max-content; min-height: 36px; padding: 0 16px; border-radius: 13px; font-size: 12px; box-shadow: inset 0 2px 4px rgba(255, 239, 205, 0.55), inset 0 -4px 6px rgba(130, 48, 0, 0.28); }
.pet-avatar-page-feedback { width: min(100%, 760px); min-height: 0; margin: -10px auto 18px; color: var(--muted); font-size: 10.2px; line-height: 1.4; }
.pet-avatar-page-feedback:empty { display: none; }
.pet-avatar-create-link { color: #bf5100; font-size: 13px; font-weight: 700; text-underline-offset: 3px; }
.pet-avatar-gallery { width: min(100%, 760px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 auto 18px; }
.pet-avatar-choice { min-width: 0; min-height: 150px; position: relative; display: grid; justify-items: center; align-content: center; gap: 7px; padding: 10px 5px; border: 1px solid #f0dfd4; border-radius: 16px; background: #fff; box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.95), inset 0 -3px 7px rgba(112, 70, 44, 0.12); text-align: center; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.pet-avatar-choice:has(input:checked) { border: 2px solid #fe7801; background: #fff8f1; box-shadow: 0 4px 13px #fe780133, inset 0 0 0 1px #fe78011a; }
.pet-avatar-choice:has(input:focus-visible) { outline: 2px solid #fe7801; outline-offset: 3px; }
.pet-avatar-choice input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
.pet-avatar-choice img { width: clamp(42px, 9vw, 96px); height: clamp(42px, 9vw, 96px); object-fit: contain; }
.pet-avatar-choice span { color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.pet-avatar-actions { width: min(100%, 760px); display: grid; gap: 10px; margin: 0 auto 30px; }
.pet-avatar-actions .button { min-height: 48px; border-radius: 18px; font-size: 14px; }
.pet-avatar-actions .button-outline { border: 1px solid #fe7801; color: #bf5100; background: #fff; }
.pet-avatar-create-cta { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.pet-avatar-library-section .pet-avatar-create-cta { border: 0; color: #fff; background: var(--orange); box-shadow: inset 0 2px 4px rgba(255, 239, 205, 0.55), inset 0 -4px 6px rgba(130, 48, 0, 0.28); }
.pet-data-list { display: grid; gap: 0; margin: 0; }
.pet-data-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid #f0dfd4; }
.pet-data-list dt { color: var(--muted); }
.pet-data-list dd { margin: 0; font-weight: 700; text-align: right; }
.pet-data-documents { margin-top: 20px; }
.pet-data-documents h3 { margin: 0; font-size: 16px; }

.pet-data-dashboard { width: min(100%, 980px); margin: 0 auto 30px; display: grid; gap: 16px; }
.pet-data-section { min-width: 0; padding: 20px; border: 1px solid #f0dfd4; border-radius: 22px; background: #fff; box-shadow: inset 0 2px 7px #ffffffcc, inset 0 -4px 10px #e9d8cc45, 0 5px 14px #49301a0c; }
.pet-data-section > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pet-data-section h2 { margin: 0; color: var(--ink); font-size: 20px; }
.pet-data-section > header > span { color: var(--muted); font-size: 14px; }
.pet-data-weight-chart { width: 100%; overflow-x: scroll; overflow-y: hidden; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.pet-data-weight-chart svg { display: block; width: 100%; min-width: 0; height: 236px; overflow: visible; }
.pet-data-weight-chart text { fill: var(--muted); font-family: inherit; }
.pet-data-weight-chart .pet-data-chart-value { fill: var(--ink); font-weight: 700; }
.pet-data-weight-chart .pet-data-chart-value.is-current { fill: #d95d00; font-weight: 800; }
.pet-data-chart-axis { stroke: #ead8cb; stroke-width: 1.5; }
.pet-data-chart-line { fill: none; stroke: #fe7801; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pet-data-chart-point { fill: #fe7801; stroke: #fff; stroke-width: 3; }
.pet-data-chart-point.is-current { fill: #fff; stroke: #fe7801; stroke-width: 4; }
.pet-data-table-wrap { width: 100%; overflow-x: scroll; overflow-y: hidden; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.pet-data-table-wrap, .pet-data-weight-chart, .pet-intake-chart-scroll { scrollbar-width: auto; scrollbar-color: #fe7801 #f3e4d9; }
.pet-data-table-wrap::-webkit-scrollbar, .pet-data-weight-chart::-webkit-scrollbar, .pet-intake-chart-scroll::-webkit-scrollbar { height: 9px; }
.pet-data-table-wrap::-webkit-scrollbar-track, .pet-data-weight-chart::-webkit-scrollbar-track, .pet-intake-chart-scroll::-webkit-scrollbar-track { border-radius: 999px; background: #f3e4d9; }
.pet-data-table-wrap::-webkit-scrollbar-thumb, .pet-data-weight-chart::-webkit-scrollbar-thumb, .pet-intake-chart-scroll::-webkit-scrollbar-thumb { border: 2px solid #f3e4d9; border-radius: 999px; background: #fe7801; }
.pet-data-table-wrap table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.pet-data-table-wrap th, .pet-data-table-wrap td { padding: 11px 10px; border-bottom: 1px solid #f0dfd4; vertical-align: top; }
.pet-data-table-wrap th { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pet-data-table-wrap td:first-child { color: var(--ink); font-weight: 600; }
.pet-data-table-wrap a { color: #d95d00; font-weight: 700; }
.pet-data-empty, .pet-data-caption { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pet-data-section[id] { scroll-margin-top: 18px; }
.pet-data-dashboard .pet-data-empty, .pet-data-dashboard .pet-data-caption { font-size: 10px; }
.pet-data-current-weight { color: var(--muted); font-size: 12px !important; white-space: nowrap; }
.pet-data-section > header .pet-intake-history-toggle { min-height: 32px; padding: 6px 10px; font-size: 11px; }
.pet-intake-chart-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.pet-intake-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pet-intake-chart-legend i { width: 10px; height: 10px; display: inline-block; flex: 0 0 10px; border-radius: 50%; background: var(--intake-series-color, #fe7801); }
.pet-intake-chart-scroll { width: 100%; overflow-x: scroll; overflow-y: hidden; scrollbar-gutter: stable; border-radius: 14px; background: #fffdfa; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x; }
.pet-intake-chart-scroll svg { display: block; height: 230px; overflow: visible; }
.pet-intake-chart-scroll rect[data-intake-bar] { cursor: pointer; }
.pet-intake-chart-scroll rect[data-intake-bar]:hover, .pet-intake-chart-scroll rect[data-intake-bar].is-active { stroke: #fff; stroke-width: 2; }
.pet-intake-chart-scroll rect[data-intake-bar]:focus-visible { outline: none; stroke: #25232a; stroke-width: 2; }
.pet-intake-chart-gridline { stroke: #f0e3da; stroke-width: 1; }
.pet-intake-chart-axis { stroke: #a99b91; stroke-width: 1.3; }
.pet-intake-chart-axis-label, .pet-intake-chart-date { fill: var(--muted); font-family: inherit; font-size: 11px; }
.pet-intake-chart-date { font-weight: 600; }
.pet-intake-chart-detail { min-height: 22px; margin: 2px 0 0; color: #fe7801; font-size: 14.4px; font-weight: 600; }
@media (max-width: 600px) {
  .account-list-card { align-items: flex-start; }
  .account-address-actions { flex-wrap: nowrap; justify-content: flex-start; }
  .account-address-primary-actions { flex-wrap: wrap; }
  .pet-data-dashboard { gap: 12px; }
  .pet-data-section { padding: 16px 14px; border-radius: 18px; }
  .pet-data-section h2 { font-size: 18px; }
  .pet-data-table-wrap table { min-width: 560px; }
}

/* Override the Home carousel's fixed card width on the full-width Pet Profile page. */
.pet-profile-page .pet-card.pet-profile-overview-card { width: min(100%, 760px); min-width: 0; height: auto; min-height: 0; aspect-ratio: 340 / 214; flex: 0 0 auto; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; align-items: center; gap: 10px 12px; margin: 0 auto 25px; padding: 24px 26px 62px; }
@media (min-width: 681px) {
  .pet-profile-page .pet-card.pet-profile-overview-card { grid-template-columns: minmax(140px, 22%) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 18px 28px; padding: 38px 48px 76px; }
  .pet-profile-overview-card .pet-profile-card-avatar { width: min(100%, 150px); height: auto; aspect-ratio: 1; }
  .pet-profile-overview-card .pet-info h3 { font-size: 30px; }
  .pet-profile-overview-card .pet-info .pet-description { font-size: 18px; }
  .pet-profile-overview-card .pet-info .pet-vaccination-status { font-size: 15px; }
  .pet-profile-overview-card .pet-info .pet-weight { font-size: 24px; }
  .pet-profile-overview-card .pet-tags { gap: 8px; }
  .pet-profile-overview-card .pet-tags span { font-size: 14px; }
  .pet-profile-overview-card .pet-profile-button { min-height: 54px; font-size: 22px; }
}
.pet-care-panel { width: min(100%, 760px); margin: 0 auto; padding: 22px; border: 1px solid #f0dfd4; border-radius: 24px; background: #fff; }
.pet-care-panel.pet-medicine-panel { box-shadow: inset 0 2px 8px #ffffffb8, inset 0 -5px 12px #e9d8cc70, 0 5px 14px #49301a12; }
.pet-care-panel.pet-reminder-panel { box-shadow: inset 0 2px 8px #ffffffb8, inset 0 -5px 12px #e9d8cc70, 0 5px 14px #49301a12; }
.pet-care-panel .profile-menu-group { margin-bottom: 15px; }
.pet-care-form { display: grid; gap: 14px; }
.pet-care-form label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 600; }
.pet-reminder-visibility { display: grid; gap: 8px; margin: 0; padding: 14px; border: 1px solid #f0dfd4; border-radius: 16px; background: #fffaf6; }
.pet-reminder-panel .pet-reminder-visibility, .pet-reminder-panel .pet-custom-reminder-editor, .pet-reminder-panel .pet-custom-reminder-row { box-shadow: inset 0 2px 7px #ffffffd9, inset 0 -4px 8px #e9d8cc55; }
.pet-reminder-visibility legend { padding: 0 5px; color: var(--ink); font-size: 14px; font-weight: 700; }
.pet-care-form .pet-reminder-visibility label { min-height: 42px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px; border-radius: 11px; background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.pet-reminder-visibility input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; flex: 0 0 14px; margin: 0; border: 1px solid var(--orange); border-radius: 4px; background: #fff; cursor: pointer; }
.pet-reminder-visibility input[type="checkbox"]:checked { border-color: var(--orange); background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3.2 3.2L13 4.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 10px no-repeat; }
.pet-reminder-visibility input[type="checkbox"]:focus-visible { outline: 2px solid #fe780155; outline-offset: 2px; }
.pet-care-form input { width: 100%; min-width: 0; height: 52px; padding: 0 14px; border: 1px solid #efe1d8; border-radius: 15px; color: var(--ink); background: #fffaf6; font: 15px 'Avenir Next'; }
.pet-care-form select { width: 100%; min-width: 0; height: 52px; padding: 0 14px; border: 1px solid #efe1d8; border-radius: 15px; color: var(--ink); background: #fffaf6; font: 15px 'Avenir Next'; }
.pet-medicine-panel .pet-care-form input[name="medicineName"], .pet-medicine-panel .pet-care-form input[name="medicineDosage"] { border-color: rgba(255,255,255,.9); color: var(--ink); background: #fff; box-shadow: inset 0 2px 6px rgba(89,58,35,.1), inset 0 -1px 2px rgba(255,255,255,.9); }
.pet-intake-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.pet-intake-heading-row .profile-menu-group { min-width: 0; margin-bottom: 0; }
.pet-intake-history-toggle { flex: 0 0 auto; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 13px; border: 1px solid #000; border-radius: 12px; color: #fff; background: #000; box-shadow: none; font: 700 12px 'Avenir Next'; text-decoration: none; cursor: pointer; }
.pet-intake-history-toggle:hover { color: #fff; background: #000; }
.pet-data-dashboard .pet-intake-history-toggle, .pet-data-dashboard .pet-intake-history-toggle:hover { border-color: #fe7801; color: #fff; background: #fe7801; }
.pet-care-form input:focus { border-color: var(--orange); outline: 3px solid #fe780126; }
.pet-care-form select:focus { border-color: var(--orange); outline: 3px solid #fe780126; }
.pet-care-inline-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pet-medicine-editor .pet-care-inline-fields { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.pet-medicine-editor { padding-top: 10px; }
.pet-custom-reminder-editor { display: grid; gap: 12px; padding: 16px; border: 1px solid #f0dfd4; border-radius: 16px; background: #fffaf6; }
.pet-custom-reminder-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pet-custom-reminder-heading h3 { margin: 0 0 3px; font-size: 16px; }
.pet-custom-reminder-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.pet-custom-reminder-heading .button { min-height: 38px; flex: 0 0 auto; padding: 0 13px; border-radius: 13px; font-size: 12px; }
.pet-custom-reminder-heading [data-add-custom-reminder] { border-color: var(--orange); color: #fff; background-color: var(--orange); }
.pet-custom-reminder-list { display: grid; gap: 10px; }
.pet-custom-reminder-empty { margin: 0; color: var(--muted); font-size: 13px; }
.pet-custom-reminder-row { display: grid; gap: 10px; padding: 13px; border: 1px solid #f0dfd4; border-radius: 13px; background: #fff; }
.pet-custom-reminder-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pet-custom-reminder-row .pet-custom-reminder-remove { min-height: 28px; justify-self: end; padding: 2px 4px; border: 0; color: #a94e0b; background: transparent; font: 600 12px 'Avenir Next'; text-decoration: underline; cursor: pointer; }
.pet-care-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.pet-care-form .button { min-height: 48px; border-radius: 16px; }
.pet-reminder-panel .button { box-shadow: inset 0 2px 5px rgba(255, 255, 255, .52), inset 0 -4px 7px rgba(139, 62, 0, .18), 0 5px 12px rgba(74, 46, 27, .14); }
.pet-reminder-panel .button:hover, .pet-reminder-panel .button:focus-visible { transform: none; box-shadow: inset 0 2px 5px rgba(255, 255, 255, .62), inset 0 -4px 7px rgba(139, 62, 0, .2), 0 5px 12px rgba(74, 46, 27, .16); }
.pet-care-list, .pet-record-history { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pet-care-list li { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 14px; background: #fff4eb; font-size: 13px; }
.pet-care-list li strong { color: #99420c; }
.pet-record-history li { padding: 12px; border-radius: 14px; background: #fff4eb; }
.pet-record-history li > div { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
.pet-record-history li > div span { color: var(--muted); }
.pet-record-history li p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.pet-record-history .pet-care-empty { color: var(--muted); font-size: 13px; }
.pet-intake-panel, .pet-exercise-panel, .pet-record-log-panel { margin-bottom: 18px; }
.pet-care-panel.pet-exercise-panel { box-shadow: inset 0 2px 8px #ffffffb8, inset 0 -5px 12px #e9d8cc70, 0 5px 14px #49301a12; }
.pet-exercise-tracker { display: grid; gap: 10px; }
.pet-exercise-summary { position: relative; min-height: 112px; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 18px 14px; border: 1px solid #eee8e3; border-radius: 22px; background: #fff; box-shadow: 0 2px 8px #39291a0b; }
.pet-exercise-summary strong { color: var(--ink); font-size: clamp(24px, 5vw, 32px); line-height: 1.1; }
.pet-exercise-summary > span { color: var(--muted); font-size: 13px; }
.pet-exercise-summary > span b { color: var(--ink); font-weight: 600; }
.pet-exercise-history-link { position: absolute; top: 10px; right: 10px; min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; color: #fff; background: #242328; font: 600 11px 'Avenir Next'; cursor: pointer; }
.pet-exercise-map { position: relative; min-height: 300px; overflow: hidden; border: 1px solid #f0dfd4; border-radius: 22px; background: #f4f1ef; box-shadow: inset 0 2px 8px #fff, inset 0 -4px 10px #d8c9bd45; }
.pet-exercise-map-placeholder { position: absolute; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; color: #706d6a; font-size: 14px; text-align: center; pointer-events: none; }
.pet-exercise-map .leaflet-control-attribution { font-size: 9px; }
.pet-exercise-status { min-height: 18px; margin: 0 2px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.pet-exercise-status.is-warning { color: #99600a; }
.pet-exercise-status.is-error { color: #b83225; }
.pet-exercise-start { position: absolute; z-index: 600; top: auto; bottom: 18px; left: 50%; min-width: 172px; min-height: 50px; max-width: calc(100% - 32px); padding: 0 24px; transform: translateX(-50%); border: 1px solid rgba(255, 255, 255, .88); border-radius: 999px; color: #fff; background: #FE7801; box-shadow: inset 0 2px 5px rgba(255, 255, 255, .62), inset 0 -4px 7px rgba(139, 62, 0, .18), 0 5px 14px rgba(74, 46, 27, .2); }
.pet-exercise-start:hover, .pet-exercise-start:focus-visible, .pet-exercise-start:active { transform: translateX(-50%); background: #FE7801; box-shadow: inset 0 2px 5px rgba(255, 255, 255, .68), inset 0 -4px 7px rgba(139, 62, 0, .2), 0 6px 16px rgba(74, 46, 27, .23); }
.pet-exercise-panel .pet-care-form button[type="submit"] { color: #fff; background: #FE7801; box-shadow: inset 0 2px 5px rgba(255, 255, 255, .55), inset 0 -4px 7px rgba(139, 62, 0, .2), 0 5px 12px rgba(74, 46, 27, .14); }
.pet-exercise-panel .pet-care-form button[type="submit"]:hover { background: #FE7801; box-shadow: inset 0 2px 5px rgba(255, 255, 255, .65), inset 0 -4px 7px rgba(139, 62, 0, .22), 0 6px 14px rgba(74, 46, 27, .18); }
.pet-intake-panel .profile-menu-group p, .pet-exercise-panel .profile-menu-group p, .pet-medicine-panel .profile-menu-group p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.pet-intake-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pet-intake-card { position: relative; min-width: 0; min-height: 278px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 17px 18px 12px; border: 1px solid #f0dfd4; border-radius: 24px; background: #fff; box-shadow: inset 0 2px 8px #fff, inset 0 -5px 12px #e9d8cc75, 0 5px 14px #49301a12; }
.pet-intake-card.is-food { color: #fff; border-color: #f2a36b; background: #FE7801; box-shadow: inset 0 2px 8px #ffffff45, inset 0 -6px 12px #a94e0b30, 0 5px 14px #49301a24; }
.pet-intake-card.is-medicine { color: #99420c; background: #fff5ee; }
.pet-intake-card.is-medicine { grid-column: 1 / -1; min-height: 150px; }
.pet-intake-card.is-medicine .pet-intake-add { grid-template-columns: auto auto minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: center; gap: 0 12px; }
.pet-intake-card.is-medicine .pet-intake-title { min-height: auto; margin-bottom: 7px; }
.pet-intake-card.is-medicine .pet-intake-count { grid-column: 1; grid-row: 2; font-size: clamp(38px, 5vw, 52px); }
.pet-intake-card.is-medicine .pet-intake-times { grid-column: 2; grid-row: 2; align-self: center; font-size: 17px; }
.pet-intake-card.is-medicine .pet-intake-last { grid-column: 3; grid-row: 2; margin: 0; }
.pet-intake-card.is-medicine .pet-intake-prompt { grid-column: 3; grid-row: 3; margin-top: 2px; }
.pet-intake-card.is-medicine .pet-intake-undo { align-self: flex-end; }
.pet-intake-add { width: 100%; min-width: 0; flex: 1; display: grid; grid-template-columns: minmax(54px, .6fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto; align-content: start; align-items: center; gap: 0 8px; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.pet-intake-title { grid-column: 1 / -1; min-height: 48px; display: flex; align-items: flex-start; font-size: 17px; line-height: 1.22; font-weight: 700; }
.pet-intake-add img { grid-column: 2; grid-row: 2 / 4; width: min(100%, 118px); height: 90px; justify-self: center; object-fit: contain; }
.pet-intake-count { grid-column: 1; grid-row: 2; align-self: end; font-size: clamp(52px, 7vw, 76px); font-weight: 800; line-height: .9; }
.pet-intake-times { grid-column: 1; grid-row: 3; align-self: start; font-size: 21px; font-weight: 700; }
.pet-intake-last { grid-column: 1 / -1; margin-top: 9px; font-size: 13px; line-height: 1.3; }
.pet-intake-prompt { grid-column: 1 / -1; margin-top: 9px; color: inherit; opacity: .82; font-size: 13px; }
.pet-intake-undo { min-height: 29px; align-self: flex-end; padding: 1px 2px; border: 0; color: inherit; background: transparent; font: 500 14px 'Avenir Next'; cursor: pointer; }
.pet-intake-undo:disabled { visibility: hidden; }
.pet-intake-feedback { min-height: 18px; margin: 8px 1px 0; color: var(--muted); font-size: 12px; }
.pet-medicine-saved-details:empty { display: none; }
.pet-medicine-saved-details { display: grid; gap: 12px; padding: 0; border: 0; background: transparent; }
.pet-medicine-saved-item { padding: 13px 15px; border: 1px solid #f1dfd3; border-radius: 15px; background: #fff5ee; }
.pet-medicine-saved-item dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; }
.pet-medicine-saved-item dl div { min-width: 0; }
.pet-medicine-saved-item dt { margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.pet-medicine-saved-item dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.pet-medicine-item-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 11px; }
.pet-medicine-item-actions .button { min-height: 34px; padding: 6px 13px; font-size: 12px; }
.pet-medicine-item-actions .button { border: 1px solid #fe7801; color: #fe7801; background: transparent; box-shadow: none; }
.pet-medicine-item-actions .button:hover, .pet-medicine-item-actions .button:focus-visible { border-color: #fe7801; color: #fe7801; background: #fff5ee; box-shadow: none; }
.pet-medicine-editor[hidden] { display: none !important; }
.pet-medicine-add[hidden] { display: none !important; }
.pet-medicine-add { width: 100%; margin-bottom: 12px; border: 0; color: #fff; background: #FE7801; box-shadow: inset 0 2px 5px rgba(255, 255, 255, .55), inset 0 -4px 7px rgba(139, 62, 0, .2), 0 5px 12px rgba(74, 46, 27, .14); }
.pet-medicine-add:hover, .pet-medicine-add:focus-visible { border: 0; color: #fff; background: #FE7801; box-shadow: inset 0 2px 5px rgba(255, 255, 255, .65), inset 0 -4px 7px rgba(139, 62, 0, .22), 0 6px 14px rgba(74, 46, 27, .18); }
.pet-medicine-editor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pet-medicine-editor-actions .button:first-child { flex: 1 1 220px; }
.pet-medicine-saved-details dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; }
.pet-medicine-saved-details dl div { min-width: 0; }
.pet-medicine-saved-details dt { margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.pet-medicine-saved-details dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.pet-medicine-period { display: grid; gap: 6px; }
.pet-medicine-period > strong { color: var(--ink); font-size: 14px; }
.pet-medicine-period > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.pet-medicine-range-display { margin: 5px 0 8px; }
.pet-medicine-calendar { padding: 10px; }
.pet-medicine-frequency { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.82); border-radius: 13px; background: rgba(255,255,255,.58); box-shadow: inset 0 2px 5px rgba(130,91,62,.08); }
.pet-medicine-frequency input { width: 68px; min-height: 36px; padding: 5px 8px; border: 1px solid #f0dfd4; border-radius: 9px; background: #fff; font: inherit; }
.pet-medicine-frequency select { min-width: 0; flex: 1; min-height: 36px; padding: 5px 7px; border: 1px solid #f0dfd4; border-radius: 9px; background: #fff; font: inherit; }
.pet-medicine-frequency select { appearance: none; padding-right: 34px; color: var(--ink); background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fe7801' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; box-shadow: inset 0 2px 5px rgba(130,91,62,.08); }
.pet-medicine-notification-setting { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pet-medicine-notification-setting .button { min-height: 36px; padding: 7px 12px; font-size: 12px; }
.pet-medicine-notification-setting span { color: var(--muted); font-size: 12px; }
.pet-medicine-reminder-toast { position: fixed; z-index: 1200; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: min(440px, calc(100vw - 36px)); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 15px; border: 1px solid #f3d9c7; border-radius: 16px; color: #342c27; background: #fff8f2; box-shadow: 0 8px 28px rgba(52,35,23,.2); }
.pet-medicine-reminder-toast > span { flex: 1 1 100%; font-size: 14px; line-height: 1.4; }
.pet-medicine-reminder-toast button { min-height: 36px; padding: 7px 13px; border: 0; border-radius: 10px; color: #fff; background: #fe7801; font: 700 13px 'Avenir Next'; cursor: pointer; }
.pet-medicine-reminder-toast button[data-dismiss-medicine-toast] { margin-left: auto; padding: 3px 9px; color: #6c625d; background: transparent; font-size: 22px; }
@media (max-width: 420px) {
  .pet-intake-cards { gap: 9px; }
  .pet-intake-card { min-height: 252px; padding: 13px 12px 9px; border-radius: 19px; }
  .pet-intake-title { min-height: 45px; font-size: 14px; }
  .pet-intake-add { grid-template-columns: minmax(42px, .55fr) minmax(0, 1fr); gap: 0 4px; }
  .pet-intake-add img { width: 100%; height: 72px; }
  .pet-intake-count { font-size: 53px; }
  .pet-intake-times { font-size: 16px; }
  .pet-intake-last, .pet-intake-prompt { font-size: 11px; }
  .pet-medicine-saved-item dl { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .pet-medicine-frequency { gap: 5px; padding-inline: 7px; }
}
@media (max-width: 420px) {
  .profile-page { padding-right: 18px; padding-left: 18px; }
  .profile-summary { padding-right: 18px; padding-left: 18px; }
  .profile-summary-top h2 { font-size: 26px; }
  .profile-edit-link { min-height: 37px; padding: 0 13px; font-size: 12px; }
  .profile-summary p { font-size: 15px; }
  .profile-menu-group h2 { font-size: 19px; }
  .profile-menu-row { font-size: 17px; }
  .profile-logout { margin-top: 47px; }
  .pet-profile-page { padding-right: 16px; padding-left: 16px; }
  .pet-profile-photo { width: 164px; height: 164px; margin-bottom: 30px; }
  .pet-profile-fields { column-gap: 12px; row-gap: 16px; }
  .pet-profile-page .pet-card.pet-profile-overview-card { min-height: 0; padding: 18px 20px 56px; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; }
  .pet-profile-overview-card .pet-profile-card-avatar { width: 88px; height: 88px; }
  .pet-profile-overview-card .pet-profile-button { min-height: 44px; padding: 0 28px; font-size: 18px; }
  .pet-profile-swap-arrow { width: 38px; height: 38px; font-size: 27px; }
  .pet-avatar-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .pet-avatar-choice { min-height: 112px; padding: 7px 3px; border-radius: 12px; }
  .pet-avatar-choice img { width: 64px; height: 64px; }
  .pet-avatar-choice span { font-size: 8px; }
  .pet-care-links .profile-menu-row { min-height: 54px; font-size: 17px; }
  .pet-overview-media, .pet-profile-overview-card, .pet-care-menu, .pet-care-panel { width: 100%; }
  .pet-care-panel { padding: 17px; }
  .pet-form-field { font-size: 15px; }
  .pet-form-field input, .pet-form-field select { height: 60px; padding: 0 12px; }
  .pet-form-field input[type="date"] { height: 60px; padding: 0 12px; }
  .pet-birth-date-selects { gap: 6px; }
  .pet-birth-date-selects select { height: 60px; padding: 0 20px 0 8px !important; background-position: right 5px center !important; background-size: 9px 7px !important; font-size: 12px; }
  .pet-form-field select { padding-right: 42px; background-position: right 17px center; }
  .pet-remark-entry { gap: 8px; }
  .pet-add-remark { min-width: 112px; padding: 0 11px; font-size: 13px; }
  .pet-remark-chip { font-size: 12px; }
  .pet-save-profile { min-height: 60px; font-size: 21px; }
}

/* Adjust the shared header and marketing components for smaller screens. */
@media (max-width: 900px) {
  .nav-links { gap: 19px; }
  .hero { padding: 55px 5%; grid-template-columns: 1.05fr .95fr; }
  .sun { width: 290px; height: 290px; }
  .float-card.top { right: -2%; }.float-card.bottom { left: -8%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .site-header { width: calc(100% - 36px); height: 72px; }
  .brand { font-size: 24px; }.brand-image { height: 40px; }
  .nav-links { display: none; }
  .nav-actions { gap: 4px; }.nav-login { padding: 10px; font-size: 13px; }.nav-actions .button { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 12px; }
  .hero { width: calc(100% - 24px); min-height: auto; margin-top: 4px; padding: 38px 25px 25px; border-radius: 26px; grid-template-columns: 1fr; }
  .hero h1 { max-width: 460px; margin-top: 18px; font-size: clamp(43px, 13vw, 61px); letter-spacing: -3px; }
  .hero-copy > p { max-width: 430px; font-size: 15px; }
  .hero-buttons .button { flex: 1; min-width: 145px; padding: 0 15px; }
  .social-proof { margin-top: 25px; }
  .hero-art { min-height: 310px; margin: 4px -15px 0; }
  .sun { width: 258px; height: 258px; transform: translate(-50%, -49%); }
  .pet-illustration { width: min(92%, 340px); }
  .float-card { padding: 9px 11px; gap: 8px; border-radius: 14px; }.float-icon { width: 33px; height: 33px; border-radius: 11px; font-size: 17px; }
  .float-card.top { top: 8%; right: 0; }.float-card.bottom { left: 0; bottom: 5%; }
  .section { width: calc(100% - 36px); margin: 78px auto; }
  .section-heading { margin-bottom: 27px; }.section-heading h2 { font-size: 34px; }
  .service-grid { gap: 11px; }.service-card { min-height: 180px; padding: 17px 15px; border-radius: 18px; }.service-icon { width: 42px; height: 42px; margin-bottom: 20px; border-radius: 14px; font-size: 20px; }.service-card h3 { font-size: 15px; }.service-card p { font-size: 12px; }
  .care-band { width: calc(100% - 24px); min-height: auto; margin-bottom: 64px; padding: 35px 26px; align-items: flex-start; flex-direction: column; border-radius: 24px; }
  .care-band .button { width: 100%; }.site-footer { width: calc(100% - 36px); min-height: 110px; flex-wrap: wrap; justify-content: space-between; padding: 17px 0; gap: 6px; }.footer-note { order: 3; width: 100%; }.footer-links { gap: 15px; }
  .auth-shell { width: calc(100% - 36px); min-height: calc(100svh - 129px); padding: 24px 0; }
  .auth-panel { max-width: 480px; padding: 8px 2px; }.auth-panel h2 { font-size: 29px; }.auth-intro { margin-bottom: 23px; }.auth-footer { width: calc(100% - 36px); }
}

@media (max-width: 420px) {
  .pet-avatar-choice img { width: 70px; height: 70px; }
  .pet-avatar-choice span { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Mobile-first Furgo customer home: orange welcome area, search, credits, and service shortcuts. */
.mobile-home { min-height: 100vh; padding-bottom: calc(94px + env(safe-area-inset-bottom)); overflow: hidden; background: #fff7ef; }
.home-orange { position: relative; padding: calc(22px + env(safe-area-inset-top)) 22px 40px; color: #fff; background: linear-gradient(180deg, #fe7801 0%, #fe7801 58%, #ff963f 77%, #ffe5ce 93%, #fff7ef 100%); }
.home-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 -5px; }
.home-greeting-title { min-width: 0; display: flex; align-items: flex-start; gap: 1.5px; }
.home-greeting-rays { width: 32px; height: 29px; flex: 0 0 32px; margin-top: -4px; overflow: visible; transform: scaleX(-1) rotate(-45deg); fill: none; stroke: #fff; stroke-linecap: round; stroke-width: 3; }
.home-kicker { display: block; margin-bottom: 3px; color: #fff6ed; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.home-topline h1 { margin: 0; font: 700 clamp(34px, 9vw, 47px)/1.05 'Avenir Next', 'Avenir Next'; letter-spacing: -2px; }
.notification-button { width: 49px; height: 49px; flex: 0 0 auto; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: transparent; }
.notification-button img { width: 25px; height: 25px; object-fit: contain; }
.home-search { height: 55px; position: relative; z-index: 5; display: flex; align-items: center; gap: 12px; margin: 0; padding: 0 17px; border: 1px solid rgba(255, 255, 255, .82); border-radius: 32px; color: #777; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 22px rgba(104, 52, 19, .15), 0 2px 6px rgba(104, 52, 19, .08); }
.mobile-home > .home-orange > .home-search { margin: 13.8px -5px 7.2px; }
.home-search-placeholder { min-width: 0; flex: 1; overflow: hidden; color: #777; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.search-symbol { width: 19px; height: 19px; flex: 0 0 auto; position: relative; border: 2px solid #777; border-radius: 50%; }
.search-symbol::after { content: ''; position: absolute; width: 8px; height: 2px; right: -6px; bottom: -3px; transform: rotate(47deg); border-radius: 2px; background: #777; }
.home-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.home-search input::placeholder { color: #777; opacity: 1; }
.search-hint { flex: 0 0 auto; color: #aaa; font-size: 10px; }
.search-page { min-height: 100vh; min-height: 100svh; color: #252326; background: #fff; }
.search-page-header { min-height: calc(78px + env(safe-area-inset-top)); display: flex; align-items: flex-end; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 16px 14px; background: #fe7801; }
.search-back { width: 28px; height: 48px; display: grid; flex: 0 0 28px; place-items: center; color: #fff; font-size: 34px; line-height: 1; }
.search-page-form { min-width: 0; height: 48px; flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 14px; border-radius: 26px; background: #fff; }
.search-page-form .search-symbol { width: 16px; height: 16px; border-width: 1.5px; }
.search-page-form .search-symbol::after { width: 7px; height: 1.5px; right: -5px; bottom: -2px; }
.search-page-form input { min-width: 0; flex: 1; font-size: 14px; }
.search-page-form input::placeholder { color: #96918e; opacity: 1; }
.search-page-form button { height: 30px; padding: 0 4px 0 10px; border: 0; border-left: 1px solid #e8e4e1; color: #fe7801; background: transparent; font: 600 13px 'Avenir Next'; }
.search-page-content { width: min(100%, 820px); margin: 0 auto; padding: 24px 20px 40px; }
.search-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.search-section-heading h2, .search-discover-section h2 { margin: 0 0 15px; font: 700 17px/1.3 'Avenir Next'; }
.search-section-heading button { margin: 0 0 15px; padding: 4px 0; border: 0; color: #d85d00; background: transparent; font: 600 14px 'Avenir Next'; }
.search-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.search-chip { min-height: 40px; padding: 0 16px; border: 1px solid #eee9e5; border-radius: 24px; color: #4e4945; background: #fff; font: 400 14px 'Avenir Next'; }
.search-discover-section { margin-top: 30px; }
.search-discover-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.search-discover-item { min-height: 42px; padding: 7px 0; border: 0; color: #4c4743; background: transparent; font: 400 14px 'Avenir Next'; text-align: left; }
.search-discover-item:active, .search-chip:active { color: #d85d00; }
.search-results-section[hidden], .search-recent-section[hidden], .search-discover-section[hidden] { display: none; }
.search-result-list { margin: 0; padding: 0; list-style: none; }
.search-result-list li + li { border-top: 1px solid #f1ece8; }
.search-result-item { min-height: 64px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 2px; }
.search-result-item strong { color: #252326; font-size: 15px; }
.search-result-item span { color: #817a77; font-size: 13px; }
.search-no-results { padding: 18px 0; color: #746e69; font-size: 15px; }
.local-finder-page { min-height: 100vh; min-height: 100svh; padding-bottom: calc(96px + env(safe-area-inset-bottom)); color: #171719; background: #fff7ed; }
.local-finder-header { min-height: calc(106px + env(safe-area-inset-top)); display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 10px; padding: calc(28px + env(safe-area-inset-top)) 22px 12px; }
.local-finder-page:not(.local-finder-subpage) > .local-finder-header { width: min(100%, 980px); box-sizing: border-box; margin: 0 auto; }
.local-finder-header > a { width: 42px; height: 48px; display: grid; place-items: center; color: #171719; font-size: 42px; line-height: 1; }
.local-finder-header h1 { margin: 0; font: 700 clamp(22px, 5.2vw, 32px)/1.15 'Avenir Next'; text-align: center; }
.local-finder-content { width: min(100%, 980px); display: grid; gap: 22px; margin: 0 auto; padding: 14px 22px 32px; }
.local-finder-search { min-width: 0; min-height: 50px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; overflow: hidden; padding: 0 6px 0 15px; border: 1px solid #f1e7df; border-radius: 28px; background: #fff; box-shadow: 0 3px 4px #0000004d; }
.local-finder-search .search-symbol { width: 18px; height: 18px; }
.local-finder-search input { width: 100%; min-width: 0; min-height: 46px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: 400 14px 'Avenir Next'; }
.local-finder-search input::placeholder { color: #928d89; }
.local-finder-search button { min-height: 38px; padding: 0 15px; border: 0; border-radius: 22px; color: #fff; background: var(--orange); font: 700 12px 'Avenir Next'; cursor: pointer; }
.local-finder-share-card { min-height: 154px; position: relative; display: grid; grid-template-columns: minmax(125px, 34%) minmax(0, 1fr); align-items: center; column-gap: 16px; overflow: visible; padding: 14px 20px 14px 14px; border: 1px solid #f8c9ad; border-radius: 27px; background: #ffddc8; box-shadow: 3px 5px 6px #38241226; }
.local-finder-share-art { width: 36%; max-width: 300px; height: calc(100% + 36px); position: absolute; z-index: 1; top: -18px; left: -14px; justify-self: center; transform: none; object-fit: contain; }
.local-finder-share-card > div { min-width: 0; grid-column: 2; position: relative; z-index: 2; padding: 4px 0; }
.local-finder-share-card h2 { margin: 0 0 5px; font: 700 clamp(21px, 5vw, 34px)/1.1 'Avenir Next'; }
.local-finder-share-card p { max-width: 460px; margin: 0 0 16px; font-size: clamp(12px, 2.3vw, 17px); line-height: 1.35; }
.local-finder-share-card .button { min-height: 42px; padding: 0 22px; border-radius: 24px; font-size: 15px; }
.local-finder-nearby h2 { margin: 14px 0 12px 7px; font: 700 clamp(15px, 3.2vw, 21px)/1.25 'Avenir Next'; }
.local-finder-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.local-finder-category { min-width: 0; display: grid; justify-items: center; gap: 7px; padding: 0 2px; border: 0; color: #171719; background: transparent; cursor: pointer; }
.local-finder-category img { width: clamp(52px, 15vw, 82px); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(1px 3px 3px #38241238); transition: transform .18s ease; }
.local-finder-category:hover img { transform: translateY(-2px); }
.local-finder-category span { font-size: clamp(10px, 2.7vw, 14px); line-height: 1.15; text-align: center; }
.local-finder-favorites-banner { min-height: 94px; display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; align-items: center; gap: 13px; padding: 14px 17px; border: 1px solid #f1dfd0; border-radius: 20px; color: #29272c; background: #fff; box-shadow: 2px 4px 8px #38241216; text-decoration: none; }
.local-finder-favorites-banner > span:first-child { min-width: 0; display: grid; gap: 4px; }
.local-finder-favorites-banner strong { font: 700 18px/1.2 'Avenir Next'; }
.local-finder-favorites-banner small { color: #655c57; font-size: 12px; line-height: 1.35; }
.local-finder-favorites-count { padding: 6px 9px; border-radius: 999px; color: #b9540a; background: #fff6ee; font-size: 11px; font-weight: 700; white-space: nowrap; }
.local-finder-favorites-banner > b { color: #c65b0a; font-size: 25px; font-weight: 400; }
.local-finder-announcements { min-width: 0; }
.local-finder-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px 7px; }
.local-finder-section-heading h2 { margin: 0; font: 700 clamp(18px, 4vw, 23px)/1.2 'Avenir Next'; }
.local-finder-section-heading > span { color: #837870; font-size: 11px; }
.local-finder-announcement-track { display: flex; gap: 12px; overflow-x: auto; margin-right: -22px; padding: 2px 22px 12px 0; scrollbar-width: none; scroll-snap-type: x mandatory; }
.local-finder-announcement-track::-webkit-scrollbar { display: none; }
.local-finder-announcement-card { min-width: min(82%, 560px); flex: 0 0 min(82%, 560px); overflow: hidden; border: 1px solid #f4d7c3; border-radius: 19px; color: inherit; background: #fff; box-shadow: 0 5px 14px #38241212; scroll-snap-align: start; text-decoration: none; }
.local-finder-announcement-card > img { width: 100%; aspect-ratio: 2 / 1; display: block; object-fit: cover; background: #ffddc8; }
.local-finder-announcement-copy { display: grid; gap: 4px; padding: 11px 14px 13px; }
.local-finder-announcement-copy h3 { margin: 0; font: 700 16px/1.25 'Avenir Next'; }
.local-finder-announcement-copy p { margin: 0; color: #756e69; font-size: 12px; line-height: 1.45; }
.local-finder-place-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.local-finder-detail-summary .local-finder-place-title-row h2 { min-width: 0; margin: 5px 0 2px; }
.local-finder-favorite-toggle { flex: 0 0 auto; }
.local-finder-favorite-button { min-height: 36px; flex: 0 0 auto; padding: 0 15px; border: 1px solid #fe7801; border-radius: 22px; color: #e96800; background: transparent; font-size: 12px; white-space: nowrap; }
.admin-announcements-panel { margin-top: 20px; }
.admin-promo-form textarea { width: 100%; min-height: 82px; padding: 12px 14px; resize: vertical; border: 1px solid #e8ded7; border-radius: 12px; color: var(--ink); background: #fff; font: 15px/1.45 'Avenir Next'; }
.local-finder-map-wrap { aspect-ratio: .94 / 1; position: relative; overflow: hidden; border-radius: 28px; background: #eee9e1; box-shadow: 2px 4px 6px #38241226; }
.local-finder-map-wrap iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.local-finder-map-locate { width: 42px; height: 42px; position: absolute; top: 12px; right: 12px; display: grid; place-items: center; border: 1px solid #e9dfd6; border-radius: 50%; color: #d85f00; background: #fff; box-shadow: 0 2px 8px #0002; font-size: 28px; cursor: pointer; }
.local-finder-feedback { max-width: calc(100% - 28px); position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); margin: 0; padding: 7px 11px; border-radius: 10px; color: #403b38; background: #fffef2e8; font-size: 10px; text-align: center; }
.local-finder-share-dialog { width: min(500px, calc(100% - 28px)); max-height: min(90vh, 760px); padding: 0; border: 1px solid #f1ddcf; border-radius: 22px; color: #29272c; background: #fffaf6; box-shadow: 0 20px 65px #21170f55; }
.local-finder-share-dialog::backdrop { background: #2a211dc2; backdrop-filter: blur(3px); }
.local-finder-limit-dialog { width: min(420px, calc(100% - 32px)); padding: 0; border: 1px solid #f1ddcf; border-radius: 20px; color: #29272c; background: #fffaf6; box-shadow: 0 20px 65px #21170f55; }
.local-finder-limit-dialog::backdrop { background: #2a211dc2; backdrop-filter: blur(3px); }
.local-finder-limit-dialog > div { display: grid; justify-items: start; gap: 12px; padding: 22px; }
.local-finder-limit-dialog h2 { margin: 0; font: 700 20px 'Avenir Next'; }
.local-finder-limit-dialog p { margin: 0; color: #756e69; font-size: 13px; line-height: 1.5; }
.local-finder-suggestion-form { display: grid; gap: 13px; padding: 20px; }
.local-finder-suggestion-form header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.local-finder-suggestion-form header span { color: #d85f00; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.local-finder-suggestion-form h2 { margin: 3px 0 0; font: 700 23px 'Avenir Next'; }
.local-finder-suggestion-form header button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: #513d32; background: #f5e7dc; font-size: 22px; cursor: pointer; }
.local-finder-suggestion-form label { display: grid; gap: 6px; color: #4c4540; font-size: 12px; }
.local-finder-suggestion-form label span { display: inline; color: #827b77; font-weight: 400; }
.local-finder-suggestion-form input, .local-finder-suggestion-form select, .local-finder-suggestion-form textarea { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #eadfd7; border-radius: 11px; color: #29272c; background: #fff; font: 400 14px 'Avenir Next'; }
.local-finder-suggestion-form textarea { resize: vertical; }
.local-finder-suggestion-form .button { min-height: 44px; }
.local-finder-duplicate-dialog .local-finder-suggestion-form > p { margin: 0; color: #655c57; font-size: 14px; line-height: 1.55; }
.local-finder-suggestion-feedback { min-height: 16px; margin: 0; color: #438253; font-size: 11px; }
.local-finder-suggestion-feedback.is-error, .local-finder-photo-feedback { color: #d92332; font-size: 14px; font-weight: 700; }
.local-finder-form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.local-finder-opening-hours-field { min-width: 0; display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.local-finder-opening-hours-field legend { margin-bottom: 2px; color: #4c4540; font-size: 12px; }
.local-finder-opening-hours-form { display: grid; gap: 7px; }
.local-finder-opening-hour-row { display: grid; grid-template-columns: 82px 100px minmax(0, 1fr); align-items: center; gap: 8px; }
.local-finder-opening-hour-row > strong { color: #4c4540; font-size: 12px; font-weight: 500; }
.local-finder-opening-hour-row select { min-width: 0; min-height: 40px; padding: 7px 8px; font-size: 12px; }
.local-finder-opening-hour-times { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 5px; }
.local-finder-opening-hour-times[hidden] { display: none; }
.local-finder-opening-hour-times > span { color: #746e69; font-size: 11px; }
.local-finder-cover-photo-preview[hidden] { display: none !important; }
.local-finder-cover-photo-dialog { width: min(92vw, 660px); max-width: calc(100vw - 28px); max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; padding: 24px; border: 0; border-radius: 24px; color: var(--ink); background: #fffaf6; box-shadow: 0 18px 60px #26150d40; }
.local-finder-cover-photo-dialog::backdrop { background: #1b130e80; backdrop-filter: blur(3px); }
.local-finder-cover-photo-dialog h2 { margin: 0 0 5px; font: 700 21px/1.3 'Avenir Next'; }
.local-finder-cover-photo-dialog > p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.local-finder-cover-photo-viewport { width: 100%; aspect-ratio: 16 / 5; position: relative; overflow: hidden; margin: 0 auto; border: 3px solid var(--orange); border-radius: 14px; background: #f1eee9; touch-action: none; cursor: grab; }
.local-finder-cover-photo-viewport:active { cursor: grabbing; }
.local-finder-cover-photo-viewport img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; max-height: none; user-select: none; pointer-events: none; }
.local-finder-cover-photo-zoom { display: grid; gap: 8px; margin: 18px 2px 12px; color: var(--ink); font-size: 14px; font-weight: 700; }
.local-finder-cover-photo-zoom input { width: 100%; accent-color: var(--orange); }
.local-finder-cover-photo-reset { min-height: 34px; padding: 0 12px; border: 0; border-radius: 18px; color: var(--ink); background: #f1e9e2; font: 700 11px 'Avenir Next'; cursor: pointer; }
.local-finder-cover-photo-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.local-finder-cover-photo-actions button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 22px; color: var(--ink); background: #f1e9e2; font: 700 13px 'Avenir Next'; cursor: pointer; }
.local-finder-cover-photo-actions [data-place-photo-use] { color: #fff; background: var(--orange); }
.local-finder-cover-photo-actions button:disabled { opacity: .6; cursor: wait; }
.local-finder-location-picker { position: relative; display: grid; gap: 11px; padding: 13px 13px 40px; border: 1px solid #f1ddcf; border-radius: 15px; color: #fff; background: #fe7801; }
.local-finder-location-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.local-finder-location-picker-heading > div { display: grid; gap: 3px; }
.local-finder-location-picker-heading strong { color: #fff; font-size: 13px; }
.local-finder-location-picker-heading span { color: #fff7ed; font-size: 11px; line-height: 1.4; }
.local-finder-location-picker .button { min-height: 36px; padding: 0 13px; border: 1px solid #fff; border-radius: 11px; color: #e76500; background: #fff; box-shadow: 0 3px 7px #8d3d0e38; font-size: 11px; white-space: nowrap; }
.local-finder-location-picker .button:disabled { opacity: .6; cursor: wait; }
.local-finder-location-picker > [data-place-use-location] { justify-self: start; border-width: 2px; color: #fff; background: rgb(255 255 255 / 10%); box-shadow: none; }
.local-finder-location-picker > [data-place-use-location]:hover { background: #e76500; }
.local-finder-location-search { display: grid; gap: 5px; }
.local-finder-location-search > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; overflow: hidden; border: 1px solid #fff; border-radius: 11px; background: #fff; }
.local-finder-location-search input { width: 100%; min-width: 0; min-height: 36px; padding: 8px 11px; border: 0; border-radius: 0; outline-color: #fff; color: #29272c; background: #fff; font: 400 12px 'Avenir Next'; }
.local-finder-location-search .button { min-height: 36px; border: 0; border-left: 1px solid #f1ddcf; border-radius: 0; box-shadow: none; }
.local-finder-location-results { width: 100%; display: grid; gap: 6px; color: #fff; font-size: 11px; }
.local-finder-location-results:empty { display: none; }
.local-finder-location-results > p { margin: 0; }
.local-finder-location-result { display: grid; gap: 2px; padding: 9px 10px; border: 1px solid #eadfd7; border-radius: 10px; color: #29272c; background: #fff; text-align: left; cursor: pointer; }
.local-finder-location-result:hover, .local-finder-location-result:focus-visible { border-color: #ff7900; outline: none; }
.local-finder-location-result strong { font-size: 12px; font-weight: 600; }
.local-finder-location-result span { color: #756e69; font-size: 10px; }
.local-finder-location-results .local-finder-location-selected { color: #438253; }
.local-finder-selected-address { width: 100%; margin: 0; padding: 8px 10px; border-radius: 9px; color: #fffaf5; background: #e76c00; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.local-finder-map-attribution { margin: 0; color: #fff7ed; font-size: 8px; line-height: 1.4; }
.local-finder-google-attribution { position: absolute; right: 3px; bottom: 7px; width: fit-content; margin: 0; padding: 5px 10px; display: flex; align-items: center; background: transparent; }
.local-finder-google-attribution img { width: auto; height: 16px; display: block; }
.local-finder-map-attribution a { color: inherit; text-decoration: underline; }
.local-finder-cover-photo-field { display: grid; gap: 7px; }
.local-finder-cover-photo-field > span { color: #4c4540; font-size: 12px; }
.local-finder-cover-photo-preview { width: 100%; position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 5; border: 1px solid #eadfd7; border-radius: 12px; background: #fff5ed; }
.local-finder-cover-photo-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.local-finder-photo-feedback { margin: 0; }
.local-finder-photo-feedback[hidden] { display: none !important; }
.local-finder-cover-photo-field > small { color: #827b77; font-size: 10px; }
@media (max-width: 560px) { .local-finder-cover-photo-dialog { padding: 19px; } .local-finder-cover-photo-viewport { border-radius: 10px; } }
.local-finder-form-note, .local-finder-action-feedback { margin: 0; color: #756e69; font-size: 12px; line-height: 1.45; }
.local-finder-review-block { display: grid; justify-items: end; gap: 10px; }
.local-finder-review-block h3 { width: 100%; }
.local-finder-review-block > p.local-finder-action-feedback { width: 100%; min-height: 18px; display: block; padding: 0; background: transparent; text-align: left; }
.local-finder-review-block .button { min-height: 38px; padding: 0 20px; border-radius: 22px; }
.local-finder-review-block [data-place-recommend] { justify-self: start; }
.admin-local-finder-page { display: grid; gap: 20px; }
.admin-local-finder-page > .admin-local-finder-published-overview { margin-top: 0; }
.admin-local-finder-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.admin-local-finder-overview-grid > .admin-market-panel { min-width: 0; min-height: 174px; display: flex; flex-direction: column; margin: 0; }
.admin-local-finder-overview-grid .admin-local-finder-overview-action { align-self: flex-start; margin-top: auto; }
.admin-local-finder-overview-grid .admin-local-finder-list { margin-top: auto; }
.admin-local-finder-quota { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.admin-local-finder-quota > div:first-child { flex: 1 1 280px; }
.admin-local-finder-quota > div:first-child > span { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-local-finder-quota h2 { margin: 4px 0; color: #29272c; font-size: 18px; }
.admin-local-finder-quota p { margin: 0; color: #756e69; font-size: 12px; line-height: 1.5; }
.admin-local-finder-quota-meter { flex: 0 1 260px; min-width: min(100%, 220px); }
.admin-local-finder-quota-meter > strong { color: #373239; font-size: 15px; }
.admin-local-finder-quota-meter small { display: block; margin-top: 6px; color: #756e69; font-size: 11px; }
.admin-local-finder-quota-track { height: 9px; overflow: hidden; margin-top: 9px; border-radius: 8px; background: #f4e9e1; }
.admin-local-finder-quota-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--orange); transition: width .2s ease; }
.admin-local-finder-entry-banner { min-height: 138px; grid-template-columns: minmax(120px, 25%) minmax(0, 1fr); margin: 0; padding: 16px 24px 16px 16px; }
.admin-local-finder-page .admin-local-finder-entry-banner .local-finder-share-art { width: 27%; max-width: 250px; height: calc(100% + 30px); top: -15px; left: -10px; }
.admin-local-finder-entry-banner h2 { margin: 0 0 5px; font: 700 clamp(21px, 3vw, 30px)/1.1 'Avenir Next'; }
.admin-local-finder-entry-banner p { max-width: 560px; margin: 0 0 12px; font-size: 13px; line-height: 1.4; }
.admin-local-finder-entry-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-local-finder-entry-actions .button { min-height: 38px; padding: 0 17px; border-radius: 22px; font-size: 12px; }
.admin-local-finder-entry-actions .button-light { border: 1px solid #fff; color: #d85f00; background: #fffaf6; }
.admin-local-finder-back { width: fit-content; color: #d85f00; font-size: 13px; text-decoration: none; }
.admin-local-finder-bulk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.admin-local-finder-type-filter { display: flex; align-items: center; gap: 8px; color: #756e69; font-size: 12px; }
.admin-local-finder-type-filter select { min-height: 38px; padding: 0 30px 0 10px; border: 1px solid #ead9ca; border-radius: 10px; color: var(--ink); background: #fff; font: 400 12px 'Avenir Next'; }
.admin-local-finder-filter-row { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.admin-local-finder-card[hidden] { display: none !important; }
.admin-local-finder-bulk-actions > span { margin: 0 auto 0 4px; color: #756e69; font-size: 12px; }
.admin-local-finder-bulk-actions [disabled] { opacity: .55; cursor: not-allowed; }
.admin-local-finder-bulk-actions + p { min-height: 18px; margin: 8px 0 0; color: #3b7b48; font-size: 12px; }
.admin-local-finder-select { display: flex; align-items: center; gap: 8px; color: #514943; font-size: 12px; }
.admin-local-finder-select input { width: 18px; height: 18px; accent-color: #fe7801; }
.admin-local-finder-import { display: grid; gap: 12px; }
.admin-local-finder-import-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.admin-local-finder-import-controls label { min-width: min(320px, 100%); display: grid; gap: 6px; color: #514943; font-size: 12px; }
.admin-local-finder-import-controls input { min-height: 42px; padding: 8px 10px; border: 1px solid #eadfd7; border-radius: 10px; color: #29272c; background: #fff; font: 400 12px 'Avenir Next'; }
.admin-local-finder-import-controls .button, .admin-local-finder-import > .button { min-height: 40px; padding: 0 15px; font-size: 11px; }
.admin-local-finder-import-help, .admin-local-finder-import [data-local-finder-import-feedback] { margin: 0; color: #756e69; font-size: 11px; line-height: 1.5; }
.admin-local-finder-import-errors { display: grid; gap: 4px; max-height: 180px; overflow: auto; margin: 0; padding: 10px 12px 10px 30px; border-radius: 10px; color: #a54a28; background: #fff1e9; font-size: 11px; line-height: 1.4; }
.admin-local-finder-import-errors[hidden] { display: none; }
.admin-local-finder-import > .button:disabled { opacity: .55; cursor: not-allowed; }
.admin-local-finder-list { display: grid; gap: 13px; }
.admin-local-finder-card { display: grid; gap: 13px; padding: 15px; border: 1px solid #f1dfd2; border-radius: 17px; background: #fffaf6; }
.admin-local-finder-card-main { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 13px; }
.admin-local-finder-card-main > img, .admin-local-finder-photo-placeholder { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 12px; object-fit: cover; background: #ffeadc; color: #817a76; font-size: 10px; text-align: center; }
.admin-local-finder-card-main span, .admin-local-finder-card > span { color: #d85f00; font-size: 11px; }
.admin-local-finder-status { margin-left: 4px; color: #8a6b4b; font-weight: 500; }
.admin-local-finder-status.is-approved { color: #2e7d46; }
.admin-local-finder-status.is-hidden { color: #7d7773; }
.admin-local-finder-status.is-rejected { color: #aa4235; }
.admin-local-finder-card h3 { margin: 4px 0; font-size: 17px; }
.admin-local-finder-card-main p { margin: 0 0 4px; color: #77706c; font-size: 12px; }
.admin-local-finder-card-main small { color: #34783b; font-size: 11px; }
.admin-local-finder-review-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.admin-local-finder-review-links a, .admin-local-finder-card > a { color: #cf5b00; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.admin-local-finder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.admin-local-finder-actions input { min-width: min(260px, 100%); min-height: 38px; flex: 1 1 220px; padding: 8px 10px; border: 1px solid #e7d9ce; border-radius: 10px; background: #fff; font: 400 12px 'Avenir Next'; }
.admin-local-finder-actions .button { min-height: 38px; padding: 0 13px; font-size: 11px; }
.admin-local-finder-rejection { margin: 0; color: #9b4335; font-size: 12px; }
.admin-local-finder-change-list { display: grid; gap: 7px; margin: 0; }
.admin-local-finder-change-list > div { display: grid; grid-template-columns: minmax(100px, 30%) minmax(0, 1fr); gap: 10px; }
.admin-local-finder-change-list dt { color: #817a76; font-size: 11px; }
.admin-local-finder-change-list dd { margin: 0; color: #37322f; font-size: 12px; overflow-wrap: anywhere; }
.admin-local-finder-direct-form { max-width: 920px; padding: 0; }
.admin-local-verified-input { display: flex !important; align-items: center; gap: 9px !important; }
.admin-local-verified-input input { width: 18px; min-height: 18px; }
.admin-local-finder-direct-form [data-admin-local-feedback] { min-height: 18px; margin: 0; color: #3b7b48; font-size: 12px; }
.local-finder-subpage { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.local-finder-list-page .local-finder-header { width: min(100%, 980px); box-sizing: border-box; margin: 0 auto; padding-right: calc(22px + 5%); padding-left: calc(22px + 5%); }
.local-finder-place-page .local-finder-header { width: min(100%, 980px); box-sizing: border-box; margin: 0 auto; padding-right: 0; padding-left: 0; }
.local-finder-list-content { gap: 14px; padding-top: 4px; }
.local-finder-list-content { padding-right: calc(22px + 5%); padding-left: calc(22px + 5%); }
.local-finder-results-location { margin: 0 4px; color: #726a66; font-size: 13px; }
.local-finder-osm-attribution { margin: 0; color: #726a66; font-size: 11px; text-align: center; }
.local-finder-osm-attribution a { color: inherit; }
.local-finder-place-list { display: grid; gap: 20px; }
.local-finder-place-card { display: block; overflow: hidden; border: 1px solid #eee6df; border-radius: 20px; color: inherit; background: #fff; box-shadow: 2px 4px 6px #38241226; }
.local-finder-place-card-copy { min-height: 101px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 3px 8px; padding: 9px 12px 8px; }
.local-finder-place-card-copy > span { color: #252326; font-size: 13px; }
.local-finder-place-card-copy h2 { grid-column: 1 / -1; overflow: hidden; margin: 0; color: #e56b0a; font: 700 clamp(18px, 3.5vw, 24px)/1.08 'Avenir Next'; text-overflow: ellipsis; white-space: nowrap; }
.local-finder-place-card-copy p { grid-column: 1 / -1; overflow: hidden; margin: 0; color: #34783b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.local-finder-place-card-remarks { min-width: 0; grid-column: 1 / -1; display: flex; flex-wrap: nowrap; gap: 5px; overflow: hidden; white-space: nowrap; }
.local-finder-place-card-remarks > span { min-width: 0; overflow: hidden; flex: 0 1 auto; padding: 4px 8px; border-radius: 12px; color: #bd5b0d; background: #ffe5d2; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.local-finder-verified { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 3px 7px; border-radius: 14px; color: #b45706; background: #ffe3cc; font-size: 10px; line-height: 1; vertical-align: middle; white-space: nowrap; }
.local-finder-verified img { width: 13px; height: 13px; object-fit: contain; }
.local-finder-place-card-photo { height: clamp(105px, 31vw, 196px); display: grid; place-items: center; overflow: hidden; background: #ffddc8; }
.local-finder-place-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.local-finder-place-no-photo, .local-finder-detail-no-photo { color: #94847b; font-size: clamp(18px, 4vw, 25px); }
.local-finder-attribution { margin: 0 3px 12px; color: #817a76; font-size: 10px; line-height: 1.45; }
.local-finder-empty, .local-finder-loading { margin: 0; padding: 22px 18px; border-radius: 17px; color: #756e69; background: #fff; font-size: 14px; line-height: 1.5; }
.local-finder-back-button { width: fit-content; }
.local-finder-place-detail { width: min(100%, 980px); margin: 0 auto; padding-bottom: 10px; }
.local-finder-detail-image { height: min(57.6vw, 396px); min-height: 198px; display: grid; place-items: center; overflow: hidden; background: #ffddc8; }
.local-finder-detail-photo { width: 100%; height: 100%; object-fit: cover; }
.local-finder-detail-no-photo { font-size: 22px; }
.local-finder-detail-summary { padding: 18px calc(22px + 5%) 16px; background: #fff0e5; }
.local-finder-detail-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #36793f; font-size: 12px; }
.local-finder-detail-meta > span { flex: 0 0 auto; color: #252326; font-size: 15px; }
.local-finder-detail-meta .local-finder-detail-recommend { min-width: 0; flex-wrap: wrap; }
.local-finder-detail-summary h2 { margin: 5px 0 2px; color: #e56b0a; font: 700 clamp(25px, 6vw, 38px)/1.1 'Avenir Next'; }
.local-finder-detail-summary > p { margin: 0 0 10px; font-size: 13px; }
.local-finder-rule-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.local-finder-rule-chips span { padding: 6px 11px; border-radius: 20px; color: #bd5b0d; background: #ffe0ca; font-size: 11px; }
.local-finder-detail-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, auto); gap: 15px; padding: 15px calc(22px + 5%); background: #fff; }
.local-finder-detail-contact > div:first-child { display: flex; gap: 7px; font-size: 13px; line-height: 1.45; }
.local-finder-detail-contact > div:first-child strong { flex: 0 0 auto; }
.local-finder-direction { display: grid; justify-items: center; align-content: start; gap: 6px; font-size: 12px; }
.local-finder-direction .button { min-height: 38px; padding: 0 20px; border-radius: 22px; }
.local-finder-directions-menu { position: relative; }
.local-finder-directions-menu > summary { list-style: none; cursor: pointer; }
.local-finder-directions-menu > summary::-webkit-details-marker { display: none; }
.local-finder-directions-menu[open] > div { min-width: 150px; position: absolute; z-index: 5; top: calc(100% + 7px); right: 0; display: grid; overflow: hidden; border: 1px solid #f0dfd2; border-radius: 12px; background: #fff; box-shadow: 0 5px 16px #38241224; }
.local-finder-directions-menu [role="menuitem"] { padding: 11px 14px; color: #29272c; font-size: 13px; text-align: left; text-decoration: none; }
.local-finder-directions-menu [role="menuitem"] + [role="menuitem"] { border-top: 1px solid #f0e7e0; }
.local-finder-directions-menu [role="menuitem"]:hover { background: #fff3e9; }
.local-finder-detail-facts { display: grid; gap: 0; padding: 12px calc(22px + 5%) 18px; }
.local-finder-detail-facts > p { display: grid; grid-template-columns: minmax(100px, 34%) minmax(0, 1fr); gap: 12px; margin: 0; padding: 9px 0; font-size: 15px; line-height: 1.35; }
.local-finder-detail-facts h3 { margin: 12px 0 7px; font: 600 17px 'Avenir Next'; }
.local-finder-detail-facts .local-finder-opening-hours { display: grid; gap: 7px; padding-top: 0; color: #171719; }
.local-finder-opening-hours-row { display: grid; grid-template-columns: minmax(90px, 28%) minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.35; }
.local-finder-detail-facts a { color: #bd5b0d; overflow-wrap: anywhere; }
.local-finder-detail-actions { display: grid; justify-items: start; gap: 12px; padding: 12px calc(22px + 5%) 18px; }
.local-finder-detail-recommend { display: flex; align-items: center; gap: 8px; color: #36793f; font-size: 12px; }
.local-finder-recommend-button { min-height: 32px; flex: 0 0 auto; padding: 0 12px; border: 0; border-radius: 18px; color: #fff; background: #43844b; box-shadow: 0 4px 10px #234a2940; font: 600 11px 'Avenir Next'; cursor: pointer; }
.local-finder-recommend-button:disabled { opacity: .6; cursor: wait; }
.local-finder-detail-actions .local-finder-action-feedback { width: 100%; }
.local-finder-detail-actions [data-place-action-feedback]:empty { display: none; }
.local-finder-detail-actions .button { min-height: 38px; padding: 0 20px; border-radius: 22px; }
.local-finder-reviews { display: grid; gap: 13px; padding: 18px calc(22px + 5%) 28px; border-top: 1px solid #f1e5db; }
.local-finder-reviews-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.local-finder-reviews-heading h3 { margin: 0; font: 700 19px 'Avenir Next'; }
.local-finder-reviews-heading > span { color: #756e69; font-size: 12px; }
.local-finder-review-list { display: grid; gap: 9px; }
.local-finder-review { padding: 13px 15px; border: 1px solid #f1e5db; border-radius: 14px; background: #fff; }
.local-finder-review > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.local-finder-review > header strong { color: #29272c; font-size: 13px; }
.local-finder-review > header time { flex: 0 0 auto; color: #817a76; font-size: 11px; }
.local-finder-review > p { margin: 7px 0 0; color: #4c4540; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.local-finder-review-empty { margin: 0; color: #756e69; font-size: 13px; line-height: 1.5; }
.local-finder-review-form { display: grid; gap: 9px; }
.local-finder-review-form > label { color: #4c4540; font-size: 12px; font-weight: 600; }
.local-finder-review-form textarea { width: 100%; min-height: 95px; padding: 11px 12px; resize: vertical; border: 1px solid #eadfd7; border-radius: 11px; color: #29272c; background: #fff; font: 400 13px/1.5 'Avenir Next'; }
.local-finder-review-form textarea:focus { border-color: #fe7801; outline: 2px solid #fe780126; }
.local-finder-review-form > .button { justify-self: start; min-height: 38px; padding: 0 17px; border-radius: 22px; font-size: 12px; }
.local-finder-review-recommend-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.local-finder-review-recommend-row > span { color: #43844b; font-size: 14px; }
.local-finder-review-feedback { min-height: 0; margin: 0; color: #756e69; font-size: 12px; line-height: 1.4; }
.local-finder-review-feedback:empty { display: none; }
.local-finder-review-feedback.is-error { color: #d92332; font-size: 14px; font-weight: 700; }
.local-finder-place-page button, .local-finder-place-page .button { box-shadow: 0 4px 10px #71310f26; }
.local-finder-place-page button:hover, .local-finder-place-page .button:hover { box-shadow: 0 6px 13px #71310f35; }
.local-finder-suggest-edit { display: block; color: #d85f00; font-size: 13px; text-align: right; }
.credit-row { height: 220px; min-height: 220px; position: relative; display: block; margin: 0 -5px; padding: 0; }
/* Home header pet artwork scales to sit beside the Total Credit card. */
.home-pet-art { width: 50%; max-width: 220px; height: auto; position: absolute; z-index: 1; top: -3px; left: 23%; transform: translateX(-50%); object-fit: contain; filter: drop-shadow(0 7px 5px #71310f2b); }
.home-pet-assistant-shortcut { width: 65%; max-width: 320px; height: 100%; position: absolute; z-index: 1; top: -3px; left: 23%; display: block; transform: translateX(-50%); -webkit-clip-path: inset(0 var(--mascot-safe-right-inset, 0px) 0 0); clip-path: inset(0 var(--mascot-safe-right-inset, 0px) 0 0); color: #fff; text-decoration: none; touch-action: pan-y; cursor: pointer; }
.home-pet-assistant-shortcut:focus-visible { border-radius: 18px; outline: 3px solid #fff; outline-offset: 3px; }
.home-pet-assistant-shortcut > .home-pet-art { width: 110%; max-width: none; height: auto; position: absolute; top: -10%; left: -5%; transform: none; }
.home-pet-assistant-bubble { width: 54%; height: 68px; position: absolute; z-index: 2; top: 21px; right: 0; display: grid; align-content: center; gap: 4px; overflow: visible; padding: 8px 11px; border-radius: 15px; color: #71310f; background: #fbb478; box-shadow: none; text-decoration: none; }
.home-pet-assistant-name { min-width: 0; display: block; overflow: hidden; color: #71310f; font-size: 11px; font-weight: 800; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.home-pet-assistant-bubble::before { content: ''; position: absolute; top: 50%; right: auto; bottom: auto; left: -10px; width: 0; height: 0; transform: translateY(-50%); border-top: 9px solid transparent; border-right: 11px solid #fbb478; border-bottom: 9px solid transparent; filter: none; }
.home-pet-assistant-bubble [data-assistant-bubble-text] { display: -webkit-box; overflow: hidden; color: inherit; font-size: 12px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; transition: opacity .42s ease, transform .42s ease; }
.home-pet-assistant-bubble [data-assistant-bubble-text].is-fading { transform: translateY(3px); opacity: 0; }
/* Credit balance card uses a double-thickness white outline, a raised shadow, and the top-up icon. */
.credit-card { width: 54%; min-width: 0; min-height: 92px; position: absolute; z-index: 2; top: 109px; right: 0; left: auto; transform: none; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 13px 12px 13px 16px; border: 4px solid #fff; border-radius: 19px; color: white; background: #fe78010d; box-shadow: 0 12px 22px #79300038, 0 3px 7px #4d250026; }
.credit-label { margin-bottom: 1px; font-size: 14px; }
.credit-balance-row { min-width: 0; display: flex; align-items: center; gap: 7px; }
.credit-card strong { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; font: 700 clamp(15px, 5.4vw, 25px)/1.08 'Avenir Next'; letter-spacing: -.7px; }
.wallet-mark { width: 32px; height: 32px; flex: 0 0 32px; display: block; object-fit: contain; }
.service-shortcuts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 3px; margin: 0 -5px; padding: 13px 4px 12px; border: 1px solid rgba(255,255,255,.95); border-radius: 23px; color: #171719; background: linear-gradient(145deg, #fff 0%, #fffdfb 66%, #fff8f1 100%); box-shadow: 0 12px 20px #71310f24, 0 4px 8px #ce580040, inset 0 2px 0 #fff, inset 0 -3px 6px #8a3b1410; }
.shortcut { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; padding: 0 1px; text-align: center; }
.shortcut img { width: min(100%, 62px); height: 54px; object-fit: contain; }
.shortcut span { font-size: clamp(9px, 2.7vw, 12px); font-weight: 700; line-height: 1.15; }
/* Home content below the orange header: pet profile, promotions, and sign-up prompt. */
.home-content { width: 100%; position: relative; isolation: isolate; padding: 0 20px 18px; background: transparent; }
.home-content::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: linear-gradient(180deg, #fff7ef 0%, #fff 150px); pointer-events: none; }
.pet-section, .promo-section { margin: 0 0 27px; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.section-title-row h2 { margin: 0; font: 700 23px/1.2 'Avenir Next'; letter-spacing: -.8px; }
.mobile-home .home-content .section-title-row h2 { display: flex; align-items: center; gap: 10px; }
.mobile-home .home-content .section-title-row h2::before { content: ''; width: 6px; height: 1.2em; flex: 0 0 6px; border-radius: 5px; background: linear-gradient(180deg, #ff9c28, #ff7200); }
.small-link { color: var(--orange-dark); font-size: 11px; font-weight: 700; }
.pet-carousel { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px 0 0; padding: 12px 20px 18px 0; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-left: 0; }
.pet-carousel::-webkit-scrollbar { display: none; }
.pet-card, .add-pet-card { width: 340px; min-width: 340px; height: 214px; flex: 0 0 340px; scroll-snap-align: start; }
.pet-card { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; align-items: center; justify-content: center; column-gap: 12px; row-gap: 7px; padding: 18px 26px 54px; border: 0; border-radius: 22px; color: var(--ink); text-align: left; background: url("Image/Other%20Image/Pet%20Profile%20Background.png") center / 100% 100% no-repeat; box-shadow: 0px 4px 4px rgba(206, 88, 0, 0.55); }
.add-pet-card:focus-visible { outline: 3px solid #ff780066; outline-offset: 3px; }
.pet-photo-trigger { width: 92px; height: 92px; position: relative; grid-column: 1; grid-row: 1; justify-self: center; align-self: center; margin: 0; border-radius: 50%; cursor: default; }
.pet-avatar { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; background: #fff8f0; }
.pet-info { width: 100%; min-width: 0; grid-column: 2; grid-row: 1; align-self: start; padding: 0; text-align: left; }
.pet-info h3 { overflow: hidden; margin: 0 0 2px; font: 700 21px/1.1 'Avenir Next'; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.pet-info p { display: grid; grid-template-columns: 55px 1fr; gap: 4px; margin: 0 0 2px; font-size: 15px; line-height: 1.2; }
.pet-info .pet-description { display: block; overflow: hidden; padding-right: 0; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.pet-info .pet-weight { display: block; overflow: hidden; margin-top: 4px; font-size: 16px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pet-info .pet-vaccination-status { display: block; overflow: hidden; margin-top: 5px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pet-info .pet-vaccination-status.no-vaccination-cards { color: #9a9a9a; }
.pet-info .pet-vaccination-status.has-vaccination-cards { color: var(--ink); }
.pet-info p span { color: #70615a; }.pet-info p b { font-weight: 600; }
.pet-tags { width: 100%; min-width: 0; grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; overflow: hidden; gap: 4px; margin: 0; white-space: nowrap; }
.pet-tags span { min-width: 0; max-width: 100%; flex: 0 0 auto; overflow: hidden; padding: 5px 8px; border-radius: 20px; color: #c75b19; background: #ffcfaa; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.pet-profile-button { min-height: 36px; max-width: calc(100% - 56px); position: absolute; bottom: 12px; left: 50%; display: flex; align-items: center; justify-content: center; transform: translateX(-50%); padding: 0 20px; border: 0; border-radius: 20px; color: #fff; background: var(--orange); box-shadow: 3px 3px 3px rgba(206, 88, 0, 0.45); font-size: 14px; font-weight: 700; white-space: nowrap; }
.pet-profile-button:focus-visible { outline: 3px solid #ff780066; outline-offset: 3px; }
.add-pet-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 22px; color: var(--ink); background: #f3f3f3; box-shadow: 0px 4px 4px rgba(56, 56, 56, 0.45); cursor: pointer; }
.add-pet-plus { width: 64px; height: 64px; display: block; object-fit: contain; }
.add-pet-card small { font-size: 12px; font-weight: 600; }
.pet-tags span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pet-view-more { flex: 0 0 auto; align-self: center; color: var(--orange-dark); font-size: 10px; font-weight: 700; white-space: nowrap; }
.pet-tags [hidden] { display: none; }
.pet-dialog { width: min(92vw, 430px); max-height: 88vh; overflow-y: auto; padding: 24px; border: 0; border-radius: 24px; color: var(--ink); background: #fffaf6; box-shadow: 0 18px 60px #26150d40; }
.pet-dialog::backdrop { background: #1b130e80; backdrop-filter: blur(3px); }
.pet-dialog-form { display: grid; gap: 15px; }
.pet-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pet-dialog-heading h2 { margin: 0; font: 700 24px/1.2 'Avenir Next'; }
.pet-dialog-close { width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--ink); background: #f3e9df; font-size: 25px; cursor: pointer; }
.pet-dialog-form > label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.pet-dialog-form input, .pet-dialog-form select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #e8ded7; border-radius: 12px; background: white; color: var(--ink); font: inherit; font-weight: 400; }
.pet-dialog-form textarea { width: 100%; min-height: 118px; padding: 12px; border: 1px solid #e8ded7; border-radius: 12px; background: white; color: var(--ink); font: inherit; font-weight: 400; line-height: 1.5; resize: vertical; }
.pet-note-field span, .pet-note-intro { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.pet-note-intro { margin: -5px 0 0; }
.pet-dialog-form input[type="file"] { padding: 9px; }
.pet-dialog-form .button { min-height: 48px; }
.promo-section { margin-bottom: 23px; }
.arrow-button { width: 32px; height: 32px; padding: 0 0 4px; border: 0; color: var(--ink); background: transparent; font: 400 38px/1 'Avenir Next'; }
.promo-track { display: flex; gap: 10px; overflow-x: auto; margin-right: -20px; padding: 2px 20px 12px 0; scrollbar-width: none; scroll-snap-type: x mandatory; }
.promo-track::-webkit-scrollbar { display: none; }
.promo-banner { width: min(89%, 610px); min-width: min(89%, 610px); aspect-ratio: 2 / 1; flex: 0 0 min(89%, 610px); display: block; overflow: hidden; border: 1px solid #f6d5ba; border-radius: 21px; background: #fff1e5; box-shadow: 0 7px 13px #8d4e2718; scroll-snap-align: start; }
.promo-banner img { width: 100%; height: 100%; display: block; object-fit: cover; }
.promo-banner picture { display: block; width: 100%; height: 100%; }
.promo-empty { width: min(100%, 610px); margin: 0; padding: 24px; border-radius: 18px; color: var(--muted); background: #fff5eb; text-align: center; font-size: 13px; }
.promo-card { width: 89%; min-width: 89%; min-height: 164px; flex: 0 0 89%; display: flex; justify-content: space-between; overflow: hidden; position: relative; border: 1px solid #f6d5ba; border-radius: 21px; background: linear-gradient(110deg, #ff7900 0%, #ff9c37 48%, #ffead7 100%); box-shadow: 0 7px 13px #8d4e2718; scroll-snap-align: start; }
.referral-card { background: linear-gradient(115deg, #fff1e5 0%, #ffdfc3 100%); }.referral-card .promo-copy { color: var(--ink); }.referral-card .promo-label { color: white; background: var(--orange); }.referral-card .promo-art-placeholder { color: #be5a16; border-color: #d5834c88; background: #fff6; }
.promo-copy { width: 58%; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 16px 0 16px 17px; color: white; }
.promo-label { margin-bottom: 8px; padding: 5px 9px; border-radius: 7px; color: var(--ink); background: white; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.promo-copy strong { font: 700 23px/1.05 'Avenir Next'; letter-spacing: -.8px; }
.promo-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 11px; padding: 7px 10px; border-radius: 8px; color: var(--ink); background: white; font-size: 10px; font-weight: 700; }
.promo-cta b { color: var(--orange); }
.promo-art-placeholder { width: 42%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin: 8px; border: 1px dashed #fff8; border-radius: 14px; color: #fff8f1; background: #fff1; text-align: center; }
.promo-art-placeholder span { font-size: 29px; }.promo-art-placeholder small { max-width: 115px; font-size: 9px; line-height: 1.4; }
/* Admin promotion setup: standard 2:1 banner output, destination URL, and eight-item limit. */
.admin-portal-page { min-height: 100vh; padding: 24px max(22px, calc((100vw - 1040px) / 2)) 60px; background: #fff7ed; }
.admin-portal-header { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #f1dfd0; }
.admin-portal-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 17px 'Avenir Next'; }
.admin-portal-brand img { width: 40px; height: 40px; object-fit: contain; }
.admin-portal-account { display: flex; align-items: center; gap: 15px; color: var(--muted); font-size: 13px; }
.admin-portal-account a { color: var(--orange-dark); font-weight: 700; }
.admin-portal-account a.admin-customer-portal-link { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid #e9d9ca; border-radius: 18px; color: var(--ink); background: #fff; font-size: 11px; text-decoration: none; white-space: nowrap; }
.admin-customer-view-header { width: min(100%, 1040px); margin: 0 auto; padding: 10px 16px 14px; }
.admin-portal-account button { padding: 8px 14px; border: 1px solid #e9d9ca; border-radius: 18px; color: var(--ink); background: #fff; font-size: 12px; font-weight: 700; }
.admin-portal-welcome { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 42px 0 25px; }
.admin-portal-welcome > .portal-welcome-copy > span { color: var(--orange-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-portal-welcome h1 { margin: 5px 0; font: 700 clamp(30px, 6vw, 42px)/1.15 'Avenir Next'; letter-spacing: -1.5px; }
.admin-portal-welcome p { margin: 0; color: var(--muted); font-size: 14px; }
.admin-portal-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.admin-portal-stats article { display: grid; gap: 7px; padding: 20px; border: 1px solid #f1dfd0; border-radius: 18px; background: #fff; }
.admin-portal-stats article > span { color: var(--muted); font-size: 13px; }
.admin-portal-stats strong { color: var(--ink); font: 700 30px/1 'Avenir Next'; }
.admin-portal-stats small { color: var(--muted); font-size: 15px; }
.admin-search-analytics { margin-top: 20px; padding: 22px; border: 1px solid #f1dfd0; border-radius: 18px; background: #fff; }
.admin-search-analytics-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-search-analytics-heading > div > span { color: var(--orange-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-search-analytics-heading h2 { margin: 3px 0 5px; font: 700 21px/1.2 'Avenir Next'; }
.admin-search-analytics-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.admin-search-analytics-heading label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
.admin-search-analytics-heading select { min-height: 40px; padding: 0 30px 0 11px; border: 1px solid #ead9ca; border-radius: 9px; color: var(--ink); background: #fff; font: 600 13px 'Avenir Next'; }
.admin-search-analytics-content { min-height: 50px; color: var(--muted); font-size: 13px; }
.admin-search-total-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.admin-search-total { min-width: 150px; display: grid; gap: 5px; padding: 14px 16px; border-radius: 12px; background: #fff5eb; }
.admin-search-total span { color: var(--muted); font-size: 12px; }
.admin-search-total strong { color: var(--ink); font: 700 24px/1 'Avenir Next'; }
.admin-search-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-search-clicked { margin-top: 18px; }
.admin-search-table-wrap h3 { margin: 0 0 8px; font: 700 15px 'Avenir Next'; }
.admin-search-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-search-table th, .admin-search-table td { padding: 9px 7px; border-bottom: 1px solid #f1e8e0; text-align: left; vertical-align: top; }
.admin-search-table th { color: var(--muted); font-size: 11px; }
.admin-search-table td:last-child, .admin-search-table th:last-child { text-align: right; }
.admin-search-empty { margin: 0; padding: 12px 0; color: var(--muted); }
.admin-portal-tools { margin-top: 22px; }
.admin-portal-tool { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; padding: 20px; border: 1px solid #f1dfd0; border-radius: 18px; background: #fff; }
.admin-dashboard-section { margin-top: 22px; }
.admin-tool-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--orange-dark); background: #fff0e2; font-size: 25px; }
.admin-portal-tool h2 { margin: 0 0 4px; font: 700 17px 'Avenir Next'; }
.admin-portal-tool p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.admin-portal-tool .button { min-height: 42px; padding: 0 14px; font-size: 12px; white-space: nowrap; }
.admin-portal-customer-link { display: inline-block; margin-top: 22px; color: var(--orange-dark); font-size: 13px; font-weight: 700; }

/* Mobile-first customer Marketplace catalog, product detail, cart, and checkout. */
.marketplace-page { min-height: 100vh; min-height: 100svh; padding: 20px 18px calc(110px + env(safe-area-inset-bottom)); color: var(--ink); background: #fffaf6; font-family: 'Avenir Next'; }
.marketplace-page *, .admin-portal-page, .admin-portal-page * { font-family: 'Avenir Next'; }
.marketplace-header { width: min(100%, 1120px); min-height: 66px; display: flex; align-items: center; gap: 14px; margin: 0 auto 18px; }
.market-back { width: 42px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; color: var(--ink); font: 400 48px/1 'Avenir Next'; }
.marketplace-header > div:not(.market-header-actions) { min-width: 0; flex: 1; }
.market-kicker { display: block; margin-bottom: 3px; color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.marketplace-header h1 { margin: 0; font: 700 23px/1.15 'Avenir Next'; letter-spacing: -.6px; }
.market-header-actions { display: flex; align-items: center; gap: 12px; }
.market-subscriptions-link { min-height: 40px; position: relative; display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 7px; padding: 0 15px; border: 1px solid var(--orange); border-radius: 999px; color: #fff; background: var(--orange); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.market-subscriptions-link img { width: 19px; height: 19px; object-fit: contain; }
.market-subscriptions-link b { min-width: 17px; height: 17px; position: absolute; top: -5px; right: -5px; display: grid; place-items: center; border: 1px solid #fffaf6; border-radius: 50%; color: #fff; background: var(--ink); font-size: 9px; }
.market-cart-link { width: 41px; height: 41px; position: relative; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 0; background: transparent; }
.market-cart-link img { width: 37.8px; height: 37.8px; object-fit: contain; }
.market-favorites-link { width: 41px; height: 41px; display: grid; place-items: center; flex: 0 0 auto; }
.market-favorites-link img { width: 37.8px; height: 37.8px; object-fit: contain; }
.market-cart-link b { min-width: 18px; height: 18px; position: absolute; top: -2px; right: -3px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--orange); font-size: 10px; }
.market-search-wrap, .market-categories, .market-promo-note, .market-products-section { width: min(100%, 1120px); margin-right: auto; margin-left: auto; }
.market-search { width: min(100%, 780px); height: 55px; margin: 18px auto 16px; }
.market-search input { font-size: 15px; }
.market-search input::placeholder { color: #777; opacity: 1; }
.market-search .search-hint { font-size: 10px; }
.market-categories { display: flex; gap: 8px; overflow-x: auto; margin-top: 18px; padding: 2px 0 8px; scrollbar-width: none; }
.market-categories::-webkit-scrollbar { display: none; }
.market-category { min-height: 36px; flex: 0 0 auto; padding: 0 15px; border: 1px solid #eee2d8; border-radius: 20px; color: #6d6966; background: white; font-size: 11px; font-weight: 700; }
.market-category.selected { border-color: var(--orange); color: #fff; background: var(--orange); }
.market-promo-note { display: flex; align-items: center; gap: 12px; margin-top: 13px; padding: 13px 15px; border: 1px solid #ffe1c9; border-radius: 17px; background: #fff2e5; }
.market-promo-note > span { font-size: 23px; }
.market-promo-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.market-promo-note strong { color: var(--ink); font-size: 12px; }
.market-products-section { margin-top: 29px; }
.market-section-title { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.market-section-title h2 { margin: 0; font: 700 21px/1.2 'Avenir Next'; letter-spacing: -.5px; }
.market-section-title > span { color: var(--muted); font-size: 11px; }
.market-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.market-product-card { min-width: 0; position: relative; display: flex; flex-direction: column; padding: 10px; border: 1px solid #f0e7df; border-radius: 17px; background: #fff; box-shadow: 0 5px 15px #432b1608; }
.market-product-card:hover { border-color: #f4c59f; }
.market-product-link { min-width: 0; display: flex; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.market-product-visual { width: 100%; aspect-ratio: 1.1; display: grid; place-items: center; overflow: hidden; border-radius: 12px; color: #ac5c19; background: linear-gradient(145deg, #fff3e8, #ffe3c8); font-size: 51px; object-fit: cover; }
.market-product-category { margin-top: 10px; color: var(--orange-dark); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.market-product-link > strong { min-height: 38px; margin-top: 5px; font: 700 12px/1.45 'Avenir Next'; }
.market-product-fit { display: -webkit-box; overflow: hidden; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.market-product-price { margin-top: auto; padding-top: 8px; color: var(--ink); font-size: 12px; font-weight: 700; }
.market-favorite-toggle { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.market-favorite-toggle img { width: 26px; height: 26px; object-fit: contain; }
.market-product-card > .market-favorite-toggle { position: absolute; z-index: 1; top: 13px; right: 13px; }
.market-pdp-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.market-pdp-title-row .market-product-category { margin: 0; }
.market-pdp-actions { min-width: 0; display: flex; align-items: center; gap: 5px; }
.market-subscribe-product { min-height: 36px; display: inline-flex; flex-direction: row; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid var(--orange); border-radius: 999px; color: #fff; background: var(--orange); font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.market-subscribe-product img { width: 17px; height: 17px; object-fit: contain; }
.market-subscribe-product:disabled { opacity: .5; cursor: not-allowed; }
.favorite-product-card { padding-bottom: 14px; }
.favorite-repurchase { min-height: 40px; margin-top: 12px; font-size: 12px; }
.favorite-repurchase:disabled { opacity: .55; cursor: not-allowed; }
.favorite-empty { grid-column: 1 / -1; padding: 32px 18px; border-radius: 18px; background: #fff; }
.favorite-empty h2 { margin: 0 0 8px; font: 700 18px 'Avenir Next'; }
.favorite-empty p { margin: 0 0 16px; color: var(--muted); }
.market-empty { grid-column: 1 / -1; padding: 25px 10px; color: var(--muted); text-align: center; font-size: 13px; }
.market-pdp { width: min(100%, 960px); display: grid; gap: 24px; margin: 0 auto; }
.market-pdp-gallery { min-width: 0; }
.market-pdp-visual { width: 100%; aspect-ratio: 1.05; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 24px; background: linear-gradient(145deg, #fff2e5, #ffdfbf); font-size: 100px; }
.market-pdp-visual img { width: 100%; height: 100%; object-fit: cover; }
.market-pdp-option-carousel { min-width: 0; margin-top: 12px; padding: 0; box-sizing: border-box; }
.market-pdp-option-carousel > span { display: block; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.market-pdp-option-carousel > div { display: flex; gap: 9px; overflow-x: auto; padding: 2px 0 9px; scrollbar-width: thin; }
.market-pdp-option-card { flex: 0 0 112px; min-width: 0; display: grid; grid-template-rows: 82px auto; gap: 7px; padding: 7px; border: 1px solid #f0e1d5; border-radius: 13px; color: var(--ink); background: #fff; text-align: left; cursor: pointer; }
.market-pdp-option-card.is-selected { border: 2px solid #fe7801; padding: 6px; background: #fff; }
.market-pdp-option-card:disabled { opacity: .52; cursor: not-allowed; }
.market-pdp-option-card > img, .market-pdp-option-placeholder { width: 100%; height: 82px; display: grid; place-items: center; object-fit: cover; border-radius: 8px; background: #fff4e9; }
.market-pdp-option-card > span:last-child { min-width: 0; display: grid; gap: 2px; }
.market-pdp-option-card strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.market-pdp-option-card small { color: #777; font-size: 10px; }
.market-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; clip-path: inset(50%) !important; }
.market-option-sheet[hidden] { display: none !important; }
.market-option-sheet { position: fixed; z-index: 10000; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.market-option-sheet-scrim { position: absolute; inset: 0; border: 0; background: #1d1714a6; }
.market-option-sheet-panel { position: relative; width: min(100%, 720px); max-height: min(82dvh, 760px); display: flex; flex-direction: column; padding: 18px 18px max(18px, env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: #fffaf6; box-shadow: 0 -8px 32px #29190f30; animation: market-option-sheet-in .2s ease-out; }
.market-option-sheet-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid #efdfd3; }
.market-option-sheet-panel > header h2 { margin: 3px 0 0; font-size: 19px; }
.market-option-sheet-panel > header > button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--ink); background: #fdf2e6; font-size: 24px; cursor: pointer; }
.market-option-sheet-list { min-height: 0; display: grid; gap: 8px; overflow-y: auto; padding: 12px 2px; }
.market-option-sheet-choice { min-width: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 8px; border: 1px solid #efdfd3; border-radius: 12px; color: var(--ink); background: #fff; text-align: left; cursor: pointer; }
.market-option-sheet-choice.is-selected { border: 2px solid #fe7801; padding: 7px; background: #fff; }
.market-option-sheet-choice:disabled { opacity: .5; cursor: not-allowed; }
.market-option-sheet-choice > img, .market-option-sheet-placeholder { width: 58px; height: 58px; display: grid; place-items: center; object-fit: cover; border-radius: 8px; background: #fff3e7; }
.market-option-sheet-choice > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.market-option-sheet-choice strong { font-size: 13px; }
.market-option-sheet-choice small { color: #777; font-size: 11px; }
.market-option-sheet-choice > b { color: #fe7801; font-size: 13px; white-space: nowrap; }
.market-option-sheet-footer { display: grid; grid-template-columns: minmax(90px, 130px) minmax(0, 1fr); align-items: end; gap: 12px; padding-top: 12px; border-top: 1px solid #efdfd3; }
.market-option-sheet-footer label { display: grid; gap: 5px; color: var(--ink); font-size: 12px; font-weight: 700; }
.market-option-sheet-footer input { width: 100%; min-height: 46px; padding: 0 10px; border: 1px solid #eddfd4; border-radius: 10px; color: var(--ink); background: #fff; font: inherit; }
.market-option-sheet-confirm { min-height: 46px; border: 0; border-radius: 11px; color: #fff; background: #fe7801; font: 700 14px 'Avenir Next'; cursor: pointer; }
body.market-option-sheet-open { overflow: hidden; }
@keyframes market-option-sheet-in { from { transform: translateY(20px); opacity: .7; } to { transform: translateY(0); opacity: 1; } }
.market-gallery-arrow { width: 36px; height: 36px; position: absolute; top: 50%; display: grid; place-items: center; transform: translateY(-50%); padding: 0 0 3px; border: 1px solid #ffffffaa; border-radius: 50%; color: #25242a; background: #ffffffdf; font: 400 28px/1 'Avenir Next'; cursor: pointer; }
.market-gallery-arrow.is-previous { left: 12px; }
.market-gallery-arrow.is-next { right: 12px; }
.market-gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.market-gallery-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #e7d9ce; }
.market-gallery-dots button.selected { width: 21px; border-radius: 8px; background: var(--orange); }
.market-pdp-copy { min-width: 0; }
.market-pdp-copy .market-product-category { display: inline-block; margin-top: 0; }
.market-pdp-copy h2 { margin: 6px 0 10px; font: 700 25px/1.2 'Avenir Next'; letter-spacing: -.7px; }
.market-supplier-profile { width: 100%; min-width: 0; display: flex; align-items: center; gap: 11px; margin: 14px 0; padding: 11px 13px; border: 1px solid #f1dfd0; border-radius: 15px; color: var(--ink); background: #fffdfa; text-decoration: none; }
.market-supplier-profile > img { width: 48px; height: 48px; flex: 0 0 auto; object-fit: cover; border: 1px solid #f1dfd0; border-radius: 50%; background: #fff7ef; }
.market-supplier-profile > div { min-width: 0; display: grid; justify-items: start; gap: 5px; }
.market-supplier-profile > div > strong { overflow-wrap: anywhere; font-size: 14px; }
.market-supplier-verified { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; color: #a84e12; background: #fff0d8; font-size: 10px; font-weight: 700; line-height: 1.2; }
.market-supplier-verified img { width: 13px; height: 13px; flex: 0 0 auto; object-fit: contain; }
.market-supplier-profile:hover { border-color: #f4ba82; background: #fff8ef; }
.market-seller-profile { width: min(980px, calc(100% - 32px)); display: flex; align-items: center; gap: 16px; margin: 18px auto 26px; padding: 18px; border: 1px solid #f1dfd0; border-radius: 20px; background: #fffdfa; }
.market-seller-profile > img { width: 72px; height: 72px; flex: 0 0 auto; object-fit: cover; border: 1px solid #f1dfd0; border-radius: 50%; background: #fff7ef; }
.market-seller-profile > div { min-width: 0; display: grid; justify-items: start; gap: 7px; }
.market-seller-profile h2 { margin: 0; overflow-wrap: anywhere; font-size: 20px; }
.market-seller-products { padding-top: 0; }
.market-pdp-description { color: var(--muted); font-size: 13px; line-height: 1.65; }
.market-product-match { margin: 13px 0; padding: 12px 14px; border-radius: 13px; background: #fff1e5; }
.market-product-match h3 { margin: 0 0 5px; color: var(--orange-dark); font-size: 12px; font-weight: 700; }
.market-product-match p { margin: 0; color: var(--ink); font-size: 12px; line-height: 1.5; }
.market-pdp-price { display: block; margin: 14px 0 4px; font: 700 23px 'Avenir Next'; }
.market-stock { margin-bottom: 16px; color: #438253; font-size: 11px; font-weight: 700; }
.market-field { display: grid; gap: 7px; margin-bottom: 15px; font-size: 12px; font-weight: 700; }
.market-field input, .market-field select, .market-coupon-row input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #e9e0d9; border-radius: 12px; outline: 0; color: var(--ink); background: #fff; font: inherit; font-weight: 500; }
.market-field input:focus, .market-field select:focus, .market-coupon-row input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px #fe78011c; }
.market-add-button { width: 100%; min-height: 52px; }
.market-add-button:disabled { opacity: .55; cursor: not-allowed; }
.market-subscription-page { width: min(100%, 960px); margin: 0 auto; }
.market-subscription-cart-section, .market-subscription-active-section { margin-bottom: 16px; padding: 18px; border-radius: 17px; }
.market-subscription-cart-section { border: 1px solid #f0e3d9; background: #fff; }
.market-subscription-active-section { border: 0; background: linear-gradient(135deg, #ff7900, #ff9833); }
.market-subscription-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.market-subscription-section-heading h2 { margin: 3px 0 0; font: 700 20px/1.2 'Avenir Next'; }
.market-subscription-cart-section .market-subscription-section-heading h2 { color: var(--ink); }
.market-subscription-cart-section .market-subscription-section-heading > span { flex: none; padding: 7px 11px; border-radius: 999px; color: var(--orange-dark); background: #fff0e3; font-size: 11px; font-weight: 700; }
.market-subscription-active-section .market-kicker { color: #fff7ed; }
.market-subscription-active-section .market-subscription-section-heading h2 { color: #fff; }
.market-subscription-active-section .market-subscription-section-heading > span { flex: none; padding: 7px 11px; border-radius: 999px; color: var(--orange-dark); background: #fff; font-size: 11px; font-weight: 700; }
.market-subscription-section-copy { margin: 8px 0 14px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.market-subscription-active-section .market-subscription-section-copy { color: #fff8f1; }
.market-subscription-list { display: grid; gap: 12px; }
.market-subscription-item { min-width: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 18px; padding: 15px; border: 1px solid #f0e7df; border-radius: 17px; background: #fff; }
.market-subscription-image { width: 150px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 12px; color: #ac5c19; background: linear-gradient(145deg, #fff3e8, #ffe3c8); font-size: 40px; object-fit: cover; }
.market-subscription-item-copy { min-width: 0; }
.market-subscription-item-copy .market-product-category { margin-top: 0; }
.market-subscription-item-copy h2, .market-subscription-item-copy h3 { margin: 4px 0; font: 700 16px/1.3 'Avenir Next'; }
.market-subscription-item-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.market-subscription-remove-active { min-height: 32px; flex: none; padding: 0 10px; border: 1px solid var(--orange); border-radius: 9px; color: var(--orange-dark); background: transparent; font: 700 10px 'Avenir Next'; cursor: pointer; }
.market-subscription-active-section .market-subscription-remove-active,
.market-subscription-active-section .market-subscription-remove-active:hover,
.market-subscription-active-section .market-subscription-remove-active:focus,
.market-subscription-active-section .market-subscription-remove-active:focus-visible,
.market-subscription-active-section .market-subscription-remove-active:active { box-shadow: none !important; }
.market-subscription-item-copy > p { margin: 0; color: var(--muted); font-size: 11px; }
.market-subscription-controls { width: 100%; display: grid; grid-template-columns: minmax(180px, 1fr) 82px 38px auto; align-items: end; gap: 10px; margin-top: 12px; }
.market-subscription-schedule-fields { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: end; gap: 10px; width: min(100%, 420px); }
.market-subscription-controls .market-subscription-schedule-fields select,
.market-subscription-controls .market-subscription-schedule-fields input { width: 100%; min-width: 0; box-sizing: border-box; }
.market-subscription-controls .market-subscription-schedule-fields .market-subscription-frequency select { max-width: none; }
.market-subscription-controls .market-subscription-schedule-fields .market-subscription-quantity input { min-width: 0; }
.market-subscription-item.is-active .market-subscription-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 24px; }
.market-subscription-item.is-active .market-subscription-frequency { flex: 0 0 145px; }
.market-subscription-item.is-active .market-subscription-quantity { flex: 0 0 82px; }
.market-subscription-item.is-active .market-subscription-next-delivery { flex: 0 0 150px; }
.market-subscription-controls label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 700; }
.market-subscription-controls select, .market-subscription-controls input { min-width: 140px; min-height: 38px; padding: 0 10px; border: 1px solid #eadfd7; border-radius: 10px; color: var(--ink); background: #fff; font: 500 11px 'Avenir Next'; }
.market-subscription-frequency select { width: 145px; min-width: 130px; }
.market-subscription-controls input { min-width: 78px; width: 82px; }
.market-subscription-address { grid-column: 1 / -1; flex: 0 0 100%; width: 100%; min-width: 0; margin-top: 6px; }
.market-subscription-address-select { width: min(100%, 420px); }
.market-subscription-address-fields { width: 100%; margin-top: 8px; }
.market-subscription-address-fields[hidden] { display: none; }
.market-subscription-address-fields .market-checkout-grid { margin-top: 0; }
.market-subscription-address-fields .market-field { font-size: 10px; }
.market-subscription-address-fields .market-field input { width: 100%; min-width: 0; }
.market-subscription-address-fields .market-save-address { margin-top: 8px; }
.market-subscription-address-summary { display: grid; gap: 4px; margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.market-subscription-address-summary strong { color: var(--ink); font-size: 12px; font-weight: 700; }
.market-subscription-address-summary.is-missing strong { color: #a64a00; }
.market-subscription-value { min-height: 38px; display: grid; align-content: center; gap: 4px; color: var(--muted); font-size: 10px; }
.market-subscription-value strong { color: var(--ink); font-size: 12px; }
.market-subscription-next-delivery { min-height: 38px; display: grid; align-content: center; gap: 3px; color: var(--muted); font-size: 10px; }
.market-subscription-next-delivery strong { color: var(--ink); font-size: 11px; }
.market-subscription-secondary-row { display: contents; }
.market-subscription-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; justify-self: end; }
.market-subscription-item.is-active .market-subscription-actions { margin-left: auto; }
.market-subscription-edit-action { min-height: 38px; padding: 0 13px; border: 1px solid var(--orange); border-radius: 10px; color: #fff; background: var(--orange); font: 700 11px 'Avenir Next'; white-space: nowrap; cursor: pointer; }
.market-subscription-edit-action.is-save { border-color: var(--orange); color: #fff; background: var(--orange); }
.market-subscription-edit-action.is-cancel { border-color: var(--orange); color: var(--orange-dark); background: transparent; }
.market-subscription-confirm { min-height: 42px; padding: 0 18px; border-radius: 10px; font-size: 12px; }
.market-subscription-remove { width: 38px; min-height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--orange); border-radius: 9px; color: var(--orange-dark); background: transparent; cursor: pointer; }
.market-subscription-remove svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.market-subscription-prototype-note { margin: 15px 0; padding: 12px 14px; border-radius: 12px; color: #795535; background: #fff5e9; font-size: 10px; line-height: 1.5; }
.market-subscription-empty { margin-top: 20px; }
.market-subscription-empty > img { width: 48px; height: 48px; margin: 0 auto 10px; object-fit: contain; }
.market-product-facts { margin-top: 22px; border-top: 1px solid #eee3da; }
.market-product-facts details { padding: 13px 0; border-bottom: 1px solid #eee3da; }
.market-product-facts summary { font-size: 12px; font-weight: 700; cursor: pointer; }
.market-product-facts p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.market-cart-layout, .market-checkout-layout { width: min(100%, 1120px); display: grid; gap: 20px; margin: 0 auto; }
.market-shipping-meter { margin-bottom: 14px; padding: 15px; border: 1px solid #f1e5db; border-radius: 17px; background: #fff; }
.market-shipping-meter > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 11px; }
.market-shipping-meter span { color: var(--muted); white-space: nowrap; }
.market-progress-track { height: 7px; overflow: hidden; margin-top: 11px; border-radius: 10px; background: #f3e9e1; }
.market-progress-track span { height: 100%; display: block; border-radius: inherit; background: var(--orange); transition: width .2s ease; }
.market-cart-list { display: grid; gap: 12px; }
.market-cart-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #f0e7df; border-radius: 17px; background: white; }
.market-cart-select, .market-cart-selection-bar label { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--ink); font-size: 12px; cursor: pointer; }
.market-cart-select input, .market-cart-selection-bar input { width: 18px; height: 18px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.market-cart-selection-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; padding: 2px 3px; color: var(--muted); font-size: 11px; }
.market-cart-visual { width: 76px; height: 76px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; background: #fff0e2; font-size: 36px; }
.market-cart-visual img { width: 100%; height: 100%; display: block; border-radius: inherit; object-fit: cover; }
.market-cart-copy { min-width: 0; flex: 1; }
.market-cart-copy h2 { margin: 0 0 4px; font: 700 13px/1.4 'Avenir Next'; }
.market-cart-copy p { margin: 0 0 6px; color: var(--muted); font-size: 10px; }
.market-cart-unit-price, .market-cart-copy > strong { color: var(--orange); }
.market-cart-copy > strong { font-size: 12px; }
.market-quantity-controls { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.market-quantity-controls button:not(.market-remove-item) { width: 25px; height: 25px; border: 1px solid #eee2d8; border-radius: 8px; color: var(--ink); background: #fff; }
.market-quantity-controls span { min-width: 12px; text-align: center; font-size: 11px; }
.market-quantity-controls .market-remove-item { margin-left: auto; border: 0; color: #a54a28; background: transparent; font-size: 10px; font-weight: 700; }
.market-continue-shopping { display: inline-block; margin-top: 17px; color: var(--orange-dark); font-size: 12px; font-weight: 700; }
.market-order-summary { align-self: start; padding: 18px; border: 1px solid #f0e5db; border-radius: 18px; background: white; box-shadow: 0 6px 20px #42250d08; }
.market-order-summary h2 { margin: 0 0 15px; font: 700 17px 'Avenir Next'; }
.market-order-summary > p { display: flex; justify-content: space-between; gap: 10px; margin: 11px 0; color: var(--muted); font-size: 12px; }
.market-order-summary > p b { color: var(--ink); }
.market-summary-total { display: flex; justify-content: space-between; margin: 16px 0; padding-top: 14px; border-top: 1px solid #eee5de; font-size: 13px; }
.market-summary-total strong { font: 700 18px 'Avenir Next'; }
.market-order-summary .button { width: 100%; min-height: 49px; }
.market-order-summary [data-selected-checkout] { width: 100%; min-height: 49px; }
.market-order-summary [data-selected-checkout]:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.market-order-summary > small { display: block; margin-top: 11px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.market-empty-cart { width: min(100%, 520px); margin: 48px auto; padding: 32px 20px; border: 1px solid #f0e5db; border-radius: 22px; background: white; text-align: center; }
.market-empty-cart > span { font-size: 42px; }
.market-empty-cart h2 { margin: 10px 0; font: 700 19px 'Avenir Next'; }
.market-empty-cart p { color: var(--muted); font-size: 12px; }
.market-empty-cart .button { margin-top: 7px; }
.market-checkout-sections { display: grid; gap: 14px; }
.market-checkout-section { min-width: 0; padding: 17px; border: 1px solid #efe4da; border-radius: 18px; background: #fff; }
.market-checkout-section h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font: 700 16px 'Avenir Next'; }
.market-checkout-section h2 > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-size: 11px; }
.market-checkout-review-list { display: grid; gap: 10px; }
.market-checkout-review-item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px; border: 1px solid #f0e5dc; border-radius: 13px; background: #fffaf6; }
.market-checkout-review-visual { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border-radius: 10px; background: #fff0e2; font-size: 27px; }
.market-checkout-review-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.market-checkout-review-copy { display: grid; gap: 2px; min-width: 0; flex: 1; }
.market-checkout-review-copy strong { overflow-wrap: anywhere; font-size: 12px; }
.market-checkout-review-copy span { color: var(--muted); font-size: 11px; }
.market-checkout-review-copy small { color: var(--muted); font-size: 10px; }
.market-checkout-review-item > b { flex: 0 0 auto; color: var(--orange-dark); font-size: 12px; }
.market-checkout-note { color: var(--muted); font-size: 11px; line-height: 1.5; }
.market-checkout-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 11px; }
.market-field-wide { grid-column: 1 / -1; }
.market-save-address { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.market-save-address input { accent-color: var(--orange); }
.market-coupon-row { display: flex; gap: 8px; }
.market-coupon-row .button { flex: 0 0 auto; }
.market-coupon-feedback { min-height: 18px; margin-top: 7px; color: #a54a28; font-size: 11px; }
.market-coupon-feedback.success { color: #438253; }
.market-coupon-feedback.error { color: #a54a28; }
.market-payment-options { display: grid; gap: 9px; }
.market-payment-options label { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #eee4dc; border-radius: 13px; cursor: pointer; }
.market-payment-options input { margin-top: 3px; accent-color: var(--orange); }
.market-payment-options span { display: grid; gap: 3px; }
.market-payment-options strong { font-size: 12px; }
.market-payment-options small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.market-transfer-upload { display: grid; gap: 8px; margin-top: 13px; font-size: 11px; font-weight: 700; }
.market-transfer-upload input { width: 100%; font-size: 11px; }
.market-summary-lines { display: grid; gap: 10px; margin: 0 0 13px; padding: 0 0 13px; border-bottom: 1px solid #eee5de; list-style: none; }
.market-summary-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; line-height: 1.4; }
.market-summary-lines b { flex: 0 0 auto; }
.market-credit-link, .market-receipt-link { display: block; margin-top: 8px; color: var(--orange-dark); font-size: 12px; font-weight: 700; }
.market-orders-list { width: min(100%, 860px); display: grid; gap: 13px; margin: 0 auto; }
.market-order-card { padding: 16px; border: 1px solid #f0e5dc; border-radius: 18px; background: #fff; }
.market-order-card-heading { display: flex; justify-content: space-between; gap: 12px; }
.market-order-card-heading > div { display: grid; gap: 4px; }
.market-order-card-heading span { font: 700 13px 'Avenir Next'; }
.market-order-card-heading small { color: var(--muted); font-size: 10px; }
.market-order-status { height: max-content; padding: 6px 9px; border-radius: 12px; color: #98600a; background: #fff1d5; font-size: 9px; }
.market-order-status.status-shipped, .market-order-status.status-delivered { color: #2f7545; background: #e8f5eb; }
.market-order-status.status-payment-rejected { color: #a53535; background: #ffeded; }
.market-order-card > p { margin: 13px 0 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.market-order-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid #eee5de; font-size: 11px; }
.market-order-total strong { color: var(--ink); }
.market-order-timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; margin: 17px 0 8px; padding: 0; list-style: none; }
.market-order-timeline li { position: relative; padding-top: 16px; color: #a6a09b; font-size: 8px; text-align: center; }
.market-order-timeline li::before { content: ''; width: 9px; height: 9px; position: absolute; top: 0; left: calc(50% - 4px); border-radius: 50%; background: #e6ddd5; }
.market-order-timeline li:not(:last-child)::after { content: ''; height: 2px; position: absolute; top: 4px; left: 50%; width: 100%; background: #eee7e1; }
.market-order-timeline li.complete { color: var(--orange-dark); font-weight: 700; }
.market-order-timeline li.complete::before, .market-order-timeline li.complete::after { z-index: 1; background: var(--orange); }
.market-order-card .market-tracking { color: var(--ink); }
.market-tracking a { color: var(--orange-dark); text-decoration: underline; }

/* Admin Marketplace keeps supplier, cost, transfer review, and fulfillment data internal. */
.admin-market-heading { display: flex; align-items: center; gap: 15px; margin: 34px 0 22px; }
.admin-market-heading > a[aria-label], .admin-market-heading > button[aria-label] { color: var(--ink); font: 400 45px/1 'Avenir Next'; }
.admin-market-heading span, .admin-market-panel-heading > div > span { color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.admin-market-heading h1 { margin: 3px 0 0; font: 700 32px 'Avenir Next'; }
.admin-market-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.admin-market-stats article { display: grid; gap: 7px; padding: 17px; border: 1px solid #f1dfd0; border-radius: 16px; background: #fff; }
.admin-market-stats span { color: var(--muted); font-size: 11px; }
.admin-market-stats strong { font: 700 25px 'Avenir Next'; }
.admin-market-panel { margin-top: 19px; padding: 19px; border: 1px solid #f1dfd0; border-radius: 19px; background: #fff; }
.admin-market-panel.admin-service-order-board { padding: 0; border-color: transparent; background: transparent; }
.admin-market-panel-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.admin-market-panel-heading h2 { margin: 4px 0 0; font: 700 19px 'Avenir Next'; }
.admin-market-panel-heading p { max-width: 360px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.admin-fee-rules-page { padding-bottom: 110px; }
.admin-fee-rules-page .admin-market-heading { justify-content: center; text-align: center; }
.admin-fee-rules-page .admin-market-panel { padding: 22px; }
.admin-fee-rule-summaries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.admin-fee-rule-summary { padding: 20px 22px; border: 1px solid #f1dfd0; border-radius: 19px; background: #fff; }
.admin-fee-rule-summary > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-fee-rule-summary h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: #292522; font: 700 20px 'Avenir Next'; }
.admin-fee-rule-summary h2 img { width: 29px; height: 29px; object-fit: contain; }
.admin-fee-rule-summary header > div > span { display: block; margin-bottom: 5px; color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.admin-fee-rule-summary p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.admin-fee-rule-summary .button { flex: 0 0 auto; min-width: 120px; }
.admin-fee-rule-dialog { width: min(960px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; }
.admin-fee-rule-dialog::backdrop { background: rgba(37, 31, 27, .48); backdrop-filter: blur(2px); }
.admin-fee-rule-dialog-panel { max-height: calc(100vh - 32px); margin: 0; overflow: auto; }
.admin-fee-rule-dialog .admin-market-panel-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 16px; }
.admin-fee-rule-dialog .admin-market-panel-heading > p { grid-column: 1 / -1; max-width: 680px; }
.admin-fee-dialog-close { width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #fe7801; color: #fff; font: 500 28px/1 'Avenir Next'; cursor: pointer; }
.admin-fee-dialog-close:hover { background: #e66d00; }
.admin-warehouse-fee-guidance { display: grid; gap: 4px; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: #fff5ee; color: #34302c; }
.admin-warehouse-fee-guidance strong { color: #25262b; }
.admin-warehouse-fee-guidance span { color: #71675f; font-size: 13px; line-height: 1.5; }
.admin-warehouse-fee-list { display: grid; gap: 12px; }
.admin-warehouse-fee-row { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(140px, .8fr) minmax(180px, .9fr) minmax(145px, .65fr) auto; gap: 12px; align-items: end; padding: 16px; border: 1px solid #f1dfd0; border-radius: 14px; background: #fffdfa; }
.admin-warehouse-fee-row > label { display: grid; gap: 7px; color: #39332f; font-size: 13px; font-weight: 700; }
.admin-warehouse-fee-row input, .admin-warehouse-fee-row select { width: 100%; min-width: 0; min-height: 46px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #eadbd0; border-radius: 11px; background: #fffaf6; color: #292522; font: inherit; font-size: 14px; }
.admin-warehouse-fee-active > span { color: #39332f; }
.admin-warehouse-fee-row-actions { display: flex; gap: 8px; align-items: center; }
.admin-warehouse-fee-row-actions .button { min-height: 44px; white-space: nowrap; }
.admin-fee-rules-page .admin-market-panel-heading h2 { display: flex; align-items: center; gap: 9px; }
.admin-fee-rules-page .admin-market-panel-heading h2 img { width: 27px; height: 27px; object-fit: contain; }
.admin-warehouse-fee-row-actions .admin-warehouse-fee-delete { width: 44px; min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border: 1px solid #c92a20; border-radius: 11px; background: #c92a20; color: #fff; box-shadow: none; transition: background-color .16s ease, border-color .16s ease; }
.admin-warehouse-fee-row-actions .admin-warehouse-fee-delete svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.admin-warehouse-fee-row-actions .admin-warehouse-fee-delete:hover:not(:disabled) { border-color: #a91f18; background: #a91f18; color: #fff; transform: none; box-shadow: none; }
.admin-warehouse-fee-row-actions .admin-warehouse-fee-delete:disabled { opacity: .62; cursor: wait; }
.admin-warehouse-fee-saved { grid-column: 1 / -1; color: #827a74; font-size: 12px; }
.admin-warehouse-fee-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.admin-warehouse-fee-actions [data-warehouse-fee-status] { color: #615850; font-size: 13px; }
.admin-warehouse-fee-actions [data-warehouse-fee-status].is-error { color: #b42318; }
.admin-warehouse-fee-empty { margin: 0; padding: 20px; border-radius: 12px; background: #fff5ee; color: #70665f; }
@media (max-width: 900px) { .admin-warehouse-fee-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-warehouse-fee-row-actions { grid-column: 1 / -1; } }
@media (max-width: 720px) { .admin-fee-rule-summaries { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .admin-fee-rules-page .admin-market-panel { padding: 15px; } .admin-fee-rule-summary { padding: 16px; } .admin-fee-rule-summary > header { align-items: flex-start; flex-direction: column; } .admin-fee-rule-summary .button { width: 100%; } .admin-fee-rule-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); } .admin-fee-rule-dialog-panel { max-height: calc(100vh - 20px); padding: 15px !important; } .admin-warehouse-fee-row { grid-template-columns: 1fr; padding: 13px; } .admin-warehouse-fee-row-actions { grid-column: auto; } .admin-warehouse-fee-saved { grid-column: auto; } .admin-warehouse-fee-actions { align-items: flex-start; flex-direction: column; } }
.admin-pack-ship-panel { display: grid; gap: 14px; }
.admin-pack-ship-panel .admin-market-panel-heading { margin-bottom: 0; }
.admin-pack-ship-config { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(250px, 1.3fr) auto; align-items: end; gap: 14px; padding: 15px; border: 1px solid #f1dfd0; border-radius: 14px; background: #fffdfa; }
.admin-pack-ship-config label, .admin-pack-ship-dimensions label, .admin-pack-ship-tier > label:not(.admin-pack-ship-open-ended) { display: grid; gap: 7px; color: #39332f; font-size: 13px; font-weight: 700; }
.admin-pack-ship-config input, .admin-pack-ship-dimensions input, .admin-pack-ship-tier input[type="number"] { width: 100%; min-width: 0; min-height: 46px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #eadbd0; border-radius: 11px; background: #fffaf6; color: #292522; font: inherit; font-size: 14px; }
.admin-pack-ship-config > p { margin: 0; color: #71675f; font-size: 13px; line-height: 1.5; }
.admin-pack-ship-config > .button { min-height: 46px; white-space: nowrap; }
.admin-pack-ship-calculator { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: #fff5ee; }
.admin-pack-ship-calculator h3, .admin-pack-ship-rules-title { margin: 0; color: #292522; font: 700 18px 'Avenir Next'; }
.admin-pack-ship-calculator p, .admin-pack-ship-rules-help { margin: 3px 0 0; color: #71675f; font-size: 13px; line-height: 1.5; }
.admin-pack-ship-dimensions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.admin-pack-ship-estimate { min-height: 22px; padding-top: 10px; border-top: 1px solid #f0dfd2; color: #ae4c00 !important; font-weight: 700; }
.admin-pack-ship-rules-title { margin-top: 4px; }
.admin-pack-ship-rules-help { margin-top: -10px; }
.admin-pack-ship-list { display: grid; gap: 10px; }
.admin-pack-ship-tier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, .85fr) minmax(190px, 1fr) auto; align-items: end; gap: 12px; padding: 15px; border: 1px solid #f1dfd0; border-radius: 14px; background: #fffdfa; }
.admin-pack-ship-tier-heading { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #f0e5dc; }
.admin-pack-ship-tier-heading strong { color: #292522; font: 700 15px 'Avenir Next'; }
.admin-pack-ship-tier-heading span { color: #8a7d73; font-size: 12px; }
.admin-pack-ship-open-ended { min-height: 46px; display: flex; align-items: center; gap: 8px; color: #39332f; font-size: 13px; font-weight: 600; }
.admin-pack-ship-open-ended input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: #fe7801; }
.admin-pack-ship-tier-actions { display: flex; gap: 8px; align-items: center; }
.admin-pack-ship-tier-actions .button { min-height: 44px; white-space: nowrap; }
@media (max-width: 900px) { .admin-pack-ship-config { grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); } .admin-pack-ship-config > .button { grid-column: 1 / -1; justify-self: start; } .admin-pack-ship-tier { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-pack-ship-tier-actions { grid-column: 1 / -1; } }
@media (max-width: 600px) { .admin-pack-ship-config, .admin-pack-ship-dimensions, .admin-pack-ship-tier { grid-template-columns: 1fr; } .admin-pack-ship-config > .button, .admin-pack-ship-tier-heading, .admin-pack-ship-tier-actions { grid-column: auto; } .admin-pack-ship-tier-actions { flex-wrap: wrap; } .admin-pack-ship-tier-actions .button { flex: 1; } }
.admin-market-management-page .admin-market-form-grid label,
.admin-market-management-page .admin-live-product-filters label,
.admin-market-management-page .admin-market-offer-enabled { font-weight: 400; }
.admin-market-management-page .admin-market-form-grid input,
.admin-market-management-page .admin-market-form-grid select,
.admin-market-management-page .admin-market-form-grid textarea,
.admin-market-management-page .admin-live-product-filters select { font-weight: 400; }
.admin-market-table-wrap { overflow-x: auto; }
.admin-market-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
.admin-market-table th, .admin-market-table td { padding: 10px 8px; border-bottom: 1px solid #f0e9e3; white-space: nowrap; }
.admin-market-table th { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.admin-market-table td small { display: block; margin-top: 4px; color: var(--muted); }
.admin-market-table td.admin-market-product-cell { display: flex; align-items: center; gap: 10px; white-space: normal; }
.admin-live-products-link > .button { min-height: 42px; padding-inline: 20px; }
.admin-live-product-filters { display: flex; align-items: center; flex-wrap: nowrap; gap: 9px; overflow: visible; margin: 0 0 15px; padding: 12px; border-radius: 13px; background: #fff8f2; }
.admin-live-filter-menu { position: relative; flex: 1 1 0; min-width: 0; }
.admin-live-filter-current { width: 100%; min-width: 0; min-height: 42px; display: grid; grid-template-columns: minmax(0, 1fr) 11px; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid #ead9ca; border-radius: 11px; color: var(--ink); background: #fff; text-align: left; cursor: pointer; }
.admin-live-filter-current > span { min-width: 0; display: grid; gap: 1px; }
.admin-live-filter-current small { overflow: hidden; color: var(--muted); font: 400 8px/1.2 'Avenir Next'; text-overflow: ellipsis; white-space: nowrap; }
.admin-live-filter-current strong { overflow: hidden; font: 500 10px/1.25 'Avenir Next'; text-overflow: ellipsis; white-space: nowrap; }
.admin-live-filter-current svg { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-live-filter-options { width: max(100%, 170px); max-height: min(280px, 60vh); position: absolute; z-index: 25; top: calc(100% + 6px); left: 0; display: grid; gap: 3px; overflow-y: auto; padding: 6px; border: 1px solid #f0dfd2; border-radius: 12px; background: #fff; box-shadow: 0 10px 26px #38261b24; }
.admin-live-filter-options[hidden] { display: none; }
.admin-live-filter-options button { width: 100%; min-height: 34px; padding: 7px 9px; border: 0; border-radius: 8px; color: var(--ink); background: #fff; font: 400 10px 'Avenir Next'; text-align: left; cursor: pointer; }
.admin-live-filter-options button:hover, .admin-live-filter-options button[aria-checked="true"] { color: #b74f08; background: #fff3e6; }
.admin-live-filter-menu[data-live-filter-menu="status"] .admin-live-filter-options { right: 0; left: auto; }
.admin-live-product-filters .admin-live-sort { position: relative; flex: 0 0 auto; display: flex; align-items: center; margin-left: auto; }
.admin-live-product-filters select { min-height: 40px; padding: 0 12px; border: 1px solid #ead9ca; border-radius: 10px; background: #fff; color: var(--ink); font: 400 11px 'Avenir Next'; }
.admin-live-sort-trigger { width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #ead9ca; border-radius: 12px; color: var(--ink); background: #fff; cursor: pointer; }
.admin-live-sort-trigger svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-live-sort-options { width: min(260px, calc(100vw - 40px)); position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; display: grid; gap: 3px; padding: 6px; border: 1px solid #f0dfd2; border-radius: 13px; background: #fff; box-shadow: 0 10px 26px #38261b24; }
.admin-live-sort-options[hidden] { display: none; }
.admin-live-sort-options button { width: 100%; min-height: 36px; padding: 7px 10px; border: 0; border-radius: 8px; color: var(--ink); background: #fff; font: 400 11px 'Avenir Next'; text-align: left; cursor: pointer; }
.admin-live-sort-options button:hover, .admin-live-sort-options button.is-active { color: #b74f08; background: #fff3e6; }
.admin-live-products-table td.admin-market-product-cell { min-width: 220px; }
.admin-live-product-expand { display: grid; gap: 4px; padding: 0; border: 0; color: var(--ink); background: transparent; font: 700 11px 'Avenir Next'; text-align: left; cursor: pointer; }
.admin-live-product-expand small { color: var(--muted); font-size: 9px; font-weight: 500; }
.admin-live-product-name { display: grid; gap: 4px; font-size: 11px; font-weight: 700; }
.admin-live-product-detail-row td { white-space: normal; background: #fffaf6; }
.admin-live-product-detail-content { display: grid; gap: 5px; max-width: 900px; white-space: normal; line-height: 1.45; }
.admin-live-product-detail-content > strong { color: var(--ink); }
.admin-live-product-detail-content > span { color: var(--muted); white-space: normal; }
.admin-live-product-extra-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.admin-live-product-extra-details label { display: grid; gap: 5px; color: var(--ink); font-size: 10px; font-weight: 400; }
.admin-live-product-extra-details .admin-live-product-stock-readonly { align-content: start; }
.admin-live-product-stock-readonly input[readonly] { color: var(--muted); background: #fffaf6; cursor: not-allowed; }
.admin-live-product-stock-readonly small { color: var(--muted); font-size: 9px; }
.admin-live-product-extra-details textarea, .admin-live-product-extra-details input { width: 100%; min-height: 38px; padding: 8px 9px; border: 1px solid #e9e1da; border-radius: 9px; color: var(--ink); background: #fff; font: 400 11px/1.45 'Avenir Next'; }
.admin-live-product-extra-details textarea { min-height: 62px; resize: vertical; }
.admin-live-product-extra-details .button { justify-self: start; min-height: 36px; padding: 7px 12px; font-size: 10px; }
.admin-live-product-extra-details .admin-live-product-wide { grid-column: 1 / -1; }
.admin-live-product-extra-details .admin-live-product-photo-note { grid-column: 1 / -1; margin: -5px 0 2px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.admin-live-product-extra-details input[type="file"] { min-height: 42px; padding: 8px; background: #fffaf6; }
.admin-live-product-save-feedback { align-self: center; color: var(--muted); font-size: 10px; }
.admin-market-product-code { color: var(--muted); font-size: 9px; font-weight: 400; }
.admin-live-products-table td { vertical-align: middle; }
.admin-live-products-table td.admin-live-product-actions { display: table-cell; text-align: center; vertical-align: middle; white-space: nowrap; }
.admin-live-product-actions > * { vertical-align: middle; }
.admin-live-products-table .admin-live-product-actions [data-toggle-live-product] { margin-right: 12px; }
.admin-live-listing-state { display: inline-flex; align-items: center; margin: 0 2px; color: #277044; font-size: 11px; font-weight: 700; line-height: 1.2; }
.admin-live-listing-state.is-frozen { color: #aa3e32; }
.admin-live-products-table .admin-market-actions button { margin: 2px; padding: 5px 8px; font-size: 9px; font-weight: 400; }
.admin-live-products-table .admin-market-actions .admin-live-edit-details,
.admin-live-products-table .admin-market-actions .admin-live-edit-details:hover,
.admin-live-products-table .admin-market-actions .admin-live-edit-details:focus-visible { border-color: #fe7801; color: #fff; background: #fe7801; font-weight: 600; }
.admin-live-product-empty { margin: 12px 0; color: var(--muted); font-size: 12px; }
.admin-live-products-back { margin-top: 16px; }
.admin-live-products-table tr[hidden] { display: none !important; }
.admin-supplier-overview-list { display: grid; gap: 13px; }
.admin-supplier-overview-card { display: block; overflow: hidden; border: 1px solid #f0e4db; border-radius: 14px; background: #fffdfa; }
.admin-supplier-overview-card > summary { display: grid; grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 15px; cursor: pointer; list-style: none; }
.admin-supplier-overview-card > summary::-webkit-details-marker { display: none; }
.admin-supplier-avatar { width: 42px; height: 42px; grid-row: span 2; object-fit: cover; border: 1px solid #f1dfd0; border-radius: 50%; background: #fff7ef; }
.admin-supplier-company { font-size: 15px; font-weight: 700; }
.admin-supplier-email { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.admin-supplier-overview-body { display: grid; gap: 13px; padding: 0 15px 15px; }
.admin-supplier-user-details, .admin-supplier-sales-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.admin-supplier-user-details > div, .admin-supplier-sales-stats > div { display: grid; gap: 4px; min-width: 0; padding: 9px; border-radius: 10px; background: #fff6ef; }
.admin-supplier-user-details small, .admin-supplier-sales-stats small { color: var(--muted); font-size: 9px; }
.admin-supplier-user-details strong { overflow-wrap: anywhere; font-size: 10px; }
.admin-supplier-sales-stats strong { font-size: 13px; }
.admin-supplier-products { border-top: 1px solid #f0e4db; padding-top: 10px; }
.admin-supplier-products h4 { margin: 0; color: var(--orange-dark); font-size: 10px; }
.admin-supplier-products ul { display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.admin-supplier-products li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; font-size: 10px; }
.admin-supplier-products li small { grid-column: 1; color: var(--muted); font-size: 9px; }
.admin-supplier-products li b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--orange-dark); white-space: nowrap; }
.admin-market-product-cell > span:last-child { display: grid; gap: 2px; }
.admin-market-product-thumb, .admin-market-order-thumb { width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; border: 1px solid #f1e8df; border-radius: 10px; background: #fff8f1; }
.admin-market-product-thumb.is-placeholder, .admin-market-order-thumb.is-placeholder { display: grid; place-items: center; font-size: 25px; }
.admin-market-add { margin-top: 16px; padding: 14px; border-radius: 13px; background: #fff7ef; }
.admin-market-add summary { color: var(--orange-dark); font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-market-product-form { padding-top: 14px; }
.admin-market-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; }
.admin-market-form-grid label, .admin-market-tracking-form label, .admin-market-export label { display: grid; gap: 6px; margin-bottom: 12px; font-size: 10px; font-weight: 700; }
.admin-market-form-grid input, .admin-market-form-grid select, .admin-market-form-grid textarea, .admin-market-tracking-form input, .admin-market-export select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #e9e1da; border-radius: 9px; color: var(--ink); background: #fff; font: inherit; font-size: 11px; }
.admin-market-form-grid .admin-market-retail-price-field { font-size: 12px; }
.admin-market-form-grid .admin-market-retail-price-field input { min-height: 48px; font-size: 15px; }
.admin-market-form-grid textarea { resize: vertical; }
.admin-market-wide { grid-column: 1 / -1; }
.admin-market-form-note { color: var(--muted); font-size: 10px; line-height: 1.5; }
.admin-market-product-form > .button { min-height: 42px; font-size: 11px; }
.admin-market-form-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-market-form-actions .button { min-height: 42px; font-size: 11px; }
.admin-market-offer-form { display: grid; gap: 9px; }
.admin-market-offer-enabled { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 700; }
.admin-market-offer-enabled input { width: 16px; height: 16px; accent-color: var(--orange); }
.admin-voucher-status-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.admin-voucher-status-pill.is-active { color: #267143; background: #e5f4e9; }
.admin-voucher-status-pill.is-inactive { color: #686868; background: #ededed; }
.admin-furgo-voucher-list { display: grid; gap: 9px; margin-top: 14px; }
.admin-furgo-voucher-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid #f0e4db; border-radius: 12px; background: #fffdfa; }
.admin-furgo-voucher-details { display: grid; gap: 4px; min-width: 0; }
.admin-furgo-voucher-details strong { color: var(--ink); font-size: 12px; }
.admin-furgo-voucher-details span { color: var(--muted); font-size: 10px; }
.admin-furgo-voucher-actions { display: flex; gap: 7px; }
.admin-furgo-voucher-actions .button { min-height: 34px; padding: 7px 11px; font-size: 10px; }
.admin-market-offer-feedback { align-self: center; color: var(--muted); font-size: 11px; }
.admin-market-offer-feedback.success { color: #438253; }
.admin-market-offer-feedback.error { color: #a54a28; }
.admin-market-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.admin-market-actions button { padding: 6px 8px; border: 1px solid #f0dfd2; border-radius: 8px; color: var(--ink); background: white; font-size: 10px; font-weight: 700; cursor: pointer; }
.admin-market-actions .admin-market-delete { color: #a64535; }
.admin-market-hidden-row { opacity: .58; }
.admin-market-export { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; padding: 12px; border-radius: 13px; background: #fff7ef; }
.admin-market-export label { min-width: 200px; flex: 1; margin: 0; }
.admin-market-export .button { min-height: 40px; padding: 0 12px; font-size: 10px; }
.admin-market-order-list { display: grid; gap: 13px; }
.admin-market-order { padding: 16px; border: 1px solid #eee4dc; border-radius: 15px; background: #fffdfa; }
.admin-market-order > header { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #eee4dc; }
.admin-market-order > header div { display: grid; gap: 4px; }
.admin-market-order > header span { font: 700 13px 'Avenir Next'; }
.admin-market-order > header small, .admin-market-order > header b { color: var(--muted); font-size: 10px; }
.admin-market-customer { display: grid; gap: 4px; margin: 12px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.admin-market-customer strong { color: var(--ink); font-size: 12px; }
.admin-market-order > ul { display: grid; gap: 9px; margin: 0; padding: 12px 0; border-top: 1px solid #f2ebe5; border-bottom: 1px solid #f2ebe5; list-style: none; }
.admin-market-order > ul li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 11px; }
.admin-market-order-item > div { display: grid; gap: 4px; min-width: 0; }
.admin-market-item-return, .supplier-item-return { display: grid; gap: 6px; margin-top: 8px; padding: 10px; border: 1px solid #f0dfd2; border-radius: 11px; background: #fff8f2; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.admin-market-item-return > strong, .supplier-item-return > strong { color: var(--orange-dark); font-size: 11px; }
.admin-market-item-return > b { color: var(--ink); }
.admin-market-item-return > a, .supplier-item-return > a { color: var(--orange-dark); font-weight: 700; }
.admin-market-return-actions, .supplier-return-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 3px; }
.admin-market-return-actions .button, .supplier-return-actions .button, .supplier-item-return > .button { min-height: 32px; padding: 6px 10px; font-size: 10px; }
.admin-market-item-return > small { color: var(--muted); }
.admin-market-return-case-list { display: grid; gap: 10px; }
.admin-market-return-case { display: grid; gap: 7px; padding: 13px; border: 1px solid #f0dfd2; border-radius: 12px; background: #fffdfa; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.admin-market-return-case > header { display: flex; justify-content: space-between; gap: 10px; }
.admin-market-return-case > header strong { color: var(--ink); font-size: 12px; }
.admin-market-return-case > header span { color: var(--orange-dark); font-weight: 700; }
.admin-market-return-case > p { margin: 0; color: var(--muted); }
.admin-market-return-case > b { color: var(--ink); }
.admin-market-return-case > a { color: var(--orange-dark); font-weight: 700; }
.admin-market-return-case .admin-market-return-actions { align-items: center; }
.admin-market-return-case .admin-market-return-actions > small { color: var(--muted); }
.admin-market-order-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.admin-market-order-summary-item { display: inline-flex; align-items: center; gap: 6px; }
.admin-market-summary-thumb { width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; border: 1px solid #f1e8df; border-radius: 8px; background: #fff8f1; }
.admin-market-summary-thumb.is-placeholder { display: grid; place-items: center; font-size: 18px; }
.admin-market-order-summary-area { color: var(--muted); }
.admin-market-order > ul small { color: var(--muted); font-size: 9px; }
.admin-market-order-total { display: flex; justify-content: space-between; margin: 12px 0; font-size: 11px; }
.admin-market-order-suppliers { display: grid; gap: 9px; margin: 12px 0; }
.admin-market-order-suppliers > h3 { margin: 0; font: 700 13px 'Avenir Next'; }
.admin-market-order-supplier { display: grid; gap: 6px; padding: 12px; border: 1px solid #f1e2d7; border-radius: 12px; background: #fff8f2; font-size: 11px; overflow-wrap: anywhere; }
.admin-market-order-supplier h3 { margin: 0; font: 700 12px 'Avenir Next'; }
.admin-market-order-supplier ul { display: grid; gap: 4px; margin: 0; padding-left: 16px; color: var(--muted); font-size: 10px; }
.admin-market-order-supplier a { color: var(--orange-dark); }
.admin-market-order-supplier .button { justify-self: start; margin-top: 3px; }
.admin-market-order > .button { min-height: 38px; font-size: 10px; }
.admin-market-tracking-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 10px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #f0e9e3; }
.admin-market-tracking-form .button { grid-column: 1 / -1; min-height: 40px; font-size: 10px; }
.admin-market-tracking { color: var(--muted); font-size: 11px; }
.admin-market-payment-review { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 11px; border-radius: 11px; background: #fff4df; font-size: 10px; }
.admin-market-payment-review strong { width: 100%; }
.admin-market-payment-review a { color: var(--orange-dark); font-weight: 700; }
.admin-market-payment-review button { padding: 7px 10px; border: 0; border-radius: 8px; color: white; background: var(--orange); font-size: 10px; font-weight: 700; }
.admin-market-payment-review button:last-child { color: #9a3737; background: #ffe7e7; }
.admin-market-receipt { display: flex; align-items: center; gap: 10px; margin: 10px 0; color: var(--muted); font-size: 10px; }
.admin-market-receipt input { max-width: 240px; font-size: 10px; }
.admin-market-empty { color: var(--muted); font-size: 12px; }
.admin-market-toast { position: fixed; right: 20px; bottom: 20px; z-index: 30; padding: 12px 16px; border-radius: 12px; color: #fff; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .2s; font-size: 12px; }
.admin-market-toast.visible { opacity: 1; }
/* Shared persistent notification list for Admin and Marketplace Store portals. */
.portal-notifications { width: auto; margin: 0; position: relative; z-index: 8; flex: 0 0 auto; font-family: 'Avenir Next'; }
.portal-notification-details { position: relative; }
.portal-notification-details > summary { list-style: none; }
.portal-notification-details > summary::-webkit-details-marker { display: none; }
.portal-notification-details > summary.notification-button { position: relative; border-color: #fff; background: var(--orange); cursor: pointer; }
.portal-notification-details > summary.notification-button img { width: 25px; height: 25px; object-fit: contain; }
.portal-notification-details > summary b { width: 22px; min-width: 22px; height: 22px; box-sizing: border-box; position: absolute; top: -5px; right: -5px; display: grid; place-items: center; padding: 0; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #d52d24; font-size: 8px; line-height: 1; }
.portal-notification-details > summary b[hidden] { display: none; }
.portal-notification-panel { width: min(440px, calc(100vw - 36px)); max-height: min(70vh, 560px); overflow-y: auto; position: absolute; top: calc(100% + 8px); right: 0; padding: 15px; border: 1px solid #f0dfd2; border-radius: 17px; background: #fff; box-shadow: 0 16px 40px rgba(58, 37, 22, .16); }
.portal-notification-panel h2 { margin: 0 0 9px; font-size: 16px; }
.portal-notification-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #f3e9e2; }
.portal-notification-item.is-unread { background: linear-gradient(90deg, #fff8f0, #fff 75%); }
.portal-notification-item strong { font-size: 12px; }
.portal-notification-item p { margin: 4px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.portal-notification-item time { color: #9b918b; font-size: 10px; }
.portal-notification-actions { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 7px; }
.portal-notification-actions a, .portal-notification-actions button { padding: 0; border: 0; color: var(--orange-dark); background: transparent; font: 700 10px 'Avenir Next'; text-decoration: none; cursor: pointer; white-space: nowrap; }
.portal-notification-empty { margin: 8px 0 4px; color: var(--muted); font-size: 12px; }
.portal-notification-preferences { margin-top: 19px; }
.notification-settings-content { width: min(100%, 620px); margin: 0 auto; }
.notification-settings-page .portal-notification-preferences { margin-top: 0; }
.notification-settings-page.admin-portal-page { padding-bottom: 110px; }
.notification-settings-page.admin-portal-page > .portal-notification-preferences { width: min(100%, 1040px); margin: 0 auto; }
.admin-profile-general-menu { width: 100%; max-width: none; margin: 30px 0 0; }
.supplier-profile-general-menu { width: min(100%, 980px); margin: 30px auto 0; }
.profile-logout.admin-profile-logout, .profile-logout.supplier-profile-logout { margin: 30px 0 18px; }
.portal-notification-preference-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.portal-notification-preference { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 8px 18px; margin: 0; padding: 13px 15px; border: 1px solid #f1e3d9; border-radius: 13px; }
.portal-notification-preference legend { grid-column: 1 / -1; color: var(--ink); font-size: 13px; font-weight: 700; }
.portal-notification-preference p { grid-column: 1 / -1; margin: -3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.portal-notification-preference label { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--ink); font-size: 11px; font-weight: 600; white-space: nowrap; }
.portal-notification-preference input[type="checkbox"] { width: 17px; height: 17px; flex: 0 0 17px; appearance: none; position: relative; margin: 0; border: 1px solid #e6d4c5; border-radius: 5px; background: #fff; cursor: pointer; }
.portal-notification-preference input[type="checkbox"]:checked { border-color: var(--orange); background: var(--orange); }
.portal-notification-preference input[type="checkbox"]:checked::after { content: ""; width: 5px; height: 9px; position: absolute; top: 2px; left: 5px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.portal-notification-preference input[type="checkbox"]:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.portal-notification-preference-note, .portal-notification-preference-feedback { margin: 11px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.portal-notification-preference-feedback:empty { display: none; }
/* Marketplace Store Portal: product review submissions and supplier-scoped order lines. */
.supplier-portal-page { min-height: 100vh; min-height: 100svh; padding: 20px 18px 100px; color: var(--ink); background: #fff7ef; font-family: 'Avenir Next'; }
.supplier-portal-view[hidden], .supplier-product-editor[hidden] { display: none !important; }
.supplier-portal-header, .supplier-portal-welcome, .supplier-portal-panel { width: min(100%, 980px); margin-right: auto; margin-left: auto; }
.supplier-portal-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #f0dfd2; }
.supplier-portal-header > a, .supplier-portal-header > div { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.supplier-portal-header img { width: 40px; height: 40px; object-fit: contain; }
.supplier-portal-header > a span { font-size: 17px; font-weight: 700; }
.supplier-portal-header > div { color: #766c66; font-size: 12px; }
.supplier-portal-header button { min-height: 36px; padding: 0 13px; border: 1px solid #eddfd4; border-radius: 18px; color: var(--ink); background: #fff; font: 700 11px 'Avenir Next'; cursor: pointer; }
.supplier-portal-header .supplier-customer-portal-link, .supplier-portal-header .supplier-admin-return-link { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #eddfd4; border-radius: 18px; color: var(--ink); background: #fff; font: 700 11px 'Avenir Next'; text-decoration: none; white-space: nowrap; }
.supplier-portal-welcome { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 0 5px; }
.supplier-portal-welcome > span, .supplier-portal-welcome > .portal-welcome-copy > span, .supplier-panel-heading > div > span { color: var(--orange-dark); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.supplier-portal-welcome h1 { margin: 4px 0; font-size: 30px; }
.supplier-portal-welcome p, .supplier-panel-heading > p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.supplier-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(88px, auto)); width: min(100%, 980px); margin: 16px auto 0; }
.supplier-dashboard-stats > article { min-height: 88px; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease; }
.supplier-dashboard-stats > article:hover,
.supplier-dashboard-stats > article:focus-visible { border-color: #ffc58f; box-shadow: 0 5px 14px rgba(104, 52, 19, .1); }
.supplier-dashboard-stats > article:nth-child(1) { grid-column: 1; grid-row: 1; }
.supplier-dashboard-stats > article:nth-child(2) { grid-column: 2; grid-row: 1; }
.supplier-dashboard-stats > article:nth-child(3) { grid-column: 1; grid-row: 2; }
.supplier-dashboard-stats > article:nth-child(4) { grid-column: 2; grid-row: 2; }
.supplier-dashboard-stats > .supplier-dashboard-priority { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: 1fr; align-items: center; column-gap: 12px; border-color: #fe7801; color: #fff; background: #fe7801; box-shadow: inset 0 3px 9px rgba(128, 52, 0, .26), inset 0 -2px 4px rgba(255, 255, 255, .2); }
.supplier-dashboard-stats > .supplier-dashboard-priority:hover,
.supplier-dashboard-stats > .supplier-dashboard-priority:focus-visible { box-shadow: inset 0 3px 9px rgba(128, 52, 0, .26), inset 0 -2px 4px rgba(255, 255, 255, .2), 0 5px 14px rgba(104, 52, 19, .1); }
.supplier-dashboard-card-icon { grid-row: 1; width: 44px; height: 44px; object-fit: contain; filter: brightness(0) invert(1); }
.supplier-dashboard-stats > .supplier-dashboard-priority > span { align-self: center; color: #fff; font-size: 16px; font-weight: 700; }
.supplier-dashboard-stats > .supplier-dashboard-priority > strong { align-self: center; color: #fff; font: 700 42px/1 'Avenir Next'; }
.supplier-dashboard-stats > article:focus-visible { outline: 3px solid rgba(255, 121, 0, .55); outline-offset: 3px; }
@media (max-width: 720px) {
  .supplier-dashboard-stats { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .supplier-dashboard-stats > article:nth-child(n) { grid-column: auto; grid-row: auto; }
  .supplier-dashboard-stats > article:nth-child(1) { order: 1; }
  .supplier-dashboard-stats > article:nth-child(3) { order: 2; }
  .supplier-dashboard-stats > article:nth-child(2) { order: 3; }
  .supplier-dashboard-stats > article:nth-child(4) { order: 4; }
}
.supplier-portal-page .portal-notification-details > summary.notification-button { border: 1px solid rgba(255, 255, 255, .82); border-radius: 18px; color: #333; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 22px rgba(104, 52, 19, .15), 0 2px 6px rgba(104, 52, 19, .08); }
.supplier-portal-page .portal-notification-details > summary.notification-button img { filter: none; }
.supplier-portal-page .portal-notification-details > summary.notification-button b { z-index: 1; border-color: #fff; background: #ff7900; }
.admin-portal-page .portal-notification-details > summary.notification-button { border: 1px solid rgba(255, 255, 255, .82); border-radius: 18px; color: #333; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 22px rgba(104, 52, 19, .15), 0 2px 6px rgba(104, 52, 19, .08); }
.admin-portal-page .portal-notification-details > summary.notification-button img { filter: none; }
.admin-portal-page .portal-notification-details > summary.notification-button b { z-index: 1; border-color: #fff; background: #ff7900; }
.supplier-portal-panel { margin-top: 16px; padding: 18px; border: 1px solid #f1dfd0; border-radius: 19px; background: #fff; }
.admin-market-form-grid [hidden] { display: none !important; }
.supplier-listing-note { margin: -3px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.supplier-product-filters { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(150px, 220px) minmax(150px, 220px); gap: 9px; margin-bottom: 12px; }
.supplier-product-search input, .supplier-product-filter select { width: 100%; min-width: 0; min-height: 40px; box-sizing: border-box; padding: 8px 11px; border: 1px solid #ead9cb; border-radius: 10px; color: var(--ink); background: #fffaf5; font: 12px 'Avenir Next', sans-serif; }
.supplier-product-search input:focus, .supplier-product-filter select:focus { border-color: var(--orange); outline: 2px solid #fe780122; }
.supplier-product-search input::placeholder { color: #91867e; }
.supplier-product-no-results { padding: 12px 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.supplier-panel-heading > .button { flex: 0 0 auto; align-self: center; }
.bottom-nav.supplier-bottom-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bottom-nav.supplier-bottom-nav button.bottom-item { padding: 0; border: 0; background: transparent; font: 600 11px/1.05 'Avenir Next'; cursor: pointer; }
.bottom-nav.supplier-bottom-nav .bottom-item { gap: 1px; text-decoration: none; }
.bottom-nav.supplier-bottom-nav .bottom-item.active { color: var(--orange); font-weight: 700; }
.bottom-nav.supplier-bottom-nav .bottom-item span { max-width: 100%; font-size: 11px; line-height: 1.05; text-align: center; }
.bottom-nav.supplier-bottom-nav .bottom-item img { width: 24px; height: 24px; }
.supplier-admin-style-page > .admin-market-heading { width: min(100%, 980px); margin: 34px auto 22px; }
.supplier-admin-style-page > .admin-market-heading > button[aria-label] { width: 42px; height: 54px; position: absolute; top: 50%; left: 0; transform: translateY(-50%); display: grid; place-items: center; padding: 0; border: 0; color: var(--ink); background: transparent; font-size: 0; cursor: pointer; }
.supplier-admin-style-page > .admin-market-heading > button[aria-label]::before { content: ''; width: 14px; height: 14px; margin-left: 6px; border-bottom: 2.5px solid currentColor; border-left: 2.5px solid currentColor; transform: rotate(45deg); }
.supplier-admin-style-page > .admin-market-panel { width: min(100%, 980px); margin-right: auto; margin-left: auto; }
.supplier-admin-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.supplier-admin-help-grid article { min-height: 130px; padding: 16px; border: 1px solid #f1dfd0; border-radius: 15px; background: #fffaf6; }
.supplier-admin-help-grid strong { color: var(--ink); font-size: 13px; }
.supplier-admin-help-grid p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.supplier-profile-details { display: grid; gap: 0; margin: 0; }
.supplier-profile-details > div { display: grid; grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid #f0e9e3; font-size: 12px; }
.supplier-profile-details > div:last-child { border-bottom: 0; }
.supplier-profile-details dt { color: var(--muted); }
.supplier-profile-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.supplier-profile-panel { width: min(100%, 980px); padding: 24px 0; border-color: transparent; background: transparent; box-shadow: none; }
.supplier-portal-view[data-supplier-section="profile"] > .admin-access-level-summary { width: min(100%, 980px); margin-right: auto; margin-left: auto; }
.supplier-profile-form { width: 100%; margin: 0 auto; }
.supplier-profile-photo { width: min(164px, 44vw); height: auto; margin: 0 auto 30px; }
.supplier-profile-photo img { object-fit: cover; }
.supplier-profile-photo input { cursor: pointer; }
.supplier-portal-view[data-supplier-section="profile"] > .profile-logout.supplier-profile-logout { width: min(100%, 980px); display: block; margin: 30px auto 18px; }
.supplier-profile-fields { row-gap: 20px; }
.supplier-profile-fields > .pet-name-field { grid-column: 1 / -1; }
.supplier-profile-fields .supplier-profile-readonly output { width: 100%; min-height: 68px; display: flex; align-items: center; min-width: 0; padding: 0 16px; overflow-wrap: anywhere; border-radius: 19px; color: var(--ink); background: #fff; font: 16px 'Avenir Next'; }
.supplier-profile-fields .supplier-profile-readonly > span { color: var(--ink); }
.supplier-profile-form .admin-market-form-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
.supplier-profile-form .admin-market-form-actions > button { width: 100%; min-height: 56px; }
.supplier-password-panel { width: min(100%, 980px); margin: 0 auto; }
.supplier-password-form { display: grid; gap: 12px; }
.supplier-password-form > label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.supplier-password-form input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #e9e1da; border-radius: 12px; color: var(--ink); background: #fff; font: 14px 'Avenir Next'; }
.supplier-password-form input:focus { border-color: var(--orange); outline: 2px solid #fe780126; }
.supplier-password-form .button { min-height: 48px; }
.supplier-panel-heading { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.supplier-panel-heading h2 { margin: 4px 0 0; font-size: 19px; }
.supplier-panel-heading > p { max-width: 360px; margin: 0; }
.supplier-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.supplier-photo-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 11px; border: 1px solid #f0e4db; border-radius: 12px; background: #fffaf6; }
.supplier-form-grid > .supplier-photo-list + .supplier-variant-editor { margin-top: 16px; }
.supplier-photo-item { width: 92px; position: relative; display: grid; justify-items: center; gap: 5px; padding: 7px; border: 1px solid #f0e4db; border-radius: 11px; background: #fff; }
.supplier-photo-item { cursor: grab; touch-action: pan-y; user-select: none; }
.supplier-photo-item:active { cursor: grabbing; }
.supplier-photo-drag-handle { position: absolute; top: 5px; left: 8px; color: #9b8879; font-size: 16px !important; line-height: 1; }
.supplier-product-variant-lines { display: grid; justify-items: start; gap: 3px; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.3; }
.supplier-photo-item > img { width: 66px; height: 66px; object-fit: cover; border: 1px solid #eee4dc; border-radius: 9px; background: #fff8f2; }
.supplier-photo-item > span { max-width: 100%; color: var(--muted); font-size: 9px; text-align: center; }
.supplier-photo-item > .supplier-photo-change { min-height: 23px; display: grid; place-items: center; padding: 3px 7px; border: 1px solid #eddfd4; border-radius: 12px; color: var(--ink); background: #fff; font-size: 9px; font-weight: 400; cursor: pointer; }
.supplier-photo-change input { width: 1px; height: 1px; position: absolute; overflow: hidden; clip-path: inset(50%); }
.supplier-photo-item > button { min-height: 23px; padding: 2px 7px; border: 0; border-radius: 12px; color: #a53f31; background: #fff0eb; font: 400 9px 'Avenir Next'; cursor: pointer; }
.supplier-form-grid label { min-width: 0; display: grid; gap: 6px; margin-bottom: 12px; font-size: 11px; font-weight: 700; }
.supplier-form-grid input, .supplier-form-grid select, .supplier-form-grid textarea { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #e9e1da; border-radius: 10px; color: var(--ink); background: #fff; font: 13px 'Avenir Next'; }
.supplier-form-grid textarea { resize: vertical; }
.supplier-form-wide { grid-column: 1 / -1; }
.supplier-warehouse-supplier-fields { margin: 0 0 12px; padding: 12px; border: 1px solid #f0e4db; border-radius: 12px; background: #fffaf6; }
.supplier-warehouse-supplier-fields > strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 12px; }
.supplier-warehouse-supplier-fields > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.supplier-warehouse-supplier-fields > div > label { min-width: 0; display: grid; gap: 6px; margin-bottom: 10px; font-size: 11px; font-weight: 700; }
.supplier-warehouse-supplier-fields input { width: 100%; min-width: 0; min-height: 42px; box-sizing: border-box; padding: 9px 11px; border: 1px solid #e9e1da; border-radius: 10px; color: var(--ink); background: #fff; font: 13px 'Avenir Next'; }
.supplier-variant-editor { min-width: 0; margin: 2px 0 12px; padding: 13px; border: 1px solid #fe7801; border-radius: 12px; color: #fff; background: #fe7801; }
.supplier-variant-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.supplier-variant-editor-heading strong { color: #fff; font-size: 12px; }
.supplier-variant-editor-heading p { max-width: 620px; margin: 4px 0 0; color: rgba(255, 255, 255, .9); font-size: 10px; font-weight: 400; line-height: 1.45; }
.supplier-variant-rows { display: grid; gap: 9px; }
.supplier-variant-add-row { display: flex; justify-content: flex-end; margin-top: 9px; }
.supplier-variant-add-row > .supplier-add-option-button,
.supplier-variant-add-row > .supplier-add-option-button:hover,
.supplier-variant-add-row > .supplier-add-option-button:focus-visible { min-height: 34px; padding: 6px 12px; border: 1px solid var(--orange); border-radius: 9px; color: var(--orange-dark); background: #fff; box-shadow: none; font-size: 11px; }
.supplier-variant-row { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(110px, 1fr) minmax(85px, .75fr) minmax(65px, .55fr) minmax(125px, 1fr) auto; align-items: end; gap: 9px; padding: 10px; border: 1px solid #f0e4db; border-radius: 10px; background: #fff; }
.supplier-variant-row.is-warehouse-create { grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(90px, .75fr) minmax(130px, 1fr) auto; }
.supplier-variant-row > label { min-width: 0; display: grid; gap: 5px; margin: 0; color: var(--ink); font-size: 10px; font-weight: 700; }
.supplier-variant-row input, .supplier-variant-row select, .supplier-variant-stock-readonly output { min-width: 0; width: 100%; min-height: 38px; box-sizing: border-box; padding: 8px 9px; border: 1px solid #e9e1da; border-radius: 8px; color: var(--ink); background: #fff; font: 12px 'Avenir Next'; }
.supplier-variant-stock-readonly output { display: flex; align-items: center; color: #665c55; background: #fdf8f3; }
.supplier-variant-stock-readonly input[type="hidden"] { display: none; }
.supplier-variant-row > .supplier-variant-remove { width: 38px; height: 38px; min-height: 38px; align-self: end; margin-bottom: 2px; display: grid; place-items: center; padding: 6px; border: 1px solid #efc6bb; border-radius: 8px; color: #a53f31; background: #fff8f5; cursor: pointer; }
.supplier-variant-remove svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.supplier-variant-remove:disabled { opacity: .45; cursor: not-allowed; }
.supplier-form-note, .supplier-portal-feedback { color: var(--muted); font-size: 11px; line-height: 1.5; }
.supplier-portal-feedback { margin: 10px 0 0; }
.supplier-portal-feedback.is-error { color: #a53f31; }
.supplier-submission-list, .supplier-order-list { display: grid; gap: 10px; }
.supplier-submission-card, .supplier-order-card { padding: 14px; border: 1px solid #f0e4db; border-radius: 13px; background: #fffdfa; }
.supplier-submission-card > div, .supplier-order-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.supplier-submission-card > div strong, .supplier-order-card > header strong { font-size: 13px; }
.supplier-submission-card > div span, .supplier-order-card > header > span { padding: 5px 9px; border-radius: 15px; color: #a74914; background: #fff0de; font-size: 10px; font-weight: 700; }
.supplier-submission-card > p, .supplier-submission-card small, .supplier-submission-card time, .supplier-order-card time { display: block; margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.supplier-submission-card time, .supplier-order-card time { font-size: 10px; }
.supplier-rejection-reason { padding: 9px; border-radius: 9px; color: #982f25 !important; background: #fff0eb; }
.supplier-order-card dl { display: grid; gap: 7px; margin: 12px 0; }
.supplier-order-card dl div { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 9px; font-size: 11px; }
.supplier-order-card dt { color: var(--muted); }
.supplier-order-card dd { margin: 0; overflow-wrap: anywhere; }
.supplier-order-card ul, .marketplace-product-review-card ul { margin: 0; padding-left: 18px; color: #5f5752; font-size: 11px; line-height: 1.6; }
.supplier-empty { color: var(--muted); font-size: 12px; }
.supplier-table-wrap { overflow-x: auto; border: 1px solid #f0e4db; border-radius: 12px; }
.supplier-product-table { width: 100%; min-width: 790px; border-collapse: collapse; color: var(--ink); font-size: 11px; }
.supplier-product-table th, .supplier-product-table td { padding: 11px 10px; border-bottom: 1px solid #f0e4db; text-align: left; vertical-align: middle; }
.supplier-product-table th { color: var(--muted); background: #fffaf5; font-size: 10px; font-weight: 700; white-space: nowrap; }
.supplier-product-table tr:last-child td { border-bottom: 0; }
.supplier-product-cell { min-width: 200px; }
.supplier-product-cell-inner { display: flex; align-items: center; gap: 9px; }
.supplier-product-inventory-link { color: inherit; text-decoration: none; }
.supplier-product-inventory-link:hover strong, .supplier-product-inventory-link:focus-visible strong { color: #d95d00; text-decoration: underline; text-underline-offset: 2px; }
.supplier-product-inventory-link:focus-visible { outline: 2px solid #f07818; outline-offset: 3px; border-radius: 8px; }
.supplier-product-cell-inner > span:last-child { display: grid; gap: 3px; min-width: 0; }
.supplier-product-cell strong { font-size: 11px; }
.supplier-product-cell small { color: var(--muted); font-size: 10px; }
.supplier-product-thumb { flex: 0 0 42px; width: 42px; height: 42px; object-fit: contain; border: 1px solid #f0e4db; border-radius: 8px; background: #fff; }
.supplier-product-thumb.is-placeholder { display: grid; place-items: center; color: #ef8b26; font-size: 20px; }
.supplier-product-order-count { color: inherit; font-weight: 700; text-decoration: none; }
.supplier-product-order-count:hover, .supplier-product-order-count:focus-visible { color: #d95d00; text-decoration: underline; text-underline-offset: 2px; }
.supplier-product-status { display: inline-flex; padding: 5px 9px; border-radius: 14px; font-size: 10px; font-weight: 400; white-space: nowrap; }
.supplier-product-status.is-pending { color: #9a5a07; background: #fff2d9; }
.supplier-product-status.is-approved { color: #227346; background: #e8f6ec; }
.supplier-product-status.is-rejected { color: #a53f31; background: #fff0eb; }
.supplier-product-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.supplier-product-actions button { box-sizing: border-box; flex: 0 0 auto; max-width: 100%; padding: 5px 9px; border: 1px solid #f0ded1; border-radius: 8px; color: #664f42; background: #fff; font: inherit; font-size: 10px; font-weight: 700; line-height: 1.25; white-space: nowrap; cursor: pointer; }
.supplier-product-actions > .supplier-rejection-reason { flex: 1 0 100%; min-width: 0; overflow-wrap: anywhere; }
.supplier-product-actions > [data-supplier-keep-live-version] { border-color: #f2a06c; color: #bd4e0b; background: #fff8f2; }
.supplier-product-actions button.is-danger { color: #a53f31; }
.supplier-product-actions button.supplier-icon-delete { display: inline-grid; width: 30px; height: 28px; place-items: center; padding: 4px; }
.supplier-product-actions button.supplier-icon-delete svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.supplier-product-actions button:disabled { opacity: .55; cursor: wait; }
.supplier-pending-note, .supplier-rejection-reason { margin: 6px 0 0; font-size: 10px; }
.supplier-pending-note { color: #92600a; }
.supplier-rejection-reason { color: #a53f31; }
.marketplace-review-count { display: inline-grid; min-width: 23px; height: 23px; margin-left: 6px; padding: 0 6px; place-items: center; border-radius: 99px; color: #fff; background: #e64a36; font-size: 12px; vertical-align: 2px; }
.marketplace-director-notification { display: inline-grid; min-width: 20px; height: 20px; margin-left: 8px; padding: 0 5px; place-items: center; border-radius: 99px; color: #fff; background: #c93226; font-size: 11px; line-height: 1; vertical-align: 2px; }
.supplier-rejection-reason { grid-column: 1 / -1; margin: 5px 0 0 !important; padding: 8px; border-radius: 8px; color: #982f25 !important; background: #fff0eb; font-size: 10px !important; }
.supplier-order-card > header > span { color: #a74914; background: #fff0de; white-space: nowrap; }
.supplier-order-card dl { display: grid; gap: 7px; margin: 12px 0; }
.supplier-order-card dl div { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 9px; font-size: 11px; }
.supplier-order-card dt { color: var(--muted); }
.supplier-order-card dd { margin: 0; overflow-wrap: anywhere; }
.supplier-order-card ul { display: grid; gap: 6px; margin: 0; padding: 10px 0; list-style: none; border-top: 1px solid #f0e4db; border-bottom: 1px solid #f0e4db; }
.supplier-order-card li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 3px 9px; align-items: center; }
.supplier-order-card li strong { color: var(--ink); font-size: 11px; }
.supplier-order-card li .supplier-product-thumb { grid-row: 1 / span 3; }
.supplier-order-card li span { grid-column: 2 / -1; }
.supplier-order-card li small { grid-column: 2 / -1; color: var(--muted); }
.supplier-market-order-list { gap: 13px; }
.supplier-market-order-summary .supplier-product-thumb { width: 30px; height: 30px; flex-basis: 30px; border-radius: 8px; }
.supplier-market-order .admin-market-customer { font-size: 11px; }
.supplier-market-order .admin-market-order-total { font-size: 12px; }
.supplier-recipient-details { display: grid; gap: 7px; margin: 12px 0; padding: 13px; border: 1px solid #f1e2d7; border-radius: 12px; background: #fff8f2; font-size: 11px; overflow-wrap: anywhere; }
.supplier-recipient-details h3 { margin: 0 0 2px; font: 700 13px 'Avenir Next'; }
.supplier-recipient-details p { margin: 0; color: var(--muted); line-height: 1.45; }
.supplier-recipient-details p strong { color: var(--ink); }
.supplier-recipient-details .button { justify-self: start; min-height: 36px; margin-top: 3px; font-size: 10px; }
.supplier-recipient-details [data-copy-recipient-feedback] { min-height: 14px; color: #357348; font-size: 10px; }
.supplier-order-payment, .supplier-shipping-note { margin: 10px 0; color: var(--muted); font-size: 11px; }
.supplier-packaging-panel { width: min(100%, 980px); margin: 0 auto 24px; }
.supplier-packaging-panel .supplier-packaging-status-tabs { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 18px; padding: 0; overflow: hidden; border: 1px solid #f1dfd0; border-radius: 12px; }
.supplier-packaging-panel .supplier-packaging-status-tabs .my-orders-status-tab { width: 100%; min-width: 0; min-height: 42px; flex: 1 1 0; padding: 0 8px; border: 0; border-right: 1px solid #e8d8cb; border-radius: 0; white-space: normal; }
.supplier-packaging-panel .supplier-packaging-status-tabs .my-orders-status-tab:last-child { border-right: 0; }
.supplier-packaging-panel .supplier-packaging-status-tabs .my-orders-status-tab:first-child { border-radius: 11px 0 0 11px; }
.supplier-packaging-panel .supplier-packaging-status-tabs .my-orders-status-tab:last-child { border-radius: 0 11px 11px 0; }
.supplier-packaging-panel > .admin-market-panel-heading { align-items: start; }
.supplier-packaging-panel > .admin-market-panel-heading > p { max-width: 380px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.supplier-packaging-list { display: grid; gap: 14px; }
.supplier-packaging-order { padding: 16px; border: 1px solid #f1dfd0; border-radius: 16px; background: #fffdfa; }
.supplier-packaging-order > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.supplier-packaging-order > header > div { display: grid; gap: 4px; }
.supplier-packaging-order > header span { color: var(--ink); font-size: 14px; font-weight: 800; }
.supplier-packaging-order > header time { color: var(--muted); font-size: 11px; }
.supplier-packaging-order > header > b { padding: 6px 10px; border-radius: 999px; color: #a74914; background: #fff0de; font-size: 10px; white-space: nowrap; }
.supplier-packaging-status-card > ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.supplier-packaging-status-card > ul > li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: #fff; }
.supplier-packaging-status-card > ul > li > span { display: grid; gap: 3px; min-width: 0; }
.supplier-pickup-parcel-select { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 700; cursor: pointer; }
.supplier-pickup-parcel-select input { width: 18px; height: 18px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.supplier-mark-shipped-button:disabled { color: #fff; background: var(--orange); opacity: .55; cursor: not-allowed; }
.supplier-mark-shipped-button:not(:disabled) { color: #fff; background: var(--orange); }
.supplier-packaging-status-card > ul > li strong { color: var(--ink); font-size: 12px; }
.supplier-packaging-status-card > ul > li small { color: var(--muted); font-size: 11px; }
.supplier-packaging-order > header > .supplier-packaging-status-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.supplier-packaging-status-actions > b { padding: 6px 10px; border-radius: 999px; color: #a74914; background: #fff0de; font-size: 10px; white-space: nowrap; }
.supplier-packaging-packed-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 12px; }
.supplier-packaging-edit-parcel { display: inline; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; color: #fe7801; background: transparent; box-shadow: none; font: 700 11px 'Avenir Next'; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.supplier-packaging-edit-parcel:hover, .supplier-packaging-edit-parcel:focus-visible { border: 0; color: #c94f00; background: transparent; box-shadow: none; text-decoration-thickness: 2px; }
.supplier-packaging-recipient { display: grid; gap: 7px; margin-top: 12px; padding: 12px; border-radius: 12px; background: #fff8f2; }
.supplier-packaging-recipient > h3 { margin: 0 0 1px; color: var(--ink); font-size: 12px; }
.supplier-packaging-recipient > div { display: grid; grid-template-columns: 68px minmax(0, 1fr) 28px; align-items: start; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.supplier-packaging-recipient > div > strong { color: var(--ink); }
.supplier-packaging-recipient > div > span { min-width: 0; overflow-wrap: anywhere; }
.supplier-packaging-recipient > div > button { display: grid; width: 26px; height: 26px; place-items: center; padding: 4px; border: 0; border-radius: 6px; color: #fe7801; background: transparent; cursor: pointer; }
.supplier-packaging-recipient > div > button:hover { color: #c94f00; background: #fff0de; }
.supplier-packaging-recipient > div > button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.supplier-packaging-recipient [data-packaging-copy-feedback] { min-height: 12px; color: #357348; font-size: 10px; }
.supplier-packaging-shipment { min-width: 0; padding: 12px; border: 1px solid #f1dfd0; border-radius: 12px; background: #fff; }
.supplier-packaging-shipment > h3 { margin: 0 0 8px; color: var(--ink); font-size: 13px; }
.supplier-packaging-shipment .supplier-shipping-form,
.supplier-packaging-shipment .supplier-shipment-summary { margin-top: 0; }
.supplier-packaging-shipment .supplier-shipping-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.supplier-packaging-shipment .supplier-shipping-form .supplier-shipping-courier-field { grid-column: 1 / -1; }
.supplier-packaging-shipment .supplier-shipping-form [data-supplier-order-feedback] { grid-column: 1 / -1; }
.supplier-packaging-shipment .supplier-shipment-summary { align-items: center; }
.supplier-packaging-shipment .supplier-delivery-confirmation { flex: 1 0 100%; }
.supplier-packaging-heading-copy { display: flex; flex: 1 1 auto; align-items: flex-end; justify-content: space-between; gap: 18px; min-width: 0; }
.supplier-packaging-heading-copy > div:first-child { flex: 0 0 auto; }
.supplier-packaging-heading-copy > div:first-child > span { color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.supplier-pickup-toolbar-slot { display: flex; align-items: flex-end; min-width: 0; margin-left: auto; padding-bottom: 1px; }
.supplier-pickup-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.supplier-pickup-toolbar > .supplier-mark-selected-shipped { min-width: 147px; min-height: 32px; padding: 0 15px; font-size: 11px; }
.supplier-pickup-toolbar > .supplier-delivery-confirmation { width: auto; }
.supplier-pickup-tracking .supplier-shipment-summary { gap: 10px 18px; font-size: 14px; }
.supplier-pickup-tracking .supplier-shipment-summary > strong { color: var(--ink); font-size: 14px; }
.supplier-pickup-tracking .supplier-shipment-summary > span,
.supplier-pickup-tracking .supplier-shipment-summary > a { font-size: 14px; }
.supplier-pickup-tracking-number a { color: var(--orange-dark); font-size: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.supplier-pickup-recipient-details { display: grid; gap: 3px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #f1dfd0; color: var(--muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.supplier-pickup-recipient-details > strong { color: var(--ink); }
.supplier-completed-shipment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.supplier-completed-shipment-actions > strong { padding: 5px 9px; border-radius: 999px; color: #a74914; background: #fff0de; font-size: 11px; }
.supplier-completed-shipment-actions .supplier-delivery-confirmation { flex: 1 0 100%; }
.supplier-packaging-shipment .supplier-edit-tracking-button,
.supplier-packaging-shipment .supplier-edit-tracking-button:hover,
.supplier-packaging-shipment .supplier-edit-tracking-button:focus-visible,
.supplier-completed-shipment-actions > .supplier-return-pickup-button,
.supplier-completed-shipment-actions > .supplier-return-pickup-button:hover,
.supplier-completed-shipment-actions > .supplier-return-pickup-button:focus-visible { min-height: 23px; padding: 0; border: 0; border-radius: 0; color: #fe7801; background: transparent; box-shadow: none; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; transform: none; }
.supplier-pickup-tracking,
.supplier-pickup-tracking:hover,
.supplier-pickup-tracking:focus-within { border-color: #f1dfd0; background: #fff; box-shadow: none; transform: none; transition: none; animation: none; }
.supplier-pickup-tracking .supplier-edit-tracking-button,
.supplier-pickup-tracking .supplier-edit-tracking-button:hover,
.supplier-pickup-tracking .supplier-edit-tracking-button:focus,
.supplier-pickup-tracking .supplier-edit-tracking-button:focus-visible,
.supplier-pickup-tracking .supplier-edit-tracking-button:active { color: #fe7801; background: transparent; box-shadow: none; outline: none; transform: none; transition: none; animation: none; filter: none; }
.supplier-completed-shipment-actions > [data-supplier-mark-delivered],
.supplier-completed-shipment-actions > [data-supplier-undo-delivered] { box-sizing: border-box; width: 110px; min-width: 110px; min-height: 23px; margin-left: auto; padding: 0 10px; border-width: 1px; border-style: solid; border-radius: 8px; color: #fff; background: #fe7801; box-shadow: none; font-size: 10px; line-height: 1; text-align: center; }
.supplier-completed-shipment-actions > [data-supplier-mark-delivered] { border-color: #fe7801; background: #fe7801; }
.supplier-completed-shipment-actions > [data-supplier-mark-delivered]:hover,
.supplier-completed-shipment-actions > [data-supplier-mark-delivered]:focus-visible { border-color: #e96700; color: #fff; background: #e96700; }
.supplier-completed-shipment-actions > [data-supplier-undo-delivered] { border-color: #dc3545; background: #dc3545; }
.supplier-completed-shipment-actions > [data-supplier-undo-delivered]:hover,
.supplier-completed-shipment-actions > [data-supplier-undo-delivered]:focus-visible { border-color: #c82333; color: #fff; background: #c82333; }
.supplier-pickup-order > header { justify-content: flex-start; }
.supplier-pickup-order > header > div { flex: 1 1 auto; }
.supplier-pickup-order-select { display: grid; flex: 0 0 auto; width: 28px; height: 28px; place-items: center; cursor: pointer; }
.supplier-pickup-order-select input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.supplier-pickup-order-select > span { display: block; width: 20px; height: 20px; border: 2px solid #d8c8bb; border-radius: 5px; background: #fff; box-shadow: inset 0 1px 2px #00000012; }
.supplier-pickup-order-select input:checked + span { border-color: var(--orange); background: var(--orange); box-shadow: inset 0 0 0 4px #fff; }
.supplier-pickup-order-select input:focus-visible + span { outline: 2px solid #272327; outline-offset: 2px; }
.supplier-pickup-order-details { margin-top: 8px; border-top: 1px solid #f1dfd0; }
.supplier-pickup-order-details > summary { padding: 10px 0 2px; color: #c94f00; font-size: 12px; font-weight: 700; cursor: pointer; }
.supplier-pickup-order-details > ul { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.supplier-pickup-order-details > ul > li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: #fff; }
.supplier-pickup-order-details > ul > li > span { display: grid; gap: 3px; min-width: 0; }
.supplier-pickup-order-details > ul strong { color: var(--ink); font-size: 12px; }
.supplier-pickup-order-details > ul small { color: var(--muted); font-size: 11px; }
.supplier-packaging-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.supplier-packaging-pick-list, .supplier-packaging-parcel { min-width: 0; padding: 13px; border: 1px solid #eee1d7; border-radius: 14px; background: #fff; }
.supplier-packaging-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.supplier-packaging-section-heading h3 { margin: 0; color: var(--ink); font-size: 13px; }
.supplier-packaging-total-items { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; color: #222; background: #e8f4e9; font-size: 10px; font-weight: 700; white-space: nowrap; }
.supplier-packaging-total-items b { color: #111; font-size: 12px; }
.supplier-packaging-items, .supplier-packaging-parcel-interior { display: grid; align-content: start; gap: 8px; min-height: 150px; }
.supplier-packaging-parcel { border: 2px dashed #f5a46c; background: #fff8f1; box-shadow: inset 0 2px 7px #c56f2a12; }
.supplier-packaging-parcel-interior { padding: 9px; border: 1px solid #f4dfcf; border-radius: 10px; background: #fffdfa; }
.supplier-packaging-parcel-empty { align-self: center; margin: auto; color: var(--muted); font-size: 12px; text-align: center; }
.supplier-packaging-item { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: stretch; gap: 10px; width: 100%; padding: 11px; border: 1px solid #eee1d7; border-radius: 12px; color: inherit; background: #fff; font: inherit; text-align: left; }
.supplier-packaging-pick-entry { position: relative; display: grid; gap: 7px; }
.supplier-packaging-pick-card { position: relative; }
.supplier-packaging-pick-item { cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.supplier-packaging-pick-item:hover { border-color: #fe7801; background: #fffaf5; box-shadow: 0 3px 10px #c56f2a1c; }
.supplier-packaging-pick-entry.is-selected .supplier-packaging-pick-item { border-color: #fe7801; background: #fff8f1; box-shadow: inset 0 0 0 1px #fe7801; }
.supplier-packaging-pick-item:focus-visible, .supplier-packaging-remove:focus-visible, .supplier-packaging-add-to-parcel:focus-visible { outline: 3px solid #fe780155; outline-offset: 2px; }
.supplier-packaging-add-to-parcel { display: block; width: 100%; min-height: 34px; padding: 7px 10px; border: 0; border-radius: 9px; color: #fff; background: #fe7801; box-shadow: 0 2px 5px #c56f2a24; font: 700 11px 'Avenir Next'; cursor: pointer; transition: background-color .16s ease, box-shadow .16s ease; }
.supplier-packaging-add-to-parcel:hover { background: #c94f00; box-shadow: 0 6px 14px #9c3e0052; }
.supplier-packaging-item.is-blocked { background: #fff8f5; }
.supplier-packaging-item.is-packed-item { border-color: #f6c7a4; }
.supplier-packaging-packed-entry { display: grid; gap: 7px; }
.supplier-packaging-remove { display: block; width: 100%; min-height: 34px; padding: 7px 10px; border: 1px solid #fe7801; border-radius: 8px; color: #c65a0a; background: #fff; font: 700 11px 'Avenir Next'; cursor: pointer; transition: color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.supplier-packaging-remove:hover { color: #fff; background: #fe7801; box-shadow: 0 3px 9px #c56f2a2b; }
.supplier-packaging-thumb { width: 58px; min-height: 64px; height: auto; align-self: stretch; display: grid; place-items: center; overflow: hidden; border: 1px solid #f1dfd0; border-radius: 9px; color: var(--muted); background: #fff8f2; }
.supplier-packaging-thumb img { width: 100%; height: 100%; object-fit: contain; }
.supplier-packaging-item-copy { min-width: 0; display: grid; gap: 3px; }
.supplier-packaging-item-copy > strong { color: var(--ink); font-size: 12px; }
.supplier-packaging-item-copy > span { color: var(--muted); font-size: 11px; }
.supplier-packaging-quantity { position: relative; display: block; min-width: 48px; align-self: stretch; padding: 0 2px; text-align: center; white-space: nowrap; }
.supplier-packaging-quantity > strong { position: absolute; top: 0; left: 50%; color: #fe7801; font-size: 60px; font-weight: 700; line-height: 1; transform: translateX(-50%); }
.supplier-packaging-quantity > small { position: absolute; top: 44px; left: -17px; color: #fe7801; font-size: 9px; line-height: 1.2; }
.supplier-packaging-item-copy .supplier-packaging-racks { width: fit-content; max-width: 100%; padding: 5px 8px; border-radius: 7px; color: #fff; background: #2e8b57; font-size: 13px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.supplier-packaging-item-copy .supplier-packaging-racks.is-warning { color: #fff; background: #b64232; }
.supplier-mark-packed { width: 100%; margin-top: 12px; }
.supplier-mark-packed:disabled { opacity: .48; cursor: not-allowed; }
.supplier-packaging-card-feedback { min-height: 0; margin: 0; color: #347147; font-size: 11px; }
.supplier-packaging-overpack-warning { margin: 10px 0 0; padding: 9px 11px; border-radius: 9px; color: #fff; background: #b64232; font-size: 12px; font-weight: 700; line-height: 1.4; }
@media (max-width: 720px) {
  .supplier-packaging-workspace { grid-template-columns: minmax(0, 1fr); }
  .supplier-packaging-items, .supplier-packaging-parcel-interior { min-height: 100px; }
  .supplier-packaging-order > header { align-items: start; }
}
.supplier-shipping-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; align-items: end; margin-top: 12px; }
.supplier-shipping-form[hidden] { display: none; }
.supplier-shipping-form label { display: grid; gap: 5px; color: #514943; font-size: 10px; font-weight: 700; }
.supplier-shipping-courier-field { display: grid; min-width: 0; gap: 5px; }
.supplier-courier-input-bar { display: flex; min-width: 0; min-height: 38px; align-items: center; gap: 4px; padding: 3px 4px 3px 9px; border: 1px solid #e9e1da; border-radius: 9px; background: #fff; }
.supplier-courier-input-bar:focus-within { border-color: #f2b17c; }
.supplier-shipping-form input { width: 100%; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid #e9e1da; border-radius: 9px; color: var(--ink); background: #fff; font: 12px 'Avenir Next'; }
.supplier-shipping-form button { width: 100%; min-height: 38px; grid-column: 1 / -1; }
.supplier-courier-input-bar input { width: auto; min-height: 30px; flex: 1 1 auto; padding: 5px 3px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.supplier-shipping-form .supplier-default-courier-button,
.supplier-shipping-form .supplier-default-courier-button:hover,
.supplier-shipping-form .supplier-default-courier-button:focus-visible { width: auto; min-height: 28px; flex: 0 0 auto; grid-column: auto; padding: 3px 7px; border-radius: 7px; color: var(--ink); background: #fff8f2; font-size: 9px; line-height: 1.1; white-space: nowrap; }
.supplier-shipping-form [data-supplier-order-feedback] { color: var(--muted); font-size: 10px; }
.supplier-shipment-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; font-size: 11px; }
.supplier-shipment-summary > strong { color: #227346; }
.supplier-shipment-summary > span { color: var(--muted); }
.supplier-shipment-summary > a { color: var(--orange-dark); font-weight: 700; }
.supplier-shipment-summary .supplier-delivered-button { min-height: 34px; margin-left: auto; padding: 6px 12px; font-size: 10px; }
.supplier-shipment-summary .supplier-edit-tracking-button { min-height: 34px; padding: 6px 12px; font-size: 10px; }
.supplier-pickup-tracking .supplier-shipment-summary .supplier-edit-tracking-button,
.supplier-pickup-tracking .supplier-shipment-summary .supplier-edit-tracking-button:hover,
.supplier-pickup-tracking .supplier-shipment-summary .supplier-edit-tracking-button:focus,
.supplier-pickup-tracking .supplier-shipment-summary .supplier-edit-tracking-button:focus-visible,
.supplier-pickup-tracking .supplier-shipment-summary .supplier-edit-tracking-button:active { min-height: 23px; padding: 0; border: 0; color: #fe7801; background: transparent; box-shadow: none; font-size: 11px; line-height: normal; text-decoration: underline; text-underline-offset: 2px; outline: none; transform: none; transition: none; animation: none; filter: none; }
.supplier-shipment-summary [hidden] { display: none; }
.supplier-shipping-form .supplier-tracking-cancel { grid-column: 1 / -1; }
.supplier-market-order .admin-market-order-item { align-items: start; }
.supplier-portal-panel > .supplier-portal-feedback { margin: -3px 0 10px; }
.supplier-portal-panel > .supplier-portal-feedback.is-error { color: #a53f31; }
.marketplace-product-review-list { display: grid; gap: 12px; }
.marketplace-product-review-card { display: grid; grid-template-columns: minmax(140px, .45fr) minmax(0, 1fr); gap: 14px; padding: 14px; border: 1px solid #f0e4db; border-radius: 14px; background: #fffdfa; }
.marketplace-review-images { display: flex; flex-wrap: wrap; align-content: start; gap: 7px; }
.marketplace-review-images img { width: 75px; height: 75px; object-fit: contain; border: 1px solid #f0e4db; border-radius: 9px; background: white; }
.marketplace-review-copy > span { color: var(--orange-dark); font-size: 10px; font-weight: 700; }
.marketplace-review-copy h3 { margin: 3px 0 6px; font-size: 16px; }
.marketplace-review-copy > p { margin: 4px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.marketplace-review-changes { margin: 10px 0; padding: 11px; border: 1px solid #f1dfd0; border-radius: 11px; background: #fff7ef; }
.marketplace-review-changes h4 { margin: 0 0 8px; color: #5b4030; font-size: 11px; }
.marketplace-review-change-list { display: grid; gap: 6px; }
.marketplace-review-change { display: grid; grid-template-columns: minmax(110px, .55fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: start; padding: 7px 8px; border-radius: 8px; background: #fff; font-size: 11px; overflow-wrap: anywhere; }
.marketplace-review-change > strong { color: #514943; }
.marketplace-review-change > span { display: grid; gap: 2px; color: var(--ink); }
.marketplace-review-change > span.is-negative { color: #b42318; font-weight: 700; }
.marketplace-review-change > span.is-positive { color: #187a43; font-weight: 700; }
.marketplace-review-change small { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.marketplace-review-new-listing { margin: 8px 0; color: var(--muted); font-size: 10px; }
.marketplace-review-copy label { display: grid; gap: 5px; margin: 11px 0; font-size: 10px; font-weight: 700; }
.marketplace-review-copy textarea { width: 100%; min-height: 58px; padding: 8px; border: 1px solid #e9e1da; border-radius: 9px; font: 12px 'Avenir Next'; }
.marketplace-review-reason-hint { display: block; margin: -5px 0 10px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.marketplace-product-review-card [data-review-product="approve"]:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.supplier-portal-panel > .supplier-panel-heading + form .admin-market-form-actions [role="status"] { align-self: center; color: var(--muted); font-size: 11px; }
.supplier-portal-panel > .supplier-panel-heading + form .admin-market-form-actions [role="status"].is-error { color: #a53f31; }
.supplier-portal-panel .admin-market-table { font-size: 12px; }
.supplier-inventory-summary { width: min(100%, 980px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 auto 14px; }
.supplier-inventory-summary article { min-width: 0; display: grid; gap: 5px; padding: 14px; border: 1px solid #f1dfd0; border-radius: 15px; background: #fff; }
.supplier-inventory-summary article span { color: var(--muted); font-size: 11px; }
.supplier-inventory-summary article strong { color: var(--ink); font-size: 22px; line-height: 1.1; }
.supplier-inventory-receive, .supplier-inventory-list-panel { width: min(100%, 980px); }
.supplier-inventory-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.supplier-inventory-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.supplier-inventory-form > label { min-width: 0; display: grid; align-content: start; gap: 6px; color: #4b403a; font-size: 11px; font-weight: 700; }
.supplier-inventory-form input, .supplier-inventory-form select, .supplier-inventory-toolbar input, .supplier-inventory-toolbar select { width: 100%; min-width: 0; min-height: 42px; box-sizing: border-box; padding: 9px 11px; border: 1px solid #ead9cb; border-radius: 10px; color: var(--ink); background: #fffaf5; font: 12px 'Avenir Next', sans-serif; }
.supplier-inventory-toolbar input[data-inventory-search].is-filtered { border-color: #fe7801; color: #fff; background: #fe7801; caret-color: #fff; }
.supplier-inventory-toolbar input[data-inventory-search].is-filtered::placeholder { color: rgb(255 255 255 / 78%); }
.supplier-inventory-toolbar input[data-inventory-search].is-filtered::-webkit-search-cancel-button { filter: brightness(0) invert(1); }
.supplier-inventory-form input:focus, .supplier-inventory-form select:focus, .supplier-inventory-toolbar input:focus, .supplier-inventory-toolbar select:focus { border-color: var(--orange); outline: 2px solid #fe780122; }
.supplier-inventory-form select:disabled { color: #9b918a; background: #f7f1ec; cursor: not-allowed; }
.supplier-inventory-form .supplier-inventory-notes { grid-column: 1 / -1; }
.supplier-inventory-form-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.supplier-inventory-form-actions .supplier-portal-feedback { margin: 0 auto 0 0; }
.supplier-inventory-receive-dialog { width: min(780px, calc(100vw - 28px)); max-height: min(88vh, 850px); overflow: auto; padding: 20px; border: 1px solid #f1dfd0; border-radius: 18px; color: var(--ink); background: #fffaf5; box-shadow: 0 18px 55px #251a111f; }
.supplier-inventory-receive-dialog::backdrop { background: rgba(35, 31, 28, .4); }
.supplier-inventory-receive-dialog .supplier-inventory-receive { width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.supplier-inventory-receive-dialog .admin-market-panel-heading { margin-bottom: 18px; }
.supplier-inventory-receive-dialog .supplier-inventory-form-actions { align-items: center; }
.supplier-inventory-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(130px, 180px)); gap: 10px; margin-bottom: 12px; }
.supplier-inventory-table-wrap { overflow-x: auto; overscroll-behavior-inline: contain; }
.supplier-inventory-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
.supplier-inventory-table th { padding: 10px 9px; color: var(--muted); font-size: 9px; letter-spacing: .05em; text-align: center; text-transform: uppercase; white-space: nowrap; }
.supplier-inventory-table th:nth-child(2),
.supplier-inventory-table td.supplier-inventory-option-cell { border-left: 1px solid #f0e7df; }
.supplier-inventory-table td { padding: 12px 9px; border-top: 1px solid #f0e7df; vertical-align: middle; }
.supplier-inventory-table tr.supplier-inventory-option-row > td { border-top: 0; }
.supplier-inventory-table td strong { display: block; color: var(--ink); }
.supplier-inventory-table td small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.supplier-inventory-table .supplier-inventory-product-group-cell { vertical-align: middle; }
.supplier-inventory-table .supplier-inventory-option-cell { min-width: 100px; color: var(--muted); }
.supplier-inventory-table .supplier-inventory-supplier-cell { min-width: 120px; color: var(--muted); }
.supplier-inventory-table .supplier-inventory-status-cell { min-width: 65px; padding-top: 12px; text-align: center; vertical-align: top; }
.supplier-inventory-status-cell .supplier-inventory-listing-state { width: auto; min-width: 55px; min-height: 24px; height: 24px; padding: 0 6px; border: 1px solid #d5d5d5; border-radius: 999px; font: 700 8px 'Avenir Next'; cursor: pointer; }
.supplier-inventory-status-cell .supplier-inventory-listing-state.is-live { border-color: #2e8b57; color: #d8f5df; background: #2e8b57; }
.supplier-inventory-status-cell .supplier-inventory-listing-state.is-hidden { border-color: #d5d5d5; color: #686868; background: #e7e7e7; }
.supplier-inventory-status-cell .supplier-inventory-listing-state.is-pending,
.supplier-inventory-status-cell .supplier-inventory-listing-state.is-frozen { border-color: #d5d5d5; color: #686868; background: #efefef; }
.supplier-inventory-product-cell { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.supplier-inventory-product-image { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; border: 1px solid #f1dfd0; border-radius: 10px; background: #fff; }
.supplier-inventory-product-image.is-placeholder { display: grid; place-items: center; color: #8c7567; background: #fff5ed; font-size: 22px; }
.supplier-inventory-expiry { white-space: nowrap; }
.supplier-inventory-expiry.is-expiring { color: #a65b00; font-weight: 700; }
.supplier-inventory-expiry.is-expired { color: #ae342b; font-weight: 700; }
.supplier-inventory-actions { display: grid; gap: 6px; min-width: 250px; }
.supplier-inventory-product-actions, .supplier-inventory-stock-actions { display: flex; align-items: center; gap: 6px; }
.supplier-inventory-actions button { min-height: 32px; flex: 1 1 0; min-width: 0; padding: 0 9px; border: 1px solid var(--orange); border-radius: 9px; color: var(--orange-dark); background: transparent; box-shadow: none; font: 700 10px 'Avenir Next'; white-space: nowrap; cursor: pointer; }
.supplier-inventory-actions button.is-danger { border-color: #e5b8b1; color: #ad3d32; }
.supplier-inventory-actions button.is-primary { border-color: var(--orange); color: #fff; background: var(--orange); }
.supplier-inventory-actions button.supplier-inventory-receive-action,
.supplier-inventory-receive-action { border: 1px solid var(--orange); color: var(--orange-dark); background: transparent; box-shadow: none; }
.supplier-inventory-actions button.supplier-inventory-receive-action:hover,
.supplier-inventory-receive-action:hover { color: var(--orange-dark); background: #fff5ec; }
.supplier-inventory-product-actions-row td[colspan="4"] { padding-top: 4px; padding-bottom: 4px; }
.supplier-inventory-stock-actions > button:first-child { border-radius: 9px; }
.supplier-inventory-product-actions > [data-inventory-edit-product] { border-color: #ffd7b5; color: #fe7801; background: #fff0e2; }
.supplier-inventory-product-actions > [data-inventory-edit-product]:hover { background: #ffe7d1; }
.supplier-inventory-actions .supplier-inventory-product-actions > button.is-primary[data-inventory-edit-product] { border-color: #ffd7b5; color: #fe7801; background: #fff0e2; }
.supplier-inventory-actions .supplier-inventory-product-actions > button.is-primary[data-inventory-edit-product]:hover { background: #ffe7d1; }
.supplier-inventory-supplier-dialog { width: min(560px, calc(100vw - 28px)); }
.supplier-inventory-supplier-card { margin-top: 10px; }
.supplier-inventory-supplier-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 15px; }
.supplier-inventory-supplier-card p { margin: 6px 0 0; }
.supplier-inventory-stock-actions > button:first-child { border-color: #fe7801; color: #fff; background: #fe7801; }
.supplier-inventory-stock-actions > button:first-child:hover { background: #ed6d00; }
.supplier-inventory-actions-wrap { display: flex; justify-content: flex-start; }
.supplier-stock-details-dialog { width: min(680px, calc(100vw - 28px)); }
.supplier-stock-details-content > h2 { margin: 0 0 6px; }
.supplier-stock-details-total { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.supplier-stock-details-hint { margin: -8px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.supplier-stock-batches { display: grid; gap: 10px; max-height: min(56vh, 500px); overflow: auto; padding: 2px 4px 2px 0; }
.supplier-stock-batch-section { margin-top: 14px; }
.supplier-stock-batch-section > h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 9px; color: var(--ink); font-size: 14px; }
.supplier-stock-batch-section > h3 > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.supplier-stock-batch { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 10px; padding: 14px; border: 1px solid #f1dfd0; border-radius: 13px; background: #fffaf5; }
.supplier-stock-batch.is-dragging { opacity: .55; }
.supplier-stock-batch-main { min-width: 0; }
.supplier-stock-batch-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.supplier-stock-batch-heading strong { color: var(--ink); font-size: 14px; }
.supplier-stock-batch-heading span { color: var(--orange-dark); font-weight: 800; white-space: nowrap; }
.supplier-stock-batch-main > p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.supplier-stock-batch-drag-handle { display: grid; place-items: center; width: 28px; height: 34px; padding: 0; border: 0; color: #927d70; background: transparent; font: 700 24px/1 'Avenir Next', sans-serif; cursor: grab; touch-action: none; user-select: none; }
.supplier-stock-batch-drag-handle:active, .supplier-stock-batch-drag-handle.is-dragging { color: var(--orange-dark); cursor: grabbing; }
.supplier-stock-batch-drag-handle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 5px; }
.supplier-stock-batch-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.supplier-stock-batch-actions button { min-height: 34px; padding: 6px 11px; border: 1px solid var(--orange); border-radius: 9px; color: var(--orange-dark); background: transparent; font: 700 11px 'Avenir Next', sans-serif; cursor: pointer; }
.supplier-stock-batch-actions .supplier-stock-edit-button { border-color: #fe7801; color: #fff; background: #fe7801; }
.supplier-stock-batch-actions .supplier-stock-edit-button:hover { border-color: #ed6d00; background: #ed6d00; }
.supplier-stock-batch-actions button.is-danger { border-color: #e5b8b1; color: #ad3d32; }
.supplier-stock-batch-actions button:disabled { opacity: .5; cursor: wait; }
.supplier-details-form .supplier-inventory-form-actions { justify-content: flex-end; }
.supplier-stock-empty { margin: 12px 0; padding: 16px; border-radius: 12px; color: var(--muted); background: #fffaf5; font-size: 13px; }
.supplier-stock-details-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.supplier-stock-details-heading h2 { min-width: 0; margin: 0; }
.supplier-stock-details-heading-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.supplier-stock-details-heading .supplier-stock-low-stock-button { min-height: 38px; padding: 7px 14px; border: 1px solid #fe7801; border-radius: 10px; color: #e96d00; background: transparent; font: 700 12px 'Avenir Next', sans-serif; cursor: pointer; }
.supplier-stock-details-heading .supplier-stock-low-stock-button:hover { color: #fff; background: #fe7801; }
.supplier-stock-details-heading .supplier-stock-low-stock-button:disabled { opacity: .5; cursor: not-allowed; }
.supplier-stock-details-heading .supplier-stock-history-button { flex: 0 0 auto; min-height: 38px; padding: 7px 16px; border: 0; border-radius: 10px; color: #fff; background: #242328; font: 700 12px 'Avenir Next', sans-serif; cursor: pointer; }
.supplier-stock-details-heading .supplier-stock-history-button:hover { background: #3a393f; }
.supplier-stock-low-stock-notice { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #ffd0a6; border-radius: 10px; color: #a54a00; background: #fff4e8; font-size: 13px; font-weight: 700; }
.supplier-low-stock-form > p[data-low-stock-option] { margin: -8px 0 14px; color: var(--muted); font-size: 13px; }
.supplier-low-stock-form > label:not(.supplier-low-stock-toggle) { display: grid; gap: 7px; margin: 14px 0; color: #4b403a; font-size: 13px; font-weight: 700; }
.supplier-low-stock-form input[type="number"] { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #ead9cb; border-radius: 10px; color: var(--ink); background: #fffaf5; font: 14px 'Avenir Next', sans-serif; }
.supplier-low-stock-toggle { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 700; }
.supplier-low-stock-toggle input { width: 18px; height: 18px; accent-color: #fe7801; }
.supplier-stock-details-actions { display: block; margin-top: 16px; }
.supplier-stock-details-actions > .supplier-stock-receive-button { display: block; width: 100%; min-height: 54px; margin: 0; border: 1px solid #fe7801; border-radius: 12px; color: #fff; background: #fe7801; font: 700 16px 'Avenir Next', sans-serif; cursor: pointer; }
.supplier-stock-details-actions > .supplier-stock-receive-button:hover { border-color: #ed6d00; color: #fff; background: #ed6d00; }
.supplier-stock-adjust-form > label { display: grid; gap: 6px; margin: 12px 0; color: #4b403a; font-size: 12px; font-weight: 700; }
.supplier-stock-adjust-form input, .supplier-stock-adjust-form select, .supplier-stock-adjust-form textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #ead9cb; border-radius: 10px; color: var(--ink); background: #fffaf5; font: 13px 'Avenir Next', sans-serif; }
.supplier-stock-adjust-quantity { display: flex; align-items: stretch; gap: 8px; max-width: 270px; }
.supplier-stock-adjust-form .supplier-stock-adjust-quantity input { min-width: 0; max-width: 180px; }
.supplier-stock-adjust-quantity button { min-width: 70px; padding: 8px 14px; border: 0; border-radius: 10px; color: #fff; background: #fe7801; font: 700 13px 'Avenir Next', sans-serif; cursor: pointer; }
.supplier-stock-adjust-quantity button:hover { background: #ed6d00; }
.supplier-stock-adjust-quantity button:disabled { opacity: .5; cursor: not-allowed; }
.supplier-stock-adjust-form textarea { min-height: 84px; resize: vertical; }
.supplier-stock-adjust-form [name="quantity"] { max-width: none; }
.supplier-stock-history-content > h2 { margin-bottom: 6px; }
.supplier-stock-history-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.supplier-stock-history-title-row > h2 { min-width: 0; margin: 0; }
.supplier-stock-history-title-row > button { flex: 0 0 auto; min-height: 38px; padding: 8px 13px; border: 1px solid #fe7801; border-radius: 9px; color: #fff; background: #fe7801; font: 700 12px 'Avenir Next', sans-serif; cursor: pointer; }
.supplier-stock-history-title-row > button:hover { background: #ed6d00; }
.supplier-stock-history-title-row > button:disabled { opacity: .5; cursor: not-allowed; }
.supplier-stock-history-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 10px; }
.supplier-stock-history-tabs > button { min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #ead9cb; border-radius: 10px; color: #5d5149; background: #fffaf5; font: 700 12px 'Avenir Next', sans-serif; cursor: pointer; }
.supplier-stock-history-tabs > button.is-active { border-color: #fe7801; color: #fff; background: #fe7801; }
.supplier-stock-history-list { display: grid; gap: 10px; max-height: min(60vh, 560px); overflow: auto; padding: 2px; }
.supplier-stock-history-panel { display: grid; align-content: start; gap: 8px; }
.supplier-stock-history-panel[hidden] { display: none; }
.supplier-stock-history-batch { overflow: hidden; border: 1px solid #f1dfd0; border-radius: 12px; background: #fffaf5; }
.supplier-stock-history-batch > summary { position: relative; display: grid; gap: 8px; padding: 13px 38px 13px 14px; color: var(--ink); cursor: pointer; list-style: none; }
.supplier-stock-history-batch > summary::-webkit-details-marker { display: none; }
.supplier-stock-history-batch > summary::after { position: absolute; top: 12px; right: 14px; color: var(--orange-dark); content: '+'; font-size: 19px; font-weight: 700; line-height: 1; }
.supplier-stock-history-batch[open] > summary::after { content: '−'; }
.supplier-stock-history-batch-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.supplier-stock-history-batch-summary-heading > strong { min-width: 0; overflow-wrap: anywhere; }
.supplier-stock-history-batch-summary-heading > span { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.supplier-stock-history-batch[open] > summary { border-bottom: 1px solid #f1dfd0; }
.supplier-stock-history-batch-meta { display: grid; gap: 4px 14px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.supplier-stock-history-movements { display: grid; gap: 8px; padding: 10px; }
.supplier-stock-history-entry { padding: 13px 14px; border: 1px solid #f1dfd0; border-radius: 12px; background: #fffaf5; }
.supplier-stock-history-entry > strong { display: block; color: #278553; font-size: 14px; }
.supplier-stock-history-entry.is-out > strong { color: #bd4b3c; }
.supplier-stock-history-entry > p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.supplier-stock-history-entry > small { display: block; margin-top: 8px; color: #62564e; font-size: 11px; }
.supplier-stock-history-dialog .supplier-inventory-form-actions { justify-content: flex-end; }
.supplier-stock-history-export-dialog { width: min(560px, calc(100vw - 28px)); }
.supplier-stock-history-export-dialog > form > h2 { margin: 0 0 6px; }
.supplier-stock-export-date-filter, .supplier-stock-export-custom-range > label { display: grid; gap: 6px; margin-top: 12px; color: #4b403a; font-size: 12px; font-weight: 700; }
.supplier-stock-export-date-filter select, .supplier-stock-export-custom-range input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #ead9cb; border-radius: 10px; color: var(--ink); background: #fffaf5; font: 13px 'Avenir Next', sans-serif; }
.supplier-stock-export-custom-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.supplier-stock-export-selection-count { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.supplier-stock-export-empty { margin: 0; padding: 12px; border-radius: 10px; color: var(--muted); background: #fff5ee; font-size: 13px; }
.supplier-stock-export-select-all { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; padding: 10px 12px; border-radius: 10px; color: var(--ink); background: #fff5ee; font-size: 13px; font-weight: 700; }
.supplier-stock-export-select-all input, .supplier-stock-export-batch input { width: 18px; height: 18px; accent-color: #fe7801; }
.supplier-stock-export-batches { display: grid; gap: 7px; max-height: min(42vh, 340px); overflow: auto; padding: 2px; }
.supplier-stock-export-batch { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid #f1dfd0; border-radius: 10px; background: #fffaf5; cursor: pointer; }
.supplier-stock-export-batch > span { display: grid; gap: 3px; min-width: 0; }
.supplier-stock-export-batch strong { overflow-wrap: anywhere; color: var(--ink); font-size: 13px; }
.supplier-stock-export-batch small { color: var(--muted); font-size: 11px; }
.supplier-stock-history-export-dialog .supplier-inventory-form-actions { justify-content: space-between; }
.supplier-warehouse-product-dialog { width: min(720px, calc(100vw - 28px)); max-height: min(88vh, 850px); padding: 20px; border: 1px solid #f1dfd0; border-radius: 18px; color: var(--ink); background: #fff; }
.supplier-warehouse-product-dialog::backdrop { background: rgba(35, 31, 28, .4); }
.supplier-warehouse-product-dialog h2 { margin: 0 0 8px; font-size: 20px; }
.supplier-warehouse-product-dialog > form > p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.supplier-warehouse-product-dialog > form > label { display: grid; gap: 6px; margin: 12px 0; color: #4b403a; font-size: 12px; font-weight: 700; }
.supplier-warehouse-product-dialog select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #ead9cb; border-radius: 10px; color: var(--ink); background: #fffaf5; font: 13px 'Avenir Next', sans-serif; }
.supplier-warehouse-product-dialog .supplier-variant-editor-heading .supplier-add-option-button { min-height: 34px; padding: 6px 12px; border: 1px solid var(--orange); border-radius: 9px; color: var(--orange-dark); background: #fff; box-shadow: none; font-size: 11px; }
.supplier-warehouse-product-dialog .supplier-variant-row { grid-template-columns: repeat(2, minmax(0, 1fr)) 38px; }
.supplier-warehouse-product-dialog .supplier-variant-row > button { grid-column: 3; grid-row: 1 / span 2; }
.supplier-warehouse-product-dialog .supplier-inventory-form-actions { margin-top: 16px; }
.supplier-inventory-edit-dialog { width: min(720px, calc(100vw - 28px)); max-height: min(88vh, 850px); padding: 20px; border: 1px solid #f1dfd0; border-radius: 18px; color: var(--ink); background: #fff; }
.supplier-inventory-receive-dialog { background: #fff; }
.supplier-warehouse-danger-zone { margin: 16px 0 0; padding: 14px; border: 1px solid #e9c6c0; border-radius: 12px; background: #fff8f6; }
.supplier-warehouse-danger-zone[hidden] { display: none; }
.supplier-warehouse-danger-zone summary { color: #9f3028; font-weight: 800; cursor: pointer; }
.supplier-warehouse-danger-zone > p { margin: 10px 0; color: #6c5d58; font-size: 12px; line-height: 1.5; }
.supplier-warehouse-danger-zone .supplier-portal-feedback { color: #a43a30; }
.supplier-danger-zone-delete { min-height: 38px; padding: 8px 14px; border: 1px solid #c8382c; border-radius: 9px; color: #fff; background: #c8382c; font: 700 12px 'Avenir Next', sans-serif; cursor: pointer; }
.supplier-danger-zone-delete:disabled { opacity: .5; cursor: not-allowed; }
.supplier-inventory-edit-dialog::backdrop { background: rgba(35, 31, 28, .4); }
.supplier-inventory-edit-dialog h2 { margin: 0 0 16px; font-size: 20px; }
.supplier-inventory-edit-dialog .supplier-inventory-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.supplier-inventory-edit-dialog input[readonly] { color: #766c65; background: #f7f1ec; cursor: default; }
.supplier-inventory-edit-dialog .supplier-inventory-form-actions { margin-top: 16px; }
@media (max-width: 620px) {
  .supplier-portal-page { padding: 14px 12px 100px; }
  .supplier-portal-header > a span { font-size: 14px; }
  .supplier-portal-header > div { min-width: 0; gap: 6px; font-size: 10px; }
  .supplier-portal-header > div > strong { display: none; }
  .supplier-portal-header button { padding: 0 9px; }
  .supplier-portal-header .supplier-customer-portal-link, .supplier-portal-header .supplier-admin-return-link { padding: 0 7px; font-size: 9px; }
  .admin-store-group-heading { position: relative; display: flex; align-items: flex-start; padding-right: 205px; }
  .admin-store-group-actions { position: absolute; top: 7px; right: 7px; display: flex; align-items: center; gap: 4px; }
  .admin-store-open-warehouse-button { min-height: 36px; padding: 0 8px; font-size: 9px; }
  .supplier-panel-heading { display: block; }
  .supplier-panel-heading > .button { margin-top: 10px; }
  .supplier-panel-heading > p { margin: 7px 0 0; }
  .supplier-form-grid { grid-template-columns: minmax(0, 1fr); }
  .supplier-form-wide { grid-column: auto; }
  .supplier-variant-editor { grid-column: auto; }
  .supplier-variant-editor-heading { align-items: flex-start; }
  .supplier-variant-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .supplier-variant-row.is-warehouse-create { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .supplier-variant-row > .supplier-variant-image-field { grid-column: 1 / -1; }
  .supplier-variant-row > button { justify-self: end; }
  .supplier-shipping-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplier-admin-help-grid { grid-template-columns: minmax(0, 1fr); }
  .supplier-admin-help-grid article { min-height: 0; }
  .supplier-inventory-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplier-inventory-summary article { padding: 11px; }
  .supplier-inventory-summary article span { font-size: 10px; }
  .supplier-inventory-summary article strong { font-size: 20px; }
  .supplier-inventory-form, .supplier-inventory-edit-dialog .supplier-inventory-form { grid-template-columns: minmax(0, 1fr); }
  .supplier-inventory-form .supplier-inventory-notes, .supplier-inventory-form-actions { grid-column: auto; }
  .supplier-inventory-form-actions { align-items: stretch; flex-direction: column; }
  .supplier-inventory-header-actions { justify-content: stretch; }
  .supplier-inventory-header-actions > button { flex: 1; }
  .supplier-inventory-receive-dialog { padding: 16px; }
  .supplier-inventory-form-actions .supplier-portal-feedback { margin: 0; }
  .supplier-inventory-toolbar { grid-template-columns: minmax(0, 1fr); }
  .supplier-inventory-table { min-width: 1080px; }
  .supplier-profile-details > div { grid-template-columns: minmax(90px, .4fr) minmax(0, 1fr); gap: 9px; }
  .supplier-profile-fields { grid-template-columns: minmax(0, 1fr); }
  .supplier-profile-fields .supplier-profile-readonly output { min-height: 60px; }
  .supplier-profile-form .admin-market-form-actions > button { flex: 1 1 140px; }
  .supplier-shipping-form button { grid-column: 1 / -1; }
  .supplier-shipping-form [data-supplier-order-feedback] { grid-column: 1 / -1; }
  .marketplace-product-review-card { grid-template-columns: minmax(0, 1fr); }
  .marketplace-review-change { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketplace-review-change > strong { grid-column: 1 / -1; }
}
@media (min-width: 621px) and (max-width: 900px) {
  .supplier-inventory-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplier-inventory-toolbar > label:first-child { grid-column: 1 / -1; }
}
.admin-promotions-page { min-height: 100vh; padding: 30px 20px 60px; background: #fff7ed; }
.admin-promotions-heading { width: min(100%, 900px); display: flex; align-items: center; gap: 18px; margin: 0 auto 24px; }
.admin-promotions-heading > a { font-size: 44px; line-height: 1; }
.admin-promotions-heading span { color: var(--orange-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-promotions-heading h1 { margin: 2px 0 0; font: 700 28px/1.2 'Avenir Next'; }
.admin-promotions-panel { width: min(100%, 900px); margin: auto; padding: 24px; border: 1px solid #f1dfd0; border-radius: 22px; background: #fff; box-shadow: 0 8px 24px #4c26100d; }
.admin-promotions-panel > h2 { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 7px; font: 700 20px 'Avenir Next'; }
.admin-promotions-panel > h2 span { color: var(--orange-dark); font-size: 14px; white-space: nowrap; }
.admin-promo-guidance { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.admin-promo-form { display: grid; gap: 14px; }
.admin-promo-form > label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.admin-promo-form input:not([type="file"]) { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #e8ded7; border-radius: 12px; color: var(--ink); background: white; font: 15px 'Avenir Next'; }
.admin-promo-file { min-height: 48px; position: relative; display: flex !important; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px dashed #e0bfa8; border-radius: 12px; background: #fffaf6; }
.admin-promo-file span { color: var(--muted); font-size: 11px; font-weight: 500; }
.admin-promo-file input { max-width: 60%; font-size: 12px; }
.admin-promo-preview { width: min(100%, 480px); aspect-ratio: 2 / 1; object-fit: cover; border-radius: 14px; background: #fff1e5; }
.admin-promo-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-promo-previews .admin-promo-preview { width: 100%; }
.admin-promo-form .button { min-height: 48px; }
.admin-promo-form .button:disabled { opacity: .55; cursor: not-allowed; }
.admin-promo-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.admin-promo-row { min-height: 80px; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; background: #fff7ef; }
.admin-promo-row img { width: 108px; aspect-ratio: 2 / 1; flex: 0 0 auto; object-fit: cover; border-radius: 8px; }
.admin-promo-row > div { min-width: 0; flex: 1; display: grid; gap: 4px; }
.admin-promo-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.admin-promo-row span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.admin-promo-row button { width: 34px; height: 34px; flex: 0 0 auto; border: 0; border-radius: 50%; color: #a74914; background: #ffe6d2; font-size: 22px; }
.admin-promo-empty { padding: 18px; border-radius: 14px; color: var(--muted); background: #fff7ef; text-align: center; font-size: 13px; }
@media (max-width: 620px) {
  .admin-portal-account > span { display: none; }
  .admin-portal-account { gap: 7px; }
  .admin-portal-account a.admin-customer-portal-link { padding: 0 8px; font-size: 9px; }
  .admin-portal-brand { gap: 7px; font-size: 14px; }
  .admin-portal-brand img { width: 34px; height: 34px; }
  .admin-portal-tool { grid-template-columns: 44px 1fr; gap: 13px; }
  .admin-tool-icon { width: 42px; height: 42px; }
  .admin-portal-tool .button { grid-column: 1 / -1; justify-content: center; }
  .admin-promotions-panel { padding: 18px; }
  .admin-promo-row img { width: 80px; }
  .admin-access-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-team-form, .admin-outlet-form { grid-template-columns: 1fr; }
  .admin-team-member { grid-template-columns: minmax(0, 1fr); }
  .admin-supplier-company-form { grid-template-columns: minmax(0, 1fr) auto; }
  .admin-supplier-application { flex-direction: column; }
  .admin-supplier-application-actions { width: 100%; justify-content: flex-start; }
  .admin-supplier-application-actions > * { flex: 1 1 140px; }
  .admin-team-filters { grid-template-columns: 1fr; }
  .admin-audit-entry { display: grid; gap: 5px; }
  .admin-audit-filters { grid-template-columns: 1fr; }
  .admin-audit-filters p { margin: 0; }
  .admin-director-approval { align-items: stretch; flex-direction: column; }
  .admin-director-approval-actions { justify-content: flex-start; }
  .admin-product-insights-filters { grid-template-columns: 1fr; }
  .admin-product-insights-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-product-insights-grid { grid-template-columns: 1fr; }
  .admin-product-insights-table { min-width: 500px; }
}
.supplier-portal-header > div > strong { display: block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.driver-portal-page .admin-portal-account > span { display: inline; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 620px) {
  .supplier-portal-header > div > strong { max-width: 145px; }
  .driver-portal-page .admin-portal-account > span { display: inline; max-width: 145px; }
  .admin-customer-view-header { width: 100%; padding: 8px 16px 12px; }
  .admin-customer-view-header .admin-portal-account { gap: 7px; }
  .admin-customer-view-header .admin-portal-account > span { display: none; }
  .admin-customer-view-header .admin-portal-account a.admin-customer-portal-link { padding: 0 9px; font-size: 9px; }
}
/* Shared floating footer treatment across customer, supplier, admin, and driver portals. */
.bottom-nav { width: min(660px, calc(100% - 50px)); height: 76px; position: fixed; z-index: 20; right: 50%; bottom: calc(15px + env(safe-area-inset-bottom)); left: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; padding: 5px 18px; transform: translateX(50%); border: 1px solid rgba(255, 255, 255, 0.82); border-radius: 26px; color: #18181a; background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 7px 26px #38241218; }
.driver-bottom-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bottom-item { min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #18181a; font-size: 11px; }
.bottom-item img { width: 24px; height: 24px; object-fit: contain; }
.bottom-item.active { color: var(--orange); font-weight: 700; }
.bottom-store { margin-top: -28px; }
.admin-bottom-nav .bottom-item { gap: 1px; }
.admin-bottom-nav .bottom-item span { max-width: 100%; font-size: 11px; line-height: 1.05; text-align: center; }
.admin-bottom-nav .bottom-item[href="#admin-access"] { position: relative; }
.admin-bottom-nav .bottom-item .admin-notification-badge { min-width: 16px; height: 16px; position: absolute; top: 9px; right: calc(50% - 23px); display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; border-radius: 999px; color: #fff; background: #d52d24; font-size: 8px; font-weight: 800; line-height: 1; }
.admin-bottom-nav .bottom-item .admin-notification-badge[hidden] { display: none; }
.admin-bottom-nav .bottom-item .admin-nav-label { max-width: 100%; font-size: 11px; line-height: 1.05; text-align: center; }
.admin-bottom-nav .admin-scan-trigger { padding: 0; border: 4px solid #fff; cursor: pointer; appearance: none; }
.admin-staff-bottom-nav { grid-template-columns: repeat(3, 1fr); }
.admin-access-level-summary { margin-top: 24px; padding: 24px; border: 1px solid #f3ddca; border-radius: 20px; background: linear-gradient(135deg, #fff2e5, #fffaf6); }
.admin-access-level-summary > span { color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.admin-access-level-summary h2 { margin: 5px 0 8px; font: 700 26px 'Avenir Next'; }
.admin-access-level-summary p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.admin-access-level-summary .admin-access-director-note { margin-top: 10px; color: var(--ink); }
.admin-access-level-summary.admin-self-profile { box-shadow: none; }
.admin-self-profile-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: center; gap: 15px 22px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #f3ddca; }
.admin-self-profile-details > div { min-width: 0; display: grid; gap: 5px; }
.admin-self-profile-details > div > span { color: var(--muted); font-size: 11px; }
.admin-self-profile-details > div > strong { overflow-wrap: anywhere; font-size: 13px; }
.admin-self-profile-details > .profile-edit-link { min-height: 42px; }
.admin-access-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.admin-access-feature { min-height: 124px; display: grid; align-content: start; gap: 6px; padding: 16px; border: 1px solid #efe5dd; border-radius: 15px; color: var(--ink); background: #fffaf6; text-decoration: none; }
.admin-access-feature.is-available { transition: border-color .16s ease, transform .16s ease; }
.admin-access-feature.is-available:hover { transform: translateY(-2px); border-color: #f4a86f; }
.admin-access-feature.is-restricted { color: #88817b; background: #f8f6f4; }
.admin-access-feature-state { width: fit-content; padding: 3px 8px; border-radius: 20px; color: #a64c0d; background: #ffead8; font-size: 10px; font-weight: 700; }
.admin-access-feature.is-restricted .admin-access-feature-state { color: #77716c; background: #e9e6e3; }
.admin-access-feature strong { font-size: 14px; }
.admin-access-feature small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.admin-team-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, .45fr); gap: 13px; align-items: end; }
.admin-team-form > label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; }
.admin-team-form input, .admin-team-form select, .admin-team-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; font-size: 13px; }
.admin-team-form textarea { min-height: 82px; resize: vertical; }
.admin-team-form .admin-market-form-actions { grid-column: 1 / -1; }
.admin-team-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.admin-team-filters label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.admin-team-filters select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; font-size: 13px; }
.admin-outlet-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, .3fr); gap: 13px; align-items: end; }
.admin-outlet-form > label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; }
.admin-outlet-form input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; font-size: 13px; }
.admin-outlet-form .admin-market-form-actions { grid-column: 1 / -1; }
.admin-outlet-list { display: grid; gap: 8px; margin-top: 16px; }
.admin-outlet-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid #f1e7df; border-radius: 12px; background: #fffaf6; }
.admin-outlet-item > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; flex: 1; }
.admin-outlet-actions { display: flex; align-items: center; gap: 7px; }
.admin-outlet-actions .button { min-height: 34px; padding: 0 11px; font-size: 11px; }
.admin-outlet-item strong { font-size: 13px; }
.admin-outlet-item span { color: var(--orange); font-size: 12px; font-weight: 800; }
.admin-team-list { display: grid; gap: 8px; margin-top: 14px; }
.admin-team-list[hidden] { display: none; }
.admin-suppliers-page [data-supplier-assignment-form] .admin-market-form-actions > .button { box-sizing: border-box; min-width: 180px; max-width: 100%; justify-content: center; }
.admin-team-member { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 12px; border: 1px solid #f1e7df; border-radius: 12px; background: #fffaf6; }
.admin-team-member > div { display: grid; gap: 3px; }
.admin-team-member strong { font-size: 13px; }
.admin-team-member small { color: var(--muted); font-size: 11px; }
.admin-suppliers-page .admin-market-panel + .admin-market-panel { margin-top: 16px; }
.admin-store-approval-setting { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid #f1e7df; border-radius: 13px; background: #fffaf6; }
.admin-store-approval-copy { display: grid; gap: 4px; }
.admin-store-approval-copy strong { color: var(--ink); font-size: 13px; }
.admin-store-approval-copy span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.admin-store-approval-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-store-approval-actions .button { min-height: 36px; padding: 0 12px; font-size: 10px; }
.admin-store-approval-feedback { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.admin-store-approval-actions .button:disabled { cursor: wait; opacity: .65; }
.admin-supplier-company-form { display: grid; grid-template-columns: minmax(150px, 260px) auto; align-items: center; gap: 7px; }
.admin-supplier-company-form input, .admin-supplier-application-actions select { min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font: inherit; font-size: 12px; }
.admin-supplier-company-form [role="status"] { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.admin-supplier-applications { display: grid; gap: 9px; margin-top: 15px; }
.admin-supplier-application { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid #f1e7df; border-radius: 13px; background: #fffaf6; }
.admin-supplier-application > div:first-child { min-width: 0; }
.admin-supplier-application strong, .admin-supplier-application small { display: block; }
.admin-supplier-application strong { font-size: 13px; }
.admin-supplier-application small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.admin-supplier-application p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.admin-supplier-application-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.admin-supplier-application-actions label { display: grid; gap: 4px; color: var(--muted); font-size: 10px; }
.admin-supplier-application-actions .button { min-height: 36px; padding: 0 11px; font-size: 10px; }
.admin-team-readonly { color: var(--muted); font-size: 10px; font-weight: 600; white-space: nowrap; }
.admin-store-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 24px; }
.admin-store-list-heading h2 { margin: 0; font: 700 18px/1.3 'Avenir Next', sans-serif; }
.admin-store-list-heading span { color: var(--muted); font-size: 11px; }
.admin-store-group { position: relative; display: grid; gap: 14px; padding: 16px; border: 1px solid #f1e7df; border-radius: 14px; background: #fffaf6; }
.admin-store-group-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 52px; padding-right: 250px; }
.admin-store-group-actions { position: absolute; top: 7px; right: 7px; display: flex; align-items: center; gap: 6px; }
.admin-store-open-warehouse-button { min-height: 42px; padding: 0 14px; border: 1px solid var(--orange); border-radius: 22px; color: #fff; background: var(--orange); font: 700 11px 'Avenir Next', sans-serif; white-space: nowrap; }
.admin-store-no-accounts-note { align-self: center; max-width: 150px; color: var(--muted); font-size: 10px; line-height: 1.3; text-align: right; }
.admin-store-group-heading > div:first-child { display: grid; gap: 3px; }
.admin-store-group-heading > div > span { color: var(--orange-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-store-group-heading h3 { margin: 0; font: 700 16px/1.3 'Avenir Next', sans-serif; }
.admin-store-group-heading small { color: var(--muted); font-size: 11px; }
.admin-store-settings-button { position: static; width: 55px; min-width: 55px; height: 55px; min-height: 55px; display: grid; place-items: center; padding: 10px; border: 0; border-radius: 50%; color: var(--ink); background: transparent; box-shadow: none; }
.admin-store-settings-button img { width: 31px; height: 31px; object-fit: contain; }
.admin-store-settings-button:hover { background: #fff0e2; }
.admin-store-settings[hidden] { display: none; }
.admin-store-settings { position: absolute; z-index: 20; top: 68px; right: 16px; width: min(380px, calc(100% - 32px)); display: grid; gap: 10px; padding: 13px; border: 1px solid #f1e7df; border-radius: 11px; background: #fff; box-shadow: 0 12px 30px #39200f24; }
.admin-store-settings h4 { margin: 0; font: 700 13px/1.3 'Avenir Next', sans-serif; }
.admin-store-settings .admin-store-delete-button { justify-self: end; width: 104px; min-height: 36px; padding: 0 13px; }
.admin-store-delete-button { min-height: 36px; padding: 0 13px; border: 1px solid #d94b3d; border-radius: 10px; color: #c5392e; background: transparent; font-size: 11px; font-weight: 700; }
.admin-store-delete-button:hover { color: #fff; background: #c9362b; }
.admin-store-delete-button:disabled { cursor: not-allowed; color: #9b9692; border-color: #ded9d5; background: #eeeae7; opacity: .8; }
.admin-store-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.admin-store-metrics > div { display: grid; gap: 4px; padding: 11px 13px; border-radius: 10px; background: #fff; }
.admin-store-metrics span { color: var(--muted); font-size: 10px; font-weight: 700; }
.admin-store-metrics strong { color: var(--ink); font-size: 15px; }
.admin-store-metrics-notice, .admin-store-delete-note { margin: 0; color: #b94134; font-size: 11px; line-height: 1.45; }
.admin-store-delete-note[data-store-delete-warning]:not([hidden]) { margin-top: 10px; }
.admin-store-account-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.admin-store-account-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 9px; background: #fff; }
.admin-store-account-list li > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.admin-store-account-list strong { font-size: 12px; }
.admin-store-account-list span { color: var(--muted); font-size: 11px; }
.admin-store-remove-account-button { min-height: 30px; padding: 5px 10px; color: #b6382d; border: 1px solid #efb8ae; background: transparent; font-size: 10px; }
.admin-store-empty-accounts { color: var(--muted); font-size: 12px; }
.admin-store-account-add-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 9px; padding: 11px; border: 1px dashed #edcfbc; border-radius: 10px; background: #fff7f0; }
.admin-store-account-add-form label, .admin-store-create-form label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 700; }
.admin-store-account-add-form input, .admin-store-create-form input { width: 100%; min-height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; font-size: 12px; }
.admin-store-account-add-form > div, .admin-store-create-form > div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.admin-store-account-add-form .button, .admin-store-create-form .button { min-height: 40px; padding: 0 13px; font-size: 11px; }
.admin-store-account-add-form [role="status"], .admin-store-create-form [role="status"] { color: var(--muted); font-size: 11px; }
.admin-store-create-area { display: grid; justify-items: start; gap: 10px; margin-top: 16px; }
.admin-store-create-area > .button { min-height: 40px; }
.admin-store-create-form { width: min(100%, 560px); display: grid; gap: 10px; padding: 14px; border: 1px solid #f1e7df; border-radius: 12px; background: #fffaf6; }
.admin-supplier-company-form { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 6px; }
.admin-supplier-company-form label { color: var(--muted); font-size: 12px; font-weight: 600; }
.admin-supplier-company-form input { width: 100%; min-height: 44px; padding: 0 12px; font-size: 13px; }
.admin-store-settings .admin-supplier-company-form .button { width: 104px; min-height: 36px; justify-self: end; padding: 0 13px; font-size: 11px; }
.admin-supplier-company-form [role="status"] { grid-column: 1; justify-self: end; }
@media (max-width: 900px) {
  .admin-suppliers-page .admin-team-member { grid-template-columns: minmax(0, 1fr); }
  .admin-store-approval-setting { grid-template-columns: minmax(0, 1fr); }
  .admin-store-approval-actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .admin-store-group-heading { align-items: flex-start; }
  .admin-store-settings { right: 10px; width: min(380px, calc(100% - 20px)); }
  .admin-store-metrics strong { font-size: 13px; }
  .admin-store-account-add-form { grid-template-columns: minmax(0, 1fr); }
}
.admin-reauth-dialog { width: min(92vw, 400px); margin: auto; padding: 24px; border: 1px solid #f1dfd0; border-radius: 20px; color: var(--ink); background: #fffaf6; box-shadow: 0 18px 60px #26150d40; }
.admin-reauth-dialog::backdrop { background: #1b130e80; backdrop-filter: blur(3px); }
.admin-reauth-dialog h2 { margin: 0 0 8px; font: 700 20px/1.3 'Avenir Next'; }
.admin-reauth-dialog p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.admin-reauth-dialog label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.admin-reauth-dialog input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; font: inherit; }
.admin-reauth-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.admin-director-approval-panel [data-director-removal-requests] { display: grid; gap: 10px; }
.admin-director-approval { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid #f1e7df; border-radius: 13px; background: #fffaf6; }
.admin-director-approval > div:first-child { min-width: 0; }
.admin-director-approval strong { font-size: 13px; }
.admin-director-approval p { margin: 4px 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.admin-director-approval small { color: var(--muted); font-size: 11px; }
.admin-director-approval-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.admin-director-approval-actions .button { min-height: 38px; padding: 0 12px; font-size: 12px; }
.admin-director-approval-error { margin: 0; color: #b42318; font-size: 12px; }
.admin-product-insights-filters { display: grid; grid-template-columns: repeat(2, minmax(180px, 240px)); gap: 12px; margin-bottom: 18px; }
.admin-product-insights-filters label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 700; }
.admin-product-insights-filters select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font: inherit; }
.admin-product-insights-content { display: grid; gap: 18px; }
.admin-product-insights-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.admin-product-insights-stat { min-width: 0; display: grid; gap: 5px; padding: 15px; border: 1px solid #f1e7df; border-radius: 13px; background: #fffaf6; }
.admin-product-insights-stat span { color: var(--muted); font-size: 11px; }
.admin-product-insights-stat strong { overflow-wrap: anywhere; font-size: 20px; }
.admin-product-insights-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
.admin-product-insights-grid .admin-market-panel { min-width: 0; margin: 0; }
.admin-product-insights-table-wrap { max-width: 100%; overflow-x: auto; }
.admin-product-insights-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.admin-product-insights-table th, .admin-product-insights-table td { padding: 9px 8px; border-bottom: 1px solid #f1e7df; text-align: left; vertical-align: top; }
.admin-product-insights-table th { color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.admin-product-insights-table td { color: var(--ink); }
.admin-product-insights-table td:first-child { min-width: 110px; font-weight: 700; }
.admin-product-insights-empty { padding: 16px; color: var(--muted); text-align: center; font-size: 12px; }
.admin-audit-log-list { display: grid; }
.admin-audit-filters { display: grid; grid-template-columns: minmax(180px, 240px) minmax(220px, 320px) 1fr; align-items: end; gap: 12px; margin: 0 0 14px; padding: 14px; border-radius: 13px; background: #fff8f1; }
.admin-audit-filters label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 700; }
.admin-audit-filters select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font: inherit; }
.admin-audit-filters p { margin: 0 0 2px auto; color: var(--muted); font-size: 11px; }
.admin-audit-entry { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid #f1e7df; }
.admin-audit-entry:last-child { border-bottom: 0; }
.admin-audit-entry strong { font-size: 13px; }
.admin-audit-entry strong span { color: var(--orange-dark); font-weight: 600; }
.admin-audit-entry p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.admin-audit-entry time { flex: 0 0 auto; color: var(--muted); font-size: 10px; }
.admin-portal-page, .admin-promotions-page { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
.admin-manage-service-section { display: grid; gap: 16px; margin-top: 22px; padding: 22px; border: 1px solid transparent; border-radius: 20px; color: #fff; background: var(--orange); }
.admin-manage-dropdown { display: block; }
.admin-manage-dropdown > .admin-manage-service-heading { position: relative; display: block; padding-right: 38px; cursor: pointer; list-style: none; }
.admin-manage-dropdown > .admin-manage-service-heading::-webkit-details-marker { display: none; }
.admin-manage-dropdown > .admin-manage-service-heading::after { content: '⌄'; position: absolute; top: 50%; right: 2px; color: #fff; font-size: 26px; line-height: 1; transform: translateY(-50%); transition: transform 180ms ease; }
.admin-manage-dropdown[open] > .admin-manage-service-heading::after { transform: translateY(-50%) rotate(180deg); }
.admin-manage-dropdown-content { margin-top: 16px; }
.admin-manage-dropdown > .admin-manage-service-heading:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 8px; }
.admin-manage-service-heading h2 { display: flex; align-items: center; gap: 10px; margin: 3px 0 5px; color: #fff; font: 700 20px/1.25 'Avenir Next'; }
.admin-manage-service-heading span { color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-manage-service-heading p { margin: 0; color: #fff; font-size: 12px; }
.admin-manage-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.admin-manage-service-grid .button { min-height: 48px; }
.admin-manage-service-grid .button { display: flex; align-items: center; justify-content: center; text-align: center; }
.admin-pending-seller-requests { display: inline-grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; color: var(--orange); background: #fff; font-size: 12px; font-weight: 800; line-height: 1; animation: admin-pending-request-pulse 2.8s ease-in-out infinite; }
.admin-pending-seller-requests[hidden] { display: none; }
@keyframes admin-pending-request-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0); } 50% { transform: scale(1.08); box-shadow: 0 0 9px rgba(255,255,255,.72); } }
@media (prefers-reduced-motion: reduce) { .admin-pending-seller-requests { animation: none; } }
.admin-manage-service-grid .button.button-primary { border-color: #25262b; color: #fff; background: #25262b; box-shadow: 3px 3px 6px rgba(128, 128, 128, 0.3); }
.admin-home-shortcut-panel { margin-top: 16px; }
.admin-home-shortcut-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.admin-home-shortcut-row { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border: 1px solid #f0e4db; border-radius: 12px; background: #fffdfa; }
.admin-home-shortcut-row label { min-width: 0; display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
.admin-home-shortcut-row label input { width: 18px; height: 18px; accent-color: var(--orange); }
.admin-home-shortcut-row label img { width: 42px; height: 38px; object-fit: contain; }
.admin-home-shortcut-row label span { font-size: 12px; font-weight: 700; }
.admin-home-shortcut-drag-hint { margin: 12px 0 8px; color: var(--muted); font-size: 11px; }
.admin-home-shortcut-drag { width: 36px; height: 38px; flex: 0 0 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; color: #756b64; background: transparent; cursor: grab; touch-action: none; }
.admin-home-shortcut-drag svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.admin-home-shortcut-drag:active { cursor: grabbing; }
.admin-home-shortcut-drag:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.admin-home-shortcut-row.is-dragging { opacity: .55; border-color: var(--orange); background: #fff4e8; }
.admin-home-shortcut-row label { flex: 1 1 auto; }
.admin-home-shortcut-panel [data-home-shortcut-feedback] { color: var(--muted); font-size: 11px; }
.admin-home-shortcut-panel [data-home-shortcut-feedback].is-error { color: #b42318; }
.admin-home-shortcut-panel .admin-market-form-actions { margin-top: 12px; align-items: center; }
@media (max-width: 700px) { .admin-manage-service-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .portal-notification-preference-list { grid-template-columns: 1fr; }
  .portal-notification-preference { gap: 8px 12px; padding: 12px; }
  .portal-notification-preference label { font-size: 10px; }
  .portal-notification-preference-note { font-size: 10px; }
}
.admin-addon-intro { margin: -7px 0 16px; color: #827b77; font-size: 13px; line-height: 1.55; }
.admin-addons-page form { display: grid; gap: 15px; }
.admin-addon-catalog { margin-top: 0; }
.admin-addon-list { display: grid; gap: 10px; }
.admin-addon-item { display: grid; grid-template-columns: minmax(0,1fr) 150px minmax(0,1.4fr) auto auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid #eee4dd; border-radius: 13px; background: #fffdfa; }
.admin-addon-item > label, .admin-addon-new-grid > label { display: grid; gap: 6px; color: #403a37; font-size: 11px; font-weight: 700; }
.admin-addon-item input:not([type="checkbox"]), .admin-addon-new-grid input { width: 100%; min-width: 0; min-height: 43px; padding: 0 12px; border: 1px solid #e8dfd8; border-radius: 10px; background: white; color: #29272c; font: inherit; }
.admin-addon-item .admin-addon-active { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.admin-addon-active input { width: 16px; min-height: 0; accent-color: #ff7800; }
.admin-addon-item .button { min-height: 42px; padding: 0 13px; }
.admin-addon-new { margin-top: 14px; padding: 14px; border-radius: 13px; background: #fff7ef; }
.admin-addon-new h3 { margin: 0 0 10px; font-size: 14px; }
.admin-addon-new-grid { display: grid; grid-template-columns: minmax(0,1fr) 150px minmax(0,1.4fr); gap: 10px; }
.admin-addon-empty { margin: 0; padding: 12px; color: #827b77; font-size: 12px; }
.admin-addons-page [data-admin-addons-feedback] { color: #527851; font-size: 12px; }
@media (max-width: 800px) { .admin-addon-item { grid-template-columns: minmax(0,1fr) minmax(100px,.55fr); } .admin-addon-item .admin-addon-description { grid-column: 1 / -1; } .admin-addon-item .admin-addon-active { min-height: 42px; } .admin-addon-new-grid { grid-template-columns: minmax(0,1fr) minmax(100px,.55fr); } .admin-addon-new-grid .admin-addon-description { grid-column: 1 / -1; } }
.admin-enquiry-list { display: grid; gap: 12px; }
.admin-enquiry-card { padding: 18px; border: 1px solid #f1dfd0; border-radius: 16px; background: #fff; }
.admin-enquiry-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.admin-enquiry-card header > div > span { color: var(--orange-dark); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.admin-enquiry-card h2 { margin: 4px 0 0; font: 700 16px 'Avenir Next'; }
.admin-enquiry-card time { color: var(--muted); font-size: 11px; text-align: right; }
.admin-enquiry-card p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.admin-footer-scan-dialog { width: min(460px, calc(100% - 32px)); max-height: min(84vh, 720px); padding: 20px; border: 1px solid #f1dfd0; border-radius: 22px; color: var(--ink); background: #fffaf6; box-shadow: 0 22px 70px #2b170b38; }
.admin-footer-scan-dialog::backdrop { background: #21160f88; backdrop-filter: blur(3px); }
.admin-footer-scan-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.admin-footer-scan-dialog h2 { margin: 0; font: 700 19px 'Avenir Next'; }
.admin-footer-scan-dialog [data-close-admin-scan] { width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--ink); background: #f5e8dd; font-size: 24px; cursor: pointer; }
.admin-footer-scan-dialog video { width: 100%; max-height: 54vh; aspect-ratio: 4 / 3; border-radius: 15px; background: #201e1d; object-fit: cover; }
.admin-footer-scan-dialog p { margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.admin-customer-directory { display: grid; }
.admin-customer-directory-row { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid #f1e7df; color: var(--ink); }
.admin-customer-directory-row:last-child { border-bottom: 0; }
.admin-customer-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #a94c08; background: #ffead8; font-size: 17px; font-weight: 700; }
.admin-customer-directory-copy, .admin-customer-directory-meta { min-width: 0; display: grid; gap: 4px; }
.admin-customer-directory-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.admin-customer-directory-copy small, .admin-customer-directory-meta small { color: var(--muted); font-size: 11px; }
.admin-customer-directory-meta { justify-items: end; }
.admin-customer-status-badge { padding: 4px 8px; border-radius: 999px; color: #23623a; background: #e8f6ec; font-size: 10px; }
.admin-customer-status-badge.status-blacklisted { color: #9d3131; background: #fde8e7; }
.admin-customer-status-badge.status-restricted { color: #8a5600; background: #fff1cf; }
.admin-customer-profile-panel { display: grid; gap: 16px; }
.admin-customer-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.admin-customer-contact > div { min-width: 0; display: grid; gap: 5px; padding: 12px; border-radius: 12px; background: #fff7ef; }
.admin-customer-contact span { color: #8b7565; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.admin-customer-contact strong { overflow-wrap: anywhere; font-size: 13px; }
.admin-customer-status-control { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding-top: 14px; border-top: 1px solid #f1e7df; }
.admin-customer-status-control label { display: grid; flex: 1 1 180px; gap: 5px; color: #74685e; font-size: 11px; font-weight: 700; }
.admin-customer-status-control select { min-height: 42px; padding: 0 12px; border: 1px solid #ebdcd0; border-radius: 11px; color: var(--ink); background: white; }
.admin-customer-status-control > span { flex-basis: 100%; color: #287347; font-size: 12px; }
.admin-customer-pet-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.admin-customer-pet-card { min-width: 0; padding: 15px; border: 1px solid #f1dfd0; border-radius: 16px; background: #fffdfa; }
.admin-customer-pet-card > header { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.admin-customer-pet-card > header img { width: 66px; height: 66px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.admin-customer-pet-card > header span { color: var(--orange-dark); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.admin-customer-pet-card > header h3 { margin: 2px 0; font: 700 18px 'Avenir Next'; }
.admin-customer-pet-card > header p { margin: 0; color: var(--muted); font-size: 12px; }
.admin-customer-pet-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; }
.admin-customer-pet-card dl > div { min-width: 0; padding: 8px; border-radius: 9px; background: #fff5ec; }
.admin-customer-pet-card dt { color: #8b7565; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.admin-customer-pet-card dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 11px; }
.admin-customer-vaccination-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; font-size: 11px; }
.admin-customer-vaccination-links > span { color: var(--muted); }
.admin-customer-pet-remarks { display: grid; gap: 7px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee2d9; }
.admin-customer-pet-remarks h4 { margin: 0; font: 700 13px 'Avenir Next'; }
.admin-customer-pet-remarks > p { margin: 0; color: var(--muted); font-size: 10px; }
.admin-customer-remark-row { display: flex; gap: 7px; }
.admin-customer-remark-row input { min-width: 0; flex: 1; min-height: 38px; padding: 8px 10px; border: 1px solid #ebdcd0; border-radius: 9px; background: white; }
.admin-customer-remark-row button { width: 38px; border: 0; border-radius: 9px; color: #a33824; background: #ffebe6; font-size: 19px; cursor: pointer; }
.admin-customer-pet-remarks > .button { min-height: 38px; justify-content: center; font-size: 11px; }
.admin-customer-save-message { color: #287347; font-size: 11px; }
.admin-customer-analytics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 9px; }
.admin-customer-analytics-card { display: grid; gap: 5px; padding: 13px; border-radius: 12px; background: #fff6ed; }
.admin-customer-analytics-card > span { color: #8b7565; font-size: 10px; font-weight: 700; }
.admin-customer-analytics-card strong { font-size: 13px; }
.admin-customer-analytics-card small { color: var(--muted); font-size: 11px; }
.admin-customer-order-list { display: grid; gap: 8px; padding: 0; margin: 14px 0 0; list-style: none; }
.admin-customer-order-list li:not(.admin-market-empty) { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #f1e7df; }
.admin-customer-order-list li > span { min-width: 0; display: grid; gap: 4px; }
.admin-customer-order-list li > span:last-child { justify-items: end; white-space: nowrap; }
.admin-customer-order-list strong, .admin-customer-order-list b { font-size: 12px; }
.admin-customer-order-list small { color: var(--muted); font-size: 10px; }
.bottom-store { width: 58px; height: 58px; justify-self: center; margin-top: -27px; border: 4px solid white; border-radius: 50%; background: var(--orange); box-shadow: 0 5px 12px #7e3c1d28; }
.bottom-store img { width: 28px; height: 28px; }
.home-toast { max-width: calc(100% - 36px); position: fixed; z-index: 30; left: 50%; bottom: calc(83px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); padding: 11px 16px; border-radius: 13px; color: white; background: #25262b; box-shadow: 0 8px 20px #0003; opacity: 0; pointer-events: none; text-align: center; font-size: 12px; transition: opacity .2s ease, transform .2s ease; }
.home-toast.visible { transform: translate(-50%, 0); opacity: 1; }

/* Wider-screen adaptation: keep the same home sections, with more space and a centered bottom nav. */
@media (min-width: 680px) {
  .mobile-home { padding-bottom: 104px; background: #fff7ef; }
  .home-orange { padding: 30px max(34px, calc((100vw - 1100px)/2)) 40px; border-radius: 0 0 36px 36px; }
  .home-topline h1 { font-size: 52px; }
  .home-topline { max-width: 1000px; margin: 0 auto; }
  .mobile-home > .home-orange > .home-search { width: min(100%, 1000px); max-width: 1000px; height: 60px; margin: 15.6px auto 9px; }
  .credit-row { max-width: 1000px; height: 240px; min-height: 240px; margin: 0 auto; }
  .home-pet-art { width: 38%; max-width: 320px; top: -5px; left: 22.5%; }
  .home-pet-assistant-shortcut { width: 38%; max-width: 320px; top: -5px; left: 22.5%; }
  .home-pet-assistant-shortcut > .home-pet-art { top: -18%; }
  .home-pet-assistant-bubble { width: 55%; max-width: 470px; height: 72px; top: 24px; }
  .home-pet-assistant-bubble [data-assistant-bubble-text] { font-size: 13px; }
  .credit-card { width: 55%; min-height: 110px; max-width: 470px; top: 115px; right: 0; left: auto; transform: none; padding-left: 22px; }
  .credit-label { font-size: 17px; }.credit-card strong { font-size: 36px; }
  .service-shortcuts { max-width: 1000px; margin: 0 auto; padding: 16px 20px 14px; border-radius: 25px; }
  .shortcut { flex-direction: row; justify-content: center; gap: 7px; padding: 5px 10px; }
  .shortcut img { width: 65px; height: 60px; }.shortcut span { font-size: 15px; }
  .home-content { max-width: 1100px; margin: 0 auto; padding: 0 34px 24px; }
  .section-title-row h2 { font-size: 28px; }
  .pet-carousel { margin-right: -34px; padding-right: 34px; }
  .pet-info p { grid-template-columns: 62px 1fr; }.pet-profile-button { min-height: 36px; font-size: 14px; }
  .promo-track { margin-right: 0; padding-right: 0; }.promo-banner { width: min(82%, 610px); min-width: min(82%, 610px); flex-basis: min(82%, 610px); }
}

/* Pet Assistant chat page */
.pet-assistant-page { min-height: 100svh; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: max(12px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom)); color: #29272c; background: #fff7ef; }
.pet-assistant-header { width: min(100%, 820px); min-height: 58px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; text-align: center; }
.pet-assistant-header > a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #29272c; font: 400 38px/1 Arial, sans-serif; text-decoration: none; }
.pet-assistant-header > a:focus-visible { outline: 3px solid #fe780166; outline-offset: 2px; }
.pet-assistant-title { min-width: 0; }
.pet-assistant-title > span { color: #e86900; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pet-assistant-header h1 { margin: 1px 0 0; font: 700 clamp(16px, 4.8vw, 28px)/1.15 'Avenir Next', sans-serif; white-space: nowrap; }
.pet-assistant-header-actions { display: flex; align-items: center; justify-self: end; gap: 7px; }
.pet-assistant-profile-link { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; background: transparent; box-shadow: none; }
.pet-assistant-profile-link img { width: 25px; height: 25px; display: block; object-fit: contain; }
.pet-assistant-profile-link:focus-visible { outline: 3px solid #fe780166; outline-offset: 2px; }
.pet-assistant-pet-switcher { position: relative; justify-self: end; }
.pet-assistant-pet-switcher-button { max-width: min(33vw, 190px); min-height: 42px; display: flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; border: 0; border-radius: 999px; color: #fff; background: #fe7801; box-shadow: 0 3px 8px #71310f26; font: 700 12px 'Avenir Next', sans-serif; cursor: pointer; }
.pet-assistant-pet-switcher-button:focus-visible { outline: 3px solid #fe780166; outline-offset: 2px; }
.pet-assistant-pet-switcher-button > img { width: 32px; height: 32px; flex: 0 0 32px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; background: #fff2e6; }
.pet-assistant-pet-switcher-button > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pet-assistant-pet-switcher-chevron { width: 15px; height: 20px; flex: 0 0 15px; align-self: center; display: grid; place-items: center; color: currentColor; font-size: 0; line-height: 0; }
.pet-assistant-pet-switcher-chevron::before { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); content: ''; }
.pet-assistant-pet-menu { width: max-content; min-width: 190px; max-width: min(82vw, 280px); max-height: min(55vh, 360px); position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; display: grid; gap: 4px; overflow-y: auto; padding: 7px; border: 1px solid #f0dfd3; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px #39231326; }
.pet-assistant-pet-menu[hidden] { display: none; }
.pet-assistant-pet-menu-option { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 11px; color: #29272c; background: transparent; text-align: left; font: 600 13px 'Avenir Next', sans-serif; cursor: pointer; }
.pet-assistant-pet-menu-option:hover, .pet-assistant-pet-menu-option.is-selected { color: #b84f00; background: #fff1e4; }
.pet-assistant-pet-menu-option:focus-visible { outline: 2px solid #fe7801; outline-offset: 1px; }
.pet-assistant-pet-menu-option img { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; object-fit: cover; background: #fff2e6; }
.pet-assistant-pet-menu-option span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pet-assistant-chat { width: min(100%, 820px); min-height: min(740px, calc(100svh - 102px)); flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid #ffffff8c; border-radius: 22px; background: #ffffff24; box-shadow: none; }
.pet-assistant-chat-header { width: 100%; min-height: 42px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pet-assistant-chat-header-copy { min-width: 0; display: grid; gap: 2px; align-content: start; text-align: left; }
.pet-assistant-chat-header-copy > strong { color: #29272c; font-size: 10px; font-weight: 800; letter-spacing: .08em; line-height: 1.15; }
.pet-assistant-chat-header-copy > span { color: #847a73; font-size: 7.65px; line-height: 1.25; }
.pet-assistant-energy-layout { width: min(100%, 820px); display: grid; gap: 7px; }
.pet-assistant-energy-title { width: 100%; grid-column: 1 / -1; justify-self: start; margin: 0; color: #fff; text-align: left; font: 700 clamp(14.7px, 2.24vw, 23.8px)/1.15 'Avenir Next', sans-serif; }
.pet-assistant-energy-banner { width: 100%; min-height: 0; flex: 0 0 auto; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-rows: auto 1fr; align-items: stretch; justify-items: center; gap: 0; overflow: visible; padding: 10px 25px; border: 0; border-radius: 30px; color: #fff; background: transparent; }
.pet-assistant-energy-banner::before { position: absolute; z-index: -1; inset: 0; border: 3px solid #fff; border-radius: inherit; background: linear-gradient(110deg, #ff9b24 0%, #ff7900 100%); box-shadow: 0 7px 15px #50311c35, inset 0 1px 0 #ffffff72; content: ''; }
.pet-assistant-energy-meter { width: auto; height: 100%; max-width: 100%; aspect-ratio: 1; align-self: stretch; justify-self: start; position: relative; display: grid; place-items: center; }
.pet-assistant-energy-meter > svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.pet-assistant-energy-ring-track, .pet-assistant-energy-ring-progress { fill: none; stroke-width: 5; }
.pet-assistant-energy-ring-track, .pet-assistant-energy-ring-progress { filter: url(#pet-assistant-ring-inner-shadow); }
.pet-assistant-energy-ring-track { stroke: #7b411d8a; }
.pet-assistant-energy-ring-progress { stroke: #fff1df; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset .35s ease; }
.pet-assistant-energy-meter-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; color: #29204a; font-family: 'Avenir Next', sans-serif; }
.pet-assistant-energy-meter-copy > strong { color: inherit; font-size: clamp(29px, 3.5vw, 48px); font-weight: 700; line-height: 1.03; }
.pet-assistant-energy-meter-copy > span { color: inherit; font-size: clamp(11px, 1.6vw, 17.5px); font-weight: 400; white-space: nowrap; }
.pet-assistant-energy-main { width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 0; position: relative; left: 0; text-align: left; zoom: 1.05; }
.pet-assistant-energy-coins { min-width: 0; max-width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 5.6px; position: relative; top: 5%; color: #fff; font-size: clamp(17.6px, 3.2vw, 44.8px); white-space: nowrap; }
.pet-assistant-energy-coins > img { width: 1em; height: 1em; flex: 0 0 1em; object-fit: contain; }
.pet-assistant-energy-coins > span { min-width: 0; overflow: hidden; color: #fff; font-size: inherit; font-weight: 400; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.pet-assistant-energy-coins > span > strong { color: #fff; font: inherit; font-weight: 700; }
.pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed { min-height: 27px !important; padding: 0 16px !important; border: 1px solid #fff9f1 !important; border-radius: 999px !important; color: #e96600 !important; background: #fff !important; box-shadow: 0 4px 8px #71310f38, 0 2px 3px #71310f24, inset 0 2px 3px #fff, inset 0 -3px 6px #e9660040 !important; transform: none !important; scale: 1.65; transform-origin: left center; font-size: clamp(10px, 1.4vw, 15px) !important; line-height: 1.1; white-space: nowrap; }
.pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed:hover, .pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed:active, .pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed:focus { color: #e96600 !important; background: #fff !important; box-shadow: 0 4px 8px #71310f38, 0 2px 3px #71310f24, inset 0 2px 3px #fff, inset 0 -3px 6px #e9660040 !important; transform: none !important; }
.pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed:disabled { opacity: 1 !important; color: #e96600 !important; background: #fff !important; box-shadow: 0 4px 8px #71310f38, 0 2px 3px #71310f24, inset 0 2px 3px #fff, inset 0 -3px 6px #e9660040 !important; cursor: not-allowed; }
.pet-assistant-energy-rate { max-width: 100%; margin: 0; color: #fff; text-align: center; font-size: clamp(15.75px, 2.55vw, 26.25px); line-height: 1.2; white-space: nowrap; }
.pet-assistant-energy-status { min-height: 0; color: #fff; font-size: 11px; font-weight: 700; }
.pet-assistant-energy-status:empty { display: none; }
.pet-assistant-messages { min-height: 180px; flex: 1 1 260px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; overflow: auto; padding: 5px 1px; overscroll-behavior: contain; }
.pet-assistant-message { max-width: min(90%, 600px); display: flex; align-items: flex-end; gap: 8px; color: #403832; }
.pet-assistant-message.is-user { align-self: flex-end; }
.pet-assistant-message-avatar { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; object-fit: cover; background: #fff2e6; }
.pet-assistant-message-content { min-width: 0; display: grid; justify-items: start; gap: 3px; }
.pet-assistant-message-name { max-width: 100%; overflow: hidden; color: #746c66; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.pet-assistant-message-bubble { padding: 10px 13px; border-radius: 15px 15px 15px 4px; color: #403832; background: #fff; }
.pet-assistant-message.is-user p { max-width: 100%; padding: 10px 13px; border-radius: 15px 15px 4px 15px; color: #fff; background: #fe7801; }
.pet-assistant-message p { margin: 0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.pet-assistant-status { min-height: 0; margin: 0; color: #8a817b; font-size: 12px; }
.pet-assistant-status:empty { display: none; }
.pet-assistant-composer { display: flex; align-items: flex-end; gap: 8px; padding: 7px; border: 1px solid #ffffffd9; border-radius: 24px; background: #ffffff80; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pet-assistant-composer:focus-within { border-color: #fe7801; box-shadow: 0 0 0 3px #fe78011c; }
.pet-assistant-composer textarea { min-width: 0; min-height: 40px; max-height: 120px; flex: 1 1 auto; resize: vertical; padding: 10px 9px; border: 0; outline: 0; color: #29272c; background: transparent; font: 400 14px/1.4 'Avenir Next', sans-serif; }
.pet-assistant-composer textarea::placeholder { color: #948b85; }
.pet-assistant-composer button { width: 38px; height: 38px; flex: 0 0 38px; display: none; place-items: center; border: 0; border-radius: 50%; color: #fff; background: #fe7801; font-size: 19px; cursor: pointer; }
.pet-assistant-composer.has-message button { display: grid; }
.pet-assistant-composer button:disabled { opacity: .6; cursor: wait; }
.pet-assistant-no-pets { width: min(100%, 520px); align-self: center; margin: auto 0; padding: 26px 20px; border: 1px solid #f1dfd1; border-radius: 22px; text-align: center; background: white; }
.pet-assistant-no-pets img { width: min(45%, 190px); max-height: 170px; object-fit: contain; }
.pet-assistant-no-pets h2 { margin: 12px 0 6px; font: 700 21px 'Avenir Next', sans-serif; }
.pet-assistant-no-pets p { margin: 0 0 16px; color: #746c66; font-size: 13px; line-height: 1.5; }
.pet-assistant-no-pets .button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 22px; font-weight: 700; text-decoration: none; }
@media (min-width: 680px) {
  .pet-assistant-page { gap: 20px; padding: 22px 24px max(24px, env(safe-area-inset-bottom)); }
  .pet-assistant-chat { min-height: min(780px, calc(100svh - 120px)); padding: 20px; border-radius: 26px; }
  .pet-assistant-message p { font-size: 15px; }
}
@media (max-width: 560px) {
  .pet-assistant-header { min-height: 0; position: relative; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 8px; padding-top: 2px; }
  .pet-assistant-header > a { position: absolute; top: 0; left: 0; }
  .pet-assistant-title { grid-row: 1; width: 100%; text-align: center; }
  .pet-assistant-header-actions { width: 40px; height: 40px; position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; }
  .pet-assistant-energy-layout { gap: 5px; }
  .pet-assistant-energy-title { margin-left: 0; padding-left: 5px; font-size: clamp(8.8px, 2.8vw, 11.3px); }
  .pet-assistant-energy-banner { min-height: 0; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); grid-template-rows: auto 1fr; padding: 10px; border-radius: 20px; }
  .pet-assistant-energy-banner::before { border-radius: inherit; }
  .pet-assistant-energy-meter { width: auto; height: 100%; max-width: 100%; justify-self: start; }
  .pet-assistant-energy-meter-copy > strong { font-size: clamp(23px, 7vw, 32px); }
  .pet-assistant-energy-meter-copy > span { font-size: clamp(8px, 2.5vw, 11px); }
  .pet-assistant-energy-main { width: calc(100% - 15px); gap: 8px; padding: 0; left: 15px; }
  .pet-assistant-energy-coins { gap: 3.2px; top: 10%; font-size: clamp(9.6px, 3.28vw, 16px); }
  .pet-assistant-energy-coins > span { font-size: inherit; }
  .pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed { min-height: 17px !important; padding: 0 6px !important; font-size: clamp(5.2px, 1.63vw, 7.2px) !important; }
  .pet-assistant-energy-rate { position: relative; top: 5px; font-size: clamp(7.5px, 2.7vw, 10.5px); white-space: nowrap; }
  .pet-assistant-energy-status { font-size: 6px; }
}
@media (max-width: 380px) {
  .pet-assistant-header { grid-template-columns: minmax(0, 1fr); }
  .pet-assistant-header > a { width: 34px; }
  .pet-assistant-header h1 { font-size: 16px; }
  .pet-assistant-header-actions { gap: 4px; }
  .pet-assistant-profile-link { width: 36px; height: 36px; flex-basis: 36px; }
  .pet-assistant-profile-link img { width: 22px; height: 22px; }
  .pet-assistant-pet-switcher-button { max-width: 29vw; gap: 4px; padding-right: 7px; font-size: 10px; }
  .pet-assistant-pet-switcher-button > img { width: 28px; height: 28px; flex-basis: 28px; }
}
@media (max-width: 420px) {
  .local-finder-content { gap: 19px; padding-right: 18px; padding-left: 18px; }
  .local-finder-page:not(.local-finder-subpage) > .local-finder-header { padding-right: 18px; padding-left: 18px; }
  .local-finder-form-pair { grid-template-columns: minmax(0, 1fr); }
  .local-finder-opening-hour-row { grid-template-columns: 68px 88px minmax(0, 1fr); gap: 6px; }
  .local-finder-opening-hour-row select { padding-right: 4px; padding-left: 6px; font-size: 11px; }
  .local-finder-detail-contact { grid-template-columns: minmax(0, 1fr); }
  .local-finder-direction { justify-items: start; }
  .local-finder-share-card { min-height: 128px; grid-template-columns: minmax(100px, 34%) minmax(0, 1fr); column-gap: 12px; padding: 11px 13px 11px 12px; border-radius: 22px; }
  .local-finder-share-art { width: 38%; height: calc(100% + 28px); top: -14px; left: -9px; transform: none; }
  .local-finder-share-card p { margin-bottom: 12px; }
  .local-finder-share-card .button { min-height: 36px; padding: 0 17px; font-size: 13px; }
  .local-finder-map-wrap { border-radius: 21px; }
  .local-finder-favorites-banner { grid-template-columns: minmax(0, 1fr) auto 10px; gap: 9px; padding: 12px; border-radius: 17px; }
  .local-finder-favorites-banner strong { font-size: 15px; }
  .local-finder-favorites-banner small { font-size: 10px; }
  .local-finder-favorites-count { padding: 5px 7px; font-size: 10px; }
  .local-finder-favorite-button { min-height: 34px; padding: 0 11px; font-size: 11px; }
  .local-finder-announcement-track { margin-right: -18px; padding-right: 18px; }
  .local-finder-announcement-card { min-width: 86%; flex-basis: 86%; }
  .local-finder-suggestion-form { padding: 16px; }
}

/* Full-screen startup loading page shown before the home dashboard. */
.splash-screen { width: 100%; min-height: 100vh; min-height: 100svh; height: 100dvh; display: grid; place-items: center; overflow: hidden; background: #fe7801; }
.splash-logo { display: block; width: min(90vw, 250px); height: auto; aspect-ratio: 1; object-fit: contain; animation: splash-arrive .65s cubic-bezier(.2,.8,.2,1) both; }
@keyframes splash-arrive { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .splash-logo { animation: none; } }

@media (min-width: 680px) {
  .marketplace-page { padding: 32px 34px 120px; }
  .marketplace-header { margin-bottom: 24px; }
  .marketplace-header h1 { font-size: 29px; }
  .market-search { max-width: 780px; height: 60px; margin: 26px auto 18px; }
  .market-search-wrap { max-width: 1120px; }
  .market-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
  .market-product-card { padding: 13px; border-radius: 20px; }
  .market-product-link > strong { min-height: 44px; font-size: 14px; }
  .market-product-price { font-size: 13px; }
  .market-pdp { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); align-items: start; gap: 42px; }
  .market-pdp-visual { aspect-ratio: 1; }
  .market-pdp-copy { padding: 8px 0; }
  .market-pdp-copy h2 { font-size: 31px; }
  .market-cart-layout { grid-template-columns: minmax(0,1fr) 330px; align-items: start; }
  .market-checkout-layout { grid-template-columns: minmax(0,1fr) 330px; align-items: start; }
  .market-order-summary { position: sticky; top: 18px; }
  .market-order-timeline li { font-size: 10px; }
}
@media (min-width: 980px) {
  .market-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .marketplace-page { padding-right: 14px; padding-left: 14px; }
  .marketplace-header { gap: 9px; }
  .market-cart-link, .market-favorites-link { width: 38px; height: 38px; }
  .market-cart-link img { width: 34.65px; height: 34.65px; }
  .market-favorites-link img { width: 34.65px; height: 34.65px; }
  .admin-market-stats { grid-template-columns: 1fr; }
  .admin-market-panel { padding: 15px; }
  .admin-local-finder-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .admin-market-panel-heading { display: grid; gap: 8px; }
  .admin-self-profile-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .admin-self-profile-details > .profile-edit-link { justify-self: start; }
  .admin-furgo-voucher-card { grid-template-columns: minmax(0, 1fr) auto; }
  .admin-furgo-voucher-card > .admin-voucher-status-pill { grid-column: 2; grid-row: 1; }
  .admin-furgo-voucher-actions { grid-column: 1 / -1; }
  .admin-live-product-filters { gap: 5px; padding: 8px; }
  .admin-live-filter-current { padding-inline: 7px; }
  .admin-live-filter-options { width: min(190px, calc(100vw - 32px)); }
  .admin-live-product-extra-details { grid-template-columns: 1fr; }
  .admin-supplier-user-details, .admin-supplier-sales-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-supplier-overview-card > summary { grid-template-columns: 42px minmax(0, 1fr); gap: 4px 10px; }
  .admin-supplier-avatar { grid-row: span 2; }
  .admin-supplier-overview-card .admin-supplier-email { grid-column: 2; }
  .admin-market-form-grid { grid-template-columns: 1fr; }
  .admin-market-wide { grid-column: auto; }
  .admin-market-tracking-form { grid-template-columns: 1fr; }
  .admin-market-tracking-form .button { grid-column: auto; }
  .admin-market-export { align-items: stretch; flex-direction: column; }
  .admin-market-export .button { justify-content: center; }
}
@media print {
  body * { visibility: hidden !important; }
  .admin-market-order-list, .admin-market-order-list * { visibility: visible !important; }
  .admin-market-order-list { position: absolute; inset: 0; display: block; }
  .admin-market-order { break-inside: avoid; margin-bottom: 16px; border: 1px solid #aaa; color: #000; }
  .admin-market-order .button, .admin-market-order form, .admin-market-order input, .admin-market-order label, .admin-market-order > p a, .admin-market-payment-review button, .admin-market-receipt { display: none !important; }
  .market-print-hidden { display: none !important; }
}

/* Customer Grooming: mobile-first appointment flow with visible package, safety, and pricing details. */
.grooming-page { min-height: 100vh; padding: 18px 16px 110px; background: #fff8f1; color: #25242a; }
.grooming-header { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; max-width: 1120px; margin: 0 auto 22px; }
.grooming-back { display: grid; place-items: center; width: 40px; height: 40px; color: #25242a; text-decoration: none; font-size: 42px; line-height: 1; }
.grooming-header h1 { margin: 3px 0 0; font-size: clamp(22px, 5vw, 34px); line-height: 1.15; }
.grooming-header-centered { position: relative; display: flex; height: 58px; align-items: center; justify-content: center; margin-bottom: 22px; }
.grooming-header-centered h1 { margin: 0; font: 700 27px/1.15 'Avenir Next'; letter-spacing: -.6px; text-align: center; }
.grooming-header-orders { position: absolute; right: 0; top: 50%; width: 42px; height: 42px; transform: translateY(-50%); display: grid; place-items: center; }
.grooming-header-orders img { display: block; width: 38px; height: 38px; object-fit: contain; }
.grooming-header-centered .grooming-back { position: absolute; left: 0; top: 50%; width: 42px; height: 54px; transform: translateY(-50%); font-size: 55px; font-weight: 400; }
.grooming-eyebrow { color: #e96800; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.grooming-orders-link { color: #e96800; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.grooming-booking-form, .grooming-orders-list { display: grid; gap: 15px; max-width: 760px; margin: 0 auto; }
.grooming-section, .grooming-order-card, .grooming-empty-orders { padding: 18px; border: 1px solid #f2e4d8; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px #3c25100c; }
.grooming-section-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 17px; }
.grooming-section-heading > span { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #fff0e1; color: #e96800; font-size: 12px; font-weight: 700; }
.grooming-section-heading h2 { margin: 1px 0 4px; font-size: 18px; }
.grooming-section-heading p, .grooming-prototype-note { margin: 0; color: #817d7c; font-size: 12px; line-height: 1.5; }
.grooming-section-heading > span:has(.pet-taxi-service-icon) { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 0; background: transparent; }
.pet-taxi-service-icon { display: block; width: 44px; height: 44px; object-fit: contain; }
.pet-taxi-service-section .hotel-addon-toggle small, .hotel-pet-taxi-section .hotel-addon-toggle small, .daycare-pet-taxi-section .hotel-addon-toggle small { display: block; margin-top: 4px; color: #827b77; font-size: 11px; }
.grooming-field { display: grid; gap: 7px; color: #353238; font-size: 13px; font-weight: 700; }
.grooming-field input, .grooming-field select, .grooming-addon-fields input, .grooming-addon-fields select, .admin-grooming-page input:not([type="checkbox"]), .admin-grooming-page select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #e8dfd8; border-radius: 12px; background: #fff; color: #29272c; font: inherit; }
.grooming-pet-snapshot { display: grid; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid #f5ddcb; border-radius: 14px; background: #fff7f0; }
.grooming-selected-pet-list { display: grid; gap: 16px; }
.grooming-selected-pet-summary { display: grid; gap: 3px; }
.grooming-pet-snapshot > div:first-child { display: grid; gap: 3px; }
.grooming-pet-snapshot > .grooming-selected-pet-list { gap: 16px; }
.grooming-pet-snapshot strong { font-size: 16px; }
.grooming-pet-snapshot span, .grooming-pet-snapshot small, .grooming-pet-snapshot p { margin: 0; color: #716966; font-size: 12px; line-height: 1.5; }
.grooming-pet-snapshot .grooming-tier-pill { display: inline-block; width: fit-content; padding: 5px 9px; border-radius: 20px; background: #ffe6d4; color: #c95400; font-weight: 700; }
.grooming-add-pet { display: inline-block; margin-top: 12px; color: #e96800; font-size: 13px; font-weight: 700; text-decoration: none; }
.grooming-pet-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.grooming-pet-package { margin-top: 12px; }
.grooming-pet-package h3, [data-daycare-package-pet] > h3 { margin: 0 0 10px; color: #302b29; font-size: 15px; }
.grooming-empty-pets { margin: 0; padding: 12px; border-radius: 12px; background: #fff2e8; color: #9c4a11; font-size: 13px; }
.grooming-tier-summary { margin: -4px 0 12px; color: #766d67; font-size: 12px; }
.grooming-package-list { display: grid; gap: 9px; }
.grooming-package-option { display: flex; gap: 11px; align-items: flex-start; padding: 13px; border: 1px solid #e9e1dc; border-radius: 14px; cursor: pointer; }
.grooming-package-option:has(input:checked) { border-color: #ff7800; background: #fff7ef; box-shadow: 0 0 0 1px #ff7800; }
.grooming-package-option input { margin-top: 4px; accent-color: #ff7800; }
.grooming-package-option span { display: grid; flex: 1; gap: 4px; }
.grooming-package-option strong { font-size: 14px; }
.grooming-package-option small { color: #827b77; font-size: 11px; line-height: 1.45; }
.grooming-package-option b { color: #e96800; font-size: 15px; }
.grooming-choice-carousel, .grooming-addon-carousel { display: flex; gap: 11px; overflow-x: auto; padding: 3px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.grooming-choice-carousel::-webkit-scrollbar, .grooming-addon-carousel::-webkit-scrollbar { display: none; }
.grooming-choice-carousel .grooming-package-option, .grooming-addon-card { flex: 0 0 min(74vw, 240px); min-height: 168px; scroll-snap-align: start; }
.grooming-choice-carousel .grooming-package-option { display: grid; align-content: start; gap: 10px; padding: 16px; }
.grooming-choice-carousel .grooming-package-option input { width: 20px; height: 20px; margin: 0; }
.grooming-choice-carousel .grooming-package-option span { align-content: start; gap: 8px; }
.grooming-choice-carousel .grooming-package-option strong { font-size: 15px; }
.grooming-choice-carousel .grooming-package-option b { margin-top: auto; }
.grooming-form-grid, .grooming-addon-fields { display: grid; gap: 13px; }
.grooming-form-grid { grid-template-columns: 1fr; }
.grooming-slot-note { min-height: 17px; margin: 8px 0 0; color: #766d67; font-size: 11px; }
.grooming-addon-toggle, .grooming-payment-options label { display: flex; gap: 11px; align-items: flex-start; padding: 13px; border: 1px solid #eee3da; border-radius: 13px; background: #fff; cursor: pointer; }
.grooming-addon-toggle { margin-bottom: 9px; }
.grooming-addon-toggle input, .grooming-payment-options input { margin-top: 3px; accent-color: #ff7800; }
.grooming-addon-toggle span, .grooming-payment-options span { display: grid; gap: 4px; }
.grooming-addon-toggle strong, .grooming-payment-options strong { font-size: 13px; }
.grooming-addon-toggle small, .grooming-payment-options small { color: #827b77; font-size: 11px; line-height: 1.45; }
.grooming-addon-fields { margin: -1px 0 13px; padding: 13px; border-radius: 13px; background: #fff7f0; }
.grooming-addon-carousel { margin-bottom: 10px; }
.grooming-addon-card { display: flex; flex-direction: column; gap: 12px; padding: 15px; border: 1px solid #eee3da; border-radius: 15px; background: #fff; cursor: pointer; scroll-snap-align: start; }
.grooming-addon-card:has(input:checked) { border-color: #ff7800; background: #fff7ef; box-shadow: 0 0 0 1px #ff7800; }
.grooming-addon-card input { width: 20px; height: 20px; margin: 0; accent-color: #ff7800; }
.grooming-addon-card span { display: grid; gap: 8px; }
.grooming-addon-card strong { font-size: 15px; }
.grooming-addon-card small, .grooming-field-hint { color: #827b77; font-size: 11px; line-height: 1.45; }
.grooming-addon-card b { margin-top: auto; color: #e96800; font-size: 13px; }
.grooming-taxi-outlet, .grooming-taxi-quote { display: grid; gap: 5px; padding: 12px; border-radius: 12px; background: #fff; color: #726963; font-size: 11px; }
.grooming-taxi-outlet strong, .grooming-taxi-quote strong { color: #2e2926; font-size: 13px; }
.grooming-taxi-quote span { line-height: 1.45; }
.grooming-taxi-schedules { grid-column: 1 / -1; }
.admin-grooming-route-rates { grid-column: 1 / -1; }
.admin-grooming-route-rates textarea { width: 100%; min-height: 110px; padding: 10px 12px; border: 1px solid #e8dfd8; border-radius: 12px; background: #fff; color: #29272c; font: inherit; resize: vertical; }
.admin-grooming-route-rates small { color: #827b77; font-size: 10px; font-weight: 500; line-height: 1.5; }
.grooming-addon-fields[hidden], [data-grooming-transfer][hidden] { display: none; }
.grooming-taxi-note { color: #766d67; font-size: 11px; line-height: 1.45; }
.grooming-voucher-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; }
.grooming-voucher-row .button { min-height: 48px; }
.grooming-voucher-feedback { min-height: 18px; margin: 7px 0 12px; color: #766d67; font-size: 11px; }
.grooming-payment-options { display: grid; gap: 8px; }
.grooming-transfer-slip { margin-top: 12px; }
.grooming-booking-summary { margin-top: 15px; padding: 15px; border-radius: 14px; background: #fff5eb; }
.grooming-booking-summary h3 { margin: 0 0 9px; font-size: 15px; }
.grooming-booking-summary p, .grooming-total-row { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; color: #6d6662; font-size: 12px; }
.grooming-booking-summary p b { color: #302d2a; }
.grooming-total-row { margin: 13px 0 0; padding-top: 11px; border-top: 1px solid #eadbce; color: #262329; font-size: 14px; }
.grooming-total-row strong { color: #e96800; font-size: 18px; }
.grooming-submit { width: 100%; margin: 13px 0 8px; }
.grooming-prototype-note { text-align: center; }
.grooming-order-card { display: grid; gap: 10px; }
.grooming-order-heading, .grooming-order-total { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.grooming-order-heading > div > span { color: #8a817b; font-size: 10px; }
.grooming-order-heading h2 { margin: 4px 0 0; font-size: 17px; }
.grooming-order-status { align-self: flex-start; padding: 6px 9px; border-radius: 20px; background: #fff0df; color: #bf5100; font-size: 10px; }
.grooming-order-card > p { margin: 0; color: #716966; font-size: 12px; line-height: 1.5; }
.grooming-order-card .grooming-order-red-flag { color: #b44124; }
.grooming-order-total { padding-top: 10px; border-top: 1px solid #eee5de; font-size: 12px; }
.grooming-receipt-link { color: #d65d00; font-size: 12px; font-weight: 700; }
.grooming-empty-orders { text-align: center; }
.grooming-empty-orders h2 { margin: 0 0 7px; font-size: 19px; }
.grooming-empty-orders p { color: #817d7c; font-size: 13px; }

/* Admin Grooming: configuration form and appointment operations board. */
.admin-grooming-page { max-width: 1240px; margin: 0 auto; }
.admin-grooming-heading { display: flex; align-items: center; gap: 13px; margin: 22px 0; }
.admin-grooming-heading > a { color: #29272c; font-size: 42px; line-height: 1; text-decoration: none; }
.admin-grooming-heading span { color: #e96800; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.admin-grooming-heading h1 { margin: 2px 0 0; font-size: 28px; }
.admin-grooming-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.admin-grooming-weekdays-field { display: grid; gap: 7px; color: #403a37; font-size: 11px; font-weight: 700; }
.admin-grooming-weekdays-field p { margin: 0; color: #817d7c; font-size: 12px; font-weight: 500; line-height: 1.5; }
.admin-grooming-weekdays { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-grooming-weekday { display: flex; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid #e8dfd8; border-radius: 9px; background: #fff; color: #5e554f; font-size: 11px; font-weight: 700; }
.admin-grooming-weekday input { width: 14px !important; min-height: 0 !important; accent-color: #ff7800; }
.admin-grooming-settings-grid > label, .admin-grooming-package-fields > label, .admin-grooming-order-actions > label, .admin-grooming-order-actions form > label { display: grid; gap: 6px; color: #403a37; font-size: 11px; font-weight: 700; }
.admin-grooming-settings-grid .admin-grooming-package-active, .admin-grooming-package-active { display: flex !important; align-items: center; gap: 8px !important; }
.admin-grooming-package-active input { width: auto !important; min-height: 0 !important; accent-color: #ff7800; }
.admin-grooming-page h3 { font-size: 15px; }
.admin-grooming-help { color: #817d7c; font-size: 11px; }
.admin-grooming-package-list { display: grid; gap: 8px; }
.admin-grooming-package { padding: 11px; border: 1px solid #eee4dd; border-radius: 12px; }
.admin-grooming-package summary { color: #302d2a; font-size: 13px; font-weight: 700; cursor: pointer; }
.admin-grooming-package-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding-top: 13px; }
.admin-grooming-package-fields > button { grid-column: 1 / -1; }
.admin-grooming-add-package { margin-top: 15px; padding: 13px; border-radius: 13px; background: #fff7ef; }
.admin-grooming-add-package h3 { margin: 0 0 10px; }
.admin-grooming-settings-feedback { color: #467647; font-size: 12px; }
.admin-grooming-order-list { display: grid; gap: 12px; }
.admin-grooming-order { padding: 14px; border: 1px solid #eee4dd; border-radius: 15px; background: #fff; }
.admin-grooming-order-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.admin-grooming-order-top span { color: #827b77; font-size: 10px; }
.admin-grooming-order-top h3 { margin: 4px 0 0; font-size: 16px; }
.admin-grooming-order-top > b { color: #bf5100; font-size: 10px; text-align: right; }
.admin-grooming-order-grid { display: grid; gap: 11px; margin: 13px 0; }
.admin-grooming-order-grid > div { display: grid; gap: 3px; padding-top: 10px; border-top: 1px solid #f1ebe6; }
.admin-grooming-order-grid small { color: #9a6a45; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.admin-grooming-order-grid strong { font-size: 12px; }
.admin-grooming-order-grid span, .admin-grooming-order-grid em { color: #746d69; font-size: 11px; line-height: 1.5; font-style: normal; }
.admin-grooming-order-grid .admin-grooming-red-flag { color: #b54025; font-weight: 700; }
.admin-grooming-order-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; }
.admin-grooming-order-actions form { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 9px; padding-top: 10px; border-top: 1px solid #f1ebe6; }
.admin-grooming-order-actions .admin-grooming-receipt-form { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-grooming-receipt-form > label { min-width: 0; overflow: hidden; }
.admin-grooming-receipt-form select,
.admin-grooming-receipt-form input[type="file"] { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.admin-grooming-receipt-form select { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-grooming-receipt-form input[type="file"] { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-grooming-receipt-form input[type="file"]::file-selector-button { max-width: 55%; margin-right: 4px; padding: 5px 7px; font-size: 10px; }
.admin-grooming-order-actions form button { grid-column: 1 / -1; }
.admin-grooming-order-actions .button { min-height: 40px; padding: 0 12px; font-size: 11px; }
.admin-grooming-receipt-status { color: #527851; font-size: 11px; }
@media (min-width: 680px) {
  .grooming-page { padding: 32px 34px 120px; }
  .grooming-header { margin-bottom: 26px; }
  .grooming-section { padding: 24px; }
  .grooming-section-heading h2 { font-size: 20px; }
  .grooming-pet-snapshot { grid-template-columns: 1fr auto; align-items: center; }
  .grooming-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grooming-form-grid > .grooming-field:first-child, .grooming-form-grid > .grooming-date-field,
  .grooming-form-grid > .grooming-time-field, .grooming-form-grid > .grooming-appointment-summary { grid-column: 1 / -1; }
  .grooming-addon-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grooming-addon-fields .grooming-taxi-note { grid-column: 1 / -1; }
  .admin-grooming-settings-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-grooming-package-fields { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-grooming-package-fields > button { grid-column: auto; }
  .admin-grooming-order-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-grooming-order-actions { grid-template-columns: 220px auto 1fr; }
  .admin-grooming-order-actions form { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 0 0 12px; border-top: 0; border-left: 1px solid #f1ebe6; }
  .admin-grooming-order-actions form button { grid-column: 1 / -1; }
}
.admin-grooming-order-actions.admin-grooming-receipt-actions { grid-template-columns: minmax(0, 1fr); }
.admin-grooming-order-actions.admin-grooming-receipt-actions .admin-grooming-receipt-form { grid-column: 1 / -1; padding: 0; border: 0; }

/* Grooming pet chooser: selectable profile cards match the Home pet-card carousel treatment. */
.grooming-pet-carousel { display: flex; gap: 11px; overflow-x: auto; padding: 3px 2px 11px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.grooming-pet-carousel::-webkit-scrollbar { display: none; }
.grooming-pet-card { position: relative; display: flex; flex: 0 0 245px; min-height: 112px; align-items: center; gap: 12px; padding: 13px 34px 13px 13px; border: 1px solid #f1ddce; border-radius: 18px; background: linear-gradient(135deg,#fff2e8,#ffe4d3); color: #29272c; text-align: left; cursor: pointer; scroll-snap-align: start; box-shadow: 0 6px 14px #8d4e2711; }
.grooming-pet-card.is-selected { border: 2px solid #ff7900; padding: 12px 33px 12px 12px; box-shadow: 0 6px 16px #e9680022; }
.grooming-pet-card:focus-visible, .grooming-time-option:focus-visible { outline: 3px solid #ff790055; outline-offset: 2px; }
.grooming-pet-photo { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 50%; background: #fff9f3; object-fit: cover; }
.grooming-pet-card-copy { display: grid; min-width: 0; gap: 4px; }
.grooming-pet-card-copy strong { overflow: hidden; color: #25242a; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.grooming-pet-card-copy span { overflow: hidden; color: #6f6763; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.grooming-pet-card-copy small { color: #574e49; font-size: 11px; }
.grooming-pet-selected-mark { position: absolute; top: 7px; right: 7px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #f87900; box-shadow: 0 3px 8px #8d4e2730; }
.grooming-pet-selected-mark img { width: 22px; height: 22px; object-fit: contain; }

/* Grooming appointment picker: the selected calendar day reveals capacity-aware time buttons. */
.grooming-time-field { display: grid; gap: 8px; grid-column: 1 / -1; }
.grooming-field-label { color: #353238; font-size: 13px; font-weight: 700; }
.grooming-calendar-selection { margin: 0; color: #746d69; font-size: 11px; }
.grooming-time-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.grooming-time-slots > p { margin: 0; color: #817d7c; font-size: 12px; }
.grooming-time-option { min-width: 78px; min-height: 42px; padding: 0 13px; border: 1px solid #e8ddd4; border-radius: 12px; background: #fff; color: #3b3734; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.grooming-time-option:hover { border-color: #ff7900; color: #d95e00; }
.grooming-time-option.is-selected { border-color: #f87900; background: #fff0e1; color: #bd5100; box-shadow: inset 0 0 0 1px #f87900; }
.grooming-appointment-summary { display: grid; gap: 4px; grid-column: 1 / -1; padding: 13px 15px; border: 1px solid #ffd7b5; border-radius: 13px; background: #fff4e9; }
.grooming-appointment-summary span { color: #8b7564; font-size: 11px; }
.grooming-appointment-summary strong { color: #b84e00; font-size: 13px; }
@media (min-width: 680px) {
  .grooming-pet-card { flex-basis: 290px; }
  .grooming-pet-photo { width: 86px; height: 86px; flex-basis: 86px; }
}

/* Unified My Orders page: mobile-first service tabs, status filters, and separate order groups. */
.my-orders-page { min-height: 100vh; min-height: 100svh; padding: 18px 14px calc(110px + env(safe-area-inset-bottom)); color: #25242a; background: #fff8f1; font-family: 'Avenir Next'; }
.my-orders-page *, .my-orders-page *::before, .my-orders-page *::after { box-sizing: border-box; }
.my-orders-header { width: min(100%, 720px); height: 58px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; margin: 0 auto 16px; }
.my-orders-header a { width: 42px; height: 54px; display: grid; place-items: center; color: #25242a; font: 400 55px/1 'Avenir Next'; text-decoration: none; }
.my-orders-header h1 { margin: 0; font: 700 27px/1.15 'Avenir Next'; letter-spacing: -.6px; text-align: center; }
.my-orders-tabs, .my-orders-status-tabs { width: min(100%, 720px); display: flex; gap: 8px; overflow-x: auto; margin: 0 auto; padding: 3px 1px 10px; scrollbar-width: none; }
.my-orders-tabs::-webkit-scrollbar, .my-orders-status-tabs::-webkit-scrollbar { display: none; }
.my-orders-tab, .my-orders-status-tab { min-height: 38px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid #eddfd4; border-radius: 22px; color: #675f5a; background: #fff; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.my-orders-tab span { min-width: 19px; height: 19px; display: inline-grid; place-items: center; padding: 0 5px; border-radius: 12px; color: #74665c; background: #f6eee8; font-size: 10px; }
.my-orders-tab.is-active, .my-orders-status-tab.is-active { border-color: #ff7900; color: #fff; background: #ff7900; }
.my-orders-tab.is-active span { color: #c65300; background: #fff; }
.my-orders-status-tabs { padding-top: 0; }
.my-orders-status-tab { min-height: 32px; padding: 0 12px; font-size: 11px; }
.my-orders-count { width: min(100%, 720px); margin: 5px auto 12px; color: #817d7c; font-size: 11px; }
.my-orders-content { width: min(100%, 720px); display: grid; gap: 15px; margin: 0 auto; }
.my-orders-group { display: grid; gap: 10px; }
.my-orders-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px; }
.my-orders-group-heading h2 { margin: 0; font: 700 17px/1.25 'Avenir Next'; }
.my-orders-group-heading > span { color: #817d7c; font-size: 11px; }
.my-order-card, .my-orders-empty { padding: 15px; border: 1px solid #f0e2d7; border-radius: 17px; background: #fff; box-shadow: 0 6px 18px #3c25100a; }
.my-order-card { display: block; padding: 0; overflow: hidden; }
.my-order-card-summary { display: grid; gap: 8px; padding: 15px; cursor: pointer; list-style: none; }
.my-order-card-summary::-webkit-details-marker { display: none; }
.my-order-card-summary::marker { content: ''; }
.my-order-expand-hint { display: flex; align-items: center; justify-content: space-between; color: #d85f00; font-size: 11px; font-weight: 700; }
.my-order-card[open] .my-order-expand-hint > span { transform: rotate(180deg); }
.my-order-expanded { display: grid; gap: 8px; padding: 12px 15px 15px; border-top: 1px solid #f1e9e2; }
.marketplace-order-tracking { display: grid; gap: 8px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.82); border-radius: 12px; color: #fff; background: var(--orange); }
.marketplace-order-tracking h3 { margin: 0; color: #fff; font-size: 12px; }
.marketplace-order-tracking.is-pending { border-color: #e6e2df; color: #77716c; background: #e5e3e1; }
.marketplace-order-tracking.is-pending h3, .marketplace-order-tracking.is-pending .marketplace-order-tracking-row { color: #77716c; }
.marketplace-order-tracking-row { display: grid; justify-items: start; gap: 7px; color: #fff; font-size: 11px; }
.marketplace-order-tracking-row > span { font-weight: 400; }
.marketplace-order-tracking-row > .marketplace-order-track-button { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; padding: 6px 12px; border: 0; border-radius: 999px; color: var(--orange-dark); background: #fff; box-shadow: 0 2px 5px rgba(102, 49, 12, .2); font-family: 'Avenir Next'; font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.marketplace-order-tracking-row > .marketplace-order-track-button:hover { background: #fff8f2; }
.marketplace-order-tracking.is-pending .marketplace-order-track-button,
.marketplace-order-tracking.is-pending .marketplace-order-track-button:disabled { color: #77716c; background: #f7f6f5; box-shadow: none; cursor: not-allowed; opacity: .8; }
.tracking-copy-toast { position: fixed; z-index: 1200; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 32px); padding: 11px 16px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; color: #fff; background: #29272a; box-shadow: 0 5px 18px rgba(43, 29, 19, .24); font-size: 13px; font-weight: 600; line-height: 1.35; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .18s ease, transform .18s ease; }
.tracking-copy-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.marketplace-order-info { min-width: 0; padding: 10px; border: 1px solid #f0e2d7; border-radius: 12px; background: #fff; }
.my-order-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 4px; }
.marketplace-order-info .my-order-detail-list { margin: 0; }
.my-order-detail-list > div { min-width: 0; padding: 10px; border-radius: 11px; background: #fff8f2; }
.marketplace-order-info .my-order-detail-list > div { padding: 8px 10px; background: transparent; }
.my-order-marketplace-lines { display: grid; gap: 9px; }
.my-order-marketplace-lines > h3 { margin: 0; font-size: 13px; }
.my-order-supplier-group { display: grid; gap: 7px; padding: 10px; border: 1px solid #f0e2d7; border-radius: 12px; background: #fff5ee; }
.my-order-supplier-group > header { display: flex; justify-content: space-between; gap: 10px; color: #756e69; font-size: 10px; }
.my-order-supplier-group > header strong { color: var(--ink); font-size: 11px; }
.my-order-supplier-group > header span { text-align: right; }
.my-order-supplier-group a { color: var(--orange-dark); font-weight: 700; }
.my-order-marketplace-line { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: center; gap: 8px 10px; padding: 9px; border-top: 1px solid #f1e9e2; border-radius: 10px; background: #fff5ee; font-size: 11px; }
.my-order-product-image { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 11px; background: #fff0e2; object-fit: cover; }
.my-order-product-image.is-placeholder { font-size: 30px; }
.my-order-marketplace-copy { min-width: 0; display: grid; gap: 3px; }
.my-order-marketplace-copy > strong { line-height: 1.4; }
.my-order-marketplace-copy > span, .my-order-return-status > span, .my-order-return-expired { color: var(--muted); font-size: 10px; }
.my-order-marketplace-copy > b { color: var(--orange); white-space: nowrap; }
.my-order-marketplace-line > .my-order-return-status,
.my-order-marketplace-line > .my-order-return-expired,
.my-order-marketplace-line > .my-order-return-open,
.my-order-marketplace-line > .my-order-return-form { grid-column: 1 / -1; }
.my-order-return-open { grid-column: 1 / -1; justify-self: start; min-height: 32px; padding: 5px 10px; font-size: 10px; }
.my-order-return-form { grid-column: 1 / -1; display: grid; gap: 8px; padding: 10px; border-radius: 10px; background: #fff8f2; }
.my-order-return-form[hidden] { display: none; }
.my-order-return-form label { display: grid; gap: 5px; font-size: 10px; font-weight: 700; }
.my-order-return-form textarea, .my-order-return-form input { width: 100%; min-height: 38px; padding: 8px; border: 1px solid #e8ddd4; border-radius: 8px; background: #fff; font: 12px 'Avenir Next'; }
.my-order-return-form textarea { min-height: 72px; resize: vertical; }
.my-order-return-form > small { color: var(--muted); font-size: 9px; }
.my-order-return-form .button { justify-self: start; min-height: 34px; padding: 6px 12px; font-size: 10px; }
.my-order-return-form [role="status"] { color: #357348; font-size: 10px; }
.my-order-return-status { grid-column: 1 / -1; display: grid; gap: 4px; padding: 8px; border-radius: 9px; background: #fff8f2; }
.my-order-return-status > strong { color: var(--orange-dark); font-size: 10px; }
.marketplace-payment-pending, .marketplace-cancellation-refund { margin: 0; padding: 9px 11px; border-radius: 10px; background: #fff8f2; color: #756e69; font-size: 10px; line-height: 1.45; }
.marketplace-cancellation-refund strong { color: var(--orange-dark); }
.marketplace-online-payment { display: grid; justify-items: start; gap: 6px; padding: 10px; border: 1px solid #f0dfd2; border-radius: 11px; background: #fff8f2; }
.marketplace-online-payment > strong { color: var(--ink); font-size: 11px; }
.marketplace-online-payment .button { min-height: 34px; padding: 6px 12px; font-size: 10px; }
.marketplace-online-payment > small { color: var(--muted); font-size: 9px; }
.marketplace-order-actions-row { display: grid; justify-items: stretch; gap: 8px; }
.marketplace-order-actions-row.is-marketplace { margin: 0 -15px -15px; gap: 0; }
.marketplace-order-actions-row.is-marketplace > .marketplace-cancel-order { grid-column: 1 / -1; margin: 8px 15px; }
.marketplace-order-support-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: stretch; gap: 8px; min-width: 0; }
.marketplace-order-actions-row.is-marketplace .marketplace-order-support-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.marketplace-receipt-control { display: grid; justify-items: start; gap: 5px; min-width: 0; }
.marketplace-order-reference-row { display: grid; justify-items: start; gap: 3px; min-width: 0; margin-bottom: 8px; }
.marketplace-order-reference { min-width: 0; overflow-wrap: anywhere; }
.marketplace-order-reference-row .marketplace-receipt-control { justify-items: start; }
.marketplace-order-reference-row .my-order-receipt-button { min-height: 26px; padding: 5px 8px; font-size: 8px; }
.my-order-support-button { width: 100%; min-height: 42px; box-sizing: border-box; padding: 8px 12px; border: 0; border-radius: 0; color: var(--orange-dark); background: rgba(255, 255, 255, 0.78); font-size: 11px; white-space: nowrap; }
.my-order-support-button:hover { border: 0; color: #fff; background: var(--orange-dark); }
.my-order-contact-seller-button { color: #fff; background: var(--orange); }
.my-order-contact-seller-button:hover { color: #fff; background: var(--orange-dark); }
.my-order-customer-service-button { background: #fff5ee; }
.marketplace-order-actions-row.is-marketplace .my-order-support-button { min-height: 48px; padding-right: 6px; padding-left: 6px; }
.marketplace-order-actions-row > .marketplace-cancel-order { justify-self: end; }
.supplier-delivery-confirmation { display: grid; gap: 8px; padding: 10px; border-radius: 10px; background: #fff8f2; color: var(--ink); font-size: 11px; }
.supplier-delivery-confirmation > div { display: flex; flex-wrap: wrap; gap: 8px; }
.supplier-delivery-confirmation .button { min-height: 34px; padding: 6px 12px; font-size: 10px; }
.marketplace-cancel-order { justify-self: end; padding: 5px 0; border: 0; color: #fe7801; background: transparent; font: 700 11px/1.4 'Avenir Next'; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.marketplace-cancel-dialog { width: min(460px, calc(100vw - 30px)); max-height: min(88vh, 760px); padding: 0; overflow: auto; border: 1px solid #f0dfd2; border-radius: 20px; color: var(--ink); background: #fffdfa; box-shadow: 0 22px 70px #21160f30; }
.marketplace-cancel-dialog::backdrop { background: #21160f88; backdrop-filter: blur(3px); }
.marketplace-cancel-dialog form { display: grid; gap: 15px; padding: 22px; }
.marketplace-cancel-dialog header > span { color: #fe7801; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.marketplace-cancel-dialog h2 { margin: 6px 0 0; font: 700 20px/1.3 'Avenir Next'; }
.marketplace-cancel-dialog fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.marketplace-cancel-dialog legend { margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.marketplace-cancel-reason { display: flex; align-items: center; gap: 9px; min-height: 39px; padding: 8px 10px; border: 1px solid #f0e2d7; border-radius: 10px; background: #fff; font-size: 11px; font-weight: 400; cursor: pointer; }
.marketplace-cancel-reason input { width: 15px; height: 15px; margin: 0; accent-color: #fe7801; }
.marketplace-cancel-other { display: grid; gap: 6px; padding: 3px 2px 0; font-size: 11px; font-weight: 600; }
.marketplace-cancel-other[hidden] { display: none; }
.marketplace-cancel-other textarea { width: 100%; min-height: 72px; padding: 9px; border: 1px solid #e8ddd4; border-radius: 9px; background: #fff; font: 12px 'Avenir Next'; resize: vertical; }
.marketplace-cancel-dialog-note { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.marketplace-cancel-error { margin: 0; color: #c43d32; font-size: 11px; font-weight: 600; }
.marketplace-cancel-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; }
.marketplace-cancel-dialog-actions .button { min-height: 38px; padding: 8px 13px; font-size: 11px; }
.marketplace-payment-retry, .admin-market-cancellation-refund { display: grid; gap: 7px; padding: 10px; border: 1px solid #f0dfd2; border-radius: 11px; background: #fff8f2; color: var(--muted); font-size: 10px; }
.marketplace-payment-retry > strong, .admin-market-cancellation-refund > strong { color: var(--ink); font-size: 11px; }
.marketplace-payment-retry > p { margin: 0; }
.marketplace-payment-retry > label { display: grid; gap: 5px; color: var(--ink); font-weight: 700; }
.marketplace-payment-retry input { min-height: 36px; padding: 6px; border: 1px solid #e8ddd4; border-radius: 8px; background: #fff; font: 11px 'Avenir Next'; }
.marketplace-payment-retry .button, .admin-market-cancellation-refund .button { justify-self: start; min-height: 32px; padding: 6px 10px; font-size: 10px; }
.marketplace-payment-retry [role="status"] { color: #357348; font-size: 10px; }
.admin-market-cancellation-refund > span { overflow-wrap: anywhere; }
.admin-market-cancellation-refund > small { color: var(--muted); }
.my-order-pet-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.my-order-pet-card { min-width: 0; padding: 11px; border: 1px solid #f0e2d7; border-radius: 12px; background: #fff8f2; }
.my-order-pet-card h3 { margin: 0 0 8px; color: #28242a; font-size: 14px; font-weight: 700; }
.my-order-pet-card > p { margin: 0; color: #756e69; font-size: 11px; }
.my-order-pet-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; }
.my-order-pet-card dl > div { min-width: 0; }
.my-order-pet-card dt { color: #8b7565; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.my-order-pet-card dd { margin: 2px 0 0; color: #403a36; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.my-order-detail-list dt { margin-bottom: 4px; color: #8b7565; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.my-order-detail-list dd { margin: 0; color: #403a36; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.my-order-receipt-button { width: fit-content; min-height: 38px; justify-self: start; border-color: var(--orange); color: #fff; background: var(--orange); font-size: 11px; }
.my-order-receipt-button:hover { border-color: var(--orange-dark); color: #fff; background: var(--orange-dark); }
.my-order-receipt-empty { margin: 0; color: #c43d32; font-size: 11px; font-weight: 600; line-height: 1.5; }
.my-order-card-top, .my-order-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-order-summary-badges { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.admin-order-receipt-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; line-height: 1.35; text-align: right; }
.admin-order-receipt-badge.is-missing { color: #c43d32; }
.admin-order-receipt-badge.is-uploaded { color: #357a45; }
.admin-order-receipt-badge svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.my-order-service-label { display: inline-flex; align-items: center; gap: .45em; color: #d85f00; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.my-order-service-label img { width: 1.35em; height: 1.35em; flex: 0 0 1.35em; object-fit: contain; }
.my-order-status { padding: 5px 9px; border-radius: 20px; color: #d85f00; background: #fff1d7; font-size: 10px; }
.my-order-status.is-complete { color: #d85f00; background: #e8f5eb; }
.my-order-status.is-canceled { color: #d85f00; background: #fff0ee; }
.my-order-card h2 { margin: 0; font: 700 15px/1.35 'Avenir Next'; }
.marketplace-order-preview { display: grid; justify-items: start; gap: 2px; min-width: 0; color: var(--ink); font: 400 11px/1.4 'Avenir Next'; }
.marketplace-order-preview > span, .admin-market-order-summary-item { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.marketplace-order-preview strong, .admin-market-order-summary-item > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.marketplace-order-preview-copy { display: grid; gap: 2px; min-width: 0; }
.marketplace-order-preview-copy > strong { color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.4; }
.marketplace-order-preview-detail { display: grid; justify-items: start; gap: 1px; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; }
.marketplace-order-preview-detail > b { color: var(--orange); font-size: 11px; font-weight: 700; white-space: nowrap; }
.marketplace-order-preview-image { width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; border: 1px solid #f1e8df; border-radius: 9px; background: #fff8f1; }
.marketplace-order-preview-image.is-placeholder { display: grid; place-items: center; font-size: 24px; }
.marketplace-order-more { margin-top: 5px; color: #89827d; font-size: 11px; font-weight: 500; line-height: 1.3; }
.marketplace-order-reference { margin: 0 0 8px; color: #756e69; font-size: 12px; font-weight: 700; }
.my-order-summary, .my-order-extra { margin: 0; color: #756e69; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.my-order-card-bottom { padding-top: 5px; border-top: 1px solid #f1e9e2; }
.my-order-card-bottom small { color: #89827d; font-size: 10px; overflow-wrap: anywhere; }
.my-order-card-bottom strong { flex: 0 0 auto; color: #28242a; font-size: 13px; }
.admin-service-order-card { min-width: 0; }
.admin-service-order-details > article { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.admin-service-order-details .admin-grooming-order-top,
.admin-service-order-details .admin-hotel-booking-top,
.admin-service-order-details .admin-daycare-order-heading,
.admin-service-order-details .admin-market-order > header { display: none; }
.admin-service-order-details .admin-grooming-order-actions > div:first-child,
.admin-service-order-details .admin-hotel-booking-actions > div:first-child,
.admin-service-order-details .admin-daycare-order-actions > div:first-child { display: none; }
.admin-service-order-details .admin-grooming-order-grid,
.admin-service-order-details .admin-hotel-booking-grid,
.admin-service-order-details .admin-daycare-order-grid { margin-top: 0; }
.admin-service-order-details .admin-market-order { display: grid; gap: 12px; }
.admin-service-order-details .admin-market-order .admin-market-customer { margin-top: 0; }
.my-order-tracking { width: fit-content; color: #d85f00; font-size: 11px; font-weight: 700; text-decoration: none; }
.my-order-cancel { justify-self: start; min-height: 34px; padding: 0 12px; border-color: #f0d6d2; color: #a93c35; background: #fff; font-size: 11px; }
.my-orders-empty-category { margin: 0; padding: 11px 13px; border-radius: 12px; color: #827a75; background: #fff; font-size: 11px; }
.my-orders-empty { text-align: center; }
.my-orders-empty h2 { margin: 3px 0 6px; font: 700 17px 'Avenir Next'; }
.my-orders-empty p { margin: 0; color: #817d7c; font-size: 12px; }

/* Grooming mobile layout: keep every form section inside the screen and stack fields clearly. */
.grooming-page, .grooming-page * { box-sizing: border-box; }
.grooming-page { width: 100%; overflow-x: clip; padding: 14px 12px calc(104px + env(safe-area-inset-bottom)); }
.grooming-header-centered { width: 100%; height: 54px; margin-bottom: 16px; }
.grooming-header-centered h1 { max-width: calc(100% - 92px); font-size: clamp(21px, 6vw, 27px); }
.grooming-header-centered .grooming-back { left: 0; width: 38px; }
.grooming-header-orders { right: 0; width: 40px; height: 40px; }
.grooming-header-orders img { width: 36px; height: 36px; }
.grooming-booking-form, .grooming-orders-list { width: 100%; min-width: 0; gap: 12px; }
.grooming-section, .grooming-order-card, .grooming-empty-orders { min-width: 0; padding: 15px; border-radius: 17px; }
.grooming-section-heading { gap: 9px; margin-bottom: 14px; }
.grooming-section-heading > div { min-width: 0; }
.grooming-section-heading h2 { font-size: 17px; }
.grooming-section-heading p { font-size: 11px; }
.grooming-form-grid, .grooming-addon-fields { min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.grooming-form-grid > *, .grooming-addon-fields > * { min-width: 0; grid-column: 1 / -1; }
.grooming-form-grid input, .grooming-form-grid select, .grooming-addon-fields input, .grooming-addon-fields select { min-width: 0; }
.grooming-date-field { gap: 8px; }
.grooming-calendar { width: 100%; min-width: 0; padding: 12px; border: 1px solid #f0e2d7; border-radius: 16px; background: #fffdfa; }
.grooming-calendar-heading { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 6px; margin-bottom: 9px; }
.grooming-calendar-heading strong { color: #302d2a; font-size: 14px; text-align: center; }
.grooming-calendar-heading button { width: 42px; height: 42px; border: 1px solid #f0e2d7; border-radius: 12px; color: #393431; background: #fff; font: 24px/1 'Avenir Next'; cursor: pointer; }
.grooming-calendar-heading button:disabled { opacity: .35; cursor: default; }
.grooming-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.grooming-calendar-weekday { display: grid; min-width: 0; height: 28px; place-items: center; color: #918780; font-size: 10px; font-weight: 700; }
.grooming-calendar-empty { min-width: 0; aspect-ratio: 1; }
.grooming-calendar-day { display: grid; min-width: 0; aspect-ratio: 1; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 11px; color: #3b3734; background: transparent; font: 700 12px/1 'Avenir Next', 'Avenir Next'; cursor: pointer; }
.grooming-calendar-day:hover:not(:disabled) { border-color: #ffc28f; background: #fff4e9; }
.grooming-calendar-day.is-today { border-color: #f7b47c; }
.grooming-calendar-day.is-selected { border-color: #f87900; color: #fff; background: #f87900; box-shadow: 0 3px 9px #e968002c; }
.grooming-calendar-day:disabled { color: #c9c2bd; cursor: default; }
.grooming-calendar-day:focus-visible, .grooming-calendar-heading button:focus-visible { outline: 3px solid #ff790055; outline-offset: 2px; }
.grooming-calendar-selection { min-height: 16px; font-size: 11px; line-height: 1.45; }
.grooming-time-field { min-width: 0; }
.grooming-time-slots { min-width: 0; }
.grooming-time-option { min-height: 44px; }
.grooming-appointment-summary { min-width: 0; overflow-wrap: anywhere; }
.grooming-pet-carousel, .grooming-choice-carousel, .grooming-addon-carousel { min-width: 0; max-width: 100%; }
.grooming-pet-snapshot { min-width: 0; overflow-wrap: anywhere; }
.grooming-voucher-row { grid-template-columns: minmax(0, 1fr) auto; }
.grooming-voucher-row .grooming-field { min-width: 0; }
.grooming-payment-options label { min-width: 0; }
.grooming-payment-options label span { min-width: 0; }
.grooming-booking-summary { min-width: 0; padding: 13px; }
.grooming-total-row { align-items: baseline; }
.grooming-total-row strong { white-space: nowrap; }

@media (min-width: 680px) {
  .grooming-page { padding: 26px 22px calc(116px + env(safe-area-inset-bottom)); }
  .grooming-header-centered { height: 58px; margin-bottom: 20px; }
  .grooming-booking-form { gap: 15px; }
  .grooming-section { padding: 22px; }
  .grooming-form-grid, .grooming-addon-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .grooming-form-grid > *, .grooming-addon-fields > * { grid-column: auto; }
  .grooming-form-grid > .grooming-field:first-child, .grooming-form-grid > .grooming-date-field,
  .grooming-form-grid > .grooming-time-field, .grooming-form-grid > .grooming-appointment-summary { grid-column: 1 / -1; }
  .grooming-calendar { max-width: 560px; }
}

/* Shared dropdown alignment: one inset, centered chevron for customer and Admin selects. */
select {
  -webkit-appearance: none !important;
  appearance: none !important;
  padding-right: 48px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='m2 2 6 6 6-6' fill='none' stroke='%2325262b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 14px 9px !important;
}
select::-ms-expand { display: none; }

/* Package and add-on carousels: arrows flank the card track without covering its content. */
.grooming-carousel-shell { min-width: 0; }
.grooming-carousel-shell .grooming-choice-carousel, .grooming-carousel-shell .grooming-addon-carousel { scroll-behavior: smooth; }
.grooming-carousel-shell.has-overflow { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; gap: 5px; }
.grooming-carousel-shell.has-overflow > [data-carousel-step="previous"] { grid-column: 1; grid-row: 1; }
.grooming-carousel-shell.has-overflow > .grooming-choice-carousel, .grooming-carousel-shell.has-overflow > .grooming-addon-carousel { grid-column: 2; grid-row: 1; }
.grooming-carousel-shell.has-overflow > [data-carousel-step="next"] { grid-column: 3; grid-row: 1; }
.grooming-carousel-arrow { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 1px solid #eadfd6; border-radius: 50%; color: #9d5726; background: #fff; font: 21px/1 'Avenir Next'; opacity: .5; cursor: pointer; touch-action: manipulation; transition: opacity .15s ease, background-color .15s ease; }
.grooming-carousel-arrow:hover:not(:disabled), .grooming-carousel-arrow:focus-visible { background: #fff5ed; opacity: .82; }
.grooming-carousel-arrow:disabled { opacity: .25; cursor: default; }
.grooming-carousel-arrow:focus-visible { outline: 3px solid #ff790055; outline-offset: 2px; }
.grooming-carousel-arrow[hidden] { display: none !important; }

/* Main Marketplace header: centered page title with the existing cart and favorites actions at right. */
.marketplace-header-centered { position: relative; min-height: 58px; justify-content: center; }
.marketplace-header-centered .market-back { position: absolute; top: 50%; left: 0; transform: translateY(-50%); }
.marketplace-header-centered h1 { position: absolute; top: 50%; left: 50%; width: calc(100% - 132px); max-width: calc(100% - 132px); transform: translate(-50%, -50%); overflow: hidden; font-size: clamp(21px, 6vw, 27px); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.marketplace-header-centered .market-header-actions { position: absolute; top: 50%; right: 0; transform: translateY(-50%); gap: 8px; }

/* Customer service pages share the My Profile title bar size, alignment, and top spacing. */
.marketplace-page { padding-top: 24px; }
.marketplace-header,
.grooming-header,
.my-orders-header {
  width: min(100%, 620px);
  height: 58px;
  min-height: 58px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 27px auto 28px;
}
.marketplace-header .market-back,
.grooming-header .grooming-back,
.my-orders-header > a {
  width: 42px;
  height: 54px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: #171719;
  font: 400 55px/1 'Avenir Next';
  text-decoration: none;
}
.marketplace-header > div:not(.market-header-actions),
.grooming-header > div:not(.grooming-header-orders) {
  min-width: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.marketplace-header h1,
.grooming-header h1,
.my-orders-header h1 {
  max-width: calc(100vw - 132px);
  overflow: hidden;
  margin: 0;
  color: #171719;
  font: 700 27px/1.15 'Avenir Next';
  letter-spacing: -.6px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.marketplace-header > h1,
.my-orders-header h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 132px);
}
.marketplace-header .market-kicker,
.grooming-header .grooming-eyebrow { display: none; }
.marketplace-header .market-header-actions,
.grooming-header .grooming-header-orders {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.marketplace-header > div:not(.market-header-actions),
.grooming-header > div:not(.grooming-header-orders) {
  inset: 0;
  transform: none;
  pointer-events: none;
}
.marketplace-header > div:not(.market-header-actions) h1,
.grooming-header > div:not(.grooming-header-orders) h1 { pointer-events: auto; }
.marketplace-header-centered h1 { width: calc(100% - 132px); max-width: calc(100% - 132px); }
.marketplace-page .marketplace-header { margin-bottom: 28px; }
.grooming-page { padding-top: 24px; }
.grooming-page .grooming-header { margin-bottom: 28px; }
.grooming-header-centered h1 { max-width: calc(100% - 132px); font-size: 27px; }
.my-orders-page { padding-top: 24px; }
.my-orders-header { grid-template-columns: none; margin-bottom: 28px; }
.my-orders-header > span { display: none; }

/* Pet Hotel customer booking: reuse Grooming's mobile-first cards, section hierarchy, and controls. */
.hotel-page .hotel-booking-form { max-width: 760px; }
.hotel-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.hotel-form-grid > * { min-width: 0; }
.hotel-vaccination-confirm, .hotel-addon-toggle { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; color: #4b4540; font-size: 12px; line-height: 1.5; }
.hotel-room-sharing { margin: 13px 0; padding: 12px 14px; border: 1px solid #f1dfd0; border-radius: 13px; background: #fff8f2; }
.hotel-room-sharing[hidden] { display: none; }
.hotel-room-sharing label { display: flex; align-items: flex-start; gap: 9px; color: #302d2a; font-size: 13px; font-weight: 700; line-height: 1.45; }
.hotel-room-sharing input { flex: 0 0 auto; margin: 2px 0 0; accent-color: #ff7900; }
.hotel-room-sharing p { margin: 5px 0 0 23px; color: #756d68; font-size: 11px; line-height: 1.45; }
.hotel-vaccination-confirm input, .hotel-addon-toggle input, .hotel-taxi-options input { margin-top: 2px; accent-color: #ff7900; }
.hotel-vaccination-confirm[hidden] { display: none; }
.hotel-health-gate { margin-top: 12px; padding: 11px 12px; border-radius: 12px; color: #6c4b24; background: #fff2dc; font-size: 12px; line-height: 1.5; }
.hotel-health-gate strong { color: #9f4b12; }
.hotel-vaccination-link { display: inline-block; margin-top: 9px; color: #d85f00; font-size: 12px; font-weight: 700; }
.hotel-date-summary { margin: 12px 0; color: #7b736e; font-size: 12px; line-height: 1.5; }
.hotel-room-list, .hotel-addon-list, .hotel-grooming-list { display: grid; gap: 10px; }
.hotel-room-card { width: 100%; min-width: 0; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 11px; border: 1px solid #eee1d7; border-radius: 17px; color: #29272c; background: #fffdfa; text-align: left; cursor: pointer; }
.hotel-room-card.is-selected { border: 2px solid #ff7900; background: #fff7ef; box-shadow: 0 5px 14px #ff79001b; }
.hotel-room-card[hidden] { display: none; }
.hotel-room-image { width: 88px; height: 88px; display: grid; place-items: center; overflow: hidden; border-radius: 13px; color: #e66b00; background: #fff0df; font-size: 32px; }
.hotel-room-image img { width: 100%; height: 100%; object-fit: cover; }
.hotel-room-copy { min-width: 0; display: grid; align-content: start; gap: 4px; }
.hotel-room-copy > strong { font: 700 14px/1.3 'Avenir Next'; }
.hotel-room-copy > span, .hotel-room-copy > small { color: #756d68; font-size: 10px; line-height: 1.45; }
.hotel-room-copy .hotel-room-amenities { color: #967258; }
.hotel-room-copy > b { margin-top: 3px; color: #c65000; font-size: 13px; }
.hotel-room-copy > b small { color: #817a75; font-size: 10px; font-weight: 500; }
.hotel-room-availability { color: #397648 !important; font-weight: 700; }
.hotel-addon-card, .hotel-grooming-card { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #eee3db; border-radius: 14px; background: #fffdfa; }
.hotel-addon-card > input, .hotel-grooming-card > input { margin-top: 3px; accent-color: #ff7900; }
.hotel-addon-card > span, .hotel-grooming-card > span { min-width: 0; display: grid; gap: 4px; }
.hotel-addon-card strong, .hotel-grooming-card strong { color: #302d2a; font-size: 12px; }
.hotel-addon-card small, .hotel-grooming-card small { color: #817a75; font-size: 10px; line-height: 1.45; }
.hotel-addon-card b, .hotel-grooming-card b { color: #c65000; font-size: 11px; }
.hotel-grooming-fields, .hotel-taxi-fields { display: grid; gap: 11px; margin-top: 12px; padding: 13px; border-radius: 14px; background: #fff8f1; }
.hotel-grooming-fields[hidden], .hotel-taxi-fields[hidden] { display: none; }
.hotel-grooming-estimate, .hotel-taxi-estimate { margin: 0; color: #746d69; font-size: 11px; line-height: 1.5; }
.hotel-taxi-options { display: flex; flex-wrap: wrap; gap: 12px; }
.hotel-taxi-options label { display: flex; gap: 7px; color: #504944; font-size: 11px; }
.hotel-voucher-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 9px; }
.hotel-voucher-row .button { min-height: 48px; }
.hotel-voucher-feedback { min-height: 18px; margin: 7px 0 12px; color: #7c6c60; font-size: 11px; }
.hotel-payment-options { display: grid; gap: 8px; }
.hotel-payment-options > label { display: flex; gap: 10px; padding: 12px; border: 1px solid #eee3db; border-radius: 13px; background: #fffdfa; }
.hotel-payment-options input { margin-top: 3px; accent-color: #ff7900; }
.hotel-payment-options span { display: grid; gap: 3px; }
.hotel-payment-options strong { font-size: 12px; }
.hotel-payment-options small { color: #817a75; font-size: 10px; }
.hotel-transfer-upload[hidden] { display: none; }
.hotel-booking-summary { display: grid; gap: 8px; margin-top: 17px; padding: 14px; border-radius: 14px; background: #fff7ef; }
.hotel-booking-summary h3 { margin: 0 0 2px; font: 700 14px 'Avenir Next'; }
.hotel-booking-summary p, .hotel-booking-summary .grooming-total-row { display: flex; justify-content: space-between; gap: 12px; margin: 0; color: #625a54; font-size: 11px; }
.hotel-booking-summary p[hidden] { display: none; }
.hotel-booking-summary b { color: #302d2a; }
.hotel-booking-summary .grooming-total-row { padding-top: 9px; border-top: 1px solid #eadfd6; color: #302d2a; font-weight: 700; }
.my-order-media-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.my-order-media-feed > strong { grid-column: 1 / -1; color: #6b5442; font-size: 11px; }
.my-order-media-feed a { min-width: 0; display: grid; gap: 4px; color: #d85f00; font-size: 9px; text-decoration: none; }
.my-order-media-feed img, .my-order-media-feed video { width: 100%; max-height: 150px; aspect-ratio: 4 / 3; border-radius: 9px; background: #f5eee8; object-fit: cover; }

/* Admin Pet Hotel inventory and reservation board follow existing Admin Portal panels. */
.admin-hotel-settings { display: grid; gap: 14px; }
.admin-hotel-settings-grid, .admin-hotel-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; }
.admin-hotel-settings-grid > label, .admin-hotel-fields > label, .admin-hotel-addon-row > label, .admin-hotel-booking-actions > label { display: grid; align-content: start; gap: 6px; color: #403a37; font-size: 11px; font-weight: 700; }
.admin-hotel-settings input:not([type="checkbox"]), .admin-hotel-settings select, .admin-hotel-settings textarea, .admin-hotel-fields input:not([type="checkbox"]), .admin-hotel-addon-row input:not([type="checkbox"]), .admin-hotel-booking-actions input:not([type="file"]), .admin-hotel-booking-actions select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #e8dfd8; border-radius: 10px; color: #29272c; background: #fff; font: inherit; }
.admin-hotel-settings textarea { resize: vertical; }
.admin-hotel-settings-grid .admin-hotel-wide, .admin-hotel-fields .admin-hotel-wide, .admin-hotel-addon-row .admin-hotel-wide { grid-column: 1 / -1; }
.admin-hotel-active { display: flex !important; align-items: center; gap: 8px !important; }
.admin-hotel-active input { accent-color: #ff7900; }
.admin-hotel-settings h3 { margin: 12px 0 0; font: 700 15px 'Avenir Next'; }
.admin-hotel-room-list, .admin-hotel-addon-list { display: grid; gap: 9px; }
.admin-hotel-room, .admin-hotel-addon-row { padding: 12px; border: 1px solid #eee4dd; border-radius: 12px; background: #fff; }
.admin-hotel-room summary { color: #302d2a; font-size: 13px; font-weight: 700; cursor: pointer; }
.admin-hotel-fields { padding-top: 12px; }
.admin-hotel-photo-preview { width: 130px; max-height: 95px; border-radius: 9px; object-fit: cover; }
.admin-hotel-fields > button { grid-column: 1 / -1; }
.admin-hotel-addon-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.admin-hotel-addon-row > button { justify-self: start; }
.admin-hotel-add-room, .admin-hotel-add-addon { display: grid; gap: 10px; padding: 13px; border-radius: 13px; background: #fff7ef; }
.admin-hotel-add-room h3, .admin-hotel-add-addon h3 { margin: 0; }
.admin-hotel-settings-grid small { color: #827b77; font-size: 10px; font-weight: 500; line-height: 1.5; }
.admin-hotel-settings [data-admin-hotel-feedback] { color: #9b4214; font-size: 11px; }
.admin-hotel-booking-list { display: grid; gap: 12px; }
.admin-hotel-availability-panel { display: grid; gap: 14px; }
.admin-hotel-calendar-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 12px; border-radius: 14px; background: #fff8f2; }
.admin-hotel-calendar-toolbar > label { display: grid; min-width: 150px; gap: 5px; color: #74675f; font-size: 10px; font-weight: 700; }
.admin-hotel-calendar-toolbar select, .admin-hotel-calendar-toolbar input { min-height: 38px; padding: 7px 10px; border: 1px solid #ead9ca; border-radius: 10px; color: #29272c; background: #fff; font: 600 11px 'Avenir Next'; }
.admin-hotel-calendar-view, .admin-hotel-calendar-navigation { display: flex; align-items: center; gap: 5px; min-height: 38px; padding: 3px; border: 1px solid #ead9ca; border-radius: 11px; background: #fff; }
.admin-hotel-calendar-view button, .admin-hotel-calendar-navigation button { min-height: 30px; padding: 5px 10px; border: 0; border-radius: 8px; color: #6c625d; background: transparent; font: 700 10px 'Avenir Next'; cursor: pointer; }
.admin-hotel-calendar-view button.is-active { color: #fff; background: #ff7900; }
.admin-hotel-calendar-navigation { margin-left: auto; }
.admin-hotel-calendar-navigation strong { min-width: 145px; color: #302b28; font-size: 11px; text-align: center; }
.admin-hotel-calendar-legend { display: flex; flex-wrap: wrap; gap: 13px; color: #6c625d; font-size: 10px; }
.admin-hotel-calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.admin-hotel-calendar-legend i { width: 10px; height: 10px; border-radius: 3px; background: #e8f5eb; }
.admin-hotel-calendar-legend i.is-reserved { background: #ffe2c8; }
.admin-hotel-calendar-legend i.is-blocked { background: #eee9e4; }
.admin-hotel-calendar-scroll { overflow: auto; border: 1px solid #f0e2d7; border-radius: 12px; }
.admin-hotel-calendar { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; background: #fff; }
.admin-hotel-calendar th, .admin-hotel-calendar td { min-width: 86px; padding: 7px; border-right: 1px solid #f2e9e2; border-bottom: 1px solid #f2e9e2; text-align: center; }
.admin-hotel-calendar thead th { position: sticky; top: 0; z-index: 1; color: #554a43; background: #fff8f2; font-size: 10px; }
.admin-hotel-calendar thead th:first-child, .admin-hotel-calendar tbody th { position: sticky; left: 0; z-index: 2; min-width: 145px; text-align: left; background: #fffdfa; }
.admin-hotel-calendar thead th:first-child { z-index: 3; }
.admin-hotel-calendar thead th span, .admin-hotel-calendar thead th strong, .admin-hotel-calendar tbody th span, .admin-hotel-calendar tbody th small { display: block; }
.admin-hotel-calendar thead th span, .admin-hotel-calendar tbody th small { color: #8b817a; font-size: 9px; font-weight: 500; }
.admin-hotel-calendar thead th strong, .admin-hotel-calendar tbody th span { margin-top: 3px; font-size: 10px; font-weight: 700; }
.admin-hotel-calendar-cell { display: block; width: 100%; max-width: 124px; margin: auto; padding: 7px 5px; overflow: hidden; border: 0; border-radius: 7px; font: inherit; font-size: 9px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.admin-hotel-calendar-cell.is-available { color: #32734a; background: #eaf6ed; }
.admin-hotel-calendar-cell.is-reserved { color: #a94f08; background: #fff0e2; }
.admin-hotel-calendar-cell.is-blocked { color: #71665e; background: #eee9e4; }
.admin-hotel-calendar-cell:hover { filter: brightness(.96); }
.admin-hotel-calendar-cell:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.admin-hotel-calendar tr:last-child th, .admin-hotel-calendar tr:last-child td { border-bottom: 0; }
.admin-hotel-calendar th:last-child, .admin-hotel-calendar td:last-child { border-right: 0; }
@media (max-width: 600px) {
  .admin-hotel-calendar-toolbar > label { flex: 1 1 135px; min-width: 0; }
  .admin-hotel-calendar-navigation { flex: 1 1 100%; justify-content: space-between; margin-left: 0; }
  .admin-hotel-calendar-navigation strong { flex: 1; }
}
.admin-hotel-booking { display: grid; gap: 12px; padding: 14px; border: 1px solid #eee4dd; border-radius: 15px; background: #fff; }
.admin-hotel-booking-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.admin-hotel-booking-top span { color: #827b77; font-size: 10px; }
.admin-hotel-booking-top h3 { margin: 4px 0 0; font-size: 15px; }
.admin-hotel-booking-top > b { color: #bf5100; font-size: 10px; text-align: right; }
.admin-hotel-booking-grid { display: grid; gap: 10px; }
.admin-hotel-booking-grid > div { display: grid; gap: 4px; padding-top: 9px; border-top: 1px solid #f1ebe6; }
.admin-hotel-booking-grid small { color: #9a6a45; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.admin-hotel-booking-grid strong { font-size: 11px; }
.admin-hotel-booking-grid span, .admin-hotel-booking-grid a, .admin-hotel-booking-grid em { color: #746d69; font-size: 10px; line-height: 1.5; font-style: normal; overflow-wrap: anywhere; }
.admin-hotel-booking-grid em { color: #b54025; font-weight: 700; }
.admin-hotel-booking-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; align-items: end; }
.admin-hotel-upload-status { margin: 0; color: #527851; font-size: 10px; }

@media (min-width: 680px) {
  .hotel-form-grid, .admin-hotel-settings-grid, .admin-hotel-fields, .admin-hotel-addon-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-hotel-booking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-hotel-booking-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hotel-range-display { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 16px 0 12px; padding: 16px; border: 1px solid #eadfd6; border-radius: 16px; background: #fff; }
.hotel-range-display > div { display: grid; gap: 5px; min-width: 0; }
.hotel-range-display small { color: #89817c; font-size: 11px; font-weight: 700; }
.hotel-range-display strong { color: #29272c; font-size: 14px; }
.hotel-range-display > span { color: #ee7100; font-weight: 700; }
.hotel-calendar { padding: 14px; border: 1px solid #eee2d9; border-radius: 18px; background: #fffdfa; }
.hotel-calendar-heading { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: 8px; margin-bottom: 12px; text-align: center; }
.hotel-calendar-heading strong { font-size: 14px; }
.hotel-calendar-heading button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #f0e5dd; border-radius: 50%; color: #3a3430; background: white; font-size: 21px; line-height: 1; cursor: pointer; }
.hotel-calendar-heading button:disabled { opacity: .35; cursor: default; }
.hotel-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.hotel-calendar-weekday { display: grid; place-items: center; min-height: 30px; color: #8b827d; font-size: 10px; font-weight: 700; }
.hotel-calendar-empty { min-height: 38px; }
.hotel-calendar-day { display: grid; place-items: center; min-width: 0; min-height: 38px; padding: 0; border: 1px solid transparent; border-radius: 11px; color: #342f2c; background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.hotel-calendar-day:hover:not(:disabled) { border-color: #ffc28f; background: #fff3e8; }
.hotel-calendar-day.is-today { border-color: #f2ad72; }
.hotel-calendar-day.is-in-range { border-radius: 8px; color: #a64c00; background: #fff0e2; }
.hotel-calendar-day.is-selected { border-color: #ff7900; color: white; background: #ff7900; font-weight: 700; }
.hotel-calendar-day:disabled { color: #c9c4c0; background: #f1efed; cursor: not-allowed; }
.hotel-calendar-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 13px; color: #77706b; font-size: 10px; }
.hotel-calendar-legend span { display: inline-flex; align-items: center; gap: 5px; }
.hotel-calendar-legend i { width: 9px; height: 9px; border: 1px solid #f4a25b; border-radius: 50%; background: white; }
.hotel-calendar-legend .is-legend-selected { border-color: #ff7900; background: #ff7900; }
.hotel-calendar-legend .is-legend-range { border-color: #ffe0c5; background: #fff0e2; }
.hotel-calendar-legend .is-legend-unavailable { border-color: #e7e3df; background: #f1efed; }
.hotel-room-card { grid-template-columns: clamp(88px, 18vw, 154px) minmax(0, 1fr); align-items: start; gap: 14px; cursor: default; }
.hotel-room-image { width: 100%; height: auto; aspect-ratio: 1 / 1; align-self: start; }
.hotel-room-copy { width: 100%; overflow-wrap: anywhere; }
.hotel-room-unit-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; padding-top: 12px; border-top: 1px solid #f0e7e0; }
.hotel-unit-seat { min-height: 38px; border: 1px solid #d9e5dc; border-radius: 9px; color: #315a3b; background: #f3fbf5; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.hotel-unit-seat:hover:not(:disabled) { border-color: #ff7900; }
.hotel-unit-seat.is-selected { border-color: #ff7900; color: white; background: #ff7900; box-shadow: 0 3px 9px #ff790033; }
.hotel-unit-seat.is-unavailable, .hotel-unit-seat:disabled { border-color: #e4e1de; color: #aaa5a1; background: #eeecea; cursor: not-allowed; }
.hotel-unit-prompt { grid-column: 1 / -1; color: #857d78; font-size: 11px; }
@media (max-width: 520px) {
  .hotel-range-display { gap: 8px; padding: 13px 11px; }
  .hotel-range-display strong { font-size: 12px; }
  .hotel-calendar { padding: 10px; }
  .hotel-calendar-grid { gap: 2px; }
  .hotel-calendar-day { min-height: 35px; font-size: 11px; }
  .hotel-room-card { grid-template-columns: clamp(88px, 24vw, 120px) minmax(0, 1fr); gap: 10px; }
  .hotel-room-image { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .hotel-room-unit-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
}
.admin-portal-stat-link { display: grid; gap: 7px; padding: 20px; border: 1px solid #f1dfd0; border-radius: 18px; color: var(--ink); background: #fff; text-decoration: none; }
.admin-portal-stat-link:hover { border-color: #ffb778; box-shadow: 0 5px 16px #ff790012; }
.admin-portal-stat-link > span { color: var(--muted); font-size: 13px; }
.admin-portal-stat-link strong { color: var(--orange-dark); font: 700 30px/1 'Avenir Next'; }
.admin-orders-list { display: grid; gap: 10px; }
.admin-orders-card { overflow: hidden; border: 1px solid #eee3db; border-radius: 14px; background: #fffdfa; }
.admin-orders-card > summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, auto) 34px; align-items: center; gap: 12px; min-height: 66px; padding: 12px 14px; cursor: pointer; list-style: none; }
.admin-orders-card > summary::-webkit-details-marker { display: none; }
.admin-orders-reference { min-width: 0; display: grid; gap: 4px; }
.admin-orders-reference strong { overflow-wrap: anywhere; font-size: 13px; }
.admin-orders-reference small { color: #827a75; font-size: 10px; line-height: 1.4; }
.admin-orders-status-pill { justify-self: center; padding: 6px 9px; border-radius: 99px; color: #9a4d0c; background: #fff0dc; font-size: 10px; font-weight: 700; white-space: nowrap; }
.admin-orders-card > summary.my-order-card-summary { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; justify-items: stretch; gap: 8px; min-height: 0; padding: 15px; }
.admin-orders-card > summary.my-order-card-summary .my-order-card-top { margin: 0; }
.admin-orders-card > summary.my-order-card-summary h2 { margin: 0; font: 700 15px/1.35 'Avenir Next'; }
.admin-orders-card > summary.my-order-card-summary .admin-orders-status-pill { justify-self: auto; }
.admin-orders-page .admin-order-summary-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-order-service-tabs { width: 100%; max-width: none; justify-content: space-between; margin: 14px 0; }
.admin-order-service-tabs .my-orders-tab { flex: 1 0 max-content; }
.admin-order-subtitle { width: min(100%, 720px); margin: -8px auto 14px; padding: 10px 16px; border-radius: 12px; color: #fff; background: #fe7801; font-size: 13px; line-height: 1.45; }
.admin-order-stage-tabs { width: 100%; justify-content: flex-start; margin: 0 0 14px; }
.admin-current-order-card { display: block; padding: 0; color: inherit; text-decoration: none; }
.admin-current-order-card:hover { border-color: #f0e2d7; color: inherit; }
.admin-current-order-card .my-order-card-summary { cursor: pointer; }
.admin-current-order-tabs { width: 100%; max-width: none; gap: 10px; margin: 0 0 14px; }
.admin-current-order-tabs .my-orders-status-tab { min-height: 42px; flex: 1 1 0; padding-inline: 14px; font-size: 12px; }
.admin-current-order-list-panel { margin-top: 0; }
.admin-current-order-list-panel .admin-market-panel-heading p { max-width: 270px; }
.admin-current-order-card .my-order-card-summary { gap: 9px; }
.admin-current-order-card .my-order-card-bottom { margin-top: 1px; }
.admin-current-order-page .admin-checkin-scan-panel { margin-top: 18px; }
.admin-order-receipt-summary { margin: -2px 0 0; color: #756e69; font-size: 11px; font-weight: 600; }
.admin-order-receipt-section,
.admin-order-status-section { display: grid; gap: 10px; min-width: 0; padding: 13px; border: 1px solid #f0e4da; border-radius: 13px; background: #fffdfa; }
.admin-grooming-receipt-current,
.admin-hotel-receipt-current { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-grooming-receipt-current p,
.admin-hotel-receipt-current p { margin: 0; }
.admin-grooming-receipt-current [data-delete-grooming-receipt],
.admin-hotel-receipt-current [data-delete-hotel-receipt],
[data-delete-daycare-receipt] { min-height: 26px; padding: 0 8px; border-radius: 8px; font-size: 10px; }
.admin-order-receipt-section h3,
.admin-order-status-section h3 { margin: 0; font-size: 14px; }
.admin-order-receipt-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-order-receipt-controls > label,
.admin-order-receipt-controls .admin-orders-upload { display: grid; min-width: 0; gap: 6px; color: #403a37; font-size: 11px; font-weight: 700; }
.admin-order-receipt-controls select,
.admin-order-receipt-controls input[type="file"] { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 42px; box-sizing: border-box; padding: 8px; border: 1px solid #e8dfd8; border-radius: 10px; color: #29272c; background: #fff; font: 12px 'Avenir Next'; }
.admin-order-receipt-controls input[type="file"] { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-order-receipt-controls input[type="file"]::file-selector-button { max-width: 55%; margin-right: 4px; padding: 5px 7px; font-size: 10px; }
.admin-generated-receipt { display: grid; gap: 10px; }
.admin-generated-receipt-toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-generated-receipt .admin-generated-receipt-open,
.admin-generated-receipt .admin-generated-receipt-open:hover,
.admin-generated-receipt .admin-generated-receipt-open:focus-visible,
.admin-generated-receipt-actions [data-download-generated-receipt],
.admin-generated-receipt-actions [data-download-generated-receipt]:hover,
.admin-generated-receipt-actions [data-download-generated-receipt]:focus-visible { border-color: #fe7801; color: #fff; background: #fe7801; }
.admin-generated-receipt-toolbar [data-download-generated-receipt],
.admin-generated-receipt-toolbar [data-download-generated-receipt]:hover,
.admin-generated-receipt-toolbar [data-download-generated-receipt]:focus-visible { border: 1px solid #fe7801; color: #fe7801; background: transparent; box-shadow: none; }
.admin-generated-receipt-actions [data-upload-generated-receipt],
.admin-generated-receipt-actions [data-upload-generated-receipt]:hover,
.admin-generated-receipt-actions [data-upload-generated-receipt]:focus-visible { border: 1px solid #fe7801; color: #fe7801; background: transparent; box-shadow: none; }
.admin-generated-receipt-form { display: grid; gap: 11px; padding: 12px; border: 1px solid #f0e4da; border-radius: 12px; background: #fff8f2; }
.admin-generated-receipt-form[hidden] { display: none; }
.admin-generated-receipt-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-generated-receipt-fields label { display: grid; min-width: 0; gap: 5px; color: #403a37; font-size: 10px; font-weight: 700; }
.admin-generated-receipt-fields input, .admin-generated-receipt-fields textarea, .admin-generated-receipt-fields select { width: 100%; min-width: 0; min-height: 38px; box-sizing: border-box; padding: 8px 9px; border: 1px solid #e8dfd8; border-radius: 9px; color: #29272c; background: #fff; font: 12px 'Avenir Next'; }
.admin-generated-receipt-fields textarea { min-height: 86px; resize: vertical; }
.admin-generated-receipt-wide { grid-column: 1 / -1; }
.admin-generated-receipt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-generated-receipt-actions .button { min-height: 38px; }
.admin-generated-receipt-feedback { margin: 0; color: #756e69; font-size: 11px; line-height: 1.45; }
.admin-existing-receipt-upload { padding-top: 8px; border-top: 1px solid #f0e4da; }
.admin-existing-receipt-upload > summary { color: #756e69; font-size: 11px; font-weight: 600; cursor: pointer; }
.admin-existing-receipt-upload[open] > .admin-order-receipt-controls { margin-top: 10px; }
.admin-order-payment-status { margin: 0; color: #403a36; font-size: 12px; font-weight: 700; line-height: 1.5; }
.admin-order-receipt-status { margin: -7px 0 0; color: #756e69; font-size: 11px; line-height: 1.5; }
.admin-order-receipt-link { width: fit-content; color: #d85f00; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.admin-order-receipt-file-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-order-receipt-file-actions .admin-order-receipt-link { min-width: 0; }
.admin-orders-delete-receipt,
.admin-orders-delete-receipt:hover,
.admin-orders-delete-receipt:focus-visible { min-height: 28px; margin: 0; padding: 0 10px; border: 0; border-radius: 8px; color: #fff; background: #d93025; box-shadow: none; font: 600 11px/1 'Avenir Next', sans-serif; cursor: pointer; }
.admin-order-progress { display: flex; align-items: stretch; gap: 7px; overflow-x: auto; margin: 0; padding: 0 0 4px; list-style: none; scrollbar-width: thin; }
.admin-order-progress li { display: flex; flex: 1 0 max-content; align-items: center; justify-content: center; gap: 8px; min-width: 120px; padding: 8px 10px; border-radius: 9px; color: #85817e; background: #f5f3f1; font-size: 12px; text-align: center; }
.admin-order-progress li.is-active { color: #c95700; background: #fff0e2; font-weight: 700; }
.admin-order-progress li span { min-width: 0; overflow-wrap: anywhere; }
.admin-order-progress li small { flex: 0 0 auto; color: inherit; font-size: 10px; font-weight: 500; text-align: right; }
.admin-other-service-orders { display: grid; gap: 10px; margin-top: 22px; padding: 16px; border: 1px solid #eee3db; border-radius: 14px; background: #fffdfa; }
.admin-other-service-orders h2 { margin: 0; font-size: 16px; }
.admin-other-service-orders > div { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-other-service-orders .button { min-height: 40px; border-color: #ff7900; color: #fff; background: #ff7900; text-decoration: none; }
.admin-other-service-orders .button:hover { border-color: #e66d00; background: #e66d00; }
.admin-order-status-control { display: grid; width: min(100%, 340px); gap: 6px; color: #766e68; font-size: 11px; font-weight: 700; }
.admin-order-status-control select { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #ff7900; border-radius: 10px; color: #29272c; background: #fff; font: 600 12px 'Avenir Next'; }
.admin-current-order-card > .admin-order-status-control { margin: 0 14px 14px; }
.my-order-status.is-no-show, .admin-orders-status-pill.is-no-show { color: #7d4b00; background: #fff1cc; }
.admin-order-important-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; }
.admin-order-important-details > div { min-width: 0; padding: 10px; border-radius: 10px; background: #fff8f2; }
.admin-order-important-details dt { margin-bottom: 4px; color: #8b7565; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.admin-order-important-details dd { margin: 0; color: #403a36; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .admin-order-receipt-controls, .admin-order-important-details { grid-template-columns: minmax(0, 1fr); }
  .admin-generated-receipt-fields { grid-template-columns: minmax(0, 1fr); }
  .admin-order-progress li { flex-basis: 135px; }
  .admin-order-progress li small { text-align: center; }
  .admin-other-service-orders > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.admin-orders-receipt { display: grid; place-items: center; justify-self: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; }
.admin-orders-receipt svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.admin-orders-receipt.has-receipt { color: #31945a; background: transparent; cursor: default; }
.admin-orders-receipt:disabled { opacity: 1; }
.admin-orders-receipt.missing-receipt { color: #d84a45; background: transparent; }
.admin-orders-receipt.missing-receipt:hover { color: #bd3935; background: #fff3f0; }
.admin-orders-detail { display: grid; gap: 14px; padding: 14px; border-top: 1px solid #eee5df; background: #212121; }
.admin-orders-detail dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; }
.admin-orders-detail dl > div { min-width: 0; padding: 9px; border-radius: 10px; background: #fff8f2; }
.admin-orders-detail dt { margin-bottom: 4px; color: #8b7565; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.admin-orders-detail dd { margin: 0; color: #413a36; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.admin-orders-receipt-preview { color: #746d69; font-size: 11px; }
.admin-orders-receipt-preview a { color: #d85f00; font-weight: 700; }
.admin-orders-actions { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(200px, .8fr); gap: 12px; align-items: end; padding: 12px; border-radius: 12px; background: #fff8f2; }
.admin-orders-actions label { display: grid; gap: 6px; color: #625953; font-size: 10px; font-weight: 700; }
.admin-orders-actions select, .admin-orders-actions input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #e8dfd8; border-radius: 9px; background: #fff; color: #29272c; font: inherit; }
.admin-orders-actions .button { min-height: 36px; padding: 0 11px; font-size: 10px; }
.admin-order-status-control { display: grid; gap: 8px; color: #625953; font-size: 10px; font-weight: 700; }
.admin-order-current-status { justify-self: start; padding: 7px 10px; border-radius: 99px; color: #9a4d0c; background: #fff0dc; font-size: 11px; }
.admin-order-status-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-order-status-buttons .button-light { color: #5f5751; background: #fff; border: 1px solid #e8dfd8; }
.admin-order-status-buttons .button-primary.is-active { color: #fff; background: #ff7900; border-color: #ff7900; }
.admin-order-status-buttons button:disabled { cursor: default; opacity: 1; }
.admin-order-status-control > small { color: #8b817a; font-size: 10px; font-weight: 400; line-height: 1.5; }
.admin-order-taxi-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid #f2dfcf; border-radius: 12px; background: #fff8f2; }
.admin-order-taxi-actions > strong { margin-right: auto; color: #625953; font-size: 11px; }
.admin-order-taxi-actions .button { min-height: 36px; padding: 0 14px; font-size: 11px; }
.admin-order-taxi-actions > small { flex: 1 0 100%; color: #8b817a; font-size: 10px; line-height: 1.4; }
.admin-order-taxi-actions > small:empty { display: none; }
.admin-orders-upload { min-width: 0; }
.admin-executive-locked { min-width: 0; margin: 0; padding: 0; border: 0; opacity: .62; }
.admin-executive-locked :disabled { cursor: not-allowed; }
@media (max-width: 600px) {
  .admin-orders-card > summary { grid-template-columns: minmax(0, 1fr) minmax(104px, auto) 28px; gap: 7px; padding: 11px; }
  .admin-orders-detail dl { grid-template-columns: 1fr; }
  .admin-orders-actions { grid-template-columns: 1fr; }
}
.admin-orders-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, auto) 34px; gap: 12px; padding: 0 14px 7px; color: #8b827d; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.admin-orders-columns span:nth-child(2), .admin-orders-columns span:nth-child(3) { text-align: center; }
@media (max-width: 600px) { .admin-orders-columns { grid-template-columns: minmax(0, 1fr) minmax(104px, auto) 28px; gap: 7px; padding-right: 11px; padding-left: 11px; } }

/* Customer Check In page: active bookings, their pet details, and a stage-specific QR code. */
.check-in-page { min-height: 100vh; padding: 24px 18px 105px; color: var(--ink); background: #fff8ef; }
.check-in-heading { max-width: 760px; margin: 0 auto 27px; }
.check-in-intro, .check-in-order-list, .check-in-detail { width: min(100%, 760px); margin-right: auto; margin-left: auto; }
.check-in-intro { margin-bottom: 15px; }
.check-in-intro > span, .check-in-detail-heading > div > span { color: #c35a09; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.check-in-intro h2 { margin: 5px 0 5px; font-size: 21px; }
.check-in-intro p, .check-in-detail p { margin: 0; color: #807771; font-size: 13px; line-height: 1.55; }
.check-in-order-list { display: grid; gap: 9px; }
.check-in-order-choice { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid #eee3db; border-radius: 15px; color: var(--ink); background: #fff; text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.check-in-order-choice:hover, .check-in-order-choice.is-selected { border-color: #ff7900; box-shadow: 0 5px 16px #ff790016; }
.check-in-order-choice > span:first-child { min-width: 0; display: grid; gap: 4px; }
.check-in-order-choice strong { font-size: 15px; }
.check-in-order-choice small { color: #817973; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.check-in-order-arrow { color: #a39b95; font-size: 24px; }
.check-in-status { align-self: start; padding: 6px 9px; border-radius: 99px; color: #d85f00; background: #fff1d8; font-size: 10px; font-weight: 700; white-space: nowrap; }
.check-in-status.is-checked-in { color: #d85f00; background: #e7f6ed; }
.check-in-detail { margin-top: 17px; padding: 17px; border: 1px solid #f1ded0; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px #71310f0d; }
.check-in-detail-empty { border-style: dashed; color: #6f6862; background: #fffcf8; box-shadow: none; }
.check-in-detail-empty h2 { margin: 0 0 5px; color: var(--ink); font-size: 16px; }
.check-in-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.check-in-detail-heading h2 { margin: 4px 0 0; color: #FE7801; font-size: 19px; overflow-wrap: anywhere; }
.check-in-pet-cards { display: grid; gap: 10px; margin: 14px 0; }
.check-in-pet-card { display: flex; align-items: center; gap: 14px; margin: 0; padding: 13px; border: 1px solid #f0e2d7; border-radius: 15px; background: #fff8f2; }
.check-in-pet-card img { width: 76px; height: 76px; flex: 0 0 auto; border-radius: 50%; background: #fff; object-fit: cover; }
.check-in-pet-card > div { min-width: 0; display: grid; gap: 4px; }
.check-in-pet-card strong { color: #28242a; font-size: 17px; font-weight: 700; }
.check-in-pet-card span { color: #756e69; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.check-in-appointment { display: grid; gap: 4px; width: 100%; margin: 0; padding: 0; border-radius: 0; background: transparent; }
.check-in-appointment > p { margin: 0; color: #262626; font-size: 16px; font-weight: 700; }
.check-in-appointment-highlights { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.check-in-appointment-highlights span { min-width: 0; color: #262626; font-size: 15px; font-weight: 500; line-height: 1.4; }
.check-in-appointment-highlights span + span::before { content: '|'; margin-right: 10px; color: #9a918a; }
.check-in-appointment-highlights span:last-child { overflow: hidden; text-overflow: ellipsis; }
.check-in-qr-layout { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 9px; margin: 10px 0 0; padding: 15px; border-radius: 15px; text-align: center; background: #fff; }
.check-in-qr { width: min(100%, 260px); height: auto; aspect-ratio: 1; shape-rendering: crispEdges; }
.check-in-qr-trigger { display: grid; place-items: center; width: min(100%, 260px); padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: zoom-in; }
.check-in-qr-trigger .check-in-qr { display: block; }
.check-in-qr-layout h3 { margin: 0 0 6px; font-size: 16px; }
.check-in-qr-layout small { display: block; margin-top: 8px; color: #817973; font-size: 10px; overflow-wrap: anywhere; }
.check-in-manual-code { margin-top: 10px; color: #5f554f; font-size: 13px; letter-spacing: 0.04em; }
.check-in-manual-code strong { color: var(--orange-dark); font-size: 15px; letter-spacing: 0.08em; }
.check-in-order-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.check-in-order-details > div { min-width: 0; padding: 10px; border-radius: 11px; background: #fff8f2; }
.check-in-order-details dt { margin-bottom: 4px; color: #8b7565; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.check-in-order-details dd { margin: 0; color: #403a36; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.check-in-simple-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.check-in-simple-details > div { min-width: 0; padding: 10px; border-radius: 11px; background: #fff8f2; }
.check-in-simple-details dt { margin-bottom: 4px; color: #8b7565; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.check-in-simple-details dd { margin: 0; color: #403a36; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.check-in-more-button { width: fit-content; min-height: 40px; display: flex; align-items: center; justify-content: center; margin: 12px auto 0; color: #fff; text-decoration: none; }
.check-in-qr-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 20px; background: #16120fdd; }
.check-in-qr-modal[hidden] { display: none; }
.check-in-qr-modal-content { position: relative; display: grid; place-items: center; width: min(100%, 650px); padding: 26px; border-radius: 18px; background: #fff; }
.check-in-qr-modal-close { position: absolute; z-index: 1; top: 8px; right: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #2c2723; background: #f4eee8; font-size: 27px; cursor: pointer; }
.check-in-qr-modal-image { display: grid; place-items: center; width: min(100%, 580px); padding: 0; border: 0; background: transparent; cursor: zoom-out; }
.check-in-qr-modal-image .check-in-qr { display: block; width: 100%; max-height: calc(100vh - 100px); }
.check-in-qr-modal-open { overflow: hidden; }
.check-in-demo-note { margin-top: 11px !important; font-size: 10px !important; }
.check-in-empty { padding: 22px 16px; border: 1px dashed #e8d9ce; border-radius: 15px; text-align: center; background: #fff; }
.check-in-empty h2 { margin: 0 0 6px; font-size: 16px; }
.check-in-empty p { max-width: 390px; margin: auto; color: #817973; font-size: 12px; line-height: 1.5; }
@media (min-width: 760px) { .check-in-page { padding: 30px 28px 120px; } .check-in-detail { padding: 22px; } }
@media (max-width: 520px) { .check-in-order-choice { grid-template-columns: minmax(0, 1fr) auto 12px; gap: 7px; padding: 11px; } .check-in-order-choice strong { font-size: 13px; } .check-in-order-choice small { font-size: 10px; } .check-in-status { padding: 5px 7px; font-size: 9px; } .check-in-detail { padding: 13px; } .check-in-detail-heading h2 { font-size: 16px; } .check-in-qr-layout { gap: 8px; padding: 12px 10px; } .check-in-qr, .check-in-qr-trigger { width: min(100%, 230px); } .check-in-qr-layout h3 { font-size: 14px; } .check-in-qr-layout p { font-size: 11px; } .check-in-order-details, .check-in-simple-details { grid-template-columns: 1fr; } .check-in-qr-modal-content { padding: 22px 12px 12px; } }

.check-in-qr-layout > div, .check-in-taxi-qr > div { display: grid; justify-items: center; }
.check-in-taxi-qr { flex-direction: column; gap: 9px; margin: 10px 0 0; padding: 15px; background: #fff; }
.check-in-taxi-qr .check-in-qr-trigger { width: min(100%, 230px); }
@media (max-width: 520px) { .my-order-detail-list, .my-order-pet-list { grid-template-columns: 1fr; } .check-in-appointment-highlights { justify-content: center; gap: 6px; text-align: center; } .check-in-appointment-highlights span { font-size: 14px; } .check-in-appointment-highlights span + span::before { margin-right: 6px; } .check-in-appointment > p { font-size: 16px; text-align: center; } }

/* Admin order scanner: camera preview and a manual code fallback for browsers without BarcodeDetector. */
.admin-checkin-scan-panel { margin-bottom: 16px; border-color: #fe7801; color: #fff; background: #fe7801; }
.admin-checkin-scan-panel .admin-market-panel-heading > div > span,
.admin-checkin-scan-panel .admin-market-panel-heading h2,
.admin-checkin-scan-panel .admin-market-panel-heading p,
.admin-checkin-scan-panel .admin-checkin-scan-feedback { color: #fff; }
.admin-checkin-scan-panel .admin-checkin-manual-form label { color: #fff; }
.admin-checkin-scan-panel .admin-checkin-manual-form .button-primary,
.admin-checkin-scan-panel .admin-checkin-manual-form .button-primary:hover,
.admin-checkin-scan-panel .admin-checkin-manual-form .button-primary:focus-visible { border-color: #fff; color: #e96700; background: #fff; }
.admin-checkin-scan-controls { display: grid; justify-items: start; gap: 11px; }
.admin-checkin-scan-controls > .button { min-height: 40px; }
.admin-checkin-scan-feedback { margin: 0; color: #756d67; font-size: 11px; line-height: 1.5; }
.admin-checkin-video { width: min(100%, 420px); aspect-ratio: 4 / 3; border-radius: 14px; background: #262323; object-fit: cover; }
.admin-checkin-manual-form { width: min(100%, 520px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.admin-checkin-manual-form label { display: grid; gap: 6px; color: #625953; font-size: 10px; font-weight: 700; }
.admin-checkin-manual-form input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #e8dfd8; border-radius: 9px; background: #fff; color: #29272c; font: inherit; text-transform: uppercase; }
.admin-checkin-manual-form .button { min-height: 40px; font-size: 11px; }
@media (max-width: 520px) { .admin-checkin-manual-form { grid-template-columns: 1fr; } }
.admin-checkin-preview-dialog { width: min(92vw, 540px); max-height: min(88vh, 760px); overflow-y: auto; margin: auto; padding: 22px; border: 1px solid #f1dfd0; border-radius: 22px; color: var(--ink); background: #fffaf6; box-shadow: 0 22px 70px #2b170b38; }
.admin-checkin-preview-dialog::backdrop { background: #21160f88; backdrop-filter: blur(3px); }
.admin-checkin-preview-heading > span { color: var(--orange-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-checkin-preview-heading h2 { margin: 5px 0 16px; font: 700 21px/1.25 'Avenir Next'; }
.admin-checkin-preview-pet { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; padding: 12px; border-radius: 15px; background: #fff0e4; }
.admin-checkin-preview-pet img, .admin-checkin-preview-avatar { width: 66px; height: 66px; flex: 0 0 66px; border-radius: 50%; object-fit: cover; background: #fffaf6; }
.admin-checkin-preview-avatar { display: grid; place-items: center; color: var(--orange-dark); font-size: 27px; }
.admin-checkin-preview-pet > div:last-child { display: grid; gap: 4px; min-width: 0; }
.admin-checkin-preview-pet strong { font-size: 17px; }
.admin-checkin-preview-pet span { color: var(--muted); font-size: 12px; }
.admin-checkin-preview-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.admin-checkin-preview-details > div { min-width: 0; padding: 10px; border-radius: 11px; background: #fff; }
.admin-checkin-preview-details dt { margin-bottom: 4px; color: #8b7565; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.admin-checkin-preview-details dd { margin: 0; color: #403a36; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.admin-checkin-preview-message { margin: 14px 0; color: #756d67; font-size: 12px; line-height: 1.5; }
.admin-checkin-preview-dialog footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }
.admin-checkin-preview-dialog footer .button { min-height: 42px; }
.admin-checkin-preview-dialog footer .button:disabled { color: #827d79; border-color: #dedbd7; background: #e8e6e3; box-shadow: none; cursor: not-allowed; opacity: 1; transform: none; }
.admin-checkin-preview-dialog footer .button:disabled:hover { background: #e8e6e3; transform: none; }
@media (max-width: 480px) { .admin-checkin-preview-dialog { padding: 17px; } .admin-checkin-preview-details { grid-template-columns: 1fr; } .admin-checkin-preview-dialog footer { display: grid; grid-template-columns: 1fr 1fr; } }

/* Customer Pet Daycare: responsive booking modes, care selections, and pass purchase cards. */
.daycare-page .grooming-booking-form { max-width: 760px; }
.daycare-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.daycare-form-grid > * { min-width: 0; }
.daycare-mode-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 14px; }
.daycare-mode-switch label { min-width: 0; }
.daycare-mode-switch input { position: absolute; opacity: 0; pointer-events: none; }
.daycare-mode-switch span { display: grid; min-height: 43px; place-items: center; padding: 8px 5px; border: 1px solid #eadfd6; border-radius: 12px; color: #5d5652; background: #fffdfa; text-align: center; font-size: 11px; font-weight: 700; cursor: pointer; }
.daycare-mode-switch input:checked + span { border-color: #ff7900; color: #bd5100; background: #fff1e5; box-shadow: inset 0 0 0 1px #ff7900; }
.daycare-mode-switch input:focus-visible + span { outline: 3px solid #ffb56e; outline-offset: 2px; }
.daycare-purchase-fields, .daycare-visit-fields { min-width: 0; }
.daycare-purchase-fields h3 { margin: 0 0 10px; font: 700 15px 'Avenir Next'; }
.daycare-pass-list, .daycare-addon-list, .daycare-grooming-list { display: grid; gap: 9px; }
.daycare-pass-card, .daycare-addon-card { display: flex; min-width: 0; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid #eee2d9; border-radius: 14px; background: #fffdfa; cursor: pointer; }
.daycare-pass-card:has(input:checked), .daycare-addon-card:has(input:checked) { border-color: #ff7900; background: #fff7ef; box-shadow: 0 0 0 1px #ff7900; }
.daycare-pass-card > input, .daycare-addon-card > input { flex: 0 0 auto; margin-top: 4px; accent-color: #ff7900; }
.daycare-pass-card > span, .daycare-addon-card > span { display: grid; min-width: 0; flex: 1; gap: 4px; }
.daycare-pass-card strong, .daycare-addon-card strong { color: #302d2a; font-size: 13px; }
.daycare-pass-card small, .daycare-addon-card small { color: #817a75; font-size: 10px; line-height: 1.45; }
.daycare-pass-card b, .daycare-addon-card b { color: #c65000; font-size: 12px; }
.daycare-medication-note { width: 100%; min-height: 39px; margin-top: 5px; padding: 8px 10px; border: 1px solid #e8dfd8; border-radius: 9px; font: inherit; font-size: 11px; }
.daycare-capacity { grid-column: 1 / -1; min-height: 42px; padding: 11px 13px; border-radius: 12px; color: #326a43; background: #f0f8f1; font-size: 12px; font-weight: 700; }
.daycare-capacity.is-full { color: #994319; background: #fff0e3; }
.daycare-health-gate { margin: 0 0 12px; padding: 12px 13px; border-radius: 12px; color: #66543c; background: #fff4e3; font-size: 12px; line-height: 1.5; }
.daycare-health-gate strong { color: #a64d12; }
.daycare-toggle { margin: 15px 0 8px; padding: 11px 12px; border: 1px solid #f0e3d8; border-radius: 12px; background: #fffdfa; }
.daycare-grooming-fields, .daycare-taxi-fields { display: grid; gap: 12px; margin-top: 10px; padding: 13px; border-radius: 14px; background: #fff8f1; }
.daycare-grooming-fields[hidden], .daycare-taxi-fields[hidden], [data-daycare-care-section][hidden] { display: none; }
.daycare-grooming-fields .daycare-addon-card { min-height: auto; }
.daycare-taxi-estimate { margin: 0; color: #766b63; font-size: 11px; line-height: 1.5; }
.daycare-transfer[hidden] { display: none; }
.grooming-vaccination-link { display: inline-block; margin-top: 11px; color: #d85f00; font-size: 12px; font-weight: 700; }
@media (min-width: 680px) {
  .daycare-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daycare-form-grid > .daycare-date-field, .daycare-form-grid > .daycare-capacity { grid-column: 1 / -1; }
  .daycare-mode-switch { max-width: 510px; }
}
@media (max-width: 360px) {
  .daycare-mode-switch { gap: 4px; }
  .daycare-mode-switch span { min-height: 40px; font-size: 10px; }
  .daycare-pass-card, .daycare-addon-card { padding: 11px 9px; }
}

/* Admin Pet Daycare: compact settings panels and readable daily roster cards on phones and desktops. */
.admin-daycare-page { max-width: 1240px; margin: 0 auto; padding-bottom: 110px; }
.admin-daycare-settings { display: grid; gap: 12px; }
.admin-daycare-settings-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.admin-daycare-settings-grid > label, .admin-daycare-row > label, .admin-daycare-order-actions > label { display: grid; min-width: 0; align-content: start; gap: 6px; color: #403a37; font-size: 11px; font-weight: 700; }
.admin-daycare-settings input:not([type="checkbox"]), .admin-daycare-settings textarea, .admin-daycare-row input:not([type="checkbox"]), .admin-daycare-order-actions select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #e8dfd8; border-radius: 10px; color: #29272c; background: #fff; font: inherit; }
.admin-daycare-settings textarea { resize: vertical; }
.admin-daycare-settings h3 { margin: 8px 0 0; font: 700 14px 'Avenir Next'; }
.admin-daycare-list, .admin-daycare-roster { display: grid; gap: 10px; }
.admin-daycare-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; padding: 12px; border: 1px solid #eee4dd; border-radius: 13px; background: #fff; }
.admin-daycare-row .admin-daycare-wide { grid-column: 1 / -1; }
.admin-daycare-check { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 7px !important; }
.admin-daycare-check input { accent-color: #ff7900; }
.admin-daycare-new-row { background: #fff8f1; }
.admin-daycare-row > button { justify-self: start; }
.admin-daycare-settings [data-admin-daycare-feedback] { color: #49734f; font-size: 11px; }
.admin-daycare-order { display: grid; gap: 12px; padding: 14px; border: 1px solid #eee4dd; border-radius: 15px; background: #fff; }
.admin-daycare-order-heading { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 9px; }
.admin-daycare-order-heading > div { min-width: 0; }
.admin-daycare-order-heading span { color: #827b77; font-size: 10px; }
.admin-daycare-order-heading h3 { margin: 4px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.admin-daycare-order-heading > b { flex: 0 0 auto; color: #bf5100; font-size: 10px; text-align: right; }
.admin-daycare-order-grid { display: grid; gap: 10px; }
.admin-daycare-order-grid > div { display: grid; min-width: 0; gap: 4px; padding-top: 9px; border-top: 1px solid #f1ebe6; }
.admin-daycare-order-grid small { color: #9a6a45; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.admin-daycare-order-grid strong { font-size: 11px; overflow-wrap: anywhere; }
.admin-daycare-order-grid span, .admin-daycare-order-grid a { color: #746d69; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.admin-daycare-red-flag { color: #b54025 !important; font-size: 11px !important; }
.admin-daycare-task { display: flex; align-items: flex-start; gap: 7px; color: #554c47; font-size: 10px; line-height: 1.45; }
.admin-daycare-task input { flex: 0 0 auto; margin-top: 2px; accent-color: #ff7900; }
.admin-daycare-order-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; align-items: end; }
.admin-daycare-receipt { grid-column: 1 / -1; color: #527851; font-size: 10px; }
@media (min-width: 700px) {
  .admin-daycare-settings-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-daycare-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-daycare-order-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-daycare-order-actions { grid-template-columns: 220px auto 1fr; }
}

/* Admin dashboard service windows: a responsive four-tile grid for the main service portals. */
.admin-service-windows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.admin-service-window {
  min-width: 0;
  min-height: 205px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 11px;
  padding: 18px;
  border: 1px solid #f1dfd0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px #3824120b;
}
.admin-service-window .admin-tool-icon { width: 42px; height: 42px; border-radius: 13px; font-size: 22px; }
.admin-service-window h3 { margin: 0 0 4px; font: 700 17px 'Avenir Next'; }
.admin-service-window p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.admin-service-window .button { min-height: 40px; justify-content: center; padding: 0 12px; font-size: calc(11px + 2pt); white-space: nowrap; }
.admin-service-window-artwork { width: 66px; height: 60px; display: block; object-fit: contain; }
.admin-portal-stat-link strong { color: var(--ink); }
.daycare-intro-card { max-width: 760px; margin: 0 auto 18px; padding: 16px 18px; border: 1px solid #f2e2d5; border-radius: 16px; background: #fff; }
.daycare-intro-card h2 { margin: 0 0 4px; font: 700 16px/1.3 'Avenir Next'; }
.daycare-intro-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.admin-daycare-profile-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.admin-daycare-profile-form > label { display: grid; min-width: 0; gap: 6px; color: #403a37; font-size: 11px; font-weight: 700; }
.admin-daycare-profile-form > label:nth-child(2) { grid-column: 1 / -1; }
.admin-daycare-profile-form input,
.admin-daycare-profile-form textarea { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid #e8dfd8; border-radius: 10px; color: #29272c; background: #fff; font: inherit; }
.admin-daycare-profile-form textarea { resize: vertical; }
.admin-daycare-profile-form button { justify-self: start; }
.admin-daycare-profile-form [data-admin-daycare-profile-feedback] { align-self: center; color: #49734f; font-size: 11px; }
@media (max-width: 560px) {
  .admin-service-windows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .admin-service-window { min-height: 205px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; align-items: start; gap: 8px; padding: 11px; }
  .admin-service-window-artwork { width: 48px; height: 46px; }
  .admin-service-window h3 { font-size: 14px; }
  .admin-service-window p { font-size: 10px; }
  .admin-service-window .button { grid-column: auto; width: 100%; min-height: 38px; padding: 0 4px; font-size: calc(9px + 2pt); white-space: normal; }
  .admin-daycare-profile-form { grid-template-columns: minmax(0, 1fr); }
  .admin-daycare-profile-form > label:nth-child(2) { grid-column: auto; }
}

/* Pet Taxi Driver Portal: upcoming route board, per-order QR scanner, and live location controls. */
.driver-portal-page { min-height: 100vh; min-height: 100svh; padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
.driver-portal-welcome { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 34px 0 20px; }
.driver-portal-welcome-copy { min-width: 0; flex: 1 1 auto; }
.driver-portal-welcome-copy > span, .driver-section-heading > div > span { color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.driver-portal-welcome h1 { margin: 4px 0; font: 700 clamp(28px, 5vw, 38px)/1.15 'Avenir Next'; letter-spacing: -1px; }
.driver-portal-welcome p { margin: 0; color: var(--muted); font-size: 13px; }
.driver-portal-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 11px; }
.driver-portal-summary article { display: grid; gap: 6px; padding: 15px; border: 1px solid #f1dfd0; border-radius: 15px; background: #fff; }
.driver-portal-summary article span { color: var(--muted); font-size: 11px; }
.driver-portal-summary article strong { font: 700 25px/1 'Avenir Next'; }
.driver-jobs-section { margin-top: 24px; }
.driver-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.driver-section-heading h2 { margin: 3px 0 0; font: 700 20px/1.2 'Avenir Next'; }
.driver-job-list { display: grid; gap: 13px; }
.driver-job-card { min-width: 0; padding: 17px; border: 1px solid #f1dfd0; border-radius: 17px; background: #fff; box-shadow: 0 5px 16px #3824120b; }
.driver-job-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.driver-job-card > header span { color: var(--orange-dark); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.driver-job-card h2 { margin: 4px 0 0; font: 700 17px/1.25 'Avenir Next'; }
.driver-job-status { flex: 0 0 auto; padding: 6px 9px; border-radius: 99px; color: #80500f; background: #fff0d5; font-size: 10px; }
.driver-job-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.driver-job-details > div { display: grid; min-width: 0; align-content: start; gap: 4px; padding: 10px; border-radius: 11px; background: #fff8f1; }
.driver-job-details small { color: #8b7565; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.driver-job-details strong { font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.driver-job-details a { color: var(--orange-dark); font-size: 10px; font-weight: 700; }
.driver-job-alert { color: #ae442d; font-size: 10px; line-height: 1.4; }
.driver-job-card > footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 13px; }
.driver-job-card > footer .button { min-height: 37px; padding: 0 12px; font-size: 11px; }
.driver-job-next { color: #645a54; font-size: 10px; font-weight: 700; }
.driver-location-time { width: 100%; color: var(--muted); font-size: 10px; }
.driver-empty { padding: 30px 20px; border: 1px dashed #e9d8c8; border-radius: 17px; color: var(--muted); background: #fff; text-align: center; }
.driver-empty h2 { margin: 0 0 6px; color: var(--ink); font: 700 17px 'Avenir Next'; }
.driver-empty p { margin: 0; font-size: 12px; }
.driver-scan-dialog { width: min(480px, calc(100% - 28px)); max-height: min(88vh, 760px); padding: 18px; border: 1px solid #f1dfd0; border-radius: 18px; color: var(--ink); background: #fffaf6; box-shadow: 0 18px 60px #20160f44; }
.driver-scan-dialog::backdrop { background: #20160f88; }
.driver-scan-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.driver-scan-dialog h2 { margin: 0; font: 700 18px 'Avenir Next'; }
.driver-scan-dialog > header button { width: 34px; height: 34px; border: 0; border-radius: 50%; font-size: 22px; background: #fff0e2; }
.driver-scan-dialog video { width: 100%; max-height: 46vh; margin-top: 13px; border-radius: 12px; background: #211f20; object-fit: cover; }
.driver-scan-dialog p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.driver-scan-dialog form { display: grid; gap: 10px; }
.driver-scan-dialog form label { display: grid; gap: 5px; font-size: 11px; font-weight: 700; }
.driver-scan-dialog input { min-height: 42px; padding: 9px 11px; border: 1px solid #e8dfd8; border-radius: 10px; font: inherit; }
.admin-pet-taxi-settings-page { max-width: 1240px; margin: 0 auto; }
.admin-pet-taxi-settings-page > .admin-grooming-heading { margin: 22px 0; }
.admin-pet-taxi-settings-page > .admin-market-panel { margin-top: 18px; }
.admin-pet-taxi-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-pet-taxi-settings-grid > label { min-width: 0; display: grid; align-content: start; gap: 7px; color: #403a37; font-size: 13px; font-weight: 700; line-height: 1.4; }
.admin-pet-taxi-settings-grid > .admin-pet-taxi-wide { grid-column: 1 / -1; }
.admin-pet-taxi-settings-grid input,
.admin-pet-taxi-settings-grid textarea { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #e8dfd8; border-radius: 11px; color: var(--ink); background: #fffdfa; font: 400 14px/1.45 'Avenir Next'; }
.admin-pet-taxi-settings-grid textarea { min-height: 190px; resize: vertical; white-space: pre-wrap; }
.admin-pet-taxi-settings-grid small { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.5; }
.admin-pet-taxi-repeat-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid #f0e5dc; }
.admin-pet-taxi-repeat-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.admin-pet-taxi-repeat-heading h3 { margin: 0; font: 700 16px/1.3 'Avenir Next'; }
.admin-pet-taxi-repeat-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.admin-pet-taxi-repeat-heading > .button { min-height: 38px; flex: 0 0 auto; padding: 7px 14px; }
.admin-pet-taxi-repeat-heading [data-add-taxi-time],
.admin-pet-taxi-repeat-heading [data-add-taxi-route] { border: 1px solid var(--orange); color: #fff; background: var(--orange); }
.admin-pet-taxi-repeat-heading [data-add-taxi-time]:hover,
.admin-pet-taxi-repeat-heading [data-add-taxi-route]:hover { background: var(--orange-dark); }
.admin-pet-taxi-schedule-list,
.admin-pet-taxi-route-list { display: grid; gap: 10px; }
.admin-pet-taxi-schedule-row,
.admin-pet-taxi-route-row { min-width: 0; display: grid; align-items: end; gap: 12px; padding: 12px; border: 1px solid #f0e5dc; border-radius: 13px; background: #fffaf6; }
.admin-pet-taxi-schedule-row { grid-template-columns: minmax(0, 1fr) auto; }
.admin-pet-taxi-route-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(110px, .45fr) auto; }
.admin-pet-taxi-schedule-row > label,
.admin-pet-taxi-route-row > label { min-width: 0; display: grid; gap: 6px; color: #403a37; font-size: 12px; font-weight: 700; line-height: 1.35; }
.admin-pet-taxi-schedule-row input,
.admin-pet-taxi-route-row input,
.admin-pet-taxi-route-row select { width: 100%; min-width: 0; min-height: 43px; padding: 8px 10px; border: 1px solid #e8dfd8; border-radius: 10px; color: var(--ink); background: white; font: 400 13px 'Avenir Next'; }
.admin-pet-taxi-schedule-row > .button,
.admin-pet-taxi-route-row > .button { min-height: 41px; padding: 7px 13px; white-space: nowrap; }
.admin-pet-taxi-schedule-row [data-remove-taxi-time],
.admin-pet-taxi-route-row [data-remove-taxi-route] { min-height: 30px; padding: 4px 8px; border: 1.5px solid var(--orange); border-radius: 9px; color: var(--orange-dark); background: transparent; box-shadow: none; font-size: 10px; }
.admin-pet-taxi-schedule-row [data-remove-taxi-time]:hover,
.admin-pet-taxi-route-row [data-remove-taxi-route]:hover { color: #fff; background: var(--orange); }
.admin-pet-taxi-schedule-row > .button:disabled,
.admin-pet-taxi-route-row > .button:disabled { opacity: .48; cursor: not-allowed; }
.admin-pet-taxi-settings-page .admin-market-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.admin-pet-taxi-settings-page [data-admin-pet-taxi-feedback] { color: #287347; font-size: 12px; }
.admin-pet-taxi-section { margin-top: 22px; padding: 20px; border: 1px solid #f1dfd0; border-radius: 18px; background: #fff; }
.admin-pet-taxi-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.admin-pet-taxi-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.admin-pet-taxi-title-row > img { width: 48px; height: 48px; object-fit: contain; }
.admin-pet-taxi-heading .admin-pet-taxi-kicker { display: block; color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-pet-taxi-heading h2 { margin: 3px 0 0; font: 700 20px/1.2 'Avenir Next'; }
.admin-pet-taxi-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.admin-pet-taxi-heading .button { min-height: 38px; flex: 0 0 auto; font-size: 11px; }
.admin-pet-taxi-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-pet-taxi-card { min-width: 0; padding: 13px; border: 1px solid #f2e6dc; border-radius: 14px; background: #fffaf6; }
.admin-pet-taxi-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.admin-pet-taxi-card > header > div > span { color: var(--orange-dark); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.admin-pet-taxi-card h3 { margin: 3px 0 0; font: 700 14px/1.25 'Avenir Next'; }
.admin-pet-taxi-card h3 small { display: block; margin-top: 2px; color: var(--muted); font: 500 10px/1.3 'Avenir Next', 'Avenir Next'; }
.admin-pet-taxi-card > header b { flex: 0 0 auto; padding: 5px 7px; border-radius: 99px; color: #80500f; background: #fff0d5; font-size: 9px; }
.admin-pet-taxi-card dl { display: grid; gap: 7px; margin: 0; }
.admin-pet-taxi-card dl > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 6px; }
.admin-pet-taxi-card dt { color: #8b7565; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.admin-pet-taxi-card dd { min-width: 0; margin: 0; color: var(--ink); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.admin-pet-taxi-card dd a { color: var(--orange-dark); font-weight: 700; }
.admin-pet-taxi-card dd small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.admin-pet-taxi-empty { grid-column: 1 / -1; margin: 0; padding: 20px; border-radius: 12px; color: var(--muted); background: #fffaf6; font-size: 12px; text-align: center; }
.check-in-taxi-qr { display: flex; flex-direction: column-reverse; align-items: center; gap: 13px; margin: 14px 0; padding: 18px 15px; border-radius: 15px; background: #fff7ed; text-align: center; }
.check-in-taxi-qr > div { min-width: 0; }
.check-in-taxi-qr span { color: var(--orange-dark); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.check-in-taxi-qr h3 { margin: 4px 0; font: 700 16px 'Avenir Next'; }
.check-in-taxi-qr p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.check-in-taxi-qr .check-in-qr { width: min(100%, 230px); height: auto; flex: 0 0 auto; }
.check-in-taxi-complete { margin: 14px 0; padding: 12px; border-radius: 12px; color: #356343; background: #eff8f0; font-size: 12px; font-weight: 700; }
.my-order-taxi-tracking { display: grid; gap: 4px; margin-top: 10px; padding: 11px; border-radius: 11px; background: #fff7ed; }
.my-order-taxi-tracking strong { font-size: 11px; }
.my-order-taxi-tracking a { color: var(--orange-dark); font-size: 11px; font-weight: 700; }
.my-order-taxi-tracking small { color: var(--muted); font-size: 10px; }
.admin-orders-driver-location { display: grid; justify-items: start; gap: 4px; margin: 0 0 12px; padding: 11px; border-radius: 11px; background: #fff7ed; }
.admin-orders-driver-location strong { font-size: 11px; }
.admin-orders-driver-location a { color: var(--orange-dark); font-size: 11px; font-weight: 700; }
.admin-orders-driver-location small { color: var(--muted); font-size: 10px; }
.live-driver-location { display: grid; width: 100%; min-width: 0; gap: 7px; margin-top: 7px; }
.live-driver-location-map { display: block; width: 100%; min-height: 190px; aspect-ratio: 16 / 10; border: 0; border-radius: 12px; background: #f4eee8; }
.live-driver-location-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; color: var(--muted); font-size: 10px; }
.live-driver-location-meta a { color: var(--orange-dark); font-weight: 700; }
.live-driver-location-waiting { margin: 0; padding: 12px; border-radius: 10px; color: var(--muted); background: #fff; font-size: 11px; }
@media (max-width: 560px) {
  .admin-pet-taxi-settings-page { padding-right: 14px; padding-left: 14px; }
  .admin-pet-taxi-settings-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .admin-pet-taxi-settings-grid > .admin-pet-taxi-wide { grid-column: auto; }
  .admin-pet-taxi-settings-grid textarea { min-height: 160px; }
  .admin-pet-taxi-repeat-heading { align-items: flex-start; }
  .admin-pet-taxi-repeat-heading > .button { padding-inline: 11px; }
  .admin-pet-taxi-schedule-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px; }
  .admin-pet-taxi-route-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; }
  .admin-pet-taxi-route-row > .button { grid-column: 1 / -1; justify-self: start; }
  .admin-pet-taxi-settings-page > .admin-market-panel { padding: 16px; }
  .admin-pet-taxi-settings-page > .admin-market-panel .admin-market-panel-heading { display: grid; gap: 8px; }
  .driver-portal-page { padding-right: 14px; padding-left: 14px; }
  .driver-portal-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .driver-section-heading { align-items: flex-start; flex-direction: column; }
  .driver-job-card { padding: 13px; }
  .driver-job-details { grid-template-columns: minmax(0, 1fr); }
  .driver-job-card > footer .button { flex: 1 1 100%; justify-content: center; }
  .admin-pet-taxi-section { padding: 14px; }
  .admin-pet-taxi-heading { flex-direction: column; }
  .admin-pet-taxi-list { grid-template-columns: minmax(0, 1fr); }
  .check-in-taxi-qr { gap: 10px; padding: 14px 11px; }
  .check-in-taxi-qr .check-in-qr { width: min(100%, 190px); height: auto; }
}
/* Shared page title bars: keep return arrows and centered headings consistent with My Profile. */
.profile-heading,
.marketplace-header,
.grooming-header,
.my-orders-header {
  width: min(100%, 620px);
  height: 58px;
  min-height: 58px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 27px auto 28px;
}

.profile-heading h1,
.marketplace-header h1,
.grooming-header h1,
.my-orders-header h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 132px);
  max-width: calc(100% - 132px);
  transform: translate(-50%, -50%);
  overflow: hidden;
  margin: 0;
  color: #171719;
  font: 700 27px/1.15 'Avenir Next';
  letter-spacing: -.6px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-heading .profile-back,
.marketplace-header .market-back,
.grooming-header .grooming-back,
.my-orders-header > a,
.admin-market-heading > a[aria-label],
.admin-grooming-heading > a {
  width: 42px;
  height: 54px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #171719;
  background: transparent;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
}

/* Draw the arrow with CSS so font fallback cannot make it heavier on one page. */
.profile-heading .profile-back::before,
.marketplace-header .market-back::before,
.grooming-header .grooming-back::before,
.my-orders-header > a::before,
.admin-market-heading > a[aria-label]::before,
.admin-grooming-heading > a::before {
  content: '';
  width: 14px;
  height: 14px;
  margin-left: 6px;
  border-bottom: 2.5px solid currentColor;
  border-left: 2.5px solid currentColor;
  transform: rotate(45deg);
}

.marketplace-header > div:not(.market-header-actions),
.grooming-header > div:not(.grooming-header-orders) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.marketplace-header .market-kicker,
.grooming-header .grooming-eyebrow { display: none; }
.marketplace-header .market-header-actions,
.grooming-header .grooming-header-orders {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.my-orders-header > span { display: none; }

/* Admin subpage headings use the same title scale and return arrow while retaining their context labels. */
.admin-market-heading,
.admin-grooming-heading { position: relative; min-height: 58px; justify-content: center; }
.admin-market-heading > div,
.admin-grooming-heading > div { text-align: center; }
.admin-market-heading h1,
.admin-grooming-heading h1 {
  margin: 0;
  color: #171719;
  font: 700 27px/1.15 'Avenir Next';
  letter-spacing: -.6px;
}

/* Brand guide typography: Avenir Next is Furgo's primary font across every portal and page. */
/* Brand typography is restricted to Avenir Next Regular (400), Medium (500), Demi Bold (600), and Bold (700). */
*, *::before, *::after { font-family: 'Avenir Next' !important; }

/* Keep customer page headers centered in one shared viewport frame, independent of page gutters. */
.profile-heading,
.marketplace-header,
.grooming-header,
.my-orders-header {
  width: min(620px, calc(100vw - 48px));
  left: 50%;
  transform: translateX(-50%);
  margin: 27px 0 28px;
}

.profile-heading h1,
.marketplace-header h1,
.grooming-header h1,
.my-orders-header h1 {
  color: var(--ink);
  font-family: 'Avenir Next' !important;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.6px;
}

.marketplace-header .market-header-actions,
.grooming-header .grooming-header-orders {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.profile-heading .profile-back,
.marketplace-header .market-back,
.grooming-header .grooming-back,
.my-orders-header > a { color: var(--ink); }
.profile-heading h1,
.my-orders-header h1 { width: calc(100% - 84px); max-width: calc(100% - 84px); }

.marketplace-header > div:not(.market-header-actions),
.grooming-header > div:not(.grooming-header-orders) {
  inset: 0;
  transform: none;
  pointer-events: none;
}
.marketplace-header > div:not(.market-header-actions) h1,
.grooming-header > div:not(.grooming-header-orders) h1 { pointer-events: auto; }

/* Center the visible chevron on the shared header midpoint across customer and admin subpages. */
.profile-heading .profile-back::before,
.marketplace-header .market-back::before,
.grooming-header .grooming-back::before,
.my-orders-header > a::before,
.admin-market-heading > a[aria-label]::before,
.admin-grooming-heading > a::before {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Help Center public contact details and the matching Admin Portal editor. */
.help-contact-card { display: grid; gap: 12px; }
.help-contact-card h2 { margin: 0; }
.help-about-copy { margin: 0; color: var(--muted); line-height: 1.6; white-space: pre-line; }
.help-contact-card dl { display: grid; gap: 12px; margin: 0; }
.help-contact-card dl > div { display: grid; gap: 4px; }
.help-contact-card dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.help-contact-card dd { min-height: 1.5em; margin: 0; overflow-wrap: anywhere; }
.admin-help-details-form { display: grid; gap: 13px; }
.admin-help-details-form label { display: grid; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 600; }
.admin-help-details-form input,
.admin-help-details-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; font: 400 14px/1.5 'Avenir Next'; resize: vertical; }
.admin-help-details-form input:focus,
.admin-help-details-form textarea:focus { border-color: var(--orange); outline: 2px solid #fe780122; }
.admin-help-details-form [data-admin-help-details-feedback] { align-self: center; color: var(--green); font-size: 12px; font-weight: 500; }
.admin-help-content-panel .admin-market-form-actions { margin-top: 14px; }
.admin-help-details-view { display: grid; gap: 12px; margin: 0; }
.admin-help-details-view > div { display: grid; gap: 5px; padding: 12px; border-radius: 11px; background: #fff8f1; }
.admin-help-details-view dt { color: var(--muted); font-size: 11px; font-weight: 700; }
.admin-help-details-view dd { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-help-details-dialog { width: min(560px, calc(100% - 32px)); max-height: min(85vh, 760px); padding: 20px; border: 1px solid #f1dfd0; border-radius: 20px; color: var(--ink); background: #fffaf6; box-shadow: 0 22px 70px #2b170b38; }
.admin-help-details-dialog::backdrop { background: #21160f88; backdrop-filter: blur(3px); }
.admin-help-details-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.admin-help-details-dialog > header span { color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-help-details-dialog h2 { margin: 3px 0 0; font: 700 20px/1.3 'Avenir Next'; }
.admin-help-details-close { width: 38px; height: 38px; flex: 0 0 auto; border: 0; border-radius: 50%; color: var(--ink); background: #f5e8dd; font-size: 24px; cursor: pointer; }
.admin-help-details-dialog .admin-help-details-form { gap: 14px; }
.admin-help-details-dialog .admin-market-form-actions { justify-content: flex-end; }

/* Shared Admin navigation, restricted Executive shortcuts, and enquiry history. */
.admin-portal-stat-link.is-static { cursor: default; opacity: .72; }
.admin-restricted-button,
.admin-restricted-button:hover { width: 100%; min-height: 40px; border: 1px solid #d6d6d6; border-radius: 10px; color: #747474; background: #e7e7e7; cursor: pointer; }
.admin-restricted-button:focus-visible { outline: 3px solid #7777; outline-offset: 2px; }
.admin-restricted-dialog { width: min(420px, calc(100% - 32px)); padding: 0; border: 1px solid #f1dfd0; border-radius: 18px; color: var(--ink); background: #fffaf6; box-shadow: 0 18px 56px #38241233; }
.admin-restricted-dialog::backdrop { background: #21160f88; backdrop-filter: blur(3px); }
.admin-restricted-dialog > div { display: grid; justify-items: start; gap: 12px; padding: 22px; }
.admin-restricted-dialog h2 { margin: 0; font: 700 19px/1.3 'Avenir Next'; }
.admin-restricted-dialog p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.admin-enquiry-status { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.admin-enquiry-status.is-replied { color: #23623a; background: #e8f6ec; }
.admin-enquiry-status.is-pending { color: #8a5600; background: #fff1cf; }
.admin-enquiry-card .admin-enquiry-message { margin: 0; padding: 12px; border-radius: 11px; background: #fff8f1; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-enquiry-reply { margin-top: 12px; padding: 12px; border-left: 3px solid #50a16b; border-radius: 0 10px 10px 0; background: #f1faf3; }
.admin-enquiry-reply > header { align-items: center; margin: 0 0 8px; }
.admin-enquiry-reply > header strong { color: #23623a; font-size: 12px; }
.admin-enquiry-reply > p { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-enquiry-reply-form { display: grid; gap: 8px; margin-top: 14px; }
.admin-enquiry-reply-form > label { font-size: 12px; font-weight: 700; }
.admin-enquiry-reply-form textarea { width: 100%; min-height: 90px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; font: 400 13px/1.5 'Avenir Next'; resize: vertical; }
.admin-enquiry-reply-form > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-enquiry-reply-form [data-enquiry-reply-feedback] { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.admin-enquiry-reply-form button:disabled { cursor: wait; opacity: .65; }
.customer-enquiries-card { display: grid; gap: 10px; }
.customer-enquiries-card [data-customer-enquiries] { display: grid; gap: 10px; }
.customer-enquiries-card > p { margin: 0; color: var(--muted); }
.customer-enquiry-list { display: grid; gap: 10px; }
.customer-enquiry-entry { padding: 12px; border: 1px solid #f1e7df; border-radius: 12px; background: #fffdfa; }
.customer-enquiry-entry > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.customer-enquiry-entry > header strong { font-size: 13px; }
.customer-enquiry-entry > time,
.customer-enquiry-entry section > time { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.customer-enquiry-entry > p,
.customer-enquiry-entry section > p { margin: 8px 0 0; color: var(--ink); font-size: 12px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.customer-enquiry-entry section { margin-top: 10px; padding: 10px; border-left: 3px solid #50a16b; border-radius: 0 9px 9px 0; background: #f1faf3; }
.customer-enquiry-entry section > strong { color: #23623a; font-size: 11px; }
.customer-enquiries-card [data-customer-enquiries] > p { margin: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 380px) {
  .profile-heading h1,
  .marketplace-header h1,
  .grooming-header h1,
  .my-orders-header h1 { font-size: 20px; }
  .marketplace-header .market-header-actions { gap: 4px; }
  .marketplace-header .market-cart-link,
  .marketplace-header .market-favorites-link { width: 34px; }
  .marketplace-header .market-cart-link img,
  .marketplace-header .market-favorites-link img { width: 32px; height: 32px; }
}

/* Keep shared customer page controls on the same horizontal content rail. */
.marketplace-page .marketplace-header {
  width: min(1120px, 100%);
  left: auto;
  transform: none;
  margin-right: auto;
  margin-left: auto;
}
.marketplace-page:has(.market-pdp) .marketplace-header { width: min(960px, 100%); }
.marketplace-page:has(.market-orders-list) .marketplace-header { width: min(860px, 100%); }
.marketplace-page .market-search-wrap { width: min(1120px, 100%); }
.marketplace-page .market-search { width: 100%; max-width: none; }
.grooming-page .grooming-header { width: min(760px, 100%); left: auto; transform: none; margin-right: auto; margin-left: auto; }
.my-orders-page .my-orders-header { width: min(720px, 100%); left: auto; transform: none; margin-right: auto; margin-left: auto; }

/* Store shop banner follows the storefront content rail and carries the brand gradient. */
.market-seller-profile {
  width: min(1120px, 100%);
  border: none;
  outline: none;
  background: linear-gradient(90deg, #fedbbb 0%, transparent 100%);
  box-shadow: none;
}
.supplier-product-header-actions { display: flex; align-items: center; gap: 8px; }
.supplier-product-header-actions > .button {
  width: 120px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 10px;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .supplier-product-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplier-product-search { grid-column: 1 / -1; }
  .supplier-product-header-actions { width: 100%; margin-top: 10px; }
  .supplier-product-header-actions > .button { width: auto; min-width: 0; min-height: 44px; flex: 1 1 0; padding: 0 8px; }
}

@media (max-width: 680px) {
  .admin-search-analytics { padding: 17px; }
  .admin-search-analytics-heading { flex-direction: column; }
  .admin-search-analytics-heading label,
  .admin-search-analytics-heading select { width: 100%; }
  .admin-search-tables { grid-template-columns: 1fr; }
  .admin-search-clicked { overflow-x: auto; }
  .admin-search-clicked .admin-search-table { min-width: 360px; }
}

/* Customer Pet Taxi saved-address picker and highlighted payment panels. */
.pet-taxi-address-picker { display: grid; gap: 11px; }
.pet-taxi-address-editor { display: grid; gap: 11px; padding: 13px; border: 1px solid #f2dfce; border-radius: 14px; background: #fffaf5; }
.pet-taxi-address-editor[hidden] { display: none; }
.pet-taxi-address-note, .pet-taxi-address-saved { margin: 0; color: #746d69; font-size: 11px; line-height: 1.5; }
.pet-taxi-address-saved:not(:empty) { color: #247448; font-weight: 700; }
.grooming-section.grooming-payment-section { border-color: #f47708; background: #f47708; color: #fff; }
.grooming-payment-section .grooming-section-heading h2,
.grooming-payment-section .grooming-section-heading p,
.grooming-payment-section .grooming-prototype-note,
.grooming-payment-section .grooming-voucher-feedback,
.grooming-payment-section .hotel-voucher-feedback { color: #fff; }
.grooming-payment-section .grooming-field { color: #fff; }
.grooming-payment-section .grooming-section-heading > span { background: #ff9b3e; color: #fff; }
.grooming-payment-section .grooming-booking-summary,
.grooming-payment-section .hotel-booking-summary { color: #302d2a; }
.grooming-payment-section .button-primary { border-color: #fff; background: #fff; color: #e96800; }
.grooming-payment-section .grooming-transfer-slip,
.grooming-payment-section .hotel-transfer-upload,
.grooming-payment-section .daycare-transfer { color: #fff; }
.grooming-payment-section .grooming-payment-options label,
.grooming-payment-section .grooming-payment-options label strong,
.grooming-payment-section .hotel-payment-options > label,
.grooming-payment-section .hotel-payment-options > label strong { color: #29272c; }
.grooming-payment-section .grooming-payment-options label small,
.grooming-payment-section .hotel-payment-options > label small { color: #746d69; }
.grooming-section [data-grooming-taxi-fields]:not([hidden]) { margin: 15px 0 13px; }
.hotel-taxi-fields:not([hidden]), .daycare-taxi-fields:not([hidden]) { margin-top: 15px; }

/* Responsive promotion banners align with the booking form on all service pages. */
.service-promo-banners { position: relative; width: min(100%, 760px); height: clamp(112px, 19vw, 168px); margin: 0 auto 15px; overflow: hidden; border-radius: 16px; background: #fff2e6; }
.service-promo-banner-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.service-promo-banner-track::-webkit-scrollbar { display: none; }
.service-promo-banner { position: relative; flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; }
.service-promo-banner picture, .service-promo-banner img { display: block; width: 100%; height: 100%; }
.service-promo-banner img { object-fit: cover; }
.service-promo-banner-caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 20px 15px 13px; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / 58%)); font-weight: 700; }
.service-promo-banner-arrow { position: absolute; top: 50%; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; color: #29272c; background: rgb(255 255 255 / 88%); font-size: 25px; cursor: pointer; }
.service-promo-banner-arrow.is-previous { left: 10px; }
.service-promo-banner-arrow.is-next { right: 10px; }
.service-promo-banner-dots { position: absolute; right: 0; bottom: 8px; left: 0; display: flex; justify-content: center; gap: 6px; }
.service-promo-banner-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 62%); }
.service-promo-banner-dots button[aria-current="true"] { background: #f47708; box-shadow: 0 0 0 2px #fff; }
.admin-service-banner-intro { max-width: 760px; margin: 0 auto 16px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.admin-service-banner-size-guide { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; color: #625953; background: #fff5ec; font-size: 11px; line-height: 1.5; }
.admin-service-banner-panel { max-width: 900px; margin-right: auto; margin-left: auto; }
.admin-service-banner-list { display: grid; gap: 12px; }
.admin-service-banner-item { min-width: 0; padding: 14px; border: 1px solid #f1dfd0; border-radius: 14px; background: #fffaf6; }
.admin-service-banner-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.admin-service-banner-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-service-banner-fields label { display: grid; gap: 5px; min-width: 0; color: #403b39; font-size: 11px; font-weight: 700; }
.admin-service-banner-fields input { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #e8dfd8; border-radius: 9px; background: #fff; color: #29272c; font: inherit; font-weight: 500; }
.admin-service-banner-fields small { color: #817a75; font-size: 9px; font-weight: 500; line-height: 1.45; }
.admin-service-banner-preview { grid-column: 1 / -1; width: 100%; max-height: 130px; border-radius: 10px; object-fit: cover; }
.admin-service-banner-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.admin-service-banner-actions .button { min-height: 40px; }

/* Use the Pet Local Finder chevron treatment for page-header back controls site-wide. */
.local-finder-header > a,
.profile-heading .profile-back,
.marketplace-header .market-back,
.grooming-header .grooming-back,
.my-orders-header > a,
.search-page-header .search-back,
.admin-market-heading > a[aria-label],
.admin-market-heading > button[aria-label],
.admin-grooming-heading > a,
.admin-promotions-heading > a {
  width: 42px;
  height: 48px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #171719;
  background: transparent;
  font: 400 42px/1 'Avenir Next';
  text-decoration: none;
}
.profile-heading .profile-back::before,
.marketplace-header .market-back::before,
.grooming-header .grooming-back::before,
.my-orders-header > a::before,
.admin-market-heading > a[aria-label]::before,
.admin-market-heading > button[aria-label]::before,
.admin-grooming-heading > a::before,
.supplier-admin-style-page > .admin-market-heading > button[aria-label]::before { content: none; display: none; }

@media (max-width: 640px) {
  .service-promo-banners { width: min(100%, 760px); height: clamp(96px, 31vw, 138px); margin-bottom: 13px; border-radius: 13px; }
  .service-promo-banner-arrow { width: 30px; height: 30px; }
  .admin-service-banner-fields { grid-template-columns: minmax(0, 1fr); }
  .admin-service-banner-preview { grid-column: 1; }
  .admin-promo-previews { grid-template-columns: minmax(0, 1fr); }
}
.admin-outlet-readonly { display: grid; grid-column: 1 / -1; gap: 0.35rem; padding: 0.9rem 1rem; border: 1px solid #f0dfd2; border-radius: 1rem; background: #fffaf6; color: #28272b; }
.admin-outlet-readonly strong { font-size: 0.9rem; }
.admin-outlet-readonly span { color: #635c58; overflow-wrap: anywhere; }
.admin-outlet-readonly small { color: #8a817b; font-size: 0.78rem; }

/* Keep entered values and placeholder text regular weight across Admin Portal forms. */
.admin-portal-page form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]),
.admin-portal-page form select,
.admin-portal-page form textarea,
.admin-portal-page form input::placeholder,
.admin-portal-page form textarea::placeholder { font-weight: 400; }

@media (max-width: 600px) {
  .market-header-actions { gap: 7px; }
  .market-subscriptions-link { min-height: 38px; gap: 6px; padding: 0 12px; font-size: 11px; }
  .market-subscriptions-link img { width: 18px; height: 18px; }
  .marketplace-header-centered { position: relative; display: block; min-height: 58px; }
  .marketplace-header-centered .market-back,
  .marketplace-header-centered .market-header-actions { position: absolute; top: 50%; transform: translateY(-50%); }
  .marketplace-header-centered .market-back { left: 0; width: 32px; }
  .marketplace-header-centered h1 { position: absolute; top: 50%; left: 50%; width: calc(100% - 220px); max-width: calc(100% - 220px); min-width: 0; transform: translate(-50%, -50%); font-size: 19px; text-align: center; }
  .marketplace-header-centered .market-header-actions { right: 0; gap: 4px; }
  .market-subscription-item { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .market-subscription-image { width: 96px; border-radius: 10px; font-size: 30px; }
  .market-subscription-item-copy h2, .market-subscription-item-copy h3 { font-size: 14px; }
  .market-subscription-item-copy > p { font-size: 10px; }
  .market-subscription-cart-section, .market-subscription-active-section { padding: 13px; }
  .market-subscription-section-heading h2 { font-size: 17px; }
  .market-subscription-controls { display: grid; grid-template-columns: minmax(0, 132px) 56px 34px; gap: 7px; }
  .market-subscription-schedule-fields { grid-template-columns: minmax(0, 1fr) 88px; gap: 7px; width: 100%; }
  .market-subscription-address { grid-column: 1 / -1; }
  .market-subscription-address-select { width: 100%; }
  .market-subscription-controls select { width: 100%; min-width: 0; padding-inline: 6px; font-size: 10px; }
  .market-subscription-controls input { width: 56px; min-width: 0; padding-inline: 5px; }
  .market-subscription-remove { width: 34px; min-height: 38px; }
  .market-subscription-actions { grid-column: 1 / -1; justify-self: end; }
  .market-subscription-confirm { min-height: 42px; padding-inline: 19px; font-size: 12px; }
  .market-subscribe-product { min-height: 36px; gap: 6px; padding-inline: 10px; font-size: 10px; }
  .market-subscribe-product img { width: 16px; height: 16px; }
}

@media (max-width: 520px) {
  .marketplace-header-centered { min-height: 58px; }
  .marketplace-header-centered .market-back { top: 50%; transform: translateY(-50%); }
  .marketplace-header-centered h1 { top: 50%; width: calc(100% - 150px); max-width: calc(100% - 150px); transform: translate(-50%, -50%); }
  .marketplace-header-centered .market-header-actions { top: 50%; right: 0; display: flex; gap: 8px; transform: translateY(-50%); }
}

@media (max-width: 400px) {
  .marketplace-header-centered h1 { width: calc(100% - 180px); max-width: calc(100% - 180px); }
}

/* Subscription cards prioritize the product and right-aligned action on mobile/tablet. */
@media (max-width: 900px) {
  .market-subscription-item { grid-template-columns: 128px minmax(0, 1fr); gap: 12px; }
  .market-subscription-image { width: 128px; }
  .market-subscription-controls { grid-template-columns: minmax(0, 1fr) 52px 32px; column-gap: 5px; }
  .market-subscription-item.is-active .market-subscription-controls { display: grid; grid-template-columns: 145px 48px minmax(0, 1fr); justify-content: start; column-gap: 8px; row-gap: 8px; }
  .market-subscription-item.is-active .market-subscription-address { grid-column: 1 / -1; }
  .market-subscription-item.is-active .market-subscription-frequency { flex: initial; }
  .market-subscription-item.is-active .market-subscription-quantity { flex: initial; }
  .market-subscription-item.is-active .market-subscription-secondary-row { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 10px; min-width: 0; }
  .market-subscription-item.is-active .market-subscription-next-delivery { flex: 1 1 auto; min-width: 0; }
  .market-subscription-item.is-active .market-subscription-frequency { grid-column: 1; }
  .market-subscription-item.is-active .market-subscription-quantity { grid-column: 2; }
  .market-subscription-item.is-active .market-subscription-next-delivery { grid-column: 1 / -1; min-width: 0; }
  .market-subscription-item.is-active .market-subscription-secondary-row .market-subscription-actions { grid-column: auto; justify-self: auto; align-self: end; justify-content: flex-end; flex: 0 0 auto; margin-left: auto; }
  .market-subscription-controls select { width: 100%; max-width: none; min-width: 0; padding-inline: 5px; font-size: 10px; }
  .market-subscription-item.is-active .market-subscription-frequency select { width: 145px; min-width: 0; max-width: 100%; padding-inline: 8px; font-size: 11px; }
  .market-subscription-item.is-active .market-subscription-value strong { font-size: 12px; }
  .market-subscription-item.is-active .market-subscription-next-delivery strong { font-size: 11px; }
  .market-subscription-controls input { width: 52px; min-width: 0; padding-inline: 4px; }
  .market-subscription-item.is-active .market-subscription-controls input { width: 48px; }
  .market-subscription-remove { width: 32px; }
  .market-subscription-remove-active { min-height: 30px; padding-inline: 8px; font-size: 9px; }
  .market-subscription-actions { grid-column: 1 / -1; justify-self: end; }
}

@media (max-width: 480px) {
  .market-subscription-item { grid-template-columns: 112px minmax(0, 1fr); gap: 9px; padding: 9px; }
  .market-subscription-image { width: 112px; }
  .market-subscription-controls { grid-template-columns: minmax(0, 1fr) 48px 30px; column-gap: 4px; }
  .market-subscription-item.is-active .market-subscription-controls { grid-template-columns: minmax(0, 145px) 44px minmax(0, 1fr); column-gap: 8px; }
  .market-subscription-controls input { width: 48px; }
  .market-subscription-item.is-active .market-subscription-controls input { width: 44px; }
  .market-subscription-remove { width: 30px; }
  .market-subscription-item-heading { gap: 5px; }
  .market-subscription-remove-active { padding-inline: 6px; font-size: 8px; }
}

@media (max-width: 360px) {
  .market-subscription-item { grid-template-columns: 82px minmax(0, 1fr); }
  .market-subscription-image { width: 82px; }
  .market-subscription-controls { grid-template-columns: minmax(0, 1fr) 44px 28px; }
  .market-subscription-item.is-active .market-subscription-controls { grid-template-columns: minmax(0, 116px) 40px minmax(0, 1fr); column-gap: 7px; }
  .market-subscription-controls input { width: 44px; }
  .market-subscription-item.is-active .market-subscription-controls input { width: 40px; }
  .market-subscription-remove { width: 28px; }
}

/* Keep the Marketplace title and actions on one header row; pair search with Subscription. */
.marketplace-header-centered .market-header-actions { gap: 8px; }
.marketplace-page .market-search-wrap { display: flex; align-items: center; gap: 6px; }
.marketplace-page .market-search { flex: 1 1 auto; width: auto; min-width: 0; height: 56px; margin: 18px 0 16px; }
.market-search-subscription-link { height: 56px; min-height: 56px; flex: 0 0 auto; padding-inline: 16px; font-size: 12px; }

@media (max-width: 520px) {
  .market-search-subscription-link { padding-inline: 12px; font-size: 11px; }
  .market-search-subscription-link img { width: 18px; height: 18px; }
  .market-search .search-hint { display: none; }
}

/* Marketplace action buttons: icon first, with the search field's soft shadow. */
.market-search-subscription-link {
  flex-direction: row;
  box-shadow: 0 3px 4px rgba(164, 68, 12, 0.3);
}
.marketplace-page .market-search { margin-block: 0; box-shadow: none; }
.market-pdp-actions { flex-wrap: wrap; }
.market-pdp-actions .market-favorite-action {
  width: auto;
  min-height: 36px;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  color: var(--orange-dark);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.market-pdp-actions .market-favorite-action img { width: 19px; height: 19px; }

@media (max-width: 600px) {
  .market-pdp-title-row { flex-wrap: wrap; }
  .market-pdp-actions { width: 100%; justify-content: flex-start; }
}

/* Shared mobile page gutter: keep each page's content on the same responsive rails. */
:root { --mobile-content-gutter: 16px; }
@media (max-width: 680px) {
  .pet-avatar-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pet-avatar-choice { min-height: 132px; gap: 5px; padding: 7px 3px; }
  .pet-avatar-choice img { width: 92px; height: 92px; }
  .pet-avatar-choice span { font-size: 9px; }
  .pet-avatar-page { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  .pet-avatar-actions {
    width: min(100%, 760px);
    position: static;
    z-index: auto;
    bottom: auto;
    left: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin: 0 auto 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }
  .pet-avatar-actions .button { min-height: 44px; padding: 6px 8px; border-radius: 13px; font-size: 11px; line-height: 1.2; }
  .site-header,
  .site-footer,
  .auth-footer {
    width: calc(100% - 2 * var(--mobile-content-gutter));
  }

  .profile-page,
  .pet-profile-page,
  .admin-portal-page,
  .marketplace-page:not(.marketplace-product-detail-page),
  .supplier-portal-page,
  .admin-promotions-page,
  .grooming-page,
  .my-orders-page,
  .check-in-page {
    padding-right: var(--mobile-content-gutter);
    padding-left: var(--mobile-content-gutter);
  }

  .auth-shell {
    width: calc(100% - 2 * var(--mobile-content-gutter));
    padding-right: 0;
    padding-left: 0;
  }

  .search-page-content {
    width: calc(100% - 2 * var(--mobile-content-gutter));
    padding-right: 0;
    padding-left: 0;
  }

  .search-page-header {
    padding-right: var(--mobile-content-gutter);
    padding-left: var(--mobile-content-gutter);
  }

  .home-orange {
    padding-right: var(--mobile-content-gutter);
    padding-left: var(--mobile-content-gutter);
  }

  .home-topline,
  .mobile-home > .home-orange > .home-search,
  .credit-row,
  .service-shortcuts {
    margin-right: 0;
    margin-left: 0;
  }

  .home-content {
    padding-right: var(--mobile-content-gutter);
    padding-left: var(--mobile-content-gutter);
  }

  .local-finder-page:not(.local-finder-place-page) > .local-finder-header,
  .local-finder-place-page > .local-finder-header,
  .local-finder-content {
    width: calc(100% - 2 * var(--mobile-content-gutter));
    padding-right: 0;
    padding-left: 0;
  }

  .local-finder-list-page .local-finder-header,
  .local-finder-list-content {
    padding-right: 0;
    padding-left: 0;
  }

  .local-finder-place-detail {
    width: 100%;
  }

  .local-finder-detail-summary,
  .local-finder-detail-contact,
  .local-finder-detail-facts,
  .local-finder-detail-actions,
  .local-finder-reviews {
    padding-right: var(--mobile-content-gutter);
    padding-left: var(--mobile-content-gutter);
  }

  .marketplace-product-detail-page .market-pdp-copy {
    padding-right: var(--mobile-content-gutter);
    padding-left: var(--mobile-content-gutter);
  }
}
/* Marketplace product details use a full-bleed image with floating controls and a purchase dock. */
.marketplace-product-detail-page {
  padding: 0 0 calc(88px + env(safe-area-inset-bottom));
}
.market-pdp-desktop-header { display: none; }
.marketplace-product-detail-page .market-pdp {
  width: min(100%, 960px);
  gap: 0;
}
.market-pdp-visual { border-radius: 0; }
.market-pdp-overlay-control {
  width: 44px;
  height: 44px;
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #ffffff85;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 250, 246, 0.72);
  backdrop-filter: blur(5px);
  text-decoration: none;
  cursor: pointer;
}
.market-pdp-back { top: 14px; left: 14px; font: 400 38px/1 'Avenir Next'; }
.market-pdp-overlay-actions { position: absolute; z-index: 3; top: 14px; right: 14px; display: flex; gap: 10px; }
.market-pdp-overlay-actions .market-pdp-overlay-control { position: relative; top: auto; right: auto; left: auto; }
.market-pdp-overlay-control img { width: 25px; height: 25px; object-fit: contain; }
.market-pdp-overlay-cart b { min-width: 17px; height: 17px; position: absolute; top: -2px; right: -3px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-size: 9px; }
.market-pdp-copy { padding: 18px 18px 26px; }
.market-pdp-copy > h1 { margin: 5px 0 8px; font: 700 25px/1.2 'Avenir Next'; letter-spacing: -.7px; }
.market-pdp-copy .market-pdp-price { margin-top: 8px; }
.market-pdp-copy .market-supplier-profile { margin: 14px 0; }
.market-pdp-copy > .market-subscribe-product { margin: 0 0 15px; }
.market-pdp-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 15px; }
.market-pdp-detail-actions .market-subscribe-product { margin: 0; }
.market-pdp-inline-favorite {
  width: auto;
  height: 36px;
  min-height: 36px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fff1e5;
  font: 700 11px 'Avenir Next';
  white-space: nowrap;
}
.market-pdp-inline-favorite img { width: 19px; height: 19px; object-fit: contain; }
.market-pdp-purchase-bar {
  width: 100%;
  min-height: 49px;
  position: fixed;
  z-index: 1001;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(80px, .8fr) minmax(100px, 1fr) minmax(110px, 1.2fr);
  align-items: stretch;
  gap: 0;
  padding: 0 0 env(safe-area-inset-bottom);
  border-top: 1px solid #f0e5dc;
  background: #fff;
  box-shadow: 0 -3px 4px rgba(68, 39, 19, 0.12);
}
.market-pdp-purchase-bar > * { min-width: 0; min-height: 49px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font: 700 12px 'Avenir Next'; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; }
.market-pdp-chat { flex-direction: column; gap: 2px; border: 0; border-right: 1.5px solid #e9ddd4; border-radius: 0; color: var(--ink); background: transparent; font-size: 10px !important; }
.market-pdp-chat img { width: 19px; height: 19px; object-fit: contain; }
.market-pdp-add-cart { flex-direction: column; gap: 1px; border: 0; color: var(--orange-dark); background: transparent; font-size: 10px !important; }
.market-pdp-purchase-bar > .market-pdp-add-cart { border-radius: 0; }
.market-pdp-add-cart img { width: 20px; height: 20px; object-fit: contain; }
.market-pdp-buy-now { border: 0; border-radius: 0; color: #fff; background: var(--orange); font-size: 15px !important; }
.market-pdp-purchase-bar button:disabled { opacity: .5; cursor: not-allowed; }

@media (min-width: 680px) {
  .marketplace-product-detail-page { padding: 22px 34px calc(88px + env(safe-area-inset-bottom)); }
  .marketplace-product-detail-page .market-pdp-desktop-header { width: min(960px, 100%); min-height: 58px; display: flex; justify-content: space-between; margin: 0 auto 12px; }
  .marketplace-product-detail-page .market-pdp-overlay-control,
  .marketplace-product-detail-page .market-pdp-overlay-actions { display: none; }
  .marketplace-product-detail-page .market-pdp { gap: 24px; padding: 12px 18px 24px; }
  .marketplace-product-detail-page .market-pdp-visual { border-radius: 22px; }
  .marketplace-product-detail-page .market-pdp-copy { padding: 8px 0; }
  .marketplace-product-detail-page .market-pdp-option-carousel { padding-inline: 0; }
  .market-pdp-purchase-bar { width: min(100%, 720px); right: 50%; bottom: 14px; left: auto; transform: translateX(50%); padding: 0; border: 1px solid #f0e5dc; border-radius: 16px; box-shadow: 0 5px 20px #39200f1a; overflow: hidden; }
  .market-pdp-buy-now { border-radius: 0; }
}

@media (max-width: 679px) {
  .marketplace-product-detail-page .market-pdp-option-carousel { padding-inline: var(--mobile-content-gutter, 16px); }
}

@media (max-width: 380px) {
  .market-pdp-purchase-bar { grid-template-columns: 68px minmax(88px, 1fr) minmax(94px, 1fr); gap: 5px; padding-right: 8px; padding-left: 8px; }
  .market-pdp-purchase-bar > * { font-size: 10px; }
}

@media (max-width: 420px) {
  .pet-avatar-choice { min-height: 120px; }
  .pet-avatar-choice img { width: 80px; height: 80px; }
  .pet-avatar-choice span { font-size: 7px; }
}

/* Customer home refinements: preserve the established section geometry. */
.mobile-home .home-topline .notification-button,
.mobile-home .home-topline .portal-notification-details > summary.notification-button { border: 0; border-radius: 18px; color: #333; background: #fff; box-shadow: 0 5px 16px #8b390b28; }
.mobile-home .home-topline .notification-button img { filter: none; }
.mobile-home .home-topline .portal-notification-details > summary.notification-button { position: relative; }

/* Pet avatar library is split into independent horizontal carousels. */
.pet-avatar-library { width: min(100%, 900px); display: grid; gap: 24px; margin: 0 auto 24px; }
.pet-avatar-library-section { min-width: 0; }
.pet-avatar-library-section > h2 { margin: 0 0 10px; color: var(--ink); font: 700 20px/1.25 'Avenir Next', sans-serif; }
.pet-avatar-library-section .pet-avatar-create-cta { width: 100%; min-height: 48px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; margin-top: 8px; }
.pet-avatar-carousel-wrap { min-width: 0; position: relative; }
.pet-avatar-carousel-arrow { width: 34px; height: 34px; position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; padding: 0 0 3px; transform: translateY(-50%); border: 1px solid #f4ddcd; border-radius: 50%; color: #d95f00; background: #ffffffed; box-shadow: 0 2px 7px #743b171c; font: 500 28px/1 'Avenir Next', sans-serif; cursor: pointer; }
.pet-avatar-carousel-arrow[data-avatar-scroll="prev"] { left: 5px; }
.pet-avatar-carousel-arrow[data-avatar-scroll="next"] { right: 5px; }
.pet-avatar-carousel-arrow:disabled { opacity: .42; cursor: default; }
.pet-avatar-carousel { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 3px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #f2b17c transparent; }
.pet-avatar-carousel > .pet-avatar-choice { flex: 0 0 142px; min-height: 150px; scroll-snap-align: start; }
.pet-avatar-empty { min-height: 0; display: block; margin: 0; padding: 0; border: 0; border-radius: 0; color: var(--muted); background: transparent; font-size: 14px; }
@media (max-width: 680px) {
  .pet-avatar-library { gap: 18px; }
  .pet-avatar-library-section > h2 { margin-bottom: 8px; font-size: 17px; }
  .pet-avatar-carousel-arrow { width: 28px; height: 28px; font-size: 24px; }
  .pet-avatar-carousel-arrow[data-avatar-scroll="prev"] { left: 4px; }
  .pet-avatar-carousel-arrow[data-avatar-scroll="next"] { right: 4px; }
  .pet-avatar-carousel { gap: 8px; padding: 3px 2px 10px; }
  .pet-avatar-carousel > .pet-avatar-choice { flex-basis: 112px; min-height: 124px; }
  .pet-avatar-carousel .pet-avatar-choice img { width: 82px; height: 82px; }
  .pet-avatar-carousel .pet-avatar-choice span { font-size: 9px; }
  .pet-avatar-empty { font-size: 12px; }
}
.mobile-home .home-topline .portal-notification-details > summary.notification-button b { z-index: 1; border-color: #fff; background: #ff7900; }
.home-pet-assistant-bubble { width: 58%; height: 92px; top: 18px; padding: 12px 14px; border: 2px solid #fff; border-radius: 24px; grid-template-columns: minmax(0, 1fr) 16px; align-items: center; gap: 9px; color: #29272c; background: linear-gradient(145deg, #fffaf4 0%, #ffe9d6 100%); box-shadow: none; }
.home-pet-assistant-copy { min-width: 0; display: grid; gap: 3px; }
.home-pet-assistant-name { color: #e86800; font-size: 17px; }
.home-pet-assistant-bubble [data-assistant-bubble-text] { color: #29272c; font-size: 14px; font-weight: 500; line-height: 1.28; }
.home-pet-assistant-arrow { color: #29272c; font-size: 29px; font-weight: 500; line-height: 1; }
.home-pet-assistant-bubble::before { left: -13px; border-top-width: 11px; border-right-width: 14px; border-bottom-width: 11px; border-right-color: #fffaf4; filter: none; }

/* Customer home page background artwork. */
.mobile-home {
  position: relative;
  isolation: isolate;
  background-color: #fff7ef;
  background-image: linear-gradient(to bottom, #fff3e8 0, #fff7ef 800px, #fff7ef 100%);
}
.mobile-home::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(to bottom, transparent 72%, #fff7ef 100%), url("Image/Other%20Image/Furgo_Desktop_1920x1080.png") center top / 100% 100% no-repeat;
  pointer-events: none;
}
@media (max-width: 679px) {
  .mobile-home::before {
    aspect-ratio: 9 / 16;
    background-image: linear-gradient(to bottom, transparent 76%, #fff7ef 100%), url("Image/Other%20Image/Furgo_Mobile_1080x1920.png");
  }
}

.mobile-home > .home-orange { background: transparent; }
.mobile-home .home-content::before { background: transparent; }
.credit-card { isolation: isolate; overflow: hidden; background: linear-gradient(115deg, #ff9c28 0%, #ff7200 100%); }
.credit-card::before {
  content: '';
  width: 42%;
  aspect-ratio: 1;
  position: absolute;
  z-index: 0;
  right: auto;
  bottom: -7%;
  left: 5%;
  transform: rotate(10deg);
  background: url("Image/Other%20Image/Paw.png") center / contain no-repeat;
  opacity: .22;
  pointer-events: none;
}
.credit-label, .credit-balance-row { position: relative; z-index: 1; }
.credit-row { height: calc(136px + 28.2vw); min-height: calc(136px + 28.2vw); }
.home-pet-assistant-shortcut { width: 44%; z-index: auto; left: 22%; pointer-events: auto; }
.home-pet-assistant-shortcut > .home-pet-art { width: 135%; top: -14%; left: -17.5%; z-index: 3; pointer-events: none; }
.home-balance-cards { width: 100%; aspect-ratio: 3.55 / 1; height: auto; position: absolute; z-index: 2; top: 128px; right: 0; display: grid; grid-template-columns: minmax(0, 1fr) 28.2%; gap: 8px; container-type: inline-size; }
.home-balance-cards > .home-balance-card { width: 100%; min-width: 0; height: 100%; min-height: 0; position: relative; inset: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 4px; overflow: hidden; transform: none; padding: 12px 13px; border: 3px solid #fff; border-radius: 23px; }
.token-card { container-type: normal; color: #fff; background: linear-gradient(115deg, #ff9c28 0%, #ff7200 100%); box-shadow: 0 15px 24px #71310f40, 0 4px 10px #71310f24; text-decoration: none; }
.home-token-art { width: 20%; max-width: 140px; height: auto; position: absolute; z-index: 4; top: 50%; left: 49%; transform: translate(-50%, -50%); object-fit: contain; filter: drop-shadow(0 7px 7px #5c260d38); }
.home-token-copy { min-width: 0; position: absolute; z-index: 4; top: 50%; right: 12px; left: 61%; display: grid; gap: 4px; transform: translateY(-50%); color: #fff; }
.home-pet-mascot-arrows { width: max-content; height: auto; position: absolute; z-index: 16; right: auto; bottom: 6px; left: 0; display: flex; align-items: center; justify-content: center; padding: 0; pointer-events: none; }
.home-pet-mascot-swipe-hint { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 11px; border: 1px solid rgba(255, 255, 255, .82); border-radius: 18px; color: #d85f00; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 22px rgba(104, 52, 19, .15), 0 2px 6px rgba(104, 52, 19, .08); font: 600 12px/1.2 'Avenir Next', sans-serif; white-space: nowrap; cursor: pointer; pointer-events: auto; transform: scale(.72); transform-origin: center; animation: home-pet-swipe-hint-slide 2.4s ease-in-out infinite; }
@keyframes home-pet-swipe-hint-slide { 0%, 100% { translate: -4px 0; } 50% { translate: 4px 0; } }
.home-pet-swipe-preview { z-index: 4 !important; opacity: 1 !important; }
@media (max-width: 679px) {
  .home-pet-mascot-arrows {
    left: calc(clamp(-60px, -14vw, -42px) - 16px + 18.9525vw + 68.229px);
    transform: translateX(-50%);
  }
}
.home-balance-label { display: block; overflow: hidden; font-size: clamp(10px, 5.5cqw, 18px); line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.token-card strong { width: 100%; display: block; overflow: hidden; color: #fff; font: 800 clamp(28px, 16cqw, 76px)/.98 'Avenir Next'; letter-spacing: -.04em; white-space: nowrap; }
.home-balance-cards .credit-card { container-type: inline-size; padding: 13px 12px 12px; border-radius: 23px; box-shadow: 0 15px 24px #79300040, 0 4px 10px #4d250026; }
.home-balance-cards .credit-label { display: block; width: 100%; overflow: hidden; font-size: clamp(9px, 3vw, 16px); line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.home-balance-cards .credit-balance-row { width: 100%; display: block; position: static; }
.home-balance-cards .credit-card strong { width: 100%; position: relative; z-index: 1; display: block; overflow: hidden; font-size: clamp(20px, 7vw, 54px); letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.home-balance-cards .credit-currency { position: relative; z-index: 1; display: block; margin-top: 2px; color: #fff; font-size: clamp(12px, 4vw, 18px); font-weight: 700; line-height: 1; }
.home-balance-cards .wallet-mark { width: 26px; height: 26px; position: absolute; right: 11px; bottom: 10px; z-index: 1; }
.token-balance-card { width: min(100%, 620px); display: grid; gap: 8px; margin: 0 auto 18px; padding: 16px 24px; border: 2px solid #fff; border-radius: 22px; color: #fff; background: linear-gradient(115deg, #ff9c28, #ff7200); box-shadow: 0 7px 15px #bc5a1b26, inset 0 3px 8px #a4471633, inset 0 -3px 7px #fff4; }
.token-balance-summary { min-width: 0; display: flex; align-items: center; gap: 16px; }
.token-balance-summary > img { width: clamp(64px, 20vw, 104px); height: clamp(64px, 20vw, 104px); flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 5px 4px #723b2025); }
.token-balance-summary > div { min-width: 0; display: grid; gap: 2px; }
.token-balance-summary span { font-size: 15px; }
.token-balance-summary strong { display: block; margin-block: -1px; font: 800 calc(33.6px + 5.2pt)/.95 'Avenir Next'; }
.token-balance-summary strong > span { font-size: inherit; }
.token-balance-summary strong small { font-size: .5em; }
.token-streak-timeline { display: grid; gap: 13px; margin-top: 8px; padding: 15px 14px 12px; border: 1px solid #ffffff8c; border-radius: 16px; background: #ffffff24; }
.token-streak-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.token-streak-heading strong { font-size: 14px; }
.token-streak-heading > span { color: #fff; font-size: 10px; text-align: right; }
.token-streak-timeline ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.token-streak-day { min-width: 0; display: grid; justify-items: center; align-content: center; gap: 5px; padding: 7px 2px; overflow: hidden; border: 1px solid #ffffff80; border-radius: 9px; color: #fff; background: #ffffff12; font-size: 8px; white-space: nowrap; }
.token-streak-reward { display: inline-flex; align-items: center; justify-content: center; gap: 2px; color: #fff; font-size: 8px; font-weight: 700; line-height: 1; animation: token-reward-pulse 1.8s ease-in-out infinite; }
.token-streak-reward img { width: 11px; height: 11px; object-fit: contain; animation: token-reward-glow 1.8s ease-in-out infinite; }
@keyframes token-reward-pulse { 0%, 100% { opacity: .62; transform: scale(.94); text-shadow: 0 0 0 #ffe18c00; } 45%, 60% { opacity: 1; transform: scale(1.12); text-shadow: 0 0 5px #ffe18c; } }
@keyframes token-reward-glow { 0%, 100% { filter: brightness(.88) drop-shadow(0 0 0 #ffd36a00); transform: scale(.94) rotate(-5deg); } 45%, 60% { filter: brightness(1.3) drop-shadow(0 0 5px #ffe18c); transform: scale(1.2) rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .token-streak-reward, .token-streak-reward img { animation: none; } }
.token-streak-marker { width: 23px; height: 23px; display: grid; place-items: center; border: 1.5px solid #ffffffa8; border-radius: 50%; color: #fff; background: #ff831d; font-size: 10px; font-weight: 800; }
.token-streak-marker img { width: 16px; height: 16px; object-fit: contain; }
.token-streak-day.is-complete { border-color: #fff; color: #fff; background: #ffffff28; }
.token-streak-day.is-complete .token-streak-marker { border-color: #fff; background: #fff; }
.token-streak-day.is-current { border-color: #fff; background: #ffffff36; }
.token-streak-day.is-current .token-streak-marker { border-color: #fff; box-shadow: 0 0 0 3px #ffffff38; }
.token-streak-checkin-button { width: 100%; min-height: 42px; margin-top: 3px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.95); border-radius: 20px; color: #df6500; background: linear-gradient(145deg, #fff 0%, #fffdfb 66%, #fff8f1 100%); box-shadow: 0 12px 20px #71310f24, 0 4px 8px #ce580040, inset 0 2px 0 #fff, inset 0 -3px 6px #8a3b1410; font: 800 14px/1.2 'Avenir Next', sans-serif; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.token-streak-checkin-button:not(:disabled):active { transform: translateY(2px); box-shadow: 0 6px 12px #71310f24, 0 2px 5px #ce580040, inset 0 2px 0 #fff, inset 0 -2px 4px #8a3b1410; }
.token-streak-checkin-button:disabled { color: #df6500; cursor: default; opacity: .9; }
.token-balance-card p { margin: 0; font-size: 12px; line-height: 1.5; }
.token-last-checkin { margin: 0; color: #fff; font-size: 11px; line-height: 1.4; text-align: center; }
.token-info-section { width: min(100%, 620px); padding: 20px; border-color: #fff; border-radius: 20px; background: linear-gradient(155deg, #fff 0%, #fffaf6 100%); box-shadow: 0 8px 0 #f0d8c5, 0 12px 20px #6c3c1d18, inset 0 3px 7px #8a4c2414, inset 0 -3px 6px #fff; }
.token-info-section > h2 { margin: 0 0 14px; font: 700 18px/1.3 'Avenir Next'; }
.token-info-list { display: grid; gap: 10px; }
.token-info-item { min-width: 0; display: flex; align-items: flex-start; gap: 11px; padding: 12px; border: 1px solid #f4e4d7; border-radius: 14px; background: #fffaf6; }
.token-info-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: #ff8218; font-size: 17px; font-weight: 800; }
.token-info-item h3 { margin: 0 0 3px; font: 700 14px/1.3 'Avenir Next'; }
.token-info-item p, .token-info-empty { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.token-info-empty { padding: 13px; border-radius: 13px; background: #fff5ed; }
.token-exchange-rewards { display: grid; gap: 12px; }
.token-exchange-card { min-width: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 13px; border: 1px solid #f4e4d7; border-radius: 16px; background: #fffaf6; cursor: pointer; }
.token-exchange-card:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.token-exchange-image { width: 112px; height: 112px; border-radius: 12px; object-fit: cover; background: #fff; }
.token-exchange-placeholder { display: grid; place-items: center; color: #ed7000; font-weight: 800; }
.token-exchange-copy { min-width: 0; display: grid; justify-items: start; align-content: start; gap: 5px; }
.token-exchange-type { color: #e96a00; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.token-exchange-copy h3 { margin: 0; font: 700 15px/1.3 'Avenir Next'; }
.token-exchange-copy > p, .token-exchange-copy details p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.token-exchange-copy details { font-size: 11px; }
.token-exchange-copy details summary { color: #df6500; cursor: pointer; font-weight: 700; }
.token-exchange-copy > small { color: var(--muted); font-size: 10px; }
.token-exchange-copy .button { width: fit-content; min-height: 32px; margin-top: 4px; padding: 0 11px; border-radius: 11px; font-size: 12px; }
.token-exchange-details { grid-column: 1 / -1; display: grid; gap: 7px; width: 100%; padding-top: 9px; border-top: 1px solid #f1dfd2; }
.token-exchange-details[hidden] { display: none !important; }
.token-exchange-details p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.token-exchange-details small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.token-exchange-details strong { color: #df6500; font-size: 12px; }
.token-exchange-feedback { color: #487b54; font-size: 11px; line-height: 1.4; }
.token-exchange-feedback:empty { display: none; }
.token-exchange-history { margin-top: 18px; }
.token-exchange-history > h3 { margin: 0 0 9px; font: 700 14px/1.3 'Avenir Next'; }
.token-exchange-history ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.token-exchange-history li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff5ee; }
.token-exchange-history li span { min-width: 0; display: grid; gap: 3px; }
.token-exchange-history li strong { font-size: 12px; }
.token-exchange-history li small { color: var(--muted); font-size: 10px; }
.token-exchange-status { flex: 0 0 auto; color: #a45700; font-size: 10px; }
.token-exchange-status.is-fulfilled { color: #287a4a; }
.token-topup-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid #f4e4d7; border-radius: 14px; background: #fff5ee; }
.token-topup-entry h3 { margin: 0 0 3px; font: 700 14px/1.3 'Avenir Next'; }
.token-topup-entry p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.token-topup-entry .button { flex: 0 0 auto; }
.tokens-topup-page > .token-topup-section { margin-top: 0; }
@media (max-width: 560px) {
  .token-topup-entry { align-items: stretch; flex-direction: column; }
  .token-topup-entry .button { width: 100%; }
  .token-exchange-card { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .token-exchange-image { width: 82px; height: 82px; }
  .token-exchange-copy h3 { font-size: 13px; }
  .token-exchange-copy .button { width: fit-content; max-width: 100%; min-height: 30px; padding: 0 10px; font-size: 11px; }
}
.token-topup-form { display: grid; gap: 14px; }
.token-topup-packages, .token-topup-payments { min-width: 0; display: grid; gap: 9px; margin: 0; padding: 12px; border: 1px solid #f1dfd2; border-radius: 14px; }
.token-topup-packages legend, .token-topup-payments legend { padding: 0 5px; font-size: 12px; font-weight: 700; }
.token-topup-packages label, .token-topup-payments label { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid #f2e4da; border-radius: 12px; background: #fff; cursor: pointer; }
.token-topup-packages label:has(input:checked), .token-topup-payments label:has(input:checked) { border-color: var(--orange); background: #fff5ee; }
.token-topup-packages input, .token-topup-payments input { accent-color: var(--orange); }
.token-topup-packages label > span, .token-topup-payments label > span { min-width: 0; display: grid; gap: 3px; }
.token-topup-packages small, .token-topup-payments small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.token-topup-payments .is-coming-soon { opacity: .55; cursor: not-allowed; }
.token-topup-slip { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.token-topup-slip input { width: 100%; padding: 10px; border: 1px solid #f1dfd2; border-radius: 12px; background: #fff; font: inherit; }
.token-topup-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.token-topup-feedback { min-height: 18px; color: var(--orange-dark); font-size: 12px; line-height: 1.5; }
.token-topup-history { display: grid; gap: 9px; margin-top: 18px; }
.token-topup-history h3 { margin: 0; font-size: 14px; }
.token-topup-history ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.token-topup-history li { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 11px; border: 1px solid #f1dfd2; border-radius: 12px; background: #fff; }
.token-topup-history li > span { min-width: 0; display: grid; gap: 3px; }
.token-topup-history li small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.token-topup-status { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; color: #78541d; background: #fff1d6; font-size: 10px; }
.token-topup-status.is-approved { color: #247047; background: #e8f6ed; }
.token-topup-status.is-rejected { color: #a83a2a; background: #fff0ed; }
.admin-coin-topup-list { display: grid; gap: 12px; }
.admin-coin-topup-request { display: grid; gap: 14px; padding: 16px; border: 1px solid #f1dfd2; border-radius: 16px; background: #fffaf6; }
.admin-coin-topup-request-kicker { color: var(--orange-dark); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-coin-topup-request h3 { margin: 5px 0 2px; font-size: 16px; }
.admin-coin-topup-request p { margin: 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.admin-coin-topup-request dl { display: grid; gap: 6px; margin: 12px 0; }
.admin-coin-topup-request dl > div { display: grid; grid-template-columns: minmax(100px, .65fr) minmax(0, 1fr); gap: 8px; font-size: 12px; }
.admin-coin-topup-request dt { color: var(--muted); }
.admin-coin-topup-request dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.admin-coin-topup-slip-link { color: var(--orange-dark); font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.admin-coin-topup-no-slip { color: var(--muted); font-size: 11px; }
.admin-coin-topup-actions { display: grid; gap: 8px; }
.admin-coin-topup-actions .button { width: 100%; }
.admin-coin-topup-actions [role="status"] { color: #b53b2d; font-size: 11px; }
.admin-coin-topup-safety-note { max-width: 900px; margin: 12px auto; color: var(--muted); font-size: 11px; line-height: 1.5; }
@media (min-width: 680px) {
  .token-topup-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .token-topup-slip, .token-topup-note, .token-topup-feedback, .token-topup-form > .button { grid-column: 1 / -1; }
  .token-topup-history { grid-column: 1 / -1; }
  .admin-coin-topup-request { grid-template-columns: minmax(0, 1fr) minmax(190px, .32fr); align-items: center; padding: 20px; }
  .admin-coin-topup-actions { min-width: 190px; }
}
@media (min-width: 680px) {
  .credit-row { height: clamp(312px, calc(15vw + 210px), 390px); min-height: clamp(312px, calc(15vw + 210px), 390px); }
  .home-pet-assistant-shortcut { width: 38%; left: 22.5%; }
  .home-pet-assistant-shortcut > .home-pet-art { width: 125%; top: -18%; left: -12.5%; }
  .home-pet-assistant-bubble { width: 55%; max-width: 470px; height: 96px; top: 22px; padding: 14px 18px; border-radius: 26px; }
  .home-pet-assistant-name { font-size: 19px; }
  .home-pet-assistant-bubble [data-assistant-bubble-text] { font-size: 16px; }
  .home-balance-cards { width: 100%; aspect-ratio: auto; height: clamp(150px, 22vw, 220px); top: 138px; grid-template-columns: minmax(0, 1fr) clamp(150px, 22vw, 220px); gap: 12px; }
  .home-balance-cards > .home-balance-card { padding: 18px; border-radius: 24px; }
  .home-token-copy { right: 24px; left: 61%; gap: 8px; }
  .home-balance-cards .credit-card { padding: 20px 18px 16px; }
  .home-balance-cards .wallet-mark { width: 36px; height: 36px; right: 16px; bottom: 14px; }
}
.home-balance-cards > .home-pet-assistant-shortcut {
  width: calc(37.905vw + 136.458px);
  height: calc(100% + 107px);
  position: absolute;
  z-index: 1;
  top: -110px;
  right: auto;
  bottom: auto;
  left: calc(-9.775vw - 32.17px);
  display: block;
  overflow: visible;
  transform: none;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 100%);
  mask-image: linear-gradient(to bottom, #000 0 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.home-balance-cards > .home-pet-assistant-shortcut > .home-pet-art {
  width: 100%;
  max-width: none;
  height: auto;
  position: absolute;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  transform: translateY(-12%);
  object-fit: contain;
  object-position: center bottom;
  pointer-events: auto;
}
@media (min-width: 680px) {
  .home-balance-cards > .home-pet-assistant-shortcut {
    width: clamp(377px, calc(31.16vw + 164px), 476px);
    height: calc(100% + 113px);
    top: -116px;
    left: clamp(-87px, calc(-5.92vw - 28px), -69px);
  }
  .home-balance-cards > .home-pet-assistant-shortcut > .home-pet-art {
    width: 100%;
    left: 0;
    transform: translateY(-9%);
  }
}
@media (min-width: 1001px) {
  .home-balance-cards > .home-pet-assistant-shortcut {
    height: calc(100% + 113px);
    top: -116px;
  }
  .home-balance-cards > .home-pet-assistant-shortcut > .home-pet-art {
    width: 100%;
    left: 0;
    transform: translateY(-9%);
  }
}
.home-balance-cards .credit-card {
  --credit-stack-gap: clamp(2px, 1vw, 5px);
  justify-content: flex-start;
  gap: var(--credit-stack-gap);
}
.home-balance-cards .credit-currency { margin-top: var(--credit-stack-gap); }
@media (min-width: 680px) {
  .home-balance-cards .credit-card { --credit-stack-gap: 10px; }
}
.home-balance-cards .home-balance-label,
.home-balance-cards .credit-label { font-size: calc(clamp(9px, 3vw, 16px) + 1.333px); }
.home-balance-cards .token-card strong,
.home-balance-cards .credit-card strong { font-size: clamp(20px, 7vw, 54px); }
/* Keep all Coins content in front of the mascot; its text column is reserved to the right. */
.home-balance-cards .home-token-art,
.home-balance-cards .home-token-copy { z-index: 10; }
@media (max-width: 679px) {
  .home-balance-cards .home-token-art {
    width: 18%;
    top: 4px;
    left: calc(58.5% - 8px);
    transform: none;
  }
  .home-balance-cards .home-token-copy {
    width: auto;
    top: auto;
    right: 12px;
    bottom: 6px;
    left: calc(58.5% + 2px);
    justify-items: start;
    gap: 2px;
    transform: none;
    text-align: left;
  }
}
@media (min-width: 680px) {
  .home-balance-cards > .home-pet-assistant-shortcut {
    width: clamp(588px, calc(48.61vw + 255.84px), 742px);
    left: clamp(-87px, calc(-5.92vw - 28px), -69px);
  }
  .home-balance-cards > .home-pet-assistant-shortcut > .home-pet-art {
    width: 100%;
    left: 0;
    transform: translateY(-9.25%);
  }
  .home-balance-cards .home-token-stack {
    width: auto;
    position: absolute;
    z-index: 10;
    top: 50%;
    right: 12px;
    left: calc(58.5% - 8px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    transform: translateY(-50%);
  }
  .home-balance-cards .home-token-art {
    width: clamp(54px, 9cqw, 140px);
    max-width: 140px;
    height: auto;
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 auto;
    transform: none;
  }
  .home-balance-cards .home-token-copy {
    width: calc(100% - 10px);
    min-width: 0;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: grid;
    justify-items: start;
    gap: 2px;
    margin-left: 10px;
    transform: none;
    text-align: left;
  }
}
@media (min-width: 1001px) {
  .home-balance-cards > .home-pet-assistant-shortcut {
    width: 450px;
    max-width: none;
    left: clamp(47.5px, calc(3.5vw - 20px), 55px);
  }
  .home-balance-cards > .home-pet-assistant-shortcut > .home-pet-art {
    transform: translate(-10%, calc(-10.8% - 10px));
  }
  .home-pet-assistant-bubble {
    width: 64%;
    max-width: 550px;
    height: 102px;
    top: 25px;
    right: 0;
    padding: 16px 22px;
  }
  .home-balance-cards .home-token-art {
    width: clamp(38px, 6.3cqw, 98px);
    max-width: 98px;
    margin-left: -10px;
  }
  .home-balance-cards .home-token-stack {
    transform: translateY(-50%) scale(1.2);
    transform-origin: left center;
  }
}

/* Keep the Pet Assistant composer reachable while the conversation scrolls. */
.pet-assistant-composer { position: fixed; z-index: 50; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); width: min(calc(100vw - 32px), 780px); transform: translateX(-50%); box-shadow: 0 5px 18px #71310f1e; }
.pet-assistant-chat { padding-bottom: 78px; }
.pet-assistant-chat-header { align-items: flex-start; }
.pet-assistant-pet-switcher { align-self: flex-start; }
.pet-assistant-pet-switcher-button { transform: translateY(-10px) scale(.9); transform-origin: top right; }

/* Keep the Pet Assistant viewport fixed and scroll only the conversation. */
.pet-assistant-page {
  width: 100%;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  gap: 12px;
  box-sizing: border-box;
}
.pet-assistant-header,
.pet-assistant-energy-layout { flex: 0 0 auto; }
.pet-assistant-chat {
  min-height: 0;
  height: auto;
  flex: 1 1 0;
  overflow: hidden;
  padding-bottom: 14px;
  border-color: #f4ddc8;
  background: #fff1e4;
}
.pet-assistant-messages { min-height: 0; flex: 1 1 auto; }
.pet-assistant-composer {
  position: static;
  z-index: auto;
  left: auto;
  bottom: auto;
  width: 100%;
  flex: 0 0 auto;
  transform: none;
  box-shadow: none;
}

.pet-assistant-composer.has-message { border-color: #ffffff; }

/* Compact Pet Assistant Energy on tablet and desktop; mobile sizing stays unchanged. */
@media (min-width: 561px) {
  .pet-assistant-energy-banner {
    height: clamp(155px, 21vw, 205px);
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .pet-assistant-energy-title {
    font-size: clamp(7.35px, 1.12vw, 11.9px);
  }
  .pet-assistant-energy-main {
    zoom: .525;
  }
}

@media (min-width: 561px) {
  .pet-assistant-energy-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: start;
  }
  .pet-assistant-energy-meter {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .pet-assistant-energy-main {
    grid-column: 2;
    grid-row: 2;
    zoom: .7875;
  }
  .pet-assistant-energy-rate {
    position: relative;
    top: 10px;
  }
}

@media (min-width: 561px) {
  .pet-assistant-energy-title {
    font-size: clamp(11.025px, 1.68vw, 17.85px);
  }
  .pet-assistant-energy-main {
    justify-content: flex-start;
    padding-top: 15px;
  }
}


/* Keep the tablet and desktop Energy title and actions centered together. */
@media (min-width: 561px) {
  .pet-assistant-energy-banner { grid-template-rows: minmax(0, 1fr); }
  .pet-assistant-energy-right-content {
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
  }
  .pet-assistant-energy-title {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }
  .pet-assistant-energy-meter { grid-column: 1; grid-row: 1; }
  .pet-assistant-energy-main {
    grid-column: auto;
    grid-row: auto;
    justify-content: center;
    padding-top: 0;
  }
}
@media (max-width: 560px) {
  .pet-assistant-energy-right-content { display: contents; }
  .pet-assistant-energy-title { grid-column: 1 / -1; grid-row: 1; }
  .pet-assistant-energy-meter { grid-column: 1; grid-row: 2; }
  .pet-assistant-energy-main { grid-column: 2; grid-row: 2; }
}

@media (min-width: 561px) {
  .pet-assistant-energy-banner {
    grid-template-columns: clamp(125px, 18vw, 170px) minmax(0, 1fr);
    column-gap: 30px;
  }
}

@media (min-width: 561px) {
  .pet-assistant-energy-banner { column-gap: 15px; }
  .pet-assistant-energy-coins {
    font-size: clamp(16.72px, 3.04vw, 42.56px);
    top: calc(5% + 5px);
  }
}

@media (min-width: 561px) {
  .pet-assistant-energy-right-content {
    width: 100%;
    justify-self: stretch;
  }
  .pet-assistant-energy-title {
    width: 100%;
    font-size: clamp(22px, 3vw, 30px);
    text-align: left;
  }
  .pet-assistant-energy-main { width: 100%; }
}

@media (min-width: 561px) {
  .pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed {
    scale: 2.475;
  }
  .pet-assistant-energy-coins {
    font-size: clamp(8.36px, 1.52vw, 21.28px);
  }
  .pet-assistant-energy-rate {
    font-size: clamp(7.875px, 1.275vw, 13.125px);
  }
}

@media (min-width: 561px) {
  .pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed {
    scale: 2.10375;
    margin-block: 24px;
  }
  .pet-assistant-energy-coins {
    font-size: clamp(10.032px, 1.824vw, 25.536px);
  }
  .pet-assistant-energy-rate {
    font-size: clamp(9.45px, 1.53vw, 15.75px);
  }
}

@media (min-width: 561px) {
  .pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed {
    margin-block: 12px;
  }
}

@media (max-width: 560px) {
  .pet-assistant-energy-banner {
    grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
    grid-template-rows: minmax(0, 1fr);
  }
  .pet-assistant-energy-right-content {
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
  }
  .pet-assistant-energy-title {
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    text-align: left;
  }
  .pet-assistant-energy-meter {
    width: 100%;
    height: auto;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    aspect-ratio: 1;
  }
  .pet-assistant-energy-main {
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    align-items: flex-start;
    justify-content: center;
    left: 0;
    padding: 0;
  }
}

@media (max-width: 560px) {
  .pet-assistant-energy-title {
    font-size: clamp(11.44px, 3.64vw, 14.69px);
  }
  .pet-assistant-energy-right-content {
    transform: translateX(-20%);
  }
  .pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed {
    margin-block: .8px;
  }
  .pet-assistant-energy-rate {
    margin-top: -4px;
  }
}

@media (max-width: 560px) {
  .pet-assistant-energy-right-content {
    position: relative;
    transform: translateX(-17%);
  }
  .pet-assistant-energy-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  .pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed {
    scale: 1.683;
  }
  .pet-assistant-energy-coins {
    font-size: clamp(9.408px, 3.2144vw, 15.68px);
  }
  .pet-assistant-energy-rate {
    font-size: clamp(7.35px, 2.646vw, 10.29px);
  }
}

.pet-assistant-energy-title {
  white-space: nowrap;
}
.pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed {
  margin-block: 12px;
}
@media (max-width: 560px) {
  .pet-assistant-energy-title {
    font-size: clamp(9px, 3.64vw, 14.69px);
  }
}

@media (max-width: 560px) {
  .pet-assistant-energy-title { top: 10px; }
  .pet-assistant-energy-main { transform: translateY(10px); }
  .pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed { scale: 1.76715; }
}

@media (max-width: 560px) {
  .pet-assistant-energy-main { transform: none; }
  .pet-assistant-energy-banner button.button-primary.pet-assistant-energy-feed {
    position: relative;
    top: 10px;
  }
}

.pet-assistant-profile-link img { width: 30px; height: 30px; }
@media (max-width: 380px) {
  .pet-assistant-profile-link img { width: 26.4px; height: 26.4px; }
}

/* Tablet and desktop mascot stage: use the token card as its positioning reference. */
@media (min-width: 680px) {
  .home-balance-cards > .home-pet-assistant-shortcut {
    width: calc(100% - clamp(150px, 22vw, 220px) - 12px);
    max-width: none;
    height: calc(100% + 113px);
    top: -116px;
    right: auto;
    bottom: auto;
    left: 0;
    transform: none;
  }
  .home-balance-cards > .home-pet-assistant-shortcut > .home-pet-art {
    width: 450px;
    max-width: none;
    height: auto;
    top: 0;
    right: auto;
    bottom: auto;
    left: 29.25%;
    transform: translate(-50%, calc(-10.8% - 10px));
    object-fit: contain;
    object-position: center center;
  }
}

/* Compact home header: keep the bubble, balance labels, and icons clear at narrow widths. */
@media (max-width: 679px) {
  .home-pet-assistant-bubble { z-index: 5; }

  .home-balance-cards .credit-card .credit-label {
    overflow: visible;
    font-size: min(calc(clamp(9px, 3vw, 16px) + 1.333px), max(8px, 13.333cqw));
    text-overflow: clip;
  }
  .home-balance-cards .credit-card .credit-balance-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: end;
    column-gap: 4px;
    row-gap: 2px;
  }
  .home-balance-cards .credit-card .credit-balance-row strong {
    grid-column: 1;
    grid-row: 1;
  }
  .home-balance-cards .credit-card .credit-currency {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }
  .home-balance-cards .credit-card .wallet-mark {
    width: 26px;
    height: 26px;
    position: absolute;
    right: 11px;
    bottom: 10px;
    z-index: 1;
  }
}

/* Let the mascot mask begin at the search bar's lower edge without cropping its head. */
@media (max-width: 679px) {
  .home-balance-cards > .home-pet-assistant-shortcut {
    width: calc(37.905vw + 136.458px);
    left: calc(clamp(-60px, -14vw, -42px) - 16px);
    top: -135px;
    height: calc(100% + 132px);
    transform: none;
  }
  .home-balance-cards > .home-pet-assistant-shortcut > .home-pet-art {
    width: 100%;
    max-width: none;
    height: auto;
    left: 0;
    transform: none;
    object-fit: contain;
    object-position: center bottom;
  }
}

@media (min-width: 680px) {
  .home-balance-cards > .home-pet-assistant-shortcut {
    width: 54%;
    left: 0;
    top: -147px;
    height: calc(100% + 144px);
    transform: none;
  }
  .home-balance-cards > .home-pet-assistant-shortcut > .home-pet-art {
    width: 450px;
    max-width: 100%;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    object-fit: contain;
    object-position: center bottom;
  }
}


@media (max-width: 679px) {
  .service-shortcuts {
    row-gap: 32px;
    padding-top: 18px;
    padding-bottom: 17px;
  }
  .service-shortcuts .shortcut {
    justify-content: center;
    transform: translateY(7px);
  }
  .service-shortcuts .shortcut img {
    width: min(100%, 62px);
    height: 54px;
    transform: scale(1.2);
    transform-origin: center bottom;
  }
  .service-shortcuts .shortcut span {
    font-size: clamp(8.1px, 2.43vw, 10.8px);
  }
}

.mobile-home .service-shortcuts {
  border: 2px solid #fff;
  box-shadow: 0 8px 0 #f1d8c5, 0 16px 24px #71310f30, inset 0 3px 0 #fff, inset 0 -4px 7px #8a3b141c;
}
.mobile-home .home-balance-cards .token-card,
.mobile-home .home-balance-cards .credit-card {
  box-shadow: none;
}
.mobile-home .pet-card {
  box-shadow: 0 4px 4px rgba(206, 88, 0, 0.55), inset 0 3px 0 rgba(255, 255, 255, 0.82), inset 0 -7px 12px rgba(130, 58, 19, 0.12);
}
.mobile-home .pet-card .pet-avatar {
  transform: scale(1.08);
  transform-origin: center bottom;
}
.mobile-home .pet-card { grid-template-columns: 100px minmax(0, 1fr); }
.mobile-home .pet-card .pet-info { text-align: left; }
.mobile-home .pet-card .pet-tags { justify-content: flex-start; }
.pet-profile-page .pet-card.pet-profile-overview-card.pet-profile-details-banner {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: start;
  align-items: start;
  gap: 14px;
  padding: 28px 66px 24px;
}
.pet-profile-details-banner .pet-info { width: 100%; grid-column: 1; grid-row: 1; align-self: start; text-align: left; }
.pet-profile-details-banner .pet-info p { margin-bottom: 5px; }
.pet-profile-details-banner .pet-info .pet-birth-date { display: block; color: #70615a; font-size: 14px; }
.pet-profile-details-banner .pet-tags { width: 100%; grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: flex-start; overflow: visible; gap: 8px; white-space: normal; }
.pet-profile-details-banner .pet-tags span { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.pet-profile-details-banner .pet-profile-button { position: relative; right: auto; bottom: auto; left: auto; grid-column: 1; grid-row: 3; justify-self: center; transform: none; margin-top: 2px; }
@media (max-width: 420px) {
  .pet-profile-page .pet-card.pet-profile-overview-card.pet-profile-details-banner { padding: 24px 52px 22px; }
}
.pet-profile-overview-shell {
  width: min(100%, 850px);
  margin: 0 auto 24px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 26px;
  background: #fff;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.98), inset 0 -8px 16px rgba(126, 75, 43, 0.12), inset 0 0 0 1px rgba(242, 226, 213, 0.55);
}
.pet-profile-page .pet-card.pet-profile-overview-card.pet-profile-details-banner {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
@media (max-width: 679px) {
  .pet-profile-overview-shell { padding: 18px 12px 16px; border-radius: 22px; }
}
.pet-profile-page .pet-card.pet-profile-overview-card.pet-profile-details-banner { padding-right: 15px; padding-left: 15px; }
.pet-profile-details-banner .pet-profile-button { min-height: 32px; padding: 0 20px; font-size: 13px; }
@media (max-width: 420px) {
  .pet-profile-page .pet-card.pet-profile-overview-card.pet-profile-details-banner { padding-right: 15px; padding-left: 15px; }
  .pet-profile-details-banner .pet-profile-button { min-height: 26px; padding: 0 17px; font-size: 11px; }
}
.pet-care-links .profile-menu-row {
  min-height: 52px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.pet-care-links .profile-menu-row:not(:last-child) { border-bottom: 1px solid #f2e7df; }
.pet-care-links .profile-menu-row:hover { background: transparent; }
.pet-overview-media .pet-profile-photo-name { margin: 4px 0 15px; color: var(--ink); font: 700 clamp(23px, 3vw, 33px)/1.2 'Avenir Next'; text-align: center; }
.pet-profile-page .pet-card.pet-profile-overview-card.pet-profile-details-banner { grid-template-rows: auto auto; gap: 16px; }
.pet-profile-details-banner .pet-profile-button { grid-row: 2; }
.pet-profile-details-list { width: 100%; grid-column: 1; grid-row: 1; display: grid; gap: 0; margin: 0; }
.pet-profile-detail-row { min-width: 0; display: grid; grid-template-columns: minmax(105px, .38fr) minmax(0, 1fr); align-items: start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f2e7df; }
.pet-profile-detail-row > span { color: #8b8580; font-size: 14px; line-height: 1.4; }
.pet-profile-detail-row > strong { min-width: 0; color: #29272c; font-size: 15px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.pet-profile-detail-remarks { border-bottom: 0; }
.pet-profile-detail-remarks .pet-tags { width: 100%; min-width: 0; grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; justify-content: flex-start; overflow: visible; gap: 7px; white-space: normal; }
.pet-profile-detail-remarks .pet-tags span { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .pet-profile-detail-row { grid-template-columns: minmax(92px, .4fr) minmax(0, 1fr); gap: 8px; padding: 9px 0; }
  .pet-profile-detail-row > span { font-size: 12px; }
  .pet-profile-detail-row > strong { font-size: 13px; }
}
.pet-overview-media { margin-bottom: 0; }
.pet-overview-media .pet-profile-photo-name { margin: 0 0 4px; color: #e96a00; font-size: clamp(25px, 3.3vw, 36px); }
.pet-profile-page .pet-card.pet-profile-overview-card.pet-profile-details-banner { padding-top: 8px; }
.pet-profile-details-banner .pet-profile-button,
.pet-profile-page .pet-assistant-profile-toggle {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
}
.pet-profile-details-banner .pet-profile-button {
  width: calc(100% + 30px);
  max-width: none;
  box-sizing: border-box;
  justify-self: stretch;
  margin-left: -15px;
}
.pet-profile-page .pet-assistant-profile-toggle {
  border: 0;
  color: #d96800;
  background: #fff;
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.98), inset 0 -5px 7px rgba(160, 119, 82, 0.2), 0 4px 8px rgba(128, 83, 51, 0.18);
}
.pet-profile-details-banner .pet-profile-button,
.pet-profile-page .pet-assistant-profile-toggle.is-selected {
  border: 0;
  color: #fff;
  background: #ff7900;
  box-shadow: inset 0 2px 5px rgba(255, 239, 175, 0.8), inset 0 -5px 7px rgba(153, 59, 0, 0.42), 0 4px 8px rgba(169, 76, 22, 0.28);
}
.pet-profile-overview-shell { background: #fff; }
.pet-profile-overview-shell .pet-profile-swipe-viewport { background: #fff; }
.pet-profile-page .pet-profile-swap-arrow { position: fixed; top: 50vh; }
.pet-profile-page .pet-assistant-profile-toggle:not(.is-selected) { box-sizing: border-box; border: 2px solid #ff7900; }
.pet-profile-details-banner .pet-profile-button,
.pet-profile-page .pet-assistant-profile-toggle { box-sizing: border-box; height: 48px; min-height: 48px; line-height: 1; }
.pet-profile-overview-shell {
  box-shadow: 0 8px 22px rgba(118, 72, 42, 0.14), inset 0 3px 0 rgba(255, 255, 255, 0.98), inset 0 -8px 16px rgba(126, 75, 43, 0.12), inset 0 0 0 1px rgba(242, 226, 213, 0.55);
}
@media (max-width: 420px) {
  .pet-profile-details-banner .pet-profile-button { min-height: 48px; padding: 0 18px; font-size: 14px; }
}

/* Keep the complete white pet profile panel together during horizontal swipes. */
.pet-profile-page .pet-profile-overview-swipe-viewport {
  width: min(100%, 850px);
}
.pet-profile-page .pet-profile-transition-content > .pet-profile-overview-shell {
  width: 100%;
  box-sizing: border-box;
}

/* Assistant selection: light orange when inactive and Furgo orange when active. */
.pet-profile-page .pet-assistant-profile-toggle,
.pet-profile-page .pet-assistant-profile-toggle:not(.is-selected),
.pet-profile-page .pet-assistant-profile-toggle.is-selected {
  border: 0;
  outline: 0;
}
.pet-profile-page .pet-assistant-profile-toggle,
.pet-profile-page .pet-assistant-profile-toggle:not(.is-selected) {
  color: #e96600;
  background: #fff5ee;
  box-shadow: inset 0 2px 5px rgba(255, 250, 239, 0.8), inset 0 -5px 7px rgba(178, 82, 14, 0.2), 0 4px 8px rgba(169, 76, 22, 0.16);
}
.pet-profile-page .pet-assistant-profile-toggle.is-selected {
  color: #fff;
  background: #ff7900;
  box-shadow: inset 0 2px 5px rgba(255, 239, 175, 0.55), inset 0 -5px 7px rgba(153, 59, 0, 0.34), 0 4px 8px rgba(169, 76, 22, 0.2);
}
.pet-profile-add-settings .profile-menu-row:disabled,
.pet-profile-add-settings .pet-setting-icon,
.pet-profile-add-settings .profile-chevron {
  color: #8b8580;
}

/* Edit Pet Profile form spacing and translucent field treatment. */
.pet-profile-form .pet-profile-fields {
  row-gap: 36px;
}
.pet-profile-form .pet-form-field input,
.pet-profile-form .pet-form-field select,
.pet-profile-form .pet-birth-date-selects select,
.pet-profile-form .pet-remark-entry input {
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background-color: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 2px 5px rgba(89, 52, 28, 0.12), inset 0 -1px 3px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pet-profile-form .pet-form-field input:focus,
.pet-profile-form .pet-form-field select:focus,
.pet-profile-form .pet-birth-date-selects select:focus,
.pet-profile-form .pet-remark-entry input:focus {
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 2px 5px rgba(89, 52, 28, 0.12), inset 0 -1px 3px rgba(255, 255, 255, 0.9), 0 0 0 3px rgba(255, 255, 255, 0.28);
}
.pet-profile-form .pet-add-remark,
.pet-profile-form .pet-save-profile {
  box-shadow: inset 0 2px 5px rgba(255, 239, 205, 0.52), inset 0 -4px 7px rgba(130, 48, 0, 0.28), 0 4px 8px rgba(169, 76, 22, 0.18);
}
.pet-profile-form .pet-remark-chip {
  box-shadow: inset 0 1px 3px rgba(255, 239, 205, 0.45), inset 0 -2px 4px rgba(130, 48, 0, 0.2);
}
.pet-profile-form .pet-button-choice-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.pet-profile-form .pet-button-choice-field legend {
  margin: 0 0 7px;
  padding: 0;
  font-size: 17px;
}
.pet-profile-form .pet-button-choices {
  min-height: 60px;
  position: relative;
  display: flex;
  gap: 0;
  overflow: hidden;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #e7e7e7;
  box-shadow: inset 0 3px 7px rgba(48, 42, 38, 0.16), inset 0 -2px 4px rgba(255, 255, 255, 0.9), 0 2px 4px rgba(54, 45, 40, 0.08);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.pet-profile-form .pet-button-choices label {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #56545a;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
.pet-profile-form .pet-button-choices::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 4px;
  right: auto;
  width: calc(50% - 6px);
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  background: linear-gradient(160deg, #fff 0%, #f7f7f7 100%);
  box-shadow: 0 3px 6px rgba(48, 42, 38, 0.2), inset 0 2px 3px #fff, inset 0 -2px 3px rgba(80, 80, 80, 0.1);
  transform: translateX(0);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .2s ease;
}
.pet-profile-form .pet-button-choices:has(input[value="Male"]:checked) {
  background: #dceeff;
}
.pet-profile-form .pet-button-choices:has(input[value="Male"]:checked)::before {
  transform: translateX(0);
}
.pet-profile-form .pet-button-choices:has(input[value="Female"]:checked) {
  background: #ffe0eb;
}
.pet-profile-form .pet-button-choices:has(input[value="Female"]:checked)::before {
  transform: translateX(calc(100% + 4px));
}
.pet-profile-form .pet-button-choices:has(input[value="yes"]:checked) {
  background: #def2e2;
}
.pet-profile-form .pet-button-choices:has(input[value="yes"]:checked)::before {
  transform: translateX(0);
}
.pet-profile-form .pet-button-choices:has(input[value="no"]:checked) {
  background: #e1e2e4;
}
.pet-profile-form .pet-button-choices:has(input[value="no"]:checked)::before {
  transform: translateX(calc(100% + 4px));
}
.pet-profile-form .pet-button-choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.pet-profile-form .pet-button-choices label:focus-within { outline: none; }
.pet-profile-form .pet-button-choices:has(input:focus-visible) {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), inset 0 3px 7px rgba(48, 42, 38, 0.16), inset 0 -2px 4px rgba(255, 255, 255, 0.9), 0 2px 4px rgba(54, 45, 40, 0.08);
}
.pet-profile-form .pet-button-choices span {
  font-size: 15px;
  font-weight: 600;
  transition: opacity .18s ease;
}
.pet-profile-form .pet-button-choices label:not(:has(input:checked)) span {
  color: #aaa7a9;
  opacity: 0.7;
}
@media (max-width: 680px) {
  .pet-profile-form .pet-profile-fields {
    row-gap: 32px;
  }
  .pet-occasion-date-controls { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 10px; }
  .pet-occasion-date-row > legend { font-size: 16px; }
  .pet-occasion-buttons select { height: 60px; padding: 0 24px 0 8px; background-position: right 7px center; background-size: 10px 8px; font-size: 11px; }
  .pet-birth-date-selects { gap: 4px; }
  .pet-birth-date-selects select { height: 60px; padding: 0 15px 0 5px !important; background-position: right 4px center !important; background-size: 9px 7px !important; font-size: 12px; }
  .pet-profile-form .pet-button-choices {
    min-height: 54px;
  }
}
.pet-profile-delete-area {
  width: min(100%, 850px);
  margin: -8px auto 24px;
  text-align: center;
}
.pet-profile-delete-link {
  padding: 4px 8px;
  border: 0;
  color: #b84919;
  background: transparent;
  font: 600 13px 'Avenir Next';
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.pet-profile-delete-feedback {
  margin: 4px 0 0;
  color: #b84919;
  font-size: 12px;
}
.pet-profile-delete-feedback:empty { display: none; }
.pet-delete-dialog [data-confirm-pet-profile-delete] { color: #fff; background: #c74632; }
.mobile-home .pet-card .pet-profile-button {
  border: 0;
  color: #fff;
  background: #ff7900;
  background-image: none;
  box-shadow: inset 0 2px 5px rgba(255, 239, 175, 0.8), inset 0 -5px 7px rgba(153, 59, 0, 0.42), 0 4px 8px rgba(169, 76, 22, 0.28);
}
.mobile-home .home-topline .notification-button,
.mobile-home .home-topline .portal-notification-details > summary.notification-button {
  border: 1px solid rgba(255, 255, 255, 0.82);
  color: #333;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 22px rgba(104, 52, 19, 0.15), 0 2px 6px rgba(104, 52, 19, 0.08);
}
.marketplace-page .marketplace-header-centered { margin-bottom: 8px; }
.marketplace-page .market-search-wrap { gap: 12px; }
.marketplace-page .market-search { margin: 0; }
.marketplace-page .market-product-price { color: var(--orange); font-size: 16.8px; line-height: 1.2; }
.marketplace-page .market-product-out-of-stock { display: inline-block; margin-left: 8px; color: #817c78; font-size: 11px; font-weight: 600; }
@media (min-width: 680px) {
  .marketplace-page .market-product-price { font-size: 18.2px; }
}
.marketplace-product-detail-page .market-pdp-price { color: var(--orange); }

/* Keep the product favourite control beside the category and title, without a button disc. */
.marketplace-page .market-product-image-link { display: block; color: inherit; text-decoration: none; }
.marketplace-page .market-product-content { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.marketplace-page .market-product-heading { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: center; gap: 5px; }
.marketplace-page .market-product-heading-link { min-width: 0; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.marketplace-page .market-product-heading-link .market-product-category { margin-top: 10px; }
.marketplace-page .market-product-heading-link > strong { min-height: 38px; margin-top: 5px; font: 700 12px/1.45 'Avenir Next'; }
.marketplace-page .market-product-heading .market-favorite-toggle { width: 32px; height: 32px; align-self: center; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.marketplace-page .market-favorite-toggle { background: transparent; box-shadow: none; }
.marketplace-page .market-product-heading .market-favorite-toggle img { width: 26px; height: 26px; }
.marketplace-page .market-product-extra-link { color: inherit; text-decoration: none; }
.marketplace-page .market-product-price-link { display: flex; flex: 1; }
.marketplace-page .market-product-content .market-product-price { margin-top: auto; }
@media (min-width: 680px) {
  .marketplace-page .market-product-heading-link > strong { min-height: 44px; font-size: 14px; }
}

/* Product favourite icons stay visually plain; the marketplace search gets inset depth only. */
.marketplace-page .market-product-card .market-product-heading button.market-favorite-toggle,
.marketplace-page .market-product-card .market-product-heading button.market-favorite-toggle:hover,
.marketplace-page .market-product-card .market-product-heading button.market-favorite-toggle:active,
.marketplace-page .market-product-card .market-product-heading button.market-favorite-toggle:focus,
.marketplace-page .market-product-card .market-product-heading button.market-favorite-toggle:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  transform: none;
  transition: none;
  outline: none;
}
.marketplace-page .market-search {
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .48), inset 0 -3px 5px rgba(87, 48, 20, .12);
}
/* Keep customer portal page titles on the same responsive scale as Local Finder. */
.profile-heading h1,
.marketplace-header h1,
.marketplace-header-centered h1,
.grooming-header h1,
.grooming-header-centered h1,
.my-orders-header h1,
.local-finder-header h1,
.pet-assistant-header h1,
.market-pdp-copy > h1 {
  font-size: clamp(22px, 5.2vw, 32px);
}

/* Keep the customer service selector and order-status filters on one row. */
.my-orders-filter-row {
  width: min(100%, 720px);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 3px 1px 10px;
  scrollbar-width: none;
}
.my-orders-filter-row::-webkit-scrollbar { display: none; }
.my-orders-service-filter {
  min-height: 38px;
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid #ff7900;
  border-radius: 22px;
  color: #fff;
  background: #ff7900;
}
.my-orders-filter-row .my-orders-status-tabs {
  width: max-content;
  flex: 0 0 auto;
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.my-orders-service-filter { z-index: 20; }
.my-orders-service-filter-trigger {
  width: 38px;
  height: 38px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: inherit;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.my-orders-service-filter-trigger svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.my-orders-filter-badge { min-width: 15px; height: 15px; position: absolute; top: -3px; right: -3px; display: grid; place-items: center; padding: 0 4px; border: 1px solid #ff7900; border-radius: 10px; color: #ff7900; background: #fff; font-size: 9px; line-height: 1; }
.my-orders-filter-badge[hidden] { display: none; }
.my-orders-service-filter-panel {
  width: min(260px, calc(100vw - 24px));
  z-index: 1000;
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid #f0dfd2;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 28px rgba(57, 35, 19, 0.2);
}
.my-orders-service-filter-panel[hidden] { display: none; }
.my-orders-service-filter-panel > strong { padding: 2px 5px 6px; font-size: 12px; }
.my-orders-service-filter-panel > label { min-height: 34px; display: flex; align-items: center; gap: 9px; padding: 4px 5px; border-radius: 8px; color: #554b45; font-size: 11px; cursor: pointer; }
.my-orders-service-filter-panel > label:has(input:checked) { color: var(--orange-dark); background: #fff5ee; }
.my-orders-service-filter-panel input { width: 15px; height: 15px; margin: 0; accent-color: var(--orange); }
.my-orders-service-filter-panel > .button { min-height: 34px; margin-top: 6px; padding: 6px 10px; font-size: 11px; }
.my-orders-count { font-weight: 600; }

/* AI Nutritionist reuses the Pet Assistant layout with its own brand treatment. */
.ai-nutritionist-page .pet-assistant-energy-banner::before {
  background: linear-gradient(110deg, #66c98b 0%, #16834a 100%);
}
.ai-nutritionist-page .pet-assistant-energy-ring-track { stroke: #174f348a; }
.ai-nutritionist-page .pet-assistant-message { align-items: flex-start; max-width: min(96%, 760px); gap: 12px; }
.ai-nutritionist-page .pet-assistant-message-avatar {
  width: clamp(76px, 12vw, 112px);
  height: clamp(76px, 12vw, 112px);
  flex: 0 0 clamp(76px, 12vw, 112px);
  border-radius: 18px;
  object-fit: contain;
  background: transparent;
}
.ai-nutritionist-page .pet-assistant-message-content { padding-top: 4px; }
.ai-nutritionist-page .pet-assistant-message-bubble {
  border-radius: 18px 18px 18px 5px;
  background: #fff;
  box-shadow: 0 4px 10px #44321b12;
}
.ai-nutritionist-page .ai-nutritionist-composer textarea:disabled { cursor: not-allowed; }
.ai-nutritionist-page .ai-nutritionist-composer button:disabled { display: grid; opacity: .45; }
@media (max-width: 560px) {
  .ai-nutritionist-page .pet-assistant-message-avatar {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }
}

/* Compact glass footer on phones; keep the raised scan control at its existing size. */
@media (max-width: 679px) {
  .bottom-nav {
    height: 64.6px;
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .bottom-nav .bottom-item:not(.bottom-store) img {
    width: 21.6px;
    height: 21.6px;
  }
  .bottom-nav .bottom-item:not(.bottom-store) > span {
    font-size: 80%;
  }
}

/* Assistant energy balance adjustments shared by Pet Assistant and Nutritionist. */
.pet-assistant-energy-rate { transform: translateY(5px); }
.pet-assistant-energy-meter-copy,
.pet-assistant-energy-meter-copy > strong,
.pet-assistant-energy-meter-copy > span { color: #fff; }
@media (max-width: 560px) {
  .pet-assistant-energy-title {
    font-size: calc(clamp(9px, 3.64vw, 14.69px) + 3pt);
    transform: translateY(5px);
  }
}

/* Manager catalogue for Furgo Coin redemption rewards. */
.admin-coin-exchange-page > .admin-market-panel { width: min(100%, 1120px); margin-right: auto; margin-left: auto; }
.admin-coin-exchange-form { align-items: start; }
.admin-coin-exchange-wide { grid-column: 1 / -1; }
.admin-coin-exchange-image-field img { width: 112px; height: 112px; margin-top: 8px; border: 1px solid #f1dfd0; border-radius: 12px; object-fit: cover; }
.admin-coin-exchange-image-field img[hidden] { display: none; }
.admin-coin-exchange-active { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; }
.admin-coin-exchange-active input { width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; margin: 0; padding: 0; accent-color: var(--orange); }
.admin-coin-exchange-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.admin-coin-exchange-actions [role="status"] { color: var(--muted); font-size: 12px; }
.admin-coin-exchange-list { display: grid; gap: 11px; }
.admin-coin-exchange-item { min-width: 0; display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: start; gap: 13px; padding: 13px; border: 1px solid #f1dfd0; border-radius: 15px; background: #fffaf6; }
.admin-coin-exchange-item > img, .admin-coin-exchange-placeholder { width: 88px; height: 88px; border-radius: 11px; object-fit: cover; background: #fff; }
.admin-coin-exchange-placeholder { display: grid; place-items: center; color: var(--orange-dark); font-weight: 800; }
.admin-coin-exchange-item-main { min-width: 0; }
.admin-coin-exchange-item-title { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.admin-coin-exchange-item-title h3 { margin: 0; font: 700 15px/1.35 'Avenir Next'; }
.admin-coin-exchange-state { padding: 4px 8px; border-radius: 99px; color: #8a6856; background: #f4e8df; font-size: 10px; font-weight: 700; }
.admin-coin-exchange-state.is-active { color: #287a4a; background: #e8f5eb; }
.admin-coin-exchange-item-main > p { margin: 5px 0 9px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.admin-coin-exchange-item dl { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
.admin-coin-exchange-item dl div { display: grid; gap: 2px; }
.admin-coin-exchange-item dt { color: var(--muted); font-size: 9px; }
.admin-coin-exchange-item dd { margin: 0; font-size: 11px; font-weight: 700; }
.admin-coin-exchange-item-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-coin-exchange-item-actions .button { padding: 8px 12px; font-size: 11px; }
.admin-coin-redemption-list { display: grid; gap: 8px; }
.admin-coin-redemption-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid #f1dfd0; border-radius: 13px; background: #fffaf6; }
.admin-coin-redemption-item h3 { margin: 0 0 3px; font: 700 13px/1.3 'Avenir Next'; }
.admin-coin-redemption-item p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.admin-coin-redemption-item .button { padding: 8px 11px; font-size: 10px; }
.admin-coin-exchange-feedback { margin: 8px 0 0; color: #487b54; font-size: 11px; }
.admin-coin-exchange-feedback:empty { display: none; }
@media (max-width: 680px) {
  .admin-coin-exchange-item { grid-template-columns: 64px minmax(0, 1fr); }
  .admin-coin-exchange-item > img, .admin-coin-exchange-placeholder { width: 64px; height: 64px; }
  .admin-coin-exchange-item-actions { grid-column: 2; }
  .admin-coin-exchange-item-actions .button { flex: 1; }
  .admin-coin-redemption-item { grid-template-columns: minmax(0, 1fr) auto; }
  .admin-coin-redemption-item .button { grid-column: 1 / -1; width: 100%; }
}

/* Marketplace-only inset depth; these shadows preserve existing colors and outer shadows. */
.marketplace-page :is(
  .market-promo-note,
  .market-product-card,
  .market-pdp-visual,
  .market-supplier-profile,
  .market-seller-profile,
  .market-subscription-cart-section,
  .market-subscription-active-section,
  .market-subscription-item,
  .market-shipping-meter,
  .market-cart-item,
  .market-order-summary,
  .market-empty-cart,
  .market-checkout-section,
  .market-order-card,
  .favorite-empty,
  .marketplace-cancel-dialog,
  .marketplace-cancel-reason,
  .marketplace-payment-retry
) {
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .48), inset 0 -3px 5px rgba(87, 48, 20, .12);
}

.marketplace-page .market-product-card { box-shadow: 0 5px 15px #432b1608, inset 0 2px 4px rgba(255, 255, 255, .48), inset 0 -3px 5px rgba(87, 48, 20, .12); }
.marketplace-page .market-order-summary { box-shadow: 0 6px 20px #42250d08, inset 0 2px 4px rgba(255, 255, 255, .48), inset 0 -3px 5px rgba(87, 48, 20, .12); }
.marketplace-page :is(button, .button, [role="button"], .market-subscriptions-link):not(:disabled) {
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .42), inset 0 -2px 4px rgba(76, 39, 12, .16);
}
.marketplace-page .button-primary:not(:disabled) {
  box-shadow: 0 8px 18px #fe78012c, inset 0 2px 3px rgba(255, 255, 255, .42), inset 0 -2px 4px rgba(76, 39, 12, .16);
}
.marketplace-page .button-primary:not(:disabled):hover {
  box-shadow: 0 10px 20px #fe78013d, inset 0 2px 3px rgba(255, 255, 255, .42), inset 0 -2px 4px rgba(76, 39, 12, .16);
}

/* Final Marketplace overrides after shared button depth rules. */
.marketplace-page .market-product-card .market-product-heading button.market-favorite-toggle,
.marketplace-page .market-product-card .market-product-heading button.market-favorite-toggle:hover,
.marketplace-page .market-product-card .market-product-heading button.market-favorite-toggle:active,
.marketplace-page .market-product-card .market-product-heading button.market-favorite-toggle:focus,
.marketplace-page .market-product-card .market-product-heading button.market-favorite-toggle:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  transform: none;
  transition: none;
  outline: none;
}
.marketplace-page .market-search {
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .48), inset 0 -3px 5px rgba(87, 48, 20, .12);
}
.marketplace-page .market-quantity-controls .market-remove-item,
.marketplace-page .market-quantity-controls .market-remove-item:hover,
.marketplace-page .market-quantity-controls .market-remove-item:active,
.marketplace-page .market-quantity-controls .market-remove-item:focus,
.marketplace-page .market-quantity-controls .market-remove-item:focus-visible {
  box-shadow: none;
  text-shadow: none;
}
.marketplace-page .market-pdp-inline-favorite,
.marketplace-page .market-pdp-inline-favorite:hover,
.marketplace-page .market-pdp-inline-favorite:active,
.marketplace-page .market-pdp-inline-favorite:focus,
.marketplace-page .market-pdp-inline-favorite:focus-visible {
  border: 0;
  outline: 0;
  background: #fff1e5;
  box-shadow: none;
}
.profile-page .profile-summary {
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.72), inset 0 -3px 6px rgba(72, 39, 17, 0.10), 0 8px 16px rgba(41, 33, 27, 0.20);
}

.supplier-portal-view[data-supplier-section="profile"] > .admin-access-level-summary,
.admin-access-page .admin-access-level-summary.admin-self-profile {
  box-shadow: none;
}

.profile-page .profile-edit-link,
.profile-page .profile-logout,
.admin-access-page .admin-self-profile .profile-edit-link,
.admin-access-page .admin-profile-activity-panel .button-primary,
.admin-access-page .admin-profile-logout,
.supplier-portal-view[data-supplier-section="profile"] .supplier-profile-form .button-primary,
.supplier-portal-view[data-supplier-section="profile"] .supplier-profile-logout {
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.28), inset 0 -3px 4px rgba(92, 35, 0, 0.22), 0 5px 10px rgba(188, 90, 27, 0.25);
}

@media (min-width: 680px) {
  .home-pet-mascot-arrows {
    width: min(48%, 360px);
    top: auto;
    bottom: 8px;
    left: 27%;
    transform: translateX(-50%);
  }
}

/* Use the shared canvas color on every Furgo page except the customer homepage. */
html,
body { background-color: #fefaf6; }
main:not(.mobile-home) { background: #fefaf6 !important; }
main.splash-screen { background-color: #FE7801 !important; }
.pet-profile-page input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="range"]):not([type="color"]):not(:disabled),
.pet-profile-page textarea:not(:disabled),
.pet-profile-page select:not(:disabled),
.pet-profile-page input[type="date"] { background-color: #fdf2e6 !important; }
.pet-profile-page input[type="date"]:disabled { color: #a6a6a6 !important; -webkit-text-fill-color: #a6a6a6; opacity: 1; }
.pet-profile-page input[type="date"]:not(:disabled) { color: #242329 !important; -webkit-text-fill-color: #242329; }
.pet-profile-page .pet-birth-date-selects select { background-color: #fdf2e6 !important; }
.pet-profile-page .pet-birth-date-selects select:disabled { color: #a6a6a6 !important; }
.pet-profile-page .pet-birth-date-selects select:not(:disabled) { color: #242329 !important; }
.pet-profile-page .pet-occasion-buttons select[data-selected="true"] { color: #fff !important; background-color: var(--orange) !important; }

/* Add the Furgo inset 3D treatment to My Profile and its customer settings pages. */
.profile-page:not(.account-page):not(.support-destination) section:not(.profile-menu-group) {
  box-shadow: inset 0 2px 7px rgba(255, 255, 255, 0.78), inset 0 -4px 9px rgba(110, 72, 43, 0.09), 0 6px 16px rgba(56, 36, 18, 0.07);
}
.profile-page:not(.account-page):not(.support-destination) button,
.profile-page:not(.account-page):not(.support-destination) .profile-edit-link {
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.38), inset 0 -3px 5px rgba(92, 35, 0, 0.14), 0 4px 9px rgba(188, 90, 27, 0.16);
}
.profile-page:not(.account-page):not(.support-destination) input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.profile-page:not(.account-page):not(.support-destination) select,
.profile-page:not(.account-page):not(.support-destination) textarea {
  box-shadow: inset 0 2px 5px rgba(89, 58, 35, 0.09), inset 0 -1px 2px rgba(255, 255, 255, 0.88);
}
.profile-page.account-page:not(.tokens-page) section {
  box-shadow: inset 0 2px 7px rgba(255, 255, 255, 0.78), inset 0 -4px 9px rgba(110, 72, 43, 0.09), 0 6px 16px rgba(56, 36, 18, 0.07);
}
.profile-page.account-page:not(.tokens-page) button,
.profile-page.account-page:not(.tokens-page) .button {
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.38), inset 0 -3px 5px rgba(92, 35, 0, 0.14), 0 4px 9px rgba(188, 90, 27, 0.16);
}
.profile-page.account-page:not(.tokens-page) input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.profile-page.account-page:not(.tokens-page) select,
.profile-page.account-page:not(.tokens-page) textarea {
  box-shadow: inset 0 2px 5px rgba(89, 58, 35, 0.09), inset 0 -1px 2px rgba(255, 255, 255, 0.88);
}

/* Local Finder: add a subtle inset 3D finish while preserving existing colors. */
.local-finder-page .local-finder-share-card,
.local-finder-page .local-finder-favorites-banner,
.local-finder-page .local-finder-announcement-card,
.local-finder-page .local-finder-place-card,
.local-finder-page .local-finder-map-wrap,
.local-finder-page .local-finder-empty,
.local-finder-page .local-finder-loading,
.local-finder-page .local-finder-detail-summary,
.local-finder-page .local-finder-detail-contact,
.local-finder-page .local-finder-detail-facts,
.local-finder-page .local-finder-detail-actions,
.local-finder-page .local-finder-reviews,
.local-finder-page .local-finder-review {
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.76), inset 0 -3px 7px rgba(92, 58, 34, 0.11), 2px 4px 8px rgba(56, 36, 18, 0.1);
}
.local-finder-page button,
.local-finder-page .button,
.local-finder-page summary.button {
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.42), inset 0 -3px 5px rgba(92, 35, 0, 0.16), 0 3px 7px rgba(56, 36, 18, 0.12);
}
.local-finder-page input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.local-finder-page select,
.local-finder-page textarea {
  box-shadow: inset 0 2px 5px rgba(89, 58, 35, 0.1), inset 0 -1px 2px rgba(255, 255, 255, 0.88);
}
.local-finder-page .local-finder-search {
  min-height: 55px;
  gap: 12px;
  padding: 0 6px 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.76), inset 0 -3px 7px rgba(92, 58, 34, 0.11), 0 10px 22px rgba(104, 52, 19, 0.15), 0 2px 6px rgba(104, 52, 19, 0.08);
}
.local-finder-page .local-finder-search input {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  box-shadow: none !important;
}

/* Address settings: keep both address actions free of button shadows. */
.profile-page.account-page .account-address-actions .account-set-default,
.profile-page.account-page .account-address-actions .account-set-default:hover,
.profile-page.account-page .account-address-actions .account-set-default:focus,
.profile-page.account-page .account-address-actions .account-set-default:focus-visible,
.profile-page.account-page .account-address-actions .account-set-default:active {
  color: #fff !important;
  background: var(--orange) !important;
  box-shadow: none !important;
}

.profile-page.account-page .account-address-actions .account-remove,
.profile-page.account-page .account-address-actions .account-remove:hover,
.profile-page.account-page .account-address-actions .account-remove:focus,
.profile-page.account-page .account-address-actions .account-remove:focus-visible,
.profile-page.account-page .account-address-actions .account-remove:active {
  background: transparent !important;
  box-shadow: none !important;
}

.profile-page.account-page .account-address-actions .account-edit-address,
.profile-page.account-page .account-address-actions .account-edit-address:hover,
.profile-page.account-page .account-address-actions .account-edit-address:focus,
.profile-page.account-page .account-address-actions .account-edit-address:focus-visible,
.profile-page.account-page .account-address-actions .account-edit-address:active {
  box-shadow: none !important;
}

/* Seller Visibility Portal: intentionally isolated from the Store Portal UI. */
.seller-portal-page {
  --seller-orange: #fe7801;
  min-height: 100vh;
  padding: 24px clamp(16px, 3vw, 48px) 56px;
  color: #26252a;
  background: #fefaf6;
}
.seller-topbar { max-width: 1600px; margin: 0 auto 24px; padding: 12px 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f0dfd2; }
.seller-brand { display: inline-flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; font: 700 17px 'Avenir Next'; }
.seller-brand img { width: 42px; height: 42px; object-fit: contain; }
.seller-topbar > div { display: flex; align-items: center; gap: 16px; color: #766e69; }
.seller-topbar button, .seller-portal-page button, .seller-admin-page button { border: 0; border-radius: 12px; padding: 11px 16px; background: var(--seller-orange); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.seller-layout { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 26px; align-items: start; }
.seller-sidebar, .seller-card, .seller-kpi-grid :is(article, .seller-overview-kpi-card), .seller-admin-card { border: 1px solid #f0dfd2; border-radius: 20px; background: #fff; box-shadow: 0 7px 24px rgba(105, 64, 32, .06); }
.seller-sidebar { position: sticky; top: 18px; padding: 20px 14px; }
.seller-sidebar > strong { padding: 0 10px; color: #f06b00; font-size: 11px; letter-spacing: .12em; }
.seller-sidebar nav { display: grid; gap: 5px; margin: 16px 0; }
.seller-sidebar nav a { padding: 11px 10px; border-radius: 10px; color: #5d5753; font-weight: 650; text-decoration: none; }
.seller-sidebar nav a:hover, .seller-sidebar nav a.active { color: #d65c00; background: #fff1e5; }
.seller-sidebar small { display: block; padding: 12px 10px 0; border-top: 1px solid #f1e4da; color: #8b817a; line-height: 1.5; }
.seller-content { min-width: 0; }
.seller-heading { margin: 8px 0 22px; display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.seller-heading > div:first-child > span, .admin-market-heading > div > span { color: #ef6900; font-weight: 800; letter-spacing: .1em; font-size: 12px; }
.seller-heading h1 { margin: 5px 0 0; font-size: clamp(26px, 3vw, 38px); }
.seller-date-filter { display: flex; align-items: center; gap: 10px; color: #766e69; }
.seller-date-filter select { min-width: 150px; }
.seller-data-state { min-height: 160px; padding: 22px; border: 1px solid #f0dfd2; border-radius: 18px; background: #fff; color: #726963; }
.seller-error { padding: 18px; border-radius: 12px; background: #fff0ed; color: #b83c2d; }
.seller-card { margin: 0 0 18px; padding: 22px; min-width: 0; }
.seller-card h2 { margin: 0 0 14px; font-size: 21px; }
.seller-card h3 { margin: 20px 0 10px; }
.seller-muted, .seller-footnote { color: #837b76; line-height: 1.55; }
.seller-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; margin-bottom: 18px; }
.seller-kpi-grid :is(article, .seller-overview-kpi-card) { padding: 18px; display: grid; gap: 7px; }
.seller-kpi-grid :is(article, .seller-overview-kpi-card) > span { color: #77706a; font-weight: 650; }
.seller-kpi-grid :is(article, .seller-overview-kpi-card) > strong { color: #27252a; font-size: 27px; }
.seller-kpi-grid :is(article, .seller-overview-kpi-card) small { color: #8b837e; }
.seller-two-col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.seller-table-wrap { max-width: 100%; overflow-x: auto; }
.seller-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.seller-table th, .seller-table td { padding: 12px 10px; border-bottom: 1px solid #f1e5dc; text-align: left; vertical-align: middle; white-space: nowrap; }
.seller-table th { color: #827a75; font-size: 12px; letter-spacing: .04em; }
.seller-table td { font-size: 14px; }
.seller-marketplace-products-card .supplier-table-wrap { margin-top: 4px; }
.seller-marketplace-live-table { min-width: 1120px; font-size: 13px; }
.seller-marketplace-live-table th,
.seller-marketplace-live-table td { padding: 13px 12px; }
.seller-marketplace-live-table .supplier-product-cell { min-width: 230px; }
.seller-marketplace-live-table .supplier-product-cell-inner { gap: 12px; }
.seller-marketplace-live-table .supplier-product-cell-inner > span:last-child { display: grid; gap: 4px; min-width: 0; }
.seller-marketplace-live-table .supplier-product-cell strong { color: var(--ink); font-size: 14px; }
.seller-marketplace-live-table .supplier-product-cell small { color: var(--muted); font-size: 12px; }
.seller-marketplace-live-table .supplier-product-variant-lines { gap: 5px; font-size: 13px; line-height: 1.45; }
.seller-marketplace-live-table .supplier-product-sold-number { font-weight: 700; }
.seller-empty-cell { padding: 25px !important; color: #8a817b; text-align: center !important; white-space: normal !important; }
.seller-product-cell { display: flex; align-items: center; gap: 10px; white-space: normal; min-width: 155px; }
.seller-product-cell img, .seller-listing-image { width: 42px; height: 42px; object-fit: cover; border-radius: 9px; background: #fff5ed; }
.seller-product-cell span { display: grid; }
.seller-product-cell small { color: #8b817b; }
.seller-inventory-card .seller-inventory-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.seller-inventory-card .seller-inventory-heading h2 { margin-bottom: 6px; }
.seller-inventory-card .seller-inventory-heading p { margin: 0; }
.seller-inventory-summary { display: grid; gap: 4px; flex: 0 0 auto; min-width: 160px; padding: 12px 16px; border-radius: 14px; background: #fff5ed; color: #26252a; }
.seller-inventory-summary span { color: #766e69; font-size: 12px; font-weight: 650; }
.seller-inventory-summary strong { font-size: 15px; }
.seller-inventory-card .seller-table { min-width: 1160px; }
.seller-inventory-card .seller-table th,
.seller-inventory-card .seller-table td { padding: 14px 11px; }
.seller-inventory-card .seller-table th { white-space: nowrap; }
.seller-inventory-product-cell { display: flex; align-items: center; gap: 11px; min-width: 205px; white-space: normal; }
.seller-inventory-product-cell > img,
.seller-inventory-placeholder { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; object-fit: cover; border: 1px solid #f0dfd2; border-radius: 11px; background: #fff5ed; }
.seller-inventory-placeholder { color: #fe7801; font-size: 23px; }
.seller-inventory-product-cell > span { display: grid; gap: 4px; }
.seller-inventory-product-cell strong { color: #26252a; }
.seller-inventory-product-cell small,
.seller-inventory-units { display: block; color: #827a75; font-size: 12px; }
.seller-inventory-variants { display: grid; gap: 4px; min-width: 110px; color: #716a65; }
.seller-inventory-card .seller-table td > strong { color: #26252a; }
.seller-inventory-card .seller-table td .seller-outline-button { white-space: nowrap; }
.seller-status { display: inline-block; padding: 5px 9px; border-radius: 20px; color: #9c510b; background: #fff1df; font-size: 12px; font-weight: 700; }
.seller-status.seller-store-status-live { color: #238451; background: #e8f5eb; }
.seller-status.seller-store-status-hidden { color: #747474; background: #ededed; }
.seller-negative { color: #c43e32; }
.seller-positive { color: #218250; }
.seller-simple-list { margin: 0; padding: 0; list-style: none; }
.seller-simple-list li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f2e7df; }
.seller-simple-list li:last-child { border-bottom: 0; }
.seller-settings-list { margin: 0 0 22px; }
.seller-settings-list > div { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1fr); padding: 11px 0; border-bottom: 1px solid #f2e7df; gap: 14px; }
.seller-settings-list dt { color: #817871; }
.seller-settings-list dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.seller-preferences { display: grid; gap: 12px; }
.seller-preferences label { display: flex; align-items: center; gap: 9px; }
.seller-preferences input { accent-color: var(--seller-orange); }
.seller-preferences button, .seller-report-actions button, .seller-outline-button { justify-self: start; }
.seller-report-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.seller-report-actions button, .seller-outline-button { border: 1px solid #f17a1a !important; color: #dd6400 !important; background: transparent !important; }
.seller-sales-toolbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; margin: 0 0 14px; }
.seller-sales-toolbar label { display: grid; min-width: 0; gap: 5px; color: #766e69; font-size: 13px; font-weight: 650; }
.seller-pagination { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 14px; color: #766e69; }
.seller-pagination > div { display: flex; gap: 8px; }
.seller-pagination button:disabled { opacity: .45; cursor: default; }
.seller-admin-page { --seller-orange: #fe7801; background: #fefaf6; }
.seller-admin-page .admin-market-panel { max-width: 1500px; margin: 0 auto; }
.seller-admin-form, .seller-admin-card { margin: 0 0 18px; padding: 20px; border: 1px solid #f0dfd2; border-radius: 18px; background: #fff; }
.seller-admin-global-requests { margin: 0 0 20px; padding: 20px; border: 1px solid #f0dfd2; border-radius: 18px; background: #fff; }
.seller-admin-global-requests-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.seller-admin-global-requests-heading h2 { margin: 0; color: #111; }
.seller-admin-page .seller-admin-global-requests-heading button { min-height: 40px; padding: 8px 14px; border: 1px solid #fe7801; border-radius: 10px; color: #d96100; background: transparent; font-size: 13px; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.seller-admin-page .seller-admin-global-requests-heading button:hover { border-color: #e96f00; color: #fff; background: #e96f00; }
.seller-admin-fee-management { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 20px; padding: 18px 20px; border: 1px solid #f0dfd2; border-radius: 16px; background: #fffaf6; }
.seller-admin-fee-management h2 { margin: 0 0 5px; color: #26252a; }
.seller-admin-fee-management p { margin: 0; color: #827a74; font-size: 14px; line-height: 1.45; }
.seller-admin-fee-management > a { flex: 0 0 auto; }
.seller-admin-form, .seller-admin-card form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.seller-admin-form h2 { flex-basis: 100%; margin: 0; }
.seller-admin-form label, .seller-admin-card form label { display: grid; flex: 1 1 180px; gap: 6px; color: #625b56; font-weight: 650; }
.seller-admin-form .seller-admin-business-address { flex-basis: 100%; }
.seller-admin-page input, .seller-admin-page select, .seller-portal-page select, .seller-admin-card input { min-height: 42px; width: 100%; padding: 9px 11px; border: 1px solid #ead9cc; border-radius: 10px; color: #302d2a; background: #fff; font: inherit; }
.seller-admin-form [role="status"], .seller-admin-card [role="status"] { color: #807771; }
.seller-admin-card { padding: 22px; }
.seller-admin-card-heading { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #f1e5dc; }
.seller-admin-card > summary { list-style: none; cursor: pointer; align-items: center; margin: 0; padding: 0 0 14px; }
.seller-admin-card > summary::-webkit-details-marker { display: none; }
.seller-admin-card > summary::after { content: "＋"; color: #ef6900; font-size: 20px; font-weight: 700; }
.seller-admin-card[open] > summary::after { content: "−"; }
.seller-admin-card-heading > div > span { color: #ef6900; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.seller-admin-card-heading h2 { margin: 4px 0; }
.seller-admin-card-heading p { margin: 4px 0; color: #827a74; }
.seller-admin-card-summary-meta { display: flex; align-items: center; gap: 14px; margin-left: auto; color: #827a74; font-size: 13px; }
.seller-admin-card-content { padding-top: 14px; }
.seller-admin-card-details { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: #fff7f0; }
.seller-admin-card-details p { margin: 3px 0; color: #827a74; }
.seller-admin-card-details strong { color: #302d2a; }
.seller-admin-products { display: grid; gap: 8px; margin: 16px 0; }
.seller-admin-product-row, .seller-admin-request-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f1e5dc; }
.seller-admin-product-row > div, .seller-admin-request-row > div { display: grid; gap: 4px; }
.seller-admin-product-row small, .seller-admin-request-row small { color: #847a73; }
.seller-admin-product-row form, .seller-admin-request-row form { justify-content: end; }
.seller-admin-product-row form label { flex: 0 1 140px; }
.seller-admin-request-row input { width: min(260px, 100%); }
.seller-admin-subsection { padding-top: 4px; }
.seller-admin-subsection > h3 { margin: 14px 0 8px; }
.seller-admin-card-content > form { margin: 0 0 14px; }
.seller-admin-seller-detail-list { display: grid; gap: 0; margin: 0 0 18px; padding: 0 16px; }
.seller-admin-seller-detail-list > div { display: grid; gap: 4px; padding: 11px 0; border-bottom: 1px solid #f1e5dc; }
.seller-admin-seller-detail-list > div:last-child { border-bottom: 0; }
.seller-admin-seller-detail-list dt { color: #827a74; font-size: 13px; font-weight: 650; }
.seller-admin-seller-detail-list dd { margin: 0; color: #302d2a; overflow-wrap: anywhere; }
.seller-admin-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 16px; border: 1px solid #efc7c1; border-radius: 14px; background: #fff7f5; }
.seller-admin-danger-zone h3 { margin: 0 0 5px; color: #a83227; }
.seller-admin-danger-zone p { margin: 0; color: #806b67; font-size: 13px; }
.seller-admin-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.seller-admin-card-actions [data-edit-seller-details] { border: 1px solid #fe7801 !important; color: #fff !important; background: #fe7801 !important; }
.seller-admin-card-actions [data-edit-seller-details]:hover { border-color: #e96800 !important; background: #e96800 !important; }
.seller-admin-card-actions .seller-payout-fee-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; box-sizing: border-box; padding: 10px 16px; border: 1px solid #fe7801; border-radius: 10px; color: #d95e00; background: transparent; font-size: 14px; font-weight: 700; text-decoration: none; }
.seller-admin-card-actions .seller-payout-fee-link:hover { color: #fff; background: #fe7801; }
.seller-payout-fee-page { display: grid; gap: 18px; }
.seller-payout-fee-heading { padding: 4px 0 16px; border-bottom: 1px solid #f1e5dc; }
.seller-payout-fee-heading > div > span { color: #ef6900; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.seller-payout-fee-heading h2 { margin: 5px 0 0; }
.seller-payout-fee-placeholder { min-height: 120px; padding: 20px; border: 1px solid #f1e5dc; border-radius: 14px; background: #fff; }
.seller-payout-fee-placeholder h3 { margin: 0 0 8px; color: #292522; }
.seller-payout-fee-placeholder p { margin: 0; color: #827a74; }
.seller-payout-fee-page > [data-payout-fee-status]:empty { display: none; }
.seller-payout-fee-panel { padding: 22px; border: 1px solid #f1e5dc; border-radius: 16px; background: #fff; }
.seller-payout-fee-panel h3 { margin: 0 0 8px; color: #292522; }
.seller-payout-fee-help { margin: 0 0 18px; color: #827a74; }
.seller-payout-fee-form, .seller-payout-record-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
.seller-payout-fee-form label, .seller-payout-record-form label, .seller-payout-preview label { display: grid; gap: 7px; color: #39332f; font-weight: 700; }
.seller-payout-fee-form input, .seller-payout-fee-form select, .seller-payout-record-form input, .seller-payout-record-form select, .seller-payout-preview input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #eadbd0; border-radius: 12px; background: #fffaf6; color: #292522; font: inherit; box-sizing: border-box; }
.seller-warehouse-allocation-rows { display: grid; gap: 10px; }
.seller-warehouse-allocation-empty { margin: 0; padding: 13px 14px; border-radius: 11px; background: #fff5ee; color: #71675f; font-size: 13px; line-height: 1.45; }
.seller-warehouse-allocation-row { display: grid; grid-template-columns: minmax(150px, 1.15fr) minmax(120px, .8fr) minmax(120px, .9fr) auto auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid #f0dfd2; border-radius: 12px; background: #fff; }
.seller-warehouse-allocation-row label { display: grid; min-width: 0; gap: 6px; color: #39332f; font-size: 12px; font-weight: 700; }
.seller-warehouse-allocation-row select, .seller-warehouse-allocation-row input { min-height: 42px; padding: 8px 10px; font-size: 13px; }
.seller-warehouse-allocation-rate { align-self: center; color: #827a74; font-size: 12px; line-height: 1.35; }
.seller-warehouse-line-total { align-self: center; color: #272522; white-space: nowrap; }
.seller-warehouse-remove-allocation { min-height: 40px; padding: 8px 10px; border: 1px solid #efc7c1; border-radius: 9px; color: #b83b2e; background: #fff7f5; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.seller-warehouse-allocation-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seller-warehouse-add-allocation { min-height: 40px; padding: 8px 12px; border: 1px solid #fe7801; border-radius: 10px; color: #d96100; background: transparent; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.seller-warehouse-allocation-footer > strong { display: flex; align-items: baseline; gap: 8px; color: #39332f; font-size: 13px; }
.seller-warehouse-allocation-footer > strong span { color: #272522; font-size: 16px; }
.seller-payout-primary { min-height: 48px; padding: 11px 18px; border: 0; border-radius: 12px; background: #fe7801; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.seller-payout-primary:disabled { opacity: .6; cursor: wait; }
[data-fee-save-status], [data-payout-save-status] { align-self: center; color: #32794b; }
[data-fee-save-status].is-error, [data-payout-save-status].is-error { color: #b83b2e; }
.seller-payout-preview { display: grid; grid-template-columns: minmax(180px, .6fr) minmax(150px, .4fr) 2fr; gap: 14px; align-items: end; margin-top: 20px; padding: 16px; border-radius: 14px; background: #fff5ee; }
.seller-payout-preview > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; color: #685f58; }
.seller-payout-preview > div span { display: flex; justify-content: space-between; gap: 10px; }
.seller-payout-preview > div b { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid #ead8ca; padding-top: 8px; color: #292522; }
.seller-payout-records { display: grid; gap: 8px; margin-bottom: 18px; }
.seller-payout-records article { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px; border-radius: 12px; background: #fff5ee; }
.seller-payout-records article > div { display: grid; gap: 3px; }
.seller-payout-records article span, .seller-payout-empty { color: #827a74; }
.seller-payout-status { padding: 5px 10px; border-radius: 999px; background: #fff0dc; color: #914800 !important; font-weight: 700; }
.seller-payout-calculate { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.seller-payout-calculate > span { color: #827a74; font-size: .92em; }
.seller-payout-calculate > span.is-error { color: #b83b2e; }
.seller-payout-section-heading { margin-bottom: 20px; }
.seller-payout-section-heading h3 { margin-bottom: 6px; }
.seller-payout-section-heading .seller-payout-fee-help { margin-bottom: 0; }
.seller-payout-overview { display: grid; gap: 18px; }
.seller-payout-overview > h2 { margin-bottom: 0; }
.seller-payout-overview > .seller-muted { margin: -10px 0 0; }
.seller-fee-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.seller-fee-overview-card { min-width: 0; overflow: hidden; border: 1px solid #303030; border-radius: 24px; background: #292929; color: #f7f7f7; }
.seller-fee-overview-card > header { display: flex; align-items: flex-start; gap: 14px; padding: 22px 22px 14px; }
.seller-fee-overview-card > header img { width: 36px; height: 36px; flex: 0 0 36px; margin-top: 2px; object-fit: contain; filter: none; }
.seller-fee-overview-card > header .seller-fee-heading-copy { display: block; min-width: 0; flex: 1; }
.seller-fee-overview-card h3 { margin: 0 0 5px; color: #fe7801; font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.seller-fee-overview-card h2, .seller-fee-overview-card h4, .seller-fee-overview-card h5 { color: #fff !important; }
.seller-fee-overview-card > header p { margin: 0; color: #b7b7b7; font-size: .95rem; line-height: 1.45; }
.seller-fee-state { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: #292929; color: #d2d2d2; font-size: .78rem; font-weight: 650; white-space: nowrap; }
.seller-fee-state.is-active { background: #06391f; color: #36c978; }
.seller-fee-overview-total { display: grid; gap: 14px; margin: 0 16px 14px; padding: 16px; border-radius: 17px; background: #fe7801; }
.seller-fee-total-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .8); }
.seller-fee-total-top > div { display: grid; gap: 4px; }
.seller-fee-total-top > div > span:first-child { color: #fff; font-size: .9rem; }
.seller-fee-total-top > div > strong { color: #fff; font-size: clamp(1.75rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.12; }
.seller-fee-overview-total .seller-fee-billing-period { color: #fff; font-size: .88rem; }
.seller-fee-deduction-state { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: rgba(84, 38, 0, .3); color: #fff; font-size: .78rem; font-weight: 650; }
.seller-fee-deduction-state.is-none { background: rgba(84, 38, 0, .22); color: #fff; }
.seller-fee-overview-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.seller-fee-overview-stats > div { display: grid; gap: 3px; min-width: 0; }
.seller-fee-overview-stats > div > span { color: #fff; font-size: .86rem; }
.seller-fee-overview-stats > div > strong { color: #fff; font-size: 1.1rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.seller-fee-more { border-top: 1px solid #242424; }
.seller-fee-more > summary { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 10px 16px; color: #e5e5e5; font-size: .92rem; font-weight: 500; cursor: pointer; list-style: none; }
.seller-fee-more > summary::-webkit-details-marker { display: none; }
.seller-fee-more > summary::after { content: '⌄'; margin-left: 9px; color: #fe7801; font-size: 1.1em; transition: transform .18s ease; }
.seller-fee-more[open] > summary::after { transform: rotate(180deg); }
.seller-fee-detail-content { padding: 2px 16px 18px; border-top: 1px solid #242424; color: #ededed; }
.seller-fee-detail-content h4 { margin: 16px 0 8px; color: #f7f7f7; font-size: 1rem; font-weight: 600; }
.seller-fee-detail-content > p { margin: 0; color: #b8b8b8; line-height: 1.55; }
.seller-fee-detail-content dl { display: grid; gap: 0; margin: 0; }
.seller-fee-detail-content dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #f0dfd2; }
.seller-fee-detail-content dt { color: #b8b8b8; }
.seller-fee-detail-content dd { margin: 0; color: #f7f7f7; font-weight: 650; text-align: right; }
.seller-fee-stock-list { display: grid; gap: 0; border: 1px solid #343434; border-radius: 12px; background: #171717; }
.seller-fee-stock-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #343434; }
.seller-fee-stock-list > div:last-child { border-bottom: 0; }
.seller-fee-stock-list > div span { min-width: 0; overflow-wrap: anywhere; color: #d0d0d0; }
.seller-fee-stock-list > div strong { flex: 0 0 auto; color: #f7f7f7; }
.seller-fee-included-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 0; padding: 0; list-style: none; color: #dedede; }
.seller-fee-included-list li::before { content: '✓'; margin-right: 8px; color: #36c978; font-weight: 700; }
.seller-fee-history-table-wrap { max-height: 280px; overflow: auto; border: 1px solid #343434; border-radius: 10px; background: #171717; }
.seller-fee-history-table-wrap table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.seller-fee-history-table-wrap th, .seller-fee-history-table-wrap td { padding: 10px; border-bottom: 1px solid #343434; text-align: left; vertical-align: top; }
.seller-fee-history-table-wrap th { position: sticky; top: 0; z-index: 1; background: #242424; color: #c8c8c8; }
.seller-fee-history-table-wrap td { color: #ededed; }
.seller-fee-history-table-wrap td:nth-child(n+3) { white-space: nowrap; }
.seller-fee-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.seller-fee-card { display: flex; min-width: 0; flex-direction: column; gap: 16px; padding: 18px; border: 1px solid #f0dfd2; border-radius: 14px; background: #fffaf6; }
.seller-fee-card header { display: flex; min-height: 54px; align-items: flex-start; gap: 12px; }
.seller-fee-card header img { display: block; width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; filter: brightness(0) saturate(100%) invert(48%) sepia(95%) saturate(1988%) hue-rotate(3deg) brightness(101%) contrast(102%); }
.seller-fee-card header h4 { margin: 0 0 5px; color: #fe7801; font-size: 16px; }
.seller-fee-card header p { margin: 0; color: #827a74; font-size: 12px; font-weight: 500; line-height: 1.45; }
.seller-fee-card label { margin-top: auto; }
.seller-payout-basis-field { grid-column: 1; }
.seller-payout-save-fees { grid-column: 2; width: 100%; }
.seller-payout-fee-feedback { grid-column: 1 / -1; min-height: 1.25em; }
.seller-payout-period-fields { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 16px; padding: 16px; border-radius: 14px; background: #fff5ee; }
.seller-payout-calculate { grid-column: 1 / -1; }
.seller-payout-statement-field { grid-column: 1 / -1; }
.seller-payout-record-submit { grid-column: 1 / -1; }
.seller-payout-record-feedback { grid-column: 1 / -1; min-height: 1.25em; }
@media (max-width: 720px) {
  .seller-payout-fee-form, .seller-payout-record-form, .seller-payout-preview,
  .seller-fee-cards, .seller-payout-period-fields { grid-template-columns: 1fr; }
  .seller-admin-fee-management { align-items: stretch; flex-direction: column; }
  .seller-admin-fee-management > a { width: 100%; box-sizing: border-box; }
  .seller-warehouse-allocation-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-warehouse-allocation-row label:first-child { grid-column: 1 / -1; }
  .seller-warehouse-allocation-rate { grid-column: 1 / -1; }
  .seller-warehouse-line-total { align-self: center; }
  .seller-fee-overview-grid { grid-template-columns: 1fr; }
  .seller-payout-fee-form > *, .seller-payout-record-form > *,
  .seller-payout-period-fields > *, .seller-payout-basis-field,
  .seller-payout-save-fees, .seller-payout-fee-feedback,
  .seller-payout-statement-field, .seller-payout-record-submit,
  .seller-payout-record-feedback { grid-column: 1; }
  .seller-payout-fee-panel { padding: 16px; }
  .seller-payout-preview > div { grid-template-columns: 1fr; }
  .seller-payout-records article { grid-template-columns: 1fr auto; }
  .seller-payout-records article .seller-payout-status { grid-column: 1 / -1; justify-self: start; }
}
.seller-admin-seller-details-feedback:empty { display: none; }
.seller-admin-details-dialog { position: fixed; inset: 0; box-sizing: border-box; width: min(620px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; }
.seller-admin-details-dialog::backdrop { background: rgba(28, 24, 21, .52); backdrop-filter: blur(2px); }
.seller-admin-card .seller-admin-seller-details-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; box-sizing: border-box; max-height: calc(100dvh - 32px); margin: 0; padding: 24px; overflow-y: auto; border: 1px solid #f0dfd2; border-radius: 18px; background: #fff; box-shadow: 0 22px 70px rgba(26, 19, 14, .28); }
.seller-admin-details-dialog-heading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.seller-admin-details-dialog-heading h2 { margin: 0; color: #222; }
.seller-admin-card .seller-admin-details-dialog-heading button { flex: 0 0 38px; width: 38px; min-height: 38px; padding: 0; border: 1px solid #fe7801; border-radius: 50%; color: #fff; background: #fe7801; font-size: 25px; line-height: 1; }
.seller-admin-card .seller-admin-seller-details-form label { display: grid; gap: 6px; color: #625b56; font-size: 13px; font-weight: 650; }
.seller-admin-seller-details-form input, .seller-admin-seller-details-form textarea { box-sizing: border-box; width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #ead9cc; border-radius: 10px; color: #302d2a; background: #fff; font: inherit; }
.seller-admin-seller-details-form textarea { min-height: 76px; resize: vertical; }
.seller-admin-seller-details-form .seller-admin-seller-address { grid-column: 1 / -1; }
.seller-admin-details-dialog-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.seller-admin-card .seller-admin-details-dialog-actions button { min-height: 42px; padding: 10px 18px; border: 0; border-radius: 10px; color: #fff; background: #fe7801; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.seller-admin-card .seller-admin-details-dialog-actions button:hover { background: #e96800; }
.seller-admin-seller-details-form [role="status"] { grid-column: 1 / -1; color: #807771; font-size: 13px; }
.seller-admin-page .seller-danger-button { color: #b74336 !important; background: #fff0ed !important; }
.seller-admin-page button[data-delete-seller] { color: #fff !important; background: #d93025 !important; transition: background-color 150ms ease, box-shadow 150ms ease; }
.seller-admin-page button[data-delete-seller]:hover { background: #b42318 !important; box-shadow: 0 4px 10px rgba(180, 35, 24, .22); }
.seller-admin-page button[data-delete-seller]:focus-visible { outline: 3px solid rgba(217, 48, 37, .3); outline-offset: 3px; }
.seller-warehouse-allocation-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 138px); align-items: end; justify-content: stretch; gap: 12px; }
.seller-warehouse-allocation-footer > label { display: grid; min-width: 0; gap: 7px; margin: 0; color: #39332f; font-size: 13px; font-weight: 700; }
.seller-warehouse-allocation-footer > label input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #eadbd0; border-radius: 12px; color: #292522; background: #fffaf6; font: inherit; }
.seller-warehouse-allocation-footer > label input[readonly] { cursor: default; }
.seller-warehouse-add-allocation { box-sizing: border-box; width: 100%; max-width: 138px; height: 48px; min-height: 48px; min-width: 0; align-self: end; padding: 5px 8px; font-size: 11px; line-height: 1.15; white-space: normal; overflow-wrap: anywhere; }
.seller-warehouse-allocation-row { grid-template-columns: minmax(130px, 1.1fr) minmax(125px, .9fr) minmax(110px, .7fr) auto; align-items: center; }
.seller-warehouse-allocation-row > label input[readonly] { width: 100%; box-sizing: border-box; color: #39332f; background: #fffaf6; }
.seller-warehouse-allocation-row-actions { display: flex; gap: 7px; align-items: center; }
.seller-warehouse-allocation-row-actions button { min-height: 36px; padding: 7px 10px; border: 1px solid #fe7801; border-radius: 9px; color: #d96100; background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.seller-warehouse-allocation-row-actions button:hover { background: #fff1e4; }
.seller-warehouse-allocation-modal[hidden] { display: none !important; }
.seller-warehouse-allocation-modal { position: fixed; z-index: 10050; inset: 0; display: grid; place-items: center; box-sizing: border-box; padding: 20px; }
.seller-warehouse-allocation-backdrop { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: rgba(25, 23, 21, .52); cursor: default; }
.seller-warehouse-allocation-dialog { position: relative; z-index: 1; display: grid; gap: 16px; box-sizing: border-box; width: min(100%, 520px); max-height: min(90dvh, 720px); margin: auto; padding: 26px; overflow: auto; border: 1px solid #f0dfd2; border-radius: 20px; background: #fff; box-shadow: 0 24px 80px rgba(25, 20, 16, .28); }
.seller-warehouse-allocation-dialog h3 { margin: 0; padding-right: 42px; color: #24211f; font-size: 22px; }
.seller-warehouse-allocation-dialog > p { margin: -8px 0 0; color: #827a74; line-height: 1.5; }
.seller-warehouse-allocation-dialog > label { display: grid; gap: 7px; color: #39332f; font-size: 14px; font-weight: 700; }
.seller-warehouse-allocation-dialog select, .seller-warehouse-allocation-dialog input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #eadbd0; border-radius: 12px; color: #292522; background: #fffaf6; font: inherit; }
.seller-warehouse-allocation-dialog .seller-warehouse-allocation-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; min-height: 38px; padding: 0; border: 1px solid #fe7801; border-radius: 50%; color: #fff; background: #fe7801; font-size: 25px; line-height: 1; cursor: pointer; }
.seller-warehouse-allocation-modal-calculation { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: #fff5ee; color: #827a74; }
.seller-warehouse-allocation-modal-calculation strong { color: #292522; white-space: nowrap; }
.seller-warehouse-allocation-modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.seller-warehouse-allocation-modal-actions button { min-height: 42px; padding: 10px 16px; border: 1px solid #fe7801; border-radius: 10px; color: #d96100; background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.seller-warehouse-allocation-modal-actions .seller-warehouse-allocation-confirm { color: #fff; background: #fe7801; }
.seller-warehouse-allocation-modal-actions .seller-warehouse-allocation-confirm:hover { background: #e96800; }
.seller-warehouse-allocation-dialog [role="status"] { color: #b83b2e; font-size: 13px; }
body.seller-allocation-modal-open { overflow: hidden; }
@media (max-width: 720px) {
  .seller-warehouse-allocation-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 128px); align-items: end; gap: 8px; }
  .seller-warehouse-allocation-footer > button { justify-self: stretch; max-width: 128px; }
  .seller-warehouse-allocation-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .seller-warehouse-allocation-row > div:first-child,
  .seller-warehouse-allocation-row > label,
  .seller-warehouse-allocation-row > .seller-warehouse-line-total,
  .seller-warehouse-allocation-row-actions { grid-column: 1 / -1; }
  .seller-warehouse-allocation-row-actions { justify-content: flex-end; }
  .seller-warehouse-allocation-dialog { padding: 22px 18px; }
  .seller-warehouse-allocation-modal-calculation { align-items: flex-start; flex-direction: column; }
}
.seller-admin-fee-management h2,
.seller-admin-form h2 { font-size: 20px; line-height: 1.25; font-weight: 700; }
.seller-warehouse-allocation-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 130px); }
.seller-warehouse-add-allocation { max-width: 130px; padding: 6px 10px; font-size: 13px; line-height: 1.2; white-space: nowrap; overflow-wrap: normal; }
.seller-warehouse-allocation-row { grid-template-columns: minmax(0, 1.2fr) minmax(150px, .9fr) minmax(105px, auto) auto; align-items: center; gap: 14px; padding: 16px; }
.seller-warehouse-allocation-summary { display: grid; min-width: 0; gap: 5px; }
.seller-warehouse-allocation-summary strong { color: #292522; font-size: 15px; line-height: 1.3; }
.seller-warehouse-allocation-summary > span { color: #827a74; font-size: 13px; line-height: 1.4; }
.seller-warehouse-allocation-row > label { align-self: center; gap: 7px; font-size: 12px; }
.seller-warehouse-area-input { display: flex; min-width: 0; align-items: center; gap: 10px; }
.seller-warehouse-area-input input { flex: 1 1 auto; min-width: 0; }
.seller-warehouse-area-input > span { flex: 0 0 auto; color: #655d57; font-size: 13px; font-weight: 700; }
.seller-warehouse-line-total { color: #292522; font-size: 15px; font-weight: 750; }
.seller-warehouse-line-total span { color: #827a74; font-size: 12px; font-weight: 600; }
.seller-warehouse-allocation-row-actions button:disabled,
.seller-warehouse-allocation-modal-actions button:disabled { opacity: .6; cursor: wait; }
.seller-warehouse-allocation-modal { background: transparent !important; }
.seller-warehouse-allocation-dialog { background-color: #fff !important; }
.seller-warehouse-allocation-dialog .seller-warehouse-area-input { width: 100%; box-sizing: border-box; padding: 0 13px; border: 1px solid #eadbd0; border-radius: 12px; background: #fffaf6; }
.seller-warehouse-allocation-dialog .seller-warehouse-area-input input { flex: 1 1 auto; min-width: 0; padding-left: 0; padding-right: 0; border: 0; background: transparent; box-shadow: none; }
.seller-warehouse-allocation-dialog .seller-warehouse-area-input input:focus { outline: none; }
.seller-warehouse-allocation-dialog .seller-warehouse-area-input > span:empty { display: none; }
@media (max-width: 720px) {
  .seller-warehouse-allocation-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 120px); }
  .seller-warehouse-add-allocation { max-width: 120px; font-size: 12px; }
  .seller-warehouse-allocation-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .seller-warehouse-allocation-summary,
  .seller-warehouse-allocation-row > label,
  .seller-warehouse-line-total,
  .seller-warehouse-allocation-row-actions { grid-column: 1 / -1; }
}
.seller-request-heading p { margin: 6px 0 0; color: #827a74; line-height: 1.5; }
.seller-request-list { margin-top: 18px; }
.seller-request-edit-products { margin-top: 18px; }
.seller-request-edit-products > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.seller-request-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f1e5dc; }
.seller-request-card-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.seller-request-card-main > img { width: 62px; height: 62px; flex: 0 0 62px; border-radius: 12px; object-fit: cover; background: #fff5ed; }
.seller-request-card-main > div { display: grid; gap: 5px; }
.seller-request-card-main small { color: #827a74; }
.seller-request-card-main p { margin: 2px 0 0; color: #a43d32; }
.seller-request-status-approved { color: #237b4b; background: #e8f6ed; }
.seller-request-status-rejected { color: #a43d32; background: #fff0ed; }
.seller-request-status-in-waiting-list { color: #6c5b18; background: #fff6d9; }
.seller-admin-product-request { box-sizing: border-box; margin: 0 0 14px; padding: 18px; border: 1px solid #f0dfd2; border-radius: 16px; background: #fffdfb; }
.seller-admin-product-request-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.seller-admin-product-request-heading h4 { margin: 7px 0 4px; color: #222; font-size: 19px; line-height: 1.3; }
.seller-admin-product-request-heading small { display: block; color: #827a74; font-size: 13px; line-height: 1.5; }
.seller-admin-product-request .seller-status { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 12px; line-height: 1.3; }
.seller-admin-product-request-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.seller-admin-product-request-details p { min-width: 0; margin: 0; padding: 14px; border: 1px solid #f4e7dc; border-radius: 12px; background: #fff5ed; color: #625b56; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.seller-admin-product-request-details p strong { display: inline-block; margin-bottom: 5px; color: #28252a; font-size: 13px; }
.seller-admin-request-photos { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0; }
.seller-admin-request-photos img { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 11px; border: 1px solid #f0dfd2; object-fit: cover; background: #fff; }
.seller-review-product-request { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f1e5dc; }
.seller-review-product-request > label { min-width: 0; display: grid; gap: 6px; color: #625b56; font-size: 13px; font-weight: 650; }
.seller-review-product-request [role="status"] { grid-column: 1 / -1; min-height: 0; color: #807771; font-size: 13px; }
.seller-review-product-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.seller-review-product-actions button { min-height: 40px; padding: 9px 14px; border-radius: 10px; font-size: 13px; white-space: nowrap; }
.seller-review-product-actions .seller-outline-button { border: 1px solid #f17a1a !important; color: #dd6400 !important; background: transparent !important; }
.seller-admin-page .seller-review-product-actions button { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.seller-admin-page .seller-review-product-actions button[data-decision="Approve"]:hover:not(:disabled) { background: #e96f00; box-shadow: 0 3px 9px rgba(190, 87, 0, .2); }
.seller-admin-page .seller-review-product-actions button[data-decision="Reject"] { border: 1px solid #c8372b !important; color: #fff !important; background: #c8372b !important; }
.seller-admin-page .seller-review-product-actions button[data-decision="Reject"]:hover { border-color: #a92d24 !important; background: #a92d24 !important; box-shadow: 0 3px 9px rgba(160, 45, 36, .2); }
.seller-admin-page .seller-review-product-actions .seller-outline-button:hover { border-color: #d65e00 !important; color: #a94a00 !important; background: #fff1e3 !important; box-shadow: 0 3px 9px rgba(190, 87, 0, .12); }
.seller-admin-page .seller-review-product-actions button:disabled { border-color: #ddd6d0 !important; color: #928b85 !important; background: #eeeae7 !important; box-shadow: none !important; cursor: not-allowed; }
.seller-layout { grid-template-columns: minmax(0, 1fr); }
.seller-content { width: min(100%, 1100px); margin: 0 auto; padding-bottom: 96px; }
.seller-heading { min-height: 76px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.seller-heading > div:first-child { grid-column: 2; grid-row: 1; text-align: center; }
.seller-heading > div:first-child > span { display: block; }
.seller-heading h1 { margin: 4px 0 0; }
.seller-date-filter { grid-column: 3; grid-row: 1; justify-self: end; }
.seller-date-filter[hidden] { display: none !important; }
.seller-data-state { width: 100%; box-sizing: border-box; }
.seller-portal-page input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.seller-portal-page select,
.seller-portal-page textarea { box-sizing: border-box; border: 1px solid #ead9cc; border-radius: 12px; color: #302d2a; background: #fff; box-shadow: inset 0 2px 5px rgba(94, 63, 40, .07); font: 14px 'Avenir Next', sans-serif; }
.seller-portal-page input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.seller-portal-page select { min-height: 44px; }
.seller-portal-page textarea { min-height: 96px; padding: 11px 13px; }
.seller-portal-page input:focus, .seller-portal-page select:focus, .seller-portal-page textarea:focus { border-color: #fe7801; outline: 2px solid rgba(254, 120, 1, .15); }
.seller-portal-page button { transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.seller-portal-page button:hover { filter: brightness(.97); }
.seller-card, .seller-kpi-grid :is(article, .seller-overview-kpi-card), .seller-data-state { box-sizing: border-box; }
.seller-kpi-grid :is(article, .seller-overview-kpi-card) { min-width: 0; align-content: start; }
.seller-card > :last-child { margin-bottom: 0; }
.seller-settings-list > div { align-items: baseline; }
.seller-signout-button { display: block; min-width: 140px; margin: 0 0 20px auto; }
.seller-section-tabs { display: flex; gap: 9px; margin: 0 0 16px; padding: 7px; border: 1px solid #f0dfd2; border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(105, 64, 32, .05); }
.seller-section-tabs a { flex: 1 1 0; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 11px; color: #625b56; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; }
.seller-section-tabs a:hover, .seller-section-tabs a.active { color: #fff; background: #fe7801; }
.seller-profile-back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: #df6500; font-weight: 700; text-decoration: none; }
.seller-profile-menu { width: 100%; max-width: none; margin: 0 0 22px; }
.seller-profile-menu .profile-menu-group { margin: 0; padding: 20px 22px 10px; border: 1px solid #f0dfd2; border-radius: 18px; background: #fff; box-shadow: 0 7px 24px rgba(105, 64, 32, .06); }
.seller-profile-menu .profile-menu-group h2 { margin-bottom: 8px; font-size: 19px; }
.seller-profile-menu .profile-menu-row { min-height: 54px; padding: 0 12px; border-bottom: 1px solid #f2e7df; border-radius: 10px; color: #28252a; font-size: 15px; text-decoration: none; }
.seller-profile-menu .profile-menu-row:last-child { border-bottom: 0; }
.seller-profile-menu .profile-menu-row:hover { background: #fff7f0; }
.seller-profile-menu .profile-chevron { color: #fe7801; font-size: 24px; }
.bottom-nav.seller-bottom-nav { width: min(660px, calc(100% - 32px)); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seller-bottom-nav .bottom-item { text-decoration: none; }
.seller-bottom-nav .bottom-item span { max-width: 100%; font-size: 11px; line-height: 1.05; text-align: center; }
.seller-bottom-nav .bottom-item img { width: 24px; height: 24px; }
.supplier-inventory-supplier-dialog [readonly] { background: #fff8f2; color: #554d47; }

/* Seller portal primary text uses a strong black; secondary/help and status colors stay muted. */
.seller-portal-page { color: #111; }
.seller-portal-page h1,
.seller-portal-page h2,
.seller-portal-page h3,
.seller-portal-page h4,
.seller-portal-page label,
.seller-portal-page .seller-topbar > div,
.seller-portal-page .seller-sidebar nav a,
.seller-portal-page .seller-section-tabs a:not(.active),
.seller-portal-page .seller-date-filter,
.seller-portal-page .seller-kpi-grid article > span,
.seller-portal-page .seller-kpi-grid article > strong,
.seller-portal-page .seller-simple-list li > span,
.seller-portal-page .seller-simple-list li > strong,
.seller-portal-page .seller-settings-list dt,
.seller-portal-page .seller-settings-list dd,
.seller-portal-page .seller-table tbody td:not(.seller-empty-cell):not(.seller-negative):not(.seller-positive),
.seller-portal-page .seller-request-card-main > strong,
.seller-portal-page .seller-request-heading h2 { color: #111; }
.seller-portal-page .seller-heading h1,
.seller-portal-page .seller-card h2,
.seller-portal-page .seller-card h3 { color: #111; }
.seller-portal-page .seller-fee-overview-card > header .seller-fee-heading-copy h3 { color: #fe7801; font-weight: 700; }
.seller-request-intro { margin: 0 0 18px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.seller-request-intro .seller-request-heading h2 { margin: 0; color: #111; }
.seller-request-intro .seller-request-heading p { margin: 6px 0 0; color: #111; line-height: 1.5; }
.seller-request-intro { display: flex; align-items: flex-start; flex-direction: column; gap: 14px; }
.seller-request-intro [data-open-seller-request] { align-self: flex-start; }
.seller-request-modal[hidden] { display: none !important; }
.seller-request-modal-backdrop { position: fixed; z-index: 12000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(28, 24, 21, .52); }
.seller-request-modal-dialog { position: relative; width: min(100%, 1080px); max-height: min(92vh, 960px); max-height: min(92dvh, 960px); overflow: auto; padding: 52px 18px 18px; border-radius: 22px; background: #fff; box-shadow: 0 22px 70px rgba(26, 19, 14, .28); }
.seller-request-modal-dialog .supplier-product-editor { margin-top: 0; }
.seller-request-modal .supplier-form-grid > .seller-request-name-field { grid-column: 1 / -1; }
.seller-request-modal [data-remove-seller-request-photo] {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  color: #a53f31;
  background: #fff0eb;
}
.seller-request-modal [data-remove-seller-request-photo] svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.seller-request-modal [data-remove-seller-request-photo]:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.seller-request-variant-row { grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(95px, .75fr) minmax(140px, 1fr) auto; }
.seller-request-modal .seller-request-cancel-button,
.seller-request-modal .seller-request-cancel-button:hover,
.seller-request-modal .seller-request-cancel-button:focus-visible,
.seller-request-modal .seller-request-cancel-button:active { border: 1px solid #fe7801 !important; color: #fe7801 !important; background: transparent !important; box-shadow: none !important; filter: none !important; }
.seller-request-modal-close { position: absolute; z-index: 1; top: 12px; right: 12px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 !important; border: 1px solid #fe7801 !important; border-radius: 50% !important; color: #fff !important; background: #fe7801 !important; font-size: 26px !important; line-height: 1; }
.seller-portal-page .seller-section-tabs a:hover,
.seller-portal-page .seller-section-tabs a:focus-visible { color: #fff; background: #fe7801; }
.seller-portal-page .seller-account-profile-form,
.seller-portal-page .seller-account-password-form { width: 100%; margin: 0; }
.seller-profile-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.seller-profile-summary-heading h2 { margin: 0; }
.seller-profile-summary [data-seller-profile-status]:empty { display: none; }
.seller-profile-summary [data-seller-profile-status] { margin: 10px 0 0; color: #218250; font-size: 13px; }
.seller-portal-page [data-seller-profile-summary][hidden] { display: none !important; }
.seller-profile-edit-dialog { box-sizing: border-box; width: min(760px, calc(100% - 32px)); max-width: 760px; max-height: min(90vh, 900px); overflow-y: auto; margin: auto; padding: 28px; border: 1px solid #f0dfd2; border-radius: 20px; background: #fff; box-shadow: 0 22px 70px rgba(26, 19, 14, .28); }
.seller-profile-edit-dialog::backdrop { background: rgba(28, 24, 21, .52); }
.seller-profile-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.seller-profile-dialog-heading h2 { margin: 0 !important; }
.seller-profile-edit-dialog .seller-profile-dialog-close { width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%; color: #fff; background: #fe7801; font-size: 26px; line-height: 1; }
.seller-profile-edit-dialog .seller-profile-dialog-close:hover { filter: brightness(.95); }
.seller-profile-form-actions { display: grid; gap: 10px; }
.seller-profile-form-actions .seller-outline-button { justify-self: start; }
.seller-change-password-card { width: min(100%, 760px); margin-inline: auto; }
.seller-change-password-card .change-password-form { width: 100%; margin: 0; padding: 0; border: 0; }
.seller-change-password-page .seller-heading { max-width: 1600px; margin: 18px auto 22px; }
.seller-change-password-page .seller-content { padding-bottom: 0; }
.seller-portal-page .seller-account-profile-form h2:not(:first-child) { margin-top: 28px; }
.seller-portal-page .seller-account-profile-form .edit-field textarea { width: 100%; min-height: 96px; padding: 11px 13px; border: 1px solid #ead9cc; border-radius: 12px; color: #302d2a; background: #fff; box-shadow: inset 0 2px 5px rgba(94, 63, 40, .07); font: 14px 'Avenir Next', sans-serif; resize: vertical; }
.seller-portal-page .seller-account-profile-form .edit-field textarea:focus { border-color: #fe7801; outline: 2px solid rgba(254, 120, 1, .15); }
.seller-portal-page .seller-table tbody td.seller-negative { color: #c43e32; }
.seller-portal-page .seller-table tbody td.seller-positive { color: #218250; }
.seller-portal-page .seller-inventory-card { overflow: hidden; }
.seller-portal-page .seller-warehouse-heading { align-items: flex-start; margin-bottom: 18px; }
.seller-portal-page .seller-warehouse-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.seller-portal-page .seller-warehouse-summary { width: 100%; max-width: none; margin: 0 0 20px; }
.seller-portal-page .seller-warehouse-stock-heading { margin: 0 0 12px; }
.seller-portal-page .seller-warehouse-stock-heading h2 { margin: 0; }
.seller-portal-page .seller-inventory-toolbar { grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, 210px)); }
.seller-portal-page .seller-inventory-table { min-width: 980px; }
.seller-portal-page .seller-inventory-table .supplier-inventory-product-cell { min-width: 190px; }
.seller-portal-page .seller-inventory-table .supplier-inventory-expiry { color: var(--muted); font-size: 11px; white-space: normal; }
.seller-portal-page .seller-inventory-table .supplier-inventory-actions { min-width: 150px; }
.seller-portal-page .seller-inventory-table .seller-outline-button { min-height: 34px; padding: 0 10px; border: 1px solid var(--orange) !important; border-radius: 9px; color: var(--orange-dark) !important; background: transparent !important; font: 700 11px 'Avenir Next', sans-serif; cursor: pointer; }
.seller-portal-page .seller-inventory-note { margin: 12px 0 0; font-size: 11px; }
.seller-stock-dialog { box-sizing: border-box; width: min(680px, calc(100vw - 28px)); max-height: min(88vh, 820px); margin: auto; padding: 20px; overflow: auto; border: 1px solid #f1dfd0; border-radius: 18px; color: var(--ink); background: #fffaf5; box-shadow: 0 18px 55px rgba(37, 26, 17, .2); }
.seller-stock-dialog::backdrop { background: rgba(35, 31, 28, .42); }
.seller-stock-dialog-content { min-width: 0; }
.seller-stock-dialog .supplier-stock-batches { max-height: min(52vh, 440px); }
.seller-stock-dialog .supplier-stock-batch { grid-template-columns: minmax(0, 1fr); background: #fff; }
.seller-stock-dialog .seller-stock-batch-readonly > div:first-child { display: none; }
.seller-stock-dialog .seller-stock-batch-history-trigger { width: 100%; grid-template-columns: 24px minmax(0, 1fr); appearance: none; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.seller-stock-dialog .seller-stock-batch-history-trigger:hover,
.seller-stock-dialog .seller-stock-batch-history-trigger:focus-visible { border-color: #fe7801; outline: none; }
.seller-stock-dialog .seller-stock-batch-history-trigger > div:first-child { display: grid; width: 24px; min-height: 24px; place-items: center; color: #fe7801; font-size: 22px; font-weight: 700; }
.seller-stock-dialog .supplier-stock-batch-main > p { overflow-wrap: anywhere; }
.seller-stock-dialog .supplier-stock-history-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 14px 0; border: 1px solid #f1dfd0; border-radius: 11px; overflow: hidden; background: #fff; }
.seller-stock-dialog .supplier-stock-history-tabs button { min-height: 40px; border: 0; border-right: 1px solid #f1dfd0; color: var(--muted); background: #fff; font: 700 12px 'Avenir Next', sans-serif; cursor: pointer; }
.seller-stock-dialog .supplier-stock-history-tabs button:last-child { border-right: 0; }
.seller-stock-dialog .supplier-stock-history-tabs button.active { color: #fff; background: #fe7801; }
.seller-stock-dialog .supplier-stock-history-batch { padding: 12px; border: 1px solid #f1dfd0; border-radius: 12px; background: #fff; }
.seller-stock-dialog .supplier-stock-history-batch > summary { display: grid; gap: 5px; cursor: pointer; list-style: none; }
.seller-stock-dialog .supplier-stock-history-batch > summary::-webkit-details-marker { display: none; }
.seller-stock-dialog .supplier-stock-history-batch > summary strong { color: var(--ink); font-size: 13px; }
.seller-stock-dialog .supplier-stock-history-batch > summary span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.seller-stock-dialog .supplier-stock-history-movements { display: grid; gap: 8px; margin-top: 12px; }
.seller-stock-dialog .supplier-stock-history-entry { padding-top: 9px; border-top: 1px solid #f1dfd0; }
.seller-stock-dialog .supplier-stock-history-entry > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.seller-stock-dialog .supplier-stock-history-entry strong.is-positive { color: #218250; }
.seller-stock-dialog .supplier-stock-history-entry strong.is-negative { color: #c43e32; }
.seller-stock-dialog .supplier-stock-history-entry > div span,
.seller-stock-dialog .supplier-stock-history-entry small,
.seller-stock-dialog .supplier-stock-history-entry p { color: var(--muted); font-size: 11px; }
.seller-stock-dialog .supplier-stock-history-entry p { margin: 5px 0 0; }
.seller-stock-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #f1dfd0; }
.seller-stock-dialog-actions button { min-height: 40px; padding: 0 16px; border: 1px solid #fe7801; border-radius: 10px; color: #e96d00; background: transparent; font: 700 12px 'Avenir Next', sans-serif; cursor: pointer; }
.seller-stock-dialog-actions button:hover { background: #fff0e2; }
.seller-stock-dialog-actions .seller-stock-export-download-button { color: #fff; background: #fe7801; }
.seller-stock-dialog-actions .seller-stock-export-download-button:hover { background: #ed6d00; }
.seller-stock-data-error { margin: 12px 0; padding: 10px 12px; border-radius: 10px; color: #a94737; background: #fff1ed; font-size: 12px; line-height: 1.5; }
.seller-stock-data-error code { font-size: .95em; }
.seller-stock-table-error { margin: 12px 0 0; }
.seller-portal-page .seller-inventory-table th:nth-child(6),
.seller-portal-page .seller-inventory-table td:nth-child(6) { text-align: center; }
.seller-portal-page .seller-inventory-table .supplier-inventory-actions-wrap { width: 100%; justify-content: center; }
.seller-portal-page .seller-inventory-table .supplier-inventory-actions { display: flex; width: 100%; min-width: 0; justify-content: center; }
.seller-portal-page .seller-inventory-table .seller-stock-details-button { min-width: 132px; border-color: #fe7801 !important; color: #fff !important; background: #fe7801 !important; }
.seller-portal-page .seller-inventory-table .seller-stock-details-button:hover { border-color: #ed6d00 !important; color: #fff !important; background: #ed6d00 !important; }
.seller-portal-page .seller-inventory-table .supplier-inventory-status-cell { padding-top: 12px; padding-bottom: 12px; vertical-align: middle; }
.seller-portal-page .seller-inventory-toolbar input[data-inventory-search],
.seller-portal-page .seller-inventory-toolbar select,
.seller-portal-page .supplier-product-search input,
.seller-portal-page .supplier-product-filter select,
.seller-portal-page .seller-sales-toolbar select,
.seller-portal-page .seller-date-filter select,
.seller-portal-page .seller-date-filter input[type="date"],
.seller-stock-dialog .supplier-stock-export-date-filter select,
.seller-stock-dialog .supplier-stock-export-custom-range input[type="date"] { background-color: #fffaf5; }
.seller-portal-page .seller-inventory-toolbar input[data-inventory-search] { border-color: #ead9cc; color: #302d2a; caret-color: auto; }
.seller-portal-page .seller-inventory-toolbar input[data-inventory-search]::placeholder { color: #827a75; }
.seller-portal-page .seller-inventory-toolbar input[data-inventory-search]::-webkit-search-cancel-button { filter: none; }
.seller-portal-page .seller-inventory-toolbar input[data-inventory-search],
.seller-portal-page .supplier-product-search input { background: #fffaf5 !important; }
.seller-stock-dialog.seller-stock-history-dialog,
.seller-stock-dialog.seller-stock-history-export-dialog { position: fixed; inset: 0; margin: auto; transform: none; width: min(720px, calc(100vw - 28px)); max-height: min(88vh, 850px); background: #fff; }
.seller-stock-dialog.seller-stock-history-dialog[open] { box-sizing: border-box; display: flex; height: min(82dvh, 760px); max-height: calc(100dvh - 32px); flex-direction: column; overflow: hidden; }
.seller-stock-dialog.seller-stock-history-dialog .seller-stock-dialog-content.supplier-stock-history-content { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; overflow: hidden; }
.seller-stock-dialog.seller-stock-history-dialog .supplier-stock-history-title-row,
.seller-stock-dialog.seller-stock-history-dialog .supplier-stock-history-tabs { flex: 0 0 auto; }
.seller-stock-dialog.seller-stock-history-dialog .supplier-stock-history-panel:not([hidden]) { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; overflow: hidden; }
.seller-stock-dialog.seller-stock-history-dialog .supplier-stock-history-list { box-sizing: border-box; min-height: 0; max-height: none; flex: 1 1 auto; align-content: start; grid-auto-rows: max-content; overflow-x: hidden; overflow-y: scroll; overscroll-behavior: contain; scrollbar-gutter: stable; }
.seller-stock-dialog.seller-stock-history-dialog .seller-stock-dialog-actions { flex: 0 0 auto; }
.seller-stock-dialog .supplier-stock-history-tabs { border: 0; border-radius: 0; overflow: visible; background: transparent; }
.seller-stock-dialog .supplier-stock-history-tabs button { min-height: 40px; padding: 8px 10px; border: 1px solid #ead9cb; border-radius: 10px; color: #5d5149; background: #fffaf5; font: 700 12px 'Avenir Next', sans-serif; }
.seller-stock-dialog .supplier-stock-history-tabs button:last-child { border-right: 1px solid #ead9cb; }
.seller-stock-dialog .supplier-stock-history-tabs button.is-active { border-color: #fe7801; color: #fff; background: #fe7801; }
.seller-stock-dialog-actions .seller-back-stock-details-button { border-color: #fe7801; color: #fff; background: #fe7801; }
.seller-stock-dialog-actions .seller-back-stock-details-button:hover { background: #ed6d00; }
.seller-stock-dialog.seller-stock-history-export-dialog form > h2 { margin: 0 0 6px; }
.seller-stock-dialog.seller-stock-history-export-dialog .seller-stock-dialog-actions { justify-content: space-between; }
.seller-stock-movement-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.seller-stock-movement-heading h2 { margin: 0; }
.seller-portal-page .seller-inline-date-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px auto; }
.seller-portal-page .seller-sales-toolbar > .seller-inline-date-filter { display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; justify-self: stretch; width: 100%; min-width: 0; margin: 0; box-sizing: border-box; }
.seller-portal-page .seller-sales-toolbar .seller-inline-date-filter > label { display: block; min-width: 0; }
.seller-portal-page .seller-sales-toolbar .seller-inline-date-filter > select { width: 100%; min-width: 0; }
.seller-portal-page .seller-inline-date-filter input[type="date"] { min-width: 150px; }
.seller-portal-page .seller-stock-movement-heading .seller-inline-date-filter { margin-bottom: 0; }
@media (max-width: 640px) {
  .seller-stock-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 16px; }
  .seller-stock-dialog.seller-stock-history-dialog[open] { width: calc(100vw - 20px); height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); }
  .seller-stock-dialog .supplier-stock-details-heading { align-items: flex-start; }
  .seller-stock-dialog-actions { display: grid; grid-template-columns: 1fr; }
  .seller-stock-dialog-actions button { width: 100%; }
}
@media (max-width: 900px) {
  .seller-layout { grid-template-columns: 1fr; }
  .seller-sidebar { position: static; }
  .seller-sidebar nav { display: flex; overflow-x: auto; }
  .seller-sidebar nav a { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .seller-portal-page { padding: 12px 12px 34px; }
  .seller-content { padding-bottom: 104px; }
  .seller-brand { font-size: 14px; }
  .seller-topbar { align-items: flex-start; gap: 8px; }
  .seller-topbar > div { flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; }
  .seller-topbar button { padding: 8px 10px; }
  .seller-heading { align-items: flex-start; flex-direction: column; }
  .seller-heading { min-height: 0; display: flex; align-items: center; text-align: center; }
  .seller-heading > div:first-child { width: 100%; text-align: center; }
  .seller-date-filter { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); justify-self: stretch; }
  .seller-date-filter input[type="date"] { grid-column: 2; }
  .seller-two-col { grid-template-columns: 1fr; }
  .seller-card { padding: 16px; }
  .seller-inventory-card .seller-inventory-heading { flex-direction: column; }
  .seller-inventory-summary { width: 100%; box-sizing: border-box; }
  .seller-portal-page .seller-warehouse-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-portal-page .seller-warehouse-heading { flex-direction: column; }
  .seller-portal-page .seller-inventory-toolbar { grid-template-columns: minmax(0, 1fr); }
  .seller-portal-page .seller-sales-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .seller-portal-page .seller-sales-toolbar > label { width: 100%; min-width: 0; }
  .seller-portal-page .seller-sales-toolbar > label > select { width: 100%; min-width: 0; }
  .seller-portal-page .seller-sales-toolbar > .seller-inline-date-filter { grid-column: 1 / -1; width: 100%; margin: 0; }
  .seller-portal-page .seller-sales-toolbar > .seller-inline-date-filter > select { min-width: 0; flex: 1 1 150px; }
  .seller-stock-movement-heading { align-items: stretch; flex-direction: column; }
  .seller-portal-page .seller-inline-date-filter { width: 100%; margin-left: 0; }
  .seller-portal-page .seller-inline-date-filter input[type="date"] { flex: 1 1 140px; min-width: 0; }
  .seller-settings-list > div { grid-template-columns: 1fr; gap: 4px; }
  .seller-admin-card > summary { align-items: flex-start; }
  .seller-admin-card-summary-meta { flex-wrap: wrap; gap: 5px 10px; }
  .seller-admin-card-details { align-items: stretch; flex-direction: column; }
  .seller-admin-card-actions { align-items: stretch; }
  .seller-admin-card-actions .seller-payout-fee-link { flex: 1 1 auto; }
  .seller-admin-danger-zone { align-items: stretch; flex-direction: column; }
  .seller-admin-card .seller-admin-seller-details-form { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px; }
  .seller-admin-card .seller-admin-seller-details-form .seller-admin-seller-address,
  .seller-admin-card .seller-admin-details-dialog-heading,
  .seller-admin-card .seller-admin-details-dialog-actions,
  .seller-admin-card .seller-admin-seller-details-form [role="status"] { grid-column: 1; }
  .seller-admin-product-row, .seller-admin-request-row { align-items: stretch; flex-direction: column; }
  .seller-admin-product-row form, .seller-admin-request-row form { justify-content: flex-start; }
  .seller-admin-page .admin-market-heading { padding-inline: 12px; }
  .seller-admin-product-request-details { grid-template-columns: 1fr; }
  .seller-request-card { align-items: stretch; flex-direction: column; }
  .seller-review-product-request { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .seller-review-product-request [role="status"] { grid-column: auto; }
  .seller-review-product-actions { display: grid; grid-template-columns: 1fr; }
  .seller-section-tabs { gap: 4px; padding: 5px; }
  .seller-section-tabs a { min-height: 40px; padding: 7px 5px; font-size: 11px; }
  .seller-profile-menu .profile-menu-group { padding: 16px 15px 8px; }
  .seller-profile-edit-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 20px 16px; border-radius: 16px; }
  .seller-request-modal-backdrop { align-items: flex-start; padding: 10px; }
  .seller-request-modal-dialog { width: 100%; max-height: calc(100dvh - 20px); padding: 50px 10px 10px; border-radius: 16px; }
  .seller-request-variant-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-request-variant-row > .supplier-variant-image-field { grid-column: 1 / -1; }
  .seller-request-variant-row > .supplier-variant-remove { justify-self: end; }
}

/* Seller warehouse fee allocations: keep cards and modal contained at every width. */
.seller-admin-page .seller-warehouse-allocation-modal {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: clamp(12px, 3vw, 24px);
  background: rgba(25, 23, 21, .56) !important;
}
.seller-admin-page .seller-warehouse-allocation-modal[hidden] { display: none !important; }
.seller-admin-page .seller-warehouse-allocation-modal .seller-warehouse-allocation-backdrop {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent !important;
  box-shadow: none !important;
  cursor: default;
}
.seller-admin-page .seller-warehouse-allocation-dialog {
  width: min(100%, 560px);
  max-width: 100%;
  max-height: calc(100dvh - 2 * clamp(12px, 3vw, 24px));
  min-width: 0;
  background: #fff !important;
}
.seller-admin-page .seller-warehouse-allocation-dialog select:focus,
.seller-admin-page .seller-warehouse-allocation-dialog input:focus {
  border-color: #fe7801;
  outline: 2px solid rgba(254, 120, 1, .2);
  outline-offset: 1px;
}
.seller-admin-page .seller-fee-card-warehouse-allocation,
.seller-admin-page .seller-warehouse-allocation-rows,
.seller-admin-page .seller-warehouse-allocation-row { min-width: 0; }
.seller-admin-page .seller-fee-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.seller-admin-page .seller-warehouse-allocation-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "summary total" "area actions";
  align-items: center;
  gap: 12px 16px;
  box-sizing: border-box;
  padding: 14px;
}
.seller-admin-page .seller-warehouse-allocation-summary { grid-area: summary; display: grid; min-width: 0; gap: 4px; overflow-wrap: anywhere; }
.seller-admin-page .seller-warehouse-allocation-summary strong,
.seller-admin-page .seller-warehouse-allocation-summary span { min-width: 0; overflow-wrap: anywhere; }
.seller-admin-page .seller-warehouse-allocation-row > label { grid-area: area; min-width: 0; }
.seller-admin-page .seller-warehouse-area-input { width: 100%; box-sizing: border-box; }
.seller-admin-page .seller-warehouse-line-total {
  grid-area: total;
  min-width: 0;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}
.seller-admin-page .seller-warehouse-allocation-row-actions {
  grid-area: actions;
  min-width: 0;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.seller-admin-page .seller-warehouse-allocation-footer { min-width: 0; }
.seller-admin-page .seller-warehouse-allocation-footer > label { min-width: 0; }
.seller-admin-page .seller-warehouse-allocation-footer { grid-template-columns: minmax(0, 1fr) max-content; }
.seller-admin-page .seller-warehouse-allocation-footer > button { width: auto; max-width: 100%; white-space: nowrap; overflow-wrap: normal; }
@media (max-width: 520px) {
  .seller-admin-page .seller-fee-cards { grid-template-columns: minmax(0, 1fr); }
  .seller-admin-page .seller-warehouse-allocation-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "summary" "total" "area" "actions";
    gap: 10px;
  }
  .seller-admin-page .seller-warehouse-line-total { text-align: left; }
  .seller-admin-page .seller-warehouse-allocation-row-actions { justify-content: flex-start; }
  .seller-admin-page .seller-warehouse-allocation-footer { grid-template-columns: minmax(0, 1fr); }
  .seller-admin-page .seller-warehouse-add-allocation { width: 100%; max-width: none; }
  .seller-admin-page .seller-warehouse-allocation-modal-calculation strong { white-space: normal; }
  .seller-admin-page .seller-warehouse-allocation-modal-actions { flex-wrap: wrap; }
}

/* Keep seller fee cards and saved storage allocations readable on every screen. */
.seller-admin-page .seller-fee-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.seller-admin-page .seller-warehouse-allocation-row {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "summary" "actions";
  align-items: start;
  gap: 8px;
}
.seller-admin-page .seller-warehouse-allocation-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  min-width: 0;
}
.seller-admin-page .seller-warehouse-allocation-summary > * {
  align-self: flex-start;
  margin: 0;
  text-align: left;
}
.seller-admin-page .seller-warehouse-allocation-summary .seller-warehouse-allocation-rate {
  display: block;
  color: #292522;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.seller-admin-page .seller-warehouse-allocation-summary .seller-warehouse-line-total {
  display: block;
  align-self: flex-start;
  margin: 0;
  color: #fe7801;
  text-align: left;
  white-space: nowrap;
}
.seller-admin-page .seller-warehouse-allocation-summary .seller-warehouse-line-total span {
  color: #fe7801;
  font-size: 12px;
  line-height: 1.4;
}
.seller-admin-page .seller-warehouse-allocation-summary .seller-warehouse-allocation-amount {
  display: block;
  color: #fe7801;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  white-space: nowrap;
}
.seller-admin-page .seller-warehouse-allocation-row-actions {
  justify-content: flex-start;
}
.seller-admin-page .seller-warehouse-allocation-row-actions [data-edit-warehouse-allocation] {
  box-sizing: border-box;
  flex: 0 0 60px;
  width: 60px;
  justify-content: center;
  border-color: #fe7801;
  color: #fff;
  background: #fe7801;
}
.seller-admin-page .seller-warehouse-allocation-row-actions [data-edit-warehouse-allocation]:hover {
  border-color: #e96800;
  background: #e96800;
}
.seller-admin-page .seller-warehouse-allocation-row-actions .seller-warehouse-remove-allocation-icon {
  display: inline-grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-height: 36px;
  place-items: center;
  padding: 0;
  border-color: #efc7c1;
  color: #b83b2e;
  background: #fff7f5;
}
.seller-admin-page .seller-warehouse-remove-allocation-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.seller-admin-page .seller-warehouse-allocation-footer {
  grid-template-columns: minmax(max-content, 1fr) minmax(0, 112px);
}
.seller-admin-page .seller-warehouse-allocation-footer > label {
  white-space: nowrap;
}
.seller-admin-page .seller-warehouse-allocation-footer > button {
  width: 112px;
  justify-self: end;
  padding-inline: 8px;
  font-size: 12px;
}
.seller-admin-page .seller-warehouse-allocation-dialog .seller-warehouse-area-input:focus-within {
  border-color: #fe7801;
}
.seller-admin-page .seller-warehouse-allocation-dialog .seller-warehouse-area-input input:focus,
.seller-admin-page .seller-warehouse-allocation-dialog .seller-warehouse-area-input input:focus-visible {
  border: 0;
  outline: none;
  box-shadow: none;
}
@media (max-width: 600px) {
  .seller-admin-page .seller-warehouse-allocation-footer {
    grid-template-columns: minmax(0, 1fr);
  }
  .seller-admin-page .seller-warehouse-allocation-footer > button {
    width: 100%;
    justify-self: stretch;
  }
}
@media (max-width: 900px) {
  .seller-admin-page .seller-fee-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Admin seller management: keep fee rules and seller operations visually distinct. */
.seller-admin-management-sections {
  display: grid;
  gap: 22px;
  width: min(100%, 1500px);
  margin: 0 auto;
}
.seller-admin-management-sections > .seller-admin-fee-management {
  align-items: center;
  margin: 14px 0 0;
  padding: 26px 28px;
  border-color: #fe7801;
  background: #fe7801;
}
.seller-admin-fee-management h2,
.seller-admin-fee-management p {
  color: #fff;
}
.seller-admin-fee-management h2 {
  margin: 8px 0 8px;
  font-size: 22px;
}
.seller-admin-fee-management p {
  color: rgba(255, 255, 255, .92);
}
.seller-admin-fee-link {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 18px;
  border: 1px solid #fff;
  border-radius: 12px;
  color: #26252a;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(74, 42, 20, .18);
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.seller-admin-fee-link:hover,
.seller-admin-fee-link:focus-visible {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.seller-admin-marketplace-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px;
  box-sizing: border-box;
}
.seller-admin-marketplace-title {
  margin: 2px 0 0;
  color: #26252a;
  font-size: 24px;
}
.seller-admin-global-requests {
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}
.seller-admin-global-requests-heading {
  margin: 0 0 16px;
  padding-top: 8px;
}
.seller-admin-open-assign {
  min-height: 44px;
  margin: 2px 0 20px;
  padding: 10px 18px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: #fe7801;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.seller-admin-open-assign:hover,
.seller-admin-open-assign:focus-visible { background: #e96800; }
.seller-admin-assign-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  background: transparent;
}
.seller-admin-assign-dialog::backdrop {
  background: rgba(28, 24, 21, .52);
  backdrop-filter: blur(2px);
}
.seller-admin-assign-dialog .seller-admin-form {
  margin: 0;
  padding: 24px;
  border: 1px solid #f0dfd2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(26, 19, 14, .28);
}
.seller-admin-assign-heading {
  display: flex;
  flex-basis: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.seller-admin-assign-heading h2 { margin: 0; }
.seller-admin-assign-heading button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  padding: 0;
  border: 1px solid #fe7801;
  border-radius: 50%;
  color: #fff;
  background: #fe7801;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 720px) {
  .seller-admin-management-sections > .seller-admin-fee-management { align-items: stretch; padding: 22px 18px; }
  .seller-admin-fee-link { width: 100%; }
  .seller-admin-marketplace-panel { padding: 18px; }
  .seller-admin-global-requests-heading { align-items: flex-start; }
  .seller-admin-assign-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .seller-admin-assign-dialog .seller-admin-form { padding: 18px; }
}

/* Marketplace fee rule uses the same summary-card and centered dialog pattern. */
.admin-fee-rule-summaries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-fee-rule-summary { display: flex; flex-direction: column; box-sizing: border-box; }
.admin-fee-rule-summary > header { display: flex; flex: 1 1 auto; width: 100%; height: 100%; box-sizing: border-box; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 14px; }
.admin-fee-rule-summary > header > div { flex: 0 0 auto; }
.admin-fee-rule-summary .button { width: 100%; min-width: 0; margin-top: auto; }
.admin-marketplace-fee-panel { display: grid; gap: 16px; }
.admin-marketplace-fee-panel .admin-market-panel-heading { margin-bottom: 0; }
.admin-marketplace-fee-config { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; padding: 16px; border: 1px solid #f1dfd0; border-radius: 14px; background: #fffdfa; }
.admin-marketplace-fee-config label { display: grid; gap: 7px; min-width: 0; color: #39332f; font-size: 13px; font-weight: 700; }
.admin-marketplace-fee-config input { width: 100%; min-width: 0; min-height: 46px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #eadbd0; border-radius: 11px; background: #fffaf6; color: #292522; font: inherit; font-size: 14px; }
.admin-marketplace-fee-config .button { min-height: 46px; white-space: nowrap; }
.admin-marketplace-fee-preview { display: grid; grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr); align-items: end; gap: 12px 14px; padding: 16px; border-radius: 14px; background: #fff5ee; }
.admin-marketplace-fee-preview > header { grid-column: 1 / -1; }
.admin-marketplace-fee-preview h3 { margin: 0 0 4px; color: #292522; font: 700 17px 'Avenir Next'; }
.admin-marketplace-fee-preview > header p { margin: 0; color: #71675f; font-size: 13px; line-height: 1.5; }
.admin-marketplace-fee-preview > label { display: grid; gap: 7px; color: #39332f; font-size: 13px; font-weight: 700; }
.admin-marketplace-fee-preview input { width: 100%; min-width: 0; min-height: 46px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #eadbd0; border-radius: 11px; background: #fffaf6; color: #292522; font: inherit; font-size: 14px; }
.admin-marketplace-fee-estimate { margin: 0; padding: 16px; border-radius: 14px; background: #fff5ee; color: #292522; font-size: 16px; font-weight: 700; }
.admin-marketplace-fee-preview .admin-marketplace-fee-estimate { background: #fff; }
.admin-marketplace-fee-status { min-height: 1em; margin: 0; color: #615850; font-size: 13px; }
.admin-marketplace-fee-status.is-error { color: #b42318; }
@media (max-width: 1100px) { .admin-fee-rule-summaries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .admin-fee-rule-summaries { grid-template-columns: 1fr; } .admin-marketplace-fee-config, .admin-marketplace-fee-preview { grid-template-columns: 1fr; } .admin-marketplace-fee-config .button { width: 100%; } .admin-marketplace-fee-preview > header { grid-column: auto; } }

/* Seller overview dashboard */
.seller-portal-page .seller-overview-period-filter {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 10px 8px 14px;
  border: 0;
  border-radius: 14px;
  color: #302d2a;
  background: var(--seller-orange);
}
.seller-portal-page .seller-overview-period-filter[hidden] { display: none !important; }
.seller-portal-page .seller-overview-period-filter > label {
  flex: 0 0 auto;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.seller-portal-page .seller-overview-period-filter > select {
  min-width: 142px;
  min-height: 38px;
  padding: 6px 30px 6px 10px;
  border: 1px solid #ead9cc;
  border-radius: 9px;
  color: inherit;
  background-color: #fff;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}
.seller-portal-page .seller-overview-period-filter > select option { color: #26252a; background: #fff; }
.seller-portal-page .seller-overview-period-filter > input[type="date"] {
  min-width: 0;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid #ead9cc;
  color: inherit;
  background: #fff;
  box-shadow: none;
  color-scheme: light;
}
.seller-overview-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.seller-portal-page .seller-overview-kpi-card {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon title" "icon amount" "note note";
  align-items: center;
  column-gap: 8px;
  color: #fff;
  background: #fe7801;
  border-color: #fe7801;
  box-shadow: inset 0 2px 6px rgba(113, 48, 0, .15);
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.seller-portal-page .seller-overview-kpi-card:hover { background-color: #f17200; border-color: #f17200; }
.seller-portal-page .seller-overview-kpi-card:focus-visible { outline: 2px solid #8b3900; outline-offset: 2px; }
.seller-portal-page .seller-overview-kpi-card > span,
.seller-portal-page .seller-overview-kpi-card > strong,
.seller-portal-page .seller-overview-kpi-card > small { color: inherit; }
.seller-portal-page .seller-overview-kpi-card > span { grid-area: title; text-align: left; }
.seller-portal-page .seller-overview-kpi-card > strong { grid-area: amount; text-align: left; }
.seller-portal-page .seller-overview-kpi-card > small { grid-area: note; }
.seller-portal-page .seller-overview-kpi-card > img {
  grid-area: icon;
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.seller-portal-page .seller-overview-charts { align-items: stretch; }
.seller-portal-page .seller-performance-card,
.seller-portal-page .seller-best-sellers-card { min-width: 0; }
.seller-portal-page .seller-performance-table {
  --seller-performance-row-height: 46px;
  display: block;
  min-width: 0;
}
.seller-portal-page .seller-performance-table :is(thead, tbody) {
  display: block;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}
.seller-portal-page .seller-performance-table thead { overflow: hidden; }
.seller-portal-page .seller-performance-table tr { display: table; width: 100%; table-layout: fixed; border-collapse: collapse; }
.seller-portal-page .seller-performance-table tbody tr { height: var(--seller-performance-row-height); }
.seller-portal-page .seller-performance-table :is(th, td) { padding: 10px 8px; overflow: hidden; text-overflow: ellipsis; }
.seller-portal-page .seller-performance-table tr > :first-child:not([colspan]) { width: 37%; }
.seller-portal-page .seller-performance-table tr > :nth-child(2) { width: 39%; }
.seller-portal-page .seller-performance-scroll {
  max-height: calc(5 * var(--seller-performance-row-height));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #d9a37b #fff3e9;
}
.seller-portal-page .seller-performance-scroll:focus-visible { outline: 2px solid #b34c00; outline-offset: -2px; }
.seller-portal-page .seller-performance-scroll::-webkit-scrollbar { width: 9px; height: 9px; }
.seller-portal-page .seller-performance-scroll::-webkit-scrollbar-track { border-radius: 9px; background: #fff3e9; }
.seller-portal-page .seller-performance-scroll::-webkit-scrollbar-thumb { border: 2px solid #fff3e9; border-radius: 9px; background: #d9a37b; }
.seller-record-tag { display: inline-block; padding: 3px 8px; border-radius: 999px; color: #277a4a; background: #e8f5ec; font-size: 11px; font-weight: 700; }
.seller-portal-page .seller-best-sellers-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.seller-portal-page .seller-best-sellers-heading h2 { margin: 0; }
.seller-portal-page .seller-best-sellers-heading label { display: inline-flex; align-items: center; gap: 7px; color: #625a54; font-size: 12px; font-weight: 700; white-space: nowrap; }
.seller-portal-page .seller-best-sellers-heading select {
  min-width: 92px;
  min-height: 38px;
  padding: 6px 26px 6px 9px;
  font-size: 13px;
}
.seller-portal-page .seller-best-sellers-content { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr); align-items: center; gap: 16px; }
.seller-portal-page .seller-pie-chart {
  position: relative;
  display: grid;
  width: min(100%, 210px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: var(--seller-pie-background, #e9e2dc);
}
.seller-portal-page .seller-pie-chart::before { position: absolute; inset: 25%; border-radius: 50%; background: #fff; content: ""; }
.seller-portal-page .seller-pie-chart > span { position: relative; display: grid; justify-items: center; color: #28252a; font-size: 22px; font-weight: 800; line-height: 1.15; }
.seller-portal-page .seller-pie-chart > span small { color: #827a75; font-size: 10px; font-weight: 600; }
.seller-portal-page .seller-pie-legend { display: grid; max-height: 250px; gap: 7px; margin: 0; padding: 0 4px 0 0; overflow-y: auto; list-style: none; scrollbar-width: thin; scrollbar-color: #d9a37b #fff3e9; }
.seller-portal-page .seller-pie-legend li { display: grid; grid-template-columns: 11px minmax(0, 1fr) auto; align-items: center; gap: 7px; min-width: 0; color: #45403c; font-size: 12px; line-height: 1.35; }
.seller-portal-page .seller-pie-legend li i { width: 10px; height: 10px; border-radius: 50%; background: var(--seller-pie-color, #fe7801); }
.seller-portal-page .seller-pie-legend li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seller-portal-page .seller-pie-legend li > strong { color: #27252a; font-size: 11px; white-space: nowrap; }
.seller-portal-page .seller-pie-legend .seller-no-chart-data { display: block; color: #827a75; }
.seller-portal-page .seller-chart-empty-note { margin: 12px 0 0; color: #827a75; font-size: 12px; text-align: center; }
@media (max-width: 640px) {
  .seller-overview-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-portal-page .seller-overview-kpi-card { padding: 12px; }
  .seller-portal-page .seller-overview-kpi-card > img { width: clamp(24px, 7.5vw, 32px); height: auto; }
  .seller-portal-page .seller-overview-kpi-card > span { font-size: clamp(12px, 3.5vw, 15px); }
  .seller-portal-page .seller-overview-kpi-card > strong { font-size: clamp(18px, 5.5vw, 24px); }
  .seller-portal-page .seller-overview-period-filter { width: 100%; display: flex; flex-wrap: wrap; justify-self: stretch; gap: 7px; padding: 8px; }
  .seller-portal-page .seller-overview-period-filter > label { padding-left: 3px; }
  .seller-portal-page .seller-overview-period-filter > select { min-width: 0; flex: 1 1 140px; }
  .seller-portal-page .seller-overview-period-filter > input[type="date"] { flex: 1 1 120px; }
  .seller-portal-page .seller-best-sellers-content { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .seller-portal-page .seller-pie-chart { width: min(64vw, 210px); }
  .seller-portal-page .seller-pie-legend { width: 100%; max-height: 220px; box-sizing: border-box; }
  .seller-portal-page .seller-performance-table :is(th, td) { padding-inline: 5px; }
}
