/* MainZoglin v101 — presentation layer. Existing authentication / forms / API remain unchanged. */
:root {--mz101-glow:#9268ff;--mz101-elevated:#151b2a;--mz101-border:#2b3348;--mz101-text:#f5f6ff;--mz101-muted:#93a2bb}
.dashboard-body {background:radial-gradient(ellipse 1250px 750px at 82% -13%,rgba(115,79,242,.095),transparent 70%),#0b1019;color:var(--mz101-text)}
.dashboard-body .app-shell{grid-template-columns:258px minmax(0,1fr)}
.dashboard-body .sidebar{background:linear-gradient(165deg,#101523,#0e121c 70%);border-right:1px solid #2c3143;padding:17px 13px;box-shadow:8px 0 40px rgba(0,0,0,.14)}
.dashboard-body .sidebar .brand{font-size:20px;letter-spacing:-.04em;text-transform:none;padding:3px 10px 16px;font-weight:850;border-color:#292e3d}
.dashboard-body .sidebar .brandmark{width:36px;height:36px;font-size:25px;border-radius:11px;box-shadow:0 4px 25px rgba(117,81,246,.28)}
.dashboard-body .server-switch{border:1px solid #31364a;background:linear-gradient(130deg,#1f2536,#161b27);border-radius:13px;margin:19px 0 12px;padding:12px}
.dashboard-body .server-switch .avatar{background:linear-gradient(145deg,#6347bf,#28204c);width:35px;height:35px}
.dashboard-body .side-section-label{font-size:10px;letter-spacing:.18em;font-weight:800;color:#7e8aa1;padding:15px 11px 8px}
.dashboard-body .side-links{gap:4px}
.dashboard-body .side-links a{border:1px solid transparent;border-radius:10px;padding:11px 12px;font-size:13px;font-weight:590;color:#a7b2c8;transition:background .18s,border-color .18s,color .18s}
.dashboard-body .side-links a:hover{background:#25213d;border-color:#352d54;color:white}
.dashboard-body .side-links a.active{background:linear-gradient(98deg,#493090,#35255e);color:#fff;border-color:#6444c1;box-shadow:inset 3px 0 0 #b59aff,0 7px 25px rgba(78,47,170,.16)}
.dashboard-body .side-links .nav-icon{flex:none;width:18px;height:18px}
.dashboard-body .side-account{border-color:#343949;border-radius:13px;background:#1a2030}
.dashboard-body .topbar{background:rgba(14,19,29,.94);height:70px;border-color:#252b3b;padding:0 clamp(16px,2vw,32px)}
.dashboard-body .topbar:before{content:'MAINZOGLIN  /  DASHBOARD';font-size:11px;letter-spacing:.16em;font-weight:800;color:#75839d;margin-right:auto}
.dashboard-body .topbar-tools{margin-left:auto}
.dashboard-body .workspace{max-width:1720px;padding:clamp(18px,2.1vw,35px)}
.dashboard-body .card{background:linear-gradient(157deg,#171e2b,#121925);border-color:var(--mz101-border);border-radius:16px;box-shadow:0 10px 36px rgba(0,0,0,.1)}
.dashboard-body .metric{border-radius:15px;border:1px solid var(--mz101-border);background:linear-gradient(150deg,#1a2231,#121925)}
.dashboard-body .button{border-radius:10px;transition:transform .17s,box-shadow .17s,border-color .17s}
.dashboard-body .button.primary{background:linear-gradient(112deg,#8d57ff,#6244dc);border-color:#9d6bff;box-shadow:0 8px 25px rgba(113,64,228,.18)}
.dashboard-body .button.primary:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(113,64,228,.3)}
.dashboard-body select,.dashboard-body input,.dashboard-body textarea{color-scheme:dark}
.dashboard-body .card input:not([type='checkbox']):not([type='radio']),.dashboard-body .card select,.dashboard-body .card textarea{border-radius:10px;border-color:#374156;background:#101724}
.dashboard-body .card input:focus,.dashboard-body .card select:focus,.dashboard-body .card textarea:focus{border-color:#9272f9;box-shadow:0 0 0 2px rgba(132,93,238,.12)}
.mz101-kicker{display:inline-flex;gap:9px;align-items:center;color:#c8b5ff;letter-spacing:.17em;text-transform:uppercase;font-size:10px;font-weight:850}
.mz101-pulse{display:inline-block;vertical-align:middle;height:7px;width:7px;border-radius:50%;background:#55e4ae;box-shadow:0 0 0 4px rgba(85,228,174,.1),0 0 12px rgba(85,228,174,.7);flex:none}
.mz101-eyebrow{display:block;color:#9b88e9;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.18em;margin-bottom:5px}
.mz101-section-head{margin:22px 0 13px;display:flex;justify-content:space-between;align-items:end;gap:15px}.mz101-section-head h2{font-size:21px;letter-spacing:-.04em;margin:0;color:#f5f5fb}.mz101-section-head p{font-size:12px;margin:5px 0 0}
.mz101-inline-link{font-size:12px;font-weight:750;color:#b4a1ff;white-space:nowrap}.mz101-inline-link:hover{color:#ddd3ff}
/* Rebuilt overview */
.mz101-command-hero{isolation:isolate;position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.82fr);align-items:center;gap:15px;min-height:310px;padding:clamp(26px,3vw,48px);background:radial-gradient(ellipse 440px 330px at 82% 44%,rgba(142,71,249,.34),transparent 90%),radial-gradient(ellipse 560px 300px at -4% -12%,rgba(72,61,172,.24),transparent 75%),linear-gradient(130deg,#161929,#101626 58%,#1c1740);border:1px solid #443866;border-radius:21px;box-shadow:0 18px 52px rgba(0,0,0,.21)}
.mz101-command-hero:after{content:'';position:absolute;right:-15%;top:-95%;width:70%;height:220%;border:1px solid rgba(194,152,255,.075);border-radius:50%;pointer-events:none;z-index:-1}
.mz101-hero-copy{z-index:1}.mz101-hero-copy h1{font-size:clamp(31px,3.2vw,51px);line-height:1.06;letter-spacing:-.055em;margin:18px 0 13px;font-weight:850}.mz101-hero-copy h1 em{font-style:normal;background:linear-gradient(90deg,#c9a7ff,#9475ff 53%,#8ab4ff);background-clip:text;-webkit-background-clip:text;color:transparent}.mz101-hero-copy p{max-width:585px;color:#aab6d0;font-size:14px;line-height:1.75}.mz101-hero-copy p strong{color:#e6e5fa;font-weight:700}.mz101-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin:23px 0}.mz101-hero-actions .button{font-size:13px;padding:12px 16px}.mz101-hero-actions .button.ghost{background:rgba(255,255,255,.045);border-color:#494764}
.mz101-hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}.mz101-hero-meta>span{display:inline-flex;gap:7px;align-items:center;padding:6px 11px;border:1px solid #3b3f5c;border-radius:99px;background:rgba(21,26,42,.6);color:#c6cee1;font-size:11px;font-weight:600}.mz101-online-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#46db9c;box-shadow:0 0 8px #46db9c}
.mz101-hero-showcase{position:relative;padding:35px 8px 20px 4px;min-width:0}.mz101-preview-window{transform:perspective(850px) rotateY(-7deg) rotateX(3deg);background:#161a2a;border:1px solid #6d50b6;border-radius:18px;min-height:228px;box-shadow:0 26px 60px rgba(0,0,0,.45),0 0 60px rgba(152,88,255,.19);overflow:hidden}.mz101-preview-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:.1em;color:#8b91aa;padding:12px 15px;border-bottom:1px solid #302f4b}.mz101-preview-dots{color:#b95ebc;letter-spacing:.05em}.mz101-preview-content{display:flex;align-items:center;gap:15px;padding:24px 23px 16px}.mz101-preview-icon{width:55px;height:55px;display:grid;place-items:center;background:linear-gradient(130deg,#7051d5,#3b2c91);box-shadow:0 12px 28px rgba(116,64,236,.24);border-radius:15px;font-size:29px;flex:none}.mz101-preview-content small{font-size:9px;color:#a18bdc;letter-spacing:.12em;display:block;margin-bottom:6px}.mz101-preview-content strong{font-size:21px;color:#fff;letter-spacing:-.035em}.mz101-preview-content p{font-size:10px;line-height:1.6;margin:5px 0 0;color:#9ba7c0}.mz101-preview-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:0 18px 17px}.mz101-preview-mini span{font-size:10px;display:grid;gap:5px;align-items:center;justify-items:center;padding:12px 4px;border:1px solid #34304f;border-radius:9px;background:rgba(79,66,139,.2)}.mz101-preview-mini b{font-weight:600;font-size:9px;color:#a6a6cf}.mz101-floating-chip{position:absolute;right:-3px;top:8px;z-index:2;background:#292149;border:1px solid #6d53b9;color:#e6d9ff;border-radius:12px;padding:9px 13px;box-shadow:0 10px 25px rgba(0,0,0,.28);font-size:11px;font-weight:800;transform:rotate(4deg)}.mz101-floating-stat{position:absolute;left:-19px;bottom:-11px;z-index:2;background:#181d2a;border:1px solid #514677;border-radius:13px;box-shadow:0 14px 26px rgba(0,0,0,.35);padding:10px 15px;display:grid;min-width:140px}.mz101-floating-stat>span{font-size:8px;color:#70ddaf;letter-spacing:.1em;font-weight:800}.mz101-floating-stat strong{font-size:29px;color:#fff;line-height:1.25}.mz101-floating-stat small{font-size:9px;color:#94a0b6}
.mz101-range{display:flex;align-items:center;gap:9px}.mz101-range label{font-size:11px;color:#9da9bc}.mz101-range select{min-width:128px;padding:9px 11px;border-radius:10px;border:1px solid #344052;background:#171e2c;color:#e6edfa;font-size:12px}
.mz101-metrics{gap:13px;margin:0 0 15px}.mz101-metrics .metric{min-height:120px;padding:18px;gap:14px;position:relative}.mz101-metrics .metric-icon{width:48px;height:48px;border-radius:13px;font-size:21px}.mz101-metrics .metric strong{font-size:28px;letter-spacing:-.045em;color:white}.mz101-metrics .metric span:not(.metric-icon):not(.mz101-metric-arrow){color:#d7dff0;font-weight:650}.mz101-metrics .metric small{font-size:10px;color:#8191a9;display:block;margin-top:6px}.mz101-metric-arrow{position:absolute;right:17px;top:16px;color:#576079!important;font-size:17px!important}
.mz101-tools-heading{margin-top:31px}.mz101-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.mz101-tool-card{position:relative;isolation:isolate;min-height:213px;overflow:hidden;border:1px solid #373653;border-radius:16px;background:radial-gradient(circle at 85% 0%,rgba(132,94,237,.2),transparent 58%),#171a2b;padding:20px;transition:transform .2s,border-color .2s,box-shadow .2s}.mz101-tool-card:hover{transform:translateY(-5px);border-color:#8064d1;box-shadow:0 16px 38px rgba(0,0,0,.25)}.mz101-tool-card:after{content:'';position:absolute;right:-40px;bottom:-75px;width:150px;height:150px;border:1px solid rgba(161,116,251,.15);border-radius:50%;z-index:-1}.mz101-tool-symbol{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#483274;border:1px solid #6546a9;font-size:21px;margin-bottom:12px}.mz101-tool-label{display:block;font-size:9px;letter-spacing:.17em;color:#b49bff;font-weight:800}.mz101-tool-card h3{font-size:19px;margin:6px 0;letter-spacing:-.03em;color:#f6f7fc}.mz101-tool-card p{font-size:11.5px;line-height:1.7;max-width:290px;margin-bottom:38px}.mz101-tool-go{position:absolute;bottom:17px;font-size:11px;color:#cfbaff;font-weight:700}.mz101-tool-welcome{background:radial-gradient(circle at 85% 0%,rgba(56,153,212,.18),transparent 58%),#151e2c}.mz101-tool-welcome .mz101-tool-symbol{background:#1e4167;border-color:#28688c}.mz101-tool-embed{background:radial-gradient(circle at 85% 0%,rgba(39,183,152,.17),transparent 58%),#152226}.mz101-tool-embed .mz101-tool-symbol{background:#195547;border-color:#2d7762}.mz101-tool-guard{background:radial-gradient(circle at 85% 0%,rgba(240,171,87,.14),transparent 58%),#201f29}.mz101-tool-guard .mz101-tool-symbol{background:#5d4824;border-color:#826035}
.mz101-analytics-head{margin-top:32px}.mz101-charts,.mz101-lists{gap:15px}.mz101-charts .card,.mz101-lists .card{padding:22px}.mz101-charts .card-heading h2,.mz101-lists .card-heading h2{margin:0;font-size:17px}.mz101-charts .card-heading p,.mz101-lists .card-heading p{margin:5px 0 0;font-size:11px}.mz101-live-pill{font-size:9px;background:#17382e;border:1px solid #235d47;color:#73e9b2;padding:5px 8px;border-radius:99px;white-space:nowrap;font-weight:800;letter-spacing:.06em}.mz101-charts .activity-chart{margin-top:10px}.mz101-small-note{font-size:11px;margin:3px 0 15px}.mz101-lists .staff-row,.mz101-lists .recent-row{border-color:#283446;transition:background .2s}.mz101-lists .staff-row:hover,.mz101-lists .recent-row:hover{background:rgba(140,93,242,.05)}
/* Ticket studio */
.mz101-ticket-page{max-width:1640px;margin:0 auto}.mz101-ticket-hero{position:relative;overflow:hidden;border:1px solid #48366d;border-radius:20px;background:radial-gradient(circle at 83% 45%,rgba(138,86,238,.31),transparent 42%),linear-gradient(120deg,#19182d,#111a28 69%,#241b42);min-height:255px;display:flex;align-items:center;justify-content:space-between;padding:30px clamp(24px,3vw,46px);gap:30px}.mz101-ticket-hero>div:first-child{max-width:730px;z-index:1}.mz101-ticket-hero h1{font-size:clamp(36px,3.4vw,50px);letter-spacing:-.06em;line-height:1.04;margin:16px 0 10px}.mz101-ticket-hero h1 em{font-style:normal;color:#b797ff}.mz101-ticket-hero p{font-size:13px;line-height:1.75;max-width:610px;margin:0}.mz101-ticket-hero-graphic{position:relative;min-width:330px;max-width:350px;flex:1;padding:16px 13px 4px;transform:rotate(-4deg)}.mz101-ticket-graphic-card{border:1px solid #7055aa;border-radius:13px;padding:20px 21px;background:#292839;box-shadow:0 15px 35px rgba(0,0,0,.35)}.mz101-ticket-graphic-card>span{font-size:9px;letter-spacing:.17em;color:#ccb4ff}.mz101-ticket-graphic-card strong{display:block;font-size:20px;margin:10px 0 4px}.mz101-ticket-graphic-card p{font-size:10px}.mz101-ticket-graphic-card>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.mz101-ticket-graphic-card i{font-style:normal;color:#e3deff;font-size:10px;background:#5c44b7;border-radius:7px;padding:8px}.mz101-ticket-graphic-card i+ i{background:#393944}.mz101-graphic-spark{position:absolute;right:3px;top:0;color:#c6a8ff;font-size:40px;text-shadow:0 0 25px #9d75ff}
.mz101-studio-nav{display:flex;gap:6px;align-items:center;overflow-x:auto;border:1px solid #2e3548;background:#171d2a;border-radius:13px;padding:6px;margin:17px 0}.mz101-studio-nav a{white-space:nowrap;padding:10px 14px;color:#9da9c0;font-size:11px;font-weight:700;border-radius:8px}.mz101-studio-nav a:hover,.mz101-studio-nav a:focus-visible{background:#2b2548;color:#f7f5ff}.mz101-studio-nav a:last-child{margin-left:auto;color:#bfabff}
.mz101-ticket-page .card{margin-bottom:16px}.mz101-ticket-page .card h2{font-size:18px;margin:0 0 5px;letter-spacing:-.03em}.mz101-ticket-page .card-heading{align-items:start;gap:16px}.mz101-ticket-page .card-heading>div>p{font-size:12px;margin:0}.mz101-step-counter{font-size:10px;letter-spacing:.1em;font-weight:800;color:#8b98b4;border:1px solid #333b52;padding:6px 10px;border-radius:7px;white-space:nowrap}
.mz101-template-section{padding:22px!important}.mz101-template-gallery{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:11px!important;margin-top:15px}.mz101-template-choice{padding:10px!important;min-width:0;background:#141b28!important;border:1px solid #303a50!important;border-radius:12px!important;position:relative;min-height:153px;color:#eff1ff!important;transition:transform .15s,border-color .15s,background .15s;display:flex!important;flex-direction:column!important;gap:4px!important}.mz101-template-choice:hover{transform:translateY(-3px);border-color:#8f6cff!important}.mz101-template-choice.selected{border-color:#b397ff!important;box-shadow:0 0 0 1px #956bff,inset 0 0 30px rgba(152,101,255,.075)}.mz101-template-choice.selected:after{content:'✓';position:absolute;right:13px;top:13px;border-radius:50%;background:#8a58ee;color:white;width:20px;height:20px;display:grid;place-items:center;font-size:12px}.mz101-template-choice strong{font-size:12px}.mz101-template-choice small{font-size:10px;color:#8f9bb0}.mz101-template-visual{display:block!important;position:relative;width:100%;height:81px!important;border-radius:8px;background:radial-gradient(circle at 77% 15%,color-mix(in srgb,var(--preview-accent) 38%,transparent),transparent 60%),linear-gradient(120deg,#282e40,#1b2030);margin-bottom:6px;overflow:hidden}.mz101-template-visual:before{content:'';position:absolute;left:13%;top:24px;width:65%;height:4px;border-radius:4px;background:var(--preview-accent);box-shadow:0 10px 0 #777b8e,0 20px 0 #44495c;opacity:.9}.mz101-template-window-dots{position:absolute;left:9px;top:8px;font-size:5px;letter-spacing:2px;color:#887d9b}.mz101-template-visual-box{position:absolute;right:9px;bottom:10px;display:flex!important;gap:4px!important;height:auto!important;width:auto!important}.mz101-template-visual-box i{display:block;width:17px;height:8px;background:var(--preview-accent);border-radius:3px;opacity:.7}
.mz101-ticket-editor-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(365px,.82fr);gap:16px;align-items:start}.mz101-ticket-fields{min-width:0}.mz101-ticket-fields .card{padding:23px}.mz101-ticket-fields label{font-size:12px;font-weight:650;color:#c6d1e3}.mz101-ticket-fields .ticket-check{display:flex;gap:8px;align-items:center}.mz101-ticket-fields .ticket-check input[type=checkbox]{width:auto;flex:none}.mz101-ticket-fields label input:not([type=checkbox]),.mz101-ticket-fields label select{margin-top:7px}.mz101-service-tools{display:flex;align-items:center;gap:10px;justify-content:space-between;margin:14px 0;flex-wrap:wrap}.mz101-service-tools .muted{font-size:10px;max-width:290px}.mz101-search-label{display:flex!important;gap:7px;align-items:center;padding:5px 10px;background:#0f1522;border:1px solid #323c53;border-radius:9px;margin:0!important;flex:1;max-width:340px}.mz101-search-label input{background:transparent!important;border:0!important;margin:0!important;padding:5px!important;box-shadow:none!important}.mz101-service-counter{font-size:10px;border:1px solid #56468b;color:#c6b1ff;padding:6px 9px;background:#32254e;border-radius:20px;white-space:nowrap}
.mz101-ticket-fields .ticket-service{border:1px solid #303a4e;border-radius:10px;margin:8px 0;overflow:hidden;background:#141b28}.mz101-ticket-fields .ticket-service[hidden]{display:none}.mz101-ticket-fields .ticket-service summary{padding:14px 15px;font-weight:700;font-size:12px;cursor:pointer}.mz101-ticket-fields .ticket-service summary:hover{color:#c7b1ff}.mz101-ticket-fields .ticket-service-body{padding:8px 16px 14px;border-top:1px solid #2e3749}
.mz101-preview-column{min-width:0;position:sticky;top:85px}.mz101-preview-shell{padding:22px!important;background:linear-gradient(165deg,#1b1f2e,#141b28)!important;border-color:#514372!important;box-shadow:0 22px 55px rgba(0,0,0,.24)!important}.mz101-preview-header{display:flex;align-items:start;justify-content:space-between;gap:15px}.mz101-preview-header h2{font-size:19px!important}.mz101-preview-header p{font-size:11px;margin:4px 0 0}.mz101-preview-live{border:1px solid #2d6856;background:#163e32;padding:6px 9px;color:#83efbe;font-size:9px;letter-spacing:.1em;font-weight:800;border-radius:99px;display:flex;align-items:center;gap:8px}.mz101-preview-live .mz101-pulse{width:6px;height:6px}.mz101-preview-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#0d1420;padding:5px;border:1px solid #31364b;border-radius:10px;margin:17px 0}.mz101-preview-tabs button{padding:10px 6px;border:0;background:transparent;color:#919db2;border-radius:7px;font-size:11px;font-weight:750}.mz101-preview-tabs button.active{color:#faf8ff;background:#3b2e66;box-shadow:0 2px 10px rgba(0,0,0,.25)}
.mz101-preview-viewport{border:1px solid #454452;border-radius:12px;min-height:320px;overflow:hidden;background:#313338;color:#e4e6ed;transition:width .25s ease}.mz101-preview-viewport.mobile{width:min(100%,330px);margin:0 auto}.mz101-discord-top{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#2b2d31;padding:12px 16px;border-bottom:1px solid #44464c;font-size:12px;font-weight:750}.mz101-discord-top span:last-child{font-size:11px;color:#b4bac6}.mz101-discord-message{display:flex;align-items:flex-start;gap:10px;padding:18px 13px 23px;min-width:0}.mz101-discord-message[hidden]{display:none!important}.mz101-discord-avatar{width:34px;height:34px;display:grid;place-items:center;font-weight:900;font-size:11px;background:linear-gradient(140deg,#926aff,#4c2b9a);border-radius:50%;flex:none;color:#fff}.mz101-message-body{min-width:0;flex:1}.mz101-message-author{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:750;flex-wrap:wrap}.mz101-message-author span{padding:2px 5px;background:#5865f2;border-radius:3px;font-size:8px}.mz101-message-author small{font-size:10px;font-weight:400;color:#959ba4}.mz101-discord-embed{margin:7px 0 11px;border-left:4px solid var(--ticket-preview-accent,#7652F7);background:#292b2f;border-radius:4px;padding:13px;max-width:100%;overflow-wrap:anywhere;min-width:0}.mz101-embed-top{display:flex;justify-content:space-between;gap:10px}.mz101-embed-top strong,.mz101-discord-embed>strong{font-size:15px;color:#fff}.mz101-embed-dots{font-size:9px;color:#72747e}.mz101-discord-embed p{color:#d9dce1;white-space:pre-wrap;margin:9px 0;line-height:1.65;font-size:12px}.mz101-discord-embed>small{color:#a0a5ae;display:block;margin-top:12px;font-size:10px;white-space:pre-wrap}.mz101-preview-services{border-top:1px solid #3c3e45;border-bottom:1px solid #3c3e45;margin:12px 0;padding:9px 0}.mz101-preview-services[hidden]{display:none}.mz101-preview-service-item{font-size:11px;font-weight:650;margin:6px 0}.mz101-preview-service-item small{display:block;font-size:10px;font-weight:400;color:#a0a5ae;padding-left:19px;margin:2px 0}.mz101-preview-services:empty{display:none}.mz101-preview-buttons{display:flex;flex-wrap:wrap;gap:6px}.mz101-discord-btn{padding:8px 11px;font-weight:650;border-radius:4px;font-size:11px;max-width:100%;overflow-wrap:anywhere;background:#5865f2;color:white}.mz101-discord-btn.primary{background:#5865f2}.mz101-discord-btn.secondary,.mz101-discord-btn.neutral{background:#4e5058}.mz101-discord-btn.success{background:#248046}.mz101-discord-btn.danger{background:#da373c}.mz101-discord-dropdown{background:#25262a;color:#e4e6ea;display:flex;flex-direction:column;gap:4px;border:1px solid #50535a;border-radius:5px;padding:9px 13px;font-size:12px;width:min(100%,280px);font-weight:650}.mz101-discord-dropdown small{color:#8c949d;font-weight:400;font-size:10px}.mz101-no-services{color:#f7d29a;font-size:10px}.mz101-discord-embed img{width:100%;display:block;object-fit:cover;max-height:180px;border-radius:5px;margin-top:13px}.mz101-discord-embed img[hidden]{display:none!important}.mz101-example-mention{color:#c3b1ff;font-size:11px;margin:11px 0}.mz101-example-mention small{color:#bbbcc7}.mz101-opening-instructions{color:#d9dce1;font-size:11px;white-space:pre-wrap;line-height:1.6;border-top:1px solid #484b51;padding-top:8px}
.mz101-preview-footer{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:12px 0;color:#8f9db0;font-size:10px}.mz101-device-actions{display:flex;gap:3px}.mz101-device-actions button{border:1px solid #424358;border-radius:6px;background:#141d2c;color:#aab7ce;padding:7px 8px;font-size:10px;white-space:nowrap}.mz101-device-actions button.active{background:#3b2c65;color:#fff;border-color:#7457b2}.mz101-preview-tips{margin-top:15px;padding:14px 16px;border:1px solid #393653;border-radius:11px;background:rgba(119,88,215,.075)}.mz101-preview-tips strong{font-size:12px}.mz101-preview-tips p{font-size:11px;margin:5px 0 0;line-height:1.6}
.mz101-publish-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 22px;margin:2px 0 25px;border-radius:14px;border:1px solid #544177;background:linear-gradient(100deg,#211d39,#181a2d)}.mz101-publish-bar strong{display:block;color:#fff;font-size:14px}.mz101-publish-bar small{color:#a9aac1;display:block;margin-top:5px;font-size:11px}.mz101-publish-bar .button{white-space:nowrap}.mz101-ticket-page .mz101-saved-panel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mz101-saved-card{padding:0!important;overflow:hidden;display:flex;flex-direction:column}.mz101-saved-preview{padding:22px 18px;background:radial-gradient(circle at 80% 0%,color-mix(in srgb,var(--saved-accent) 22%,transparent),transparent 66%),#242736;min-height:160px}.mz101-saved-discord{display:flex;gap:9px;color:#d5d9e2}.mz101-saved-bot{flex:none;border-radius:50%;background:#6152ae;display:grid;place-items:center;width:27px;height:27px;font-size:9px;font-weight:900}.mz101-saved-discord>div{min-width:0;flex:1}.mz101-saved-discord small{font-size:9px;color:#bcbacf}.mz101-saved-discord strong{font-size:11px;display:block;border-left:3px solid var(--saved-accent);background:#272931;padding:9px 9px 0;margin-top:7px;overflow-wrap:anywhere}.mz101-saved-discord p{border-left:3px solid var(--saved-accent);background:#272931;padding:4px 9px;margin:0;font-size:10px;line-height:1.4;color:#b2b8c3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mz101-saved-cta{display:block;background:#5560dc;border-radius:4px;color:#fff;padding:7px 10px;font-size:9px;margin-top:8px;width:max-content;max-width:100%}.mz101-saved-details{padding:18px;display:flex;flex-direction:column;gap:5px;flex:1}.mz101-saved-details h3{font-size:15px;margin:8px 0 0}.mz101-saved-details .status-badge{align-self:flex-start}.mz101-saved-details .ticket-badge{align-self:flex-start}.mz101-saved-details p{font-size:11px;margin:0 0 9px}.mz101-saved-actions{margin-top:auto;display:flex;gap:7px;flex-wrap:wrap}.mz101-saved-actions .button{font-size:11px;padding:9px}.mz101-saved-actions form{margin:0}.mz101-ticket-page #saved-ticket-panels{scroll-margin-top:90px}.mz101-ticket-page #panel-customize,.mz101-ticket-page #panel-live-preview,.mz101-ticket-page #panel-templates{scroll-margin-top:90px}
/* Studio and welcome align with new surfaces */
.dashboard-body .studio-preview-container .card,.dashboard-body .welcome-preview-wrap .card{border-color:#4a3c72;background:linear-gradient(160deg,#1b2132,#171b2a)}.dashboard-body .studio-gallery .studio-preset,.dashboard-body .template-grid .template-card{border-color:#353c54;background:#171e2b;transition:transform .15s,border-color .15s}.dashboard-body .studio-gallery .studio-preset:hover,.dashboard-body .template-grid .template-card:hover{transform:translateY(-3px);border-color:#9072e8}.dashboard-body .ticket-heading h1{font-size:32px}
@media(max-width:1320px){.mz101-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mz101-template-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mz101-ticket-editor-grid{grid-template-columns:minmax(0,1fr) minmax(345px,.85fr)}}
@media(max-width:1060px){.mz101-command-hero{grid-template-columns:minmax(0,1fr)}.mz101-hero-showcase{display:none}.mz101-ticket-editor-grid{grid-template-columns:1fr}.mz101-preview-column{position:relative;top:auto;grid-row:1}.mz101-ticket-page .mz101-saved-panel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mz101-ticket-hero-graphic{display:none}}
@media(max-width:850px){.dashboard-body .app-shell{grid-template-columns:minmax(0,1fr)}.dashboard-body .sidebar{position:relative;height:auto;min-height:0;z-index:3;padding:10px}.dashboard-body .sidebar .brand{border:0;padding:4px 10px}.dashboard-body .side-links{flex-direction:row;overflow:auto;gap:6px}.dashboard-body .side-links a{white-space:nowrap;font-size:11px;padding:8px 10px}.dashboard-body .sidebar .server-switch,.dashboard-body .side-account,.dashboard-body .side-section-label{display:none}.dashboard-body .topbar{height:54px}.dashboard-body .topbar:before{font-size:9px}.mz101-command-hero{min-height:0}.mz101-ticket-hero{min-height:0}.mz101-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.dashboard-body .workspace{padding:13px}.dashboard-body .topbar:before{content:'MAINZOGLIN'}.mz101-command-hero{padding:24px 20px;border-radius:14px}.mz101-hero-copy h1{font-size:32px}.mz101-hero-copy p{font-size:12px}.mz101-hero-actions{display:grid}.mz101-hero-actions .button{width:100%}.mz101-metrics,.mz101-tool-grid,.mz101-ticket-page .mz101-saved-panel-grid{grid-template-columns:1fr}.mz101-tool-card{min-height:185px}.mz101-section-head{align-items:start;flex-wrap:wrap}.mz101-ticket-hero{padding:23px 19px}.mz101-ticket-hero h1{font-size:32px}.mz101-template-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mz101-publish-bar{flex-direction:column;align-items:stretch}.mz101-publish-bar .button{width:100%}.mz101-preview-shell{padding:15px!important}.mz101-preview-footer{align-items:start;flex-wrap:wrap}.mz101-section-head h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.mz101-tool-card,.mz101-template-choice,.dashboard-body .button{transition:none!important}}
/* v101 Welcome Studio: honest stateful previews and real configured link buttons */
.mz101-welcome-preview .preview-sticky{position:sticky;top:84px;background:linear-gradient(155deg,#1c2131,#151c2a);border-color:#544575}.mz101-welcome-preview h2{display:flex;justify-content:space-between;align-items:center;font-size:20px;margin:6px 0}.mz101-welcome-discord{margin:17px 0 12px;background:#313338;color:#e2e4ed;border-radius:12px;overflow:hidden;border:1px solid #454654}.mz101-welcome-discord .preview-message{font-size:12px;white-space:pre-wrap;color:#dce0ea;line-height:1.6;margin:7px 0}.mz101-welcome-discord .preview-embed{display:grid;margin-top:9px}.mz101-welcome-discord .preview-embed[hidden],.mz101-welcome-discord .preview-card-art[hidden],.mz101-welcome-discord .preview-embed-body>[hidden],.mz101-welcome-discord .mz101-welcome-thumb[hidden]{display:none!important}.mz101-welcome-discord .preview-embed-body{position:relative;min-width:0}.mz101-welcome-discord .preview-embed-body h3{font-size:15px;color:white;overflow-wrap:anywhere}.mz101-welcome-discord .preview-embed-body p{font-size:12px;color:#d5d8e0;line-height:1.7;overflow-wrap:anywhere}.mz101-welcome-thumb{float:right;border-radius:9px;background:#5641a3;color:white;display:grid;place-items:center;width:45px;height:45px;margin:2px 0 10px 10px;font-weight:800}.mz101-welcome-discord .preview-card-art{clear:both;min-height:122px}.mz101-welcome-discord .preview-card-art strong,.mz101-welcome-discord .preview-card-art small{overflow-wrap:anywhere}.mz101-welcome-discord .preview-buttons{display:flex;flex-wrap:wrap}.mz101-welcome-discord .preview-buttons:empty{display:none}.mz101-welcome-discord .preview-buttons span{font-size:10px}.mz101-welcome-preview-hint{font-size:11px;line-height:1.6}.mz101-welcome-preview .mz101-preview-live{display:inline-flex}.dashboard-body .template-grid .template-swatch{height:62px;border-radius:8px}.dashboard-body .template-grid .template-card{padding:11px}.dashboard-body .template-grid .template-card strong{font-size:12px}
@media(max-width:1050px){.mz101-welcome-preview .preview-sticky{position:static}}
/* Ticket gallery is intentionally scrollable so the actual editor/preview stays above the fold. */
.dashboard-body .mz101-ticket-page .mz101-template-gallery{display:flex!important;flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#655596 transparent}
.dashboard-body .mz101-ticket-page .mz101-template-gallery .mz101-template-choice{flex:0 0 197px;scroll-snap-align:start}
.dashboard-body .mz101-ticket-page .mz101-publish-bar{position:static;bottom:auto;z-index:auto;backdrop-filter:none;margin-top:4px;box-shadow:0 9px 24px rgba(0,0,0,.1)}
@media(max-width:620px){.dashboard-body .mz101-ticket-page .mz101-template-gallery{grid-template-columns:none!important}.dashboard-body .mz101-ticket-page .mz101-template-gallery .mz101-template-choice{flex-basis:173px}}
