/* 后台统一采用中性底色、深红操作色和一致的表单间距。 */
.brand-symbol>img{width:100%;height:100%;object-fit:contain}
@media(max-width:760px){body[data-screen=admin] .admin-welcome{background-image:linear-gradient(110deg,#fff0e4,#fffaf5)}}
body[data-screen=admin]{--admin-line:#e8e6e3;background:#f5f5f6}
body[data-screen=admin] .header{height:80px;max-width:1600px}
body[data-screen=admin] .brand{font-size:24px;gap:12px}
body[data-screen=admin] .brand small{font-size:10px;letter-spacing:3px}
body[data-screen=admin] .header-tools{gap:16px}
body[data-screen=admin] .demo-label{display:inline-block;background:#fff3df;border:1px solid #efdfc1;color:#87642e;padding:2px 10px;border-radius:20px}
body[data-screen=admin] #app>.wrap{max-width:1600px;padding-top:24px;padding-bottom:28px;min-height:calc(100vh - 146px)}
body[data-screen=admin] .admin-layout{grid-template-columns:216px minmax(0,1fr);gap:24px;align-items:start}
body[data-screen=admin] .sidebar{padding:14px 12px;border:1px solid var(--admin-line);border-radius:10px;position:sticky;top:20px}
body[data-screen=admin] .sidebar-heading{font-size:13px;color:#4b4240;font-weight:600;margin:4px 10px 14px}
.sidebar-group{color:#a09a94;font-size:11px;letter-spacing:2px;margin:16px 12px 8px}
body[data-screen=admin] .sidebar a{font-size:13px;padding:9px 12px;line-height:22px;gap:12px;border-radius:6px;margin:2px 0}
body[data-screen=admin] .sidebar a.active{background:#f9e9e6;color:#aa2028;font-weight:600;box-shadow:inset 3px 0 #b4232d}
body[data-screen=admin] .sidebar a:hover{background:#fbf2ef}
body[data-screen=admin] .sidebar a .ui-icon{width:18px;height:18px}
body[data-screen=admin] .sidebar-preview{border-top:1px solid #eee7e1;margin-top:18px!important;padding-top:16px!important;border-radius:0!important;color:#a21f29}
.admin-workspace{min-width:0}
body[data-screen=admin] .page-top{margin:0 0 4px;align-items:center}
body[data-screen=admin] .page-top h1{font-size:26px;line-height:38px;font-weight:600;color:#302b29}
body[data-screen=admin] .crumb{font-size:11px;margin-bottom:2px;color:#96908a}
.admin-page-description{font-size:13px;line-height:22px;color:#8a817a;margin:0 0 18px}
.admin-demo-note{margin:0 0 16px;padding:8px 14px;background:#fffbf1;border:1px solid #eee3cb;border-radius:6px;font-size:12px;color:#9b7d50}
body[data-screen=admin] .panel{border:1px solid var(--admin-line);border-radius:9px;box-shadow:0 2px 4px #27141103;padding:22px}
.admin-welcome{background:linear-gradient(90deg,#fff1e8 0%,#fff7efed 60%,#fff4eb20 100%),url('/assets/images/branch-room-v1.webp') right 46%/220px auto no-repeat;border:1px solid #eddfd4;padding:22px 26px;margin-bottom:20px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:136px}
.welcome-tag{font-size:11px;letter-spacing:3px;color:#b27f60}.admin-welcome h2{font-size:23px;line-height:34px;margin:4px 0 8px;color:#74252b;font-weight:600}.admin-welcome p{font-size:13px;color:#9b7563;margin:0}.admin-welcome .btn{white-space:nowrap}
body[data-screen=admin] .admin-stats{gap:16px;margin-bottom:20px}
body[data-screen=admin] .metric-card{position:relative;min-height:140px;padding:20px}
.metric-card:hover{border-color:#d3b2a5}.metric-icon{position:absolute;right:18px;top:20px;display:grid;place-items:center;width:36px;height:36px;background:#f9efeb;border-radius:9px;color:#b05750}.metric-icon .ui-icon{width:20px;height:20px}
body[data-screen=admin] .metric-card strong{font-size:30px;font-weight:600;line-height:40px;margin:7px 0 2px;color:#413331}
.metric-card small{color:#aa9b90;font-size:11px}
.admin-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px}
.admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
body[data-screen=admin] .admin-section-head h2{font-size:16px;font-weight:600;margin:0;line-height:24px}
.admin-section-head>span,.admin-section-head>a{font-size:11px;color:#a08d7e}.admin-section-head .ui-icon{width:12px;height:12px}
.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.quick-grid>a{display:flex;align-items:center;gap:10px;padding:13px 12px;background:#fdfaf6;border:1px solid #f0e9e0;border-radius:6px;font-size:13px;min-width:0}
.quick-grid>a:hover{border-color:#d9b5a5}.quick-grid>a>span{color:#b04646}.quick-grid b{font-weight:400}.quick-grid>a>.ui-icon{margin-left:auto;width:13px;color:#b9a798}
.pending-list>a{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid #f2eeea}.pending-list>a:last-child{border:0}.pending-list b{display:block;font-size:13px;font-weight:500;line-height:20px}.pending-list small{display:block;font-size:11px;color:#a79a8f;line-height:18px}.pending-list .badge{margin-left:auto}
.person-initial{display:inline-grid;place-items:center;width:34px;height:38px;border-radius:6px;background:#f1eae3;color:#ac8d75;flex:0 0 34px;font-size:14px}
.dashboard-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.dashboard-cover{width:100%;height:104px}.dashboard-activity-grid h3{font-size:13px;font-weight:500;line-height:22px;margin:8px 0 2px}.dashboard-activity-grid p{font-size:10px;color:#ac9a8a;margin:0;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.activity-capacity{display:flex;justify-content:space-between;font-size:10px;color:#9b8370;margin:6px 0 4px}
.dashboard-activity-grid progress{appearance:none;border:0;background:#f0e8e1;width:100%;height:4px;display:block;border-radius:4px;overflow:hidden}.dashboard-activity-grid progress::-webkit-progress-bar{background:#f0e8e1}.dashboard-activity-grid progress::-webkit-progress-value{background:#c58168;border-radius:4px}
.recent-content>a{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f2eeea;font-size:12px;min-width:0}.recent-content b{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-content small{margin-left:auto;white-space:nowrap;color:#aaa091;font-size:10px}.content-kind{color:#a67054;background:#fbf2e8;padding:2px 7px;border-radius:4px;font-size:10px;white-space:nowrap}
.admin-status-note{display:flex;align-items:center;gap:10px;color:#a18e7b;font-size:11px;line-height:20px;background:#faf8f4;padding:12px;border-radius:5px;margin-top:16px}
body[data-screen=admin] .admin-list-panel{padding:0;overflow:hidden}
.admin-filter{display:flex;gap:10px;align-items:center;padding:18px 20px;border-bottom:1px solid #eee9e3;margin:0;flex-wrap:wrap}
.admin-filter input[type=search]{width:260px;font-size:12px;height:38px;background:#fcfcfb}
.admin-filter select{width:150px;font-size:12px;height:38px;padding:7px 12px}
.admin-filter .btn,.admin-filter .ghost{padding:7px 16px;height:38px;font-size:12px}
.admin-filter>span{font-size:11px;color:#a3978b;margin-left:auto}
body[data-screen=admin] .table-wrap{margin:0}
body[data-screen=admin] .table-wrap table{min-width:760px}
body[data-screen=admin] .table-wrap th{padding:13px 18px;background:#faf8f5;font-size:12px;color:#9c8a7a;line-height:20px;border-bottom:1px solid #eee9e4}
body[data-screen=admin] .table-wrap td{padding:13px 18px;font-size:13px;color:#61544b;border-bottom:1px solid #f0ece7;line-height:22px}
body[data-screen=admin] .table-wrap tbody tr:hover td{background:#fffaf6}
body[data-screen=admin] .table-wrap td>.ghost{background:#fff;border-color:#eaddd3;color:#a25345;font-size:11px;padding:4px 12px;border-radius:5px}
body[data-screen=admin] .table-media{width:90px;height:56px}
.admin-person{display:flex;align-items:center;gap:10px;white-space:nowrap}.admin-person>img{width:34px;height:38px;border-radius:5px;object-fit:cover;object-position:50% 30%}
body[data-screen=admin] .badge{font-size:10px;padding:2px 9px;border-radius:20px;line-height:18px}
.badge.unpaid{background:#fff4e5;color:#a37e3c}.badge.closed,.badge.cancelled{background:#f1efec;color:#9c9186}
body[data-screen=admin] .pagination{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:16px 20px;margin:0;font-size:12px;color:#a08f80;background:#fdfcfb;border-top:1px solid #eee8e1}
.config-intro{background:#fff5ee;border:1px solid #ecdfd1;padding:24px;border-radius:8px;margin-bottom:20px}.config-intro h2{font-size:20px;font-weight:600;color:#80383a;margin:0 0 8px}.config-intro p{font-size:13px;color:#9c816e;margin:0 0 16px}
.display-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.display-config-card{position:relative}.config-icon{display:grid;place-items:center;width:38px;height:38px;background:#f9eee7;color:#b16552;border-radius:8px;margin-bottom:12px}
body[data-screen=admin] .display-config-card h2{font-size:17px;font-weight:600;margin:0 0 8px}.display-config-card p{font-size:12px;color:#a08d7e;min-height:42px;line-height:21px;margin:0 0 18px}
.site-section{margin-bottom:20px}.site-section .site-banner-preview{max-height:280px}.site-section .site-cover-preview{height:180px}.site-section .site-cover-preview.is-portrait{height:220px}
.logo-preview>img{height:64px;width:64px;object-fit:contain;margin-top:14px}.logo-preview .pending-media{width:100px;height:100px}
.site-save-bar{position:sticky;bottom:0;z-index:2;background:#ffffffed;border:1px solid #e6ded5;border-radius:8px;display:flex;align-items:center;gap:12px;padding:16px 20px;box-shadow:0 -4px 16px #46332308;backdrop-filter:blur(6px)}
.site-save-bar>span{font-size:12px;color:#a28a76;margin-right:auto}
body[data-screen=admin] dialog{width:880px;max-width:calc(100vw - 32px);padding:0;border:1px solid #e7ddd3;border-radius:10px}
body[data-screen=admin] dialog::backdrop{background:#25140d65;backdrop-filter:blur(2px)}
body[data-screen=admin] .dialog-head{padding:20px 26px;border-bottom:1px solid #eee5dd;margin:0;background:#fffaf6}
body[data-screen=admin] .dialog-head h2{font-size:18px;font-weight:600;color:#6e3a32;margin:0}
body[data-screen=admin] #editor-form{padding:0 26px 24px}
body[data-screen=admin] .editor-media-preview{display:flex;align-items:center;gap:20px;padding:18px 0;margin:0;border-bottom:1px solid #eee5dd}
body[data-screen=admin] .editor-media-preview>.media-figure{width:180px;height:110px;flex:0 0 180px}
body[data-screen=admin] .editor-media-preview p{line-height:22px;margin:0;max-width:340px}
body[data-screen=admin] #editor-form .toolbar{position:sticky;bottom:-24px;padding:16px 0 0;background:#fff;margin-top:20px;border-top:1px solid #eee5dd;z-index:1}
body[data-screen=admin] label{font-size:12px;color:#8a7565;margin-top:16px;margin-bottom:6px}
body[data-screen=admin] input:not([type=checkbox]),body[data-screen=admin] select,body[data-screen=admin] textarea{font-size:13px;border-color:#e4dcd4;color:#5d4f44}
body[data-screen=admin] footer{padding:14px 0;background:#fff;border-top:1px solid #e9e5e0}
@media(max-width:1180px){body[data-screen=admin] .admin-layout{grid-template-columns:188px minmax(0,1fr);gap:18px}.admin-dashboard-grid{grid-template-columns:minmax(0,1fr)}.admin-welcome h2{font-size:20px}.admin-welcome{padding:20px}.dashboard-cover{height:150px}body[data-screen=admin] .metric-card{padding:16px}.metric-icon{right:12px;top:16px;width:30px;height:30px}body[data-screen=admin] .metric-card strong{font-size:26px}.admin-stats .muted{font-size:12px}}
@media(max-width:900px){body[data-screen=admin] .admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.display-config-grid{grid-template-columns:minmax(0,1fr)}.admin-filter>span{width:100%;margin-left:0}.admin-filter input[type=search]{flex:1;width:auto;min-width:150px}}
@media(max-width:760px){body[data-screen=admin] .header{height:80px;min-height:80px}body[data-screen=admin] .brand{font-size:19px;max-width:70%}body[data-screen=admin] .brand small{font-size:9px;letter-spacing:1px}body[data-screen=admin] .demo-label{display:none}body[data-screen=admin] .admin-layout{grid-template-columns:minmax(0,1fr);gap:18px}body[data-screen=admin] .sidebar{position:static;display:flex;overflow-x:auto;padding:8px;gap:4px;border-radius:8px}.sidebar-group,body[data-screen=admin] .sidebar-heading,body[data-screen=admin] .sidebar-preview{display:none!important}body[data-screen=admin] .sidebar a{padding:8px 12px;margin:0;font-size:12px;gap:8px}body[data-screen=admin] .sidebar a.active{box-shadow:none}body[data-screen=admin] .page-top h1{font-size:23px}.admin-page-description{font-size:12px;line-height:20px}.admin-welcome{align-items:flex-start;flex-direction:column;gap:14px;background-size:180px auto}.admin-welcome h2{font-size:19px;line-height:28px}.admin-welcome p{font-size:11px;max-width:90%}.welcome-tag{font-size:10px}.admin-dashboard-grid{gap:16px}body[data-screen=admin] .panel{padding:16px}body[data-screen=admin] .metric-card{min-height:128px}body[data-screen=admin] .metric-card strong{font-size:25px;line-height:36px}.metric-card small{font-size:10px}.metric-icon{width:26px;height:26px;right:12px;top:12px}.metric-icon .ui-icon{width:16px;height:16px}.metric-card .muted{font-size:11px}.dashboard-cover{height:80px}.dashboard-activity-grid{gap:10px}.dashboard-activity-grid h3{font-size:11px}.dashboard-activity-grid p{font-size:9px}.activity-capacity{font-size:9px}.quick-grid>a{font-size:12px;padding:12px 10px}.quick-grid .ui-icon{width:18px;height:18px}.site-save-bar{flex-wrap:wrap;padding:12px;gap:8px}.site-save-bar>span{width:100%;font-size:11px}.site-save-bar .btn,.site-save-bar .ghost{font-size:12px}.site-section{margin-bottom:16px}.admin-filter{padding:14px;gap:8px}.admin-filter select{width:120px}.admin-filter input[type=search]{width:100%;flex-basis:100%}body[data-screen=admin] .admin-list-panel{padding:0}body[data-screen=admin] .table-wrap th,body[data-screen=admin] .table-wrap td{padding:11px 14px}body[data-screen=admin] .pagination{padding:14px;gap:8px;font-size:11px;justify-content:center}body[data-screen=admin] .pagination .ghost{padding:5px 10px;font-size:11px}body[data-screen=admin] .dialog-head{padding:16px}body[data-screen=admin] #editor-form{padding:0 16px 20px}body[data-screen=admin] .editor-media-preview{gap:14px;padding:14px 0;align-items:flex-start}body[data-screen=admin] .editor-media-preview>.media-figure{width:120px;height:80px;flex-basis:120px}body[data-screen=admin] .editor-media-preview p{font-size:11px;line-height:18px}body[data-screen=admin] #editor-form .toolbar{bottom:-20px}.config-intro{padding:18px}.config-intro h2{font-size:18px}.config-intro p{font-size:12px}.recent-content>a{gap:8px}.content-kind{font-size:9px;padding:2px 5px}}
