/* 百分比商城 V1.2：九张正式母版的视觉语言，仅作用于现役原型。 */:root{
  --blue:#0d7839;--green:#15964a;--deep:#205c3a;--lime:#eaf8f0;
  --ink:#19262b;--muted:#586b79;--line:#e3e9ec;--bg:#f5f8fa;
  --shadow:0 4px 20px rgba(29,63,46,.045);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
}
body{background:var(--bg);color:var(--ink)}
p,small{color:var(--muted)}
h1,h2,h3{color:#17232c;letter-spacing:-.02em}
.btn{font-weight:600;border-color:#d8e2e7;color:#315943;box-shadow:none}
.btn.primary,.btn.rose{background:#0d7839;border-color:#0d7839;color:#fff}
.btn.primary:hover,.btn.rose:hover{background:#08632f}
.btn.link,.text-link{color:#0d7839}
.badge{border-radius:999px;padding:4px 9px;font-size:11px;font-weight:650}
.badge.active,.badge.paid{background:#e6f6eb;color:#116b37}
.badge.scheduled,.badge.pending{background:#edf3f7;color:#42647b}
.badge.paused,.badge.unknown,.badge.review,.badge.processing,.badge.late{background:#fff2df;color:#98571c}
.pill{background:#eaf8f0;color:#205c3a}
input,select,textarea{border-color:#d8e2e7;border-radius:8px;color:#19262b}
input:focus,select:focus,textarea:focus{border-color:#0d7839;outline:2px solid #a8d6b6}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a8d6b6}


/* 同一份商品摄影素材贯穿双端。图片与演示商品名称逐一对应。 */.product-photo{display:block;position:relative;flex:none;overflow:hidden;background-color:#eef4ef;background-image:url("素材/商品摄影拼图.png");background-size:300% 400%;background-position:var(--photo-x) var(--photo-y);background-repeat:no-repeat;aspect-ratio:1/1}
.product-picture .product-photo{width:100%;height:100%}
.product-card:has(.product-selected){border-color:#88c99d;box-shadow:0 0 0 1px #a8d8b8,0 7px 22px #185e3520}
.product-card:has(.product-selected) .product-picture::after{content:"✓";position:absolute;right:8px;top:8px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#0d7839;color:#fff;font-size:14px;z-index:2}
.thumb.product-photo{width:48px;height:48px;border-radius:8px}
.cart-art.product-photo{width:78px;height:78px;border-radius:9px}
.detail-product>.product-photo{width:85px;height:85px;border-radius:9px}
.product-gallery>.product-photo{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1/1;padding:0;border-radius:0;background-color:#edf4ef;background-image:url("素材/商品摄影拼图.png");background-size:300% 400%;background-position:var(--photo-x) var(--photo-y);background-repeat:no-repeat}
.product-photo[role=img]{border:0}


/* 运营后台：白色导航、清晰标题、紧凑但可扫描的表格。 */.sidebar{width:224px;padding:25px 10px 18px;background:#fff;border-right:1px solid #e6ecef}
.sidebar .brand{padding:0 12px 27px;gap:10px}
.brand{font-size:18px;font-weight:750;color:#205c3a}
.brand-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#39ae65,#0d7839);font:700 25px/1 Georgia,serif;transform:rotate(-8deg);box-shadow:0 4px 12px #0d783926}
.brand small{color:#819290;letter-spacing:0;font-size:10px;margin-top:0}
.sidebar-nav{display:flex;flex-direction:column;gap:2px}
.nav-label{padding:14px 17px 5px;font-size:11px;color:#90a0a8;font-weight:600}
.nav-label-active{padding-top:23px;color:#0d7839}
.nav-static{display:flex;align-items:center;gap:13px;padding:11px 15px;color:#667580;font-size:13px;border-radius:8px}
.nav-static span{font-size:17px;width:20px;text-align:center;color:#7b8b95}
.nav-static-parent{color:#205c3a;background:#f0f9f3;font-weight:650}
.nav-static-parent span{color:#15964a}
.nav-static.nav-secondary{padding-left:38px;font-size:11px;color:#80929b}
.navitem{margin:3px 2px 0 23px;padding:10px 13px;border-radius:8px;font-size:12px}
.navitem.current{position:relative;background:#e5f5eb;color:#0d7839}
.navitem.current:before{content:"";position:absolute;left:-25px;top:7px;bottom:7px;width:3px;border-radius:3px;background:#15964a}
.navitem span{font-size:14px}
.sidebar-bottom{margin:0 10px;padding-top:17px;color:#33434a}
.sidebar-bottom .avatar,.admin-identity .avatar{background:#dff3e5;color:#0d7839}
.admin-top{margin-left:224px;height:62px;padding:0 32px;color:#6b7c86}
.admin-top-label{font-size:12px}
.admin-top i{padding:0 10px}
.admin-top-help{display:inline-grid;place-items:center;width:25px;height:25px;border:1px solid #dce6e9;border-radius:50%;color:#758893;font-weight:700;margin-right:9px}
.admin-identity{color:#475960}
.workspace{margin-left:224px;max-width:none;padding:28px 32px 42px}
.pagehead{margin-bottom:23px}
.pagehead h1{font-size:28px;font-weight:750;letter-spacing:-.035em;margin:7px 0 5px}
.pagehead p{font-size:13px;color:#697982}
.crumb{color:#83939c;font-size:12px}
.panel{border:1px solid #e8edef;border-radius:13px;background:#fff;box-shadow:0 4px 18px #1d3f2e09}
.section-heading{border-color:#edf1f2}
.section-heading h2{font-size:17px;font-weight:700}
.section-heading p{color:#7b8990}
.list-section-title{padding:20px 22px 0}
.list-section-title h2{font-size:16px}
.activity-list-toolbar{min-height:73px;padding:0 22px 7px}
.activity-list-panel{box-shadow:0 6px 25px #3155440a}
.activity-table{min-width:1100px}
.activity-table .col-activity{width:25%}
.activity-table .col-rule{width:13%}
.activity-table .col-products{width:17%}
.activity-table .col-quota{width:17%}
.activity-table .col-result{width:13%}
.activity-table .col-actions{width:15%}
.activity-table th{font-size:12px;color:#667680;background:#f8fafb;font-weight:650;padding:14px 16px}
.activity-table td{padding:15px 16px;border-color:#edf1f2}
.activity-table tbody tr:hover{background:#f8fcf9}
.activity-name{color:#1c3032;font-size:13px;font-weight:680}
.activity-id,.activity-dates{color:#84949b}
.activity-rule strong,.activity-rule b{color:#19262b}
.activity-products{font-size:12px;color:#0d7839}
.activity-products-cell{display:flex;align-items:center;gap:8px;min-width:0}
.activity-products-cell>div{min-width:68px}
.activity-thumbs{display:flex;align-items:center;min-width:75px}
.activity-thumbs .product-photo{width:32px;height:32px;border:2px solid white;border-radius:7px;margin-left:-6px;box-shadow:0 1px 4px #163b2b20}
.activity-thumbs .product-photo:first-child{margin-left:0}
.activity-primary-actions .btn{min-height:32px;padding:3px 6px}
.activity-table td:last-child{padding-inline:7px}
.activity-primary-actions{gap:2px;flex-wrap:nowrap}
.activity-primary-actions .btn{padding-inline:3px;font-size:11px}
.activity-primary-actions .action-main{color:#0d7839}
.table-amount{color:#19262b}
.table-footer{background:#fff;color:#6b7d86}
.tabs button{color:#687a84}
.tabs .on{color:#0d7839}
.tabs .on:after{background:#15964a}
.search{border-color:#dbe5e8}
.search:focus-within{outline-color:#a8d6b6}
.metrics{gap:12px;border:0;background:transparent;padding:0}
.metrics>div{border:1px solid #e7edef;border-radius:12px;background:#fff;box-shadow:0 4px 18px #1d3f2e08;padding:20px}
.metrics strong{color:#17232c}
.panel .metrics{gap:0;background:#f8fbf9}
.panel .metrics>div{border:0;box-shadow:none;background:transparent}


/* 配置与详情：分区明显，输入和选品沿用原有校验与交互。 */.editor-layout{max-width:1210px}
.editor-sections{max-width:1210px;background:#f5f8fa;border-color:#e1e9e9;gap:28px}
.editor-sections .on{border-color:#15964a}
.editor-footer{max-width:1210px;border-radius:12px;box-shadow:0 -8px 24px #1d3f2e0f}
.form-grid{gap:22px 28px}
.field>span,.bundle-rule-field>span{color:#35464e;font-weight:650}
.field small,.field-error,.bundle-rule-field>small{font-size:11px}
.bundle-rule-inputs{background:#f2faf5;border-color:#dcefe2;color:#205c3a}
.bundle-rule-inputs input{color:#0d7839}
.pool-tools{margin-top:18px}
.pool-batch{background:#f8fbf9;border-color:#e4ece8}
.selected-product>summary{padding:14px 0}
.selected-product summary b{font-size:13px;color:#26373a}
.selected-product .product-photo{border-radius:8px}
.sku-config{background:#f8fbf9}
.activity-facts dl>div{align-items:start}
.activity-detail-summary{display:grid;grid-template-columns:180px minmax(0,1fr);gap:25px;align-items:start}
.activity-detail-cover{width:180px;height:180px;overflow:hidden;border-radius:10px;background:#edf5ed}
.activity-detail-cover .product-photo{width:100%;height:100%}
.activity-facts dt{color:#6e7e86}
.activity-facts dd{color:#26373a}
.detail-product-name{display:flex;align-items:center;gap:10px;font-weight:650;color:#26373a}
.detail-product-name .product-photo{width:45px;height:45px;border-radius:7px}
.activity-page-entry .page-entry-symbol{background:#eaf8f0;color:#0d7839}
.activity-lifecycle{border-radius:11px;background:#f8fbf9}
.activity-detail-tabs{border-color:#e6ecef}
.validation-block{background:#f8fbf9;border-color:#e3ede6}
dialog{border-radius:15px}
.dialog-head,.dialog-foot{border-color:#e6ecef}
.phone-head{background:#fff}
.shop-header{border-bottom:1px solid #edf1ef}
.shop-header>b{font-size:16px;font-weight:700;color:#17232c}
.shop-header .iconbtn{color:#243b3a}
.mall-wordmark{font-size:12px;color:#0d7839;font-weight:750}
.shop-self{color:#728680}
.phone-scroll{background:#f5f9f7}
.shop-content{padding-top:13px}
.mobile-panel{border:1px solid #e6eeea;border-radius:14px;box-shadow:0 3px 15px #1d3f2e07}
.mobile-panel>h2,.mobile-panel>.row>h2{font-size:15px;font-weight:700}
.mall-home .mall-search,.shop-search{border-color:#e0e9e6;background:#fff}
.mall-home .mall-search{min-height:43px;border-radius:10px;font-size:12px}
.mall-search b{background:#0d7839}
.mall-campaign{height:208px;padding:19px 18px;background:#e6f5eb;color:#17412b;border:1px solid #d7eddf;border-radius:16px}
.mall-campaign:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#e5f5e9 0%,#e6f5e9 37%,#e6f5e999 58%,transparent 80%);z-index:1}
.mall-campaign>span,.mall-campaign>strong,.mall-campaign p,.mall-campaign>b{z-index:2}
.mall-campaign>span{color:#547a62;font-size:11px}
.mall-campaign>strong{max-width:210px;font-size:23px;line-height:1.32;color:#153f2d;margin:8px 0}
.mall-campaign em{color:#0d7839}
.mall-campaign p{max-width:196px;color:#597469;font-size:10px;line-height:1.55}
.mall-campaign>b{background:#0d7839;color:#fff;font-size:11px;padding:7px 15px}
.campaign-art{position:absolute;right:0;top:0;bottom:0;width:65%;height:100%;opacity:1;transform:none;background-image:url("素材/商品摄影拼图.png");background-size:300% 400%;background-position:100% 100%;background-repeat:no-repeat}
.campaign-art.campaign-photo .product-art{display:none}
.mall-category{gap:5px;margin:20px 0 23px}
.mall-category button{font-size:11px;color:#455e54}
.mall-category button>span{background:#e6f4eb;color:#0d7839;border-radius:50%;width:50px;height:50px}
.mall-category button>span{overflow:hidden}
.mall-category button>span .product-photo{width:100%;height:100%;border-radius:50%;aspect-ratio:1/1}
.shelf-heading h2{font-size:17px}
.product-grid{gap:10px}
.product-card{overflow:hidden;border:1px solid #e4ece8;border-radius:12px;background:#fff;box-shadow:0 3px 12px #1d3f2e0b}
.product-picture{position:relative;background:#edf4ed;overflow:hidden}
.product-picture .product-photo{border-radius:0}
.product-category{background:#ffffffd9;color:#35624a;border-radius:5px}
.product-selected{background:#0d7839;color:#fff}
.product-info h3{color:#202d31;font-weight:680}
.product-info p{color:#657780}
.product-price small{color:#7c8c93}
.product-price b{color:#19262b;font-variant-numeric:tabular-nums}
.list-add{background:#0d7839;color:#fff;border-radius:50%;border:0;box-shadow:0 3px 9px #0d783935}
.list-add:disabled{background:#dfe7e3;color:#677970}
.shop-hero{position:relative;min-height:236px;background-color:#e9f5ec;color:#194632;overflow:hidden}
.shop-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eaf8eefa 0%,#eaf8eefa 38%,#eaf8eed5 56%,#eaf8ee00 78%);z-index:1}
.shop-hero.has-background-image:before{background:linear-gradient(90deg,#ffffffec,#ffffff75,transparent)}
.shop-hero .hero-copy{position:relative;z-index:2;max-width:66%;padding:20px 0 19px 19px}
.shop-hero h1{color:#184a31;font-size:21px;line-height:1.32}
.shop-hero .hero-kicker{color:#486f55;font-size:10px}
.shop-hero .deal{color:#0d7839}
.shop-hero .deal>span,.shop-hero .deal em{color:#205c3a}
.shop-hero .deal>strong{color:#0d7839;font-size:36px}
.shop-hero .deal small{color:#0d7839}
.shop-hero p{color:#436c50}
.hero-drawing{position:absolute;right:0;top:0;bottom:0;width:59%;height:100%;opacity:1;transform:none}
.hero-drawing .product-photo{width:100%;height:100%;aspect-ratio:auto}
.hero-drawing.campaign-photo{background-image:url("素材/商品摄影拼图.png");background-size:300% 400%;background-position:100% 100%;background-repeat:no-repeat}
.hero-drawing.campaign-photo .product-photo{display:none}
.activity-timing{background:#eef8f1;color:#205c3a}
.rule-strip{background:#fff}
.category-tabs{gap:7px}
.category-tabs button{border-radius:999px}
.category-tabs button.on{background:#0d7839;border-color:#0d7839;color:#fff}
.bundle-progress{border:1px solid #d6eadb;background:#fff;border-radius:13px;box-shadow:0 3px 12px #1d3f2e0b}
.bundle-progress strong,.bundle-progress b{color:#0d7839}
.bundle-progress progress{accent-color:#15964a}
.bundle-bar{border-top:1px solid #e7efea;background:#fff;box-shadow:0 -6px 20px #1d3f2e0c}
.bundle-bar strong{color:#0d7839;font-variant-numeric:tabular-nums}
.bundle-bar .btn.rose,.bundle-bar .btn.primary{background:#0d7839;border-color:#0d7839;border-radius:999px;min-height:45px;padding:9px 20px}
.phone .bundle-bar .btn.rose,.phone .bundle-bar .btn.primary{background:#0d7839!important;border-color:#0d7839!important;color:#fff!important}
.basket-trigger{font-weight:650}
.product-gallery{background:#eaf3ea;overflow:hidden}
.product-gallery>span:not(.product-photo){display:none}
.product-detail-content{background:#f5f9f7}
.product-main-card{border-radius:16px 16px 0 0}
.product-detail-price strong{color:#0d7839}
.product-main-card h1{font-size:20px}
.product-activity-card{background:#e9f7ee;border-color:#d5ebdb}
.product-activity-card b{color:#0d7839}
.cart-promo{background:#e9f8ee;border-color:#cfead7;border-radius:12px;padding:14px}
.cart-promo-photo{flex:none;width:44px;height:44px;overflow:hidden;border-radius:8px}
.cart-promo-photo .product-photo{width:100%;height:100%}
.cart-activity-tag{background:#0d7839;color:#fff;font-size:10px;padding:4px 7px;border-radius:5px}
.cart-promo-copy,.cart-fill-link{color:#205c3a}
.cart-row{gap:12px;padding:17px 0;border-color:#edf1ef}
.cart-info>b{color:#19262b;font-size:13px}
.cart-info strong{color:#19262b}
.quantity{border-color:#dce6e1;border-radius:999px}
.price-lines .red{color:#0d7839}
.price-lines .total-line strong,.total-line strong{color:#0d7839}
.order-card{border-color:#e5ece9;box-shadow:0 4px 16px #1d3f2e0a}
.checkout-product-list .cart-row{padding:13px 0}
.checkout-product-list .cart-row:first-child{padding-top:2px}
.checkout-product-list .cart-art{width:60px!important;height:60px!important}
.checkout-product-list .line-reason{color:#0d7839}
.order-card-goods{justify-content:flex-start;gap:10px;border-block:1px solid #edf1ef;margin:12px 0 10px;padding:13px 0;text-align:left}
.order-products{flex:none;gap:4px}
.order-products .thumb.product-photo{width:49px;height:49px;border-radius:6px}
.order-card-summary{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;color:#243238}
.order-card-summary b{font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-card-summary small{font-size:10px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-card-goods>span{color:#0d7839;font-size:16px}
.order-card-total b{color:#19262b;font-variant-numeric:tabular-nums}
.order-card .order-actions .btn{border-radius:999px}
.bottom-nav{border-top:1px solid #e6eeea;background:#fff}
.bottom-nav .on{color:#0d7839}
.phone-dialog .dialog-foot .btn.rose{background:#0d7839;border-color:#0d7839}
@media(max-width:1000px){.sidebar{width:190px}
.admin-top{margin-left:190px}
.workspace{margin-left:190px}

}
@media(max-width:760px){.sidebar{width:64px;padding:20px 7px}
.sidebar-nav .nav-static,.sidebar-nav .nav-label,.sidebar-nav .nav-secondary{display:none}
.sidebar .brand{padding:0;justify-content:center}
.sidebar .brand>span{display:none}
.navitem{margin:26px 0 0;padding:10px 4px;justify-content:center}
.navitem.current:before{left:-7px}
.admin-top,.workspace{margin-left:64px}
.workspace{padding:20px 16px}

}
@media(max-width:500px){.phone .product-picture,.phone .product-picture .product-photo{height:150px}
.phone[data-page="shop"] .shop-hero{min-height:170px;height:170px;padding:0}
.phone[data-page="shop"] .shop-hero .hero-copy{padding:12px 0 10px 19px}
.phone[data-page="shop"] .shop-hero h1{font-size:18px;line-height:1.25;margin:5px 0 7px}
.phone[data-page="shop"] .shop-hero .deal>strong{font-size:31px}
.phone[data-page="shop"] .hero-drawing{height:170px}
.phone[data-page="shop"] .category-tabs{margin:0 0 9px}
.phone[data-page="shop"] .category-tabs button{padding:7px 10px}
.phone[data-page="shop"] .bundle-progress{padding:8px 12px;margin-bottom:9px}
.phone[data-page="shop"] .bundle-progress p{margin:2px 0 4px}
.phone[data-page="shop"] .product-picture,.phone[data-page="shop"] .product-picture .product-photo{height:116px}
.phone .shop-hero h1{max-width:210px}
.hero-drawing{right:0;width:61%}
.hero-copy{max-width:68%}
.phone-dialog .detail-product>.product-photo{width:85px;height:85px}

}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important}
}


/* 桌面评审中的手机展示框；真实窄屏产品视图仍使用完整视口。 */@media(min-width:501px){.admin-activity-preview .phone{border-width:8px;border-radius:48px}

}


/* 后台 V1.2：活动总览、清晰的八列表格、详情双栏及编辑预览。 */.admin-overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}
.admin-overview-card{min-width:0;display:flex;align-items:center;gap:15px;padding:19px 17px;background:#fff;border:1px solid #e8edef;border-radius:13px;box-shadow:0 4px 18px #1d3f2e08}
.overview-icon{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;font-size:22px;font-weight:700}
.overview-icon.green{color:#078640;background:#e5f7eb}
.overview-icon.blue{color:#3376da;background:#eaf0ff}
.overview-icon.amber{color:#e7a10d;background:#fff6df}
.admin-overview-card>div{min-width:0;display:flex;flex-direction:column;gap:3px}
.admin-overview-card small{color:#687982;font-size:12px}
.admin-overview-card strong{color:#17232c;font-size:23px;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}
.admin-overview-card div>span{color:#85939a;font-size:11px}
.activity-table{min-width:1080px;width:100%;table-layout:fixed}
.activity-table .col-activity{width:15%}
.activity-table .col-status{width:8%}
.activity-table .col-rule{width:12%}
.activity-table .col-products{width:15%}
.activity-table .col-quota{width:17%}
.activity-table .col-result{width:11%}
.activity-table .col-time{width:12%}
.activity-table .col-actions{width:10%}
.activity-table th,.activity-table td{padding:13px 11px;vertical-align:middle}
.activity-table td:last-child{padding-inline:6px}
.activity-table .activity-name{display:block;text-align:left;line-height:1.35}
.activity-table .activity-id{margin-top:5px}
.activity-table .activity-dates{font-size:11px;line-height:1.5}
.activity-table .activity-dates span{display:block}
.activity-table .activity-products-cell>div{min-width:0}
.activity-table .activity-products-cell b{font-size:11px;color:#26373a;white-space:nowrap}
.activity-table .activity-products-cell small{font-size:10px}
.activity-table .activity-thumbs{min-width:69px}
.activity-table .activity-thumbs .product-photo{width:30px;height:30px}
.activity-table .activity-primary-actions{gap:2px;justify-content:flex-start;flex-wrap:wrap}
.activity-table .activity-primary-actions .btn{min-height:25px;padding:2px 4px;font-size:11px}
.detail-overview-metrics{margin-top:18px}
.detail-overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.85fr);gap:18px;align-items:start}
.detail-overview-main,.detail-overview-side{display:grid;gap:18px;min-width:0}
.detail-overview-grid .panel{margin:0;padding:21px}
.detail-overview-grid h2{font-size:16px;margin:0 0 16px;color:#1c2e32}
.detail-overview-grid .row h2{margin:0}
.detail-overview-grid .row{margin-bottom:15px}
.detail-overview-grid .activity-detail-summary{grid-template-columns:160px minmax(0,1fr);gap:20px}
.detail-overview-grid .activity-detail-cover{width:160px;height:160px}
.detail-overview-grid .activity-facts dl{grid-template-columns:1fr;gap:11px}
.detail-overview-grid .activity-facts dl>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px}
.detail-overview-grid dt,.detail-overview-grid dd{font-size:12px}
.detail-overview-grid dd{line-height:1.5}
.detail-rule-card dl{display:grid;gap:15px;margin:0}
.detail-rule-card dl>div{display:grid;grid-template-columns:120px 1fr;gap:12px}
.detail-rule-card dt{color:#83919a}
.detail-rule-card dd{margin:0;color:#26373a}
.detail-rule-card .rule-price{color:#0d7839;font-weight:750;font-size:17px}
.detail-rule-note{margin:16px 0 0;padding:11px 12px;border-radius:8px;background:#f3faf5;color:#47735a;font-size:11px;line-height:1.5}
.detail-goods-card table{min-width:600px}
.detail-goods-card th{background:#f7faf9;color:#667680}
.detail-goods-card td{padding:12px 9px}
.detail-goods-card .detail-product-name{font-size:12px}
.detail-goods-card .detail-product-name .product-photo{width:42px;height:42px}
.detail-usage-card .detail-usage-line,.detail-usage-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px}
.detail-usage-card .detail-usage-line{margin:14px 0 8px;color:#75868e}
.detail-usage-card .detail-usage-line b,.detail-usage-foot b{color:#192c30}
.detail-usage-card .quota-track{height:8px}
.detail-usage-foot{margin-top:18px;padding-top:15px;border-top:1px solid #edf1ef}
.detail-usage-card>small{display:block;margin-top:13px;color:#89979d;font-size:11px}
.detail-log-list{list-style:none;margin:0;padding:0 0 0 16px;border-left:1px solid #d9e9df}
.detail-log-list li{position:relative;display:grid;grid-template-columns:115px 1fr;gap:9px;margin:0 0 17px;color:#53636b;font-size:11px}
.detail-log-list li:last-child{margin:0}
.detail-log-list li:before{content:"";position:absolute;top:4px;left:-20px;width:7px;height:7px;border-radius:50%;background:#1aa554}
.detail-log-list time{color:#8a989f}
.detail-log-list b{color:#23363b}
.detail-log-list small{display:block;margin-top:3px;color:#839198}
.detail-record-card .btn.link{font-size:11px}
.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.editor-aside{position:sticky;top:67px;min-width:0}
.editor-preview-panel{padding:18px;border-radius:14px;border:1px solid #dfeee4;background:linear-gradient(145deg,#f0faf3,#f8fbf9);box-shadow:0 4px 18px #1d3f2e09}
.editor-preview-panel .row{margin-bottom:12px}
.editor-preview-panel h2{margin:0;font-size:15px}
.editor-preview-panel .row small,.editor-preview-panel>p{color:#84949b;font-size:11px}
.editor-preview-panel>.btn{display:block;margin:14px auto 0}
.editor-preview-panel>p{line-height:1.5;text-align:center;margin:10px 0 0}
.editor-preview-device{position:relative;width:100%;max-width:272px;min-height:425px;margin:auto;overflow:hidden;border:6px solid #101818;border-radius:31px;background:#fff;box-shadow:0 10px 27px #234b3430}
.editor-preview-status{height:24px;padding:7px 16px 0;font-size:9px;font-weight:700}
.editor-preview-status span{float:right}
.editor-preview-nav{height:28px;display:flex;justify-content:space-around;align-items:center;font-size:12px}
.editor-preview-hero{position:relative;min-height:127px;overflow:hidden;background:#e9f5eb}
.editor-preview-hero>.product-photo,.editor-preview-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42}
.editor-preview-hero>div{position:relative;z-index:1;display:flex;flex-direction:column;gap:5px;padding:26px 15px;color:#0a642e;text-shadow:0 1px 3px #fff}
.editor-preview-hero b{font-size:16px;line-height:1.25}
.editor-preview-hero strong{font-size:21px}
.editor-preview-products{padding:12px}
.editor-preview-products>small{display:block;margin-bottom:9px;color:#687982}
.editor-preview-products>div{display:flex;align-items:center;gap:7px;padding:6px 0;border-bottom:1px solid #edf1ef}
.editor-preview-products .product-photo{flex:none;width:35px;height:35px;border-radius:5px}
.editor-preview-products span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.editor-preview-products span small{display:block;color:#9aa5a9}
.editor-preview-products b{font-size:10px}
.editor-preview-products p{color:#84949b;font-size:11px}
.editor-preview-bottom{position:absolute;bottom:0;left:0;right:0;background:#0d8d43;color:#fff;text-align:center;padding:10px;font-size:11px}
.editor-preview-bottom b{font-size:12px}
@media(max-width:1270px){.admin-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.editor-layout{grid-template-columns:minmax(0,1fr) 275px}
.detail-overview-grid{grid-template-columns:minmax(0,1fr) 300px}
.detail-log-list li{grid-template-columns:1fr;gap:2px}
}
@media(max-width:1050px){.editor-layout,.detail-overview-grid{grid-template-columns:1fr}
.editor-aside{position:static}
.editor-preview-panel{max-width:480px;margin:auto}
.detail-overview-side{grid-template-columns:repeat(2,minmax(0,1fr))}
.detail-record-card{grid-column:1/-1}
}
@media(max-width:760px){.admin-overview-metrics{grid-template-columns:1fr 1fr}
.admin-overview-card{padding:13px;gap:8px}
.overview-icon{width:38px;height:38px;font-size:17px}
.admin-overview-card strong{font-size:18px}
.detail-overview-side{grid-template-columns:1fr}
.detail-overview-grid .activity-detail-summary{grid-template-columns:90px 1fr}
.detail-overview-grid .activity-detail-cover{width:90px;height:90px}
}
.editor-preview-hero{background:linear-gradient(115deg,#e5f6e9,#f9faf0 62%,#d9efe2)}
.activity-detail-cover .empty-cover{display:grid;place-items:center;width:100%;height:100%;color:#729080;font-size:12px}
.editor-step .section-heading{margin-bottom:18px}
.editor-step .section-heading h2{display:flex;align-items:center;gap:10px}
.editor-step-number{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#0d8d43;color:#fff;font-size:14px;font-weight:750}
.editor-main>.panel{margin-bottom:16px}
.editor-main #activity-pool h2,.editor-main #activity-display h2{display:flex;align-items:center;gap:10px}


/* 开发说明只保留当前页面必要的短规则，直接展示。 */.guide-nav,.guide-notes{font-size:14px;line-height:1.6}
.guide-nav .guide-caption,.guide-notes .guide-caption{font-size:13px;line-height:1.5}
.guide-links button{font-size:14px;line-height:1.55;padding:10px 11px}
.guide-section h3{font-size:14px}
.guide-section>small,.guide-toggle,.guide-tool{font-size:13px;line-height:1.6}
.guide-state-grid button{font-size:13px;line-height:1.5}
.guide-notes header h2{font-size:20px}
.guide-page-points{font-size:15px;line-height:1.65;margin:14px 0;padding-left:20px;color:#345245}
.guide-page-points li{margin-bottom:8px}
.guide-rule-list{margin-top:14px;border-top:1px solid #e2eae5;padding-top:13px}
.guide-rule h3{font-size:15px;line-height:1.5}
.guide-rule h3 small{font-size:12px}
.guide-rule p{font-size:14px;line-height:1.65;color:#40584a}
.product-activity-card small{line-height:1.5}
.product-activity-switch{display:block;width:calc(100% + 32px);margin:14px -16px -16px;padding:14px 16px;border:0;border-radius:0 0 12px 12px;background:#edf7f0;color:#146d3d;text-align:left;font-size:13px;font-weight:650}
.cart-goods{padding-top:0;padding-bottom:0}
.cart-activity-group+.cart-activity-group{border-top:8px solid #f4f8f5}
.cart-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 9px;border-bottom:1px solid #e7eee9}
.cart-group-heading>div{min-width:0}
.cart-group-heading b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:#173b29}
.cart-group-heading small{display:block;margin-top:3px;font-size:12px;color:#688271}
.cart-group-link{flex:none;border:0;background:transparent;color:#0a813d;font-size:12px;font-weight:650;white-space:nowrap}
.cart-activity-group .cart-row:last-child{border-bottom:0}
.normal-purchase-hero{display:flex;flex-direction:column;gap:5px;margin-top:14px;color:#174c31}
.normal-purchase-hero b{font-size:17px;line-height:1.35}
.normal-purchase-hero span{font-size:12px;color:#426a50}
.purchase-state-note{display:flex;flex-direction:column;gap:3px;margin:14px 0 18px;padding:12px 13px;border-radius:10px;background:#f4f6f5;border:1px solid #e2e9e4;color:#3a5144;font-size:12px;line-height:1.5}
.purchase-state-note small{color:#75887c;font-size:11px}
.purchase-state-note.scheduled{background:#f2f6f8;border-color:#dce8ed;color:#315a68}
.purchase-state-note.paused{background:#fff8ed;border-color:#f2e4ca;color:#835b29}
.purchase-state-note.ended{background:#f5f5f5;border-color:#e9e9e9;color:#59625b}
.spec-dialog:not([data-purchase-state="active"]) .detail-product .price,.spec-dialog:not([data-purchase-state="active"]) .spec-selection strong{color:#173b29}
.spec-dialog:not([data-purchase-state="active"]) .variant.on{background:#f0f5f1;border-color:#a9c0af;color:#174d31}
.spec-dialog:not([data-purchase-state="active"]) .installment-product-hint{color:#546b5a}
.promotion-hint .purchase-source-note{display:block;flex-basis:100%;color:#507454;font-size:11px;line-height:1.5}
.product-activity-card.is-inactive{background:#f6f9f6;border-color:#e2ebe4}
.product-activity-card.is-inactive b{color:#385b45}
.guide-nav .guide-section:first-of-type{margin-top:13px}
.guide-nav .guide-section{margin-top:12px;padding-top:12px}
.guide-nav .guide-links{gap:1px}
.guide-nav .guide-links button{padding:7px 10px;font-size:13px}
.guide-nav .guide-state-grid{margin-top:5px}
.guide-nav .guide-state-grid button{padding:6px 4px;font-size:12px}


/* 运营后台：参考赠品活动的宽版工作区与独立配置页签。 */.workspace{padding:22px 28px 28px;max-width:none;background:#f5f8f7}
.workspace .pagehead{margin:0 0 20px;min-height:64px}
.workspace .pagehead h1{font-size:25px;line-height:1.35;margin:0 0 7px;color:#18332b}
.workspace .pagehead p{font-size:13px;line-height:1.6;margin:0;color:#60756e}
.workspace .pagehead .crumb{display:none}
.page-status-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.page-status-line>small{margin-left:8px}
.sidebar .brand-mark{width:34px;height:34px;border-radius:50%;transform:none;background:#1da256;box-shadow:none;color:#fff}
.sidebar .brand{gap:10px}
.sidebar .brand>span{font-size:20px;letter-spacing:-.5px;color:#145e38}
.sidebar .brand small{letter-spacing:0;font-size:11px}
.sidebar-nav .nav-label{margin:24px 12px 9px;font-size:12px;font-weight:400;color:#73857d}
.sidebar-nav .navitem.current{margin:0;border-radius:8px;padding:13px 16px;justify-content:flex-start;gap:13px;border-left:4px solid #169648;background:#edf8f1}
.sidebar-nav .navitem.current:before{display:none}
.sidebar-nav .navitem.current span{font-size:18px}
.sidebar-nav .navitem.current strong{font-size:14px}
.sidebar-nav .nav-static{padding:13px 17px;gap:13px;font-size:13px;color:#576f63}
.admin-top{height:56px;padding:0 28px;background:#fff;border-bottom:1px solid #e3ebe6}
.admin-top-help{display:none!important}
.admin-top-label{font-size:13px}
.admin-identity{gap:12px;font-size:12px}
.list-overview-strip{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;padding:14px 20px;margin:0 0 18px;background:#fff;border:1px solid #e1eae5;border-radius:8px;font-size:13px;color:#6b7d73}
.list-overview-strip>span+span{border-left:1px solid #e3ebe6;padding-left:28px}
.list-overview-strip b{margin:0 4px;color:#163d29;font-size:17px;font-variant-numeric:tabular-nums}
.activity-list-panel{border:1px solid #e0e9e4;border-radius:10px;box-shadow:0 5px 18px #263d2b03}
.activity-list-panel .activity-list-toolbar{padding:0 22px 0;min-height:75px}
.activity-list-panel .activity-list-toolbar .tabs{gap:26px}
.activity-list-panel .activity-list-toolbar .tabs button{padding:23px 0;font-size:13px}
.activity-list-panel .table-wrap{border-top:1px solid #e5ece7}
.activity-list-panel th{height:48px;background:#f5f8f6;font-size:12px;font-weight:500}
.activity-list-panel td{padding-top:17px;padding-bottom:17px}
.activity-primary-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px 12px}
.activity-primary-actions .btn{font-size:12px;padding:3px 0;min-height:24px}
.activity-list-panel .table-footer{padding:15px 22px;background:#fff;border-top:1px solid #e5ece7}
.admin-editor-page{min-width:0;min-height:calc(100dvh - 144px);display:flex;flex-direction:column}
.admin-editor-page .pagehead{flex:none}
.admin-config-workbench{flex:1;min-width:0;background:#fff;border:1px solid #e0e9e4;border-radius:12px;box-shadow:0 6px 20px #263d2b03;overflow:clip}
.workspace #editor-form{max-width:none;width:100%;margin:0}
.workspace #editor-form fieldset{padding:0;margin:0;border:0;min-width:0}
.workspace .editor-sections{position:relative;top:auto;max-width:none;margin:0;padding:0 24px;min-height:56px;background:#fff;display:flex;align-items:stretch;gap:22px;border-bottom:1px solid #e1eae5;z-index:1}
.workspace .editor-sections>.btn{display:flex;align-items:center;gap:8px;border:0;border-radius:0;background:none;padding:16px 3px 13px;font-size:14px;color:#698071;box-shadow:none;white-space:nowrap;border-bottom:3px solid transparent}
.workspace .editor-sections>.btn.on{color:#16392b;font-weight:650;border-bottom-color:#149248}
.config-tab-number{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:6px;background:#edf5ef;color:#3a7353;font-size:12px;font-weight:650}
.on .config-tab-number{background:#12944a;color:#fff}
.config-tab-count{padding:1px 6px;border-radius:9px;background:#edf4ef;font-size:11px;font-weight:400;color:#587263}
.config-tab-panel[hidden]{display:none!important}
.config-tab-panel{padding:26px 30px;min-height:410px;min-width:0}
.config-section{padding:0 0 26px;margin:0 0 26px;border:0;border-bottom:1px solid #e7eee9;background:#fff}
.config-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.config-section .section-heading{margin:0 0 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.config-section h2,.config-tab-panel .pool-panel h2{font-size:17px;line-height:1.4;margin:0;font-weight:650;color:#17392b}
.config-section .section-heading p,.config-tab-panel .pool-panel p{font-size:13px;line-height:1.6;color:#6a7f70;margin:6px 0 0}
.config-section .form-grid{max-width:1120px;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 36px}
.config-section .field>span,.bundle-rule-field>span{font-size:13px;color:#294a37;font-weight:500}
.config-section input,.config-section select,.config-section textarea{font-size:14px;min-height:42px;border-color:#d6e2da;border-radius:6px;background:#fff}
.config-section input:disabled{background:#f5f7f5;color:#83948a}
.config-section .field>small,.bundle-rule-field>small{font-size:12px;color:#829187;line-height:1.5}
.config-section .bundle-rule-field{grid-column:1/-1;max-width:750px}
.config-section .bundle-rule-inputs{max-width:650px;padding:14px 18px;margin-top:8px;background:#f3f9f5;border-color:#dfede3}
.config-section .bundle-rule-inputs input{font-size:18px;min-height:44px;text-align:center}
.config-section .bundle-rule-inputs input[name=n]{width:90px}
.config-section .bundle-rule-inputs input[name=price]{width:150px}
.admin-editor-page .editor-footer{position:sticky;bottom:0;left:auto;right:auto;max-width:none;width:auto;margin:22px -28px -28px;padding:16px 28px;background:#fff;border:0;border-top:1px solid #dfe8e2;border-radius:0;box-shadow:0 -4px 14px #23432c05;z-index:12;flex:none}
.admin-editor-page .editor-footer>span{font-size:13px;font-weight:600;color:#176735}
.admin-editor-page .editor-footer small{font-size:12px;font-weight:400;margin-top:5px}
.admin-editor-page .editor-footer .btn{min-height:40px;padding:10px 16px;font-size:13px}
.config-tab-panel .pool-panel{border:0;margin:0;padding:0;border-radius:0;box-shadow:none}
.config-tab-panel .pool-tools{margin:22px 0 16px}
.config-tab-panel .pool-tools>.search{max-width:350px}
.config-tab-panel .pool-batch{border-radius:6px;background:#f7faf8;border:1px solid #e6ede8;margin-bottom:18px;padding:12px 14px}
.config-tab-panel .pool-batch small{flex-basis:auto;margin-left:auto;font-size:11px}
.pool-table-heading{display:grid;grid-template-columns:minmax(0,1fr) 150px 140px;padding:14px 18px;background:#f4f8f5;color:#6a7f71;font-size:12px;border-bottom:1px solid #e1eae5}
.pool-table-heading>span:not(:first-child){text-align:right}
.config-tab-panel .selected-product>summary{padding:17px 12px;grid-template-columns:20px 50px minmax(100px,1fr) 135px 130px;gap:14px}
.config-tab-panel .selected-product>summary b{font-size:14px}
.config-tab-panel .selected-product summary small{font-size:12px;line-height:1.6}
.config-tab-panel .pool-limit-summary{font-size:12px}
.config-tab-panel .spec-disclosure{font-size:12px;color:#17773b}
.config-tab-panel .sku-config{padding:17px 22px;background:#f8fbf9;margin-left:0}
.config-tab-panel .pool-list>.empty{min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:13px}
.config-tab-panel .empty-symbol{font-size:36px;margin:8px 0 14px;color:#b7cbbd}
.config-tab-panel .pool-list>.empty h3{font-size:16px}
.config-tab-panel .pool-list>.empty p{margin:8px 0 20px}
.config-tab-panel .pool-pagination{padding:16px 0;margin:0}
.config-tab-panel .image-upload-grid{margin-top:24px;max-width:1200px}
.config-tab-panel .activity-image-field{border-radius:8px;box-shadow:none;background:#fafcfb}
.config-tab-panel .activity-image-field small{font-size:12px;line-height:1.6}
.activity-workbench{background:#fff;border:1px solid #e0e9e4;border-radius:12px;overflow:clip;min-width:0;box-shadow:0 5px 18px #263d2b03}
.activity-workbench .activity-detail-tabs{margin:0;padding:0 26px;background:#fff;border:0;border-bottom:1px solid #e3ebe5;border-radius:0;gap:30px}
.activity-workbench .activity-detail-tabs .btn{font-size:14px;padding:18px 0}
.activity-detail-body{padding:26px 30px;min-height:430px}
.activity-detail-body>.panel,.detail-info-content>.panel,.detail-rules-row>.panel{box-shadow:none;border:0;border-radius:0;margin:0;padding:0 0 26px}
.detail-info-content>.panel+.panel{padding-top:26px;border-top:1px solid #e5ece7}
.activity-detail-body h2{font-size:17px;line-height:1.4;margin:0 0 18px;color:#183c2b}
.detail-info-content .activity-detail-summary{display:grid;grid-template-columns:130px minmax(0,1fr);gap:24px;margin:0}
.detail-info-content .activity-detail-cover{width:130px;height:130px;border-radius:8px}
.detail-info-content .activity-detail-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 36px;margin:0}
.detail-info-content dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;font-size:13px;line-height:1.65}
.detail-info-content dt{color:#76887b}
.detail-info-content dd{margin:0;color:#233f2e}
.detail-rules-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:36px;padding:26px 0;border-top:1px solid #e5ece7;border-bottom:1px solid #e5ece7}
.detail-rules-row>.panel{padding:0}
.detail-rules-row>.panel+.panel{border-left:1px solid #e5ece7;padding-left:30px}
.detail-rules-row .detail-rule-card dl{margin:14px 0 0;display:grid;gap:10px}
.detail-rules-row .detail-rule-note{font-size:12px;margin:16px 0 0;padding:10px 12px;border-radius:5px;background:#f1f8f3}
.detail-rules-row .detail-usage-card h2{margin:0}
.detail-rules-row .detail-usage-card .quota-track{height:6px}
.detail-rules-row .detail-usage-card>small{font-size:12px}
.detail-info-content .detail-goods-card{padding-top:26px}
.detail-info-content table th,.activity-detail-body table th{font-size:12px;background:#f4f8f5;font-weight:500}
.detail-info-content table td{font-size:13px;padding-top:15px;padding-bottom:15px}
.detail-info-content .detail-goods-card .row h2 small{font-size:12px;font-weight:400;margin-left:8px}
.detail-info-content .detail-product-name{gap:12px}
.activity-lifecycle{margin:0 0 20px;padding:12px 17px;background:#fff;border-color:#e1eae5;border-radius:8px}
.activity-lifecycle p{font-size:12px}
.activity-lifecycle .btn{min-height:36px;padding:8px 13px;font-size:12px}
.activity-detail-body>.metrics{border:0;border-bottom:1px solid #e3ebe5;border-radius:0;box-shadow:none;margin:0 0 26px;padding:5px 0 24px}
.activity-detail-body>.panel+.panel{padding-top:26px;border-top:1px solid #e3ebe5}
.activity-detail-body .data-scope{margin:0 0 22px;font-size:12px;line-height:1.7}
@media(max-width:1200px){.workspace{padding:20px}
.admin-editor-page .editor-footer{margin-left:-20px;margin-right:-20px;margin-bottom:-20px;padding:14px 20px}
.config-tab-panel,.activity-detail-body{padding:24px}
.config-section .form-grid{gap:20px}
.detail-info-content .activity-detail-summary dl{grid-template-columns:1fr}
.detail-rules-row{gap:22px}
.detail-rules-row>.panel+.panel{padding-left:22px}
.activity-list-panel .table-wrap{overflow:auto}
.activity-list-panel .activity-table{min-width:1020px}
}
@media(max-width:760px){.workspace{padding:18px 14px}
.workspace .pagehead h1{font-size:22px}
.list-overview-strip{gap:10px 18px;padding:13px}
.list-overview-strip>span+span{padding-left:0;border:0}
.workspace .editor-sections{gap:18px;padding:0 14px;overflow:auto}
.workspace .editor-sections>.btn{font-size:12px;gap:5px}
.config-tab-panel,.activity-detail-body{padding:20px 16px}
.config-section .form-grid{grid-template-columns:1fr}
.config-section .bundle-rule-inputs{padding:12px 10px;gap:7px}
.config-section .bundle-rule-inputs input[name=n]{width:65px}
.config-section .bundle-rule-inputs input[name=price]{width:110px}
.config-tab-panel .selected-product>summary{grid-template-columns:18px 42px minmax(90px,1fr);gap:10px}
.pool-table-heading{grid-template-columns:1fr}
.pool-table-heading>span:not(:first-child){display:none}
.config-tab-panel .pool-batch small{flex-basis:100%;margin:0}
.admin-editor-page .editor-footer{margin:18px -14px -18px;padding:12px 14px;gap:9px}
.admin-editor-page .editor-footer>span{font-size:12px}
.admin-editor-page .editor-footer>div{gap:7px}
.admin-editor-page .editor-footer .btn{font-size:11px;padding:8px 10px;min-height:36px}
.detail-info-content .activity-detail-summary{grid-template-columns:85px 1fr;gap:15px}
.detail-info-content .activity-detail-cover{width:85px;height:85px}
.detail-info-content dl>div{grid-template-columns:85px 1fr;font-size:12px;gap:8px}
.detail-rules-row{grid-template-columns:1fr}
.detail-rules-row>.panel+.panel{padding-left:0;padding-top:20px;border-left:0;border-top:1px solid #e5ece7}
.activity-workbench .activity-detail-tabs{gap:21px;padding:0 16px}
.activity-workbench .activity-detail-tabs .btn{font-size:12px;white-space:nowrap}
.activity-detail-body .table-wrap{overflow:auto}
.activity-detail-body table{min-width:600px}
}
.sidebar{display:flex;flex-direction:column}
.sidebar-nav{flex:1}
.sidebar-bottom{margin-top:auto}
.config-section .bundle-rule-field>span{display:none}
.detail-rules-row .detail-rule-card dl>div{grid-template-columns:145px minmax(0,1fr)}
.config-tab-panel .activity-image-field.backgroundImage .upload-art{width:210px;height:118px;border-radius:7px;flex:none;background:#f0f6f2}
.config-tab-panel .activity-image-field.backgroundImage .upload-art img{width:100%;height:100%;object-fit:cover}
.config-tab-panel .activity-image-field.bannerImage .upload-art{width:150px;height:95px;flex:none}
.config-tab-panel .activity-image-field>div:last-child{min-width:0}
@media(max-width:1100px){.config-tab-panel .image-upload-grid{grid-template-columns:1fr}
.detail-rules-row .detail-rule-card dl>div{grid-template-columns:130px minmax(0,1fr)}
}
@media(max-width:760px){.config-tab-panel .activity-image-field.backgroundImage .upload-art{width:105px;height:90px}
.config-tab-panel .activity-image-field.bannerImage .upload-art{width:105px;height:75px}
}
.workspace .editor-sections>.btn{transition:none}
.config-tab-panel .pool-batch[hidden],.config-tab-panel .pool-tools>.search[hidden]{display:none!important}

/* 2026-10-24：确定性整改；品牌资产、交易语义和评审辅助层。 */.sidebar .brand img.official-logo{width:58px;height:58px;object-fit:contain;flex-shrink:0}
.sidebar .brand .brand-purpose{font-size:14px;letter-spacing:0;color:#244e36}
.phone .shop-header img.mall-logo{width:34px;height:34px;object-fit:contain;flex-shrink:0}
.phone{--mall-transaction:#d93025}
.phone .bundle-bar strong,.phone .price-lines .total-line strong,.phone .cart-info strong,.phone .order-card-total b,.phone .due-now b{color:var(--mall-transaction)}
.phone .bundle-bar>div>small,.phone .bundle-bar .cart-all-count{color:#526353;font-size:12px}
.phone .is-readonly [data-qualification-reason],#modal .is-readonly [data-qualification-reason]{display:block;color:#526353;font-size:12px;line-height:1.5;margin-top:5px}
#modal .payment-amount strong{color:#d93025}
.channel-controls{display:inline-flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap;color:#526353}
.channel-controls button{border:1px solid #c9d9cf;border-radius:5px;padding:5px 8px;background:#fff;color:#315b42;cursor:pointer}
.channel-controls button.selected{background:#e4f2e9;border-color:#0d7839;color:#0d7839;font-weight:700}
.risk-review-panel{border-left:3px solid #b77616}
.risk-review-panel details{padding:12px 0;border-top:1px solid #e5ebe6;line-height:1.7;font-size:13px}
.risk-review-panel details p{margin:8px 0;overflow-wrap:anywhere}
.risk-review-panel details summary{cursor:pointer;color:#71470c}
.risk-review-panel ul{padding-left:22px}
.phone .activity-actions>div{min-width:0}
.phone .activity-actions .basket-trigger{white-space:normal;font-size:12px;line-height:1.4}
@media(max-width:700px){.channel-controls{font-size:11px}
.channel-controls button{padding:4px 6px}
}

/* 2026-10-24：购物车本次购买范围 */.phone .cart-selection-note{font-size:12px;line-height:1.6;color:#526353;margin:4px 0 12px}
.phone .cart-page .cart-row{gap:9px;align-items:flex-start}
.cart-line-select{display:flex;align-items:center;justify-content:center;width:24px;min-height:44px;flex:none;cursor:pointer}
.cart-line-select input,.cart-selection-all input{width:18px;height:18px;min-height:18px;padding:0;margin:0;accent-color:#0d7839;flex:none;cursor:pointer}
.cart-line-select .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.phone .cart-page .not-selected .cart-info strong{color:#526353}
.phone .cart-checkout-bar{gap:8px;padding-left:13px;padding-right:13px}
.phone .cart-checkout-bar .cart-selection-all{display:flex;align-items:center;gap:5px;font-size:12px;color:#315943;flex:none;cursor:pointer}
.phone .cart-checkout-bar>div{flex:1;min-width:0}
.phone .cart-checkout-bar strong{font-size:22px;white-space:nowrap}
.phone .cart-checkout-bar .btn{padding:12px 13px;font-size:13px;min-width:105px}
.phone .cart-checkout-bar>div>small{font-size:11px}


/* 2026-10-24：单一顶部位置，背景叠字或完整图片。 */.phone:is([data-page="shop"],[data-page="preview"]) .shop-hero{height:auto;min-height:190px;padding:0;background-color:#e9f5ec}
.phone:is([data-page="shop"],[data-page="preview"]) .shop-hero .hero-copy{max-width:66%;padding:18px 0 16px 19px}
.phone:is([data-page="shop"],[data-page="preview"]) .shop-hero h1{font-size:18px;line-height:1.25;margin:5px 0 7px;max-width:none}
.phone:is([data-page="shop"],[data-page="preview"]) .shop-hero .deal>strong{font-size:31px}
.phone:is([data-page="shop"],[data-page="preview"]) .hero-drawing{height:100%;width:59%;right:0;top:0;bottom:0}
.phone .activity-header-image{width:100%;margin:0;background:#f3f7f4}
.phone .activity-header-image img{width:100%;height:auto;display:block;object-fit:contain}
.phone .activity-image-rule{padding:10px 16px;background:#e9f5ec;color:#205c3a;font-size:13px;line-height:1.6;font-weight:600}
.header-image-config{display:flex;align-items:flex-start;gap:24px;margin-top:24px;padding:20px;border:1px solid #dce6e0;border-radius:8px;background:#fafcfb;max-width:1200px}
.header-config-thumb{position:relative;flex:none;width:240px;height:132px;border:1px solid #dce6e0;border-radius:6px;overflow:hidden;background:#e9f5ec}
.header-config-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.header-config-thumb.whole-image img{object-fit:contain}
.header-config-thumb.default-background{background-image:url("素材/商品摄影拼图.png");background-size:300% 400%;background-position:100% 100%}
.header-config-thumb>span{position:absolute;bottom:0;left:0;right:0;padding:6px 10px;background:#ffffffdf;font-size:12px;color:#315943}
.header-config-info{min-width:0;flex:1}
.header-config-info h3{font-size:15px;margin:0 0 9px}
.header-config-info p{font-size:13px;line-height:1.7;margin:6px 0;color:#526353}
.header-config-info small{font-size:12px;line-height:1.7;color:#526353;display:block}
.header-config-info .header-current-mode{color:#205c3a;font-weight:600}
.header-config-info .activity-image-actions{flex-wrap:wrap;gap:10px;margin-top:14px}
#activity-display>.form-grid{grid-template-columns:1fr;max-width:1200px}
@media(max-width:760px){.header-image-config{flex-direction:column;gap:16px}
.header-config-thumb{width:min(100%,300px);height:150px}
}


/* 2026-10-24 集中修复：关键文字对比与移动操作热区。 */
.quota-values span,.quota-values b,.sidebar .nav-label,.list-overview-strip{color:#4a5f52;font-size:12px}
.bundle-business .activity-table th{color:#4c5c65;font-size:12px}
.product-promotion-status{padding:10px 12px;margin-top:10px;background:#f5f8f6;border-radius:8px;color:#526353;font-size:12px;line-height:1.65}
.quote-change-details{padding-left:20px;font-size:12px;line-height:1.7}
.quote-change-details li{margin-bottom:12px}
.quote-change-heading{font-size:15px;color:#263a2e}
.activity-subtotal-note{display:block;color:#526353;font-size:11px}
@media(max-width:550px){
 .phone .list-add{width:44px;height:44px;min-width:44px;min-height:44px}
 .phone .quantity button{width:44px;height:44px;min-width:44px;min-height:44px;color:#526353}
 .phone .cart-info .row{flex-wrap:wrap;gap:5px}
 .phone .remove{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin-top:8px}
 .phone .cart-group-link,.phone .rule-strip .text-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
 .phone .cart-group-heading{align-items:center}
 .phone .cart-selection-all,.phone .cart-line-select{min-width:32px;min-height:44px}
 .phone .spec-quantity button{min-width:44px;min-height:44px}
}

@media(max-width:550px) and (max-height:850px){
 .bundle-workbench .phone .activity-content{padding-top:6px}
 .bundle-workbench .phone .activity-content .category-tabs{padding:0}
 .bundle-workbench .phone[data-page="shop"] .bundle-progress{margin-bottom:5px}
 .bundle-workbench .phone[data-page="shop"] .product-picture{height:100px}
}

.phone-dialog .cart-info .row>strong,.phone-dialog .price-change b{color:#d93025}
