/* v70 — dashboard visual foundation rebuilt from the supplied Zoglin dashboard template. */
:root{--mz-bg:#0c1017;--mz-sidebar:#10151d;--mz-panel:#141922;--mz-panel2:#191f2b;--mz-border:#28303d;--mz-text:#f4f5fa;--mz-muted:#9aa7bc;--mz-purple:#7652f7;--mz-purple2:#9a7cff;--mz-blue:#4585ff;--mz-green:#22c991;--mz-yellow:#f5bd4e;--mz-red:#ef6877}
.dashboard-body{margin:0;background:var(--mz-bg);color:var(--mz-text);overflow-x:hidden}
.dashboard-body .mz-app-shell{display:grid;grid-template-columns:282px minmax(0,1fr);min-height:100vh;background:var(--mz-bg)}
.dashboard-body .mz-sidebar{position:sticky;top:0;width:auto;height:100vh;min-height:100vh;overflow-y:auto;padding:18px 14px 14px;background:linear-gradient(180deg,#10151d,#0e131b);border-right:1px solid #252c37;display:flex;flex-direction:column;gap:0}
.dashboard-body .sidebar-brand{padding:3px 8px 20px;margin:0 0 8px;border-bottom:1px solid #222a35;font-size:20px;font-weight:850;letter-spacing:.075em;text-transform:uppercase}
.dashboard-body .brandmark{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(145deg,#9158ff,#5134ee);box-shadow:0 10px 28px rgba(84,53,225,.22);font-size:11px;color:#fff}
.dashboard-body .server-switch{margin:12px 6px 18px;padding:12px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;background:#191f2b;border:1px solid #2b3441;border-radius:9px;min-height:68px;color:#fff}
.dashboard-body .server-switch:hover{background:#1d2431;border-color:#3a4557;transform:none}
.dashboard-body .server-switch .avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#302652;color:#c3b4ff;font-weight:800}
.dashboard-body .server-switch strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.dashboard-body .server-switch small{display:block;color:#8f9bb0;font-size:11px;margin-top:2px}.server-chevron{color:#8290a6}
.dashboard-body .side-links{display:flex;flex-direction:column;gap:2px;overflow:visible;margin:0}
.dashboard-body .side-section-label{display:block;padding:13px 10px 6px;color:#6f7b90;font-size:9px;font-weight:900;letter-spacing:.17em;text-transform:uppercase}
.dashboard-body .side-links a{min-height:40px;padding:9px 11px;border-radius:7px;color:#bdc7d8;font-weight:600;font-size:13px;display:flex;align-items:center;gap:11px;border:1px solid transparent}
.dashboard-body .side-links a:hover{background:#1a202b;color:#fff;transform:none}.dashboard-body .side-links a[aria-current=page]{background:linear-gradient(100deg,#3b2a82,#4c329f);border-color:#5741a9;color:#fff;box-shadow:inset 3px 0 0 #8d6aff}
.dashboard-body .nav-icon{width:22px;text-align:center;color:#a7b4cc;font-size:15px;flex:none}.dashboard-body .side-links a[aria-current=page] .nav-icon{color:#fff}
.dashboard-body .side-account{margin-top:auto;margin:18px 5px 0;padding:11px;display:grid;grid-template-columns:38px minmax(0,1fr) 28px;align-items:center;gap:9px;background:#171d27;border:1px solid #232b35;border-radius:9px}.dashboard-body .side-account .avatar{width:38px;height:38px}.dashboard-body .side-account strong{display:block;font-size:12px}.dashboard-body .side-account small{display:block;color:#8290a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-account-link{font-size:18px;color:#9ba9be!important;padding:0!important;min-height:auto!important;background:none!important;border:0!important}
.dashboard-body .mz-app-body{min-width:0;min-height:100vh}.dashboard-body .mz-dashboard-topbar{position:sticky;top:0;z-index:25;height:64px;min-height:64px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:rgba(12,16,23,.94);border-bottom:1px solid #242b35;backdrop-filter:blur(14px)}
.dashboard-body .topbar-context{display:flex;align-items:center;gap:14px;min-width:0}.topbar-kicker{font-size:13px;color:#c9d1df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-status{display:inline-flex;align-items:center;gap:7px;color:#77859b;font-size:11px}.topbar-status i{width:7px;height:7px;border-radius:50%;background:var(--mz-green);box-shadow:0 0 0 4px rgba(34,201,145,.09)}
.dashboard-body .topbar-tools{display:flex;align-items:center;gap:8px}.dashboard-body .compact-action{min-height:34px;padding:6px 10px;font-size:12px;border-radius:6px}.dashboard-body .icon-link,.dashboard-body .icon-button{width:34px;height:34px;display:grid;place-items:center;border-radius:6px;border:1px solid #2a3340;background:#171d28;color:#aebbd0;padding:0;min-height:0;box-shadow:none}.dashboard-body .icon-link{color:#22c991}.dashboard-body .icon-button:hover,.dashboard-body .icon-link:hover{background:#202735}
.dashboard-body .mz-workspace{width:min(1540px,100%);margin:0 auto;padding:34px 32px 64px}.dashboard-body .pagehead,.dashboard-body .ticket-heading{margin-bottom:24px}.dashboard-body h1{font-size:34px;letter-spacing:-.035em;margin:5px 0 7px}.dashboard-body h2{font-size:18px}.dashboard-body .eyebrow{font-size:10px;letter-spacing:.15em;color:#9d83ff}.dashboard-body .card,.dashboard-body .metric-card{background:linear-gradient(135deg,#171c26,#121720);border:1px solid var(--mz-border);border-radius:8px;box-shadow:none}.dashboard-body .card::before{display:none}
.dashboard-body .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-body .server-card{min-height:236px;border-top:0;padding:18px}.dashboard-body .server-card::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,#7652f7,#9b7cff)}.dashboard-body .server-card-top{align-items:flex-start}.dashboard-body .server-card .server-avatar{width:46px;height:46px;flex-basis:46px;border-radius:11px;background:#302652}.dashboard-body .server-card h3{font-size:16px;line-height:1.35}.dashboard-body .server-id-text{font-size:10px}.dashboard-body .server-card-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:14px}.dashboard-body .server-card-tools a{min-height:34px;padding:6px 8px;border-radius:6px;font-size:11px;text-align:center}.dashboard-body .card-actions{border-top:1px solid #252c38;margin-top:13px;padding-top:13px}
.dashboard-body .metric-grid.dashboard-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 24px}.dashboard-body .dashboard-summary .metric-card{padding:16px;min-height:105px}.dashboard-body .dashboard-summary strong{font-size:25px}.dashboard-body .summary-icon{width:40px;height:40px;border-radius:8px;display:grid;place-items:center;margin-bottom:11px;background:#292246;color:#8d6bff;font-size:18px}.dashboard-body .summary-icon.green{background:#15372f;color:#50daa5}.dashboard-body .summary-icon.blue{background:#192c4d;color:#5b94ff}.dashboard-body .summary-icon.yellow{background:#3b301c;color:#f5c85f}
.dashboard-body .quick-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 20px;padding:12px 14px;border:1px solid #28303d;background:#121720;border-radius:8px}.dashboard-body .quick-strip strong{font-size:12px;margin-right:5px}.dashboard-body .quick-strip span{color:#8290a6;font-size:12px}.dashboard-body .quick-strip .button{min-height:32px;padding:5px 9px;font-size:11px}
.dashboard-body .grid3{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.dashboard-body .card.link{min-height:145px}.dashboard-body .card.link:hover{border-color:#493d77;background:#191f2b;transform:translateY(-2px)}
.dashboard-body .ticket-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid #252c38}.dashboard-body .ticket-heading h1{margin:.2rem 0}.dashboard-body .tickettypes{display:grid;gap:9px}.dashboard-body details.ticket-service{background:#10151d;border:1px solid #2a3340;border-radius:8px;overflow:hidden}.dashboard-body details.ticket-service summary{padding:13px 15px;cursor:pointer;font-weight:750}.dashboard-body .ticket-service-body{padding:0 15px 15px;border-top:1px solid #242c38}.dashboard-body .ticket-save{position:sticky;bottom:12px;z-index:12;display:flex;align-items:center;gap:12px;margin:14px 0 22px;padding:12px 14px;border:1px solid #3b3562;background:rgba(18,23,32,.96);backdrop-filter:blur(12px);border-radius:8px;box-shadow:0 12px 35px rgba(0,0,0,.28)}
.dashboard-body .button,.dashboard-body button{border-radius:6px;min-height:38px}.dashboard-body .button:not(.ghost):not(.secondary),.dashboard-body button[type=submit]:not(.ghost){background:linear-gradient(115deg,#7550f6,#5638e7);border-color:#7959f6}.dashboard-body .button.ghost,.dashboard-body .ghost{background:#171d28;border-color:#303947}.dashboard-body .button.secondary{background:#1b2230;border-color:#354052}
.dashboard-body input,.dashboard-body select,.dashboard-body textarea{background:#101620;border:1px solid #354052;border-radius:6px}.dashboard-body input:focus,.dashboard-body select:focus,.dashboard-body textarea:focus{border-color:#8f6dff;box-shadow:0 0 0 2px rgba(143,109,255,.12)}
.dashboard-body .helper-chat-card{border-radius:8px}.dashboard-body .helper-history{border-radius:8px}.dashboard-body .owner-grid .card,.dashboard-body .metric-card{border-radius:8px}
.public-body .public-topbar{min-height:70px;padding:0 max(4vw,25px);background:#10141d;border-bottom:1px solid #232935}.public-body .public-main{max-width:1480px;margin:auto;padding:3rem 4vw 5rem}.public-body .brand{font-size:20px}.public-body .brandmark{border-radius:7px}
@media(max-width:1180px){.dashboard-body .cards,.dashboard-body .grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-body .metric-grid.dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-body .mz-app-shell{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:820px){.dashboard-body .mz-app-shell{display:block}.dashboard-body .mz-sidebar{position:relative;width:100%;height:auto;min-height:0;border-right:0;border-bottom:1px solid #252c37;padding:10px}.dashboard-body .sidebar-brand{border-bottom:0;margin:0;padding:5px}.dashboard-body .server-switch,.dashboard-body .side-account{display:none}.dashboard-body .side-links{display:flex;flex-direction:row;overflow-x:auto;padding:4px}.dashboard-body .side-section-label{display:none}.dashboard-body .side-links a{white-space:nowrap}.dashboard-body .mz-dashboard-topbar{top:0;padding:8px 12px;height:auto;min-height:58px}.dashboard-body .topbar-context{display:none}.dashboard-body .topbar-tools{width:100%;justify-content:flex-end;flex-wrap:wrap}.dashboard-body .compact-action{font-size:11px}.dashboard-body .mz-workspace{padding:22px 14px 44px}.dashboard-body .cards,.dashboard-body .grid3,.dashboard-body .metric-grid.dashboard-summary{grid-template-columns:1fr}.dashboard-body .ticket-heading{align-items:flex-start;flex-direction:column}.dashboard-body .ticket-save{position:static;flex-wrap:wrap}}
