:root{font-family:Inter,Microsoft YaHei,sans-serif;color:#20283a;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}.layout{display:grid;grid-template-columns:236px 1fr;min-height:100vh}.layout>aside{background:#172338;color:#fff;padding:25px 16px;position:relative}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 25px}.brand i,.login-logo{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(135deg,#6877ff,#9a66ef);font-style:normal;font-weight:800}.brand b,.brand small{display:block}.brand small{font-size:9px;letter-spacing:1.5px;color:#8794aa;margin-top:4px}nav button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:#aeb9cc;text-align:left;padding:12px 14px;border-radius:10px;margin:4px 0;cursor:pointer}nav span{width:22px;text-align:center;font-size:18px}.active,nav button:hover{background:linear-gradient(135deg,#6374f7,#825ee9)!important;color:#fff!important}.aside-foot{position:absolute;bottom:20px;left:30px;font-size:11px;color:#68758c}main{padding:29px 34px;min-width:0}header,.category-head,.toolbar,.admin,.group-title{display:flex;justify-content:space-between;align-items:center}header{margin-bottom:24px}h1{font-size:25px;margin:0}header p,.category-head p{color:#8791a4;margin:7px 0 0;font-size:13px}.admin{gap:12px;background:#fff;border:1px solid #edf0f5;padding:8px 10px 8px 16px;border-radius:12px}.admin button,.link{border:0;background:transparent;color:#6575e8;cursor:pointer}.toast{background:#20283a;color:#fff;padding:12px 18px;border-radius:10px;margin-bottom:18px;cursor:pointer}.welcome{background:linear-gradient(120deg,#f1efff,#fff6e7);border-radius:18px;padding:30px 36px;position:relative;overflow:hidden}.welcome small{color:#7568e8;font-weight:700}.welcome h2{margin:10px 0 7px}.welcome p{color:#737e91;margin:0}.welcome>b{position:absolute;right:45px;top:12px;font-size:100px;color:#776ae812}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.cards article,.panel{background:#fff;border:1px solid #edf0f5;border-radius:15px;padding:21px;box-shadow:0 6px 22px #26334c0a}.cards article{border-top:3px solid #6877ef}.cards .c1{border-color:#18b883}.cards .c2{border-color:#f6a523}.cards .c3{border-color:#e96074}.cards small{color:#7e899a}.cards strong{display:block;font-size:30px;margin:12px 0}.cards span,.cards article button{font-size:11px;color:#9aa3b3}.cards article button{border:0;background:transparent;padding:0;font:inherit;color:#65758b;cursor:pointer}.cards article button:hover{color:#7064ef}.dash{display:grid;grid-template-columns:2fr 1fr;gap:18px}.panel h3{margin:0 0 18px}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick button{border:1px solid #e8ebf1;background:#fafbfe;border-radius:10px;padding:17px 8px;color:#576378}.dash ul{list-style:none;padding:0;margin:0}.dash li{padding:8px;color:#7c8798}.dash li:before{content:"○";margin-right:8px}.dash .done{color:#20a87c}.dash .done:before{content:"●"}input,select{border:1px solid #dce2eb;border-radius:9px;padding:10px 12px;background:#fff;color:#20283a;outline:none}input:focus,select:focus{border-color:#6978f5;box-shadow:0 0 0 3px #6978f514}.primary{border:0;border-radius:9px;background:linear-gradient(135deg,#6172f4,#8061e8);color:#fff;padding:10px 17px;cursor:pointer}.toolbar{margin-bottom:16px}.toolbar input{width:min(480px,60%)}.resource-layout{display:grid;grid-template-columns:minmax(0,1fr) 365px;gap:18px}.resource-heat-settings{margin-bottom:18px;padding:18px 21px}.heat-settings-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.heat-settings-heading h3{font-size:15px;margin:0 0 8px}.heat-settings-heading p,.resource-heat-settings .heat-help{font-size:12px;line-height:1.7;color:#7a8596;margin:0}.heat-kind{flex-shrink:0;font-size:11px;color:#796143;background:#faf2e5;padding:5px 9px;border-radius:12px}.heat-range-form{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0 10px}.heat-range-form label{display:flex;align-items:center;gap:12px;font-size:12px;color:#697487}.heat-range-form input{width:200px}.heat-range-saved{font-size:12px;color:#6c7b8b}.resource-heat-settings .heat-setting-error{color:#b94242;font-size:13px;line-height:1.7;margin:12px 0}.resource-heat-settings button:disabled{opacity:.55;cursor:not-allowed}.table{padding:8px 20px}.table h3{padding:14px 0 5px}.table em{font-style:normal;font-size:12px;background:#edf0ff;color:#6876e8;padding:3px 7px;border-radius:10px}.tr{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #eff1f5}.file{width:43px;height:48px;border-radius:9px;background:#f0efff;color:#6d6fea;display:grid;place-items:center;font-size:11px;font-weight:700;text-transform:uppercase}.grow{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.grow b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grow small{color:#9099a8;font-size:11px}.badge{padding:5px 9px;border-radius:20px;font-size:11px}.published{background:#e5f8f0;color:#17825f}.draft{background:#f0f2f5;color:#687383}.form label{display:flex;flex-direction:column;gap:6px;color:#697487;font-size:12px;margin-bottom:12px}.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form .check{flex-direction:row}.full{width:100%}.category-head{margin-bottom:16px}.category-head h3{margin:0}.category-editor{display:grid;grid-template-columns:210px 1fr;gap:16px}.group-list{position:static;background:#fff;border:1px solid #edf0f5;border-radius:15px;padding:10px;height:max-content;color:#20283a}.group-list button{display:flex;justify-content:space-between;width:100%;border:0;background:transparent;padding:11px 12px;border-radius:8px;color:#697487;cursor:pointer}.group-list small{color:#a1a9b6}.group-list .selected{background:#eff0ff!important;color:#5f6de2!important}.group-list .add{color:#6876e8;border:1px dashed #cbd1f8;margin-bottom:8px}.cat{min-height:530px}.group-title{gap:12px;margin-bottom:20px}.group-title>input{font-size:18px;font-weight:700;flex:1}.group-title label,.item-grid label{font-size:12px;color:#687487}.danger{border:0;background:#fff0f1;color:#d45667;border-radius:7px;padding:8px 10px;cursor:pointer}.danger.text{background:transparent}.item-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:13px}.item-grid article,.new-item{border:1px solid #e8ebf1;border-radius:12px;padding:13px;background:#fbfcfe}.item-grid article>input{width:100%;margin-top:8px}.item-grid .url{font-size:11px}.item-grid article>div:last-child{display:flex;justify-content:space-between;align-items:center;margin-top:7px}.icon{width:55px;height:55px;border-radius:12px;background:linear-gradient(135deg,#eef0ff,#fff4da);display:grid;place-items:center;color:#8d86b2;overflow:hidden}.icon img{width:100%;height:100%;object-fit:cover}.new-item{min-height:190px;border-style:dashed;color:#7c86a0;font-size:28px;display:flex;flex-direction:column;justify-content:center;align-items:center}.new-item span{font-size:12px}.coming{text-align:center;padding:100px}.coming div{font-size:50px;color:#776ce7}.design-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(310px,.8fr);gap:18px}.design-options{max-width:360px;margin-bottom:18px}.design-options label,.setting-card>label{display:flex;flex-direction:column;gap:6px;color:#697487;font-size:12px}.module-list{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px}.module-list article,.new-module{border:1px solid #e8ebf1;border-radius:12px;padding:12px;background:#fbfcfe}.module-list article>input{display:block;width:100%;margin-top:7px;font-size:12px}.module-list article>label{font-size:12px;color:#687487}.new-module{min-height:185px;border-style:dashed;color:#6d76df;cursor:pointer}.setting-column{display:flex;flex-direction:column;gap:18px}.setting-card{display:flex;flex-direction:column;gap:12px}.setting-card textarea{border:1px solid #dce2eb;border-radius:9px;padding:10px;min-height:80px;resize:vertical}.setting-card .inline-check{flex-direction:row;align-items:center}.preview-text{background:#fff8e8;border-radius:9px;padding:12px;font-size:12px;color:#6f7786}.preview-text b{color:#ef535f;font-size:18px}.commerce-stack{display:flex;flex-direction:column;gap:18px}.commerce{display:block;padding:0;overflow:hidden}.table-title{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid #edf0f5}.table-title h3{margin:0}.table-title p{font-size:12px;color:#8b95a5;margin:6px 0 0}.table-title>span{background:#f0f1ff;color:#6471e4;border-radius:20px;padding:6px 10px;font-size:12px}.commerce table{width:100%;border-collapse:collapse}.commerce th,.commerce td{text-align:left;padding:13px 20px;border-bottom:1px solid #f0f2f5;font-size:12px}.commerce th{color:#7d8797;background:#fafbfc;font-weight:500}.commerce td{color:#3f4859}.commerce code{background:#f2f4f8;border-radius:5px;padding:4px 7px;color:#5f68c8}.no-data{text-align:center!important;color:#9aa3b3!important;padding:42px!important}.card-create{display:flex;gap:8px}.card-create input{width:75px}.card-create{flex-wrap:wrap}.card-create select{max-width:310px}.card-create button:disabled,.branch-card button:disabled,.site-settings-panel button:disabled{cursor:not-allowed;opacity:.55}.commerce-load-error{color:#b94242;font-size:13px;margin:0 20px 16px;line-height:1.7}.site-settings-panel{max-width:1040px}.site-intro{margin:-6px 0 22px;color:#7c8798;font-size:13px;line-height:1.8}.site-settings-panel fieldset,.branch-card fieldset{border:0;margin:0;padding:0;min-width:0}.site-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.site-field-grid label,.site-source-note{display:flex;flex-direction:column;gap:7px;color:#697487;font-size:12px;min-width:0}.site-field-grid input{width:100%;min-width:0}.site-field-grid .site-wide{grid-column:1 / -1}.site-source-note{margin:16px 0}.site-source-note textarea{font:inherit;border:1px solid #dce2eb;border-radius:9px;padding:10px 12px;resize:vertical}.site-load-error{color:#b94242;font-size:13px;line-height:1.8}.branch-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;background:linear-gradient(120deg,#f6f5ff,#fff)}.branch-intro h3{margin-bottom:10px}.branch-intro p{margin:0 0 9px;color:#59677c;font-size:13px;line-height:1.8}.branch-intro small{font-size:12px;color:#8994a5;line-height:1.8}.branch-count{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:98px;padding-left:24px;border-left:1px solid #e6e7f3}.branch-count strong{font-size:32px;color:#6c68da}.branch-count span,.branch-toolbar>span{font-size:12px;color:#8290a3}.branch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.branch-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #edf0f6}.branch-card-heading h3{margin:0 0 8px;font-size:16px}.branch-card-heading p{margin:0;color:#8994a5;font-size:12px}.branch-card-heading .badge{flex-shrink:0}.branch-card code{color:#6972b7;word-break:break-all}.branch-switch{display:flex;align-items:center;gap:7px;margin-top:18px;font-size:13px;color:#48566c}.branch-switch input{margin:0}.branch-switch-hint{font-size:11px;color:#8e98a8;line-height:1.7;margin:7px 0 16px}.branch-entry{display:flex;flex-wrap:wrap;align-items:center;gap:9px;border:1px solid #e9edf4;background:#f8f9fc;border-radius:8px;padding:11px 12px;font-size:11px;margin-bottom:18px}.branch-entry>span{width:100%;color:#8c97a8}.branch-entry .link{margin-left:auto;white-space:nowrap}.branch-empty{text-align:center;padding:44px 24px}.branch-empty>div{font-size:36px;color:#8d84d8;margin-bottom:16px}.branch-empty h3{margin-bottom:12px}.branch-empty p{color:#8390a3;font-size:13px;margin-bottom:22px}.site-upload-note{color:#7b879a;line-height:1.7}.branch-portal-link{display:flex;flex-wrap:wrap;gap:8px 14px;padding:16px 20px;margin:0 0 20px;background:#eeedf9;border:1px solid #e3e0f2;border-radius:12px;font-size:13px}.branch-portal-link>span{color:#4d4676;font-weight:600}.branch-portal-link a{color:#6254c5;word-break:break-all}.branch-portal-link small{width:100%;color:#7b7791;line-height:1.7}.branch-account{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid #eaeef4}.branch-account>div{display:flex;flex-direction:column;gap:7px;min-width:0}.branch-account strong{color:#42516a;font-size:13px}.branch-account span{color:#667190;font-size:13px;word-break:break-all}.branch-account small{color:#8e98a8;font-size:11px;line-height:1.7}.branch-account button{white-space:nowrap}.branch-account-form .site-field-grid{margin-bottom:13px}.branch-account-form label small{font-size:10px;color:#939caf;font-weight:400;line-height:1.7}.branch-account-form .site-wide{gap:9px}.branch-rate-input{display:flex;align-items:center;gap:10px}.branch-rate-input input{width:135px;font-size:18px;font-weight:600;color:#6355ad}.branch-rate-input>span{color:#8e86ac;font-size:15px}.branch-rate-preview{background:#f4f2fc;border:1px solid #e9e4f6;border-radius:10px;padding:13px 14px;color:#756a96}.branch-rate-preview>div{display:flex;flex-wrap:wrap;gap:12px 25px;font-size:12px}.branch-rate-preview b{font-size:16px;color:#6757ac;margin-left:5px}.branch-rate-preview small{display:block;margin-top:9px;font-size:10px;color:#9389a9;line-height:1.7}.branch-rate-preview.is-invalid{background:#fff8ee;border-color:#f0e6d6;color:#a38c65;font-size:12px}.branch-rate-note{font-size:10px;color:#929bad;line-height:1.8;margin:11px 0 20px}.branch-account-form .branch-switch{margin-top:0}.branch-account-form .full{margin-top:3px}.branch-disabled-note{background:#fff4eb;color:#ad815d;font-size:11px;line-height:1.8;border-radius:8px;padding:10px 12px}.branch-metadata{border-top:1px solid #eceef4;margin-top:23px;padding-top:18px}.branch-metadata summary{cursor:pointer;color:#727a91;font-size:12px;font-weight:600;list-style-position:inside}.branch-metadata summary>span{font-size:10px;font-weight:400;margin-left:12px;color:#a2a9b8}.branch-metadata[open] summary{color:#7c6abd}.branch-metadata-note{font-size:11px;line-height:1.8;color:#a0a8b9;margin:16px 0 18px}.credential-password{display:flex;gap:9px;align-items:center}.credential-password input{min-width:0;flex:1;width:100%;font-family:monospace;background:#fff}.credential-password button{white-space:nowrap}.portal-credentials{width:min(520px,calc(100vw - 36px));border:0;border-radius:20px;padding:28px;color:#273a53;box-shadow:0 24px 80px #192a5140}.portal-credentials::backdrop{background:#17243f90}.portal-credentials h3{margin:0 0 12px}.portal-credentials p{color:#7c6c52;background:#fffaed;padding:12px;border-radius:9px;line-height:1.8;font-size:13px}.portal-credentials dl{padding:16px;background:#f6f7fb;border-radius:10px}.portal-credentials dt{color:#8790a3;font-size:12px;margin:12px 0 5px}.portal-credentials dt:first-child{margin-top:0}.portal-credentials dd{margin:0;font-family:monospace;font-size:15px;word-break:break-all;-webkit-user-select:all;user-select:all}.credential-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.credential-actions>button:not(.primary){border:1px solid #dce2eb;padding:10px 14px;border-radius:9px;color:#56657a;background:#fff}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,#e8e5ff,transparent 35%),#f6f7fb}.login form{width:390px;background:#fff;border:1px solid #eceef4;border-radius:20px;padding:38px;box-shadow:0 20px 60px #26334c18}.login-logo{width:55px;height:55px;color:#fff;font-size:22px}.login h1{margin:20px 0 8px}.login p{color:#8a94a5;margin:0 0 25px}.login label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#667185;margin:13px 0}.login input,.login>form>button{width:100%}.login>form>button{border:0;border-radius:10px;padding:12px;background:#6674ef;color:#fff}.login form>small{display:block;text-align:center;color:#a0a8b5;margin-top:16px}.error{background:#fff0f1;color:#c74c5c;padding:9px;border-radius:8px;font-size:12px}@media (max-width: 1100px){.branch-grid,.resource-layout,.dash,.design-grid{grid-template-columns:1fr}.module-list,.item-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width: 760px){.site-field-grid{grid-template-columns:1fr}.branch-intro{align-items:flex-start}.branch-count{min-width:70px;padding-left:14px}.layout{grid-template-columns:1fr}.layout>aside{display:none}main{padding:18px}.cards{grid-template-columns:1fr 1fr}.category-editor{grid-template-columns:1fr}.item-grid{grid-template-columns:repeat(2,1fr)}}.batch-publish{flex-wrap:wrap;gap:12px}.batch-publish label{display:flex;align-items:center;gap:6px}.batch-publish input[type=checkbox],input.resource-select{width:18px;height:18px;flex:0 0 18px;accent-color:#7864e9}.batch-publish button:disabled{opacity:.5;cursor:not-allowed}
