/* Unified modern customer workspace. */
body.sw-body{--sw-blue:#2563eb;--au-primary:#2563eb;--cu-primary:#2563eb;--au-radius:12px;--au-radius-sm:8px;background:#f5f7fb;color:#25354b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
body.sw-body .sw-sidebar{width:232px;background:#192330;border:0}
body.sw-body .sw-frame{margin-left:232px}
body.sw-body .sw-brand{height:80px;padding:18px 20px;gap:12px;background:transparent;color:#f1f5fb;font-size:13px}
body.sw-body .sw-brand>span:last-child{white-space:normal;max-width:154px;font-weight:600;line-height:1.5}
body.sw-body .sw-brand small{display:block;font:8px/2 Arial;letter-spacing:1.8px;color:#74889e}
body.sw-body .sw-logo{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#2e70ec;flex-shrink:0}
body.sw-body .sw-logo svg{width:23px;height:23px}
body.sw-body .sw-sidebar nav{padding:8px 13px;scrollbar-width:thin;scrollbar-color:#3d4d60 transparent}
body.sw-body .sw-nav-home{border-color:#2b394a;padding-bottom:14px;margin-bottom:14px}
body.sw-body .sw-nav-group{margin:4px 0}
body.sw-body .sw-nav-group>summary{min-height:45px;border-radius:8px;padding:12px;gap:12px;font-size:12px;color:#a8b8ca}
body.sw-body .sw-nav-group>summary>svg{width:18px;height:18px;color:#8599af;stroke-width:1.7}
body.sw-body .sw-nav-group[open]>summary{background:#233246;color:#ecf3fd}
body.sw-body .sw-nav-group[open]>summary>svg{color:#7dabff}
body.sw-body .sw-nav-children{margin:6px 0 8px 21px;padding:0 0 0 10px;border-left:1px solid #36465a}
body.sw-body .sw-nav-link{min-height:39px;padding:10px;gap:10px;border-radius:7px;color:#aabbd0;font-size:12px}
body.sw-body .sw-nav-link svg{width:16px;height:16px;color:#8498ae;stroke-width:1.7}
body.sw-body .sw-nav-link:hover,body.sw-body .sw-nav-group>summary:hover{background:#25354a;color:#fff}
body.sw-body .sw-nav-link.is-active{background:#2d6be5;color:white;box-shadow:0 4px 12px #0001}
body.sw-body .sw-nav-link.is-active svg{color:#fff}
body.sw-body .sw-nav-home .sw-nav-link{padding:12px;gap:12px;font-size:12px;margin:3px 0}
body.sw-body .sw-nav-home .sw-nav-link svg{width:18px;height:18px}
body.sw-body .sw-sidebar-bottom{display:block;padding:20px 24px;border-color:#2b394a}
body.sw-body .sw-sidebar-bottom strong{color:#d8e4f4;font-size:12px}
body.sw-body .sw-sidebar-bottom small,body.sw-body .sw-site-link{color:#8498af}
body.sw-body .sw-topbar{height:70px;padding:0 26px;gap:12px;background:#fff;color:#566780;border-bottom:1px solid #e9edf3;box-shadow:none}
body.sw-body .sw-menu{width:32px;height:32px;border:1px solid #e6ebf3;border-radius:7px;color:#71849d;font-size:20px}
body.sw-body .ref-top-link{height:36px;padding:0 12px;border:0;color:#64768f;font-size:12px;gap:7px;border-radius:7px}
body.sw-body .ref-top-link:hover{background:#f0f5ff;color:#2563eb}
body.sw-body .sw-top-actions{gap:14px}
body.sw-body .sw-top-actions>a{border:0;padding:0 5px;color:#75869d!important;font-size:11px;gap:6px}
body.sw-body .sw-account summary{height:70px;padding:0 0 0 12px;font-size:12px}
body.sw-body .sw-avatar{background:#eaf1ff;color:#3666b8;width:32px;height:32px;font-weight:600}
body.sw-body .sw-content{padding:0 32px 35px;max-width:1700px}
.ref-welcome{height:116px;gap:13px;color:#8898ae}
.ref-welcome strong{font-size:23px;font-weight:600;color:#23354f}
.ref-avatar{width:48px;height:48px;background:#e7efff;color:#4779d4;font-size:20px;font-weight:600}
.ref-welcome a{color:#7290bd}
.ref-welcome .ref-member{background:#fff;color:#8190a5!important;border:1px solid #e4eaf3;border-radius:5px;padding:3px 8px;font-size:10px}
.ref-dashboard{gap:22px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:'account trend todo' 'resources resources help' 'products products news'}
.ref-panel{padding:24px;background:#fff;border:1px solid #e8edf5;border-radius:12px;box-shadow:0 3px 12px #24395603}
.ref-panel h2{font-size:14px;font-weight:600;color:#53657e;margin-bottom:25px}
.ref-panel h2>a{font-size:10px;font-weight:400;color:#6685b6}
.ref-account{background:linear-gradient(120deg,#f1f6ff,#fff 75%);min-height:235px}
.ref-money{margin:30px 0}
.ref-money span{font-size:11px;color:#8998ad}
.ref-money strong{font:500 29px/1.4 Arial;color:#4a5b74;font-variant-numeric:tabular-nums}
.ref-money>div:first-child strong{color:#2563eb}
.ref-money>div+div{border-color:#e4ebf6}
.ref-actions{gap:18px;font-size:11px}
.ref-actions>a{color:#6683ad}
.ref-button{background:#2563eb;border-radius:6px;padding:8px 20px;min-width:85px;color:#fff!important}
.ref-button:hover{background:#1d54ce}
.ref-trend-body{gap:18px;padding:8px 4px}
.ref-donut{width:118px;height:118px}
.ref-donut span{width:88px;height:88px;font-size:12px;color:#9aa7b8}
.ref-legend small{color:#a1adbd;font-size:10px}
.ref-legend p{font-size:12px;color:#5d6e86}
.ref-todo>a{border-radius:6px;background:#f7f9fc;padding:11px 12px;font-size:11px}
.ref-todo strong{font-size:21px;color:#435976}
.ref-todo small{font-size:10px;color:#7395c6}
.ref-resources>div{gap:15px}
.ref-resources a{border-radius:8px;background:#f7f9fc;padding:20px 24px}
.ref-resources strong{color:#d59357;font-size:29px}
.ref-resources a:first-child strong{color:#3476e7}
.ref-resources small{font-size:12px}
.ref-resources span{color:#8395ae;font-size:11px}
.ref-help{background:#f9fbff;gap:25px}
.ref-help>svg{width:64px;height:64px;stroke:#87a9da;stroke-width:1.4}
.ref-help p{font-size:11px;color:#8a9ab0;line-height:1.8}
.ref-outline{border-color:#d0dff6;border-radius:6px;color:#4e7abc;padding:7px 16px;font-size:11px}
.ref-outline:hover{background:#edf4ff}
.ref-products,.ref-news{min-height:305px}
.ref-product-grid{padding:5px 0;gap:20px}
.ref-product-grid>a{padding:12px;border:1px solid transparent;border-radius:8px;gap:12px;min-width:0}
.ref-product-grid>a:hover{background:#f4f8ff;border-color:#eaf0fa}
.ref-product-grid svg{width:27px;height:27px;stroke:#7394be}
.ref-product-grid strong{font-size:12px;color:#50657f;font-weight:500}
.ref-product-grid small{font-size:10px;color:#99a7ba;line-height:1.7;margin-top:4px}
.ref-news>a{padding:17px 0;border-top:1px solid #f0f3f8;color:#6e7e94;gap:10px}
.ref-news i{width:5px;height:5px;border-radius:50%;background:#7498cd}
.ref-news time{color:#a0adc0}
.ref-news>a:hover{color:#2563eb}
.sw-page-heading>small{display:none}
.sw-page-heading{padding-top:28px}
.sw-page-heading h1{font-size:24px;color:#263d5b;font-weight:600}
.sw-page-heading p{font-size:12px;color:#90a0b6}
body.sw-body.customer-workspace .card{border-radius:10px!important;border-color:#e5ebf4!important;box-shadow:0 2px 9px #263e5a03!important}
body.sw-body.customer-workspace .btn{border-radius:6px!important;min-height:35px;font-size:12px}
body.sw-body.customer-workspace .btn.primary{background:#2563eb!important;border-color:#2563eb!important}
body.sw-body.customer-workspace input:not([type=checkbox]):not([type=radio]),body.sw-body.customer-workspace select,body.sw-body.customer-workspace textarea{border-radius:6px!important}
body.sw-body .modal-box{border-radius:12px!important}
body.sw-body .au-svc-stat{min-width:120px;border-radius:8px}
body.sw-body .sw-icon{width:17px;height:17px;flex-shrink:0}
body.sw-body.sw-nav-collapsed .sw-frame{margin-left:0}
@media(max-width:1250px){.ref-dashboard{grid-template-columns:1fr 1fr;grid-template-areas:'account trend' 'todo help' 'resources resources' 'products products' 'news news'}.ref-product-grid{gap:15px}body.sw-body .sw-content{padding:0 22px 26px}.sw-top-actions>a:first-child{display:none}}
@media(max-width:900px){body.sw-body .sw-frame{margin-left:0}body.sw-body .sw-sidebar{width:240px}body.sw-body .sw-topbar{padding:0 15px;gap:7px}body.sw-body .sw-top-actions{gap:8px}body.sw-body .sw-content{padding:0 16px 22px}.ref-welcome{height:100px}}
@media(max-width:600px){.ref-dashboard{grid-template-columns:1fr;grid-template-areas:'account' 'todo' 'trend' 'resources' 'products' 'help' 'news';gap:15px}.ref-panel{padding:20px}.ref-welcome .ref-member{display:none}.ref-welcome{gap:8px;font-size:11px}.ref-welcome strong{font-size:20px}.ref-product-grid{grid-template-columns:1fr 1fr;gap:12px}.ref-product-grid>a{padding:8px 3px;gap:9px}.ref-resources a{padding:15px 8px;flex-direction:column;gap:7px}.ref-resources>div{gap:8px}body.sw-body .ref-top-link{padding:0 7px;font-size:11px}.ref-trend-body{justify-content:space-around}body.sw-body .sw-top-actions>a{display:none}.ref-products,.ref-news{min-height:0}.ref-help{min-height:150px}}
@media(prefers-reduced-motion:reduce){body.sw-body *{transition:none!important}}
