*{box-sizing:border-box}body{margin:0;font-family:"Microsoft JhengHei","PingFang TC",Arial,sans-serif;color:#243630;background:#f4f7f6}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.primary{border:0;border-radius:10px;background:#176b58;color:#fff;padding:13px 20px;font-weight:800}.shop-head{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 6vw;background:#fff;position:sticky;top:0;z-index:5}.site-brand{display:flex;align-items:center;gap:10px;font-size:21px}.site-brand i{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#176b58;color:#fff;font-style:normal}.site-brand small{display:block;font-size:9px;letter-spacing:2px}.shop-head nav{display:flex;gap:25px}.shop-head a{text-decoration:none;color:#365b50}.admin-link{border:1px solid #cfded8;padding:9px 13px;border-radius:8px}.hero{min-height:560px;padding:115px 8vw;background:linear-gradient(125deg,#d7eee7,#eee4f6,#f8eadc);background-size:300% 300%;animation:bg 12s infinite}.hero span{letter-spacing:3px;color:#537c70}.hero h1{font-family:Georgia,"Noto Serif TC",serif;font-size:clamp(42px,6vw,82px);max-width:900px;margin:18px 0}.hero p{font-size:18px}.hero a{display:inline-block;margin-top:20px;padding:15px 24px;background:#1d6956;color:#fff;text-decoration:none;border-radius:12px}.benefits{display:grid;grid-template-columns:repeat(3,1fr);background:#183e33;color:#fff;padding:25px 7vw;gap:25px}.benefits>div{display:flex;gap:16px}.benefits b{font-size:24px;color:#7fd0b8}.benefits span{display:grid;gap:5px}.benefits small{color:#adc4bd}.products{padding:70px 6vw}.section-title h2{font-size:35px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}.product-card{background:#fff;padding:18px;border-radius:18px;box-shadow:0 8px 26px #304b4212}.product-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:8px}.product-gallery img{width:100%;flex:0 0 100%;aspect-ratio:1;object-fit:cover;border-radius:13px;scroll-snap-align:start}.product-card h3{font-size:20px}.product-card h3 a{color:inherit;text-decoration:none}.product-card b{font-size:20px}.product-card button{width:100%;margin-top:15px;padding:12px;background:#eaf4f0;color:#176b58;border:0;border-radius:9px;font-weight:800}.detail-grid{display:block;max-width:1100px;margin:auto}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:30px}.product-detail .product-copy{padding:20px}.product-detail .detail-images{grid-column:1/-1}.detail-images img{display:block;width:100%;height:auto}.product-description{line-height:1.9;margin:20px 0}.product-copy pre{white-space:pre-wrap;background:#f3f6f5;padding:15px;border-radius:10px}.store-banner{margin:30px 6vw 70px;padding:60px;background:linear-gradient(135deg,#244f42,#386d5e);color:#fff;border-radius:24px}.store-banner h2{font-size:38px}.cod-box{display:flex;justify-content:space-between;background:#edf7f3;padding:15px;margin:14px 0;border-radius:10px}.cod-box b{color:#176b58}footer{text-align:center;padding:35px;color:#778781}.modal{position:fixed;inset:0;background:#15251d88;display:grid;place-items:center;z-index:20;padding:20px}.checkout-card,.editor-card,.success-card{background:#fff;width:min(620px,96vw);max-height:92vh;overflow:auto;border-radius:20px;padding:30px;position:relative}.checkout-card label,.editor-card label,.install-card label,.login-card label,.email-panel label{display:grid;gap:7px;margin:13px 0;font-weight:700}.checkout-card input,.checkout-card select,.editor-card input,.editor-card textarea,.login-card input,.install-card input,.email-panel input{padding:12px;border:1px solid #cedbd6;border-radius:8px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.x{position:absolute;right:18px;top:15px;border:0;background:none;font-size:25px}.success-card{text-align:center}.success-card i{display:grid;place-items:center;margin:auto;width:75px;height:75px;border-radius:50%;background:#dff5e8;color:#16704f;font-size:36px}.success-card button{padding:12px 20px;background:#176b58;color:#fff;border:0;border-radius:9px}.success-card small{display:block;margin-top:12px}.install-page,.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(125deg,#66bca7,#987ed2,#ec8da8);background-size:300% 300%;animation:bg 10s infinite}.install-card,.login-card{width:min(460px,92vw);background:#fffffff0;padding:38px;border-radius:25px;box-shadow:0 30px 90px #20334d55}.logo{display:grid;place-items:center;margin:auto;width:65px;height:65px;border-radius:50%;background:#247460;color:#fff;font-size:25px}.login-card{text-align:left}.login-card h1{text-align:center;font-size:28px}.login-card>b,.login-card>p{text-align:center;display:block}.error{color:#c43d4e}.notice{padding:12px;background:#e6f5ef;border-radius:9px}.admin-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.admin-shell aside{background:#e1eee9;padding:28px 20px;display:flex;flex-direction:column}.admin-shell aside h2{font-size:23px}.admin-shell aside nav{display:grid;gap:7px;margin-top:25px}.admin-shell aside nav button,#logout{border:0;background:transparent;text-align:left;padding:14px;border-radius:9px;color:#4f6c63}.admin-shell aside nav button.active{background:#fff;color:#176b58;font-weight:800}.admin-shell #logout{margin-top:auto}.admin-shell #userCard{display:grid;padding:15px;background:#ffffff99;border-radius:12px}.admin-shell #userCard small{color:#6e817b}.dashboard{padding:32px;min-width:0}.dashboard>header{display:flex;justify-content:space-between;align-items:center}.dashboard>header h1{font-size:34px;margin:5px 0 25px}.welcome{background:#fff;padding:20px;border-radius:15px}.welcome h2{font-size:25px;margin:7px 0}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:17px}.kpis article{padding:23px;border-radius:16px;color:#fff;min-height:145px}.kpis b{display:block;font-size:27px;margin-top:22px}.red{background:linear-gradient(135deg,#df3d51,#ff6b5e)}.cyan{background:linear-gradient(135deg,#00a5b2,#21c7bc)}.blue{background:linear-gradient(135deg,#2767da,#4b91ee)}.purple{background:linear-gradient(135deg,#7145d5,#a15de0)}.panel{background:#fff;padding:24px;border-radius:17px;margin-top:18px;box-shadow:0 7px 25px #243b3410}.table-wrap{overflow:auto}.table-wrap table{width:100%;min-width:1000px;border-collapse:collapse}.table-wrap th{background:#eef3f1;color:#71817c;text-align:left;padding:14px}.table-wrap td{padding:15px 14px;border-bottom:1px solid #e6ece9;vertical-align:middle}.table-wrap td small{display:block;color:#89958f;margin-top:4px}.table-wrap button{border:1px solid #cddbd6;background:#f4f8f6;color:#2e6254;padding:7px 9px;border-radius:7px;margin:2px}.track{padding:8px;border:1px solid #d6dfdb;border-radius:7px}.invalid{border-color:#df3d51!important;box-shadow:0 0 0 3px #df3d5120}.status{font-style:normal;padding:6px 9px;border-radius:14px}.status.pending{background:#fff0f1;color:#d4364e}.status.shipping{background:#e8f9fb;color:#008994}.status.completed{background:#ebf3ff;color:#2462c9}.endpoint{padding:13px;background:#eaf3f0;border-radius:8px;margin:10px 0;color:#176b58;font-family:monospace}.upload-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}#toast{position:fixed;right:25px;top:25px;z-index:50;padding:13px 18px;border-radius:9px;color:#fff;transform:translateY(-100px);transition:.25s}#toast.ok{background:#1d765d;transform:none}#toast.bad{background:#d43f52;transform:none}@keyframes bg{50%{background-position:100% 50%}}@media(max-width:800px){.shop-head nav a:not(.admin-link){display:none}.benefits{grid-template-columns:1fr}.product-detail{grid-template-columns:1fr;padding:15px}.admin-shell{grid-template-columns:76px 1fr}.admin-shell aside{padding:15px 8px}.admin-shell aside h2,#userCard,#logout{display:none}.admin-shell aside nav button{font-size:0;text-align:center}.admin-shell aside nav button:first-letter{font-size:20px}.dashboard{padding:16px}.kpis{grid-template-columns:1fr 1fr}.two,.upload-grid{grid-template-columns:1fr}}
/* dashboard reporting */
.header-actions{display:flex;align-items:end;gap:9px}.header-actions label{display:grid;gap:4px;font-size:11px;color:#74827d}.header-actions select,.header-actions button{height:42px;border:1px solid #d2ded9;background:#fff;border-radius:8px;padding:0 13px}.bar-chart{height:240px;display:flex;align-items:end;gap:12px;padding:25px;border-bottom:1px solid #dfe8e4;overflow:hidden}.bar-chart i{display:block;flex:1;min-width:18px;max-height:190px;border-radius:7px 7px 0 0;position:relative}.bar-chart i span{display:none}.performance{border-top:5px solid #2870df}
.map-panel{margin:18px 0;border:1px solid #ddd5ca;background:#faf8f4;padding:10px}.map-panel iframe{width:100%;height:260px;border:0}.map-panel small{display:block;padding:8px 4px 2px;color:#756d64}

/* 前台视觉与本地原版保持一致 */
.shop-shell,.standalone-product{background:#faf9f6;color:#302d29}.brand{display:flex;align-items:center;gap:10px;color:#302d29;text-decoration:none;font-family:Georgia,"Noto Serif TC",serif;font-size:19px;letter-spacing:3px}.brand-mark{width:42px;height:42px;border:1px solid #74614f;border-radius:50% 50% 44% 56%;display:grid;place-items:center;color:#6f5845}.brand small{display:block;font:8px Arial,sans-serif;letter-spacing:3px;margin-top:2px}.shop-nav{height:84px;padding:0 6vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7e0d6;background:#fbfaf7e8;backdrop-filter:blur(12px);position:sticky;top:0;z-index:20}.shop-nav nav{display:flex;gap:38px}.shop-nav a{color:#443f39;text-decoration:none;font-size:14px}.nav-actions{display:flex;align-items:center;gap:10px}.ghost,.bag{border:0;background:transparent;padding:10px 14px}.bag{border-left:1px solid #e7e0d6}.bag b{background:#292721;color:#fff;border-radius:20px;font-size:10px;padding:3px 7px;margin-left:5px}
.shop-shell .hero{min-height:665px;padding:0;background:#f0e9de;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;animation:none}.hero-copy{padding:95px 7vw;position:relative;z-index:2}.eyebrow,.section-head span,.store-banner>div>span{font-size:11px;letter-spacing:2.3px;color:#937258;text-transform:uppercase;font-weight:700}.shop-shell .hero h1{font:500 clamp(48px,5.2vw,78px)/1.16 Georgia,"Noto Serif TC",serif;letter-spacing:2px;margin:23px 0;max-width:none}.shop-shell .hero h1 i{font-style:italic;color:#765942}.hero-copy>p{color:#69635c;max-width:530px;line-height:1.9;font-size:16px}.hero-cta{display:flex;gap:14px;margin-top:34px}.hero-cta a,.hero-cta button,.store-banner button{padding:16px 22px;border:1px solid #7f6a59;text-decoration:none;font-size:14px}.hero-cta .primary{background:#2f3e35;color:#fff;border-color:#2f3e35;border-radius:0}.hero-cta button{background:transparent;color:#3f3934}.trust{display:flex;gap:25px;color:#746e67;font-size:12px;margin-top:42px}.hero-art{position:relative;background:linear-gradient(135deg,#dad0c1,#bda78d);overflow:hidden}.sun{position:absolute;width:360px;height:360px;border-radius:50%;background:#ebd8b9;top:40px;right:55px}.arch{position:absolute;width:78%;height:74%;border:1px solid #ffffff66;border-radius:48% 48% 0 0;left:11%;bottom:0;background:#d9c7b3aa;box-shadow:inset 0 0 70px #fff3}.bottle{position:absolute;bottom:80px;background:linear-gradient(90deg,#ddc7ad,#f3e8d7 42%,#bda688);box-shadow:18px 22px 34px #4a382c40;text-align:center;padding-top:45px;color:#584736}.bottle.big{width:155px;height:330px;left:34%;border-radius:75px 75px 24px 24px}.bottle.small{width:105px;height:250px;left:59%;border-radius:10px}.bottle.small:before{content:"";position:absolute;top:-38px;left:24px;width:58px;height:45px;background:#7c604b;border-radius:5px}.bottle span{display:block;font:28px Georgia;letter-spacing:5px}.bottle em{display:block;font:8px Arial;letter-spacing:2px;margin-top:16px;line-height:1.7}.leaf{position:absolute;color:#776a54;font:120px serif;transform:rotate(-38deg)}.l1{left:8%;bottom:0}.l2{right:2%;top:40px;transform:rotate(140deg)}.note{position:absolute;right:24px;bottom:28px;color:#5b5047;font:italic 12px Georgia;line-height:1.8}
.shop-shell .benefits{grid-template-columns:repeat(3,1fr);padding:26px 6vw;border-bottom:1px solid #e7e0d6;background:#fff;color:#302d29;gap:0}.shop-shell .benefits>div{align-items:center;justify-content:center;gap:18px;border-right:1px solid #e7e0d6}.shop-shell .benefits>div:last-child{border:0}.shop-shell .benefits b{font:italic 22px Georgia;color:#a68c76}.shop-shell .benefits strong{font-size:13px}.shop-shell .benefits small{font-size:11px;color:#8c867e}.shop-shell .products{padding:90px 6vw}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:36px}.section-head h2{font:38px Georgia,"Noto Serif TC",serif;margin:8px 0 0}.section-head a{color:#6c5848;text-decoration:none;font-size:13px;border-bottom:1px solid;padding-bottom:5px}.shop-shell .product-grid{grid-template-columns:repeat(3,1fr);gap:24px}.shop-shell .product-card{padding:0;border-radius:0;box-shadow:none;background:transparent}.product-photo{height:370px;background:#e9e0d4;position:relative;overflow:hidden;display:grid;place-items:center}.product-photo.cleanser{background:#d9dfda}.product-photo.mask{background:#e5ddd4}.product-photo>button{position:absolute;right:15px;top:15px;z-index:3;width:38px;height:38px;border-radius:50%;border:0;background:#fff9}.card-product-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.pill{position:absolute;left:15px;top:15px;z-index:3;background:#f7f2e9;padding:7px 10px;font-size:10px;color:#78614e}.view-detail{position:absolute;z-index:3;bottom:15px;background:#2f3e35dd;color:#fff;padding:9px 15px;font-size:11px;opacity:0;transition:.2s}.product-photo:hover .view-detail{opacity:1}.product-meta{padding:18px 4px}.product-meta small{color:#847c74}.product-meta h3{font:20px Georgia,"Noto Serif TC",serif;margin:8px 0}.product-meta h3 a{color:inherit;text-decoration:none}.stars{color:#9b704d;font-size:11px}.stars i{color:#928b84}.product-meta>strong{display:block;font-size:18px;margin:13px 0}.quick-buy{width:100%;padding:12px;border:1px solid #315448;background:#315448;color:#fff}.store-banner{display:flex;justify-content:space-between;align-items:center;margin:30px 6vw 70px;padding:60px;background:#35463e;color:#fff;border-radius:0}.store-banner h2{font:38px Georgia,"Noto Serif TC",serif}.store-banner button{background:transparent;color:#fff;border-color:#ffffff99}
.product-header{height:76px;background:#fff;border-bottom:1px solid #e7e4dd;display:flex;align-items:center;justify-content:space-between;padding:0 6vw}.product-header>a:last-child{color:#28322e;text-decoration:none}.product-breadcrumb{max-width:1180px;margin:0 auto;padding:25px 20px;font-size:12px;color:#828983}.product-breadcrumb a{color:#56645e;text-decoration:none}.product-page-main{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.1fr .9fr;gap:55px;padding:0 20px 70px}.standalone-gallery{--thumb-tray-height:88px;position:sticky;top:20px;height:738px;padding-bottom:var(--thumb-tray-height);background:#f0ede6;overflow:hidden}.standalone-gallery>img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}.slide-prev,.slide-next{position:absolute;top:calc((100% - var(--thumb-tray-height))/2 - 22px);width:44px;height:44px;border:0;border-radius:50%;background:#fffe;font-size:28px;box-shadow:0 3px 14px #17372e24}.slide-prev{left:18px}.slide-next{right:18px}.gallery-thumbs{position:absolute;left:0;right:0;bottom:0;height:var(--thumb-tray-height);display:flex;align-items:center;justify-content:flex-start;gap:9px;padding:11px 14px;background:#fafbfacc;border-top:1px solid #dfe5e2;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#a9bbb5 transparent}.gallery-thumbs button{flex:0 0 64px;width:64px;height:64px;padding:3px;border:2px solid transparent;border-radius:6px;background:#fff;box-shadow:0 2px 8px #183b3120}.gallery-thumbs button.active{border-color:#176454;box-shadow:0 0 0 1px #176454}.gallery-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:3px}.standalone-info{padding:40px 0}.product-kicker{font-size:11px;letter-spacing:1.5px;color:#22715e}.standalone-info h1{font:40px/1.3 Georgia,"Noto Serif TC",serif;margin:15px 0}.detail-rating{color:#9b704d;font-size:12px}.detail-rating span{color:#87908b;margin-left:8px}.standalone-price{font-size:32px;font-weight:700;margin:24px 0;color:#174f43}.standalone-info>p{font-size:14px;line-height:1.9;color:#66706b}.selling-points{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:22px 0}.selling-points span{background:#edf4f1;padding:12px;text-align:center;font-size:11px;color:#1d6555}.variant-picker{margin:20px 0}.variant-picker>b{font-size:13px}.variant-picker>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.variant-picker button{padding:10px 14px;border:1px solid #d8dedb;background:#fff}.variant-picker button.active{border-color:#176454;background:#edf6f3;color:#176454}.quantity{display:flex;align-items:center;font-size:12px;margin:20px 0}.quantity button,.quantity b{width:38px;height:36px;display:grid;place-items:center;border:1px solid #d9ddd9;background:#fff}.quantity button:first-of-type{margin-left:15px}.standalone-buy{width:100%;height:54px;background:#176454;color:#fff;border:0;font-size:15px;display:grid;place-items:center}.standalone-info>small{display:block;text-align:center;color:#78817c;margin-top:12px}.long-detail{max-width:900px;margin:0 auto;padding:20px 20px 100px}.long-detail>h2,.standalone-specs h2{text-align:center;font-size:26px;margin:40px 0 25px}.long-detail>img{width:100%;display:block;margin-bottom:18px}.standalone-specs{background:#fff;padding:30px;margin-top:35px}.spec-copy{line-height:2;color:#626b66}.standalone-product footer{background:#faf9f6}
@media(max-width:800px){.shop-nav{height:68px;padding:0 16px}.shop-nav nav{display:none}.nav-actions .ghost{display:none}.shop-shell .hero{grid-template-columns:1fr;min-height:auto}.hero-copy{padding:62px 22px 54px}.shop-shell .hero h1{font-size:44px}.hero-art{height:480px}.trust{gap:10px;flex-wrap:wrap}.shop-shell .benefits{grid-template-columns:1fr;padding:12px 18px}.shop-shell .benefits>div{justify-content:flex-start;border-right:0;border-bottom:1px solid #eee5db;padding:15px}.shop-shell .product-grid{grid-template-columns:1fr}.shop-shell .products{padding:58px 18px}.product-photo{height:420px}.store-banner{margin:15px 18px 55px;padding:34px 25px;display:block}.store-banner button{margin-top:20px}.product-header{height:64px;padding:0 16px}.product-page-main{display:block;padding:0}.product-breadcrumb{padding:14px 16px}.standalone-gallery{--thumb-tray-height:76px;position:relative;top:0;height:506px}.gallery-thumbs button{flex-basis:56px;width:56px;height:56px}.standalone-info{padding:28px 18px}.standalone-info h1{font-size:29px}.standalone-price{font-size:27px}.long-detail{padding:10px 0 80px}.long-detail>h2{padding:0 18px;text-align:left}.long-detail>img{margin:0}.standalone-specs{margin:20px 12px 0;padding:18px}}

/* 本地原版购买页面 */
.checkout-backdrop{background:#24201cc9;padding:20px;backdrop-filter:blur(4px);align-items:center}.checkout-modal{width:min(1310px,96vw);max-height:94vh;overflow:auto;background:#fbfaf7;position:relative;padding:35px;border-radius:0}.checkout-x{position:absolute;right:28px;top:20px;border:0;background:transparent;font-size:30px;z-index:3}.checkout-head{text-align:center;margin-bottom:26px}.checkout-head>span{font-size:11px;letter-spacing:2.3px;color:#937258;font-weight:700}.checkout-head h2{font:32px Georgia,"Noto Serif TC",serif;margin:8px}.checkout-head p{color:#817a72;font-size:13px;margin:0}.checkout-head #chosenProduct{margin-top:8px;color:#6f6962;font-size:12px}.checkout-head #chosenProduct small{margin-left:10px}.checkout-grid{display:grid;grid-template-columns:1.08fr .92fr;border:1px solid #e7e0d6;min-height:720px}.checkout-map{min-height:720px;position:sticky;top:0;align-self:start;height:calc(94vh - 160px)}.checkout-map iframe{width:100%;height:100%;border:0;filter:saturate(.72)}.checkout-map>button{position:absolute;left:18px;bottom:18px;background:#fff;border:0;padding:11px 15px;box-shadow:0 4px 15px #0002}.store-panel{padding:25px}.buyer-fields,.area-picker{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;margin-top:16px}.field>span{color:#a84d42}.field input,.field select{width:100%;border:1px solid #ddd4c9;background:#fff;padding:13px;min-height:48px;outline:none}.field input:focus,.field select:focus{border-color:#80634b}.delivery-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.delivery-choice button{display:grid;text-align:left;gap:7px;border:1px solid #ddd4c9;background:#fff;padding:18px}.delivery-choice button.active{border-color:#398775;background:#edf6f3;color:#176454}.delivery-choice b{font-size:16px}.delivery-choice small{color:#857e77}.store-tabs{display:flex;border-bottom:1px solid #e7e0d6;margin:12px 0 16px}.store-tabs button{flex:1;border:0;background:none;padding:13px;color:#8b847c}.store-tabs button.active{color:#514438;border-bottom:2px solid #745d49}.store-list{display:flex;flex-direction:column;gap:8px}.store-list label{border:1px solid #e7e0d6;padding:15px;display:grid;grid-template-columns:28px 1fr;align-items:center;cursor:pointer}.store-list label.selected{border-color:#84654b;background:#f5eee5}.store-list input{width:21px;height:21px;grid-row:1}.store-list span{display:grid;gap:5px}.store-list b{font-size:16px}.store-list small{color:#8f8982}.cod-payment{display:grid;grid-template-columns:110px 1fr;gap:4px 12px;background:#eaf5f1;padding:17px;margin-top:18px}.cod-payment span{grid-row:1/3;color:#798882}.cod-payment b{color:#176454}.cod-payment small{color:#80908a}.checkout-total{display:flex;justify-content:space-between;margin:18px 0 10px;padding-top:14px;border-top:1px solid #e7e0d6}.checkout-total b{font:22px Georgia}.place-order{width:100%;border:0;background:#344a3d;color:#fff;padding:16px;font-weight:700}.privacy{display:block;text-align:center;color:#9b958e;margin-top:10px}.product-photo .favorite{position:absolute;right:15px;top:15px;z-index:3;width:38px;height:38px;border-radius:50%;background:#fff9;display:grid;place-items:center}
@media(max-width:800px){.checkout-backdrop{padding:0;align-items:start}.checkout-modal{width:100vw;max-height:100vh;padding:24px 0}.checkout-head{padding:0 22px}.checkout-head h2{font-size:27px}.checkout-grid{display:block;border:0}.checkout-map{position:relative;height:320px;min-height:320px}.store-panel{padding:20px 18px 35px}.buyer-fields,.area-picker{grid-template-columns:1fr}.delivery-choice{gap:8px}.delivery-choice button{padding:14px 10px}.checkout-x{right:14px;top:8px}}

/* 後台一致化：清晰字級、可見操作按鈕與本地版商品編輯器 */
.admin-page{font-size:15px;background:#f2f6f5}.admin-shell aside{background:linear-gradient(180deg,#e7f1ee,#f3f6f5);border-right:1px solid #d8e4e0}.admin-shell aside nav button{font-size:15px;color:#3e5b52}.admin-shell aside nav button.active{box-shadow:0 6px 18px #315d4f12}.dashboard{padding:34px 38px}.dashboard>header span{font-size:13px;color:#6f817b}.dashboard>header h1{font-size:36px}.header-actions{align-items:end}.header-actions label{font-size:13px}.header-actions #addButton{display:inline-flex;align-items:center;justify-content:center!important;min-width:126px;background:linear-gradient(135deg,#176b58,#319681)!important;color:#fff!important;border:0!important;font-size:14px;font-weight:800;box-shadow:0 8px 20px #176b5830}.header-actions #addButton:hover{transform:translateY(-1px);filter:brightness(1.05)}.panel{padding:28px}.panel h2{font-size:24px}.panel-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.panel-intro span,.editor-lead>span{font-size:11px;letter-spacing:2px;color:#8a674b;font-weight:800}.panel-intro h2{margin:6px 0}.panel-intro p{color:#77847f}.table-wrap th{font-size:13px}.table-wrap td{font-size:14px}.product-cell{display:flex;align-items:center;gap:12px}.product-cell img,.product-cell i{width:54px;height:54px;border-radius:9px;object-fit:cover;background:#edf3f1;display:grid;place-items:center;font-size:10px;color:#84938e}.product-cell span{min-width:190px}.table-wrap a{color:#176b58}.table-wrap button{font-weight:700}.table-wrap button.danger{color:#b4473e;border-color:#ebcac6;background:#fff7f6}.status.published{background:#e4f5ed;color:#167052}.status.draft{background:#fff2d9;color:#9d6815}.status.offline{background:#fde9eb;color:#bc394b}.agent-status{font-style:normal;padding:6px 10px;border-radius:20px;background:#e4f5ed;color:#167052}.agent-status.paused{background:#fde9eb;color:#bc394b}
.editor-card{width:min(620px,96vw);padding:38px;background:#fbfaf7;border-radius:16px;box-shadow:0 30px 90px #0e2b2255}.editor-card.product-editor{width:min(860px,96vw)}.editor-card.agent-editor{width:min(520px,94vw)}.editor-card h2{font:30px Georgia,"Noto Serif TC","Microsoft JhengHei",serif;margin:0 0 18px;color:#263a34}.editor-lead{margin:-8px 0 10px}.editor-lead p{color:#78837f;line-height:1.7}.editor-card label{font-size:13px}.editor-card input,.editor-card textarea,.editor-card select{width:100%;border:1px solid #d8e1dd!important;border-radius:8px;padding:12px 13px;background:#fff;outline:none}.editor-card input:focus,.editor-card textarea:focus,.editor-card select:focus{border-color:#319681!important;box-shadow:0 0 0 3px #31968118}.editor-card>button.primary{display:block;margin:24px 0 0 auto;min-width:150px;background:linear-gradient(135deg,#294d42,#176b58);font-size:15px}.editor-section-title{display:flex;align-items:center;gap:11px;margin:26px 0 12px;padding-top:20px;border-top:1px solid #e5ebe8}.editor-section-title>b{width:30px;height:30px;border-radius:50%;background:#176b58;color:#fff;display:grid;place-items:center;font-size:13px}.editor-section-title>span{display:flex;flex-direction:column;font-weight:800}.editor-section-title small{font-size:11px;font-weight:400;color:#87938e;margin-top:3px}.product-image-editor{display:grid;grid-template-columns:190px 1fr;gap:20px}.cover-uploader{display:flex!important;flex-direction:column;gap:7px!important;margin:0!important}.cover-uploader input,.add-image input{display:none}.cover-uploader>img,.cover-uploader>div{width:180px;height:180px;object-fit:cover;border:1px dashed #aebdb7;border-radius:12px;background:#f2f7f5;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#28715e}.cover-uploader>div small{margin-top:7px;color:#87938e}.cover-uploader em{font-size:11px;font-style:normal;color:#798681}.gallery-editor{display:flex;flex-direction:column}.gallery-editor>small,.detail-image-editor>small{font-size:11px;color:#87938e;margin-top:4px}.gallery-editor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px}.detail-image-editor{margin-top:18px;padding:16px;border:1px solid #dfe8e4;border-radius:12px;background:#fff}.detail-image-editor .gallery-editor-grid{grid-template-columns:repeat(5,1fr)}.gallery-editor-grid figure{height:92px;margin:0;position:relative;overflow:hidden;border:1px solid #dde5e1;border-radius:9px}.gallery-editor-grid figure img{width:100%;height:100%;object-fit:cover}.gallery-editor-grid figure button{position:absolute;right:4px;top:4px;width:23px;height:23px;border:0;border-radius:50%;background:#203a32dd;color:#fff}.gallery-editor-grid figcaption{position:absolute;left:4px;bottom:4px;background:#fffffff0;padding:2px 6px;border-radius:10px;font-size:9px}.add-image{height:92px!important;margin:0!important;border:1px dashed #aebdb7;border-radius:9px;display:grid!important;place-items:center;align-content:center;color:#28715e;font-size:22px!important}.add-image small{font-size:10px;color:#788680}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sku-toolbar{display:flex;gap:8px;margin:12px 0}.sku-toolbar button{border:1px solid #cddbd6;background:#eef5f2;color:#276252;padding:9px 12px;border-radius:8px}.sku-table{border:1px solid #dfe7e3;border-radius:12px;overflow:hidden;margin:8px 0 24px}.sku-table>div{display:grid;grid-template-columns:minmax(180px,1.4fr) repeat(3,minmax(105px,1fr)) 35px;gap:8px;align-items:center;padding:10px 12px;border-top:1px solid #edf1ef}.sku-table>div:first-child{border-top:0}.sku-head{background:#eef4f1;color:#40524c;font-size:12px}.sku-row input{padding:9px!important}.remove-sku{border:0;background:#f9e8e8;color:#b4473e;width:30px;height:30px;border-radius:50%}.editor-hint{margin-top:16px;background:#eaf4f0;color:#45635b;padding:13px;border-radius:8px}.editor-hint b{display:block;margin-top:5px;color:#176b58}.agent-editor .editor-lead{padding:15px;background:#edf5f2;border-radius:10px}.agent-editor>button.primary{width:100%}
@media(max-width:800px){.dashboard{padding:18px}.dashboard>header{align-items:flex-start;gap:14px}.header-actions{flex-wrap:wrap;justify-content:flex-end}.header-actions #addButton{min-width:54px}.editor-card{padding:26px 18px;border-radius:0;max-height:100vh}.product-image-editor{grid-template-columns:1fr}.cover-uploader>img,.cover-uploader>div{width:100%;height:230px}.editor-grid{grid-template-columns:1fr}.gallery-editor-grid,.detail-image-editor .gallery-editor-grid{grid-template-columns:repeat(3,1fr)}.sku-table{overflow-x:auto}.sku-table>div{min-width:700px}.admin-shell aside nav button{font-size:0}}

.store-status{margin:10px 0;padding:11px 13px;border-radius:8px;background:#f0f6f3;color:#55736a;font-size:12px;line-height:1.6}.purchase-notice{position:absolute;top:18px;right:18px;z-index:4;display:flex;align-items:center;gap:10px;max-width:280px;padding:11px 14px;border-radius:12px;background:#fffffff2;box-shadow:0 8px 25px #153b2f28;transition:.35s}.purchase-notice.fade{opacity:0;transform:translateY(-8px)}.purchase-notice i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#daf2e9;color:#176b58;font-style:normal}.purchase-notice span{display:flex;flex-direction:column}.purchase-notice b{font-size:13px}.purchase-notice small{font-size:11px;color:#77847f}.campaign-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:-4px 0 17px;padding:13px 16px;background:linear-gradient(100deg,#d8324b,#ed665a);color:#fff;border-radius:8px}.campaign-strip span{font-weight:800}.campaign-strip b{font-family:monospace;font-size:15px}.rating-sales{display:flex;align-items:center;justify-content:space-between;gap:15px}.rating-sales>b{color:#b94a44;font-size:14px}.review-section{max-width:1180px;margin:15px auto 35px;padding:35px;background:#fff}.review-head>span{font-size:10px;letter-spacing:2px;color:#8a674b}.review-head h2{font:30px Georgia,"Noto Serif TC",serif;margin:7px 0 20px}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.review-grid article{padding:18px;border:1px solid #e1e8e4;border-radius:12px;background:#fbfcfb}.review-grid article>div{display:flex;justify-content:space-between}.review-grid article span{color:#d89638}.review-grid article p{line-height:1.7}.review-grid article small{color:#8b9893}.marketing-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.marketing-grid label:nth-child(-n+2){grid-column:auto}.marketing-grid textarea{min-height:120px}
@media(max-width:800px){.purchase-notice{top:12px;right:12px;max-width:240px}.campaign-strip{align-items:flex-start;flex-direction:column}.rating-sales{align-items:flex-start}.review-section{margin:10px 12px;padding:24px 18px}.review-grid,.marketing-grid{grid-template-columns:1fr}.marketing-grid label:nth-child(-n+2){grid-column:1}.store-status{font-size:11px}}

.purchase-notice-stack{position:absolute;left:18px;top:18px;z-index:6;display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:88%;transition:.35s}.purchase-notice-stack.fade{opacity:0;transform:translateY(-6px)}.purchase-notice-stack .purchase-notice{position:static;display:block;width:auto;max-width:100%;padding:6px 12px;border-radius:18px;background:#292929d9;color:#fff;box-shadow:none;font-size:14px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.purchase-notice-stack .purchase-notice b{font-size:inherit}.atmosphere-box,.review-popularity{margin:14px 0;padding:18px;border:1px solid #dde7e3;border-radius:13px;background:#fbfdfc}.atmosphere-box{border-left:4px solid #e2544d}.review-popularity{border-left:4px solid #d49a32}.atmosphere-box h3,.review-popularity h3{margin:0 0 6px;font-size:17px}.atmosphere-box p,.review-popularity p{margin:0 0 12px;color:#75837e;font-size:12px;line-height:1.6}.atmosphere-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px}.atmosphere-controls label{margin-top:10px!important}
@media(max-width:800px){.purchase-notice-stack{left:10px;top:10px;gap:3px}.purchase-notice-stack .purchase-notice{font-size:11px;padding:5px 9px}.atmosphere-controls{grid-template-columns:1fr}}
.purchase-notice-stack .purchase-notice span{display:inline;white-space:nowrap}
.purchase-notice-stack{height:103px;overflow:hidden}.purchase-notice-stack.ticker-moving{animation:purchaseTickerUp .65s cubic-bezier(.22,.75,.25,1) forwards}@keyframes purchaseTickerUp{to{transform:translateY(-35px)}}
.popularity-panel{overflow:hidden}.popularity-hero{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:-28px -28px 24px;padding:28px;background:linear-gradient(135deg,#233f37,#3c7465);color:#fff}.popularity-hero span{font-size:10px;letter-spacing:2px;color:#8fe0c8}.popularity-hero h2{margin:7px 0;font-size:28px}.popularity-hero p{margin:0;color:#c9ddd7}.popularity-hero label{min-width:280px;font-size:12px}.popularity-hero select{width:100%;margin-top:7px;padding:12px;border:0;border-radius:9px;background:#fff}.popularity-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.popularity-columns textarea{width:100%;margin-top:7px;padding:13px;border:1px solid #d8e3df;border-radius:9px;line-height:1.65;resize:vertical}.popularity-columns small{display:block;margin-top:10px;color:#7d8b86}.popularity-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:18px}.popularity-actions a{color:#176b58}.popularity-actions .primary{min-width:170px}.admin-shell aside nav button[data-page="popularity"]{color:#b94b43}.admin-shell aside nav button[data-page="popularity"].active{color:#b13d36;background:#fff0ee}@media(max-width:800px){.popularity-hero{align-items:stretch;flex-direction:column}.popularity-hero label{min-width:0}.popularity-columns{grid-template-columns:1fr}.popularity-actions{align-items:stretch;flex-direction:column}.popularity-actions .primary{width:100%}}
#productPage{display:flex;flex-direction:column}.product-breadcrumb{order:1}.product-page-main{order:2}.long-detail{order:3}.review-section{order:4;margin-top:30px;margin-bottom:60px}.purchase-notice-stack{pointer-events:none;opacity:.92}.purchase-notice-stack .purchase-notice{background:#ffffffe0;color:#29433b;border:1px solid #ffffffcc;box-shadow:0 4px 14px #17382e18;backdrop-filter:blur(7px);font-size:12px;font-weight:500}.purchase-notice-stack .purchase-notice b{color:#176b58}
@media(max-width:800px){.purchase-notice-stack{opacity:.88;max-width:82%}.purchase-notice-stack .purchase-notice{font-size:10px;background:#ffffffe0}.review-section{margin-top:18px;margin-bottom:35px}}
.purchase-notice-stack{height:100px}.purchase-ticker-track{display:flex;flex-direction:column;align-items:flex-start;gap:4px;will-change:transform;animation:purchaseTickerContinuous var(--ticker-duration,12s) linear infinite}.purchase-notice-stack .purchase-notice{height:30px;min-height:30px;display:flex;align-items:center}.purchase-notice-stack:hover .purchase-ticker-track{animation-play-state:running}@keyframes purchaseTickerContinuous{from{transform:translateY(0)}to{transform:translateY(-50%)}}
@media(max-width:800px){.purchase-notice-stack{height:88px}.purchase-notice-stack .purchase-notice{height:26px;min-height:26px}}
.facebook-service{position:fixed;right:20px;top:52%;z-index:15;display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:30px 6px 6px 30px;background:linear-gradient(135deg,#1877f2,#0d5dcc);color:#fff;text-decoration:none;box-shadow:0 10px 30px #0c4ca744;transition:.25s}.facebook-service:hover{transform:translateX(-4px);filter:brightness(1.05)}.facebook-service i,.settings-preview i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:#1877f2;font:bold 24px Arial;font-style:normal}.facebook-service span{display:flex;flex-direction:column;font-size:13px;font-weight:800}.facebook-service small{font-size:10px;font-weight:400;color:#dbeaff}.site-settings{max-width:900px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700}.settings-grid label:nth-child(2){grid-row:span 2}.settings-grid input,.settings-grid textarea{padding:13px;border:1px solid #d6e1dd;border-radius:9px;background:#fff}.settings-preview{display:inline-flex;align-items:center;gap:10px;margin:20px 0;padding:12px 16px;border-radius:30px;background:#1877f2;color:#fff}.settings-preview span{display:flex;flex-direction:column}.settings-preview small{color:#dbeaff}.site-settings>.primary{display:block;min-width:180px}
@media(max-width:800px){.facebook-service{right:10px;top:auto;bottom:20px;padding:8px}.facebook-service span{display:none}.facebook-service i{width:38px;height:38px}.settings-grid{grid-template-columns:1fr}.settings-grid label:nth-child(2){grid-row:auto}}
@media(max-width:800px){.facebook-service{border-radius:28px;padding:7px 12px 7px 7px;gap:7px}.facebook-service span{display:block;font-size:0}.facebook-service span::before{content:"客服";font-size:14px;font-weight:800}.facebook-service span small{display:none}.facebook-service i{width:38px;height:38px;font-size:25px}.agent-service-grid{grid-template-columns:1fr}}
.delete-order{margin-top:6px;border-color:#efb9bf!important;background:#fff1f3!important;color:#c52f43!important}.delete-order:hover{background:#ffe2e6!important}
html,body{max-width:100%;overflow-x:hidden}.selected-store-summary{display:flex;flex-direction:column;gap:5px;margin:10px 0 12px;padding:13px 14px;border-left:4px solid #287965;background:#eaf5f1;color:#315f53}.selected-store-summary>span{font-size:11px;color:#6f847d}.selected-store-summary>b{font-size:16px}.selected-store-summary>small{line-height:1.6;word-break:break-word}.store-list label span{min-width:0}.store-list label small{line-height:1.55;white-space:normal;word-break:break-word}.store-list label small strong{color:#566c65}
@media(max-width:800px){body{width:100%;position:relative;overscroll-behavior-x:none}.modal,.checkout-backdrop{width:100%;max-width:100%;overflow-x:hidden;touch-action:pan-y}.checkout-modal,.checkout-grid,.checkout-map,.store-panel,.buyer-fields,.area-picker,.field,.delivery-choice,.store-fields,.store-list{width:100%;max-width:100%;min-width:0}.checkout-modal{height:100dvh;max-height:100dvh;overflow-x:hidden}.store-panel{overflow-x:hidden}.field input,.field select,.embedded-support input,.embedded-support textarea{min-width:0;max-width:100%;font-size:16px}.store-list label{width:100%;min-width:0;grid-template-columns:25px minmax(0,1fr);padding:13px 11px}.checkout-map iframe{max-width:100%}.selected-store-summary{width:100%;max-width:100%}}
.checkout-grid.checkout-no-map{display:block;min-height:0;border:0}.checkout-no-map .store-panel{width:min(680px,100%);margin:0 auto}.checkout-modal.checkout-simple{width:min(760px,96vw)}#manualStore:not(.hidden){display:flex;margin-top:14px;padding:15px;border:1px solid #d9e4df;border-radius:10px;background:#f4f8f6}#manualStore input{background:#fff}@media(max-width:800px){.checkout-modal.checkout-simple{width:100%}.checkout-no-map .store-panel{width:100%}#manualStore:not(.hidden){padding:13px 11px}}
.single-delivery-address{margin-top:12px!important;padding:15px;border:1px solid #d9e4df;border-radius:10px;background:#f4f8f6}.single-delivery-address input{background:#fff!important;font-size:16px}.single-delivery-address input::placeholder{color:#929c98}@media(max-width:800px){.single-delivery-address{padding:13px 11px}}
.product-owner{display:inline-flex;min-width:105px;flex-direction:column;padding:8px 11px;border-radius:10px}.product-owner small{margin-top:3px!important}.owner-tone-0{background:#e6f3ee;color:#176b58}.owner-tone-1{background:#e8eefb;color:#315fa9}.owner-tone-2{background:#fff0e2;color:#a45b21}.owner-tone-3{background:#f2eafb;color:#7444a6}.owner-tone-4{background:#e7f6f8;color:#14717c}.owner-tone-5{background:#fdebed;color:#a33e4c}.analytics-filter{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:end;margin-top:0;background:linear-gradient(135deg,#eef6f3,#f2eff9)}.analytics-filter h2{margin:5px 0}.analytics-filter p{margin:0;color:#71817b}.analytics-filter>div:first-child>span{font-size:10px;letter-spacing:2px;color:#527b70}.analytics-quick{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.analytics-quick button{border:1px solid #cbdad5;border-radius:9px;background:#fff;padding:9px 12px;color:#45645b}.analytics-dates{grid-column:1/-1;display:flex;align-items:end;gap:10px;padding-top:14px;border-top:1px solid #d8e4e0}.analytics-dates label{display:grid;gap:5px;color:#647770;font-size:11px}.analytics-dates input{height:42px;padding:0 12px;border:1px solid #cddbd6;border-radius:8px;background:#fff}.analytics-period-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.analytics-period-grid>.panel{min-width:0}.analytics-summary-table table{min-width:570px}.source-table-tag{display:inline-block;padding:6px 10px;border-radius:14px;background:#e8effb;color:#315c9b;font-weight:800}.source-progress{position:relative;width:160px;height:24px;overflow:hidden;border-radius:12px;background:#edf1ef}.source-progress i{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#4c8fdc,#56bba8)}.source-progress span{position:relative;z-index:1;display:grid;height:100%;place-items:center;font-size:11px;font-weight:800;color:#27483f}@media(max-width:900px){.analytics-filter{grid-template-columns:1fr}.analytics-quick{justify-content:flex-start}.analytics-dates{grid-column:1;flex-wrap:wrap}.analytics-period-grid{grid-template-columns:1fr}}
.login-action{display:inline-block;padding:7px 10px;border-radius:14px;font-style:normal;font-weight:800}.login-action.login_success{background:#e3f4ec;color:#1d7259}.login-action.login_failed{background:#fde7ea;color:#b63b4d}.login-action.logout{background:#e8eefb;color:#315fa9}.user-agent-cell{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#687a74;font-size:11px}.login-history-panel table{min-width:1450px}
.admin-shell aside nav button[data-page="loginlogs"]{color:#7651a3;background:#f0e8f8;font-weight:800}.admin-shell aside nav button[data-page="loginlogs"].active{color:#fff;background:linear-gradient(135deg,#7651a3,#9b6bc4)}.account-log-filter{margin-top:0;background:linear-gradient(135deg,#f3edf9,#eef4fb)}.account-log-filter .analytics-quick{margin:18px 0 0}.account-log-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:17px}.account-log-kpis article{min-height:115px;padding:21px;border-radius:15px;color:#fff}.account-log-kpis small{opacity:.86}.account-log-kpis b{display:block;margin-top:18px;font-size:28px}.log-green{background:linear-gradient(135deg,#24856c,#48ad8e)}.log-red{background:linear-gradient(135deg,#ce4053,#ed6d72)}.log-blue{background:linear-gradient(135deg,#3c6fc0,#6795dc)}.log-purple{background:linear-gradient(135deg,#7651a3,#a77acb)}@media(max-width:800px){.account-log-kpis{grid-template-columns:1fr 1fr}.account-log-kpis article{min-height:95px}}
.site-settings .panel-intro p{font-size:0}.site-settings .panel-intro p::after{content:"商品內頁會直接使用商品名稱作為瀏覽器與搜尋結果標題。";font-size:14px}
.admin-shell aside nav button[data-page="orders"]{position:relative}.order-count-badge{float:right;display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:14px;background:#e44858;color:#fff;font-size:12px;font-weight:800}.agent-order-label{display:inline-flex;flex-direction:column;min-width:90px;padding:7px 10px;border-radius:9px;font-weight:800}.agent-order-label small{opacity:.72}.tone-0{background:#e8eefb;color:#315fa9}.tone-1{background:#e6f5ef;color:#19705b}.tone-2{background:#fff0e2;color:#a45b21}.tone-3{background:#f2eafb;color:#7444a6}.tone-4{background:#e7f6f8;color:#14717c}.tone-5{background:#fdebed;color:#a33e4c}.tone-6{background:#f3f2dc;color:#74711f}.tone-7{background:#eee9e5;color:#715445}.agent-order-tone-0 td:first-child{border-left:3px solid #628bd1}.agent-order-tone-1 td:first-child{border-left:3px solid #3c9d81}.agent-order-tone-2 td:first-child{border-left:3px solid #d78a48}.agent-order-tone-3 td:first-child{border-left:3px solid #9a69c8}.agent-order-tone-4 td:first-child{border-left:3px solid #3a9ba5}.agent-order-tone-5 td:first-child{border-left:3px solid #d06672}.agent-order-tone-6 td:first-child{border-left:3px solid #9b9741}.agent-order-tone-7 td:first-child{border-left:3px solid #987763}#orderSoundToggle{white-space:nowrap;border:1px solid #cadbd5;background:#fff;color:#31594e;border-radius:8px;padding:0 12px;height:42px}.product-editor textarea[name="head_code"]{font-family:Consolas,monospace;font-size:12px;direction:ltr;text-align:left;background:#17221f;color:#d7f3ea;min-height:190px}
.admin-theme-picker{height:42px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #d3dfdb;border-radius:9px;background:#ffffffd9;color:#557068;font-size:12px}.admin-theme-picker>div{display:flex;gap:6px}.theme-swatch{width:22px;height:22px;padding:0;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #bac8c3;transition:.18s}.theme-swatch:hover{transform:scale(1.12)}.theme-swatch.active{box-shadow:0 0 0 2px #294f43;transform:scale(1.08)}.theme-mint{background:#dcefe8}.theme-blue{background:#dde8f3}.theme-sand{background:#f3e7d8}.theme-lavender{background:#e9e1f2}.theme-gray{background:#e5e8e7}
body[data-admin-theme="mint"]{background:#f1f7f5}body[data-admin-theme="mint"] .admin-shell aside{background:linear-gradient(180deg,#e3f1ec,#f2f7f5)}body[data-admin-theme="blue"]{background:#f1f5f9}body[data-admin-theme="blue"] .admin-shell aside{background:linear-gradient(180deg,#e3ebf4,#f3f6fa)}body[data-admin-theme="blue"] .admin-shell aside nav button.active{color:#42698c}body[data-admin-theme="sand"]{background:#f8f4ee}body[data-admin-theme="sand"] .admin-shell aside{background:linear-gradient(180deg,#f2e8db,#faf6f0)}body[data-admin-theme="sand"] .admin-shell aside nav button.active{color:#8a6644}body[data-admin-theme="lavender"]{background:#f6f3f9}body[data-admin-theme="lavender"] .admin-shell aside{background:linear-gradient(180deg,#ece5f3,#f8f5fa)}body[data-admin-theme="lavender"] .admin-shell aside nav button.active{color:#72578f}body[data-admin-theme="gray"]{background:#f3f5f4}body[data-admin-theme="gray"] .admin-shell aside{background:linear-gradient(180deg,#e8ecea,#f5f7f6)}body[data-admin-theme="gray"] .admin-shell aside nav button.active{color:#536963}body[data-admin-theme] .panel,body[data-admin-theme] .welcome{background:#fffffff2;backdrop-filter:blur(4px)}
@media(max-width:900px){.admin-theme-picker{padding:0 8px}.admin-theme-picker>span{display:none}.theme-swatch{width:20px;height:20px}}
.admin-shell aside .admin-theme-picker{height:auto;display:block;margin:22px 0 4px;padding:15px;border:1px solid #c8d8d2;border-radius:13px;background:#ffffff9c;color:#425f56}.admin-shell aside .admin-theme-picker>span{display:block;margin-bottom:11px;font-size:12px}.admin-shell aside .admin-theme-picker>div{display:grid;grid-template-columns:1fr;gap:7px}.admin-shell aside .theme-swatch{width:100%;height:34px;display:flex;align-items:center;gap:9px;padding:5px 8px;border:1px solid transparent;border-radius:8px;background:#ffffff70;box-shadow:none;color:#40534d;text-align:left}.admin-shell aside .theme-swatch i{display:block;width:20px;height:20px;border-radius:50%;border:1px solid #ffffff;box-shadow:0 0 0 1px #899c95}.admin-shell aside .theme-swatch small{font-size:12px}.admin-shell aside .theme-swatch.active{border-color:#2c5146;background:#fff;box-shadow:0 4px 12px #263f3720;transform:none}.admin-shell aside .theme-mint i{background:#72b9a2}.admin-shell aside .theme-blue i{background:#789fc7}.admin-shell aside .theme-sand i{background:#c99a68}.admin-shell aside .theme-lavender i{background:#9a7bb9}.admin-shell aside .theme-gray i{background:#82908b}
body[data-admin-theme="mint"]{background:#e8f2ef}body[data-admin-theme="mint"] .admin-shell aside{background:linear-gradient(180deg,#d7ebe4,#e9f2ef)}body[data-admin-theme="mint"] .admin-shell aside nav button.active{background:#bcded2;color:#145e4b}body[data-admin-theme="blue"]{background:#e9f0f6}body[data-admin-theme="blue"] .admin-shell aside{background:linear-gradient(180deg,#d9e5f0,#eaf0f6)}body[data-admin-theme="blue"] .admin-shell aside nav button.active{background:#c5d9ea;color:#315f87}body[data-admin-theme="sand"]{background:#f3ece3}body[data-admin-theme="sand"] .admin-shell aside{background:linear-gradient(180deg,#eadbc9,#f3ebe2)}body[data-admin-theme="sand"] .admin-shell aside nav button.active{background:#e4ceb3;color:#79532f}body[data-admin-theme="lavender"]{background:#eee9f3}body[data-admin-theme="lavender"] .admin-shell aside{background:linear-gradient(180deg,#e2d8ec,#f0eaf4)}body[data-admin-theme="lavender"] .admin-shell aside nav button.active{background:#d4c2e3;color:#62437f}body[data-admin-theme="gray"]{background:#e9edeb}body[data-admin-theme="gray"] .admin-shell aside{background:linear-gradient(180deg,#dce3e0,#edf0ef)}body[data-admin-theme="gray"] .admin-shell aside nav button.active{background:#cbd6d2;color:#405b52}
@media(max-width:800px){.admin-shell aside .admin-theme-picker{margin:15px 0;padding:7px}.admin-shell aside .admin-theme-picker>span,.admin-shell aside .theme-swatch small{display:none}.admin-shell aside .admin-theme-picker>div{gap:5px}.admin-shell aside .theme-swatch{height:29px;justify-content:center;padding:3px}.admin-shell aside .theme-swatch i{width:17px;height:17px}}
.captcha-field{margin-top:14px!important}.captcha-row{display:grid;grid-template-columns:1fr 150px;gap:10px;align-items:center}.captcha-row input{text-transform:uppercase;letter-spacing:4px;font-weight:800}.captcha-row img{display:block;width:150px;height:48px;border:1px solid #c9d8d3;border-radius:8px;cursor:pointer;background:#e8f2ef}.captcha-field>small{color:#7b8b85;font-size:11px;font-weight:400}@media(max-width:520px){.captcha-row{grid-template-columns:1fr 125px}.captcha-row img{width:125px;object-fit:cover}}
.sku-group-picker{padding:17px 18px;border:1px solid #dfe7e3;border-radius:13px;background:#fbfcfb}.sku-picker-heading{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px!important}.sku-picker-heading>b{font-size:14px}.sku-picker-heading span{color:#56766d;font-size:12px}.sku-dimension{display:grid;grid-template-columns:66px minmax(0,1fr);gap:12px;align-items:start;padding:13px 0;border-top:1px solid #e9eeec}.sku-dimension>b{padding-top:10px;color:#43554f;font-size:13px}.sku-dimension>div{display:flex;flex-wrap:wrap;gap:8px}.sku-group-picker .sku-dimension button,.sku-flat-options button{min-width:70px;max-width:100%;padding:9px 14px;border-radius:7px;line-height:1.35;white-space:normal}.sku-group-picker>small{display:block;margin-top:9px;color:#7a8883}.sku-group-picker>small:empty{display:none}.sku-format-guide{display:flex;flex-direction:column;gap:5px;margin:10px 0 13px;padding:12px 14px;border:1px solid #cfe1da;border-radius:9px;background:#eef7f4;color:#45665c;font-size:12px}.sku-format-guide b{color:#176b58}.sku-format-guide code{padding:2px 5px;border-radius:4px;background:#fff;color:#a24b45}@media(max-width:600px){.sku-group-picker{padding:14px}.sku-picker-heading{align-items:flex-start;flex-direction:column}.sku-dimension{grid-template-columns:1fr;gap:7px}.sku-dimension>b{padding-top:0}.sku-group-picker .sku-dimension button{min-height:42px;padding:9px 12px}}
.category-spec-guide{margin:11px 0;padding:15px;border:1px solid #d9e3ef;border-radius:10px;background:linear-gradient(135deg,#f1f6fb,#f7f3fb)}.category-spec-guide>b{display:block;color:#315f87;font-size:13px}.category-spec-guide>div{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.category-spec-guide span{padding:7px 10px;border-radius:16px;background:#fff;color:#4c6374;font-size:12px;box-shadow:0 2px 8px #40596e12}.category-spec-guide small{display:block;color:#74828e;line-height:1.7}.sku-toolbar{flex-wrap:wrap}
/* Storefront typography and product-detail visual hierarchy */
.shop-shell,.standalone-product{font-family:-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;color:#202823;background:#f5f6f4}.product-header{height:70px;background:#ffffffed;border-color:#e5e9e6;box-shadow:0 1px 8px #203b3210}.product-header .brand{font-size:17px;letter-spacing:2px}.product-header>a:last-child{padding:8px 12px;border-radius:7px;background:#f0f4f2;color:#53645e;font-size:12px}.product-breadcrumb{padding:19px 20px;color:#8b9691;font-size:11px;line-height:1.5}.product-breadcrumb a{color:#557269}.product-page-main{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:34px;align-items:start;padding-bottom:58px}.standalone-gallery{border:1px solid #e3e8e5;border-radius:12px;box-shadow:0 8px 28px #263e3510}.standalone-info{padding:30px 28px;background:#fff;border:1px solid #e5e9e6;border-radius:12px;box-shadow:0 8px 28px #263e3510}.product-kicker{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#39816e}.standalone-info h1{margin:11px 0 12px;font:700 30px/1.42 -apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;letter-spacing:.2px;color:#202622}.rating-sales{padding-bottom:15px;border-bottom:1px solid #edf0ee}.detail-rating{font-size:11px;letter-spacing:.3px}.detail-rating span{color:#8c9692}.rating-sales>b{font-size:12px}.original-price{margin-top:18px!important}.standalone-price{margin:17px 0 19px;color:#d63b45;font-size:28px;font-weight:800;letter-spacing:-.4px}.standalone-info>p{margin:0;color:#64706b;font-size:13px;line-height:1.85}.selling-points{gap:6px;margin:19px 0}.selling-points span{padding:10px 7px;border-radius:5px;background:#eff6f3;color:#367565;font-size:10px;font-weight:700}.campaign-strip{margin:-6px 0 15px;padding:11px 13px;border-radius:6px;font-size:12px}.campaign-strip b{font-size:13px}.variant-picker{margin:18px 0}.variant-picker>b,.sku-picker-heading>b{font-size:12px}.variant-picker button{min-height:38px;padding:8px 12px;border-color:#dce2df;border-radius:6px;color:#4d5954;font-size:12px}.variant-picker button:hover{border-color:#79a99b;color:#176454}.variant-picker button.active{border-color:#176454;background:#eaf5f1;color:#176454;font-weight:700;box-shadow:0 0 0 1px #176454 inset}.sku-group-picker{padding:14px 15px;border-color:#e1e7e4;background:#fbfcfb}.sku-picker-heading span,.sku-dimension>b,.sku-group-picker>small{font-size:11px}.sku-dimension{padding:11px 0}.quantity{margin:17px 0;color:#68756f;font-size:11px}.quantity button,.quantity b{width:36px;height:34px}.standalone-buy{height:50px;border-radius:7px;background:linear-gradient(135deg,#176454,#21816c);font-size:14px;font-weight:800;letter-spacing:.5px;box-shadow:0 7px 18px #17645426}.standalone-buy:hover{filter:brightness(1.05)}.standalone-info>small{margin-top:10px;color:#8b9691;font-size:10px}.long-detail{max-width:920px;padding-top:8px}.long-detail>h2,.standalone-specs h2{font-family:-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;font-size:21px;font-weight:800;letter-spacing:.5px;color:#29332f}.long-detail>h2{position:relative;padding-bottom:14px}.long-detail>h2:after{content:"";position:absolute;left:50%;bottom:0;width:36px;height:3px;border-radius:3px;background:#3b8875;transform:translateX(-50%)}.standalone-specs{border:1px solid #e5e9e6;border-radius:10px;box-shadow:0 6px 22px #263e350c}.spec-copy{color:#64706b;font-size:13px;line-height:2}.review-section{border:1px solid #e5e9e6;border-radius:12px;box-shadow:0 7px 24px #263e350d}.review-head h2{font:800 22px/1.4 -apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif}.review-grid article{background:#fafcfb}.review-grid article b,.review-grid article p{font-size:12px}.review-grid article p{color:#5d6964}.review-grid article small{font-size:10px}.shop-shell .product-meta h3{font:700 17px/1.45 -apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;color:#26302b}.shop-shell .product-meta small{font-size:11px}.shop-shell .product-meta>strong{color:#d63b45;font-size:17px}.shop-shell .quick-buy{border-radius:6px;font-size:13px;font-weight:700}
@media(max-width:800px){.standalone-product{background:#f2f4f2}.product-header{height:60px}.product-header .brand{font-size:15px}.product-header .brand-mark{width:36px;height:36px}.product-header>a:last-child{font-size:11px}.product-breadcrumb{padding:11px 14px;background:#fff;font-size:10px}.product-page-main{padding:0 10px}.standalone-gallery{border-radius:10px}.standalone-info{margin-top:10px;padding:22px 16px;border-radius:10px}.standalone-info h1{margin:9px 0 10px;font-size:23px;line-height:1.42}.standalone-price{margin:14px 0 16px;font-size:25px}.standalone-info>p{font-size:12px;line-height:1.8}.selling-points span{font-size:9px}.variant-picker button{min-height:40px;font-size:12px}.standalone-buy{height:50px}.long-detail{padding-top:4px}.long-detail>h2{padding-left:14px;font-size:19px;text-align:left}.long-detail>h2:after{left:14px;transform:none}.standalone-specs{margin:16px 10px 0}.standalone-specs h2{font-size:18px}.spec-copy{font-size:12px}.review-section{margin-left:10px;margin-right:10px;padding:20px 15px}.review-head h2{font-size:19px}.shop-shell .product-meta h3{font-size:16px}}
.standalone-product .product-breadcrumb{display:none!important}
.standalone-product .product-page-main{padding-top:18px}
@media(max-width:800px){.standalone-product .product-page-main{padding-top:10px}}
.checkout-head #chosenProduct{max-width:680px;margin:18px auto 0;text-align:left}.checkout-product-confirm{display:grid;grid-template-columns:92px minmax(0,1fr);gap:15px;align-items:center;padding:13px;border:1px solid #e0e6e3;border-radius:10px;background:#fff;box-shadow:0 5px 18px #253e3510}.checkout-product-confirm>img{display:block;width:92px;height:92px;border-radius:8px;background:#f3f5f4;object-fit:cover}.checkout-product-confirm>div{min-width:0}.checkout-product-confirm>div>span{display:block;margin-bottom:5px;color:#7e8b86;font-size:10px;font-weight:700;letter-spacing:1px}.checkout-product-confirm strong{display:-webkit-box;overflow:hidden;color:#27312d;font-size:14px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.checkout-spec-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.checkout-spec-tags em{padding:5px 8px;border-radius:5px;background:#edf5f2;color:#286b5a;font-size:10px;font-style:normal;font-weight:700}.checkout-product-confirm small{display:block!important;margin:0!important;color:#87928d;font-size:10px}.checkout-product-confirm small b{margin-left:5px;color:#d63b45;font-size:14px}.checkout-head #chosenProduct>small{margin-left:0}@media(max-width:800px){.checkout-head #chosenProduct{margin-top:15px}.checkout-product-confirm{grid-template-columns:76px minmax(0,1fr);gap:11px;padding:10px}.checkout-product-confirm>img{width:76px;height:76px}.checkout-product-confirm strong{font-size:12px}.checkout-spec-tags{margin:6px 0}.checkout-spec-tags em{padding:4px 7px;font-size:9px}.checkout-product-confirm small b{font-size:12px}}
.selling-points span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:11px 8px;font-size:12px;font-weight:800;letter-spacing:.2px}.campaign-strip{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:0;margin:-7px -7px 20px;padding:0;border-radius:10px;background:linear-gradient(125deg,#242327 0%,#3b252a 54%,#d93645 54%,#ef5a55 100%);box-shadow:0 8px 20px #c9314130}.campaign-strip:after{content:"";position:absolute;right:-30px;top:-55px;width:140px;height:140px;border:1px solid #ffffff24;border-radius:50%}.campaign-name{position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-content:center;padding:15px 16px;color:#fff}.campaign-name i{grid-row:1/3;align-self:center;padding:5px 7px;border-radius:5px;background:#ffdf3e;color:#392f18;font-size:10px;font-style:normal;font-weight:900}.campaign-name span{font-size:14px;font-weight:900;line-height:1.3}.campaign-name small{color:#ffffffa8;font-size:9px}.campaign-clock{position:relative;z-index:1;display:flex;min-width:215px;flex-direction:column;align-items:flex-end;justify-content:center;padding:10px 15px;color:#fff}.campaign-clock>small{margin-bottom:5px;color:#ffffffc7;font-size:9px}.campaign-clock>b{display:flex;align-items:center;gap:4px;font-family:-apple-system,BlinkMacSystemFont,"Microsoft JhengHei",sans-serif}.campaign-clock em{display:grid;min-width:28px;height:27px;place-items:center;padding:0 5px;border-radius:5px;background:#fff;color:#d93645;font-size:13px;font-style:normal;font-weight:900;box-shadow:0 2px 8px #6f17252e}.campaign-clock i{font-size:9px;font-style:normal;font-weight:700}.campaign-ended{padding:6px 10px;border-radius:5px;background:#fff;color:#d93645;font-size:12px}.detail-introduction,.standalone-specs{margin:0 0 24px;padding:27px 30px;border:1px solid #e3e8e5;border-radius:12px;background:#fff;box-shadow:0 7px 24px #263e350d}.detail-section-label{margin-bottom:18px;padding-bottom:13px;border-bottom:1px solid #edf0ee}.detail-section-label>span{color:#3b8875;font-size:9px;font-weight:800;letter-spacing:1.7px}.detail-section-label h3{margin:5px 0 0;color:#28332e;font-size:19px}.detail-parameter-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.detail-parameter-grid>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:11px;padding:11px 0;border-bottom:1px solid #edf0ee;font-size:12px;line-height:1.65}.detail-parameter-grid>div b{color:#47574f}.detail-parameter-grid>div span{color:#69756f}.detail-parameter-grid>p{grid-column:1/-1;margin:0;padding:9px 0;color:#65716b;font-size:13px;line-height:1.85}.detail-empty{color:#929d98;font-size:12px}.long-detail>img{border-radius:10px}.standalone-specs .detail-parameter-grid{margin-top:-3px}.product-summary{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media(max-width:800px){.selling-points span{min-height:43px;font-size:11px}.campaign-strip{grid-template-columns:1fr;margin:-5px -4px 17px;background:linear-gradient(145deg,#27252a 0%,#3d252b 51%,#d93645 51%,#ef5a55 100%)}.campaign-name{padding:13px 14px 9px}.campaign-name span{font-size:13px}.campaign-clock{min-width:0;align-items:flex-start;padding:8px 14px 13px}.campaign-clock>small{display:none}.campaign-clock em{min-width:27px;height:25px}.detail-introduction,.standalone-specs{margin:0 10px 15px;padding:20px 16px;border-radius:9px}.detail-section-label{margin-bottom:12px}.detail-section-label h3{font-size:17px}.detail-parameter-grid{grid-template-columns:1fr}.detail-parameter-grid>div{grid-template-columns:78px minmax(0,1fr);gap:9px;padding:9px 0;font-size:11px}.detail-parameter-grid>p{font-size:12px}.long-detail>img{border-radius:0}}
.buyer-message-field{margin-top:14px;padding:14px;border:1px solid #d9e4df;border-radius:10px;background:#f8faf9}.buyer-message-field>small{color:#8a9691;font-size:10px;font-weight:400}.buyer-message-field textarea{width:100%;min-height:82px;resize:vertical;padding:12px;border:1px solid #d5ded9;border-radius:7px;background:#fff;outline:none;font-size:14px;line-height:1.6}.buyer-message-field textarea:focus{border-color:#398775;box-shadow:0 0 0 3px #39877516}.buyer-message{display:block;max-width:280px;white-space:normal;color:#5e6d66;font-size:12px;line-height:1.55}.buyer-message:not(:empty){padding:7px 9px;border-radius:7px;background:#f1f6f4}
.site-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 24px}.site-footer:empty{display:none}.site-footer a,.login-card footer a{color:#356d5e;text-decoration:none;border-bottom:1px solid #9bbab1}.admin-complaint-email{position:fixed;right:18px;bottom:12px;z-index:8;padding:7px 11px;border-radius:15px;background:#ffffffd9;color:#557269;text-decoration:none;font-size:11px;box-shadow:0 3px 12px #2e514619}@media(max-width:800px){.admin-complaint-email{display:none}.site-footer{padding:25px 15px;font-size:12px}}
.analytics-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.analytics-kpis article{min-height:125px;padding:22px;border-radius:16px;color:#fff;box-shadow:0 9px 24px #29443b16}.analytics-kpis small{opacity:.86}.analytics-kpis b{display:block;margin-top:22px;font-size:28px}.analytics-red{background:linear-gradient(135deg,#db5363,#ef7971)}.analytics-cyan{background:linear-gradient(135deg,#1d9ca7,#50c1b6)}.analytics-blue{background:linear-gradient(135deg,#4778c7,#6c9ddd)}.analytics-purple{background:linear-gradient(135deg,#8062b8,#a585ca)}.source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.source-grid article{padding:17px;border-radius:12px}.source-grid article span,.source-grid article small{display:block}.source-grid article b{display:block;font-size:25px;margin:9px 0 3px}.source-tone-0{background:#e8effb;color:#315c9b}.source-tone-1{background:#e3f4ed;color:#246e59}.source-tone-2{background:#fff0df;color:#975b26}.source-tone-3{background:#f1e8f8;color:#724996}.source-tone-4{background:#e4f3f5;color:#236f78}.source-tone-5{background:#fbe8eb;color:#984452}.url-cell{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-result{display:inline-block;padding:6px 9px;border-radius:13px;font-style:normal;font-weight:700}.login-result.success{background:#e3f4ec;color:#1d7259}.login-result.failed{background:#fde7ea;color:#b63b4d}@media(max-width:900px){.analytics-kpis{grid-template-columns:1fr 1fr}.analytics-kpis article{min-height:105px}.analytics-kpis b{font-size:22px}}
.popularity-panel .atmosphere-box>small{font-size:0}.popularity-panel .atmosphere-box>small::after{content:"新增一行就是增加一位購買者；刪除整行即可移除。";font-size:12px}
.floating-cart{position:fixed;right:18px;bottom:22px;z-index:40;display:flex;align-items:center;gap:7px;border:0;border-radius:28px;padding:13px 17px;background:#203f37;color:#fff;box-shadow:0 12px 32px #183c3140;font-weight:800}.floating-cart b{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:12px;background:#ef4d5b;font-size:12px}.floating-cart.has-items{background:#176454}.cart-shade{position:fixed;inset:0;z-index:60;background:#14251d73;backdrop-filter:blur(2px)}.cart-drawer{position:fixed;z-index:61;right:0;top:0;width:min(470px,100vw);height:100dvh;background:#fbfaf7;box-shadow:-15px 0 45px #182c2640;display:grid;grid-template-rows:auto 1fr auto}.cart-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid #e5e2dc}.cart-drawer-head small{letter-spacing:1.5px;color:#92745d}.cart-drawer-head h2{margin:4px 0 0}.cart-drawer-head button{border:0;background:none;font-size:30px}.cart-items{padding:14px 20px;overflow:auto}.cart-row{display:grid;grid-template-columns:82px 1fr;gap:13px;padding:14px 0;border-bottom:1px solid #e7e4df}.cart-row>img{width:82px;height:82px;object-fit:cover;border-radius:8px}.cart-row>div:nth-child(2){display:grid;gap:4px;align-content:start}.cart-row small{color:#77817c}.cart-row b{color:#176454}.cart-row-actions{grid-column:2;display:flex;align-items:center;gap:8px}.cart-row-actions button{width:30px;height:30px;border:1px solid #d7dedb;background:#fff}.cart-row-actions .cart-remove{width:auto;margin-left:auto;border:0;color:#bd4650}.cart-empty{text-align:center;padding:80px 15px;color:#68756f}.cart-empty small{display:block;margin-top:8px}.cart-drawer-foot{padding:20px;border-top:1px solid #e5e2dc}.cart-drawer-foot>div{display:flex;justify-content:space-between;font-size:20px;margin-bottom:14px}.cart-drawer-foot button{width:100%;border:0;background:#176454;color:#fff;padding:15px;font-weight:800}.product-buy-actions{display:grid;grid-template-columns:.9fr 1.1fr;gap:10px}.standalone-cart,.product-buy-actions .standalone-buy{height:54px;border:1px solid #176454;font-weight:800}.standalone-cart{background:#edf6f3;color:#176454}.checkout-cart-title{margin:12px 0 8px;font-weight:800}.checkout-cart-list{display:grid;gap:8px;max-height:300px;overflow:auto}.checkout-cart-list .checkout-product-confirm{display:grid;grid-template-columns:58px 1fr auto;align-items:center;text-align:left;padding:8px;background:#fff;border:1px solid #e5e1da}.checkout-cart-list .checkout-product-confirm img{width:58px;height:58px;object-fit:cover}.checkout-cart-list .checkout-product-confirm>div{padding:0 10px}.checkout-cart-list .checkout-product-confirm strong{display:block;font-size:13px}.checkout-cart-list .checkout-product-confirm>b{white-space:nowrap;color:#176454}@media(max-width:720px){.floating-cart{right:10px;bottom:calc(18px + env(safe-area-inset-bottom));padding:11px 14px}.floating-cart span{display:none}.product-buy-actions{position:sticky;bottom:0;z-index:8;background:#fff;padding:8px 0}.checkout-cart-list{max-height:230px}}
.order-items-list{display:grid;gap:7px;min-width:260px}.order-items-list>div{padding:7px 9px;border-left:3px solid #72aa9b;border-radius:5px;background:#f3f8f6}.order-items-list b,.order-items-list small{display:block}.order-items-list small{margin-top:3px;color:#74827c}
.checkout-mobile-active .floating-cart{opacity:0;visibility:hidden;pointer-events:none}
.variant-picker button.sku-color-option{position:relative;padding-left:34px;transition:border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease}.variant-picker button.sku-color-option:before{content:"";position:absolute;left:11px;top:50%;width:13px;height:13px;border:1px solid #00000024;border-radius:50%;background:var(--sku-color);box-shadow:0 0 0 2px #fff;transform:translateY(-50%)}.variant-picker button.sku-color-option.active{border-color:var(--sku-color)!important;background:color-mix(in srgb,var(--sku-color) 13%,#fff)!important;color:#26332e!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--sku-color) 72%,#33423c) inset,0 0 0 2px color-mix(in srgb,var(--sku-color) 20%,transparent)!important}.variant-picker button.sku-color-option.active:before{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--sku-color)}
@supports not (background:color-mix(in srgb,#000 10%,#fff)){.variant-picker button.sku-color-option.active{background:#f3f6f5!important;box-shadow:0 0 0 2px var(--sku-color) inset!important}}
.admin-price-cell{display:flex;min-width:115px;flex-direction:column;align-items:flex-start;gap:5px}.admin-price-cell>span{display:flex;align-items:center;gap:3px}.admin-price-cell del{color:#9a9f9c;font-size:11px}.admin-price-cell>b,.order-amount,.buyer-total{color:#173f35}.price-drop-badge{display:inline-flex!important;align-items:center;margin-left:7px;padding:3px 7px;border-radius:10px;background:linear-gradient(135deg,#ed4654,#ff765e);color:#fff!important;font-size:10px!important;font-style:normal;font-weight:900;vertical-align:middle}.discount-order-item{border-left-color:#ed5961!important;background:linear-gradient(90deg,#fff2f3,#fff)!important}.discount-order-item del{color:#9a9f9c}.discount-order-item strong{color:#d63c4b}.buyer-name-line{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.repeat-buyer-badge,.buyer-tier-badge,.order-count-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;font-size:10px;font-weight:900;white-space:nowrap}.repeat-buyer-badge,.buyer-tier-badge{padding:4px 8px}.repeat-buyer-badge.repeat,.buyer-tier-badge.repeat,.order-count-pill.repeat{background:#e7f1ff;color:#326bc3}.repeat-buyer-badge.loyal,.buyer-tier-badge.loyal,.order-count-pill.loyal{background:#f0e8ff;color:#7445b5}.repeat-buyer-badge.vip,.buyer-tier-badge.vip,.order-count-pill.vip{background:#fff0c9;color:#9a6811;box-shadow:inset 0 0 0 1px #e6c46a}.buyer-tier-badge.new,.order-count-pill.new{background:#edf2f0;color:#71817b}.order-count-pill{min-width:56px;padding:7px 10px;font-size:12px}.repeat-buyer-row.repeat td{background:#f8fbff}.repeat-buyer-row.loyal td{background:#fcf9ff}.repeat-buyer-row.vip td{background:#fffdf6}.buyer-tier-row.repeat td:first-child{border-left:4px solid #5f8fd8}.buyer-tier-row.loyal td:first-child{border-left:4px solid #9065ca}.buyer-tier-row.vip td:first-child{border-left:4px solid #d1a33c}.buyer-tier-row:hover td,.order-table-polished tbody tr:hover td{filter:brightness(.985)}.buyers-panel .table-wrap{border:1px solid #e3ebe7;border-radius:13px}.buyers-panel table{min-width:1050px}.order-table-polished{border:1px solid #e3ebe7;border-radius:12px}.order-table-polished th{position:sticky;top:0;z-index:1}.order-table-polished td{transition:background .18s ease}
.admin-price-cell .sku-price-note{color:#58756d;font-size:11px;font-weight:700}.admin-price-cell .price-reduced-time{color:#c84b52;font-size:10px;white-space:nowrap}
.order-source-badge{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;padding:7px 10px;border-radius:10px;font-weight:900;white-space:nowrap}.order-source-badge small{margin:0!important;font-size:10px;font-weight:700}.order-source-badge.facebook{background:#e6f1ff;color:#1769c2;border:1px solid #a9cef4}.order-source-badge.unknown{background:#edf1ef;color:#687770;border:1px solid #d6dfdb}.order-source-badge.suspicious{background:linear-gradient(135deg,#ff334f,#ff7a38);color:#fff;border:1px solid #f32d47;box-shadow:0 5px 16px #ef34443d}.order-source-badge.suspicious small{color:#fff!important}.suspicious-order-row td{background:#fff4f1!important}.suspicious-order-row td:first-child{border-left:5px solid #ff3c4f}.buyer-source-warning{display:inline-flex;padding:5px 8px;border-radius:12px;font-size:10px;font-weight:900;white-space:nowrap}.buyer-source-warning.safe{background:#e6f1ff;color:#1769c2}.buyer-source-warning.unknown{background:#edf1ef;color:#687770}.buyer-source-warning.suspicious{background:#ff4055;color:#fff;box-shadow:0 3px 10px #ff405538}.suspicious-buyer-row td{background:#fff8f3!important}.order-source-head,.history-source-head{min-width:118px}
@media(min-width:1025px){
  .standalone-product .product-page-main{display:block;width:min(675px,calc(100% - 48px));max-width:675px;margin:24px auto 4px;padding:0}
  .standalone-product .standalone-gallery{--thumb-tray-height:104px;position:relative;top:auto;width:100%;height:auto;padding:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #dfe7e3;border-radius:22px;background:#fff;box-shadow:0 18px 48px #203a3214}
  .standalone-product .standalone-gallery>img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;flex:0 0 auto;background:#fff}
  .standalone-product .gallery-thumbs{position:relative;inset:auto;width:100%;height:var(--thumb-tray-height);flex:0 0 var(--thumb-tray-height);padding:14px 18px;background:linear-gradient(180deg,#fbfcfb,#f3f7f5)}
  .standalone-product .gallery-thumbs button{flex-basis:74px;width:74px;height:74px}
  .standalone-product .slide-prev,.standalone-product .slide-next{top:calc((100% - var(--thumb-tray-height))/2 - 24px);width:48px;height:48px}
  .standalone-product .standalone-info{width:100%;margin-top:24px;padding:34px 40px 36px;border:1px solid #dfe7e3;border-radius:22px;background:#fff;box-shadow:0 18px 48px #203a3212}
  .standalone-product .standalone-info h1{font-size:clamp(30px,3vw,42px);line-height:1.28}
  .standalone-product .selling-points span{padding:15px;font-size:13px;border-radius:8px}
  .standalone-product .variant-picker{padding:22px;border:1px solid #e0e8e4;border-radius:16px;background:#fcfdfc}
  .standalone-product .variant-picker button{min-height:48px;border-radius:9px;font-size:14px}
  .standalone-product .quantity{padding:4px 2px}
  .standalone-product .product-buy-actions{gap:14px}
  .standalone-product .standalone-cart,.standalone-product .product-buy-actions .standalone-buy{height:60px;border-radius:10px;font-size:16px}
  .standalone-product .long-detail{width:min(675px,calc(100% - 48px));max-width:675px;margin-top:0;padding:0 0 100px}
  .standalone-product .long-detail>h2{margin:0 0 14px;padding-top:0;padding-bottom:11px}
}
.management-search{display:grid;grid-template-columns:minmax(230px,1.5fr) repeat(3,minmax(145px,.75fr)) auto;gap:12px;align-items:end;margin:18px 0 22px;padding:16px;border:1px solid #dce8e4;border-radius:13px;background:linear-gradient(135deg,#f4faf8,#f8f7fc)}.management-search.product-search{grid-template-columns:minmax(260px,1.5fr) repeat(2,minmax(160px,.75fr)) auto}.management-search label{display:grid;gap:6px;color:#526760;font-size:12px;font-weight:800}.management-search input,.management-search select{width:100%;height:44px;padding:0 12px;border:1px solid #cfddd8;border-radius:8px;background:#fff;color:#263b34;outline:none}.management-search input:focus,.management-search select:focus{border-color:#398775;box-shadow:0 0 0 3px #39877516}.management-search>button{height:44px;padding:0 16px;border:1px solid #d3dfdb;border-radius:8px;background:#fff;color:#536a62;font-weight:800}.searchable-panel>.panel-intro>b{padding:7px 12px;border-radius:14px;background:#e6f4ef;color:#176454;font-size:12px}.search-empty{padding:65px 20px;text-align:center;border:1px dashed #d7e2de;border-radius:12px;color:#81908a;background:#fafcfb}.buyer-history-editor{width:min(1100px,96vw)!important}.buyer-history-editor>.primary{display:none}.buyer-history-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:5px 0 18px}.buyer-history-summary article{padding:16px;border-radius:11px;background:linear-gradient(135deg,#eef7f4,#f4f0fb)}.buyer-history-summary small,.buyer-history-summary b{display:block}.buyer-history-summary small{margin-bottom:8px;color:#71817b}.buyer-history-summary b{font-size:18px;color:#23483e}.buyer-history-table{max-height:58vh;border:1px solid #e0e8e5;border-radius:11px}.buyer-history-table table{min-width:900px}.buyer-history-table th{position:sticky;top:0;z-index:2}.buyer-history{color:#315f9f!important;border-color:#cbdaf0!important;background:#f3f7ff!important}@media(max-width:1100px){.management-search,.management-search.product-search{grid-template-columns:1fr 1fr}.management-search>button{grid-column:1/-1}}@media(max-width:700px){.management-search,.management-search.product-search{grid-template-columns:1fr}.management-search>button{grid-column:auto}.buyer-history-summary{grid-template-columns:1fr}.searchable-panel>.panel-intro{align-items:flex-start;gap:12px}}
.recycle-panel{border-top:5px solid #e48642}.recycle-panel .panel-intro p{font-weight:700;color:#9d5331}.trash-countdown-head{background:#fff0e5!important;color:#bb4d22!important}.trash-countdown{display:inline-flex;min-width:165px;flex-direction:column;gap:4px;padding:10px 13px;border-radius:10px;border:1px solid}.trash-countdown strong{font-size:15px}.trash-countdown small{margin:0!important;font-size:10px}.trash-countdown.safe{border-color:#efc56d;background:#fff8df;color:#8f650e}.trash-countdown.warning{border-color:#f29845;background:#fff0df;color:#b45118;animation:trashPulse 1.8s ease-in-out infinite}.trash-countdown.danger{border-color:#ed5961;background:#ffe8ea;color:#c72f3e;animation:trashPulse 1s ease-in-out infinite}.trash-row.warning td:first-child{border-left:4px solid #f08b35}.trash-row.danger td:first-child{border-left:4px solid #e43f50}.purged-notice{padding:9px 13px;border-radius:9px;background:#ffe8e9;color:#ba3542;font-size:12px}.empty-recycle{padding:45px;text-align:center;color:#82908b}.product-offline-row td{background:#fff0f1!important;color:#713a40}.product-offline-row td:first-child{border-left:5px solid #e54758!important}.product-offline-row .product-cell img{filter:grayscale(.45);opacity:.72}.product-offline-row:hover td{background:#ffe7e9!important}.product-offline-time-head{background:#fff0f1!important;color:#bb3e4d!important}.offline-time-alert{display:inline-flex;min-width:145px;flex-direction:column;gap:4px;padding:8px 11px;border:1px solid #ef9fa8;border-radius:9px;background:#ffe5e8;color:#b52f3e}.offline-time-alert b{font-size:12px}.offline-time-alert small{margin:0!important;color:#bd5a65!important;font-size:10px}.online-time-empty{color:#a9b1ae}@keyframes trashPulse{50%{box-shadow:0 0 0 5px #ed596117;transform:translateY(-1px)}}
/* 今日 IP：純 CSS 圓環，避免額外圖表套件影響既有功能 */
.today-traffic{margin:18px 0 24px;padding:28px 30px;background:linear-gradient(135deg,#fff 0%,#f8fbff 54%,#f7f4ff 100%);border:1px solid #e5ebf0;box-shadow:0 15px 36px rgba(38,60,75,.08)}
.today-traffic-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.today-traffic-head span{font-size:12px;letter-spacing:.18em;color:#64748b}.today-traffic-head h2{margin:7px 0 5px;font-size:25px;color:#203b37}.today-traffic-head p{margin:0;color:#7a8c89}.today-traffic-head em{font-style:normal;color:#198754;background:#e8f7ef;border-radius:999px;padding:8px 13px;font-size:13px}
.today-traffic-body{display:grid;grid-template-columns:290px minmax(0,1fr);gap:30px;align-items:center}.today-donut-wrap{display:flex;align-items:center;gap:22px}.today-donut{width:152px;height:152px;border-radius:50%;display:grid;place-items:center;box-shadow:0 10px 25px rgba(44,77,96,.13)}.today-donut>div{width:104px;height:104px;border-radius:50%;background:#fff;display:grid;place-content:center;text-align:center;box-shadow:inset 0 0 0 1px #edf1f3}.today-donut b{font-size:30px;color:#173f39}.today-donut small{color:#83928f}.today-summary{display:grid;gap:9px;color:#758682}.today-summary span{white-space:nowrap}.today-summary b{display:block;font-size:18px;color:#264d47;margin-top:2px}
.today-source-cards{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:14px}.today-source-cards article{display:flex;align-items:center;gap:13px;min-height:106px;padding:16px;border:1px solid #e6ebee;border-radius:18px;background:rgba(255,255,255,.9);box-shadow:0 8px 20px rgba(55,72,88,.06)}.today-source-cards article>i{flex:0 0 58px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--source) var(--percent),#edf1f3 0);position:relative;font-style:normal}.today-source-cards article>i:after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}.today-source-cards article>i b{position:relative;z-index:1;font-size:12px;color:#435550}.today-source-cards article>div{display:grid;min-width:0}.today-source-cards strong{color:var(--source);margin-bottom:8px}.today-source-cards span{font-size:14px;color:#536a65}.today-source-cards span b{font-size:20px;color:#1e443d}.today-source-cards small{color:#8a9996;margin-top:3px}
@media(max-width:1200px){.today-traffic-body{grid-template-columns:1fr}.today-source-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.today-traffic{padding:20px 16px}.today-traffic-head{display:block}.today-traffic-head em{display:inline-block;margin-top:12px}.today-donut-wrap{justify-content:center}.today-source-cards{grid-template-columns:1fr 1fr}.today-source-cards article{padding:12px;gap:9px}.today-source-cards article>i{flex-basis:48px;width:48px;height:48px}}
/* 統計版面 v71：每月置頂、每日十天、十二色來路圓環 */
.analytics-period-grid{grid-template-columns:1fr!important;gap:18px!important}.analytics-period-grid>.panel{margin:0!important;padding:22px 26px!important}.analytics-period-grid .panel-intro{margin-bottom:14px!important}.analytics-period-grid .panel-intro h2{font-size:22px!important;margin:4px 0!important}
.analytics-monthly-compact .analytics-summary-table{max-height:244px;overflow:auto}.analytics-monthly-compact table th,.analytics-monthly-compact table td{padding:13px 18px!important}.analytics-daily-compact .analytics-history-row{display:none}.analytics-daily-compact.is-expanded .analytics-history-row{display:table-row}.analytics-expand-history,.analytics-source-toggle{display:block;margin:14px auto 0;border:1px solid #dbe5e3;border-radius:999px;background:#f5faf9;color:#236b5f;padding:10px 22px;font-weight:700;cursor:pointer}.analytics-expand-history:hover,.analytics-source-toggle:hover{background:#e8f6f2}
.analytics-source-panel{padding:24px 26px!important}.analytics-source-rings{display:grid;grid-template-columns:repeat(4,minmax(210px,1fr));gap:14px;margin-top:12px}.analytics-source-rings article{display:flex;align-items:center;gap:14px;min-height:104px;padding:15px 17px;border:1px solid color-mix(in srgb,var(--source) 22%,#e8edef);border-radius:17px;background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--source) 6%,#fff));box-shadow:0 8px 22px rgba(41,59,74,.055)}.analytics-source-rings article>i{position:relative;flex:0 0 62px;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--source) var(--percent),#e9eff1 0);font-style:normal}.analytics-source-rings article>i:after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}.analytics-source-rings article>i b{position:relative;z-index:1;font-size:12px;color:#38514d}.analytics-source-rings article>div{display:grid;min-width:0}.analytics-source-rings strong{color:var(--source);font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-source-rings span{margin-top:6px;color:#405d58;font-weight:700}.analytics-source-rings small{margin-top:3px;color:#84928f}.analytics-source-details{display:none;margin-top:16px}.analytics-source-details.is-open{display:block}.analytics-source-toggle{margin-top:18px}
@media(max-width:1450px){.analytics-source-rings{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1000px){.analytics-source-rings{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.analytics-period-grid>.panel,.analytics-source-panel{padding:17px 13px!important}.analytics-source-rings{grid-template-columns:1fr}.analytics-source-rings article{min-height:88px}.analytics-summary-table{overflow-x:auto}.analytics-monthly-compact .analytics-summary-table{max-height:230px}}
/* 停用代理独立归档区 */
.active-agent-panel{border-top:4px solid #4bb69d}.paused-agent-archive{margin-top:24px!important;border:1px solid #f2d5d8!important;border-top:4px solid #ef6670!important;background:linear-gradient(135deg,#fff 0%,#fff8f8 100%)!important}.agent-archive-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:4px 4px 20px}.agent-archive-head span{font-size:12px;letter-spacing:.16em;color:#c5505a}.agent-archive-head h2{margin:6px 0;font-size:25px;color:#60343a}.agent-archive-head p{margin:0;color:#90777a}.agent-archive-head em{font-style:normal;padding:8px 13px;border-radius:999px;background:#ffe9eb;color:#c84d58;white-space:nowrap}.paused-agent-archive tbody tr{background:rgba(255,242,243,.7)}.paused-agent-archive tbody tr:hover{background:#ffedef}.paused-agent-archive .agent-status.paused{background:#ffdfe2!important;color:#cf3e4c!important;font-weight:700}
@media(max-width:700px){.agent-archive-head{display:block}.agent-archive-head em{display:inline-block;margin-top:12px}.paused-agent-archive{margin-top:16px!important}}
/* 最近访客独立分页，账号日志不再混入统计页 */
.visitor-pager{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px;padding:13px 15px;border-radius:15px;background:linear-gradient(90deg,#f1f8f6,#f5f3ff);border:1px solid #e1e9e7}.visitor-pager>div{display:grid;margin-right:auto}.visitor-pager>div b{font-size:20px;color:#24443e}.visitor-pager>div span{font-size:13px;color:#81908d;margin-top:2px}.visitor-pager label{display:flex;align-items:center;gap:8px;color:#657773}.visitor-pager select,.visitor-pager button{height:40px;border:1px solid #d5e1de;border-radius:10px;background:#fff;color:#285d54;padding:0 13px}.visitor-pager button{font-weight:700;cursor:pointer}.visitor-pager button:disabled{opacity:.38;cursor:not-allowed}.visitor-pager em{font-style:normal;min-width:78px;text-align:center;color:#526b66;font-weight:700}.visitor-pager+ .table-wrap tbody tr[hidden]{display:none!important}
@media(max-width:700px){.visitor-pager>div{width:100%}.visitor-pager label{margin-right:auto}.visitor-pager select,.visitor-pager button{height:38px;padding:0 9px}.visitor-pager em{min-width:auto}}
/* 代理实时指标分色 */
.active-agent-panel th.metric-customers,.paused-agent-archive th.metric-customers{color:#1677d2}.active-agent-panel th.metric-products,.paused-agent-archive th.metric-products{color:#7c4ed8}.active-agent-panel th.metric-sales,.paused-agent-archive th.metric-sales{color:#df7316}.active-agent-panel th.metric-shipping,.paused-agent-archive th.metric-shipping{color:#dc4458}.agent-metric-value{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:38px;padding:7px 13px;border-radius:12px;font-weight:800;white-space:nowrap}.metric-customers .agent-metric-value{background:#e7f3ff;color:#176eb8;box-shadow:inset 0 0 0 1px #cfe6fb}.metric-products .agent-metric-value{background:#f1eaff;color:#7542c5;box-shadow:inset 0 0 0 1px #e1d3fa}.metric-sales .agent-metric-value{background:#fff0df;color:#c96712;box-shadow:inset 0 0 0 1px #f6dcc0;min-width:105px}.metric-shipping .agent-metric-value{background:#ffe9ec;color:#d43f52;box-shadow:inset 0 0 0 1px #f7d3d8}.agent-metric-value b{color:inherit!important}
/* Telegram 订单通知 */
.telegram-settings-panel{margin-top:22px!important;border-top:4px solid #229ed9!important;background:linear-gradient(135deg,#fff,#f1f9ff)!important}.telegram-head{display:flex;align-items:center;gap:16px}.telegram-logo{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#229ed9;color:#fff;font-size:30px;transform:rotate(-18deg);box-shadow:0 10px 24px rgba(34,158,217,.25)}.telegram-head>div:nth-child(2){margin-right:auto}.telegram-head span{font-size:12px;letter-spacing:.16em;color:#2586b4}.telegram-head h2{margin:5px 0;font-size:25px;color:#183e50}.telegram-head p{margin:0;color:#718894}.telegram-switch{display:flex!important;align-items:center;gap:9px;cursor:pointer}.telegram-switch input{display:none}.telegram-switch i{width:48px;height:27px;border-radius:999px;background:#c9d5da;position:relative;transition:.2s}.telegram-switch i:after{content:"";position:absolute;width:21px;height:21px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 2px 5px #789}.telegram-switch input:checked+i{background:#229ed9}.telegram-switch input:checked+i:after{transform:translateX(21px)}.telegram-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.telegram-grid label{display:grid;gap:7px;font-weight:700;color:#345665}.telegram-grid input{height:52px;border:1px solid #cfe0e8;border-radius:12px;background:#fff;padding:0 15px;font-size:16px}.telegram-grid small{font-weight:400;color:#82949c}.telegram-actions{display:flex;align-items:center;gap:12px;margin-top:20px}.telegram-actions button{min-height:45px;padding:0 20px}.telegram-actions em{font-style:normal;color:#6f858e}.telegram-actions em:last-child{margin-left:auto}
@media(max-width:700px){.telegram-head{align-items:flex-start;flex-wrap:wrap}.telegram-head>div:nth-child(2){width:calc(100% - 78px)}.telegram-switch{margin-left:74px}.telegram-grid{grid-template-columns:1fr}.telegram-actions{flex-wrap:wrap}.telegram-actions em:last-child{width:100%;margin:0}}
.telegram-support-option{display:flex;align-items:center;gap:14px;margin:18px 0;padding:16px 18px;border:1px solid #bcd9d1;border-radius:14px;background:linear-gradient(135deg,#edf9f5,#f1f5ff);cursor:pointer}.telegram-support-option input{width:20px;height:20px;accent-color:#16866e}.telegram-support-option span{display:grid;gap:4px}.telegram-support-option b{font-size:17px;color:#174f43}.telegram-support-option small{color:#66817b;line-height:1.6}.telegram-actions{flex-wrap:wrap}
.support-admin .visitor-code{display:inline-flex;margin-left:7px;padding:3px 8px;border-radius:999px;background:#dff3ee;color:#08715d;font-size:12px;font-style:normal;font-weight:800;letter-spacing:.06em;vertical-align:middle}.admin-chat-visitor{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;margin:-2px -2px 14px;padding:11px 14px;border:1px solid #cce4dd;border-radius:12px;background:rgba(239,249,246,.96);backdrop-filter:blur(8px)}.admin-chat-visitor b{padding:5px 11px;border-radius:999px;background:#16866e;color:#fff}.admin-chat-visitor b em{margin-left:6px;font-style:normal;letter-spacing:.06em}.admin-chat-visitor span{color:#56716b;font-size:14px}
.delivery-badge{display:inline-flex;flex-direction:column;gap:3px;min-width:126px;padding:9px 12px;border-radius:12px;font-weight:800;line-height:1.25;white-space:nowrap}.delivery-badge small{margin:0!important;font-size:11px;font-weight:500}.delivery-badge.home{background:#e7f3ff;color:#176eb8;box-shadow:inset 0 0 0 1px #cfe6fb}.delivery-badge.store{background:#fff0df;color:#c96712;box-shadow:inset 0 0 0 1px #f6dcc0}.store-address-detail{color:#b7661e!important;font-weight:700}
.campaign-auto-cycle{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:74px;padding:13px 16px;border:1px solid #ffd9a6;border-radius:12px;background:linear-gradient(135deg,#fff8e8,#fff0e8);color:#b65b17}.campaign-auto-cycle b{font-size:16px}.campaign-auto-cycle small{color:#9b765c;line-height:1.5}
.campaign-end-disabled{opacity:.42}.campaign-end-disabled input{background:#eef1f0!important;cursor:not-allowed}
.review-time{display:inline-flex!important;align-items:center;gap:5px;width:max-content;margin-top:10px!important;padding:5px 9px;border-radius:999px;background:#f1f6f4;color:#71847e!important;font-size:12px;letter-spacing:.01em}
.order-risk-wrap{min-width:170px;max-width:240px}.order-source-badge.normal{background:#e8f7ef;color:#137453;border:1px solid #bce5d1}.order-source-badge.attention{background:#fff5ce;color:#8a6300;border:1px solid #f0d36f}.order-source-badge.medium{background:linear-gradient(135deg,#ff6849,#ff9c45);color:#fff;border:1px solid #f45d3d;box-shadow:0 5px 16px #ef68383d}.order-source-badge.high{background:linear-gradient(135deg,#d9183b,#ff334f);color:#fff;border:1px solid #bd1532;box-shadow:0 6px 18px #d9183b42}.order-source-badge.unrated{background:#edf1ef;color:#687770;border:1px solid #d6dfdb}.order-source-badge.medium small,.order-source-badge.high small{color:#fff!important}.risk-detail{margin-top:6px;font-size:11px}.risk-detail summary{cursor:pointer;color:#52655d;font-weight:800}.risk-detail ul{margin:6px 0;padding:7px 9px 7px 24px;border-radius:9px;background:#fff7f2;color:#703d2f;white-space:normal}.risk-detail li{margin:3px 0}.risk-detail li b{margin-right:5px;color:#e24034}.risk-detail p{margin:6px 0;color:#28745a}.risk-positive-checks{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.risk-positive-checks span{padding:3px 5px;border-radius:6px;background:#e8f7ef;color:#147454;font-weight:800}.high-risk-order-row td{background:#fff0f2!important}.high-risk-order-row td:first-child{border-left-color:#c91032!important}
/* 訂單列表採緊湊居中版面，內容不足時不再被拉到整個超寬螢幕。 */
#orderSearchResults{width:100%;max-width:1500px;margin-inline:auto}#orderSearchResults .table-wrap{width:100%;overflow-x:auto;border-radius:14px}#orderSearchResults table{width:100%;min-width:1380px;table-layout:auto}#orderSearchResults th,#orderSearchResults td{padding:15px 11px!important;vertical-align:middle;line-height:1.55}#orderSearchResults td{height:auto!important;min-height:0!important}#orderSearchResults .delivery-badge{min-width:116px;padding:8px 10px;white-space:normal}#orderSearchResults .track{min-width:128px;max-width:150px}#orderSearchResults .order-source-cell{width:185px;min-width:185px}#orderSearchResults .order-risk-wrap{min-width:0;max-width:185px}#orderSearchResults td:nth-last-child(3){min-width:145px;overflow-wrap:anywhere}#orderSearchResults td:last-child{min-width:166px}#orderSearchResults td:last-child button{display:block;width:100%;margin:4px 0;padding:8px 9px;white-space:nowrap;font-size:12px}.risk-fill-autofill{background:#edf4ff!important;color:#436b9c!important}
@media(max-width:1600px){#orderSearchResults{max-width:100%}#orderSearchResults table{min-width:1320px}}

/* 訂單管理：高密度管理模式（只影響後台訂單表） */
#orderSearchResults{box-sizing:border-box;width:100%;max-width:none;margin-inline:0}
#orderSearchResults .order-table-polished{border:1px solid #dfe9e5;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(31,75,66,.06)}
#orderSearchResults .order-table-polished table{width:100%;min-width:1510px;table-layout:fixed;border-collapse:separate;border-spacing:0}
#orderSearchResults .order-table-polished th{height:42px;padding:8px 8px!important;vertical-align:middle;background:#edf4f1;color:#6c807a;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap}
#orderSearchResults .order-table-polished td{height:82px!important;padding:9px 8px!important;vertical-align:top;font-size:12px;line-height:1.35;color:#263b35;overflow:hidden}
#orderSearchResults .order-table-polished tbody tr{transition:background-color .18s ease}
#orderSearchResults .order-table-polished tbody tr:hover{background:#fbfdfc}
#orderSearchResults .order-table-polished td>small,#orderSearchResults .order-table-polished td small{display:block;margin-top:3px;color:#8b9a96;font-size:10.5px;line-height:1.3}
#orderSearchResults .col-order{width:145px}
#orderSearchResults .col-agent{width:105px}
#orderSearchResults .col-buyer{width:150px}
#orderSearchResults .col-product{width:285px}
#orderSearchResults .col-delivery{width:120px}
#orderSearchResults .col-tracking{width:126px}
#orderSearchResults .col-amount{width:76px;text-align:center}
#orderSearchResults .col-status{width:68px;text-align:center}
#orderSearchResults .col-address{width:170px}
#orderSearchResults .col-actions{width:145px}
#orderSearchResults .col-order>b{display:block;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.35;white-space:nowrap}
#orderSearchResults .col-buyer>.buyer-name-line{display:flex;align-items:center;gap:4px;min-width:0}
#orderSearchResults .col-buyer>.buyer-name-line b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#orderSearchResults .col-buyer>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#orderSearchResults .order-items-list{display:grid;gap:5px}
#orderSearchResults .order-product-item{min-width:0;padding:0 0 4px;border-bottom:1px dashed #e5ece9}
#orderSearchResults .order-product-item:last-child{padding-bottom:0;border-bottom:0}
#orderSearchResults .order-product-title{display:-webkit-box;overflow:hidden;font-size:12px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
#orderSearchResults .order-product-meta{display:block;overflow:hidden;margin-top:3px!important;text-overflow:ellipsis;white-space:nowrap}
#orderSearchResults .order-product-meta del{color:#a5adab}
#orderSearchResults .order-product-meta strong{color:#e34f59;font-weight:800}
#orderSearchResults .price-drop-badge{display:inline-flex;align-items:center;height:18px;margin-left:5px;padding:0 5px;border-radius:6px;font-size:9px;line-height:18px;vertical-align:1px}
#orderSearchResults .agent-order-label,#orderSearchResults .delivery-badge,#orderSearchResults .status{box-sizing:border-box;border-radius:9px;font-size:11px;line-height:1.25}
#orderSearchResults .agent-order-label{display:block;min-height:42px;padding:7px 8px;overflow:hidden}
#orderSearchResults .agent-order-label small{margin-top:2px!important;color:inherit!important;opacity:.68}
#orderSearchResults .delivery-badge{display:flex;min-width:0;min-height:42px;padding:7px 8px;align-items:flex-start;justify-content:center;flex-direction:column;white-space:normal}
#orderSearchResults .delivery-badge small{margin-top:2px!important;color:inherit!important;opacity:.7}
#orderSearchResults .status{display:inline-flex;min-width:48px;min-height:32px;padding:5px 7px;align-items:center;justify-content:center;text-align:center;font-style:normal;white-space:normal}
#orderSearchResults .track{box-sizing:border-box;width:100%;min-width:0;max-width:none;height:34px;padding:6px 8px;border-radius:8px;font-size:11px}
#orderSearchResults .order-amount{display:inline-block;margin-top:5px;font-size:12px;line-height:1.35;white-space:normal}
#orderSearchResults .order-address-main{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:3}
#orderSearchResults .store-address-detail{display:-webkit-box!important;overflow:hidden;color:#be732b!important;font-weight:700;-webkit-box-orient:vertical;-webkit-line-clamp:2}
#orderSearchResults .col-actions button{display:inline-flex!important;width:auto!important;min-height:29px;margin:2px!important;padding:5px 7px!important;align-items:center;justify-content:center;border-radius:7px;font-size:10.5px!important;line-height:1.1;white-space:nowrap}
#orderSearchResults .order-source-head,#orderSearchResults .order-source-cell{width:185px;min-width:185px}
#orderSearchResults .order-source-cell{padding-top:8px!important}
#orderSearchResults .order-source-badge{min-height:0;padding:7px 8px!important;border-radius:9px!important;font-size:10.5px!important;line-height:1.25}
#orderSearchResults .order-risk-wrap{max-width:185px;font-size:10.5px;line-height:1.25}
#orderSearchResults .order-risk-wrap details{margin-top:4px}
#orderSearchResults .order-risk-wrap summary{font-size:10.5px;white-space:nowrap}
@media(max-width:1600px){#orderSearchResults .order-table-polished table{min-width:1460px}#orderSearchResults .col-product{width:260px}#orderSearchResults .col-address{width:155px}}

/* 訂單文字尺寸與總覽一致，保持高密度行距 */
#orderSearchResults .order-table-polished th{font-size:13px}
#orderSearchResults .order-table-polished td{font-size:14px;line-height:1.38}
#orderSearchResults .order-table-polished td>small,
#orderSearchResults .order-table-polished td small{font-size:12px;line-height:1.32}
#orderSearchResults .col-order>b,
#orderSearchResults .order-product-title,
#orderSearchResults .order-amount{font-size:14px}
#orderSearchResults .agent-order-label,
#orderSearchResults .delivery-badge,
#orderSearchResults .status{font-size:12px}
#orderSearchResults .track{font-size:12px}
#orderSearchResults .col-actions button{font-size:12px!important}
#orderSearchResults .order-source-badge,
#orderSearchResults .order-risk-wrap,
#orderSearchResults .order-risk-wrap summary{font-size:12px!important}
