/* 项目样式；brand.css 是百分比商城视觉变量 V1.2 的本地受控快照。 */
html,body{margin:0;min-height:100%;font-family:var(--bp-font)}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a8dcb8;outline-offset:2px}h1,h2,h3,p{margin-top:0}#app{min-height:100vh}#toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,12px);background:#213e2d;color:#fff;padding:11px 20px;border-radius:9px;box-shadow:0 12px 30px #17352433;opacity:0;pointer-events:none;z-index:99;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}
.admin-layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.admin-layout.collapsed{grid-template-columns:64px minmax(0,1fr)}.admin-sidebar{display:flex;flex-direction:column;min-height:100vh}.brand{height:72px;display:flex;align-items:center;gap:10px;padding:0 17px;border-bottom:1px solid #edf1ee;white-space:nowrap;overflow:hidden}.brand img{width:38px;height:38px;object-fit:contain}.brand span{font-weight:750;font-size:16px;color:#175f36;line-height:1.2}.brand small{display:block;color:#8b9a90;font-weight:450;font-size:10px;margin-top:3px}.side-group{padding:20px 10px}.side-caption{padding:4px 14px 10px;color:#96a39c;font-size:11px;letter-spacing:.04em}.side-main{display:flex;align-items:center;gap:12px;margin:3px 0;padding:11px 13px;border-radius:9px;color:#52645a;font-size:13px;font-weight:600;white-space:nowrap}.side-main.current{background:#eaf8ef;color:#16783f}.side-main.current:before{content:"";position:absolute;margin-left:-13px;width:3px;height:28px;background:#15964a;border-radius:0 3px 3px 0}.nav-symbol{display:inline-flex;align-items:center;justify-content:center;width:20px;font-size:18px;line-height:1}.side-bottom{margin-top:auto;padding:15px 16px 21px;border-top:1px solid #edf1ee}.side-help{border:0;background:none;color:#536d5c;padding:4px 0;font-size:12px;font-weight:600}.side-bottom small{display:block;margin-top:8px;color:#a1ada4;font-size:10px}.collapsed .brand{padding:0 13px}.collapsed .brand img{width:36px;height:36px}.collapsed .brand span,.collapsed .side-caption,.collapsed .nav-label,.collapsed .side-bottom{display:none}.collapsed .side-main{justify-content:center;padding:12px 0}.collapsed .side-main.current:before{margin-left:-50px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 27px}.topbar-path{color:#899991;font-size:12px;margin-right:auto}.topbar-right{display:flex;align-items:center;gap:18px}.top-link,.icon-btn{border:0;background:transparent;color:#237749;font-size:13px;font-weight:650}.icon-btn{font-size:20px;color:#687b6f;padding:4px 7px}.demo-pill{padding:3px 9px;border-radius:5px;background:#f1f4f2;color:#788c7d;font-size:11px}.avatar{display:grid;place-items:center;background:#dcefe2;color:#167b43;border-radius:50%;width:29px;height:29px;font-size:12px;font-weight:700}.crumb{font-size:12px;color:#91a098;margin-bottom:10px}.crumb span{padding:0 7px}.filter-summary{margin-left:auto;color:#8a9a90;font-size:12px}.time-sep{display:block;color:#a5b1aa;line-height:1.1}.hot-note{font-size:11px;color:#d56b25;margin-top:3px;display:block}.status{display:inline-block;border-radius:99px;padding:3px 10px;font-size:11px;white-space:nowrap}.status.ok{color:#1b854e;background:#e7f7eb}.status.quiet{color:#71817a;background:#f0f2f1}.status.bad{color:#b85034;background:#fff0e8}.actions-cell button{border:0;background:transparent;margin:0 8px 0 0;padding:3px 0;color:#187745;font-size:12px;font-weight:650;white-space:nowrap}.actions-cell button.danger-link{color:#a36767}.empty-cell{text-align:center!important;color:#819187!important;padding:46px 20px!important}.bp-admin-table-footer{font-size:11px}.bp-admin-filterbar select{width:auto!important;min-width:135px}.bp-admin-filterbar input{max-width:220px}.analytics-filter{gap:20px}.analytics-filter input[type=date]{width:145px}.analytics-body{padding:18px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric{padding:18px 20px;border:1px solid #e7eee9;border-radius:10px;background:#fff}.metric span{display:block;color:#667b6f;font-size:12px}.metric b{display:block;margin:8px 0 4px;font-size:27px;color:#193628;line-height:1.1}.metric small{color:#96a59b;font-size:11px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:14px;margin-top:15px}.inner-panel{border:1px solid #e7eee9;border-radius:10px;padding:20px}.inner-panel h3{font-size:15px;color:#254531;margin-bottom:15px}.chart{height:190px;display:grid;grid-template-columns:repeat(7,1fr);gap:18px;align-items:end}.bar-col{height:100%;display:flex;flex-direction:column;align-items:center;font-size:11px;color:#76887a}.bar-col>span{height:20px}.bar-track{height:135px;width:min(35px,100%);display:flex;align-items:end;background:#f3f8f4;border-radius:5px 5px 0 0}.bar-track i{display:block;width:100%;background:linear-gradient(#36ae65,#138847);border-radius:5px 5px 0 0}.bar-col small{margin-top:6px;color:#81938a;font-size:10px}.insight-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #eef2ef;font-size:12px;color:#718078}.insight-row strong{color:#274333;font-size:13px}.inline-note{font-size:11px;color:#89998d;line-height:1.65;margin:16px 0 0}.table-tools{display:flex;align-items:center;gap:12px;padding:14px 16px}.table-tools label{display:flex;align-items:center;gap:10px;font-size:12px;color:#66796d}.table-tools input,.table-tools select{min-height:37px;border:1px solid #d9e4dd;border-radius:8px;padding:6px 10px;background:#fff}.table-tools .bp-button{min-height:37px}.table-tools strong{margin-right:auto;color:#385440}
.rotate-toggle{margin-left:4px!important}.rotate-toggle input{width:15px!important;min-height:15px!important;height:15px!important;accent-color:#198a49}
.overlay{position:fixed;inset:0;z-index:50;background:#0b231350;display:flex;justify-content:flex-end}.drawer{width:min(560px,100%);height:100%;background:#fff;display:flex;flex-direction:column;box-shadow:-8px 0 36px #122c1933}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:21px 26px;border-bottom:1px solid #e5ede7}.drawer-head small{font-size:11px;color:#82948a}.drawer-head h2{font-size:21px;margin:4px 0 0;color:#1c3628}.drawer-body{padding:0 26px 28px;overflow:auto;flex:1}.form-section-title{font-size:14px;font-weight:700;color:#31543a;border-bottom:1px solid #e8eee9;padding:22px 0 11px;margin-bottom:17px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;font-size:12px;font-weight:600;color:#47604f}.field input,.field select{min-height:40px;border:1px solid #d9e5dc;border-radius:8px;padding:8px 12px;color:#213829;background:#fff;font-size:13px}.field em{font-size:11px;color:#bd3c34;font-style:normal;font-weight:500;min-height:1px}.date-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkbox-field{display:flex;align-items:center;gap:8px;font-size:12px;color:#3d5543;margin:10px 0}.checkbox-field input{accent-color:#198a49;width:16px;height:16px}.form-hint{color:#8b998d;font-size:11px;line-height:1.6}.drawer-footer{display:flex;justify-content:flex-end;gap:10px;padding:15px 26px;border-top:1px solid #e5ede7}.about-overlay{justify-content:center;align-items:center}.about-panel{width:min(550px,calc(100% - 30px));max-height:90vh;overflow:auto;background:#fff;border-radius:14px;padding:22px 26px;box-shadow:0 20px 50px #15241933}.about-panel header{display:flex;justify-content:space-between;align-items:center}.about-panel h2{font-size:20px;margin:0 0 17px}.about-panel p{font-size:13px;color:#536457;line-height:1.7;margin:0 0 10px}.about-panel a{color:#148447;text-decoration:underline}.about-actions{margin-top:20px;border-top:1px solid #ebf0ec;padding-top:18px}
.user-stage{min-height:100vh;padding:20px 20px 35px;background:radial-gradient(circle at top left,#dff8e8,#f7fafa 55%);display:flex;flex-direction:column;align-items:center}.preview-toolbar{width:min(430px,100%);display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px;color:#546a5e;font-size:12px}.preview-toolbar>div{display:flex;gap:7px}.preview-toolbar select{border:1px solid #d4e3da;border-radius:8px;background:#fff;padding:5px 8px;font-size:12px}.preview-toolbar .bp-button{min-height:33px;padding:5px 10px;font-size:12px}.phone{width:min(430px,100%);min-height:750px;height:calc(100vh - 98px);max-height:900px;display:flex;flex-direction:column;background:#fff;overflow:hidden;position:relative}.system-status{height:35px;flex:none;display:flex;justify-content:space-between;align-items:center;padding:4px 23px 0;color:#16291c;background:#effde9;font-size:12px;font-weight:750}.user-head{height:53px;flex:none;display:grid;grid-template-columns:40px 1fr 40px;align-items:center;text-align:center;background:linear-gradient(#effde9,#f7fff7);font-size:16px;color:#1d2e24}.user-head strong{font-weight:700}.back-btn{border:0;background:transparent;font-size:28px;font-weight:300;color:#263d2d}.search-form{display:flex;gap:8px;padding:11px 15px 16px;background:linear-gradient(#f7fff7,#fff);flex:none}.search-input-wrap{display:flex;align-items:center;gap:7px;flex:1;min-width:0;border-radius:19px;background:#f4f6f4;padding:0 13px;color:#86998c}.search-input-wrap span{font-size:26px;line-height:1}.search-input-wrap input{width:100%;min-width:0;height:39px;background:transparent;border:0;outline:none;font-size:13px;color:#1f3526}.search-input-wrap input::placeholder{color:#9baaa0}.search-submit{border:0;border-radius:18px;background:#71ca17;color:#173a14;min-width:59px;font-weight:700;font-size:13px}.user-scroll,.results-scroll,.landing-scroll{overflow:auto;flex:1;scrollbar-width:thin}.search-section{padding:16px 20px 21px;border-bottom:9px solid #f7f8f7}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-head h2{font-size:16px;margin:0;color:#1c2e22}.text-btn{background:transparent;border:0;color:#8b9a8d;font-size:12px}.history-chips,.hot-chips{display:flex;gap:9px;flex-wrap:wrap}.history-chips button,.hot-chips button{border:0;border-radius:20px;background:#f3f6f3;color:#34493b;font-size:12px;padding:8px 14px;min-height:34px}.hot-chips button.featured{background:#e9f7e8;color:#168144;font-weight:650}.guess-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.guess-grid button{border:0;background:#fff;text-align:left;padding:10px 0;color:#304736;font-size:13px;min-height:43px}.guess-grid button:active,.history-chips button:active,.hot-chips button:active{background:#d9f1dd}.mobile-tabbar{flex:none;display:flex;justify-content:space-around;align-items:center;min-height:58px;border-top:1px solid #eef2ef;color:#929c94;font-size:12px}.mobile-tabbar .selected{color:#358c26;font-weight:700}.home-indicator{width:105px;height:4px;background:#1b261b;border-radius:9px;margin:5px auto 8px;flex:none}.user-empty{padding:80px 25px;text-align:center;color:#98a69c;font-size:13px}.result-count{padding:10px 17px;color:#6a7e70;font-size:12px}.products{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 12px 20px}.product-card{display:flex;flex-direction:column;text-align:left;background:#fff;border:1px solid #ecf1ed;border-radius:10px;padding:0;overflow:hidden}.product-art{height:145px;display:grid;place-items:center;font-size:58px}.product-art.mint{background:#eaf5e9}.product-art.cream{background:#f8f3e8}.product-art.peach{background:#fff0e7}.product-art.lavender{background:#f0edf9}.product-info{padding:11px;display:flex;flex-direction:column;gap:5px}.product-info strong{font-size:12px;color:#263b2c;line-height:1.4;min-height:34px}.product-info small{font-size:10px;color:#9da99e}.product-info b{font-size:16px;color:#eb3e32}.result-state{text-align:center;padding:90px 22px 30px}.state-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:#eff7ed;color:#66a452;font-size:32px;margin:0 auto 19px}.result-state h2{font-size:16px;color:#2b3d30;margin-bottom:7px}.result-state p{color:#8e9d90;font-size:12px;line-height:1.6}.mobile-primary{margin-top:10px;border:0;border-radius:20px;background:#198949;color:#fff;font-size:12px;padding:10px 24px}.landing-scroll{background:#f7faf6}.landing-hero{min-height:265px;padding:38px 25px;background:linear-gradient(140deg,#e1f7df,#f7fff1 72%);position:relative;overflow:hidden}.landing-hero small{color:#307d43;font-size:11px}.landing-hero h1{max-width:220px;font-size:30px;line-height:1.23;color:#1e5734;margin:26px 0 12px}.landing-hero p{font-size:12px;color:#64826c;max-width:210px;line-height:1.6}.landing-decoration{position:absolute;right:-7px;bottom:3px;color:#8dd178;font-size:160px;line-height:1}.landing-content{padding:20px}.landing-content h2{font-size:16px}.landing-content p{font-size:11px;color:#869788}.landing-products{display:flex;gap:8px}.mini-product{background:#fff;border-radius:10px;border:1px solid #ebf1e9;flex:1;min-width:0;padding:14px 8px}.mini-product span{display:block;font-size:30px}.mini-product strong{display:block;font-size:10px;color:#536452;line-height:1.3;margin-top:5px}
@media(max-width:900px){.admin-layout{grid-template-columns:66px minmax(0,1fr)}.admin-layout:not(.collapsed) .brand span,.admin-layout:not(.collapsed) .side-caption,.admin-layout:not(.collapsed) .nav-label,.admin-layout:not(.collapsed) .side-bottom{display:none}.admin-layout:not(.collapsed) .side-main{justify-content:center;padding:12px 0}.admin-layout:not(.collapsed) .brand{padding:0 13px}.overview-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.admin-layout,.admin-layout.collapsed{grid-template-columns:1fr}.admin-sidebar{display:none}.topbar{padding:0 14px}.topbar-path{display:none}.topbar-right{gap:7px}.bp-admin-page{padding:17px 12px!important}.bp-admin-pagehead{flex-direction:column;gap:12px}.bp-admin-pagehead .heading-actions{justify-content:flex-start}.metric-grid{grid-template-columns:repeat(2,1fr)}.metric{padding:13px}.metric b{font-size:21px}.date-grid{grid-template-columns:1fr}.drawer-body{padding:0 18px 20px}.user-stage{padding:0;background:#fff}.preview-toolbar{padding:7px 9px;margin:0}.phone{width:100%;height:calc(100vh - 47px);max-height:none;min-height:600px;border:0;border-radius:0;box-shadow:none}.products .product-art{height:120px}}
@media(prefers-reduced-motion:reduce){#toast{transition:none}}

/* ===== 演示场景提示条（随用户端页面显示） ===== */
.sim-banner{width:min(430px,100%);margin:0 auto 10px;padding:7px 12px;border:1px dashed #d3a35f;border-radius:9px;background:#fff8ea;color:#8a5a12;font-size:11px;line-height:1.6;text-align:center}

/* ===== 设计评审修复（2026-10-23 · UI 设计师）：全部引用 brand.css 令牌 ===== */
/* #1 操作列：热区 >=32px、hover 底、删除用语义危险色（提高优先级以覆盖 brand.css .bp-admin-shell 基线） */
.bp-admin-shell .bp-admin-table .actions-cell :is(a,button){min-height:32px;padding:6px 8px;border-radius:6px}
.bp-admin-shell .bp-admin-table .actions-cell :is(a,button):hover{background:var(--bp-brand-soft)}
.bp-admin-shell .bp-admin-table .actions-cell button.danger-link{color:var(--bp-danger)}
.bp-admin-shell .bp-admin-table .actions-cell button.danger-link:hover{background:#fff0ed}
/* #2 生效时间单行；无时间用弱化"不限" */
.time-sep{display:inline;margin:0 4px}
.cell-muted{color:var(--bp-muted)}
/* #3 分析表格零值弱化，不淹没重点数据（覆盖 td 基线色） */
.bp-admin-shell .bp-admin-table td.zero-cell{color:var(--bp-muted);opacity:.6;font-variant-numeric:tabular-nums}
/* #4 猜你想搜胶囊化，与热门搜索同底色；移动端热区 >=44px */
.guess-grid{gap:8px}
.guess-grid button{background:#f3f6f3;border-radius:20px;padding:10px 14px;min-height:44px}
/* #10 校验错误字段边框语义色 */
.field [aria-invalid="true"]{border-color:var(--bp-danger)!important}

/* 新增/编辑搜索词使用居中弹窗，表单独立滚动，操作始终可见。 */
.entry-overlay{justify-content:center;align-items:center;padding:24px;z-index:80}
.entry-overlay .drawer{width:min(680px,100%);height:auto;max-height:calc(100dvh - 48px);border-radius:12px;overflow:hidden;box-shadow:0 20px 64px #122c1933}
.entry-overlay .drawer-head,.entry-overlay .drawer-footer{flex-shrink:0}
.entry-overlay .drawer-body{min-height:0;overscroll-behavior:contain}
.entry-overlay .compact-entry{width:min(800px,100%)}
.compact-entry .drawer-head{padding:16px 24px}
.compact-entry .drawer-head h2{margin:0 0 5px;font-size:20px}
.compact-entry .drawer-body{padding:0 24px}
.compact-entry .entry-section{padding:16px 0;border-bottom:1px solid #e8eee9}
.compact-entry .entry-section:last-child{border-bottom:0}
.compact-entry .entry-section h3{margin:0 0 12px;font-size:14px;color:#31543a}
.entry-grid{display:grid;gap:14px}
.entry-basic{grid-template-columns:180px minmax(0,1fr)}
.entry-destination{grid-template-columns:220px minmax(0,1fr)}
.entry-schedule{grid-template-columns:110px minmax(0,1fr) minmax(0,1fr)}
.compact-entry .field{margin:0;gap:6px;min-width:0}
.compact-entry .field input,.compact-entry .field select{min-width:0;width:100%;min-height:38px;padding:7px 10px}
.compact-entry .field em:empty{display:none}
.compact-entry .checkbox-field{margin:12px 0 0}
.entry-schedule-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.compact-entry .entry-schedule-note .checkbox-field{margin:0}
.entry-schedule-note>span{font-size:11px;color:#718178}
.entry-static{margin:0;font-size:13px;color:#667b6f}
.hot-chips .promo-static{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;background:#f3f6f3;border-radius:20px;font-size:12px;color:#607268}
.hot-chips .promo-static.featured{background:#e9f7e8;color:#168144}
.mini-product b{display:block;margin-top:10px;color:#eb3e32;font-size:16px}
.compact-entry .drawer-footer{padding:14px 24px}
@media(max-width:650px){
 .entry-overlay{padding:12px}
 .entry-overlay .drawer{max-height:calc(100dvh - 24px);border-radius:10px}
 .entry-overlay .drawer-head,.entry-overlay .drawer-footer{padding:16px 18px}
 .compact-entry .drawer-body{padding:0 18px}
 .entry-basic,.entry-destination{grid-template-columns:1fr}
 .entry-schedule{grid-template-columns:1fr 1fr}
 .entry-schedule>.field:first-child{grid-column:1/-1}
 .entry-schedule-note{align-items:flex-start;flex-direction:column;gap:8px}
}

/* 接管迭代：沿用 V1.2 语义，增加查询上下文与移动任务入口。 */
.mobile-admin-nav{display:none}
.bp-admin-panel .query-summary{padding:10px 16px;background:#f8fbf9;color:#61756a;font-size:12px;border-bottom:1px solid #e7eee9}
.table-tools{flex-wrap:wrap}
.table-tools input{min-width:0;max-width:190px}
.history-note{display:block;font-size:11px;color:#7d8d82;margin-top:5px;font-weight:400}
.actions-cell button:disabled{opacity:.3;cursor:default}
.bp-admin-tabstrip button span{margin-left:6px;background:#f0f5f2;border-radius:4px;padding:1px 5px;font-size:11px}
.bp-admin-tabstrip button.active span{background:#e6f4ea}
.bp-admin-shell .bp-admin-table td,.bp-admin-shell .bp-admin-table th{vertical-align:middle}
.bp-admin-shell .bp-admin-table th{white-space:nowrap}
.bp-admin-shell .bp-admin-table table{min-width:950px}
.bp-admin-shell .bp-admin-table td:first-child{min-width:150px}
.bp-admin-shell .bp-admin-table .actions-cell{white-space:nowrap}
.history-chips button,.hot-chips button{min-height:44px}
.back-btn,.text-btn{min-width:44px;min-height:44px}
.preview-toolbar{flex-wrap:wrap}
.preview-toolbar>div{align-items:center}
@media(max-width:650px){
 .mobile-admin-nav{display:flex;gap:4px;padding:8px 12px;background:#fff;border-bottom:1px solid #e5ede7}
 .mobile-admin-nav a{flex:1;text-align:center;min-height:42px;padding:10px 8px;font-size:13px;border-radius:6px;color:#60766a}
 .mobile-admin-nav a[aria-current=page]{background:#eaf8ef;color:#0d7839;font-weight:650}
 .topbar .collapse,.topbar .demo-pill,.topbar .avatar{display:none}
 .topbar-right{width:100%;justify-content:space-between}
 .bp-admin-pagehead h1{font-size:24px}
 .bp-admin-filterbar{gap:10px!important}
 .bp-admin-filterbar label{flex-wrap:wrap}
 .bp-admin-filterbar input{width:170px}
 .bp-admin-tabstrip{overflow-x:auto;white-space:nowrap}
 .bp-admin-tabstrip button{flex-shrink:0}
 .table-tools{gap:10px;padding:12px}
 .table-tools label{flex-wrap:wrap}
 .table-tools input{max-width:180px}
 .bp-admin-table-footer{gap:8px;flex-wrap:wrap;line-height:1.7}
 .query-summary{line-height:1.7}
 .wb-area-user .user-stage .phone{min-height:0;max-height:none;height:calc(100dvh - 140px)}
 .wb-mode-dev.wb-area-user .user-stage .phone{height:calc(100dvh - 172px)}
 .user-stage{min-height:0}
 .user-scroll,.results-scroll,.landing-scroll{min-height:0}
 .preview-toolbar{padding:7px 10px;min-height:52px}
 .preview-toolbar>span{font-size:11px}
}
.entry-help{margin:9px 0 0;font-size:12px;line-height:1.6;color:#718178}
.search-scope{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;background:#eef8f0;border-bottom:1px solid #dcebe0;font-size:12px;color:#365b42}
.search-scope>span{min-width:0;overflow-wrap:anywhere}
.search-scope .text-btn{flex-shrink:0;color:#0d7839;font-weight:600}

/* 接入公共机壳，仅约束当前业务预览可用高度；机壳视觉由工作台提供。 */
@media(min-width:651px){.wb-area-user .user-stage .phone{height:calc(100dvh - 160px);min-height:0;max-height:900px}.wb-mode-dev.wb-area-user .user-stage .phone{height:calc(100dvh - 205px)}}
