:root {
  color-scheme: light;
  --ink: #172338;
  --muted: #586578;
  --paper: #f8f9f5;
  --line: #dce3e6;
  --navy: #162b4d;
  --orange: #f6a657;
  font-family: "Inter", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #307dca; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.22; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.55rem, 3vw, 2rem); letter-spacing: -.025em; }
h3 { font-size: 1.13rem; }
p { color: var(--muted); }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid #e6eaeb; }
.nav { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 850; font-size: 1.12rem; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 1.35rem; line-height: 1; }
.brand-en { font-size: .64rem; letter-spacing: .12em; margin-left: 7px; font-weight: 750; }
.nav nav { display: flex; gap: clamp(15px, 4vw, 46px); align-items: center; font-size: .91rem; }
.nav nav a:hover, .text-link:hover, .auth-alt a:hover { text-decoration: underline; }
.nav form { margin: 0; }
.button, .nav-button { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; border-radius: 9px; border: 1px solid transparent; background: var(--navy); color: #fff; padding: .66rem 1.03rem; font-weight: 720; line-height: 1.35; text-align: center; min-height: 40px; }
.button:hover, .nav-button:hover { filter: brightness(.93); }
.button:disabled { opacity: .5; cursor: default; }
.button.primary { background: var(--orange); color: #212437; padding: .78rem 1.2rem; }
.button.outline { background: transparent; border-color: #b8c7cf; color: var(--ink); }
.button.compact { min-height: 35px; padding: .48rem .68rem; font-size: .83rem; }
.nav-button { background: #fff; border-color: #c9d3d8; color: var(--navy); font-size: .84rem; white-space: nowrap; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero { min-height: 420px; display: grid; grid-template-columns: 1fr .95fr; background: #e9f1f3; border-radius: 25px; overflow: hidden; margin-top: 32px; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: clamp(28px, 5vw, 68px); padding-right: 0; }
.eyebrow { display: flex; gap: 8px; align-items: center; color: #345063; font-size: .84rem; letter-spacing: .12em; font-weight: 750; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: #ea8e3a; }
.hero h1 { font-size: clamp(2.55rem, 6.05vw, 5.05rem); margin: 14px 0 17px; line-height: 1.08; }
.hero h1 span { color: #365d78; }
.hero-copy > p:not(.eyebrow) { max-width: 32rem; }
.hero-art { position: relative; min-height: 340px; isolation: isolate; overflow: hidden; }
.orbit { position: absolute; border: 1px solid #b5c9d3; border-radius: 50%; width: 92%; aspect-ratio: 1; top: 3%; left: 4%; }
.orbit-b { width: 74%; top: 15%; left: 13%; }
.floating-star { position: absolute; font-size: 3rem; color: #b86427; top: 13%; right: 14%; }
.gift-card { position: absolute; border-radius: 17px; width: min(62%, 320px); aspect-ratio: 1.6; padding: 5%; box-shadow: 0 18px 36px #18334b38; }
.back-card { left: 26%; top: 22%; background: linear-gradient(137deg, #f8bc7f, #ed9346); color: #362f43; transform: rotate(13deg); display: flex; justify-content: space-between; font-size: clamp(.8rem, 2vw, 1.35rem); font-weight: 800; }
.front-card { left: 11%; top: 37%; transform: rotate(-12deg); background: radial-gradient(ellipse at 103% 74%, #557a9a, transparent 63%), linear-gradient(132deg, #2b4b71, #142542 70%); color: #fff; border: 1px solid #6384a4; }
.front-card > div:first-child { display: flex; justify-content: space-between; font-size: clamp(1rem, 2vw, 1.42rem); font-weight: 780; }
.front-card p { color: #fff; font-weight: 800; letter-spacing: .11em; font-size: clamp(.75rem, 1.45vw, 1.05rem); }
.front-card small { letter-spacing: .15em; color: #d7e4ec; }
.card-chip { width: 13%; aspect-ratio: 1.35; border-radius: 4px; margin: 6% 0; background: repeating-linear-gradient(90deg, #ffc897 0 29%, #d89159 30% 34%); }
.catalog, .process { padding: 49px 0 0; scroll-margin: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 20px; }
.section-head p, .content > p, .auth-card > p { margin-top: 7px; }
.search, .inline-filter label { min-width: 180px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 14px; }
.filter { border: 1px solid #d4dee1; background: #fff; color: #38495a; border-radius: 100px; padding: .43rem .85rem; font-size: .85rem; }
.filter.selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.grid, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product, .surface, .steps article { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.product-top, .product-bottom, .total { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tile { display: grid; place-items: center; width: 43px; height: 43px; color: #284962; background: #e3eef4; border-radius: 11px; font-weight: 800; }
.t1 { background: #e6f1e6; color: #2b604b; }
.t2 { background: #fbe9d9; color: #793f21; }
.t3 { background: #f7e5e8; color: #7b4255; }
.t4 { background: #e9e8f7; color: #574983; }
.t5 { background: #eeeae1; color: #5b533f; }
.category { font-size: .77rem; color: var(--muted); }
.product h3 { margin: 15px 0 5px; }
.product p { font-size: .88rem; min-height: 2.7em; overflow-wrap: anywhere; }
.product-bottom { border-top: 1px solid #e8ecee; margin-top: 14px; padding-top: 14px; }
.product-bottom small { display: block; color: var(--muted); font-size: .7rem; }
.product-bottom strong { color: #234264; font-size: 1.13rem; font-variant-numeric: tabular-nums; }
.process { padding-bottom: 55px; }
.steps article { background: #edf3f3; border: 0; }
.steps article span { color: #3e6178; font-size: 1.55rem; }
.steps h3 { margin: 5px 0; }
.steps p { font-size: .9rem; }
footer { border-top: 1px solid var(--line); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 24px 0; color: #425265; font-size: .86rem; }
.content { padding-block: 46px 65px; min-height: 58vh; }
.content.narrow { max-width: 820px; }
.content > h1 { margin: 13px 0 6px; overflow-wrap: anywhere; }
.content > .surface, .order-grid { margin-top: 23px; }
.surface h2 { margin-bottom: 12px; font-size: 1.35rem; }
.surface p + p { margin-top: 7px; }
.text-link, .auth-alt a { color: #2c587e; font-size: .92rem; font-weight: 750; }
.empty { padding: 24px; border: 1px dashed #bccbd2; background: #f2f6f6; border-radius: 11px; text-align: center; }
.notice { color: #674218; background: #fff1df; border: 1px solid #eed7b9; border-radius: 8px; padding: 10px 12px; margin: 12px 0; }
label { display: grid; gap: 6px; color: #3c4c5c; font-size: .88rem; font-weight: 670; }
input, select, textarea { width: 100%; min-width: 0; min-height: 41px; border: 1px solid #bdcbd4; border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
.stack { display: grid; gap: 16px; }
.stack > .button { justify-self: start; }
.form-grid, .order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: 18px; min-height: 18px; }
.auth-area { display: grid; place-items: center; min-height: 69vh; padding: 35px 18px; background: #edf3f4; }
.auth-card { width: min(100%, 440px); padding: clamp(23px, 5vw, 38px); border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.auth-card h1 { font-size: 2rem; }
.auth-card form { margin-top: 21px; }
.auth-card form .button { justify-self: stretch; }
.auth-card .auth-alt { margin-top: 17px; }
#recycle-form { gap: 19px; }
.line-item { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.25fr) minmax(0, .65fr) auto; gap: 10px; align-items: end; padding: 12px 0; border-bottom: 1px solid #e8ecee; }
.total { background: #edf3f5; padding: 15px; border-radius: 10px; }
.total strong { display: block; font-size: 1.4rem; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: .9rem; }
td, th { text-align: left; padding: 12px 9px; border-bottom: 1px solid #e5ebed; }
th { color: #42576b; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; vertical-align: middle; border-radius: 50px; background: #e6ecf2; color: #344c65; font-size: .76rem; padding: 5px 9px; white-space: nowrap; letter-spacing: normal; }
.badge.settled { background: #e4f3e8; color: #255d3d; }
.badge.pending, .badge.approved { background: #fff1da; color: #744e1e; }
.badge.rejected { background: #fae9e7; color: #863c36; }
.timeline { padding-left: 18px; margin: 0; }
.timeline li { padding: 7px 0; overflow-wrap: anywhere; }
.timeline small { color: var(--muted); }
.status-form { max-width: 630px; }
.inline-filter { display: flex; gap: 8px; align-items: end; }
.admin { --paper: #eef1f5; background: var(--paper); }
.admin .top { background: #17233a; color: #fff; }
.admin .top .mark { background: #bbf47a; color: #14243a; }
.admin .top .nav-button { background: transparent; color: #fff; }
.admin .button.primary { background: #224570; color: #fff; }
.admin.plain:has(.admin-access) { display: flow-root; min-height: 100vh; background: #101828; color: #f7fafc; }
.admin-access { display: grid; grid-template-columns: 1.1fr .9fr; width: min(930px, calc(100% - 40px)); margin: clamp(24px, 15vh, 130px) auto; border: 1px solid #33455d; border-radius: 18px; overflow: hidden; }
.admin-panel { display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 16px; background: radial-gradient(ellipse at 0% 100%, #293c58, transparent 72%), #19283e; padding: clamp(26px, 5vw, 57px); }
.admin-panel .mark { background: #bbf47a; color: #17233a; }
.admin-label { color: #bbf47a; font: 740 .82rem "IBM Plex Mono", monospace; margin-top: 25px; }
.admin-panel p { color: #c1ccda; }
.admin-sign { background: #131f31; padding: clamp(26px, 5vw, 50px); }
.admin-sign h2 { margin-bottom: 22px; }
.admin-sign label { color: #d2dae6; }
.admin-sign input { background: #0d1726; color: #fff; border-color: #526481; }
.admin-sign .button { justify-self: stretch; background: #bbf47a; color: #14233a; margin-top: 5px; }
.admin-sign .text-link { display: inline-block; margin-top: 21px; color: #c3d1e2; }
@media (max-width: 880px) {
  .wrap { width: min(100% - 38px, 1180px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 340px; }
  .hero-art { min-height: 300px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 28px); }
  .nav { flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .nav nav { order: 3; width: 100%; gap: 20px; font-size: .81rem; }
  .hero { display: block; margin-top: 17px; border-radius: 16px; }
  .hero-copy { padding: 26px 18px 0; }
  .hero-art { min-height: 235px; }
  .orbit { top: -8%; }
  .orbit-b { top: 4%; }
  .gift-card { width: min(52%, 210px); }
  .back-card { top: 16%; left: 34%; }
  .front-card { top: 29%; left: 20%; }
  .grid, .steps, .order-grid, .admin-access { grid-template-columns: 1fr; }
  .catalog, .process { padding-top: 32px; }
  .section-head { align-items: start; flex-direction: column; }
  .search { width: 100%; }
  .content { padding-block: 30px 48px; }
  .line-item { grid-template-columns: 1fr 1fr; }
  .line-item > label:first-child { grid-column: 1 / -1; }
  .remove-row { grid-column: 1 / -1; justify-self: end; }
  .admin-label { margin-top: 4px; }
  .admin-access { margin-block: 22px; }
}
