:root{--blue:#246bdd;--blue-dark:#1553b8;--soft:#edf4ff;--ink:#182a43;--muted:#738199;--line:#e9eef5;--bg:#f3f6fb;--price:#d55339;--green:#24826c}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font:14px/1.65 "PingFang SC","Microsoft YaHei UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a{transition:background .15s,color .15s}a{color:var(--blue);text-decoration:none}button{border:0;color:inherit;background:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a9c9ff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:.5px}h2{font-size:18px}h3{font-size:15px}small{font-size:12px}.muted{color:var(--muted)}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:700;color:var(--ink);white-space:nowrap}.brand img{width:42px;height:42px}.brand small{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:400}.skip-link{position:fixed;top:-90px;left:10px;z-index:100;background:white;padding:12px}.skip-link:focus{top:8px}.initial{padding:15vh 24px;text-align:center;color:var(--muted)}.icon{width:21px;height:21px;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.layout{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:34px 20px;position:fixed;width:224px;top:0;bottom:0;display:flex;flex-direction:column}.sidebar .brand{margin:0 4px 46px}.nav-label{font-size:11px;letter-spacing:1px;color:#9aa7ba;margin:0 16px 12px}.sidebar nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:14px;padding:13px 16px;text-align:left;border-radius:9px;color:#6e7e95}.nav-item:hover{background:#f5f8fc}.nav-item.active{background:var(--soft);color:var(--blue);font-weight:600}.content{grid-column:2;min-width:0}.topbar{height:82px;border-bottom:1px solid var(--line);background:#ffffffd9;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:16px}.breadcrumb{font-size:12px;color:var(--muted)}.user-menu{display:flex;align-items:center;gap:12px}.avatar{height:34px;width:34px;display:grid;place-items:center;border-radius:10px;background:var(--soft);color:var(--blue);font-weight:600}.text-btn{color:var(--blue);padding:5px 8px;border-radius:5px;font-size:12px}.text-btn:hover{background:var(--soft)}.text-btn.danger{color:#be4b44}.user-menu .text-btn{color:var(--muted)}main{padding:34px 40px 56px;max-width:1600px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px}.page-title p{color:var(--muted);font-size:13px;margin-top:5px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 18px;border:1px solid var(--line);border-radius:8px;background:white;font-weight:500;white-space:nowrap}.btn:hover{background:#f6f8fb}.btn.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.btn.primary:hover{background:var(--blue-dark)}.btn.danger{background:#fff4f1;color:#bd4941;border-color:#f4d8d1}.btn.small{min-height:32px;padding:5px 11px;font-size:12px}.btn.full{width:100%}
.panel{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.panel-pad{padding:25px}.panel-header{padding:21px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-header p{font-size:12px;color:var(--muted);margin-top:3px}.welcome{padding:32px 36px;margin-bottom:24px;background:linear-gradient(110deg,#e8f0ff,#f8fbff);border:1px solid #dfE8f6;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:30px}.welcome .kicker{font-size:10px;color:var(--blue);letter-spacing:2px;font-weight:700;margin-bottom:10px}.welcome h2{font-size:25px;font-weight:600}.welcome p{margin-top:10px;color:#6b809c;font-size:13px}.welcome-mark{width:95px;height:95px;border:1px solid #ceddf5;border-radius:24px;display:grid;place-items:center;background:#ffffff66;color:#6690cd;transform:rotate(-5deg)}.welcome-mark .icon{width:55px;height:55px;stroke-width:1}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.stat{padding:23px 24px;background:#fff;border:1px solid var(--line);border-radius:12px;text-align:left}.stat-label{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.stat-label .icon{color:#91aad0}.stat strong{font-family:Arial,sans-serif;display:block;font-size:34px;line-height:1.3;margin-top:14px;font-weight:600;letter-spacing:-.7px}.stat small{display:block;color:#97a4b5;margin-top:10px;font-size:11px}.two-col{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.steps{display:grid;gap:24px;margin-top:22px}.step{display:flex;gap:14px}.step-number{background:var(--soft);color:var(--blue);width:28px;height:28px;display:grid;place-items:center;border-radius:8px;flex-shrink:0;font-size:12px}.step p{color:var(--muted);font-size:12px;margin-top:3px}.rules{display:grid;gap:0;margin-top:12px}.rule{padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.rule:last-child{border:0}.rule p{color:var(--muted);font-size:12px;margin-top:4px}
.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.toolbar input{flex:1;min-width:180px}.toolbar select{min-width:116px}.toolbar input,.toolbar select{width:auto}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;font-weight:500;color:#8a99ac;background:#fafbfd;padding:14px 20px;border-bottom:1px solid var(--line)}td{padding:19px 20px;border-bottom:1px solid #f0f3f8;font-size:13px}tbody tr:last-child td{border:0}tbody tr:hover{background:#fcfdff}.listing-cell{display:flex;gap:14px;min-width:270px;max-width:390px;align-items:center}.listing-cell img,.image-placeholder{width:90px;height:68px;object-fit:cover;flex-shrink:0;border-radius:7px;background:#eef2f8}.image-placeholder{display:grid;place-items:center;color:#a0b0c6;font-size:11px}.listing-cell strong{display:block;font-weight:500;white-space:normal;max-width:290px}.listing-cell small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.price{color:var(--price);font-weight:600}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:5px;background:#f2f4f7;color:#8190a3;font-size:11px}.badge.published{background:#edf8f3;color:var(--green)}.badge.draft{background:#fff6e5;color:#b78a2a}.badge.off{background:#f1f3f6;color:#7d8a9c}.pagination{display:flex;justify-content:space-between;align-items:center;padding:17px 22px;border-top:1px solid var(--line);gap:12px;font-size:12px;color:var(--muted)}.pagination>div{display:flex;align-items:center;gap:12px}.empty{text-align:center;padding:60px 24px;color:var(--muted)}.empty .icon{width:36px;height:36px;color:#b6c6dd;margin-bottom:12px}.empty h3{color:#62758f;font-weight:500;margin-bottom:5px}.empty p{font-size:12px}.empty .btn{margin-top:18px}.notice{background:var(--soft);border:1px solid #dfeafa;border-radius:9px;padding:13px 16px;color:#5e7ca7;font-size:12px;line-height:1.8}.error{color:#b4473b;background:#fff2ed;border:1px solid #f3d8d0;border-radius:8px;padding:12px 15px;font-size:12px;margin:12px 0;white-space:pre-line}.error:empty{display:none}.loading{padding:60px;text-align:center;color:var(--muted)}.role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.role-card{padding:25px;display:flex;flex-direction:column;align-items:flex-start;min-height:245px}.role-card .role-icon{background:var(--soft);color:var(--blue);width:39px;height:39px;display:grid;place-items:center;border-radius:10px;margin-bottom:16px}.role-card p{font-size:12px;color:var(--muted);margin-top:8px;flex:1;overflow-wrap:anywhere}.role-card footer{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:20px;font-size:11px;color:#8b99ae}
label.field{display:block;font-size:12px;color:#61728a}.field>span{display:block;margin-bottom:7px}.field .required{color:#cc6a57;margin-left:4px}.field small{display:block;font-size:11px;color:#9aa6b7;margin-top:6px}.field input,.field select,.field textarea,input,select,textarea{padding:10px 12px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:var(--ink);width:100%;min-height:42px}input:disabled,select:disabled,textarea:disabled{background:#f5f7fa;color:#97a5b8}textarea{resize:vertical;min-height:88px}input::placeholder,textarea::placeholder{color:#a2adbd}input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:var(--blue)}input[type=file]{font-size:12px;padding:8px;background:#fafcfe}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid .full-row{grid-column:1/-1}.form-section{margin:24px 0 14px;border-top:1px solid var(--line);padding-top:20px;font-size:14px;font-weight:600}.form-section:first-child{margin-top:0;border-top:0;padding-top:0}.permission-group{padding:15px 0;border-bottom:1px solid var(--line)}.permission-group h3{font-size:12px;margin-bottom:12px;color:#8c9bb0}.checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkbox-grid label{display:flex;align-items:center;gap:9px;font-size:13px}.checkbox-grid input{margin:0}.photo-list{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.photo-list figure{margin:0;position:relative}.photo-list img{width:96px;height:72px;object-fit:cover;border-radius:7px;background:#f0f3f8}.photo-list button{position:absolute;right:3px;top:3px;background:#182a43c9;color:white;border-radius:20px;width:22px;height:22px;line-height:1}.detail-cover{width:100%;max-height:300px;object-fit:cover;border-radius:10px;margin-bottom:20px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.detail-grid small{color:var(--muted);font-size:11px}.detail-grid strong{display:block;font-size:18px;margin-top:3px}.detail-description{white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere}.tags{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.tags span{background:#f1f5fa;color:#7b8ca4;padding:3px 9px;font-size:11px;border-radius:4px}.info-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:13px}.info-list span{color:var(--muted);margin-right:15px}
dialog{width:min(690px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:15px;box-shadow:0 20px 90px #142d4933;color:var(--ink);background:#fff}dialog::backdrop{background:#11233e70;backdrop-filter:blur(3px)}.dialog-head{position:sticky;top:0;z-index:1;background:#fff;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:19px}.dialog-head button{width:32px;height:32px;border-radius:50%;background:#f3f6fa;color:#8596ad;font-size:22px}.dialog-body{padding:24px 26px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}#toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#182a43;color:white;padding:11px 22px;border-radius:9px;box-shadow:0 5px 20px #182a4322;opacity:0;pointer-events:none;z-index:50;font-size:13px;max-width:90%;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}
.login-page{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh;background:#fff}.login-story{background:#eef4fe;padding:50px 12%;display:flex;flex-direction:column;justify-content:space-between}.login-story .brand{margin-bottom:60px}.login-story h1{font-size:40px;line-height:1.55;letter-spacing:2px;font-weight:600}.login-story p{color:#7c91af;font-size:14px;margin:22px 0 40px;line-height:2}.login-art{width:85%;max-width:360px;aspect-ratio:1.4;position:relative;display:flex;gap:15px;align-items:flex-end;margin:0 0 50px}.building{width:31%;background:#d4e3fa;border:1px solid #bbd0ef;border-radius:10px 10px 0 0;height:72%;padding:17px;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:start}.building:nth-child(2){height:100%;background:#c4d9f8}.building:nth-child(3){height:55%;background:#dee9fa}.building i{height:18px;background:#fff9;border-radius:2px}.login-story footer{font-size:11px;color:#98aac3;letter-spacing:1px}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:45px}.login-form{width:100%;max-width:350px}.login-form h2{font-size:27px;font-weight:600}.login-form>p{color:var(--muted);font-size:13px;margin:10px 0 32px}.login-form .field{margin:20px 0}.login-form .btn{margin-top:12px;min-height:45px}.login-note{font-size:11px!important;color:#9aa6b6!important;line-height:1.9;margin-top:24px!important}
.billing-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px;align-items:start}.section-caption{font-size:12px;color:var(--muted);margin:7px 0 24px}.billing-notice{margin:18px 0}.channel-field>.badge{display:inline-flex;margin:4px 0 6px}.cell-note{display:block;color:var(--muted);font-size:11px;margin-top:5px}.order-number{font-size:12px;font-weight:500;overflow-wrap:anywhere}.receipt-reference{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis}.billing-table td{vertical-align:top}.billing-table .order-number{white-space:nowrap}.badge.fee-required{background:var(--soft);color:#5a7cab}.role-fee-badge{margin-top:9px}.order-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:12px}.order-summary small{display:block;color:var(--muted);margin-bottom:6px}.order-summary>.price{font-size:24px;white-space:nowrap}.billing-detail-status{margin-bottom:18px}.billing-info{font-size:12px;gap:14px}.billing-info>div{overflow-wrap:anywhere}.billing-note{margin-top:16px;color:var(--muted);font-size:12px}.order-refresh{display:block;margin:14px 0 0 auto}.billing-price-block{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.billing-price-block small{display:block;color:var(--muted)}.billing-price-block strong{display:block;font-size:28px;color:var(--price);font-weight:600;margin-top:5px}.own-order-list{border:1px solid var(--line);border-radius:10px;overflow:hidden}.own-order{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-bottom:1px solid var(--line)}.own-order:last-child{border-bottom:0}.own-order>div{min-width:0}.own-order small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.own-order .btn{flex-shrink:0}.own-order-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:11px;color:var(--muted);margin-top:10px}.own-order-pagination>span:first-child{margin-right:auto}.billing-help{font-size:12px;color:var(--muted);line-height:1.9}.billing-channels{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.billing-channels>div{padding:15px;border:1px solid var(--line);border-radius:9px}.billing-channels>div>span:first-child{font-size:13px;margin-right:8px}.billing-channels p{font-size:11px;color:var(--muted);line-height:1.85;margin-top:9px}.listing-fee-note{padding:0 0 14px;color:var(--green);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.profile-fee{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px;font-size:12px}.profile-fee>small{color:var(--muted)}
@media(min-width:1500px){main{padding:42px 60px}.topbar{padding:0 60px}}
.recovered-order{margin-top:14px}.recovered-order p{margin-top:6px}.recovered-order .btn{margin-top:12px}
.badge.refund_requested{background:#fff5df;color:#a7791c}.badge.refunding{background:#edf4ff;color:#376fbe}.badge.refund_abnormal{background:#fff0ed;color:#b84f43}.badge.refund_closed{background:#f1f3f6;color:#7d8a9c}.badge.refunded{background:#edf8f3;color:var(--green)}.refund-details{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.refund-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.refund-heading h3{font-size:15px}.refund-amount{font-size:25px;font-weight:600;color:var(--price);margin:10px 0 14px}.refund-info{margin:20px 0;gap:16px}.refund-info .order-number{display:block;margin-top:5px}.refund-details h4{font-size:12px;color:var(--muted);font-weight:500;margin:17px 0 7px}.refund-warning{background:#fff8e9;border-color:#f0e1bc;color:#987332}.refund-last-error p{margin-top:7px;overflow-wrap:anywhere}.refund-actions{flex-wrap:wrap}.publishing-notice{margin:18px 0}.publishing-notice strong{display:block;margin-bottom:5px}.refund-cell-note{max-width:160px;white-space:normal;color:#987332}.billing-channels.wechat-only{grid-template-columns:1fr}
@media(max-width:700px){.refund-actions{gap:8px}.refund-actions .btn{font-size:12px;padding:8px 11px}.refund-heading{align-items:flex-start}.refund-amount{font-size:23px}}
.badge.pending{background:#edf4ff;color:#376fbe}.badge.rejected{background:#fff0ed;color:#b84f43}.review-cell-reason{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.listing-detail-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.detail-gallery{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-gallery figure{margin:0;min-width:0}.detail-gallery a{display:block;border-radius:9px;overflow:hidden;background:#f3f6fa}.detail-gallery img{display:block;width:100%;height:180px;object-fit:contain}.detail-gallery figcaption{margin-top:7px;font-size:11px;color:var(--muted)}.review-record{margin-top:22px;padding:15px 17px;border:1px solid #dfeafa;background:#f5f8fd;border-radius:9px}.review-record.rejected{background:#fff6f3;border-color:#f1dcd5}.review-record h3{font-size:13px;color:#5d779d}.review-record.rejected h3{color:#ad5348}.review-record p{margin-top:7px}.review-record small{display:block;color:var(--muted);margin-top:9px}.review-form>.field{margin-top:18px}.review-save-note{margin-bottom:16px}.review-actions{flex-wrap:wrap}.review-actions>.btn:first-child{margin-right:auto}
@media(max-width:700px){.detail-gallery{grid-template-columns:1fr}.detail-gallery img{height:220px}.review-actions{gap:8px}.review-actions>.btn{font-size:12px;padding:8px 12px}.review-actions>.btn:first-child{margin-right:0}}
@media(max-width:1100px){.billing-layout{grid-template-columns:1fr}}
@media(max-width:700px){.billing-channels{grid-template-columns:1fr}.billing-price-block strong{font-size:24px}.order-summary{gap:12px}.order-summary>.price{font-size:20px}.own-order{padding:13px 12px;gap:10px}.own-order .btn{padding:6px 9px;font-size:11px}.billing-info{grid-template-columns:1fr}.profile-fee{gap:8px}.profile-fee>small{flex-basis:100%}}
@media(max-width:1100px){.layout{grid-template-columns:190px 1fr}.sidebar{width:190px;padding:28px 14px}.sidebar .brand{font-size:18px;gap:8px}.sidebar .brand img{width:34px;height:34px}main{padding:28px 24px}.topbar{padding:0 24px}.stat-grid{grid-template-columns:repeat(2,1fr)}.role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.welcome{padding:26px}.user-menu .role-name{display:none}}
@media(max-width:700px){.layout{display:block}.sidebar{position:static;width:auto;padding:17px 18px 10px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0 0 16px}.sidebar .brand img{width:31px;height:31px}.sidebar .brand small{display:none}.sidebar nav{display:flex;gap:5px;overflow-x:auto}.nav-item{white-space:nowrap;gap:6px;font-size:12px;padding:8px 10px}.nav-item .icon{width:17px;height:17px}.nav-label{display:none}.topbar{height:58px;padding:0 18px;font-size:12px}.topbar .breadcrumb{display:none}.user-menu{width:100%;gap:9px}.user-menu .text-btn:first-of-type{margin-left:auto}.avatar{width:29px;height:29px}main{padding:23px 16px 40px}h1{font-size:23px}.page-title{gap:10px;align-items:flex-start}.page-title p{font-size:11px}.page-title .btn{font-size:12px;padding:7px 11px}.welcome{padding:24px 20px;gap:10px}.welcome h2{font-size:22px}.welcome p{font-size:11px}.welcome-mark{width:63px;height:63px;border-radius:17px;flex-shrink:0}.welcome-mark .icon{width:37px;height:37px}.stat-grid{gap:10px}.stat{padding:18px}.stat strong{font-size:29px}.role-grid{grid-template-columns:1fr}.toolbar{gap:8px}.toolbar input{flex-basis:100%}.toolbar select{min-width:95px;flex:1;font-size:12px}.toolbar .btn{font-size:12px}.panel-pad{padding:22px}.dialog-head{padding:17px 19px}.dialog-body{padding:20px}.form-grid{gap:15px;grid-template-columns:1fr}.checkbox-grid{grid-template-columns:1fr}.info-list{grid-template-columns:1fr}.pagination{padding:14px}.login-page{display:block;background:#f5f8fd}.login-story{padding:26px 28px;background:transparent}.login-story .brand{margin:0}.login-story>div:nth-child(2),.login-story footer{display:none}.login-form-wrap{padding:30px 28px 60px}.login-form{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;max-width:430px}.login-form h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
