#tagsView{--tag-accent:#f56635;--tag-line:#eee5df;--tag-muted:#8b827b;color:#302a26}#tagsView .tg-card{background:#fff;border:1px solid var(--tag-line);border-radius:16px;padding:24px;margin:16px 0}#tagsView .tg-head,.tg-modal .tg-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}#tagsView h2,.tg-modal h2{font-size:22px;margin:0 0 8px}#tagsView h3{font-size:17px}#tagsView p,.tg-modal p{line-height:1.7}#tagsView .tg-muted,.tg-modal .tg-muted{color:#8b827b;font-size:13px}#tagsView .tg-tools,.tg-modal .tg-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}#tagsView input:not([type=checkbox]),#tagsView select,.tg-modal input:not([type=checkbox]),.tg-modal select,.tg-modal textarea{border:1px solid #e3d9d2;border-radius:9px;padding:10px 12px;background:white;color:#302a26;max-width:100%}#tagsView input[type=checkbox],.tg-modal input[type=checkbox]{width:16px;height:16px;accent-color:#f56635;vertical-align:middle}#tagsView button,.tg-modal button{border:1px solid #e5dbd4;border-radius:9px;background:#fff;padding:9px 14px;color:#4b3c32;cursor:pointer}#tagsView button.primary,.tg-modal button.primary{background:#ff6b36;color:#fff;border-color:#ff6b36}#tagsView button:disabled,.tg-modal button:disabled{opacity:.45;cursor:not-allowed}#tagsView .tg-tabs{display:flex;gap:8px;border-bottom:1px solid var(--tag-line);padding:0 0 14px}#tagsView .tg-tabs button.active{color:#eb5928;border-color:#f5bca8;background:#fff4ed}#tagsView .tg-pill,.tg-modal .tg-pill{display:inline-block;padding:5px 9px;border-radius:7px;background:#f8f3ef;color:#6a5549;font-size:12px;margin:3px}#tagsView .tg-good{color:#258362;background:#eef8f3}#tagsView .tg-warn,.tg-modal .tg-warn{background:#fff4e4;color:#a16929;border-radius:10px;padding:12px 15px}#tagsView .tg-table{overflow:auto}#tagsView table{width:100%;border-collapse:collapse;font-size:13px}#tagsView th{text-align:left;color:#8b827b;font-weight:500;background:#faf7f4}#tagsView th,#tagsView td{padding:14px 12px;border-bottom:1px solid #f0e9e3;vertical-align:top}#tagsView td button{padding:6px 9px;margin:2px}#tagsView .tg-empty{text-align:center;padding:42px;color:#96877d}#tagsView .tg-group{padding:16px;border:1px solid #e8dfd8;border-radius:12px;margin:12px 0}#tagsView .tg-drag{cursor:grab}#tagsView .tg-preview{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #eee8e1}#tagsView .tg-preview strong{width:90px;flex-shrink:0}.tg-modal{width:min(920px,92vw);max-height:88vh;overflow:auto;border:1px solid #eee1d8;border-radius:18px;padding:26px;background:#fff;color:#302a26}.tg-modal::backdrop{background:#30251d77}.tg-modal label{display:block;margin:14px 0}.tg-modal label>input:not([type=checkbox]),.tg-modal label>select,.tg-modal label>textarea{display:block;width:100%;margin-top:7px;box-sizing:border-box}.tg-modal .tg-checks{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0;max-height:300px;overflow:auto}.tg-modal .tg-checks label{display:inline-block;margin:0;padding:8px;border:1px solid #eee3db;border-radius:8px}.tg-modal .tg-foot{position:sticky;bottom:-26px;background:#fff;padding:18px 0 4px;border-top:1px solid #eee3db;display:flex;justify-content:flex-end;gap:10px}.tg-modal pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#faf7f4;padding:12px;border-radius:9px;max-height:320px;overflow:auto;font:12px/1.7 system-ui}.tagging-nav-v2 summary{padding:12px;cursor:pointer}.tagging-nav-v2 .nav-item{padding-left:26px;width:100%}.tagging-nav-v2 .nav-item.active{background:#fff0e6;color:#e46431}@media(max-width:1000px){#tagsView .tg-card{padding:16px}#tagsView .tg-head{align-items:flex-start;flex-direction:column}}
#tagsView{--tag-line:#ededf0;--tag-muted:#858991;color:#282a2e;font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;max-width:1370px;margin:0 auto}#tagsView .tg-card{border-color:#ededf0;border-radius:13px;padding:20px 23px;box-shadow:0 5px 26px #1a1a1a06}#tagsView .tg-head{border-bottom:1px solid #ededf0;padding-bottom:17px;margin-bottom:18px}#tagsView .tg-head h2{font-size:16px;margin-bottom:5px}#tagsView .tg-head h3{font-size:16px;margin:0}#tagsView .tg-muted,.tg-modal .tg-muted{color:#858991;font-size:12px}#tagsView button,.tg-modal button{border-color:#e5e5e8;color:#44464b;font-size:13px;font-weight:550;border-radius:8px;padding:8px 14px;min-height:35px;transition:background .12s}#tagsView button:hover,.tg-modal button:hover{background:#faf8f7}#tagsView button.primary,.tg-modal button.primary{background:#f36b37;border-color:#f36b37;color:#fff;box-shadow:none}#tagsView button.primary:hover,.tg-modal button.primary:hover{background:#dc5e2f}#tagsView td button{background:none;border:0;color:#df693c;padding:4px 6px;min-height:28px;font-size:12px}#tagsView td button.tg-danger{color:#ba5353}#tagsView th{background:#fafafa;color:#8a8d94;font-size:12px;font-weight:600}#tagsView td{vertical-align:middle;color:#44464b}#tagsView tbody tr:hover{background:#fffdfa}#tagsView .tg-row-actions{white-space:nowrap}#tagsView .tg-pill,.tg-modal .tg-pill{background:#f2f3f5;color:#686c75;padding:4px 9px;border-radius:6px;line-height:1.6}#tagsView .tg-good{background:#e8f7f0;color:#13855d}#tagsView .tg-note{background:#fff9f4;border:1px solid #ffeddc;border-radius:9px;padding:12px 14px;color:#866952;font-size:12px;line-height:1.7}#tagsView .tg-tabs{border:0;display:inline-flex;gap:5px;background:#f4f4f5;border-radius:9px;padding:4px;width:max-content;max-width:100%;flex-wrap:wrap;margin-bottom:16px}#tagsView .tg-tabs button{border:0;border-radius:7px;background:none;color:#656a73;padding:7px 13px;font-size:13px;font-weight:400;min-height:33px}#tagsView .tg-tabs button.active{background:#fff;box-shadow:0 1px 5px #0000000e;color:#2c2f35;font-weight:650}#tagsView .tg-filter-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.8fr);gap:20px;align-items:start}#tagsView .tg-preview-side{position:sticky;top:20px}#tagsView .tg-preview-side h3{font-size:15px;margin:12px 0}#tagsView .tg-group{border:1px solid #eaeaf0;border-radius:10px;padding:14px;margin:12px 0}#tagsView .tg-group .tg-head{border:0;padding:0;margin-bottom:8px}#tagsView [data-dragtag]{display:inline-flex;align-items:center;gap:7px;border:1px solid #e8e8ec;background:#fafafa;padding:7px 9px;border-radius:8px;cursor:grab}#tagsView [data-dragtag] select{font-size:11px;border:0;padding:4px 3px;max-width:88px;border-radius:4px}#tagsView [data-preview]{background:#141416;color:#f9f9f9;border-radius:20px;padding:20px 13px;width:min(360px,100%);margin:0 auto;box-shadow:0 13px 37px #0002;box-sizing:border-box;min-height:220px}#tagsView .tg-phonehead{display:flex;gap:40%;padding-bottom:17px}#tagsView .tg-preview{align-items:flex-start;font-size:12px;border:0;padding:5px 0;gap:10px}#tagsView .tg-preview strong{color:#ffab7a;background:#38251d;padding:7px 8px;border-radius:7px;min-width:76px;width:auto;text-align:center;font-weight:500}#tagsView .tg-preview .tg-pill{background:none;color:#f9f9f9;padding:4px 0;margin:2px 8px 2px 0}#tagsView [data-preview]>.tg-muted{color:#aaa}.tg-modal{border-radius:14px;box-shadow:0 25px 90px #0003;padding:22px;border-color:#ededf0}.tg-modal h2{font-size:18px}.tg-modal .tg-head{padding-bottom:16px;border-bottom:1px solid #ededf0}.tg-modal .tg-foot{border-color:#ededf0}.tagging-nav-v2 .nav-item{transition:none!important}.tagging-nav-v2>summary.parent-active{color:#e46431}.tagging-nav-v2 button.nav-item{min-height:40px;font-size:13px}.tagging-nav-v2 button.nav-item:disabled{opacity:1}@media(max-width:1100px){#tagsView .tg-filter-columns{grid-template-columns:1fr}#tagsView .tg-preview-side{position:static}}

/* Filter page follows the V3 prototype; isolate from generic admin aside/label styles. */
#app main.tf-main>header{width:100%;max-width:1370px;margin:0 auto 24px;box-sizing:border-box}#app main.tf-main>header h1{font-size:26px}#tagsView.tf-page .tg-card{padding:0;overflow:visible}#tagsView.tf-page .tg-card>.tg-head{margin:0;padding:17px 22px;border-bottom:1px solid #ededf0;min-height:72px;box-sizing:border-box;display:flex;flex-direction:row;align-items:center}#tagsView.tf-page .tg-card>.tg-head h2{font-size:16px;margin:0}#tagsView.tf-page [data-body]{padding:20px 23px}#tagsView.tf-page .tf-dirty{font-size:12px;color:#c37d3e;margin-right:12px}#tagsView.tf-page .tf-settings{display:flex;align-items:center;gap:25px;flex-wrap:wrap}#tagsView.tf-page .tf-settings label{display:inline-flex!important;align-items:center;gap:7px;font-size:13px;font-weight:400;margin:0;white-space:nowrap}#tagsView.tf-page .tf-settings select{width:220px;height:37px;padding:8px 11px;font:inherit;box-sizing:border-box}#tagsView.tf-page .tf-settings input{width:90px;height:37px;display:inline-block;margin:0;box-sizing:border-box;padding:8px 11px}#tagsView.tf-page .tf-help{font-size:12px;color:#858991;line-height:1.7;margin:8px 0 16px;padding-bottom:15px;border-bottom:1px solid #ededf0}#tagsView.tf-page .tf-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.8fr);gap:16px;align-items:start}#tagsView.tf-page .tf-columns h3{font-size:15px;margin:0 0 11px;line-height:1.5}#tagsView.tf-page .tf-editor,#tagsView.tf-page .tf-preview-column{min-width:0;width:auto;background:none;padding:0;border:0}#tagsView.tf-page .tf-preview-column{position:sticky;top:20px}#tagsView.tf-page .tf-group{border:1px solid #eaeaf0;border-radius:10px;padding:14px;margin:0 0 10px}#tagsView.tf-page .tf-grouphead{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:grab}#tagsView.tf-page .tf-grouptitle{display:flex;gap:9px;align-items:center;min-width:0}#tagsView.tf-page .tf-grouptitle strong{font-size:13px}#tagsView.tf-page .tf-grouphead label{display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap;font-size:12px;font-weight:400;margin:0}#tagsView.tf-page .tf-grouphead input{display:inline-block;margin:0;width:15px;height:15px;flex:0 0 15px}#tagsView.tf-page .tf-count{font-size:12px;color:#858991;white-space:nowrap}#tagsView.tf-page .tf-grip{color:#adb0b5;font-size:13px;cursor:grab;flex:none;user-select:none}#tagsView.tf-page .tf-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}#tagsView.tf-page .tf-tag{display:inline-flex;align-items:center;flex:0 0 auto;gap:7px;width:auto;max-width:100%;margin:0;border:1px solid #e8e8ec;border-radius:8px;padding:7px 9px;background:#fafafa;white-space:nowrap;box-sizing:border-box;line-height:1.5}#tagsView.tf-page .tf-tag strong{font-size:12px;white-space:nowrap;word-break:normal;flex:none}#tagsView.tf-page .tf-tag select{width:auto;min-width:68px;max-width:88px;flex:none;border:0;background:#fff;color:#63666d;padding:4px 3px;font-size:11px;border-radius:4px;height:25px;box-sizing:border-box}#tagsView.tf-page .tf-tag[draggable=false],#tagsView.tf-page .tf-tag[draggable=false] .tf-grip{cursor:default}#tagsView.tf-page .tf-phone{display:block;background:#141416;color:#f9f9f9;border-radius:20px;padding:20px 13px;width:min(360px,100%);min-height:0;max-width:360px;margin:0 auto;box-sizing:border-box;box-shadow:0 13px 37px #0002}#tagsView.tf-page .tf-phonehead{position:relative;text-align:center;font-size:13px;font-weight:700;padding-bottom:17px;line-height:1.5}#tagsView.tf-page .tf-phonehead>span{position:absolute;left:29%;top:0}#tagsView.tf-page .tf-phone-row{display:flex;align-items:flex-start;gap:10px;margin:10px 0;font-size:12px;line-height:1.5}#tagsView.tf-page .tf-phone-type{flex:0 0 auto;white-space:nowrap;color:#ffab7a;background:#38251d;padding:7px 8px;border-radius:7px;min-width:76px;text-align:center;box-sizing:border-box}#tagsView.tf-page .tf-phone-tags{display:flex;gap:9px;flex-wrap:wrap;padding-top:6px;min-width:0}#tagsView.tf-page .tf-phone-tags span{display:inline-block;white-space:nowrap;font-size:12px;color:#f9f9f9;background:none;border:0;padding:0;margin:0}#tagsView.tf-page .tf-expand{color:#999;text-align:center;font-size:12px;margin:10px 0}#tagsView.tf-page .tf-posters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:17px}#tagsView.tf-page .tf-poster{aspect-ratio:3/4.2;border-radius:7px;background:linear-gradient(145deg,#51434a,#23252c 65%,#4a3035);display:grid;place-items:center;color:#9f989e;font-size:25px}#tagsView.tf-page .tf-poster-title{font-size:11px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#tagsView.tf-page .tf-poster-tag{font-size:10px;color:#999}#tagsView.tf-page .tf-caption{font-size:12px;color:#858991;line-height:1.6;margin:12px 0 0}@media(max-width:1100px){#tagsView.tf-page .tf-columns{grid-template-columns:1fr}#tagsView.tf-page .tf-preview-column{position:static}}@media(max-width:720px){#tagsView.tf-page [data-body]{padding:14px}#tagsView.tf-page .tf-settings{gap:14px}#tagsView.tf-page .tf-settings select{width:180px}}
