:root{--bg:#eef2f6;--panel:#fff;--nav:#101c2b;--nav2:#16263a;--text:#1d2a38;--muted:#6f7f91;--line:#dbe3eb;--primary:#1769aa;--primary2:#0f568e;--danger:#b63a3a;--warn:#9b6b16;--ok:#17765c;--radius:10px;--shadow:0 5px 18px rgba(25,49,76,.07)}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--text);font-size:14px}a{color:var(--primary);text-decoration:none}.topbar{height:64px;background:var(--nav);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-wrap{display:flex;align-items:center;gap:11px}.brand-mark{width:34px;height:34px;border:1px solid #5d82a7;border-radius:8px;display:grid;place-items:center;font-weight:800;letter-spacing:.5px;background:#182b40}.brand{font-weight:700;letter-spacing:.2px}.brand-sub{font-size:9px;letter-spacing:1.7px;color:#8197ae;margin-top:2px}.top-actions{display:flex;gap:14px;align-items:center;font-size:13px}.top-actions form{margin:0}.status-dot{width:7px;height:7px;border-radius:50%;background:#4bc09a;box-shadow:0 0 0 3px rgba(75,192,154,.12)}.top-link{color:#c9d9e8}.link-btn{border:0;background:none;color:#d9e4ee;cursor:pointer}.shell{display:flex;min-height:calc(100vh - 64px)}.sidebar{width:218px;background:var(--nav2);padding:18px 11px;color:#dbe7f2;display:flex;flex-direction:column}.side-group{margin-bottom:16px}.side-title{padding:7px 12px;color:#70879d;font-size:11px;letter-spacing:1.2px}.sidebar a{display:block;padding:10px 12px;border-radius:7px;color:#cbd8e5;margin:2px 0;border-left:2px solid transparent}.sidebar a:hover{background:#1c3148;color:#fff;border-left-color:#5f9dcc}.side-foot{margin-top:auto;border-top:1px solid #263b50;padding:14px 12px;color:#668097;font-size:11px;display:flex;justify-content:space-between}.main{flex:1;padding:24px;min-width:0;max-width:1600px}.page-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:18px}.page-head h1{margin:0 0 6px;font-size:24px;font-weight:700}.page-head p{margin:0;color:var(--muted);line-height:1.7}.breadcrumb{font-size:12px;color:#8795a5;margin-bottom:7px}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-bottom:18px;box-shadow:var(--shadow)}.card h2{margin:0 0 6px;font-size:17px}.card .card-desc{color:var(--muted);margin:0 0 16px;line-height:1.7}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.two-col{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .span2{grid-column:span 2}label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#435468;font-weight:600}input,select,textarea{width:100%;border:1px solid #cfd9e3;border-radius:7px;padding:10px 11px;background:#fff;color:#1f2d3b;font:inherit;outline:none;transition:.15s}input:focus,select:focus,textarea:focus{border-color:#5b91be;box-shadow:0 0 0 3px rgba(23,105,170,.09)}textarea{resize:vertical;min-height:86px}.field-hint{font-weight:400;color:#7e8d9d;font-size:12px;line-height:1.55}.field-hint strong{color:#41566c}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cdd7e1;border-radius:7px;padding:9px 14px;background:white;color:#223449;cursor:pointer;font-weight:600;gap:6px}.btn:hover{background:#f7f9fb}.btn.primary{background:var(--primary);color:white;border-color:var(--primary)}.btn.primary:hover{background:var(--primary2)}.btn.danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn.small{padding:6px 9px;font-size:12px}.btn-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat{background:white;border-radius:var(--radius);padding:18px;border:1px solid var(--line);border-top:3px solid #2c729f}.stat b{display:block;font-size:29px;line-height:1.15;font-variant-numeric:tabular-nums}.stat span{color:var(--muted);font-size:12px}.grid-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:12px}.project-card{border:1px solid var(--line);border-radius:9px;padding:15px;background:#fbfcfd}.project-card h3{margin:0 0 8px}.project-card p{color:var(--muted)}.actions,.ops{display:flex;gap:10px;flex-wrap:wrap}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px}table{width:100%;border-collapse:collapse;font-size:13px;background:#fff}th,td{text-align:left;padding:10px 9px;border-bottom:1px solid #e7edf3;white-space:nowrap}th{color:#586a7c;background:#f5f8fa;font-weight:700}tr:last-child td{border-bottom:0}.alert{padding:11px 14px;border-radius:8px;margin-bottom:14px;background:#eef8f4;color:#145f4b;border:1px solid #cde8df;display:flex;justify-content:space-between}.alert.error{background:#fff1f1;color:#8c2929;border-color:#f0cece}.alert.warning{background:#fff8e8;color:#7c5715;border-color:#ead8aa}.alert-close{background:none;border:0;font-size:18px;color:inherit}.codebox{background:#111b28;color:#d4e4f2;padding:14px;border-radius:8px;min-height:80px;overflow:auto;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.65;white-space:pre}.info-strip{display:flex;gap:10px;align-items:flex-start;background:#f3f7fa;border:1px solid #dbe6ef;padding:11px 13px;border-radius:8px;color:#4b5f72;line-height:1.6}.info-strip.warn{background:#fff9eb;border-color:#ecdcae;color:#76571c}.status-pill{display:inline-flex;padding:3px 8px;border-radius:99px;font-size:11px;background:#edf3f8;color:#49637b}.status-pill.ok{background:#e9f7f2;color:#156a52}.status-pill.off{background:#f1f2f4;color:#7a828c}.check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.check-item{display:flex;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:8px}.check-item.good{border-left:3px solid #2e9272}.check-item.bad{border-left:3px solid #c55b46}.template-grid,.plan-grid,.provider-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:13px}.template-card,.plan-card,.provider-card{border:1px solid var(--line);border-radius:9px;padding:15px;background:#fff;position:relative}.template-preview{height:100px;border-radius:7px;margin-bottom:12px;border:1px solid rgba(0,0,0,.08);position:relative;overflow:hidden}.template-preview:before{content:"";position:absolute;left:12px;top:14px;width:35%;height:8px;border-radius:3px;background:currentColor;opacity:.8}.template-preview:after{content:"";position:absolute;left:12px;right:12px;bottom:12px;height:42px;border:1px solid currentColor;opacity:.22;border-radius:5px}.tpl-tech-blue{background:#edf4f8;color:#1769aa}.tpl-future-dark{background:#15202d;color:#6aa4cf}.tpl-scenic-light{background:#faf9f5;color:#4e765f}.radio-card input{width:auto}.radio-card{cursor:pointer}.price{font-size:26px;font-weight:800}.price small{font-size:12px;color:var(--muted)}.login-bg{min-height:100vh;display:grid;place-items:center;background:#eaf0f5}.login-card,.signup-card{width:min(430px,calc(100vw - 32px));background:white;border-radius:12px;padding:28px;border:1px solid #d8e1e9;box-shadow:0 18px 45px rgba(30,54,78,.12)}.login-card h1,.signup-card h1{margin:0}.login-card p,.signup-card p{color:var(--muted);margin-top:6px}.login-card label,.signup-card label{margin:14px 0}.login-card .btn,.signup-card .btn{width:100%}.auth-links{display:flex;justify-content:space-between;margin-top:14px;font-size:13px}.modal{position:fixed;inset:0;background:rgba(9,18,29,.46);display:none;place-items:center;z-index:9999;padding:20px}.modal.show{display:grid}.modal-card{background:#fff;width:min(420px,100%);padding:24px;border-radius:11px;box-shadow:0 25px 70px rgba(0,0,0,.24);text-align:center}.modal-icon{width:42px;height:42px;border-radius:50%;background:#fff1e7;color:#9b5b19;display:grid;place-items:center;margin:auto;font-size:22px;font-weight:800}.modal-card h3{margin:12px 0 6px}.modal-card p{color:var(--muted);line-height:1.6}.modal-actions{display:flex;justify-content:center;gap:10px;margin-top:18px}.copy-row{display:flex;justify-content:flex-end;margin-top:8px}.section-divider{height:1px;background:var(--line);margin:18px 0}.danger-zone{border-color:#ebcaca}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.muted{color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:18px 0}@media(max-width:900px){.sidebar{display:none}.main{padding:14px}.two-col,.form-grid,.stats,.three-col{grid-template-columns:1fr}.form-grid .span2{grid-column:span 1}.stats{grid-template-columns:repeat(2,1fr)}.topbar{padding:0 13px}.brand-sub{display:none}.top-actions .top-link{display:none}}

.icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.icon-card{display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:9px;padding:11px;background:#fff}.icon-preview{width:48px;height:48px;border-radius:10px;background:#f2f6f9;display:grid;place-items:center;border:1px solid #dce5ec}.icon-preview img{max-width:30px;max-height:30px}.tpl-night-dark{background:#111820;color:#8fa9bd}.tpl-oriental{background:#f5f0e6;color:#8a3f36}.tpl-ecology{background:#edf4ec;color:#3d7250}.tpl-museum{background:#f1f1ef;color:#34383b}.tpl-family{background:#fff4df;color:#d47d35}.tpl-urban{background:#edf1f5;color:#425a70}

.admin-map-picker{height:360px;border:1px solid var(--line);border-radius:9px;background:#e8edf1;overflow:hidden}.admin-map-picker.large{height:480px}.table-icon{width:28px;height:28px;object-fit:contain}.link-danger{border:0;background:none;color:#a93333;padding:0;cursor:pointer;font:inherit}.ops form{display:inline;margin:0}

.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.media-card{border:1px solid var(--line);border-radius:9px;padding:10px;background:#fff;display:grid;grid-template-columns:92px 1fr;gap:11px}.media-card>img{width:92px;height:92px;object-fit:cover;border-radius:7px;background:#f2f5f7}.media-card input{margin-top:7px;font-size:11px}.media-card form{display:inline}
.mobile-menu-btn{display:none;border:1px solid rgba(255,255,255,.16);background:#182b40;color:#fff;width:38px;height:38px;border-radius:8px;font-size:20px;cursor:pointer}.sidebar-backdrop{display:none}
@media(max-width:900px){.mobile-menu-btn{display:grid;place-items:center}.topbar{gap:9px}.brand-wrap{flex:1}.sidebar{display:flex;position:fixed;left:0;top:64px;bottom:0;z-index:1200;transform:translateX(-105%);transition:transform .2s ease;box-shadow:12px 0 30px rgba(0,0,0,.18)}body.menu-open .sidebar{transform:translateX(0)}body.menu-open .sidebar-backdrop{display:block;position:fixed;inset:64px 0 0 0;background:rgba(8,18,28,.42);z-index:1190}.main{width:100%}.top-actions{gap:8px}.top-actions>span:not(.status-dot){max-width:86px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:520px){.topbar{height:58px}.shell{min-height:calc(100vh - 58px)}.sidebar{top:58px}.sidebar-backdrop{inset:58px 0 0 0}.brand-mark{display:none}.brand{font-size:13px}.main{padding:10px}.card{padding:14px;border-radius:8px}.page-head h1{font-size:21px}.stats{grid-template-columns:1fr 1fr}.table-wrap{margin-left:-4px;margin-right:-4px}}
/* V0.4 template preview palette: preview only, public layouts live in guide-v3.css */
.tpl-night-dark{background:#101923;color:#6f9fbe}
.tpl-oriental{background:#f1eadc;color:#8b4438}
.tpl-ecology{background:#eaf3e8;color:#477457}
.tpl-museum{background:#f5f5f2;color:#262626}
.tpl-family{background:#fff3cf;color:#d5792f}
.tpl-urban{background:#e9eef2;color:#2c658d}

/* 0.5 - 管理后台交互与信息架构 */
.color-picker-field{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:center}.visual-color-picker{width:44px;height:40px;padding:3px;border-radius:8px;cursor:pointer;background:#fff}.icon-picker{border:1px solid var(--line);border-radius:9px;background:#fbfcfd}.icon-picker-current{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px}.icon-picker-current-preview{width:44px;height:44px;border-radius:9px;background:#fff;border:1px solid var(--line);display:grid;place-items:center}.icon-picker-current-preview img{width:30px;height:30px;object-fit:contain}.icon-picker-panel{border-top:1px solid var(--line);padding:12px;background:#fff}.icon-picker-panel[hidden]{display:none}.icon-picker-toolbar{display:flex;gap:8px;margin-bottom:10px}.icon-picker-toolbar input{flex:1}.icon-choice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;max-height:360px;overflow:auto;padding:2px}.icon-choice{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 6px;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;font-size:12px;color:#435468}.icon-choice:hover,.icon-choice.selected{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 12%,transparent);background:#f7fbff}.icon-choice-preview{height:34px;display:grid;place-items:center;font-size:22px}.icon-choice-preview img{max-width:32px;max-height:32px}.advanced-box{border:1px dashed #cdd8e2;border-radius:8px;padding:10px 12px;background:#fafcfd}.advanced-box summary{cursor:pointer;font-weight:700;color:#566a7e}.map-provider-summary{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:9px;margin-bottom:14px}.map-provider-tab{border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px;display:flex;gap:9px;align-items:center;text-align:left;cursor:pointer;min-width:0}.map-provider-tab:hover,.map-provider-tab.selected{border-color:#8cb0cc;background:#f8fbfd;box-shadow:0 4px 14px rgba(30,70,105,.08)}.map-provider-tab.active-default{border-top:3px solid var(--primary)}.map-provider-logo{width:34px;height:34px;border-radius:9px;background:#edf4f9;color:var(--primary);display:grid;place-items:center;font-weight:800;flex:0 0 auto}.map-provider-tab span:last-child{min-width:0}.map-provider-tab b,.map-provider-tab small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-provider-tab small{color:var(--muted);font-size:11px;margin-top:3px}.map-onboarding-card{padding:13px 16px}.map-flow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-weight:700;color:#45596d}.map-flow i{font-style:normal;color:#9aa8b5}.map-config-layout{align-items:start}.map-coordinate-badge{display:inline-flex;padding:7px 10px;background:#eef5f9;border-radius:7px;color:#46627b;font-size:12px;margin-bottom:12px}.setup-steps{padding-left:20px;color:#536679;line-height:1.75}.setup-steps li{margin-bottom:6px}.handdraw-preview{min-height:210px;border:1px solid var(--line);border-radius:9px;background:#f2f5f7;display:grid;place-items:center;overflow:hidden;margin-bottom:14px}.handdraw-preview img{display:block;max-width:100%;max-height:320px}.handdraw-empty{display:flex;flex-direction:column;gap:5px;text-align:center;color:var(--muted)}.coordinate-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.coordinate-cards>div{padding:10px 12px;background:#f7f9fb;border:1px solid var(--line);border-radius:8px}.coordinate-cards b,.coordinate-cards span{display:block}.coordinate-cards span{font-size:12px;color:var(--muted);margin-top:3px}.format-chips{display:flex;gap:7px;flex-wrap:wrap}.format-chips span{padding:6px 9px;background:#f3f6f8;border:1px solid var(--line);border-radius:99px;font-size:12px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.media-card{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}.media-thumb{height:145px;background:#f2f5f7;display:grid;place-items:center}.media-thumb img{width:100%;height:100%;object-fit:cover}.media-meta{padding:11px}.media-meta audio,.media-meta video{width:100%;max-height:150px;margin-top:8px}.file-glyph{width:54px;height:54px;border-radius:14px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:20px;font-weight:800;color:#60768b}
@media(max-width:1100px){.map-provider-summary{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.map-provider-summary{grid-template-columns:repeat(2,1fr)}.icon-picker-current{grid-template-columns:44px 1fr}.icon-picker-current .btn{grid-column:1/-1}.map-flow i{display:none}}
.brand-logo{width:38px;height:38px;border-radius:8px;background:#fff;display:grid;place-items:center;overflow:hidden;padding:4px}.brand-logo img{max-width:100%;max-height:100%;object-fit:contain}
.template-title{display:flex;gap:8px;align-items:center;margin-top:2px}.template-preview{height:132px;box-shadow:inset 0 0 0 1px rgba(20,40,60,.05)}.template-preview span,.template-preview i,.template-preview em{position:absolute;display:block}.template-preview span{left:12px;top:14px;width:42%;height:9px;border-radius:5px;background:currentColor;opacity:.85}.template-preview i{left:12px;right:42%;top:34px;bottom:13px;border-radius:7px;background:currentColor;opacity:.12}.template-preview em{right:12px;width:31%;top:34px;bottom:13px;border-radius:7px;background:currentColor;opacity:.22}.tpl-night-dark:before{background:radial-gradient(circle at 72% 20%,#744bd8 0,transparent 35%),linear-gradient(145deg,#101522,#151a2d)!important}.tpl-scenic-light:before{background:linear-gradient(150deg,#f3eddc 0 46%,#dbe9dd 46% 65%,#aecbb8 65%)!important;opacity:.72!important}.tpl-oriental:before{background:radial-gradient(circle at 80% 20%,rgba(151,54,44,.22),transparent 28%),linear-gradient(#f4eee1,#ede4d3)!important}.tpl-ecology:before{background:linear-gradient(150deg,#e7f1e7,#bfd8c3)!important}.tpl-museum:before{background:linear-gradient(90deg,#efeee9 0 65%,#202326 65%)!important}.tpl-family:before{background:radial-gradient(circle at 75% 30%,#ffd88e 0 16%,transparent 17%),linear-gradient(135deg,#fff3d9,#f9e4ed)!important}.tpl-urban:before{background:linear-gradient(90deg,#e8eef3 0 25%,#d7e2ea 25% 76%,#f8fafb 76%)!important}
.brand-logo-preview{height:84px;background:#f4f7f9;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;padding:10px;margin:5px 0 8px}.brand-logo-preview img{max-height:62px;max-width:240px;object-fit:contain}.step-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}.step-list li{display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:start}.step-list li:before{content:counter(list-item);width:26px;height:26px;border-radius:50%;background:#eef4f8;color:var(--primary);display:grid;place-items:center;font-weight:800}.step-list li b,.step-list li span{grid-column:2}.step-list li span{color:var(--muted);font-size:12px;margin-top:-5px}.compare-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.compare-card{border:1px solid var(--line);border-radius:9px;padding:14px;background:#fafcfd}.compare-card b{font-size:15px}.compare-card p{color:var(--muted);line-height:1.7;margin-bottom:0}.icon-library-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px}.icon-library-summary>div{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px}.icon-library-summary b{display:block;font-size:20px}.icon-library-summary span{color:var(--muted);font-size:12px}.step-list.compact>div{display:grid;grid-template-columns:28px 1fr;gap:8px;align-items:center;margin:8px 0}.step-list.compact b{width:25px;height:25px;background:#eef4f8;border-radius:50%;display:grid;place-items:center;color:var(--primary)}@media(max-width:700px){.compare-grid,.icon-library-summary{grid-template-columns:1fr}}
/* 0.6 - 微信开放平台托管 */
.badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700;background:#edf2f6;color:#5c6f82}.badge.ok{background:#e9f7f2;color:#156a52}.badge.warn{background:#fff5dd;color:#805b18}.badge.info{background:#eaf3fa;color:#256187}.badge.danger{background:#fff0f0;color:#9c3131}.status-list{display:grid;gap:10px;margin:10px 0 14px}.status-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fafcfd}.empty-state{padding:24px 12px;text-align:center;border:1px dashed #cfd9e3;border-radius:10px;background:#fafcfd}.empty-state h3{margin:0 0 8px}.empty-state p{color:var(--muted);line-height:1.7;max-width:650px;margin:0 auto 14px}.mini-account{display:flex;align-items:center;gap:13px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fafcfd;margin:10px 0 12px}.mini-account h3{margin:0 0 5px}.mini-account p{margin:2px 0;color:var(--muted)}.release-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 16px}.release-grid>div{padding:14px;border:1px solid var(--line);border-radius:10px;background:#fbfcfd}.release-grid strong{display:block;font-size:20px;margin:5px 0}.release-grid p{margin:0;color:var(--muted)}.workflow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.workflow-step{border:1px solid var(--line);border-radius:10px;padding:14px;background:#fff}.workflow-step b{display:block;margin-bottom:6px}.workflow-step p{color:var(--muted);line-height:1.65;min-height:66px;margin:0 0 12px}.workflow-step form{margin:0}.workflow-step .btn{width:100%}@media(max-width:1100px){.workflow{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.release-grid,.workflow{grid-template-columns:1fr}.workflow-step p{min-height:auto}}


.category-admin-list{display:grid;gap:8px;margin:12px 0}.category-admin-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;gap:14px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfcfd}.category-admin-main{display:flex;align-items:center;gap:10px;min-width:0}.category-admin-main b{display:block;margin-bottom:3px}.category-color-dot{width:18px;height:18px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #cbd5df}.category-admin-row .ops form{display:inline}.category-admin-row .link-btn{color:var(--primary);padding:0}.empty-state.compact{padding:16px}.empty-state.compact p{margin-top:6px;margin-bottom:0}@media(max-width:760px){.category-admin-row{grid-template-columns:1fr auto}.category-admin-row .ops{grid-column:1/-1}.category-color-dot{display:none}}

/* v0.6.4 - responsive Cloudflare Turnstile */
.turnstile-wrap{width:100%;max-width:100%;margin:14px 0 6px;overflow:hidden}
.turnstile-wrap .cf-turnstile{width:100%;max-width:100%}
.turnstile-wrap iframe{max-width:100%!important}
@media(max-width:420px){.turnstile-wrap{margin-top:12px}}

/* v0.6.5 - auth layout, Turnstile border and filing footer */
.login-bg{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px 16px;background:#eaf0f5}
.auth-shell{width:min(760px,100%);display:flex;flex-direction:column;align-items:center;gap:18px}
.auth-shell .login-card,.auth-shell .signup-card{width:min(430px,100%)}
.turnstile-wrap{position:relative;width:100%;max-width:100%;margin:14px 0 6px;overflow:hidden;border-radius:4px;background:#fafafa;border:0;box-shadow:none}
/* Cloudflare Flexible 在部分浏览器/缩放比例下右侧边线可能被裁切。只补右边线，避免与组件自身底边叠成双线。 */
.turnstile-wrap:after{content:"";position:absolute;top:0;right:0;bottom:0;width:1px;background:#cfd6dd;pointer-events:none;z-index:3}
.turnstile-wrap .cf-turnstile{display:block;width:100%;max-width:100%;border:0!important;box-shadow:none!important}
.turnstile-wrap iframe{display:block;max-width:100%!important;border:0!important;box-shadow:none!important;outline:0!important}
.auth-platform-footer{width:100%;display:flex;justify-content:center;align-items:center;gap:18px;color:#778594;font-size:12px;line-height:1.4;white-space:nowrap;text-align:center}
.auth-platform-footer a{color:inherit;text-decoration:none}.auth-platform-footer a:hover{text-decoration:underline}
.auth-footer-main,.auth-footer-records{display:inline-flex;align-items:center;justify-content:center;gap:14px}
.auth-police-record{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.auth-police-icon{width:14px;height:14px;min-width:14px;max-width:14px;min-height:14px;max-height:14px;object-fit:contain;display:inline-block}
@media(max-width:620px){
  .login-bg{align-items:flex-start;padding-top:22px;padding-bottom:22px}
  .auth-shell{gap:14px}
  .auth-platform-footer{flex-direction:column;gap:6px;white-space:normal}
  .auth-footer-main{width:100%}
  .auth-footer-records{width:100%;gap:10px 12px;flex-wrap:wrap}
  .auth-police-icon{width:13px;height:13px;min-width:13px;max-width:13px;min-height:13px;max-height:13px}
}

/* v0.6.6 - Turnstile always-visible + load failure hint */
.turnstile-load-error{margin:8px 10px 10px;padding:8px 10px;border-radius:6px;background:#fff3f1;color:#a23a2b;font-size:12px;line-height:1.5}
.turnstile-load-error[hidden]{display:none!important}

/* v0.6.7 - Turnstile border cleanup: keep only right-edge fallback, remove duplicate bottom border */

/* v0.6.8 - Turnstile callback status + refined auth filing footer */
.turnstile-load-error{margin:8px 10px 10px;padding:9px 11px;border:1px solid #f3d3cd;border-radius:7px;background:#fff5f3;color:#a23a2b;font-size:12px;line-height:1.55}
.turnstile-load-error[hidden]{display:none!important}

/* Desktop: copyright / ICP / police record stay on one calm, evenly spaced line. */
.auth-platform-footer{gap:0;font-size:12px;color:#7b8998;line-height:1.45}
.auth-footer-main{gap:6px}
.auth-footer-records{gap:0;position:relative;margin-left:14px;padding-left:14px}
.auth-footer-records:before{content:"";position:absolute;left:0;top:50%;width:1px;height:12px;background:#cbd5df;transform:translateY(-50%)}
.auth-footer-records>*{display:inline-flex;align-items:center;min-height:18px}
.auth-footer-records>*+*{margin-left:14px;padding-left:14px;border-left:1px solid #cbd5df}
.auth-police-record{gap:5px;line-height:18px}
.auth-police-icon{width:13px;height:13px;min-width:13px;max-width:13px;min-height:13px;max-height:13px;vertical-align:middle}

@media(max-width:620px){
  .auth-platform-footer{gap:6px;line-height:1.45}
  .auth-footer-main{width:100%;justify-content:center;gap:6px}
  .auth-footer-records{width:100%;justify-content:center;gap:0;margin-left:0;padding-left:0;flex-wrap:wrap}
  .auth-footer-records:before{display:none}
  .auth-footer-records>*+*{margin-left:10px;padding-left:10px;border-left:1px solid #d4dde5}
  .auth-police-icon{width:12px;height:12px;min-width:12px;max-width:12px;min-height:12px;max-height:12px}
}
