:root{--paper:#f6f3ec;--ink:#273e34;--muted:#72796f;--line:#dedfd5;--green:#234b3b;--lime:#dfe9b8;--orange:#c47d55;--white:#fffef9;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bd8a43;outline-offset:3px}.demo-banner{background:var(--green);color:#fff;padding:8px 20px;text-align:center;font-size:12px;letter-spacing:1px}header{max-width:1240px;margin:auto;display:flex;align-items:center;gap:40px;padding:26px 32px;border-bottom:1px solid var(--line)}.brand{font-size:27px;font-weight:750;letter-spacing:4px;white-space:nowrap}.brand span{font-size:9px;letter-spacing:2.4px;display:block;margin-top:5px}nav{display:flex;gap:8px;flex:1}nav button{border:0;background:transparent;padding:12px 18px;color:var(--muted);border-radius:30px}nav button.active{color:var(--green);background:#e5e9dd;font-weight:600}.quiet{background:transparent;border:1px solid var(--line);border-radius:24px;padding:10px 18px;color:var(--ink)}main{max-width:1240px;margin:auto;padding:32px;min-height:68vh}.hero{background:#e7ecde;border-radius:22px;display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;min-height:290px}.hero-copy{padding:42px}.eyebrow{font-size:11px;letter-spacing:3px;color:var(--muted);font-weight:650}.hero h1{font-size:42px;letter-spacing:3px;line-height:1.4;margin:15px 0}.hero p{font-size:14px;color:#667363;line-height:1.8}.hero-art{position:relative;display:flex;justify-content:center;align-items:center;background:radial-gradient(ellipse at 50% 60%,#c5d2b8 0,transparent 68%)}.hero-art:after{content:'慢慢来 · 好好喝';position:absolute;right:25px;bottom:25px;letter-spacing:3px;font-size:11px}.hero .cup{transform:rotate(-12deg) scale(1.3)}.cup{width:92px;height:124px;background:linear-gradient(100deg,#fefdf7,#ece5d5);clip-path:polygon(1% 8%,99% 8%,87% 100%,14% 100%);border-radius:10px 10px 20px 20px;position:relative;box-shadow:5px 12px 20px #0002;flex-shrink:0}.cup:before{content:'';position:absolute;inset:0 0 auto;height:17px;border-radius:6px;background:#263f35}.cup:after{content:'慢岛';position:absolute;inset:40% 0 auto;text-align:center;color:#294b3a;font-size:20px;letter-spacing:4px;font-weight:700}.hero-art .cup:nth-child(2){transform:rotate(15deg) scale(1.1);margin-left:30px;margin-top:65px}.store-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:26px 0;padding-bottom:22px;border-bottom:1px solid var(--line)}.store-strip h3{margin:0 0 8px;font-size:17px}.subtle{font-size:12px;color:var(--muted);line-height:1.8}.pill{background:#e8edde;border-radius:20px;padding:8px 13px;font-size:12px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 20px;gap:15px}.section-head h1,.section-head h2{margin:0;font-size:25px;letter-spacing:1px}.section-head p{font-size:12px;color:var(--muted)}.categories{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.categories button{border:1px solid var(--line);border-radius:30px;background:transparent;padding:9px 18px;color:var(--ink);font-size:13px}.categories .active{background:var(--green);color:white;border-color:var(--green)}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product{background:var(--white);border-radius:16px;overflow:hidden;border:1px solid #e7e6df}.product-art{height:185px;background:#ebe2d3;display:flex;justify-content:center;align-items:center;position:relative}.product-art.tone-1{background:#e8e6d9}.product-art.tone-2{background:#d6d9cf}.product-art.tone-3{background:#ddd7c8}.product-art.tone-4{background:#dce2cd}.product-art.tone-5{background:#edddc4}.product-art .cup{height:108px;width:80px;transform:rotate(-7deg)}.product-body{padding:19px}.product h3{font-size:17px;margin:0 0 9px}.product p{font-size:12px;color:var(--muted);margin:0 0 22px}.product-bottom{display:flex;justify-content:space-between;align-items:center}.price{font-size:23px;font-weight:650}.price small{font-size:12px;font-weight:400}.add{width:34px;height:34px;border:0;border-radius:50%;color:white;background:var(--green);font-size:24px}.button{border:0;border-radius:8px;background:var(--green);color:white;padding:12px 20px;font-weight:600;font-size:14px}.button.secondary{background:#e8ecdf;color:var(--green)}.button.danger{background:#9a4b35}.cart-bar{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:650px;width:calc(100% - 40px);background:var(--green);color:white;border-radius:15px;padding:16px 20px;display:flex;align-items:center;gap:16px;box-shadow:0 12px 35px #18342633;z-index:5}.cart-bar .button{margin-left:auto;background:var(--lime);color:var(--ink)}.cart-bar .subtle{color:#dce5d7}.hidden{display:none!important}footer{max-width:1240px;margin:40px auto 0;padding:28px 32px 110px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:20px}.empty{padding:65px 20px;text-align:center;color:var(--muted);line-height:2}.toast{position:fixed;top:100px;left:50%;transform:translateX(-50%);background:#253d32;color:white;border-radius:10px;padding:14px 24px;z-index:30;max-width:90vw;box-shadow:0 10px 30px #0002}dialog{border:0;border-radius:18px;padding:35px;width:480px;max-width:calc(100% - 28px);max-height:85vh;overflow:auto;background:var(--white);color:var(--ink)}dialog::backdrop{background:#172e2266;backdrop-filter:blur(3px)}dialog h2{margin:0 0 10px}dialog p{font-size:13px;line-height:1.8;color:var(--muted)}.close{position:absolute;right:12px;top:10px;border:0;font-size:24px;padding:3px 10px}label{display:block;font-size:13px;margin:18px 0 7px}input,select{padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);width:100%;min-width:0}input[type=checkbox]{width:auto}form>.button{margin-top:22px;width:100%}.row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.row strong{font-size:14px}.row .quiet{padding:5px 10px}.row .subtle{max-width:270px}.order{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:16px}.order-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:14px}.order-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:18px}.badge{display:inline-block;background:#e8eddc;padding:6px 10px;border-radius:5px;font-size:12px;white-space:nowrap}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:26px 0}.summary-card{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:26px}.summary-card strong{display:block;font-size:34px;margin:15px 0}.wallet-card{background:var(--green);color:white}.wallet-card .subtle{color:#d4decf}.gift-design{background:#e6cfb3;color:#493b2b;border-radius:16px;padding:28px;min-height:160px;display:flex;flex-direction:column;justify-content:space-between}.gift-design strong{font-size:32px}.gift-design p{font-size:13px}.card-list{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.gift-shell{background:var(--white);padding:12px;border-radius:20px;border:1px solid var(--line)}.gift-shell .row{border:0;padding:12px 10px}.ledger{width:100%;border-collapse:collapse;font-size:13px}.ledger td,.ledger th{text-align:left;padding:14px 10px;border-bottom:1px solid var(--line)}.board{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.board-column{background:#e9ece2;border-radius:16px;padding:14px}.board-column h3{font-size:15px}.board-column .order{padding:15px}.notice{background:#eee8d8;border:1px solid #e4d9bd;border-radius:12px;padding:16px;font-size:13px;line-height:1.8}.stack{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.croissant{font-size:84px}.total-row{font-size:20px;margin-top:15px}.auth-hint{margin-top:25px}.inline-error{color:#a33d28;min-height:20px;font-size:13px}.count-input{max-width:80px}.mono{font-family:monospace;word-break:break-all;font-size:12px}.page-tools{display:flex;gap:10px}.ledger-wrap{overflow:auto}.product-art .pill{position:absolute;top:12px;left:12px;background:#fff9;font-size:10px}
@media(max-width:800px){header{gap:12px;padding:20px;flex-wrap:wrap}.brand{font-size:22px}nav{order:3;width:100%;justify-content:center}.quiet#identity{margin-left:auto;font-size:12px}main{padding:20px}.hero{grid-template-columns:1.2fr 1fr;min-height:230px}.hero-copy{padding:28px 20px}.hero h1{font-size:29px;letter-spacing:1px}.hero .cup{transform:rotate(-10deg) scale(.85)}.hero-art .cup:nth-child(2){display:none}.hero-art:after{font-size:9px;right:10px}.product-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product-art{height:145px}.product-body{padding:14px}.product h3{font-size:15px}.product p{line-height:1.6;min-height:38px;margin-bottom:12px}.summary-grid{grid-template-columns:1fr;gap:12px}.summary-card{padding:20px}.summary-card strong{font-size:28px}.card-list,.board{grid-template-columns:1fr}.store-strip{align-items:flex-start}.store-strip select{max-width:170px}.store-strip h3{font-size:14px}.section-head h2{font-size:21px}.ledger{font-size:12px}.order{padding:16px}footer{padding:24px 20px 120px;flex-direction:column}.demo-banner{font-size:10px;letter-spacing:0}.hero-copy p{font-size:12px}.row .subtle{max-width:180px}}

.report-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0}.report-filters label{margin:0;min-width:160px}.report-filters .button{width:auto;margin:0}.report-filters .subtle{align-self:center}
@media(max-width:800px){.report-filters label{flex:1 1 145px}.report-filters .button{flex:1 1 100%}}

textarea{font:inherit;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);width:100%;resize:vertical}textarea:focus-visible{outline:3px solid #bd8a43;outline-offset:3px}
.product-photo{width:100%;height:100%;object-fit:cover}.product-admin-info{border:0;min-width:0}.product-admin-thumb{width:70px;height:70px;object-fit:cover;border-radius:9px}.product-gallery{display:flex;gap:8px;overflow-x:auto;margin:14px 0}.product-gallery img{width:105px;height:105px;object-fit:cover;border-radius:9px;flex-shrink:0}@media(max-width:800px){.page-tools{flex-wrap:wrap}.product-admin-info{align-items:flex-start}.product-admin-thumb{width:55px;height:55px}}

.scope-fieldset{border:1px solid var(--line);border-radius:9px;margin:15px 0;padding:10px 12px}.scope-fieldset legend{font-weight:600;padding:0 5px}.scope-options{max-height:155px;overflow:auto;display:grid;gap:3px}.scope-option{display:flex;align-items:center;gap:9px;margin:0;padding:5px 3px;cursor:pointer}.scope-option input{width:auto;margin:0;flex:none}.scope-option span{min-width:0}.scope-option small{color:var(--muted)}

.offer-candidates{border:1px solid var(--line);border-radius:8px;padding:8px 12px;max-height:180px;overflow:auto}.offer-candidate{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:12px;border-bottom:1px solid var(--line)}.offer-candidate:last-child{border:0}.offer-candidate span{color:var(--muted);text-align:right}
