:root {
  color-scheme: light;
  --navy: #101a2b;
  --navy-light: #1b2a40;
  --cream: #f8f7f2;
  --paper: #fffefa;
  --mint: #b8efcf;
  --ink: #192638;
  --muted: #596575;
  --line: #dfe3dd;
  --green: #176044;
  --red: #a32d39;
  --radius: 20px;
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-size: 15px; line-height: 1.65; }
[hidden] { display: none !important; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .6; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0 0 16px; }
h1, h2, h3 { line-height: 1.2; font-weight: 650; letter-spacing: -.035em; overflow-wrap: anywhere; }
h1 { font-size: clamp(32px, 4.3vw, 52px); }
h2 { font-size: clamp(23px, 3vw, 36px); }
h3 { font-size: 21px; }
p { overflow-wrap: anywhere; }
small { font-size: 12px; }
:focus-visible { outline: 3px solid #398668; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--mint); }
::selection { color: var(--navy); background: var(--mint); }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; inset-inline-start: 16px; transform: translateY(-180%); padding: 12px 22px; background: var(--mint); color: var(--navy); z-index: 100; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 13px 24px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 650; line-height: 1.5; text-align: center; transition: background .18s, transform .18s, box-shadow .18s; }
.button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 5px 16px #101a2b12; }
.button-primary { background: var(--mint); color: var(--navy); }
.button-primary:hover:not(:disabled) { background: #a3e6bf; }
.button-dark { background: var(--navy); color: var(--paper); }
.button-dark:hover { background: #293c54; }
.button-soft { background: #eef1ed; color: var(--ink); border-color: var(--line); }
.button-danger { color: #85202c; background: #ffedf0; border-color: #e6b9bf; }
.button-small { min-height: 42px; padding: 9px 16px; font-size: 12px; gap: 10px; }
.button-full { width: 100%; }
.text-button { border: 0; background: transparent; padding: 10px 4px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.text-link, .back-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; }
.text-link:hover, .back-link:hover, .auth-switch a:hover { text-decoration: underline; text-underline-offset: 5px; }
.arrow { font-size: 20px; line-height: 1; }
.site-header { background: var(--navy); color: #eef1f4; border-bottom: 1px solid #ffffff12; }
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; font-size: 17px; letter-spacing: .045em; white-space: nowrap; }
.brand-symbol { font-family: Arial, sans-serif; font-size: 38px; letter-spacing: -6px; line-height: 1; color: var(--mint); font-weight: 900; padding-inline-end: 6px; direction: ltr; display: inline-block; }
.brand-symbol > span { color: #f4f5ef; }
.main-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-inline: auto; font-size: 13px; }
.main-navigation a { color: #c0c8d3; padding-block: 12px; white-space: nowrap; }
.main-navigation a:hover, .main-navigation a[aria-current] { color: var(--mint); }
.header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.site-header .button-soft { background: #ffffff0a; color: #edf3ee; border-color: #ffffff26; }
.logout-form { margin: 0; }
.admin-nav { color: var(--mint); }
.nav-toggle { display: none; }
.language-menu { position: relative; }
.language-menu summary { display: flex; align-items: center; gap: 8px; padding: 10px 3px; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.globe { font-size: 22px; }
.language-dropdown { position: absolute; inset-inline-end: 0; top: calc(100% + 16px); width: 230px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); z-index: 20; box-shadow: 0 15px 45px #0002; }
.language-dropdown form { display: grid; gap: 12px; }
.hero { background: var(--navy); color: var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; padding-block: 84px 75px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; color: var(--green); }
.hero .eyebrow, .auth-story .eyebrow { color: var(--mint); }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .07em; text-transform: none; }
.tiny-star { font-size: 18px; }
.hero h1 { font-size: clamp(40px, 4.5vw, 62px); line-height: 1.09; letter-spacing: -.045em; max-width: 600px; margin-bottom: 24px; }
.hero-description { color: #b8c2cf; font-size: 15px; max-width: 445px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-block: 30px 24px; }
.hero .text-link { font-size: 12px; }
.play-circle { border: 1px solid #657286; border-radius: 50%; width: 23px; height: 23px; text-align: center; line-height: 21px; }
.hero-note { display: flex; gap: 10px; align-items: center; color: #b8c2cf; font-size: 11px; }
.mini-shield { color: var(--mint); }
.hero-visual { position: relative; padding: 4px 20px 15px; min-width: 0; }
.hero-orbit { position: absolute; border: 1px solid #b8efcf16; width: 530px; height: 530px; border-radius: 50%; top: -55px; inset-inline-start: -40px; }
.hero-orbit::after { content: ""; position: absolute; inset: 40px; border: 1px solid #b8efcf16; border-radius: 50%; }
.featured-card { position: relative; transform: rotate(-4deg); background: #1c2a3e; border: 1px solid #61708466; border-radius: 17px; overflow: hidden; box-shadow: 0 32px 65px #0004; }
.featured-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; }
.featured-top .eyebrow { margin: 0; font-size: 9px; letter-spacing: .17em; }
.feature-mark { color: #b4bdca; font-size: 22px; }
.product-art { position: relative; height: 220px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 55% 65%, #557ba860, transparent 54%), radial-gradient(ellipse at 30% 15%, #66518950, transparent 70%), #1c2a3e; }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art { height: 232px; background-color: transparent; }
.orbit { position: absolute; top: 50%; left: 50%; width: 210px; height: 110px; border: 1px solid #bedafc4a; border-radius: 50%; transform: translate(-50%, -50%) rotate(-30deg); }
.orbit-two { width: 240px; height: 130px; transform: translate(-50%, -50%) rotate(40deg); border-color: #b9a3e54f; }
.sparkle { position: absolute; top: 50%; left: 50%; width: 142px; height: 160px; transform: translate(-50%, -50%) rotate(12deg); background: linear-gradient(145deg, #b5d9f9 15%, #9b99e2 46%, #d3bef0 65%, #96bdda); clip-path: polygon(50% 0, 61% 33%, 100% 50%, 63% 62%, 50% 100%, 37% 64%, 0 50%, 36% 36%); filter: drop-shadow(0 10px 20px #afa5e955); }
.sparkle-small { width: 38px; height: 45px; top: 25%; left: 78%; background: #d9d6f4; }
.art-grain { position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(#ffffff40 .7px, transparent .7px); background-size: 5px 5px; z-index: -1; }
.featured-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-top: 1px solid #ffffff12; }
.featured-bottom p { color: #a8b8ca; font-size: 10px; margin-bottom: 5px; }
.featured-bottom h2 { font-size: 19px; letter-spacing: -.02em; margin: 0; }
.featured-price { font-size: 30px; font-weight: 650; white-space: nowrap; }
.featured-price small { display: block; text-align: end; font-size: 9px; color: #bdc6d2; font-weight: 400; }
.featured-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; font-size: 11px; background: #ffffff04; border-top: 1px solid #ffffff12; color: var(--mint); }
.featured-link:hover { background: #ffffff0d; }
.floating-note { position: absolute; bottom: -8px; inset-inline-start: -30px; padding: 13px 20px 13px 13px; background: var(--cream); color: var(--navy); border-radius: 10px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px #0003; font-size: 12px; font-weight: 700; }
.floating-note small { display: block; font-size: 9px; font-weight: 400; color: var(--muted); }
.floating-icon { display: grid; place-items: center; width: 35px; height: 35px; background: #daefe0; border-radius: 8px; font-size: 22px; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 24px; border-top: 1px solid #ffffff16; font-size: 12px; color: #c9d1da; }
.trust-strip div { display: flex; align-items: center; justify-content: center; gap: 14px; }
.trust-strip div + div { border-inline-start: 1px solid #ffffff1a; }
.trust-strip span { color: var(--mint); font-size: 21px; }
.catalog-section { padding-block: 84px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: 13px; max-width: 300px; margin-bottom: 3px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px #101a2b0c; }
.product-image-link { display: block; }
.product-card-body { padding: 24px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 9px; color: var(--muted); margin-bottom: 15px; }
.availability { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 11px; font-weight: 600; }
.availability > span, .status > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.availability.unavailable { color: #715b3d; }
.product-card h3 { font-size: 19px; margin-bottom: 12px; }
.product-description { font-size: 12px; color: var(--muted); line-height: 1.8; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px; }
.price { display: flex; gap: 5px; align-items: baseline; font-size: 26px; font-weight: 650; }
.price small { font-size: 10px; color: var(--muted); font-weight: 400; }
.process-section { background: #eeefe8; padding-block: 70px 50px; border-block: 1px solid #e4e7de; }
.section-heading.centered { display: block; text-align: center; margin-bottom: 45px; }
.centered > p { max-width: none; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; }
.step-card { position: relative; padding-inline-start: 56px; }
.step-number { position: absolute; inset-inline-start: 0; top: 0; color: var(--green); background: #dde6d9; border: 1px solid #ccd8c6; border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; font-size: 11px; font-weight: 650; }
.step-card h3 { font-size: 17px; margin-block: 7px 12px; }
.step-card p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.process-disclaimer { text-align: center; font-size: 11px; color: var(--muted); margin: 30px 0 0; }
.referral-section { padding-block: 65px; }
.referral-banner { display: flex; align-items: center; gap: 38px; padding: 38px 44px; border-radius: 14px; background: #dcebdd; border: 1px solid #cfdfcc; }
.referral-copy { flex: 1; }
.referral-copy .eyebrow { font-size: 9px; margin-bottom: 12px; }
.referral-copy h2 { font-size: 27px; margin-bottom: 12px; }
.referral-copy p:last-child { font-size: 12px; color: #4e6354; max-width: 570px; margin-bottom: 0; }
.referral-art { position: relative; width: 86px; height: 86px; flex: 0 0 auto; }
.referral-art span { display: grid; place-items: center; width: 59px; height: 59px; background: var(--navy); color: var(--mint); border-radius: 12px; font-size: 40px; transform: rotate(-14deg); position: absolute; top: 3px; inset-inline-start: 0; }
.referral-art span + span { top: 25px; inset-inline-start: 26px; background: #b8d7bb; color: var(--navy); transform: rotate(10deg); border: 1px solid #9dbca0; }
.site-footer { background: var(--navy); color: #c0c9d4; padding-top: 56px; font-size: 12px; }
.footer-top { display: grid; grid-template-columns: 1.6fr .8fr 1fr; gap: 70px; padding-bottom: 45px; }
.footer-brand .brand { color: var(--cream); margin-bottom: 20px; }
.footer-brand p { max-width: 300px; line-height: 1.9; }
.site-footer h2 { font-size: 12px; font-weight: 650; letter-spacing: 0; color: var(--cream); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.footer-links h2 { margin-bottom: 10px; }
.site-footer a:hover { color: var(--mint); }
.support-handle { display: inline-flex; align-items: center; gap: 30px; color: var(--mint); font-size: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-block: 23px; border-top: 1px solid #ffffff14; font-size: 10px; color: #a6b1c0; }
.footer-bottom p { margin: 0; }
.page-section { padding-block: 55px 80px; min-height: 55vh; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.page-heading p:last-child { color: var(--muted); margin: 0; }
.page-heading h1 { margin-bottom: 14px; }
.back-link { color: var(--muted); margin-bottom: 32px; font-size: 12px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 32px; min-width: 0; }
.panel h2 { font-size: 23px; }
.panel + .panel { margin-top: 24px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; }
.detail-art-wrap { border: 1px solid #31405a; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.detail-art { height: 400px; }
.detail-art .sparkle-main { width: 210px; height: 240px; }
.detail-art .orbit { width: 340px; height: 200px; }
.detail-art-caption { display: flex; align-items: center; justify-content: space-between; color: #bac5d4; padding: 24px; font-size: 12px; border-top: 1px solid #ffffff16; }
.product-detail-copy h1 { font-size: clamp(29px, 3.5vw, 42px); }
.detail-description { color: var(--muted); margin-block: 24px; }
.detail-price { display: flex; align-items: center; gap: 18px; margin-block: 25px; }
.detail-price strong { font-size: 36px; letter-spacing: -.03em; }
.detail-price span { color: var(--muted); font-size: 12px; }
.includes { padding-top: 26px; border-top: 1px solid var(--line); margin-top: 28px; }
.includes h2 { font-size: 15px; }
.includes ul { padding-inline-start: 20px; color: var(--muted); font-size: 13px; line-height: 2; }
.notice { display: flex; gap: 12px; padding: 17px 20px; margin-block: 22px; border: 1px solid #cbd9dc; border-radius: 10px; font-size: 12px; line-height: 1.75; background: #edf3f3; color: #344f58; }
.notice strong { font-weight: 600; }
.notice p { margin: 5px 0 0; }
.notice-info { background: #edf3f3; color: #344f58; }
.notice-warning { background: #fbf3e3; color: #745321; border-color: #e8d4ad; }
.notice-error { background: #fff0f0; color: #912333; border-color: #ebc4cb; }
.notice-success { background: #e9f5ec; color: #205c39; border-color: #b9d9c3; }
.notice-mark { display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-weight: bold; width: 18px; height: 18px; line-height: 1; flex: 0 0 auto; margin-top: 3px; }
.flash-container .notice { margin-bottom: 0; }
.stack-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
label, legend { font-size: 13px; font-weight: 600; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea { width: 100%; min-width: 0; border: 1px solid #cbd2cb; border-radius: 8px; padding: 12px 14px; min-height: 46px; background: #fffefa; color: var(--ink); }
textarea { resize: vertical; }
.field small { color: var(--muted); line-height: 1.7; font-weight: 400; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--green); width: 18px; height: 18px; flex: 0 0 auto; margin: 3px 0 0; }
.checkbox-label { display: flex; align-items: start; gap: 12px; font-size: 12px; font-weight: 500; padding-block: 8px; }
.checkbox-label small { display: block; color: var(--muted); font-weight: 400; margin-top: 3px; }
.checkout-form { display: grid; gap: 18px; }
.auth-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 65px 80px; align-items: center; }
.auth-story { background: var(--navy); color: var(--cream); padding: 45px; border-radius: 22px; overflow: hidden; }
.auth-story h1 { font-size: clamp(32px, 3.6vw, 47px); }
.auth-story > p:not(.eyebrow) { font-size: 14px; color: #b9c5d3; }
.auth-art { position: relative; height: 180px; }
.auth-story-note { display: flex; gap: 14px; align-items: center; font-size: 11px; color: #b9c5d3; }
.auth-story-note span { color: var(--mint); font-size: 23px; }
.auth-panel { padding: 38px; }
.auth-switch { font-size: 12px; text-align: center; margin: 24px 0 0; color: var(--muted); }
.auth-switch a { color: var(--green); font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 30px; }
.stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; }
.stat-card p { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.stat-card strong { font-size: 35px; font-weight: 650; line-height: 1.2; letter-spacing: -.04em; display: block; }
.stat-card small { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; }
.stat-highlight { background: #e1efe2; border-color: #c7deca; }
.admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.data-panel { padding: 0; overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { font-size: 19px; margin: 0; }
.table-wrap { overflow: auto; max-width: 100%; }
.table-wrap:focus-visible { outline-offset: -4px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: start; }
th { text-align: start; font-weight: 600; }
thead { background: #f4f5f0; color: var(--muted); }
th, td { padding: 18px 22px; vertical-align: middle; border-bottom: 1px solid #e8ebe4; }
thead th { font-size: 10px; letter-spacing: .03em; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:hover { background: #f6f8f3; }
.table-emphasis { font-weight: 600; min-width: 180px; }
.table-subline { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-top: 6px; }
.mono { font-family: "Cascadia Code", Consolas, monospace; font-size: 11px; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; font-size: 10px; font-weight: 600; white-space: nowrap; background: #eceeeb; color: #58635a; }
.status-paid, .status-available { background: #e0f0e4; color: #24623d; }
.status-awaiting_payment, .status-pending_review, .status-reserved { background: #faf0d7; color: #7d5c1c; }
.status-rejected { background: #fae8ea; color: #96303e; }
.status-refunded { background: #eeebf8; color: #605185; }
.status-sold { background: #e7edf7; color: #37597f; }
.empty-state { text-align: center; padding: 55px 24px; border-radius: 12px; }
.empty-state h3 { font-size: 21px; }
.empty-state p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.empty-symbol { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #e7ede2; color: var(--green); margin: 0 auto 22px; font-size: 30px; }
.account-bottom-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; margin-top: 24px; align-items: start; }
.account-bottom-grid > .panel { margin-top: 0; }
.referral-panel { background: #e7f0e4; }
.referral-panel > p:not(.eyebrow) { font-size: 12px; color: #4e6354; }
.copy-field { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); margin-block: 14px; }
.copy-field > div { min-width: 0; }
.copy-field button { flex: 0 0 auto; }
.field-caption { display: block; font-size: 10px; color: var(--muted); margin-bottom: 5px; }
.copy-value { display: block; font-family: Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; user-select: all; }
bdi, .price, .featured-price, .copy-value { direction: ltr; unicode-bidi: isolate; }
.positive { color: var(--green); }
.negative { color: var(--red); }
.ledger-table th, .ledger-table td { padding: 15px 10px; }
.ledger-table th { min-width: 120px; }
.empty-ledger { padding-block: 22px; font-size: 13px; }
.debt-notice { align-items: center; justify-content: space-between; gap: 30px; }
.debt-notice h2 { font-size: 18px; margin: 0; }
.debt-notice > strong { font-size: 22px; white-space: nowrap; }
.order-grid { display: grid; grid-template-columns: 1.45fr 1fr; align-items: start; gap: 30px; }
.order-main { padding: 38px; }
.section-symbol { display: grid; place-items: center; width: 50px; height: 50px; background: #e5ede0; color: var(--green); font-size: 28px; border-radius: 12px; margin-bottom: 22px; }
.transfer-amount { background: #f0f5ec; border: 1px solid #d8e4d0; border-radius: 12px; padding: 23px; margin-block: 24px; }
.transfer-amount > span, .transfer-amount small { display: block; font-size: 11px; color: var(--muted); }
.transfer-amount strong { display: block; font-size: 38px; letter-spacing: -.035em; margin-block: 4px; }
.deadline { font-size: 11px; color: #805d24; }
.payment-form { margin-top: 25px; }
.order-state { text-align: center; padding-block: 20px; }
.order-state p { color: var(--muted); font-size: 13px; }
.state-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 26px; font-size: 30px; }
.pending-icon { background: #faf0d7; color: #7d5c1c; }
.success-icon { background: #e0f0e4; color: var(--green); }
.closed-icon { background: #eceeeb; color: var(--muted); }
.summary-product { font-size: 17px; font-weight: 600; margin-top: 25px; margin-bottom: 5px; }
.summary-list { margin: 26px 0 0; }
.summary-list > div { display: flex; justify-content: space-between; gap: 22px; margin-block: 15px; font-size: 12px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 600; text-align: end; }
.summary-list .summary-total { border-block: 1px solid var(--line); padding-block: 18px; margin-block: 22px; font-size: 14px; }
.support-card { padding: 28px; background: #eef0e9; border: 1px solid var(--line); border-radius: 14px; margin-top: 22px; }
.support-card h3 { font-size: 17px; margin-bottom: 10px; }
.support-card p { font-size: 12px; color: var(--muted); }
.support-card a { color: var(--green); }
.admin-warning { margin: 22px 26px; }
.admin-orders { margin-top: 28px; }
.admin-action-cell { min-width: 240px; max-width: 350px; }
.admin-action-cell form { margin: 0; }
.action-details { margin-top: 10px; }
.action-details summary { color: var(--red); padding: 8px 0; font-size: 12px; }
.compact-form { gap: 12px; padding-block: 10px; }
.compact-form p { margin: 0; }
.reference-cell { display: block; min-width: 110px; max-width: 200px; }
.panel-empty, .stock-private { padding: 24px 28px; margin: 0; font-size: 12px; color: var(--muted); }
.editor-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.translation-fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 20px; min-width: 0; margin: 0; }
.translation-fieldset legend { padding-inline: 8px; color: var(--green); }
.translation-fieldset .field + .field { margin-top: 20px; }
.setup-section { padding-block: 60px 80px; }
.setup-panel { max-width: 660px; margin-inline: auto; padding: 42px; }
.setup-panel > .brand-symbol { margin-bottom: 28px; color: var(--green); }
.setup-panel > .brand-symbol span { color: var(--navy); }
.setup-panel > p { font-size: 13px; line-height: 1.9; }
.setup-panel .stack-form { margin-top: 28px; }
.language-overlay { position: fixed; inset: 0; z-index: 60; background: #091323bd; backdrop-filter: blur(9px); display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.language-dialog { position: relative; padding: 40px; border: 1px solid #dce2d6; border-radius: 22px; width: 450px; max-width: 100%; max-height: calc(100dvh - 48px); overflow-y: auto; background: var(--cream); box-shadow: 0 30px 100px #0005; text-align: center; }
.language-dialog > .brand-symbol { color: var(--green); margin-bottom: 26px; }
.language-dialog > .brand-symbol span { color: var(--navy); }
.language-dialog .eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 12px; }
.language-dialog h2 { font-size: 31px; }
.language-dialog > p:not(.eyebrow) { font-size: 12px; color: var(--muted); margin-bottom: 25px; }
.language-options { display: grid; gap: 10px; margin-bottom: 22px; }
.language-option { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid #d5dbd1; border-radius: 10px; background: var(--paper); text-align: start; cursor: pointer; }
.language-option:has(input:checked) { border-color: #41855a; background: #e8f2e5; box-shadow: 0 0 0 1px #41855a; }
.language-option strong { display: block; font-size: 14px; }
.language-option small { display: block; color: var(--muted); font-weight: 400; font-size: 10px; }
.radio-indicator { display: none; }
.modal-close { position: absolute; top: 12px; inset-inline-end: 20px; color: var(--muted); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); z-index: 80; background: var(--navy); color: var(--cream); padding: 14px 22px; border: 1px solid #658273; border-radius: 10px; box-shadow: 0 10px 35px #0003; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); font-size: 12px; text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
[dir="rtl"] { letter-spacing: normal; }
html[dir="rtl"] body { font-family: Tahoma, "Segoe UI", Arial, sans-serif; line-height: 1.9; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.45; letter-spacing: 0; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
html[dir="rtl"] .arrow, html[dir="rtl"] .back-link > span { transform: scaleX(-1); }
html[dir="rtl"] .featured-card { transform: rotate(4deg); }
@media (min-width: 1440px) { .hero-grid { padding-block: 95px 85px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 48px); }
  .header-inner { gap: 22px; flex-wrap: wrap; padding-block: 18px; }
  .main-navigation { gap: 18px; }
  .header-actions { gap: 12px; margin-inline-start: auto; }
  .hero-grid { gap: 35px; padding-block: 65px; }
  .hero-visual { padding-inline: 16px; }
  .hero h1 { font-size: 48px; }
  .product-card-body { padding: 20px; }
  .card-meta { flex-wrap: wrap; }
  .referral-banner { gap: 25px; padding: 32px; }
  .product-detail-grid { gap: 35px; }
  .auth-section { gap: 30px; }
  .auth-story { padding: 32px; }
  .account-bottom-grid { grid-template-columns: 1fr; }
  .footer-top { gap: 40px; }
}
@media (max-width: 820px) {
  .header-inner { gap: 18px; }
  .main-navigation { order: 3; width: 100%; justify-content: center; border-top: 1px solid #ffffff18; padding-top: 8px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: 40px; }
  .hero-copy .eyebrow { font-size: 10px; }
  .hero-description { font-size: 13px; }
  .featured-bottom { padding: 18px; gap: 12px; }
  .featured-bottom h2 { font-size: 16px; }
  .hero-art { height: 215px; }
  .floating-note { inset-inline-start: -10px; font-size: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { gap: 24px; }
  .step-card { padding-inline-start: 0; padding-top: 50px; }
  .referral-art { display: none; }
  .referral-banner { flex-wrap: wrap; }
  .referral-copy { flex-basis: 65%; }
  .auth-section { align-items: start; }
  .auth-story { padding: 25px; }
  .auth-story h1 { font-size: 30px; }
  .auth-panel { padding: 25px; }
  .product-detail-grid, .order-grid, .editor-grid { grid-template-columns: 1fr; }
  .detail-art { height: 320px; }
  .detail-art-wrap { max-width: 560px; width: 100%; margin-inline: auto; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.2fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .header-inner { gap: 16px; padding-block: 17px; }
  .brand { font-size: 15px; }
  .brand-symbol { font-size: 33px; }
  .header-actions { width: 100%; justify-content: space-between; order: 2; gap: 8px; }
  .header-actions .button { padding-inline: 12px; }
  .header-actions .arrow { display: none; }
  .nav-toggle { margin-inline-start: auto; }
  .js .nav-toggle { display: inline-flex; }
  .js .main-navigation:not(.is-open) { display: none; }
  .hamburger { width: 17px; height: 12px; border-block: 1.5px solid currentColor; position: relative; }
  .hamburger::after { content: ""; position: absolute; top: 4px; left: 0; right: 0; border-top: 1.5px solid currentColor; }
  .language-dropdown { inset-inline-start: 0; inset-inline-end: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 46px 50px; gap: 45px; }
  .hero h1 { font-size: clamp(39px, 10vw, 52px); max-width: 450px; }
  .hero-description { font-size: 14px; max-width: 440px; }
  .hero-actions { gap: 20px; }
  .hero-visual { width: min(370px, 100%); margin-inline: auto; padding-inline: 15px; }
  .hero-art { height: 200px; }
  .featured-bottom h2 { font-size: 18px; }
  .hero-orbit { width: 400px; height: 400px; }
  .trust-strip { grid-template-columns: 1fr; gap: 13px; padding-block: 23px; }
  .trust-strip div + div { border: 0; }
  .trust-strip div { justify-content: start; font-size: 11px; }
  .catalog-section { padding-block: 52px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > p { margin-top: 15px; max-width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .product-art { height: 230px; }
  .hero-art { height: 200px; }
  .card-meta { font-size: 10px; }
  .product-card-body { padding: 24px; }
  .process-section { padding-block: 48px 35px; }
  .steps-grid { grid-template-columns: 1fr; gap: 22px; }
  .step-card { padding-top: 0; padding-inline-start: 54px; }
  .step-card p { max-width: 400px; }
  .section-heading.centered { text-align: start; margin-bottom: 32px; }
  .process-disclaimer { text-align: start; margin-top: 20px; }
  .referral-section { padding-block: 42px; }
  .referral-banner { padding: 26px; gap: 24px; }
  .referral-copy { flex-basis: 100%; }
  .referral-copy h2 { font-size: 25px; }
  .footer-top { gap: 30px; padding-bottom: 35px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .site-footer { padding-top: 42px; }
  .site-footer .support-handle { font-size: 14px; gap: 12px; }
  .page-section { padding-block: 32px 50px; }
  .page-heading { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 28px; }
  .page-heading h1 { font-size: 32px; }
  .page-heading p:last-child { font-size: 13px; }
  .panel { padding: 24px; border-radius: 14px; }
  .data-panel { padding: 0; }
  .panel-heading { padding: 20px; }
  .panel-heading h2 { font-size: 18px; }
  .panel-heading .text-link { font-size: 11px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stats-grid:not(.admin-stats) .stat-highlight { grid-column: 1 / -1; }
  .stat-card { padding: 20px; }
  .stat-card strong { font-size: 29px; }
  .stat-card p { font-size: 11px; }
  .auth-section { grid-template-columns: 1fr; padding-block: 30px 45px; gap: 22px; }
  .auth-story { padding: 30px; }
  .auth-art { display: none; }
  .auth-story-note { margin-top: 22px; }
  .auth-panel { padding: 26px; }
  .detail-art { height: 270px; }
  .detail-art .sparkle-main { width: 150px; height: 180px; }
  .detail-art .orbit { width: 230px; height: 150px; }
  .product-detail-grid { gap: 30px; }
  .notice { padding: 15px; }
  .debt-notice { flex-direction: column; align-items: start; gap: 15px; }
  .copy-field { padding: 13px; gap: 10px; }
  .copy-value { font-size: 11px; }
  .copy-field .button { padding-inline: 12px; }
  .order-main { padding: 24px; }
  .transfer-amount strong { font-size: 32px; }
  .summary-list > div { gap: 12px; }
  .admin-warning { margin: 20px; }
  .translation-fieldset { padding: 16px; }
  .setup-section { padding-block: 30px 50px; }
  .setup-panel { padding: 26px; }
  .language-overlay { padding: 16px; }
  .language-dialog { padding: 32px 25px 25px; max-height: calc(100dvh - 32px); }
  .language-dialog h2 { font-size: 27px; }
  html[dir="rtl"] .hero h1 { font-size: 36px; }
}
.admin-site {
  --cream: #f2f5f5;
  --paper: #ffffff;
  --mint: #a4ead8;
  --green: #11685c;
  --muted: #536374;
  --line: #d8e2e3;
  --radius: 18px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 85% 0, #dcece8 0, transparent 48%), var(--cream);
}
.admin-site #main { flex: 1; min-width: 0; }
.admin-site .container { max-width: 1280px; }
.admin-site .header-inner { min-height: 84px; gap: 30px; }
.admin-site .brand { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.admin-site .brand-symbol { flex: 0 0 auto; }
.admin-site .header-actions { margin-inline-start: auto; }
.admin-site .main-navigation { gap: 8px; }
.admin-site .main-navigation a { padding: 10px 16px; border-radius: 8px; font-size: 14px; }
.admin-site .main-navigation a[aria-current] { background: #a4ead814; box-shadow: inset 0 -2px var(--mint); }
.admin-site .main-navigation a:hover { background: #ffffff0c; }
.admin-site .language-menu summary { min-height: 44px; padding-inline: 10px; }
.admin-site .button { min-height: 48px; font-size: 14px; }
.admin-site .button-small { min-height: 44px; font-size: 13px; }
.admin-site .button-primary { background: var(--green); color: #ffffff; border-color: var(--green); box-shadow: 0 4px 12px #11685c18; }
.admin-site .button-primary:hover:not(:disabled) { background: #0b5148; border-color: #0b5148; }
.admin-site .button-soft { background: #eaf0f0; border-color: #bfcece; }
.admin-site .site-header .button-soft { color: #edf3ee; background: #ffffff09; border-color: #82919f; }
.admin-site :focus-visible { outline: 3px solid #11685c; outline-offset: 4px; }
.admin-site .site-header :focus-visible, .admin-site .site-footer :focus-visible, .admin-site .auth-story :focus-visible { outline-color: var(--mint); }
.admin-site .language-dropdown :focus-visible { outline-color: #11685c; }
.admin-site .table-wrap:focus-visible { outline-offset: -4px; }
.admin-site .button-primary:focus-visible, .admin-site .button-dark:focus-visible { outline-color: #101a2b; box-shadow: 0 0 0 2px #ffffff; }
.admin-site .site-header .button-primary:focus-visible { outline-color: var(--mint); }
.admin-site .eyebrow { font-size: 11px; }
.admin-site .page-heading h1 { font-size: clamp(30px, 4vw, 46px); }
.admin-site .page-heading > div { min-width: 0; }
.admin-site .page-heading > div:first-child { flex: 1; }
.admin-heading-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: end; }
.admin-heading-actions .button { gap: 10px; }
.admin-site .panel { box-shadow: 0 4px 20px #101a2b04; }
.admin-site .stat-card { position: relative; border-radius: 14px; padding: 24px; }
.admin-site .stat-card p { font-size: 13px; }
.admin-site .stat-card strong { font-variant-numeric: tabular-nums; font-size: clamp(26px, 3vw, 36px); overflow-wrap: anywhere; }
.admin-site .stat-highlight { background: #deeee8; border-color: #93c6b7; border-inline-start: 4px solid var(--green); }
.admin-site .panel-heading { padding: 24px; background: #ffffff; }
.admin-site .panel-heading .text-link, .admin-site td .text-link { min-height: 44px; text-decoration: underline; text-underline-offset: 4px; color: var(--green); }
.admin-site table { font-size: 13px; }
.admin-site thead { background: #edf2f3; }
.admin-site thead th { font-size: 12px; }
.admin-site th, .admin-site td { padding: 18px 24px; border-color: #e1e8e8; }
.admin-site tbody tr:hover { background: #f1f7f5; }
.admin-site .table-subline, .admin-site .status { font-size: 12px; }
.admin-site .mono { font-size: 12px; }
.admin-site .notice, .admin-site .panel-empty, .admin-site .stock-private { font-size: 13px; }
.admin-site .notice-warning { border-inline-start: 4px solid #a87925; }
.admin-site .action-details summary { min-height: 44px; display: list-item; padding-block: 12px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.admin-site .admin-action-cell { min-width: 260px; }
.admin-site .editor-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.admin-site .stock-sidebar { min-width: 0; }
.admin-site input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .admin-site select, .admin-site textarea { border-color: #819695; background: #ffffff; font-size: 16px; }
.admin-site input::placeholder, .admin-site textarea::placeholder { color: #536374; opacity: 1; }
.admin-site .field small { font-size: 13px; }
.admin-site .checkbox-label { min-height: 44px; align-items: start; font-size: 13px; }
.admin-site .translation-fieldset { background: #f8faf9; }
.admin-site .admin-auth { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; max-width: 1080px; padding-block: 64px 80px; align-items: stretch; }
.admin-auth .auth-story { border-radius: 22px 0 0 22px; padding: clamp(28px, 4vw, 52px); background: radial-gradient(ellipse at 0 100%, #24574f 0, transparent 65%), var(--navy); display: flex; flex-direction: column; }
.admin-auth .auth-story h1 { font-size: clamp(36px, 4vw, 52px); }
.admin-auth .auth-story > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; }
.admin-capabilities { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 0; }
.admin-capabilities li { display: flex; align-items: center; gap: 18px; padding-block: 18px; border-top: 1px solid #ffffff26; font-size: 15px; }
.admin-capabilities li > span { color: var(--mint); font-size: 12px; font-variant-numeric: tabular-nums; }
.admin-auth .auth-support { margin-top: auto; color: var(--mint); min-height: 44px; flex-wrap: wrap; }
.admin-auth .auth-panel { border-radius: 0 22px 22px 0; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; box-shadow: 0 18px 50px #101a2b08; }
.admin-auth .auth-panel h2 { font-size: 28px; }
.admin-auth .stack-form { margin-top: 12px; gap: 24px; }
.admin-auth .button-full { margin-top: 8px; min-height: 54px; justify-content: space-between; }
.admin-site .site-footer { padding-top: 32px; }
.admin-site .footer-top { gap: 32px; padding-bottom: 24px; }
.admin-site .footer-brand .brand { margin-bottom: 12px; }
.admin-site .footer-brand p { margin-bottom: 0; }
.admin-site .footer-links { gap: 0; }
.admin-site .footer-links a { padding-block: 10px; min-height: 44px; }
.admin-site .site-footer h2 { font-size: 13px; margin-bottom: 8px; }
.admin-site .footer-support p { margin-bottom: 8px; }
.admin-site .support-handle { min-height: 44px; flex-wrap: wrap; gap: 12px; overflow-wrap: anywhere; }
.admin-site .footer-bottom { font-size: 12px; }
html[dir="rtl"] .admin-auth .auth-story { border-radius: 0 22px 22px 0; }
html[dir="rtl"] .admin-auth .auth-panel { border-radius: 22px 0 0 22px; }
@media (max-width: 1000px) {
  .admin-site .page-heading { align-items: start; flex-wrap: wrap; }
  .admin-heading-actions { justify-content: start; }
  .admin-site .header-inner { gap: 18px; }
  .admin-site .editor-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .admin-site .admin-auth { grid-template-columns: minmax(0, 1fr); padding-block: 28px 44px; }
  .admin-site .admin-auth .auth-story { border-radius: 18px 18px 0 0; padding: 28px; }
  .admin-site .admin-auth .auth-panel { border-radius: 0 0 18px 18px; padding: 28px; }
  .admin-auth .auth-story h1 { font-size: 32px; }
  .admin-auth .auth-story > p:not(.eyebrow) { font-size: 14px; margin-bottom: 12px; }
  .admin-capabilities { display: none; }
  .admin-auth .auth-support { font-size: 13px; }
  .admin-site .page-heading > div:first-child { flex: auto; }
  .admin-heading-actions { width: 100%; }
  .admin-heading-actions .button { flex: 1 1 160px; }
  .admin-site .panel-heading { padding: 18px; flex-wrap: wrap; gap: 12px; }
  .admin-site .stat-card { padding: 18px; }
  .admin-site .footer-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .admin-site .footer-brand { grid-column: auto; }
}
@media (max-width: 600px) {
  .admin-site .header-inner { gap: 12px; }
  .admin-site .header-inner > .brand { max-width: calc(100% - 68px); }
  .admin-site .header-actions { justify-content: space-between; }
  .admin-site .main-navigation { justify-content: start; }
  .admin-site .main-navigation a { white-space: normal; }
  .admin-site .language-dropdown { width: min(260px, calc(100vw - 36px)); }
}
@media (max-width: 360px) {
  .admin-site .admin-stats { grid-template-columns: minmax(0, 1fr); }
  .admin-site .admin-auth .auth-story, .admin-site .admin-auth .auth-panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover:not(:disabled), .product-card:hover { transform: none; }
}
@media (forced-colors: active) {
  .button, .status, .notice, .panel, .language-option { border: 1px solid ButtonText; }
  .sparkle, .orbit, .art-grain { display: none; }
}
