
/* ===== SOURCE: app-v646.css ===== */
:root{--bg:#f5f7ff;--panel:rgba(255,255,255,.88);--panel-solid:#fff;--ink:#101a35;--muted:#63708b;--line:#dfe6f5;--blue:#2468ff;--violet:#7b3ff2;--cyan:#06b6d4;--green:#0ca678;--red:#e03d53;--amber:#e49513;--shadow:0 18px 50px rgba(31,43,91,.10);--shadow-lg:0 28px 80px rgba(40,48,110,.16);--grad:linear-gradient(125deg,#2164ff 0%,#6f43ef 52%,#b72be7 100%)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:radial-gradient(circle at 8% -10%,#dff3ff 0,transparent 25%),radial-gradient(circle at 98% 4%,#eee3ff 0,transparent 28%),var(--bg);color:var(--ink)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-right:1px solid rgba(205,216,238,.8);display:flex;flex-direction:column;z-index:30;box-shadow:10px 0 35px rgba(39,52,100,.04)}.brand{height:88px;display:flex;align-items:center;gap:12px;padding:15px 16px;border-bottom:1px solid var(--line)}.brand img{width:52px;height:52px;filter:drop-shadow(0 8px 15px rgba(83,66,211,.18))}.brand b{display:block;color:#123d92;font-size:15px;letter-spacing:.02em}.brand small{color:var(--muted);font-size:10px}.sidebar nav{padding:13px;overflow:auto;flex:1}.nav-item{display:flex;gap:11px;align-items:center;padding:12px 13px;margin-bottom:7px;border:1px solid #e4eaf6;border-radius:13px;font-weight:800;font-size:13px;background:linear-gradient(180deg,#fff,#fafcff);transition:.2s ease}.nav-item:hover{transform:translateX(2px);border-color:#bcd2ff;background:#eff5ff;box-shadow:0 8px 20px rgba(44,96,210,.08)}.nav-item.hot{background:linear-gradient(115deg,#fff1ff,#eef4ff);border-color:#d8c7ff}.nav-badge{margin-left:auto;min-width:21px;height:21px;border-radius:999px;display:grid;place-items:center;padding:0 6px;background:#ef3f64;color:#fff;font-size:10px}.nav-section{font-size:10px;color:#8c98ae;font-weight:900;letter-spacing:.1em;margin:17px 8px 8px}.side-user{padding:14px;border-top:1px solid var(--line);display:grid;gap:3px;background:linear-gradient(180deg,#fbfdff,#f3f7ff)}.side-user small{color:var(--muted)}.side-user .pid{font-size:10px;color:#315eaf;font-weight:800}.side-user a{color:var(--red);font-weight:900;font-size:12px;margin-top:5px}.main{margin-left:252px;min-height:100vh}.topbar{min-height:74px;background:rgba(255,255,255,.84);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 26px;position:sticky;top:0;z-index:20}.topbar h1{margin:0;font-size:20px}.topbar .sub{font-size:11px;color:var(--muted);margin-top:2px}.top-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.wallet-pill{padding:10px 14px;border-radius:13px;background:linear-gradient(120deg,#edf4ff,#f3ebff);border:1px solid #d7e3fb;color:#134eaf;font-weight:900;font-size:12px}.icon-btn{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);display:grid;place-items:center;background:#fff;position:relative}.icon-btn .dot{position:absolute;right:-4px;top:-5px;background:#ef3f64;color:#fff;border:2px solid #fff;border-radius:999px;font-size:9px;padding:2px 5px;font-weight:900}.content{padding:26px;max-width:1700px;margin:0 auto}.hero{position:relative;overflow:hidden;background:var(--grad);color:#fff;padding:30px;border-radius:25px;box-shadow:var(--shadow-lg);display:flex;justify-content:space-between;gap:20px}.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.12)}.hero:before{width:220px;height:220px;right:-60px;top:-90px}.hero:after{width:160px;height:160px;right:130px;bottom:-100px}.hero>*{position:relative;z-index:1}.hero h2{font-size:30px;margin:0 0 8px}.hero p{margin:0;color:#edf4ff;max-width:780px;line-height:1.55}.hero-icon{width:96px;height:96px;display:grid;place-items:center;border-radius:26px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28);font-size:52px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.stat,.panel,.service-card{background:var(--panel);backdrop-filter:blur(14px);border:1px solid rgba(216,226,244,.95);border-radius:19px;box-shadow:var(--shadow)}.stat{padding:18px;position:relative;overflow:hidden}.stat:after{content:"";position:absolute;width:70px;height:70px;border-radius:50%;right:-22px;top:-25px;background:linear-gradient(135deg,rgba(36,104,255,.15),rgba(123,63,242,.06))}.stat small{color:var(--muted);font-weight:700}.stat strong{font-size:26px;display:block;margin-top:6px}.stat .trend{font-size:10px;color:var(--green);font-weight:800;margin-top:6px}.panel{padding:20px;margin-bottom:20px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px}.panel h2,.panel h3{margin:0}.panel h2{font-size:20px}.muted{color:var(--muted)}.services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.service-card{padding:18px;display:flex;flex-direction:column;min-height:260px;position:relative;overflow:hidden;transition:.22s ease}.service-card:hover{transform:translateY(-4px);box-shadow:0 24px 56px rgba(39,53,108,.14)}.service-card:after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-30px;top:-35px;background:var(--service-accent,#4f46e5);opacity:.08}.service-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#eef3ff,#f8eefe);font-size:25px;border:1px solid #e1e8fb}.service-card h3{margin:14px 0 7px;font-size:16px}.service-card p{font-size:12px;line-height:1.55}.chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.chip,.badge{font-size:10px;font-weight:900;padding:6px 9px;border-radius:999px;background:#edf4ff;color:#2d558d;border:1px solid #d5e4fb}.chip.price{background:#eafff5;color:#087950;border-color:#b8f1d8}.chip.featured{background:#fff4e8;color:#a95d07;border-color:#ffd7a5}.service-actions{margin-top:auto;display:flex;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:11px;padding:10px 14px;font-weight:900;cursor:pointer;background:#edf3fb;color:#174b89;transition:.18s ease}.btn:hover{transform:translateY(-1px);filter:brightness(.99)}.btn.primary{background:var(--grad);color:#fff;box-shadow:0 8px 20px rgba(79,70,229,.18)}.btn.glow{box-shadow:0 10px 28px rgba(89,66,232,.30)}.btn.danger{background:#fee8ec;color:#b91c3d}.btn.success{background:#ddf9ec;color:#0a7b51}.btn.warn{background:#fff0db;color:#a85d0a}.btn.sm{padding:7px 10px;border-radius:8px;font-size:11px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.search{width:min(440px,100%);padding:13px 15px;border:1px solid var(--line);border-radius:14px;background:#fbfdff;outline:none}.search:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:#9bbcff;box-shadow:0 0 0 4px rgba(36,104,255,.08)}.category-btn{border:1px solid #d6e0ed;border-radius:999px;padding:8px 12px;background:#fff;font-weight:900;cursor:pointer;font-size:11px}.category-btn.active{background:var(--grad);color:#fff;border-color:transparent}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-weight:900;font-size:12px}.field input,.field select,.field textarea{width:100%;padding:12px 13px;border:1px solid #cfd9e7;border-radius:11px;background:#fff;outline:none}.field textarea{min-height:95px;resize:vertical}.field small{font-size:10px}.notice{padding:13px 15px;border-radius:12px;margin-bottom:16px;border:1px solid;font-size:13px}.notice.info{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.notice.success{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.notice.error{background:#fff0f2;border-color:#ffc5cf;color:#b91c3b}.notice.warn{background:#fff7e8;border-color:#ffd89d;color:#9a5b0d}.announcement{border:1px solid #d7e5ff;background:linear-gradient(120deg,#f7fbff,#faf5ff);padding:13px 16px;border-radius:15px;margin-bottom:12px}.announcement b{display:block;margin-bottom:3px}.table-wrap{overflow:auto;border-radius:14px;border:1px solid #e7edf6}.table{width:100%;border-collapse:collapse;font-size:12px;background:#fff}.table th,.table td{padding:12px;border-bottom:1px solid #e9eef6;text-align:left;white-space:nowrap}.table th{color:#5c6d86;background:#f8fbff;font-size:10px;text-transform:uppercase;letter-spacing:.04em}.table tr:hover td{background:#fbfdff}.badge.ok{background:#dcfce7;color:#15803d;border-color:#bbf7d0}.badge.bad{background:#fee2e2;color:#b91c1c;border-color:#fecaca}.badge.warn{background:#ffedd5;color:#b45309;border-color:#fed7aa}.badge.muted{background:#eef2f7;color:#64748b;border-color:#dbe3ec}.login-page{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr;background:radial-gradient(circle at 20% 10%,#d8f0ff,transparent 31%),radial-gradient(circle at 90% 0,#f0ddff,transparent 30%),#f5f7ff}.login-brand{margin:28px 0 28px 4vw;background:linear-gradient(145deg,#0d2e6e,#165cca 58%,#6932db);color:#fff;border-radius:30px;padding:52px;display:flex;flex-direction:column;justify-content:center;box-shadow:var(--shadow-lg);position:relative;overflow:hidden}.login-brand:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-130px;bottom:-150px;background:rgba(255,255,255,.12)}.login-brand img{width:72px;height:72px;background:#fff;border-radius:20px;padding:8px}.login-brand h1{font-size:48px;line-height:1.03;margin:24px 0 16px}.login-brand p{color:#d8e8ff;font-size:17px;max-width:600px}.login-feature{display:flex;gap:10px;align-items:center;font-weight:800;font-size:13px}.login-card-wrap{display:grid;place-items:center;padding:35px}.login-card{width:min(540px,100%);background:rgba(255,255,255,.9);backdrop-filter:blur(18px);border:1px solid var(--line);border-radius:25px;padding:31px;box-shadow:var(--shadow-lg)}.login-card h2{font-size:28px;margin:0 0 8px}.brand-mark{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#eef4ff,#f5e9ff);display:grid;place-items:center;font-size:24px;margin-bottom:15px}.login-links{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}.mini-link{padding:13px;border:1px solid var(--line);border-radius:12px;text-align:center;font-weight:900;font-size:11px;background:#fff}.login-foot{margin-top:18px;font-size:11px;color:var(--muted);line-height:1.5}.split{display:grid;grid-template-columns:2fr 1fr;gap:20px}.kv{display:grid;grid-template-columns:185px 1fr;border-bottom:1px solid #e8edf5;padding:10px 0;gap:12px}.kv b{color:#5f7088;font-size:12px}.right{text-align:right}.file-link{color:#1261ce;font-weight:900}.cards-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.control-card{background:linear-gradient(145deg,#fff,#fbfcff);border:1px solid var(--line);border-radius:18px;padding:18px;min-height:128px;transition:.2s ease}.control-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.control-card h3{margin:0 0 8px}.pagination{display:flex;gap:8px;margin-top:14px}.pagination a{padding:8px 11px;background:#fff;border:1px solid var(--line);border-radius:8px}.legal-note{font-size:10px;color:#71819a;margin-top:12px;line-height:1.5}.quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.quick-card{padding:16px;border:1px solid var(--line);background:linear-gradient(145deg,#fff,#f8fbff);border-radius:16px;min-height:105px}.quick-card .qicon{font-size:24px}.quick-card b{display:block;margin-top:10px;font-size:12px}.stack-actions{display:flex;gap:9px;flex-wrap:wrap}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.empty .emoji{font-size:42px}.timeline{display:grid;gap:0}.timeline-row{display:grid;grid-template-columns:22px 1fr;gap:10px;min-height:56px}.timeline-dot{width:13px;height:13px;border-radius:50%;background:#4d67ef;margin-top:4px;box-shadow:0 0 0 5px #eef1ff}.timeline-row:not(:last-child) .timeline-dot:after{content:"";display:block;width:2px;height:45px;background:#dce4f7;margin:13px auto 0}.chat-shell{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px}.thread-list{max-height:650px;overflow:auto}.thread-item{display:block;padding:13px;border:1px solid var(--line);border-radius:14px;margin-bottom:9px;background:#fff}.thread-item.active{border-color:#9db9ff;background:#f2f6ff}.thread-item b{display:block;font-size:12px}.thread-item small{color:var(--muted)}.chat-box{height:560px;overflow:auto;padding:16px;background:linear-gradient(180deg,#f8fbff,#faf8ff);border:1px solid var(--line);border-radius:16px}.bubble{max-width:78%;padding:11px 13px;border-radius:15px;margin:8px 0;background:#fff;border:1px solid #e0e8f5;box-shadow:0 4px 12px rgba(34,55,100,.04);font-size:12px;line-height:1.5}.bubble.mine{margin-left:auto;background:linear-gradient(125deg,#315ff4,#7148e8);color:#fff;border-color:transparent}.bubble small{display:block;opacity:.72;margin-top:5px;font-size:9px}.chat-compose{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:10px}.chat-compose textarea{min-height:48px;max-height:120px;padding:12px;border:1px solid var(--line);border-radius:13px;resize:vertical}.field-builder{display:grid;gap:10px}.field-row{display:grid;grid-template-columns:1.1fr 1.3fr .9fr 1.3fr auto auto;gap:8px;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fafcff}.field-row input,.field-row select{padding:9px;border:1px solid #d6dfed;border-radius:9px;width:100%}.switch{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.metric-bar{height:9px;background:#eef2f9;border-radius:999px;overflow:hidden;margin-top:8px}.metric-bar i{display:block;height:100%;background:var(--grad);border-radius:999px}.superchat-float{position:fixed;right:24px;bottom:24px;z-index:45;background:var(--grad);color:#fff;padding:13px 18px;border-radius:999px;box-shadow:0 18px 38px rgba(75,50,211,.30);font-weight:900;font-size:12px}.superchat-float .ping{display:inline-block;width:8px;height:8px;border-radius:50%;background:#44f3a7;margin-right:7px;box-shadow:0 0 0 4px rgba(68,243,167,.18)}.mobile-menu{display:none}.profile-card{display:flex;gap:15px;align-items:center}.avatar{width:64px;height:64px;border-radius:20px;background:var(--grad);color:#fff;display:grid;place-items:center;font-size:24px;font-weight:900}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#f3f6fb;padding:3px 6px;border-radius:6px;font-size:11px}.color-dot{width:16px;height:16px;border-radius:50%;display:inline-block;vertical-align:middle;margin-right:6px}.kpi-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.kpi-pill{background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900}.proof-box{padding:14px;border:1px dashed #b9c9e5;border-radius:14px;background:#f9fbff}.status-tile{padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff}.status-tile strong{display:block;font-size:22px;margin-top:5px}.page-note{font-size:11px;padding:10px 13px;background:#f7f9ff;border:1px solid #e4e9f7;border-radius:12px;color:#66738d}
@media(max-width:1200px){.services-grid{grid-template-columns:repeat(3,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.cards-3{grid-template-columns:repeat(2,1fr)}.quick-grid{grid-template-columns:repeat(3,1fr)}.field-row{grid-template-columns:1fr 1fr 1fr}.field-row .wide{grid-column:span 2}}
@media(max-width:850px){.sidebar{transform:translateX(-100%);width:252px;transition:.25s}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.mobile-menu{display:grid}.content{padding:16px}.services-grid{grid-template-columns:repeat(2,1fr)}.login-page{grid-template-columns:1fr}.login-brand{display:none}.form-grid,.split,.two-col,.chat-shell{grid-template-columns:1fr}.field.full{grid-column:auto}.cards-3{grid-template-columns:1fr}.topbar{padding:10px 15px}.chat-box{height:460px}}
@media(max-width:570px){.services-grid,.stats,.quick-grid{grid-template-columns:1fr}.topbar h1{font-size:16px}.wallet-pill{padding:8px 10px}.content{padding:12px}.hero{padding:21px}.hero h2{font-size:23px}.hero-icon{display:none}.service-card{min-height:230px}.login-card-wrap{padding:16px}.login-card{padding:22px}.kv{grid-template-columns:1fr;gap:4px}.login-links{grid-template-columns:1fr}.field-row{grid-template-columns:1fr}.field-row .wide{grid-column:auto}.superchat-float{right:14px;bottom:14px;padding:12px 15px}.bubble{max-width:90%}}

/* === MG PRINT PORTAL SIGNATURE GLOSS V3 === */
:root{--lux-navy:#07152f;--lux-navy-2:#0d2452;--lux-electric:#4c7dff;--lux-purple:#8b5cf6;--lux-gold:#f6c453;--lux-glass:rgba(255,255,255,.78);--lux-border:rgba(255,255,255,.42)}
body{background:radial-gradient(circle at 15% -10%,rgba(76,125,255,.20),transparent 31%),radial-gradient(circle at 92% 5%,rgba(139,92,246,.19),transparent 27%),linear-gradient(145deg,#eef4ff 0%,#f8f9ff 45%,#f3efff 100%);background-attachment:fixed}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(rgba(26,55,110,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(26,55,110,.028) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,black,transparent 88%)}
.sidebar{width:284px;background:linear-gradient(180deg,rgba(7,21,47,.985),rgba(10,30,68,.975) 52%,rgba(17,28,67,.985));border-right:1px solid rgba(134,169,255,.18);box-shadow:22px 0 80px rgba(16,29,72,.24);padding:14px 12px}
.brand{height:auto;min-height:92px;border:1px solid rgba(255,255,255,.10);border-radius:22px;padding:15px;background:linear-gradient(135deg,rgba(255,255,255,.11),rgba(255,255,255,.045));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 18px 40px rgba(0,0,0,.14)}
.brand img{width:54px;height:54px;background:linear-gradient(145deg,#fff,#eaf0ff);border-radius:17px;padding:7px;box-shadow:0 12px 30px rgba(91,125,255,.25)}
.brand b{font-size:14px;letter-spacing:.06em;color:#fff}.brand small{color:#9db2dc;font-size:9px;line-height:1.35;display:block;margin-top:4px}
.sidebar nav{padding:16px 2px 10px}.nav-section{color:#6f8ab8;font-size:9px;letter-spacing:.18em;margin:19px 12px 9px}
.nav-item{position:relative;min-height:49px;border:1px solid rgba(255,255,255,.075);background:linear-gradient(110deg,rgba(255,255,255,.055),rgba(255,255,255,.025));color:#dbe7ff;border-radius:15px;margin-bottom:8px;padding:10px 12px;font-size:12.5px;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.nav-item:before{content:"";width:31px;height:31px;flex:0 0 31px;margin-right:1px;border-radius:10px;background:linear-gradient(135deg,rgba(99,142,255,.24),rgba(159,104,255,.18));border:1px solid rgba(146,177,255,.18);position:absolute;left:7px;top:8px;z-index:0}
.nav-item span{position:relative;z-index:1;margin-left:28px}.nav-item:hover{transform:translateX(4px);color:#fff;border-color:rgba(128,169,255,.32);background:linear-gradient(110deg,rgba(58,107,234,.30),rgba(123,70,215,.22));box-shadow:0 12px 26px rgba(0,0,0,.18)}
.nav-item.hot{background:linear-gradient(120deg,rgba(111,78,255,.31),rgba(40,113,255,.20));border-color:rgba(151,136,255,.35);box-shadow:0 0 0 1px rgba(119,105,255,.06),0 12px 28px rgba(67,39,186,.18)}
.side-user{border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.035));padding:14px;color:#fff}.side-user small{color:#9db2dc}.side-user .pid{color:#a7c6ff}.side-user a{background:rgba(239,63,100,.12);color:#ff9daf;width:max-content;padding:6px 9px;border-radius:8px}
.main{margin-left:284px}.topbar{min-height:82px;margin:0;padding:13px 28px;background:rgba(247,250,255,.72);border-bottom:1px solid rgba(202,214,239,.72);backdrop-filter:blur(22px) saturate(1.25);box-shadow:0 10px 35px rgba(30,48,96,.055)}.topbar h1{font-size:21px;letter-spacing:-.02em}.topbar .sub{color:#7383a0}.wallet-pill{background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(237,241,255,.92));border:1px solid rgba(170,190,232,.6);box-shadow:0 10px 25px rgba(44,69,129,.09);color:#153e91}.icon-btn{background:rgba(255,255,255,.82);border-color:rgba(180,197,230,.7);box-shadow:0 8px 20px rgba(35,57,110,.07)}
.content{padding:30px 32px 42px}.hero{border:1px solid rgba(255,255,255,.33);background:radial-gradient(circle at 82% 18%,rgba(255,255,255,.20),transparent 26%),linear-gradient(125deg,#133f9f 0%,#4b4ee8 43%,#8a43df 78%,#be55da 100%);box-shadow:0 28px 70px rgba(69,60,180,.24),inset 0 1px 0 rgba(255,255,255,.25);border-radius:30px}.hero:before{filter:blur(2px)}
.panel,.stat,.service-card,.control-card,.quick-card,.status-tile{background:linear-gradient(145deg,rgba(255,255,255,.91),rgba(250,252,255,.77));border:1px solid rgba(202,214,238,.78);box-shadow:0 18px 46px rgba(27,44,92,.085),inset 0 1px 0 rgba(255,255,255,.88)}
.panel{border-radius:23px}.stat{border-radius:20px;overflow:hidden}.stat:before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:linear-gradient(90deg,#4f7dff,#8b5cf6,#e55fbd)}.stat strong{font-weight:900;letter-spacing:-.035em}
.service-card{border-radius:24px;padding:20px;min-height:285px}.service-card:hover{transform:translateY(-7px) scale(1.006);border-color:rgba(119,151,235,.6);box-shadow:0 28px 70px rgba(36,54,110,.16)}.service-icon{width:58px;height:58px;border-radius:19px;background:linear-gradient(145deg,#fff,#eef2ff);box-shadow:0 12px 28px rgba(58,83,152,.12);border:1px solid rgba(196,209,238,.9)}.service-card h3{font-size:17px;letter-spacing:-.02em}.chip,.badge{background:rgba(239,245,255,.85);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.btn{border-radius:13px;min-height:39px}.btn.primary{background:linear-gradient(120deg,#2d6cff 0%,#6c50f5 58%,#9347e4 100%);box-shadow:0 12px 28px rgba(70,75,219,.23),inset 0 1px 0 rgba(255,255,255,.23)}.btn.primary:hover{box-shadow:0 16px 35px rgba(70,75,219,.31)}
.search,.field input,.field select,.field textarea{background:rgba(255,255,255,.82);border-color:rgba(188,202,231,.85);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.table-wrap{border-radius:18px;box-shadow:0 10px 30px rgba(27,48,94,.05)}.table th{background:linear-gradient(180deg,#f8fbff,#f2f6fd)}.table tbody tr{transition:.15s}.table tr:hover td{background:#f4f7ff}
.superchat-float{right:26px;bottom:26px;padding:14px 20px;border:1px solid rgba(255,255,255,.33);background:linear-gradient(120deg,#1b64ed,#6948e9 56%,#9d45db);box-shadow:0 22px 50px rgba(65,54,187,.34),inset 0 1px 0 rgba(255,255,255,.25)}
.login-page{background:radial-gradient(circle at 12% 8%,rgba(64,121,255,.25),transparent 28%),radial-gradient(circle at 92% 8%,rgba(166,76,230,.25),transparent 30%),linear-gradient(145deg,#edf4ff,#f7f5ff)}.login-brand{background:radial-gradient(circle at 76% 18%,rgba(255,255,255,.16),transparent 23%),linear-gradient(145deg,#071c44,#174fae 45%,#613cc6 78%,#972e9e);border:1px solid rgba(255,255,255,.17);box-shadow:0 35px 90px rgba(35,47,126,.28)}.login-card{background:rgba(255,255,255,.84);border:1px solid rgba(255,255,255,.72);box-shadow:0 35px 80px rgba(50,57,126,.16),inset 0 1px 0 #fff}
@media(max-width:850px){.sidebar{width:284px}.main{margin-left:0}.content{padding:18px}.topbar{padding:11px 16px}}

/* === MG PRINT PORTAL SIGNATURE V4 : AURORA COMMAND UI === */
:root{--role:#4f7cff;--role2:#8b5cf6;--role-soft:rgba(79,124,255,.14);--ink-v4:#0d1730;--glass-v4:rgba(255,255,255,.72);--glass-line:rgba(190,207,240,.62);--navy-v4:#06142f}
body.role-admin{--role:#4f7cff;--role2:#a855f7;--role-soft:rgba(79,124,255,.16)}body.role-super_distributor{--role:#7c3aed;--role2:#ec4899;--role-soft:rgba(124,58,237,.14)}body.role-distributor{--role:#0ea5e9;--role2:#6366f1;--role-soft:rgba(14,165,233,.14)}body.role-retailer{--role:#059669;--role2:#06b6d4;--role-soft:rgba(5,150,105,.14)}body.role-user{--role:#2563eb;--role2:#14b8a6;--role-soft:rgba(37,99,235,.14)}
.ambient-orb{position:fixed;z-index:-2;border-radius:999px;filter:blur(20px);pointer-events:none;opacity:.58}.orb-a{width:520px;height:520px;left:12%;top:-290px;background:radial-gradient(circle,rgba(69,127,255,.30),transparent 68%)}.orb-b{width:620px;height:620px;right:-230px;bottom:-300px;background:radial-gradient(circle,rgba(157,78,221,.23),transparent 68%)}
.sidebar{width:296px;padding:13px 12px 12px;background:radial-gradient(circle at 20% 0,rgba(83,117,255,.20),transparent 29%),linear-gradient(180deg,#06142f 0%,#081a3a 48%,#0b1533 100%);overflow:hidden}.side-glow{position:absolute;pointer-events:none;width:180px;height:180px;border-radius:50%;right:-95px;top:90px;background:var(--role);filter:blur(65px);opacity:.18}.brand{position:relative;min-height:94px;gap:11px;border-radius:24px;padding:13px 14px;background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.035));border-color:rgba(255,255,255,.12);overflow:hidden}.brand:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 0 42%,rgba(255,255,255,.12) 50%,transparent 58%);transform:translateX(-130%);animation:brandSweep 8s ease-in-out infinite}.brand-mark{width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,#fff,#eaf0ff);display:grid;place-items:center;box-shadow:0 14px 32px rgba(36,87,214,.28),inset 0 1px 0 #fff;flex:0 0 auto}.brand img{width:45px;height:45px;padding:3px;background:none;border-radius:12px;box-shadow:none}.brand b{font-size:13.5px;letter-spacing:.075em}.brand small{max-width:150px}.brand-live{position:absolute;right:12px;top:11px;width:8px;height:8px;border-radius:50%;background:#43f59c;box-shadow:0 0 0 5px rgba(67,245,156,.11),0 0 18px rgba(67,245,156,.5);z-index:2}@keyframes brandSweep{0%,70%{transform:translateX(-130%)}85%,100%{transform:translateX(130%)}}
.side-command{padding:11px 2px 0}.command-launch{width:100%;height:43px;border:1px solid rgba(133,166,242,.20);background:linear-gradient(110deg,rgba(70,113,232,.19),rgba(136,72,218,.14));color:#eaf1ff;border-radius:14px;display:flex;align-items:center;gap:9px;padding:0 11px;font-weight:850;font-size:11.5px;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}.command-launch:hover{border-color:rgba(142,177,255,.42);background:linear-gradient(110deg,rgba(70,113,232,.29),rgba(136,72,218,.21))}.command-launch svg{width:17px;height:17px;fill:#a9c4ff}.command-launch span{flex:1;text-align:left}.command-launch kbd{font-size:9px;color:#8ea7d5;border:1px solid rgba(255,255,255,.11);background:rgba(0,0,0,.15);padding:3px 5px;border-radius:6px}
.sidebar nav{padding:14px 2px 9px}.nav-item{position:relative;gap:9px;min-height:49px;padding:7px 9px;color:#cbdaf7;background:transparent;border:1px solid transparent;border-radius:15px;margin-bottom:5px;overflow:hidden}.nav-item:before{display:none}.nav-ico{width:35px;height:35px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);flex:0 0 auto;position:relative;z-index:2}.nav-ico svg{width:17px;height:17px;fill:#9eb8e8;transition:.2s}.nav-label{margin-left:0!important;position:relative;z-index:2;white-space:nowrap}.nav-item:after{content:"";position:absolute;left:-8px;top:8px;bottom:8px;width:3px;border-radius:9px;background:linear-gradient(var(--role),var(--role2));opacity:0;box-shadow:0 0 16px var(--role)}.nav-item:hover{transform:translateX(2px);background:linear-gradient(110deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border-color:rgba(255,255,255,.08)}.nav-item:hover .nav-ico svg{fill:#fff}.nav-item.active{color:#fff;background:linear-gradient(110deg,var(--role-soft),rgba(255,255,255,.055));border-color:rgba(154,180,244,.18);box-shadow:0 10px 28px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.055)}.nav-item.active:after{opacity:1}.nav-item.active .nav-ico{background:linear-gradient(135deg,var(--role),var(--role2));border-color:rgba(255,255,255,.18);box-shadow:0 10px 22px color-mix(in srgb,var(--role) 34%,transparent)}.nav-item.active .nav-ico svg{fill:#fff}.nav-item.hot .nav-ico{background:linear-gradient(135deg,rgba(112,74,255,.4),rgba(46,112,255,.3))}.nav-badge{margin-left:auto;position:relative;z-index:2}.nav-section{display:flex;align-items:center;gap:9px;margin:16px 10px 7px;color:#6f89b6}.nav-section i{height:1px;flex:1;background:linear-gradient(90deg,rgba(112,141,197,.28),transparent)}
.side-tools{padding:0 2px 9px}.side-tool{width:100%;height:42px;border:1px solid rgba(255,255,255,.075);background:rgba(255,255,255,.035);border-radius:13px;color:#aabde0;display:flex;align-items:center;gap:9px;padding:0 11px;cursor:pointer}.side-tool svg{width:16px;height:16px;fill:#9fb6e3}.side-tool span{font-size:11px;font-weight:800;flex:1;text-align:left}.side-tool b{font-size:9px;letter-spacing:.06em;color:#d8e6ff;background:rgba(255,255,255,.07);padding:4px 7px;border-radius:7px}.side-user{display:flex;align-items:center;gap:10px;grid-template-columns:none;padding:11px;border-radius:17px}.side-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,var(--role),var(--role2));color:#fff;font-size:11px;font-weight:950;box-shadow:0 10px 24px color-mix(in srgb,var(--role) 28%,transparent)}.side-user-copy{min-width:0;display:grid;gap:1px;flex:1}.side-user-copy b{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-user-copy small{font-size:9px}.side-user-copy .pid{font-size:8.5px}.side-logout{width:29px;height:29px!important;padding:0!important;margin:0!important;border-radius:10px!important;display:grid;place-items:center;background:rgba(239,63,100,.10)!important;color:#ff8fa5!important}
.main{margin-left:296px}.topbar{min-height:78px;background:rgba(249,251,255,.67);border-bottom-color:rgba(189,204,235,.58)}.topbar:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,var(--role),var(--role2),transparent);opacity:.28}.wallet-pill{position:relative;overflow:hidden}.wallet-pill:before{content:"WALLET";font-size:8px;letter-spacing:.12em;margin-right:8px;color:#8292b0}.icon-btn{transition:.2s}.icon-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(35,57,110,.12)}
.hero{background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.20),transparent 26%),linear-gradient(125deg,color-mix(in srgb,var(--role) 85%,#0f2b68),var(--role) 45%,var(--role2));}.hero:before{background:conic-gradient(from 45deg,rgba(255,255,255,.18),transparent,rgba(255,255,255,.08));width:310px;height:310px;right:-90px;top:-120px}.hero-icon{animation:heroFloat 4.5s ease-in-out infinite;box-shadow:0 16px 35px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.24)}@keyframes heroFloat{50%{transform:translateY(-7px) rotate(2deg)}}
.stat{transition:.2s}.stat:hover{transform:translateY(-3px);box-shadow:0 22px 54px rgba(29,45,92,.13)}.stat:before{background:linear-gradient(90deg,var(--role),var(--role2),#e55fbd)}.quick-card{position:relative;overflow:hidden;transition:.22s}.quick-card:after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-42px;top:-45px;background:var(--role);opacity:.06}.quick-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--role) 32%,#cbd7ef);box-shadow:0 24px 56px rgba(32,49,99,.13)}
.superchat-float{display:flex;align-items:center;gap:10px;border-radius:18px;padding:10px 14px 10px 10px}.superchat-orb{width:35px;height:35px;border-radius:12px;background:rgba(255,255,255,.16);display:grid;place-items:center;border:1px solid rgba(255,255,255,.16)}.superchat-orb svg{width:17px;height:17px;fill:#fff}.superchat-float>span:nth-child(2){display:grid;font-size:11px;line-height:1.15}.superchat-float small{font-size:7px;letter-spacing:.12em;opacity:.74}.superchat-float .ping{position:absolute;right:-3px;top:-3px;margin:0;width:9px;height:9px}
.pulse-panel{overflow:hidden;position:relative}.pulse-panel:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-90px;top:-120px;background:var(--role);opacity:.06}.pulse-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:15px}.pulse-kpi{font-size:10px;font-weight:900;padding:7px 10px;border-radius:999px;background:var(--role-soft);color:var(--role);border:1px solid color-mix(in srgb,var(--role) 20%,transparent)}.pulse-chart{height:180px;display:grid;grid-template-columns:repeat(7,1fr);gap:12px;align-items:end;padding:14px 6px 0;position:relative}.pulse-chart:before,.pulse-chart:after{content:"";position:absolute;left:0;right:0;height:1px;background:#e9eef8}.pulse-chart:before{top:45px}.pulse-chart:after{top:100px}.pulse-col{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;position:relative;z-index:2}.pulse-bar-wrap{height:135px;width:min(34px,70%);display:flex;align-items:flex-end;border-radius:12px;background:linear-gradient(180deg,rgba(224,232,248,.52),rgba(238,243,251,.85));padding:3px}.pulse-bar{width:100%;height:0;border-radius:9px;background:linear-gradient(180deg,var(--role2),var(--role));box-shadow:0 10px 22px color-mix(in srgb,var(--role) 22%,transparent);transition:height .75s cubic-bezier(.2,.8,.2,1)}.pulse-col b{font-size:9px;color:#52617b}.pulse-col small{font-size:8px;color:#8c99ae}.pulse-legend{display:flex;gap:14px;align-items:center;font-size:9px;color:#75839c;margin-top:12px}.pulse-legend i{display:inline-block;width:8px;height:8px;border-radius:3px;background:linear-gradient(135deg,var(--role),var(--role2));margin-right:5px}
.command-modal{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:20px;visibility:hidden;opacity:0;transition:.2s}.command-modal.open{visibility:visible;opacity:1}.command-backdrop{position:absolute;inset:0;border:0;background:rgba(4,10,27,.56);backdrop-filter:blur(10px);cursor:default}.command-panel{position:relative;width:min(780px,100%);max-height:min(760px,90vh);overflow:auto;background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(246,249,255,.91));border:1px solid rgba(255,255,255,.72);border-radius:28px;padding:24px;box-shadow:0 40px 120px rgba(3,14,47,.35),inset 0 1px 0 #fff;transform:translateY(12px) scale(.985);transition:.22s}.command-modal.open .command-panel{transform:none}.command-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:18px}.command-kicker{font-size:8px;letter-spacing:.18em;color:var(--role);font-weight:950}.command-head h3{font-size:24px;margin:4px 0}.command-head p{margin:0;color:#71809a;font-size:12px}.command-x{width:38px;height:38px;border-radius:12px;border:1px solid #e0e7f2;background:#fff;font-size:22px;color:#66758f;cursor:pointer}.command-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.command-grid a{min-height:125px;padding:14px;border-radius:18px;border:1px solid #e0e7f2;background:linear-gradient(145deg,#fff,#f8faff);display:flex;flex-direction:column;gap:5px;transition:.2s;box-shadow:0 10px 28px rgba(31,48,93,.05)}.command-grid a:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--role) 35%,#dbe4f4);box-shadow:0 18px 38px rgba(30,47,92,.11)}.command-icon{width:39px;height:39px;border-radius:13px;background:linear-gradient(135deg,var(--role-soft),rgba(139,92,246,.12));display:grid;place-items:center;color:var(--role);font-weight:950;font-size:11px;margin-bottom:4px}.command-grid b{font-size:12px}.command-grid small{color:#7d8aa1;font-size:9px;line-height:1.4}.command-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid #e4eaf4;font-size:9px;color:#8190a8}.command-foot kbd{background:#eef2f8;border:1px solid #d8e1ee;border-radius:6px;padding:3px 6px}.role-sigil{padding:6px 9px;border-radius:999px;background:var(--role-soft);color:var(--role);font-weight:900}.modal-open{overflow:hidden}
html[data-theme="dark"] body{--ink:#ecf3ff;--muted:#91a3c2;--line:#203255;--panel:rgba(11,27,57,.78);--panel-solid:#0c1d3e;background:radial-gradient(circle at 10% -10%,rgba(42,101,213,.20),transparent 30%),radial-gradient(circle at 95% 5%,rgba(131,68,202,.18),transparent 28%),#071126;color:#eaf2ff}html[data-theme="dark"] body:before{background-image:linear-gradient(rgba(129,163,225,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(129,163,225,.04) 1px,transparent 1px)}html[data-theme="dark"] .topbar{background:rgba(7,18,40,.72);border-color:#203257}html[data-theme="dark"] .panel,html[data-theme="dark"] .stat,html[data-theme="dark"] .service-card,html[data-theme="dark"] .quick-card,html[data-theme="dark"] .control-card,html[data-theme="dark"] .status-tile{background:linear-gradient(145deg,rgba(12,29,61,.91),rgba(9,24,51,.82));border-color:#21375e;box-shadow:0 18px 46px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035)}html[data-theme="dark"] .table{background:#0c1d3d;color:#dfe9fb}html[data-theme="dark"] .table th{background:#0a1935;color:#90a4c7}html[data-theme="dark"] .table td,html[data-theme="dark"] .table th{border-bottom-color:#203354}html[data-theme="dark"] .table tr:hover td{background:#102447}html[data-theme="dark"] .search,html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea{background:#0b1d3d;border-color:#294168;color:#eaf2ff}html[data-theme="dark"] .btn{background:#132b50;color:#cfe0ff}html[data-theme="dark"] .btn.primary{background:linear-gradient(120deg,var(--role),var(--role2));color:#fff}html[data-theme="dark"] .wallet-pill,html[data-theme="dark"] .icon-btn{background:#0d2347;border-color:#284266;color:#dce9ff}html[data-theme="dark"] .announcement{background:linear-gradient(120deg,#0b2347,#191d48);border-color:#28456f}html[data-theme="dark"] .command-panel{background:linear-gradient(145deg,rgba(10,25,53,.97),rgba(7,20,43,.96));border-color:#29436e;box-shadow:0 40px 120px rgba(0,0,0,.55)}html[data-theme="dark"] .command-grid a{background:linear-gradient(145deg,#10264a,#0b1d3c);border-color:#243c62}html[data-theme="dark"] .command-x{background:#10274a;border-color:#29456e;color:#d9e6ff}html[data-theme="dark"] .command-foot{border-top-color:#20385d}html[data-theme="dark"] .pulse-chart:before,html[data-theme="dark"] .pulse-chart:after{background:#203657}html[data-theme="dark"] .pulse-bar-wrap{background:linear-gradient(180deg,rgba(26,53,94,.65),rgba(15,35,67,.85))}
@media(max-width:1200px){.command-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.sidebar{width:296px}.main{margin-left:0}.command-grid{grid-template-columns:repeat(2,1fr)}.superchat-float>span:nth-child(2){display:none}.superchat-float{padding:9px;border-radius:15px}}
@media(max-width:570px){.command-panel{padding:18px;border-radius:22px}.command-grid{grid-template-columns:1fr 1fr;gap:8px}.command-grid a{min-height:106px}.pulse-chart{gap:6px}.pulse-bar-wrap{width:75%}}

/* ===== MG PRINT PORTAL SIGNATURE V5 / TITANIUM GLASS ===== */
body.role-master_distributor{--role:#d97706;--role2:#7c3aed;--role-soft:rgba(217,119,6,.15)}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 70% 0%,rgba(99,102,241,.08),transparent 32%),radial-gradient(circle at 18% 82%,rgba(14,165,233,.07),transparent 34%);z-index:-1}
.sidebar{box-shadow:20px 0 70px rgba(2,8,23,.2);border-right:1px solid rgba(148,163,184,.18)}
.sidebar:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(130deg,rgba(255,255,255,.08),transparent 22%,transparent 70%,rgba(99,102,241,.08));mix-blend-mode:screen}
.nav-item{position:relative;overflow:hidden}.nav-item:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--role-soft),transparent);opacity:0;transition:.25s}.nav-item:hover:before,.nav-item.active:before{opacity:1}.nav-item.active{box-shadow:inset 3px 0 0 var(--role),0 12px 30px rgba(2,8,23,.14)}
.panel,.service-card,.stat,.quick-card{backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.premium-panel{position:relative;overflow:hidden}.premium-panel:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--role),var(--role2),transparent)}
.signature-btn{position:relative;overflow:hidden}.signature-btn:after{content:"";position:absolute;top:-60%;left:-30%;width:24%;height:220%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);transform:rotate(18deg);animation:mgshine 3.8s infinite}@keyframes mgshine{0%,58%{left:-35%}90%,100%{left:130%}}
.id-studio-hero,.wallet-hero{position:relative;overflow:hidden;border-radius:28px;padding:26px 28px;margin-bottom:20px;color:white;background:linear-gradient(125deg,#07152f 0%,#142b65 42%,#5134a3 78%,#0f766e 120%);box-shadow:0 24px 70px rgba(15,23,42,.2);border:1px solid rgba(255,255,255,.14);display:flex;align-items:center;justify-content:space-between;gap:24px}
.id-studio-hero:before,.wallet-hero:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-60px;top:-120px;background:rgba(255,255,255,.12);filter:blur(2px)}
.id-studio-hero h2,.wallet-hero h2{font-size:clamp(26px,3vw,40px);margin:5px 0 9px}.id-studio-hero p,.wallet-hero p{max-width:740px;color:rgba(255,255,255,.78)}
.id-sigil{position:relative;z-index:1;min-width:120px;height:120px;border-radius:30px;display:grid;place-items:center;font-weight:900;font-size:34px;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.07));border:1px solid rgba(255,255,255,.3);box-shadow:inset 0 1px rgba(255,255,255,.35),0 18px 40px rgba(0,0,0,.2)}.id-sigil span{font-size:13px;display:block;letter-spacing:3px;margin-left:3px}
.wallet-balance-big{display:inline-flex;flex-direction:column;margin-top:16px;padding:13px 18px;border-radius:18px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.18)}.wallet-balance-big small{font-size:10px;letter-spacing:1.5px;color:rgba(255,255,255,.72)}.wallet-balance-big b{font-size:25px;margin-top:3px}.pay-orb{position:relative;z-index:1;width:112px;height:112px;border-radius:34px;display:grid;place-items:center;font-size:48px;font-weight:900;background:linear-gradient(145deg,#fff,rgba(255,255,255,.68));color:#142b65;box-shadow:0 22px 55px rgba(0,0,0,.24)}
.wallet-grid{align-items:start}.upi-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:center;margin-top:18px}.upi-controls{display:grid;gap:14px}.amount-input{display:flex;align-items:center;border:1px solid var(--border);background:var(--input);border-radius:16px;overflow:hidden}.amount-input span{font-size:22px;font-weight:900;padding:0 0 0 16px}.amount-input input{border:0!important;background:transparent!important;font-size:22px;font-weight:800;box-shadow:none!important}.quick-amounts{display:flex;flex-wrap:wrap;gap:8px}.quick-amounts button{border:1px solid var(--border);background:var(--card);border-radius:999px;padding:9px 13px;font-weight:800;color:var(--text);cursor:pointer;transition:.2s}.quick-amounts button:hover{transform:translateY(-2px);border-color:var(--role);color:var(--role)}
.upi-id-box{padding:14px 15px;border-radius:18px;background:linear-gradient(135deg,var(--role-soft),rgba(255,255,255,.03));border:1px solid color-mix(in srgb,var(--role) 25%,var(--border));display:grid;gap:5px}.upi-id-box small{font-size:10px;letter-spacing:1.5px}.upi-id-box b{font-size:16px;word-break:break-all}.upi-id-box .btn{justify-self:start;margin-top:4px}
.qr-shell{position:relative;display:grid;place-items:center;min-height:330px}.qr-glow{position:absolute;width:230px;height:230px;border-radius:50%;background:linear-gradient(135deg,var(--role),var(--role2));filter:blur(52px);opacity:.24}.qr-card{position:relative;padding:18px;border-radius:27px;background:#fff;border:1px solid rgba(15,23,42,.1);box-shadow:0 24px 55px rgba(15,23,42,.18)}.qr-render{width:210px;height:210px;display:grid;place-items:center;overflow:hidden;border-radius:14px}.qr-render img,.qr-render canvas{max-width:100%;height:auto}.qr-caption{display:flex;flex-direction:column;align-items:center;color:#0f172a;padding-top:10px}.qr-caption b{font-size:11px;letter-spacing:1.7px}.qr-caption span{font-size:20px;font-weight:900;margin-top:2px}.qr-caption small{color:#64748b;margin-top:2px}
.wallet-orb{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,var(--role),var(--role2));color:#fff;font-weight:900;box-shadow:0 10px 25px var(--role-soft)}
.quick-card.signature{background:linear-gradient(135deg,var(--role-soft),rgba(255,255,255,.6));border-color:color-mix(in srgb,var(--role) 35%,var(--border))}
.settings-switch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.register-stage{background:radial-gradient(circle at 15% 15%,rgba(79,70,229,.18),transparent 32%),radial-gradient(circle at 85% 85%,rgba(14,165,233,.16),transparent 34%),var(--bg)}.register-card{box-shadow:0 40px 100px rgba(15,23,42,.18)}
@media(max-width:980px){.upi-layout{grid-template-columns:1fr}.qr-shell{min-height:290px}.settings-switch-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.id-studio-hero,.wallet-hero{padding:22px 20px;border-radius:22px}.id-sigil,.pay-orb{display:none}.settings-switch-grid{grid-template-columns:1fr}.qr-card{transform:scale(.92)}}


/* ===== V5.2 STABILITY / CACHE HOTFIX ===== */
:root{--border:var(--line);--input:#fff;--card:#fff;--text:var(--ink)}
html[data-theme="dark"] body{--border:#294168;--input:#0b1d3d;--card:#0d2347;--text:#eaf2ff}
/* Never allow inline UI SVGs to fall back to browser default 300x150 dimensions. */
.sidebar svg,.topbar svg,.superchat-float svg,.command-launch svg,.side-tool svg,.nav-ico svg{display:block!important;width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;flex:0 0 18px!important}
.nav-ico{overflow:hidden}
.command-modal[hidden]{display:none!important}
.command-modal{pointer-events:none}.command-modal.open{pointer-events:auto}
/* Stable stacking: dashboard can never be covered by decorative layers. */
.ambient-orb,body:before,.sidebar:after,.side-glow{pointer-events:none!important}
.content,.topbar{position:relative}.content{z-index:1}.topbar{z-index:20}.sidebar{z-index:30}.superchat-float{z-index:45}.command-modal{z-index:90}
/* Chromium / CDN-safe fallbacks when advanced color functions are skipped. */
.nav-item.active .nav-ico{box-shadow:0 10px 22px rgba(49,91,220,.28)}
.quick-card:hover{border-color:#aebfea}
.pulse-kpi{border-color:#d8e2f4}
.upi-id-box{border-color:#d5deef}
.quick-card.signature{border-color:#ccd8ed}
@media(max-width:850px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:translateX(0)}}

/* === V5.3 SuperChat Orb Popup === */
.superchat-float.superchat-round{width:58px;height:58px;right:26px;bottom:26px;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.5);background:linear-gradient(135deg,#3568ff,#6f4cff 58%,#bd47e9);box-shadow:0 18px 44px rgba(75,58,207,.38),inset 0 1px 0 rgba(255,255,255,.35);cursor:pointer;overflow:visible}.superchat-round .superchat-orb{width:100%;height:100%;border:0;background:transparent;border-radius:50%;display:grid;place-items:center}.superchat-round .superchat-orb svg{width:23px!important;height:23px!important;max-width:23px!important;max-height:23px!important}.superchat-round .ping{position:absolute!important;right:2px!important;top:1px!important;width:11px!important;height:11px!important;background:#34e69a!important;border:2px solid #fff!important;box-shadow:0 0 0 5px rgba(52,230,154,.16)!important}.superchat-round:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 24px 54px rgba(75,58,207,.46)}
.superchat-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:end;padding:18px;pointer-events:none}.superchat-modal[hidden]{display:none!important}.superchat-modal.open{pointer-events:auto}.superchat-backdrop{position:absolute;inset:0;border:0;background:rgba(4,12,30,.38);backdrop-filter:blur(5px);opacity:0;transition:.2s;cursor:default}.superchat-modal.open .superchat-backdrop{opacity:1}.superchat-popup-panel{position:relative;width:min(560px,calc(100vw - 36px));height:min(760px,calc(100vh - 36px));background:rgba(248,251,255,.98);border:1px solid rgba(255,255,255,.9);border-radius:26px;overflow:hidden;box-shadow:0 32px 90px rgba(13,29,76,.32),0 0 0 1px rgba(107,93,255,.08);transform:translateY(18px) scale(.97);opacity:0;transition:.22s ease;display:grid;grid-template-rows:auto 1fr}.superchat-modal.open .superchat-popup-panel{transform:none;opacity:1}.superchat-popup-head{height:72px;padding:13px 15px 13px 18px;color:#fff;background:linear-gradient(120deg,#0e2f78,#375cff 52%,#8f49dd);display:flex;align-items:center;justify-content:space-between;box-shadow:inset 0 -1px 0 rgba(255,255,255,.14)}.superchat-popup-head>div{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center}.superchat-popup-head b{font-size:15px;letter-spacing:.01em}.superchat-popup-head small{grid-column:2;color:rgba(255,255,255,.72);font-size:9px}.superchat-live-dot{grid-row:1/3;width:11px;height:11px;border-radius:50%;background:#42f0a5;box-shadow:0 0 0 5px rgba(66,240,165,.15),0 0 18px rgba(66,240,165,.8)}.superchat-popup-x{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:13px;background:rgba(255,255,255,.12);color:#fff;font-size:25px;line-height:1;cursor:pointer}.superchat-popup-frame{width:100%;height:100%;border:0;background:#f5f8ff}.popup-embed{background:#f5f8ff}.popup-embed .ambient-orb{display:none}.popup-embed .app-shell{min-height:100vh}.popup-embed .main{margin-left:0!important;min-height:100vh}.popup-embed .topbar{display:none!important}.popup-embed .content{padding:12px!important;max-width:none!important}.popup-embed .chat-shell{grid-template-columns:175px minmax(0,1fr)!important;gap:10px!important}.popup-embed .panel{padding:12px!important;border-radius:16px!important;margin-bottom:0!important;box-shadow:none!important}.popup-embed .panel h2{font-size:16px}.popup-embed .panel h3{font-size:13px}.popup-embed .panel-head{margin-bottom:10px}.popup-embed .thread-list{max-height:210px;overflow:auto}.popup-embed .thread-item{padding:9px!important;border-radius:10px!important}.popup-embed .thread-item b{font-size:10px}.popup-embed .thread-item small{font-size:8px}.popup-embed .field label{font-size:9px}.popup-embed .field input,.popup-embed .field select,.popup-embed .field textarea{padding:8px!important;font-size:10px!important}.popup-embed .chat-box{height:505px!important;border-radius:14px!important}.popup-embed .bubble{font-size:10px!important;max-width:86%!important}.popup-embed .chat-compose{gap:7px!important}.popup-embed .chat-compose textarea{min-height:42px!important;padding:9px!important;font-size:10px!important}.popup-embed .btn{padding:9px 11px!important;font-size:10px!important}.popup-embed .superchat-float,.popup-embed .command-modal,.popup-embed .superchat-modal{display:none!important}
@media(max-width:700px){.superchat-modal{padding:0;place-items:end center}.superchat-popup-panel{width:100vw;height:min(82vh,760px);border-radius:24px 24px 0 0}.superchat-popup-head{height:64px}.superchat-float.superchat-round{right:16px;bottom:16px;width:54px;height:54px}.popup-embed .chat-shell{grid-template-columns:145px minmax(0,1fr)!important}.popup-embed .chat-box{height:430px!important}}
@media(max-width:480px){.popup-embed .chat-shell{grid-template-columns:1fr!important}.popup-embed .chat-shell>aside{max-height:205px;overflow:auto}.popup-embed .chat-box{height:350px!important}.superchat-popup-panel{height:88vh}}

/* === V5.4 UTR-only Dynamic UPI Recharge === */
.qr-render.qr-awaiting{min-height:210px;display:grid;place-items:center;border:1px dashed rgba(78,99,155,.28);border-radius:15px;background:linear-gradient(145deg,rgba(245,249,255,.95),rgba(250,246,255,.95))}
.qr-placeholder{display:grid;place-items:center;gap:10px;text-align:center;color:var(--muted);padding:20px}.qr-placeholder b{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:var(--grad);color:#fff;font-size:28px;box-shadow:0 14px 34px rgba(77,70,220,.20)}.qr-placeholder span{font-size:12px;font-weight:800;max-width:170px;line-height:1.4}
.btn.is-disabled{opacity:.48;filter:grayscale(.15);box-shadow:none;cursor:not-allowed;pointer-events:none}.wallet-paid-btn{width:100%;margin-top:10px}.utr-waiting{min-height:215px;border:1px dashed var(--line);border-radius:18px;display:grid;place-items:center;text-align:center;align-content:center;gap:8px;padding:24px;background:linear-gradient(145deg,rgba(247,250,255,.9),rgba(251,247,255,.9))}.utr-waiting p{margin:0;color:var(--muted);font-size:12px;line-height:1.5;max-width:390px}.utr-wait-icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:#ddf9ec;color:#0a7b51;font-size:25px;font-weight:900}.recharge-summary{padding:14px 16px;border:1px solid #dce5f4;border-radius:16px;background:linear-gradient(125deg,#f4f8ff,#fbf5ff);display:grid;gap:3px}.recharge-summary small{font-size:9px;font-weight:900;letter-spacing:.09em;color:var(--muted)}.recharge-summary strong{font-size:24px}.recharge-summary span{font-size:10px;color:var(--muted);font-weight:700}

/* ===== Signature V5.5 · Treasury + Premium polish ===== */
.treasury-hero{position:relative;overflow:hidden;border-radius:28px;padding:28px 30px;margin-bottom:18px;color:#fff;background:radial-gradient(circle at 82% 10%,rgba(255,255,255,.18),transparent 24%),linear-gradient(120deg,#071b47,#1748a9 44%,#6546d8 76%,#a03fb6);box-shadow:0 28px 70px rgba(39,54,133,.24),inset 0 1px 0 rgba(255,255,255,.18);display:flex;justify-content:space-between;align-items:center;gap:20px}.treasury-hero:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-45px;bottom:-145px;background:rgba(255,255,255,.10);box-shadow:0 0 0 60px rgba(255,255,255,.035)}.treasury-hero>div{position:relative;z-index:1}.treasury-kicker{font-size:9px;font-weight:1000;letter-spacing:.16em;color:#b8d3ff}.treasury-hero h2{font-size:38px;letter-spacing:-.04em;margin:7px 0 8px}.treasury-hero p{max-width:830px;color:#d8e7ff;font-size:12px;line-height:1.65;margin:0}.treasury-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.treasury-meta span{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.15);font-size:9px;font-weight:800}.treasury-orb{width:92px;height:92px;border-radius:27px;display:grid;place-items:center;font-size:44px;font-weight:1000;background:linear-gradient(145deg,rgba(255,255,255,.28),rgba(255,255,255,.09));border:1px solid rgba(255,255,255,.28);box-shadow:0 18px 44px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.35)}.treasury-grid{align-items:stretch}.treasury-grid .panel{height:100%}.treasury-flow{background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(247,250,255,.92));overflow:hidden}.flow-steps{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:10px;align-items:center}.flow-steps>div{min-height:112px;padding:15px;border:1px solid #dfe8f7;border-radius:17px;background:linear-gradient(145deg,#fff,#f8fbff);position:relative;overflow:hidden}.flow-steps>div:after{content:"";position:absolute;width:65px;height:65px;border-radius:50%;right:-25px;top:-25px;background:linear-gradient(135deg,rgba(55,104,255,.12),rgba(182,68,224,.07))}.flow-steps i{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;font-style:normal;color:#fff;font-size:10px;font-weight:1000;background:linear-gradient(135deg,#3569ff,#7a4ff0)}.flow-steps b{display:block;font-size:11px;margin-top:11px}.flow-steps small{display:block;color:var(--muted);font-size:9px;line-height:1.45;margin-top:3px}.flow-steps>span{color:#8aa0cb;font-weight:1000}.treasury-stat{background:linear-gradient(145deg,#fff,#f5f1ff)!important}.treasury-setting{border-color:rgba(111,83,238,.19);background:radial-gradient(circle at 94% -15%,rgba(151,75,232,.12),transparent 32%),var(--panel)}
.nav-item.hot:not(.active){background:transparent!important;border-color:transparent!important;box-shadow:none!important}.nav-item.hot:not(.active) .nav-ico{background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035))!important}
@media(max-width:1050px){.flow-steps{grid-template-columns:1fr 1fr}.flow-steps>span{display:none}}@media(max-width:650px){.treasury-hero{padding:22px}.treasury-hero h2{font-size:30px}.treasury-orb{display:none}.flow-steps{grid-template-columns:1fr}.treasury-meta{gap:5px}}

.nav-button{width:100%;font:inherit;text-align:left;cursor:pointer}.nav-button .nav-label{font-weight:800}
/* V5.6 treasury separation */
.treasury-hero:after{content:"ADMIN ONLY · NO UPI QR";position:absolute;right:28px;bottom:22px;padding:7px 11px;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(255,255,255,.1);font-size:10px;font-weight:900;letter-spacing:.08em;color:#fff;backdrop-filter:blur(8px)}
@media(max-width:760px){.treasury-hero:after{position:static;display:inline-flex;margin-top:12px}}

/* ===== V6.2 Admin Treasury Quick Balance ===== */
.stat-link{display:block;text-decoration:none;color:inherit;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.stat-link:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(61,66,150,.13);border-color:#a9b9ef}.treasury-dashboard-panel{overflow:hidden;background:radial-gradient(circle at 94% 0,rgba(142,79,240,.11),transparent 28%),linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,250,255,.95))}.treasury-dashboard-grid{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,1.7fr);gap:18px;align-items:stretch}.treasury-dashboard-balance{border-radius:22px;padding:20px;background:linear-gradient(135deg,#09265b,#244fc1 54%,#7048df);color:#fff;box-shadow:0 18px 42px rgba(36,73,170,.19);display:flex;flex-direction:column;justify-content:center;min-height:142px}.treasury-dashboard-balance small{font-size:9px;letter-spacing:.12em;font-weight:900;color:#cfe0ff}.treasury-dashboard-balance strong{font-size:32px;letter-spacing:-.035em;margin:7px 0}.treasury-dashboard-balance span{font-size:10px;color:#dce8ff}.treasury-quick-form{border:1px solid #dce5f6;border-radius:22px;padding:18px;background:rgba(255,255,255,.78)}.treasury-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.treasury-input-row input{min-height:48px}.treasury-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;align-items:center}.treasury-presets button,.treasury-presets a{border:1px solid #d8e2f5;background:#f7faff;color:#1b3976;border-radius:999px;padding:8px 11px;font-size:10px;font-weight:900;text-decoration:none;cursor:pointer}.treasury-presets button:hover,.treasury-presets a:hover{border-color:#9eb3e9;background:#eef4ff}.treasury-unlimited-note{margin-top:10px;font-size:9px;color:var(--muted);line-height:1.5}.nav-label .tiny{font-size:8px;opacity:.75}
@media(max-width:900px){.treasury-dashboard-grid{grid-template-columns:1fr}.treasury-input-row{grid-template-columns:1fr}}@media(max-width:520px){.treasury-dashboard-panel{padding:14px}.treasury-dashboard-balance{min-height:118px}.treasury-dashboard-balance strong{font-size:27px}}

/* =========================================================
   V6.24.1 · Government-inspired SAFE / CLEAN / CLEAR UI + realistic service photography
   Important: MG PVT LTD remains clearly identified as a private
   service-assistance portal. No official emblem/seal is reproduced.
   ========================================================= */
:root{
  --gov-navy:#0b3b66;--gov-navy-2:#072b4c;--gov-blue:#165d9c;--gov-saffron:#f28c28;--gov-green:#138808;
  --gov-bg:#f4f7fa;--gov-panel:#ffffff;--gov-line:#d7e0e8;--gov-text:#17212b;--gov-muted:#607080;
  --bg:var(--gov-bg);--panel:#fff;--panel-solid:#fff;--ink:var(--gov-text);--muted:var(--gov-muted);--line:var(--gov-line);
  --blue:var(--gov-blue);--violet:#285f8e;--green:#16804a;--amber:#b86a0b;--red:#b42336;
  --grad:linear-gradient(135deg,var(--gov-navy),var(--gov-blue));
  --shadow:0 6px 20px rgba(26,48,70,.07);--shadow-lg:0 14px 34px rgba(14,45,73,.12)
}
body{background:linear-gradient(180deg,#eef3f7 0,#f7f9fb 220px,#f4f7fa 100%);color:var(--gov-text)}
body:before{content:"";position:fixed;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#ff9933 0 33.33%,#fff 33.33% 66.66%,#138808 66.66% 100%);z-index:9999;pointer-events:none}
.ambient-orb{display:none!important}
.sidebar{background:#082f53;border-right:1px solid #0d426f;box-shadow:8px 0 22px rgba(7,35,60,.12);backdrop-filter:none}
.brand{height:auto;min-height:98px;border-bottom:1px solid rgba(255,255,255,.11);align-items:flex-start;padding:18px 15px;color:#fff}
.brand img{background:#fff;border-radius:12px;padding:5px;filter:none;width:48px;height:48px}
.brand b{color:#fff;font-size:14px;letter-spacing:.03em}.brand small{display:block;color:#c7d7e7;font-size:9px;line-height:1.4;margin-top:4px}
.brand:after{content:"PRIVATE · NOT GOVT";display:inline-flex;margin-left:auto;align-self:flex-start;padding:4px 7px;border-radius:6px;background:#fff3e3;color:#9c5508;font-size:7px;font-weight:1000;letter-spacing:.08em}
.side-command{padding:10px 12px 2px}.command-launch{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important;color:#eef6ff!important;box-shadow:none!important}
.sidebar nav{padding:10px 12px}.nav-item{border:1px solid transparent;background:transparent;color:#dfeaf5;border-radius:8px;padding:10px 11px;margin-bottom:4px;font-size:12px;box-shadow:none}
.nav-item .nav-ico{color:#dfeaf5}.nav-item:hover{transform:none;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.09);box-shadow:none}.nav-item.active{background:#fff;color:#0b3b66;border-color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.12)}.nav-item.active .nav-ico{color:#0b3b66}
.nav-section{color:#91abc0;margin:16px 7px 7px;font-size:8px}.nav-section i{background:rgba(255,255,255,.12)!important}
.side-user{background:#062744;border-top:1px solid rgba(255,255,255,.10);color:#fff}.side-user small,.side-user .pid{color:#b7cbdd}.side-user a{color:#ffb0b8}
.main{background:transparent}.topbar{background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #d9e2ea;box-shadow:0 2px 8px rgba(25,48,70,.04);min-height:70px}.topbar h1{font-size:19px;color:#0c3559}.topbar .sub{color:#6d7a87}
.wallet-pill{background:#f7fafc;border:1px solid #cad7e2;color:#0b4f8a;border-radius:8px;padding:9px 12px}.content{padding:22px;max-width:1680px}
.gov-private-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:9px 13px;border:1px solid #f0cf9f;border-left:4px solid var(--gov-saffron);border-radius:8px;background:#fffaf3;color:#7b4a0c;font-size:10px}.gov-private-banner b{font-size:11px;color:#6d3e07}.gov-private-banner span{text-align:right;color:#7a6246}
.hero{background:linear-gradient(135deg,#0a355d,#145b91 70%,#0f6d60);border:1px solid #0b4d7e;border-radius:14px;box-shadow:0 10px 28px rgba(10,53,93,.16);padding:24px}.hero:before,.hero:after{display:none}.hero h2{font-size:27px;letter-spacing:-.02em}.hero p{color:#e5f0f8;font-size:13px}.hero-icon{border-radius:12px;background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.18);box-shadow:none}.gov-chip{background:rgba(255,255,255,.12)!important;color:#fff!important;border-color:rgba(255,255,255,.24)!important;letter-spacing:.03em}
.stat,.panel,.service-card{background:#fff;border:1px solid #d8e1e9;border-radius:12px;box-shadow:0 5px 16px rgba(31,52,71,.055);backdrop-filter:none}.stat{padding:16px;border-top:3px solid #1c629a}.stat:after{display:none}.stat small{font-size:10px;text-transform:uppercase;letter-spacing:.035em}.stat strong{color:#102f49;font-size:25px}.panel{padding:18px;margin-bottom:18px}.panel h2{color:#0f3c60;font-size:19px}.panel-head{margin-bottom:15px}
.quick-grid{gap:12px!important}.quick-card{border-radius:10px!important;border:1px solid #d7e1e9!important;background:#fff!important;box-shadow:none!important}.quick-card:hover{transform:translateY(-1px)!important;border-color:#9bb7ce!important;box-shadow:0 6px 16px rgba(26,57,84,.07)!important}.quick-card .qicon{background:#edf4f9!important;color:#0b4f8a!important;border-radius:9px!important}.quick-card.signature{background:#f6fbff!important;border-color:#bfd4e5!important}
.btn{border-radius:8px;background:#edf3f7;color:#124c79;border:1px solid #d4e0e9;padding:9px 13px}.btn.primary{background:#145d91;border-color:#145d91;color:#fff;box-shadow:none}.btn.glow{box-shadow:none}.btn.primary:hover{background:#0e4c78}.btn.success{background:#eaf7ef;border-color:#b8dfc5;color:#126b3a}.btn.danger{background:#fff0f1;border-color:#f0c2c8;color:#a51f32}.btn.warn{background:#fff7e8;border-color:#edd1a0;color:#8e570d}
.chip,.badge{border-radius:6px;background:#eef4f8;color:#31566f;border-color:#d4e0e8;padding:5px 7px}.chip.price{background:#ecf8f0;color:#17643a;border-color:#c4e2ce}.chip.featured{background:#fff3e4;color:#955407;border-color:#efd0a5}
.table-wrap{border-radius:8px;border-color:#dce4ea}.table th{background:#eef3f7;color:#38566d}.table th,.table td{padding:11px}.table tr:hover td{background:#f7fafc}
.field input,.field select,.field textarea,.search{border-radius:8px;background:#fff;border-color:#cad6df}.search:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:#6f9fc1;box-shadow:0 0 0 3px rgba(22,93,156,.09)}
.notice{border-radius:8px}.announcement{border-radius:8px;background:#f7fafc;border-color:#d7e4ee}
/* Real-looking original service visuals (non-official) */
.services-grid{gap:14px}.gov-service-card{padding:0!important;min-height:330px!important;overflow:hidden;border-radius:12px!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.gov-service-card:hover{transform:translateY(-2px);border-color:#9eb7c9;box-shadow:0 9px 24px rgba(27,50,70,.09)}.gov-service-card:after{display:none!important}.service-media{height:158px;background:#e9eff4;border-bottom:1px solid #dbe4ea;display:grid;place-items:center;overflow:hidden;position:relative}.service-media img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;filter:saturate(.98) contrast(1.02)}.service-card-body{padding:14px 15px 15px;display:flex;flex:1;flex-direction:column;min-height:0}.gov-service-card h3{margin:0 0 6px;font-size:15px;color:#103a5d}.gov-service-card p{margin:0;min-height:56px;font-size:11px}.gov-service-card.category-card{min-height:300px!important}.gov-service-card.category-card .service-media{height:168px}.gov-service-card.category-card p{min-height:auto}.service-actions{gap:7px}.service-actions .btn{font-size:10px;padding:8px 10px}
.legal-note{background:#f7fafc;border-left:3px solid #94a9ba;padding:10px 12px;border-radius:6px;color:#677684}
.treasury-hero,.treasury-dashboard-balance{background:linear-gradient(135deg,#0a355d,#145d91 70%,#0d6a5a)!important;border-radius:12px!important;box-shadow:none!important}.treasury-dashboard-panel{background:#fff!important}.treasury-quick-form{border-radius:10px;background:#fafcfd}.treasury-presets button,.treasury-presets a{border-radius:6px}
/* Admin-only denser professional tables */
.role-admin .panel{border-color:#d1dce5}.role-admin .topbar{border-top:3px solid #0b3b66}.role-admin .stat{border-top-color:#0b3b66}.role-admin .nav-section span{color:#b6c9d9}
/* Light mode is the official default; dark remains supported but subdued */
html[data-theme="dark"] body{background:#0b1824;color:#e8eef3}html[data-theme="dark"] .panel,html[data-theme="dark"] .stat,html[data-theme="dark"] .service-card,html[data-theme="dark"] .topbar{background:#102335;border-color:#294256}html[data-theme="dark"] .gov-service-card h3,html[data-theme="dark"] .panel h2,html[data-theme="dark"] .topbar h1{color:#e7f1f8}html[data-theme="dark"] .service-media{background:#122b3d;border-color:#294256}html[data-theme="dark"] .gov-private-banner{background:#2b2418;border-color:#6d5a37;color:#f1d6a7}
@media(max-width:800px){.gov-private-banner{align-items:flex-start;flex-direction:column}.gov-private-banner span{text-align:left}.content{padding:15px}.hero{padding:20px}.hero h2{font-size:23px}.service-media{height:145px}.gov-service-card.category-card .service-media{height:152px}}
.admin-service-cell{display:flex;align-items:center;gap:10px;min-width:230px}.admin-service-cell img{width:46px;height:46px;border-radius:8px;object-fit:cover;border:1px solid #d6e0e7;background:#f4f7fa}.admin-service-cell b{display:block;color:#143a58}.admin-service-cell small{display:block;color:#7a8792;font-size:8px;margin-top:3px}
.gov-apply-head{align-items:center}.gov-apply-service{display:flex;align-items:center;gap:14px}.gov-apply-service img{width:76px;height:76px;border-radius:10px;object-fit:cover;border:1px solid #d6e0e8;background:#f4f7fa}.gov-apply-service h2{margin:0 0 5px}.gov-apply-service p{margin:0;max-width:850px}
@media(max-width:650px){.gov-apply-service{align-items:flex-start}.gov-apply-service img{width:62px;height:62px}}

/* =========================================================
   V6.26.0 · Separate Admin / User workspaces
   User: simple service-first interface, no technical API labels.
   Admin: dense administration-only navigation and controls.
   ========================================================= */
.service-logo-badge{position:absolute;left:12px;bottom:12px;width:54px;height:54px;border-radius:13px;background:#fff;border:1px solid rgba(207,218,228,.95);box-shadow:0 5px 15px rgba(24,47,70,.14);display:grid;place-items:center;padding:5px;z-index:3}.service-logo-badge img{width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important}.user-service-card .service-media:after{content:"";position:absolute;inset:auto 0 0 0;height:48px;background:linear-gradient(transparent,rgba(9,29,45,.18));pointer-events:none}.user-service-card .service-card-body{padding-top:16px}.user-service-card h3{font-size:15px}.user-service-card .chips .chip:not(.price):not(.featured){display:none}.user-service-card .service-actions{display:grid;grid-template-columns:minmax(0,1fr) auto}.user-service-card .service-actions .btn.primary{min-width:120px}
.user-simple-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;border:1px solid #d9e3eb;border-left:5px solid #165d9c;border-radius:12px;padding:20px 22px;margin-bottom:18px;box-shadow:0 5px 16px rgba(31,52,71,.05)}.user-simple-hero h2{margin:0 0 5px;color:#123c5e;font-size:24px}.user-simple-hero p{margin:0;color:#647485;font-size:13px}.user-clean-panel{box-shadow:none}.user-private-note{font-size:10px;color:#71808d;background:#f7f9fb;border:1px solid #e1e7ec;border-radius:8px;padding:10px 12px;margin-top:12px}.user-help-card{min-height:180px}.user-stats .stat{border-top-color:#2b73aa}
/* User panel uses a light, service-focused sidebar so it looks clearly different from Admin. */
body:not(.role-admin) .sidebar{background:#fff;border-right:1px solid #d6e1ea;box-shadow:6px 0 18px rgba(24,51,75,.06)}
body:not(.role-admin) .sidebar .brand{background:#f7fbff;border:1px solid #dbe7ef;color:#173d5c;margin-bottom:8px}
body:not(.role-admin) .sidebar .brand b{color:#123c5e}body:not(.role-admin) .sidebar .brand small{color:#71808d}body:not(.role-admin) .sidebar .brand:after{content:"PRIVATE PORTAL";background:#eef6fb;color:#315d7d}
body:not(.role-admin) .sidebar .brand-live{background:#22a06b}
body:not(.role-admin) .sidebar .nav-item{color:#294c67;background:#fff;border-color:transparent}body:not(.role-admin) .sidebar .nav-item:hover{background:#f0f6fa;border-color:#d7e5ee}body:not(.role-admin) .sidebar .nav-item.active{background:#eaf4fb;color:#0d5183;border-color:#bfd8e9;box-shadow:none}body:not(.role-admin) .sidebar .nav-ico{background:#edf4f8;border-color:#dce7ee}body:not(.role-admin) .sidebar .nav-ico svg{fill:#426a86}body:not(.role-admin) .sidebar .nav-item.active .nav-ico{background:#165d9c}body:not(.role-admin) .sidebar .nav-item.active .nav-ico svg{fill:#fff}
body:not(.role-admin) .sidebar .side-tools{border-color:#e0e7ed}body:not(.role-admin) .sidebar .side-tool{color:#385c75;background:#f8fbfd;border-color:#dce6ed}body:not(.role-admin) .sidebar .side-user{background:#f7fafc;border-top-color:#dbe5ec;color:#173d5c}body:not(.role-admin) .sidebar .side-user small,body:not(.role-admin) .sidebar .side-user .pid{color:#71808d}
/* Admin workspace: darker slate administration shell and stronger table/control hierarchy. */
.role-admin .sidebar{background:linear-gradient(180deg,#18212d,#111a25 55%,#0d151f);border-right-color:#273646;box-shadow:10px 0 26px rgba(5,14,24,.16)}.role-admin .brand{background:#202c39;border-color:#334252}.role-admin .brand:after{content:"ADMIN";background:#e8eef4;color:#273a4c}.role-admin .nav-item{color:#d6e0ea}.role-admin .nav-item:hover{background:#243342}.role-admin .nav-item.active{background:#eaf0f5;color:#172b3d;border-color:#eaf0f5}.role-admin .nav-item.active .nav-ico{background:#344f67}.role-admin .nav-section{color:#8ea2b4}.role-admin .side-user{background:#0b131c}.role-admin .topbar{border-top:4px solid #334f67}.role-admin .content{max-width:1800px}.admin-hero-simple{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;background:#1b2a38;color:#fff;border:1px solid #2d4255;border-radius:12px;margin-bottom:18px}.admin-hero-simple span{font-size:9px;font-weight:900;letter-spacing:.15em;color:#a9bdcc}.admin-hero-simple h2{margin:4px 0 5px;font-size:25px}.admin-hero-simple p{margin:0;color:#c8d4de;max-width:850px;font-size:13px}.admin-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-stats .stat{border-top:3px solid #4a647b;box-shadow:none}.admin-control-panel{border-top:4px solid #334f67}.admin-control-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.admin-control-grid>a{display:grid;grid-template-columns:42px 1fr;column-gap:11px;align-items:center;padding:14px;border:1px solid #d9e2e9;border-radius:9px;background:#fff;transition:.15s}.admin-control-grid>a:hover{background:#f5f8fa;border-color:#aebfcb}.admin-control-grid>a>span{grid-row:1/3;width:42px;height:42px;border-radius:8px;background:#edf2f6;display:grid;place-items:center;font-size:20px}.admin-control-grid b{font-size:12px;color:#1b3548}.admin-control-grid small{font-size:9px;color:#73818d;margin-top:3px}.role-admin .quick-card{box-shadow:none}
/* Hide technical integration metadata from user service forms; controls remain present for internal processing. */
body:not(.role-admin) #apiModeOptions>.form-grid{display:none!important}body:not(.role-admin) #apiModeOptions{padding:12px!important;background:#f8fbfd!important;border-color:#dae5ec!important}body:not(.role-admin) #apiModeOptions .notice{font-size:11px}.user-simple-info{color:#315d7d!important;background:#f2f7fa!important;border-color:#d4e3ec!important}.user-consent{font-size:12px!important;color:#203d52}.apply-visual-wrap{position:relative;width:92px;height:78px;flex:0 0 auto}.apply-visual-wrap .apply-photo{width:92px;height:78px;border-radius:10px;object-fit:cover;border:1px solid #d6e0e8;background:#f4f7fa}.apply-visual-wrap .apply-logo{position:absolute;width:38px;height:38px;left:-6px;bottom:-7px;border-radius:9px;background:#fff;padding:3px;border:1px solid #d3dde5;box-shadow:0 4px 10px rgba(23,47,67,.15);object-fit:contain}.gov-apply-service>.apply-visual-wrap+div{min-width:0}.gov-apply-service>img{display:none}
/* Admin service management uses clean service logos rather than large user-facing photos. */
.admin-service-cell img{object-fit:contain;padding:4px;background:#fff;border-radius:9px}
@media(max-width:1100px){.admin-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.user-simple-hero,.admin-hero-simple{align-items:flex-start;flex-direction:column}.admin-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.user-service-card .service-actions{grid-template-columns:1fr}.service-logo-badge{width:48px;height:48px}}
@media(max-width:520px){.admin-control-grid,.admin-stats{grid-template-columns:1fr}.user-simple-hero h2{font-size:20px}}
.portal-technical-hidden{display:none!important}

/* =========================================================
   V6.26.0 · SIMPLE COLOR ADMIN + USER DASHBOARD
   Flat government-office-inspired navigation, clear colors,
   separate Admin/User visual identity, minimal rounded chrome.
   ========================================================= */
:root{--mg-blue:#0b4fa2;--mg-blue2:#1769c2;--mg-navy:#12324f;--mg-green:#198754;--mg-orange:#e68619;--mg-purple:#6f42c1;--mg-cyan:#0d8ea6;--mg-red:#c94a55}
body{background:#f4f7fb!important}
.panel,.stat,.service-card,.user-simple-hero,.admin-hero-simple{border-radius:8px!important;box-shadow:0 2px 8px rgba(27,57,88,.06)!important;backdrop-filter:none!important}
.btn,.icon-btn,.wallet-pill,.search,.field input,.field select,.field textarea,.notice,.announcement,.table-wrap{border-radius:6px!important}
.chip,.badge,.category-btn{border-radius:5px!important}

/* Flat shared sidebar: no floating rounded menu cards */
.sidebar{width:248px!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}
.sidebar:after,.side-glow{display:none!important}
.sidebar .brand{height:78px!important;margin:0!important;border-radius:0!important;padding:13px 16px!important;box-shadow:none!important}
.sidebar .brand-mark{width:44px!important;height:44px!important;border-radius:6px!important;background:#fff!important}
.sidebar .brand-mark img{width:42px!important;height:42px!important}
.sidebar nav{padding:8px 0 12px!important}
.sidebar .nav-section{margin:16px 16px 6px!important;padding:0!important;font-size:9px!important}
.sidebar .nav-item,.sidebar .nav-button{margin:0!important;padding:11px 16px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;font-size:12px!important;min-height:42px}
.sidebar .nav-item:before{display:none!important}
.sidebar .nav-item:hover{transform:none!important;box-shadow:none!important}
.sidebar .nav-ico{width:28px!important;height:28px!important;min-width:28px!important;border:0!important;border-radius:4px!important;box-shadow:none!important}
.sidebar .nav-ico svg{width:16px!important;height:16px!important}
.sidebar .side-tools{padding:8px 12px!important}
.sidebar .side-tool{border-radius:4px!important}
.sidebar .side-user{border-radius:0!important;padding:12px 15px!important}
.main{margin-left:248px!important}

/* Admin: deep blue administration navigation */
.role-admin .sidebar{background:#12324f!important;border-right:1px solid #0c2a44!important}
.role-admin .sidebar .brand{background:#0d2943!important;border-bottom:1px solid #244965!important}
.role-admin .sidebar .brand b{color:#fff!important}.role-admin .sidebar .brand small{color:#b9d2e5!important}.role-admin .sidebar .brand:after{display:none!important}
.role-admin .sidebar .nav-section,.role-admin .sidebar .nav-section span{color:#86a9c4!important}
.role-admin .sidebar .nav-item{color:#dceaf4!important;border-left:4px solid transparent!important}
.role-admin .sidebar .nav-item:hover{background:#183d5d!important;color:#fff!important}
.role-admin .sidebar .nav-item.active{background:#0b5aa9!important;color:#fff!important;border-left-color:#7cc5ff!important}
.role-admin .sidebar .nav-ico{background:rgba(255,255,255,.08)!important}.role-admin .sidebar .nav-ico svg{fill:#cfe5f5!important}.role-admin .sidebar .nav-item.active .nav-ico{background:rgba(255,255,255,.18)!important}.role-admin .sidebar .nav-item.active .nav-ico svg{fill:#fff!important}
.role-admin .sidebar .side-user{background:#0d2943!important;color:#fff!important;border-top:1px solid #244965!important}.role-admin .sidebar .side-user small,.role-admin .sidebar .side-user .pid{color:#9fc0d8!important}
.role-admin .topbar{border-top:0!important;border-bottom:3px solid var(--mg-blue)!important;background:#fff!important}
.role-admin .admin-hero-simple{background:#fff!important;color:#17324a!important;border:1px solid #d6e0e8!important;border-left:5px solid var(--mg-blue)!important;padding:18px 20px!important}
.role-admin .admin-hero-simple span{color:#4b7597!important}.role-admin .admin-hero-simple h2{color:#12324f!important}.role-admin .admin-hero-simple p{color:#687b8b!important}

/* User: brighter blue service navigation, intentionally different from Admin */
body:not(.role-admin) .sidebar{background:#0f5fae!important;border-right:1px solid #0c4d8c!important}
body:not(.role-admin) .sidebar .brand{background:#0b4f95!important;border-bottom:1px solid #2774b6!important}
body:not(.role-admin) .sidebar .brand b{color:#fff!important}body:not(.role-admin) .sidebar .brand small{color:#d6ebfb!important}body:not(.role-admin) .sidebar .brand:after{display:none!important}
body:not(.role-admin) .sidebar .nav-item{color:#eaf6ff!important;border-left:4px solid transparent!important}
body:not(.role-admin) .sidebar .nav-item:hover{background:#146dbf!important;color:#fff!important}
body:not(.role-admin) .sidebar .nav-item.active{background:#fff!important;color:#0b4f95!important;border-left-color:#f2a33b!important}
body:not(.role-admin) .sidebar .nav-ico{background:rgba(255,255,255,.12)!important}body:not(.role-admin) .sidebar .nav-ico svg{fill:#fff!important}body:not(.role-admin) .sidebar .nav-item.active .nav-ico{background:#eaf4fb!important}body:not(.role-admin) .sidebar .nav-item.active .nav-ico svg{fill:#0b4f95!important}
body:not(.role-admin) .sidebar .side-user{background:#0b4f95!important;color:#fff!important;border-top:1px solid #2774b6!important}body:not(.role-admin) .sidebar .side-user small,body:not(.role-admin) .sidebar .side-user .pid{color:#d2e7f8!important}
body:not(.role-admin) .topbar{background:#fff!important;border-bottom:3px solid #0f5fae!important}

/* Colorful dashboard metrics without visual clutter */
.stats{gap:12px!important}.stat{background:#fff!important;border:1px solid #dce4eb!important;border-top:4px solid var(--mg-blue)!important;padding:16px!important;overflow:hidden!important}.stat:after{display:none!important}.stat strong{font-size:25px!important;color:#17324a!important}
.stats .stat:nth-child(8n+1){border-top-color:#1769c2!important}.stats .stat:nth-child(8n+2){border-top-color:#198754!important}.stats .stat:nth-child(8n+3){border-top-color:#e68619!important}.stats .stat:nth-child(8n+4){border-top-color:#6f42c1!important}.stats .stat:nth-child(8n+5){border-top-color:#0d8ea6!important}.stats .stat:nth-child(8n+6){border-top-color:#c94a55!important}.stats .stat:nth-child(8n+7){border-top-color:#5c78c7!important}.stats .stat:nth-child(8n+8){border-top-color:#2c8f75!important}

/* Admin controls: colored icon strips, rectangular clean cards */
.admin-control-panel{border-top:0!important}.admin-control-grid{gap:10px!important}.admin-control-grid>a{border-radius:6px!important;box-shadow:none!important;border:1px solid #dce4eb!important;border-left:4px solid var(--mg-blue)!important;padding:13px!important;background:#fff!important}.admin-control-grid>a:hover{background:#f7fafc!important}.admin-control-grid>a>span{border-radius:5px!important;background:#edf4fb!important;color:#0b4fa2!important}
.admin-control-grid>a:nth-child(6n+1){border-left-color:#1769c2!important}.admin-control-grid>a:nth-child(6n+2){border-left-color:#198754!important}.admin-control-grid>a:nth-child(6n+3){border-left-color:#e68619!important}.admin-control-grid>a:nth-child(6n+4){border-left-color:#6f42c1!important}.admin-control-grid>a:nth-child(6n+5){border-left-color:#0d8ea6!important}.admin-control-grid>a:nth-child(6n+6){border-left-color:#c94a55!important}

/* User dashboard: simple hero and strong service identity */
.user-simple-hero{border-left:5px solid #0f5fae!important;background:#fff!important;padding:18px 20px!important}.user-simple-hero h2{font-size:23px!important}.user-clean-panel{border-top:3px solid #0f5fae!important}
.user-service-grid{gap:14px!important}.user-service-card{border-radius:7px!important;border:1px solid #dce4eb!important;box-shadow:none!important;min-height:0!important}.user-service-card:hover{transform:none!important;box-shadow:0 3px 12px rgba(24,61,93,.09)!important;border-color:#b9ccda!important}.user-service-card .service-media{height:150px!important;border-radius:0!important;background:#eef3f7!important}.user-service-card .service-media>img{width:100%!important;height:100%!important;object-fit:cover!important}.user-service-card .service-media:after{height:36px!important}.service-logo-badge{left:10px!important;bottom:9px!important;width:52px!important;height:52px!important;border-radius:6px!important;padding:4px!important;box-shadow:0 2px 7px rgba(21,49,72,.16)!important}.user-service-card .service-card-body{padding:14px!important}.user-service-card h3{color:#143a58!important;font-size:15px!important}.user-service-card .service-actions .btn.primary{background:#0f5fae!important;box-shadow:none!important;border-radius:5px!important}

/* Tables/forms stay plain and readable */
.table-wrap{box-shadow:none!important}.table th{background:#edf3f8!important;color:#35546d!important}.table tr:hover td{background:#f8fbfd!important}.field input,.field select,.field textarea,.search{background:#fff!important;border-color:#cfdbe5!important}

@media(max-width:850px){.sidebar{width:286px!important}.main{margin-left:0!important}.sidebar .nav-item,.sidebar .nav-button{padding:12px 16px!important}}

/* =========================================================
   V6.27.0 · REFERENCE IMAGE MATCH UI
   Simple flat blue sidebars, colorful KPI tiles, clean admin/user
   dashboards and compact service cards based on user reference.
   ========================================================= */
:root{
  --ref-blue:#0d6efd;--ref-blue-dark:#073b75;--ref-navy:#082f58;
  --ref-green:#18b56a;--ref-orange:#ff8b18;--ref-purple:#7b2ff7;
  --ref-red:#ff3f59;--ref-bg:#f5f8fc;--ref-border:#dce6f0;--ref-text:#17324d;
}
body{background:var(--ref-bg)!important;color:var(--ref-text)!important}
.ambient-orb{display:none!important}
.sidebar{width:238px!important;background:linear-gradient(180deg,#0b4f92 0%,#07345f 100%)!important;border-right:1px solid #06305a!important}
.main{margin-left:238px!important}
.sidebar .brand{height:86px!important;background:#083c70!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.13)!important}
.sidebar .brand b{font-size:14px!important;letter-spacing:.25px!important}.sidebar .brand small{font-size:9px!important;opacity:.9}
.sidebar nav{padding:10px 0!important}.sidebar .nav-section{margin:15px 15px 5px!important;color:#a9c8e5!important}
.sidebar .nav-item,.sidebar .nav-button{min-height:44px!important;padding:10px 15px!important;margin:0!important;border-radius:0!important;border-left:4px solid transparent!important;background:transparent!important;color:#eef8ff!important;font-weight:600!important}
.sidebar .nav-item:hover,.sidebar .nav-button:hover{background:rgba(255,255,255,.07)!important}
.sidebar .nav-item.active{background:#087cf2!important;border-left-color:#8ac7ff!important;color:#fff!important;box-shadow:none!important}
.sidebar .nav-ico{background:transparent!important;width:25px!important;height:25px!important;min-width:25px!important;border-radius:0!important}.sidebar .nav-ico svg{fill:currentColor!important}
.sidebar .side-tools,.sidebar .side-user{background:#07345f!important;border-radius:0!important;border-color:rgba(255,255,255,.12)!important}
.sidebar .side-tool{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff!important}
.sidebar .side-user{padding:13px 14px!important}.sidebar .side-avatar{border-radius:50%!important;background:#297ce0!important}
.role-admin .sidebar,body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#0b4f92,#07345f)!important}
.role-admin .sidebar .nav-item.active,body:not(.role-admin) .sidebar .nav-item.active{background:#087cf2!important;color:#fff!important;border-left-color:#a6d5ff!important}
.role-admin .sidebar .nav-ico,body:not(.role-admin) .sidebar .nav-ico,.role-admin .sidebar .nav-item.active .nav-ico,body:not(.role-admin) .sidebar .nav-item.active .nav-ico{background:transparent!important}.role-admin .sidebar .nav-ico svg,body:not(.role-admin) .sidebar .nav-ico svg,.role-admin .sidebar .nav-item.active .nav-ico svg,body:not(.role-admin) .sidebar .nav-item.active .nav-ico svg{fill:currentColor!important}

.ref-topbar{min-height:76px!important;background:#fff!important;border-bottom:1px solid var(--ref-border)!important;box-shadow:0 2px 8px rgba(25,54,84,.04)!important;padding:12px 22px!important}
.ref-topbar h1{font-size:20px!important;margin:0!important}.ref-topbar .sub{font-size:11px!important;color:#7990a6!important;margin-top:2px!important}
.top-search-wrap{display:flex;align-items:center;gap:5px;background:#f8fbff;border:1px solid var(--ref-border);border-radius:6px;padding:0 8px}.top-search-wrap .top-search{border:0!important;background:transparent!important;width:210px!important;height:36px!important;box-shadow:none!important}.top-search-wrap span{color:#7f95aa}
.ref-content{padding:18px 22px 28px!important;max-width:1600px!important;margin:0 auto!important}
.ref-heading-row{display:flex;align-items:flex-end;justify-content:space-between;margin:2px 0 14px}.ref-heading-row h2{font-size:25px;margin:0;color:#163650}.ref-heading-row p{margin:4px 0 0;color:#7a8ea1;font-size:12px}.ref-date{font-weight:700;color:#31526f;text-align:right}.ref-date small{display:block;font-weight:500;color:#8799aa;font-size:10px;margin-top:2px}

.ref-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-bottom:16px!important}.ref-kpi-grid .stat{position:relative;min-height:118px;border:0!important;border-radius:7px!important;padding:16px 16px 13px 72px!important;color:#fff!important;overflow:hidden;box-shadow:0 4px 12px rgba(29,58,90,.12)!important}.ref-kpi-grid .stat:before{content:"";position:absolute;right:-26px;top:-35px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.09)}.ref-kpi-grid .stat small{display:block;color:rgba(255,255,255,.94)!important;font-size:11px!important}.ref-kpi-grid .stat strong{display:block;color:#fff!important;font-size:25px!important;line-height:1.1;margin-top:4px}.ref-kpi-grid .stat em{display:block;color:rgba(255,255,255,.82);font-style:normal;font-size:9px;margin-top:7px}.kpi-icon{position:absolute;left:16px;top:18px;width:42px;height:42px;border-radius:7px;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:22px;font-weight:800}.kpi-blue{background:linear-gradient(135deg,#1479f8,#0961d2)!important}.kpi-green{background:linear-gradient(135deg,#1dbe72,#0b9857)!important}.kpi-orange{background:linear-gradient(135deg,#ff9b20,#f47608)!important}.kpi-purple{background:linear-gradient(135deg,#8a3ffc,#6022d0)!important}.kpi-red{background:linear-gradient(135deg,#ff4e69,#e32947)!important}

.ref-dashboard-grid{display:grid;gap:14px;margin-bottom:16px}.ref-dashboard-grid.two-col{grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr)}.ref-dashboard-grid .panel,.ref-tools-panel,.ref-popular-panel{background:#fff!important;border:1px solid var(--ref-border)!important;border-radius:7px!important;box-shadow:0 3px 10px rgba(28,62,97,.05)!important;padding:15px!important}.panel-head h2{font-size:15px!important}.panel-head p{font-size:10px!important}.panel-head>a{font-size:10px;color:#087cf2;font-weight:700;text-decoration:none}
.ref-bars{height:190px;display:flex;align-items:flex-end;justify-content:space-around;gap:12px;padding:22px 8px 0;border-bottom:1px solid #dce7f0;background:linear-gradient(to top,rgba(10,119,242,.025),transparent)}.ref-bar-col{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;position:relative}.ref-bar-col i{display:block;width:min(32px,70%);background:linear-gradient(180deg,#4fa5ff,#0d73df);border-radius:4px 4px 0 0}.ref-bar-col small{font-size:9px;color:#7e94a7;margin-bottom:-18px}.ref-bar-value{font-size:9px;color:#54728c;font-weight:700}.ref-recent-list{display:flex;flex-direction:column}.ref-recent-list>a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 2px;border-bottom:1px solid #edf2f6;color:#17324d;text-decoration:none}.ref-recent-list>a:last-child{border-bottom:0}.ref-recent-list b{display:block;font-size:11px}.ref-recent-list small{display:block;color:#7e91a3;font-size:9px;margin-top:2px}

.ref-admin-tools{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important}.ref-admin-tools>a{border:1px solid var(--ref-border)!important;border-radius:7px!important;border-left:0!important;background:#fff!important;text-align:center!important;padding:16px 10px!important;min-height:118px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center}.ref-admin-tools>a>span{width:46px!important;height:46px!important;border-radius:8px!important;display:grid!important;place-items:center!important;font-size:24px!important;margin-bottom:8px!important}.ref-admin-tools>a:nth-child(6n+1)>span{background:#e8f3ff!important}.ref-admin-tools>a:nth-child(6n+2)>span{background:#e7f9ef!important}.ref-admin-tools>a:nth-child(6n+3)>span{background:#fff3e3!important}.ref-admin-tools>a:nth-child(6n+4)>span{background:#f0eaff!important}.ref-admin-tools>a:nth-child(6n+5)>span{background:#e5f7fb!important}.ref-admin-tools>a:nth-child(6n+6)>span{background:#ffe9ed!important}.ref-admin-tools>a b{font-size:11px!important;color:#153650!important}.ref-admin-tools>a small{font-size:9px!important;color:#8293a4!important;text-align:center}

.ref-user-banner{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#eef7ff,#f8fcff)!important;border:1px solid #d6e7f6;border-radius:7px;padding:18px 20px;margin:0 0 16px;min-height:120px}.ref-user-banner h2{font-size:19px;margin:0;color:#173f65}.ref-user-banner p{font-size:11px;color:#64839e;margin:5px 0 13px}.ref-user-illustration{width:165px;height:82px;border-radius:8px;background:linear-gradient(135deg,#d5ecff,#f6fbff);display:grid;place-items:center;font-size:44px;color:#087cf2;position:relative}.ref-user-illustration:before{content:"MG";position:absolute;font-size:12px;font-weight:800;letter-spacing:2px;color:#438ad0}
.ref-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.ref-service-card{border:1px solid var(--ref-border)!important;border-radius:7px!important;overflow:hidden!important;background:#fff!important;box-shadow:none!important}.ref-service-card .service-media{height:105px!important;background:#f4f8fb!important;position:relative}.ref-service-card .service-media>img{width:100%!important;height:100%!important;object-fit:cover!important}.ref-service-card .service-logo-badge{width:46px!important;height:46px!important;left:10px!important;bottom:8px!important;border-radius:6px!important;background:#fff!important}.ref-service-card .service-card-body{padding:11px!important}.ref-service-card h3{font-size:12px!important;margin:0 0 3px!important}.ref-service-card p{font-size:9px!important;line-height:1.35!important;min-height:25px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ref-service-card .chips{margin:6px 0!important}.ref-service-card .chip{font-size:8px!important}.ref-service-card .btn{width:100%;height:32px!important;min-height:32px!important;font-size:10px!important;border-radius:5px!important;background:#087cf2!important}
.ref-user-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.ref-user-shortcuts a,.ref-user-shortcuts button{border:1px solid var(--ref-border);background:#fff;border-radius:7px;min-height:72px;display:flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;color:#21445f;font:inherit;cursor:pointer}.ref-user-shortcuts span{font-size:21px;color:#087cf2}.ref-user-shortcuts b{font-size:10px}.ref-user-shortcuts a:nth-child(2) span{color:#19a964}.ref-user-shortcuts a:nth-child(3) span{color:#6d43d9}.ref-user-shortcuts button span{color:#ee8d17}

/* User service catalog: compact reference-image cards */
.user-service-page .user-simple-hero{display:none!important}.user-service-page .user-clean-panel{border-top:0!important}.user-service-page .user-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.user-service-page .user-service-card{border:1px solid var(--ref-border)!important;border-radius:7px!important;overflow:hidden!important}.user-service-page .user-service-card .service-media{height:125px!important}.user-service-page .user-service-card .service-card-body{padding:12px!important}.user-service-page .user-service-card .service-actions{grid-template-columns:1fr!important}.user-service-page .user-service-card .service-actions .btn:not(.primary){background:#f6f9fc!important;color:#567088!important;border:1px solid #dbe6ef!important}
.user-service-page .user-service-card h3{font-size:13px!important}.user-service-page .user-service-card p{font-size:9px!important}.user-service-page .service-logo-badge{width:48px!important;height:48px!important;border-radius:6px!important}

.user-private-note{font-size:9px!important;color:#8394a3!important;text-align:center;margin:18px auto 0!important}
@media(max-width:1180px){.ref-kpi-grid,.ref-service-grid,.user-service-page .user-category-grid,.user-service-page .user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ref-admin-tools{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ref-dashboard-grid.two-col{grid-template-columns:1fr!important}}
@media(max-width:850px){.sidebar{width:286px!important}.main{margin-left:0!important}.top-search-wrap{display:none}.ref-heading-row{align-items:flex-start}.ref-date{display:none}.ref-user-illustration{display:none}.ref-user-banner{align-items:flex-start}.ref-user-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ref-content{padding:12px!important}.ref-kpi-grid,.ref-service-grid,.user-service-page .user-category-grid,.user-service-page .user-service-grid,.ref-admin-tools,.ref-user-shortcuts{grid-template-columns:1fr!important}.ref-kpi-grid .stat{min-height:104px!important}.ref-heading-row h2{font-size:20px}.ref-topbar{padding:10px 12px!important}}

/* ============================================================
   MG PRINT PORTAL V6.29.0 — REFERENCE IMAGE UI LOCK
   Flat simple sidebars + colorful clean admin/user dashboards.
   Applies portal-wide without changing service/API business logic.
   ============================================================ */
:root{--mg-blue:#087cf2;--mg-navy:#073b69;--mg-navy2:#052e55;--mg-border:#d9e7f4;--mg-bg:#f6fbff;--mg-text:#123958;--mg-muted:#728aa0}
body{background:linear-gradient(180deg,#f8fcff 0,#f3f9fd 100%)!important;color:var(--mg-text)!important}
.ambient-orb{display:none!important}
.app-shell{background:transparent!important}
.main{background:linear-gradient(180deg,#f8fcff 0,#f5faff 100%)!important;min-height:100vh}
.sidebar{width:238px!important;background:linear-gradient(180deg,#073e70 0%,#06355f 55%,#052e55 100%)!important;border-right:1px solid #0b518c!important;box-shadow:8px 0 24px rgba(18,64,102,.08)!important;padding:0 10px 12px!important}
.sidebar .side-glow{display:none!important}
.sidebar .brand{height:84px!important;margin:0 -10px 8px!important;padding:15px 16px!important;border-radius:0!important;background:#06345e!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important}
.sidebar .brand-mark{width:40px!important;height:40px!important;border-radius:50%!important;background:#fff!important;padding:5px!important;box-shadow:none!important}
.sidebar .brand b{font-size:12px!important;letter-spacing:.2px}.sidebar .brand small{font-size:8.5px!important;color:#bcd7ee!important}.sidebar nav{padding:0!important}
.sidebar .nav-section{margin:13px 8px 6px!important;color:#8eb8d8!important;font-size:8px!important;letter-spacing:1.25px!important}
.sidebar .nav-item{height:42px!important;min-height:42px!important;margin:2px 0!important;padding:0 12px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#eef8ff!important;box-shadow:none!important;font-size:11px!important;font-weight:600!important;gap:10px!important;position:relative!important}
.sidebar .nav-item:hover{background:rgba(255,255,255,.07)!important;transform:none!important}
.sidebar .nav-item.active{background:linear-gradient(90deg,#0a86ff,#0876e7)!important;color:#fff!important;box-shadow:0 4px 12px rgba(0,117,239,.24)!important}
.sidebar .nav-item.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#8fd1ff}
.sidebar .nav-ico{width:20px!important;height:20px!important;color:inherit!important;background:none!important;border:0!important;border-radius:0!important;padding:1px!important}.sidebar .nav-label{font-size:10.5px!important}
.sidebar .nav-badge{background:#ff304d!important;color:#fff!important;border-radius:10px!important;font-size:8px!important;min-width:18px!important;padding:2px 5px!important}
.sidebar .side-tools{margin-top:8px!important;border-top:1px solid rgba(255,255,255,.12)!important;padding-top:8px!important}.sidebar .side-tool{border:0!important;background:rgba(255,255,255,.05)!important;border-radius:4px!important;color:#fff!important}
.sidebar .side-user{border:0!important;border-top:1px solid rgba(255,255,255,.12)!important;background:transparent!important;border-radius:0!important;padding:12px 6px 0!important;margin-top:8px!important}.sidebar .side-avatar{background:#1687ef!important}.sidebar .side-user-copy b{color:#fff!important}.sidebar .side-user-copy small,.sidebar .pid{color:#a9c9e2!important}
.topbar{height:64px!important;min-height:64px!important;background:#fff!important;border-bottom:1px solid #d6e5f2!important;box-shadow:0 2px 8px rgba(24,68,103,.05)!important;padding:10px 22px!important}.topbar h1{font-size:21px!important;color:#123a5c!important}.topbar .sub{font-size:10px!important;color:#7890a5!important}.topbar .btn.primary{border-radius:5px!important;background:#087cf2!important;box-shadow:none!important}.icon-btn{border-radius:5px!important}.wallet-pill{border:1px solid #cfe2f2!important;background:#f6fbff!important;border-radius:5px!important;color:#164b76!important}
.content{padding:18px 20px 30px!important;max-width:1680px!important;margin:0 auto!important}
.panel{border:1px solid var(--mg-border)!important;border-radius:6px!important;background:#fff!important;box-shadow:0 3px 12px rgba(37,76,108,.055)!important}.panel-head{padding-bottom:12px!important;border-bottom:1px solid #e8f0f6!important}.panel-head h2{color:#113b5d!important}.muted{color:#7b91a4!important}
.btn{border-radius:5px!important;box-shadow:none!important}.btn.primary,.btn.glow{background:#087cf2!important;border-color:#087cf2!important;color:#fff!important;box-shadow:none!important}
.search,input,select,textarea{border-radius:5px!important;border-color:#cfdfec!important;box-shadow:none!important}.table-wrap{border:1px solid #dce8f2!important;border-radius:5px!important;overflow:hidden!important}.table{background:#fff!important}.table thead th{background:#edf5fb!important;color:#42627c!important;font-size:9px!important;letter-spacing:.35px!important}.table td{border-color:#e6eef5!important;font-size:10px!important}.table tbody tr:hover{background:#f8fbfe!important}.code{background:#edf6ff!important;color:#0c65b6!important;border-radius:4px!important}
/* Colorful stat cards on every admin/user page, mirroring the reference */
.stats{gap:12px!important}.stats>.stat{border:0!important;border-radius:6px!important;box-shadow:0 4px 12px rgba(32,72,103,.09)!important;position:relative;overflow:hidden;padding:15px!important;min-height:96px;background:linear-gradient(135deg,#1888f6,#0874dd)!important;color:#fff!important}.stats>.stat:nth-child(5n+2){background:linear-gradient(135deg,#1fc77a,#0ca65f)!important}.stats>.stat:nth-child(5n+3){background:linear-gradient(135deg,#ff9f24,#f4780b)!important}.stats>.stat:nth-child(5n+4){background:linear-gradient(135deg,#9950fb,#6b2be1)!important}.stats>.stat:nth-child(5n+5){background:linear-gradient(135deg,#ff5270,#e42a4b)!important}.stats>.stat small,.stats>.stat strong,.stats>.stat b{color:#fff!important}.stats>.stat strong{font-size:25px!important}.stats>.stat:after{content:"";position:absolute;width:86px;height:86px;border-radius:50%;right:-28px;top:-30px;background:rgba(255,255,255,.09)}
/* Dashboard reference fidelity */
.ref-heading-row{margin-top:2px!important}.ref-heading-row h2{font-size:23px!important;color:#123b5c!important}.ref-kpi-grid .stat{border-radius:6px!important}.ref-dashboard-grid .panel,.ref-tools-panel,.ref-popular-panel{border-radius:6px!important}.ref-admin-tools>a,.ref-user-shortcuts a,.ref-user-shortcuts button{border-radius:6px!important}.ref-service-card,.user-service-page .user-service-card{border-radius:6px!important}.ref-service-card .btn,.user-service-page .user-service-card .btn{border-radius:4px!important}
/* Generic admin pages get a polished colorful hierarchy like the reference */
.role-admin .content>.stats{grid-template-columns:repeat(5,minmax(0,1fr))!important;margin-bottom:16px!important}.role-admin .content>.stats>.stat small{font-size:9px!important;text-transform:uppercase;letter-spacing:.4px}.role-admin .content>.stats>.stat strong{display:block;margin-top:7px!important}.role-admin .panel-head .toolbar{gap:8px!important}.role-admin .panel-head .toolbar .search{min-width:300px!important}
/* Service catalog */
.user-service-page .user-clean-panel{padding:14px!important}.user-service-page .services-grid{gap:11px!important}.service-media{background:#f4f8fb!important}.service-logo-badge{box-shadow:0 2px 8px rgba(30,70,104,.12)!important}.user-service-page .user-service-card{box-shadow:0 2px 8px rgba(31,75,108,.05)!important}.user-service-page .user-service-card:hover{transform:translateY(-2px)!important;box-shadow:0 8px 18px rgba(31,75,108,.10)!important}
/* User pages are visually separate: slightly brighter sidebar accent */
body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#07508b 0%,#06457b 48%,#06345f 100%)!important}body:not(.role-admin) .sidebar .brand{background:#06457b!important}
/* Footer-like trust strip visual on all content pages */
.content:after{content:"MG PRINT PORTAL  •  Simple  •  Secure  •  Fast & Reliable  •  Private Service Assistance Portal";display:block;margin-top:22px;padding:14px 16px;border-top:1px solid #dce9f3;color:#617f98;font-size:9px;text-align:center;letter-spacing:.35px;background:linear-gradient(90deg,#f8fcff,#fff,#f8fcff)}
@media(max-width:1200px){.role-admin .content>.stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:850px){.sidebar{width:270px!important}.content{padding:14px!important}.role-admin .content>.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.role-admin .panel-head .toolbar .search{min-width:0!important}}
@media(max-width:560px){.stats,.role-admin .content>.stats{grid-template-columns:1fr!important}.topbar{padding:9px 12px!important}.content{padding:10px!important}}

/* ============================================================
   MG PRINT PORTAL V6.30.0 — REFERENCE DASHBOARD MATCH
   ============================================================ */
.portal-masthead{position:fixed;inset:0 0 auto 0;height:72px;z-index:80;background:#fff;border-bottom:1px solid #d8e5f1;display:grid;grid-template-columns:minmax(340px,1fr) minmax(420px,1.2fr) minmax(300px,.9fr);align-items:center;padding:0 24px;box-shadow:0 3px 12px rgba(31,72,105,.06)}
.mast-brand{display:flex;align-items:center;gap:12px;min-width:0}.mast-brand img{width:48px;height:48px;object-fit:contain}.mast-brand b{display:block;font-size:25px;line-height:1;color:#0b3d70;letter-spacing:-.03em}.mast-brand b::first-letter{color:#087cf2}.mast-brand small{display:block;color:#22384a;font-weight:700;font-size:9px;margin-top:4px}
.mast-slogan{height:44px;margin:0 18px;border-radius:3px 3px 13px 13px;display:flex;align-items:center;justify-content:center;gap:16px;color:#fff;background:linear-gradient(100deg,#8524ef,#166df2 70%,#0b73ef);font-size:15px;font-weight:800;box-shadow:0 5px 15px rgba(82,66,217,.14)}.mast-slogan i{width:1px;height:18px;background:rgba(255,255,255,.55)}
.mast-right{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.mast-script{font-family:Georgia,serif;font-style:italic;font-weight:700;font-size:18px;color:#173453}.mast-private{font-size:8px;font-weight:900;letter-spacing:.12em;color:#647d91;max-width:120px;line-height:1.35}.mast-tricolor{display:grid;gap:3px;width:62px;transform:skewX(-18deg)}.mast-tricolor i{display:block;height:5px;border-radius:999px}.mast-tricolor i:nth-child(1){background:#f59b23}.mast-tricolor i:nth-child(2){background:#fff;border:1px solid #dbe7f0}.mast-tricolor i:nth-child(3){background:#22a55a}
.sidebar{top:72px!important;bottom:0!important;height:calc(100vh - 72px)!important;width:246px!important;background:linear-gradient(180deg,#073e70,#06355f 58%,#052d51)!important;padding:0 10px 12px!important}.main{margin-left:246px!important;padding-top:72px!important}.topbar{top:72px!important}.sidebar .brand{height:74px!important;min-height:74px!important;background:#06375f!important;margin:0 -10px 5px!important;padding:12px 14px!important}.sidebar .brand-mark{width:38px!important;height:38px!important}.sidebar .brand b{font-size:11px!important}.sidebar .brand small{font-size:7.8px!important}.sidebar .nav-item,.sidebar .nav-button{height:40px!important;min-height:40px!important;border-radius:3px!important;padding:0 12px!important}.sidebar .nav-ico{width:20px!important;height:20px!important;min-width:20px!important}.sidebar .nav-label{font-size:10.5px!important}.sidebar .nav-section{font-size:7.8px!important;margin:12px 8px 5px!important}
.portal-topbar{height:58px!important;min-height:58px!important;padding:8px 18px!important;background:#fff!important}.portal-topbar h1{font-size:19px!important}.portal-topbar .sub{font-size:9px!important}.dashboard-content{padding:12px 18px 26px!important;max-width:none!important}
.dash-title-band{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 16px;margin:0 0 12px;border-radius:7px;color:#fff;box-shadow:0 4px 12px rgba(31,75,114,.08)}.dash-title-band>div:first-child{display:flex;align-items:center;gap:12px}.dash-title-band h2{margin:0;font-size:19px}.dash-title-band p{margin:2px 0 0;font-size:9px;color:rgba(255,255,255,.86);font-weight:700}.admin-band{background:linear-gradient(90deg,#087cf2,#1a91f6 55%,#6a44ed)}.user-band{background:linear-gradient(90deg,#087cf2,#159fe8 60%,#16b981)}.dash-title-icon{width:34px;height:34px;display:grid;place-items:center;background:rgba(255,255,255,.16);border-radius:7px;font-size:18px}.dash-date{display:grid;text-align:right}.dash-date b{font-size:11px}.dash-date small{font-size:8px;color:rgba(255,255,255,.85)}
.dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0 0 12px!important}.dashboard-kpis .dash-kpi{min-height:112px!important;padding:13px 14px!important;border-radius:6px!important}.dashboard-kpis .dash-kpi small{font-size:9px!important;text-transform:uppercase;letter-spacing:.2px}.dashboard-kpis .dash-kpi strong{font-size:25px!important;line-height:1.05;margin-top:6px!important}.dashboard-kpis .dash-kpi em{font-style:normal;font-size:8px;color:rgba(255,255,255,.88);margin-top:5px;display:block}.dashboard-kpis .dash-kpi em a{color:#fff;text-decoration:underline}.kpi-big-icon{display:block;font-size:19px;line-height:1;margin-bottom:3px}
.dashboard-two{display:grid;grid-template-columns:1.05fr .95fr;gap:10px;margin-bottom:10px}.dashboard-two .panel,.dashboard-bottom-grid .panel,.popular-services-panel{margin:0!important;padding:12px!important;border-radius:6px!important}.dashboard-two .panel-head,.dashboard-bottom-grid .panel-head,.popular-services-panel .panel-head{margin-bottom:8px!important;padding-bottom:8px!important}.dashboard-two .panel-head h2,.dashboard-bottom-grid .panel-head h2,.popular-services-panel .panel-head h2{font-size:14px!important}.dashboard-two .panel-head p,.dashboard-bottom-grid .panel-head p,.popular-services-panel .panel-head p{font-size:8px!important}.reference-bars{height:196px!important;padding:18px 5px 0!important}.reference-bars .ref-bar-col i{width:28px!important;background:linear-gradient(180deg,#50a6f6,#087cf2)!important;border-radius:3px 3px 0 0!important}.reference-bars .ref-bar-col small{font-size:8px!important}.reference-bars .ref-bar-value{font-size:8px!important}.recent-table-head,.recent-row{display:grid;grid-template-columns:1.25fr 1.4fr .7fr .8fr;gap:8px;align-items:center}.recent-table-head{padding:7px 8px;background:#edf5fb;color:#55718a;text-transform:uppercase;font-weight:900;font-size:7.5px;border-radius:4px}.recent-row{padding:8px;border-bottom:1px solid #e8eff5;font-size:8.5px}.recent-row:hover{background:#f7fbff}.recent-row .badge{justify-self:start;font-size:7px!important;padding:3px 6px!important}
.dashboard-bottom-grid{display:grid;grid-template-columns:1.45fr .55fr;gap:10px;margin-bottom:10px}.quick-manage-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.quick-manage-grid a{min-height:104px;border-radius:6px;padding:12px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #dfe9f2}.quick-manage-grid a span{font-size:26px;margin-bottom:7px}.quick-manage-grid a b{font-size:10px}.quick-manage-grid a small{font-size:7.5px;color:#6d8395;margin-top:3px}.qm-blue{background:#edf7ff}.qm-green{background:#effcf4}.qm-orange{background:#fff7eb}.qm-purple{background:#f6f0ff}.system-list{display:grid;gap:7px}.system-list div{display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;padding:7px 8px;background:#f8fbfd;border:1px solid #e7eef4;border-radius:4px;font-size:8.5px}.system-list span{color:#11a95a}.system-list b{font-size:7.5px;background:#e5f9ed;color:#118247;padding:3px 6px;border-radius:3px}
.user-apply-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(110deg,#eef7ff,#e8f5ff 65%,#e9f9ff);border:1px solid #d5e7f4;border-radius:6px;padding:14px 16px;margin-bottom:10px;min-height:104px}.user-apply-banner h2{margin:0 0 3px;font-size:16px;color:#113b61}.user-apply-banner p{margin:0 0 10px;font-size:9px;color:#486a86}.user-banner-art{display:flex;align-items:center;gap:12px;color:#1d5d9d}.user-banner-art span{font-size:42px}.user-banner-art b{font-size:9px;font-style:italic}.dashboard-service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.dash-service-card{border:1px solid #dbe7f1;border-radius:5px;padding:8px;background:#fff;text-align:center;min-width:0}.dash-service-img{height:76px;background:#f5f8fb;border-radius:4px;position:relative;overflow:hidden;margin-bottom:7px}.dash-service-img>img{width:100%;height:100%;object-fit:cover}.dash-service-img>span{position:absolute;right:4px;bottom:4px;width:27px;height:27px;border-radius:4px;background:#fff;border:1px solid #dfe8ef;display:grid;place-items:center}.dash-service-img>span img{max-width:22px;max-height:22px}.dash-service-card h3{margin:0;font-size:9px;color:#113a5d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-service-card p{margin:3px 0 7px;font-size:7.5px;color:#71879a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-service-card .btn{min-height:27px!important;padding:5px 8px!important;font-size:8px!important;width:100%;border-radius:4px!important}
.user-shortcut-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.user-shortcut-grid a,.user-shortcut-grid button{border:1px solid #dce7f0;border-radius:6px;min-height:94px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff;cursor:pointer}.user-shortcut-grid span{font-size:25px;margin-bottom:6px}.user-shortcut-grid b{font-size:10px}.user-shortcut-grid small{font-size:7.5px;color:#6e8497;margin-top:3px}.sc-purple{background:#f6f0ff!important}.sc-green{background:#eefbf4!important}.sc-orange{background:#fff6ea!important}.sc-blue{background:#edf7ff!important}
.trust-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-top:12px;border:1px solid #dce8f1;border-radius:6px;background:#fff;overflow:hidden}.trust-strip div{padding:10px 12px;text-align:center;border-right:1px solid #edf2f6;font-size:8.5px;color:#245073}.trust-strip div:last-child{border-right:0}.trust-strip b{margin-left:4px}.user-private-note{font-size:7.5px!important;margin:7px 0 0!important;text-align:center!important;color:#8294a3!important}
/* Generic admin/user pages: match the same visual language */
.role-admin .content:not(.dashboard-content),body:not(.role-admin) .content:not(.dashboard-content){padding:14px 18px 26px!important}.role-admin .content>.panel,body:not(.role-admin) .content>.panel{border-radius:6px!important}.role-admin .content>.panel:first-of-type{border-top:3px solid #087cf2!important}.role-admin .content>.stats>.stat{border-radius:6px!important}.role-admin .table-wrap,body:not(.role-admin) .table-wrap{border-radius:5px!important}.role-admin .table th,body:not(.role-admin) .table th{background:#edf5fb!important}
@media(max-width:1280px){.portal-masthead{grid-template-columns:1fr 1.1fr}.mast-right{display:none}.dashboard-service-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:980px){.portal-masthead{grid-template-columns:1fr}.mast-slogan{display:none}.sidebar{top:72px!important}.main{margin-left:0!important}.dashboard-two,.dashboard-bottom-grid{grid-template-columns:1fr}.dashboard-service-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.portal-masthead{height:60px;padding:0 12px}.mast-brand img{width:38px;height:38px}.mast-brand b{font-size:18px}.sidebar{top:60px!important;height:calc(100vh - 60px)!important}.main{padding-top:60px!important}.topbar{top:60px!important}.dashboard-kpis{grid-template-columns:repeat(2,1fr)!important}.dashboard-service-grid{grid-template-columns:repeat(2,1fr)}.quick-manage-grid,.user-shortcut-grid{grid-template-columns:repeat(2,1fr)}.dash-title-band{align-items:flex-start}.dash-date{display:none}.trust-strip{grid-template-columns:1fr 1fr}.trust-strip div{border-bottom:1px solid #edf2f6}}
@media(max-width:480px){.dashboard-kpis,.dashboard-service-grid,.quick-manage-grid,.user-shortcut-grid{grid-template-columns:1fr!important}.dashboard-content{padding:8px!important}}

/* =====================================================================
   MG PRINT PORTAL V6.31.0 — PROFESSIONAL REFERENCE UI
   Larger, cleaner, more readable reference-image dashboard treatment.
   ===================================================================== */
:root{--pro-navy:#063763;--pro-navy2:#052f55;--pro-blue:#0b82ff;--pro-line:#d8e6f2;--pro-shadow:0 8px 24px rgba(31,73,112,.10)}
body{font-size:14px!important;background:#f4f8fc!important}
.portal-masthead{height:86px!important;grid-template-columns:minmax(300px,.95fr) minmax(430px,1.1fr) minmax(520px,1.25fr)!important;padding:0 26px!important;box-shadow:0 4px 18px rgba(20,59,94,.10)!important}
.mast-brand{gap:12px!important}.mast-brand img{width:54px!important;height:54px!important}.mast-brand b{font-size:26px!important;letter-spacing:-.6px!important}.mast-brand small{font-size:10px!important;margin-top:2px!important}
.mast-slogan{height:48px!important;border-radius:8px!important;font-size:14px!important;box-shadow:0 6px 18px rgba(87,57,226,.16)!important}
.pro-mast-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-width:0}.mast-script{font-size:19px!important;white-space:nowrap}.mast-private{font-size:7px!important;line-height:1.2!important;width:74px!important}.mast-wallet{display:grid;grid-template-columns:32px auto;grid-template-rows:auto auto;column-gap:7px;align-items:center;padding:7px 10px;border:1px solid #d6e5f1;border-radius:7px;background:#fff;color:#174f7d;min-width:126px}.mast-wallet>span{grid-row:1/3;width:32px;height:32px;display:grid;place-items:center;border-radius:6px;background:#eaf5ff;color:#0b82ff;font-weight:900}.mast-wallet small{font-size:7px;color:#71889b;text-transform:uppercase;font-weight:900}.mast-wallet b{font-size:12px;color:#0c65b6}.mast-bell{width:38px;height:38px;border:1px solid #dbe7f1;border-radius:7px;display:grid;place-items:center;background:#fff}.mast-profile{display:flex;align-items:center;gap:8px;min-width:130px;padding:5px 7px}.mast-profile>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#167ff4;color:#fff;font-weight:900}.mast-profile small{display:grid;font-size:7px;color:#72879a}.mast-profile small b{font-size:10px;color:#173e60}
.sidebar{top:86px!important;height:calc(100vh - 86px)!important;width:250px!important;padding:0 10px 14px!important;background:linear-gradient(180deg,#063c6a 0,#07365f 58%,#052e52 100%)!important}.main{margin-left:250px!important;padding-top:86px!important}.topbar{top:86px!important}.sidebar .brand{height:82px!important;min-height:82px!important;padding:13px 14px!important}.sidebar .brand-mark{width:44px!important;height:44px!important}.sidebar .brand b{font-size:12px!important}.sidebar .brand small{font-size:8px!important}.sidebar nav{padding:8px 0!important}.sidebar .nav-item,.sidebar .nav-button{height:44px!important;min-height:44px!important;border-radius:4px!important;padding:0 13px!important;margin-bottom:3px!important;color:#edf6ff!important}.sidebar .nav-item:hover{background:rgba(255,255,255,.08)!important}.sidebar .nav-item.active{background:#1085ff!important;color:#fff!important;border-left:4px solid #9ed1ff!important;box-shadow:0 5px 14px rgba(0,116,235,.28)!important}.sidebar .nav-item.active .nav-ico{color:#fff!important}.sidebar .nav-label{font-size:11.5px!important;font-weight:800!important}.sidebar .nav-section{font-size:8px!important;letter-spacing:1.1px!important;color:#89aac4!important;margin:14px 8px 6px!important}.side-user{border-radius:6px!important;margin-top:8px!important}
.portal-topbar{height:64px!important;min-height:64px!important;padding:9px 22px!important;border-bottom:1px solid #d8e6f2!important}.portal-topbar h1{font-size:24px!important;letter-spacing:-.35px!important}.portal-topbar .sub{font-size:10px!important}.top-search-wrap{height:40px!important;min-width:270px!important}.top-search{font-size:11px!important}.wallet-pill{font-size:10px!important;font-weight:900!important}
.dashboard-content{padding:18px 22px 34px!important;max-width:1720px!important;margin:0 auto!important}.dash-title-band{padding:14px 18px!important;margin-bottom:14px!important;border-radius:7px!important}.dash-title-band h2{font-size:22px!important}.dash-title-band p{font-size:10px!important}.dash-title-icon{width:40px!important;height:40px!important;font-size:20px!important}.dash-date b{font-size:12px!important}.dash-date small{font-size:9px!important}
.dashboard-kpis{gap:12px!important;margin-bottom:14px!important}.dashboard-kpis .dash-kpi{min-height:134px!important;border-radius:7px!important;padding:17px 18px!important;box-shadow:0 8px 18px rgba(28,67,105,.12)!important;position:relative;overflow:hidden}.dashboard-kpis .dash-kpi:after{content:'›';position:absolute;right:15px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:24px;color:#fff}.dashboard-kpis .dash-kpi small{font-size:10px!important}.dashboard-kpis .dash-kpi strong{font-size:30px!important;margin-top:8px!important}.dashboard-kpis .dash-kpi em{font-size:9px!important;margin-top:7px!important}.kpi-big-icon{font-size:24px!important}
.dashboard-two{grid-template-columns:1.05fr .95fr!important;gap:12px!important;margin-bottom:12px!important}.dashboard-two .panel,.dashboard-bottom-grid .panel,.popular-services-panel{padding:16px!important;border-radius:7px!important;box-shadow:var(--pro-shadow)!important}.dashboard-two .panel-head h2,.dashboard-bottom-grid .panel-head h2,.popular-services-panel .panel-head h2{font-size:16px!important}.dashboard-two .panel-head p,.dashboard-bottom-grid .panel-head p,.popular-services-panel .panel-head p{font-size:9px!important}.reference-bars{height:255px!important;padding-top:28px!important}.reference-bars .ref-bar-col i{width:38px!important;min-height:4px!important}.reference-bars .ref-bar-col small,.reference-bars .ref-bar-value{font-size:9px!important}.recent-table-head{padding:9px 10px!important;font-size:8.5px!important}.recent-row{padding:10px!important;font-size:9.5px!important}.recent-row .badge{font-size:8px!important}
.dashboard-bottom-grid{grid-template-columns:1.45fr .55fr!important;gap:12px!important;margin-bottom:12px!important}.quick-manage-grid{gap:10px!important}.quick-manage-grid a{min-height:126px!important;padding:14px 10px!important;box-shadow:0 5px 14px rgba(47,84,116,.06)}.quick-manage-grid a span{font-size:31px!important}.quick-manage-grid a b{font-size:11px!important}.quick-manage-grid a small{font-size:8.5px!important}.system-list{gap:8px!important}.system-list div{padding:9px 10px!important;font-size:9.5px!important}.system-list b{font-size:8px!important}
.user-apply-banner{min-height:128px!important;padding:18px 22px!important;border-radius:7px!important;background:linear-gradient(110deg,#eef7ff,#e7f4ff 60%,#eaf9ff)!important;box-shadow:var(--pro-shadow)!important}.user-apply-banner h2{font-size:21px!important}.user-apply-banner p{font-size:10.5px!important}.user-banner-art span{font-size:54px!important}.user-banner-art b{font-size:10px!important}.dashboard-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}.dash-service-card{padding:10px!important;border-radius:6px!important;box-shadow:0 5px 14px rgba(47,84,116,.06)!important}.dash-service-img{height:104px!important;margin-bottom:9px!important}.dash-service-img>span{width:32px!important;height:32px!important}.dash-service-img>span img{max-width:26px!important;max-height:26px!important}.dash-service-card h3{font-size:10.5px!important}.dash-service-card p{font-size:8.5px!important;margin:4px 0 9px!important}.dash-service-card .btn{min-height:32px!important;font-size:9px!important}.user-shortcut-grid{gap:10px!important}.user-shortcut-grid a,.user-shortcut-grid button{min-height:108px!important}.user-shortcut-grid span{font-size:29px!important}.user-shortcut-grid b{font-size:11px!important}.user-shortcut-grid small{font-size:8.5px!important}
.trust-strip{margin-top:14px!important;box-shadow:0 4px 12px rgba(47,84,116,.05)!important}.trust-strip div{padding:13px 12px!important;font-size:9.5px!important}
/* Generic internal pages: spacious professional treatment */
.role-admin .content:not(.dashboard-content),body:not(.role-admin) .content:not(.dashboard-content){padding:20px 22px 34px!important;max-width:1720px!important;margin:0 auto!important}.role-admin .content>.panel,body:not(.role-admin) .content>.panel{border-radius:7px!important;box-shadow:var(--pro-shadow)!important}.role-admin .content>.stats>.stat,body:not(.role-admin) .content>.stats>.stat{min-height:110px!important;border-radius:7px!important}.table th{font-size:9px!important;padding:11px 12px!important}.table td{font-size:10px!important;padding:12px!important}.btn{font-weight:800!important}
@media(max-width:1450px){.portal-masthead{grid-template-columns:minmax(300px,.9fr) minmax(380px,1fr) minmax(380px,1fr)!important}.mast-private{display:none!important}.dashboard-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1180px){.pro-mast-right .mast-script,.pro-mast-right .mast-wallet{display:none!important}.portal-masthead{grid-template-columns:1fr 1.1fr!important}.dashboard-two,.dashboard-bottom-grid{grid-template-columns:1fr!important}.dashboard-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:980px){.portal-masthead{height:68px!important;grid-template-columns:1fr!important}.mast-slogan,.pro-mast-right{display:none!important}.sidebar{top:68px!important;height:calc(100vh - 68px)!important}.main{margin-left:0!important;padding-top:68px!important}.topbar{top:68px!important}.dashboard-kpis{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:620px){.portal-masthead{height:62px!important}.mast-brand img{width:42px!important;height:42px!important}.mast-brand b{font-size:20px!important}.sidebar{top:62px!important;height:calc(100vh - 62px)!important}.main{padding-top:62px!important}.topbar{top:62px!important}.dashboard-content{padding:10px!important}.dashboard-service-grid,.dashboard-kpis,.quick-manage-grid,.user-shortcut-grid{grid-template-columns:1fr!important}.portal-topbar{padding:8px 10px!important}.top-search-wrap,.wallet-pill{display:none!important}}

/* ============================================================
   MG PRINT PORTAL V6.32.0 — SIGNATURE PREMIUM UI
   Distinct Admin/User identity, premium glass surfaces, stronger
   hierarchy, refined data density, improved service discovery.
   ============================================================ */
:root{
  --sig-navy:#062d52;--sig-navy2:#0a4677;--sig-blue:#0b7cff;--sig-cyan:#23b7ff;
  --sig-violet:#6f35f5;--sig-ink:#102f4a;--sig-muted:#71869a;--sig-line:#d8e7f3;
  --sig-panel:#ffffff;--sig-bg:#eef5fb;--sig-shadow:0 12px 32px rgba(24,70,108,.10);
}
html{scrollbar-color:#88a9c5 #eef5fb}
body{background:
 radial-gradient(circle at 8% 0%,rgba(34,184,255,.08),transparent 28%),
 radial-gradient(circle at 95% 8%,rgba(111,53,245,.07),transparent 26%),
 linear-gradient(180deg,#f8fbff 0,#eef5fb 100%)!important;color:var(--sig-ink)!important}
.portal-masthead{background:rgba(255,255,255,.96)!important;backdrop-filter:blur(14px);border-bottom:1px solid rgba(192,215,233,.9)!important}
.mast-brand b{font-weight:950!important;letter-spacing:-1px!important;color:#0a3356!important}
.mast-brand small{letter-spacing:.15px!important;color:#668097!important}
.mast-slogan{background:linear-gradient(105deg,#672ff1 0%,#4266f5 45%,#138bf3 100%)!important;position:relative;overflow:hidden}
.mast-slogan:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 0 40%,rgba(255,255,255,.22) 50%,transparent 60%);transform:translateX(-120%);animation:sigShine 7s ease-in-out infinite}
@keyframes sigShine{0%,70%{transform:translateX(-120%)}90%,100%{transform:translateX(120%)}}
.mast-wallet,.mast-bell,.mast-profile{box-shadow:0 6px 18px rgba(30,80,120,.07)}

/* Sidebars — intentionally different personalities */
.role-admin .sidebar{background:linear-gradient(180deg,#041f39 0%,#06365f 45%,#052844 100%)!important;border-right:1px solid rgba(116,173,218,.18)!important}
.role-admin .sidebar:before{content:"ADMIN CONTROL";display:block;margin:8px 10px 2px;padding:7px 10px;border:1px solid rgba(104,181,255,.18);background:rgba(8,124,255,.07);color:#8ec9ff;font-size:7px;font-weight:900;letter-spacing:1.5px;border-radius:5px;text-align:center}
body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#083b70 0%,#0c4f88 54%,#07385f 100%)!important}
body:not(.role-admin) .sidebar:before{content:"MY SERVICE DESK";display:block;margin:8px 10px 2px;padding:7px 10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#dff2ff;font-size:7px;font-weight:900;letter-spacing:1.5px;border-radius:5px;text-align:center}
.sidebar .nav-item,.sidebar .nav-button{transition:background .18s ease,transform .18s ease,box-shadow .18s ease!important}
.sidebar .nav-item:hover{transform:translateX(2px)}
.role-admin .sidebar .nav-item.active{background:linear-gradient(90deg,#0b79ed,#1aa4ff)!important;border-left:3px solid #b9e7ff!important;box-shadow:0 8px 20px rgba(0,134,255,.24)!important}
body:not(.role-admin) .sidebar .nav-item.active{background:linear-gradient(90deg,#0b82ff,#4b5df5)!important;border-left:3px solid #d6ecff!important;box-shadow:0 8px 20px rgba(35,119,255,.24)!important}
.sidebar .nav-section{position:relative}.sidebar .nav-section:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,rgba(126,183,225,.26),transparent);margin-left:8px}

/* Premium content shell */
.main{background:transparent!important}
.portal-topbar{background:rgba(255,255,255,.82)!important;backdrop-filter:blur(12px);box-shadow:0 4px 18px rgba(25,65,102,.05)!important}
.dashboard-content{padding-top:22px!important}
.dash-title-band{background:linear-gradient(110deg,rgba(255,255,255,.95),rgba(244,250,255,.88))!important;border:1px solid #dbeaf5!important;box-shadow:0 8px 22px rgba(28,73,111,.07)!important}
.admin-band{border-left:4px solid #0b7cff!important}.user-band{border-left:4px solid #6f35f5!important}

/* Signature KPI cards */
.dashboard-kpis .dash-kpi{border:1px solid rgba(255,255,255,.36)!important;box-shadow:0 14px 30px rgba(18,73,120,.16)!important;transform:translateZ(0)}
.dashboard-kpis .dash-kpi:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.22),transparent 30%);pointer-events:none}
.dashboard-kpis .dash-kpi:after{background:rgba(255,255,255,.22)!important;border:1px solid rgba(255,255,255,.26)}
.kpi-blue{background:linear-gradient(135deg,#087dff 0%,#065ccc 100%)!important}.kpi-green{background:linear-gradient(135deg,#13c66b 0%,#078d4b 100%)!important}.kpi-orange{background:linear-gradient(135deg,#ff9d13 0%,#ef6905 100%)!important}.kpi-purple{background:linear-gradient(135deg,#8d44ff 0%,#5b22cb 100%)!important}.kpi-red{background:linear-gradient(135deg,#ff4d72 0%,#d91f4f 100%)!important}

/* Panels */
.dashboard-two .panel,.dashboard-bottom-grid .panel,.popular-services-panel,.content>.panel{background:rgba(255,255,255,.94)!important;border:1px solid rgba(208,227,241,.92)!important;box-shadow:var(--sig-shadow)!important}
.panel-head{border-bottom:1px solid #edf3f8;padding-bottom:10px;margin-bottom:12px}.panel-head h2{letter-spacing:-.2px}.panel-head>a{padding:6px 9px;background:#eef6ff;border-radius:5px}.panel-head>a:hover{background:#e0efff}
.reference-bars{background:repeating-linear-gradient(to top,#fff 0,#fff 38px,#eff5fa 39px)!important;border-radius:6px}.ref-bar-col i{background:linear-gradient(180deg,#5ab1ff,#0878eb)!important;box-shadow:0 4px 12px rgba(7,118,229,.18)}
.recent-table-head{background:linear-gradient(90deg,#f1f7fc,#eef5fb)!important;border-radius:5px}.recent-row:hover{background:#f7fbff!important;transform:translateX(2px)}

/* Admin quick tools */
.quick-manage-grid a{position:relative;overflow:hidden;border:1px solid #dbe9f4!important;transition:transform .2s ease,box-shadow .2s ease!important}.quick-manage-grid a:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(31,77,117,.12)!important}.quick-manage-grid a:after{content:"›";position:absolute;right:13px;bottom:13px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #dce9f4;font-size:18px;color:#0b7cff}.qm-blue{background:linear-gradient(135deg,#eef7ff,#e5f2ff)!important}.qm-green{background:linear-gradient(135deg,#ecfbf3,#e5f7ee)!important}.qm-orange{background:linear-gradient(135deg,#fff7ed,#fff0df)!important}.qm-purple{background:linear-gradient(135deg,#f7f1ff,#eee7ff)!important}
.system-list div{border:1px solid #e7eff6;border-radius:5px;background:#fbfdff}.system-list div span{color:#14b85e!important}.system-list b{padding:4px 7px;border-radius:10px;background:#e8faef!important;color:#168647!important}

/* User premium hero */
.user-apply-banner{position:relative;overflow:hidden;background:linear-gradient(115deg,#edf7ff 0%,#eaf3ff 48%,#f2efff 100%)!important;border:1px solid #d6e7f6!important}.user-apply-banner:before{content:"";position:absolute;width:290px;height:290px;border-radius:50%;right:-90px;top:-120px;background:radial-gradient(circle,rgba(111,53,245,.13),transparent 68%)}
.user-apply-banner .btn{box-shadow:0 8px 18px rgba(11,124,255,.20)}

/* Service cards — more premium and scan-friendly */
.dashboard-service-grid{gap:12px!important}.dash-service-card{position:relative;border:1px solid #dbe8f3!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}.dash-service-card:hover{transform:translateY(-4px);border-color:#b8d8f1!important;box-shadow:0 16px 28px rgba(24,77,118,.13)!important}.dash-service-img{border-radius:7px!important;overflow:hidden;background:#eef5fa}.dash-service-img>img{transition:transform .35s ease}.dash-service-card:hover .dash-service-img>img{transform:scale(1.035)}.dash-service-img>span{box-shadow:0 5px 14px rgba(23,67,103,.18)}.dash-service-card .btn{background:linear-gradient(90deg,#0b7cff,#176ee2)!important;box-shadow:0 6px 14px rgba(11,124,255,.16)}
.user-shortcut-grid a,.user-shortcut-grid button{position:relative;overflow:hidden;border:1px solid #dce9f4!important;box-shadow:0 9px 20px rgba(26,72,109,.07)!important;transition:transform .18s ease!important}.user-shortcut-grid a:hover,.user-shortcut-grid button:hover{transform:translateY(-2px)}

/* Tables, forms, action clarity */
.table{border-collapse:separate!important;border-spacing:0!important;overflow:hidden;border:1px solid #dfeaf3;border-radius:7px}.table th{background:#f1f7fc!important;color:#4d6a83!important;text-transform:uppercase;letter-spacing:.35px}.table tbody tr:hover td{background:#f8fbfe!important}.btn.primary{background:linear-gradient(90deg,#087df4,#166be0)!important;border:0!important;box-shadow:0 6px 14px rgba(8,125,244,.16)}
input,select,textarea{border-color:#d7e5f0!important;background:#fbfdff!important}.field input:focus,.field select:focus,.field textarea:focus,input:focus,select:focus,textarea:focus{border-color:#58a6f4!important;box-shadow:0 0 0 3px rgba(11,124,255,.10)!important}

/* Premium footer/trust strip */
.trust-strip{background:linear-gradient(90deg,#fff,#f9fcff,#fff)!important;border:1px solid #dce9f3!important;box-shadow:0 10px 24px rgba(28,73,111,.06)!important}.trust-strip div{position:relative}.trust-strip div+div:before{content:"";position:absolute;left:0;top:22%;bottom:22%;width:1px;background:#e4edf5}
.user-private-note{padding:8px 0 4px!important;color:#8a9dad!important}

/* Page-specific admin authority cues */
.role-admin .content:not(.dashboard-content):before{content:"ADMIN WORKSPACE";display:inline-flex;margin-bottom:10px;padding:5px 9px;border-radius:4px;background:#eaf4ff;color:#116cc0;font-size:8px;font-weight:900;letter-spacing:1px}
body:not(.role-admin) .content:not(.dashboard-content):before{content:"MY SERVICE WORKSPACE";display:inline-flex;margin-bottom:10px;padding:5px 9px;border-radius:4px;background:#f0ecff;color:#6b38d9;font-size:8px;font-weight:900;letter-spacing:1px}

@media(max-width:1180px){.dashboard-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.portal-topbar h1{font-size:20px!important}.dashboard-kpis .dash-kpi{min-height:118px!important}.dashboard-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.trust-strip{grid-template-columns:1fr 1fr!important}.trust-strip div+div:before{display:none}}
@media(max-width:520px){.dashboard-service-grid{grid-template-columns:1fr!important}.trust-strip{grid-template-columns:1fr!important}.dash-title-band{padding:11px!important}.dash-title-band h2{font-size:19px!important}}
\n\n/* =========================================================\n   V6.33.0 — LOGO-ONLY SERVICE UI\n   No photographic service thumbnails.\n   ========================================================= */\n.service-media,.dash-service-img,.apply-visual-wrap .apply-photo{background:linear-gradient(180deg,#fff,#f5f9fc)!important;}\n.service-media>img,.dash-service-img>img,.apply-visual-wrap .apply-photo{object-fit:contain!important;object-position:center!important;filter:none!important;transform:none!important;padding:18px!important;}\n.user-service-card .service-media>img,.ref-service-card .service-media>img{object-fit:contain!important;padding:18px!important;}\n.service-media:after,.user-service-card .service-media:after{display:none!important;}\n.service-logo-badge,.dash-service-img>span,.apply-visual-wrap .apply-logo{display:none!important;}\n.user-service-card .service-media,.ref-service-card .service-media{height:132px!important;}\n.dashboard-service-grid .dash-service-img{height:92px!important;}\n.dash-service-card:hover .dash-service-img>img{transform:none!important;}\n.apply-visual-wrap{width:82px!important;height:82px!important;display:grid!important;place-items:center!important;background:#fff!important;border:1px solid #dce8f1!important;border-radius:10px!important;box-shadow:0 5px 14px rgba(25,70,105,.08)!important;}\n.apply-visual-wrap .apply-photo{width:82px!important;height:82px!important;border:0!important;border-radius:10px!important;padding:11px!important;}\n.admin-service-cell img{width:38px!important;height:38px!important;object-fit:contain!important;background:#fff!important;border:1px solid #e0e9f0!important;border-radius:8px!important;padding:4px!important;}\nbody:not(.role-admin) .service-media{background:#fff!important;}\n@media(max-width:800px){.user-service-card .service-media,.ref-service-card .service-media{height:120px!important}.service-media>img,.dash-service-img>img{padding:14px!important}}\n
/* =========================================================
   V6.34.0 — SIMPLE PREMIUM + LIVE SERVICES FIRST
   ========================================================= */
:root{--v634-navy:#06345d;--v634-navy2:#052947;--v634-user:#06477d;--v634-blue:#0b82f6;--v634-line:#dce8f1;--v634-shadow:0 8px 24px rgba(21,65,100,.08)}
.portal-masthead{height:76px!important;padding:0 22px!important;grid-template-columns:minmax(280px,.95fr) minmax(420px,1.1fr) minmax(450px,1.05fr)!important;background:#fff!important;border-bottom:1px solid #d9e7f2!important;box-shadow:0 3px 14px rgba(21,65,100,.08)!important}
.mast-brand img{width:44px!important;height:44px!important;border-radius:9px!important}.mast-brand b{font-size:22px!important;letter-spacing:-.4px!important}.mast-brand small{font-size:8px!important;color:#56718a!important}
.mast-slogan{height:42px!important;border-radius:9px!important;background:linear-gradient(90deg,#7430ef,#087df4)!important;box-shadow:0 6px 16px rgba(71,82,220,.16)!important}.mast-slogan b{font-size:12px!important}.mast-slogan i{height:18px!important;opacity:.55!important}
.mast-script{font-size:18px!important;color:#103b5e!important}.mast-private{font-size:6px!important;line-height:1.15!important;color:#71889a!important}.mast-wallet,.mast-profile,.mast-bell{border-radius:7px!important;box-shadow:none!important;border-color:#dce8f1!important;background:#fff!important}
.sidebar{top:76px!important;height:calc(100vh - 76px)!important;width:236px!important;padding:0 8px 10px!important;box-shadow:6px 0 18px rgba(2,34,61,.11)!important;border-right:1px solid rgba(133,181,219,.18)!important}
.main{margin-left:236px!important;padding-top:76px!important}.topbar{top:76px!important;min-height:62px!important;padding:9px 18px!important}
.role-admin .sidebar{background:linear-gradient(180deg,#052e52 0%,#063b69 55%,#052a49 100%)!important}body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#063b69 0%,#07558f 58%,#06385f 100%)!important}
.sidebar .side-glow{display:none!important}.sidebar .brand{height:70px!important;min-height:70px!important;padding:10px 9px!important;margin:0!important;border-bottom:1px solid rgba(255,255,255,.09)!important;background:transparent!important}.sidebar .brand:after{display:none!important}.sidebar .brand-mark{width:40px!important;height:40px!important;min-width:40px!important;border-radius:8px!important}.sidebar .brand img{width:40px!important;height:40px!important;border-radius:8px!important;padding:3px!important}.sidebar .brand b{font-size:12px!important}.sidebar .brand small{font-size:7.5px!important;line-height:1.25!important}.sidebar nav{padding:8px 0 4px!important}.sidebar .nav-section{font-size:7px!important;letter-spacing:1.25px!important;margin:13px 8px 5px!important;color:#93b5cf!important}.sidebar .nav-item,.sidebar .nav-button{height:39px!important;min-height:39px!important;padding:0 10px!important;margin:0 0 2px!important;border:0!important;border-left:3px solid transparent!important;border-radius:3px!important;background:transparent!important;color:#eef7ff!important;box-shadow:none!important}.sidebar .nav-item:hover,.sidebar .nav-button:hover{transform:none!important;background:rgba(255,255,255,.075)!important}.sidebar .nav-item.active{background:linear-gradient(90deg,#0885f8,#1474df)!important;color:#fff!important;border-left-color:#bfe3ff!important;box-shadow:0 5px 12px rgba(0,111,222,.20)!important}.sidebar .nav-label{font-size:10.5px!important;font-weight:760!important}.sidebar .nav-ico{width:18px!important;min-width:18px!important}.side-tools{padding:5px 0!important}.side-tool{border-radius:4px!important;background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.08)!important;color:#eaf5ff!important}.side-user{margin-top:5px!important;padding:9px!important;border-radius:5px!important;background:rgba(0,0,0,.13)!important;border:1px solid rgba(255,255,255,.07)!important}.side-avatar{width:34px!important;height:34px!important}.side-user-copy b{font-size:10px!important}.side-user-copy small,.side-user-copy .pid{font-size:7.5px!important}
.content{padding:16px 18px 22px!important;max-width:1760px!important}.topbar h1{font-size:19px!important}.topbar .sub{font-size:9px!important}.top-search-wrap{height:36px!important}.wallet-pill{padding:7px 10px!important;border-radius:6px!important}.icon-btn{width:36px!important;height:36px!important;border-radius:6px!important}
.dash-title-band{padding:12px 14px!important;margin-bottom:10px!important;border-radius:7px!important;box-shadow:none!important}.dash-title-band h2{font-size:20px!important}.dash-title-band p{font-size:9px!important}.dash-title-icon{display:none!important}
.dashboard-kpis{gap:9px!important;margin:10px 0 12px!important}.dashboard-kpis .dash-kpi{min-height:100px!important;padding:13px 14px!important;border-radius:7px!important;box-shadow:0 8px 20px rgba(31,78,119,.12)!important}.dash-kpi small{font-size:8px!important}.dash-kpi strong{font-size:26px!important}.dash-kpi em{font-size:8px!important}.kpi-big-icon{font-size:20px!important}
.panel{border-radius:7px!important;padding:13px!important;margin-bottom:12px!important;box-shadow:var(--v634-shadow)!important}.panel-head{margin-bottom:9px!important;padding-bottom:8px!important}.panel h2{font-size:15px!important}.panel .muted{font-size:8.5px!important}.dashboard-two{gap:10px!important}.dashboard-bottom-grid{gap:10px!important}.quick-manage-grid{gap:8px!important}.quick-manage-grid a{min-height:86px!important;border-radius:5px!important;padding:10px!important}.quick-manage-grid a span{font-size:22px!important}.quick-manage-grid a b{font-size:9.5px!important}.quick-manage-grid a small{font-size:7.5px!important}.quick-manage-grid a:after{display:none!important}
/* live services shelf */
.live-services-panel{padding:12px!important;background:#fff!important;border:1px solid var(--v634-line)!important}.live-services-panel .panel-head{border-bottom:0!important;margin-bottom:7px!important;padding-bottom:0!important}.live-services-panel .panel-head h2:before{content:"⚡";margin-right:7px;color:#0b82f6}.live-service-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.live-service-card{position:relative;min-width:0;display:flex;align-items:center;gap:9px;padding:9px 8px;border:1px solid #dce8f1;border-radius:6px;background:linear-gradient(180deg,#fff,#f8fbfe);transition:.16s ease}.live-service-card:hover{border-color:#8bc3f0;transform:translateY(-1px);box-shadow:0 7px 16px rgba(30,85,127,.09)}.live-service-logo{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:6px;background:#f1f7fc;border:1px solid #e0ebf3}.live-service-logo img{width:30px;height:30px;object-fit:contain}.live-copy{min-width:0;display:flex;flex-direction:column}.live-copy b{font-size:8.5px;color:#123d62;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-copy small{font-size:7px;color:#73889a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-service-card i{position:absolute;right:6px;top:5px;font-style:normal;font-size:6.5px;font-weight:900;color:#14844d;background:#e9f9ef;border:1px solid #c7ecd5;border-radius:9px;padding:2px 5px}
/* service pages: logo only, compact and clear */
.user-simple-hero{border-radius:7px!important;padding:14px 16px!important;box-shadow:none!important}.user-clean-panel{padding:12px!important}.user-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}.compact-category-card{min-height:118px!important;padding:10px!important;display:grid!important;grid-template-columns:64px 1fr!important;align-items:center!important;gap:10px!important}.compact-category-card .service-media{height:64px!important;width:64px!important;border:1px solid #e0eaf2!important;border-radius:7px!important}.compact-category-card .service-media>img{padding:8px!important;width:64px!important;height:64px!important}.compact-category-card .service-card-body{padding:0!important;min-width:0}.compact-category-card .service-card-body h3{font-size:12px!important;margin:0 0 4px!important}.compact-category-card .service-card-body p{font-size:8px!important;margin:0 0 7px!important}.compact-category-card .service-actions .btn{height:28px!important;font-size:8px!important;padding:5px 8px!important}.user-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important}.user-service-card{min-height:225px!important;padding:0!important;border-radius:7px!important}.user-service-card .service-media{height:92px!important;border-bottom:1px solid #e4edf4!important;border-radius:7px 7px 0 0!important}.user-service-card .service-media>img{width:100%!important;height:100%!important;padding:14px!important;object-fit:contain!important}.user-service-card .service-card-body{padding:10px!important}.user-service-card h3{font-size:10.5px!important;margin:0 0 4px!important}.user-service-card p{font-size:8px!important;line-height:1.35!important;max-height:34px;overflow:hidden}.user-service-card .chips{margin:6px 0!important}.user-service-card .chip{font-size:7px!important;padding:3px 5px!important}.user-service-card .service-actions{gap:5px!important}.user-service-card .btn{font-size:8px!important;padding:7px 7px!important;border-radius:4px!important}
.dashboard-service-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}.dash-service-card{padding:8px!important;border-radius:6px!important;min-height:190px!important}.dashboard-service-grid .dash-service-img{height:72px!important}.dash-service-img>img{padding:10px!important}.dash-service-card h3{font-size:9.5px!important}.dash-service-card p{font-size:7.5px!important;line-height:1.35!important;min-height:21px!important}.dash-service-card .btn{min-height:28px!important;font-size:8px!important}
.apply-visual-wrap{width:66px!important;height:66px!important;border-radius:7px!important}.apply-visual-wrap .apply-photo{width:66px!important;height:66px!important;padding:8px!important;border-radius:7px!important}
.admin-service-cell img{width:32px!important;height:32px!important;border-radius:5px!important;padding:3px!important}
.table{border-radius:5px!important}.table th,.table td{padding:9px!important}.btn{border-radius:5px!important}.field input,.field select,.field textarea,.search{border-radius:5px!important}
/* ensure no photos anywhere in service UI */
.service-media>img,.dash-service-img>img,.apply-visual-wrap .apply-photo,.admin-service-cell img{filter:none!important;object-fit:contain!important}.service-logo-badge,.dash-service-img>span,.apply-visual-wrap .apply-logo{display:none!important}
@media(max-width:1500px){.live-service-strip{grid-template-columns:repeat(5,minmax(0,1fr))}.dashboard-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}.user-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1180px){.portal-masthead{grid-template-columns:1fr 1fr!important}.pro-mast-right{display:none!important}.live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.user-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.user-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:980px){.portal-masthead{height:66px!important}.sidebar{top:66px!important;height:calc(100vh - 66px)!important}.main{margin-left:0!important;padding-top:66px!important}.topbar{top:66px!important}.live-service-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.live-service-strip,.user-category-grid,.user-service-grid,.dashboard-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.compact-category-card{grid-template-columns:52px 1fr!important}.compact-category-card .service-media,.compact-category-card .service-media>img{width:52px!important;height:52px!important}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.live-service-strip,.user-category-grid,.user-service-grid,.dashboard-service-grid{grid-template-columns:1fr!important}.dashboard-kpis{grid-template-columns:1fr!important}}


/* =========================================================
   V6.35.0 · COMPACT PREMIUM SERVICE DESK
   Fixes tall/empty logo-only category cards and sharpens both
   Admin/User navigation while keeping LIVE services first.
   ========================================================= */
:root{--v635-navy:#073d6b;--v635-blue:#0b75d1;--v635-blue2:#0f8cf0;--v635-line:#d8e6f1;--v635-soft:#f7fbfe;--v635-ink:#103954}

/* Slim, flat and readable sidebars */
.sidebar{width:218px!important;background:#07528c!important;border-right:1px solid #0a4779!important;box-shadow:none!important}
.main{margin-left:218px!important}
.sidebar .brand{height:82px!important;padding:14px 14px!important;background:#073d6b!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
.sidebar .brand b{font-size:13px!important;color:#fff!important}.sidebar .brand small{font-size:9px!important;color:#cfe8f8!important}
.sidebar nav{padding:8px 0 12px!important}.sidebar .nav-section{margin:14px 14px 5px!important;color:#87b7d7!important;font-size:8px!important;letter-spacing:.12em!important}
.sidebar .nav-item,.sidebar .nav-button{min-height:39px!important;padding:9px 14px!important;margin:0!important;border:0!important;border-left:4px solid transparent!important;border-radius:0!important;background:transparent!important;color:#ecf7ff!important;font-size:11px!important;font-weight:700!important;box-shadow:none!important}
.sidebar .nav-item:hover{background:#0b639f!important;transform:none!important}.sidebar .nav-item.active{background:linear-gradient(90deg,#0b79d0,#3185ff)!important;color:#fff!important;border-left-color:#d8f1ff!important}
.sidebar .nav-ico{width:25px!important;height:25px!important;min-width:25px!important;background:transparent!important;border:0!important;box-shadow:none!important}.sidebar .nav-ico svg{width:15px!important;height:15px!important;fill:#fff!important}
.sidebar .side-user{background:#073d6b!important;border-top:1px solid rgba(255,255,255,.12)!important;padding:11px 13px!important}
.sidebar .side-tools{padding:8px 10px!important}.sidebar .side-tool{border-radius:4px!important;background:rgba(255,255,255,.06)!important}

/* Admin remains a deeper control-panel blue; user is a touch brighter */
.role-admin .sidebar{background:#07446f!important}.role-admin .sidebar .brand,.role-admin .sidebar .side-user{background:#063653!important}
body:not(.role-admin) .sidebar{background:#075a96!important}.role-admin .sidebar .nav-item.active,body:not(.role-admin) .sidebar .nav-item.active{background:linear-gradient(90deg,#0675cf,#3382ff)!important;color:#fff!important}

/* Services page: remove oversized blank media cards completely */
.user-service-page .content{padding:16px 18px 28px!important}.user-service-page .user-clean-panel{padding:12px!important;background:#fff!important;border:1px solid var(--v635-line)!important;border-radius:7px!important}
.user-service-page .panel-head{margin-bottom:10px!important;padding-bottom:9px!important;border-bottom:1px solid #e8f0f6!important}
.user-service-page .user-category-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.category-tile-v635{min-height:82px!important;display:grid!important;grid-template-columns:54px 1fr 24px!important;align-items:center!important;gap:10px!important;padding:12px!important;background:#fff!important;border:1px solid var(--v635-line)!important;border-radius:7px!important;box-shadow:0 2px 7px rgba(18,71,109,.04)!important;color:var(--v635-ink)!important;transition:.15s ease!important}
.category-tile-v635:hover{border-color:#8dc4eb!important;background:#f8fcff!important;transform:translateY(-1px)!important;box-shadow:0 7px 18px rgba(18,71,109,.08)!important}
.category-logo-v635{width:54px;height:54px;border-radius:8px;background:#f2f7fb;border:1px solid #e0ebf3;display:grid;place-items:center}.category-logo-v635 img{width:38px;height:38px;object-fit:contain}
.category-copy-v635{min-width:0;display:flex;flex-direction:column;gap:4px}.category-copy-v635 b{font-size:12px;line-height:1.2;color:#103f63}.category-copy-v635 small{font-size:9px;color:#71879a}.category-arrow-v635{font-size:26px;line-height:1;color:#0b75d1;text-align:right}

/* Individual service cards: logo centered, no photo/duplicate badge */
.user-service-page .user-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}.user-service-page .user-service-card{min-height:210px!important;border:1px solid var(--v635-line)!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important}
.user-service-page .user-service-card .service-media{height:86px!important;background:linear-gradient(180deg,#f8fbfe,#f1f7fb)!important;border-bottom:1px solid #e2ecf3!important;display:grid!important;place-items:center!important}.user-service-page .user-service-card .service-media>img{width:58px!important;height:58px!important;padding:4px!important;object-fit:contain!important}.user-service-page .service-logo-badge{display:none!important}
.user-service-page .user-service-card .service-card-body{padding:10px 11px!important}.user-service-page .user-service-card h3{font-size:11px!important;line-height:1.25!important;margin:0 0 4px!important}.user-service-page .user-service-card p{font-size:8px!important;line-height:1.35!important;margin:0 0 6px!important;max-height:32px!important}.user-service-page .user-service-card .btn{font-size:8px!important;min-height:30px!important;padding:7px 8px!important}
.service-logo-stage-v635{height:90px;display:grid;place-items:center;background:#f4f8fb;border-bottom:1px solid #e1ebf2}.service-logo-stage-v635 img{width:60px;height:60px;object-fit:contain}

/* LIVE services are the focal row and stay above everything else */
.live-services-panel{border:1px solid #cee1ef!important;border-left:4px solid #0b75d1!important;border-radius:7px!important;background:#fff!important;box-shadow:0 4px 14px rgba(15,78,120,.05)!important}.live-service-strip{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:9px!important}.live-service-card{min-height:68px!important;padding:9px!important;border-radius:6px!important;background:#fbfdff!important}.live-service-logo{width:42px!important;height:42px!important}.live-service-logo img{width:31px!important;height:31px!important}.live-copy b{font-size:9px!important}.live-copy small{font-size:7.5px!important}.live-service-card i{font-size:6.5px!important}

/* Cleaner dashboard density */
.dashboard-kpis,.stats{gap:10px!important}.panel{border-radius:7px!important}.topbar{min-height:66px!important;padding:10px 18px!important}.content{padding:18px!important}.portal-masthead{box-shadow:0 2px 8px rgba(23,69,102,.06)!important}

@media(max-width:1450px){.user-service-page .user-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.live-service-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:1080px){.user-service-page .user-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}.sidebar{width:210px!important}.main{margin-left:210px!important}}
@media(max-width:980px){.sidebar{width:min(84vw,280px)!important}.main{margin-left:0!important}.user-service-page .user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.user-service-page .user-category-grid,.user-service-page .user-service-grid,.live-service-strip{grid-template-columns:1fr!important}.category-tile-v635{grid-template-columns:48px 1fr 20px!important}.category-logo-v635{width:48px;height:48px}.category-logo-v635 img{width:34px;height:34px}}

/* =========================================================
   V6.36.0 · COMPLETE REFERENCE-STYLE PREMIUM UI
   Flat simple sidebars, clean citizen-service workspace,
   canonical service groups, logo-only cards, live services first.
   ========================================================= */
:root{
  --v636-navy:#06345b;--v636-navy2:#074a7d;--v636-blue:#0784e9;--v636-blue2:#2d74ff;
  --v636-green:#12b76a;--v636-orange:#ff8b16;--v636-purple:#7c3aed;--v636-red:#f43f5e;
  --v636-bg:#f3f8fc;--v636-panel:#ffffff;--v636-line:#d8e5ef;--v636-ink:#0b3555;--v636-muted:#70869a;
}
html,body{background:var(--v636-bg)!important;color:var(--v636-ink)!important}
.portal-masthead{height:76px!important;grid-template-columns:minmax(280px,1.05fr) minmax(420px,1.25fr) minmax(420px,1.25fr)!important;background:#fff!important;border-bottom:1px solid #cddfeb!important;box-shadow:0 3px 12px rgba(23,63,92,.08)!important;padding:0 22px!important}
.mast-brand img{width:48px!important;height:48px!important}.mast-brand b{font-size:25px!important;letter-spacing:-.02em!important}.mast-brand small{font-size:10px!important}
.mast-slogan{height:44px!important;border-radius:6px!important;background:linear-gradient(100deg,#6d28d9,#2563eb,#0b8fee)!important;color:#fff!important;box-shadow:none!important}.mast-slogan b{font-size:13px!important}.mast-slogan i{height:22px!important;background:rgba(255,255,255,.35)!important}
.pro-mast-right{gap:10px!important}.mast-wallet,.mast-bell,.mast-profile{border:1px solid #d8e5ef!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important}.mast-script{font-size:18px!important;color:#0a3151!important}.mast-private{font-size:6.5px!important;line-height:1.05!important;max-width:72px!important}
.sidebar{top:76px!important;height:calc(100vh - 76px)!important;width:236px!important;background:linear-gradient(180deg,#073a67 0%,#07558e 100%)!important;border-right:0!important;box-shadow:4px 0 14px rgba(7,52,91,.12)!important}
.main{margin-left:236px!important;padding-top:76px!important}.sidebar .brand{height:92px!important;background:#06345b!important;padding:15px 15px!important}.sidebar .brand-mark{width:44px!important;height:44px!important}.sidebar .brand b{font-size:13px!important}.sidebar .brand small{font-size:8px!important;line-height:1.25!important}
.sidebar nav{padding:6px 0 12px!important}.sidebar .nav-section{margin:13px 16px 4px!important;font-size:7.5px!important;color:#8dbbd9!important}.sidebar .nav-item,.sidebar .nav-button{min-height:42px!important;padding:10px 15px!important;font-size:11px!important;border-left:4px solid transparent!important;color:#f4fbff!important}.sidebar .nav-item.active{background:linear-gradient(90deg,#0b79d7,#2f74ff)!important;border-left-color:#d9f4ff!important}.sidebar .nav-item:hover{background:rgba(255,255,255,.08)!important}.sidebar .nav-label{font-weight:700!important}.sidebar .side-user{background:#06345b!important}.sidebar .side-tools{background:transparent!important}
.role-admin .sidebar{background:linear-gradient(180deg,#06375f,#074a7b)!important}.role-admin .sidebar .brand,.role-admin .sidebar .side-user{background:#052f50!important}
body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#074a7d,#07649f)!important}
.topbar{top:76px!important;min-height:72px!important;background:#fff!important;border-bottom:3px solid #1a86e8!important;box-shadow:0 4px 10px rgba(32,75,106,.05)!important;padding:10px 18px!important}.topbar h1{font-size:24px!important}.topbar .sub{font-size:10px!important;color:#7890a3!important}
.content{padding:14px 18px 26px!important;max-width:none!important}.panel{background:#fff!important;border:1px solid var(--v636-line)!important;border-radius:8px!important;box-shadow:0 4px 14px rgba(29,73,104,.055)!important}.panel-head{padding-bottom:10px!important;border-bottom:1px solid #e8f0f5!important}.panel-head h2{font-size:16px!important}.panel-head .muted{font-size:9px!important}
.dash-title-band{border-radius:8px!important;margin-bottom:12px!important;box-shadow:0 4px 14px rgba(42,78,110,.07)!important;padding:13px 16px!important}.admin-band{background:linear-gradient(90deg,#e9f5ff,#fff)!important;border:1px solid #cfe3f3!important}.user-band{background:linear-gradient(90deg,#eaf8f1,#fff)!important;border:1px solid #cfe8dc!important}.dash-title-band h2{font-size:22px!important}.dash-title-band p{font-size:10px!important}
.dashboard-kpis{gap:10px!important;margin:10px 0 12px!important}.dash-kpi{min-height:112px!important;border-radius:8px!important;box-shadow:0 7px 18px rgba(17,68,110,.12)!important;padding:16px 18px!important}.dash-kpi strong{font-size:27px!important}.dash-kpi small{font-size:9px!important}.dash-kpi em{font-size:8px!important}.kpi-blue{background:linear-gradient(135deg,#0784e9,#1774db)!important}.kpi-green{background:linear-gradient(135deg,#16bd71,#10a95f)!important}.kpi-orange{background:linear-gradient(135deg,#ff9a1d,#ff7a08)!important}.kpi-purple{background:linear-gradient(135deg,#8b46f4,#7132df)!important}.kpi-red{background:linear-gradient(135deg,#ff526b,#eb2f56)!important}
.dashboard-two{gap:12px!important}.dash-chart,.dash-recent{min-height:300px!important}.ref-bars{min-height:210px!important}.recent-row{min-height:34px!important;padding:6px 8px!important;font-size:9px!important}.recent-table-head{font-size:8px!important}.dashboard-bottom-grid{gap:12px!important;margin-top:12px!important}.quick-manage-grid{gap:10px!important}.quick-manage-grid>a{border-radius:7px!important;min-height:96px!important;border:1px solid #dce8f0!important}.system-list>div{min-height:32px!important}
.live-services-panel{margin-bottom:12px!important;border-left:4px solid #1889e8!important}.live-services-panel .panel-head{margin-bottom:9px!important}.live-service-strip{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:9px!important}.live-service-card{min-height:82px!important;display:grid!important;grid-template-columns:46px 1fr!important;grid-template-rows:auto auto!important;align-items:center!important;gap:4px 9px!important;padding:10px!important;border:1px solid #dbe7f0!important;background:#fff!important}.live-service-logo{width:46px!important;height:46px!important;border-radius:7px!important;background:#f3f8fc!important}.live-service-logo img{width:34px!important;height:34px!important}.live-copy b{font-size:9px!important}.live-copy small{font-size:7px!important}.live-service-card i{grid-column:2!important;font-size:7px!important;color:#0aa85c!important;text-align:left!important}
.user-service-page .user-simple-hero{padding:14px 16px!important;border-radius:8px!important;background:linear-gradient(90deg,#edf7ff,#fff)!important;border:1px solid #d4e8f7!important}.user-service-page .user-simple-hero h2{font-size:18px!important}.user-service-page .user-simple-hero p{font-size:9px!important}.user-service-page .user-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.category-tile-v635{min-height:74px!important;padding:10px!important;border-radius:7px!important;grid-template-columns:48px 1fr 18px!important}.category-logo-v635{width:48px!important;height:48px!important}.category-logo-v635 img{width:34px!important;height:34px!important}.category-copy-v635 b{font-size:11px!important}.category-copy-v635 small{font-size:8px!important}.category-arrow-v635{font-size:20px!important}
.user-service-page .user-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}.user-service-card{min-height:220px!important;border-radius:7px!important}.user-service-card .service-media{height:92px!important}.user-service-card .service-media>img{width:64px!important;height:64px!important}.user-service-card .service-card-body{padding:10px!important}.user-service-card h3{font-size:11px!important}.user-service-card p{font-size:8px!important}.user-service-card .chips{gap:4px!important}.user-service-card .chip{font-size:7px!important}.user-service-card .service-actions{gap:6px!important}.user-service-card .btn{font-size:8px!important;border-radius:5px!important}
.dashboard-service-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:9px!important}.dash-service-card{min-height:190px!important;border:1px solid #dbe7f0!important;border-radius:7px!important;background:#fff!important;box-shadow:0 3px 10px rgba(24,72,105,.04)!important;padding:10px!important}.dash-service-img{height:74px!important}.dash-service-img>img{width:60px!important;height:60px!important;object-fit:contain!important}.dash-service-card h3{font-size:10px!important}.dash-service-card p{font-size:8px!important;min-height:28px!important}.dash-service-card .btn{font-size:8px!important;border-radius:5px!important}
.user-shortcut-grid{gap:10px!important}.user-shortcut-grid>a,.user-shortcut-grid>button{min-height:86px!important;border-radius:7px!important;border:1px solid #dbe7f0!important}
.table-wrap,.table-shell,.data-table-wrap{border:1px solid #d9e6ef!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important}.table{border-radius:7px!important}.table th{background:#eef5fa!important;color:#31546b!important;font-size:8px!important;text-transform:uppercase!important}.table td{font-size:9px!important}.btn{border-radius:5px!important;font-weight:700!important}.btn.primary{background:#0c77d8!important;border-color:#0c77d8!important}.field input,.field select,.field textarea,.search{border-radius:5px!important;border-color:#cddfea!important;background:#fff!important}
.admin-dashboard .content,.user-dashboard .content{padding-top:12px!important}.trust-strip{border-radius:7px!important;background:#fff!important;border:1px solid #dbe7f0!important}.user-private-note{font-size:7.5px!important;color:#7f92a1!important;text-align:center!important}
/* Admin workspaces including Users & Hierarchy */
.role-admin .content>.panel,.role-admin .content>.card,.role-admin .content>section{border-radius:8px}.role-admin .stats .stat,.role-admin .metric-card,.role-admin .summary-card{border-radius:7px!important;box-shadow:0 4px 12px rgba(27,72,103,.06)!important}.role-admin .topbar .btn.primary{background:#0c77d8!important}
@media(max-width:1500px){.live-service-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important}.dashboard-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1200px){.portal-masthead{grid-template-columns:1fr 1.2fr!important}.pro-mast-right{display:none!important}.user-service-page .user-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:980px){.portal-masthead{height:66px!important}.sidebar{top:66px!important;height:calc(100vh - 66px)!important;width:min(84vw,290px)!important}.main{margin-left:0!important;padding-top:66px!important}.topbar{top:66px!important}.live-service-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}.user-service-page .user-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.live-service-strip,.user-service-page .user-category-grid,.user-service-page .user-service-grid,.dashboard-service-grid{grid-template-columns:1fr!important}.dashboard-kpis{grid-template-columns:1fr!important}.mast-brand b{font-size:18px!important}}

/* =========================================================
   V6.37.0 · FINAL POLISHED REFERENCE UI
   Removes duplicated top spacing, enlarges LIVE service desk,
   keeps sidebars flat/simple, and tightens Admin/User layouts.
   ========================================================= */
:root{
  --v637-navy:#073861;--v637-blue:#0c7ddb;--v637-blue2:#2f74ff;
  --v637-green:#16b768;--v637-orange:#ff8a14;--v637-purple:#7c3aed;
  --v637-red:#ef476f;--v637-surface:#f4f8fc;--v637-line:#d7e4ee;
}
/* Masthead participates in layout so there is no empty band below it. */
.portal-masthead{
  position:sticky!important;top:0!important;height:68px!important;
  grid-template-columns:minmax(270px,1fr) minmax(400px,1.15fr) minmax(400px,1.15fr)!important;
  padding:0 20px!important;z-index:90!important;background:#fff!important;
}
.mast-brand img{width:44px!important;height:44px!important}.mast-brand b{font-size:22px!important}.mast-brand small{font-size:9px!important}
.mast-slogan{height:40px!important}.mast-slogan b{font-size:12px!important}.mast-script{font-size:17px!important}
.sidebar{top:68px!important;height:calc(100vh - 68px)!important;width:224px!important}
.main{margin-left:224px!important;padding-top:0!important}
.topbar{top:68px!important;min-height:60px!important;padding:8px 16px!important}.topbar h1{font-size:20px!important}.topbar .sub{font-size:9px!important}
.content{padding:12px 16px 22px!important}
.sidebar .brand{height:86px!important;padding:12px 13px!important}.sidebar .brand-mark{width:42px!important;height:42px!important}.sidebar .brand b{font-size:12px!important}.sidebar .brand small{font-size:7.5px!important}
.sidebar .nav-item,.sidebar .nav-button{min-height:39px!important;padding:9px 13px!important;font-size:10.5px!important}
.sidebar .nav-section{margin:11px 14px 4px!important;font-size:7px!important}
.sidebar .nav-ico{width:24px!important;height:24px!important;min-width:24px!important}

/* LIVE service desk: readable, prominent, logo-only, and first. */
.live-services-panel{padding:13px!important;margin:0 0 12px!important;border-left:4px solid var(--v637-blue)!important;background:#fff!important}
.live-services-panel .panel-head{margin-bottom:10px!important;padding-bottom:9px!important}
.live-services-panel .panel-head h2{font-size:17px!important}.live-services-panel .panel-head .muted{font-size:9px!important}
.live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.live-service-card{
  min-height:104px!important;grid-template-columns:56px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;padding:12px!important;border-radius:7px!important;
  border:1px solid #dbe7f0!important;box-shadow:0 3px 10px rgba(21,67,99,.04)!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
}
.live-service-card:hover{border-color:#a8cce5!important;box-shadow:0 5px 16px rgba(21,67,99,.09)!important}
.live-service-logo{width:56px!important;height:56px!important;border-radius:8px!important;background:#f2f7fb!important;border:1px solid #dce8f1!important}
.live-service-logo img{width:42px!important;height:42px!important;object-fit:contain!important}
.live-copy b{font-size:10.5px!important;line-height:1.3!important}.live-copy small{font-size:7.5px!important}.live-service-card i{font-size:7.5px!important;grid-column:2!important}

/* Compact category desk with no blank media/image area. */
.user-service-page .user-clean-panel{padding:12px!important}
.user-service-page .user-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}
.category-tile-v635{
  min-height:66px!important;padding:9px 10px!important;grid-template-columns:44px minmax(0,1fr) 18px!important;
  gap:9px!important;border-radius:7px!important;background:#fff!important;border:1px solid #d7e4ee!important;
  box-shadow:0 2px 7px rgba(29,73,104,.035)!important;
}
.category-tile-v635:hover{border-color:#a9cbe4!important;background:#fafdff!important;transform:none!important}
.category-logo-v635{width:44px!important;height:44px!important;border-radius:7px!important;background:#f2f7fb!important}
.category-logo-v635 img{width:32px!important;height:32px!important;object-fit:contain!important}.category-copy-v635 b{font-size:10.5px!important}.category-copy-v635 small{font-size:7.5px!important}.category-arrow-v635{font-size:18px!important;color:#0c77d8!important}
.user-category-grid .category-tile-v635:nth-child(6n+1){border-top:3px solid #1684e8!important}
.user-category-grid .category-tile-v635:nth-child(6n+2){border-top:3px solid #18b76b!important}
.user-category-grid .category-tile-v635:nth-child(6n+3){border-top:3px solid #ff8a14!important}
.user-category-grid .category-tile-v635:nth-child(6n+4){border-top:3px solid #7c3aed!important}
.user-category-grid .category-tile-v635:nth-child(6n+5){border-top:3px solid #ef476f!important}
.user-category-grid .category-tile-v635:nth-child(6n+6){border-top:3px solid #0d8ea6!important}

/* Admin dashboard proportions closer to reference. */
.dashboard-kpis{gap:10px!important;margin:10px 0 12px!important}.dash-kpi{min-height:104px!important;padding:14px 16px!important}.dash-kpi strong{font-size:26px!important}
.dashboard-two{grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)!important;gap:12px!important}.dash-chart,.dash-recent{min-height:284px!important}.ref-bars{min-height:196px!important}
.dashboard-bottom-grid{grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr)!important}.quick-manage-grid>a{min-height:88px!important}

/* Service listing: logo-only cards, no photo regions. */
.user-service-page .user-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
.user-service-card{min-height:196px!important;background:#fff!important;box-shadow:0 3px 10px rgba(24,72,105,.04)!important}
.user-service-card .service-media{height:78px!important;background:#f5f9fc!important;display:grid!important;place-items:center!important;border-bottom:1px solid #e1ebf2!important}
.user-service-card .service-media>img{width:54px!important;height:54px!important;object-fit:contain!important;padding:0!important}
.user-service-card .service-logo-badge{display:none!important}.user-service-card .service-card-body{padding:9px 10px!important}.user-service-card h3{font-size:10.5px!important}.user-service-card p{font-size:7.5px!important;max-height:31px!important}
.user-service-card .btn{font-size:8px!important;padding:7px!important}.user-service-card .chips{margin:5px 0!important}

/* Flat panels and stronger visual hierarchy. */
.panel{border-radius:7px!important;box-shadow:0 3px 10px rgba(24,72,105,.045)!important}.panel-head{margin-bottom:12px!important}.panel-head h2{font-size:15px!important}
.table th{font-size:7.5px!important}.table td{font-size:8.5px!important}.wallet-pill,.mast-wallet,.mast-profile,.mast-bell,.icon-btn,.btn,.search{border-radius:5px!important}
.role-admin .sidebar .nav-item.active,body:not(.role-admin) .sidebar .nav-item.active{box-shadow:inset 4px 0 0 #c8ecff!important}

@media(max-width:1450px){.live-service-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1200px){.portal-masthead{grid-template-columns:1fr 1.15fr!important}.pro-mast-right{display:none!important}.user-service-page .user-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-two,.dashboard-bottom-grid{grid-template-columns:1fr!important}}
@media(max-width:980px){.portal-masthead{height:62px!important;grid-template-columns:1fr!important}.mast-slogan,.pro-mast-right{display:none!important}.sidebar{top:62px!important;height:calc(100vh - 62px)!important;width:min(84vw,286px)!important}.main{margin-left:0!important;padding-top:0!important}.topbar{top:62px!important}.live-service-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.user-service-page .user-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.live-service-strip,.user-service-page .user-category-grid,.user-service-page .user-service-grid{grid-template-columns:1fr!important}.dashboard-kpis{grid-template-columns:1fr!important}}

/* =========================================================
   MG Print Portal V6.38.0 — compact premium dashboard polish
   Based on live V6.37 screenshots: denser layout, logo-only
   user service cards, larger readable LIVE desk, less whitespace.
   ========================================================= */
:root{--v638-blue:#0d7be8;--v638-navy:#07345d;--v638-line:#d8e5ef;--v638-bg:#f4f8fb}
body{background:var(--v638-bg)!important}
.portal-masthead{height:64px!important;padding:0 18px!important;grid-template-columns:minmax(260px,.95fr) minmax(390px,1.15fr) minmax(380px,1.05fr)!important}
.mast-brand img{width:40px!important;height:40px!important}.mast-brand b{font-size:21px!important}.mast-brand small{font-size:8px!important}.mast-slogan{height:38px!important}.mast-slogan b{font-size:11.5px!important}.mast-script{font-size:16px!important}
.sidebar{top:64px!important;height:calc(100vh - 64px)!important;width:218px!important;background:linear-gradient(180deg,#0a4d88 0%,#06365f 100%)!important}
.main{margin-left:218px!important;padding-top:0!important}.topbar{top:64px!important;min-height:54px!important;padding:7px 14px!important}.topbar h1{font-size:19px!important}.content{padding:10px 14px 18px!important;max-width:1680px!important}
.sidebar .brand{height:72px!important;min-height:72px!important;padding:10px 11px!important}.sidebar .brand-mark{width:38px!important;height:38px!important}.sidebar .brand b{font-size:11.5px!important}.sidebar .brand small{font-size:7px!important}.sidebar .nav-item,.sidebar .nav-button{min-height:36px!important;height:36px!important;padding:7px 11px!important;font-size:10px!important}.sidebar .nav-section{margin:9px 12px 3px!important;font-size:6.8px!important}.sidebar .nav-ico{width:20px!important;height:20px!important;min-width:20px!important}

/* Make live services the strongest first section without becoming tall. */
.live-services-panel{padding:10px!important;margin-bottom:10px!important;border-left:3px solid var(--v638-blue)!important}.live-services-panel .panel-head{margin-bottom:8px!important;padding-bottom:7px!important}.live-services-panel .panel-head h2{font-size:16px!important}.live-services-panel .panel-head .muted{font-size:8px!important}
.live-service-strip{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important}.live-service-card{min-height:76px!important;grid-template-columns:42px minmax(0,1fr)!important;padding:9px!important;gap:8px!important}.live-service-logo{width:42px!important;height:42px!important}.live-service-logo img{width:32px!important;height:32px!important}.live-copy b{font-size:9px!important;line-height:1.2!important}.live-copy small{font-size:6.8px!important}.live-service-card i{font-size:6.8px!important;top:6px!important;right:6px!important}

/* Dashboard density and proportions. */
.dashboard-kpis{gap:8px!important;margin:8px 0 10px!important}.dash-kpi{min-height:94px!important;padding:12px 14px!important}.dash-kpi strong{font-size:24px!important}.dash-kpi small{font-size:8px!important}.dash-kpi em{font-size:7px!important}.kpi-big-icon{font-size:18px!important}
.dashboard-two{gap:10px!important;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)!important}.dash-chart,.dash-recent{min-height:250px!important}.ref-bars{height:165px!important;min-height:165px!important;padding-top:14px!important}.recent-row{min-height:29px!important;padding:5px 7px!important;font-size:8px!important}.recent-table-head{font-size:7px!important}.dashboard-bottom-grid{gap:10px!important;margin-top:10px!important}.quick-manage-grid>a{min-height:76px!important;padding:8px!important}.system-list>div{min-height:27px!important}

/* User popular services: logo-only compact row, no pale empty media blocks. */
.popular-services-panel{padding:11px!important}.popular-services-panel .panel-head{margin-bottom:8px!important}.dashboard-service-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:8px!important}.dash-service-card{min-height:154px!important;padding:10px 8px!important;border:1px solid var(--v638-line)!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}.dash-service-logo{height:56px!important;display:grid!important;place-items:center!important;background:#f3f8fc!important;border:1px solid #e1ebf3!important;border-radius:6px!important;margin-bottom:8px!important}.dash-service-logo img{width:42px!important;height:42px!important;object-fit:contain!important}.dash-service-card h3{font-size:9.5px!important;line-height:1.2!important;margin:0 0 3px!important;text-align:center!important}.dash-service-card p{font-size:6.8px!important;line-height:1.25!important;height:17px!important;overflow:hidden!important;text-align:center!important;color:#7a8fa2!important;margin:0 0 7px!important}.dash-service-card .btn{margin-top:auto!important;width:100%!important;height:28px!important;padding:5px 6px!important;font-size:8px!important;border-radius:4px!important}
.user-shortcut-grid{gap:8px!important;margin-top:9px!important}.user-shortcut-grid a,.user-shortcut-grid button{min-height:72px!important}.user-shortcut-grid span{font-size:20px!important;margin-bottom:3px!important}.user-shortcut-grid b{font-size:9px!important}.user-shortcut-grid small{font-size:6.8px!important}

/* Service catalog stays compact and logo-only. */
.user-service-page .user-clean-panel{padding:10px!important}.user-service-page .user-category-grid{gap:8px!important}.category-tile-v635{min-height:58px!important;padding:7px 9px!important;grid-template-columns:38px minmax(0,1fr) 16px!important}.category-logo-v635{width:38px!important;height:38px!important}.category-logo-v635 img{width:28px!important;height:28px!important}.category-copy-v635 b{font-size:9.5px!important}.category-copy-v635 small{font-size:6.8px!important}.user-service-page .user-service-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}.user-service-card{min-height:174px!important}.user-service-card .service-media{height:62px!important}.user-service-card .service-media>img{width:44px!important;height:44px!important}.user-service-card .service-card-body{padding:7px 8px!important}.user-service-card h3{font-size:9.5px!important}.user-service-card p{font-size:6.8px!important;max-height:25px!important}.user-service-card .btn{font-size:7.5px!important;padding:6px!important}

.trust-strip{margin-top:9px!important}.trust-strip div{padding:8px!important;font-size:7.5px!important}.user-private-note{margin-top:5px!important;font-size:6.8px!important}

@media(max-width:1500px){.live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}.dashboard-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:1180px){.portal-masthead{grid-template-columns:1fr 1.1fr!important}.pro-mast-right{display:none!important}.live-service-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:980px){.portal-masthead{height:60px!important;grid-template-columns:1fr!important}.mast-slogan,.pro-mast-right{display:none!important}.sidebar{top:60px!important;height:calc(100vh - 60px)!important;width:min(84vw,280px)!important}.main{margin-left:0!important}.topbar{top:60px!important}.dashboard-two,.dashboard-bottom-grid{grid-template-columns:1fr!important}.live-service-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard-service-grid,.user-service-page .user-service-grid,.user-service-page .user-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.dashboard-kpis,.live-service-strip,.dashboard-service-grid,.user-service-page .user-service-grid,.user-service-page .user-category-grid{grid-template-columns:1fr!important}}

/* =========================================================
   V6.39.0 · FINAL SIGNATURE POLISH
   Dense, premium, accessible Admin/User workspaces.
   Keeps live services first and logo-only service presentation.
   ========================================================= */
:root{
  --sig-navy:#063c67;--sig-navy2:#07558f;--sig-blue:#0c7be8;--sig-blue2:#2b82ff;
  --sig-line:#dce7f1;--sig-soft:#f7fbff;--sig-text:#113a59;--sig-muted:#71889b;
  --sig-shadow:0 8px 24px rgba(25,70,105,.07);
}
html,body{font-size:14px}
body{background:#f4f8fc!important;color:var(--sig-text)!important}
.portal-masthead{height:64px!important;min-height:64px!important;padding:0 18px!important;border-bottom:1px solid #d6e4ef!important;box-shadow:0 3px 12px rgba(19,63,96,.055)!important;background:#fff!important}
.portal-masthead .mast-brand{gap:10px!important}.portal-masthead .mast-brand img{width:38px!important;height:38px!important}.portal-masthead .mast-brand b{font-size:18px!important;letter-spacing:.01em}.portal-masthead .mast-brand small{font-size:8px!important}
.mast-slogan{height:36px!important;min-width:440px!important;border-radius:7px!important;padding:0 26px!important;box-shadow:none!important}.mast-slogan b{font-size:11px!important}.mast-slogan i{height:16px!important}
.mast-right{gap:7px!important}.mast-script{font-size:17px!important}.mast-private{font-size:6.5px!important;line-height:1.15!important;max-width:62px!important}.mast-wallet,.mast-profile,.mast-bell{height:38px!important;border-radius:6px!important;box-shadow:none!important}.mast-wallet{padding:4px 9px!important}.mast-wallet small{font-size:6.5px!important}.mast-wallet b{font-size:11px!important}.mast-profile{padding:4px 8px!important}.mast-profile>span{width:28px!important;height:28px!important}.mast-profile small{font-size:7px!important}.mast-profile small b{font-size:9px!important}.mast-bell{width:38px!important}

.sidebar{width:206px!important;top:64px!important;height:calc(100vh - 64px)!important;background:linear-gradient(180deg,#06466f,#075d97)!important;border-right:1px solid #06406a!important;box-shadow:none!important}
.main{margin-left:206px!important;padding-top:64px!important}.topbar{top:64px!important}
.role-admin .sidebar{background:linear-gradient(180deg,#053754,#064e7c)!important}
.sidebar .brand{height:76px!important;padding:12px 12px!important;background:rgba(4,45,72,.9)!important}.sidebar .brand-mark{width:36px!important;height:36px!important;border-radius:7px!important}.sidebar .brand b{font-size:12px!important}.sidebar .brand small{font-size:7.5px!important;line-height:1.2!important}.sidebar nav{padding-top:5px!important}.sidebar .nav-section{margin:10px 12px 4px!important;font-size:7px!important}.sidebar .nav-item,.sidebar .nav-button{min-height:36px!important;padding:7px 12px!important;border-left-width:3px!important;font-size:10px!important;line-height:1.1!important}.sidebar .nav-ico{width:23px!important;height:23px!important;min-width:23px!important}.sidebar .nav-ico svg{width:14px!important;height:14px!important}.sidebar .nav-item.active{background:linear-gradient(90deg,#0678dc 0%,#2d80ff 100%)!important;border-left-color:#dff4ff!important}.sidebar .nav-badge{font-size:7px!important;min-width:17px!important;height:17px!important}.sidebar .side-tools{padding:6px 8px!important}.sidebar .side-tool{height:34px!important;font-size:9px!important}.sidebar .side-user{padding:8px 10px!important;min-height:56px!important}.side-avatar{width:31px!important;height:31px!important}.side-user-copy b{font-size:9px!important}.side-user-copy small,.side-user-copy .pid{font-size:6.8px!important}

.content{padding:12px 16px 24px!important}.page-head,.content-head{margin-bottom:10px!important}.panel{border:1px solid var(--sig-line)!important;border-radius:7px!important;background:#fff!important;box-shadow:0 4px 14px rgba(21,62,95,.045)!important}.panel-head{padding-bottom:8px!important;margin-bottom:8px!important}.panel-head h2{font-size:15px!important}.panel-head p,.muted{font-size:8px!important}

.live-services-panel{padding:11px!important;margin-bottom:10px!important;box-shadow:var(--sig-shadow)!important}.live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.live-service-card{min-height:70px!important;padding:10px!important;border:1px solid #d8e6f1!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important}.live-service-card:hover{border-color:#8fc4eb!important;background:#f9fcff!important;transform:translateY(-1px)!important;box-shadow:0 7px 17px rgba(24,77,116,.08)!important}.live-service-logo{width:42px!important;height:42px!important;border-radius:7px!important;background:#f2f7fb!important;border:1px solid #dce8f1!important}.live-service-logo img{width:30px!important;height:30px!important;object-fit:contain!important}.live-copy b{font-size:10px!important;line-height:1.2!important}.live-copy small{font-size:7.5px!important;margin-top:2px!important}.live-service-card i{position:static!important;font-size:7px!important;padding:3px 5px!important;white-space:nowrap!important}

.dashboard-kpis{gap:9px!important;margin:9px 0!important}.dashboard-kpis .kpi,.kpi-card{min-height:108px!important;border-radius:7px!important;padding:13px!important;box-shadow:0 7px 18px rgba(24,71,108,.08)!important}.dashboard-kpis .kpi b,.kpi-card strong{font-size:25px!important}.dashboard-kpis .kpi small,.kpi-card small{font-size:8px!important}.dashboard-grid{gap:10px!important}.chart-card,.recent-card{min-height:300px!important}.quick-grid{gap:8px!important}.quick-grid>*{border-radius:7px!important;min-height:94px!important}.table th{font-size:8px!important}.table td{font-size:9px!important}.table th,.table td{padding:8px 9px!important}

.user-service-page .content{padding:12px 14px 22px!important}.user-service-page .live-services-panel{margin-bottom:10px!important}.user-service-page .user-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.category-tile-v635{min-height:68px!important;grid-template-columns:46px 1fr 18px!important;gap:8px!important;padding:8px 9px!important;border-radius:6px!important;box-shadow:none!important}.category-logo-v635{width:46px!important;height:46px!important;border-radius:7px!important}.category-logo-v635 img{width:32px!important;height:32px!important}.category-copy-v635 b{font-size:10px!important}.category-copy-v635 small{font-size:7.5px!important}.category-arrow-v635{font-size:20px!important}.user-service-page .user-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}.user-service-page .user-service-card{min-height:194px!important;border-radius:7px!important;box-shadow:0 4px 12px rgba(25,70,105,.045)!important}.user-service-page .user-service-card .service-media{height:74px!important}.user-service-page .user-service-card .service-media>img{width:50px!important;height:50px!important}.user-service-page .user-service-card .service-card-body{padding:8px!important}.user-service-page .user-service-card h3{font-size:9.5px!important}.user-service-page .user-service-card p{font-size:7.5px!important;max-height:28px!important}.user-service-page .user-service-card .btn{height:27px!important;font-size:7.5px!important}
.dashboard-service-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:7px!important}.dash-service-card{min-height:168px!important}.dashboard-service-grid .dash-service-img{height:62px!important}.dash-service-img>img{width:48px!important;height:48px!important;padding:3px!important}.dash-service-card h3{font-size:8.5px!important}.dash-service-card p{font-size:7px!important}.dash-service-card .btn{min-height:26px!important;font-size:7.5px!important}

.field input,.field select,.field textarea,.search{min-height:38px!important;border-radius:6px!important;border-color:#d8e4ee!important}.btn{border-radius:6px!important;box-shadow:none!important}.btn.primary,.btn-primary{background:linear-gradient(90deg,#0875d4,#167ee8)!important}.chip{border-radius:999px!important}
.superchat-float{width:48px!important;height:48px!important;right:18px!important;bottom:18px!important}.superchat-orb{width:48px!important;height:48px!important}

@media(max-width:1500px){.live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}.dashboard-service-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media(max-width:1180px){.live-service-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.user-service-page .user-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:980px){.portal-masthead{height:58px!important;min-height:58px!important}.sidebar{top:58px!important;height:calc(100vh - 58px)!important}.main{margin-left:0!important;padding-top:58px!important}.topbar{top:58px!important}.mast-slogan{display:none!important}.live-service-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.content{padding:10px!important}}
@media(max-width:700px){.live-service-strip,.user-service-page .user-category-grid,.user-service-page .user-service-grid,.dashboard-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.live-service-strip,.user-service-page .user-category-grid,.user-service-page .user-service-grid,.dashboard-service-grid,.dashboard-kpis{grid-template-columns:1fr!important}.live-service-card{grid-template-columns:40px 1fr auto!important}}

/* =========================================================
   V6.40.0 · FINAL LAYOUT CORRECTION
   Fixes duplicated masthead spacing, LIVE badge stretching,
   page consistency, and final Admin/User density.
   ========================================================= */
:root{--v640-blue:#087ae3;--v640-navy:#063d68;--v640-line:#d9e6ef;--v640-bg:#f5f9fc}

/* The masthead is sticky and participates in document flow.
   Do NOT reserve its height a second time on .main. */
.portal-masthead{position:sticky!important;top:0!important;height:62px!important;min-height:62px!important;z-index:90!important}
.main{margin-left:206px!important;padding-top:0!important;min-height:calc(100vh - 62px)!important}
.sidebar{top:62px!important;height:calc(100vh - 62px)!important;width:206px!important}
.topbar{top:62px!important;min-height:54px!important;padding:7px 14px!important;background:#fff!important;border-bottom:2px solid #1684e8!important;box-shadow:0 2px 8px rgba(20,65,98,.04)!important}
.content{padding:10px 14px 20px!important}

/* Keep side navigation simple, readable and aligned on every role/page. */
.sidebar .brand{height:72px!important;min-height:72px!important;padding:10px 11px!important}
.sidebar .nav-item,.sidebar .nav-button{height:36px!important;min-height:36px!important;margin:0!important;padding:7px 11px!important;border-radius:0!important;border-left:3px solid transparent!important;box-shadow:none!important}
.sidebar .nav-item:hover,.sidebar .nav-button:hover{transform:none!important;background:rgba(255,255,255,.075)!important}
.sidebar .nav-item.active,.sidebar .nav-button.active{background:linear-gradient(90deg,#0878dc,#2e82ff)!important;border-left-color:#d8f2ff!important;box-shadow:none!important}
.sidebar .nav-section{margin:9px 11px 3px!important}
.sidebar nav{padding:5px 0!important}
.sidebar .side-tools{padding:6px 8px!important}.sidebar .side-user{min-height:54px!important;padding:7px 9px!important}

/* LIVE desk: compact cards and a true pill status (never a full-width strip). */
.live-services-panel{padding:10px!important;margin-bottom:10px!important;border-radius:7px!important}
.live-service-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.live-service-card{min-height:66px!important;padding:8px 9px!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;grid-template-rows:1fr!important;align-items:center!important;gap:8px!important;border-radius:6px!important}
.live-service-logo{width:40px!important;height:40px!important}.live-service-logo img{width:29px!important;height:29px!important}
.live-copy{min-width:0!important;display:block!important}.live-copy b{display:block!important;font-size:9.5px!important;line-height:1.2!important}.live-copy small{display:block!important;font-size:7px!important;line-height:1.2!important;margin-top:2px!important}
.live-service-card>i{position:static!important;grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:start!important;width:auto!important;min-width:0!important;max-width:max-content!important;height:auto!important;display:inline-flex!important;align-items:center!important;padding:2px 5px!important;margin:0!important;border-radius:999px!important;background:#e8f8ee!important;border:1px solid #c4ead2!important;color:#13804a!important;font-size:6.5px!important;line-height:1.2!important;white-space:nowrap!important}

/* Dashboard: no clipped first row, balanced density. */
.dashboard-kpis{margin:8px 0 10px!important;gap:8px!important}.dash-kpi{min-height:94px!important;padding:12px 14px!important}.dash-kpi strong{font-size:24px!important}
.dashboard-two{gap:10px!important}.dash-chart,.dash-recent{min-height:246px!important}.dashboard-bottom-grid{gap:10px!important;margin-top:10px!important}.quick-manage-grid>a{min-height:74px!important}

/* User service desk: compact logo-only cards/categories, no large empty media. */
.user-service-page .user-simple-hero{margin-bottom:10px!important;padding:12px 14px!important;min-height:0!important}
.user-service-page .user-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.category-tile-v635{min-height:60px!important;padding:7px 9px!important;grid-template-columns:40px 1fr 16px!important;gap:8px!important;border-radius:6px!important}
.category-logo-v635{width:40px!important;height:40px!important}.category-logo-v635 img{width:29px!important;height:29px!important}.category-copy-v635 b{font-size:9.5px!important}.category-copy-v635 small{font-size:7px!important}
.user-service-page .user-service-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
.user-service-page .user-service-card{min-height:176px!important}.user-service-page .user-service-card .service-media{height:64px!important}.user-service-page .user-service-card .service-media>img{width:44px!important;height:44px!important}.user-service-page .user-service-card .service-card-body{padding:7px 8px!important}

/* Tables, forms and setup screens use one consistent density. */
.table-wrap{border-radius:6px!important}.table th,.table td{padding:7px 8px!important}.table th{font-size:7.5px!important}.table td{font-size:8.5px!important}
.field input,.field select,.field textarea,.search{min-height:36px!important;border-radius:5px!important}.btn{border-radius:5px!important}

/* Prevent browser-restored anchors/sections from hiding under sticky bars. */
[id]{scroll-margin-top:126px}

@media(max-width:1500px){.live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1180px){.live-service-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}.user-service-page .user-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:980px){.portal-masthead{height:58px!important;min-height:58px!important}.sidebar{top:58px!important;height:calc(100vh - 58px)!important}.main{margin-left:0!important;padding-top:0!important}.topbar{top:58px!important}.live-service-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.user-service-page .user-category-grid,.user-service-page .user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.live-service-strip,.user-service-page .user-category-grid,.user-service-page .user-service-grid,.dashboard-kpis{grid-template-columns:1fr!important}.live-service-card{grid-template-columns:38px 1fr auto!important}.content{padding:8px!important}}

/* =========================================================
   V6.41.0 · STABLE SIDEBAR + FULL USER DASHBOARD
   Fixes sidebar jump/flicker and restores a fuller, readable
   user dashboard while preserving compact service catalog.
   ========================================================= */
:root{--v641-side:224px;--v641-top:62px}

/* Sidebar is a stable viewport rail; only nav scrolls. */
.sidebar{
  width:var(--v641-side)!important;
  top:var(--v641-top)!important;
  height:calc(100dvh - var(--v641-top))!important;
  overflow:hidden!important;
  contain:layout paint;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.main{margin-left:var(--v641-side)!important;padding-top:0!important;width:auto!important;min-width:0!important}
.sidebar nav{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  scroll-behavior:auto!important;
}
.sidebar .nav-item,.sidebar .nav-button{width:100%!important;min-width:0!important}
.sidebar .nav-label{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.sidebar .nav-ico{flex:0 0 25px!important}
.sidebar .nav-badge{flex:0 0 auto!important}
.sidebar .brand{flex:0 0 72px!important}.sidebar .side-tools,.sidebar .side-user{flex:0 0 auto!important}
.role-admin .sidebar .nav-item,.role-admin .sidebar .nav-button{font-size:10.5px!important;padding-left:12px!important;padding-right:10px!important}

/* Prevent width shifts when page/body scrollbar appears. */
html{scrollbar-gutter:stable}
body{overflow-x:hidden!important}
.portal-masthead{width:100%!important}

/* User dashboard should feel full and readable, not miniaturized. */
.user-dashboard .dashboard-content{
  max-width:none!important;
  width:100%!important;
  padding:14px 18px 24px!important;
}
.user-dashboard .dash-title-band{min-height:64px!important;padding:12px 16px!important;margin-bottom:12px!important}
.user-dashboard .dash-title-band h2{font-size:22px!important}
.user-dashboard .dash-title-band p{font-size:10.5px!important}
.user-dashboard .user-dashboard-kpis{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin:12px 0!important;
}
.user-dashboard .user-dashboard-kpis .dash-kpi{
  min-height:118px!important;
  padding:16px 18px!important;
}
.user-dashboard .user-dashboard-kpis .dash-kpi strong{font-size:29px!important}
.user-dashboard .user-dashboard-kpis .dash-kpi small{font-size:10.5px!important}
.user-dashboard .user-dashboard-kpis .dash-kpi em{font-size:9px!important}
.user-dashboard .user-apply-banner{
  min-height:128px!important;
  padding:18px 22px!important;
  margin:12px 0!important;
  border-radius:8px!important;
}
.user-dashboard .user-apply-banner h2{font-size:21px!important}
.user-dashboard .user-apply-banner p{font-size:11px!important}
.user-dashboard .popular-services-panel{padding:15px!important;margin-bottom:12px!important}
.user-dashboard .dashboard-service-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.user-dashboard .dash-service-card{
  min-height:178px!important;
  padding:12px!important;
  border-radius:7px!important;
}
.user-dashboard .dash-service-logo{height:62px!important;display:grid!important;place-items:center!important}
.user-dashboard .dash-service-logo img{width:52px!important;height:52px!important;object-fit:contain!important}
.user-dashboard .dash-service-card h3{font-size:11px!important;margin:6px 0 3px!important}
.user-dashboard .dash-service-card p{font-size:8.5px!important;line-height:1.35!important;min-height:24px!important}
.user-dashboard .dash-service-card .btn{min-height:31px!important;font-size:9px!important}
.user-dashboard .user-shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.user-dashboard .user-shortcut-grid>a,.user-dashboard .user-shortcut-grid>button{min-height:86px!important}

/* Dashboard LIVE cards: readable but not oversized. */
.admin-dashboard .live-service-strip,.user-dashboard .live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.admin-dashboard .live-service-card,.user-dashboard .live-service-card{min-height:72px!important}
.admin-dashboard .live-copy b,.user-dashboard .live-copy b{font-size:9.5px!important}

/* Desktop dashboard fills the useful viewport. */
.admin-dashboard .dashboard-content{max-width:none!important;width:100%!important;padding-left:16px!important;padding-right:16px!important}

@media(max-width:1280px){
  :root{--v641-side:214px}
  .user-dashboard .dashboard-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .user-dashboard .user-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:980px){
  :root{--v641-top:58px}
  .main{margin-left:0!important}
  .sidebar{width:286px!important;top:58px!important;height:calc(100dvh - 58px)!important;contain:none}
  .user-dashboard .dashboard-content{padding:10px!important}
  .user-dashboard .dashboard-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .user-dashboard .user-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  html{scrollbar-gutter:auto}
  .user-dashboard .user-dashboard-kpis,.user-dashboard .dashboard-service-grid,.user-dashboard .user-shortcut-grid{grid-template-columns:1fr!important}
  .user-dashboard .user-dashboard-kpis .dash-kpi{min-height:104px!important}
}

/* =========================================================
   V6.42.0 · WIDE STABLE SIDEBAR + FULL DESKTOP WORKSPACE
   Final correction from live screenshots: no clipped labels,
   no sidebar jump, wider user/admin workspace and larger UI.
   ========================================================= */
:root{--v641-side:248px;--v641-top:62px}

/* Desktop sidebar: wide enough for full labels, zero horizontal clipping. */
@media(min-width:981px){
  .sidebar{width:248px!important;min-width:248px!important}
  .main{margin-left:248px!important}
  .sidebar nav{padding-left:0!important;padding-right:0!important}
  .sidebar .nav-item,.sidebar .nav-button{padding-left:14px!important;padding-right:12px!important;font-size:10.5px!important;gap:9px!important}
  .sidebar .nav-label{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-size:10.5px!important;letter-spacing:-.05px!important}
  .sidebar .nav-ico{flex:0 0 24px!important;width:24px!important;height:24px!important;min-width:24px!important}
  .sidebar .nav-badge{margin-left:auto!important}
  .sidebar .brand{padding-left:13px!important;padding-right:13px!important}
  .sidebar .brand b{font-size:11.5px!important}.sidebar .brand small{font-size:7.3px!important}
}

/* Keep rail visually stable while independent nav scrolls. */
.sidebar{will-change:auto!important;contain:layout paint!important}
.sidebar nav{scrollbar-width:thin!important;scrollbar-color:rgba(255,255,255,.28) transparent!important}
.sidebar nav::-webkit-scrollbar{width:5px!important}.sidebar nav::-webkit-scrollbar-track{background:transparent!important}.sidebar nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25)!important;border-radius:5px!important}
.sidebar .nav-item,.sidebar .nav-button{transition:background-color .12s linear,color .12s linear!important;transform:none!important}

/* Desktop workspace should use the screen, not feel miniaturized. */
@media(min-width:981px){
  .content,.dashboard-content,.user-service-page .content{max-width:none!important;width:100%!important;margin:0!important;padding-left:18px!important;padding-right:18px!important}
  .topbar{padding-left:18px!important;padding-right:18px!important;min-height:58px!important}
  .topbar h1{font-size:20px!important}.topbar .sub{font-size:9.5px!important}
  .panel{padding:14px!important}
  .live-services-panel{padding:13px!important}
  .live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
  .live-service-card{min-height:78px!important;padding:10px 12px!important;grid-template-columns:46px minmax(0,1fr) auto!important}
  .live-service-logo{width:46px!important;height:46px!important}.live-service-logo img{width:35px!important;height:35px!important}
  .live-copy b{font-size:10px!important}.live-copy small{font-size:7.5px!important}
}

/* Admin dashboard: stronger, roomier proportions without giant whitespace. */
@media(min-width:1200px){
  .admin-dashboard .dashboard-kpis{gap:12px!important}.admin-dashboard .dash-kpi{min-height:110px!important;padding:15px 17px!important}.admin-dashboard .dash-kpi strong{font-size:28px!important}
  .admin-dashboard .dashboard-two{grid-template-columns:minmax(0,1.08fr) minmax(470px,.92fr)!important;gap:12px!important}
  .admin-dashboard .dash-chart,.admin-dashboard .dash-recent{min-height:285px!important}
  .admin-dashboard .ref-bars{height:190px!important;min-height:190px!important}
  .admin-dashboard .quick-manage-grid>a{min-height:88px!important}
}

/* User dashboard: full-size cards and service desk. */
.user-dashboard .dashboard-content{max-width:none!important;width:100%!important}
@media(min-width:1200px){
  .user-dashboard .dashboard-content{padding:16px 20px 26px!important}
  .user-dashboard .user-dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
  .user-dashboard .user-dashboard-kpis .dash-kpi{min-height:126px!important;padding:18px 20px!important}
  .user-dashboard .user-dashboard-kpis .dash-kpi strong{font-size:31px!important}
  .user-dashboard .user-apply-banner{min-height:142px!important;padding:20px 24px!important}
  .user-dashboard .user-apply-banner h2{font-size:23px!important}.user-dashboard .user-apply-banner p{font-size:11.5px!important}
  .user-dashboard .popular-services-panel{padding:16px!important}
  .user-dashboard .dashboard-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
  .user-dashboard .dash-service-card{min-height:198px!important;padding:13px!important}
  .user-dashboard .dash-service-logo{height:72px!important}.user-dashboard .dash-service-logo img{width:58px!important;height:58px!important}
  .user-dashboard .dash-service-card h3{font-size:12px!important}.user-dashboard .dash-service-card p{font-size:9px!important;min-height:28px!important}
  .user-dashboard .dash-service-card .btn{min-height:34px!important;font-size:9.5px!important}
  .user-dashboard .user-shortcut-grid>a,.user-dashboard .user-shortcut-grid>button{min-height:96px!important}
}

/* User services page: keep compact but readable. */
@media(min-width:1200px){
  .user-service-page .user-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
  .category-tile-v635{min-height:74px!important;padding:10px 11px!important;grid-template-columns:48px minmax(0,1fr) 20px!important}
  .category-logo-v635{width:48px!important;height:48px!important}.category-logo-v635 img{width:34px!important;height:34px!important}
  .category-copy-v635 b{font-size:10.5px!important}.category-copy-v635 small{font-size:7.8px!important}
}

@media(max-width:1280px) and (min-width:981px){
  :root{--v641-side:236px}
  .sidebar{width:236px!important;min-width:236px!important}.main{margin-left:236px!important}
  .sidebar .nav-label{font-size:9.8px!important}
  .user-dashboard .dashboard-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}


/* V6.43.0 - larger dynamic service desk */
@media(min-width:1100px){
  .live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
  .live-service-card{min-height:92px!important;padding:14px 15px!important;border-radius:9px!important;align-items:center!important}
  .live-service-logo{width:48px!important;height:48px!important;min-width:48px!important;border-radius:9px!important}
  .live-service-logo img{max-width:38px!important;max-height:38px!important}
  .live-copy b{font-size:12px!important;line-height:1.25!important}.live-copy small{font-size:9px!important;margin-top:4px!important}
  .live-service-card i{font-size:8px!important;padding:4px 7px!important;top:9px!important;right:9px!important}
  .user-service-page .user-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important}
  .user-category-card{min-height:82px!important;padding:14px 16px!important}.user-category-card b{font-size:12px!important}.user-category-card small{font-size:9px!important}
  .user-service-page .user-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
  .user-service-page .user-service-card{min-height:210px!important}.user-service-page .user-service-card .service-card-body{padding:16px!important}
  .user-service-page .user-service-card h3{font-size:15px!important}.user-service-page .user-service-card p{font-size:10px!important;line-height:1.45!important}
  .user-service-page .service-logo-badge{width:60px!important;height:60px!important}
}
@media(min-width:1500px){.live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}.user-service-page .user-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.user-service-page .user-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}


/* ================================================================
   V6.44.0 — RICH VISUAL PORTAL SCALE + TRUE LL EXAM LIVE
   Larger readable Admin/User UI while keeping flat professional nav.
   ================================================================ */
:root{--v644-sidebar:282px;--v644-card-radius:14px;--v644-border:#d7e4f1}
@media(min-width:1101px){
  .sidebar{width:var(--v644-sidebar)!important;padding:0 12px 14px!important;box-shadow:10px 0 28px rgba(3,42,76,.12)!important}
  .main{margin-left:var(--v644-sidebar)!important;width:calc(100% - var(--v644-sidebar))!important}
  .sidebar .brand{height:94px!important;margin:0 -12px 10px!important;padding:16px 18px!important}
  .sidebar .brand-mark{width:48px!important;height:48px!important;min-width:48px!important;border-radius:10px!important}
  .sidebar .brand b{font-size:15px!important;line-height:1.15!important}.sidebar .brand small{font-size:10px!important;line-height:1.35!important}
  .sidebar nav{padding:2px 0 10px!important}
  .sidebar .nav-section{font-size:9px!important;margin:16px 10px 7px!important;letter-spacing:1.2px!important}
  .sidebar .nav-item,.sidebar .nav-button{min-height:50px!important;height:auto!important;padding:11px 14px!important;margin:2px 0!important;font-size:13px!important;font-weight:700!important;gap:12px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.2!important;border-radius:7px!important}
  .sidebar .nav-ico{width:30px!important;height:30px!important;min-width:30px!important;display:grid!important;place-items:center!important}
  .sidebar .nav-ico svg{width:18px!important;height:18px!important}
  .sidebar .side-tools{padding:10px 2px!important}.sidebar .side-user{padding:14px 12px!important}
}
.portal-masthead{min-height:78px!important}.mast-brand img{width:46px!important;height:46px!important}.mast-brand b{font-size:20px!important}.mast-tagline{font-size:13px!important;min-height:38px!important}
.portal-topbar,.topbar{min-height:74px!important;padding:12px 20px!important}.topbar h1{font-size:24px!important}.topbar .sub{font-size:12px!important}
.content,.dashboard-content{padding:20px 20px 26px!important;max-width:none!important}
.dash-title-band{min-height:74px!important;padding:14px 18px!important;border-radius:14px!important;margin-bottom:16px!important}.dash-title-band h2{font-size:23px!important}.dash-title-band p{font-size:12px!important}
.dashboard-kpis{gap:14px!important}.dash-kpi{min-height:130px!important;padding:20px!important;border-radius:14px!important}.dash-kpi small{font-size:12px!important}.dash-kpi strong{font-size:34px!important}.dash-kpi em{font-size:11px!important}.kpi-big-icon{font-size:24px!important}
.panel{border-radius:var(--v644-card-radius)!important;border-color:var(--v644-border)!important;box-shadow:0 7px 22px rgba(26,69,113,.08)!important}.panel-head h2{font-size:20px!important}.panel-head p,.muted{font-size:11.5px!important}
.live-services-panel{padding:18px!important}.live-service-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.live-service-card{min-height:88px!important;padding:13px 14px!important;border-radius:12px!important;gap:12px!important;align-items:center!important;background:#fff!important;box-shadow:0 4px 14px rgba(24,70,110,.06)!important}.live-service-logo{width:48px!important;height:48px!important;min-width:48px!important;border-radius:11px!important}.live-service-logo img{width:36px!important;height:36px!important;object-fit:contain!important}.live-copy b{font-size:13px!important;line-height:1.25!important}.live-copy small{font-size:10px!important;margin-top:3px!important}.live-service-card i{font-size:9px!important;padding:4px 7px!important;border-radius:999px!important;align-self:flex-start!important;white-space:nowrap!important;width:auto!important;min-width:auto!important}
.dashboard-two{gap:16px!important}.dash-chart,.dash-recent{min-height:350px!important}.recent-row,.recent-table-head{font-size:11.5px!important;min-height:42px!important;align-items:center!important}.quick-manage-grid a{min-height:116px!important;border-radius:12px!important}.quick-manage-grid b{font-size:13px!important}.system-list>div{min-height:42px!important;font-size:12px!important}
.user-apply-banner{min-height:158px!important;padding:24px 28px!important;border-radius:14px!important}.user-apply-banner h2{font-size:25px!important}.user-apply-banner p{font-size:13px!important}.user-banner-art span{font-size:54px!important}.user-banner-art b{font-size:13px!important}
.dashboard-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}.dash-service-card{min-height:250px!important;padding:18px!important;border-radius:14px!important}.dash-service-logo{height:88px!important}.dash-service-logo img{width:72px!important;height:72px!important;object-fit:contain!important}.dash-service-card h3{font-size:15px!important}.dash-service-card p{font-size:11px!important;line-height:1.45!important;min-height:46px!important}.dash-service-card .btn{min-height:40px!important;font-size:12px!important}
.user-shortcut-grid{gap:14px!important}.user-shortcut-grid>a,.user-shortcut-grid>button{min-height:112px!important;border-radius:13px!important}.user-shortcut-grid span{font-size:26px!important}.user-shortcut-grid b{font-size:14px!important}.user-shortcut-grid small{font-size:11px!important}
/* Service catalog: bigger, visual, still compact */
.service-page-live .live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}.service-categories-grid,.category-grid,.service-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.service-category-card,.category-card{min-height:92px!important;padding:15px 16px!important;border-radius:12px!important}.service-category-card img,.category-card img{width:46px!important;height:46px!important;object-fit:contain!important}.service-category-card b,.category-card b{font-size:14px!important}.service-category-card small,.category-card small{font-size:10.5px!important}
.services-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}.service-card{min-height:270px!important;padding:18px!important;border-radius:14px!important}.service-card .service-logo img,.service-card img{max-width:76px!important;max-height:76px!important;object-fit:contain!important}.service-card h3{font-size:16px!important}.service-card p{font-size:11.5px!important;line-height:1.5!important}
/* Admin tables/forms: readable, not tiny */
.table{font-size:12px!important}.table th{font-size:10.5px!important;padding:12px 12px!important}.table td{padding:12px 12px!important;vertical-align:middle!important}.admin-service-cell img{width:38px!important;height:38px!important;object-fit:contain!important}.admin-service-cell b{font-size:12px!important}.admin-service-cell small{font-size:9px!important}.btn.sm{min-height:36px!important;padding:7px 11px!important;font-size:11px!important}.chip{font-size:10px!important;padding:5px 8px!important}
.form-grid input,.form-grid select,.form-grid textarea,input,select,textarea{font-size:13px}.field label{font-size:11px!important}
@media(max-width:1350px){.live-service-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-service-grid,.services-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1100px){.main{margin-left:0!important;width:100%!important}.sidebar{width:290px!important}.live-service-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard-service-grid,.services-grid,.service-categories-grid,.category-grid,.service-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){.content,.dashboard-content{padding:12px!important}.live-service-strip,.dashboard-service-grid,.services-grid,.service-categories-grid,.category-grid,.service-category-grid{grid-template-columns:1fr!important}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dash-kpi{min-height:118px!important}.user-apply-banner{min-height:140px!important;padding:18px!important}.user-banner-art{display:none!important}}


/* V6.44 actual service catalog selectors */
.user-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.category-tile-v635{min-height:96px!important;padding:15px 17px!important;border-radius:13px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;border:1px solid #d5e3f1!important;box-shadow:0 5px 16px rgba(26,71,112,.07)!important;display:flex!important;align-items:center!important;gap:14px!important;transition:.18s ease!important}
.category-tile-v635:hover{transform:translateY(-2px)!important;box-shadow:0 10px 22px rgba(26,71,112,.12)!important;border-color:#a9cbed!important}
.category-logo-v635{width:52px!important;height:52px!important;min-width:52px!important;border-radius:12px!important;background:#eef6fd!important;display:grid!important;place-items:center!important}
.category-logo-v635 img{width:38px!important;height:38px!important;object-fit:contain!important}.category-copy-v635 b{font-size:14px!important}.category-copy-v635 small{font-size:10.5px!important;margin-top:4px!important}.category-arrow-v635{font-size:25px!important;margin-left:auto!important}
.user-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}.user-service-card{min-height:300px!important;padding:0!important;overflow:hidden!important}.service-logo-media{height:132px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#f4f9ff,#eef4ff)!important;border-bottom:1px solid #dce8f4!important}.service-logo-media>img{width:88px!important;height:88px!important;max-width:88px!important;max-height:88px!important;object-fit:contain!important}.service-card-body{padding:17px!important}.user-service-card h3{font-size:16px!important;margin:0 0 6px!important}.user-service-card .muted{font-size:11.5px!important;line-height:1.5!important;min-height:52px!important}.service-actions{gap:9px!important}.service-actions .btn{min-height:40px!important;font-size:12px!important}
@media(max-width:1100px){.user-category-grid,.user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){.user-category-grid,.user-service-grid{grid-template-columns:1fr!important}}


/* ================================================================
   V6.46.0 — FINAL RICH VISUAL WORKSPACE
   Larger readable sidebars, premium dashboards, dynamic service cards.
   ================================================================ */
:root{--v646-side:300px;--v646-blue:#0756a0;--v646-blue2:#0b70c9;--v646-navy:#06345f;--v646-line:#d9e6f2;--v646-shadow:0 10px 28px rgba(20,61,101,.10)}
body{background:linear-gradient(180deg,#eef6fc 0,#f7fbfe 40%,#eef5fb 100%)!important;font-size:14px!important}
.portal-masthead{height:82px!important;min-height:82px!important;background:#fff!important;box-shadow:0 4px 18px rgba(16,58,96,.08)!important;border-bottom:1px solid #d9e7f3!important}
.mast-brand{min-width:360px!important}.mast-brand img{width:52px!important;height:52px!important}.mast-brand b{font-size:23px!important;letter-spacing:.2px!important}.mast-brand small{font-size:11px!important}
.mast-slogan{min-height:48px!important;padding:0 28px!important;border-radius:9px!important;font-size:14px!important;box-shadow:0 8px 18px rgba(78,56,219,.16)!important}
.mast-wallet,.mast-profile{min-height:48px!important;border-radius:10px!important}.mast-wallet b{font-size:14px!important}.mast-profile>span{width:38px!important;height:38px!important}
@media(min-width:1101px){
 .sidebar{width:var(--v646-side)!important;min-width:var(--v646-side)!important;background:linear-gradient(180deg,#063a69 0%,#07558e 52%,#06466f 100%)!important;padding:0 14px 14px!important;box-shadow:12px 0 30px rgba(7,49,84,.16)!important}
 .main{margin-left:var(--v646-side)!important;width:calc(100% - var(--v646-side))!important;max-width:none!important}
 .sidebar .brand{height:108px!important;margin:0 -14px 12px!important;padding:18px 19px!important;background:linear-gradient(135deg,#052f56,#075a95)!important;border-bottom:1px solid rgba(255,255,255,.15)!important}
 .sidebar .brand-mark{width:58px!important;height:58px!important;min-width:58px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 20px rgba(0,0,0,.14)!important}
 .sidebar .brand b{font-size:17px!important}.sidebar .brand small{font-size:10.5px!important;color:#d8ebfb!important}
 .sidebar nav{padding:3px 0 14px!important;scrollbar-width:thin!important}
 .sidebar .nav-section{font-size:9.5px!important;margin:18px 10px 7px!important;color:#a9d2ef!important}
 .sidebar .nav-item,.sidebar .nav-button{min-height:54px!important;padding:10px 15px!important;margin:4px 0!important;border-radius:10px!important;border:1px solid transparent!important;border-left:4px solid transparent!important;background:rgba(255,255,255,.025)!important;color:#f6fbff!important;font-size:13px!important;font-weight:750!important;gap:13px!important;white-space:normal!important;overflow:visible!important;line-height:1.25!important;transition:.18s ease!important}
 .sidebar .nav-item:hover,.sidebar .nav-button:hover{background:rgba(255,255,255,.11)!important;border-color:rgba(255,255,255,.09)!important;transform:translateX(2px)!important}
 .sidebar .nav-item.active{background:linear-gradient(90deg,#1285f4,#2c6df1)!important;border-left-color:#b9e1ff!important;color:#fff!important;box-shadow:0 8px 18px rgba(0,46,104,.28)!important}
 .sidebar .nav-ico{width:34px!important;height:34px!important;min-width:34px!important;border-radius:9px!important;background:rgba(255,255,255,.10)!important;display:grid!important;place-items:center!important}.sidebar .nav-item.active .nav-ico{background:rgba(255,255,255,.18)!important}
 .sidebar .nav-label{font-size:13px!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
 .sidebar .side-tools,.sidebar .side-user{border-radius:10px!important;background:rgba(3,36,65,.36)!important}.sidebar .side-user{padding:15px!important}
}
.topbar{min-height:78px!important;padding:13px 24px!important;background:rgba(255,255,255,.95)!important;box-shadow:0 3px 14px rgba(19,57,92,.06)!important}.topbar h1{font-size:25px!important}.topbar .sub{font-size:11.5px!important}.wallet-pill{min-height:42px!important;padding:10px 15px!important;border-radius:9px!important}
.content,.dashboard-content{padding:22px 24px 34px!important;max-width:none!important;width:100%!important}.panel{border-radius:16px!important;box-shadow:var(--v646-shadow)!important;border:1px solid var(--v646-line)!important;background:#fff!important}.panel-head h2{font-size:21px!important}.panel-head p{font-size:11px!important}
.dash-title-band{min-height:92px!important;border-radius:16px!important;padding:18px 22px!important;box-shadow:var(--v646-shadow)!important}.dash-title-band h2{font-size:27px!important}.dash-title-band p{font-size:13px!important}.dash-title-icon{width:52px!important;height:52px!important;font-size:28px!important}
.dashboard-kpis{gap:16px!important}.dash-kpi{min-height:146px!important;border-radius:16px!important;padding:22px!important;box-shadow:0 12px 26px rgba(22,65,107,.14)!important}.dash-kpi small{font-size:12px!important}.dash-kpi strong{font-size:38px!important}.dash-kpi em{font-size:11px!important}.kpi-big-icon{font-size:30px!important}
.admin-control-hub{padding:18px!important}.admin-control-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:13px!important}.admin-control-grid>a{min-height:118px!important;border:1px solid #dce8f4!important;border-radius:14px!important;background:linear-gradient(145deg,#fff,#f4f9ff)!important;padding:16px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important;box-shadow:0 7px 18px rgba(22,65,107,.07)!important}.admin-control-grid>a:hover{transform:translateY(-3px)!important;box-shadow:0 12px 24px rgba(22,65,107,.13)!important}.admin-control-grid span{font-size:30px!important}.admin-control-grid b{font-size:13px!important;margin-top:7px!important}.admin-control-grid small{font-size:10px!important;color:#60758a!important;margin-top:4px!important}
.live-services-panel{padding:18px!important}.live-service-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}.live-service-card{min-height:112px!important;padding:17px 18px!important;border-radius:14px!important;border:1px solid #dbe8f3!important;box-shadow:0 7px 18px rgba(20,61,101,.07)!important;background:linear-gradient(145deg,#fff,#f8fbff)!important}.live-service-logo{width:60px!important;height:60px!important;min-width:60px!important;border-radius:13px!important}.live-service-logo img{width:46px!important;height:46px!important}.live-copy b{font-size:14px!important}.live-copy small{font-size:10.5px!important}.live-service-card i{font-size:9px!important;padding:5px 8px!important}
.user-apply-banner{min-height:180px!important;padding:28px 32px!important;border-radius:16px!important;box-shadow:var(--v646-shadow)!important}.user-apply-banner h2{font-size:29px!important}.user-apply-banner p{font-size:14px!important}.user-apply-banner .btn{min-height:46px!important;font-size:13px!important;padding:0 20px!important}
.dashboard-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.dash-service-card{min-height:290px!important;padding:20px!important;border-radius:16px!important;box-shadow:0 8px 20px rgba(20,61,101,.08)!important;border:1px solid #dce8f3!important}.dash-service-logo{height:100px!important}.dash-service-logo img{width:84px!important;height:84px!important}.dash-service-card h3{font-size:16px!important}.dash-service-card p{font-size:11.5px!important;min-height:52px!important}.dash-service-card .btn{min-height:44px!important;font-size:12px!important}
.user-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}.category-tile-v635{min-height:112px!important;padding:17px 18px!important;border-radius:15px!important;box-shadow:0 8px 20px rgba(20,61,101,.08)!important}.category-logo-v635{width:64px!important;height:64px!important;min-width:64px!important;border-radius:14px!important}.category-logo-v635 img{width:48px!important;height:48px!important}.category-copy-v635 b{font-size:15px!important}.category-copy-v635 small{font-size:11px!important}.category-arrow-v635{font-size:28px!important}
.user-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}.user-service-card{min-height:340px!important;border-radius:16px!important;box-shadow:0 9px 22px rgba(20,61,101,.09)!important}.service-logo-media{height:150px!important}.service-logo-media>img{width:100px!important;height:100px!important}.service-card-body{padding:20px!important}.user-service-card h3{font-size:17px!important}.user-service-card .muted{font-size:12px!important}.service-actions .btn{min-height:44px!important;font-size:12px!important}
.table-wrap{border-radius:14px!important;box-shadow:0 5px 18px rgba(20,61,101,.06)!important}.table{font-size:13px!important}.table th{font-size:11px!important;padding:14px!important}.table td{padding:14px!important}.admin-service-cell img{width:44px!important;height:44px!important}.admin-service-cell b{font-size:13px!important}.admin-service-cell small{font-size:9.5px!important}.btn.sm{min-height:40px!important;padding:8px 13px!important;font-size:11.5px!important;border-radius:8px!important}
@media(max-width:1500px) and (min-width:1101px){:root{--v646-side:280px}.admin-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-service-grid,.live-service-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1100px){.main{margin-left:0!important;width:100%!important}.sidebar{width:300px!important}.admin-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.live-service-strip,.dashboard-service-grid,.user-category-grid,.user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){.content,.dashboard-content{padding:13px!important}.dashboard-kpis{grid-template-columns:1fr 1fr!important}.admin-control-grid,.live-service-strip,.dashboard-service-grid,.user-category-grid,.user-service-grid{grid-template-columns:1fr!important}.portal-masthead{min-height:64px!important}.dash-kpi{min-height:125px!important}}

/* ===== SOURCE: app-v650.css ===== */
/* MG Print Portal V6.50.0 — consolidated professional UI */
:root{
  --mg-bg:#eef4f7;--mg-surface:#ffffff;--mg-line:#d7e3ea;--mg-text:#12324a;--mg-muted:#6b8192;
  --mg-admin:#0b3659;--mg-user:#0e5660;--mg-blue:#1177bd;--mg-teal:#0f8a78;--mg-green:#159565;
  --mg-amber:#f2a33a;--mg-violet:#7456d8;--mg-red:#d8505c;--mg-shadow:0 8px 24px rgba(25,61,88,.07);
  --mg-radius:10px;--mg-side:252px;--mg-head:64px;
}
html,body{background:var(--mg-bg)!important;color:var(--mg-text)!important;font-size:14px!important}
body{overflow-x:hidden!important}.ambient-orb{display:none!important}

/* Header — MG Print identity, no copied reference palette */
.portal-masthead{height:var(--mg-head)!important;min-height:var(--mg-head)!important;padding:0 18px!important;background:#fff!important;border-top:3px solid #f2a33a!important;border-bottom:1px solid var(--mg-line)!important;box-shadow:0 2px 12px rgba(28,62,86,.04)!important;display:grid!important;grid-template-columns:minmax(250px,1fr) auto!important;gap:16px!important;align-items:center!important;position:sticky!important;top:0!important;z-index:90!important}
.mast-brand{gap:10px!important}.mast-brand img{width:38px!important;height:38px!important}.mast-brand b{font-size:18px!important;letter-spacing:.2px!important;color:#123a5d!important}.mast-brand small{font-size:9px!important;color:#6b8192!important;letter-spacing:.1px!important}
.mast-slogan,.mast-script{display:none!important}.mast-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:0!important}.mast-private{display:inline-flex!important;align-items:center!important;padding:5px 8px!important;border:1px solid #ecd8c8!important;background:#fffaf5!important;color:#9d4a22!important;border-radius:6px!important;font-size:7.5px!important;line-height:1.05!important;letter-spacing:.65px!important;max-width:84px!important;text-align:center!important}.mast-wallet,.mast-bell,.mast-profile{display:flex!important}.mast-wallet{height:40px!important;padding:5px 10px!important;border:1px solid var(--mg-line)!important;border-radius:7px!important;background:#f8fbfd!important;gap:7px!important;align-items:center!important;color:var(--mg-text)!important;text-decoration:none!important}.mast-wallet>span{color:var(--mg-blue)!important}.mast-wallet small{font-size:7.5px!important;text-transform:uppercase!important;letter-spacing:.5px!important;color:var(--mg-muted)!important}.mast-wallet b{font-size:13px!important;color:#0b5c93!important}.mast-bell{width:40px!important;height:40px!important;border:1px solid var(--mg-line)!important;border-radius:7px!important;background:#fff!important;align-items:center!important;justify-content:center!important;text-decoration:none!important}.mast-profile{height:40px!important;min-width:122px!important;padding:4px 10px!important;border:1px solid var(--mg-line)!important;border-radius:7px!important;background:#fff!important;display:flex!important;align-items:center!important;gap:8px!important;text-decoration:none!important;color:var(--mg-text)!important}.mast-profile>span{width:30px!important;height:30px!important;border-radius:50%!important;background:linear-gradient(135deg,var(--mg-blue),#54a8d8)!important;color:#fff!important;display:grid!important;place-items:center!important;font-weight:800!important}.mast-profile small{display:flex!important;flex-direction:column!important;line-height:1.1!important}.mast-profile small b{font-size:10px!important}.mast-profile small:not(b){font-size:8px!important;color:var(--mg-muted)!important}

/* Stable sidebar */
@media(min-width:1101px){.sidebar{position:fixed!important;left:0!important;top:var(--mg-head)!important;width:var(--mg-side)!important;min-width:var(--mg-side)!important;height:calc(100vh - var(--mg-head))!important;z-index:80!important}.main{margin-left:var(--mg-side)!important;width:calc(100% - var(--mg-side))!important;min-width:0!important;padding-top:0!important}}
.sidebar{padding:0!important;border-right:1px solid rgba(255,255,255,.1)!important;box-shadow:4px 0 18px rgba(20,55,79,.06)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.role-admin .sidebar{background:linear-gradient(180deg,#0a385d 0%,#0b456a 100%)!important}body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#0b4d59 0%,#0d635f 100%)!important}.sidebar .side-glow{display:none!important}.sidebar .brand{min-height:76px!important;margin:0!important;padding:12px 14px!important;background:rgba(0,0,0,.1)!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;border-radius:0!important;display:flex!important;align-items:center!important;gap:10px!important}.brand-mark{width:44px!important;height:44px!important;min-width:44px!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}.brand-mark img{width:36px!important;height:36px!important}.sidebar .brand b{font-size:15px!important;line-height:1.08!important;color:#fff!important}.sidebar .brand small{font-size:8.5px!important;line-height:1.25!important;color:rgba(255,255,255,.7)!important}.brand-live{width:8px!important;height:8px!important;background:#46d79a!important;box-shadow:0 0 0 4px rgba(70,215,154,.12)!important}
.sidebar nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px 10px 150px!important;scrollbar-width:thin!important;scrollbar-color:rgba(255,255,255,.28) transparent!important}.sidebar nav::-webkit-scrollbar{width:5px}.sidebar nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.26);border-radius:8px}.nav-section{padding:12px 8px 5px!important;color:rgba(255,255,255,.56)!important}.nav-section span{font-size:7.5px!important;letter-spacing:1.15px!important;font-weight:800!important}.nav-section i{background:rgba(255,255,255,.14)!important}
.sidebar .nav-item,.sidebar .nav-button{width:auto!important;min-height:44px!important;margin:2px 0!important;padding:8px 10px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#f7fbff!important;display:flex!important;align-items:center!important;gap:9px!important;box-shadow:none!important;transform:none!important}.sidebar .nav-item:hover,.sidebar .nav-button:hover{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.08)!important;color:#fff!important}.sidebar .nav-item.active{background:#fff!important;color:#173b56!important;border-color:#fff!important;box-shadow:0 4px 12px rgba(0,0,0,.12)!important;position:relative!important}.sidebar .nav-item.active:before{content:"";position:absolute;left:-1px;top:9px;bottom:9px;width:3px;border-radius:0 4px 4px 0;background:var(--mg-amber)!important}.sidebar .nav-item.active .nav-ico{color:var(--mg-blue)!important}.sidebar .nav-ico{width:28px!important;height:28px!important;min-width:28px!important;background:transparent!important;border-radius:5px!important;display:grid!important;place-items:center!important;color:inherit!important}.sidebar .nav-label{font-size:12.5px!important;font-weight:700!important;line-height:1.18!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.side-tools,.side-user{position:absolute!important;left:0!important;right:0!important;background:rgba(5,32,50,.28)!important;border:0!important;border-top:1px solid rgba(255,255,255,.12)!important;margin:0!important;border-radius:0!important}.side-tools{bottom:76px!important;padding:7px 9px!important}.side-user{bottom:0!important;min-height:76px!important;padding:10px 12px!important}.side-tool{min-height:38px!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:6px!important;color:#fff!important}.side-tool b{background:rgba(255,255,255,.1)!important;color:#fff!important}.side-avatar{background:#1f86c9!important}.side-user-copy b{color:#fff!important}.side-user-copy small,.side-user-copy .pid{color:rgba(255,255,255,.67)!important}

/* Main workspace */
.main{background:var(--mg-bg)!important;padding-top:0!important}.topbar{position:sticky!important;top:var(--mg-head)!important;z-index:60!important;min-height:62px!important;padding:10px 16px!important;background:#fff!important;border-bottom:2px solid var(--mg-blue)!important;box-shadow:none!important}.topbar h1{font-size:20px!important;line-height:1.1!important;color:#113653!important}.topbar .sub{font-size:10px!important;color:var(--mg-muted)!important;margin-top:3px!important}.topbar .wallet-pill{display:none!important}.top-search-wrap{min-width:230px!important;height:36px!important;border:1px solid var(--mg-line)!important;border-radius:6px!important;background:#f8fbfd!important}.topbar .icon-btn:not(.mobile-menu){display:none!important}.content,.dashboard-content{padding:14px 16px 28px!important;max-width:none!important;margin:0!important}.dash-title-band{display:none!important}
.panel,.stats .stat,.stat,.service-card{background:var(--mg-surface)!important;border:1px solid var(--mg-line)!important;border-radius:var(--mg-radius)!important;box-shadow:var(--mg-shadow)!important}.panel{padding:15px!important;margin-bottom:13px!important}.panel-head{margin-bottom:12px!important;padding-bottom:10px!important;border-bottom:1px solid #e8eff3!important;gap:12px!important}.panel h2,.panel-head h2{font-size:16px!important;color:#123851!important}.panel h3{color:#123851!important}.muted{color:var(--mg-muted)!important}.chip,.badge{border-radius:999px!important}.btn{min-height:38px!important;padding:8px 13px!important;border-radius:6px!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important}.btn.primary{background:linear-gradient(135deg,#0f6da9,#1688c8)!important;border-color:#0f6da9!important;color:#fff!important}.btn.success{background:#15845a!important;color:#fff!important}.btn.danger{background:#c84350!important;color:#fff!important}.btn:hover{filter:brightness(.98)!important;transform:none!important}

/* Admin dashboard hierarchy */
.dashboard-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important;margin:0 0 13px!important}.dashboard-kpis .dash-kpi{min-height:112px!important;padding:15px 16px!important;border-radius:9px!important;position:relative!important;overflow:hidden!important;background:#fff!important;color:var(--mg-text)!important;box-shadow:var(--mg-shadow)!important}.dashboard-kpis .dash-kpi:after{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--mg-blue)}.dashboard-kpis .kpi-green:after{background:var(--mg-green)}.dashboard-kpis .kpi-orange:after{background:var(--mg-amber)}.dashboard-kpis .kpi-purple:after,.dashboard-kpis .kpi-red:after{background:var(--mg-violet)}.dashboard-kpis .dash-kpi small{font-size:9px!important;letter-spacing:.45px!important;text-transform:uppercase!important;color:#6a8192!important}.dashboard-kpis .dash-kpi strong{font-size:26px!important;line-height:1.05!important;color:#12344e!important}.dashboard-kpis .dash-kpi em{font-size:9px!important;color:#8193a0!important}.kpi-big-icon{font-size:20px!important}
.admin-control-hub{margin-bottom:13px!important}.admin-control-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important}.admin-control-grid>a{min-height:94px!important;padding:12px 9px!important;border:1px solid var(--mg-line)!important;border-radius:8px!important;background:linear-gradient(180deg,#fff,#fbfdfe)!important;box-shadow:none!important;text-decoration:none!important}.admin-control-grid>a:hover{border-color:#a9c8dc!important;background:#f7fbfd!important}.admin-control-grid>a span{width:38px!important;height:38px!important;border-radius:8px!important;background:#edf6fc!important;display:grid!important;place-items:center!important;font-size:20px!important}.admin-control-grid>a b{font-size:11.5px!important;color:#153a54!important}.admin-control-grid>a small{font-size:8.5px!important;color:#748896!important}.dashboard-two{gap:11px!important}.dashboard-bottom-grid{gap:11px!important}.recent-row{min-height:38px!important}.recent-table-head,.recent-row{grid-template-columns:1.2fr 1.7fr .7fr .8fr!important}.ref-bars{min-height:190px!important}.quick-manage-grid>a{border-radius:8px!important;min-height:82px!important;box-shadow:none!important}

/* User dashboard and service discovery */
.user-live-services{margin-bottom:13px!important}.live-service-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}.live-service-card{min-height:78px!important;padding:10px!important;border:1px solid var(--mg-line)!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:9px!important}.live-service-card:hover{border-color:#9ec5d9!important;background:#fbfdff!important}.live-service-logo{width:44px!important;height:44px!important;min-width:44px!important;border-radius:8px!important;background:#f3f8fb!important;border:1px solid #e1ebf1!important;display:grid!important;place-items:center!important}.live-service-logo img{width:35px!important;height:35px!important;object-fit:contain!important}.live-copy{min-width:0!important}.live-copy b{font-size:10.5px!important;line-height:1.2!important;color:#123a55!important}.live-copy small{font-size:8.5px!important;color:#718696!important}.live-service-card i{margin-left:auto!important;align-self:flex-start!important;width:auto!important;min-width:auto!important;padding:3px 7px!important;border-radius:999px!important;background:#eaf8f0!important;border:1px solid #b9e5c9!important;color:#147441!important;font-size:7.5px!important;font-style:normal!important}
.user-apply-banner{min-height:108px!important;padding:16px 18px!important;background:linear-gradient(110deg,#fff 0%,#fff 65%,#eef8fb 100%)!important;border:1px solid var(--mg-line)!important;border-left:4px solid var(--mg-teal)!important;border-radius:10px!important;box-shadow:var(--mg-shadow)!important}.user-apply-banner h2{font-size:18px!important}.user-apply-banner p{font-size:10px!important;color:#6f8290!important}.user-banner-art{display:none!important}.popular-services-panel{margin-top:13px!important}.dashboard-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important}.dash-service-card{min-height:225px!important;padding:11px!important;border:1px solid var(--mg-line)!important;border-radius:9px!important;background:#fff!important;display:flex!important;flex-direction:column!important;box-shadow:none!important}.dash-service-card:hover{border-color:#a8c8db!important;box-shadow:0 7px 18px rgba(25,61,88,.06)!important}.dash-service-logo{height:76px!important;border:1px solid #e4edf2!important;border-radius:8px!important;background:#f7fafc!important;display:grid!important;place-items:center!important}.dash-service-logo img{width:58px!important;height:58px!important;object-fit:contain!important}.dash-service-card h3{font-size:11.5px!important;line-height:1.2!important;margin:9px 0 5px!important}.dash-service-card p{font-size:9px!important;line-height:1.4!important;min-height:38px!important;color:#778a98!important}.dash-service-card .btn{margin-top:auto!important;min-height:36px!important}.user-shortcut-grid{gap:11px!important}.user-shortcut-grid>*{min-height:88px!important;border:1px solid var(--mg-line)!important;border-radius:9px!important;box-shadow:none!important}

/* Services page */
.user-simple-hero{min-height:74px!important;padding:13px 15px!important;background:#fff!important;border:1px solid var(--mg-line)!important;border-left:4px solid var(--mg-blue)!important;border-radius:9px!important;margin-bottom:12px!important}.user-simple-hero h2{font-size:16px!important}.user-simple-hero p{font-size:9.5px!important}.user-clean-panel{padding:14px!important}.user-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}.category-tile-v635{min-height:76px!important;padding:9px 10px!important;border:1px solid var(--mg-line)!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}.category-tile-v635:hover{border-color:#aac8d9!important;background:#fbfdff!important}.category-logo-v635{width:46px!important;height:46px!important;border-radius:8px!important;background:#f5f9fb!important;border:1px solid #e2ebf0!important}.category-logo-v635 img{width:35px!important;height:35px!important;object-fit:contain!important}.category-copy-v635 b{font-size:11px!important}.category-copy-v635 small{font-size:8.5px!important}.category-arrow-v635{font-size:21px!important;color:var(--mg-blue)!important}.user-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important}.user-service-card{min-height:270px!important;padding:0!important;overflow:hidden!important}.service-logo-media{height:102px!important;background:#f6fafc!important;border-bottom:1px solid #e5edf2!important;display:grid!important;place-items:center!important}.service-logo-media img{width:72px!important;height:72px!important;object-fit:contain!important}.service-card-body{padding:13px!important;display:flex!important;flex-direction:column!important;min-height:165px!important}.service-card-body h3{font-size:13px!important}.service-card-body p{font-size:9.5px!important;line-height:1.4!important}.service-actions{margin-top:auto!important;display:flex!important;gap:7px!important}.service-actions .btn{flex:1!important;text-align:center!important}

/* Service form — one clean white card, fields first, actions last */
.compact-service-split{grid-template-columns:minmax(0,1fr) 295px!important;align-items:start!important;gap:12px!important}.compact-service-form,.compact-service-summary{background:#fff!important;border:1px solid var(--mg-line)!important;border-radius:10px!important;box-shadow:var(--mg-shadow)!important}.compact-service-form{padding:15px!important}.compact-service-summary{position:sticky!important;top:78px!important;padding:14px!important;height:auto!important;min-height:0!important}.gov-apply-head{min-height:58px!important;margin-bottom:10px!important;padding-bottom:10px!important}.apply-visual-wrap{width:50px!important;height:50px!important;min-width:50px!important;border-radius:8px!important;background:#f5f9fb!important;border:1px solid #e1ebf1!important}.apply-photo{display:none!important}.apply-logo{width:39px!important;height:39px!important;object-fit:contain!important}.gov-apply-head h2{font-size:16px!important}.gov-apply-head p{font-size:9.5px!important;line-height:1.35!important}.service-intro-note{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:0 0 10px!important;padding:9px 11px!important;background:#f3f8fc!important;border:1px solid #d5e7f1!important;border-left:3px solid var(--mg-blue)!important;border-radius:7px!important}.service-intro-note b{font-size:10px!important;color:#15547f!important;white-space:nowrap!important}.service-intro-note span{font-size:9.5px!important;color:#5f7687!important;line-height:1.35!important}.compact-service-form>.notice,.compact-service-form form>.notice{margin-bottom:9px!important;padding:8px 10px!important;font-size:9.5px!important;border-radius:6px!important}.compact-service-form #apiModeOptions{padding:9px 10px!important;margin:0 0 10px!important;border-radius:7px!important;background:#fbfdfd!important}.user-consent{min-height:30px!important;margin:0!important;font-size:10px!important}.user-simple-info{margin-top:7px!important;font-size:9px!important}.form-section-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:10px 0 9px!important;padding-bottom:7px!important;border-bottom:1px solid #e8eff3!important}.form-section-title span{font-size:12px!important;font-weight:800!important;color:#123a55!important}.form-section-title small{font-size:8.5px!important;color:#718594!important}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 10px!important}.field{gap:4px!important}.field label{font-size:10.5px!important;font-weight:750!important;color:#193d55!important}.field input,.field select,.field textarea{min-height:42px!important;padding:8px 10px!important;font-size:11.5px!important;border:1px solid #cbd9e2!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6eabc9!important;box-shadow:0 0 0 3px rgba(17,119,189,.08)!important}.field textarea{min-height:78px!important}.compact-service-form details.panel{margin-top:10px!important;padding:0!important;border-radius:7px!important;box-shadow:none!important}.compact-service-form details.panel summary{padding:9px 11px!important;font-size:10.5px!important}.special-flow-card{margin:10px 0 0!important;padding:10px 11px!important;border:1px solid #d7e5ed!important;border-left:3px solid var(--mg-teal)!important;border-radius:7px!important;background:#f9fcfd!important;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.special-flow-card>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.special-flow-card b{font-size:10.5px!important}.special-flow-card span:not(.chip){font-size:9px!important;color:#6b8192!important}.special-flow-action-area{margin-top:10px!important;padding-top:10px!important;border-top:1px solid #e5edf2!important;gap:8px!important}.service-final-submit,.compact-service-form form>.btn.primary{min-height:42px!important;padding:8px 17px!important;font-size:11px!important}.page-note{margin-top:9px!important;padding:8px 10px!important;font-size:8.5px!important;border-radius:6px!important}.compact-service-summary h3{font-size:14px!important}.compact-service-summary .kv{padding:8px 0!important;font-size:10px!important}.compact-service-summary .kv b{color:#5c7384!important}.legal-note{font-size:8px!important;line-height:1.35!important}.compact-service-summary .btn{width:100%!important}

/* Admin tables / management */
.table-wrap{border:1px solid var(--mg-line)!important;border-radius:8px!important;background:#fff!important;overflow:auto!important}.table th{background:#edf4f8!important;color:#3d5b70!important;font-size:9px!important;letter-spacing:.25px!important;padding:10px 9px!important}.table td{font-size:10.5px!important;padding:10px 9px!important;vertical-align:middle!important}.table tr:hover td{background:#fbfdfe!important}.admin-service-cell img{width:38px!important;height:38px!important;object-fit:contain!important}.stack-actions{gap:6px!important}.btn.sm{min-height:34px!important;padding:6px 10px!important;font-size:9px!important}.stats{gap:10px!important}.stats .stat{min-height:92px!important;padding:13px!important}.notice{border-radius:7px!important}.search{border-radius:6px!important}.trust-strip,.user-private-note{background:#fff!important;border:1px solid var(--mg-line)!important;border-radius:7px!important;box-shadow:none!important}

/* Mobile/tablet */
@media(max-width:1280px){.admin-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.live-service-strip,.dashboard-service-grid,.user-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1100px){.main{margin-left:0!important;width:100%!important}.sidebar{width:286px!important;top:var(--mg-head)!important;height:calc(100vh - var(--mg-head))!important}.compact-service-split{grid-template-columns:1fr!important}.compact-service-summary{position:static!important}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.portal-masthead{grid-template-columns:1fr auto!important}.mast-wallet{display:none!important}}
@media(max-width:760px){:root{--mg-head:58px}.portal-masthead{padding:0 10px!important}.mast-brand b{font-size:15px!important}.mast-brand small,.mast-private,.mast-profile{display:none!important}.mast-bell{display:flex!important}.content,.dashboard-content{padding:10px!important}.topbar{padding:9px 10px!important}.top-search-wrap{display:none!important}.dashboard-kpis,.live-service-strip,.dashboard-service-grid,.user-category-grid,.user-service-grid,.admin-control-grid,.form-grid{grid-template-columns:1fr!important}.dashboard-two,.dashboard-bottom-grid{grid-template-columns:1fr!important}.panel{padding:11px!important}.compact-service-form{padding:11px!important}.service-intro-note,.form-section-title{align-items:flex-start!important;flex-direction:column!important}.recent-table-head,.recent-row{grid-template-columns:1fr 1fr!important}.recent-table-head span:nth-child(3),.recent-table-head span:nth-child(4),.recent-row>span:nth-child(3),.recent-row>span:nth-child(4){display:none!important}}


/* V6.51.0 — sidebar safe-scroll + assisted-service fallback correction */
.sidebar nav{padding-bottom:178px!important;overscroll-behavior:contain!important;scroll-padding-bottom:178px!important}
.sidebar .side-tools{height:52px!important;bottom:78px!important;z-index:4!important}
.sidebar .side-user{height:78px!important;bottom:0!important;z-index:5!important}
.sidebar .side-tools,.sidebar .side-user{box-sizing:border-box!important}
.sidebar .nav-item,.sidebar .nav-button{flex-shrink:0!important}
.sidebar .nav-label{overflow-wrap:anywhere!important}
@media(min-width:1101px){
  .sidebar nav{height:calc(100% - 206px)!important;flex:0 0 auto!important;padding:8px 10px 20px!important}
  .sidebar .side-tools,.sidebar .side-user{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;flex:0 0 auto!important}
  .sidebar .side-tools{order:3!important}.sidebar .side-user{order:4!important}
  .sidebar .brand{order:1!important}.sidebar nav{order:2!important}
}
.service-fallback-note{margin:8px 0 0;padding:6px 8px;border-radius:6px;background:#fff8e8;border:1px solid #f2dfaa;color:#8a6518;font-size:8.5px;font-weight:700}
.assisted-fallback-note{border-left:3px solid var(--mg-amber)!important;background:#fffaf0!important}
.user-service-card{display:flex!important;flex-direction:column!important}
.user-service-card .service-card-body{flex:1 1 auto!important}
.user-service-grid{align-items:stretch!important}
@media(max-width:1100px){.sidebar nav{height:auto!important;flex:1 1 auto!important;padding-bottom:178px!important}.sidebar .side-tools,.sidebar .side-user{position:absolute!important}}

/* ===== SOURCE: app-v652.css ===== */
/* MG Print Portal V6.52.0 — premium palette + safe sidebar footer + visual consistency */
:root{--mg-admin:#0a385b;--mg-admin2:#0f4d73;--mg-user:#0c5d59;--mg-user2:#0c756c;--mg-blue:#1677b8;--mg-teal:#13897c;--mg-amber:#e99a32;--mg-violet:#7558d9;--mg-red:#d9505c;--mg-bg:#f2f6f9;--mg-line:#d9e5ec;--mg-text:#14364e}
.role-admin .sidebar{background:linear-gradient(180deg,var(--mg-admin) 0%,var(--mg-admin2) 100%)!important}body:not(.role-admin) .sidebar{background:linear-gradient(180deg,var(--mg-user) 0%,var(--mg-user2) 100%)!important}
.sidebar{display:flex!important;flex-direction:column!important;overflow:hidden!important}
.sidebar .brand{flex:0 0 auto!important}
.sidebar nav{flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px 10px 12px!important;scroll-padding-bottom:12px!important;overscroll-behavior:contain!important}
.sidebar .side-footer{flex:0 0 auto!important;position:relative!important;z-index:8!important;background:rgba(2,28,44,.30)!important;border-top:1px solid rgba(255,255,255,.13)!important;box-shadow:0 -10px 24px rgba(2,29,47,.10)!important}
.sidebar .side-tools,.sidebar .side-user{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;height:auto!important;min-height:0!important;background:transparent!important;border:0!important;margin:0!important}
.sidebar .side-tools{padding:7px 10px 5px!important}.sidebar .side-user{padding:8px 11px 6px!important}
.sidebar .side-tool{width:100%!important;min-height:36px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.12)!important}
.side-user-copy{min-width:0!important}.side-user-copy b,.side-user-copy small,.side-user-copy .pid{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;max-width:145px!important}
.side-logout-row{margin:4px 10px 10px!important;min-height:40px!important;border-radius:7px!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important;letter-spacing:.15px!important}
.side-logout-row:hover{background:#fff!important;color:#173c57!important;border-color:#fff!important}.side-logout-row svg{width:17px!important;height:17px!important}
.sidebar .nav-item,.sidebar .nav-button{min-height:43px!important;border-radius:7px!important;margin:2px 0!important;padding:8px 10px!important}.sidebar .nav-item.active{background:#fff!important;color:#173b56!important;border-color:#fff!important;box-shadow:0 5px 14px rgba(0,0,0,.12)!important}.sidebar .nav-item.active:before{background:var(--mg-amber)!important;width:4px!important}.sidebar .nav-label{font-size:12px!important;line-height:1.15!important;font-weight:750!important;overflow-wrap:normal!important;word-break:normal!important}
/* Premium but readable dashboard */
.main{background:var(--mg-bg)!important}.panel,.stat,.service-card,.category-tile-v635{box-shadow:0 6px 18px rgba(24,59,84,.06)!important}
.dashboard-kpis{gap:11px!important}.dashboard-kpis .dash-kpi{background:#fff!important;color:var(--mg-text)!important;border:1px solid var(--mg-line)!important;border-top-width:3px!important;min-height:105px!important}.dashboard-kpis .dash-kpi small,.dashboard-kpis .dash-kpi strong,.dashboard-kpis .dash-kpi em{color:inherit!important}.dashboard-kpis .kpi-blue{border-top-color:var(--mg-blue)!important}.dashboard-kpis .kpi-green{border-top-color:#18a66d!important}.dashboard-kpis .kpi-orange{border-top-color:var(--mg-amber)!important}.dashboard-kpis .kpi-purple,.dashboard-kpis .kpi-red{border-top-color:var(--mg-violet)!important}.dashboard-kpis .kpi-big-icon{opacity:.95!important}
.admin-control-card,.live-service-card,.category-tile-v635{background:#fff!important;border:1px solid var(--mg-line)!important}.admin-control-card:hover,.live-service-card:hover,.category-tile-v635:hover{transform:translateY(-1px)!important;box-shadow:0 8px 20px rgba(22,72,103,.09)!important}
/* Services and logos */
.live-service-card img,.category-logo-v635 img,.service-logo-media img,.apply-logo{object-fit:contain!important}.live-service-card img{width:42px!important;height:42px!important}.category-logo-v635 img{width:39px!important;height:39px!important}.service-logo-media{background:#f7fafc!important}.service-logo-media img{width:76px!important;height:76px!important}
/* Clean service forms */
.compact-service-form{background:#fff!important}.compact-service-split{gap:14px!important}.form-grid{gap:10px 12px!important}.field input,.field select,.field textarea{background:#fff!important;border-color:#cbdce6!important}.special-flow-card{background:#fbfdfd!important}.service-final-submit{margin-top:2px!important}
/* API/admin forms need breathing room but not oversized */
.admin-form-grid,.api-form-grid{gap:12px!important}.table-wrap{box-shadow:none!important}
@media(min-width:1101px){.sidebar{height:calc(100vh - var(--mg-head))!important}.sidebar nav{flex:1 1 auto!important;height:auto!important;padding-bottom:12px!important}.sidebar .side-footer{display:block!important}}
@media(max-width:1100px){.sidebar .side-footer{position:absolute!important;left:0!important;right:0!important;bottom:0!important}.sidebar nav{padding-bottom:170px!important}.side-logout-row{margin-bottom:8px!important}}

/* ===== SOURCE: app-v653.css ===== */
/* MG Print Portal V6.53.0 — structural sidebar repair + stable clean UI */
:root{--mg-side:258px;--mg-head:64px;--mg-bg:#f3f7fa;--mg-line:#d9e5ed;--mg-text:#15364d;--mg-muted:#6c8190;--mg-admin:#0b4168;--mg-admin-deep:#082f4d;--mg-user:#0c625d;--mg-user-deep:#084a47;--mg-blue:#1478b8;--mg-teal:#13897d;--mg-amber:#e9a23b;--mg-violet:#7458d7;--mg-shadow:0 5px 18px rgba(24,62,88,.06)}
html{scroll-behavior:auto!important}body{background:var(--mg-bg)!important;color:var(--mg-text)!important}
/* Authoritative desktop shell */
@media(min-width:1101px){
 .sidebar{position:fixed!important;left:0!important;top:var(--mg-head)!important;width:var(--mg-side)!important;height:calc(100vh - var(--mg-head))!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;z-index:80!important}
 .sidebar>.brand{order:0!important;flex:0 0 76px!important}
 .sidebar>nav{order:1!important;flex:1 1 auto!important;height:auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px 10px 12px!important;scroll-padding:12px!important}
 .sidebar>.side-footer{order:2!important;flex:0 0 auto!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;display:block!important;margin:0!important;z-index:5!important}
 .sidebar .side-tools,.sidebar .side-user{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;height:auto!important;min-height:0!important;display:flex!important;box-sizing:border-box!important}
 .main{margin-left:var(--mg-side)!important;width:calc(100% - var(--mg-side))!important;min-width:0!important;padding-top:0!important}
}
.role-admin .sidebar{background:linear-gradient(180deg,var(--mg-admin) 0%,var(--mg-admin-deep) 100%)!important}body:not(.role-admin) .sidebar{background:linear-gradient(180deg,var(--mg-user) 0%,var(--mg-user-deep) 100%)!important}
.sidebar>.brand{margin:0!important;padding:12px 13px!important;background:rgba(0,0,0,.11)!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;border-radius:0!important;display:flex!important;align-items:center!important;gap:10px!important}.sidebar .brand-mark{width:44px!important;height:44px!important;min-width:44px!important;background:#fff!important;border-radius:9px!important}.sidebar .brand-mark img{width:36px!important;height:36px!important}.sidebar .brand b{color:#fff!important;font-size:14px!important;line-height:1.08!important}.sidebar .brand small{color:rgba(255,255,255,.70)!important;font-size:8.5px!important;line-height:1.2!important}
.sidebar nav::-webkit-scrollbar{width:5px}.sidebar nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:10px}.sidebar .nav-section{margin:12px 8px 5px!important;padding:0!important;color:rgba(255,255,255,.58)!important}.sidebar .nav-section span{font-size:7.5px!important;letter-spacing:1px!important}.sidebar .nav-item,.sidebar .nav-button{min-height:42px!important;height:auto!important;margin:2px 0!important;padding:9px 10px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#f4f9fc!important;display:flex!important;align-items:center!important;gap:9px!important;box-shadow:none!important;transform:none!important}.sidebar .nav-item:hover,.sidebar .nav-button:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}.sidebar .nav-item.active{background:#fff!important;color:#12364e!important;border-color:#fff!important;box-shadow:0 4px 12px rgba(0,0,0,.10)!important}.sidebar .nav-item.active:before{content:""!important;position:absolute!important;left:0!important;top:8px!important;bottom:8px!important;width:4px!important;border-radius:0 4px 4px 0!important;background:var(--mg-amber)!important}.sidebar .nav-item{position:relative!important}.sidebar .nav-ico{width:25px!important;min-width:25px!important;height:25px!important;display:grid!important;place-items:center!important;color:inherit!important}.sidebar .nav-label{font-size:11.5px!important;line-height:1.2!important;font-weight:750!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;overflow:visible!important;text-overflow:clip!important}.sidebar .nav-badge{margin-left:auto!important}
.sidebar>.side-footer{background:rgba(0,0,0,.18)!important;border-top:1px solid rgba(255,255,255,.13)!important;box-shadow:0 -4px 12px rgba(0,0,0,.06)!important}.sidebar .side-tools{padding:7px 10px 5px!important;background:transparent!important;border:0!important}.sidebar .side-tool{width:100%!important;min-height:36px!important;border-radius:7px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff!important}.sidebar .side-user{padding:8px 11px 6px!important;background:transparent!important;border:0!important;align-items:center!important;gap:9px!important}.sidebar .side-avatar{width:34px!important;height:34px!important;min-width:34px!important;border-radius:50%!important;background:#2389d1!important}.side-user-copy{min-width:0!important;display:block!important}.side-user-copy b,.side-user-copy small,.side-user-copy .pid{display:block!important;max-width:170px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.side-user-copy b{color:#fff!important;font-size:10px!important}.side-user-copy small,.side-user-copy .pid{color:rgba(255,255,255,.68)!important;font-size:7.5px!important}.side-logout-row{margin:4px 10px 10px!important;min-height:40px!important;border-radius:7px!important;border:1px solid rgba(255,255,255,.18)!important;background:rgba(255,255,255,.07)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-size:11.5px!important;font-weight:800!important}.side-logout-row:hover{background:#fff!important;color:#15374e!important}
/* Header/main spacing: never cover page content */
.portal-masthead{height:var(--mg-head)!important;min-height:var(--mg-head)!important}.topbar{top:var(--mg-head)!important;min-height:60px!important;padding:9px 15px!important;background:#fff!important;border-bottom:2px solid var(--mg-blue)!important}.content,.dashboard-content{padding:14px 16px 30px!important;margin:0!important;max-width:none!important}.dashboard-content>*:first-child{margin-top:0!important}.dash-title-band{display:none!important}
/* Stable dashboard proportions */
.dashboard-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important;margin:0 0 13px!important}.dashboard-kpis .dash-kpi{min-height:102px!important;padding:14px!important;background:#fff!important;color:var(--mg-text)!important;border:1px solid var(--mg-line)!important;border-top:3px solid var(--mg-blue)!important;border-radius:9px!important;box-shadow:var(--mg-shadow)!important}.dashboard-kpis .kpi-green{border-top-color:#1ba56c!important}.dashboard-kpis .kpi-orange{border-top-color:var(--mg-amber)!important}.dashboard-kpis .kpi-purple,.dashboard-kpis .kpi-red{border-top-color:var(--mg-violet)!important}.dashboard-kpis .dash-kpi small,.dashboard-kpis .dash-kpi strong,.dashboard-kpis .dash-kpi em{color:inherit!important}.dashboard-kpis .dash-kpi strong{font-size:26px!important}.dashboard-kpis .dash-kpi em{font-size:9px!important;color:var(--mg-muted)!important}
.panel{background:#fff!important;border:1px solid var(--mg-line)!important;border-radius:9px!important;box-shadow:var(--mg-shadow)!important;padding:14px!important;margin-bottom:13px!important}.panel-head{margin-bottom:11px!important;padding-bottom:9px!important;border-bottom:1px solid #e9f0f4!important}.admin-control-grid{gap:9px!important}.admin-control-grid>a{min-height:84px!important;border-radius:8px!important;background:#fff!important}
/* User services: clean, no over-sized blocks */
.live-service-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}.live-service-card{min-height:62px!important;padding:9px 10px!important;background:#fff!important;border:1px solid var(--mg-line)!important;border-radius:8px!important;box-shadow:none!important}.live-service-logo{width:39px!important;height:39px!important;min-width:39px!important}.live-service-logo img{width:34px!important;height:34px!important;object-fit:contain!important}.live-copy b{font-size:10.5px!important}.live-copy small{font-size:8px!important}.live-service-card i{font-size:7.5px!important;padding:3px 6px!important}
.dashboard-service-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.dash-service-card{min-height:220px!important;padding:10px!important;border-radius:8px!important;background:#fff!important;border:1px solid var(--mg-line)!important;box-shadow:none!important}.dash-service-logo{height:68px!important;background:#f6fafc!important;border:1px solid #e4edf3!important;border-radius:7px!important}.dash-service-logo img{width:54px!important;height:54px!important;object-fit:contain!important}.dash-service-card h3{font-size:11.5px!important;margin:9px 0 5px!important}.dash-service-card p{font-size:8.5px!important;line-height:1.35!important;min-height:32px!important}.dash-service-card .btn{margin-top:auto!important}
.user-apply-banner{min-height:110px!important;padding:18px!important;border-radius:9px!important;background:linear-gradient(105deg,#fff 0%,#f5fbff 65%,#f5f1ff 100%)!important;border:1px solid var(--mg-line)!important;box-shadow:var(--mg-shadow)!important}.user-banner-art{display:none!important}
/* Service categories and forms remain compact */
.user-category-grid{gap:9px!important}.category-tile-v635{min-height:64px!important;border-radius:8px!important}.user-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.user-service-card{min-height:255px!important;border-radius:8px!important}.service-logo-media{height:92px!important}.service-logo-media img{width:64px!important;height:64px!important}.compact-service-split{grid-template-columns:minmax(0,1fr) 285px!important;gap:12px!important}.compact-service-form,.compact-service-summary{border-radius:8px!important;box-shadow:var(--mg-shadow)!important}.compact-service-summary{position:sticky!important;top:76px!important}
/* Mobile */
@media(max-width:1100px){.sidebar>.side-footer{position:absolute!important;left:0!important;right:0!important;bottom:0!important;order:2!important}.sidebar>nav{padding-bottom:164px!important}.main{margin-left:0!important;width:100%!important}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.live-service-strip,.dashboard-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.compact-service-split{grid-template-columns:1fr!important}.compact-service-summary{position:static!important}}
@media(max-width:760px){.dashboard-kpis,.live-service-strip,.dashboard-service-grid,.user-service-grid{grid-template-columns:1fr!important}.content,.dashboard-content{padding:10px!important}}

/* ===== SOURCE: app-v654.css ===== */
/* MG Print Portal V6.54.0 — User Dashboard Premium Workspace
   Scoped to user dashboard only. Admin panel intentionally unchanged. */
body:not(.role-admin) .main.user-dashboard{background:#f4f8fb!important;}
body:not(.role-admin) .user-dashboard .dashboard-content{max-width:none!important;width:100%!important;padding:16px 18px 28px!important;margin:0!important;overflow:visible!important;}
body:not(.role-admin) .user-dashboard-v654{display:block;width:100%;}

.user-dashboard-v654 .panel{background:#fff!important;border:1px solid #dce7f0!important;border-radius:12px!important;box-shadow:0 6px 20px rgba(18,62,94,.055)!important;padding:16px!important;margin:0!important;}
.user-dashboard-v654 .panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #edf2f6;padding-bottom:11px;margin-bottom:13px!important;}
.user-dashboard-v654 .panel-head h2{font-size:17px!important;line-height:1.2;margin:0;color:#123a5b!important;font-weight:800;}
.user-dashboard-v654 .panel-head .muted{font-size:10px!important;margin-top:4px;color:#72879a!important;}
.user-dashboard-v654 .panel-head>a{font-size:10px;font-weight:800;color:#0875c9;text-decoration:none;white-space:nowrap;}

.user-dashboard-v654 .ud-hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:stretch;margin-bottom:14px;padding:22px 24px;border-radius:14px;background:linear-gradient(120deg,#063b63 0%,#075f7b 58%,#0b8c8d 100%);box-shadow:0 10px 28px rgba(7,62,92,.16);color:#fff;position:relative;overflow:hidden;}
.user-dashboard-v654 .ud-hero:after{content:"";position:absolute;right:-70px;top:-100px;width:280px;height:280px;border:1px solid rgba(255,255,255,.16);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.035),0 0 0 90px rgba(255,255,255,.025);}
.user-dashboard-v654 .ud-hero-copy{position:relative;z-index:1;}
.user-dashboard-v654 .ud-eyebrow{display:inline-block;font-size:9px;letter-spacing:1.25px;font-weight:900;color:#bdeee8;margin-bottom:7px;}
.user-dashboard-v654 .ud-hero h2{font-size:27px!important;line-height:1.1;margin:0 0 7px;color:#fff!important;}
.user-dashboard-v654 .ud-hero p{font-size:11px;line-height:1.55;color:#dbeef4;margin:0 0 15px;max-width:720px;}
.user-dashboard-v654 .ud-hero-actions{display:flex;gap:9px;flex-wrap:wrap;}
.user-dashboard-v654 .ud-hero-actions .btn{min-height:36px;padding:0 16px;border-radius:7px;font-size:10px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#0a5672;border:1px solid rgba(255,255,255,.8);box-shadow:none!important;}
.user-dashboard-v654 .ud-hero-actions .btn.primary{background:#f0a51b;color:#172d3a;border-color:#f0a51b;}
.user-dashboard-v654 .ud-hero-side{position:relative;z-index:1;display:grid;grid-template-columns:1fr;gap:9px;align-content:center;}
.user-dashboard-v654 .ud-date,.user-dashboard-v654 .ud-secure{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:12px 14px;backdrop-filter:blur(5px);}
.user-dashboard-v654 .ud-date{display:grid;grid-template-columns:1fr auto;align-items:end;gap:2px 10px;}
.user-dashboard-v654 .ud-date small{font-size:8px;color:#c9e6ee;text-transform:uppercase;letter-spacing:.8px}.user-dashboard-v654 .ud-date b{grid-row:1/3;grid-column:2;font-size:18px}.user-dashboard-v654 .ud-date span{font-size:9px;color:#e4f3f6}
.user-dashboard-v654 .ud-secure{display:flex;align-items:center;gap:10px}.user-dashboard-v654 .ud-secure>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#20c985;color:#fff;font-weight:900}.user-dashboard-v654 .ud-secure b{display:block;font-size:10px}.user-dashboard-v654 .ud-secure small{display:block;font-size:8px;color:#dceff2;margin-top:2px}

.user-dashboard-v654 .ud-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px;}
.user-dashboard-v654 .ud-metric{min-height:105px;display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center;background:#fff;border:1px solid #dce7f0;border-radius:12px;padding:15px 16px;text-decoration:none;color:#153b58;box-shadow:0 5px 18px rgba(18,62,94,.045);position:relative;overflow:hidden;}
.user-dashboard-v654 .ud-metric:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#0d7cc0}.user-dashboard-v654 .ud-metric.applications:before{background:#7a52d8}.user-dashboard-v654 .ud-metric.completed:before{background:#1dac74}.user-dashboard-v654 .ud-metric.pending:before{background:#e79b17}
.user-dashboard-v654 .ud-metric-icon{width:46px;height:46px;border-radius:10px;display:grid;place-items:center;background:#eef7fc;color:#0c6ea9;font-size:20px;font-weight:900}.user-dashboard-v654 .ud-metric.applications .ud-metric-icon{background:#f2edff;color:#7047ca}.user-dashboard-v654 .ud-metric.completed .ud-metric-icon{background:#eaf9f2;color:#179264}.user-dashboard-v654 .ud-metric.pending .ud-metric-icon{background:#fff6e5;color:#c68112}
.user-dashboard-v654 .ud-metric small{display:block;font-size:8px;font-weight:900;letter-spacing:.65px;text-transform:uppercase;color:#6f8496}.user-dashboard-v654 .ud-metric strong{display:block;font-size:24px;line-height:1.15;margin:3px 0;color:#123a5b}.user-dashboard-v654 .ud-metric em{font-style:normal;font-size:8px;color:#7c8f9f}

.user-dashboard-v654 .ud-main-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:14px;margin-bottom:14px;align-items:start;}
.user-dashboard-v654 .ud-live-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}
.user-dashboard-v654 .ud-live-card{min-height:70px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid #dce8f0;border-radius:9px;text-decoration:none;color:#153b58;background:#fbfdff;transition:.16s ease;}
.user-dashboard-v654 .ud-live-card:hover{transform:translateY(-2px);border-color:#9ecce0;box-shadow:0 7px 16px rgba(18,74,103,.08)}
.user-dashboard-v654 .ud-live-logo{width:42px;height:42px;display:grid;place-items:center;border-radius:8px;background:#fff;border:1px solid #e0eaf1}.user-dashboard-v654 .ud-live-logo img{max-width:32px;max-height:32px;object-fit:contain}.user-dashboard-v654 .ud-live-copy{min-width:0}.user-dashboard-v654 .ud-live-copy b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-dashboard-v654 .ud-live-copy small{display:block;font-size:7px;color:#7b8f9f;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-dashboard-v654 .ud-live-card i{font-style:normal;font-size:6.5px;font-weight:900;color:#14875b;background:#eaf8f0;border:1px solid #c7ebd6;border-radius:9px;padding:3px 5px;}

.user-dashboard-v654 .ud-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.user-dashboard-v654 .ud-quick-grid>a,.user-dashboard-v654 .ud-quick-grid>button{min-height:86px;border:1px solid #dce7ef;border-radius:9px;background:#fbfdff;padding:11px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;text-decoration:none;color:#153b58;font:inherit;cursor:pointer}.user-dashboard-v654 .ud-quick-grid span{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:#eaf4fa;color:#0b6ea4;font-size:16px;font-weight:900;margin-bottom:7px}.user-dashboard-v654 .ud-quick-grid b{font-size:9px}.user-dashboard-v654 .ud-quick-grid small{font-size:7px;color:#7a8d9c;margin-top:2px}

.user-dashboard-v654 .ud-services-panel{margin-bottom:14px!important}.user-dashboard-v654 .ud-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.user-dashboard-v654 .ud-service-card{min-height:112px;display:grid;grid-template-columns:58px minmax(0,1fr);gap:11px;align-items:center;padding:11px 12px;border:1px solid #dce7ef;border-radius:10px;background:#fff;text-decoration:none;color:#153b58;transition:.16s ease}.user-dashboard-v654 .ud-service-card:hover{border-color:#9ecce0;box-shadow:0 7px 17px rgba(19,70,99,.08);transform:translateY(-2px)}.user-dashboard-v654 .ud-service-logo{width:58px;height:58px;display:grid;place-items:center;border-radius:10px;background:#f1f7fb;border:1px solid #e0eaf1}.user-dashboard-v654 .ud-service-logo img{width:44px;height:44px;object-fit:contain}.user-dashboard-v654 .ud-service-text{min-width:0}.user-dashboard-v654 .ud-service-text b{display:block;font-size:10px;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-dashboard-v654 .ud-service-text small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:7.5px;line-height:1.35;color:#758a9b;min-height:20px}.user-dashboard-v654 .ud-service-text em{display:block;margin-top:7px;font-style:normal;font-size:7.5px;font-weight:800;color:#0b76b7}

.user-dashboard-v654 .ud-bottom-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:14px;margin-bottom:12px}.user-dashboard-v654 .ud-category-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.user-dashboard-v654 .ud-category-grid a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;border:1px solid #e0e8ef;border-radius:8px;text-decoration:none;color:#234761;background:#fbfdff}.user-dashboard-v654 .ud-category-grid span{font-size:8.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-dashboard-v654 .ud-category-grid b{display:grid;place-items:center;min-width:25px;height:22px;padding:0 5px;border-radius:11px;background:#e9f4f8;color:#0b6c85;font-size:8px}
.user-dashboard-v654 .ud-recent-list{display:grid;gap:0}.user-dashboard-v654 .ud-recent-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 3px;border-bottom:1px solid #edf2f5;text-decoration:none;color:#24445a}.user-dashboard-v654 .ud-recent-list>a:last-child{border-bottom:0}.user-dashboard-v654 .ud-recent-list span:first-child{min-width:0}.user-dashboard-v654 .ud-recent-list b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-dashboard-v654 .ud-recent-list small{display:block;font-size:7px;color:#8293a0;margin-top:2px}

.user-dashboard-v654 .ud-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;border:1px solid #dde7ed;border-radius:9px;overflow:hidden;background:#dde7ed;margin-top:4px}.user-dashboard-v654 .ud-trust span{background:#fff;padding:9px;text-align:center;font-size:8px;font-weight:800;color:#486376}.user-dashboard-v654 .user-private-note{font-size:7px!important;color:#8b9aa6!important;text-align:center!important;margin:10px 0 0!important}

@media(max-width:1350px){.user-dashboard-v654 .ud-hero{grid-template-columns:minmax(0,1fr) 270px}.user-dashboard-v654 .ud-live-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.user-dashboard-v654 .ud-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){.user-dashboard-v654 .ud-hero{grid-template-columns:1fr}.user-dashboard-v654 .ud-hero-side{grid-template-columns:1fr 1fr}.user-dashboard-v654 .ud-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.user-dashboard-v654 .ud-main-grid,.user-dashboard-v654 .ud-bottom-grid{grid-template-columns:1fr}.user-dashboard-v654 .ud-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.user-dashboard-v654 .ud-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body:not(.role-admin) .user-dashboard .dashboard-content{padding:10px!important}.user-dashboard-v654 .ud-hero{padding:17px;border-radius:10px}.user-dashboard-v654 .ud-hero h2{font-size:22px!important}.user-dashboard-v654 .ud-hero-side{grid-template-columns:1fr}.user-dashboard-v654 .ud-metrics,.user-dashboard-v654 .ud-live-grid,.user-dashboard-v654 .ud-service-grid,.user-dashboard-v654 .ud-category-grid,.user-dashboard-v654 .ud-trust{grid-template-columns:1fr}.user-dashboard-v654 .ud-quick-grid{grid-template-columns:1fr 1fr}.user-dashboard-v654 .ud-service-card{min-height:100px}.user-dashboard-v654 .ud-metric{min-height:95px}}
@media(max-width:430px){.user-dashboard-v654 .ud-quick-grid{grid-template-columns:1fr}.user-dashboard-v654 .ud-hero-actions{display:grid;grid-template-columns:1fr}.user-dashboard-v654 .ud-hero-actions .btn{width:100%}}

/* ===== SOURCE: app-v655.css ===== */
/* MG Print Portal V6.55.0 — Premium User Workspace, no duplicate sidebar branding */
body:not(.role-admin){background:#f3f7fb!important;color:#17324a}
body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#0a6670 0%,#0a5a63 58%,#084b54 100%)!important;border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:10px 0 28px rgba(10,66,77,.08)!important}
body:not(.role-admin) .sidebar>.brand{display:none!important}
body:not(.role-admin) .sidebar .side-tag{margin:10px 10px 8px!important;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.16)!important;color:#d7f2f0!important;min-height:34px!important}
body:not(.role-admin) .sidebar .nav{padding-top:5px!important}
body:not(.role-admin) .sidebar .nav a{min-height:46px!important;margin:3px 8px!important;padding:0 13px!important;border-radius:8px!important;color:#eaf7f6!important;font-size:12px!important;font-weight:700!important;background:transparent!important;border:1px solid transparent!important}
body:not(.role-admin) .sidebar .nav a:hover{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.10)!important}
body:not(.role-admin) .sidebar .nav a.active{background:#fff!important;color:#0b5f68!important;border-color:#fff!important;box-shadow:0 8px 18px rgba(4,44,50,.16)!important}
body:not(.role-admin) .sidebar .nav a.active:before{content:""!important;width:4px!important;height:24px!important;border-radius:4px!important;background:#f4a61c!important;position:absolute!important;left:2px!important}
body:not(.role-admin) .sidebar .nav-ico{width:26px!important;font-size:15px!important;color:inherit!important}
body:not(.role-admin) .side-footer{background:rgba(0,0,0,.07)!important;border-top:1px solid rgba(255,255,255,.10)!important;padding-top:8px!important}
body:not(.role-admin) .side-footer .appearance-row,body:not(.role-admin) .side-footer .profile-card,body:not(.role-admin) .side-footer .logout-link{border-radius:8px!important;margin:4px 8px!important}

body:not(.role-admin) .main{background:#f3f7fb!important}
body:not(.role-admin) .topbar{background:#fff!important;border-bottom:1px solid #d7e3ec!important;box-shadow:0 3px 12px rgba(21,60,87,.035)!important;padding-left:18px!important;padding-right:18px!important}
body:not(.role-admin) .topbar h1{font-size:22px!important;color:#17324a!important}
body:not(.role-admin) .dashboard-content,body:not(.role-admin) .content{max-width:none!important;padding:16px 18px 20px!important}

.user-dashboard-v655{display:grid;gap:14px}
.ud55-welcome{min-height:116px;border-radius:14px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#fff;background:linear-gradient(115deg,#0b6270 0%,#0d7892 54%,#187db7 100%);position:relative;overflow:hidden;box-shadow:0 12px 26px rgba(18,87,112,.13)}
.ud55-welcome:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-110px;top:-110px;background:rgba(255,255,255,.08)}
.ud55-welcome>div{position:relative;z-index:1}.ud55-kicker{display:block;font-size:9px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase;color:#bde8ee;margin-bottom:5px}.ud55-welcome h2{font-size:25px!important;line-height:1.1!important;margin:0 0 7px!important;color:#fff!important}.ud55-welcome p{margin:0!important;color:#def0f3!important;font-size:11px!important}.ud55-welcome-actions{display:flex;gap:9px;flex-wrap:wrap}.ud55-welcome-actions .btn{min-height:38px!important;border-radius:7px!important;padding:0 16px!important;background:#fff!important;color:#0a5f70!important;border:1px solid #fff!important;font-weight:800!important}.ud55-welcome-actions .btn.primary{background:#f2a71a!important;border-color:#f2a71a!important;color:#163342!important}

.ud55-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ud55-summary{min-height:105px;border:1px solid #d9e5ed;border-top:3px solid #177eb0;border-radius:11px;background:#fff;padding:15px 16px;display:grid;grid-template-columns:44px 1fr;gap:11px;align-items:center;text-decoration:none;color:#19394f;box-shadow:0 5px 16px rgba(24,69,95,.045)}.ud55-summary.applications{border-top-color:#6b58c8}.ud55-summary.completed{border-top-color:#1caa73}.ud55-summary.pending{border-top-color:#e59a17}.ud55-summary-icon{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;background:#edf7fb;color:#0b7590;font-size:20px;font-weight:900}.ud55-summary.applications .ud55-summary-icon{background:#f1effd;color:#6650bd}.ud55-summary.completed .ud55-summary-icon{background:#eaf8f2;color:#168d61}.ud55-summary.pending .ud55-summary-icon{background:#fff5e4;color:#c27c0c}.ud55-summary small{display:block;font-size:8px;font-weight:900;letter-spacing:.55px;text-transform:uppercase;color:#73889a}.ud55-summary strong{display:block;font-size:24px;line-height:1.1;margin:3px 0;color:#163952}.ud55-summary em{font-style:normal;font-size:8px;color:#8193a1}

.ud55-history-row{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr);gap:14px}.user-dashboard-v655 .panel{border:1px solid #d9e5ed!important;border-radius:12px!important;background:#fff!important;box-shadow:0 5px 18px rgba(24,68,94,.04)!important;padding:14px!important}.user-dashboard-v655 .panel-head{padding-bottom:10px!important;margin-bottom:10px!important;border-bottom:1px solid #e7eef3!important}.user-dashboard-v655 .panel-head h2{font-size:16px!important;color:#173850!important}.user-dashboard-v655 .panel-head .muted{font-size:8.5px!important}
.ud55-recent-list{display:grid}.ud55-recent-list>a{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf2f5;text-decoration:none;color:#1f4058;padding:8px 3px}.ud55-recent-list>a:last-child{border-bottom:0}.ud55-recent-list b{font-size:10px}.ud55-recent-list small{display:block;color:#8394a0;font-size:7.5px;margin-top:2px}.ud55-recent-status{flex:0 0 auto}.ud55-shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ud55-shortcut-grid>a,.ud55-shortcut-grid>button{min-height:82px;border:1px solid #dce7ed;border-radius:9px;background:#f9fcfe;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:11px;color:#1d4057;text-decoration:none;font:inherit;cursor:pointer}.ud55-shortcut-grid span{width:30px;height:30px;border-radius:7px;display:grid;place-items:center;background:#e9f5f7;color:#0b6a77;font-weight:900;font-size:15px;margin-bottom:6px}.ud55-shortcut-grid b{font-size:9px}.ud55-shortcut-grid small{font-size:7.5px;color:#80909c;margin-top:2px}

.ud55-service-workspace{padding:16px!important}.ud55-service-head{align-items:center!important}.ud55-service-head .btn{min-height:36px!important}.ud55-service-band{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(90deg,#edf9f5,#f8fcfb);border-left:4px solid #18a36e;border-radius:8px;padding:10px 12px;margin:12px 0 10px}.ud55-service-band.secondary{background:linear-gradient(90deg,#f3f7fb,#fbfcfd);border-left-color:#6884a0}.ud55-band-title b{display:block;font-size:11px;color:#183c51}.ud55-band-title small{display:block;font-size:7.5px;color:#7e919e;margin-top:2px}.ud55-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ud55-service-card{min-height:116px;border:1px solid #dce7ed;border-radius:11px;background:#fff;display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px;text-decoration:none;color:#163a52;transition:.18s ease;position:relative;overflow:hidden}.ud55-service-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#6f8799}.ud55-service-card.live:before{background:#19a66e}.ud55-service-card:hover{transform:translateY(-3px);border-color:#9bcbd6;box-shadow:0 10px 24px rgba(18,79,96,.10)}.ud55-logo{width:62px;height:62px;border-radius:11px;background:#f1f7fa;border:1px solid #e0e9ef;display:grid;place-items:center}.ud55-logo img{width:48px;height:48px;object-fit:contain}.ud55-service-copy{min-width:0}.ud55-service-copy b{display:block;font-size:10px;line-height:1.25;margin-bottom:3px}.ud55-service-copy small{display:block;font-size:7.5px;color:#7d909e}.ud55-service-copy em{display:block;font-size:7.5px;font-style:normal;font-weight:800;color:#0b7590;margin-top:8px}.ud55-service-card>i{align-self:start;font-style:normal;font-size:6.5px;font-weight:900;border:1px solid #cce8d8;background:#ebf8f1;color:#14865a;border-radius:10px;padding:3px 6px}.ud55-service-card.assisted>i{border-color:#d9e3e9;background:#f3f6f8;color:#637b8b}

.ud55-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ud55-category-grid a{min-height:52px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px 11px;border:1px solid #dfe8ee;border-radius:8px;background:#fbfdfe;color:#214257;text-decoration:none}.ud55-category-grid span{font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ud55-category-grid b{display:grid;place-items:center;min-width:26px;height:22px;border-radius:11px;background:#eaf5f7;color:#0b6e78;font-size:8px}.ud55-category-grid i{font-style:normal;font-size:16px;color:#6f8797}.ud55-trust{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dce7ed;border-radius:8px;overflow:hidden}.ud55-trust span{background:#fff;text-align:center;padding:8px;font-size:8px;font-weight:800;color:#587082;border-right:1px solid #e5edf2}.ud55-trust span:last-child{border-right:0}

/* Service desk: one unified workspace, live APIs first */
.user-service-page .user-simple-hero{display:none!important}.us55-service-desk{padding:16px!important}.us55-desk-head{align-items:center!important}.us55-kicker{display:block;font-size:7.5px;font-weight:900;text-transform:uppercase;letter-spacing:1px;color:#0b7180;margin-bottom:3px}.us55-desk-tools{display:flex;align-items:center;gap:8px}.us55-desk-tools .search{min-width:210px}.us55-category-scroller{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:2px 0 14px}.us55-category-scroller>a{min-height:62px;padding:7px 8px;border:1px solid #dde7ed;border-radius:8px;background:#fafcfd;display:grid;grid-template-columns:34px minmax(0,1fr);gap:7px;align-items:center;text-decoration:none;color:#183c52}.us55-cat-logo{width:34px;height:34px;border-radius:7px;display:grid;place-items:center;background:#eef5f8;border:1px solid #e0e8ed}.us55-cat-logo img{width:27px;height:27px;object-fit:contain}.us55-category-scroller b{display:block;font-size:7.7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.us55-category-scroller small{display:block;font-size:6.5px;color:#83939f;margin-top:2px}.us55-band{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin:10px 0;border-radius:8px;background:#edf9f4;border-left:4px solid #18a36e}.us55-band.secondary{background:#f4f7f9;border-left-color:#6a8192}.us55-band span>b{display:block;font-size:11px;color:#183b50}.us55-band span>small{display:block;font-size:7px;color:#7e909c;margin-top:2px}.us55-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.us55-service-tile{min-height:126px;border:1px solid #dbe6ed;border-radius:11px;background:#fff;display:grid;grid-template-columns:68px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px;text-decoration:none;color:#183c52;transition:.18s ease;position:relative;overflow:hidden}.us55-service-tile:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#6d8494}.us55-service-tile.live:before{background:#18a36e}.us55-service-tile:hover{transform:translateY(-3px);border-color:#99cbd5;box-shadow:0 10px 22px rgba(18,77,95,.09)}.us55-service-logo{width:68px;height:68px;border-radius:11px;background:#f1f7fa;border:1px solid #e0e8ee;display:grid;place-items:center}.us55-service-logo img{width:52px;height:52px;object-fit:contain}.us55-service-info b{display:block;font-size:10px;line-height:1.3}.us55-service-info small{display:block;font-size:7.5px;color:#80919d;margin-top:3px}.us55-service-info em{display:block;font-style:normal;font-size:8px;font-weight:800;color:#0b7690;margin-top:8px}.us55-service-tile>i{font-style:normal;align-self:start;font-size:6px;font-weight:900;border-radius:10px;padding:3px 6px;background:#edf4f7;color:#607888;border:1px solid #dbe4e9}.us55-service-tile.live>i{background:#eaf8f1;color:#14865a;border-color:#c8e8d6}.us55-category-service{min-height:250px!important}.us55-category-service .service-logo-media{height:94px!important}.us55-category-service .service-logo-media img{max-height:70px!important;max-width:70px!important}

@media(max-width:1350px){.ud55-service-grid,.us55-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.us55-category-scroller{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1050px){.ud55-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ud55-history-row{grid-template-columns:1fr}.ud55-service-grid,.us55-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ud55-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.us55-category-scroller{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.ud55-welcome{align-items:flex-start;flex-direction:column}.ud55-welcome-actions{width:100%}.ud55-summary-grid,.ud55-service-grid,.us55-service-grid,.ud55-category-grid,.ud55-trust{grid-template-columns:1fr}.ud55-shortcut-grid{grid-template-columns:1fr 1fr}.us55-desk-head{align-items:flex-start!important}.us55-desk-tools{width:100%;flex-direction:column;align-items:stretch}.us55-desk-tools .search{min-width:0;width:100%}.us55-category-scroller{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== SOURCE: app-v656.css ===== */
/* MG PRINT PORTAL V6.56.0 — User service popup & final theme polish */
:root{--mg-navy:#0d3b66;--mg-teal:#0b6f73;--mg-blue:#177fbe;--mg-sky:#eaf5fb;--mg-amber:#f3a51f;--mg-line:#d8e5ec;--mg-ink:#17384e;--mg-muted:#718797}
body:not(.role-admin){background:#f4f8fb!important}
body:not(.role-admin) .portal-masthead{border-top:2px solid var(--mg-amber)!important;border-bottom:1px solid #d7e4eb!important;box-shadow:0 3px 14px rgba(26,66,91,.04)!important}
body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#075f68 0%,#0b6f73 48%,#0a6468 100%)!important}
body:not(.role-admin) .nav-item.active{background:#fff!important;color:#0a6670!important;border-color:#fff!important;box-shadow:0 5px 15px rgba(2,49,54,.16)!important}
body:not(.role-admin) .nav-item:hover:not(.active){background:rgba(255,255,255,.10)!important}
body:not(.role-admin) .ud55-welcome{background:linear-gradient(120deg,#075e68 0%,#0b7280 52%,#167fb4 100%)!important;box-shadow:0 12px 30px rgba(14,91,104,.13)!important}
body:not(.role-admin) .ud55-welcome-actions .btn.primary{background:var(--mg-amber)!important;border-color:var(--mg-amber)!important;color:#173247!important}
body:not(.role-admin) .ud55-service-card,body:not(.role-admin) .us55-service-tile{border-radius:14px!important;box-shadow:0 4px 14px rgba(24,66,91,.045)!important}
body:not(.role-admin) .ud55-service-card:hover,body:not(.role-admin) .us55-service-tile:hover{transform:translateY(-4px)!important;box-shadow:0 14px 30px rgba(12,85,103,.11)!important;border-color:#8fcbd2!important}
body:not(.role-admin) .ud55-logo,body:not(.role-admin) .us55-service-logo{background:linear-gradient(145deg,#f8fcfe,#edf6f9)!important}
body:not(.role-admin) .us55-category-scroller>a:hover,body:not(.role-admin) .ud55-category-grid>a:hover{border-color:#9fcfd6!important;background:#f5fbfc!important;transform:translateY(-2px)}

/* Service form modal */
.service-modal[hidden]{display:none!important}.service-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:22px;opacity:0;pointer-events:none;transition:opacity .18s ease}.service-modal.open{opacity:1;pointer-events:auto}.service-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(8,28,42,.58);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);cursor:default}.service-modal-panel{position:relative;width:min(1120px,96vw);height:min(86vh,820px);display:grid;grid-template-rows:auto 1fr;background:#fff;border:1px solid rgba(210,226,235,.95);border-radius:18px;overflow:hidden;box-shadow:0 30px 90px rgba(2,29,44,.30);transform:translateY(14px) scale(.985);transition:transform .2s ease}.service-modal.open .service-modal-panel{transform:translateY(0) scale(1)}.service-modal-head{min-height:72px;padding:13px 16px 13px 20px;border-bottom:1px solid #dce8ee;background:linear-gradient(180deg,#fff,#f8fbfd);display:flex;align-items:center;justify-content:space-between;gap:16px}.service-modal-title{min-width:0}.service-modal-kicker{display:block;color:#0b7180;font-weight:900;font-size:8px;letter-spacing:1.15px;margin-bottom:3px}.service-modal-title b{display:block;color:#153a50;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.service-modal-title small{display:block;color:#7a8d99;font-size:9px;margin-top:2px}.service-modal-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.service-modal-newtab{height:34px;padding:0 12px;border:1px solid #cddfe8;border-radius:8px;display:flex;align-items:center;color:#0b6d79;background:#fff;font-size:9px;font-weight:800}.service-modal-x{width:36px;height:36px;border:1px solid #d6e2e9;border-radius:9px;background:#f5f9fb;color:#24465b;font-size:23px;line-height:1;cursor:pointer}.service-modal-x:hover,.service-modal-newtab:hover{background:#edf7f8;border-color:#9ccbd1}.service-modal-frame{width:100%;height:100%;border:0;background:#f7fafc;transition:opacity .15s ease}.service-modal-loading{position:absolute;inset:72px 0 0;z-index:2;background:#f8fbfd;display:flex;align-items:center;justify-content:center;gap:11px;color:#436275;font-size:11px}.service-modal-loading[hidden]{display:none!important}.service-modal-loading span{width:24px;height:24px;border-radius:50%;border:3px solid #d9e8ee;border-top-color:#0b7680;animation:mgspin .8s linear infinite}@keyframes mgspin{to{transform:rotate(360deg)}}body.service-modal-open{overflow:hidden}

/* Popup embed: service form only, no portal chrome */
body.popup-embed{background:#f7fafc!important;min-width:0!important;overflow:auto!important}body.popup-embed .ambient-orb{display:none!important}body.popup-embed .main{margin:0!important;min-height:0!important;width:100%!important;background:#f7fafc!important}body.popup-embed .topbar{display:none!important}body.popup-embed .content{padding:14px!important;max-width:1100px!important;margin:0 auto!important}body.popup-embed .split.compact-service-split{grid-template-columns:minmax(0,1fr) 250px!important;gap:12px!important;align-items:start!important}body.popup-embed .compact-service-form{margin:0!important;padding:15px!important;border-radius:12px!important;border:1px solid #d9e5ec!important;box-shadow:none!important;background:#fff!important}body.popup-embed .compact-service-summary{position:sticky!important;top:14px!important;border-radius:12px!important;box-shadow:none!important}body.popup-embed .gov-apply-head{margin-bottom:12px!important;padding-bottom:10px!important}body.popup-embed .apply-photo{display:none!important}body.popup-embed .apply-visual-wrap{width:48px!important;height:48px!important;border:1px solid #dbe7ed!important;border-radius:9px!important;background:#f4f9fb!important;display:grid!important;place-items:center!important}body.popup-embed .apply-logo{position:static!important;width:38px!important;height:38px!important;object-fit:contain!important;border:0!important;box-shadow:none!important;background:transparent!important}body.popup-embed .panel-head h2{font-size:18px!important}body.popup-embed .service-intro-note,body.popup-embed .notice{border-radius:8px!important}body.popup-embed .form-section-title{margin-top:12px!important}body.popup-embed .form-grid{gap:10px!important}body.popup-embed .field input,body.popup-embed .field select,body.popup-embed .field textarea{min-height:40px!important;border-radius:7px!important}body.popup-embed .btn.primary,body.popup-embed button[type="submit"]{min-height:42px!important;border-radius:7px!important;background:linear-gradient(90deg,#0a6d77,#157eaa)!important;box-shadow:none!important}body.popup-embed footer,body.popup-embed .user-private-note{display:none!important}

@media(max-width:850px){.service-modal{padding:0}.service-modal-panel{width:100vw;height:100dvh;max-height:none;border-radius:0;border:0}.service-modal-head{min-height:64px;padding:10px 12px}.service-modal-title b{font-size:16px}.service-modal-title small,.service-modal-newtab{display:none}.service-modal-loading{inset:64px 0 0}body.popup-embed .content{padding:10px!important}body.popup-embed .split.compact-service-split{grid-template-columns:1fr!important}body.popup-embed .compact-service-summary{position:static!important;order:-1!important}.us55-service-grid,.ud55-service-grid{grid-template-columns:1fr!important}}

/* ===== SOURCE: app-v657.css ===== */
/* V6.57.0 — User tracking/receipt flow + premium rounded service tiles */
body:not(.role-admin){--u57-teal:#0e6f73;--u57-teal2:#0a5e66;--u57-blue:#1788c9;--u57-amber:#f6a61a;--u57-ink:#17384b;--u57-soft:#f4f9fb}
body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#0a6570 0%,#0d7168 58%,#0b625d 100%)!important}
body:not(.role-admin) .nav-item{border-radius:12px!important;margin:4px 8px!important;min-height:44px!important}
body:not(.role-admin) .nav-item.active{background:linear-gradient(135deg,#168fd4,#286fec)!important;box-shadow:0 7px 20px rgba(20,103,177,.28)!important;border:1px solid rgba(255,255,255,.42)!important}
body:not(.role-admin) .ud55-service-card,body:not(.role-admin) .us55-service-tile{border-radius:22px!important;border:1px solid #d7e6eb!important;background:linear-gradient(145deg,#fff 0%,#fbfdfe 100%)!important;box-shadow:0 8px 22px rgba(21,69,86,.06)!important;min-height:130px!important;overflow:hidden!important}
body:not(.role-admin) .ud55-service-card:after,body:not(.role-admin) .us55-service-tile:after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-38px;bottom:-45px;background:radial-gradient(circle,rgba(22,137,190,.10),rgba(22,137,190,0) 72%);pointer-events:none}
body:not(.role-admin) .ud55-service-card:hover,body:not(.role-admin) .us55-service-tile:hover{transform:translateY(-5px) scale(1.012)!important;border-color:#7ec6d1!important;box-shadow:0 18px 38px rgba(15,91,108,.14)!important}
body:not(.role-admin) .ud55-logo,body:not(.role-admin) .us55-service-logo{border-radius:18px!important;background:linear-gradient(145deg,#eef8fb,#fff)!important;box-shadow:inset 0 0 0 1px #dfebef!important}
body:not(.role-admin) .ud55-service-copy em,body:not(.role-admin) .us55-service-info em{display:inline-flex!important;align-items:center;gap:5px;background:#edf8fb!important;color:#076b82!important;border-radius:999px!important;padding:5px 9px!important;margin-top:9px!important}
body:not(.role-admin) .ud55-service-card.live:before,body:not(.role-admin) .us55-service-tile.live:before{width:5px!important;background:linear-gradient(180deg,#1fc884,#0aa56f)!important}
body:not(.role-admin) .us55-band,body:not(.role-admin) .ud55-service-band{border-radius:15px!important;background:linear-gradient(90deg,#eaf9f2,#f7fcfb)!important}
body:not(.role-admin) .us55-band.secondary,body:not(.role-admin) .ud55-service-band.secondary{background:linear-gradient(90deg,#f2f7fb,#fbfcfd)!important}
body:not(.role-admin) .service-card.user-service-card{border-radius:20px!important;box-shadow:0 8px 24px rgba(21,66,85,.06)!important}
body:not(.role-admin) .service-actions{gap:7px!important;grid-template-columns:1.25fr .75fr .75fr!important}
body:not(.role-admin) .service-actions .btn{border-radius:10px!important}
.service-head-actions,.ud57-service-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.receipt-number-box{margin:12px 0 14px;padding:13px 14px;border:1px solid #b8dde0;background:linear-gradient(135deg,#effafa,#f8fcfc);border-radius:12px}.receipt-number-box small{display:block;font-size:10px;color:#557c85;text-transform:uppercase;letter-spacing:.7px}.receipt-number-box b{display:block;font-size:18px;color:#0b6670;margin:4px 0}.receipt-number-box a{font-size:11px;color:#0b6c9b;text-decoration:none;font-weight:700}
.track-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.9fr);gap:24px;align-items:center;padding:26px!important;background:linear-gradient(135deg,#f8fcfd,#edf8f7)!important;border-radius:18px!important;border:1px solid #cfe4e5!important}.track-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:1.1px;text-transform:uppercase;color:#0b7a82;margin-bottom:6px}.track-copy h2{font-size:25px;margin:0 0 8px;color:#173d51}.track-copy p{margin:0;color:#6c8290;line-height:1.55}.track-form{background:#fff;border:1px solid #d7e4e9;border-radius:14px;padding:16px;box-shadow:0 10px 24px rgba(27,72,88,.06)}.track-form label{display:block;font-size:11px;font-weight:800;color:#24485c;margin-bottom:7px}.track-input-row{display:grid;grid-template-columns:1fr auto;gap:8px}.track-input-row input{height:44px;border:1px solid #cfdde4;border-radius:10px;padding:0 13px;font-weight:700;letter-spacing:.3px}.track-result{margin-top:14px!important;border-radius:18px!important}.track-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.track-status-grid>div{border:1px solid #dce7ec;background:#f9fbfc;border-radius:12px;padding:13px}.track-status-grid small{display:block;font-size:9px;color:#7c909b;text-transform:uppercase}.track-status-grid b{display:block;font-size:12px;margin-top:5px;color:#183e53}.track-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}.track-timeline>div{position:relative;padding:14px 10px 12px 32px;border-radius:12px;background:#f4f7f9;border:1px solid #dfe7eb}.track-timeline i{position:absolute;left:12px;top:16px;width:10px;height:10px;border-radius:50%;background:#a9bbc5}.track-timeline .done{background:#edf9f3;border-color:#cae8d8}.track-timeline .done i{background:#16a36b}.track-timeline .current{background:#fff8e8;border-color:#f1d69a}.track-timeline .current i{background:#eaa51d}.track-timeline .failed{background:#fff1f1;border-color:#f0c7c7}.track-timeline .failed i{background:#d64747}.track-timeline b{display:block;font-size:11px}.track-timeline small{display:block;color:#748894;font-size:9px;margin-top:3px;line-height:1.35}.track-actions{display:flex;gap:8px;flex-wrap:wrap}.track-help{margin-top:14px!important;border-radius:14px!important}
@media(max-width:900px){.track-hero{grid-template-columns:1fr}.track-status-grid,.track-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.service-head-actions,.ud57-service-actions{width:100%;justify-content:flex-start}}
@media(max-width:620px){body:not(.role-admin) .ud55-service-card,body:not(.role-admin) .us55-service-tile{border-radius:17px!important;min-height:112px!important}.track-status-grid,.track-timeline{grid-template-columns:1fr}.track-input-row{grid-template-columns:1fr}.track-input-row .btn{width:100%}.service-actions{grid-template-columns:1fr!important}}

/* ===== SOURCE: app-v658.css ===== */
/* V6.58.0 — MG Print premium clean user portal inspired by the approved visual reference. Admin remains unchanged. */
body:not(.role-admin){--u58-navy:#123b5d;--u58-teal:#087d78;--u58-teal2:#0e8d86;--u58-blue:#207ed0;--u58-mint:#eaf9f5;--u58-sky:#eef7ff;--u58-amber:#f7a81b;--u58-ink:#13344d;--u58-muted:#708695;--u58-line:#d7e4eb;--u58-bg:#f6f9fb;background:#f6f9fb!important;color:var(--u58-ink)}
body:not(.role-admin) .ambient-orb{display:none!important}
body:not(.role-admin) .portal-masthead{height:78px!important;background:#fff!important;border-top:2px solid var(--u58-amber)!important;border-bottom:1px solid #dce6ec!important;box-shadow:0 3px 13px rgba(31,65,85,.05)!important;padding:0 20px!important;gap:18px!important}
body:not(.role-admin) .mast-brand{min-width:320px!important}.mast-brand b{font-size:23px!important;letter-spacing:.1px!important;color:#123f68!important}.mast-brand small{font-size:9px!important;color:#6d8290!important}
body:not(.role-admin) .u58-mast-search{height:44px;flex:1;max-width:700px;display:flex;align-items:center;gap:8px;border:1px solid #d4e1e8;background:#fff;border-radius:10px;padding:0 8px 0 13px;box-shadow:0 3px 12px rgba(34,78,98,.04)}
body:not(.role-admin) .u58-mast-search span{font-size:20px;color:#315f7e}.u58-mast-search input{flex:1;border:0;outline:0;background:transparent;font-size:12px;color:#294a60;min-width:0}.u58-mast-search button{border:0;background:#edf7f7;color:#0b716e;font-weight:800;border-radius:8px;padding:8px 13px;cursor:pointer}
body:not(.role-admin) .mast-script,body:not(.role-admin) .mast-private{display:none!important}body:not(.role-admin) .mast-right{gap:8px!important;margin-left:auto!important}body:not(.role-admin) .mast-wallet{border-radius:10px!important;background:#f6fbfe!important;border:1px solid #d8e7ef!important;padding:7px 12px!important;min-width:132px!important}body:not(.role-admin) .mast-profile{border-radius:10px!important;border:1px solid #d8e7ef!important;background:#fff!important;min-width:125px!important}.mast-bell{border:1px solid #d8e7ef!important;background:#fff!important;border-radius:10px!important}
body:not(.role-admin) .app-shell{background:#f6f9fb!important}
body:not(.role-admin) .sidebar{top:78px!important;width:218px!important;background:linear-gradient(180deg,#07746f 0%,#0b837c 53%,#076b68 100%)!important;border-right:0!important;box-shadow:4px 0 16px rgba(12,78,78,.08)!important;padding-top:8px!important}
body:not(.role-admin) .sidebar .side-glow,body:not(.role-admin) .sidebar>.brand{display:none!important}
body:not(.role-admin) .sidebar nav{padding:6px 9px 170px!important}.sidebar nav .nav-item{margin:2px 0!important;border:0!important;border-radius:8px!important;min-height:44px!important;padding:0 13px!important;color:#eefdfd!important;background:transparent!important;font-size:12px!important;font-weight:650!important;box-shadow:none!important}.sidebar nav .nav-item .nav-ico{opacity:.92!important}.sidebar nav .nav-item:hover{background:rgba(255,255,255,.09)!important}.sidebar nav .nav-item.active{background:#eafafa!important;color:#0b625f!important;border-left:4px solid #9fe6df!important;box-shadow:0 6px 17px rgba(0,64,64,.11)!important;padding-left:9px!important}.sidebar nav .nav-item.active svg{fill:#08766f!important}.sidebar .side-footer{padding:9px!important;background:linear-gradient(180deg,rgba(7,104,100,.1),#076965)!important;border-top:1px solid rgba(255,255,255,.12)!important}.sidebar .theme-toggle,.sidebar .side-user,.sidebar .side-logout-row{border-radius:9px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}.sidebar .side-user{background:rgba(8,55,89,.58)!important}.sidebar .side-logout-row{justify-content:center!important;font-weight:800!important;background:rgba(255,255,255,.11)!important}
body:not(.role-admin) .main{margin-left:218px!important;padding-top:78px!important;background:#f6f9fb!important}body:not(.role-admin) .topbar{height:62px!important;background:#fff!important;border-bottom:1px solid #dbe6eb!important;padding:0 22px!important}body:not(.role-admin) .topbar h1{font-size:20px!important;color:#173a55!important}body:not(.role-admin) .topbar .top-search-wrap{display:none!important}body:not(.role-admin) .topbar .wallet-pill{display:none!important}
body:not(.role-admin) .content{padding:16px 18px 28px!important;max-width:none!important}
.user-dashboard-v658{display:grid;gap:14px}.u58-hero{min-height:150px;padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(120deg,#eff9ff 0%,#f9fcff 57%,#e9f7ff 100%);border:1px solid #d7e9f4;border-radius:15px;box-shadow:0 6px 18px rgba(31,83,114,.05);overflow:hidden;position:relative}.u58-hero:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-120px;top:-150px;background:radial-gradient(circle,rgba(55,169,225,.20),rgba(55,169,225,0) 70%)}.u58-hero-copy{position:relative;z-index:2}.u58-kicker,.u58-section-kicker{display:block;font-size:9px;font-weight:900;letter-spacing:1.15px;color:#0a7f7b;text-transform:uppercase;margin-bottom:5px}.u58-hero h2{margin:0 0 5px;font-size:26px;color:#14395a}.u58-hero p{margin:0;color:#5e7a8c;font-size:12px}.u58-hero-actions{display:flex;gap:8px;margin-top:15px}.u58-hero-art{position:relative;z-index:2;min-width:330px;display:flex;align-items:center;gap:16px;justify-content:center}.u58-doc-stack{display:grid;place-items:center;width:88px;height:88px;border-radius:24px;background:linear-gradient(145deg,#fff,#dff2ff);font-size:50px;color:#2b87cc;box-shadow:0 12px 30px rgba(42,127,184,.15)}.u58-hero-art div{display:grid;gap:2px}.u58-hero-art b{font-size:19px;color:#0c6066}.u58-hero-art strong{font-size:13px;color:#1c3f59}.u58-hero-art small{font-size:9px;color:#74909f}
.u58-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.u58-quick-grid>a{display:flex;align-items:center;gap:12px;min-height:74px;padding:12px 14px;border-radius:13px;background:#fff;border:1px solid #d9e5eb;text-decoration:none;color:#173b55;box-shadow:0 5px 16px rgba(33,74,94,.04);transition:.18s}.u58-quick-grid>a:hover{transform:translateY(-2px);border-color:#a7d9d5;box-shadow:0 10px 24px rgba(22,91,102,.09)}.u58-qico{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;font-size:21px;font-weight:800}.q-green{background:#e4f8ee;color:#0c9a67}.q-purple{background:#eeeaff;color:#6a57d7}.q-orange{background:#fff2de;color:#e68c07}.q-blue{background:#e8f3ff;color:#1879c8}.u58-quick-grid b{display:block;font-size:12px}.u58-quick-grid small{display:block;font-size:9px;color:#758b98;margin-top:3px}.u58-quick-grid i{margin-left:auto;font-style:normal;font-size:24px;color:#0b7b84}
.u58-service-area,.u58-services-page{background:#fff;border:1px solid #dbe6eb;border-radius:14px;padding:16px;box-shadow:0 5px 16px rgba(35,72,92,.04)}.u58-section-head,.u58-services-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:12px}.u58-section-head h2,.u58-services-toolbar h2{font-size:20px;margin:0;color:#163d5b}.u58-section-head p,.u58-services-toolbar p{margin:3px 0 0;color:#708693;font-size:10px}.u58-head-actions,.u58-search-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.u58-search-tools .search{min-width:260px;height:38px;border-radius:9px!important}
.u58-category-tabs{display:flex;align-items:center;gap:7px;overflow:auto;padding:2px 0 12px;scrollbar-width:thin}.u58-category-tabs a{white-space:nowrap;text-decoration:none;color:#315269;background:#fff;border:1px solid #d6e2e8;border-radius:999px;padding:8px 14px;font-size:10px;font-weight:750}.u58-category-tabs a:hover,.u58-category-tabs a.active{color:#fff;background:linear-gradient(135deg,#0d8f87,#06756f);border-color:#087a74;box-shadow:0 5px 14px rgba(8,122,116,.17)}.u58-category-tabs a span{display:inline-grid;place-items:center;margin-left:5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(27,89,110,.08);font-size:8px}.u58-category-tabs a.active span{background:rgba(255,255,255,.18)}.u58-category-full{flex-wrap:wrap;overflow:visible}
.u58-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.u58-service-card{position:relative;display:flex;align-items:center;gap:12px;min-height:132px;padding:14px;background:#fff;border:1px solid #dbe5ea;border-radius:13px;text-decoration:none;color:#153b54;box-shadow:0 4px 14px rgba(25,70,91,.04);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.u58-service-card:hover{transform:translateY(-3px);border-color:#79cfc6;box-shadow:0 12px 28px rgba(17,96,100,.11)}.u58-service-card.live{border-top:2px solid #1ebf84}.u58-service-logo{width:82px;height:82px;flex:0 0 82px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#f4f9fb,#fff);border:1px solid #e1eaee;overflow:hidden}.u58-service-logo img{max-width:70px;max-height:70px;width:auto;height:auto;object-fit:contain}.u58-service-body{min-width:0;display:block}.u58-service-body>b{display:block;font-size:12px;line-height:1.3;color:#173b55}.u58-service-body>small{display:block;font-size:8.5px;color:#7a8d98;margin:3px 0}.u58-service-body>em{display:block;font-style:normal;font-size:9px;line-height:1.35;color:#617a89;max-height:25px;overflow:hidden}.u58-service-cta{display:inline-flex;align-items:center;gap:6px;margin-top:9px;min-height:28px;padding:0 10px;border:1px solid #52c4ba;border-radius:7px;background:#f1fcfa;color:#08736d;font-size:9px;font-weight:850}.u58-service-cta i{font-style:normal;font-size:14px}.u58-live{position:absolute;right:10px;top:9px;padding:4px 8px;background:#dff7ea;color:#088050;border-radius:999px;font-size:8px;text-transform:uppercase}.u58-services-full{margin-bottom:14px}.u58-band{display:flex;justify-content:space-between;align-items:center;margin:10px 0;padding:10px 12px;border-left:4px solid #18b97b;border-radius:8px;background:#eefaf4}.u58-band.secondary{border-left-color:#7b8fa0;background:#f5f8fa}.u58-band span{display:grid}.u58-band b{font-size:11px}.u58-band small{font-size:8px;color:#7d909a}.u58-band>strong{font-size:9px;background:#dff7e8;color:#087a4d;padding:5px 9px;border-radius:999px}
.u58-lower-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:12px}.u58-history,.u58-account{border-radius:13px!important}.u58-history-list{display:grid}.u58-history-list>a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 2px;border-top:1px solid #edf2f4;text-decoration:none;color:#183e55}.u58-history-list b{display:block;font-size:10px}.u58-history-list small{font-size:8px;color:#82939c}.u58-account-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.u58-account-grid>div{display:grid;gap:2px;padding:12px;background:#f7fafb;border:1px solid #e0e8ec;border-radius:10px}.u58-account-grid span{font-size:18px;color:#0b8179}.u58-account-grid small{font-size:8px;color:#81939c;text-transform:uppercase}.u58-account-grid b{font-size:14px;color:#173c54}
body:not(.role-admin) .btn{border-radius:8px!important;font-weight:800!important}.superchat-float{box-shadow:0 10px 28px rgba(83,62,190,.22)!important}
@media(max-width:1180px){body:not(.role-admin) .mast-brand{min-width:250px!important}.u58-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.u58-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.u58-hero-art{min-width:260px}}
@media(max-width:900px){body:not(.role-admin) .u58-mast-search{display:none}.u58-hero{align-items:flex-start}.u58-hero-art{display:none}.u58-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.u58-lower-grid{grid-template-columns:1fr}.u58-section-head,.u58-services-toolbar{align-items:flex-start;flex-direction:column}.u58-search-tools{width:100%}.u58-search-tools .search{flex:1;min-width:180px}}
@media(max-width:760px){body:not(.role-admin) .sidebar{top:68px!important}.portal-masthead{height:68px!important}.mast-brand{min-width:auto!important}.mast-brand b{font-size:17px!important}.mast-brand small{display:none}.mast-wallet{min-width:auto!important}.mast-wallet small{display:none}.mast-profile small{display:none}.mast-profile{min-width:auto!important}.main{margin-left:0!important;padding-top:68px!important}.u58-quick-grid,.u58-service-grid{grid-template-columns:1fr}.u58-hero{padding:18px}.u58-service-logo{width:72px;height:72px;flex-basis:72px}.u58-service-logo img{max-width:60px;max-height:60px}}

/* ===== SOURCE: app-v660.css ===== */
/* MG Print Portal V6.60.0 — User service modal stability polish */
.service-modal{padding:18px!important}
.service-modal-panel{width:min(1180px,94vw)!important;height:min(88vh,860px)!important;border-radius:16px!important;overflow:hidden!important}
.service-modal-frame{display:block!important;min-width:0!important;overflow:hidden!important}

/* Popup application form must never create a second horizontal layout. */
html:has(body.popup-embed),body.popup-embed{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;background:#f6f9fb!important}
body.popup-embed .app-shell,body.popup-embed .main,body.popup-embed .content{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;box-sizing:border-box!important}
body.popup-embed .content{padding:14px!important;margin:0!important}
body.popup-embed .split.compact-service-split{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
body.popup-embed .compact-service-form{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
/* Summary remains available on full page. Modal is intentionally form-only for a clean service desk. */
body.popup-embed .compact-service-summary{display:none!important}
body.popup-embed .form-grid{width:100%!important;max-width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.popup-embed .field,body.popup-embed .field input,body.popup-embed .field select,body.popup-embed .field textarea{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.popup-embed .gov-apply-head{position:relative!important;display:flex!important;align-items:center!important;gap:12px!important}
body.popup-embed .gov-apply-head .chip.price{margin-left:auto!important;flex:0 0 auto!important}
body.popup-embed .special-flow-card,body.popup-embed .service-intro-note,body.popup-embed .notice{max-width:100%!important;box-sizing:border-box!important}

@media(max-width:760px){
  .service-modal{padding:0!important}
  .service-modal-panel{width:100vw!important;height:100dvh!important;max-height:none!important;border-radius:0!important}
  body.popup-embed .content{padding:10px!important}
  body.popup-embed .form-grid{grid-template-columns:1fr!important}
  body.popup-embed .gov-apply-head{align-items:flex-start!important}
}

/* ===== SOURCE: app-v662.css ===== */
/* MG Print Portal V6.62.0 — full portal stability and final user workspace polish */
body:not(.role-admin){background:#f5f8fb!important}
body:not(.role-admin) .portal-masthead{height:74px!important;padding:0 18px!important;background:#fff!important}
body:not(.role-admin) .mast-brand{min-width:285px!important}
body:not(.role-admin) .mast-brand b{font-size:21px!important}
body:not(.role-admin) .main{margin-left:222px!important;padding-top:74px!important;min-width:0!important}
body:not(.role-admin) .sidebar{top:74px!important;width:222px!important;background:linear-gradient(180deg,#08736f 0%,#0b837d 52%,#076b67 100%)!important}
body:not(.role-admin) .sidebar nav{padding:8px 9px 176px!important}
body:not(.role-admin) .sidebar nav .nav-item{min-height:46px!important;padding:0 14px!important;border-radius:9px!important;font-size:12.5px!important}
body:not(.role-admin) .sidebar nav .nav-item.active{padding-left:10px!important;background:#f4fffe!important;color:#0b615e!important}
body:not(.role-admin) .side-footer{padding:10px!important}
body:not(.role-admin) .topbar{height:60px!important;padding:0 16px!important;position:relative!important;z-index:5!important;background:#fff!important}
body:not(.role-admin) .content{padding:14px 16px 26px!important;overflow:visible!important}
body:not(.role-admin) .user-dashboard-v658,body:not(.role-admin) .u58-services-page{width:100%!important;max-width:none!important}
body:not(.role-admin) .u58-hero{min-height:138px!important;border-radius:14px!important;background:linear-gradient(120deg,#f2fbff 0%,#ffffff 58%,#edf9f7 100%)!important}
body:not(.role-admin) .u58-quick-grid{gap:10px!important}
body:not(.role-admin) .u58-quick-grid>a{min-height:70px!important;border-radius:12px!important}
body:not(.role-admin) .u58-service-area,body:not(.role-admin) .u58-services-page{padding:14px!important;border-radius:14px!important;background:#fff!important}
body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
body:not(.role-admin) .u58-service-card{min-height:122px!important;padding:12px!important;border-radius:14px!important;background:#fff!important;border:1px solid #d7e4ea!important;box-shadow:0 5px 16px rgba(24,72,91,.045)!important}
body:not(.role-admin) .u58-service-card:hover{transform:translateY(-3px)!important;box-shadow:0 12px 28px rgba(17,96,100,.11)!important;border-color:#6ecbc2!important}
body:not(.role-admin) .u58-service-logo{width:74px!important;height:74px!important;flex-basis:74px!important;border-radius:13px!important;background:#f7fbfc!important}
body:not(.role-admin) .u58-service-logo img{max-width:62px!important;max-height:62px!important}
body:not(.role-admin) .u58-service-body>b{font-size:11.5px!important}
body:not(.role-admin) .u58-service-body>em{font-size:8.8px!important}
body:not(.role-admin) .u58-service-cta{margin-top:7px!important;border-radius:8px!important}
body:not(.role-admin) .u58-category-tabs{gap:6px!important;padding-bottom:10px!important}
body:not(.role-admin) .u58-category-tabs a{padding:7px 12px!important;border-radius:999px!important}
body:not(.role-admin) .u58-band{margin:9px 0!important;border-radius:9px!important}
body:not(.role-admin) .panel,body:not(.role-admin) .user-clean-panel{border-radius:13px!important;background:#fff!important}
body:not(.role-admin) .compact-service-form,body:not(.role-admin) .compact-service-summary{background:#fff!important;border-radius:13px!important}
body:not(.role-admin) .compact-service-split{align-items:start!important;gap:14px!important}
body:not(.role-admin) .form-grid{gap:12px!important}
body:not(.role-admin) .field input,body:not(.role-admin) .field select,body:not(.role-admin) .field textarea{background:#fff!important;border-color:#ccdce5!important;border-radius:8px!important;min-height:42px!important}
body:not(.role-admin) .service-actions .btn,body:not(.role-admin) .btn{border-radius:8px!important}
body:not(.role-admin) .user-private-note{margin-top:12px!important}
/* Remove any leftover service-modal shell completely. */
.service-modal,.service-modal[hidden],.service-modal-panel,.service-modal-frame{display:none!important}
/* Admin: stable sidebar and content alignment only; no redesign in this release. */
body.role-admin .sidebar{overflow:hidden!important}
body.role-admin .sidebar nav{overflow-y:auto!important;min-height:0!important}
body.role-admin .side-footer{flex:0 0 auto!important}
body.role-admin .main{min-width:0!important}
body.role-admin .content{min-width:0!important}
@media(max-width:1280px){body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:980px){body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){body:not(.role-admin) .portal-masthead{height:66px!important}body:not(.role-admin) .sidebar{top:66px!important;width:min(292px,86vw)!important}body:not(.role-admin) .main{margin-left:0!important;padding-top:66px!important}body:not(.role-admin) .u58-service-grid{grid-template-columns:1fr!important}.compact-service-split{grid-template-columns:1fr!important}}

/* ===== SOURCE: app-v663.css ===== */
/* MG Print Portal V6.63.0 — full portal color harmony, contrast and readability polish */
:root{
  --mg63-admin:#0b3f66;--mg63-admin-deep:#072e4b;--mg63-admin-accent:#1783cf;
  --mg63-user:#08766f;--mg63-user-deep:#075a56;--mg63-user-accent:#11a092;
  --mg63-bg:#f4f8fb;--mg63-panel:#ffffff;--mg63-line:#d5e2ea;
  --mg63-text:#17384f;--mg63-muted:#687f90;--mg63-soft:#eef5f9;
  --mg63-success:#14865a;--mg63-success-bg:#e8f8ef;--mg63-warning:#b86809;--mg63-warning-bg:#fff3df;
  --mg63-danger:#b93645;--mg63-danger-bg:#fff0f1;--mg63-info:#126dac;--mg63-info-bg:#eaf5fc;
  --mg63-shadow:0 5px 18px rgba(24,62,88,.055)
}
html[data-theme="light"] body{background:var(--mg63-bg)!important;color:var(--mg63-text)!important}
html[data-theme="light"] body.role-admin .sidebar{background:linear-gradient(180deg,var(--mg63-admin) 0%,#0a4a72 55%,var(--mg63-admin-deep) 100%)!important}
html[data-theme="light"] body:not(.role-admin) .sidebar{background:linear-gradient(180deg,var(--mg63-user) 0%,#0a8178 54%,var(--mg63-user-deep) 100%)!important}

/* Header / navigation harmony */
html[data-theme="light"] .portal-masthead{background:#fff!important;border-bottom:1px solid #dbe6ec!important;box-shadow:0 2px 10px rgba(19,55,78,.035)!important}
html[data-theme="light"] .topbar{background:#fff!important;color:var(--mg63-text)!important;border-bottom-color:#1783cf!important}
html[data-theme="light"] .topbar h1{color:#143952!important}.topbar .sub{color:#6f8493!important}
html[data-theme="light"] .mast-brand b,.mast-profile b{color:#153c59!important}.mast-brand small,.mast-profile small{color:#728696!important}
html[data-theme="light"] .mast-wallet,.mast-profile,.mast-bell,.icon-btn{background:#fff!important;border-color:#d7e4ec!important;color:#15415f!important}
html[data-theme="light"] .mast-wallet b{color:#0d659e!important}
.sidebar .nav-item,.sidebar .nav-button{color:#f6fbff!important}.sidebar .nav-section{color:rgba(231,245,255,.68)!important}
html[data-theme="light"] body.role-admin .sidebar .nav-item.active{background:#f5fbff!important;color:#0b4771!important;border-color:#cfe5f4!important}
html[data-theme="light"] body.role-admin .sidebar .nav-item.active:before{background:#20a4ef!important}
html[data-theme="light"] body:not(.role-admin) .sidebar .nav-item.active{background:#f1fffc!important;color:#086a64!important;border-color:#c7ebe6!important}
html[data-theme="light"] body:not(.role-admin) .sidebar .nav-item.active:before{background:#ffad2f!important}
.sidebar .side-logout-row{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important}.sidebar .side-logout-row:hover{background:#fff!important;color:#143d5a!important}

/* Main surfaces */
html[data-theme="light"] .main{background:var(--mg63-bg)!important}
html[data-theme="light"] .content,html[data-theme="light"] .dashboard-content{color:var(--mg63-text)!important}
html[data-theme="light"] .panel,html[data-theme="light"] .stat,html[data-theme="light"] .quick-card,html[data-theme="light"] .control-card,
html[data-theme="light"] .status-tile,html[data-theme="light"] .compact-service-form,html[data-theme="light"] .compact-service-summary,
html[data-theme="light"] .user-clean-panel{background:#fff!important;color:var(--mg63-text)!important;border-color:var(--mg63-line)!important;box-shadow:var(--mg63-shadow)!important}
html[data-theme="light"] .panel h1,html[data-theme="light"] .panel h2,html[data-theme="light"] .panel h3,
html[data-theme="light"] .stat strong,html[data-theme="light"] .stat b{color:#173b54!important}
html[data-theme="light"] .panel small,html[data-theme="light"] .stat small,html[data-theme="light"] .muted{color:var(--mg63-muted)!important}

/* Admin management pages and Request Center — high contrast */
html[data-theme="light"] body.role-admin .stats .stat{background:#fff!important;border:1px solid var(--mg63-line)!important;border-top:3px solid #1681ca!important;color:#173a52!important}
html[data-theme="light"] body.role-admin .stats .stat:nth-child(2){border-top-color:#e49a25!important}
html[data-theme="light"] body.role-admin .stats .stat:nth-child(3){border-top-color:#19a46a!important}
html[data-theme="light"] body.role-admin .stats .stat:nth-child(4){border-top-color:#cf4c59!important}
html[data-theme="light"] body.role-admin .table-wrap{background:#fff!important;border:1px solid #d3e0e8!important}
html[data-theme="light"] body.role-admin .table{background:#fff!important;color:#24465d!important}
html[data-theme="light"] body.role-admin .table th{background:#eaf2f7!important;color:#35566c!important;border-bottom:1px solid #cadbe5!important;font-weight:850!important}
html[data-theme="light"] body.role-admin .table td{background:#fff!important;color:#24465d!important;border-bottom:1px solid #dfe8ee!important;opacity:1!important}
html[data-theme="light"] body.role-admin .table td b{color:#155b8d!important}
html[data-theme="light"] body.role-admin .table td small{color:#738999!important}
html[data-theme="light"] body.role-admin .table tr:hover td{background:#f5faff!important;color:#173c56!important}
html[data-theme="light"] body.role-admin .table a:not(.btn){color:#126ca8!important}
html[data-theme="light"] body.role-admin .category-btn{background:#fff!important;color:#284c64!important;border:1px solid #d2e0e9!important;box-shadow:none!important}
html[data-theme="light"] body.role-admin .category-btn:hover{background:#eef7fc!important;border-color:#9dc9e4!important;color:#0f6097!important}
html[data-theme="light"] body.role-admin .category-btn.active{background:#0e6da8!important;color:#fff!important;border-color:#0e6da8!important}
html[data-theme="light"] body.role-admin .toolbar select,html[data-theme="light"] body.role-admin .toolbar input,
html[data-theme="light"] body.role-admin .search{background:#fff!important;color:#24465d!important;border-color:#cbdbe5!important}
html[data-theme="light"] body.role-admin .search::placeholder{color:#8194a2!important}

/* Status / badges */
html[data-theme="light"] .badge.success,html[data-theme="light"] .status-approved,html[data-theme="light"] .status-completed{background:var(--mg63-success-bg)!important;color:var(--mg63-success)!important;border-color:#bde7d0!important}
html[data-theme="light"] .badge.warn,html[data-theme="light"] .status-processing{background:var(--mg63-warning-bg)!important;color:var(--mg63-warning)!important;border-color:#f1d09f!important}
html[data-theme="light"] .badge.error,html[data-theme="light"] .status-rejected{background:var(--mg63-danger-bg)!important;color:var(--mg63-danger)!important;border-color:#efc4ca!important}
html[data-theme="light"] .status-pending{background:#edf3f7!important;color:#526e80!important;border-color:#d4e0e7!important}
html[data-theme="light"] .notice.success{background:#ebf9f1!important;color:#126d4b!important;border-color:#c5ead5!important}
html[data-theme="light"] .notice.error{background:#fff1f2!important;color:#a93242!important;border-color:#efc6cb!important}

/* Buttons */
html[data-theme="light"] .btn{background:#eef4f8!important;color:#21475f!important;border-color:#d1dfe7!important;box-shadow:none!important}
html[data-theme="light"] .btn:hover{background:#e6f1f7!important;border-color:#afd0e2!important}
html[data-theme="light"] .btn.primary,html[data-theme="light"] .btn-primary{background:linear-gradient(135deg,#0f76b8,#158bd0)!important;color:#fff!important;border-color:#0f76b8!important}
html[data-theme="light"] body:not(.role-admin) .btn.primary,html[data-theme="light"] body:not(.role-admin) .btn-primary{background:linear-gradient(135deg,#087a72,#10a094)!important;border-color:#087a72!important}

/* User workspace color matching */
html[data-theme="light"] body:not(.role-admin) .u58-hero{background:linear-gradient(125deg,#effaf8 0%,#ffffff 55%,#edf7ff 100%)!important;border-color:#cfe5e3!important}
html[data-theme="light"] body:not(.role-admin) .u58-quick-grid>a{background:#fff!important;border-color:#d5e4e7!important;color:#173d52!important;box-shadow:0 5px 15px rgba(10,92,87,.045)!important}
html[data-theme="light"] body:not(.role-admin) .u58-service-card{background:#fff!important;color:#173b54!important;border-color:#d4e4e6!important}
html[data-theme="light"] body:not(.role-admin) .u58-service-card.live{border-top-color:#16a978!important}
html[data-theme="light"] body:not(.role-admin) .u58-service-card:hover{border-color:#6cc8be!important;box-shadow:0 11px 25px rgba(8,111,103,.10)!important}
html[data-theme="light"] body:not(.role-admin) .u58-service-logo{background:linear-gradient(145deg,#f4fafb,#fff)!important;border-color:#dce9eb!important}
html[data-theme="light"] body:not(.role-admin) .u58-service-body>b{color:#173e55!important}
html[data-theme="light"] body:not(.role-admin) .u58-service-body>small,html[data-theme="light"] body:not(.role-admin) .u58-service-body>em{color:#6d8493!important}
html[data-theme="light"] body:not(.role-admin) .u58-service-cta{background:#effbf8!important;color:#08736d!important;border-color:#73ccc2!important}
html[data-theme="light"] body:not(.role-admin) .u58-band{background:#ecf8f3!important;border-left-color:#18a873!important;color:#173e52!important}
html[data-theme="light"] body:not(.role-admin) .u58-band.secondary{background:#f1f5f8!important;border-left-color:#7892a3!important}
html[data-theme="light"] body:not(.role-admin) .u58-category-tabs a{background:#fff!important;color:#31556c!important;border-color:#d3e1e8!important}
html[data-theme="light"] body:not(.role-admin) .u58-category-tabs a:hover,html[data-theme="light"] body:not(.role-admin) .u58-category-tabs a.active{background:linear-gradient(135deg,#087d75,#10978d)!important;color:#fff!important;border-color:#087d75!important}

/* Forms */
html[data-theme="light"] .field label{color:#23485f!important}
html[data-theme="light"] .field input,html[data-theme="light"] .field select,html[data-theme="light"] .field textarea{background:#fff!important;color:#173b53!important;border-color:#cbdce5!important}
html[data-theme="light"] .field input:focus,html[data-theme="light"] .field select:focus,html[data-theme="light"] .field textarea:focus{border-color:#4aa7d2!important;box-shadow:0 0 0 3px rgba(34,139,191,.10)!important;outline:none!important}
html[data-theme="light"] body:not(.role-admin) .field input:focus,html[data-theme="light"] body:not(.role-admin) .field select:focus,html[data-theme="light"] body:not(.role-admin) .field textarea:focus{border-color:#43b8ad!important;box-shadow:0 0 0 3px rgba(25,157,146,.10)!important}

/* Dark theme: keep contrast coherent and readable */
html[data-theme="dark"] body{background:#081521!important;color:#e7f1f7!important}
html[data-theme="dark"] body.role-admin .sidebar{background:linear-gradient(180deg,#062f4d,#041f34)!important}
html[data-theme="dark"] body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#07534f,#043b38)!important}
html[data-theme="dark"] .portal-masthead,html[data-theme="dark"] .topbar{background:#0c1d2b!important;border-color:#244357!important;color:#e7f1f7!important}
html[data-theme="dark"] .panel,html[data-theme="dark"] .stat,html[data-theme="dark"] .table-wrap,html[data-theme="dark"] .compact-service-form,html[data-theme="dark"] .compact-service-summary{background:#102333!important;color:#e7f1f7!important;border-color:#294659!important}
html[data-theme="dark"] .table{background:#102333!important;color:#dce9f0!important}
html[data-theme="dark"] .table th{background:#0b1c2b!important;color:#a7bdcb!important;border-color:#294659!important}
html[data-theme="dark"] .table td{background:#102333!important;color:#dbe8ef!important;border-color:#294659!important;opacity:1!important}
html[data-theme="dark"] .table tr:hover td{background:#153047!important}
html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea,html[data-theme="dark"] .search{background:#0d2030!important;color:#edf5fa!important;border-color:#33536a!important}

@media(max-width:760px){
  html[data-theme="light"] body.role-admin .table td,html[data-theme="light"] body.role-admin .table th{font-size:10px!important}
  .toolbar{gap:7px!important}.toolbar .search{min-width:0!important;width:100%!important}
}

/* ===== SOURCE: app-v664.css ===== */
/* MG Print Portal V6.64.0 - user sidebar/content separation hotfix */
@media (min-width:1101px){
  body:not(.role-admin){--mg64-user-side:232px;}
  body:not(.role-admin) .sidebar{
    left:0!important;
    right:auto!important;
    top:74px!important;
    bottom:0!important;
    width:var(--mg64-user-side)!important;
    min-width:var(--mg64-user-side)!important;
    max-width:var(--mg64-user-side)!important;
    height:calc(100vh - 74px)!important;
    transform:none!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    z-index:80!important;
    border-right:1px solid rgba(255,255,255,.14)!important;
  }
  body:not(.role-admin) .main{
    margin-left:var(--mg64-user-side)!important;
    width:calc(100% - var(--mg64-user-side))!important;
    max-width:calc(100% - var(--mg64-user-side))!important;
    min-width:0!important;
    padding-top:74px!important;
    position:relative!important;
    left:0!important;
    transform:none!important;
    overflow-x:clip!important;
    box-sizing:border-box!important;
  }
  body:not(.role-admin) .topbar{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-left:20px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
  body:not(.role-admin) .content,
  body:not(.role-admin) .dashboard-content{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
    transform:none!important;
  }
  body:not(.role-admin) .user-dashboard-v658,
  body:not(.role-admin) .u58-service-area,
  body:not(.role-admin) .u58-services-page{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    box-sizing:border-box!important;
  }
}

/* Keep desktop sidebar items fully inside the rail. */
body:not(.role-admin) .sidebar nav{overflow-x:hidden!important;}
body:not(.role-admin) .sidebar .nav-item,
body:not(.role-admin) .sidebar .nav-button{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
body:not(.role-admin) .sidebar .side-footer{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}

/* Defensive: no negative horizontal offsets on user workspace blocks. */
body:not(.role-admin) .topbar>*,
body:not(.role-admin) .content>*,
body:not(.role-admin) .dashboard-content>*{margin-left:0;}

@media(max-width:1100px){
  body:not(.role-admin) .main{margin-left:0!important;width:100%!important;max-width:100%!important;}
}

/* ===== SOURCE: app-v665.css ===== */
/* MG Print Portal V6.65.0 - full portal final layout/color/stability lock */
:root{
  --mg65-user-side:232px;
  --mg65-head:74px;
  --mg65-bg:#f4f8fb;
  --mg65-panel:#ffffff;
  --mg65-line:#d7e4ea;
  --mg65-ink:#173a52;
  --mg65-muted:#6f8492;
  --mg65-user:#0b7f78;
  --mg65-user2:#0a6964;
  --mg65-admin:#0b4f78;
  --mg65-admin2:#073a5a;
  --mg65-blue:#1685c7;
  --mg65-green:#18a76f;
  --mg65-amber:#eea128;
  --mg65-red:#d94f5c;
  --mg65-purple:#7b48db;
}

html[data-theme="light"] body{background:var(--mg65-bg)!important;color:var(--mg65-ink)!important;}
html[data-theme="light"] .portal-masthead{height:var(--mg65-head)!important;min-height:var(--mg65-head)!important;background:#fff!important;border-bottom:1px solid var(--mg65-line)!important;box-shadow:0 2px 10px rgba(18,58,82,.045)!important;}

/* Desktop structural lock: masthead is sticky and remains in normal flow, so main must not add a second header gap. */
@media (min-width:1101px){
  body:not(.role-admin) .sidebar{
    top:var(--mg65-head)!important;
    height:calc(100vh - var(--mg65-head))!important;
    width:var(--mg65-user-side)!important;
    min-width:var(--mg65-user-side)!important;
    max-width:var(--mg65-user-side)!important;
    overflow:hidden!important;
    z-index:80!important;
  }
  body:not(.role-admin) .main{
    margin-left:var(--mg65-user-side)!important;
    width:calc(100% - var(--mg65-user-side))!important;
    max-width:calc(100% - var(--mg65-user-side))!important;
    min-width:0!important;
    padding-top:0!important;
    overflow-x:clip!important;
  }
  body:not(.role-admin) .topbar{
    top:var(--mg65-head)!important;
    min-height:58px!important;
    padding:9px 18px!important;
  }
  body:not(.role-admin) .content,
  body:not(.role-admin) .dashboard-content{
    width:100%!important;
    max-width:100%!important;
    padding:12px 16px 24px!important;
    margin:0!important;
    overflow-x:hidden!important;
  }
}

/* User sidebar: readable, calm, single-column, no clipping. */
html[data-theme="light"] body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#0d8880 0%,#0a746e 55%,#075d59 100%)!important;border-right:1px solid #075f5a!important;box-shadow:none!important;}
body:not(.role-admin) .sidebar nav{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.34) transparent;}
body:not(.role-admin) .sidebar .nav-item,
body:not(.role-admin) .sidebar .nav-button{min-height:42px!important;width:100%!important;max-width:100%!important;padding:10px 14px!important;margin:0!important;border-radius:0!important;box-sizing:border-box!important;}
html[data-theme="light"] body:not(.role-admin) .sidebar .nav-item{color:#f7fffe!important;border-left:4px solid transparent!important;}
html[data-theme="light"] body:not(.role-admin) .sidebar .nav-item:hover{background:rgba(255,255,255,.08)!important;color:#fff!important;}
html[data-theme="light"] body:not(.role-admin) .sidebar .nav-item.active{background:#f4fffd!important;color:#086a64!important;border-left-color:#f0a12b!important;box-shadow:none!important;}
body:not(.role-admin) .sidebar .side-footer{padding:10px 10px 12px!important;box-sizing:border-box!important;}
body:not(.role-admin) .sidebar .side-user{margin:0!important;border-radius:8px!important;}
body:not(.role-admin) .sidebar .side-logout-row{min-height:38px!important;border-radius:7px!important;display:flex!important;align-items:center!important;justify-content:center!important;}

/* Admin sidebar stays distinct and high contrast. */
html[data-theme="light"] body.role-admin .sidebar{background:linear-gradient(180deg,var(--mg65-admin) 0%,#08496f 58%,var(--mg65-admin2) 100%)!important;border-right:1px solid #073956!important;}
html[data-theme="light"] body.role-admin .sidebar .nav-item{color:#f4fbff!important;}
html[data-theme="light"] body.role-admin .sidebar .nav-item.active{background:#f5fbff!important;color:#0b4f78!important;border-left-color:#29a5eb!important;}

/* Common panels/forms/tables. */
html[data-theme="light"] .panel,
html[data-theme="light"] .stat,
html[data-theme="light"] .service-card,
html[data-theme="light"] .table-wrap,
html[data-theme="light"] .compact-service-form,
html[data-theme="light"] .compact-service-summary{background:#fff!important;border-color:var(--mg65-line)!important;color:var(--mg65-ink)!important;box-shadow:0 4px 16px rgba(17,65,89,.045)!important;}
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea{background:#fff!important;color:#173a52!important;border-color:#cbdce5!important;}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{color:#8798a4!important;opacity:1!important;}
html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus{border-color:#56b9b0!important;box-shadow:0 0 0 3px rgba(20,147,137,.10)!important;outline:none!important;}

/* Dashboard: remove accidental giant gaps and keep content visually grouped. */
.user-dashboard-v658{display:block!important;width:100%!important;max-width:100%!important;}
.u58-hero{margin:0 0 12px!important;border-radius:14px!important;min-height:108px!important;padding:18px 20px!important;}
.u58-quick-grid{gap:10px!important;margin-bottom:12px!important;}
.u58-quick-grid>a{min-height:62px!important;border-radius:11px!important;}
.u58-services-full,.u58-service-area{margin-top:0!important;}
.u58-section-head{margin-bottom:8px!important;}

/* Services: larger, consistent dynamic tiles without excessive whitespace. */
.u58-service-grid{gap:10px!important;}
.u58-service-card{min-height:122px!important;border-radius:13px!important;padding:11px!important;align-items:center!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important;}
.u58-service-card:hover{transform:translateY(-2px)!important;}
.u58-service-logo{width:64px!important;height:64px!important;flex:0 0 64px!important;border-radius:12px!important;}
.u58-service-logo img{max-width:54px!important;max-height:54px!important;object-fit:contain!important;}
.u58-service-body>b{font-size:11px!important;line-height:1.25!important;}
.u58-service-body>small{font-size:8.5px!important;line-height:1.3!important;}
.u58-service-cta{min-height:29px!important;border-radius:8px!important;font-size:8.5px!important;padding:6px 10px!important;}
.u58-category-tabs{gap:6px!important;margin-bottom:10px!important;}
.u58-category-tabs a{min-height:32px!important;border-radius:999px!important;padding:7px 11px!important;}

/* Admin tables/request center: all text must stay readable in Light mode. */
html[data-theme="light"] body.role-admin .table{background:#fff!important;color:#24465d!important;}
html[data-theme="light"] body.role-admin .table th{background:#eaf3f8!important;color:#35576d!important;font-weight:800!important;}
html[data-theme="light"] body.role-admin .table td{background:#fff!important;color:#24465d!important;opacity:1!important;}
html[data-theme="light"] body.role-admin .table td a{color:#126da8!important;}
html[data-theme="light"] body.role-admin .table tr:hover td{background:#f6fbfe!important;}
.badge.status-completed,.status-completed{background:#ddf7e8!important;color:#0b7b49!important;border-color:#bfe9d0!important;}
.badge.status-processing,.status-processing{background:#fff0d9!important;color:#a65f00!important;border-color:#f4d29e!important;}
.badge.status-pending,.status-pending{background:#eef3f7!important;color:#506779!important;border-color:#d9e3ea!important;}
.badge.status-rejected,.status-rejected{background:#ffe5e7!important;color:#b92f3a!important;border-color:#f5c7cc!important;}

/* Buttons: role-aware but consistent. */
html[data-theme="light"] body:not(.role-admin) .btn.primary,
html[data-theme="light"] body:not(.role-admin) .btn-primary{background:linear-gradient(135deg,#087a72,#10a094)!important;color:#fff!important;border-color:#087a72!important;box-shadow:none!important;}
html[data-theme="light"] body.role-admin .btn.primary,
html[data-theme="light"] body.role-admin .btn-primary{background:linear-gradient(135deg,#0e6da8,#1688c8)!important;color:#fff!important;border-color:#0e6da8!important;box-shadow:none!important;}
.btn,.btn-primary,.btn-secondary{border-radius:8px!important;}

/* Forms: clean, no horizontal clipping. */
.compact-service-split{align-items:start!important;}
.compact-service-form,.compact-service-summary{min-width:0!important;overflow:hidden!important;}
.form-grid>*{min-width:0!important;}
.field input,.field select,.field textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}

/* Mobile/tablet safety. */
@media(max-width:1100px){
  body:not(.role-admin) .main{margin-left:0!important;width:100%!important;max-width:100%!important;padding-top:0!important;}
  body:not(.role-admin) .sidebar{width:min(84vw,286px)!important;max-width:min(84vw,286px)!important;}
}
@media(max-width:760px){
  :root{--mg65-head:62px;}
  .portal-masthead{height:var(--mg65-head)!important;min-height:var(--mg65-head)!important;}
  body:not(.role-admin) .sidebar{top:var(--mg65-head)!important;height:calc(100vh - var(--mg65-head))!important;}
  body:not(.role-admin) .main{padding-top:0!important;}
  body:not(.role-admin) .topbar{top:var(--mg65-head)!important;}
  .u58-service-grid{grid-template-columns:1fr!important;}
  .u58-service-card{min-height:110px!important;}
  .u58-service-logo{width:58px!important;height:58px!important;flex-basis:58px!important;}
  .u58-service-logo img{max-width:48px!important;max-height:48px!important;}
}

/* ===== SOURCE: app-v666.css ===== */
/* MG Print Portal V6.66.0 - deterministic final layout lock */
:root{--mg66-head:74px;--mg66-user-side:232px;--mg66-admin-side:232px;--mg66-bg:#f4f8fb;--mg66-line:#d8e4eb;--mg66-ink:#173a52}
@media (min-width:1101px){
.portal-masthead{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;height:var(--mg66-head)!important;min-height:var(--mg66-head)!important;z-index:100!important;box-sizing:border-box!important;margin:0!important}
body:not(.role-admin) .sidebar,body.role-admin .sidebar{position:fixed!important;top:var(--mg66-head)!important;bottom:0!important;height:calc(100vh - var(--mg66-head))!important;box-sizing:border-box!important;transform:none!important}
body:not(.role-admin) .sidebar{width:var(--mg66-user-side)!important;min-width:var(--mg66-user-side)!important;max-width:var(--mg66-user-side)!important}
body.role-admin .sidebar{width:var(--mg66-admin-side)!important;min-width:var(--mg66-admin-side)!important;max-width:var(--mg66-admin-side)!important}
body:not(.role-admin) .main,body.role-admin .main{padding-top:var(--mg66-head)!important;min-width:0!important;box-sizing:border-box!important;overflow-x:hidden!important;position:relative!important;left:0!important;transform:none!important}
body:not(.role-admin) .main{margin-left:var(--mg66-user-side)!important;width:calc(100% - var(--mg66-user-side))!important;max-width:calc(100% - var(--mg66-user-side))!important}
body.role-admin .main{margin-left:var(--mg66-admin-side)!important;width:calc(100% - var(--mg66-admin-side))!important;max-width:calc(100% - var(--mg66-admin-side))!important}
.main>.topbar,.portal-topbar{position:sticky!important;top:var(--mg66-head)!important;left:auto!important;right:auto!important;width:100%!important;max-width:100%!important;min-height:58px!important;height:auto!important;margin:0!important;z-index:70!important;box-sizing:border-box!important;transform:none!important}
.main>.content,.main>.dashboard-content,.content.dashboard-content{width:100%!important;max-width:100%!important;margin:0!important;padding:14px 16px 24px!important;box-sizing:border-box!important;overflow:visible!important;position:relative!important;z-index:1!important;transform:none!important}
body:not(.role-admin) .user-dashboard-v658{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important}
body:not(.role-admin) .u58-hero{margin:0!important;min-height:118px!important;padding:18px 20px!important;overflow:hidden!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important;z-index:1!important}
body:not(.role-admin) .u58-hero-copy,body:not(.role-admin) .u58-hero-art{position:relative!important;top:auto!important;transform:none!important}
body:not(.role-admin) .u58-hero h2{margin-top:0!important;line-height:1.2!important}
body.role-admin .dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important}
body.role-admin .dashboard-two,body.role-admin .admin-control-hub{width:100%!important;min-width:0!important}
}
.sidebar{overflow:hidden!important}.sidebar nav{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important}.sidebar .nav-item,.sidebar .nav-button,.sidebar .side-footer,.sidebar .side-user,.sidebar .side-logout-row{box-sizing:border-box!important;max-width:100%!important}.sidebar .nav-label{min-width:0!important}
html[data-theme="light"] body:not(.role-admin){background:var(--mg66-bg)!important}html[data-theme="light"] body:not(.role-admin) .content{background:var(--mg66-bg)!important}
body:not(.role-admin) .u58-service-area,body:not(.role-admin) .u58-services-page,body:not(.role-admin) .u58-quick-grid>a,body:not(.role-admin) .u58-service-card,body:not(.role-admin) .u58-lower-grid .panel{border-color:var(--mg66-line)!important;box-shadow:0 4px 14px rgba(22,67,88,.045)!important}
body:not(.role-admin) .u58-service-card{border-radius:13px!important}body:not(.role-admin) .u58-service-card:hover{transform:translateY(-2px)!important;box-shadow:0 10px 24px rgba(14,104,100,.10)!important}
body:not(.role-admin) .u58-service-body>b{color:#173a52!important}body:not(.role-admin) .u58-service-body>small,body:not(.role-admin) .u58-service-body>em{color:#6f8492!important}
html[data-theme="light"] body.role-admin .panel,html[data-theme="light"] body.role-admin .stat,html[data-theme="light"] body.role-admin .table-wrap{background:#fff!important;border-color:var(--mg66-line)!important}html[data-theme="light"] body.role-admin .table td{color:#24465d!important;opacity:1!important}html[data-theme="light"] body.role-admin .table th{color:#35576d!important;opacity:1!important}
.main,.content,.dashboard-content,.panel,.compact-service-form,.compact-service-summary,.table-wrap{min-width:0!important}.compact-service-split,.form-grid,.u58-service-grid,.u58-quick-grid{min-width:0!important}.field input,.field select,.field textarea{max-width:100%!important;box-sizing:border-box!important}body{overflow-x:hidden!important}
@media (max-width:1100px){.portal-masthead{position:sticky!important;top:0!important}body:not(.role-admin) .main,body.role-admin .main{margin-left:0!important;width:100%!important;max-width:100%!important;padding-top:0!important}body:not(.role-admin) .sidebar,body.role-admin .sidebar{width:min(84vw,286px)!important;max-width:min(84vw,286px)!important}.main>.topbar,.portal-topbar{top:var(--mg66-head)!important}.main>.content,.main>.dashboard-content,.content.dashboard-content{padding:10px!important}}

/* ===== SOURCE: app-v667.css ===== */
/* MG Print Portal V6.67.0 - colorful dashboard + single-brand admin polish */
:root{
  --mg67-admin:#0c4167;
  --mg67-admin-dark:#07324f;
  --mg67-user:#0d827b;
  --mg67-user-dark:#096761;
  --mg67-blue:#2087e8;
  --mg67-green:#18b96c;
  --mg67-orange:#ff9218;
  --mg67-purple:#803cf2;
  --mg67-rose:#ef4b6c;
  --mg67-cyan:#14a9c4;
}

/* Single company branding: masthead is the only MG PRINT PORTAL brand on admin pages */
.role-admin .admin-side-label{
  margin:10px 10px 6px;padding:12px 13px;border:1px solid rgba(255,255,255,.14);
  border-radius:10px;background:rgba(255,255,255,.06);display:flex;align-items:center;gap:10px;
  color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)
}
.role-admin .admin-side-label .admin-side-dot{width:9px;height:9px;border-radius:50%;background:#35df9d;box-shadow:0 0 0 4px rgba(53,223,157,.12);flex:0 0 9px}
.role-admin .admin-side-label span:last-child{display:flex;flex-direction:column;line-height:1.12}
.role-admin .admin-side-label b{font-size:11px;letter-spacing:1.25px;font-weight:900}
.role-admin .admin-side-label small{margin-top:3px;font-size:8px;color:#b9d7e8;letter-spacing:.2px}

/* Admin top wallet should look like an important finance control, not a plain chip */
.role-admin .portal-masthead .mast-wallet{
  border:0!important;background:linear-gradient(135deg,#6843e8,#3f74ee)!important;color:#fff!important;
  box-shadow:0 8px 22px rgba(73,80,207,.20)!important
}
.role-admin .portal-masthead .mast-wallet small,.role-admin .portal-masthead .mast-wallet b,.role-admin .portal-masthead .mast-wallet span{color:#fff!important}

/* ADMIN DASHBOARD - clear colorful KPI family */
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi{
  color:#fff!important;border:0!important;box-shadow:0 12px 25px rgba(24,67,102,.13)!important;
  min-height:116px!important;border-radius:12px!important;overflow:hidden!important
}
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi small,
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi strong,
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi em,
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi .kpi-big-icon{color:#fff!important;opacity:1!important}
html[data-theme="light"] body.role-admin .dashboard-kpis .kpi-blue{background:linear-gradient(135deg,#2b94ee,#176fd7)!important}
html[data-theme="light"] body.role-admin .dashboard-kpis .kpi-green{background:linear-gradient(135deg,#25c879,#12a962)!important}
html[data-theme="light"] body.role-admin .dashboard-kpis .kpi-orange{background:linear-gradient(135deg,#ffa72c,#ff7f0d)!important}
html[data-theme="light"] body.role-admin .dashboard-kpis .kpi-purple{background:linear-gradient(135deg,#9452f6,#7530df)!important}
body.role-admin .dashboard-kpis .dash-kpi:after{content:"";position:absolute!important;right:-20px!important;top:-28px!important;width:105px!important;height:105px!important;border-radius:50%!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.08)!important}

/* Admin Control Center: subtle but distinct colors per control */
body.role-admin .admin-control-grid>a{border-radius:11px!important;transition:.18s ease!important;background:#fff!important}
body.role-admin .admin-control-grid>a:nth-child(1){background:linear-gradient(145deg,#eef7ff,#fff)!important;border-color:#b9daf7!important}
body.role-admin .admin-control-grid>a:nth-child(2){background:linear-gradient(145deg,#eefbf4,#fff)!important;border-color:#b9e7ce!important}
body.role-admin .admin-control-grid>a:nth-child(3){background:linear-gradient(145deg,#fff7ed,#fff)!important;border-color:#ffd6aa!important}
body.role-admin .admin-control-grid>a:nth-child(4){background:linear-gradient(145deg,#f5f0ff,#fff)!important;border-color:#d7c6ff!important}
body.role-admin .admin-control-grid>a:nth-child(5){background:linear-gradient(145deg,#eefbfc,#fff)!important;border-color:#bce7eb!important}
body.role-admin .admin-control-grid>a:nth-child(6){background:linear-gradient(145deg,#fff1f4,#fff)!important;border-color:#ffc4d0!important}
body.role-admin .admin-control-grid>a:hover{transform:translateY(-3px)!important;box-shadow:0 12px 26px rgba(27,74,107,.10)!important}
body.role-admin .admin-control-grid>a>span{width:42px!important;height:42px!important;border-radius:11px!important;display:grid!important;place-items:center!important;background:#edf6fc!important;font-size:20px!important;margin:auto auto 7px!important}

/* Keep admin panels clean white so the colored finance/KPI blocks stand out */
html[data-theme="light"] body.role-admin .admin-control-hub,
html[data-theme="light"] body.role-admin .dashboard-two>.panel,
html[data-theme="light"] body.role-admin .dashboard-bottom-grid>.panel{background:#fff!important}

/* USER DASHBOARD - colorful, clean and still professional */
body:not(.role-admin) .u58-hero{
  background:linear-gradient(118deg,#087c76 0%,#0b9a8d 47%,#1b82d8 100%)!important;
  border:0!important;color:#fff!important;box-shadow:0 14px 30px rgba(4,109,109,.15)!important
}
body:not(.role-admin) .u58-hero h2,body:not(.role-admin) .u58-hero p,body:not(.role-admin) .u58-hero .u58-kicker{color:#fff!important}
body:not(.role-admin) .u58-hero .btn.primary{background:#ffb11a!important;border-color:#ffb11a!important;color:#15354b!important}
body:not(.role-admin) .u58-hero .btn:not(.primary){background:#fff!important;border-color:#fff!important;color:#116d7b!important}
body:not(.role-admin) .u58-hero-art{color:#fff!important}

/* quick cards are intentionally colorful pastels, not all white */
body:not(.role-admin) .u58-quick-grid>a{border-radius:13px!important;min-height:72px!important;box-shadow:0 8px 18px rgba(25,77,91,.06)!important;transition:.18s ease!important}
body:not(.role-admin) .u58-quick-grid>a:nth-child(1){background:linear-gradient(135deg,#e8fbf3,#f7fffb)!important;border-color:#b9ead2!important}
body:not(.role-admin) .u58-quick-grid>a:nth-child(2){background:linear-gradient(135deg,#f0ebff,#faf8ff)!important;border-color:#d6c8ff!important}
body:not(.role-admin) .u58-quick-grid>a:nth-child(3){background:linear-gradient(135deg,#fff3df,#fffaf2)!important;border-color:#ffd8a0!important}
body:not(.role-admin) .u58-quick-grid>a:nth-child(4){background:linear-gradient(135deg,#eaf5ff,#f8fcff)!important;border-color:#c3def5!important}
body:not(.role-admin) .u58-quick-grid>a:hover{transform:translateY(-3px)!important;box-shadow:0 12px 25px rgba(12,111,108,.10)!important}

/* Service workspace: white base + colored accent edges makes service cards lively without clutter */
body:not(.role-admin) .u58-service-area{background:#fff!important;border-radius:15px!important}
body:not(.role-admin) .u58-category-row a,body:not(.role-admin) .u58-category-row button{border-radius:999px!important;transition:.16s ease!important}
body:not(.role-admin) .u58-category-row>*:nth-child(4n+1){border-color:#95d8cb!important}
body:not(.role-admin) .u58-category-row>*:nth-child(4n+2){border-color:#a7caf7!important}
body:not(.role-admin) .u58-category-row>*:nth-child(4n+3){border-color:#ffd09b!important}
body:not(.role-admin) .u58-category-row>*:nth-child(4n){border-color:#d5c3ff!important}
body:not(.role-admin) .u58-service-card{background:#fff!important;border-width:1px!important;border-radius:14px!important;position:relative!important;overflow:hidden!important}
body:not(.role-admin) .u58-service-card:nth-child(6n+1){border-top:3px solid #0ca58f!important}
body:not(.role-admin) .u58-service-card:nth-child(6n+2){border-top:3px solid #3489e8!important}
body:not(.role-admin) .u58-service-card:nth-child(6n+3){border-top:3px solid #f6a11b!important}
body:not(.role-admin) .u58-service-card:nth-child(6n+4){border-top:3px solid #8752e9!important}
body:not(.role-admin) .u58-service-card:nth-child(6n+5){border-top:3px solid #e64e70!important}
body:not(.role-admin) .u58-service-card:nth-child(6n){border-top:3px solid #18a9bf!important}
body:not(.role-admin) .u58-service-card:hover{transform:translateY(-4px)!important;box-shadow:0 14px 30px rgba(16,89,107,.11)!important}
body:not(.role-admin) .u58-service-logo{border-radius:12px!important;background:linear-gradient(145deg,#f4fafc,#eaf4f8)!important}

/* User mast wallet gets a friendly finance color */
body:not(.role-admin) .portal-masthead .mast-wallet{background:linear-gradient(135deg,#edfaff,#f6fffd)!important;border-color:#bce4e5!important;box-shadow:0 6px 16px rgba(13,113,115,.07)!important}
body:not(.role-admin) .portal-masthead .mast-wallet b{color:#087c76!important}

/* Admin sidebar keeps navy hierarchy; user sidebar stays teal. Active state is readable in both. */
body.role-admin .sidebar{background:linear-gradient(180deg,#073956,#0b5272)!important}
body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#087b76,#0b6c66)!important}
body.role-admin .sidebar .nav-item.active,body.role-admin .sidebar .nav-button.active{background:#f4f9fc!important;color:#0b4f74!important;border-left:4px solid #238fec!important}
body:not(.role-admin) .sidebar .nav-item.active,body:not(.role-admin) .sidebar .nav-button.active{background:#f3fffd!important;color:#096e68!important;border-left:4px solid #ff9e19!important}

/* Light theme table/status readability remains strong */
html[data-theme="light"] .status.pending{background:#eef3f7!important;color:#446174!important}
html[data-theme="light"] .status.processing{background:#fff0da!important;color:#a65c00!important}
html[data-theme="light"] .status.approved{background:#e6f5ff!important;color:#176595!important}
html[data-theme="light"] .status.completed{background:#def7e8!important;color:#087842!important}
html[data-theme="light"] .status.rejected{background:#ffe4e8!important;color:#b12d45!important}

@media(max-width:900px){
  body.role-admin .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:not(.role-admin) .u58-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  body.role-admin .dashboard-kpis,body:not(.role-admin) .u58-quick-grid{grid-template-columns:1fr!important}
  .role-admin .admin-side-label{margin:8px!important}
}

/* ===== SOURCE: app-v668.css ===== */
/* MG Print Portal V6.68.0 - dashboard top-overlap final shell fix */
:root{--mg68-head:74px;--mg68-side:232px}

/* Desktop: keep only the masthead fixed. The page title/topbar must stay in normal
   document flow so the first dashboard section can never slide underneath it. */
@media (min-width:1101px){
  .portal-masthead{
    position:fixed!important;top:0!important;left:0!important;right:0!important;
    height:var(--mg68-head)!important;min-height:var(--mg68-head)!important;z-index:100!important;
  }
  body.role-admin .sidebar,body:not(.role-admin) .sidebar{
    position:fixed!important;top:var(--mg68-head)!important;bottom:0!important;
    height:calc(100vh - var(--mg68-head))!important;width:var(--mg68-side)!important;
    min-width:var(--mg68-side)!important;max-width:var(--mg68-side)!important;
  }
  body.role-admin .main,body:not(.role-admin) .main{
    margin-left:var(--mg68-side)!important;width:calc(100% - var(--mg68-side))!important;
    max-width:calc(100% - var(--mg68-side))!important;padding-top:var(--mg68-head)!important;
    overflow-x:hidden!important;position:relative!important;
  }
  .main>.topbar,.portal-topbar{
    position:relative!important;top:auto!important;left:auto!important;right:auto!important;
    width:100%!important;min-height:60px!important;margin:0!important;z-index:10!important;
  }
  .main>.content,.main>.dashboard-content,.content.dashboard-content{
    position:relative!important;z-index:1!important;margin:0!important;
    padding:14px 16px 26px!important;width:100%!important;max-width:100%!important;
  }
  body.role-admin .dash-title-band{margin:0 0 12px!important;position:relative!important;top:auto!important}
  body.role-admin .dashboard-kpis{margin:0 0 14px!important;position:relative!important;top:auto!important}
  body:not(.role-admin) .user-dashboard-v658{margin:0!important;padding:0!important;position:relative!important;top:auto!important}
  body:not(.role-admin) .u58-hero{margin:0 0 12px!important;position:relative!important;top:auto!important;min-height:132px!important}
  body:not(.role-admin) .u58-hero-copy{padding-top:0!important;margin-top:0!important}
}

/* Dashboard text must remain readable over colorful cards. */
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi small,
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi strong,
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi em{color:#fff!important;opacity:1!important}

/* A little breathing room on both dashboards without creating the old blank band. */
body.role-admin .admin-control-hub,body:not(.role-admin) .u58-quick-grid{margin-top:0!important}

@media (max-width:1100px){
  .main>.topbar,.portal-topbar{position:relative!important;top:auto!important}
  body.role-admin .main,body:not(.role-admin) .main{padding-top:0!important;margin-left:0!important;width:100%!important;max-width:100%!important}
}

/* ===== SOURCE: app-v669.css ===== */
/* MG Print Portal V6.69.0 - final shell reset / no overlap / clean desktop flow */
:root{--mg69-head:74px;--mg69-side:232px}

/* One geometry source of truth. The masthead stays in normal document flow as a
   sticky header; main content therefore never needs a fake top padding. */
@media (min-width:1101px){
  .portal-masthead{
    position:sticky!important;top:0!important;left:auto!important;right:auto!important;
    width:100%!important;height:var(--mg69-head)!important;min-height:var(--mg69-head)!important;
    margin:0!important;z-index:100!important;box-sizing:border-box!important;
  }
  body.role-admin .sidebar,body:not(.role-admin) .sidebar{
    position:fixed!important;top:var(--mg69-head)!important;bottom:0!important;
    width:var(--mg69-side)!important;min-width:var(--mg69-side)!important;max-width:var(--mg69-side)!important;
    height:calc(100vh - var(--mg69-head))!important;margin:0!important;transform:none!important;
  }
  body.role-admin .main,body:not(.role-admin) .main{
    margin-left:var(--mg69-side)!important;padding-top:0!important;
    width:calc(100% - var(--mg69-side))!important;max-width:calc(100% - var(--mg69-side))!important;
    min-width:0!important;position:relative!important;left:auto!important;top:auto!important;
    transform:none!important;overflow-x:hidden!important;box-sizing:border-box!important;
  }
  .main>.topbar,.portal-topbar{
    position:relative!important;top:auto!important;left:auto!important;right:auto!important;
    width:100%!important;max-width:100%!important;min-height:60px!important;height:auto!important;
    margin:0!important;z-index:5!important;transform:none!important;box-sizing:border-box!important;
  }
  .main>.content,.main>.dashboard-content,.content.dashboard-content{
    position:relative!important;top:auto!important;left:auto!important;z-index:1!important;
    width:100%!important;max-width:100%!important;margin:0!important;
    padding:14px 16px 28px!important;transform:none!important;box-sizing:border-box!important;
    overflow:visible!important;
  }
  /* User dashboard first block must begin after the title bar, never underneath it. */
  body:not(.role-admin) .user-dashboard-v658{display:block!important;position:relative!important;top:auto!important;margin:0!important;padding:0!important;transform:none!important}
  body:not(.role-admin) .u58-hero{position:relative!important;top:auto!important;left:auto!important;margin:0 0 12px!important;transform:none!important;z-index:1!important;min-height:132px!important}
  body:not(.role-admin) .u58-hero-copy,body:not(.role-admin) .u58-hero-art{position:relative!important;top:auto!important;transform:none!important}
  body:not(.role-admin) .u58-hero h2{margin-top:0!important}
  /* Admin first KPI row must stay fully below the title bar. */
  body.role-admin .dash-title-band{position:relative!important;top:auto!important;margin:0 0 12px!important;transform:none!important}
  body.role-admin .dashboard-kpis{position:relative!important;top:auto!important;margin:0 0 14px!important;transform:none!important}
}

/* Keep both dashboards readable and colorful without touching business logic. */
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi{color:#fff!important}
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi small,
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi strong,
html[data-theme="light"] body.role-admin .dashboard-kpis .dash-kpi em{color:#fff!important;opacity:1!important}

/* Sidebar must scroll internally and never cover the page. */
.sidebar{overflow:hidden!important}
.sidebar nav{overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;scrollbar-width:thin}
.sidebar .side-footer{flex:0 0 auto!important}

/* Safer page widths for tables/forms/service cards. */
.main,.content,.dashboard-content,.panel,.table-wrap,.compact-service-form,.compact-service-summary{min-width:0!important}
.form-grid,.compact-service-split,.u58-service-grid,.u58-quick-grid,.admin-control-grid{min-width:0!important}
.table-wrap{overflow-x:auto!important}
.field input,.field select,.field textarea{max-width:100%!important;box-sizing:border-box!important}
body{overflow-x:hidden!important}

@media (max-width:1100px){
  .portal-masthead{position:sticky!important;top:0!important;height:auto!important;min-height:66px!important}
  body.role-admin .main,body:not(.role-admin) .main{margin-left:0!important;padding-top:0!important;width:100%!important;max-width:100%!important}
  .main>.topbar,.portal-topbar{position:relative!important;top:auto!important}
  .main>.content,.main>.dashboard-content,.content.dashboard-content{padding:10px!important}
}

/* ===== SOURCE: app-v670.css ===== */
/* MG Print Portal V6.70.0 - sidebar identity cleanup + user dashboard visibility lock */
:root{--mg70-head:74px;--mg70-side:232px}

/* Sidebar footer: only Appearance + Logout. User/admin identity already exists in masthead. */
.sidebar .side-user{display:none!important}
.sidebar .side-footer{display:grid!important;gap:8px!important;padding:10px!important;background:rgba(0,0,0,.06)!important}
.sidebar .side-tools{padding:0!important;margin:0!important}
.sidebar .side-tool,.sidebar .side-logout-row{min-height:42px!important;border-radius:10px!important;margin:0!important}
.sidebar .side-logout-row{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-weight:850!important}

/* Desktop shell: exactly one masthead height, then title bar, then content. */
@media (min-width:1101px){
  .portal-masthead{position:sticky!important;top:0!important;height:var(--mg70-head)!important;min-height:var(--mg70-head)!important;z-index:100!important}
  .sidebar{top:var(--mg70-head)!important;height:calc(100vh - var(--mg70-head))!important;width:var(--mg70-side)!important}
  .main{margin-left:var(--mg70-side)!important;width:calc(100% - var(--mg70-side))!important;max-width:calc(100% - var(--mg70-side))!important;padding:0!important;margin-top:0!important;top:auto!important}
  .main>.topbar{position:relative!important;top:auto!important;margin:0!important;min-height:60px!important;height:60px!important;padding:9px 16px!important;z-index:4!important}
  .main>.content,.main>.dashboard-content{padding:14px 16px 28px!important;margin:0!important;position:relative!important;top:auto!important}

  /* User dashboard: hero must be fully visible below title bar, no negative offsets/cropping. */
  body:not(.role-admin) .user-dashboard-v658{display:grid!important;gap:14px!important;margin:0!important;padding:0!important;position:relative!important;top:auto!important;overflow:visible!important}
  body:not(.role-admin) .u58-hero{display:flex!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important;margin:0!important;padding:22px 24px!important;min-height:138px!important;height:auto!important;overflow:hidden!important;align-items:center!important;z-index:1!important}
  body:not(.role-admin) .u58-hero-copy{position:relative!important;top:auto!important;left:auto!important;transform:none!important;margin:0!important;padding:0!important;align-self:center!important;z-index:2!important}
  body:not(.role-admin) .u58-hero-copy>*{position:relative!important;top:auto!important;transform:none!important}
  body:not(.role-admin) .u58-hero h2{margin:0 0 6px!important;padding:0!important;line-height:1.15!important;font-size:26px!important;display:block!important;visibility:visible!important}
  body:not(.role-admin) .u58-hero p{margin:0!important;line-height:1.5!important;display:block!important;visibility:visible!important}
  body:not(.role-admin) .u58-hero-actions{margin-top:14px!important}
  body:not(.role-admin) .u58-hero-art{position:relative!important;top:auto!important;transform:none!important;align-self:center!important}

  /* Prevent legacy CSS from inserting blank bands above dashboard content. */
  body:not(.role-admin) .main.user-dashboard,body.role-admin .main.admin-dashboard{padding-top:0!important;margin-top:0!important}
  .dashboard-content>*:first-child{margin-top:0!important}
}

/* Keep user cards premium, colorful and readable. */
html[data-theme="light"] body:not(.role-admin) .u58-quick-grid>a{background:#fff!important}
html[data-theme="light"] body:not(.role-admin) .u58-quick-grid>a:nth-child(1){border-top:3px solid #18ad7d!important}
html[data-theme="light"] body:not(.role-admin) .u58-quick-grid>a:nth-child(2){border-top:3px solid #7657e8!important}
html[data-theme="light"] body:not(.role-admin) .u58-quick-grid>a:nth-child(3){border-top:3px solid #f2a318!important}
html[data-theme="light"] body:not(.role-admin) .u58-quick-grid>a:nth-child(4){border-top:3px solid #2b8ee8!important}

@media (max-width:1100px){
  .sidebar .side-user{display:none!important}
  .main{padding-top:0!important;margin-left:0!important;width:100%!important;max-width:100%!important}
  .main>.topbar{position:relative!important;top:auto!important;height:auto!important;min-height:58px!important}
  body:not(.role-admin) .u58-hero{margin:0!important;min-height:126px!important;padding:18px!important}
}

/* ===== SOURCE: app-v671.css ===== */
/* MG Print Portal V6.71.0 - final desktop shell + user dashboard hero/footer order fix */
:root{--mg71-head:74px;--mg71-side:232px}

/* Desktop geometry: higher-specificity reset beats legacy role-specific offsets. */
@media (min-width:1101px){
  html body .portal-masthead{
    position:sticky!important;top:0!important;left:auto!important;right:auto!important;
    width:100%!important;height:var(--mg71-head)!important;min-height:var(--mg71-head)!important;
    margin:0!important;padding-top:0!important;transform:none!important;z-index:100!important;
  }
  html body.role-admin .sidebar,
  html body:not(.role-admin) .sidebar{
    position:fixed!important;top:var(--mg71-head)!important;bottom:0!important;
    width:var(--mg71-side)!important;min-width:var(--mg71-side)!important;max-width:var(--mg71-side)!important;
    height:calc(100vh - var(--mg71-head))!important;margin:0!important;transform:none!important;
  }
  html body.role-admin .main,
  html body:not(.role-admin) .main{
    position:relative!important;left:auto!important;top:auto!important;transform:none!important;
    margin:0 0 0 var(--mg71-side)!important;padding:0!important;
    width:calc(100% - var(--mg71-side))!important;max-width:calc(100% - var(--mg71-side))!important;
    min-width:0!important;overflow-x:hidden!important;box-sizing:border-box!important;
  }
  html body.role-admin .main>.topbar,
  html body:not(.role-admin) .main>.topbar,
  html body .portal-topbar{
    position:relative!important;top:auto!important;left:auto!important;right:auto!important;
    width:100%!important;height:60px!important;min-height:60px!important;
    margin:0!important;padding:9px 16px!important;transform:none!important;z-index:8!important;
    box-sizing:border-box!important;background:#fff!important;
  }
  html body.role-admin .main>.content,
  html body:not(.role-admin) .main>.content,
  html body.role-admin .main>.dashboard-content,
  html body:not(.role-admin) .main>.dashboard-content{
    position:relative!important;top:auto!important;left:auto!important;transform:none!important;
    width:100%!important;max-width:100%!important;margin:0!important;padding:14px 16px 30px!important;
    overflow:visible!important;box-sizing:border-box!important;z-index:1!important;
  }

  /* User dashboard: no hidden first line, no pale/white text mismatch, no overlap. */
  html body:not(.role-admin) .user-dashboard-v658{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;
    width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;
    position:relative!important;top:auto!important;left:auto!important;transform:none!important;overflow:visible!important;
  }
  html body:not(.role-admin) .u58-hero{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:22px!important;
    position:relative!important;top:auto!important;left:auto!important;transform:none!important;
    min-height:154px!important;height:auto!important;margin:0!important;padding:24px 26px!important;
    overflow:hidden!important;border:1px solid #bfe3df!important;border-radius:16px!important;
    background:linear-gradient(118deg,#0b7e78 0%,#0d978c 48%,#218bd1 100%)!important;
    box-shadow:0 12px 28px rgba(18,102,112,.13)!important;z-index:1!important;
  }
  html body:not(.role-admin) .u58-hero-copy{
    display:block!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important;
    margin:0!important;padding:0!important;z-index:3!important;align-self:center!important;
  }
  html body:not(.role-admin) .u58-hero .u58-kicker{display:block!important;margin:0 0 6px!important;color:#dffcf8!important;visibility:visible!important;opacity:1!important}
  html body:not(.role-admin) .u58-hero h2{display:block!important;margin:0 0 7px!important;padding:0!important;font-size:27px!important;line-height:1.12!important;color:#fff!important;visibility:visible!important;opacity:1!important}
  html body:not(.role-admin) .u58-hero p{display:block!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.5!important;color:#ecfffd!important;visibility:visible!important;opacity:1!important}
  html body:not(.role-admin) .u58-hero-actions{display:flex!important;gap:9px!important;margin:15px 0 0!important;padding:0!important;position:relative!important;top:auto!important;transform:none!important}
  html body:not(.role-admin) .u58-hero-art{display:flex!important;position:relative!important;top:auto!important;right:auto!important;transform:none!important;align-self:center!important;z-index:2!important}

  /* Quick cards + services: balanced premium visual density. */
  html body:not(.role-admin) .u58-quick-grid{margin:0!important;gap:12px!important}
  html body:not(.role-admin) .u58-quick-grid>a{min-height:72px!important;border-radius:12px!important}
  html body:not(.role-admin) .u58-service-area{margin:0!important;border-radius:15px!important}
  html body:not(.role-admin) .u58-service-grid{gap:12px!important}
  html body:not(.role-admin) .u58-service-card{min-height:134px!important;border-radius:14px!important}
}

/* Sidebar footer: exactly Appearance then Logout; never duplicate identity. */
html body .sidebar .side-user{display:none!important}
html body .sidebar>.side-footer{
  display:flex!important;flex-direction:column!important;gap:8px!important;
  flex:0 0 auto!important;position:relative!important;inset:auto!important;
  width:100%!important;margin:0!important;padding:9px 10px 10px!important;box-sizing:border-box!important;
}
html body .sidebar>.side-footer .side-tools{display:block!important;order:1!important;position:static!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
html body .sidebar>.side-footer .side-logout-row{display:flex!important;order:2!important;position:static!important;margin:0!important;min-height:42px!important;border-radius:9px!important}
html body .sidebar>.side-footer .side-tool{width:100%!important;min-height:42px!important;margin:0!important;border-radius:9px!important}
html body .sidebar nav{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding-bottom:10px!important}

/* Light-mode matching. */
html[data-theme="light"] body:not(.role-admin) .u58-quick-grid>a{color:#153b54!important}
html[data-theme="light"] body:not(.role-admin) .u58-service-area,
html[data-theme="light"] body:not(.role-admin) .u58-history,
html[data-theme="light"] body:not(.role-admin) .u58-account{background:#fff!important}

@media (max-width:1100px){
  html body.role-admin .main,html body:not(.role-admin) .main{margin-left:0!important;padding-top:0!important;width:100%!important;max-width:100%!important}
  html body .main>.topbar{position:relative!important;top:auto!important;height:auto!important;min-height:58px!important}
  html body:not(.role-admin) .u58-hero{min-height:132px!important;padding:19px!important}
  html body .sidebar>.side-footer{display:flex!important;flex-direction:column!important}
}

/* ===== SOURCE: app-v672.css ===== */
/* MG Print Portal V6.72.0 — final contextual color matching + contrast polish */
:root{
  --mg72-teal:#07857f;--mg72-teal-dark:#075f61;--mg72-blue:#2384d8;--mg72-navy:#123e63;
  --mg72-green:#18a968;--mg72-orange:#f59a23;--mg72-purple:#7d48e8;--mg72-red:#e45463;
  --mg72-bg:#f4f8fb;--mg72-line:#d9e6ed;--mg72-ink:#153b56;--mg72-muted:#708695;
}

/* Shared canvas: calm neutral background so colored controls stand out. */
html body{background:var(--mg72-bg)!important;color:var(--mg72-ink)!important}
html body .main{background:linear-gradient(180deg,#f1f7fb 0,#f7fafc 220px,#f4f8fb 100%)!important}
html body .portal-topbar{border-bottom:2px solid #2b8fd3!important;box-shadow:0 3px 10px rgba(29,88,120,.04)!important}

/* USER: purposeful teal + blue theme. */
html body:not(.role-admin) .sidebar{
  background:linear-gradient(180deg,#087e79 0%,#0b8d85 46%,#086e6d 100%)!important;
  box-shadow:5px 0 18px rgba(8,95,96,.12)!important;
}
html body:not(.role-admin) .sidebar nav .nav-item{color:#f3fffe!important}
html body:not(.role-admin) .sidebar nav .nav-item:hover{background:rgba(255,255,255,.11)!important}
html body:not(.role-admin) .sidebar nav .nav-item.active{
  color:#075d5a!important;background:#f2fffd!important;border-left:4px solid #ffad21!important;
  box-shadow:0 7px 18px rgba(3,74,75,.13)!important;
}
html body:not(.role-admin) .sidebar .side-footer{background:linear-gradient(180deg,rgba(0,0,0,0),rgba(4,76,76,.22))!important}
html body:not(.role-admin) .sidebar .theme-toggle,
html body:not(.role-admin) .sidebar .side-logout-row{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important}

/* Hero must always have high-contrast text; no white-on-pale regression. */
html body:not(.role-admin) .u58-hero{
  background:linear-gradient(118deg,#087b77 0%,#0a9489 50%,#268ed2 100%)!important;
  border-color:#55b8b5!important;box-shadow:0 12px 30px rgba(14,105,115,.14)!important;
}
html body:not(.role-admin) .u58-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,67,74,.14),transparent 58%);pointer-events:none}
html body:not(.role-admin) .u58-hero .u58-kicker{color:#d8fffa!important}
html body:not(.role-admin) .u58-hero h2{color:#fff!important;text-shadow:0 1px 1px rgba(0,56,61,.12)!important}
html body:not(.role-admin) .u58-hero p{color:#eafffc!important}
html body:not(.role-admin) .u58-hero .btn.primary{background:#ffab18!important;color:#17394d!important;border:1px solid #ffb83d!important;box-shadow:0 7px 18px rgba(154,98,0,.18)!important}
html body:not(.role-admin) .u58-hero .btn:not(.primary){background:#fff!important;color:#08716e!important;border:1px solid rgba(255,255,255,.8)!important}
html body:not(.role-admin) .u58-doc-stack{background:rgba(255,255,255,.95)!important;color:#2085ce!important;border:1px solid rgba(255,255,255,.8)!important}
html body:not(.role-admin) .u58-hero-art b{color:#fff!important}
html body:not(.role-admin) .u58-hero-art strong{color:#eafffc!important}
html body:not(.role-admin) .u58-hero-art small{color:#d8f4f5!important}

/* Quick cards: one family, four semantic accents. */
html body:not(.role-admin) .u58-quick-grid>a{background:#fff!important;border-color:var(--mg72-line)!important;border-top-width:3px!important}
html body:not(.role-admin) .u58-quick-grid>a:nth-child(1){border-top-color:#18ad78!important}
html body:not(.role-admin) .u58-quick-grid>a:nth-child(2){border-top-color:#7d57e8!important}
html body:not(.role-admin) .u58-quick-grid>a:nth-child(3){border-top-color:#f5a01e!important}
html body:not(.role-admin) .u58-quick-grid>a:nth-child(4){border-top-color:#2589d8!important}
html body:not(.role-admin) .u58-quick-grid>a:hover{border-color:#8dccca!important;box-shadow:0 10px 24px rgba(19,92,103,.10)!important}

/* Service section: white reading surface, teal action language, real logos remain untouched. */
html body:not(.role-admin) .u58-service-area,
html body:not(.role-admin) .u58-services-page{background:#fff!important;border-color:#d7e5eb!important;box-shadow:0 7px 20px rgba(35,78,98,.05)!important}
html body:not(.role-admin) .u58-section-kicker{color:#07847d!important}
html body:not(.role-admin) .u58-service-card{background:#fff!important;border-color:#d7e4e9!important;border-top:3px solid #17aa75!important;box-shadow:0 4px 14px rgba(26,71,91,.045)!important}
html body:not(.role-admin) .u58-service-card:hover{border-color:#49c2b7!important;box-shadow:0 13px 28px rgba(15,100,105,.12)!important}
html body:not(.role-admin) .u58-service-logo{background:linear-gradient(145deg,#f5fbfd,#fff)!important;border-color:#dce9ee!important}
html body:not(.role-admin) .u58-service-cta{background:#f0fcfa!important;border-color:#4ec8bd!important;color:#08746e!important}
html body:not(.role-admin) .u58-live{background:#dff8ea!important;color:#087b50!important;border:1px solid #bcebd2!important}
html body:not(.role-admin) .u58-category-tabs a.active{background:linear-gradient(135deg,#078980,#08726e)!important;border-color:#08746e!important}

/* Dashboard lower cards: contextual color rather than random fills. */
html body:not(.role-admin) .u58-history{border-top:3px solid #2387d6!important}
html body:not(.role-admin) .u58-account{border-top:3px solid #7c51df!important}
html body:not(.role-admin) .u58-account-grid>div:nth-child(1){background:#fff7e8!important;border-color:#ffe1ac!important}
html body:not(.role-admin) .u58-account-grid>div:nth-child(2){background:#eef5ff!important;border-color:#d5e7ff!important}
html body:not(.role-admin) .u58-account-grid>div:nth-child(3){background:#ecfaf3!important;border-color:#ccefdc!important}
html body:not(.role-admin) .u58-account-grid>div:nth-child(4){background:#f4efff!important;border-color:#e1d6ff!important}

/* ADMIN: navy shell + strong but controlled dashboard accents. */
html body.role-admin .sidebar{background:linear-gradient(180deg,#0d466c 0%,#0b3e61 52%,#082f4d 100%)!important;border-right:0!important;box-shadow:5px 0 18px rgba(8,47,77,.13)!important}
html body.role-admin .sidebar nav .nav-item{color:#ecf7ff!important;background:transparent!important}
html body.role-admin .sidebar nav .nav-item:hover{background:rgba(255,255,255,.09)!important}
html body.role-admin .sidebar nav .nav-item.active{background:#f4f9fd!important;color:#123f62!important;border-left:4px solid #ffad21!important;box-shadow:0 7px 18px rgba(0,33,57,.13)!important}
html body.role-admin .dashboard-kpis .dash-kpi{color:#fff!important;border:0!important;box-shadow:0 9px 22px rgba(28,66,94,.10)!important}
html body.role-admin .dashboard-kpis .kpi-blue{background:linear-gradient(135deg,#2a91e4,#2377ce)!important}
html body.role-admin .dashboard-kpis .kpi-green{background:linear-gradient(135deg,#22b878,#15a864)!important}
html body.role-admin .dashboard-kpis .kpi-orange{background:linear-gradient(135deg,#ffa027,#f58a18)!important}
html body.role-admin .dashboard-kpis .kpi-purple{background:linear-gradient(135deg,#8d49ef,#7136df)!important}
html body.role-admin .dashboard-kpis .dash-kpi small,
html body.role-admin .dashboard-kpis .dash-kpi strong,
html body.role-admin .dashboard-kpis .dash-kpi em,
html body.role-admin .dashboard-kpis .dash-kpi .kpi-big-icon{color:#fff!important}
html body.role-admin .admin-control-hub{border-top:3px solid #2c86ca!important;background:#fff!important}
html body.role-admin .admin-control-grid>a:nth-child(1){border-top:3px solid #2d88d7!important}
html body.role-admin .admin-control-grid>a:nth-child(2){border-top:3px solid #22ab72!important}
html body.role-admin .admin-control-grid>a:nth-child(3){border-top:3px solid #f2a028!important}
html body.role-admin .admin-control-grid>a:nth-child(4){border-top:3px solid #7f55e7!important}
html body.role-admin .admin-control-grid>a:nth-child(5){border-top:3px solid #21a7c6!important}
html body.role-admin .admin-control-grid>a:nth-child(6){border-top:3px solid #e45a68!important}
html body.role-admin .admin-control-grid>a:hover{transform:translateY(-2px)!important;box-shadow:0 9px 20px rgba(28,74,103,.08)!important}
html body.role-admin .dash-chart{border-top:3px solid #2d8ddd!important}
html body.role-admin .dash-recent{border-top:3px solid #18a86a!important}
html body.role-admin .status-panel{border-top:3px solid #7c50df!important}
html body.role-admin .quick-panel{border-top:3px solid #f19b23!important}

/* Light mode should stay readable; never wash foreground text out. */
html[data-theme="light"] body .panel,html[data-theme="light"] body .stat{color:var(--mg72-ink)}
html[data-theme="light"] body:not(.role-admin) .u58-hero h2,
html[data-theme="light"] body:not(.role-admin) .u58-hero p,
html[data-theme="light"] body:not(.role-admin) .u58-hero .u58-kicker{opacity:1!important;visibility:visible!important}

@media(max-width:760px){
 html body:not(.role-admin) .u58-hero{background:linear-gradient(145deg,#087b77,#168bc2)!important}
 html body:not(.role-admin) .u58-quick-grid>a{border-top-width:2px!important}
}

/* ===== SOURCE: app-v675.css ===== */
/* MG Print Portal V6.75.0 — premium professional visual system + reference-inspired dashboard polish */
:root{
  --mg75-ink:#102f49;--mg75-muted:#6b8191;--mg75-bg:#f4f8fb;--mg75-card:#ffffff;
  --mg75-line:#dce7ee;--mg75-teal:#078d86;--mg75-teal2:#05a69a;--mg75-blue:#2589dd;
  --mg75-navy:#0b4165;--mg75-orange:#f6a01c;--mg75-purple:#7b55e7;--mg75-green:#17aa72;
  --mg75-shadow:0 10px 30px rgba(18,62,87,.075);--mg75-shadow-hover:0 18px 42px rgba(18,62,87,.13);
  --mg75-radius:18px;
}

html,body{min-height:100%}
html body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;background:var(--mg75-bg)!important;color:var(--mg75-ink)!important}
html body .app-shell{background:var(--mg75-bg)!important}
html body .main{background:radial-gradient(circle at 92% 2%,rgba(37,137,221,.06),transparent 23%),linear-gradient(180deg,#f5f9fc 0,#f8fbfd 48%,#f4f8fb 100%)!important}

/* Premium top identity strip */
html body .portal-masthead{height:76px!important;min-height:76px!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #dbe6ed!important;box-shadow:0 4px 18px rgba(15,57,82,.05)!important;backdrop-filter:blur(12px);padding:0 22px!important}
html body .mast-brand{gap:11px!important}
html body .mast-brand img{width:42px!important;height:42px!important;filter:drop-shadow(0 5px 10px rgba(13,83,110,.12))}
html body .mast-brand b{font-size:20px!important;letter-spacing:.35px!important;color:#114261!important}
html body .mast-brand small{font-size:9px!important;color:#6e8494!important;letter-spacing:.2px}
html body .mast-wallet,html body .mast-profile,html body .mast-bell{border:1px solid #dbe8ee!important;background:#fff!important;box-shadow:0 4px 13px rgba(18,70,95,.055)!important}
html body .mast-wallet{border-color:#bfe7e2!important;background:linear-gradient(180deg,#fbfffe,#f3fffd)!important}
html body .mast-wallet b{color:#087d75!important}
html body .mast-profile span{background:linear-gradient(135deg,#2c8fd8,#086e9a)!important;color:#fff!important}

/* Sidebar: clean, executive, fixed visual rhythm */
html body .sidebar{top:76px!important;width:238px!important;padding:14px 10px 12px!important;border-radius:0!important;overflow-y:auto!important;overflow-x:hidden!important}
html body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#078b84 0%,#07847e 55%,#076c6c 100%)!important;box-shadow:6px 0 22px rgba(7,93,92,.12)!important}
html body.role-admin .sidebar{background:linear-gradient(180deg,#0c5278 0%,#0b456b 52%,#073653 100%)!important;box-shadow:6px 0 22px rgba(7,50,78,.14)!important}
html body .sidebar nav{display:grid!important;gap:5px!important}
html body .sidebar .nav-section{margin:14px 10px 6px!important;opacity:.75!important}
html body .sidebar .nav-section span{font-size:9px!important;letter-spacing:1.2px!important;font-weight:800!important}
html body .sidebar nav .nav-item{min-height:46px!important;border-radius:12px!important;padding:0 13px!important;gap:12px!important;font-size:13px!important;font-weight:700!important;border-left:0!important;transition:transform .18s ease,background .18s ease,box-shadow .18s ease!important}
html body .sidebar nav .nav-item:hover{transform:translateX(2px)!important}
html body .sidebar nav .nav-item.active{border-left:0!important;box-shadow:0 8px 22px rgba(0,47,60,.15)!important;position:relative!important}
html body .sidebar nav .nav-item.active:before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:4px;border-radius:0 5px 5px 0;background:#ffb51b}
html body:not(.role-admin) .sidebar nav .nav-item.active{background:#f2fffd!important;color:#076c68!important}
html body.role-admin .sidebar nav .nav-item.active{background:#f5fbff!important;color:#124868!important}
html body .sidebar .nav-ico{width:24px!important;height:24px!important;display:grid!important;place-items:center!important;border-radius:7px!important}
html body .sidebar .side-footer{padding-top:12px!important}
html body .sidebar .theme-toggle,html body .sidebar .side-logout-row{min-height:42px!important;border-radius:11px!important}

/* Main workspace aligns exactly after the new sidebar/masthead */
html body .main{margin-left:238px!important;padding-top:0!important;min-height:calc(100vh - 76px)!important}
html body .portal-topbar{height:64px!important;min-height:64px!important;background:rgba(255,255,255,.92)!important;border-bottom:1px solid #dce8ee!important;box-shadow:none!important;padding:0 20px!important;backdrop-filter:blur(8px)}
html body .portal-topbar h1{font-size:20px!important;color:#123f5e!important;letter-spacing:-.25px!important}
html body .portal-topbar .sub{font-size:11px!important;color:#788d9b!important}
html body .content{padding:16px 18px 26px!important;max-width:1680px!important;margin:0 auto!important;width:100%!important}

/* Universal professional cards */
html body .panel,html body .stat{background:rgba(255,255,255,.98)!important;border:1px solid var(--mg75-line)!important;border-radius:var(--mg75-radius)!important;box-shadow:var(--mg75-shadow)!important}
html body .panel-head h2{font-size:17px!important;color:#143c58!important;letter-spacing:-.2px!important}
html body .muted,html body .panel-head p{color:var(--mg75-muted)!important}
html body .btn{border-radius:10px!important;font-weight:800!important;box-shadow:none!important;transition:all .18s ease!important}
html body .btn:hover{transform:translateY(-1px)!important;box-shadow:0 8px 18px rgba(22,74,100,.09)!important}
html body .btn.primary{background:linear-gradient(135deg,#078b83,#06a397)!important;border-color:#078b83!important;color:#fff!important}
html body input,html body select,html body textarea{border-radius:10px!important;border-color:#d5e3ea!important;background:#fff!important;box-shadow:inset 0 1px 2px rgba(12,52,74,.02)!important}
html body input:focus,html body select:focus,html body textarea:focus{border-color:#5ebfb7!important;box-shadow:0 0 0 3px rgba(7,141,134,.09)!important;outline:none!important}
html body .table-wrap{border:1px solid #e0e9ef!important;border-radius:14px!important;overflow:auto!important;background:#fff!important}
html body .table thead th{background:#f6fafc!important;color:#607989!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.45px!important}
html body .table tbody tr:hover{background:#f9fcfd!important}

/* User hero — close to reference: bright left canvas + premium blue illustration zone */
html body:not(.role-admin) .u58-hero{position:relative!important;overflow:hidden!important;min-height:190px!important;border:1px solid #cfe4ec!important;border-radius:22px!important;background:linear-gradient(104deg,#f9ffff 0%,#f6fffd 44%,#edf8ff 68%,#dbeeff 100%)!important;box-shadow:0 12px 32px rgba(24,79,104,.085)!important;padding:30px 30px!important}
html body:not(.role-admin) .u58-hero:before{content:""!important;position:absolute!important;inset:auto -90px -150px auto!important;width:470px!important;height:470px!important;border-radius:50%!important;background:radial-gradient(circle,rgba(64,153,224,.22),rgba(64,153,224,0) 68%)!important;pointer-events:none!important}
html body:not(.role-admin) .u58-hero:after{content:"";position:absolute;right:29%;top:-120px;width:1px;height:430px;background:linear-gradient(180deg,transparent,#c7ddea,transparent);transform:rotate(18deg);opacity:.7}
html body:not(.role-admin) .u58-kicker{color:#12aa99!important;font-weight:900!important;letter-spacing:1.3px!important}
html body:not(.role-admin) .u58-hero h2{font-size:32px!important;color:#123b5c!important;text-shadow:none!important;letter-spacing:-.8px!important;margin:8px 0!important}
html body:not(.role-admin) .u58-hero p{color:#657f90!important;max-width:620px!important;font-size:13px!important}
html body:not(.role-admin) .u58-hero .btn.primary{background:linear-gradient(135deg,#078d84,#06a99b)!important;color:#fff!important;border-color:#078d84!important;box-shadow:0 10px 24px rgba(7,141,132,.19)!important}
html body:not(.role-admin) .u58-hero .btn:not(.primary){background:#fff!important;color:#6542df!important;border:1px solid #baaef6!important}
html body:not(.role-admin) .u58-hero-art{position:relative!important;z-index:2!important;min-width:405px!important;justify-content:center!important;gap:34px!important}
html body:not(.role-admin) .u58-doc-stack{width:128px!important;height:102px!important;display:grid!important;place-items:center!important;border-radius:22px!important;background:linear-gradient(180deg,#6ab5f7,#287dcb)!important;color:#fff!important;border:0!important;box-shadow:0 20px 36px rgba(36,122,196,.22)!important;font-size:52px!important}
html body:not(.role-admin) .u58-hero-art b{font-size:23px!important;color:#123b5c!important}
html body:not(.role-admin) .u58-hero-art strong{color:#087a63!important;font-size:12px!important}
html body:not(.role-admin) .u58-hero-art small{color:#6f8798!important}

/* Quick actions */
html body:not(.role-admin) .u58-quick-grid{gap:12px!important;margin-top:14px!important}
html body:not(.role-admin) .u58-quick-grid>a{min-height:86px!important;border-radius:16px!important;border:1px solid #dce8ee!important;border-top-width:3px!important;background:#fff!important;box-shadow:0 7px 20px rgba(21,67,90,.055)!important;padding:15px 17px!important}
html body:not(.role-admin) .u58-quick-grid>a:hover{transform:translateY(-3px)!important;box-shadow:var(--mg75-shadow-hover)!important}
html body:not(.role-admin) .u58-qico{width:42px!important;height:42px!important;border-radius:12px!important}
html body:not(.role-admin) .u58-quick-grid b{font-size:13px!important;color:#143c58!important}
html body:not(.role-admin) .u58-quick-grid small{font-size:10px!important;color:#748b9a!important}

/* Service catalog becomes the hero product of the workspace */
html body:not(.role-admin) .u58-service-area,html body:not(.role-admin) .u58-services-page{border:1px solid #dce7ed!important;border-radius:20px!important;background:#fff!important;box-shadow:0 9px 28px rgba(17,65,89,.06)!important;margin-top:14px!important;padding:18px!important}
html body:not(.role-admin) .u58-section-head{align-items:center!important}
html body:not(.role-admin) .u58-section-head h2{font-size:22px!important;color:#143b57!important;margin:3px 0!important}
html body:not(.role-admin) .u58-category-tabs{gap:8px!important;margin:13px 0 16px!important;overflow:auto!important;padding-bottom:2px!important}
html body:not(.role-admin) .u58-category-tabs a{white-space:nowrap!important;border-radius:999px!important;background:#fff!important;border:1px solid #d8e5ec!important;color:#2d536c!important;font-size:11px!important;font-weight:800!important;padding:9px 13px!important}
html body:not(.role-admin) .u58-category-tabs a.active{background:linear-gradient(135deg,#078d84,#07998f)!important;color:#fff!important;border-color:#078d84!important;box-shadow:0 7px 17px rgba(7,141,132,.16)!important}
html body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
html body:not(.role-admin) .u58-service-card{position:relative!important;min-height:178px!important;border-radius:17px!important;border:1px solid #dce8ed!important;border-top:3px solid #1caf78!important;background:linear-gradient(180deg,#fff,#fcfefe)!important;box-shadow:0 6px 18px rgba(24,70,91,.05)!important;padding:16px!important;transition:all .2s ease!important}
html body:not(.role-admin) .u58-service-card:nth-child(4n+2){border-top-color:#5d87ee!important}
html body:not(.role-admin) .u58-service-card:nth-child(4n+3){border-top-color:#f2a01e!important}
html body:not(.role-admin) .u58-service-card:nth-child(4n+4){border-top-color:#7f57e7!important}
html body:not(.role-admin) .u58-service-card:hover{transform:translateY(-4px)!important;border-color:#8dcfc8!important;box-shadow:0 18px 35px rgba(15,93,98,.12)!important}
html body:not(.role-admin) .u58-service-logo{width:52px!important;height:52px!important;border-radius:14px!important;border:1px solid #dbe8ee!important;background:linear-gradient(145deg,#f3f9fc,#fff)!important;box-shadow:0 5px 12px rgba(24,71,94,.05)!important}
html body:not(.role-admin) .u58-service-body b{font-size:13px!important;line-height:1.25!important;color:#163e5b!important}
html body:not(.role-admin) .u58-service-body small{color:#78909e!important;font-size:9px!important}
html body:not(.role-admin) .u58-service-body em{color:#667e8d!important;font-size:10px!important;line-height:1.35!important}
html body:not(.role-admin) .u58-service-cta{border-radius:999px!important;background:#f0fcf9!important;border:0!important;color:#08776f!important;font-weight:900!important;font-size:10px!important;padding:8px 11px!important;box-shadow:0 5px 14px rgba(17,144,119,.08)!important}
html body:not(.role-admin) .u58-live{top:12px!important;right:12px!important;border-radius:999px!important;text-transform:uppercase!important;font-size:8px!important;padding:4px 7px!important}

/* Lower dashboard */
html body:not(.role-admin) .u58-lower-grid{gap:14px!important;margin-top:14px!important}
html body:not(.role-admin) .u58-history,html body:not(.role-admin) .u58-account{border-radius:18px!important}
html body:not(.role-admin) .u58-account-grid>div{border-radius:13px!important}
html body .ud55-trust{border-radius:14px!important;background:#fff!important;border:1px solid #dce8ed!important;box-shadow:0 6px 18px rgba(21,67,90,.04)!important;color:#4e6e82!important}

/* Admin: executive cards and cleaner forms/tables */
html body.role-admin .dash-title-band{border-radius:18px!important;border:1px solid #d9e7ef!important;background:linear-gradient(110deg,#0d5279,#177da1)!important;color:#fff!important;box-shadow:0 12px 28px rgba(12,74,110,.15)!important}
html body.role-admin .dashboard-kpis{gap:13px!important}
html body.role-admin .dashboard-kpis .dash-kpi{border-radius:17px!important;min-height:126px!important;box-shadow:0 12px 28px rgba(31,75,99,.13)!important;overflow:hidden!important;position:relative!important}
html body.role-admin .dashboard-kpis .dash-kpi:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-30px;top:-34px;background:rgba(255,255,255,.12)}
html body.role-admin .admin-control-grid>a,html body.role-admin .quick-manage-grid>a{border-radius:14px!important;background:#fff!important;border:1px solid #dce8ee!important;box-shadow:0 6px 17px rgba(20,66,90,.045)!important}
html body.role-admin .admin-control-grid>a:hover,html body.role-admin .quick-manage-grid>a:hover{transform:translateY(-3px)!important;box-shadow:0 15px 30px rgba(20,66,90,.10)!important}
html body.role-admin .dashboard-two,html body.role-admin .dashboard-bottom-grid{gap:14px!important}
html body.role-admin .recent-row{border-radius:10px!important}

/* Prevent historical popup/layout regressions */
html body .command-modal[hidden]{display:none!important}
html body .sidebar svg,html body .topbar svg,html body .superchat-float svg{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important}
html body .superchat-float{right:20px!important;bottom:18px!important;z-index:120!important;filter:drop-shadow(0 10px 18px rgba(74,42,190,.18))}

/* Dark mode keeps the same visual hierarchy without washed-out cards. */
html[data-theme="dark"] body{--mg75-bg:#0a1620;--mg75-card:#102331;--mg75-line:#244052;--mg75-ink:#e8f4fb;--mg75-muted:#9bb0bd;background:#09141d!important}
html[data-theme="dark"] body .main{background:linear-gradient(180deg,#0c1b27,#0a1620)!important}
html[data-theme="dark"] body .portal-masthead,html[data-theme="dark"] body .portal-topbar,html[data-theme="dark"] body .panel,html[data-theme="dark"] body .stat{background:#102330!important;border-color:#254252!important;color:#edf8ff!important}
html[data-theme="dark"] body:not(.role-admin) .u58-hero{background:linear-gradient(110deg,#102a35,#123d49 50%,#163d59)!important;border-color:#295568!important}
html[data-theme="dark"] body:not(.role-admin) .u58-hero h2,html[data-theme="dark"] body:not(.role-admin) .u58-hero-art b{color:#effaff!important}
html[data-theme="dark"] body:not(.role-admin) .u58-hero p,html[data-theme="dark"] body:not(.role-admin) .u58-hero-art small{color:#aac0cc!important}
html[data-theme="dark"] body:not(.role-admin) .u58-service-area,html[data-theme="dark"] body:not(.role-admin) .u58-service-card,html[data-theme="dark"] body:not(.role-admin) .u58-quick-grid>a,html[data-theme="dark"] body .ud55-trust{background:#102330!important;border-color:#284556!important}
html[data-theme="dark"] body:not(.role-admin) .u58-service-body b,html[data-theme="dark"] body:not(.role-admin) .u58-quick-grid b,html[data-theme="dark"] body:not(.role-admin) .u58-section-head h2{color:#edf8ff!important}

@media(max-width:1180px){
 html body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body:not(.role-admin) .u58-hero-art{min-width:320px!important}
}
@media(max-width:920px){
 html body .sidebar{width:230px!important}
 html body .main{margin-left:230px!important}
 html body:not(.role-admin) .u58-hero{grid-template-columns:1fr!important}
 html body:not(.role-admin) .u58-hero-art{display:none!important}
 html body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 html body .portal-masthead{height:64px!important;min-height:64px!important;padding:0 12px!important}
 html body .mast-brand b{font-size:16px!important}
 html body .mast-brand img{width:36px!important;height:36px!important}
 html body .sidebar{top:64px!important;width:min(84vw,280px)!important}
 html body .main{margin-left:0!important;min-height:calc(100vh - 64px)!important}
 html body .content{padding:12px!important}
 html body:not(.role-admin) .u58-hero{min-height:auto!important;padding:22px 18px!important;border-radius:17px!important}
 html body:not(.role-admin) .u58-hero h2{font-size:26px!important}
 html body:not(.role-admin) .u58-service-grid{grid-template-columns:1fr!important}
 html body:not(.role-admin) .u58-service-card{min-height:150px!important}
 html body .panel,html body .stat{border-radius:15px!important}
}

/* ===== SOURCE: app-v676.css ===== */
/* MG Print Portal V6.76.0 — Print Studio Signature UI
   Purpose: make every workspace unmistakably a professional print/document operations portal.
   This file intentionally loads last and only changes presentation. Existing workflows stay intact. */
:root{
  --p76-navy:#071a2a;--p76-navy2:#0b263a;--p76-navy3:#103650;
  --p76-blue:#426cf5;--p76-cyan:#13a8c7;--p76-cyan2:#22c2d8;
  --p76-mint:#18a984;--p76-gold:#ffb341;--p76-red:#ee5d72;--p76-violet:#7d64ee;
  --p76-ink:#102c42;--p76-copy:#527084;--p76-muted:#7c93a2;
  --p76-bg:#eef4f8;--p76-paper:#fff;--p76-line:#d9e5ec;--p76-line2:#cbdbe5;
  --p76-shadow:0 12px 32px rgba(23,61,84,.075);--p76-shadow2:0 22px 58px rgba(12,43,65,.14);
  --p76-sidebar:272px;--p76-mast:78px;--p76-radius:20px;
}

/* ---------- Global print studio shell ---------- */
html body{background:var(--p76-bg)!important;color:var(--p76-ink)!important;font-size:14px!important}
html body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:radial-gradient(rgba(20,67,95,.055) .65px,transparent .65px);background-size:18px 18px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.28),transparent 52%)}
html body .ambient-orb{display:none!important}
html body .app-shell{background:transparent!important}
html body .main{margin-left:var(--p76-sidebar)!important;min-height:calc(100vh - var(--p76-mast))!important;background:linear-gradient(180deg,#f1f6f9 0,#f7fafc 44%,#eef4f8 100%)!important}
html body .content{padding:20px 24px 34px!important;max-width:1780px!important}
html body .panel,html body .stat{border:1px solid var(--p76-line)!important;border-radius:18px!important;background:rgba(255,255,255,.98)!important;box-shadow:var(--p76-shadow)!important}
html body .panel-head{gap:16px!important}
html body .panel-head h2{font-size:18px!important;line-height:1.15!important;letter-spacing:-.35px!important;color:var(--p76-ink)!important}
html body .panel-head p,html body .muted{color:var(--p76-copy)!important}
html body .chip{border-radius:999px!important;font-weight:800!important;letter-spacing:.15px!important}
html body .notice{border-radius:14px!important}
html body .btn{min-height:40px!important;border-radius:11px!important;padding:0 15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-size:12px!important;font-weight:850!important;letter-spacing:.05px!important;border:1px solid #cfdee7!important;background:#fff!important;color:#254c66!important;box-shadow:0 3px 9px rgba(18,59,82,.045)!important}
html body .btn.primary{background:linear-gradient(135deg,#3f6af3,#2452e2)!important;border-color:#315de7!important;color:#fff!important;box-shadow:0 10px 22px rgba(55,93,226,.20)!important}
html body .btn:hover{transform:translateY(-2px)!important;box-shadow:0 12px 25px rgba(20,61,84,.12)!important}
html body input,html body select,html body textarea{min-height:43px!important;border:1px solid #cedde6!important;border-radius:11px!important;background:#fff!important;color:var(--p76-ink)!important;padding-left:13px!important;padding-right:13px!important}
html body textarea{min-height:100px!important;padding-top:12px!important}
html body input:focus,html body select:focus,html body textarea:focus{border-color:#5d7df0!important;box-shadow:0 0 0 4px rgba(66,108,245,.09)!important}

/* CMYK-inspired hairline: instant print identity without looking playful */
html body .portal-masthead:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#16b9cf 0 25%,#7659e8 25% 50%,#ffb239 50% 75%,#ef5e78 75% 100%)}

/* ---------- Masthead ---------- */
html body .portal-masthead{height:var(--p76-mast)!important;min-height:var(--p76-mast)!important;padding:0 22px!important;background:rgba(255,255,255,.985)!important;border-bottom:1px solid #d6e3eb!important;box-shadow:0 5px 24px rgba(15,48,69,.07)!important;position:sticky!important;top:0!important;z-index:200!important}
html body .mast-brand{min-width:330px!important;gap:12px!important;text-decoration:none!important}
html body .mast-brand img{width:45px!important;height:45px!important;border-radius:12px!important;padding:3px!important;background:#f6fafc!important;border:1px solid #dce7ed!important;box-shadow:0 7px 18px rgba(15,68,92,.09)!important}
html body .mast-brand span{display:flex!important;flex-direction:column!important;gap:2px!important}
html body .mast-brand b{font-size:20px!important;letter-spacing:.5px!important;color:#0c3b58!important;font-weight:950!important}
html body .mast-brand small{font-size:9.5px!important;line-height:1.2!important;color:#708797!important;font-weight:700!important;letter-spacing:.22px!important}
html body .mast-slogan{gap:10px!important;padding:9px 15px!important;border:1px solid #e0e9ef!important;border-radius:999px!important;background:#f8fbfd!important}
html body .mast-slogan b{font-size:9px!important;letter-spacing:1px!important;color:#365a70!important}
html body .mast-slogan i{width:4px!important;height:4px!important;border-radius:50%!important;background:#22aec3!important}
html body .u58-mast-search{height:44px!important;max-width:560px!important;border:1px solid #d6e3eb!important;border-radius:13px!important;background:#f9fbfc!important;box-shadow:inset 0 1px 1px rgba(9,49,72,.025)!important}
html body .u58-mast-search input{min-height:40px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:12px!important}
html body .u58-mast-search button{height:34px!important;margin-right:5px!important;border:0!important;border-radius:9px!important;padding:0 15px!important;background:#0d3852!important;color:#fff!important;font-size:11px!important;font-weight:850!important}
html body .mast-right{gap:8px!important}
html body .mast-private{font-size:7.5px!important;line-height:1.05!important;max-width:70px!important;border:1px solid #f1d2b3!important;background:#fff8ef!important;color:#9a5e29!important;border-radius:9px!important;padding:7px 8px!important;font-weight:900!important;letter-spacing:.7px!important;text-align:center!important}
html body .mast-wallet{height:43px!important;min-width:160px!important;padding:0 13px!important;border-radius:12px!important;background:linear-gradient(135deg,#f3f7ff,#f9fbff)!important;border-color:#d4def8!important;box-shadow:none!important}
html body .mast-wallet span{display:grid!important;place-items:center!important;width:27px!important;height:27px!important;border-radius:8px!important;background:#e7edff!important;color:#315de7!important}
html body .mast-wallet small{font-size:8px!important;letter-spacing:.45px!important;color:#6a7e90!important;text-transform:uppercase!important}
html body .mast-wallet b{font-size:14px!important;color:#284ed1!important}
html body .mast-bell{width:43px!important;height:43px!important;border-radius:12px!important}
html body .mast-profile{height:43px!important;border-radius:12px!important;padding:0 10px 0 6px!important;gap:8px!important}
html body .mast-profile>span{width:32px!important;height:32px!important;border-radius:9px!important;background:linear-gradient(135deg,#0d496b,#126b8b)!important;font-size:12px!important}
html body .mast-profile small b{font-size:11px!important;color:#173d57!important}
html body .mast-profile small{font-size:8.5px!important;color:#718797!important}
html body .mast-script{display:none!important}

/* ---------- Signature print sidebar ---------- */
html body .sidebar{top:var(--p76-mast)!important;width:var(--p76-sidebar)!important;padding:14px 13px 14px!important;background:linear-gradient(180deg,#071c2d 0%,#0a2639 55%,#081c2a 100%)!important;border-right:1px solid rgba(255,255,255,.05)!important;box-shadow:10px 0 32px rgba(6,28,44,.14)!important;overflow-y:auto!important;scrollbar-width:thin!important;scrollbar-color:rgba(119,176,201,.35) transparent!important}
html body.role-admin .sidebar{background:linear-gradient(180deg,#071928 0%,#0b2b42 52%,#071b2a 100%)!important}
html body .sidebar::-webkit-scrollbar{width:5px}
html body .sidebar::-webkit-scrollbar-thumb{background:rgba(126,180,203,.34);border-radius:20px}
html body .side-glow{display:block!important;position:absolute!important;inset:0!important;pointer-events:none!important;background:radial-gradient(circle at 20% 0%,rgba(31,187,215,.12),transparent 27%),radial-gradient(circle at 95% 42%,rgba(77,100,240,.09),transparent 25%)!important;opacity:1!important}
html body .print-side-identity{position:relative;z-index:2;display:grid;grid-template-columns:42px 1fr 9px;align-items:center;gap:10px;min-height:60px;padding:9px 10px;margin:0 0 9px;border:1px solid rgba(161,208,227,.13);border-radius:15px;background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025));box-shadow:inset 0 1px rgba(255,255,255,.05)}
html body .print-side-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#eafcff,#c9f4fb);color:#0b516a;box-shadow:0 7px 18px rgba(0,0,0,.14)}
html body .print-side-mark svg{width:21px!important;height:21px!important;fill:currentColor!important}
html body .print-side-identity>span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0}
html body .print-side-identity b{font-size:11px;letter-spacing:1.15px;color:#f4fbff;font-weight:950;white-space:nowrap}
html body .print-side-identity small{font-size:9px;color:#91b2c2;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .print-side-live{width:8px;height:8px;border-radius:50%;background:#39d7a0;box-shadow:0 0 0 4px rgba(57,215,160,.12),0 0 14px rgba(57,215,160,.55)}
html body .print-side-pulse{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1px 1fr;align-items:center;gap:10px;padding:10px 12px;margin-bottom:9px;border-radius:13px;background:rgba(3,14,22,.25);border:1px solid rgba(160,204,222,.09)}
html body .print-side-pulse>span{display:flex;align-items:end;justify-content:space-between;gap:5px}
html body .print-side-pulse small{font-size:7px;line-height:1.1;color:#7197aa;font-weight:900;letter-spacing:.55px}
html body .print-side-pulse b{font-size:15px;color:#fff;font-weight:900}
html body .print-side-pulse>i{height:26px;background:rgba(173,209,223,.12)}
html body .print-side-primary{position:relative;z-index:2;display:flex;align-items:center;gap:9px;min-height:44px;margin:0 0 12px;padding:0 11px;border-radius:12px;background:linear-gradient(135deg,#16a6c4,#2e75e8);color:#fff;text-decoration:none;box-shadow:0 10px 22px rgba(17,115,161,.24);font-size:11px;font-weight:900;letter-spacing:.08px}
html body .print-side-primary svg{width:17px!important;height:17px!important;fill:currentColor!important}
html body .print-side-primary span{flex:1}
html body .print-side-primary b{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:rgba(255,255,255,.14);font-size:17px;line-height:1}
html body .admin-side-label{display:none!important}
html body .sidebar nav{position:relative;z-index:2;display:flex!important;flex-direction:column!important;gap:4px!important}
html body .sidebar .nav-section{display:flex!important;align-items:center!important;gap:9px!important;margin:14px 9px 6px!important}
html body .sidebar .nav-section span{font-size:8px!important;letter-spacing:1.25px!important;color:#678fa3!important;font-weight:950!important}
html body .sidebar .nav-section i{height:1px!important;flex:1!important;background:linear-gradient(90deg,rgba(124,175,198,.24),transparent)!important}
html body .sidebar nav .nav-item{position:relative!important;display:flex!important;align-items:center!important;min-height:44px!important;padding:0 11px!important;border-radius:11px!important;gap:11px!important;background:transparent!important;border:1px solid transparent!important;color:#bdd2dc!important;font-size:11px!important;font-weight:750!important;line-height:1.12!important;box-shadow:none!important;transition:.18s ease!important}
html body .sidebar nav .nav-item:hover{transform:none!important;background:rgba(255,255,255,.055)!important;border-color:rgba(160,203,219,.08)!important;color:#fff!important}
html body .sidebar nav .nav-item.active{background:linear-gradient(90deg,rgba(45,114,232,.23),rgba(19,168,199,.10))!important;border-color:rgba(88,167,218,.23)!important;color:#fff!important;box-shadow:inset 3px 0 #24c1d7,0 7px 18px rgba(0,0,0,.10)!important}
html body .sidebar nav .nav-item.active:before{display:none!important}
html body .sidebar .nav-ico{width:30px!important;height:30px!important;flex:0 0 30px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:rgba(255,255,255,.055)!important;color:#95c5d8!important}
html body .sidebar nav .nav-item.active .nav-ico{background:linear-gradient(135deg,#dffaff,#c8f1fb)!important;color:#0f6077!important;box-shadow:0 5px 13px rgba(0,0,0,.12)!important}
html body .sidebar .nav-ico svg{width:16px!important;height:16px!important;fill:currentColor!important}
html body .sidebar .nav-label{flex:1!important;letter-spacing:0!important}
html body .sidebar .nav-badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#ef6578;color:#fff;font-size:9px;font-style:normal;font-weight:900}
html body .side-footer{position:relative!important;z-index:2!important;margin-top:12px!important;padding:10px 0 0!important;border-top:1px solid rgba(160,204,222,.10)!important;background:transparent!important}
html body .side-tool,html body .side-logout-row{min-height:42px!important;border:1px solid rgba(159,205,224,.14)!important;border-radius:11px!important;background:rgba(255,255,255,.045)!important;color:#c4d9e3!important;font-size:10.5px!important;font-weight:800!important}
html body .side-tool b{margin-left:auto!important;padding:4px 7px!important;border-radius:7px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;font-size:8px!important}
html body .side-logout-row{margin-top:7px!important}
html body .side-logout-row:hover{background:rgba(238,93,114,.12)!important;border-color:rgba(238,93,114,.22)!important;color:#fff!important}

/* ---------- Page title bar ---------- */
html body .portal-topbar,html body .topbar{height:66px!important;min-height:66px!important;padding:0 24px!important;background:rgba(255,255,255,.91)!important;border-bottom:1px solid #d8e4eb!important;box-shadow:none!important;backdrop-filter:blur(12px)!important}
html body .portal-topbar h1,html body .topbar h1{font-size:20px!important;font-weight:900!important;letter-spacing:-.45px!important;color:#102f47!important}
html body .portal-topbar .sub,html body .topbar .sub{font-size:10.5px!important;color:#78909f!important;font-weight:600!important;margin-top:2px!important}
html body .top-search-wrap{height:38px!important;border:1px solid #d8e4eb!important;border-radius:11px!important;background:#f8fbfd!important;min-width:250px!important}
html body .top-search-wrap input{min-height:36px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body .wallet-pill{min-height:36px!important;border-radius:10px!important;background:#eef4ff!important;border:1px solid #d5e0fb!important;color:#3156cf!important;font-size:11px!important;font-weight:900!important}

/* ---------- User print studio dashboard ---------- */
html body:not(.role-admin) .print-user-dashboard{display:block!important}
html body:not(.role-admin) .print-studio-hero{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(430px,.88fr)!important;align-items:stretch!important;min-height:270px!important;padding:0!important;border-radius:24px!important;overflow:hidden!important;border:1px solid #cadde8!important;background:#fff!important;box-shadow:0 18px 46px rgba(12,52,75,.10)!important}
html body:not(.role-admin) .print-studio-hero:before{content:""!important;position:absolute!important;inset:0!important;background:radial-gradient(circle at 13% 7%,rgba(29,181,204,.085),transparent 28%),radial-gradient(circle at 68% 96%,rgba(67,106,245,.075),transparent 24%)!important;pointer-events:none!important}
html body:not(.role-admin) .print-studio-hero:after{content:"PRINT STUDIO"!important;position:absolute!important;left:38px!important;bottom:-22px!important;font-size:86px!important;line-height:1!important;font-weight:950!important;letter-spacing:4px!important;color:rgba(11,71,99,.028)!important;transform:none!important;width:auto!important;height:auto!important;background:none!important}
html body:not(.role-admin) .print-studio-hero .u58-hero-copy{position:relative!important;z-index:2!important;padding:34px 38px 28px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important}
html body:not(.role-admin) .print-studio-hero .u58-kicker{display:inline-flex!important;align-items:center!important;gap:8px!important;margin:0 0 8px!important;font-size:9px!important;letter-spacing:1.45px!important;color:#137991!important;font-weight:950!important}
html body:not(.role-admin) .print-studio-hero .u58-kicker:before{content:"";width:25px;height:3px;border-radius:4px;background:linear-gradient(90deg,#15b4cb,#496cf2)}
html body:not(.role-admin) .print-studio-hero h2{margin:3px 0 10px!important;font-size:38px!important;line-height:1.04!important;letter-spacing:-1.25px!important;color:#0b2c44!important;font-weight:950!important}
html body:not(.role-admin) .print-studio-hero p{max-width:700px!important;margin:0!important;font-size:13px!important;line-height:1.65!important;color:#5d798b!important}
html body:not(.role-admin) .print-studio-hero .u58-hero-actions{margin-top:20px!important;display:flex!important;gap:10px!important}
html body:not(.role-admin) .print-hero-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:21px}
html body:not(.role-admin) .print-hero-meta>span{min-width:112px;padding:9px 12px;border-radius:11px;border:1px solid #dbe7ed;background:rgba(247,251,253,.88);display:flex;align-items:center;gap:8px}
html body:not(.role-admin) .print-hero-meta b{font-size:18px;color:#153d58;font-weight:950}
html body:not(.role-admin) .print-hero-meta small{font-size:8px;line-height:1.15;color:#78909f;text-transform:uppercase;font-weight:850;letter-spacing:.35px}
html body:not(.role-admin) .print-machine-art{position:relative!important;z-index:2!important;min-width:0!important;padding:28px 30px!important;background:linear-gradient(135deg,#0b2d43 0%,#0d4563 54%,#12637a 100%)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:25px!important;color:#fff!important;overflow:hidden!important}
html body:not(.role-admin) .print-machine-art:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(135deg,#000,transparent 82%)}
html body:not(.role-admin) .print-machine-art:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-100px;bottom:-110px;border:34px solid rgba(44,210,219,.08);box-shadow:0 0 0 32px rgba(82,96,245,.045)}
html body:not(.role-admin) .printer-machine{position:relative;width:168px;height:175px;flex:0 0 168px;filter:drop-shadow(0 22px 24px rgba(0,0,0,.26))}
html body:not(.role-admin) .paper-sheet{position:absolute;left:38px;top:0;width:92px;height:78px;padding:15px 14px;border-radius:7px 7px 2px 2px;background:#fff;box-shadow:inset 0 -8px 0 #edf2f6;z-index:1;display:flex;flex-direction:column;gap:8px}
html body:not(.role-admin) .paper-sheet i{height:4px;border-radius:4px;background:#d9e5ea}
html body:not(.role-admin) .paper-sheet i:nth-child(1){width:66%;background:#5f80ea}
html body:not(.role-admin) .paper-sheet i:nth-child(3){width:76%}
html body:not(.role-admin) .printer-body{position:absolute;left:10px;top:62px;width:148px;height:84px;border-radius:20px 20px 15px 15px;background:linear-gradient(180deg,#50aaf1,#2b6ccb 70%,#235aa8);box-shadow:inset 0 2px 0 rgba(255,255,255,.42),inset 0 -10px 16px rgba(4,45,98,.14)}
html body:not(.role-admin) .printer-body:before{content:"";position:absolute;left:30px;right:30px;bottom:14px;height:10px;border-radius:6px;background:#164f93;box-shadow:inset 0 2px 3px rgba(0,0,0,.18)}
html body:not(.role-admin) .printer-body b{position:absolute;right:18px;top:17px;width:9px;height:9px;border-radius:50%;background:#54f0bd;box-shadow:0 0 0 5px rgba(84,240,189,.13)}
html body:not(.role-admin) .printer-body em{position:absolute;right:39px;top:17px;width:9px;height:9px;border-radius:50%;background:#ffd45b}
html body:not(.role-admin) .paper-output{position:absolute;left:38px;top:126px;width:92px;height:48px;padding:12px 14px;border-radius:2px 2px 7px 7px;background:#fff;z-index:3;display:flex;flex-direction:column;gap:7px;box-shadow:0 8px 13px rgba(0,0,0,.14)}
html body:not(.role-admin) .paper-output i{height:4px;border-radius:4px;background:#cbdbe3}
html body:not(.role-admin) .paper-output i:first-child{background:linear-gradient(90deg,#18b5cc 0 25%,#755ee8 25% 50%,#fdb439 50% 75%,#ee5d72 75%)}
html body:not(.role-admin) .print-art-copy{position:relative;z-index:2;display:flex;flex-direction:column;gap:6px;min-width:180px}
html body:not(.role-admin) .print-art-copy>span{font-size:8px;letter-spacing:1.4px;color:#7ddbeb;font-weight:900}
html body:not(.role-admin) .print-art-copy b{font-size:24px!important;line-height:1.08;color:#fff!important;letter-spacing:-.55px!important;font-weight:950!important}
html body:not(.role-admin) .print-art-copy strong{font-size:10px!important;color:#70ebc0!important;font-weight:850!important}
html body:not(.role-admin) .print-art-copy small{font-size:9px!important;color:#a8c6d3!important}

/* Quick tools look like professional operator tiles */
html body:not(.role-admin) .print-quick-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-top:15px!important}
html body:not(.role-admin) .print-quick-grid>a{position:relative!important;min-height:94px!important;padding:16px 17px!important;border-radius:16px!important;border:1px solid #d8e5ec!important;border-top:1px solid #d8e5ec!important;background:#fff!important;box-shadow:0 8px 22px rgba(18,61,84,.055)!important;overflow:hidden!important}
html body:not(.role-admin) .print-quick-grid>a:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#21ad8b}
html body:not(.role-admin) .print-quick-grid>a:nth-child(2):before{background:#755fe8}
html body:not(.role-admin) .print-quick-grid>a:nth-child(3):before{background:#f1aa34}
html body:not(.role-admin) .print-quick-grid>a:nth-child(4):before{background:#3a82e6}
html body:not(.role-admin) .print-quick-grid>a:hover{transform:translateY(-3px)!important;border-color:#c5dbe6!important;box-shadow:0 18px 34px rgba(15,52,75,.105)!important}
html body:not(.role-admin) .print-quick-grid .u58-qico{width:44px!important;height:44px!important;border-radius:12px!important;box-shadow:none!important}
html body:not(.role-admin) .print-quick-grid b{font-size:13px!important;color:#13384f!important;font-weight:900!important}
html body:not(.role-admin) .print-quick-grid small{font-size:9.5px!important;line-height:1.3!important;color:#778f9e!important}
html body:not(.role-admin) .print-quick-grid>a>i{font-size:20px!important;color:#9bb0bd!important}

/* Print workflow strip */
html body:not(.role-admin) .print-flow-strip{display:flex;align-items:center;justify-content:center;gap:14px;margin:15px 0 0;padding:13px 18px;border:1px solid #d9e5ec;border-radius:15px;background:linear-gradient(180deg,#fff,#fbfdfe);box-shadow:0 5px 16px rgba(20,61,83,.04)}
html body:not(.role-admin) .print-flow-strip>span{display:flex;align-items:center;gap:8px;min-width:120px}
html body:not(.role-admin) .print-flow-strip>span b{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#eaf0ff;color:#365dde;font-size:9px;font-weight:950}
html body:not(.role-admin) .print-flow-strip>span small{font-size:9px;color:#536f80;font-weight:850;white-space:nowrap}
html body:not(.role-admin) .print-flow-strip>i{width:30px;height:1px;background:linear-gradient(90deg,#cbdce5,#8fc7d6);position:relative}
html body:not(.role-admin) .print-flow-strip>i:after{content:"";position:absolute;right:-1px;top:-3px;border-left:5px solid #8fc7d6;border-top:3px solid transparent;border-bottom:3px solid transparent}

/* ---------- Service catalog: actual document cards ---------- */
html body:not(.role-admin) .print-service-catalog,html body:not(.role-admin) .u58-services-page{margin-top:15px!important;padding:22px!important;border-radius:20px!important;border:1px solid #d6e3eb!important;background:#fff!important;box-shadow:0 12px 34px rgba(14,54,78,.065)!important}
html body:not(.role-admin) .u58-section-kicker{font-size:8.5px!important;letter-spacing:1.25px!important;color:#16819a!important;font-weight:950!important}
html body:not(.role-admin) .u58-section-head h2,html body:not(.role-admin) .u58-services-toolbar h2{margin:4px 0!important;font-size:24px!important;line-height:1.08!important;letter-spacing:-.65px!important;color:#0d3048!important;font-weight:950!important}
html body:not(.role-admin) .u58-section-head p,html body:not(.role-admin) .u58-services-toolbar p{font-size:10.5px!important;color:#758e9d!important}
html body:not(.role-admin) .u58-category-tabs{display:flex!important;gap:7px!important;margin:15px 0 18px!important;padding:3px 0!important;overflow:auto!important;scrollbar-width:none!important}
html body:not(.role-admin) .u58-category-tabs::-webkit-scrollbar{display:none}
html body:not(.role-admin) .u58-category-tabs a{min-height:36px!important;padding:0 13px!important;border-radius:10px!important;border:1px solid #d6e3eb!important;background:#f8fbfd!important;color:#365a70!important;font-size:9.5px!important;font-weight:850!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;gap:7px!important}
html body:not(.role-admin) .u58-category-tabs a span{min-width:19px!important;height:19px!important;border-radius:7px!important;background:#e8eff3!important;color:#5f7a8c!important;display:grid!important;place-items:center!important;font-size:8px!important}
html body:not(.role-admin) .u58-category-tabs a.active{background:#0b354f!important;border-color:#0b354f!important;color:#fff!important;box-shadow:0 7px 18px rgba(11,53,79,.16)!important}
html body:not(.role-admin) .u58-category-tabs a.active span{background:rgba(255,255,255,.14)!important;color:#fff!important}
html body:not(.role-admin) .u58-band{min-height:51px!important;border-radius:12px!important;background:linear-gradient(90deg,#edf9f7,#f6fcfb)!important;border:1px solid #d4eee8!important;border-left:4px solid #21aa88!important;padding:9px 13px!important;margin:12px 0!important}
html body:not(.role-admin) .u58-band.secondary{background:linear-gradient(90deg,#f3f5fb,#fafbfe)!important;border-color:#e0e5f0!important;border-left-color:#6b7d9b!important}
html body:not(.role-admin) .u58-band b{font-size:10.5px!important;color:#214c62!important}
html body:not(.role-admin) .u58-band small{font-size:8.5px!important;color:#78909d!important}
html body:not(.role-admin) .u58-service-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important}
html body:not(.role-admin) .u58-service-card{position:relative!important;display:grid!important;grid-template-columns:64px 1fr!important;gap:14px!important;align-items:start!important;min-height:172px!important;padding:18px!important;border-radius:16px!important;border:1px solid #d7e4eb!important;border-top:1px solid #d7e4eb!important;background:linear-gradient(180deg,#fff 0%,#fbfdfe 100%)!important;box-shadow:0 6px 17px rgba(18,59,82,.045)!important;overflow:hidden!important;transition:.2s ease!important}
html body:not(.role-admin) .u58-service-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#1baa88!important}
html body:not(.role-admin) .u58-service-card:nth-child(4n+2):before{background:#4a73ec!important}
html body:not(.role-admin) .u58-service-card:nth-child(4n+3):before{background:#efab39!important}
html body:not(.role-admin) .u58-service-card:nth-child(4n+4):before{background:#8068ea!important}
html body:not(.role-admin) .u58-service-card:after{content:"";position:absolute;right:-35px;bottom:-48px;width:105px;height:105px;border-radius:50%;border:18px solid rgba(53,113,151,.035);pointer-events:none}
html body:not(.role-admin) .u58-service-card:hover{transform:translateY(-4px)!important;border-color:#b7cedb!important;box-shadow:0 18px 35px rgba(13,50,72,.105)!important}
html body:not(.role-admin) .u58-service-logo{width:62px!important;height:62px!important;border-radius:15px!important;display:grid!important;place-items:center!important;background:#f7fafc!important;border:1px solid #dce7ed!important;box-shadow:0 5px 13px rgba(19,60,82,.055)!important;padding:8px!important}
html body:not(.role-admin) .u58-service-logo:after{content:"";position:absolute;right:4px;top:4px;width:7px;height:7px;border-radius:2px;background:#d9e5eb}
html body:not(.role-admin) .u58-service-logo img{max-width:100%!important;max-height:100%!important;object-fit:contain!important}
html body:not(.role-admin) .u58-service-body{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important}
html body:not(.role-admin) .u58-service-body>small{order:0!important;margin:1px 0 5px!important;font-size:8px!important;line-height:1!important;color:#648297!important;text-transform:uppercase!important;letter-spacing:.65px!important;font-weight:900!important}
html body:not(.role-admin) .u58-service-body>b{order:1!important;margin:0 0 6px!important;font-size:14px!important;line-height:1.25!important;color:#102f46!important;font-weight:920!important;letter-spacing:-.18px!important}
html body:not(.role-admin) .u58-service-body>em{order:2!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:30px!important;margin:0 0 12px!important;font-size:9.5px!important;line-height:1.45!important;color:#718896!important;font-style:normal!important}
html body:not(.role-admin) .u58-service-cta{order:3!important;width:100%!important;min-height:37px!important;margin-top:auto!important;padding:0 10px!important;border-radius:10px!important;background:#f5f9fb!important;border:1px solid #dce7ed!important;color:#234e66!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;box-shadow:none!important;font-size:9px!important}
html body:not(.role-admin) .u58-service-cta strong{font-size:11px!important;color:#08785f!important;font-weight:950!important}
html body:not(.role-admin) .u58-service-cta i{font-style:normal!important;color:#385f77!important;font-weight:900!important}
html body:not(.role-admin) .u58-live,html body:not(.role-admin) .u58-assisted{position:absolute!important;top:12px!important;right:12px!important;z-index:2!important;min-height:20px!important;padding:0 7px!important;border-radius:7px!important;display:flex!important;align-items:center!important;background:#e7f9f1!important;border:1px solid #c7eddf!important;color:#16815e!important;font-size:7px!important;line-height:1!important;letter-spacing:.65px!important;font-weight:950!important;text-transform:uppercase!important}
html body:not(.role-admin) .u58-assisted{background:#f3f5f8!important;border-color:#e0e6eb!important;color:#6c8291!important}
html body:not(.role-admin) .u58-services-full .u58-service-card{min-height:180px!important}
html body:not(.role-admin) .u58-search-tools{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}
html body:not(.role-admin) .u58-search-tools .search{width:320px!important;min-height:42px!important}

/* Hide the old generic helper hero on catalog — new catalog itself is the premium hero */
html body:not(.role-admin) .user-service-page .user-simple-hero{display:none!important}

/* Lower user workspace */
html body:not(.role-admin) .print-lower-grid{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(390px,.75fr)!important;gap:14px!important;margin-top:15px!important}
html body:not(.role-admin) .print-lower-grid .panel{padding:20px!important}
html body:not(.role-admin) .u58-history-list{margin-top:10px!important;display:flex!important;flex-direction:column!important;gap:6px!important}
html body:not(.role-admin) .u58-history-list>a{min-height:53px!important;border-radius:11px!important;border:1px solid #e0e9ee!important;background:#fbfdfe!important;padding:9px 12px!important}
html body:not(.role-admin) .u58-history-list>a:hover{background:#f5f9fb!important;border-color:#cfdee7!important}
html body:not(.role-admin) .u58-history-list b{font-size:10.5px!important;color:#244b62!important}
html body:not(.role-admin) .u58-history-list small{font-size:8.5px!important;color:#8297a5!important}
html body:not(.role-admin) .u58-account-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important}
html body:not(.role-admin) .u58-account-grid>div{min-height:85px!important;padding:12px!important;border-radius:12px!important;background:#f8fbfd!important;border:1px solid #dce7ed!important;display:grid!important;grid-template-columns:36px 1fr!important;grid-template-areas:"icon label" "icon value"!important;align-items:center!important;column-gap:9px!important}
html body:not(.role-admin) .u58-account-grid>div>span{grid-area:icon!important;width:36px!important;height:36px!important;border-radius:10px!important;background:#e9efff!important;color:#3c61dc!important;display:grid!important;place-items:center!important;font-size:14px!important;font-weight:950!important}
html body:not(.role-admin) .u58-account-grid>div>small{grid-area:label!important;font-size:8px!important;text-transform:uppercase!important;letter-spacing:.45px!important;color:#7a919f!important;font-weight:850!important}
html body:not(.role-admin) .u58-account-grid>div>b{grid-area:value!important;font-size:16px!important;color:#173c54!important;font-weight:950!important}
html body:not(.role-admin) .print-trust{margin-top:14px!important;min-height:46px!important;padding:0 16px!important;border-radius:12px!important;display:flex!important;justify-content:center!important;gap:28px!important;background:#fff!important;border:1px solid #d9e5ec!important;box-shadow:0 5px 15px rgba(20,60,82,.035)!important;color:#527083!important}
html body:not(.role-admin) .print-trust span{font-size:9px!important;font-weight:800!important;white-space:nowrap!important}
html body .user-private-note{margin:11px 0 0!important;text-align:center!important;font-size:8.5px!important;color:#8a9daa!important}

/* ---------- Admin print operations ---------- */
html body.role-admin .admin-dashboard .content{padding-top:18px!important}
html body.role-admin .dash-title-band{position:relative!important;overflow:hidden!important;min-height:108px!important;padding:20px 24px!important;border-radius:20px!important;border:0!important;background:linear-gradient(110deg,#071f31 0%,#0a405d 54%,#116e83 100%)!important;color:#fff!important;box-shadow:0 16px 36px rgba(7,43,65,.20)!important}
html body.role-admin .dash-title-band:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:26px 26px;mask-image:linear-gradient(90deg,#000,transparent 78%)}
html body.role-admin .dash-title-band:after{content:"PRINT OPERATIONS";position:absolute;right:-10px;bottom:-15px;font-size:60px;font-weight:950;letter-spacing:3px;color:rgba(255,255,255,.045)}
html body.role-admin .dash-title-band>div{position:relative;z-index:2}
html body.role-admin .dash-title-band h2{font-size:24px!important;letter-spacing:-.6px!important;color:#fff!important;font-weight:950!important}
html body.role-admin .dash-title-band p{font-size:10px!important;color:#aad0dd!important;font-weight:700!important}
html body.role-admin .dash-title-icon{width:43px!important;height:43px!important;border-radius:12px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.13)!important;display:grid!important;place-items:center!important}
html body.role-admin .dash-date{position:relative;z-index:2!important;border:1px solid rgba(255,255,255,.13)!important;background:rgba(255,255,255,.07)!important;border-radius:12px!important;padding:10px 13px!important}
html body.role-admin .dash-date b{font-size:11px!important;color:#fff!important}
html body.role-admin .dash-date small{font-size:8px!important;color:#abd0dc!important}
html body.role-admin .dashboard-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important}
html body.role-admin .dashboard-kpis .dash-kpi{min-height:132px!important;padding:18px!important;border:0!important;border-radius:17px!important;box-shadow:0 12px 26px rgba(16,55,79,.13)!important;color:#fff!important}
html body.role-admin .dashboard-kpis .dash-kpi small{font-size:8px!important;letter-spacing:.7px!important;font-weight:900!important;text-transform:uppercase!important;color:rgba(255,255,255,.82)!important}
html body.role-admin .dashboard-kpis .dash-kpi strong{font-size:28px!important;letter-spacing:-.8px!important;font-weight:950!important;color:#fff!important}
html body.role-admin .dashboard-kpis .dash-kpi em{font-size:9px!important;color:rgba(255,255,255,.78)!important;font-style:normal!important;font-weight:700!important}
html body.role-admin .dashboard-kpis .kpi-blue{background:linear-gradient(135deg,#2f75e6,#315fd6)!important}
html body.role-admin .dashboard-kpis .kpi-green{background:linear-gradient(135deg,#13a878,#168f71)!important}
html body.role-admin .dashboard-kpis .kpi-orange{background:linear-gradient(135deg,#f1a232,#e48a24)!important}
html body.role-admin .dashboard-kpis .kpi-purple{background:linear-gradient(135deg,#7961e7,#6849d7)!important}
html body.role-admin .kpi-big-icon{font-size:18px!important;filter:saturate(.8)!important}
html body.role-admin .admin-control-hub{margin-top:14px!important;padding:19px!important}
html body.role-admin .admin-control-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important;margin-top:13px!important}
html body.role-admin .admin-control-grid>a{min-height:118px!important;padding:15px 10px!important;border-radius:14px!important;background:#fbfdfe!important;border:1px solid #d9e5ec!important;box-shadow:none!important;text-decoration:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;text-align:center!important}
html body.role-admin .admin-control-grid>a:hover{background:#fff!important;border-color:#bdd3df!important;box-shadow:0 13px 26px rgba(13,53,76,.095)!important}
html body.role-admin .admin-control-grid>a>span{width:42px!important;height:42px!important;border-radius:12px!important;background:#edf3ff!important;display:grid!important;place-items:center!important;font-size:16px!important;color:#3f64dc!important}
html body.role-admin .admin-control-grid>a:nth-child(2)>span{background:#eaf9f3!important;color:#13815f!important}
html body.role-admin .admin-control-grid>a:nth-child(3)>span{background:#fff7e8!important;color:#bd7b12!important}
html body.role-admin .admin-control-grid>a:nth-child(4)>span{background:#f3efff!important;color:#7255d9!important}
html body.role-admin .admin-control-grid>a:nth-child(5)>span{background:#eaf8fb!important;color:#137b93!important}
html body.role-admin .admin-control-grid>a:nth-child(6)>span{background:#fff0f3!important;color:#c94e65!important}
html body.role-admin .admin-control-grid b{font-size:11px!important;color:#183d55!important;font-weight:900!important}
html body.role-admin .admin-control-grid small{font-size:8.5px!important;line-height:1.3!important;color:#8195a2!important}
html body.role-admin .dashboard-two{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(500px,.85fr)!important;gap:14px!important;margin-top:14px!important}
html body.role-admin .dashboard-two>.panel{padding:18px!important}
html body.role-admin .recent-table-head{border-radius:10px!important;background:#f1f6fa!important;color:#567489!important;font-size:8.5px!important;letter-spacing:.35px!important;text-transform:uppercase!important;font-weight:900!important}
html body.role-admin .recent-row{min-height:42px!important;border-bottom:1px solid #edf2f5!important;font-size:9px!important;color:#315269!important}
html body.role-admin .recent-row:hover{background:#f8fbfd!important}
html body.role-admin .ref-bars{min-height:210px!important}
html body.role-admin .ref-bar-col i{border-radius:7px 7px 2px 2px!important;background:linear-gradient(180deg,#4b88ed,#3470dc)!important;box-shadow:0 5px 11px rgba(48,106,218,.18)!important}
html body.role-admin .dashboard-bottom-grid{gap:14px!important;margin-top:14px!important}
html body.role-admin .quick-manage-grid>a{border-radius:13px!important;border:1px solid #dce7ed!important;background:#fbfdfe!important;box-shadow:none!important}
html body.role-admin .system-list>div{border-radius:10px!important;background:#f8fbfd!important;border:1px solid #e0e9ee!important}

/* ---------- Tables / forms across the whole portal ---------- */
html body .table-wrap{border:1px solid #d8e4eb!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}
html body .table{font-size:10.5px!important}
html body .table thead th{height:43px!important;background:#f1f6f9!important;color:#557185!important;font-size:8.5px!important;letter-spacing:.65px!important;font-weight:900!important;text-transform:uppercase!important;border-bottom:1px solid #dce6ec!important}
html body .table tbody td{padding-top:11px!important;padding-bottom:11px!important;border-bottom-color:#ebf1f4!important;color:#34556a!important}
html body .table tbody tr:hover{background:#f8fbfd!important}
html body .form-grid{gap:13px!important}
html body .field label{font-size:9.5px!important;color:#426178!important;font-weight:850!important;margin-bottom:6px!important}
html body .field small{font-size:8.5px!important;color:#8296a3!important;line-height:1.35!important}

/* ---------- SuperChat ---------- */
html body .superchat-float{right:22px!important;bottom:20px!important;width:52px!important;height:52px!important;border-radius:16px!important;background:linear-gradient(135deg,#4a70ee,#7049da)!important;box-shadow:0 15px 28px rgba(69,71,202,.26)!important;filter:none!important}
html body .superchat-orb{background:transparent!important}
html body .superchat-popup-panel{border-radius:18px!important;overflow:hidden!important;border:1px solid #cfdde6!important;box-shadow:0 28px 80px rgba(7,31,48,.26)!important}
html body .superchat-popup-head{background:linear-gradient(135deg,#0b2c43,#0c506b)!important}

/* ---------- Dark theme: retain print identity ---------- */
html[data-theme="dark"] body{--p76-bg:#07141e;--p76-paper:#0e2330;--p76-line:#244052;--p76-ink:#edf8ff;--p76-copy:#a5bdca;--p76-muted:#8fa7b4;background:#07141e!important;color:#edf8ff!important}
html[data-theme="dark"] body .main{background:linear-gradient(180deg,#0a1a25,#081620)!important}
html[data-theme="dark"] body .portal-masthead,html[data-theme="dark"] body .topbar,html[data-theme="dark"] body .portal-topbar,html[data-theme="dark"] body .panel,html[data-theme="dark"] body .stat{background:#0e2230!important;border-color:#223f50!important;color:#edf8ff!important}
html[data-theme="dark"] body .mast-brand b,html[data-theme="dark"] body .mast-profile small b,html[data-theme="dark"] body .topbar h1,html[data-theme="dark"] body .portal-topbar h1,html[data-theme="dark"] body .panel-head h2{color:#edf8ff!important}
html[data-theme="dark"] body:not(.role-admin) .print-studio-hero,html[data-theme="dark"] body:not(.role-admin) .print-service-catalog,html[data-theme="dark"] body:not(.role-admin) .u58-services-page,html[data-theme="dark"] body:not(.role-admin) .print-quick-grid>a,html[data-theme="dark"] body:not(.role-admin) .print-flow-strip,html[data-theme="dark"] body:not(.role-admin) .print-trust{background:#0e2230!important;border-color:#244052!important}
html[data-theme="dark"] body:not(.role-admin) .print-studio-hero h2,html[data-theme="dark"] body:not(.role-admin) .u58-section-head h2,html[data-theme="dark"] body:not(.role-admin) .u58-services-toolbar h2,html[data-theme="dark"] body:not(.role-admin) .u58-service-body>b,html[data-theme="dark"] body:not(.role-admin) .print-quick-grid b{color:#eef8ff!important}
html[data-theme="dark"] body:not(.role-admin) .u58-service-card,html[data-theme="dark"] body:not(.role-admin) .u58-history-list>a,html[data-theme="dark"] body:not(.role-admin) .u58-account-grid>div{background:#112735!important;border-color:#294657!important}
html[data-theme="dark"] body:not(.role-admin) .u58-service-cta,html[data-theme="dark"] body:not(.role-admin) .u58-category-tabs a{background:#142d3b!important;border-color:#2b4859!important;color:#b9ced9!important}
html[data-theme="dark"] body .table-wrap{background:#0e2230!important;border-color:#284656!important}
html[data-theme="dark"] body .table thead th{background:#132b39!important;color:#a7beca!important;border-bottom-color:#284656!important}
html[data-theme="dark"] body .table tbody td{color:#c8d9e1!important;border-bottom-color:#1d3746!important}
html[data-theme="dark"] body input,html[data-theme="dark"] body select,html[data-theme="dark"] body textarea{background:#102634!important;border-color:#2b4859!important;color:#edf8ff!important}

/* ---------- Responsive ---------- */
@media(max-width:1450px){
  :root{--p76-sidebar:250px}
  html body:not(.role-admin) .print-studio-hero{grid-template-columns:minmax(0,1.15fr) minmax(390px,.85fr)!important}
  html body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body .mast-slogan{display:none!important}
}
@media(max-width:1180px){
  html body:not(.role-admin) .print-studio-hero{grid-template-columns:1fr!important}
  html body:not(.role-admin) .print-machine-art{min-height:220px!important}
  html body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body:not(.role-admin) .print-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body:not(.role-admin) .print-flow-strip{overflow-x:auto!important;justify-content:flex-start!important}
  html body.role-admin .admin-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body.role-admin .dashboard-two{grid-template-columns:1fr!important}
  html body .mast-private{display:none!important}
}
@media(max-width:920px){
  :root{--p76-sidebar:236px}
  html body:not(.role-admin) .print-lower-grid{grid-template-columns:1fr!important}
  html body.role-admin .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .u58-mast-search{display:none!important}
}
@media(max-width:760px){
  :root{--p76-mast:64px;--p76-sidebar:min(86vw,300px)}
  html body .portal-masthead{height:64px!important;min-height:64px!important;padding:0 10px!important}
  html body .mast-brand{min-width:0!important}
  html body .mast-brand img{width:38px!important;height:38px!important}
  html body .mast-brand b{font-size:15px!important}
  html body .mast-brand small{display:none!important}
  html body .mast-wallet{min-width:0!important;width:auto!important;padding:0 8px!important}
  html body .mast-wallet small,html body .mast-wallet span{display:none!important}
  html body .mast-profile small{display:none!important}
  html body .mast-profile{width:40px!important;padding:0 4px!important}
  html body .mast-bell{display:none!important}
  html body .sidebar{transform:translateX(-105%)!important;transition:transform .22s ease!important;z-index:250!important}
  html body.sidebar-open .sidebar,html body .sidebar.open{transform:translateX(0)!important}
  html body .main{margin-left:0!important}
  html body .topbar,html body .portal-topbar{height:60px!important;min-height:60px!important;padding:0 12px!important}
  html body .topbar h1,html body .portal-topbar h1{font-size:17px!important}
  html body .topbar .sub,html body .portal-topbar .sub{display:none!important}
  html body .content{padding:12px!important}
  html body:not(.role-admin) .print-studio-hero{min-height:auto!important;border-radius:17px!important}
  html body:not(.role-admin) .print-studio-hero .u58-hero-copy{padding:24px 20px!important}
  html body:not(.role-admin) .print-studio-hero h2{font-size:28px!important}
  html body:not(.role-admin) .print-machine-art{display:none!important}
  html body:not(.role-admin) .print-hero-meta>span{min-width:94px!important}
  html body:not(.role-admin) .print-quick-grid{grid-template-columns:1fr!important}
  html body:not(.role-admin) .print-flow-strip{display:none!important}
  html body:not(.role-admin) .print-service-catalog,html body:not(.role-admin) .u58-services-page{padding:14px!important;border-radius:16px!important}
  html body:not(.role-admin) .u58-section-head{align-items:flex-start!important;gap:12px!important}
  html body:not(.role-admin) .u58-section-head h2,html body:not(.role-admin) .u58-services-toolbar h2{font-size:20px!important}
  html body:not(.role-admin) .u58-head-actions{display:none!important}
  html body:not(.role-admin) .u58-service-grid{grid-template-columns:1fr!important}
  html body:not(.role-admin) .u58-service-card{min-height:160px!important;grid-template-columns:58px 1fr!important;padding:15px!important}
  html body:not(.role-admin) .u58-service-logo{width:56px!important;height:56px!important}
  html body:not(.role-admin) .u58-search-tools .search{width:100%!important}
  html body:not(.role-admin) .print-trust{overflow-x:auto!important;justify-content:flex-start!important;gap:18px!important}
  html body.role-admin .dash-title-band{min-height:94px!important;padding:16px!important}
  html body.role-admin .dash-title-band h2{font-size:19px!important}
  html body.role-admin .dash-date{display:none!important}
  html body.role-admin .dashboard-kpis{grid-template-columns:1fr 1fr!important}
  html body.role-admin .dashboard-kpis .dash-kpi{min-height:112px!important}
  html body.role-admin .admin-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body.role-admin .admin-control-grid>a{min-height:108px!important}
}
@media(max-width:480px){
  html body:not(.role-admin) .print-hero-meta{display:grid!important;grid-template-columns:repeat(3,1fr)!important;width:100%!important}
  html body:not(.role-admin) .print-hero-meta>span{min-width:0!important;padding:8px!important;display:block!important;text-align:center!important}
  html body:not(.role-admin) .print-hero-meta small{display:block!important;margin-top:2px!important}
  html body.role-admin .dashboard-kpis{grid-template-columns:1fr!important}
  html body.role-admin .admin-control-grid{grid-template-columns:1fr 1fr!important}
}

/* ===== SOURCE: app-v677.css ===== */

/* MG Print Portal V6.77.0 — Print Atelier Premium Skin
   Goal: make the portal feel unmistakably like a premium print/document production workspace. */
:root{
  --p77-deep:#061521;--p77-panel:#0b2334;--p77-line:#d6e3ec;--p77-ink:#0f3148;--p77-copy:#607b8c;
  --p77-teal:#0d8f89;--p77-teal2:#17b6aa;--p77-blue:#4069f2;--p77-indigo:#6c57e8;--p77-gold:#f2b24d;
  --p77-red:#ef6977;--p77-paper:#ffffff;--p77-paper2:#f7fbfd;--p77-shadow:0 16px 40px rgba(10,48,72,.08);
}
html body{background:linear-gradient(180deg,#edf4f8 0%,#f6fafc 42%,#ecf3f7 100%)!important}
html body:before{background-image:linear-gradient(rgba(10,48,72,.02) 1px,transparent 1px),linear-gradient(90deg,rgba(10,48,72,.02) 1px,transparent 1px)!important;background-size:24px 24px!important;mask-image:linear-gradient(to bottom,rgba(0,0,0,.34),transparent 58%)!important}
html body:after{content:"";position:fixed;right:-160px;top:112px;width:460px;height:460px;border-radius:50%;pointer-events:none;z-index:-1;background:radial-gradient(circle,rgba(73,118,247,.07),transparent 62%)}

/* Global surfaces */
html body .panel,html body .stat,html body .table-wrap{box-shadow:var(--p77-shadow)!important}
html body .panel{background:linear-gradient(180deg,#fff,#fbfdff)!important}
html body .panel-head h2{font-weight:950!important;letter-spacing:-.45px!important}
html body .btn{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
html body .btn.primary{background:linear-gradient(135deg,var(--p77-blue),#214fd8)!important}
html body input,html body select,html body textarea{background:linear-gradient(180deg,#fff,#fbfdff)!important}

/* Premium masthead */
html body .portal-masthead{backdrop-filter:blur(10px)!important;background:rgba(255,255,255,.94)!important}
html body .mast-brand img{background:linear-gradient(180deg,#fff,#eef8fb)!important}
html body .mast-brand b{letter-spacing:.8px!important}
html body .mast-brand small{font-size:10px!important;color:#678291!important}
html body .mast-slogan{background:linear-gradient(180deg,#fff,#f7fbfd)!important;border-color:#d5e4ec!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important}
html body .mast-wallet{background:linear-gradient(135deg,#eef5ff,#f9fcff)!important;border:1px solid #d7e2fb!important;box-shadow:0 10px 24px rgba(53,95,226,.08)!important}
html body .mast-bell,html body .mast-profile{background:linear-gradient(180deg,#fff,#f8fbfd)!important;border:1px solid #d8e5ec!important;box-shadow:0 8px 18px rgba(15,52,74,.06)!important}
html body .mast-profile>span{box-shadow:0 8px 18px rgba(14,86,115,.18)!important}
html body .mast-private{max-width:92px!important;line-height:1.15!important;border-radius:10px!important;padding:7px 9px!important}
html body .mast-script{display:inline-flex!important;align-items:center!important;height:34px!important;padding:0 12px!important;border-radius:999px!important;background:linear-gradient(135deg,#0b3c57,#126783)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;letter-spacing:1px!important;box-shadow:0 12px 22px rgba(9,63,90,.16)!important}

/* Sidebar: classic premium print console */
html body .sidebar{padding:16px 14px 16px!important}
html body .sidebar:before{content:"";position:absolute;right:10px;top:10px;bottom:10px;width:4px;border-radius:999px;background:linear-gradient(180deg,#19bbd6 0 25%,#6f59e8 25% 50%,#f3b44e 50% 75%,#ef6977 75% 100%);opacity:.95}
html body .print-side-identity{padding:12px 12px!important;border-radius:18px!important;border-color:rgba(176,223,237,.18)!important;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.035))!important;box-shadow:0 18px 30px rgba(0,0,0,.14)!important}
html body .print-side-mark{background:linear-gradient(145deg,#f8feff,#c8f2f7)!important}
html body .print-side-identity b{font-size:11.5px!important}
html body .print-side-identity small{font-size:9.2px!important}
html body .print-side-pulse{padding:12px 13px!important;border-radius:15px!important;background:linear-gradient(180deg,rgba(5,16,25,.50),rgba(8,25,37,.36))!important}
html body .print-side-pulse small{letter-spacing:.75px!important}
html body .print-side-primary{min-height:44px!important;border-radius:14px!important;background:linear-gradient(135deg,#37aae7,#4767f1)!important;box-shadow:0 16px 26px rgba(42,95,218,.28)!important}
html body .nav-section-title{color:#80a7bb!important;letter-spacing:1.3px!important;font-size:8.4px!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{position:relative!important;min-height:47px!important;border-radius:14px!important;border:1px solid transparent!important;background:transparent!important;padding:0 14px!important;color:#d7e6ef!important;box-shadow:none!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover{transform:translateX(2px)!important;background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.045))!important;border-color:rgba(169,215,231,.16)!important}
html body .sidebar .nav-item.active{background:linear-gradient(135deg,#fafdff,#edf8ff)!important;color:#0c3650!important;border-color:#cfe1eb!important;box-shadow:0 16px 26px rgba(8,38,57,.16)!important}
html body .sidebar .nav-item.active .nav-ico{background:linear-gradient(145deg,#ecf7ff,#d6eeff)!important;color:#254fd1!important}
html body .sidebar .nav-ico{width:30px!important;height:30px!important;border-radius:10px!important;background:rgba(255,255,255,.06)!important;color:currentColor!important;display:grid!important;place-items:center!important}
html body .sidebar .nav-item.active:before{content:"";position:absolute;left:-14px;top:9px;bottom:9px;width:5px;border-radius:999px;background:linear-gradient(180deg,#17b6aa,#4069f2)!important}
html body .sidebar .nav-label{font-size:11.4px!important;font-weight:850!important;letter-spacing:.05px!important}
html body .side-footer{margin-top:16px!important;padding-top:14px!important;border-top:1px solid rgba(164,205,221,.10)!important}
html body .side-tool,html body .side-logout-row{border-radius:14px!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(167,211,228,.10)!important;color:#eaf4f8!important}
html body .side-tool b{background:rgba(255,255,255,.08)!important;border-radius:999px!important;padding:4px 8px!important}

/* Topbars / page intros */
html body .topbar{position:relative!important;border:1px solid #d9e6ed!important;border-radius:18px!important;background:linear-gradient(135deg,#fff,#f7fbfd)!important;box-shadow:0 12px 28px rgba(12,46,69,.06)!important;padding:16px 18px!important}
html body .topbar:after{content:"";position:absolute;left:0;right:0;top:0;height:4px;border-radius:18px 18px 0 0;background:linear-gradient(90deg,#17b6aa,#4069f2,#6f59e8,#f3b44e)!important}
html body .topbar h1{font-size:28px!important;letter-spacing:-.75px!important;color:#0d3048!important}
html body .topbar .sub{font-size:11px!important;color:#6e8797!important}
html body .wallet-pill{background:linear-gradient(135deg,#f2f9ff,#fdfefe)!important;border:1px solid #d5e4ec!important;color:#214961!important}

/* User workspace hero */
html body:not(.role-admin) .print-studio-hero{position:relative!important;overflow:hidden!important;border-radius:24px!important;border:1px solid #d7e5ec!important;background:linear-gradient(135deg,#ffffff 0%,#f4fbff 56%,#ecf7f8 100%)!important;box-shadow:0 20px 48px rgba(16,56,79,.10)!important}
html body:not(.role-admin) .print-studio-hero:before{content:"";position:absolute;right:-65px;top:-85px;width:290px;height:290px;border-radius:50%;background:radial-gradient(circle,rgba(71,110,239,.14),transparent 63%)}
html body:not(.role-admin) .print-studio-hero:after{content:"";position:absolute;left:42%;bottom:-70px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(22,182,170,.11),transparent 63%)}
html body:not(.role-admin) .u58-kicker{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:7px 12px!important;border-radius:999px!important;background:#eaf7fb!important;border:1px solid #d6eaee!important;color:#0b7d91!important;font-size:9px!important}
html body:not(.role-admin) .u58-kicker:before{content:"PRINT STUDIO";display:inline-flex;padding:3px 8px;border-radius:999px;background:#0b3650;color:#fff;font-size:8px;letter-spacing:.7px}
html body:not(.role-admin) .u58-hero-copy h2{font-size:34px!important;line-height:1.02!important;letter-spacing:-1.15px!important}
html body:not(.role-admin) .u58-hero-copy p{max-width:640px!important;font-size:12px!important;line-height:1.7!important}
html body:not(.role-admin) .print-hero-meta span{background:linear-gradient(180deg,#fff,#f6fbfd)!important;border:1px solid #d8e5ec!important;box-shadow:0 12px 24px rgba(18,58,81,.06)!important}
html body:not(.role-admin) .print-machine-art{border-radius:20px!important;background:linear-gradient(135deg,#f9fcff,#eff9fb)!important;border:1px solid #dbe8ee!important}
html body:not(.role-admin) .printer-machine{filter:drop-shadow(0 18px 30px rgba(16,56,79,.12))!important}
html body:not(.role-admin) .print-art-copy span{color:#14849a!important;letter-spacing:1.2px!important}
html body:not(.role-admin) .print-art-copy b{font-size:24px!important;letter-spacing:-.6px!important;color:#113047!important}

/* Quick grid */
html body:not(.role-admin) .print-quick-grid{gap:14px!important}
html body:not(.role-admin) .print-quick-grid>a{position:relative!important;overflow:hidden!important;padding:18px 18px!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;border:1px solid #d8e5ec!important;box-shadow:0 16px 32px rgba(12,50,73,.07)!important}
html body:not(.role-admin) .print-quick-grid>a:after{content:"";position:absolute;right:-20px;bottom:-24px;width:78px;height:78px;border-radius:18px;transform:rotate(15deg);background:linear-gradient(135deg,rgba(64,105,242,.06),rgba(22,182,170,.05))}
html body:not(.role-admin) .print-quick-grid b{font-size:13px!important}
html body:not(.role-admin) .print-quick-grid small{font-size:9.4px!important;line-height:1.5!important}
html body:not(.role-admin) .print-flow-strip{background:linear-gradient(135deg,#fff,#f8fcfd)!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(16,54,78,.05)!important}

/* Service catalog */
html body:not(.role-admin) .print-service-catalog,
html body:not(.role-admin) .u58-services-page{border-radius:24px!important;box-shadow:0 20px 48px rgba(13,54,78,.08)!important}
html body:not(.role-admin) .u58-services-toolbar,
html body:not(.role-admin) .u58-section-head{align-items:flex-end!important}
html body:not(.role-admin) .u58-services-toolbar h2,
html body:not(.role-admin) .u58-section-head h2{font-size:28px!important;letter-spacing:-.85px!important}
html body:not(.role-admin) .u58-search-tools .search{border-radius:13px!important;background:linear-gradient(180deg,#fff,#f9fcfd)!important}
html body:not(.role-admin) .u58-band,
html body:not(.role-admin) .u58-band.secondary{box-shadow:inset 0 1px 0 rgba(255,255,255,.55)!important}
html body:not(.role-admin) .u58-service-grid{gap:15px!important}
html body:not(.role-admin) .u58-service-card{min-height:186px!important;padding:18px 18px 16px 18px!important;border-radius:19px!important;border:1px solid #d8e5ec!important;box-shadow:0 16px 34px rgba(14,54,78,.075)!important}
html body:not(.role-admin) .u58-service-card:after{right:-28px!important;bottom:-36px!important;width:118px!important;height:118px!important;border-width:16px!important}
html body:not(.role-admin) .u58-service-card:before{width:5px!important}
html body:not(.role-admin) .u58-service-card .u58-service-logo{position:relative!important;overflow:hidden!important}
html body:not(.role-admin) .u58-service-card .u58-service-logo:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.55),transparent 45%);pointer-events:none}
html body:not(.role-admin) .u58-service-body>b{font-size:16px!important;line-height:1.22!important}
html body:not(.role-admin) .u58-service-body>em{font-size:10px!important;min-height:34px!important}
html body:not(.role-admin) .u58-service-cta{min-height:39px!important;border-radius:11px!important;background:linear-gradient(180deg,#f7fbfd,#f2f8fb)!important}
html body:not(.role-admin) .u58-service-card.live{background:linear-gradient(180deg,#ffffff 0%,#f7fffc 100%)!important}
html body:not(.role-admin) .u58-live,html body:not(.role-admin) .u58-assisted{top:13px!important;right:13px!important;padding:0 9px!important;border-radius:999px!important;font-size:7.2px!important}
html body:not(.role-admin) .u58-live{background:#e7fbf4!important;color:#127c5a!important;border-color:#c2eddc!important}
html body:not(.role-admin) .u58-assisted{background:#f5f7fa!important;color:#607787!important;border-color:#e0e6eb!important}
html body:not(.role-admin) .u58-history-list>a,.u58-account-grid>div{box-shadow:0 10px 22px rgba(13,52,76,.045)!important}
html body:not(.role-admin) .print-trust{border-radius:18px!important;background:linear-gradient(135deg,#fff,#f7fbfd)!important;border:1px solid #d9e6ed!important;box-shadow:0 14px 30px rgba(12,48,72,.06)!important}

/* Admin dashboard / control center */
html body.role-admin .dashboard-kpis{gap:14px!important}
html body.role-admin .dashboard-kpis .dash-kpi{position:relative!important;overflow:hidden!important;box-shadow:0 18px 34px rgba(13,45,70,.15)!important}
html body.role-admin .dashboard-kpis .dash-kpi:after{content:"";position:absolute;right:-12px;bottom:-18px;width:92px;height:92px;border-radius:22px;transform:rotate(16deg);background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.03))}
html body.role-admin .admin-control-hub{border-radius:24px!important;box-shadow:0 18px 40px rgba(15,54,78,.08)!important}
html body.role-admin .admin-control-grid{gap:12px!important}
html body.role-admin .admin-control-grid>a{position:relative!important;overflow:hidden!important;min-height:126px!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 14px 30px rgba(12,48,70,.06)!important}
html body.role-admin .admin-control-grid>a:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--card-accent,#3f64dc)!important}
html body.role-admin .admin-control-grid>a:nth-child(1){--card-accent:#3f64dc}
html body.role-admin .admin-control-grid>a:nth-child(2){--card-accent:#16a17b}
html body.role-admin .admin-control-grid>a:nth-child(3){--card-accent:#d79732}
html body.role-admin .admin-control-grid>a:nth-child(4){--card-accent:#7a5ae7}
html body.role-admin .admin-control-grid>a:nth-child(5){--card-accent:#11a3bf}
html body.role-admin .admin-control-grid>a:nth-child(6){--card-accent:#d25b70}
html body.role-admin .admin-control-grid b{font-size:12px!important}
html body.role-admin .admin-control-grid small{font-size:8.8px!important;max-width:140px!important}
html body.role-admin .dash-chart,.dash-recent,.quick-panel,.status-panel{border-radius:22px!important;box-shadow:0 18px 38px rgba(12,48,70,.07)!important}
html body.role-admin .recent-row{border-radius:10px!important;padding-left:10px!important;padding-right:10px!important}
html body.role-admin .recent-row:hover{box-shadow:inset 0 0 0 1px #d7e5ec!important}
html body.role-admin .system-list>div{min-height:52px!important;padding:0 15px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
html body.role-admin .system-list span{color:#1ca786!important}

/* Universal tables/forms */
html body .table-wrap{border-radius:18px!important;overflow:hidden!important}
html body .table tbody tr:hover{box-shadow:inset 0 0 0 999px rgba(245,250,252,.8)!important}
html body .field label{letter-spacing:.18px!important}
html body .search{background:linear-gradient(180deg,#fff,#f9fcfd)!important}

/* Command modal */
html body .command-panel{border-radius:24px!important;border:1px solid #d9e6ed!important;box-shadow:0 30px 90px rgba(8,31,48,.26)!important;background:linear-gradient(180deg,#fff,#f7fbfd)!important}
html body .command-head{background:linear-gradient(135deg,#0b2f46,#0a516b)!important;color:#fff!important}
html body .command-grid>a{border-radius:16px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;border:1px solid #d9e6ed!important;box-shadow:0 14px 28px rgba(12,48,70,.06)!important}

/* Dark mode */
html[data-theme="dark"] body{background:#07141e!important}
html[data-theme="dark"] body:before{background-image:linear-gradient(rgba(183,210,225,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(183,210,225,.035) 1px,transparent 1px)!important}
html[data-theme="dark"] body .portal-masthead{background:rgba(9,24,35,.92)!important}
html[data-theme="dark"] body .mast-script{background:linear-gradient(135deg,#0f415c,#166986)!important}
html[data-theme="dark"] body .topbar,html[data-theme="dark"] body .panel,html[data-theme="dark"] body .table-wrap{box-shadow:none!important}
html[data-theme="dark"] body .sidebar .nav-item.active{background:linear-gradient(135deg,#103045,#0f2b3e)!important;color:#eef8ff!important;border-color:#28506b!important}
html[data-theme="dark"] body .sidebar .nav-item.active .nav-ico{background:rgba(255,255,255,.08)!important;color:#9ac3ff!important}
html[data-theme="dark"] body:not(.role-admin) .print-studio-hero,
html[data-theme="dark"] body:not(.role-admin) .print-service-catalog,
html[data-theme="dark"] body:not(.role-admin) .u58-services-page,
html[data-theme="dark"] body:not(.role-admin) .print-quick-grid>a,
html[data-theme="dark"] body:not(.role-admin) .print-flow-strip,
html[data-theme="dark"] body:not(.role-admin) .print-trust,
html[data-theme="dark"] body.role-admin .admin-control-grid>a{background:linear-gradient(180deg,#0f2431,#102735)!important}

/* Responsive */
@media(max-width:1450px){html body .mast-script{display:none!important}}
@media(max-width:1180px){html body .topbar h1{font-size:24px!important}html body:not(.role-admin) .u58-hero-copy h2{font-size:28px!important}}
@media(max-width:780px){html body:not(.role-admin) .u58-service-grid{grid-template-columns:1fr!important}html body .content{padding:14px!important}html body .topbar{padding:14px!important}}

/* V6.77.1 — Sidebar proportional correction based on live desktop review */
:root{--p76-sidebar:292px}
html body .sidebar{width:292px!important;padding:14px 15px 14px!important}
html body .main{margin-left:292px!important}
html body .sidebar:before{right:0!important;top:0!important;bottom:0!important;width:2px!important;border-radius:0!important;opacity:.36!important}
html body .admin-side-label{display:none!important}
html body .print-side-identity{grid-template-columns:40px minmax(0,1fr) 8px!important;gap:10px!important;min-height:58px!important;padding:9px 11px!important;margin-bottom:9px!important}
html body .print-side-mark{width:40px!important;height:40px!important;border-radius:12px!important}
html body .print-side-identity b{font-size:11px!important;letter-spacing:1px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body .print-side-identity small{font-size:8.8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body .print-side-pulse{padding:10px 12px!important;gap:9px!important}
html body .print-side-pulse>span{align-items:center!important}
html body .print-side-pulse small{font-size:7.2px!important;line-height:1.15!important;letter-spacing:.65px!important;white-space:nowrap!important}
html body .print-side-pulse b{font-size:14px!important}
html body .print-side-primary{min-height:43px!important;padding:0 12px!important;border-radius:13px!important;margin-bottom:11px!important}
html body .print-side-primary span{font-size:10.5px!important;white-space:nowrap!important}
html body .sidebar nav{padding:2px 3px 148px!important;overflow-x:hidden!important}
html body .sidebar .nav-section{margin:15px 8px 7px!important;padding:0!important}
html body .sidebar .nav-section span{font-size:7.8px!important;letter-spacing:1.1px!important;white-space:nowrap!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{min-height:45px!important;margin-bottom:5px!important;padding:0 10px!important;gap:10px!important;border-radius:13px!important;overflow:hidden!important}
html body .sidebar .nav-ico{width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:9px!important}
html body .sidebar .nav-ico svg{width:16px!important;height:16px!important}
html body .sidebar .nav-label{font-size:10.8px!important;line-height:1.15!important;font-weight:830!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;min-width:0!important;max-width:190px!important}
html body .sidebar .nav-item.active:before{left:-3px!important;top:9px!important;bottom:9px!important;width:3px!important}
html body .side-footer{left:15px!important;right:15px!important;bottom:14px!important}
html body .side-tool,html body .side-logout-row{min-height:43px!important}
html body .side-tool span,html body .side-logout-row span{font-size:10.5px!important;white-space:nowrap!important}
@media(max-width:1450px){:root{--p76-sidebar:278px}html body .sidebar{width:278px!important}html body .main{margin-left:278px!important}html body .sidebar .nav-label{max-width:176px!important}}
@media(max-width:1180px){:root{--p76-sidebar:260px}html body .sidebar{width:260px!important}html body .main{margin-left:260px!important}html body .sidebar .nav-label{max-width:158px!important;font-size:10.2px!important}}


/* V6.77.2 — Service CTA clarity improvement */
html body:not(.role-admin) .u58-service-card,
html body:not(.role-admin) .print-quick-grid>a,
html body:not(.role-admin) .u58-category-tabs a{cursor:pointer!important}
html body:not(.role-admin) .u58-service-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
html body:not(.role-admin) .u58-service-card:hover{transform:translateY(-5px)!important;border-color:#b7cfe2!important;box-shadow:0 24px 42px rgba(14,54,78,.12)!important}
html body:not(.role-admin) .u58-service-card:active{transform:translateY(-1px)!important}
html body:not(.role-admin) .u58-service-card:focus-visible{outline:0!important;box-shadow:0 0 0 4px rgba(64,105,242,.13),0 24px 42px rgba(14,54,78,.14)!important}
html body:not(.role-admin) .u58-service-card .u58-service-body{padding-right:6px!important}
html body:not(.role-admin) .u58-service-cta{position:relative!important;min-height:44px!important;padding:0 13px!important;border-radius:13px!important;background:linear-gradient(135deg,#2e61ef,#1f4bd2)!important;border:1px solid #2f5de2!important;color:#fff!important;box-shadow:0 14px 22px rgba(40,86,223,.22)!important}
html body:not(.role-admin) .u58-service-cta:before{content:"";position:absolute;inset:1px;border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,0));pointer-events:none}
html body:not(.role-admin) .u58-service-cta strong,
html body:not(.role-admin) .u58-service-cta{font-weight:900!important}
html body:not(.role-admin) .u58-service-cta strong{font-size:11px!important;color:#fff!important;letter-spacing:.2px!important}
html body:not(.role-admin) .u58-service-cta i{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:118px!important;height:30px!important;padding:0 12px!important;border-radius:999px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;font-style:normal!important;font-size:9px!important;font-weight:950!important;letter-spacing:.35px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.15)!important}
html body:not(.role-admin) .u58-service-card:hover .u58-service-cta{background:linear-gradient(135deg,#2456ea,#153fc4)!important;box-shadow:0 18px 28px rgba(30,77,214,.28)!important}
html body:not(.role-admin) .u58-service-card:hover .u58-service-cta i{background:rgba(255,255,255,.20)!important;transform:translateX(2px)!important}
html body:not(.role-admin) .u58-click-hint{display:inline-flex!important;align-items:center!important;gap:6px!important;margin-top:8px!important;color:#5f7a8e!important;font-size:8.2px!important;line-height:1!important;font-weight:900!important;letter-spacing:.45px!important;text-decoration:none!important;text-transform:uppercase!important}
html body:not(.role-admin) .u58-click-hint:before{content:"↗";display:inline-grid;place-items:center;width:16px;height:16px;border-radius:6px;background:#eef4ff;color:#2e5be0;font-size:10px;font-weight:900}
html body:not(.role-admin) .u58-service-card:hover .u58-click-hint{color:#2d5ae0!important}
html body:not(.role-admin) .u58-service-card:hover .u58-service-logo{box-shadow:0 12px 24px rgba(14,54,78,.10)!important;border-color:#cbdce7!important}
html body:not(.role-admin) .u58-live,html body:not(.role-admin) .u58-assisted{box-shadow:0 6px 12px rgba(13,50,72,.06)!important}
@media(max-width:1180px){html body:not(.role-admin) .u58-service-cta{min-height:42px!important}html body:not(.role-admin) .u58-service-cta i{min-width:108px!important}}


/* V6.77.4 — Apply page special-flow cleanup */
html body .generic-apply-submit-row[hidden],
html body .special-flow-action-area[hidden],
html body .service-flow-hint[hidden],
html body #specialFlowSubmitBtn[hidden]{display:none!important}
html body .generic-apply-submit-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
html body .special-flow-action-area{align-items:center;gap:12px;flex-wrap:wrap}
html body .service-flow-hint{font-size:11px!important;color:#597285!important;line-height:1.45!important}
html body .compact-service-form .service-final-submit{min-width:260px!important;justify-content:center!important}

/* ===== SOURCE: app-v678.css ===== */
/* MG Print Portal V6.78.0 — Video-reference-inspired control & form system.
   Uses broad layout ideas only; no third-party branding/assets/code are copied. */
:root{
  --v78-side:250px; --v78-purple:#41278f; --v78-purple-2:#512da8; --v78-purple-deep:#2f1b72;
  --v78-blue:#1686ee; --v78-teal:#21a7b8; --v78-green:#24ad50; --v78-amber:#ffbd19;
  --v78-red:#e7354b; --v78-orange:#ff7a24; --v78-pink:#da287f; --v78-bg:#f3f5f9;
  --v78-line:#d9e1ea; --v78-ink:#24364a; --v78-copy:#718196;
}
html body{background:var(--v78-bg)!important;color:var(--v78-ink)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important}
html body:before,html body:after{display:none!important}
html body .main{margin-left:var(--v78-side)!important;background:#f3f5f9!important;min-height:calc(100vh - 64px)!important}
html body .content,html body .dashboard-content{max-width:none!important;padding:14px 16px 28px!important}
html body .panel,html body .stat{border:1px solid var(--v78-line)!important;border-radius:5px!important;background:#fff!important;box-shadow:0 2px 8px rgba(24,43,63,.055)!important}
html body .btn{border-radius:4px!important;min-height:38px!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important}
html body .btn.primary{background:var(--v78-blue)!important;border-color:var(--v78-blue)!important;color:#fff!important}
html body .btn.success{background:#22a949!important;border-color:#22a949!important;color:#fff!important}
html body input,html body select,html body textarea{border-radius:3px!important;border:1px solid #cfd9e5!important;background:#fff!important;box-shadow:none!important}

/* Compact white utility masthead */
html body .portal-masthead{height:64px!important;min-height:64px!important;padding:0 18px!important;border-bottom:1px solid #dfe5ed!important;background:#fff!important;box-shadow:0 1px 4px rgba(20,38,58,.05)!important;position:sticky!important;top:0!important;z-index:210!important}
html body .portal-masthead:before{height:3px!important;background:linear-gradient(90deg,#19b4d2 0 25%,#7654df 25% 50%,#ffae27 50% 75%,#ea4e82 75% 100%)!important}
html body .mast-brand{min-width:280px!important;gap:10px!important}
html body .mast-brand img{width:39px!important;height:39px!important;border-radius:50%!important;border:1px solid #dbe4ee!important;padding:3px!important;background:#fff!important;box-shadow:none!important}
html body .mast-brand b{font-size:18px!important;color:#183d62!important;letter-spacing:.3px!important}
html body .mast-brand small{font-size:8.3px!important;color:#8191a4!important}
html body .mast-script,html body .mast-private,html body .mast-slogan{display:none!important}
html body .mast-wallet{height:38px!important;min-width:142px!important;border-radius:4px!important;background:#22a94d!important;border:1px solid #1f9b47!important;color:#fff!important;box-shadow:none!important;grid-template-columns:24px auto!important;padding:0 11px!important}
html body .mast-wallet span{width:23px!important;height:23px!important;border-radius:3px!important;background:rgba(255,255,255,.18)!important;color:#fff!important}
html body .mast-wallet small{color:rgba(255,255,255,.78)!important;font-size:7px!important}
html body .mast-wallet b{color:#fff!important;font-size:13px!important}
html body .mast-bell,html body .mast-profile{height:38px!important;border-radius:4px!important;background:#fff!important;border:1px solid #dce4ed!important;box-shadow:none!important}
html body .mast-profile>span{width:29px!important;height:29px!important;border-radius:50%!important;background:#4930a2!important}
html body .u58-mast-search{height:38px!important;border-radius:4px!important;max-width:430px!important}
html body .u58-mast-search input{min-height:34px!important}
html body .u58-mast-search button{height:30px!important;border-radius:3px!important;background:#422791!important}

/* Purple service-heavy sidebar */
html body .sidebar,html body.role-admin .sidebar,html body:not(.role-admin) .sidebar{top:64px!important;width:var(--v78-side)!important;padding:12px 8px 12px!important;background:linear-gradient(180deg,var(--v78-purple-deep) 0%,var(--v78-purple) 44%,var(--v78-purple-2) 100%)!important;border-right:0!important;box-shadow:3px 0 10px rgba(31,19,83,.12)!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin!important;scrollbar-color:rgba(255,255,255,.28) transparent!important}
html body .sidebar:before,html body .side-glow{display:none!important}
html body .print-side-identity{min-height:60px!important;margin:0 4px 10px!important;padding:8px 9px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.15)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;grid-template-columns:38px minmax(0,1fr) 8px!important}
html body .print-side-mark{width:38px!important;height:38px!important;border-radius:50%!important;background:rgba(255,255,255,.16)!important;color:#fff!important;box-shadow:none!important}
html body .print-side-identity b{font-size:11px!important;letter-spacing:.35px!important;color:#fff!important;white-space:normal!important;overflow:visible!important}
html body .print-side-identity small{font-size:8px!important;color:#c9c1ec!important;white-space:normal!important;overflow:visible!important}
html body .print-side-pulse{margin:0 5px 9px!important;padding:7px 8px!important;border-radius:4px!important;background:rgba(10,5,44,.18)!important;border:1px solid rgba(255,255,255,.08)!important}
html body .print-side-pulse small{font-size:6.2px!important;color:#bfb6ea!important}
html body .print-side-pulse b{font-size:12px!important;color:#fff!important}
html body .print-side-primary{margin:0 5px 10px!important;min-height:38px!important;border-radius:4px!important;padding:0 10px!important;background:linear-gradient(90deg,#0d8ff0,#3d72e9)!important;box-shadow:none!important}
html body .print-side-primary span{font-size:10px!important}
html body .admin-side-label{display:none!important}
html body .sidebar nav{padding:0 0 135px!important;overflow:visible!important}
html body .sidebar .nav-section{margin:12px 10px 5px!important}
html body .sidebar .nav-section span{font-size:7px!important;letter-spacing:.85px!important;color:#afa4df!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{min-height:36px!important;margin:0 2px 2px!important;padding:4px 8px!important;border-radius:3px!important;border:0!important;color:#e9e5fb!important;background:transparent!important;gap:8px!important;overflow:visible!important;box-shadow:none!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover{transform:none!important;background:rgba(255,255,255,.10)!important}
html body .sidebar .nav-item.active{background:linear-gradient(90deg,#ef5b78,#d93d89)!important;color:#fff!important;border:0!important;box-shadow:none!important}
html body .sidebar .nav-item.active:before{display:none!important}
html body .sidebar .nav-ico,html body .sidebar .nav-item.active .nav-ico{width:24px!important;height:24px!important;flex:0 0 24px!important;border-radius:3px!important;background:transparent!important;color:currentColor!important}
html body .sidebar .nav-ico svg{width:15px!important;height:15px!important;fill:currentColor!important}
html body .sidebar .nav-label{font-size:9.7px!important;line-height:1.15!important;font-weight:700!important;white-space:normal!important;color:inherit!important;max-width:none!important}
html body .video-nav-count{margin-left:auto!important;min-width:21px!important;height:18px!important;padding:0 5px!important;border-radius:999px!important;background:rgba(255,255,255,.13)!important;color:#fff!important;font-size:7px!important;font-style:normal!important;display:grid!important;place-items:center!important}
html body .side-footer{left:8px!important;right:8px!important;bottom:8px!important;padding-top:7px!important;background:linear-gradient(180deg,transparent,var(--v78-purple-2) 15%)!important}
html body .side-tool,html body .side-logout-row{min-height:36px!important;border-radius:3px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.10)!important;color:#fff!important}
html body .side-tool span,html body .side-logout-row span{font-size:9.5px!important}

/* Flat topbar */
html body .topbar{min-height:58px!important;margin:0!important;padding:10px 16px!important;border:0!important;border-bottom:1px solid #dbe3ec!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
html body .topbar:after{display:none!important}
html body .topbar h1{font-size:22px!important;color:#1f2d3d!important;letter-spacing:-.35px!important}
html body .topbar .sub{font-size:9px!important;color:#7b8a9c!important}
html body .top-search-wrap{height:36px!important;border-radius:3px!important;background:#f7f8fb!important;border:1px solid #dbe3ec!important}
html body .wallet-pill{min-height:36px!important;border-radius:4px!important;background:#22a94d!important;border:1px solid #1f9b47!important;color:#fff!important;box-shadow:none!important}

/* Dashboard ribbons */
html body .video-announcement-stack{display:grid;gap:4px;margin:0 0 10px}
html body .video-announcement{min-height:38px;padding:0 16px;display:flex;align-items:center;gap:14px;border-radius:4px;color:#fff;box-shadow:0 2px 5px rgba(30,45,60,.06);overflow:hidden}
html body .video-announcement b{font-size:10px;letter-spacing:.6px;white-space:nowrap}
html body .video-announcement span{font-size:10px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .video-announcement.orange{background:linear-gradient(90deg,#f15a39,#ff8f16)}
html body .video-announcement.pink{background:linear-gradient(90deg,#e63143,#d42598)}

/* Admin dashboard */
html body.role-admin .dash-title-band{border-radius:4px!important;border:1px solid #dce4ed!important;background:#fff!important;box-shadow:none!important;margin-bottom:10px!important;padding:12px 14px!important}
html body.role-admin .dash-title-band h2{font-size:17px!important;color:#24364a!important}
html body.role-admin .dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0 0 10px!important}
html body.role-admin .dashboard-kpis .dash-kpi{min-height:112px!important;border-radius:4px!important;padding:15px 14px!important;box-shadow:none!important;position:relative!important;overflow:hidden!important}
html body.role-admin .dashboard-kpis .kpi-blue{background:#21a7b8!important}
html body.role-admin .dashboard-kpis .kpi-green{background:#22ae4f!important}
html body.role-admin .dashboard-kpis .kpi-orange{background:#ffbd19!important}
html body.role-admin .dashboard-kpis .kpi-purple{background:#e7354a!important}
html body.role-admin .dashboard-kpis .dash-kpi small{font-size:8px!important;color:rgba(255,255,255,.90)!important}
html body.role-admin .dashboard-kpis .dash-kpi strong{font-size:25px!important;color:#fff!important}
html body.role-admin .dashboard-kpis .dash-kpi em{font-size:8px!important;color:rgba(255,255,255,.82)!important}
html body.role-admin .admin-control-hub{padding:14px!important;margin-bottom:10px!important;border-radius:4px!important}
html body.role-admin .admin-control-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}
html body.role-admin .admin-control-grid>a{min-height:94px!important;border-radius:4px!important;padding:10px!important;background:#fff!important;border:1px solid #dce4ed!important;box-shadow:none!important}
html body.role-admin .admin-control-grid>a:before{height:3px!important}
html body.role-admin .admin-control-grid>a>span{width:34px!important;height:34px!important;border-radius:4px!important}
html body.role-admin .admin-control-grid b{font-size:10px!important}
html body.role-admin .admin-control-grid small{font-size:7px!important}
html body .video-admin-category-control{padding:14px!important;margin-bottom:10px!important}
html body .video-section-kicker{font-size:7px!important;letter-spacing:1px!important;font-weight:900!important;color:#8a56d9!important;text-transform:uppercase!important}
html body .video-category-control-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:10px}
html body .video-category-control-grid>a{min-height:68px;padding:8px 9px;border:1px solid #dce4ed;border-left:3px solid #6b45d2;border-radius:4px;background:#fbfcfe;display:grid;grid-template-columns:26px 1fr 12px;grid-template-rows:auto auto;gap:2px 7px;align-items:center;color:#34495f;text-decoration:none}
html body .video-category-control-grid>a>span{grid-row:1/3;width:25px;height:25px;display:grid;place-items:center;color:#6b45d2}
html body .video-category-control-grid>a>b{font-size:9px;line-height:1.15}
html body .video-category-control-grid>a>small{font-size:7px;color:#8291a2}
html body .video-category-control-grid>a>i{grid-column:3;grid-row:1/3;font-style:normal;color:#9aa7b4}
html body.role-admin .dashboard-two{gap:10px!important;margin-top:0!important}
html body.role-admin .dashboard-two>.panel,html body.role-admin .dashboard-bottom-grid>.panel{border-radius:4px!important;padding:14px!important;box-shadow:none!important}

/* User dashboard */
html body .video-ref-dashboard{display:block!important}
html body .video-user-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}
html body .video-user-kpis>a{position:relative;min-height:112px;padding:14px 14px 28px;border-radius:4px;color:#fff;text-decoration:none;overflow:hidden;box-shadow:0 2px 7px rgba(23,42,61,.08)}
html body .video-user-kpis>a:nth-child(1){background:#20a7b8}
html body .video-user-kpis>a:nth-child(2){background:#25ad4e}
html body .video-user-kpis>a:nth-child(3){background:#ffbd1b;color:#24364a}
html body .video-user-kpis>a:nth-child(4){background:#e7354b}
html body .video-user-kpis .vu-icon{position:absolute;right:15px;top:20px;font-size:36px;opacity:.12}
html body .video-user-kpis strong{display:block;font-size:25px;line-height:1;font-weight:900;margin-bottom:8px}
html body .video-user-kpis b{display:block;font-size:10px;margin-bottom:4px}
html body .video-user-kpis small{font-size:8px;opacity:.84}
html body .video-user-kpis>a>i{position:absolute;left:0;right:0;bottom:0;min-height:24px;background:rgba(0,0,0,.09);display:flex;align-items:center;justify-content:center;font-style:normal;font-size:8px;font-weight:800;color:inherit}
html body .video-user-feature-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:10px;margin-bottom:10px}
html body .video-user-welcome,html body .video-user-tools{padding:18px!important}
html body .video-user-welcome h2{font-size:21px!important;margin:4px 0 7px!important;color:#27374a!important}
html body .video-user-welcome p{max-width:780px;font-size:10px;line-height:1.55;color:#718195}
html body .video-pill-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
html body .video-pill-actions a,html body .video-pill-actions button{min-height:36px;padding:0 17px;border:0;border-radius:999px;background:linear-gradient(90deg,#ff8920,#dc3a84);color:#fff;font-size:9px;font-weight:850;text-decoration:none;display:inline-flex;align-items:center;cursor:pointer}
html body .video-pill-actions a:nth-child(even),html body .video-pill-actions button{background:linear-gradient(90deg,#fc9c20,#ef5163)}
html body .video-user-mini-stats{display:flex;gap:9px;margin-top:14px}
html body .video-user-mini-stats span{min-width:95px;padding:8px 10px;border:1px solid #dde5ed;border-radius:4px;background:#f8fafc}
html body .video-user-mini-stats b{font-size:14px;color:#402b93}
html body .video-user-mini-stats small{display:block;font-size:7px;color:#7f8fa1}
html body .video-user-tools{display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,#fff,#faf8ff)!important}
html body .video-user-tools h3{font-size:18px;margin:4px 0;color:#3f2a92}
html body .video-user-tools p{font-size:9px;color:#7d8ba0}
html body .video-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:14px}
html body .video-tool-grid a{min-height:55px;border:1px solid #e1e5ee;border-radius:4px;background:#fff;text-decoration:none;color:#3c4c60;display:flex;align-items:center;gap:8px;padding:8px}
html body .video-tool-grid a span{width:28px;height:28px;border-radius:4px;background:#f0ecff;color:#4d31a2;display:grid;place-items:center;font-size:11px;font-weight:900}
html body .video-tool-grid a b{font-size:9px}

/* Catalog compact: every service appears */
html body:not(.role-admin) .video-service-catalog,html body:not(.role-admin) .u58-services-page{margin:0 0 10px!important;padding:14px!important;border-radius:5px!important;border:1px solid var(--v78-line)!important;box-shadow:0 2px 8px rgba(24,43,63,.055)!important;background:#fff!important}
html body:not(.role-admin) .u58-section-head h2,html body:not(.role-admin) .u58-services-toolbar h2{font-size:20px!important;color:#23364a!important;letter-spacing:-.35px!important}
html body:not(.role-admin) .u58-section-kicker{font-size:7px!important;color:#6c45d2!important;letter-spacing:1px!important}
html body .video-service-search{display:flex;align-items:center;gap:7px}
html body .video-service-search input{width:260px!important;min-height:37px!important}
html body:not(.role-admin) .u58-category-tabs{gap:5px!important;margin:11px 0!important}
html body:not(.role-admin) .u58-category-tabs a{min-height:31px!important;padding:0 10px!important;border-radius:4px!important;border:1px solid #d9e2eb!important;background:#fff!important;color:#45576b!important;font-size:8px!important;box-shadow:none!important}
html body:not(.role-admin) .u58-category-tabs a.active{background:#432793!important;border-color:#432793!important;color:#fff!important}
html body:not(.role-admin) .u58-category-tabs a span{height:17px!important;min-width:17px!important;border-radius:999px!important;font-size:6.5px!important}
html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
html body:not(.role-admin) .u58-service-card{grid-template-columns:44px 1fr!important;gap:10px!important;min-height:132px!important;padding:11px!important;border-radius:4px!important;border:1px solid #dce4ec!important;background:#fff!important;box-shadow:0 1px 4px rgba(25,42,58,.04)!important}
html body:not(.role-admin) .u58-service-card:before{left:0!important;width:3px!important;background:#22aa55!important}
html body:not(.role-admin) .u58-service-card:nth-child(4n+2):before{background:#6c4cda!important}
html body:not(.role-admin) .u58-service-card:nth-child(4n+3):before{background:#f39a22!important}
html body:not(.role-admin) .u58-service-card:nth-child(4n+4):before{background:#1686ee!important}
html body:not(.role-admin) .u58-service-card:after{display:none!important}
html body:not(.role-admin) .u58-service-card:hover{transform:none!important;border-color:#bfcddd!important;box-shadow:0 5px 13px rgba(25,42,58,.09)!important;background:#fbfdff!important}
html body:not(.role-admin) .u58-service-logo{width:44px!important;height:44px!important;border-radius:4px!important;padding:5px!important;background:#f7f9fc!important;border:1px solid #dde5ed!important;box-shadow:none!important}
html body:not(.role-admin) .u58-service-body>small{font-size:6px!important;margin:0 0 3px!important;color:#7562a9!important}
html body:not(.role-admin) .u58-service-body>b{font-size:10.5px!important;margin-bottom:3px!important;color:#27394c!important;line-height:1.15!important}
html body:not(.role-admin) .u58-service-body>em{font-size:7.2px!important;line-height:1.3!important;min-height:18px!important;margin:0 0 7px!important;-webkit-line-clamp:2!important}
html body:not(.role-admin) .mg-service-action{min-height:31px!important;border-radius:3px!important;padding:0 6px 0 8px!important;background:#1686ee!important;background-image:none!important;border-color:#1686ee!important;grid-template-columns:auto 1fr 22px!important;gap:5px!important;box-shadow:none!important}
html body:not(.role-admin) .mg-service-action strong{font-size:8px!important}
html body:not(.role-admin) .mg-service-action b{font-size:7px!important;letter-spacing:.35px!important}
html body:not(.role-admin) .mg-service-action i{width:21px!important;height:21px!important;border-radius:3px!important;font-size:11px!important}
html body:not(.role-admin) .mg-service-hint,html body:not(.role-admin) .u58-click-hint{display:none!important}
html body:not(.role-admin) .u58-live,html body:not(.role-admin) .u58-assisted{top:7px!important;right:7px!important;min-height:16px!important;padding:0 5px!important;border-radius:999px!important;font-size:5.5px!important;box-shadow:none!important}
html body:not(.role-admin) .print-lower-grid{gap:10px!important;margin-top:0!important}
html body:not(.role-admin) .print-lower-grid .panel{padding:14px!important;border-radius:4px!important}
html body:not(.role-admin) .u58-services-page .u58-services-toolbar{padding:12px 12px 4px!important;background:linear-gradient(90deg,#fff7ee,#fff)!important;border-top:4px solid #ff7b25!important}
html body:not(.role-admin) .u58-band{min-height:38px!important;border-radius:3px!important;padding:7px 9px!important;margin:8px 0!important;background:#edf8ef!important;border:1px solid #d2ead8!important;border-left:4px solid #24aa55!important}
html body:not(.role-admin) .u58-band.secondary{background:#f6f2ff!important;border-color:#e2dbf5!important;border-left-color:#6a49d5!important}

/* Apply/service forms */
html body .apply-workspace .content{padding-top:10px!important}
html body .video-form-titlebar{min-height:76px;margin-bottom:10px;padding:12px 16px;border-radius:5px;background:linear-gradient(100deg,#ff7d3a,#ff5f76);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 3px 8px rgba(231,93,70,.12)}
html body .video-form-titlebar>div:first-child>span{font-size:7px;letter-spacing:1px;font-weight:900;text-transform:uppercase;opacity:.9}
html body .video-form-titlebar h2{margin:2px 0;font-size:21px;color:#fff}
html body .video-form-titlebar p{margin:0;font-size:9px;opacity:.9}
html body .video-form-titlebar>div:last-child{display:flex;align-items:center;gap:8px}
html body .video-form-charge{min-height:34px;padding:0 11px;border-radius:4px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);display:flex;align-items:center;font-size:9px;font-weight:850}
html body .video-form-titlebar .btn{background:#22a94d!important;border-color:#1e9c47!important;color:#fff!important}
html body .apply-workspace .compact-service-split{grid-template-columns:minmax(0,1fr) 260px!important;gap:10px!important}
html body .apply-workspace .compact-service-form{padding:0 12px 12px!important;overflow:hidden!important;border-radius:4px!important}
html body .apply-workspace .gov-apply-head{margin:0 -12px 10px!important;padding:9px 12px!important;min-height:46px!important;background:#1686ee!important;border-bottom:0!important;color:#fff!important}
html body .apply-workspace .gov-apply-head h2,html body .apply-workspace .gov-apply-head p{color:#fff!important}
html body .apply-workspace .apply-visual-wrap{width:34px!important;height:34px!important;min-width:34px!important;border-radius:3px!important;background:#fff!important}
html body .apply-workspace .apply-logo{width:27px!important;height:27px!important}
html body .apply-workspace .gov-apply-head .chip{background:#fff!important;color:#19713a!important;border:0!important;border-radius:3px!important}
html body .apply-workspace .service-intro-note{border-radius:3px!important;border-left:4px solid #23a954!important;background:#f1fbf4!important;padding:8px 10px!important;margin-bottom:9px!important}
html body .apply-workspace #apiModeOptions{border-radius:3px!important;background:#fbfcfe!important;padding:9px!important;margin-bottom:9px!important}
html body .apply-workspace .form-section-title{min-height:34px;margin:9px -12px 10px!important;padding:0 12px!important;background:#f3f6fa!important;border-top:1px solid #dfe6ee!important;border-bottom:1px solid #dfe6ee!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
html body .apply-workspace .form-section-title span{font-size:10px!important;color:#303f52!important;font-weight:850!important}
html body .apply-workspace .form-section-title small{font-size:7px!important;color:#7c8b9c!important}
html body .apply-workspace .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px 10px!important}
html body .apply-workspace .field.full{grid-column:1/-1!important}
html body .apply-workspace .field label{font-size:9px!important;color:#4b5768!important;font-weight:800!important;margin-bottom:3px!important}
html body .apply-workspace .field:nth-child(3n+1) label{color:#d56c22!important}
html body .apply-workspace .field:nth-child(3n+2) label{color:#d94e61!important}
html body .apply-workspace .field:nth-child(3n) label{color:#4264bd!important}
html body .apply-workspace .field input,html body .apply-workspace .field select,html body .apply-workspace .field textarea{min-height:36px!important;padding:6px 8px!important;font-size:10px!important;border-radius:2px!important;border:1px solid #cfd8e2!important}
html body .apply-workspace .field textarea{min-height:62px!important}
html body .apply-workspace .page-note{border-radius:3px!important;font-size:8px!important;padding:7px 9px!important;background:#f6f8fb!important;border:1px solid #e1e6ed!important}
html body .apply-workspace .generic-apply-submit-row .btn.primary,html body .apply-workspace .service-final-submit{background:#22aa4f!important;border-color:#209b48!important;min-width:180px!important}
html body .apply-workspace .compact-service-summary{position:sticky!important;top:74px!important;padding:12px!important;border-radius:4px!important}
html body .apply-workspace .compact-service-summary h3{font-size:13px!important;color:#3f2b91!important;border-bottom:2px solid #e7e2f7!important;padding-bottom:8px!important}
html body .apply-workspace .compact-service-summary .kv{padding:7px 0!important;font-size:9px!important}
html body .apply-workspace details.panel{border-radius:3px!important;box-shadow:none!important}
html body .apply-workspace details.panel summary{background:#f6f3ff!important;color:#4d329c!important}

/* Admin management and forms */
html body.role-admin .main:not(.admin-dashboard) .content>.panel{border-radius:4px!important;box-shadow:0 2px 7px rgba(24,43,63,.05)!important}
html body.role-admin .main:not(.admin-dashboard) .panel h2{color:#34257e!important}
html body.role-admin .table-wrap{border-radius:3px!important;box-shadow:none!important}
html body.role-admin .table thead th{background:#eaf1f7!important;color:#38546f!important;height:38px!important;font-size:7.5px!important}
html body.role-admin .table tbody td{font-size:9px!important;padding-top:8px!important;padding-bottom:8px!important}
html body.role-admin .content .form-grid{gap:9px!important}
html body.role-admin .content .field label{font-size:9px!important;color:#3f5065!important}
html body.role-admin .content .field input,html body.role-admin .content .field select,html body.role-admin .content .field textarea{min-height:37px!important;font-size:10px!important;border-radius:2px!important}
html body .video-category-filter{padding:12px!important;margin-bottom:10px!important}
html body .video-category-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
html body .video-category-tabs>a{min-height:31px;padding:0 9px;border:1px solid #dce3ec;border-radius:3px;background:#fff;color:#475a6e;text-decoration:none;font-size:8px;font-weight:750;display:inline-flex;align-items:center;gap:6px}
html body .video-category-tabs>a b{min-width:18px;height:18px;border-radius:999px;background:#eef2f6;display:grid;place-items:center;font-size:6.5px}
html body .video-category-tabs>a.active{background:#442998;border-color:#442998;color:#fff}
html body .video-category-tabs>a.active b{background:rgba(255,255,255,.18)}

/* Dark mode */
html[data-theme="dark"] body{background:#11131a!important;color:#edf1f7!important}
html[data-theme="dark"] body .main{background:#171a22!important}
html[data-theme="dark"] body .portal-masthead,html[data-theme="dark"] body .topbar,html[data-theme="dark"] body .panel,html[data-theme="dark"] body .stat{background:#20242e!important;border-color:#343a47!important;color:#eef2f7!important}
html[data-theme="dark"] body .video-user-welcome,html[data-theme="dark"] body .video-user-tools,html[data-theme="dark"] body:not(.role-admin) .video-service-catalog,html[data-theme="dark"] body:not(.role-admin) .u58-service-card{background:#20242e!important;border-color:#343a47!important}
html[data-theme="dark"] body input,html[data-theme="dark"] body select,html[data-theme="dark"] body textarea{background:#181c24!important;border-color:#39404d!important;color:#eef2f7!important}

@media(max-width:1450px){:root{--v78-side:235px}html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .video-category-control-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1180px){:root{--v78-side:220px}html body .video-user-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}html body .video-user-feature-grid{grid-template-columns:1fr}html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.role-admin .admin-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .apply-workspace .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:820px){:root{--v78-side:0px}html body .main{margin-left:0!important}html body .sidebar{width:270px!important}html body .video-user-kpis{grid-template-columns:1fr 1fr}html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full{grid-template-columns:1fr!important}html body .apply-workspace .compact-service-split{grid-template-columns:1fr!important}html body .apply-workspace .form-grid{grid-template-columns:1fr!important}html body .video-category-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body .video-form-titlebar{align-items:flex-start;flex-direction:column}}
/* V6.78.0 final service-card ordering: title/description first, action last. */
html body:not(.role-admin) .u58-service-body>small{order:0!important}
html body:not(.role-admin) .u58-service-body>b{order:1!important}
html body:not(.role-admin) .u58-service-body>em{order:2!important}
html body:not(.role-admin) .mg-service-action{order:3!important;margin-top:auto!important}

/* ===== SOURCE: app-v679.css ===== */
/* MG Print Portal V6.79.0 — Service Directory + Reference Form Studio
   Inspired by user-provided reference video/sites: service-heavy purple navigation,
   white utility header, orange/magenta information ribbons, flat multicolor KPIs,
   and full-width compact application forms. No third-party branding/assets/code copied. */
:root{
  --v79-side:264px;--v79-purple:#43259a;--v79-purple2:#5a31b7;--v79-purple3:#281566;
  --v79-magenta:#d72d92;--v79-orange:#ff7b22;--v79-blue:#1287e8;--v79-green:#23a84b;
  --v79-cyan:#20a7b7;--v79-amber:#ffbd18;--v79-red:#e7374b;--v79-bg:#f2f4f8;
  --v79-line:#d8e0e9;--v79-ink:#203449;--v79-muted:#75869a;
}
html body{background:var(--v79-bg)!important;color:var(--v79-ink)!important}
html body .main{margin-left:var(--v79-side)!important;background:#f2f4f8!important}
html body .content,html body .dashboard-content{padding:13px 14px 28px!important}
html body .panel,html body .stat{border-radius:4px!important;border:1px solid var(--v79-line)!important;box-shadow:0 2px 7px rgba(25,42,58,.055)!important;background:#fff!important}
html body .btn{border-radius:3px!important;box-shadow:none!important}
html body .btn.primary{background:#1387e8!important;border-color:#1387e8!important}
html body .btn.success{background:#22a64a!important;border-color:#22a64a!important}

/* Header: clean white with green wallet, like a print operations utility bar */
html body .portal-masthead{height:64px!important;min-height:64px!important;background:#fff!important;border-bottom:1px solid #dce4ec!important;box-shadow:0 1px 4px rgba(24,41,59,.05)!important}
html body .portal-masthead:before{height:3px!important;background:linear-gradient(90deg,#18b8cf 0 25%,#6d51df 25% 50%,#ffae27 50% 75%,#e84c88 75% 100%)!important}
html body .mast-script,html body .mast-private,html body .mast-slogan{display:none!important}
html body .mast-wallet{background:#23aa4e!important;border-color:#209a49!important;color:#fff!important;border-radius:3px!important;box-shadow:none!important}
html body .mast-wallet span{background:rgba(255,255,255,.16)!important;color:#fff!important}
html body .mast-wallet small,html body .mast-wallet b{color:#fff!important}
html body .mast-profile>span{background:#4b2aa3!important}
html body .u58-mast-search button{background:#47279d!important;border-radius:3px!important}

/* Definitive sidebar skin: overrides every previous teal/navy layer */
html body .sidebar,html body.role-admin .sidebar,html body:not(.role-admin) .sidebar{
  top:64px!important;width:var(--v79-side)!important;padding:10px 7px 10px!important;
  background:linear-gradient(180deg,var(--v79-purple3) 0%,var(--v79-purple) 42%,var(--v79-purple2) 100%)!important;
  border-right:0!important;box-shadow:3px 0 11px rgba(35,20,85,.16)!important;overflow-y:auto!important;overflow-x:hidden!important;
  scrollbar-color:rgba(255,255,255,.28) transparent!important;scrollbar-width:thin!important
}
html body .sidebar:before,html body .sidebar .side-glow{display:none!important}
html body .print-side-identity{margin:0 5px 8px!important;padding:8px 8px 10px!important;min-height:58px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.17)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body .print-side-mark{width:38px!important;height:38px!important;border-radius:50%!important;background:rgba(255,255,255,.15)!important;color:#fff!important;box-shadow:none!important}
html body .print-side-identity b{color:#fff!important;font-size:10.7px!important;letter-spacing:.35px!important;white-space:normal!important}
html body .print-side-identity small{color:#cec5ef!important;font-size:7.6px!important}
html body .print-side-live{background:#48df91!important}
html body .print-side-pulse{margin:0 5px 8px!important;padding:7px 8px!important;border-radius:3px!important;background:rgba(10,4,48,.23)!important;border:1px solid rgba(255,255,255,.08)!important}
html body .print-side-pulse small{font-size:6px!important;color:#c7bde9!important;white-space:nowrap!important}
html body .print-side-pulse b{font-size:12px!important;color:#fff!important}
html body .print-side-primary{margin:0 5px 9px!important;min-height:37px!important;padding:0 9px!important;border-radius:3px!important;background:linear-gradient(90deg,#128be9,#4a63e8)!important;box-shadow:none!important}
html body .print-side-primary span{font-size:9.6px!important}
html body .sidebar nav{padding:0 0 8px!important;overflow:visible!important}
html body .sidebar .nav-section{margin:10px 9px 5px!important}
html body .sidebar .nav-section span{font-size:6.6px!important;color:#bcb0e5!important;letter-spacing:.9px!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{min-height:34px!important;margin:0 2px 1px!important;padding:3px 8px!important;gap:6px!important;border-radius:2px!important;border:0!important;background:transparent!important;color:#efeafd!important;box-shadow:none!important;overflow:visible!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover{background:rgba(255,255,255,.10)!important;transform:none!important}
html body .sidebar .nav-item.active{background:linear-gradient(90deg,#ed4d72,#d62e92)!important;color:#fff!important;box-shadow:none!important}
html body .sidebar .nav-item.active:before{display:none!important}
html body .sidebar .nav-ico,html body .sidebar .nav-item.active .nav-ico{width:22px!important;height:22px!important;flex:0 0 22px!important;border-radius:2px!important;background:transparent!important;color:currentColor!important}
html body .sidebar .nav-ico svg{width:14px!important;height:14px!important}
html body .sidebar .nav-label{font-size:9.25px!important;line-height:1.15!important;font-weight:650!important;color:inherit!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}
html body .nav-badge{margin-left:auto!important}
html body .side-footer{position:sticky!important;left:auto!important;right:auto!important;bottom:0!important;margin-top:8px!important;padding:9px 3px 2px!important;background:linear-gradient(180deg,rgba(67,37,154,0),var(--v79-purple2) 25%)!important}
html body .side-tool,html body .side-logout-row{min-height:35px!important;border-radius:3px!important;background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.10)!important;color:#fff!important}

/* Real service directory inside sidebar */
html body .side-service-search{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:6px;margin:2px 5px 7px;padding:0 8px;min-height:34px;border:1px solid rgba(255,255,255,.18);border-radius:3px;background:rgba(17,8,63,.72);backdrop-filter:blur(7px)}
html body .side-service-search span{color:#d9cff5;font-size:14px}
html body .side-service-search input{width:100%!important;min-height:30px!important;height:30px!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;font-size:9px!important}
html body .side-service-search input::placeholder{color:#bfb3e4!important}
html body .side-service-directory{padding:0 2px 6px}
html body .side-service-category{margin:8px 7px 3px;padding:5px 4px 4px;border-bottom:1px solid rgba(255,255,255,.10);font-size:6.4px;font-weight:900;letter-spacing:.8px;text-transform:uppercase;color:#c7bce9}
html body .sidebar .side-service-direct{min-height:31px!important;padding:3px 7px!important;margin:0 1px 1px!important;border-radius:2px!important}
html body .sidebar .side-service-direct .nav-ico{width:18px!important;height:18px!important;flex:0 0 18px!important;opacity:.92}
html body .sidebar .side-service-direct .nav-ico svg{width:12px!important;height:12px!important}
html body .sidebar .side-service-direct .nav-label{font-size:8.55px!important;font-weight:600!important;line-height:1.15!important}
html body .side-service-arrow{margin-left:auto;font-style:normal;font-size:14px;line-height:1;color:#bdb1e1}
html body .side-service-direct:hover .side-service-arrow{color:#fff;transform:translateX(1px)}

/* Main topbar and reference-style ribbons */
html body .topbar{min-height:57px!important;margin:0!important;padding:9px 14px!important;border:0!important;border-bottom:1px solid #dbe3ec!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
html body .topbar:after{display:none!important}
html body .topbar h1{font-size:21px!important;color:#202f40!important}
html body .topbar .sub{font-size:8.8px!important;color:#7e8d9d!important}
html body .video-announcement{border-radius:3px!important;min-height:37px!important}
html body .video-announcement.orange{background:linear-gradient(90deg,#f25a3a,#ff8c12)!important}
html body .video-announcement.pink{background:linear-gradient(90deg,#e93142,#d423a1)!important}

/* KPIs stay flat and strongly color-coded */
html body.role-admin .dashboard-kpis .dash-kpi,html body .video-user-kpis>a{border-radius:3px!important;box-shadow:0 2px 6px rgba(20,40,58,.06)!important}
html body.role-admin .dashboard-kpis .kpi-blue,html body .video-user-kpis>a:nth-child(1){background:#20a6b8!important}
html body.role-admin .dashboard-kpis .kpi-green,html body .video-user-kpis>a:nth-child(2){background:#24ad4f!important}
html body.role-admin .dashboard-kpis .kpi-orange,html body .video-user-kpis>a:nth-child(3){background:#ffbd19!important;color:#25364a!important}
html body.role-admin .dashboard-kpis .kpi-purple,html body .video-user-kpis>a:nth-child(4){background:#e5364b!important}

/* Service tiles: compact, practical and unmistakably clickable */
html body:not(.role-admin) .u58-service-card{grid-template-columns:46px 1fr!important;min-height:126px!important;padding:10px!important;border-radius:3px!important;border:1px solid #d9e1e9!important;background:#fff!important;box-shadow:0 1px 4px rgba(20,40,58,.04)!important}
html body:not(.role-admin) .u58-service-card:hover{transform:none!important;background:#fbfcff!important;border-color:#bfcbd8!important;box-shadow:0 4px 11px rgba(24,42,60,.08)!important}
html body:not(.role-admin) .u58-service-logo{width:43px!important;height:43px!important;border-radius:3px!important;padding:5px!important}
html body:not(.role-admin) .u58-service-body>b{font-size:11px!important;margin-bottom:3px!important}
html body:not(.role-admin) .u58-service-body>small{font-size:6.8px!important}
html body:not(.role-admin) .u58-service-body>em{font-size:7.8px!important;line-height:1.35!important;min-height:20px!important;margin-bottom:6px!important}
html body:not(.role-admin) .mg-service-action,html body:not(.role-admin) .u58-service-cta{min-height:32px!important;border-radius:2px!important;background:linear-gradient(90deg,#1288e9,#2f68df)!important;border:0!important;color:#fff!important;box-shadow:none!important}
html body:not(.role-admin) .mg-service-action strong,html body:not(.role-admin) .mg-service-action b,html body:not(.role-admin) .mg-service-action i,html body:not(.role-admin) .u58-service-cta strong,html body:not(.role-admin) .u58-service-cta i{color:#fff!important}
html body:not(.role-admin) .mg-service-hint,html body:not(.role-admin) .u58-click-hint{font-size:6.6px!important;color:#5031a7!important;margin-top:4px!important}

/* APPLY FORM — full width like the supplied video, with a strong title and section bar */
html body .apply-workspace .content{padding-top:10px!important}
html body .apply-workspace .video-form-titlebar{min-height:68px!important;margin-bottom:8px!important;padding:10px 14px!important;border-radius:3px!important;background:linear-gradient(90deg,#ff7d32,#ff5f68 72%,#d934a0)!important;box-shadow:0 2px 7px rgba(228,83,77,.13)!important}
html body .apply-workspace .video-form-titlebar h2{font-size:18px!important;margin:2px 0!important}
html body .apply-workspace .video-form-titlebar p{font-size:8.5px!important}
html body .apply-workspace .video-form-charge{border-radius:3px!important}
html body .apply-workspace .compact-service-split{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
html body .apply-workspace .compact-service-form{padding:0 10px 11px!important;border-radius:3px!important;overflow:hidden!important}
html body .apply-workspace .gov-apply-head{margin:0 -10px 9px!important;padding:8px 12px!important;min-height:50px!important;background:linear-gradient(90deg,#0d82dc,#167bea)!important;border:0!important;border-radius:0!important;color:#fff!important}
html body .apply-workspace .gov-apply-head h2,html body .apply-workspace .gov-apply-head p{color:#fff!important}
html body .apply-workspace .gov-apply-head h2{font-size:13px!important}
html body .apply-workspace .gov-apply-head p{font-size:7.5px!important;opacity:.88!important}
html body .apply-workspace .gov-apply-head .chip{background:rgba(255,255,255,.17)!important;border-color:rgba(255,255,255,.28)!important;color:#fff!important}
html body .apply-workspace .apply-visual-wrap{width:34px!important;height:34px!important;min-width:34px!important;background:#fff!important;border-radius:3px!important}
html body .apply-workspace .apply-logo{width:27px!important;height:27px!important}
html body .apply-workspace .service-intro-note,html body .apply-workspace #apiModeOptions{border-radius:3px!important;background:#eef8ff!important;border:1px solid #cae2f3!important}
html body .apply-workspace .form-section-title{margin:9px -10px 8px!important;padding:7px 11px!important;background:#eef4fb!important;border-top:1px solid #d6e2ee!important;border-bottom:1px solid #d6e2ee!important}
html body .apply-workspace .form-section-title span{font-size:9.5px!important;font-weight:900!important;color:#315570!important}
html body .apply-workspace .form-section-title small{font-size:7px!important}
html body .apply-workspace .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px 9px!important;padding:7px!important;background:#eefbfb!important;border:1px solid #d4eded!important;border-radius:3px!important}
html body .apply-workspace .field{gap:3px!important}
html body .apply-workspace .field label{font-size:8.3px!important;font-weight:800!important;color:#29445a!important;margin-bottom:2px!important}
html body .apply-workspace .field input,html body .apply-workspace .field select,html body .apply-workspace .field textarea{min-height:34px!important;padding:6px 8px!important;border-radius:2px!important;border:1px solid #cbd9e6!important;background:#fff!important;font-size:9.4px!important;box-shadow:none!important}
html body .apply-workspace .field textarea{min-height:64px!important}
html body .apply-workspace details.panel{border-radius:3px!important;box-shadow:none!important}
html body .apply-workspace details.panel summary{background:#f5f2ff!important;color:#472c9e!important}
html body .apply-workspace .special-flow-card{border-radius:3px!important;background:#f7fbff!important;border:1px solid #d6e4f1!important;box-shadow:none!important}
html body .apply-workspace .page-note{border-radius:3px!important}
html body .apply-workspace .generic-apply-submit-row .btn.primary,html body .apply-workspace .service-final-submit{min-height:38px!important;background:#22a84b!important;border-color:#22a84b!important;border-radius:3px!important;padding:0 18px!important;font-size:9.5px!important}
html body .apply-workspace .compact-service-summary{position:static!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;padding:10px!important;border-radius:3px!important}
html body .apply-workspace .compact-service-summary>h3{grid-column:1/-1;margin:0 0 7px!important;padding:0 0 7px!important;border-bottom:2px solid #4c2da2!important;color:#432798!important;font-size:11px!important}
html body .apply-workspace .compact-service-summary .kv{display:block!important;padding:7px 9px!important;border-right:1px solid #e1e6ed!important;border-bottom:0!important}
html body .apply-workspace .compact-service-summary .kv b{display:block!important;font-size:6.8px!important;color:#7c8a99!important;text-transform:uppercase!important;letter-spacing:.4px!important}
html body .apply-workspace .compact-service-summary .kv span{display:block!important;margin-top:4px!important;font-size:9px!important;color:#223b50!important}
html body .apply-workspace .compact-service-summary>a,html body .apply-workspace .compact-service-summary>button,html body .apply-workspace .compact-service-summary>.legal-note,html body .apply-workspace .compact-service-summary>.notice{grid-column:1/-1!important}

/* Admin service/form builder = same visual language */
html body .admin-form-studio .content>form>.two-col{grid-template-columns:1.15fr .85fr!important;gap:9px!important}
html body .admin-form-studio .admin-builder-card,html body .admin-form-studio .admin-builder-form{border-radius:3px!important;box-shadow:none!important;overflow:hidden!important}
html body .admin-form-studio .admin-builder-card>h2,html body .admin-form-studio .admin-builder-form .panel-head{margin:-1px -1px 10px!important;padding:9px 12px!important;background:linear-gradient(90deg,#1487e7,#416ee8)!important;color:#fff!important}
html body .admin-form-studio .admin-builder-card>h2{font-size:12px!important}
html body .admin-form-studio .admin-builder-form .panel-head h2,html body .admin-form-studio .admin-builder-form .panel-head p{color:#fff!important}
html body .admin-form-studio .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px 9px!important}
html body .admin-form-studio .field input,html body .admin-form-studio .field select,html body .admin-form-studio .field textarea{min-height:35px!important;border-radius:2px!important;font-size:9.5px!important}
html body .admin-form-studio .field label{font-size:8.5px!important}
html body .admin-form-studio .field-builder{background:#effafa!important;border-radius:3px!important;padding:8px!important}
html body .video-admin-services .video-category-tabs a{border-radius:2px!important}
html body .video-admin-services .table-wrap{border-radius:3px!important}

/* Dark mode */
html[data-theme="dark"] body .sidebar,html[data-theme="dark"] body.role-admin .sidebar,html[data-theme="dark"] body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#20104f,#30206c 50%,#3d247f)!important}
html[data-theme="dark"] body .apply-workspace .form-grid{background:#182a31!important;border-color:#2b454f!important}
html[data-theme="dark"] body .apply-workspace .form-section-title{background:#182531!important;border-color:#2b404f!important}

@media(max-width:1280px){:root{--v79-side:236px}html body .apply-workspace .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .apply-workspace .compact-service-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){:root{--v79-side:0px}html body .main{margin-left:0!important}html body .sidebar{width:275px!important}html body .apply-workspace .form-grid{grid-template-columns:1fr!important}html body .apply-workspace .compact-service-summary{grid-template-columns:1fr 1fr!important}html body .admin-form-studio .content>form>.two-col{grid-template-columns:1fr!important}html body .admin-form-studio .form-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:580px){html body .apply-workspace .compact-service-summary{grid-template-columns:1fr!important}html body .admin-form-studio .form-grid{grid-template-columns:1fr!important}}

/* ===== SOURCE: app-v680.css ===== */
/* MG Print Portal V6.80.0 — Large Readable Video-Reference UI
   Final authoritative size/spacing layer. Keeps existing logic; enlarges sidebar, services and forms. */
:root{
  --v80-side:306px;
  --v80-purple:#43249a;
  --v80-purple-deep:#2c176d;
  --v80-purple-light:#6336bd;
  --v80-pink:#e23b86;
  --v80-orange:#ff7b24;
  --v80-blue:#1789e8;
  --v80-green:#24a94f;
  --v80-bg:#f2f5f9;
  --v80-line:#d8e2ec;
  --v80-ink:#20384f;
}

/* GLOBAL SCALE */
html body{font-size:15px!important;background:var(--v80-bg)!important}
html body .main{margin-left:var(--v80-side)!important;background:var(--v80-bg)!important}
html body .content,html body .dashboard-content{padding:18px 20px 34px!important}
html body .panel,html body .stat{border-radius:8px!important}
html body .btn{min-height:44px!important;padding:0 17px!important;border-radius:6px!important;font-size:12px!important;font-weight:850!important}
html body input,html body select,html body textarea{font-size:12px!important}

/* HEADER */
html body .portal-masthead{height:70px!important;min-height:70px!important;padding:0 20px!important}
html body .mast-brand{min-width:330px!important}
html body .mast-brand img{width:44px!important;height:44px!important}
html body .mast-brand b{font-size:21px!important}
html body .mast-brand small{font-size:10px!important}
html body .u58-mast-search{height:44px!important;max-width:520px!important}
html body .u58-mast-search input{min-height:40px!important;font-size:12px!important}
html body .u58-mast-search button{height:36px!important;padding:0 17px!important;font-size:11px!important}
html body .mast-wallet,html body .mast-bell,html body .mast-profile{height:44px!important}
html body .mast-wallet{min-width:165px!important}
html body .mast-wallet b{font-size:14px!important}
html body .mast-profile{min-width:135px!important}
html body .mast-profile>span{width:34px!important;height:34px!important}

/* SIDEBAR — BIG, CLEAN, VIDEO-STYLE */
html body .sidebar,html body.role-admin .sidebar,html body:not(.role-admin) .sidebar{
  top:70px!important;width:var(--v80-side)!important;padding:14px 10px 14px!important;
  background:linear-gradient(180deg,var(--v80-purple-deep) 0%,var(--v80-purple) 48%,var(--v80-purple-light) 100%)!important;
  border-right:0!important;box-shadow:5px 0 18px rgba(34,20,86,.16)!important;
  overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin!important;scrollbar-color:rgba(255,255,255,.35) transparent!important
}
html body .sidebar:before,html body .sidebar .side-glow{display:none!important}
html body .print-side-identity{min-height:72px!important;margin:0 5px 12px!important;padding:10px 10px 13px!important;grid-template-columns:46px minmax(0,1fr) 9px!important;gap:11px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.18)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body .print-side-mark{width:46px!important;height:46px!important;border-radius:50%!important;background:rgba(255,255,255,.16)!important;color:#fff!important;box-shadow:none!important}
html body .print-side-mark svg{width:21px!important;height:21px!important}
html body .print-side-identity b{font-size:13px!important;line-height:1.18!important;letter-spacing:.4px!important;color:#fff!important;white-space:normal!important;overflow:visible!important}
html body .print-side-identity small{font-size:9px!important;color:#d8cff4!important;line-height:1.3!important}
html body .print-side-live{width:9px!important;height:9px!important;background:#4bea96!important}
html body .print-side-pulse{min-height:48px!important;margin:0 5px 10px!important;padding:9px 11px!important;border-radius:6px!important;background:rgba(10,4,48,.28)!important;border:1px solid rgba(255,255,255,.10)!important}
html body .print-side-pulse small{font-size:7.2px!important;letter-spacing:.65px!important;color:#d0c5ee!important}
html body .print-side-pulse b{font-size:15px!important;color:#fff!important}
html body .print-side-primary{min-height:48px!important;margin:0 5px 12px!important;padding:0 12px!important;border-radius:7px!important;background:linear-gradient(90deg,#198deb,#4f63e9)!important;box-shadow:0 7px 18px rgba(21,66,180,.23)!important}
html body .print-side-primary svg{width:18px!important;height:18px!important}
html body .print-side-primary span{font-size:11.5px!important;font-weight:900!important;white-space:nowrap!important}
html body .print-side-primary b{width:28px!important;height:28px!important;font-size:17px!important}
html body .sidebar nav{padding:0 1px 10px!important;overflow:visible!important}
html body .sidebar .nav-section{margin:15px 10px 7px!important}
html body .sidebar .nav-section span{font-size:7.8px!important;letter-spacing:1.1px!important;color:#c9bdeb!important;font-weight:900!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{min-height:44px!important;margin:0 2px 4px!important;padding:5px 11px!important;gap:10px!important;border-radius:6px!important;border:0!important;background:transparent!important;color:#f3efff!important;box-shadow:none!important;overflow:visible!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover{background:rgba(255,255,255,.11)!important;transform:translateX(2px)!important}
html body .sidebar .nav-item.active{background:linear-gradient(90deg,#f15969,#df378e)!important;color:#fff!important;box-shadow:0 8px 18px rgba(94,20,92,.22)!important}
html body .sidebar .nav-item.active:before{display:none!important}
html body .sidebar .nav-ico,html body .sidebar .nav-item.active .nav-ico{width:28px!important;height:28px!important;flex:0 0 28px!important;border-radius:5px!important;background:rgba(255,255,255,.07)!important;color:currentColor!important;display:grid!important;place-items:center!important}
html body .sidebar .nav-ico svg{width:16px!important;height:16px!important}
html body .sidebar .nav-label{font-size:11.5px!important;line-height:1.25!important;font-weight:750!important;color:inherit!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}
html body .nav-badge{min-width:22px!important;height:22px!important;font-size:10px!important}

/* SIDEBAR SERVICE DIRECTORY — ACTUAL SERVICES LARGE ENOUGH TO READ */
html body .side-service-search{min-height:44px!important;margin:4px 5px 9px!important;padding:0 10px!important;border-radius:6px!important;border:1px solid rgba(255,255,255,.20)!important;background:rgba(18,8,67,.78)!important}
html body .side-service-search span{font-size:17px!important}
html body .side-service-search input{height:40px!important;min-height:40px!important;font-size:11px!important;color:#fff!important}
html body .side-service-category{margin:12px 9px 6px!important;padding:7px 4px 6px!important;font-size:7.8px!important;letter-spacing:1px!important;color:#d5c9f3!important}
html body .sidebar .side-service-direct{min-height:42px!important;padding:5px 9px!important;margin:0 2px 3px!important;border-radius:5px!important}
html body .sidebar .side-service-direct .nav-ico{width:25px!important;height:25px!important;flex:0 0 25px!important}
html body .sidebar .side-service-direct .nav-ico svg{width:14px!important;height:14px!important}
html body .sidebar .side-service-direct .nav-label{font-size:10.6px!important;font-weight:700!important;line-height:1.22!important}
html body .side-service-arrow{font-size:18px!important;color:#d5c9f3!important}
html body .side-footer{padding:12px 4px 3px!important;margin-top:10px!important;background:linear-gradient(180deg,rgba(80,43,171,0),rgba(80,43,171,.98) 26%)!important}
html body .side-tool,html body .side-logout-row{min-height:44px!important;border-radius:6px!important;font-size:11px!important}

/* TOP BAR */
html body .topbar{min-height:66px!important;padding:11px 17px!important}
html body .topbar h1{font-size:26px!important;line-height:1.1!important}
html body .topbar .sub{font-size:10px!important}
html body .wallet-pill{min-height:38px!important;font-size:11px!important}

/* ANNOUNCEMENTS */
html body .video-announcement{min-height:43px!important;padding:0 14px!important;border-radius:6px!important;font-size:11px!important}
html body .video-announcement b{font-size:11px!important}
html body .video-announcement span{font-size:10px!important}

/* USER KPI CARDS */
html body .video-user-kpis{gap:13px!important;margin-bottom:14px!important}
html body .video-user-kpis>a{min-height:132px!important;padding:18px 18px 31px!important;border-radius:7px!important}
html body .video-user-kpis strong{font-size:31px!important;margin-bottom:10px!important}
html body .video-user-kpis b{font-size:12px!important}
html body .video-user-kpis small{font-size:9px!important}
html body .video-user-kpis>a>i{min-height:28px!important;font-size:9px!important}
html body .video-user-feature-grid{gap:14px!important;margin-bottom:14px!important}
html body .video-user-welcome,html body .video-user-tools{padding:22px!important;border-radius:8px!important}
html body .video-user-welcome h2{font-size:25px!important}
html body .video-user-welcome p{font-size:11.5px!important;line-height:1.65!important}
html body .video-pill-actions{gap:10px!important;margin-top:17px!important}
html body .video-pill-actions a,html body .video-pill-actions button{min-height:43px!important;padding:0 20px!important;font-size:10.5px!important;border-radius:999px!important}
html body .video-user-mini-stats span{min-width:112px!important;padding:10px 12px!important}
html body .video-user-mini-stats b{font-size:17px!important}
html body .video-user-mini-stats small{font-size:8px!important}
html body .video-user-tools h3{font-size:21px!important}
html body .video-user-tools p{font-size:10.5px!important}
html body .video-tool-grid a{min-height:64px!important;padding:10px!important;border-radius:6px!important}
html body .video-tool-grid a span{width:34px!important;height:34px!important}
html body .video-tool-grid a b{font-size:10.5px!important}

/* SERVICE CATALOG — BIG AND EASY TO CLICK */
html body:not(.role-admin) .video-service-catalog,html body:not(.role-admin) .u58-services-page{padding:20px!important;border-radius:8px!important}
html body:not(.role-admin) .u58-section-head h2,html body:not(.role-admin) .u58-services-toolbar h2{font-size:27px!important;letter-spacing:-.45px!important}
html body:not(.role-admin) .u58-section-head p,html body:not(.role-admin) .u58-services-toolbar p{font-size:10.5px!important;line-height:1.5!important}
html body:not(.role-admin) .u58-section-kicker{font-size:8.2px!important}
html body .video-service-search input{width:330px!important;min-height:44px!important;font-size:11px!important}
html body:not(.role-admin) .u58-category-tabs{gap:7px!important;margin:14px 0 16px!important}
html body:not(.role-admin) .u58-category-tabs a{min-height:40px!important;padding:0 13px!important;border-radius:6px!important;font-size:9.5px!important;font-weight:800!important}
html body:not(.role-admin) .u58-category-tabs a span{height:20px!important;min-width:20px!important;font-size:7.5px!important}
html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full,html body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html body:not(.role-admin) .u58-service-card{grid-template-columns:62px 1fr!important;gap:14px!important;min-height:184px!important;padding:16px!important;border-radius:8px!important;border:1px solid #d7e1eb!important;box-shadow:0 4px 12px rgba(24,43,63,.07)!important;background:#fff!important}
html body:not(.role-admin) .u58-service-card:before{width:4px!important}
html body:not(.role-admin) .u58-service-card:hover{transform:translateY(-3px)!important;box-shadow:0 12px 26px rgba(24,43,63,.12)!important;border-color:#b8c9d9!important}
html body:not(.role-admin) .u58-service-logo{width:60px!important;height:60px!important;border-radius:7px!important;padding:8px!important}
html body:not(.role-admin) .u58-service-body>small{font-size:7.8px!important;margin:0 0 5px!important;letter-spacing:.65px!important}
html body:not(.role-admin) .u58-service-body>b{font-size:14.5px!important;line-height:1.23!important;margin-bottom:6px!important;font-weight:900!important;color:#20384f!important}
html body:not(.role-admin) .u58-service-body>em{font-size:9.6px!important;line-height:1.45!important;min-height:40px!important;margin:0 0 10px!important;-webkit-line-clamp:3!important}
html body:not(.role-admin) .mg-service-action,html body:not(.role-admin) .u58-service-cta{width:100%!important;min-height:47px!important;padding:0 8px 0 13px!important;border-radius:6px!important;background:linear-gradient(90deg,#1989e8,#3764df)!important;border:0!important;box-shadow:0 7px 15px rgba(25,95,214,.18)!important;grid-template-columns:auto 1fr 34px!important;gap:8px!important}
html body:not(.role-admin) .mg-service-action strong,html body:not(.role-admin) .u58-service-cta strong{font-size:11px!important;font-weight:950!important;color:#fff!important}
html body:not(.role-admin) .mg-service-action b{font-size:10px!important;letter-spacing:.6px!important;color:#fff!important}
html body:not(.role-admin) .mg-service-action i,html body:not(.role-admin) .u58-service-cta i{width:32px!important;height:32px!important;border-radius:5px!important;font-size:15px!important;background:rgba(255,255,255,.14)!important;color:#fff!important;display:grid!important;place-items:center!important}
html body:not(.role-admin) .mg-service-hint,html body:not(.role-admin) .u58-click-hint{display:block!important;margin-top:7px!important;font-size:7.8px!important;line-height:1.2!important;color:#5232a4!important;font-weight:900!important;letter-spacing:.55px!important}
html body:not(.role-admin) .u58-live,html body:not(.role-admin) .u58-assisted{top:10px!important;right:10px!important;min-height:21px!important;padding:0 7px!important;font-size:6.8px!important}
html body:not(.role-admin) .u58-band{min-height:48px!important;padding:9px 12px!important;border-radius:6px!important}
html body:not(.role-admin) .u58-band b{font-size:11px!important}
html body:not(.role-admin) .u58-band small{font-size:8.5px!important}

/* ADMIN KPIs AND CONTROL TILES */
html body.role-admin .dashboard-kpis{gap:14px!important}
html body.role-admin .dashboard-kpis .dash-kpi{min-height:142px!important;padding:20px!important;border-radius:8px!important}
html body.role-admin .dashboard-kpis .dash-kpi small{font-size:9px!important}
html body.role-admin .dashboard-kpis .dash-kpi strong{font-size:31px!important}
html body.role-admin .dashboard-kpis .dash-kpi em{font-size:9.5px!important}
html body.role-admin .admin-control-hub{padding:20px!important;border-radius:8px!important}
html body.role-admin .admin-control-grid{gap:12px!important}
html body.role-admin .admin-control-grid>a{min-height:138px!important;padding:16px!important;border-radius:7px!important}
html body.role-admin .admin-control-grid>a>span{width:48px!important;height:48px!important;font-size:18px!important}
html body.role-admin .admin-control-grid b{font-size:12.5px!important}
html body.role-admin .admin-control-grid small{font-size:9px!important;line-height:1.45!important}
html body .video-category-control-grid{gap:10px!important}
html body .video-category-control-grid>a{min-height:70px!important;padding:11px 13px!important;border-radius:6px!important}
html body .video-category-control-grid>a b{font-size:10.5px!important}
html body .video-category-control-grid>a small{font-size:8px!important}

/* APPLY FORM — LARGE, CLEAN AND FULL WIDTH */
html body .apply-workspace .content{padding:14px 18px 34px!important}
html body .apply-workspace .video-form-titlebar{min-height:90px!important;margin-bottom:14px!important;padding:15px 18px!important;border-radius:8px!important}
html body .apply-workspace .video-form-titlebar>div:first-child>span{font-size:8px!important}
html body .apply-workspace .video-form-titlebar h2{font-size:25px!important;margin:4px 0!important}
html body .apply-workspace .video-form-titlebar p{font-size:10.5px!important}
html body .apply-workspace .video-form-charge{min-height:40px!important;padding:0 14px!important;font-size:11px!important}
html body .apply-workspace .compact-service-split{display:grid!important;grid-template-columns:1fr!important;gap:13px!important}
html body .apply-workspace .compact-service-form{padding:0 16px 17px!important;border-radius:8px!important}
html body .apply-workspace .gov-apply-head{margin:0 -16px 14px!important;padding:12px 16px!important;min-height:64px!important;border-radius:0!important}
html body .apply-workspace .gov-apply-head h2{font-size:17px!important}
html body .apply-workspace .gov-apply-head p{font-size:9.5px!important}
html body .apply-workspace .apply-visual-wrap{width:44px!important;height:44px!important;min-width:44px!important;border-radius:6px!important}
html body .apply-workspace .apply-logo{width:35px!important;height:35px!important}
html body .apply-workspace .service-intro-note,html body .apply-workspace #apiModeOptions{padding:11px 13px!important;border-radius:6px!important;font-size:10px!important;margin-bottom:13px!important}
html body .apply-workspace .form-section-title{min-height:43px!important;margin:13px -16px 13px!important;padding:0 16px!important}
html body .apply-workspace .form-section-title span{font-size:12px!important}
html body .apply-workspace .form-section-title small{font-size:8.5px!important}
html body .apply-workspace .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px 15px!important;padding:13px!important;border:1px solid #d7e7ea!important;border-radius:7px!important;background:#eefafa!important}
html body .apply-workspace .field{gap:5px!important}
html body .apply-workspace .field label{font-size:11.5px!important;line-height:1.25!important;margin-bottom:4px!important}
html body .apply-workspace .field input,html body .apply-workspace .field select,html body .apply-workspace .field textarea{min-height:45px!important;padding:9px 11px!important;font-size:12px!important;border-radius:5px!important;border:1px solid #c8d6e4!important}
html body .apply-workspace .field textarea{min-height:90px!important}
html body .apply-workspace details.panel{border-radius:7px!important}
html body .apply-workspace details.panel summary{min-height:45px!important;padding:11px 14px!important;font-size:11px!important}
html body .apply-workspace .special-flow-card{padding:14px!important;border-radius:7px!important}
html body .apply-workspace .page-note{font-size:9.5px!important;line-height:1.55!important;padding:10px 12px!important;border-radius:6px!important}
html body .apply-workspace .generic-apply-submit-row{gap:12px!important;margin-top:17px!important}
html body .apply-workspace .generic-apply-submit-row .btn.primary,html body .apply-workspace .service-final-submit{min-height:48px!important;min-width:230px!important;padding:0 22px!important;border-radius:6px!important;font-size:11.5px!important}
html body .apply-workspace .compact-service-summary{position:static!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;padding:15px!important;border-radius:8px!important}
html body .apply-workspace .compact-service-summary>h3{grid-column:1/-1!important;margin:0 0 10px!important;padding-bottom:10px!important;font-size:15px!important}
html body .apply-workspace .compact-service-summary .kv{padding:10px 12px!important;border-right:1px solid #e1e7ee!important;border-bottom:0!important}
html body .apply-workspace .compact-service-summary .kv b{display:block!important;font-size:8px!important}
html body .apply-workspace .compact-service-summary .kv span{display:block!important;margin-top:5px!important;font-size:10.5px!important}
html body .apply-workspace .compact-service-summary>a,html body .apply-workspace .compact-service-summary>button,html body .apply-workspace .compact-service-summary>.legal-note,html body .apply-workspace .compact-service-summary>.notice{grid-column:1/-1!important}

/* ADMIN FORM STUDIO ALSO ENLARGED */
html body .admin-form-studio .content>form>.two-col{grid-template-columns:1fr!important;gap:14px!important}
html body .admin-form-studio .admin-builder-card,html body .admin-form-studio .admin-builder-form{border-radius:8px!important}
html body .admin-form-studio .admin-builder-card>h2,html body .admin-form-studio .admin-builder-form .panel-head{padding:13px 15px!important}
html body .admin-form-studio .admin-builder-card>h2{font-size:15px!important}
html body .admin-form-studio .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 14px!important}
html body .admin-form-studio .field input,html body .admin-form-studio .field select,html body .admin-form-studio .field textarea{min-height:44px!important;font-size:11.5px!important;border-radius:5px!important}
html body .admin-form-studio .field label{font-size:10.5px!important}
html body .admin-form-studio .field-builder{padding:12px!important;border-radius:7px!important}

/* DARK */
html[data-theme="dark"] body .sidebar,html[data-theme="dark"] body.role-admin .sidebar,html[data-theme="dark"] body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#20104f,#342072 50%,#4c2a94)!important}

/* RESPONSIVE */
@media(max-width:1500px){
  :root{--v80-side:292px}
  html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full,html body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1260px){
  :root{--v80-side:280px}
  html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full,html body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .apply-workspace .compact-service-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  :root{--v80-side:0px}
  html body .main{margin-left:0!important}
  html body .sidebar{width:300px!important}
  html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full,html body:not(.role-admin) .u58-service-grid{grid-template-columns:1fr!important}
  html body .apply-workspace .form-grid,html body .admin-form-studio .form-grid{grid-template-columns:1fr!important}
  html body .apply-workspace .compact-service-summary{grid-template-columns:1fr 1fr!important}
}
@media(max-width:580px){
  html body .apply-workspace .compact-service-summary{grid-template-columns:1fr!important}
  html body .video-user-kpis{grid-template-columns:1fr!important}
}

/* ===== SOURCE: app-v681.css ===== */
/* MG Print Portal V6.81.0 — Large Dynamic Service Workspace
   Final readability and interaction layer. User: big clickable service cards. Admin: one centralized dynamic service control. */
:root{--v81-side:320px;--v81-purple:#47269f;--v81-deep:#2b1769;--v81-violet:#6338c4;--v81-blue:#2167e8;--v81-blue2:#1454cf;--v81-green:#18a66f;--v81-orange:#f59a23;--v81-line:#d7e1eb;--v81-ink:#17344d}

/* Larger navigation */
html body .main{margin-left:var(--v81-side)!important}
html body .sidebar,html body.role-admin .sidebar,html body:not(.role-admin) .sidebar{width:var(--v81-side)!important;padding:16px 12px!important;background:linear-gradient(180deg,var(--v81-deep),var(--v81-purple) 54%,var(--v81-violet))!important}
html body .print-side-identity{min-height:78px!important;padding:12px!important;margin-bottom:13px!important}
html body .print-side-mark{width:50px!important;height:50px!important}
html body .print-side-identity b{font-size:14px!important}.print-side-identity small{font-size:10px!important}
html body .print-side-pulse{min-height:54px!important;padding:10px 13px!important}.print-side-pulse b{font-size:17px!important}.print-side-pulse small{font-size:8px!important}
html body .print-side-primary{min-height:54px!important;padding:0 14px!important;border-radius:9px!important}.print-side-primary span{font-size:12.5px!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{min-height:52px!important;padding:7px 12px!important;margin-bottom:5px!important;border-radius:8px!important;gap:11px!important}
html body .sidebar .nav-ico,html body .sidebar .nav-item.active .nav-ico{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:7px!important}
html body .sidebar .nav-ico svg{width:18px!important;height:18px!important}
html body .sidebar .nav-label{font-size:12.7px!important;line-height:1.25!important;font-weight:800!important}
html body .sidebar .nav-section{margin:18px 10px 8px!important}.sidebar .nav-section span{font-size:8.5px!important}
html body .sidebar .side-service-direct{min-height:50px!important;padding:7px 10px!important;border-radius:7px!important;background:rgba(255,255,255,.035)!important;border-left:3px solid transparent!important}
html body .sidebar .side-service-direct:hover{background:rgba(255,255,255,.13)!important;border-left-color:#ffbe35!important}
html body .sidebar .side-service-direct .nav-label{font-size:12px!important;font-weight:760!important}
html body .side-service-category{margin:14px 10px 7px!important;padding:7px 3px!important;font-size:8.7px!important;color:#fff!important;opacity:.78!important}
html body .side-service-search{min-height:48px!important}.side-service-search input{height:44px!important;min-height:44px!important;font-size:12px!important}
html body .side-footer{padding:14px 5px 4px!important}.side-tool,.side-logout-row{min-height:48px!important;font-size:12px!important}

/* Admin sidebar uses categories, not 104 tiny individual links */
html body .side-admin-all-services{background:linear-gradient(90deg,#f25d70,#df3a96)!important;color:#fff!important;box-shadow:0 8px 18px rgba(98,19,91,.22)!important}
html body .side-admin-category-directory{display:grid!important;gap:4px!important}
html body .sidebar .side-admin-category{min-height:48px!important;background:rgba(255,255,255,.035)!important}
html body .side-category-count{margin-left:auto!important;min-width:28px!important;height:25px!important;padding:0 7px!important;border-radius:999px!important;background:rgba(255,255,255,.14)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:10px!important}

/* User dynamic service section — two big cards per row */
html body:not(.role-admin) .video-service-catalog,html body:not(.role-admin) .u58-services-page{padding:24px!important;border-radius:12px!important}
html body:not(.role-admin) .u58-section-head h2,html body:not(.role-admin) .u58-services-toolbar h2{font-size:30px!important;line-height:1.12!important}
html body:not(.role-admin) .u58-section-head p,html body:not(.role-admin) .u58-services-toolbar p{font-size:12px!important;line-height:1.6!important}
html body:not(.role-admin) .u58-section-kicker{font-size:9px!important;letter-spacing:1.15px!important}
html body:not(.role-admin) .u58-category-tabs{gap:9px!important;margin:17px 0 20px!important}
html body:not(.role-admin) .u58-category-tabs a{min-height:46px!important;padding:0 16px!important;border-radius:8px!important;font-size:11px!important;font-weight:850!important}
html body:not(.role-admin) .u58-category-tabs a span{min-width:24px!important;height:24px!important;font-size:9px!important}
html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full,html body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
html body:not(.role-admin) .u58-service-card{position:relative!important;display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:18px!important;min-height:232px!important;padding:22px!important;border-radius:14px!important;border:1px solid #cfdae6!important;background:linear-gradient(180deg,#fff,#fafdff)!important;box-shadow:0 10px 24px rgba(24,53,78,.08)!important;cursor:pointer!important;overflow:hidden!important}
html body:not(.role-admin) .u58-service-card:hover{transform:translateY(-5px)!important;border-color:#9eb8d0!important;box-shadow:0 22px 42px rgba(22,54,82,.14)!important}
html body:not(.role-admin) .u58-service-card:after{content:"CLICK TO OPEN"!important;position:absolute!important;right:16px!important;bottom:14px!important;font-size:8px!important;font-weight:950!important;letter-spacing:1px!important;color:#7b91a3!important}
html body:not(.role-admin) .u58-service-logo{width:80px!important;height:80px!important;border-radius:12px!important;padding:10px!important;background:#f7fbfd!important;border:1px solid #d9e4ec!important;box-shadow:0 8px 18px rgba(17,55,80,.07)!important}
html body:not(.role-admin) .u58-service-body>small{font-size:9px!important;letter-spacing:.85px!important;margin:2px 0 7px!important}
html body:not(.role-admin) .u58-service-body>b{font-size:18px!important;line-height:1.25!important;margin-bottom:8px!important;font-weight:950!important;color:var(--v81-ink)!important}
html body:not(.role-admin) .u58-service-body>em{font-size:11.5px!important;line-height:1.55!important;min-height:54px!important;margin-bottom:15px!important;-webkit-line-clamp:3!important;color:#627b8e!important}
html body:not(.role-admin) .mg-service-action{display:grid!important;grid-template-columns:110px minmax(0,1fr) 42px!important;align-items:center!important;width:100%!important;min-height:55px!important;padding:0 8px 0 15px!important;border-radius:9px!important;background:linear-gradient(90deg,var(--v81-blue),var(--v81-blue2))!important;box-shadow:0 10px 20px rgba(28,84,210,.22)!important;color:#fff!important}
html body:not(.role-admin) .mg-service-action strong{font-size:13px!important;color:#fff!important;font-weight:950!important}
html body:not(.role-admin) .mg-service-action b{font-size:11.5px!important;color:#fff!important;font-weight:950!important;letter-spacing:.55px!important;text-align:center!important}
html body:not(.role-admin) .mg-service-action i{width:40px!important;height:40px!important;border-radius:8px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;font-size:18px!important;display:grid!important;place-items:center!important}
html body:not(.role-admin) .mg-service-hint{display:none!important}
html body:not(.role-admin) .u58-live,html body:not(.role-admin) .u58-assisted{top:14px!important;right:14px!important;min-height:24px!important;padding:0 9px!important;font-size:7.5px!important;border-radius:999px!important}

/* Group-specific catalog cards are also large */
html body:not(.role-admin) .user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
html body:not(.role-admin) .user-service-card{min-height:250px!important;padding:22px!important;border-radius:14px!important}.user-service-card h3{font-size:18px!important}.user-service-card p{font-size:11.5px!important;line-height:1.55!important}.user-service-card .service-actions .btn{min-height:48px!important;font-size:11.5px!important}

/* Admin dashboard category control: fewer, larger tiles */
html body.role-admin .video-category-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html body.role-admin .video-category-control-grid>a{min-height:92px!important;padding:15px 16px!important;border-radius:10px!important;box-shadow:0 8px 18px rgba(20,49,73,.06)!important}
html body.role-admin .video-category-control-grid>a b{font-size:13px!important}.video-category-control-grid>a small{font-size:9px!important}

/* Centralized admin dynamic service control */
html body .admin-service-studio .content{padding:20px 22px 38px!important}
html body .admin-service-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;padding:24px!important;border-radius:13px!important;border-left:5px solid var(--v81-purple)!important;background:linear-gradient(135deg,#fff,#f7f5ff)!important}
html body .admin-service-hero h2{font-size:27px!important;margin:4px 0 7px!important}.admin-service-hero p{max-width:880px!important;font-size:12px!important;line-height:1.65!important;color:#5d7488!important}.admin-service-hero-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important}
html body .admin-service-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:16px 0!important}
html body .admin-service-kpis>div{min-height:118px!important;padding:18px!important;border:1px solid #d7e1eb!important;border-radius:11px!important;background:#fff!important;box-shadow:0 9px 20px rgba(20,49,73,.06)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;border-top:4px solid #4a70e8!important}
html body .admin-service-kpis>div:nth-child(2){border-top-color:#1fa873!important}.admin-service-kpis>div:nth-child(3){border-top-color:#ef9c22!important}.admin-service-kpis>div:nth-child(4){border-top-color:#7b50df!important}
html body .admin-service-kpis small{font-size:9px!important;font-weight:900!important;letter-spacing:.7px!important;color:#71889a!important}.admin-service-kpis strong{font-size:29px!important;color:#18374f!important;margin:5px 0!important}.admin-service-kpis span{font-size:10px!important;color:#71889a!important}
html body .admin-service-masterbar{display:grid!important;grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr) auto!important;align-items:center!important;gap:16px!important;padding:18px!important;border-radius:12px!important;margin-bottom:16px!important}
html body .admin-service-master-copy h2{font-size:18px!important;margin:0 0 4px!important}.admin-service-master-copy p{font-size:10.5px!important;color:#708698!important;margin:0!important}.admin-service-search{display:flex!important;align-items:center!important;min-height:50px!important;padding:0 13px!important;border:1px solid #cfdce7!important;border-radius:9px!important;background:#fff!important}.admin-service-search span{font-size:20px!important;color:#6c8292!important}.admin-service-search input{width:100%!important;min-height:46px!important;border:0!important;box-shadow:none!important;background:transparent!important;font-size:12px!important}.admin-service-bulk{display:flex!important;gap:8px!important}.admin-service-bulk .btn{min-height:48px!important}
html body .admin-service-category-panel{padding:20px!important;border-radius:12px!important;margin-bottom:16px!important}.admin-big-category-tabs{display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin-top:14px!important}.admin-big-category-tabs a{min-height:46px!important;padding:0 14px!important;border:1px solid #d4e0e9!important;border-radius:8px!important;background:#fff!important;color:#294c64!important;display:inline-flex!important;align-items:center!important;gap:9px!important;font-size:11px!important;font-weight:850!important}.admin-big-category-tabs a span{min-width:25px!important;height:25px!important;border-radius:999px!important;background:#eef3f7!important;display:grid!important;place-items:center!important;font-size:9px!important}.admin-big-category-tabs a.active{background:linear-gradient(90deg,var(--v81-purple),#6440c3)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 8px 18px rgba(70,38,159,.2)!important}.admin-big-category-tabs a.active span{background:rgba(255,255,255,.16)!important;color:#fff!important}
html body .admin-dynamic-service-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
html body .admin-dynamic-service-card{min-height:260px!important;padding:0!important;border:1px solid #d2dee8!important;border-radius:14px!important;background:linear-gradient(180deg,#fff,#fafdff)!important;box-shadow:0 11px 25px rgba(21,50,74,.075)!important;overflow:hidden!important}
html body .admin-service-open{position:relative!important;display:grid!important;grid-template-columns:74px minmax(0,1fr) auto!important;align-items:center!important;gap:15px!important;min-height:108px!important;padding:18px!important;text-decoration:none!important;color:inherit!important;border-bottom:1px solid #e0e8ef!important;background:linear-gradient(135deg,#fff,#f7fbff)!important}
html body .admin-service-open:hover{background:linear-gradient(135deg,#f9fcff,#f3f8ff)!important}.admin-service-logo{width:70px!important;height:70px!important;padding:9px!important;border:1px solid #d8e4ec!important;border-radius:11px!important;background:#fff!important;display:grid!important;place-items:center!important}.admin-service-logo img{max-width:100%!important;max-height:100%!important;object-fit:contain!important}.admin-service-title{display:flex!important;flex-direction:column!important;min-width:0!important}.admin-service-title small{font-size:8.5px!important;letter-spacing:.75px!important;font-weight:900!important;color:#7655c3!important;text-transform:uppercase!important}.admin-service-title b{font-size:17px!important;line-height:1.3!important;color:#17364f!important;margin:4px 0!important}.admin-service-title em{font-size:9px!important;color:#8395a4!important;font-style:normal!important}.admin-service-state{min-height:27px!important;padding:0 10px!important;border-radius:999px!important;display:flex!important;align-items:center!important;font-size:8px!important;font-weight:950!important;letter-spacing:.7px!important}.admin-service-state.is-live{background:#e5f9ef!important;color:#0e8254!important;border:1px solid #c0ead6!important}.admin-service-state.is-paused{background:#fff0f1!important;color:#be4651!important;border:1px solid #f0c9cd!important}
html body .admin-service-meta{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;border-bottom:1px solid #e0e8ef!important}.admin-service-meta>div{min-height:72px!important;padding:13px 14px!important;border-right:1px solid #e6edf2!important;display:flex!important;flex-direction:column!important;justify-content:center!important}.admin-service-meta>div:last-child{border-right:0!important}.admin-service-meta small{font-size:7.5px!important;font-weight:900!important;letter-spacing:.65px!important;color:#7d91a0!important}.admin-service-meta strong{font-size:12px!important;color:#23465f!important;margin-top:5px!important}
html body .admin-service-actions{display:grid!important;grid-template-columns:minmax(210px,1fr) auto!important;gap:10px!important;align-items:center!important;padding:15px!important}.admin-service-actions .admin-form-btn{min-height:50px!important;font-size:11.5px!important}.admin-service-actions form{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.admin-service-actions form .btn{min-height:44px!important;font-size:10px!important}

/* Apply forms: make form interaction unmistakably large */
html body .apply-workspace .video-form-titlebar{min-height:108px!important;padding:18px 22px!important}.apply-workspace .video-form-titlebar h2{font-size:29px!important}.apply-workspace .video-form-titlebar p{font-size:12px!important}.apply-workspace .video-form-charge{min-height:46px!important;font-size:12px!important}
html body .apply-workspace .compact-service-form{padding:0 20px 22px!important}.apply-workspace .gov-apply-head{margin:0 -20px 18px!important;padding:15px 20px!important;min-height:76px!important}.apply-workspace .gov-apply-head h2{font-size:20px!important}.apply-workspace .gov-apply-head p{font-size:11px!important}.apply-workspace .apply-visual-wrap{width:52px!important;height:52px!important;min-width:52px!important}.apply-workspace .apply-logo{width:41px!important;height:41px!important}
html body .apply-workspace .form-section-title{min-height:50px!important;margin:16px -20px 15px!important;padding:0 20px!important}.apply-workspace .form-section-title span{font-size:13.5px!important}.apply-workspace .form-section-title small{font-size:9.5px!important}
html body .apply-workspace .form-grid{gap:16px 18px!important;padding:18px!important;border-radius:9px!important}.apply-workspace .field label{font-size:12.5px!important}.apply-workspace .field input,.apply-workspace .field select,.apply-workspace .field textarea{min-height:51px!important;padding:11px 13px!important;font-size:13px!important;border-radius:7px!important}.apply-workspace .field textarea{min-height:110px!important}
html body .apply-workspace .generic-apply-submit-row .btn.primary,html body .apply-workspace .service-final-submit{min-height:54px!important;min-width:280px!important;font-size:12.5px!important}.apply-workspace .generic-apply-submit-row .btn:not(.primary){min-height:54px!important}

@media(max-width:1500px){:root{--v81-side:306px}html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full,html body:not(.role-admin) .u58-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1180px){:root{--v81-side:286px}html body .admin-dynamic-service-grid{grid-template-columns:1fr!important}html body .admin-service-masterbar{grid-template-columns:1fr!important}.admin-service-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full,html body:not(.role-admin) .u58-service-grid,html body:not(.role-admin) .user-service-grid{grid-template-columns:1fr!important}}
@media(max-width:900px){:root{--v81-side:0px}html body .main{margin-left:0!important}html body .sidebar{width:310px!important}.admin-service-kpis{grid-template-columns:1fr 1fr!important}.admin-service-hero{align-items:flex-start!important;flex-direction:column!important}}
@media(max-width:620px){html body .admin-service-kpis{grid-template-columns:1fr!important}.admin-service-meta{grid-template-columns:1fr 1fr!important}.admin-service-actions{grid-template-columns:1fr!important}.admin-service-open{grid-template-columns:60px minmax(0,1fr)!important}.admin-service-state{grid-column:1/-1!important;justify-self:start!important}html body:not(.role-admin) .u58-service-card{grid-template-columns:64px minmax(0,1fr)!important;padding:17px!important;min-height:220px!important}.u58-service-logo{width:62px!important;height:62px!important}.mg-service-action{grid-template-columns:90px 1fr 38px!important}.mg-service-action b{font-size:9.5px!important}}

/* Admin operational tables/buttons — readable at normal desktop zoom */
html body.role-admin .table th{font-size:10px!important;letter-spacing:.45px!important;padding:13px 14px!important}
html body.role-admin .table td{font-size:12px!important;line-height:1.45!important;padding:14px!important;vertical-align:middle!important}
html body.role-admin .table .btn,html body.role-admin .stack-actions .btn{min-height:42px!important;padding:0 14px!important;font-size:10.5px!important;border-radius:7px!important}
html body.role-admin .topbar h1{font-size:28px!important}.role-admin .topbar .sub{font-size:11px!important}
html body.role-admin .stats .stat{min-height:120px!important;padding:18px!important}.role-admin .stats .stat strong{font-size:28px!important}.role-admin .stats .stat small{font-size:9.5px!important}
html body.role-admin .toolbar input,html body.role-admin .toolbar select{min-height:46px!important;font-size:11.5px!important}

/* ===== SOURCE: app-v682.css ===== */

/* MG Print Portal V6.82.0 — Signature Premium Print OS
   Final authority layer: cohesive admin/user/service/form design language. */
:root{
 --s82-side:326px; --s82-purple:#45249f; --s82-purple2:#6b3bd1; --s82-indigo:#322078;
 --s82-blue:#1768e5; --s82-blue2:#0e4fc4; --s82-cyan:#1ba7b8; --s82-green:#18a86f;
 --s82-orange:#f59b23; --s82-rose:#e83462; --s82-ink:#102f47; --s82-copy:#5e788b;
 --s82-line:#d8e4ed; --s82-bg:#f1f6f9; --s82-paper:#ffffff; --s82-shadow:0 14px 34px rgba(15,48,72,.09);
}
html body{font-size:14px!important;background:linear-gradient(180deg,#eef4f8,#f8fbfd 48%,#edf4f8)!important;color:var(--s82-ink)!important}
html body .main{margin-left:var(--s82-side)!important;background:transparent!important}
html body .content{padding:22px 24px 38px!important;max-width:1800px!important}
html body .panel{border:1px solid var(--s82-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--s82-shadow)!important}
html body .topbar{min-height:72px!important;padding:14px 20px!important;border-bottom:2px solid #1b73e9!important;background:rgba(255,255,255,.97)!important;box-shadow:0 8px 24px rgba(15,48,72,.05)!important}
html body .topbar h1{font-size:27px!important;letter-spacing:-.7px!important;font-weight:950!important;color:#0d3048!important}
html body .topbar .sub{font-size:11px!important;color:#6b8292!important}

/* Signature sidebar */
html body .sidebar,html body.role-admin .sidebar,html body:not(.role-admin) .sidebar{
 width:var(--s82-side)!important;padding:16px 14px!important;
 background:linear-gradient(180deg,#28145f 0%,#3e2290 45%,#5630b1 100%)!important;
 box-shadow:12px 0 34px rgba(32,17,80,.17)!important;border-right:0!important;
}
html body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#17306f 0%,#3f2497 47%,#632fbd 100%)!important}
html body .sidebar:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 12% 0%,rgba(71,205,221,.18),transparent 24%),radial-gradient(circle at 95% 38%,rgba(255,89,150,.12),transparent 26%)}
html body .print-side-identity{position:relative!important;z-index:2!important;min-height:76px!important;padding:12px 13px!important;border-radius:16px!important;background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.055))!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 14px 28px rgba(16,6,50,.20)!important}
html body .print-side-mark{width:50px!important;height:50px!important;border-radius:14px!important;background:linear-gradient(145deg,#effcff,#ccecf7)!important;color:#294b95!important}
html body .print-side-identity b{font-size:14px!important;letter-spacing:.8px!important;color:#fff!important}.print-side-identity small{font-size:9.7px!important;color:#cbd3f2!important}
html body .print-side-pulse{min-height:58px!important;padding:11px 13px!important;border-radius:13px!important;background:rgba(15,8,51,.30)!important;border:1px solid rgba(255,255,255,.08)!important}
html body .print-side-pulse b{font-size:18px!important;color:#fff!important}.print-side-pulse small{font-size:8px!important;color:#c4c9e6!important}
html body .print-side-primary{min-height:56px!important;border-radius:12px!important;background:linear-gradient(90deg,#1b8bf1,#6051ef)!important;box-shadow:0 12px 24px rgba(18,93,218,.30)!important}
html body .print-side-primary span{font-size:12.5px!important;font-weight:900!important;color:#fff!important}
html body .sidebar nav{position:relative!important;z-index:2!important;padding-bottom:155px!important}
html body .sidebar .nav-item,html body .sidebar .nav-button,html body .sidebar .side-service-direct{min-height:54px!important;padding:8px 12px!important;margin:0 0 6px!important;border-radius:11px!important;gap:11px!important;border:1px solid transparent!important;color:#f2f3ff!important;transition:.17s ease!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover,html body .sidebar .side-service-direct:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.10)!important;transform:translateX(2px)!important}
html body .sidebar .nav-item.active{background:#fff!important;color:#322078!important;border-color:#fff!important;box-shadow:0 12px 26px rgba(19,9,57,.22)!important}
html body .sidebar .nav-item.active:before{content:"";position:absolute;left:-14px;top:10px;bottom:10px;width:5px;border-radius:999px;background:linear-gradient(180deg,#ffb431,#ff5c78)!important}
html body .sidebar .nav-ico{width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:10px!important;background:rgba(255,255,255,.09)!important;color:currentColor!important}
html body .sidebar .nav-item.active .nav-ico{background:#eef1ff!important;color:#4c2daf!important}
html body .sidebar .nav-label{font-size:13px!important;font-weight:820!important;line-height:1.2!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body .sidebar .nav-section,html body .side-service-category{margin:17px 8px 8px!important;font-size:8.6px!important;letter-spacing:1.2px!important;color:#c5c8e8!important;text-transform:uppercase!important}
html body .side-service-search{min-height:50px!important;border-radius:11px!important}.side-service-search input{height:46px!important;font-size:12px!important}
html body .side-category-count{min-width:30px!important;height:26px!important;background:rgba(255,255,255,.15)!important;font-size:10px!important}
html body .side-footer{z-index:5!important;padding:14px!important;background:linear-gradient(180deg,rgba(48,26,112,.35),rgba(35,17,83,.92))!important;backdrop-filter:blur(8px)!important}
html body .side-tool,html body .side-logout-row{min-height:49px!important;border-radius:11px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.11)!important;color:#fff!important;font-size:12px!important}

/* Dashboard polish */
html body .dashboard-kpis,html body .video-user-kpis{gap:16px!important}
html body .dash-kpi,html body .video-user-kpis>a,html body .video-user-kpis>div{min-height:132px!important;border-radius:15px!important;box-shadow:0 15px 30px rgba(18,52,76,.12)!important;overflow:hidden!important}
html body .dash-kpi strong,html body .video-user-kpis strong{font-size:29px!important;line-height:1!important}
html body .admin-control-grid{gap:14px!important}.admin-control-grid>a{min-height:142px!important;border-radius:15px!important;box-shadow:0 12px 26px rgba(15,49,73,.07)!important}
html body .admin-control-grid>a b{font-size:13px!important}.admin-control-grid>a small{font-size:9.6px!important;line-height:1.45!important}
html body .video-category-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.video-category-control-grid>a{min-height:96px!important}

/* User service directory — large, obvious, clickable */
html body:not(.role-admin) .video-service-catalog,html body:not(.role-admin) .u58-services-page{padding:26px!important;border-radius:18px!important;background:#fff!important;border:1px solid var(--s82-line)!important;box-shadow:var(--s82-shadow)!important}
html body:not(.role-admin) .u58-section-head h2,html body:not(.role-admin) .u58-services-toolbar h2{font-size:31px!important;letter-spacing:-.8px!important}
html body:not(.role-admin) .u58-section-head p,html body:not(.role-admin) .u58-services-toolbar p{font-size:12.5px!important}
html body:not(.role-admin) .u58-category-tabs{gap:9px!important;flex-wrap:wrap!important;overflow:visible!important}.u58-category-tabs a{min-height:45px!important;padding:0 16px!important;font-size:11px!important;border-radius:10px!important}
html body:not(.role-admin) .u58-service-grid,html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
html body:not(.role-admin) .u58-service-card{min-height:245px!important;grid-template-columns:88px minmax(0,1fr)!important;padding:23px!important;gap:19px!important;border-radius:17px!important;border:1px solid #d2e0e9!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 12px 27px rgba(18,54,80,.08)!important;cursor:pointer!important;transition:.18s ease!important}
html body:not(.role-admin) .u58-service-card:hover{transform:translateY(-5px)!important;border-color:#9fb9d3!important;box-shadow:0 24px 44px rgba(18,54,80,.14)!important}
html body:not(.role-admin) .u58-service-logo{width:86px!important;height:86px!important;border-radius:16px!important;padding:11px!important;background:#f5f9fc!important;box-shadow:0 9px 22px rgba(13,53,79,.08)!important}
html body:not(.role-admin) .u58-service-body>b{font-size:19px!important;line-height:1.22!important;margin-bottom:8px!important;color:#0f3048!important}
html body:not(.role-admin) .u58-service-body>small{font-size:9px!important;letter-spacing:1px!important}.u58-service-body>em{font-size:11.8px!important;line-height:1.58!important;min-height:58px!important;color:#617b8d!important}
html body:not(.role-admin) .mg-service-action{grid-template-columns:120px minmax(0,1fr) 46px!important;min-height:60px!important;border-radius:12px!important;padding:0 8px 0 17px!important;background:linear-gradient(90deg,#176ae8,#3958dd 65%,#574bdc)!important;box-shadow:0 13px 25px rgba(36,83,210,.25)!important}
html body:not(.role-admin) .mg-service-action strong{font-size:14px!important}.mg-service-action b{font-size:12px!important;letter-spacing:.65px!important}.mg-service-action i{width:43px!important;height:43px!important;border-radius:10px!important;font-size:19px!important}
html body:not(.role-admin) .u58-service-card:hover .mg-service-action{background:linear-gradient(90deg,#105fdc,#294bd2 65%,#4938ca)!important;box-shadow:0 17px 30px rgba(36,83,210,.31)!important}
html body:not(.role-admin) .u58-service-card:after{content:"CLICK CARD OR OPEN SERVICE FORM"!important;font-size:8px!important;letter-spacing:.9px!important;color:#738a9b!important}
html body:not(.role-admin) .u58-live,html body:not(.role-admin) .u58-assisted{min-height:25px!important;padding:0 10px!important;font-size:8px!important}

/* Admin dynamic service center */
html body .admin-service-hero{padding:27px!important;border-radius:18px!important;background:linear-gradient(135deg,#fff 0%,#f7f4ff 60%,#eef7ff 100%)!important;border:1px solid #dadcf0!important;border-left:6px solid var(--s82-purple)!important;box-shadow:var(--s82-shadow)!important}
html body .admin-service-hero h2{font-size:30px!important;letter-spacing:-.7px!important}.admin-service-hero p{font-size:12.5px!important}
html body .admin-service-kpis{gap:15px!important}.admin-service-kpis>div{min-height:126px!important;border-radius:14px!important;box-shadow:0 11px 24px rgba(15,49,73,.07)!important}.admin-service-kpis strong{font-size:28px!important}
html body .admin-service-masterbar{padding:20px!important;border-radius:15px!important}.admin-service-masterbar h2{font-size:20px!important}.admin-service-search input{min-height:48px!important;font-size:12px!important}
html body .admin-big-category-tabs{gap:10px!important}.admin-big-category-tabs a{min-height:54px!important;padding:0 15px!important;border-radius:10px!important;font-size:11px!important}
html body .admin-dynamic-service-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin-top:18px!important}
html body .admin-dynamic-service-card{min-height:255px!important;padding:20px!important;border-radius:17px!important;border:1px solid #d6e2eb!important;background:#fff!important;box-shadow:0 13px 30px rgba(15,50,74,.08)!important}
html body .admin-service-open{min-height:92px!important;grid-template-columns:78px minmax(0,1fr) auto!important;gap:16px!important;padding:0 0 15px!important;border-bottom:1px solid #e1e9ef!important}
html body .admin-service-logo{width:74px!important;height:74px!important;border-radius:14px!important}.admin-service-title b{font-size:17px!important;line-height:1.25!important}.admin-service-title small{font-size:8.5px!important}.admin-service-title em{font-size:9px!important}
html body .admin-service-meta{gap:9px!important;margin:14px 0!important}.admin-service-meta>div{min-height:64px!important;border-radius:10px!important;padding:10px 12px!important;background:#f7fafc!important;border:1px solid #e0e8ee!important}.admin-service-meta small{font-size:7.5px!important}.admin-service-meta strong{font-size:12px!important}
html body .admin-service-actions{gap:10px!important}.admin-service-actions .btn{min-height:46px!important;border-radius:10px!important;font-size:11px!important}.admin-form-btn{min-height:50px!important;font-size:12px!important;background:linear-gradient(90deg,#4a2aa8,#6a3cd1)!important;border-color:#5d34c0!important;color:#fff!important;box-shadow:0 10px 20px rgba(76,42,169,.22)!important}

/* Forms: premium, spacious, consistent */
html body .video-form-titlebar{padding:22px 24px!important;border-radius:18px!important;background:linear-gradient(90deg,#4a26a4,#7039ce 62%,#e43b79)!important;color:#fff!important;box-shadow:0 15px 30px rgba(72,37,157,.20)!important}
html body .video-form-titlebar h2{font-size:27px!important;color:#fff!important;letter-spacing:-.55px!important}.video-form-titlebar p{font-size:11.5px!important;color:rgba(255,255,255,.86)!important}.video-form-charge{min-height:42px!important;padding:0 14px!important;border-radius:999px!important;background:#fff!important;color:#47269f!important;font-size:12px!important;font-weight:950!important}
html body .compact-service-split{display:block!important}.compact-service-form{padding:24px!important;border-radius:18px!important}.compact-service-summary{position:static!important;margin-top:16px!important;padding:18px 20px!important;border-radius:16px!important}
html body .gov-apply-head{padding-bottom:16px!important;margin-bottom:16px!important}.gov-apply-head h2{font-size:22px!important}.gov-apply-head p{font-size:11.5px!important}.apply-visual-wrap{width:66px!important;height:66px!important;min-width:66px!important;border-radius:14px!important}.apply-logo{width:52px!important;height:52px!important}
html body .form-section-title{margin:20px 0 13px!important;padding:13px 15px!important;border-radius:10px!important;background:linear-gradient(90deg,#146bd9,#1c88c9)!important;color:#fff!important}.form-section-title span{font-size:13px!important;font-weight:950!important;color:#fff!important}.form-section-title small{font-size:9px!important;color:rgba(255,255,255,.83)!important}
html body .compact-service-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px 18px!important}.compact-service-form .field{gap:7px!important}.compact-service-form .field label{font-size:12.5px!important;font-weight:850!important;color:#23475f!important}.compact-service-form .field input,.compact-service-form .field select,.compact-service-form .field textarea{min-height:50px!important;padding:11px 13px!important;border-radius:10px!important;border:1px solid #cddce6!important;background:#faffff!important;font-size:13px!important;box-shadow:inset 0 1px 2px rgba(18,54,80,.025)!important}.compact-service-form .field textarea{min-height:120px!important}
html body .compact-service-form .field input:focus,.compact-service-form .field select:focus,.compact-service-form .field textarea:focus{border-color:#5b46c9!important;box-shadow:0 0 0 4px rgba(83,59,190,.10)!important;background:#fff!important}
html body .service-intro-note,.compact-service-form .notice,.compact-service-form .page-note{border-radius:11px!important;font-size:11px!important;line-height:1.55!important}
html body .generic-apply-submit-row{padding-top:18px!important;border-top:1px solid #dce6ed!important}.generic-apply-submit-row .btn.primary,.service-final-submit{min-height:56px!important;min-width:290px!important;border-radius:11px!important;padding:0 24px!important;font-size:13px!important;font-weight:950!important;background:linear-gradient(90deg,#16a66e,#0a8f68)!important;border-color:#0d966c!important;color:#fff!important;box-shadow:0 12px 24px rgba(15,145,103,.23)!important}.generic-apply-submit-row .btn:not(.primary){min-height:52px!important;border-radius:10px!important;font-size:12px!important}
html body .compact-service-summary .kv{padding:11px 0!important;font-size:12px!important}.compact-service-summary h3{font-size:18px!important}

/* Buttons everywhere */
html body .btn{min-height:43px!important;border-radius:10px!important;padding:0 15px!important;font-size:11.5px!important;font-weight:850!important}.btn.primary{background:linear-gradient(90deg,#4e2bb0,#6740d4)!important;border-color:#5934c0!important;color:#fff!important}.btn.success{background:linear-gradient(90deg,#18a76f,#0b8b61)!important;color:#fff!important}.btn.danger{background:linear-gradient(90deg,#e24d60,#ca334d)!important;color:#fff!important}

@media(max-width:1360px){:root{--s82-side:300px}html body .sidebar .nav-label{font-size:12px!important}html body:not(.role-admin) .u58-service-card{min-height:230px!important}}
@media(max-width:1060px){html body:not(.role-admin) .u58-service-grid,html body:not(.role-admin) .video-all-service-grid,html body .admin-dynamic-service-grid{grid-template-columns:1fr!important}.compact-service-form .form-grid{grid-template-columns:1fr!important}}

/* ===== SOURCE: app-v683.css ===== */

/* MG Print Portal V6.83.0 — Signature Service Form Studio
   Final visual authority for application forms. Logic is unchanged. */
:root{
  --v683-ink:#17223b;--v683-copy:#64748b;--v683-line:#e1e7f0;--v683-soft:#f6f8fc;
  --v683-purple:#5b35d5;--v683-purple2:#7c4df2;--v683-blue:#2f6fe8;--v683-cyan:#12a8bd;
  --v683-green:#0e9f6e;--v683-green2:#16b981;--v683-orange:#f59e0b;
}
/* Form page canvas */
html body .apply-workspace{background:linear-gradient(180deg,#f4f7fb 0,#eef4f8 100%)!important}
html body .apply-workspace .content{padding:22px 24px 42px!important;max-width:1760px!important;margin:0 auto!important}
html body .apply-workspace .topbar{margin-bottom:0!important;background:rgba(255,255,255,.97)!important}
html body .apply-workspace .topbar h1{font-size:25px!important;font-weight:950!important;letter-spacing:-.55px!important}

/* Service identity hero */
html body .apply-workspace .video-form-titlebar{
  min-height:150px!important;margin:0 0 20px!important;padding:28px 30px!important;border:0!important;border-radius:24px!important;
  background:linear-gradient(120deg,#43249b 0%,#6138d8 47%,#7c49ee 72%,#d84686 100%)!important;
  color:#fff!important;box-shadow:0 22px 55px rgba(77,45,174,.22)!important;position:relative!important;overflow:hidden!important;
}
html body .apply-workspace .video-form-titlebar:before{content:"";position:absolute;right:-70px;top:-120px;width:330px;height:330px;border-radius:50%;border:48px solid rgba(255,255,255,.07)}
html body .apply-workspace .video-form-titlebar:after{content:"PRINT • PROCESS • TRACK";position:absolute;right:28px;bottom:18px;font-size:9px;font-weight:950;letter-spacing:2px;color:rgba(255,255,255,.55)}
html body .apply-workspace .video-form-titlebar>div{position:relative;z-index:1}
html body .apply-workspace .video-form-titlebar>div:first-child>span{display:inline-flex!important;align-items:center!important;min-height:28px!important;padding:0 11px!important;border-radius:999px!important;background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.20)!important;color:#fff!important;font-size:9px!important;font-weight:900!important;letter-spacing:1.15px!important;text-transform:uppercase!important}
html body .apply-workspace .video-form-titlebar h2{margin:10px 0 8px!important;font-size:36px!important;line-height:1.05!important;font-weight:950!important;letter-spacing:-1.1px!important;color:#fff!important}
html body .apply-workspace .video-form-titlebar p{max-width:760px!important;font-size:12.5px!important;line-height:1.65!important;color:rgba(255,255,255,.84)!important}
html body .apply-workspace .video-form-titlebar>div:last-child{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
html body .apply-workspace .video-form-charge{min-height:48px!important;padding:0 18px!important;border-radius:14px!important;background:#fff!important;color:#4b2aa3!important;font-size:13px!important;font-weight:950!important;box-shadow:0 12px 24px rgba(36,18,92,.18)!important;display:inline-flex!important;align-items:center!important}
html body .apply-workspace .video-form-titlebar .btn{min-height:48px!important;border-radius:14px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;box-shadow:none!important}

/* Main form + premium summary */
html body .apply-workspace .compact-service-split{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:20px!important;align-items:start!important}
html body .apply-workspace .compact-service-form{padding:0 26px 28px!important;border:1px solid #dde5ef!important;border-radius:22px!important;background:#fff!important;box-shadow:0 18px 48px rgba(30,49,77,.08)!important;overflow:hidden!important}
html body .apply-workspace .gov-apply-head{margin:0 -26px 22px!important;padding:20px 26px!important;min-height:92px!important;border:0!important;border-radius:0!important;background:linear-gradient(100deg,#f8f6ff,#f4f8ff 65%,#f2fbfb)!important;border-bottom:1px solid #e4e7f1!important;color:var(--v683-ink)!important}
html body .apply-workspace .gov-apply-head h2{font-size:22px!important;line-height:1.15!important;color:var(--v683-ink)!important;font-weight:950!important;letter-spacing:-.45px!important}
html body .apply-workspace .gov-apply-head p{margin-top:5px!important;font-size:11.5px!important;line-height:1.5!important;color:#718096!important}
html body .apply-workspace .apply-visual-wrap{width:62px!important;height:62px!important;min-width:62px!important;border-radius:16px!important;background:#fff!important;border:1px solid #dce4ef!important;box-shadow:0 10px 24px rgba(39,57,89,.09)!important}
html body .apply-workspace .apply-logo{width:48px!important;height:48px!important;object-fit:contain!important}
html body .apply-workspace .gov-apply-head .chip.price{min-height:38px!important;padding:0 13px!important;border-radius:999px!important;background:#ecfdf5!important;border:1px solid #bae9d6!important;color:#087a56!important;font-size:11px!important;font-weight:950!important}

/* Mode/consent/info cards */
html body .apply-workspace .service-intro-note,html body .apply-workspace #apiModeOptions{padding:14px 16px!important;margin:0 0 18px!important;border:1px solid #dbe7f2!important;border-left:4px solid #2f6fe8!important;border-radius:13px!important;background:linear-gradient(90deg,#f5f9ff,#fbfdff)!important;font-size:11.5px!important;line-height:1.55!important;box-shadow:none!important}
html body .apply-workspace .service-intro-note b{color:#235cc7!important}
html body .apply-workspace .output-mode-grid{gap:14px!important;margin:18px 0!important}
html body .apply-workspace .output-mode-grid>label{min-height:112px!important;padding:17px!important;border-radius:15px!important;background:linear-gradient(180deg,#fff,#f9faff)!important;border:1px solid #dfe4ee!important;box-shadow:0 10px 24px rgba(41,53,86,.05)!important;transition:.18s ease!important}
html body .apply-workspace .output-mode-grid>label:hover{transform:translateY(-2px)!important;border-color:#c5b8f5!important;box-shadow:0 15px 28px rgba(78,52,177,.09)!important}

/* Section headings */
html body .apply-workspace .form-section-title{margin:23px 0 14px!important;padding:0!important;min-height:48px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--v683-ink)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border-bottom:1px solid #e6eaf1!important;position:relative!important}
html body .apply-workspace .form-section-title:before{content:"";position:absolute;left:0;bottom:-1px;width:88px;height:3px;border-radius:999px;background:linear-gradient(90deg,#5b35d5,#2f6fe8)!important}
html body .apply-workspace .form-section-title span{font-size:15px!important;font-weight:950!important;color:#1c2b45!important;letter-spacing:-.18px!important}
html body .apply-workspace .form-section-title small{font-size:9.5px!important;color:#8491a3!important;font-weight:700!important}

/* Fields */
html body .apply-workspace .compact-service-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:17px 18px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
html body .apply-workspace .field{gap:7px!important}
html body .apply-workspace .field label{margin:0!important;font-size:12px!important;line-height:1.25!important;font-weight:850!important;color:#34445f!important;letter-spacing:.05px!important}
html body .apply-workspace .field label span[data-required-mark]{color:#e24b60!important}
html body .apply-workspace .field input,html body .apply-workspace .field select,html body .apply-workspace .field textarea{width:100%!important;min-height:54px!important;padding:12px 14px!important;border-radius:12px!important;border:1px solid #d8e0ea!important;background:#f9fbfd!important;color:#17223b!important;font-size:13px!important;box-shadow:inset 0 1px 1px rgba(35,49,75,.025)!important;transition:border .16s ease,box-shadow .16s ease,background .16s ease!important}
html body .apply-workspace .field input:hover,html body .apply-workspace .field select:hover,html body .apply-workspace .field textarea:hover{border-color:#c6d1df!important;background:#fff!important}
html body .apply-workspace .field input:focus,html body .apply-workspace .field select:focus,html body .apply-workspace .field textarea:focus{outline:0!important;border-color:#7152dc!important;background:#fff!important;box-shadow:0 0 0 4px rgba(91,53,213,.09)!important}
html body .apply-workspace .field textarea{min-height:124px!important;resize:vertical!important}
html body .apply-workspace .field input[type=file]{padding:10px 12px!important;background:#fff!important;border-style:dashed!important;border-width:1.5px!important}
html body .apply-workspace details.panel{margin-top:20px!important;border:1px solid #e0e5ee!important;border-radius:15px!important;background:#fafbfe!important;box-shadow:none!important;overflow:hidden!important}
html body .apply-workspace details.panel summary{min-height:50px!important;padding:0 16px!important;display:flex!important;align-items:center!important;color:#5437b4!important;background:#f7f5ff!important;font-size:12px!important;font-weight:900!important}
html body .apply-workspace details.panel .form-grid{padding:18px!important}

/* Special API flow cards */
html body .apply-workspace .special-flow-card,html body .apply-workspace #addaPanMobileOtpPanel,html body .apply-workspace #addaVoterPdfOtpPanel{margin:20px 0!important;padding:18px!important;border-radius:16px!important;border:1px solid #dce4ef!important;background:linear-gradient(180deg,#fbfdff,#f6f9fd)!important;box-shadow:0 10px 26px rgba(37,52,78,.055)!important}
html body .apply-workspace .special-flow-card h3,html body .apply-workspace #addaPanMobileOtpPanel h3,html body .apply-workspace #addaVoterPdfOtpPanel h3{font-size:15px!important;color:#263754!important}

/* Notes and submit action */
html body .apply-workspace .page-note{margin-top:18px!important;padding:12px 14px!important;border-radius:12px!important;border:1px solid #e0e7ef!important;background:#f8fafc!important;color:#5e6f82!important;font-size:10.5px!important;line-height:1.55!important}
html body .apply-workspace .generic-apply-submit-row{margin-top:24px!important;padding:20px!important;border:1px solid #dfe5ed!important;border-radius:16px!important;background:linear-gradient(135deg,#f9fafc,#f5f7ff)!important;display:grid!important;grid-template-columns:minmax(260px,1fr) 128px!important;gap:12px!important}
html body .apply-workspace .generic-apply-submit-row .btn.primary,html body .apply-workspace .service-final-submit{min-height:60px!important;width:100%!important;min-width:0!important;border-radius:13px!important;background:linear-gradient(100deg,#0d9c6b,#13b67d)!important;border:1px solid #0c9667!important;color:#fff!important;font-size:14px!important;font-weight:950!important;letter-spacing:.12px!important;box-shadow:0 14px 30px rgba(11,151,103,.21)!important}
html body .apply-workspace .generic-apply-submit-row .btn.primary:hover,html body .apply-workspace .service-final-submit:hover{transform:translateY(-2px)!important;background:linear-gradient(100deg,#0b8c61,#0fae76)!important;box-shadow:0 18px 34px rgba(11,151,103,.27)!important}
html body .apply-workspace .generic-apply-submit-row .btn:not(.primary){min-height:60px!important;border-radius:13px!important;background:#fff!important;border:1px solid #d6dee8!important;color:#546176!important;font-size:12px!important;font-weight:850!important}
html body .apply-workspace .special-flow-action-area{margin-top:24px!important;padding:18px!important;border-radius:16px!important;background:#f6f8ff!important;border:1px solid #dedcf5!important}

/* Checkout-style summary */
html body .apply-workspace .compact-service-summary{position:sticky!important;top:98px!important;margin:0!important;padding:0!important;border:1px solid #dfe5ed!important;border-radius:20px!important;background:#fff!important;box-shadow:0 18px 45px rgba(30,48,73,.09)!important;overflow:hidden!important;display:block!important}
html body .apply-workspace .compact-service-summary>h3{margin:0!important;padding:19px 20px!important;border:0!important;background:linear-gradient(100deg,#202d52,#352d78)!important;color:#fff!important;font-size:16px!important;font-weight:950!important;letter-spacing:-.2px!important}
html body .apply-workspace .compact-service-summary .kv{display:grid!important;grid-template-columns:95px 1fr!important;gap:12px!important;align-items:center!important;padding:13px 18px!important;border-bottom:1px solid #edf0f4!important;border-right:0!important}
html body .apply-workspace .compact-service-summary .kv b{display:block!important;font-size:9px!important;line-height:1.2!important;color:#8995a7!important;text-transform:uppercase!important;letter-spacing:.65px!important;font-weight:900!important}
html body .apply-workspace .compact-service-summary .kv span{display:block!important;margin:0!important;font-size:11px!important;line-height:1.35!important;color:#24324b!important;font-weight:800!important;text-align:right!important;word-break:break-word!important}
html body .apply-workspace .compact-service-summary .kv:nth-of-type(3) span{font-size:17px!important;color:#0c9366!important;font-weight:950!important}
html body .apply-workspace .compact-service-summary>a,html body .apply-workspace .compact-service-summary>button{width:calc(100% - 36px)!important;margin:14px 18px 0!important;min-height:46px!important;border-radius:11px!important}
html body .apply-workspace .compact-service-summary>button{margin-top:8px!important}
html body .apply-workspace .compact-service-summary .notice{margin:12px 18px 0!important}
html body .apply-workspace .compact-service-summary .legal-note{margin:14px 18px 18px!important;padding:11px!important;border-radius:10px!important;background:#f8fafc!important;border-left:3px solid #d4dce6!important;font-size:8.5px!important;line-height:1.55!important;color:#8290a0!important}

/* Responsive */
@media(max-width:1320px){html body .apply-workspace .compact-service-split{grid-template-columns:minmax(0,1fr) 290px!important}html body .apply-workspace .video-form-titlebar h2{font-size:32px!important}}
@media(max-width:1080px){html body .apply-workspace .compact-service-split{grid-template-columns:1fr!important}html body .apply-workspace .compact-service-summary{position:static!important}html body .apply-workspace .compact-service-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding-bottom:18px!important}html body .apply-workspace .compact-service-summary>h3,html body .apply-workspace .compact-service-summary>a,html body .apply-workspace .compact-service-summary>button,html body .apply-workspace .compact-service-summary>.notice,html body .apply-workspace .compact-service-summary>.legal-note{grid-column:1/-1!important}html body .apply-workspace .compact-service-summary .kv{grid-template-columns:1fr!important}html body .apply-workspace .compact-service-summary .kv span{text-align:left!important}}
@media(max-width:760px){html body .apply-workspace .content{padding:14px!important}html body .apply-workspace .video-form-titlebar{padding:22px 18px!important;border-radius:18px!important}html body .apply-workspace .video-form-titlebar h2{font-size:27px!important}html body .apply-workspace .compact-service-form{padding:0 16px 20px!important;border-radius:16px!important}html body .apply-workspace .gov-apply-head{margin:0 -16px 18px!important;padding:17px 16px!important}html body .apply-workspace .compact-service-form .form-grid{grid-template-columns:1fr!important}html body .apply-workspace .generic-apply-submit-row{grid-template-columns:1fr!important}html body .apply-workspace .compact-service-summary{grid-template-columns:1fr!important}}

/* ===== SOURCE: app-v684.css ===== */

/* MG Print Portal V6.84.0 — Final Signature Print OS
   One visual system for Admin, User, Service Catalog and Application Forms. */
:root{
 --m84-side:#0b1d35;--m84-side2:#15264d;--m84-indigo:#4f46e5;--m84-violet:#6d4df0;--m84-blue:#2563eb;
 --m84-cyan:#0ea5b7;--m84-green:#0fa977;--m84-orange:#f59e0b;--m84-red:#e94f65;
 --m84-ink:#13243a;--m84-copy:#66788f;--m84-line:#dbe4ee;--m84-bg:#eef4f8;--m84-paper:#fff;
 --m84-shadow:0 18px 44px rgba(25,45,76,.09);--m84-shadow2:0 28px 65px rgba(25,45,76,.14);
 --m84-sidebar:318px;
}
html body{font-size:14px!important;background:linear-gradient(180deg,#edf3f8 0,#f8fbfd 48%,#edf4f8 100%)!important;color:var(--m84-ink)!important}
html body .main{margin-left:var(--m84-sidebar)!important;background:transparent!important}
html body .content,html body .dashboard-content{padding:22px 24px 38px!important;max-width:1800px!important;margin:0 auto!important}

/* header */
html body .portal-masthead{min-height:76px!important;height:76px!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #dce5ed!important;box-shadow:0 8px 28px rgba(23,50,80,.07)!important;backdrop-filter:blur(12px)!important}
html body .portal-masthead:before{height:4px!important;background:linear-gradient(90deg,#19b9cf 0 24%,#6653ea 24% 50%,#ffb43d 50% 74%,#ea4f7a 74% 100%)!important}
html body .mast-brand b{font-size:21px!important;font-weight:950!important;letter-spacing:.6px!important;color:#123759!important}
html body .mast-brand small{font-size:10px!important;color:#6e8193!important}
html body .mast-wallet,html body .mast-profile,html body .mast-bell{min-height:44px!important;border-radius:14px!important;border:1px solid #d9e4ec!important;background:#fff!important;box-shadow:0 8px 22px rgba(19,49,76,.06)!important}
html body .mast-script{display:inline-flex!important;background:linear-gradient(135deg,#243b86,#5c3fd4)!important;color:#fff!important;border-radius:999px!important;padding:0 16px!important;height:36px!important;align-items:center!important;font-size:10px!important;font-weight:900!important;letter-spacing:1px!important}

/* signature sidebar */
html body .sidebar{width:var(--m84-sidebar)!important;top:76px!important;padding:16px 14px 14px!important;background:linear-gradient(180deg,#10274b 0%,#11223f 46%,#0b1a30 100%)!important;border-right:1px solid rgba(255,255,255,.06)!important;box-shadow:12px 0 38px rgba(10,27,48,.16)!important}
html body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#342188 0%,#402399 38%,#2d1c73 100%)!important}
html body .print-side-identity{min-height:66px!important;border-radius:18px!important;padding:11px 12px!important;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.035))!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 16px 30px rgba(0,0,0,.14)!important}
html body .print-side-mark{width:44px!important;height:44px!important;border-radius:13px!important;background:#f5fbff!important;color:#2745ad!important}
html body .print-side-identity b{font-size:12px!important;letter-spacing:.7px!important;color:#fff!important}
html body .print-side-identity small{font-size:9px!important;color:#b6c9db!important}
html body .print-side-pulse{min-height:48px!important;padding:10px 12px!important;border-radius:14px!important;background:rgba(3,12,25,.24)!important;border:1px solid rgba(255,255,255,.08)!important}
html body .print-side-primary{min-height:48px!important;border-radius:14px!important;background:linear-gradient(135deg,#2f80ed,#6251ed)!important;box-shadow:0 15px 26px rgba(47,91,225,.28)!important}
html body .print-side-primary:hover{transform:translateY(-2px)!important;box-shadow:0 20px 32px rgba(47,91,225,.36)!important}
html body .sidebar nav{padding:4px 3px 150px!important}
html body .sidebar .nav-section{margin:17px 8px 7px!important}
html body .sidebar .nav-section span,html body .side-service-category{font-size:8px!important;letter-spacing:1.15px!important;color:#9cb6cc!important;font-weight:900!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{min-height:48px!important;padding:0 12px!important;margin-bottom:6px!important;border-radius:13px!important;gap:11px!important;color:#e8f0f7!important;border:1px solid transparent!important;transition:.18s ease!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover{transform:translateX(3px)!important;background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.10)!important}
html body .sidebar .nav-item.active{background:linear-gradient(135deg,#ffffff,#edf3ff)!important;color:#1c3568!important;border-color:#fff!important;box-shadow:0 14px 24px rgba(4,15,31,.22)!important}
html body .sidebar .nav-item.active:before{left:-4px!important;width:4px!important;top:8px!important;bottom:8px!important;background:linear-gradient(180deg,#22c1dd,#7b61ff)!important}
html body .sidebar .nav-ico{width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:10px!important;background:rgba(255,255,255,.07)!important}
html body .sidebar .nav-item.active .nav-ico{background:#e9efff!important;color:#3751c5!important}
html body .sidebar .nav-label{font-size:12px!important;line-height:1.18!important;font-weight:850!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}
html body .side-service-search{height:43px!important;border-radius:12px!important;background:rgba(0,0,0,.20)!important;border:1px solid rgba(255,255,255,.10)!important}
html body .side-service-search input{font-size:10px!important;color:#fff!important}
html body .side-service-directory .side-service-direct{min-height:44px!important;padding:6px 9px!important;border-radius:11px!important}
html body .side-service-directory .side-service-direct .nav-label{font-size:10.5px!important;font-weight:800!important;line-height:1.25!important}
html body .side-service-directory .nav-ico{width:28px!important;height:28px!important;flex-basis:28px!important}
html body .side-footer{left:14px!important;right:14px!important;bottom:12px!important;padding-top:12px!important;background:linear-gradient(180deg,transparent,rgba(8,20,39,.9) 28%)!important}
html body .side-tool,html body .side-logout-row{min-height:44px!important;border-radius:12px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.10)!important;color:#fff!important}

/* page topbar */
html body .topbar{min-height:72px!important;padding:15px 18px!important;border-radius:0 0 18px 18px!important;background:#fff!important;border-bottom:1px solid #dce5ee!important;box-shadow:0 8px 24px rgba(17,44,72,.055)!important}
html body .topbar h1{font-size:28px!important;letter-spacing:-.8px!important;font-weight:950!important;color:#132f4c!important}
html body .topbar .sub{font-size:10.5px!important;color:#708397!important}

/* alerts: premium compact info rail */
html body .video-announcement-stack{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0 0 16px!important}
html body .video-announcement{min-height:58px!important;padding:12px 16px!important;border-radius:14px!important;display:flex!important;align-items:center!important;gap:12px!important;color:#fff!important;overflow:hidden!important;box-shadow:0 12px 24px rgba(20,47,76,.10)!important}
html body .video-announcement.orange{background:linear-gradient(135deg,#ff8a23,#f45f37)!important}
html body .video-announcement.pink{background:linear-gradient(135deg,#6c4bea,#d63c88)!important}
html body .video-announcement b{font-size:11px!important;white-space:nowrap!important}
html body .video-announcement span{font-size:10.5px!important;opacity:.92!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* dashboard KPI */
html body .dashboard-kpis{gap:14px!important}
html body .dash-kpi{min-height:132px!important;padding:20px!important;border-radius:18px!important;box-shadow:0 18px 32px rgba(26,55,89,.14)!important}
html body .dash-kpi small{font-size:9px!important;letter-spacing:.65px!important}
html body .dash-kpi strong{font-size:30px!important;line-height:1!important;margin:8px 0!important}
html body .dash-kpi em{font-size:9px!important}

/* admin command center */
html body.role-admin .admin-control-hub{padding:20px!important;border-radius:22px!important;border:1px solid var(--m84-line)!important;box-shadow:var(--m84-shadow)!important}
html body.role-admin .admin-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html body.role-admin .admin-control-grid>a{min-height:142px!important;padding:20px!important;border-radius:17px!important;display:grid!important;grid-template-columns:52px 1fr!important;grid-template-rows:auto auto!important;align-content:center!important;column-gap:14px!important;text-align:left!important;background:linear-gradient(145deg,#fff,#f8fbff)!important;border:1px solid #d9e4ed!important;box-shadow:0 14px 30px rgba(20,48,78,.07)!important;transition:.18s ease!important}
html body.role-admin .admin-control-grid>a:hover{transform:translateY(-4px)!important;box-shadow:0 22px 42px rgba(20,48,78,.12)!important}
html body.role-admin .admin-control-grid>a>span{grid-row:1/3!important;width:52px!important;height:52px!important;border-radius:15px!important;margin:0!important;font-size:21px!important}
html body.role-admin .admin-control-grid>a b{font-size:15px!important;align-self:end!important}
html body.role-admin .admin-control-grid>a small{font-size:9.5px!important;line-height:1.45!important;align-self:start!important;text-align:left!important}
html body.role-admin .admin-service-category-panel{border-radius:20px!important;padding:20px!important;box-shadow:var(--m84-shadow)!important}
html body.role-admin .admin-big-category-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
html body.role-admin .admin-big-category-tabs a{min-height:68px!important;border-radius:14px!important;padding:0 16px!important;font-size:12px!important;box-shadow:0 10px 20px rgba(17,46,75,.05)!important}

/* user catalog */
html body:not(.role-admin) .u58-category-tabs{gap:10px!important;margin:16px 0 20px!important}
html body:not(.role-admin) .u58-category-tabs a{min-height:44px!important;padding:0 16px!important;border-radius:12px!important;font-size:10.5px!important;background:#fff!important;border:1px solid #d8e3ec!important;box-shadow:0 7px 16px rgba(18,49,77,.05)!important}
html body:not(.role-admin) .u58-category-tabs a.active{background:linear-gradient(135deg,#4a38c6,#6752eb)!important;border-color:transparent!important}
html body:not(.role-admin) .u58-service-grid,html body:not(.role-admin) .video-all-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
html body:not(.role-admin) .u58-service-card{min-height:238px!important;padding:22px!important;border-radius:20px!important;grid-template-columns:86px minmax(0,1fr)!important;gap:18px!important;background:linear-gradient(145deg,#fff 0%,#f9fcff 100%)!important;border:1px solid #d7e3ec!important;box-shadow:0 16px 36px rgba(19,53,82,.09)!important;transition:.2s ease!important;cursor:pointer!important}
html body:not(.role-admin) .u58-service-card:hover{transform:translateY(-6px)!important;border-color:#a9bdd3!important;box-shadow:0 28px 52px rgba(17,52,83,.15)!important}
html body:not(.role-admin) .u58-service-logo{width:82px!important;height:82px!important;border-radius:18px!important;background:#fff!important;border:1px solid #dce6ed!important;box-shadow:0 12px 26px rgba(19,54,84,.08)!important}
html body:not(.role-admin) .u58-service-body>b{font-size:19px!important;line-height:1.2!important;color:#14324e!important}
html body:not(.role-admin) .u58-service-body>small{font-size:9px!important;letter-spacing:.8px!important;color:#687f95!important}
html body:not(.role-admin) .u58-service-body>em{font-size:11px!important;line-height:1.55!important;color:#6b7e91!important;min-height:38px!important}
html body:not(.role-admin) .mg-service-action,html body:not(.role-admin) .u58-service-cta{min-height:54px!important;width:100%!important;border-radius:15px!important;background:linear-gradient(90deg,#246ee8 0%,#405ce7 55%,#6548e7 100%)!important;border:0!important;color:#fff!important;box-shadow:0 14px 28px rgba(48,84,222,.25)!important;padding:0 14px!important}
html body:not(.role-admin) .mg-service-action b,html body:not(.role-admin) .u58-service-cta strong{font-size:13px!important;color:#fff!important}
html body:not(.role-admin) .mg-service-action span,html body:not(.role-admin) .u58-service-cta i{font-size:11px!important;color:#fff!important;font-weight:950!important;letter-spacing:.3px!important}
html body:not(.role-admin) .mg-service-action i,html body:not(.role-admin) .u58-service-cta i:last-child{min-width:38px!important;height:38px!important;border-radius:11px!important;background:rgba(255,255,255,.14)!important}
html body:not(.role-admin) .u58-live,html body:not(.role-admin) .u58-assisted{min-height:24px!important;padding:0 9px!important;border-radius:999px!important;font-size:7.5px!important}

/* Admin service center cards */
html body .admin-dynamic-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
html body .admin-dynamic-service-card{min-height:270px!important;border-radius:20px!important;border:1px solid #d8e3ec!important;box-shadow:0 16px 36px rgba(17,49,78,.09)!important;background:#fff!important;overflow:hidden!important}
html body .admin-service-open{min-height:108px!important;padding:18px!important;background:linear-gradient(145deg,#fff,#f7faff)!important}
html body .admin-service-logo{width:72px!important;height:72px!important;border-radius:16px!important}
html body .admin-service-title b{font-size:18px!important}
html body .admin-service-actions .btn{min-height:48px!important;border-radius:12px!important}
html body .admin-form-btn{background:linear-gradient(135deg,#4e3acb,#6c4be5)!important;color:#fff!important;border:0!important;box-shadow:0 12px 24px rgba(83,59,201,.22)!important}

/* application form becomes a premium print job studio */
html body .apply-workspace .video-form-titlebar{min-height:170px!important;border-radius:24px!important;padding:30px 32px!important;background:linear-gradient(120deg,#172d66 0%,#4336b5 45%,#6c4aee 78%,#be3b87 100%)!important;box-shadow:0 26px 60px rgba(49,40,131,.24)!important}
html body .apply-workspace .video-form-titlebar h2{font-size:38px!important;letter-spacing:-1.1px!important}
html body .apply-workspace .compact-service-split{grid-template-columns:minmax(0,1fr) 360px!important;gap:22px!important}
html body .apply-workspace .compact-service-form{border-radius:22px!important;padding:0 28px 30px!important;box-shadow:0 20px 48px rgba(22,47,77,.09)!important}
html body .apply-workspace .gov-apply-head{margin:0 -28px 24px!important;padding:22px 28px!important;min-height:100px!important;background:linear-gradient(100deg,#f6f4ff,#f6f9ff 60%,#f2fbfb)!important}
html body .apply-workspace .gov-apply-head h2{font-size:24px!important}
html body .apply-workspace .compact-service-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 20px!important}
html body .apply-workspace .field label{font-size:12.5px!important;font-weight:900!important}
html body .apply-workspace .field input,html body .apply-workspace .field select,html body .apply-workspace .field textarea{min-height:56px!important;border-radius:13px!important;background:#fbfcfe!important;font-size:13.5px!important;border:1px solid #d5dfea!important}
html body .apply-workspace .field textarea{min-height:128px!important}
html body .apply-workspace .compact-service-summary{position:sticky!important;top:98px!important;border-radius:20px!important;padding:20px!important;border:1px solid #dce5ed!important;background:linear-gradient(180deg,#fff,#f8fbfe)!important;box-shadow:0 18px 42px rgba(20,48,76,.09)!important}
html body .apply-workspace .compact-service-summary h3{font-size:18px!important;margin-bottom:10px!important}
html body .apply-workspace .compact-service-summary .kv{min-height:48px!important;padding:10px 0!important}
html body .apply-workspace .generic-apply-submit-row{margin-top:24px!important;padding-top:20px!important;border-top:1px solid #e1e8ef!important}
html body .apply-workspace .generic-apply-submit-row .btn.primary,html body .apply-workspace .service-final-submit{min-height:56px!important;min-width:250px!important;border-radius:14px!important;background:linear-gradient(135deg,#0ca876,#07825c)!important;border:0!important;color:#fff!important;font-size:13px!important;font-weight:950!important;box-shadow:0 14px 28px rgba(10,142,98,.22)!important}
html body .apply-workspace .generic-apply-submit-row .btn:not(.primary){min-height:56px!important;border-radius:14px!important}

/* tables / forms / buttons common */
html body .panel{border-radius:20px!important;border:1px solid #dce5ed!important;box-shadow:var(--m84-shadow)!important}
html body .btn{min-height:42px!important;border-radius:12px!important;font-weight:850!important}
html body .btn.primary{background:linear-gradient(135deg,#315ee8,#5b46dc)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 10px 22px rgba(55,77,204,.18)!important}
html body .btn.success{background:linear-gradient(135deg,#0da474,#08795a)!important;color:#fff!important}
html body .table-wrap{border-radius:18px!important;border:1px solid #dce5ed!important;overflow:hidden!important;box-shadow:var(--m84-shadow)!important}
html body .table th{font-size:9px!important;letter-spacing:.55px!important;background:#eef4f8!important;color:#526a82!important}
html body .table td{font-size:11px!important;padding:13px 12px!important}

/* dark */
html[data-theme="dark"] body .sidebar{background:linear-gradient(180deg,#08162b,#0b1930)!important}
html[data-theme="dark"] body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#25156b,#302078)!important}

/* responsive */
@media(max-width:1400px){:root{--m84-sidebar:294px}html body:not(.role-admin) .u58-service-card{min-height:226px!important}.admin-big-category-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1120px){html body:not(.role-admin) .u58-service-grid,html body:not(.role-admin) .video-all-service-grid,html body .admin-dynamic-service-grid{grid-template-columns:1fr!important}html body.role-admin .admin-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.apply-workspace .compact-service-split{grid-template-columns:1fr!important}.apply-workspace .compact-service-summary{position:static!important}}
@media(max-width:900px){:root{--m84-sidebar:0px}html body .main{margin-left:0!important}html body .sidebar{width:310px!important}.video-announcement-stack{grid-template-columns:1fr!important}}
@media(max-width:650px){html body.role-admin .admin-control-grid,html body.role-admin .admin-big-category-tabs{grid-template-columns:1fr!important}html body .apply-workspace .compact-service-form .form-grid{grid-template-columns:1fr!important}html body:not(.role-admin) .u58-service-card{grid-template-columns:68px minmax(0,1fr)!important;padding:18px!important}.u58-service-logo{width:64px!important;height:64px!important}}

/* ===== SOURCE: app-v686.css ===== */
/* MG Print Portal V6.86.0 — Premium Sidebar OS
   Authoritative final sidebar layer. Keeps workflows intact; improves hierarchy, sizing and accordion services. */
:root{--m86-sidebar:318px;--m86-deep:#0a1b33;--m86-deep2:#122b4a;--m86-indigo:#4f46e5;--m86-violet:#6d4df0;--m86-blue:#2563eb;--m86-aqua:#20c6d8;--m86-line:rgba(255,255,255,.11);}
html body .main{margin-left:var(--m86-sidebar)!important}
html body .sidebar{width:var(--m86-sidebar)!important;top:76px!important;padding:16px 14px 14px!important;background:linear-gradient(180deg,#0d2442 0%,#10223d 58%,#09182c 100%)!important;border-right:1px solid rgba(255,255,255,.07)!important;box-shadow:14px 0 38px rgba(7,24,45,.18)!important;overflow:hidden!important}
html body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#172d57 0%,#1c2559 52%,#111d43 100%)!important}
html body .sidebar>nav{height:calc(100vh - 76px - 240px)!important;min-height:260px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:4px 3px 18px!important;scrollbar-width:thin!important;scrollbar-color:rgba(175,205,226,.28) transparent!important}
html body .sidebar>nav::-webkit-scrollbar{width:5px!important}html body .sidebar>nav::-webkit-scrollbar-thumb{background:rgba(175,205,226,.28)!important;border-radius:99px!important}
html body .print-side-identity{min-height:70px!important;padding:12px!important;border-radius:19px!important;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.035))!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 16px 30px rgba(0,0,0,.13)!important}
html body .print-side-mark{width:46px!important;height:46px!important;border-radius:14px!important}
html body .print-side-identity b{font-size:13px!important;letter-spacing:.65px!important}html body .print-side-identity small{font-size:9.7px!important}
html body .print-side-pulse{min-height:52px!important;padding:11px 13px!important;border-radius:15px!important;background:rgba(2,12,26,.26)!important;border:1px solid rgba(255,255,255,.08)!important}
html body .print-side-pulse small{font-size:7.8px!important;letter-spacing:.7px!important}html body .print-side-pulse b{font-size:16px!important}
html body .print-side-primary{min-height:54px!important;padding:0 15px!important;border-radius:16px!important;margin:10px 0 13px!important;background:linear-gradient(135deg,#2584ee,#684ef0)!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 16px 30px rgba(49,82,220,.28)!important;font-size:13px!important;font-weight:950!important}
html body .print-side-primary:hover{transform:translateY(-2px)!important;box-shadow:0 22px 38px rgba(49,82,220,.36)!important}
html body .sidebar .nav-section{margin:18px 9px 8px!important}html body .sidebar .nav-section span{font-size:8.3px!important;letter-spacing:1.25px!important;color:#a6bfd0!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{min-height:52px!important;padding:0 13px!important;margin-bottom:7px!important;border-radius:15px!important;gap:12px!important;color:#edf5fb!important;border:1px solid transparent!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.10)!important;transform:translateX(3px)!important}
html body .sidebar .nav-item.active{background:linear-gradient(135deg,#fff,#edf3ff)!important;color:#1f3768!important;border-color:#fff!important;box-shadow:0 15px 28px rgba(3,17,37,.22)!important}
html body .sidebar .nav-item.active:before{left:-4px!important;top:8px!important;bottom:8px!important;width:4px!important;border-radius:999px!important;background:linear-gradient(180deg,var(--m86-aqua),#7a5cf1)!important}
html body .sidebar .nav-ico{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:11px!important;background:rgba(255,255,255,.07)!important}
html body .sidebar .nav-label{font-size:12.7px!important;line-height:1.18!important;font-weight:850!important;white-space:normal!important;overflow:visible!important;max-width:none!important}

/* Premium service directory */
html body .premium-service-heading{margin-top:21px!important}
html body .premium-side-search{height:47px!important;margin:0 2px 11px!important;padding:0 12px!important;border-radius:14px!important;background:rgba(2,12,26,.24)!important;border:1px solid rgba(255,255,255,.11)!important;display:flex!important;align-items:center!important;gap:8px!important}
html body .premium-side-search span{font-size:17px!important;color:#b6cbda!important}html body .premium-side-search input{height:43px!important;min-height:43px!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font-size:11.5px!important;width:100%!important}html body .premium-side-search input::placeholder{color:#9bb2c4!important}
html body .premium-service-accordions{display:grid!important;gap:8px!important;margin:0 1px!important}
html body .side-service-accordion{border:1px solid rgba(255,255,255,.10)!important;border-radius:15px!important;background:rgba(255,255,255,.045)!important;overflow:hidden!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important}
html body .side-service-accordion[open]{background:rgba(255,255,255,.065)!important;border-color:rgba(132,168,255,.25)!important}
html body .side-service-accordion>summary{list-style:none!important;cursor:pointer!important;min-height:58px!important;padding:8px 10px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) auto 22px!important;align-items:center!important;gap:9px!important;color:#fff!important;user-select:none!important}
html body .side-service-accordion>summary::-webkit-details-marker{display:none!important}
html body .side-accordion-icon{width:36px!important;height:36px!important;border-radius:11px!important;display:grid!important;place-items:center!important;background:rgba(255,255,255,.08)!important;color:#dbeaff!important}html body .side-accordion-icon svg{width:17px!important;height:17px!important}
html body .side-accordion-copy{min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important}html body .side-accordion-copy b{font-size:11.7px!important;line-height:1.15!important;color:#f6fbff!important;font-weight:900!important;white-space:normal!important}html body .side-accordion-copy small{font-size:8.4px!important;color:#9fb6c7!important}
html body .side-accordion-count{min-width:27px!important;height:25px!important;border-radius:999px!important;background:rgba(255,255,255,.10)!important;color:#ddecf7!important;display:grid!important;place-items:center!important;font-size:9px!important;font-weight:900!important}
html body .side-accordion-chevron{font-size:16px!important;font-style:normal!important;color:#a8bfd0!important;transition:transform .18s ease!important}html body .side-service-accordion[open] .side-accordion-chevron{transform:rotate(180deg)!important}
html body .side-accordion-body{display:grid!important;gap:5px!important;padding:0 8px 9px!important;border-top:1px solid rgba(255,255,255,.07)!important}
html body .side-service-link{min-height:50px!important;padding:7px 8px!important;border-radius:12px!important;display:grid!important;grid-template-columns:30px minmax(0,1fr) 18px!important;align-items:center!important;gap:9px!important;text-decoration:none!important;color:#e7f0f7!important;border:1px solid transparent!important;background:rgba(4,16,30,.16)!important;transition:.16s ease!important}
html body .side-service-link:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.10)!important;transform:translateX(2px)!important}
html body .side-service-link.active{background:linear-gradient(135deg,#fff,#eff4ff)!important;color:#213764!important;border-color:#fff!important}
html body .side-link-icon{width:30px!important;height:30px!important;border-radius:9px!important;display:grid!important;place-items:center!important;background:rgba(255,255,255,.07)!important}html body .side-service-link.active .side-link-icon{background:#e9efff!important;color:#4054c7!important}html body .side-link-icon svg{width:14px!important;height:14px!important}
html body .side-service-link>span:nth-child(2){min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important}html body .side-service-link b{font-size:10.6px!important;line-height:1.2!important;font-weight:850!important;white-space:normal!important}html body .side-service-link small{font-size:7.7px!important;line-height:1.15!important;color:#97afbf!important}html body .side-service-link.active small{color:#6f819c!important}html body .side-service-link>i{font-size:17px!important;font-style:normal!important;color:#9cb4c5!important}
html body .premium-all-services{min-height:58px!important;margin:10px 1px 5px!important;padding:9px 12px!important;border-radius:15px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) 22px!important;align-items:center!important;gap:10px!important;text-decoration:none!important;background:linear-gradient(135deg,rgba(37,99,235,.34),rgba(109,77,240,.32))!important;border:1px solid rgba(154,177,255,.23)!important;color:#fff!important;box-shadow:0 12px 24px rgba(5,19,43,.16)!important}html body .premium-all-services svg{width:18px!important;height:18px!important}html body .premium-all-services span{display:flex!important;flex-direction:column!important;gap:2px!important}html body .premium-all-services b{font-size:11.5px!important}html body .premium-all-services small{font-size:8.2px!important;color:#c3d4e3!important}html body .premium-all-services>i{font-style:normal!important;font-size:17px!important}

html body .side-footer{left:14px!important;right:14px!important;bottom:12px!important;padding-top:11px!important;background:linear-gradient(180deg,transparent,rgba(8,20,39,.96) 28%)!important}
html body .side-tool,html body .side-logout-row{min-height:48px!important;border-radius:14px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.10)!important;color:#fff!important}

@media(max-width:1280px){:root{--m86-sidebar:300px}html body .sidebar .nav-label{font-size:12px!important}}
@media(max-width:850px){html body .main{margin-left:0!important}html body .sidebar{width:min(320px,88vw)!important;transform:translateX(-105%)!important;transition:transform .22s ease!important}html body .sidebar.open{transform:translateX(0)!important}html body .sidebar>nav{height:calc(100vh - 240px)!important}}

/* ===== SOURCE: app-v687.css ===== */
/* MG Print Portal V6.87.0 — Balanced Premium Workspace
   Final authoritative scale pass: compact user service cards, stronger admin studio,
   clearer service-aware sidebar, consistent professional navigation. */
:root{
  --v87-side:300px;
  --v87-navy:#102d4d;
  --v87-navy2:#153a5e;
  --v87-blue:#2463eb;
  --v87-violet:#5b45e8;
  --v87-teal:#159b91;
  --v87-surface:#ffffff;
  --v87-page:#f4f7fb;
  --v87-text:#10243e;
  --v87-muted:#6d7f95;
  --v87-border:#dce5ef;
  --v87-shadow:0 10px 28px rgba(18,45,75,.08);
}

/* ===== Sidebar: clear, service-aware, not oversized ===== */
html body .main{margin-left:var(--v87-side)!important}
html body .sidebar{
  width:var(--v87-side)!important;top:76px!important;padding:14px 12px 12px!important;
  background:linear-gradient(180deg,#103554 0%,#0d304c 52%,#09263f 100%)!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
  box-shadow:10px 0 30px rgba(7,30,50,.14)!important;overflow:hidden!important;
}
html body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#0e766f 0%,#0b625f 58%,#094d4f 100%)!important}
html body .sidebar>nav{height:calc(100vh - 76px - 230px)!important;min-height:280px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:3px 3px 18px!important;scrollbar-width:thin!important;scrollbar-color:rgba(203,224,236,.35) transparent!important}
html body .sidebar>nav::-webkit-scrollbar{width:5px!important}html body .sidebar>nav::-webkit-scrollbar-thumb{background:rgba(203,224,236,.35)!important;border-radius:99px!important}
html body .print-side-identity{min-height:66px!important;padding:10px!important;border-radius:16px!important;background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:none!important}
html body .print-side-mark{width:44px!important;height:44px!important;border-radius:12px!important}
html body .print-side-identity b{font-size:13.2px!important;line-height:1.08!important;letter-spacing:.35px!important}html body .print-side-identity small{font-size:9.7px!important;line-height:1.2!important}
html body .print-side-pulse{min-height:48px!important;padding:9px 11px!important;border-radius:13px!important;background:rgba(3,25,43,.24)!important;border:1px solid rgba(255,255,255,.08)!important}
html body .print-side-pulse small{font-size:7.6px!important;letter-spacing:.6px!important}html body .print-side-pulse b{font-size:15px!important}
html body .print-side-primary{min-height:54px!important;padding:0 14px!important;border-radius:14px!important;margin:9px 0 12px!important;background:linear-gradient(135deg,var(--v87-blue),var(--v87-violet))!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 10px 24px rgba(42,80,220,.24)!important;font-size:13.5px!important;font-weight:900!important}
html body .sidebar .nav-section{margin:15px 8px 7px!important}html body .sidebar .nav-section span{font-size:8.4px!important;letter-spacing:1.2px!important;color:rgba(224,240,248,.66)!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{min-height:50px!important;padding:0 12px!important;margin-bottom:5px!important;border-radius:13px!important;gap:11px!important;color:#f3f8fb!important;border:1px solid transparent!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.11)!important;transform:translateX(2px)!important}
html body .sidebar .nav-item.active{background:#f8fbff!important;color:#153a5d!important;border-color:#fff!important;box-shadow:0 8px 20px rgba(5,25,42,.20)!important}
html body .sidebar .nav-item.active:before{left:-3px!important;top:8px!important;bottom:8px!important;width:4px!important;border-radius:99px!important;background:linear-gradient(180deg,#19c6d1,#6555ed)!important}
html body .sidebar .nav-ico{width:35px!important;height:35px!important;flex:0 0 35px!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important}
html body .sidebar .nav-label{font-size:13.2px!important;line-height:1.2!important;font-weight:800!important;white-space:normal!important;overflow:visible!important;max-width:none!important}

/* service directory: clean accordion with larger readable category labels */
html body .premium-service-heading{margin-top:17px!important}
html body .premium-side-search{height:46px!important;margin:0 2px 10px!important;padding:0 12px!important;border-radius:13px!important;background:rgba(3,26,45,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
html body .premium-side-search input{height:42px!important;min-height:42px!important;font-size:11.8px!important;color:#fff!important}
html body .premium-service-accordions{gap:7px!important}
html body .side-service-accordion{border-radius:14px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.11)!important}
html body .side-service-accordion[open]{background:rgba(255,255,255,.09)!important;border-color:rgba(202,228,255,.22)!important}
html body .side-service-accordion>summary{min-height:61px!important;padding:8px 9px!important;grid-template-columns:36px minmax(0,1fr) auto 20px!important;gap:8px!important}
html body .side-accordion-copy b{font-size:12.2px!important;line-height:1.15!important;font-weight:900!important;color:#fff!important}
html body .side-accordion-copy small{font-size:8.6px!important;color:rgba(222,239,247,.70)!important}
html body .side-accordion-count{min-width:28px!important;height:26px!important;font-size:9.5px!important;background:rgba(255,255,255,.13)!important}
html body .side-accordion-body{gap:5px!important;padding:0 7px 8px!important}
html body .side-service-link{min-height:46px!important;padding:6px 8px!important;grid-template-columns:29px minmax(0,1fr) 16px!important;gap:8px!important;border-radius:11px!important;background:rgba(3,22,38,.13)!important}
html body .side-service-link b{font-size:10.8px!important;line-height:1.18!important;font-weight:800!important;white-space:normal!important}
html body .side-service-link small{font-size:7.8px!important;color:rgba(220,238,247,.64)!important}
html body .side-service-link.active{background:#fff!important;color:#153a5d!important}
html body .premium-all-services{min-height:54px!important;border-radius:13px!important;margin:9px 1px 4px!important}
html body .side-footer{left:12px!important;right:12px!important;bottom:10px!important}.side-tool,.side-logout-row{min-height:46px!important;border-radius:12px!important}

/* ===== User service directory: balanced cards, no oversized blank plates ===== */
html body:not(.role-admin) .video-all-service-grid,
html body:not(.role-admin) .u58-service-grid,
html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
html body:not(.role-admin) .u58-service-card{
  min-height:178px!important;height:auto!important;padding:18px!important;
  grid-template-columns:68px minmax(0,1fr)!important;gap:15px!important;
  border-radius:16px!important;border:1px solid #d9e4ed!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:0 8px 22px rgba(18,54,80,.07)!important;overflow:hidden!important;cursor:pointer!important;
}
html body:not(.role-admin) .u58-service-card:hover{transform:translateY(-3px)!important;border-color:#aec3d5!important;box-shadow:0 16px 32px rgba(17,52,83,.12)!important}
html body:not(.role-admin) .u58-service-card:after{display:none!important;content:none!important}
html body:not(.role-admin) .u58-service-logo{width:64px!important;height:64px!important;min-width:64px!important;border-radius:14px!important;align-self:start!important}
html body:not(.role-admin) .u58-service-logo img{width:52px!important;height:52px!important;object-fit:contain!important}
html body:not(.role-admin) .u58-service-body{min-width:0!important;display:flex!important;flex-direction:column!important;min-height:142px!important}
html body:not(.role-admin) .u58-service-body>small{font-size:9px!important;letter-spacing:.85px!important;font-weight:900!important;margin-bottom:4px!important}
html body:not(.role-admin) .u58-service-body>b{font-size:18px!important;line-height:1.16!important;font-weight:900!important;letter-spacing:-.28px!important;color:#0d2a45!important}
html body:not(.role-admin) .u58-service-body>em{font-size:11.7px!important;line-height:1.4!important;color:#6a7f92!important;margin-top:5px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;font-style:normal!important}
html body:not(.role-admin) .u58-live,html body:not(.role-admin) .u58-assisted{top:12px!important;right:12px!important;min-height:24px!important;padding:0 8px!important;font-size:8.4px!important;border-radius:999px!important}
html body:not(.role-admin) .mg-service-action{margin-top:auto!important;min-height:48px!important;height:48px!important;border-radius:11px!important;grid-template-columns:92px 1fr 38px!important;background:linear-gradient(95deg,#1769e8,#335fe8 58%,#5844df)!important;box-shadow:0 9px 20px rgba(46,89,220,.20)!important}
html body:not(.role-admin) .mg-service-action strong{font-size:13.2px!important;padding-left:14px!important}
html body:not(.role-admin) .mg-service-action b{font-size:11.2px!important;letter-spacing:.15px!important;font-weight:900!important;text-align:center!important}
html body:not(.role-admin) .mg-service-action i{width:32px!important;height:32px!important;border-radius:9px!important;font-size:16px!important}

/* ===== Admin service builder: stronger, larger, professional control studio ===== */
html body.role-admin .admin-form-studio{background:var(--v87-page)!important}
html body.role-admin .admin-form-studio .content{max-width:1680px!important;margin:0 auto!important;padding:18px 20px 36px!important}
html body.role-admin .admin-form-studio .content>form>.two-col{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;align-items:start!important}
html body.role-admin .admin-form-studio .admin-builder-card,
html body.role-admin .admin-form-studio .admin-builder-form{border-radius:16px!important;border:1px solid var(--v87-border)!important;background:#fff!important;box-shadow:var(--v87-shadow)!important;overflow:hidden!important;padding:0!important}
html body.role-admin .admin-form-studio .admin-builder-card>h2{margin:0!important;padding:17px 20px!important;background:linear-gradient(90deg,#f5f8ff,#f8fbff)!important;border-bottom:1px solid #e4ebf3!important;border-left:5px solid var(--v87-blue)!important;color:#173554!important;font-size:18px!important;font-weight:900!important;letter-spacing:-.25px!important}
html body.role-admin .admin-form-studio .admin-builder-card .form-grid{padding:18px 20px 20px!important;margin-top:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px 16px!important}
html body.role-admin .admin-form-studio .admin-builder-card .stack-actions{margin:0!important;padding:0 20px 20px!important}
html body.role-admin .admin-form-studio .field{gap:7px!important}
html body.role-admin .admin-form-studio .field label{font-size:12.5px!important;line-height:1.2!important;font-weight:800!important;color:#30445d!important}
html body.role-admin .admin-form-studio .field input,
html body.role-admin .admin-form-studio .field select,
html body.role-admin .admin-form-studio .field textarea{min-height:50px!important;padding:11px 13px!important;border-radius:10px!important;border:1px solid #d3dfeb!important;background:#fbfdff!important;color:#162b43!important;font-size:13.4px!important;box-shadow:none!important}
html body.role-admin .admin-form-studio .field textarea{min-height:105px!important;resize:vertical!important}
html body.role-admin .admin-form-studio .field input:focus,
html body.role-admin .admin-form-studio .field select:focus,
html body.role-admin .admin-form-studio .field textarea:focus{outline:0!important;background:#fff!important;border-color:#4d70e8!important;box-shadow:0 0 0 4px rgba(77,112,232,.10)!important}
html body.role-admin .admin-form-studio .switch{min-height:42px!important;padding:0 12px!important;border-radius:10px!important;background:#f7f9fc!important;border:1px solid #e0e8f0!important;font-size:12px!important;font-weight:800!important}
html body.role-admin .admin-form-studio .admin-builder-form{margin-top:18px!important;padding:0 20px 20px!important}
html body.role-admin .admin-form-studio .admin-builder-form .panel-head{margin:0 -20px 18px!important;padding:16px 20px!important;min-height:70px!important;background:linear-gradient(90deg,#f2f6ff,#f7fbff)!important;border-bottom:1px solid #e1e9f2!important;border-left:5px solid var(--v87-violet)!important;align-items:center!important}
html body.role-admin .admin-form-studio .admin-builder-form .panel-head h2{font-size:19px!important;color:#18334f!important;font-weight:900!important;margin:0!important}
html body.role-admin .admin-form-studio .admin-builder-form .panel-head p{font-size:11.5px!important;line-height:1.45!important;color:#6c7f91!important;margin-top:4px!important}
html body.role-admin .admin-form-studio .admin-builder-form .panel-head .btn{min-height:46px!important;padding:0 16px!important;border-radius:11px!important;font-size:12px!important;font-weight:900!important;background:linear-gradient(135deg,var(--v87-blue),var(--v87-violet))!important}
html body.role-admin .admin-form-studio .field-builder{padding:14px!important;border-radius:13px!important;background:#f8fafc!important;border:1px solid #e0e8f0!important}
html body.role-admin .admin-form-studio form>.stack-actions{margin-top:18px!important;justify-content:flex-end!important;gap:10px!important;padding:16px 18px!important;border:1px solid #dde6ef!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--v87-shadow)!important}
html body.role-admin .admin-form-studio form>.stack-actions .btn{min-height:50px!important;border-radius:11px!important;padding:0 20px!important;font-size:13px!important;font-weight:900!important}
html body.role-admin .admin-form-studio form>.stack-actions .btn.primary{min-width:220px!important;background:linear-gradient(135deg,#116fd8,#5145dc)!important;box-shadow:0 9px 20px rgba(45,78,200,.20)!important}

/* ===== Apply form: keep premium, reduce giant hero and preserve clear submission ===== */
html body .apply-workspace .content{max-width:1580px!important;padding:18px 20px 36px!important}
html body .apply-workspace .video-form-titlebar{padding:24px 26px!important;min-height:142px!important;border-radius:18px!important}
html body .apply-workspace .video-form-titlebar h2{font-size:30px!important;line-height:1.08!important}
html body .apply-workspace .compact-service-split{grid-template-columns:minmax(0,1fr) 320px!important;gap:18px!important}
html body .apply-workspace .compact-service-form{border-radius:18px!important;padding:0 22px 24px!important}
html body .apply-workspace .gov-apply-head{margin:0 -22px 18px!important;padding:17px 22px!important;min-height:82px!important}
html body .apply-workspace .gov-apply-head h2{font-size:20px!important}
html body .apply-workspace .field input,html body .apply-workspace .field select,html body .apply-workspace .field textarea{min-height:50px!important;font-size:13.2px!important;border-radius:11px!important}
html body .apply-workspace .field label{font-size:12.4px!important}
html body .apply-workspace .generic-apply-submit-row{margin-top:20px!important;padding:16px!important;border-radius:14px!important;grid-template-columns:minmax(250px,1fr) 120px!important}
html body .apply-workspace .generic-apply-submit-row .btn.primary,html body .apply-workspace .service-final-submit{min-height:54px!important;font-size:13.5px!important}
html body .apply-workspace .generic-apply-submit-row .btn:not(.primary){min-height:54px!important}
html body .apply-workspace .compact-service-summary{border-radius:17px!important}

@media(max-width:1280px){:root{--v87-side:288px}html body.role-admin .admin-form-studio .content>form>.two-col{grid-template-columns:1fr!important}}
@media(max-width:1080px){html body:not(.role-admin) .video-all-service-grid,html body:not(.role-admin) .u58-service-grid,html body:not(.role-admin) .u58-services-full{grid-template-columns:1fr!important}html body .apply-workspace .compact-service-split{grid-template-columns:1fr!important}}
@media(max-width:850px){html body .main{margin-left:0!important}html body .sidebar{width:min(300px,88vw)!important;transform:translateX(-105%)!important;transition:transform .22s ease!important}html body .sidebar.open{transform:translateX(0)!important}html body .sidebar>nav{height:calc(100vh - 226px)!important}}
@media(max-width:650px){html body:not(.role-admin) .u58-service-card{grid-template-columns:58px minmax(0,1fr)!important;padding:15px!important;min-height:166px!important}.u58-service-logo{width:56px!important;height:56px!important}.u58-service-logo img{width:46px!important;height:46px!important}html body:not(.role-admin) .mg-service-action{grid-template-columns:78px 1fr 34px!important}.mg-service-action b{font-size:9.8px!important}html body.role-admin .admin-form-studio .admin-builder-card .form-grid,html body .apply-workspace .compact-service-form .form-grid{grid-template-columns:1fr!important}}

/* ===== SOURCE: app-v688.css ===== */
/* MG Print Portal V6.88.0 — Four Column Compact Service Workspace
   Final authoritative layout pass: 4-column desktop service catalog, shorter cards,
   clear professional service-aware sidebar, balanced Admin Service Builder. */
:root{
  --v88-side:300px;
  --v88-navy:#102e4c;
  --v88-navy2:#0b243c;
  --v88-blue:#1769e8;
  --v88-violet:#5945e8;
  --v88-teal:#118c83;
  --v88-text:#102a43;
  --v88-muted:#6c7f92;
  --v88-border:#dbe5ee;
  --v88-page:#f4f7fb;
  --v88-shadow:0 8px 22px rgba(17,48,77,.075);
}

/* ===== SIDEBAR: professional, readable, compact but clear ===== */
html body .main{margin-left:var(--v88-side)!important}
html body .sidebar{
  width:var(--v88-side)!important;top:76px!important;padding:13px 11px 11px!important;
  background:linear-gradient(180deg,var(--v88-navy) 0%,#0d3150 48%,var(--v88-navy2) 100%)!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
  box-shadow:9px 0 26px rgba(5,28,48,.14)!important;overflow:hidden!important;
}
html body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#0d756e 0%,#0b625f 52%,#084a4d 100%)!important}
html body .sidebar>nav{height:calc(100vh - 76px - 224px)!important;min-height:280px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:2px 3px 17px!important;scrollbar-width:thin!important;scrollbar-color:rgba(210,230,242,.38) transparent!important}
html body .sidebar>nav::-webkit-scrollbar{width:5px!important}
html body .sidebar>nav::-webkit-scrollbar-thumb{background:rgba(210,230,242,.38)!important;border-radius:99px!important}
html body .print-side-identity{min-height:62px!important;padding:9px 10px!important;border-radius:15px!important;background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.14)!important}
html body .print-side-mark{width:42px!important;height:42px!important;border-radius:11px!important}
html body .print-side-identity b{font-size:13px!important;line-height:1.08!important;font-weight:900!important;letter-spacing:.25px!important}
html body .print-side-identity small{font-size:9.4px!important;line-height:1.2!important}
html body .print-side-pulse{min-height:46px!important;padding:8px 10px!important;border-radius:12px!important;background:rgba(3,24,42,.22)!important;border:1px solid rgba(255,255,255,.08)!important}
html body .print-side-pulse small{font-size:7.4px!important;letter-spacing:.55px!important}
html body .print-side-pulse b{font-size:14.5px!important}
html body .print-side-primary{min-height:52px!important;padding:0 13px!important;border-radius:13px!important;margin:8px 0 11px!important;background:linear-gradient(135deg,var(--v88-blue),var(--v88-violet))!important;box-shadow:0 9px 21px rgba(43,79,217,.23)!important;font-size:13.2px!important;font-weight:900!important}
html body .sidebar .nav-section{margin:14px 8px 7px!important}
html body .sidebar .nav-section span{font-size:8.2px!important;letter-spacing:1.15px!important;color:rgba(225,240,248,.68)!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{min-height:48px!important;padding:0 11px!important;margin-bottom:4px!important;border-radius:12px!important;gap:10px!important;color:#f4f9fc!important;border:1px solid transparent!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover{background:rgba(255,255,255,.095)!important;border-color:rgba(255,255,255,.11)!important;transform:translateX(2px)!important}
html body .sidebar .nav-item.active{background:#f8fbff!important;color:#123756!important;border-color:#fff!important;box-shadow:0 7px 18px rgba(5,25,42,.19)!important}
html body .sidebar .nav-item.active:before{left:-3px!important;top:7px!important;bottom:7px!important;width:4px!important;border-radius:99px!important;background:linear-gradient(180deg,#18c9d1,#6554ed)!important}
html body .sidebar .nav-ico{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:9px!important;background:rgba(255,255,255,.08)!important}
html body .sidebar .nav-label{font-size:13px!important;line-height:1.18!important;font-weight:800!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}

/* Service directory: categories obvious; actual services readable after expand */
html body .premium-service-heading{margin-top:15px!important}
html body .premium-side-search{height:44px!important;margin:0 2px 9px!important;padding:0 11px!important;border-radius:12px!important;background:rgba(3,24,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
html body .premium-side-search input{height:40px!important;min-height:40px!important;font-size:11.6px!important;color:#fff!important}
html body .premium-service-accordions{gap:6px!important}
html body .side-service-accordion{border-radius:13px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.11)!important;overflow:hidden!important}
html body .side-service-accordion[open]{background:rgba(255,255,255,.095)!important;border-color:rgba(204,230,255,.24)!important;box-shadow:0 5px 13px rgba(3,23,38,.10)!important}
html body .side-service-accordion>summary{min-height:56px!important;padding:7px 8px!important;grid-template-columns:34px minmax(0,1fr) auto 18px!important;gap:7px!important;cursor:pointer!important}
html body .side-accordion-copy b{font-size:12.5px!important;line-height:1.14!important;font-weight:900!important;color:#fff!important;white-space:normal!important}
html body .side-accordion-copy small{font-size:8.4px!important;color:rgba(225,240,248,.71)!important;margin-top:2px!important}
html body .side-accordion-count{min-width:27px!important;height:25px!important;padding:0 7px!important;font-size:9.4px!important;background:rgba(255,255,255,.14)!important}
html body .side-accordion-body{gap:4px!important;padding:0 6px 7px!important}
html body .side-service-link{min-height:44px!important;padding:6px 8px!important;grid-template-columns:28px minmax(0,1fr) 15px!important;gap:7px!important;border-radius:10px!important;background:rgba(2,20,35,.15)!important;border:1px solid rgba(255,255,255,.045)!important}
html body .side-service-link:hover{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.11)!important}
html body .side-service-link b{font-size:11.2px!important;line-height:1.18!important;font-weight:800!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body .side-service-link small{font-size:7.7px!important;color:rgba(221,239,247,.67)!important}
html body .side-service-link.active{background:#fff!important;color:#153a5d!important}
html body .premium-all-services{min-height:50px!important;border-radius:12px!important;margin:8px 1px 4px!important}
html body .side-footer{left:11px!important;right:11px!important;bottom:9px!important}
html body .side-tool,html body .side-logout-row{min-height:44px!important;border-radius:11px!important}

/* ===== USER SERVICE DIRECTORY: 4 columns desktop, compact height ===== */
html body:not(.role-admin) .video-all-service-grid,
html body:not(.role-admin) .u58-service-grid,
html body:not(.role-admin) .u58-services-full{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
html body:not(.role-admin) .u58-service-card{
  min-height:154px!important;height:154px!important;padding:14px!important;
  grid-template-columns:52px minmax(0,1fr)!important;gap:11px!important;
  border-radius:15px!important;border:1px solid var(--v88-border)!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:var(--v88-shadow)!important;overflow:hidden!important;cursor:pointer!important;
}
html body:not(.role-admin) .u58-service-card:hover{transform:translateY(-2px)!important;border-color:#a9bfd2!important;box-shadow:0 13px 26px rgba(16,50,79,.12)!important}
html body:not(.role-admin) .u58-service-card:after{display:none!important;content:none!important}
html body:not(.role-admin) .u58-service-logo{width:50px!important;height:50px!important;min-width:50px!important;border-radius:12px!important;align-self:start!important}
html body:not(.role-admin) .u58-service-logo img{width:41px!important;height:41px!important;object-fit:contain!important}
html body:not(.role-admin) .u58-service-body{min-width:0!important;display:flex!important;flex-direction:column!important;min-height:126px!important}
html body:not(.role-admin) .u58-service-body>small{font-size:7.9px!important;line-height:1!important;letter-spacing:.65px!important;font-weight:900!important;margin:1px 42px 3px 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body:not(.role-admin) .u58-service-body>b{font-size:15.2px!important;line-height:1.14!important;font-weight:900!important;letter-spacing:-.18px!important;color:var(--v88-text)!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:34px!important}
html body:not(.role-admin) .u58-service-body>em{font-size:9.8px!important;line-height:1.32!important;color:var(--v88-muted)!important;margin-top:3px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;font-style:normal!important;min-height:26px!important}
html body:not(.role-admin) .u58-live,html body:not(.role-admin) .u58-assisted{top:10px!important;right:10px!important;min-height:21px!important;padding:0 6px!important;font-size:7.5px!important;border-radius:999px!important}
html body:not(.role-admin) .mg-service-action{margin-top:auto!important;min-height:40px!important;height:40px!important;border-radius:10px!important;grid-template-columns:62px minmax(0,1fr) 30px!important;background:linear-gradient(95deg,#1269e8,#315fe8 58%,#5944df)!important;box-shadow:0 7px 16px rgba(45,86,216,.18)!important;overflow:hidden!important}
html body:not(.role-admin) .mg-service-action strong{font-size:10.8px!important;padding-left:9px!important;white-space:nowrap!important}
html body:not(.role-admin) .mg-service-action b{font-size:9px!important;line-height:1!important;letter-spacing:.08px!important;font-weight:900!important;text-align:center!important;white-space:nowrap!important}
html body:not(.role-admin) .mg-service-action i{width:26px!important;height:26px!important;border-radius:8px!important;font-size:13px!important}

/* Category filter chips: compact but easy to click */
html body:not(.role-admin) .u58-category-tabs,
html body:not(.role-admin) .service-category-tabs{gap:8px!important}
html body:not(.role-admin) .u58-category-tabs a,
html body:not(.role-admin) .u58-category-tabs button,
html body:not(.role-admin) .service-category-tabs a,
html body:not(.role-admin) .service-category-tabs button{min-height:40px!important;padding:0 13px!important;border-radius:10px!important;font-size:10.5px!important;font-weight:800!important}

/* ===== ADMIN SERVICE BUILDER: readable and balanced, never tiny ===== */
html body.role-admin .admin-form-studio{background:var(--v88-page)!important}
html body.role-admin .admin-form-studio .content{max-width:1660px!important;margin:0 auto!important;padding:18px 20px 34px!important}
html body.role-admin .admin-form-studio .content>form>.two-col{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start!important}
html body.role-admin .admin-form-studio .admin-builder-card,
html body.role-admin .admin-form-studio .admin-builder-form{border-radius:15px!important;border:1px solid var(--v88-border)!important;background:#fff!important;box-shadow:var(--v88-shadow)!important;overflow:hidden!important;padding:0!important}
html body.role-admin .admin-form-studio .admin-builder-card>h2{margin:0!important;padding:15px 18px!important;background:#f7faff!important;border-bottom:1px solid #e3eaf2!important;border-left:4px solid var(--v88-blue)!important;color:#173554!important;font-size:17px!important;font-weight:900!important}
html body.role-admin .admin-form-studio .admin-builder-card .form-grid{padding:16px 18px 18px!important;margin-top:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px 14px!important}
html body.role-admin .admin-form-studio .admin-builder-card .stack-actions{margin:0!important;padding:0 18px 18px!important}
html body.role-admin .admin-form-studio .field{gap:6px!important}
html body.role-admin .admin-form-studio .field label{font-size:12.3px!important;line-height:1.2!important;font-weight:800!important;color:#30445d!important}
html body.role-admin .admin-form-studio .field input,
html body.role-admin .admin-form-studio .field select,
html body.role-admin .admin-form-studio .field textarea{min-height:48px!important;padding:10px 12px!important;border-radius:10px!important;border:1px solid #d3dfeb!important;background:#fbfdff!important;color:#162b43!important;font-size:13.2px!important}
html body.role-admin .admin-form-studio .field textarea{min-height:92px!important}
html body.role-admin .admin-form-studio .switch{min-height:40px!important;padding:0 11px!important;border-radius:10px!important;background:#f7f9fc!important;border:1px solid #e0e8f0!important;font-size:11.8px!important;font-weight:800!important}
html body.role-admin .admin-form-studio .admin-builder-form{margin-top:16px!important;padding:0 18px 18px!important}
html body.role-admin .admin-form-studio .admin-builder-form .panel-head{margin:0 -18px 16px!important;padding:14px 18px!important;min-height:66px!important;background:#f7f9ff!important;border-bottom:1px solid #e1e8f1!important;border-left:4px solid var(--v88-violet)!important;align-items:center!important}
html body.role-admin .admin-form-studio .admin-builder-form .panel-head h2{font-size:18px!important;color:#18334f!important;font-weight:900!important;margin:0!important}
html body.role-admin .admin-form-studio .admin-builder-form .panel-head p{font-size:11.2px!important;line-height:1.4!important;color:#6c7f91!important;margin-top:3px!important}
html body.role-admin .admin-form-studio .admin-builder-form .panel-head .btn{min-height:44px!important;padding:0 15px!important;border-radius:10px!important;font-size:11.8px!important;font-weight:900!important;background:linear-gradient(135deg,var(--v88-blue),var(--v88-violet))!important}
html body.role-admin .admin-form-studio .field-builder{padding:13px!important;border-radius:12px!important;background:#f8fafc!important;border:1px solid #e0e8f0!important}
html body.role-admin .admin-form-studio form>.stack-actions{margin-top:16px!important;justify-content:flex-end!important;gap:9px!important;padding:14px 16px!important;border:1px solid #dde6ef!important;border-radius:13px!important;background:#fff!important;box-shadow:var(--v88-shadow)!important}
html body.role-admin .admin-form-studio form>.stack-actions .btn{min-height:48px!important;border-radius:10px!important;padding:0 19px!important;font-size:12.8px!important;font-weight:900!important}
html body.role-admin .admin-form-studio form>.stack-actions .btn.primary{min-width:210px!important;background:linear-gradient(135deg,#116fd8,#5145dc)!important}

/* Apply forms remain roomy and aligned with the same visual scale */
html body .apply-workspace .content{max-width:1540px!important;padding:18px 20px 34px!important}
html body .apply-workspace .video-form-titlebar{padding:20px 23px!important;min-height:126px!important;border-radius:16px!important}
html body .apply-workspace .video-form-titlebar h2{font-size:27px!important;line-height:1.08!important}
html body .apply-workspace .compact-service-split{grid-template-columns:minmax(0,1fr) 300px!important;gap:16px!important}
html body .apply-workspace .compact-service-form{border-radius:16px!important;padding:0 20px 21px!important}
html body .apply-workspace .gov-apply-head{margin:0 -20px 16px!important;padding:15px 20px!important;min-height:74px!important}
html body .apply-workspace .gov-apply-head h2{font-size:19px!important}
html body .apply-workspace .field input,html body .apply-workspace .field select,html body .apply-workspace .field textarea{min-height:48px!important;font-size:13px!important;border-radius:10px!important}
html body .apply-workspace .field label{font-size:12.2px!important}
html body .apply-workspace .generic-apply-submit-row{margin-top:18px!important;padding:14px!important;border-radius:13px!important;grid-template-columns:minmax(230px,1fr) 112px!important}
html body .apply-workspace .generic-apply-submit-row .btn.primary,html body .apply-workspace .service-final-submit{min-height:50px!important;font-size:13px!important}
html body .apply-workspace .generic-apply-submit-row .btn:not(.primary){min-height:50px!important}

/* Responsive grid: 4 -> 3 -> 2 -> 1 */
@media(max-width:1540px){
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1220px){
  :root{--v88-side:288px}
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body.role-admin .admin-form-studio .content>form>.two-col{grid-template-columns:1fr!important}
}
@media(max-width:900px){
  html body .main{margin-left:0!important}
  html body .sidebar{width:min(300px,88vw)!important;transform:translateX(-105%)!important;transition:transform .22s ease!important}
  html body .sidebar.open{transform:translateX(0)!important}
  html body .sidebar>nav{height:calc(100vh - 220px)!important}
  html body .apply-workspace .compact-service-split{grid-template-columns:1fr!important}
}
@media(max-width:720px){
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:1fr!important}
  html body:not(.role-admin) .u58-service-card{height:auto!important;min-height:148px!important}
  html body.role-admin .admin-form-studio .admin-builder-card .form-grid,
  html body .apply-workspace .compact-service-form .form-grid{grid-template-columns:1fr!important}
}

/* ===== SOURCE: app-v689.css ===== */
/* MG Print Portal V6.89.0 — Final Balanced 4-Column Service + Clear Sidebar
   Authoritative visual polish: keeps 4-column desktop services without cramped cards,
   improves sidebar breathing room/readability, preserves form and runtime logic. */
:root{
  --v89-side:282px;
  --v89-navy:#0d2d4b;
  --v89-navy2:#09233a;
  --v89-teal:#087b75;
  --v89-blue:#176bea;
  --v89-violet:#5847e7;
  --v89-text:#102942;
  --v89-muted:#697d91;
  --v89-border:#d9e4ed;
  --v89-shadow:0 7px 18px rgba(17,48,78,.075);
}

/* ===== FINAL SIDEBAR SCALE ===== */
html body .main{margin-left:var(--v89-side)!important}
html body .sidebar{
  width:var(--v89-side)!important;
  top:76px!important;
  padding:13px 12px 12px!important;
  background:linear-gradient(180deg,var(--v89-navy) 0%,#0c3858 52%,var(--v89-navy2) 100%)!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
  box-shadow:8px 0 24px rgba(6,29,48,.12)!important;
  overflow:hidden!important;
}
html body:not(.role-admin) .sidebar{
  background:linear-gradient(180deg,#0d8079 0%,#096e69 48%,#07545a 100%)!important;
}
html body .print-side-identity{min-height:64px!important;padding:10px 11px!important;border-radius:15px!important}
html body .print-side-mark{width:43px!important;height:43px!important;flex:0 0 43px!important;border-radius:11px!important}
html body .print-side-identity b{font-size:13.8px!important;line-height:1.08!important;letter-spacing:.1px!important}
html body .print-side-identity small{font-size:9.8px!important;line-height:1.25!important;margin-top:2px!important}
html body .print-side-pulse{min-height:48px!important;padding:8px 10px!important;border-radius:12px!important}
html body .print-side-pulse small{font-size:7.7px!important;letter-spacing:.55px!important}
html body .print-side-pulse b{font-size:15px!important}
html body .print-side-primary{min-height:54px!important;margin:9px 0 13px!important;padding:0 14px!important;border-radius:13px!important;font-size:13.5px!important;letter-spacing:0!important}
html body .sidebar>nav{height:calc(100vh - 76px - 228px)!important;padding:2px 2px 18px!important;overflow-y:auto!important;overflow-x:hidden!important}
html body .sidebar .nav-section{margin:15px 8px 8px!important}
html body .sidebar .nav-section span{font-size:8.4px!important;letter-spacing:1.1px!important}
html body .sidebar .nav-item,
html body .sidebar .nav-button{
  min-height:50px!important;
  padding:0 12px!important;
  margin-bottom:6px!important;
  border-radius:12px!important;
  gap:11px!important;
  align-items:center!important;
}
html body .sidebar .nav-ico{width:35px!important;height:35px!important;flex:0 0 35px!important;border-radius:9px!important}
html body .sidebar .nav-label{
  font-size:13.4px!important;
  line-height:1.12!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html body .sidebar .nav-item.active{box-shadow:0 6px 16px rgba(5,25,42,.16)!important}
html body .sidebar .nav-item.active:before{top:8px!important;bottom:8px!important;width:4px!important}

/* Service directory categories: clean, not packed */
html body .premium-service-heading{margin-top:17px!important}
html body .premium-side-search{height:46px!important;margin:0 2px 11px!important;padding:0 12px!important;border-radius:12px!important}
html body .premium-side-search input{height:42px!important;min-height:42px!important;font-size:12px!important}
html body .premium-service-accordions{gap:8px!important}
html body .side-service-accordion{border-radius:13px!important}
html body .side-service-accordion>summary{
  min-height:58px!important;
  padding:8px 9px!important;
  grid-template-columns:36px minmax(0,1fr) auto 17px!important;
  gap:8px!important;
}
html body .side-accordion-copy b{font-size:12.8px!important;line-height:1.16!important;white-space:normal!important}
html body .side-accordion-copy small{font-size:8.7px!important;line-height:1.2!important;margin-top:3px!important}
html body .side-accordion-count{min-width:28px!important;height:26px!important;font-size:9.5px!important}
html body .side-accordion-body{gap:5px!important;padding:1px 7px 8px!important}
html body .side-service-link{
  min-height:46px!important;
  padding:7px 9px!important;
  grid-template-columns:29px minmax(0,1fr) 15px!important;
  gap:8px!important;
  border-radius:10px!important;
}
html body .side-service-link b{font-size:11.6px!important;line-height:1.18!important;font-weight:800!important;white-space:normal!important}
html body .side-service-link small{font-size:8px!important;line-height:1.1!important;margin-top:2px!important}
html body .premium-all-services{min-height:52px!important;margin-top:9px!important}
html body .side-footer{left:12px!important;right:12px!important;bottom:10px!important}
html body .side-tool,html body .side-logout-row{min-height:46px!important;border-radius:11px!important}

/* ===== USER SERVICES: FOUR COLUMNS, AIRY NOT CRAMPED ===== */
html body:not(.role-admin) .video-all-service-grid,
html body:not(.role-admin) .u58-service-grid,
html body:not(.role-admin) .u58-services-full{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
html body:not(.role-admin) .u58-service-card{
  min-height:166px!important;
  height:166px!important;
  padding:15px 15px 14px!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:11px!important;
  border-radius:16px!important;
  border:1px solid var(--v89-border)!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:var(--v89-shadow)!important;
  overflow:hidden!important;
}
html body:not(.role-admin) .u58-service-card:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 12px 25px rgba(16,49,79,.12)!important;
}
html body:not(.role-admin) .u58-service-logo{
  width:47px!important;height:47px!important;min-width:47px!important;border-radius:12px!important;
}
html body:not(.role-admin) .u58-service-logo img{width:38px!important;height:38px!important;object-fit:contain!important}
html body:not(.role-admin) .u58-service-body{min-height:137px!important;display:flex!important;flex-direction:column!important;min-width:0!important}
html body:not(.role-admin) .u58-service-body>small{
  font-size:8px!important;line-height:1!important;letter-spacing:.58px!important;margin:1px 40px 4px 0!important;
}
html body:not(.role-admin) .u58-service-body>b{
  font-size:14.2px!important;
  line-height:1.17!important;
  min-height:33px!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
html body:not(.role-admin) .u58-service-body>em{
  font-size:9.55px!important;
  line-height:1.34!important;
  min-height:26px!important;
  margin-top:4px!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
html body:not(.role-admin) .u58-live,
html body:not(.role-admin) .u58-assisted{top:10px!important;right:10px!important;min-height:21px!important;padding:0 6px!important;font-size:7.2px!important}
html body:not(.role-admin) .mg-service-action{
  margin-top:auto!important;
  min-height:42px!important;height:42px!important;
  border-radius:10px!important;
  grid-template-columns:58px minmax(0,1fr) 31px!important;
  background:linear-gradient(95deg,var(--v89-blue),#3260e8 58%,var(--v89-violet))!important;
  box-shadow:0 7px 15px rgba(45,86,216,.17)!important;
}
html body:not(.role-admin) .mg-service-action strong{font-size:10.4px!important;padding-left:9px!important}
html body:not(.role-admin) .mg-service-action b{font-size:8.7px!important;letter-spacing:.02px!important}
html body:not(.role-admin) .mg-service-action i{width:27px!important;height:27px!important;border-radius:8px!important}

/* Category chips: more breathing room */
html body:not(.role-admin) .u58-category-tabs,
html body:not(.role-admin) .service-category-tabs{gap:9px!important;margin-bottom:16px!important}
html body:not(.role-admin) .u58-category-tabs a,
html body:not(.role-admin) .u58-category-tabs button,
html body:not(.role-admin) .service-category-tabs a,
html body:not(.role-admin) .service-category-tabs button{
  min-height:41px!important;padding:0 14px!important;border-radius:10px!important;font-size:10.6px!important;
}

/* Admin tables / management page: keep clean spacing */
html body.role-admin .content .panel,
html body.role-admin .content .card{border-radius:15px!important}
html body.role-admin table th{padding-top:12px!important;padding-bottom:12px!important}
html body.role-admin table td{padding-top:11px!important;padding-bottom:11px!important}

/* Keep Service Builder/Form Studio already-good V6.88 sizing intact; only polish headings */
html body.role-admin .admin-form-studio .admin-builder-card>h2{font-size:17.5px!important;letter-spacing:-.1px!important}
html body.role-admin .admin-form-studio .admin-builder-form .panel-head h2{font-size:18.5px!important}

/* Desktop breakpoints: maintain four columns on normal desktop */
@media(max-width:1420px){
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1120px){
  :root{--v89-side:270px}
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  html body .main{margin-left:0!important}
  html body .sidebar{width:min(294px,88vw)!important;transform:translateX(-105%)!important;transition:transform .22s ease!important}
  html body .sidebar.open{transform:translateX(0)!important}
}
@media(max-width:720px){
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:1fr!important}
  html body:not(.role-admin) .u58-service-card{height:auto!important;min-height:154px!important}
}

/* ===== SOURCE: app-v690.css ===== */
/* MG Print Portal V6.90.0 — Final Clear Sidebar + Compact 4-Column Service Workspace
   Authoritative visual layer. Goal: readable sidebar, clean service hierarchy, compact but premium 4-column cards,
   strong service CTA, consistent Admin/User workspace. Runtime logic remains unchanged. */
:root{
  --v690-side:292px;
  --v690-nav:#0b3552;
  --v690-nav2:#0a2740;
  --v690-user:#087b77;
  --v690-user2:#07565f;
  --v690-primary:#2867ed;
  --v690-primary2:#5b48e8;
  --v690-text:#10283f;
  --v690-muted:#687d91;
  --v690-border:#d9e5ef;
  --v690-surface:#ffffff;
  --v690-bg:#f5f8fc;
  --v690-success:#18a967;
  --v690-shadow:0 7px 20px rgba(18,49,78,.085);
}

/* ===== SIDEBAR: CLEAR, PROFESSIONAL, EASY TO SCAN ===== */
html body .main{margin-left:var(--v690-side)!important}
html body .sidebar{
  width:var(--v690-side)!important;
  top:76px!important;
  padding:13px 12px 12px!important;
  background:linear-gradient(180deg,var(--v690-nav) 0%,#0d4565 56%,var(--v690-nav2) 100%)!important;
  border-right:1px solid rgba(255,255,255,.09)!important;
  box-shadow:8px 0 28px rgba(4,25,43,.13)!important;
  overflow:hidden!important;
}
html body:not(.role-admin) .sidebar{
  background:linear-gradient(180deg,#0a8a82 0%,var(--v690-user) 45%,var(--v690-user2) 100%)!important;
}
html body .print-side-identity{
  min-height:68px!important;padding:10px 12px!important;border-radius:16px!important;
  background:rgba(255,255,255,.075)!important;border:1px solid rgba(255,255,255,.11)!important;
}
html body .print-side-mark{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:12px!important}
html body .print-side-identity b{font-size:14.2px!important;line-height:1.08!important;letter-spacing:.1px!important}
html body .print-side-identity small{font-size:10px!important;line-height:1.25!important;margin-top:3px!important;opacity:.9!important}
html body .print-side-live{width:9px!important;height:9px!important;box-shadow:0 0 0 4px rgba(65,226,146,.14),0 0 10px rgba(65,226,146,.48)!important}
html body .print-side-pulse{
  min-height:48px!important;padding:7px 10px!important;border-radius:13px!important;
  background:rgba(3,25,45,.28)!important;border:1px solid rgba(255,255,255,.07)!important;
}
html body .print-side-pulse small{font-size:7.8px!important;letter-spacing:.65px!important}
html body .print-side-pulse b{font-size:15.3px!important}
html body .print-side-primary{
  min-height:56px!important;margin:10px 0 13px!important;padding:0 14px!important;border-radius:14px!important;
  font-size:13.6px!important;font-weight:850!important;letter-spacing:0!important;
  background:linear-gradient(100deg,var(--v690-primary),#3763eb 60%,var(--v690-primary2))!important;
  box-shadow:0 9px 20px rgba(40,77,220,.25)!important;
}
html body .print-side-primary:hover{transform:translateY(-1px)!important;box-shadow:0 12px 24px rgba(40,77,220,.32)!important}

/* dedicated scroll region, footer never covers nav */
html body .sidebar>nav{
  height:calc(100vh - 76px - 236px)!important;
  padding:2px 2px 26px!important;overflow-y:auto!important;overflow-x:hidden!important;
  scrollbar-width:thin!important;scrollbar-color:rgba(255,255,255,.30) transparent!important;
}
html body .sidebar>nav::-webkit-scrollbar{width:5px!important}
html body .sidebar>nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.28)!important;border-radius:10px!important}
html body .sidebar .nav-section{margin:16px 7px 8px!important;display:flex!important;align-items:center!important;gap:8px!important}
html body .sidebar .nav-section span{font-size:8.8px!important;letter-spacing:1.15px!important;font-weight:850!important;opacity:.74!important}
html body .sidebar .nav-section i{height:1px!important;background:rgba(255,255,255,.12)!important;flex:1!important}
html body .sidebar .nav-item,
html body .sidebar .nav-button{
  min-height:52px!important;padding:0 11px!important;margin-bottom:7px!important;border-radius:13px!important;
  gap:10px!important;align-items:center!important;border:1px solid transparent!important;
  transition:background .16s ease,transform .16s ease,border-color .16s ease,box-shadow .16s ease!important;
}
html body .sidebar .nav-item:hover,
html body .sidebar .nav-button:hover{background:rgba(255,255,255,.085)!important;border-color:rgba(255,255,255,.09)!important;transform:translateX(2px)!important}
html body .sidebar .nav-ico{
  width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:10px!important;
  background:rgba(255,255,255,.08)!important;
}
html body .sidebar .nav-label{
  font-size:13.7px!important;line-height:1.15!important;font-weight:780!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
}
html body .sidebar .nav-item.active{
  background:#f7fbff!important;color:#0c4564!important;border-color:#d8e8f1!important;
  box-shadow:0 7px 18px rgba(3,24,41,.17)!important;
}
html body .sidebar .nav-item.active .nav-ico{background:#e8f6fb!important;color:#0b6380!important}
html body .sidebar .nav-item.active:before{top:8px!important;bottom:8px!important;width:4px!important;border-radius:4px!important}
html body .nav-badge{min-width:24px!important;height:24px!important;padding:0 7px!important;border-radius:999px!important;font-size:9.5px!important}

/* service directory — category cards are visible but no longer bulky */
html body .premium-service-heading{margin-top:16px!important;margin-bottom:8px!important}
html body .premium-service-heading span{font-size:8.7px!important;letter-spacing:1.15px!important;font-weight:850!important}
html body .premium-side-search{
  height:45px!important;margin:0 2px 10px!important;padding:0 11px!important;border-radius:12px!important;
  background:rgba(4,40,61,.30)!important;border:1px solid rgba(255,255,255,.10)!important;
}
html body .premium-side-search input{height:41px!important;min-height:41px!important;font-size:12.2px!important;color:#fff!important}
html body .premium-side-search input::placeholder{color:rgba(255,255,255,.72)!important}
html body .premium-service-accordions{gap:7px!important}
html body .side-service-accordion{
  border-radius:13px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.09)!important;overflow:hidden!important;
}
html body .side-service-accordion[open]{background:rgba(255,255,255,.075)!important;border-color:rgba(255,255,255,.14)!important}
html body .side-service-accordion>summary{
  min-height:56px!important;padding:7px 8px!important;
  grid-template-columns:36px minmax(0,1fr) auto 16px!important;gap:8px!important;
}
html body .side-service-accordion>summary:hover{background:rgba(255,255,255,.055)!important}
html body .side-accordion-copy b{font-size:12.5px!important;line-height:1.14!important;font-weight:820!important;white-space:normal!important}
html body .side-accordion-copy small{font-size:8.4px!important;line-height:1.2!important;margin-top:2px!important;opacity:.72!important}
html body .side-accordion-count{min-width:28px!important;height:25px!important;font-size:9.4px!important;border-radius:999px!important}
html body .side-accordion-body{gap:4px!important;padding:3px 7px 8px!important}
html body .side-service-link{
  min-height:38px!important;padding:5px 8px!important;
  grid-template-columns:25px minmax(0,1fr) 14px!important;gap:7px!important;border-radius:9px!important;
  background:rgba(2,31,50,.15)!important;border:1px solid transparent!important;
}
html body .side-service-link:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.09)!important}
html body .side-service-link b{
  font-size:11.4px!important;line-height:1.15!important;font-weight:760!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
html body .side-service-link small{display:none!important}
html body .premium-all-services{min-height:48px!important;margin-top:8px!important;border-radius:11px!important}
html body .side-footer{left:12px!important;right:12px!important;bottom:9px!important;gap:7px!important}
html body .side-tool,html body .side-logout-row{min-height:44px!important;border-radius:11px!important}

/* ===== USER SERVICE DIRECTORY: 4-COLUMN, COMPACT, NOT CRAMPED ===== */
html body:not(.role-admin) .video-all-service-grid,
html body:not(.role-admin) .u58-service-grid,
html body:not(.role-admin) .u58-services-full{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;align-items:stretch!important;
}
html body:not(.role-admin) .u58-service-card{
  min-height:158px!important;height:158px!important;padding:13px 13px 12px!important;
  grid-template-columns:44px minmax(0,1fr)!important;gap:10px!important;
  border-radius:17px!important;border:1px solid var(--v690-border)!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:0 6px 16px rgba(17,50,79,.07)!important;overflow:hidden!important;
  transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease!important;
}
html body:not(.role-admin) .u58-service-card:hover{
  transform:translateY(-2px)!important;box-shadow:0 12px 24px rgba(16,48,78,.12)!important;border-color:#bfd3e4!important;
}
html body:not(.role-admin) .u58-service-logo{
  width:44px!important;height:44px!important;min-width:44px!important;border-radius:12px!important;
  border:1px solid #dbe7ef!important;background:#f8fbfd!important;
}
html body:not(.role-admin) .u58-service-logo img{width:34px!important;height:34px!important;object-fit:contain!important}
html body:not(.role-admin) .u58-service-body{min-height:132px!important;display:flex!important;flex-direction:column!important;min-width:0!important}
html body:not(.role-admin) .u58-service-body>small{
  font-size:7.9px!important;line-height:1!important;letter-spacing:.58px!important;margin:1px 40px 4px 0!important;font-weight:800!important;
}
html body:not(.role-admin) .u58-service-body>b{
  font-size:13.6px!important;line-height:1.16!important;min-height:31px!important;font-weight:850!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
html body:not(.role-admin) .u58-service-body>em{
  font-size:9.2px!important;line-height:1.32!important;min-height:24px!important;margin-top:3px!important;color:var(--v690-muted)!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
html body:not(.role-admin) .u58-live,
html body:not(.role-admin) .u58-assisted{
  top:9px!important;right:9px!important;min-height:21px!important;padding:0 6px!important;font-size:7.2px!important;border-radius:999px!important;
}

/* service CTA looks like a deliberate button, not a flat strip */
html body:not(.role-admin) .mg-service-action{
  margin-top:auto!important;min-height:43px!important;height:43px!important;border-radius:12px!important;
  grid-template-columns:64px minmax(0,1fr) 34px!important;
  background:linear-gradient(100deg,var(--v690-primary),#3763eb 58%,var(--v690-primary2))!important;
  box-shadow:0 8px 16px rgba(44,83,219,.20)!important;border:1px solid rgba(255,255,255,.16)!important;
}
html body:not(.role-admin) .u58-service-card:hover .mg-service-action{box-shadow:0 11px 20px rgba(44,83,219,.26)!important}
html body:not(.role-admin) .mg-service-action strong{
  font-size:10.2px!important;padding-left:10px!important;font-weight:850!important;letter-spacing:.05px!important;
}
html body:not(.role-admin) .mg-service-action b{
  font-size:9px!important;letter-spacing:.08px!important;font-weight:850!important;text-align:center!important;
}
html body:not(.role-admin) .mg-service-action i{
  width:28px!important;height:28px!important;border-radius:9px!important;background:rgba(255,255,255,.14)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)!important;
}

/* category chips — readable, compact */
html body:not(.role-admin) .u58-category-tabs,
html body:not(.role-admin) .service-category-tabs{gap:8px!important;margin-bottom:15px!important}
html body:not(.role-admin) .u58-category-tabs a,
html body:not(.role-admin) .u58-category-tabs button,
html body:not(.role-admin) .service-category-tabs a,
html body:not(.role-admin) .service-category-tabs button{
  min-height:38px!important;padding:0 12px!important;border-radius:10px!important;font-size:10.5px!important;font-weight:760!important;
}

/* ===== ADMIN: clearer controls without bloating ===== */
html body.role-admin .content .panel,
html body.role-admin .content .card{border-radius:16px!important;border-color:#dbe5ee!important;box-shadow:0 6px 18px rgba(18,49,76,.05)!important}
html body.role-admin table th{padding-top:12px!important;padding-bottom:12px!important;font-size:10.5px!important;letter-spacing:.35px!important}
html body.role-admin table td{padding-top:11px!important;padding-bottom:11px!important;font-size:12.5px!important}
html body.role-admin .btn{min-height:40px!important;border-radius:10px!important;font-weight:760!important}
html body.role-admin .admin-form-studio .admin-builder-card{padding:18px 20px!important}
html body.role-admin .admin-form-studio .admin-builder-card>h2{font-size:18px!important;line-height:1.2!important;margin-bottom:4px!important}
html body.role-admin .admin-form-studio .admin-builder-form{padding:18px 20px!important}
html body.role-admin .admin-form-studio .admin-builder-form .panel-head h2{font-size:19px!important}
html body.role-admin .admin-form-studio .field label{font-size:12.7px!important;font-weight:760!important;margin-bottom:6px!important}
html body.role-admin .admin-form-studio input,
html body.role-admin .admin-form-studio select{min-height:48px!important;border-radius:10px!important;font-size:13.3px!important}
html body.role-admin .admin-form-studio textarea{min-height:90px!important;border-radius:10px!important;font-size:13.3px!important}
html body.role-admin .admin-form-studio .stack-actions>.btn.primary{min-height:50px!important;padding:0 20px!important;font-size:14px!important}

/* generic user forms — preserve V6.83 studio but standardize CTA clarity */
html body:not(.role-admin) .apply-studio .field label,
html body:not(.role-admin) .service-application-studio .field label{font-weight:760!important}
html body:not(.role-admin) .generic-apply-submit-row .btn.primary,
html body:not(.role-admin) .service-final-submit{
  min-height:52px!important;border-radius:12px!important;font-weight:850!important;font-size:14px!important;
  box-shadow:0 8px 18px rgba(42,90,221,.22)!important;
}

/* responsive */
@media(max-width:1480px){
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1180px){
  :root{--v690-side:280px}
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  html body .main{margin-left:0!important}
  html body .sidebar{width:min(294px,88vw)!important;transform:translateX(-105%)!important;transition:transform .22s ease!important}
  html body .sidebar.open{transform:translateX(0)!important}
}
@media(max-width:720px){
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:1fr!important}
  html body:not(.role-admin) .u58-service-card{height:auto!important;min-height:154px!important}
}

/* ===== SOURCE: app-v691.css ===== */
/* MG Print Portal V6.91.0 — Sidebar Button Polish + Clear White/Blue Service Buttons
   Focus: stronger sidebar button hierarchy, bolder typography, cleaner white/blue service buttons,
   and clearer service-directory rows. This file only refines visuals; runtime logic is unchanged. */

:root{
  --v691-sidebar-text:#f8fbff;
  --v691-sidebar-muted:rgba(239,248,255,.82);
  --v691-sidebar-border:rgba(255,255,255,.13);
  --v691-accent:#2f78ff;
  --v691-accent-2:#4968f2;
  --v691-accent-soft:rgba(63,125,255,.16);
  --v691-white-soft:rgba(255,255,255,.08);
  --v691-service-btn:#2f74f5;
  --v691-service-btn-2:#4e5fe9;
}

/* ===== SIDEBAR MAIN BUTTONS ===== */
html body .sidebar .nav-item,
html body .sidebar .nav-button{
  min-height:54px!important;
  padding:0 13px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.04)!important;
  border:1px solid rgba(255,255,255,.04)!important;
  color:var(--v691-sidebar-text)!important;
  box-shadow:none!important;
}
html body .sidebar .nav-item:hover,
html body .sidebar .nav-button:hover{
  background:linear-gradient(90deg,rgba(255,255,255,.12),rgba(76,120,255,.16))!important;
  border-color:rgba(255,255,255,.12)!important;
  transform:translateX(3px)!important;
}
html body .sidebar .nav-ico{
  width:38px!important;height:38px!important;flex:0 0 38px!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.07))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)!important;
  color:#ffffff!important;
}
html body .sidebar .nav-label{
  color:#ffffff!important;
  font-size:14.1px!important;
  line-height:1.14!important;
  font-weight:850!important;
  letter-spacing:.08px!important;
}
html body .sidebar .nav-item.active,
html body .sidebar .nav-button.active{
  background:linear-gradient(92deg,#ffffff 0%,#f3f8ff 54%,#eaf3ff 100%)!important;
  border-color:#ffffff!important;
  color:#144165!important;
  box-shadow:0 10px 22px rgba(8,28,48,.19)!important;
}
html body .sidebar .nav-item.active .nav-label,
html body .sidebar .nav-button.active .nav-label{color:#163f63!important}
html body .sidebar .nav-item.active .nav-ico,
html body .sidebar .nav-button.active .nav-ico{
  background:linear-gradient(180deg,#eff5ff,#dcecff)!important;
  color:#2157cc!important;
  box-shadow:inset 0 0 0 1px rgba(33,87,204,.08)!important;
}
html body .sidebar .nav-badge{
  background:linear-gradient(100deg,#ffffff,#dcebff)!important;
  color:#1849af!important;
  font-weight:900!important;
}

/* section headings */
html body .sidebar .nav-section span,
html body .sidebar .premium-service-heading span{
  color:rgba(243,250,255,.86)!important;
  font-weight:900!important;
}
html body .sidebar .nav-section i,
html body .sidebar .premium-service-heading i{background:rgba(255,255,255,.18)!important}

/* ===== SERVICE DIRECTORY IN SIDEBAR ===== */
html body .premium-side-search{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.12)!important;
}
html body .premium-side-search input,
html body .premium-side-search span{color:#ffffff!important}
html body .premium-side-search input::placeholder{color:rgba(255,255,255,.78)!important}

html body .side-service-accordion{
  background:rgba(255,255,255,.05)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:14px!important;
}
html body .side-service-accordion[open]{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.14)!important;
}
html body .side-service-accordion>summary{
  min-height:58px!important;
  padding:8px 10px!important;
}
html body .side-accordion-icon{
  width:38px!important;height:38px!important;border-radius:11px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.08))!important;
  color:#fff!important;
}
html body .side-accordion-copy b{
  color:#ffffff!important;
  font-size:12.8px!important;
  font-weight:860!important;
}
html body .side-accordion-copy small{
  display:block!important;
  color:rgba(240,247,255,.76)!important;
  font-size:8.7px!important;
  font-weight:700!important;
}
html body .side-accordion-count{
  min-width:30px!important;height:26px!important;
  background:linear-gradient(100deg,#ffffff,#dcecff)!important;
  color:#1a4cbc!important;
  border:1px solid rgba(255,255,255,.28)!important;
  font-weight:900!important;
}
html body .side-accordion-chevron{color:#ffffff!important;font-weight:900!important}
html body .side-accordion-body{padding:5px 8px 10px!important;gap:6px!important}

html body .side-service-link{
  min-height:40px!important;
  padding:6px 9px!important;
  border-radius:11px!important;
  grid-template-columns:28px minmax(0,1fr) 18px!important;
  background:linear-gradient(90deg,rgba(255,255,255,.12),rgba(55,109,240,.12))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)!important;
}
html body .side-service-link:hover,
html body .side-service-link.active{
  background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(76,120,255,.24))!important;
  border-color:rgba(255,255,255,.18)!important;
  transform:translateX(2px)!important;
}
html body .side-link-icon{
  width:28px!important;height:28px!important;border-radius:9px!important;
  background:rgba(255,255,255,.18)!important;
  color:#ffffff!important;
}
html body .side-service-link b{
  color:#ffffff!important;
  font-size:11.9px!important;
  line-height:1.15!important;
  font-weight:850!important;
  letter-spacing:.02px!important;
}
html body .side-service-link small{
  display:block!important;
  color:rgba(233,244,255,.72)!important;
  font-size:8.4px!important;
  font-weight:700!important;
  margin-top:2px!important;
}
html body .side-service-link i{
  width:18px!important;height:18px!important;display:grid!important;place-items:center!important;
  border-radius:999px!important;background:rgba(255,255,255,.18)!important;color:#fff!important;font-style:normal!important;
}
html body .premium-all-services{
  min-height:50px!important;
  background:linear-gradient(100deg,#ffffff,#edf4ff)!important;
  border:1px solid #ffffff!important;
  box-shadow:0 9px 20px rgba(8,30,53,.15)!important;
}
html body .premium-all-services span b{color:#18456a!important;font-weight:860!important}
html body .premium-all-services span small{color:#5e7492!important;font-weight:700!important}
html body .premium-all-services i{color:#2158cd!important}

/* footer tools */
html body .side-tool,
html body .side-logout-row{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  color:#ffffff!important;
  font-weight:820!important;
}
html body .side-tool span,
html body .side-logout-row span,
html body .side-tool b{color:#ffffff!important}

/* ===== MAIN SERVICE CARD BUTTONS ===== */
html body:not(.role-admin) .u58-service-card{
  box-shadow:0 8px 18px rgba(17,50,79,.08)!important;
}
html body:not(.role-admin) .u58-service-card:hover{
  box-shadow:0 14px 30px rgba(18,50,81,.13)!important;
}
html body:not(.role-admin) .mg-service-action{
  min-height:44px!important;height:44px!important;
  border-radius:13px!important;
  grid-template-columns:70px minmax(0,1fr) 36px!important;
  background:linear-gradient(100deg,var(--v691-service-btn),#3e7af6 55%,var(--v691-service-btn-2))!important;
  border:1px solid rgba(255,255,255,.20)!important;
  box-shadow:0 10px 18px rgba(45,92,231,.24)!important;
}
html body:not(.role-admin) .mg-service-action strong,
html body:not(.role-admin) .mg-service-action b,
html body:not(.role-admin) .mg-service-action span{
  color:#ffffff!important;
}
html body:not(.role-admin) .mg-service-action strong{
  font-size:10.6px!important;
  font-weight:900!important;
  padding-left:12px!important;
  letter-spacing:.04px!important;
}
html body:not(.role-admin) .mg-service-action b{
  font-size:9.6px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.26px!important;
}
html body:not(.role-admin) .mg-service-action i{
  width:30px!important;height:30px!important;border-radius:10px!important;
  background:rgba(255,255,255,.18)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)!important;
}

/* category tabs for services */
html body:not(.role-admin) .u58-category-tabs a,
html body:not(.role-admin) .u58-category-tabs button,
html body:not(.role-admin) .service-category-tabs a,
html body:not(.role-admin) .service-category-tabs button{
  background:#ffffff!important;
  border:1px solid #d7e5f2!important;
  color:#193d63!important;
  font-weight:820!important;
}
html body:not(.role-admin) .u58-category-tabs a.active,
html body:not(.role-admin) .u58-category-tabs button.active,
html body:not(.role-admin) .service-category-tabs a.active,
html body:not(.role-admin) .service-category-tabs button.active{
  background:linear-gradient(100deg,#2e76f7,#4f63e9)!important;
  color:#ffffff!important;
  border-color:transparent!important;
}

/* ===== SOURCE: app-v692.css ===== */
/* MG Print Portal V6.92.0 — Ultra Premium Sidebar & Service Button Final Polish
   Final visual override: unified Admin/User sidebar proportions, crisp white text, blue-white active states,
   uniform icons, service accordions, clean hover/focus behavior and premium service CTA. */
:root{
  --v692-side:288px;
  --v692-admin-1:#0b3150;
  --v692-admin-2:#09243b;
  --v692-user-1:#087d78;
  --v692-user-2:#07535b;
  --v692-blue:#2876f4;
  --v692-indigo:#5457e7;
  --v692-white:#ffffff;
  --v692-text:#10314f;
}

/* final sidebar geometry */
html body .main{margin-left:var(--v692-side)!important}
html body .sidebar{
  width:var(--v692-side)!important;
  padding:12px 11px 12px!important;
  background:linear-gradient(180deg,var(--v692-admin-1),#0c4262 55%,var(--v692-admin-2))!important;
  box-shadow:8px 0 30px rgba(4,27,46,.15)!important;
}
html body:not(.role-admin) .sidebar{
  background:linear-gradient(180deg,var(--v692-user-1),#08706d 50%,var(--v692-user-2))!important;
}
html body .sidebar>nav{padding-left:1px!important;padding-right:1px!important}

/* identity and CTA */
html body .print-side-identity{min-height:70px!important;border-radius:17px!important}
html body .print-side-mark{width:44px!important;height:44px!important;border-radius:12px!important}
html body .print-side-identity b{font-size:14.5px!important;font-weight:900!important;color:#fff!important}
html body .print-side-identity small{font-size:10px!important;font-weight:700!important;color:rgba(255,255,255,.78)!important}
html body .print-side-primary{
  min-height:56px!important;border-radius:15px!important;font-size:13.8px!important;font-weight:900!important;
  background:linear-gradient(100deg,var(--v692-blue),#366ef4 58%,var(--v692-indigo))!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 10px 22px rgba(40,86,224,.30)!important;
}
html body .print-side-primary:hover{transform:translateY(-2px)!important;box-shadow:0 14px 28px rgba(40,86,224,.36)!important}
html body .print-side-primary span{color:#fff!important;font-weight:900!important}

/* main nav: bold white/blue, equal sizing */
html body .sidebar .nav-item,
html body .sidebar .nav-button{
  min-height:52px!important;
  margin-bottom:6px!important;
  padding:0 12px!important;
  gap:11px!important;
  border-radius:14px!important;
  color:#fff!important;
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(255,255,255,.045)!important;
}
html body .sidebar .nav-ico{
  width:36px!important;height:36px!important;flex:0 0 36px!important;
  display:grid!important;place-items:center!important;
  border-radius:10px!important;color:#fff!important;
  background:rgba(255,255,255,.11)!important;
}
html body .sidebar .nav-ico svg{width:18px!important;height:18px!important;fill:currentColor!important}
html body .sidebar .nav-label{
  color:#fff!important;font-size:14px!important;line-height:1.15!important;font-weight:900!important;letter-spacing:.04px!important;
}
html body .sidebar .nav-item:hover,
html body .sidebar .nav-button:hover{
  background:linear-gradient(90deg,rgba(255,255,255,.13),rgba(67,110,255,.15))!important;
  border-color:rgba(255,255,255,.13)!important;
  transform:translateX(2px)!important;
}
html body .sidebar .nav-item.active,
html body .sidebar .nav-button.active{
  background:linear-gradient(95deg,#fff 0%,#f6f9ff 55%,#e9f1ff 100%)!important;
  color:var(--v692-text)!important;
  border-color:#fff!important;
  box-shadow:0 9px 20px rgba(4,24,41,.18)!important;
}
html body .sidebar .nav-item.active .nav-label,
html body .sidebar .nav-button.active .nav-label{color:#143e61!important}
html body .sidebar .nav-item.active .nav-ico,
html body .sidebar .nav-button.active .nav-ico{
  color:#265fcf!important;background:linear-gradient(180deg,#f0f5ff,#dce9ff)!important;
}
html body .sidebar .nav-item:focus-visible,
html body .sidebar .nav-button:focus-visible,
html body .side-service-link:focus-visible,
html body .print-side-primary:focus-visible{outline:3px solid rgba(255,255,255,.62)!important;outline-offset:2px!important}

/* section labels */
html body .sidebar .nav-section{margin:15px 7px 8px!important}
html body .sidebar .nav-section span{font-size:8.9px!important;font-weight:900!important;letter-spacing:1.15px!important;color:rgba(244,250,255,.82)!important}

/* sidebar service accordion: crisp and readable */
html body .premium-side-search{height:44px!important;border-radius:12px!important;background:rgba(255,255,255,.085)!important}
html body .side-service-accordion{border-radius:13px!important;margin-bottom:7px!important}
html body .side-service-accordion>summary{
  min-height:56px!important;padding:7px 9px!important;
  grid-template-columns:36px minmax(0,1fr) auto 15px!important;gap:8px!important;
}
html body .side-accordion-icon{width:36px!important;height:36px!important;border-radius:10px!important;display:grid!important;place-items:center!important}
html body .side-accordion-copy b{font-size:12.6px!important;font-weight:900!important;color:#fff!important}
html body .side-accordion-copy small{font-size:8.4px!important;font-weight:750!important;color:rgba(255,255,255,.72)!important}
html body .side-accordion-count{min-width:28px!important;height:25px!important;font-size:9.3px!important;font-weight:900!important}
html body .side-accordion-body{padding:4px 7px 8px!important;gap:5px!important}
html body .side-service-link{
  min-height:39px!important;padding:5px 8px!important;border-radius:10px!important;
  grid-template-columns:27px minmax(0,1fr) 17px!important;gap:7px!important;
  background:rgba(255,255,255,.075)!important;border:1px solid rgba(255,255,255,.075)!important;
}
html body .side-service-link:hover,
html body .side-service-link.active{background:linear-gradient(90deg,rgba(255,255,255,.17),rgba(72,113,255,.20))!important;border-color:rgba(255,255,255,.16)!important}
html body .side-link-icon{width:27px!important;height:27px!important;border-radius:8px!important;background:rgba(255,255,255,.14)!important;color:#fff!important}
html body .side-service-link b{font-size:11.7px!important;font-weight:900!important;color:#fff!important}
html body .side-service-link small{font-size:8.2px!important;font-weight:700!important;color:rgba(255,255,255,.66)!important}

/* service cards keep 4-column compact balance */
html body:not(.role-admin) .video-all-service-grid,
html body:not(.role-admin) .u58-service-grid,
html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
html body:not(.role-admin) .u58-service-card{
  min-height:158px!important;height:158px!important;border-radius:16px!important;
  box-shadow:0 7px 18px rgba(15,48,78,.075)!important;
}
html body:not(.role-admin) .u58-service-card:hover{transform:translateY(-2px)!important;box-shadow:0 13px 26px rgba(15,48,78,.13)!important}

/* final service CTA: clean blue, bold white */
html body:not(.role-admin) .mg-service-action{
  min-height:44px!important;height:44px!important;border-radius:12px!important;
  background:linear-gradient(100deg,#2576f3 0%,#3478f3 52%,#5357e7 100%)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 9px 18px rgba(42,86,224,.23)!important;
}
html body:not(.role-admin) .mg-service-action strong{font-size:10.6px!important;font-weight:900!important;color:#fff!important}
html body:not(.role-admin) .mg-service-action b{font-size:9.5px!important;font-weight:900!important;color:#fff!important;letter-spacing:.2px!important}
html body:not(.role-admin) .mg-service-action i{width:30px!important;height:30px!important;border-radius:9px!important;background:rgba(255,255,255,.18)!important;color:#fff!important}
html body:not(.role-admin) .u58-service-card:hover .mg-service-action{box-shadow:0 12px 22px rgba(42,86,224,.30)!important;filter:saturate(1.05)!important}

/* category filter buttons */
html body:not(.role-admin) .u58-category-tabs a,
html body:not(.role-admin) .u58-category-tabs button,
html body:not(.role-admin) .service-category-tabs a,
html body:not(.role-admin) .service-category-tabs button{
  min-height:38px!important;border-radius:10px!important;font-weight:850!important;
}

/* responsive */
@media(max-width:1480px){
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1180px){
  :root{--v692-side:278px}
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  html body .main{margin-left:0!important}
  html body .sidebar{width:min(292px,88vw)!important}
}
@media(max-width:720px){
  html body:not(.role-admin) .video-all-service-grid,
  html body:not(.role-admin) .u58-service-grid,
  html body:not(.role-admin) .u58-services-full{grid-template-columns:1fr!important}
  html body:not(.role-admin) .u58-service-card{height:auto!important;min-height:154px!important}
}

/* ===== SOURCE: app-v693.css ===== */
/* MG Print Portal V6.93.0 — Dashboard Service Focus Workspace
   Keeps top color KPI cards, removes bulky dashboard filler, and turns the lower dashboard into a compact
   category-driven service desk. Sidebar category click filters related services in the right pane. */
:root{--v693-blue:#2876f4;--v693-indigo:#5357e7;--v693-ink:#10314f;--v693-muted:#687d91;--v693-line:#dbe7f1;}

/* Compact user/account strip directly below KPI cards */
html body:not(.role-admin) .v693-user-strip{
  min-height:76px!important;margin:12px 0 14px!important;padding:11px 14px!important;border-radius:16px!important;
  display:grid!important;grid-template-columns:minmax(250px,1.15fr) auto auto!important;align-items:center!important;gap:15px!important;
  border:1px solid var(--v693-line)!important;background:#fff!important;box-shadow:0 6px 18px rgba(18,49,76,.055)!important;
}
.v693-user-id{display:flex;align-items:center;gap:11px;min-width:0}.v693-avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,var(--v693-blue),var(--v693-indigo));color:#fff;font-weight:900;font-size:16px}.v693-user-id>span:last-child{display:flex;flex-direction:column;min-width:0}.v693-user-id small{font-size:8px;letter-spacing:1px;font-weight:900;color:#6d55d9}.v693-user-id b{font-size:14px;color:var(--v693-ink);line-height:1.2}.v693-user-id em{font-style:normal;font-size:9.4px;color:var(--v693-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v693-user-facts{display:flex;gap:7px}.v693-user-facts span{min-width:76px;padding:8px 10px;border:1px solid #e2ebf3;border-radius:11px;background:#f8fbff;display:flex;flex-direction:column}.v693-user-facts small{font-size:8.4px;color:var(--v693-muted);font-weight:750}.v693-user-facts b{font-size:15px;color:var(--v693-ink)}
.v693-user-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.v693-user-actions a,.v693-user-actions button{min-height:36px;padding:0 12px;border:0;border-radius:10px;background:linear-gradient(100deg,#2c75f3,#5357e7);color:#fff;font-size:10.5px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;box-shadow:0 6px 14px rgba(45,85,220,.18)}

/* Service workspace is now the main lower dashboard surface */
html body:not(.role-admin) .v693-dashboard-service-workspace{margin-top:0!important;padding:16px 17px 18px!important;border-radius:18px!important;border:1px solid #d9e6f0!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 8px 22px rgba(17,50,79,.065)!important}
html body:not(.role-admin) .v693-service-head{margin-bottom:10px!important;align-items:center!important}
html body:not(.role-admin) .v693-service-head h2{font-size:22px!important;line-height:1.15!important;margin:2px 0 3px!important}
html body:not(.role-admin) .v693-service-head p{font-size:11.2px!important;line-height:1.35!important;margin:0!important}
html body:not(.role-admin) .v693-service-head .video-service-search{min-width:315px!important;gap:8px!important}.v693-all-catalog{min-height:39px!important;border-radius:10px!important;background:#f3f7fb!important;color:#174268!important;border:1px solid #d9e6f0!important;font-weight:850!important}

/* Premium compact category buttons */
html body:not(.role-admin) .v693-category-tabs{gap:7px!important;margin:8px 0 8px!important;display:flex!important;flex-wrap:wrap!important}
html body:not(.role-admin) .v693-category-tabs button{min-height:38px!important;padding:0 11px!important;border-radius:10px!important;border:1px solid #d9e5ef!important;background:#fff!important;color:#173f62!important;font-size:10.4px!important;font-weight:850!important;display:inline-flex!important;align-items:center!important;gap:7px!important;cursor:pointer!important;box-shadow:0 3px 8px rgba(19,50,77,.035)!important}
html body:not(.role-admin) .v693-category-tabs button span{min-width:22px;height:22px;border-radius:999px;background:#edf3f8;color:#52708b;display:grid;place-items:center;font-size:8.8px;font-weight:900}
html body:not(.role-admin) .v693-category-tabs button:hover{border-color:#adc8df!important;transform:translateY(-1px)!important}
html body:not(.role-admin) .v693-category-tabs button.active{background:linear-gradient(100deg,var(--v693-blue),var(--v693-indigo))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 7px 15px rgba(45,87,222,.20)!important}
html body:not(.role-admin) .v693-category-tabs button.active span{background:rgba(255,255,255,.18)!important;color:#fff!important}
.v693-service-resultbar{min-height:31px;margin:0 0 9px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px;color:#6b7f92;font-size:9.8px;font-weight:750}.v693-service-resultbar a{color:#245fcb;font-weight:850;text-decoration:none}

/* Keep 4 columns but reduce visual height/blank space */
html body:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
html body:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card{min-height:148px!important;height:148px!important;padding:11px 11px 10px!important;grid-template-columns:40px minmax(0,1fr)!important;gap:9px!important;border-radius:15px!important}
html body:not(.role-admin) .v693-dashboard-service-workspace .u58-service-logo{width:40px!important;height:40px!important;min-width:40px!important;border-radius:11px!important}.v693-dashboard-service-workspace .u58-service-logo img{width:31px!important;height:31px!important}
html body:not(.role-admin) .v693-dashboard-service-workspace .u58-service-body{min-height:126px!important}.v693-dashboard-service-workspace .u58-service-body>small{font-size:7.5px!important;margin-bottom:3px!important}.v693-dashboard-service-workspace .u58-service-body>b{font-size:12.6px!important;line-height:1.15!important;min-height:29px!important}.v693-dashboard-service-workspace .u58-service-body>em{font-size:8.8px!important;line-height:1.28!important;min-height:22px!important;margin-top:2px!important}
html body:not(.role-admin) .v693-dashboard-service-workspace .mg-service-action{height:40px!important;min-height:40px!important;border-radius:11px!important;grid-template-columns:62px minmax(0,1fr) 31px!important}.v693-dashboard-service-workspace .mg-service-action strong{font-size:9.8px!important}.v693-dashboard-service-workspace .mg-service-action b{font-size:8.7px!important}.v693-dashboard-service-workspace .mg-service-action i{width:27px!important;height:27px!important;border-radius:8px!important}

/* On user dashboard, category buttons in sidebar become compact right-pane filters. Child links stay hidden here to save space. */
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion{margin-bottom:5px!important;border-radius:12px!important}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion>summary{min-height:48px!important;padding:5px 8px!important;grid-template-columns:32px minmax(0,1fr) auto 14px!important;cursor:pointer!important}
html body.dashboard-service-focus:not(.role-admin) .side-accordion-icon{width:32px!important;height:32px!important;border-radius:9px!important}
html body.dashboard-service-focus:not(.role-admin) .side-accordion-copy b{font-size:11.8px!important}.dashboard-service-focus:not(.role-admin) .side-accordion-copy small{font-size:7.9px!important}.dashboard-service-focus:not(.role-admin) .side-accordion-count{height:23px!important;min-width:25px!important;font-size:8.8px!important}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion .side-accordion-body{display:none!important}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion[open] .side-accordion-body{display:none!important}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion.v693-selected{background:linear-gradient(90deg,rgba(255,255,255,.20),rgba(68,116,255,.26))!important;border-color:rgba(255,255,255,.24)!important;box-shadow:0 6px 14px rgba(4,28,47,.12)!important}

/* lower history remains but visually secondary */
html body:not(.role-admin) .video-lower-grid{margin-top:14px!important}

@media(max-width:1480px){html body:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1180px){html body:not(.role-admin) .v693-user-strip{grid-template-columns:1fr auto!important}.v693-user-actions{grid-column:1/-1;justify-content:flex-start}html body:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){html body:not(.role-admin) .v693-user-strip{grid-template-columns:1fr!important}.v693-user-facts{flex-wrap:wrap}.v693-user-actions{grid-column:auto}.v693-service-head{align-items:flex-start!important;gap:10px!important}.v693-service-head .video-service-search{min-width:0!important;width:100%!important}html body:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:1fr!important}.v693-dashboard-service-workspace .u58-service-card{height:auto!important;min-height:144px!important}}

/* ===== SOURCE: app-v694.css ===== */
/* MG Print Portal V6.94.0 — User Dashboard Service Focus
   Keeps top dashboard KPI/history/wallet colors intact. Sidebar service category buttons filter
   the compact right-side service panel; service cards open their existing dynamic forms. */

/* Keep the dashboard service section compact and clearly separated. */
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace{
  padding:14px 16px 16px!important;
  margin-top:12px!important;
  border-radius:17px!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-service-head h2{
  font-size:24px!important;
  line-height:1.08!important;
  margin-bottom:3px!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-service-head p{
  font-size:11.5px!important;
  line-height:1.35!important;
  max-width:720px!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-category-tabs{
  gap:7px!important;
  margin:9px 0 6px!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-category-tabs button{
  min-height:34px!important;
  padding:0 10px!important;
  border-radius:9px!important;
  font-size:9.8px!important;
  font-weight:850!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-service-resultbar{
  min-height:26px!important;
  margin:0 0 7px!important;
}

/* Sidebar service directory on dashboard becomes a clean category-button stack. */
html body.dashboard-service-focus:not(.role-admin) .premium-service-heading{
  margin-top:12px!important;
  margin-bottom:7px!important;
}
html body.dashboard-service-focus:not(.role-admin) .premium-side-search{
  height:42px!important;
  margin-bottom:8px!important;
}
html body.dashboard-service-focus:not(.role-admin) .premium-service-accordions{
  gap:6px!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion{
  margin:0!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  overflow:hidden!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion>summary{
  min-height:48px!important;
  padding:5px 8px!important;
  grid-template-columns:32px minmax(0,1fr) auto 14px!important;
  gap:7px!important;
  cursor:pointer!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion>summary:hover{
  background:linear-gradient(90deg,rgba(255,255,255,.12),rgba(70,119,255,.18))!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-accordion-icon{
  width:32px!important;height:32px!important;border-radius:9px!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-accordion-copy b{
  font-size:11.8px!important;
  line-height:1.12!important;
  font-weight:900!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-accordion-copy small{
  font-size:7.9px!important;
  line-height:1.15!important;
  margin-top:1px!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-accordion-count{
  height:23px!important;
  min-width:25px!important;
  font-size:8.8px!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion .side-accordion-body{
  display:none!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion.v694-selected{
  background:linear-gradient(100deg,#ffffff 0%,#eff6ff 64%,#e5efff 100%)!important;
  border-color:#ffffff!important;
  box-shadow:0 8px 18px rgba(5,28,48,.16)!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion.v694-selected .side-accordion-copy b{
  color:#153f66!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion.v694-selected .side-accordion-copy small{
  color:#65809a!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion.v694-selected .side-accordion-icon{
  background:#e4efff!important;
  color:#265bca!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion.v694-selected .side-accordion-count{
  background:linear-gradient(100deg,#2d75f5,#5060e9)!important;
  color:#fff!important;
}
html body.dashboard-service-focus:not(.role-admin) .side-service-accordion.v694-selected .side-accordion-chevron{
  color:#2b5ec8!important;
}

/* Only the currently selected/quick services consume right-side space. */
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card{
  min-height:142px!important;
  height:142px!important;
  padding:10px 10px 9px!important;
  border-radius:14px!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-body{
  min-height:121px!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .mg-service-action{
  min-height:39px!important;
  height:39px!important;
  border-radius:10px!important;
}

/* Hide cards through JS without old display rules fighting it. */
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace [data-service-card][hidden]{
  display:none!important;
}

@media(max-width:1480px){
  html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1180px){
  html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:1fr!important}
  html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card{height:auto!important;min-height:140px!important}
}


/* ========================================================================== 
   MG PRINT PORTAL V6.96.0 — CLEAN WORKSPACE REVIEW / FINAL UI LAYER
   Purpose: make Dashboard, Sidebar and Service Desk clearer, denser and more
   professional without changing service, wallet, API, payment or role logic.
   ========================================================================== */
:root{
  --v696-side:278px;
  --v696-ink:#10314f;
  --v696-muted:#6b7f91;
  --v696-line:#dbe6ef;
  --v696-blue:#2c72f2;
  --v696-indigo:#5458e8;
  --v696-user:#087d78;
  --v696-user-deep:#07545c;
  --v696-admin:#0b3552;
  --v696-admin-deep:#08263f;
}

/* ===== Global workspace geometry ===== */
html body .main{margin-left:var(--v696-side)!important}
html body .sidebar{
  width:var(--v696-side)!important;
  padding:11px 10px 10px!important;
  overflow:hidden!important;
}
html body .sidebar>nav{
  height:calc(100vh - 76px - 226px)!important;
  padding:1px 2px 20px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-gutter:stable!important;
}
html body .sidebar>nav::-webkit-scrollbar{width:5px!important}
html body .sidebar>nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.28)!important;border-radius:999px!important}
html body.role-admin .sidebar{background:linear-gradient(180deg,var(--v696-admin),#0b4564 54%,var(--v696-admin-deep))!important}
html body:not(.role-admin) .sidebar{background:linear-gradient(180deg,#098c83,var(--v696-user) 48%,var(--v696-user-deep))!important}

html body .print-side-identity{min-height:63px!important;padding:8px 10px!important;border-radius:14px!important;gap:9px!important}
html body .print-side-mark{width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:10px!important}
html body .print-side-identity b{font-size:13.5px!important;line-height:1.08!important;font-weight:950!important}
html body .print-side-identity small{font-size:9px!important;margin-top:2px!important}
html body .print-side-pulse{min-height:43px!important;padding:6px 9px!important;border-radius:11px!important;margin-top:8px!important}
html body .print-side-pulse small{font-size:7.2px!important}.print-side-pulse b{font-size:14px!important}
html body .print-side-primary{min-height:48px!important;margin:8px 0 10px!important;padding:0 12px!important;border-radius:12px!important;font-size:12.3px!important}
html body .print-side-primary b{width:26px!important;height:26px!important}

/* Main sidebar buttons: bold, crisp and space-efficient. */
html body .sidebar .nav-section{margin:12px 6px 6px!important}
html body .sidebar .nav-section span{font-size:8px!important;letter-spacing:1.05px!important}
html body .sidebar .nav-item,
html body .sidebar .nav-button{
  min-height:45px!important;
  height:auto!important;
  padding:4px 9px!important;
  margin:0 0 4px!important;
  gap:9px!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(255,255,255,.055)!important;
}
html body .sidebar .nav-ico{
  width:31px!important;height:31px!important;flex:0 0 31px!important;border-radius:8px!important;
  background:rgba(255,255,255,.10)!important;
}
html body .sidebar .nav-ico svg{width:16px!important;height:16px!important}
html body .sidebar .nav-label{font-size:12.6px!important;line-height:1.12!important;font-weight:900!important;color:#fff!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover{transform:translateX(1px)!important;background:rgba(255,255,255,.105)!important}
html body .sidebar .nav-item.active,
html body .sidebar .nav-button.active{
  background:linear-gradient(95deg,#ffffff,#f4f8ff 58%,#e7efff)!important;
  color:#143e61!important;border-color:#fff!important;box-shadow:0 7px 16px rgba(3,24,41,.17)!important;
}
html body .sidebar .nav-item.active .nav-label,html body .sidebar .nav-button.active .nav-label{color:#143e61!important}
html body .sidebar .nav-item.active .nav-ico,html body .sidebar .nav-button.active .nav-ico{color:#285fce!important;background:#e4eeff!important}
html body .side-footer{left:10px!important;right:10px!important;bottom:8px!important;gap:6px!important}
html body .side-tool,html body .side-logout-row{min-height:39px!important;border-radius:9px!important;font-size:10px!important}

/* ===== User dashboard: category buttons live in sidebar, related services on right ===== */
html body:not(.role-admin) .dashboard-service-category-heading{margin-top:9px!important;margin-bottom:6px!important}
html body:not(.role-admin) .dashboard-side-category-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin:0 0 10px!important;
}
html body:not(.role-admin) .dashboard-side-category{
  min-width:0!important;margin:0!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:9px!important;
  background:rgba(255,255,255,.055)!important;overflow:hidden!important;
}
html body:not(.role-admin) .dashboard-side-category>summary{
  min-height:43px!important;padding:5px 7px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important;align-items:center!important;list-style:none!important;cursor:pointer!important;
}
html body:not(.role-admin) .dashboard-side-category>summary::-webkit-details-marker{display:none!important}
html body:not(.role-admin) .dashboard-side-category .side-accordion-copy{min-width:0!important;display:block!important}
html body:not(.role-admin) .dashboard-side-category .side-accordion-copy b{
  display:block!important;color:#fff!important;font-size:9.7px!important;line-height:1.13!important;font-weight:900!important;white-space:normal!important;
}
html body:not(.role-admin) .dashboard-side-category .side-accordion-count{
  min-width:20px!important;height:20px!important;padding:0 5px!important;font-size:7.8px!important;background:rgba(255,255,255,.13)!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;
}
html body:not(.role-admin) .dashboard-side-category:hover{background:rgba(255,255,255,.12)!important}
html body:not(.role-admin) .dashboard-side-category.v694-selected{
  background:linear-gradient(105deg,#ffffff,#eaf2ff)!important;border-color:#fff!important;box-shadow:0 6px 15px rgba(3,25,43,.18)!important;
}
html body:not(.role-admin) .dashboard-side-category.v694-selected .side-accordion-copy b{color:#15415f!important}
html body:not(.role-admin) .dashboard-side-category.v694-selected .side-accordion-count{background:linear-gradient(100deg,var(--v696-blue),var(--v696-indigo))!important;color:#fff!important;border-color:transparent!important}

/* User KPI cards remain colorful; only vertical rhythm is cleaned. */
html body:not(.role-admin) .video-user-kpis{margin:0 0 10px!important;gap:10px!important}
html body:not(.role-admin) .v693-user-strip{margin:10px 0!important;min-height:70px!important;padding:9px 12px!important}
html body:not(.role-admin) .v693-user-actions a,html body:not(.role-admin) .v693-user-actions button{min-height:34px!important;padding:0 11px!important;border-radius:9px!important;font-size:10px!important}

/* Service desk: single-row category rail, clean card typography and CTA. */
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace{
  padding:13px 14px 15px!important;margin-top:10px!important;border-radius:16px!important;border:1px solid var(--v696-line)!important;box-shadow:0 7px 18px rgba(17,50,79,.06)!important;
  scroll-margin-top:150px!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-service-head{margin-bottom:7px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-service-head h2{font-size:22px!important;letter-spacing:-.25px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-service-head p{font-size:10.5px!important;line-height:1.35!important}
html body.dashboard-service-focus:not(.role-admin) .v693-service-head .video-service-search{min-width:360px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-service-head .search{min-height:37px!important;padding:9px 11px!important;border-radius:9px!important;font-size:10.5px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-all-catalog{min-height:37px!important;border-radius:9px!important;font-size:9.5px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-category-tabs{
  display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:6px!important;margin:7px 0 5px!important;padding:1px 1px 5px!important;scrollbar-width:thin!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-category-tabs button{flex:0 0 auto!important;min-height:32px!important;padding:0 9px!important;border-radius:8px!important;font-size:9.4px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-category-tabs button span{min-width:19px!important;height:19px!important;font-size:7.8px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-service-resultbar{min-height:24px!important;margin-bottom:6px!important;font-size:9px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card{
  height:150px!important;min-height:150px!important;padding:10px!important;border-radius:13px!important;grid-template-columns:41px minmax(0,1fr)!important;gap:9px!important;
  border:1px solid #d9e5ee!important;border-top:2px solid #36a978!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 5px 13px rgba(16,49,77,.06)!important;
}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card:nth-child(4n+2){border-top-color:#5b86ea!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card:nth-child(4n+3){border-top-color:#efa329!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card:nth-child(4n+4){border-top-color:#835de8!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card:before,html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card:after{display:none!important;content:none!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-logo{width:41px!important;height:41px!important;min-width:41px!important;border-radius:10px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-logo img{width:31px!important;height:31px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-body{min-height:128px!important;padding-right:0!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-body>small{font-size:7.5px!important;margin:1px 38px 3px 0!important;letter-spacing:.45px!important;color:#758b9d!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-body>b{font-size:13.3px!important;line-height:1.13!important;min-height:30px!important;color:#123852!important;font-weight:950!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-body>em{font-size:8.7px!important;line-height:1.28!important;min-height:23px!important;color:#667e90!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-live,html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-assisted{top:8px!important;right:8px!important;font-size:6.8px!important;min-height:19px!important;padding:0 6px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .mg-service-action{height:39px!important;min-height:39px!important;margin-top:auto!important;border-radius:9px!important;grid-template-columns:58px minmax(0,1fr) 28px!important;box-shadow:0 7px 15px rgba(42,86,224,.20)!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .mg-service-action strong{font-size:9.6px!important;padding-left:7px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .mg-service-action b{font-size:8.8px!important;letter-spacing:.05px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .mg-service-action i{width:25px!important;height:25px!important;border-radius:7px!important}
html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card:hover{transform:translateY(-2px)!important;border-color:#b8cddd!important;box-shadow:0 12px 23px rgba(16,49,77,.11)!important}

/* ===== Admin dashboard: fuller width, less dead space, faster scanning ===== */
html body.role-admin .dashboard-content{padding:14px 14px 28px!important}
html body.role-admin .portal-topbar{min-height:58px!important;padding:8px 13px!important;border-radius:0 0 13px 13px!important}
html body.role-admin .portal-topbar h1{font-size:23px!important}
html body.role-admin .video-announcement-stack{gap:9px!important;margin:0 0 10px!important}
html body.role-admin .video-announcement{min-height:41px!important;padding:0 12px!important;border-radius:9px!important}
html body.role-admin .dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0 0 11px!important;width:100%!important}
html body.role-admin .dashboard-kpis .dash-kpi{min-height:108px!important;padding:14px 15px!important;border-radius:12px!important}
html body.role-admin .dashboard-kpis .dash-kpi small{font-size:8px!important}
html body.role-admin .dashboard-kpis .dash-kpi strong{font-size:27px!important;margin-top:4px!important}
html body.role-admin .dashboard-kpis .dash-kpi em{font-size:8.5px!important;margin-top:4px!important}
html body.role-admin .kpi-big-icon{font-size:18px!important}
html body.role-admin .admin-control-hub{padding:14px!important;margin-bottom:10px!important;border-radius:15px!important}
html body.role-admin .admin-control-hub .panel-head{margin-bottom:10px!important;align-items:center!important}
html body.role-admin .admin-control-hub .panel-head h2{font-size:17px!important}
html body.role-admin .admin-control-hub .panel-head p{font-size:9.5px!important;margin:3px 0 0!important}
html body.role-admin .admin-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
html body.role-admin .admin-control-grid>a{min-height:104px!important;padding:12px 13px!important;border-radius:12px!important;grid-template-columns:43px minmax(0,1fr)!important;gap:11px!important}
html body.role-admin .admin-control-grid>a>span{width:43px!important;height:43px!important;border-radius:11px!important;font-size:16px!important}
html body.role-admin .admin-control-grid b{font-size:12px!important}
html body.role-admin .admin-control-grid small{font-size:8.5px!important;line-height:1.35!important}
html body.role-admin .video-admin-category-control{padding:13px!important;border-radius:15px!important;margin-bottom:10px!important}
html body.role-admin .video-admin-category-control .panel-head{margin-bottom:9px!important}
html body.role-admin .video-category-control-grid{gap:8px!important}

/* Top masthead: prevent crowded chips on common laptop widths. */
html body .portal-masthead{padding-left:16px!important;padding-right:16px!important}
html body .mast-brand b{letter-spacing:.2px!important}
html body .mast-private{display:none!important}

/* Dark-theme support for the new surfaces. */
html[data-theme="dark"] body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace,
html[data-theme="dark"] body.dashboard-service-focus:not(.role-admin) .v693-user-strip{background:#102330!important;border-color:#294354!important;color:#eaf4fb!important}
html[data-theme="dark"] body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card{background:#122733!important;border-color:#2d4958!important}
html[data-theme="dark"] body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-body>b{color:#eff8ff!important}
html[data-theme="dark"] body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-body>em{color:#abc0cd!important}

@media(max-width:1500px){
  html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1180px){
  :root{--v696-side:268px}
  html body.role-admin .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body.dashboard-service-focus:not(.role-admin) .v693-service-head .video-service-search{min-width:280px!important}
}
@media(max-width:900px){
  html body .main{margin-left:0!important}
  html body .sidebar{width:min(286px,88vw)!important}
  html body .sidebar>nav{height:calc(100vh - 76px - 226px)!important}
  html body.role-admin .admin-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  html body:not(.role-admin) .dashboard-side-category-grid{grid-template-columns:1fr 1fr!important}
  html body.dashboard-service-focus:not(.role-admin) .v693-service-head .video-service-search{min-width:0!important;width:100%!important}
  html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-grid{grid-template-columns:1fr!important}
  html body.dashboard-service-focus:not(.role-admin) .v693-dashboard-service-workspace .u58-service-card{height:auto!important;min-height:146px!important}
  html body.role-admin .dashboard-kpis,html body.role-admin .admin-control-grid{grid-template-columns:1fr!important}
}

/* =====================================================================
   V6.97.0 REFERENCE-MATCHED PORTAL WORKSPACE
   Target: premium navy sidebar + clean white command bar + gradient welcome
   dashboard + category service cards + right wallet/activity rail.
   Existing service, wallet, API and application logic remains unchanged.
   ===================================================================== */
:root{
  --v697-side:236px;
  --v697-top:66px;
  --v697-navy:#082943;
  --v697-navy-2:#0a3455;
  --v697-blue:#1f73ff;
  --v697-cyan:#17c7e9;
  --v697-line:#dce9f4;
  --v697-text:#0b3153;
  --v697-muted:#6d86a0;
  --v697-bg:#f4f9fd;
}
html body{background:var(--v697-bg)!important;color:var(--v697-text)!important}
html body .ambient-orb{display:none!important}
html body .app-shell{min-height:100vh!important}

/* Top command bar starts AFTER the sidebar, like the supplied reference. */
html body .portal-masthead{
  position:fixed!important;top:0!important;left:var(--v697-side)!important;right:0!important;width:auto!important;height:var(--v697-top)!important;
  display:grid!important;grid-template-columns:minmax(360px,1fr) auto!important;align-items:center!important;gap:18px!important;
  padding:0 18px 0 28px!important;background:rgba(255,255,255,.985)!important;border-bottom:1px solid #dce9f4!important;
  box-shadow:0 2px 12px rgba(21,62,92,.06)!important;z-index:60!important;backdrop-filter:blur(14px)!important;
}
html body .portal-masthead .mast-brand{display:none!important}
html body .portal-masthead .mast-slogan{justify-self:start!important;color:#43647e!important}
html body .u58-mast-search{
  width:min(620px,100%)!important;max-width:620px!important;height:42px!important;display:grid!important;grid-template-columns:34px 1fr!important;
  align-items:center!important;padding:0 12px!important;border:1px solid #d5e4f0!important;border-radius:11px!important;background:#f9fcff!important;
  box-shadow:inset 0 1px 2px rgba(27,73,106,.03)!important;
}
html body .u58-mast-search>span{font-size:18px!important;color:#1e5792!important;text-align:center!important}
html body .u58-mast-search input{height:38px!important;min-height:38px!important;border:0!important;background:transparent!important;outline:0!important;font-size:11.5px!important;color:#315a7e!important;padding:0 7px!important}
html body .u58-mast-search button{display:none!important}
html body .pro-mast-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-width:0!important}
html body .pro-mast-right .mast-script,html body .pro-mast-right .mast-private{display:none!important}
html body .mast-wallet{
  min-width:128px!important;height:42px!important;padding:0 11px!important;border-radius:12px!important;background:linear-gradient(135deg,#e7fff7,#effcf8)!important;
  color:#095a45!important;border:1px solid #c7f0e2!important;box-shadow:none!important;display:grid!important;grid-template-columns:28px 1fr!important;grid-template-rows:auto auto!important;column-gap:8px!important;align-items:center!important;
}
html body .mast-wallet>span{grid-row:1/3!important;width:28px!important;height:28px!important;border-radius:9px!important;background:#11bd79!important;color:#fff!important;display:grid!important;place-items:center!important}
html body .mast-wallet small{font-size:7.5px!important;color:#608a7d!important;line-height:1!important}
html body .mast-wallet b{font-size:11.5px!important;color:#143f35!important;line-height:1.05!important}
html body .mast-bell{position:relative!important;width:40px!important;min-width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border:0!important;background:#f7fbff!important;border-radius:12px!important;font-size:17px!important;box-shadow:none!important;color:#0c4d83!important}
html body .mast-bell i{position:absolute!important;top:0!important;right:0!important;min-width:17px!important;height:17px!important;padding:0 4px!important;display:grid!important;place-items:center!important;border-radius:999px!important;background:#ef3340!important;color:#fff!important;border:2px solid #fff!important;font-style:normal!important;font-size:8px!important;font-weight:900!important}
html body .mast-profile{height:44px!important;min-width:148px!important;padding:4px 8px!important;border:0!important;background:transparent!important;border-radius:12px!important;display:flex!important;align-items:center!important;gap:9px!important;box-shadow:none!important}
html body .mast-profile>span{width:34px!important;height:34px!important;border-radius:50%!important;background:linear-gradient(145deg,#065ba8,#083b79)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:12px!important;font-weight:950!important;box-shadow:none!important}
html body .mast-profile small{display:grid!important;font-size:8.2px!important;color:#6c85a0!important;line-height:1.2!important;text-align:left!important}
html body .mast-profile small b{font-size:10.2px!important;color:#113b61!important;margin-bottom:2px!important}

/* Full-height navy sidebar. */
html body .sidebar{
  position:fixed!important;inset:0 auto 0 0!important;top:0!important;width:var(--v697-side)!important;height:100vh!important;z-index:70!important;
  padding:0 12px 12px!important;background:linear-gradient(180deg,var(--v697-navy) 0%,#092e4d 55%,#082641 100%)!important;
  border:0!important;box-shadow:6px 0 22px rgba(5,33,54,.12)!important;color:#fff!important;display:flex!important;flex-direction:column!important;
}
html body .side-glow{display:none!important}
html body .v697-side-brand{height:76px!important;min-height:76px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:9px 3px 10px!important;border-bottom:1px solid rgba(207,233,255,.11)!important}
html body .v697-side-brand img{width:54px!important;height:46px!important;object-fit:contain!important;filter:drop-shadow(0 8px 15px rgba(0,174,255,.20))!important}
html body .v697-side-brand>span{min-width:0!important;display:grid!important;line-height:1.05!important}
html body .v697-side-brand b{font-size:18px!important;color:#f6fbff!important;letter-spacing:-.35px!important;white-space:nowrap!important}
html body .v697-side-brand small{font-size:7.9px!important;color:#d5e6f6!important;margin-top:5px!important;white-space:nowrap!important}
html body .v697-side-brand em{font-size:7.5px!important;color:#8eb8d5!important;font-style:normal!important;margin-top:3px!important}
html body .print-side-identity,html body .print-side-pulse,html body .print-side-primary,html body .admin-side-label{display:none!important}
html body .sidebar>nav{flex:1 1 auto!important;height:auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px 2px 14px!important;margin:0!important;scrollbar-width:thin!important;scrollbar-color:rgba(172,215,246,.28) transparent!important}
html body .sidebar>nav::-webkit-scrollbar{width:4px!important}
html body .sidebar>nav::-webkit-scrollbar-thumb{background:rgba(171,215,246,.28)!important;border-radius:999px!important}
html body .sidebar .nav-section{margin:13px 8px 6px!important;font-size:7.4px!important;letter-spacing:1.15px!important;color:#789fbc!important;font-weight:900!important}
html body .sidebar .nav-item,html body .sidebar .nav-button{
  width:100%!important;height:42px!important;min-height:42px!important;margin:0 0 4px!important;padding:0 11px!important;display:flex!important;align-items:center!important;gap:10px!important;
  border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:#eff7ff!important;font-size:10.8px!important;font-weight:800!important;box-shadow:none!important;transform:none!important;text-align:left!important;
}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.05)!important;transform:none!important}
html body .sidebar .nav-item.active{background:linear-gradient(100deg,#2c65ff 0%,#13b9f0 100%)!important;color:#fff!important;border:0!important;box-shadow:0 8px 18px rgba(18,119,236,.32)!important}
html body .sidebar .nav-ico{width:22px!important;height:22px!important;display:grid!important;place-items:center!important;color:#f1f8ff!important;flex:0 0 22px!important}
html body .sidebar .nav-ico svg{width:17px!important;height:17px!important;fill:currentColor!important}
html body .sidebar .nav-label{font-size:10.8px!important;font-weight:820!important;line-height:1.1!important}
html body .sidebar .nav-badge{margin-left:auto!important;min-width:18px!important;height:18px!important;padding:0 5px!important;background:#f12b37!important;border:0!important;font-size:8px!important;color:#fff!important}
html body .v697-nav-arrow{margin-left:auto!important;color:#a6c7df!important;font-style:normal!important;font-size:15px!important}
html body .v697-side-services{margin:0 0 4px!important;border:0!important;background:transparent!important;color:#fff!important}
html body .v697-side-services>summary{height:42px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:0 11px!important;border-radius:8px!important;cursor:pointer!important;list-style:none!important;color:#eff7ff!important;font-size:10.8px!important;font-weight:820!important}
html body .v697-side-services>summary::-webkit-details-marker{display:none!important}
html body .v697-side-services>summary:hover{background:rgba(255,255,255,.07)!important}
html body .v697-side-services>summary>i{margin-left:auto!important;font-style:normal!important;color:#99bdd7!important;font-size:11px!important;transform:rotate(180deg)!important;transition:.15s!important}
html body .v697-side-services:not([open])>summary>i{transform:rotate(0deg)!important}
html body .v697-service-subnav{padding:1px 0 7px 33px!important;display:grid!important;gap:0!important}
html body .v697-service-subnav a{min-height:26px!important;padding:4px 2px!important;display:flex!important;align-items:center!important;gap:7px!important;color:#c7dded!important;font-size:9.2px!important;line-height:1.15!important;border-radius:5px!important}
html body .v697-service-subnav a:hover{color:#fff!important;background:rgba(255,255,255,.055)!important}
html body .v697-service-subnav a i{font-size:12px!important;color:#6e9fbe!important;font-style:normal!important}
html body .side-footer{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;flex:0 0 auto!important;margin:0!important;padding:9px 2px 0!important;background:transparent!important;border-top:1px solid rgba(207,233,255,.10)!important;display:grid!important;gap:5px!important}
html body .side-tool,html body .side-logout-row{min-height:36px!important;height:36px!important;border-radius:7px!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.07)!important;color:#e9f5fe!important;padding:0 10px!important;font-size:9px!important}
html body .side-tool b{margin-left:auto!important;background:rgba(255,255,255,.09)!important;color:#d9ecfa!important;border-radius:99px!important;padding:3px 7px!important;font-size:7px!important}

html body .main{margin-left:var(--v697-side)!important;padding-top:var(--v697-top)!important;min-height:100vh!important;background:var(--v697-bg)!important}
html body .topbar{top:var(--v697-top)!important;z-index:35!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #dfebf4!important;box-shadow:none!important}
html body:not(.role-admin) .main.user-dashboard>.portal-topbar,html body:not(.role-admin) .main:has(.v697-user-dashboard)>.portal-topbar{display:none!important}
html body .content{max-width:none!important}
html body:not(.role-admin) .simple-workspace{padding:16px!important}

/* Reference-matched retailer/user dashboard. */
html body .v697-user-dashboard{width:100%!important;padding:16px!important;background:var(--v697-bg)!important}
html body .v697-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 352px!important;gap:14px!important;align-items:start!important;max-width:1720px!important;margin:0 auto!important}
html body .v697-dashboard-main{min-width:0!important;display:grid!important;gap:14px!important}
html body .v697-dashboard-rail{min-width:0!important;display:grid!important;gap:12px!important;position:sticky!important;top:calc(var(--v697-top) + 14px)!important}
html body .v697-welcome-card{
  min-height:146px!important;position:relative!important;overflow:hidden!important;padding:19px 245px 17px 22px!important;border-radius:13px!important;color:#fff!important;
  background:linear-gradient(108deg,#514cf6 0%,#1d96f4 54%,#7b49ef 100%)!important;box-shadow:0 10px 24px rgba(66,73,224,.18)!important;
}
html body .v697-welcome-card:before{content:""!important;position:absolute!important;inset:auto -70px -120px auto!important;width:350px!important;height:260px!important;border-radius:50%!important;background:rgba(255,255,255,.09)!important;transform:rotate(-12deg)!important}
html body .v697-welcome-copy{position:relative!important;z-index:2!important}
html body .v697-eyebrow{display:none!important}
html body .v697-welcome-copy h2{margin:0!important;font-size:21px!important;line-height:1.1!important;letter-spacing:-.45px!important;color:#fff!important;font-weight:900!important}
html body .v697-welcome-copy>p{margin:4px 0 15px!important;font-size:10.8px!important;color:#edf7ff!important}
html body .v697-trust-row{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
html body .v697-trust-row>span{min-width:136px!important;height:51px!important;padding:7px 9px!important;display:grid!important;grid-template-columns:31px 1fr!important;grid-template-rows:1fr 1fr!important;gap:0 7px!important;align-items:center!important;border-radius:9px!important;border:1px solid rgba(255,255,255,.27)!important;background:rgba(255,255,255,.11)!important;backdrop-filter:blur(3px)!important}
html body .v697-trust-row i{grid-row:1/3!important;width:30px!important;height:30px!important;border-radius:8px!important;display:grid!important;place-items:center!important;background:rgba(21,54,202,.52)!important;color:#fff!important;font-style:normal!important;font-size:14px!important}
html body .v697-trust-row b{align-self:end!important;font-size:8.6px!important;color:#fff!important;line-height:1.1!important}
html body .v697-trust-row small{align-self:start!important;font-size:7.2px!important;color:#ddecff!important;line-height:1.1!important}
html body .v697-hero-art{position:absolute!important;z-index:2!important;right:22px!important;bottom:1px!important;width:225px!important;height:135px!important;object-fit:contain!important;filter:drop-shadow(0 14px 15px rgba(23,37,129,.28))!important}

html body .v697-shortcuts{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:11px!important}
html body .v697-shortcuts>a,html body .v697-shortcuts>button{height:74px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;border-radius:10px!important;border:1px solid #dfebf3!important;background:#fff!important;box-shadow:0 5px 14px rgba(24,65,94,.055)!important;color:#153c5e!important;text-align:left!important;cursor:pointer!important}
html body .v697-shortcuts>a:hover,html body .v697-shortcuts>button:hover{transform:translateY(-1px)!important;border-color:#c9dff0!important;box-shadow:0 8px 18px rgba(24,65,94,.09)!important}
html body .v697-shortcut-icon{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:11px!important;display:grid!important;place-items:center!important;color:#fff!important;font-size:17px!important;font-weight:900!important;box-shadow:0 7px 14px rgba(50,95,190,.15)!important}
html body .v697-shortcut-icon.blue{background:linear-gradient(145deg,#2f8cff,#2368f7)!important}.v697-shortcut-icon.green{background:linear-gradient(145deg,#20cf82,#0eaa64)!important}.v697-shortcut-icon.purple{background:linear-gradient(145deg,#9a5cf6,#6b3fe0)!important}.v697-shortcut-icon.pink{background:linear-gradient(145deg,#ff5cad,#ef2f87)!important}.v697-shortcut-icon.orange{background:linear-gradient(145deg,#ffab36,#f5771f)!important}
html body .v697-shortcuts span:last-child{display:grid!important;min-width:0!important}.v697-shortcuts b{font-size:10.4px!important;line-height:1.1!important;color:#143b5f!important}.v697-shortcuts small{font-size:7.7px!important;color:#7790a5!important;margin-top:4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

html body .v697-services-section{background:transparent!important;padding:0!important}
html body .v697-section-title{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:12px!important;margin:0 1px 8px!important}
html body .v697-section-title h2{margin:0!important;font-size:17px!important;color:#102f50!important;letter-spacing:-.25px!important}.v697-section-title p{margin:2px 0 0!important;font-size:8.8px!important;color:#6f879b!important}.v697-section-title>a{font-size:8.8px!important;font-weight:850!important;color:#1e6bd1!important}
html body .v697-category-pills{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:1px 0 8px!important;scrollbar-width:none!important}.v697-category-pills::-webkit-scrollbar{display:none!important}
html body .v697-category-pills a{flex:0 0 auto!important;height:30px!important;display:grid!important;place-items:center!important;padding:0 14px!important;border-radius:999px!important;border:1px solid #d8e5ef!important;background:#f9fcff!important;color:#42627d!important;font-size:8.6px!important;font-weight:760!important}.v697-category-pills a.active{background:linear-gradient(100deg,#247dff,#1da7f3)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 5px 12px rgba(32,115,231,.18)!important}
html body .v697-category-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
html body .v697-category-card{min-height:154px!important;padding:13px 13px 11px!important;display:flex!important;flex-direction:column!important;position:relative!important;overflow:hidden!important;border-radius:9px!important;border:1px solid #dce8f1!important;background:#fff!important;box-shadow:0 5px 14px rgba(20,62,93,.045)!important;transition:.16s!important}
html body .v697-category-card:hover{transform:translateY(-2px)!important;box-shadow:0 11px 22px rgba(20,62,93,.10)!important}
html body .v697-category-card:after{content:""!important;position:absolute!important;width:88px!important;height:88px!important;border-radius:50%!important;right:-36px!important;top:-38px!important;background:currentColor!important;opacity:.06!important}
html body .v697-category-icon{width:40px!important;height:40px!important;border-radius:12px!important;display:grid!important;place-items:center!important;margin-bottom:9px!important;background:rgba(255,255,255,.72)!important;border:1px solid rgba(255,255,255,.85)!important;box-shadow:0 5px 11px rgba(31,80,115,.07)!important}
html body .v697-category-icon img{width:29px!important;height:29px!important;object-fit:contain!important}
html body .v697-category-card>b{font-size:11.3px!important;line-height:1.1!important;margin-bottom:5px!important;color:currentColor!important}.v697-category-card>p{font-size:7.7px!important;line-height:1.35!important;margin:0!important;color:#6b8295!important;min-height:32px!important}.v697-category-card>div:last-child{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important}.v697-category-card>div strong{font-size:11.6px!important;color:currentColor!important}.v697-category-card>div span{min-width:83px!important;height:28px!important;padding:0 8px!important;border-radius:6px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;background:currentColor!important;color:#fff!important;font-size:8px!important;font-weight:850!important}.v697-category-card>div span i{font-style:normal!important;font-size:10px!important}
html body .v697-category-card.tone-pink{color:#e92b80!important;background:linear-gradient(145deg,#fff7fb,#fff1f7)!important;border-color:#f6d5e5!important}.v697-category-card.tone-blue{color:#1769ef!important;background:linear-gradient(145deg,#f4fbff,#edf7ff)!important;border-color:#cfe4f5!important}.v697-category-card.tone-green{color:#04a866!important;background:linear-gradient(145deg,#f4fff9,#ebfbf3)!important;border-color:#cdeede!important}.v697-category-card.tone-purple{color:#6f3ee7!important;background:linear-gradient(145deg,#faf7ff,#f2edff)!important;border-color:#ddd3f7!important}.v697-category-card.tone-orange{color:#f2721b!important;background:linear-gradient(145deg,#fffaf5,#fff2e7)!important;border-color:#f6dcc5!important}.v697-category-card.tone-teal{color:#0aaa8e!important;background:linear-gradient(145deg,#f3fffd,#eafaf7)!important;border-color:#caece6!important}.v697-category-card.tone-amber{color:#d38a08!important;background:linear-gradient(145deg,#fffdf5,#fff8e6)!important;border-color:#efdfbd!important}.v697-category-card.tone-cyan{color:#148cae!important;background:linear-gradient(145deg,#f4fdff,#eaf9fd)!important;border-color:#c9e7ef!important}

html body .v697-quick-form{min-height:102px!important;display:grid!important;grid-template-columns:230px 1fr!important;grid-template-rows:auto auto!important;column-gap:18px!important;row-gap:5px!important;padding:12px 14px!important;border-radius:10px!important;border:1px solid #dbe8f1!important;background:#fff!important;box-shadow:0 5px 14px rgba(20,62,93,.045)!important}
html body .v697-quick-form-head{grid-row:1/3!important;display:flex!important;align-items:center!important;gap:10px!important;border-right:1px solid #e4eef5!important;padding-right:14px!important}.v697-quick-form-icon{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#2f88ff,#0b74e9)!important;color:#fff!important;font-size:17px!important}.v697-quick-form-head div{display:grid!important}.v697-quick-form-head b{font-size:10.5px!important;color:#143b5f!important}.v697-quick-form-head small{font-size:7.8px!important;line-height:1.35!important;color:#6c8498!important;margin-top:4px!important}
html body .v697-stepper{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important;overflow:hidden!important}.v697-stepper span{display:flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important;font-size:6.9px!important;font-weight:800!important;color:#8096a8!important}.v697-stepper span i{width:15px!important;height:15px!important;border-radius:50%!important;display:grid!important;place-items:center!important;border:1px solid #cfdce7!important;background:#f8fbfd!important;font-style:normal!important;font-size:6.5px!important}.v697-stepper span.active{color:#1e5bb1!important}.v697-stepper span.active i{background:#1e65c9!important;color:#fff!important;border-color:#1e65c9!important}
html body .v697-quick-launch{display:grid!important;grid-template-columns:minmax(210px,1fr) minmax(180px,.8fr) 150px!important;gap:10px!important;align-items:end!important}.v697-quick-launch label{display:grid!important;gap:4px!important}.v697-quick-launch label>span{font-size:7px!important;color:#42627d!important;font-weight:800!important}.v697-quick-launch select,.v697-quick-launch input{height:33px!important;min-height:33px!important;border-radius:6px!important;border:1px solid #d7e4ee!important;background:#fbfdff!important;padding:0 9px!important;font-size:8.2px!important;color:#536f86!important;outline:0!important}.v697-quick-launch button{height:33px!important;border:0!important;border-radius:7px!important;background:linear-gradient(105deg,#297dff,#5d48ec)!important;color:#fff!important;font-size:8.4px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 6px 14px rgba(55,92,219,.18)!important}

/* Right rail */
html body .v697-date-card{height:65px!important;display:grid!important;grid-template-columns:1fr auto 30px!important;gap:10px!important;align-items:center!important;padding:10px 13px!important;border:1px solid #dde9f2!important;border-radius:10px!important;background:#fff!important;box-shadow:0 4px 12px rgba(20,62,93,.04)!important}.v697-date-card div{display:grid!important}.v697-date-card small{font-size:7.4px!important;color:#7790a3!important}.v697-date-card b{font-size:10.6px!important;color:#153b5d!important}.v697-date-time{text-align:right!important}.v697-date-card>span{font-size:22px!important;color:#f6a31a!important}
html body .v697-wallet-card{border-radius:10px!important;border:1px solid #dce8f2!important;background:#fff!important;overflow:hidden!important;box-shadow:0 5px 14px rgba(20,62,93,.05)!important}.v697-wallet-head{height:78px!important;padding:12px 13px!important;display:grid!important;grid-template-columns:43px 1fr auto!important;align-items:center!important;gap:10px!important;color:#fff!important;background:linear-gradient(110deg,#247bf4 0%,#7251ef 65%,#d445e9 100%)!important}.v697-wallet-head>span{width:42px!important;height:42px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#fff!important;color:#2f6de7!important;font-size:17px!important;box-shadow:0 7px 14px rgba(29,48,152,.16)!important}.v697-wallet-head>div{display:grid!important}.v697-wallet-head small{font-size:7.5px!important;color:#edf4ff!important}.v697-wallet-head b{font-size:22px!important;line-height:1.05!important;color:#fff!important}.v697-wallet-head>a{height:29px!important;padding:0 10px!important;display:grid!important;place-items:center!important;border-radius:7px!important;background:#13b968!important;color:#fff!important;font-size:8px!important;font-weight:850!important;white-space:nowrap!important}
html body .v697-wallet-actions{display:grid!important;grid-template-columns:repeat(4,1fr)!important;padding:8px!important;gap:6px!important}.v697-wallet-actions a{height:57px!important;display:grid!important;place-items:center!important;align-content:center!important;gap:4px!important;border:1px solid #dbe7f0!important;border-radius:7px!important;background:#fff!important;color:#244c6c!important}.v697-wallet-actions a:hover{background:#f6fbff!important}.v697-wallet-actions i{font-style:normal!important;font-size:14px!important;color:#1256a3!important}.v697-wallet-actions b{font-size:7.7px!important;font-weight:820!important}
html body .v697-recent-card{padding:12px!important;border:1px solid #dce8f2!important;border-radius:10px!important;background:#fff!important;box-shadow:0 5px 14px rgba(20,62,93,.05)!important}.v697-rail-title{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:5px!important}.v697-rail-title>b{font-size:11.5px!important;color:#143957!important}.v697-rail-title>a{font-size:7.5px!important;color:#2d67ac!important;font-weight:800!important}.v697-activity-list{display:grid!important}.v697-activity-list>a{min-height:53px!important;display:grid!important;grid-template-columns:35px minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;border-bottom:1px solid #e8f0f6!important;padding:6px 0!important}.v697-activity-icon{width:33px!important;height:33px!important;border-radius:10px!important;display:grid!important;place-items:center!important;font-size:12px!important;font-weight:900!important}.v697-activity-icon.tone-blue{background:#e8f4ff!important;color:#1f79e8!important}.v697-activity-icon.tone-green{background:#e8fbf3!important;color:#08a86b!important}.v697-activity-icon.tone-purple{background:#f1ebff!important;color:#7043e7!important}.v697-activity-icon.tone-orange{background:#fff1e3!important;color:#e9781d!important}.v697-activity-icon.tone-pink{background:#ffeaf4!important;color:#e73584!important}.v697-activity-copy{display:grid!important;min-width:0!important}.v697-activity-copy b{font-size:8.8px!important;color:#244a68!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.v697-activity-copy small{font-size:6.9px!important;color:#7891a5!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.v697-activity-state{display:grid!important;justify-items:end!important;gap:3px!important}.v697-activity-state .badge{font-size:6.4px!important;padding:3px 5px!important;border-radius:6px!important}.v697-activity-state>small{font-size:6.6px!important;color:#718ba0!important}.v697-empty{padding:22px 5px!important;text-align:center!important;font-size:8px!important;color:#7d92a4!important}
html body .v697-mini-stats{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important;margin-top:9px!important}.v697-mini-stats>span{min-height:79px!important;display:grid!important;align-content:center!important;padding:7px!important;border-radius:8px!important;border:1px solid #d8e8e0!important;background:#f6fffb!important}.v697-mini-stats>span:nth-child(2){border-color:#d6e8f6!important;background:#f6fbff!important}.v697-mini-stats>span:nth-child(3){border-color:#f4dfbd!important;background:#fffaf1!important}.v697-mini-stats>span:nth-child(4){border-color:#f4d4e2!important;background:#fff7fb!important}.v697-mini-stats i{font-style:normal!important;font-size:12px!important;color:#12a86b!important}.v697-mini-stats span:nth-child(2) i{color:#2479e8!important}.v697-mini-stats span:nth-child(3) i{color:#ed8d15!important}.v697-mini-stats span:nth-child(4) i{color:#e9468b!important}.v697-mini-stats small{font-size:6.5px!important;color:#728b9e!important;margin:3px 0!important;line-height:1.1!important}.v697-mini-stats b{font-size:15px!important;color:#164363!important}
html body .v697-print-promo{height:112px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;overflow:hidden!important;padding:13px 10px 13px 15px!important;border-radius:10px!important;border:1px solid #d9e9f6!important;background:linear-gradient(120deg,#f4fbff,#eaf6ff)!important;box-shadow:0 4px 12px rgba(20,62,93,.04)!important}.v697-print-promo>span{display:grid!important;align-content:center!important;z-index:2!important}.v697-print-promo b{font-size:11px!important;color:#123a5b!important}.v697-print-promo small{font-size:7.5px!important;color:#6d87a0!important;margin:4px 0 10px!important}.v697-print-promo em{width:max-content!important;padding:7px 10px!important;border-radius:6px!important;background:#082f50!important;color:#fff!important;font-size:7.5px!important;font-weight:850!important;font-style:normal!important}.v697-print-promo img{width:135px!important;height:100px!important;object-fit:contain!important;margin-right:-3px!important;filter:drop-shadow(0 8px 10px rgba(47,101,153,.12))!important}
html body .v697-user-dashboard>.user-private-note{margin:9px 0 0!important;text-align:center!important;font-size:7px!important;color:#8398a9!important}

/* Admin gets the same frame language while keeping all management modules. */
html body.role-admin .portal-masthead{grid-template-columns:minmax(260px,1fr) auto!important}
html body.role-admin .sidebar{background:linear-gradient(180deg,#07263f,#082f4e 58%,#06233a)!important}
html body.role-admin .dashboard-content{background:#f4f9fd!important}
html body.role-admin .dashboard-kpis .dash-kpi,html body.role-admin .admin-control-hub,html body.role-admin .video-admin-category-control,html body.role-admin .dashboard-two .panel,html body.role-admin .dashboard-bottom-grid .panel{border-radius:10px!important;border-color:#dce8f2!important;box-shadow:0 5px 14px rgba(20,62,93,.055)!important}
html body.role-admin .dashboard-kpis .dash-kpi{min-height:102px!important}

/* Dark mode remains usable even though the reference itself is light. */
html[data-theme="dark"] body{--v697-bg:#0e1c28!important;--v697-text:#e8f4fd!important;--v697-line:#2b4355!important;background:#0e1c28!important}
html[data-theme="dark"] body .portal-masthead,html[data-theme="dark"] body .v697-shortcuts>a,html[data-theme="dark"] body .v697-shortcuts>button,html[data-theme="dark"] body .v697-quick-form,html[data-theme="dark"] body .v697-date-card,html[data-theme="dark"] body .v697-wallet-card,html[data-theme="dark"] body .v697-recent-card{background:#122635!important;border-color:#2a4558!important;color:#eaf5fd!important}
html[data-theme="dark"] body .v697-section-title h2,html[data-theme="dark"] body .v697-shortcuts b,html[data-theme="dark"] body .v697-quick-form-head b,html[data-theme="dark"] body .v697-date-card b,html[data-theme="dark"] body .v697-rail-title>b,html[data-theme="dark"] body .v697-activity-copy b{color:#edf8ff!important}
html[data-theme="dark"] body .v697-category-pills a{background:#142a39!important;border-color:#2b485a!important;color:#bdd1df!important}
html[data-theme="dark"] body .v697-category-card{filter:brightness(.82) saturate(.9)!important}

@media(max-width:1450px){
  :root{--v697-side:226px}
  html body .v697-dashboard-grid{grid-template-columns:minmax(0,1fr) 320px!important}
  html body .v697-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  html body .v697-welcome-card{padding-right:215px!important}.v697-hero-art{width:195px!important}
  html body .v697-trust-row>span{min-width:123px!important}
}
@media(max-width:1180px){
  html body .v697-dashboard-grid{grid-template-columns:1fr!important}
  html body .v697-dashboard-rail{position:static!important;grid-template-columns:1fr 1fr!important;align-items:stretch!important}.v697-recent-card{grid-column:1/-1!important}.v697-print-promo{grid-column:1/-1!important}
  html body .v697-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body .v697-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body .v697-quick-form{grid-template-columns:1fr!important;grid-template-rows:auto!important}.v697-quick-form-head{grid-row:auto!important;border-right:0!important;border-bottom:1px solid #e4eef5!important;padding:0 0 10px!important}.v697-quick-launch{grid-template-columns:1fr 1fr 150px!important}
}
@media(max-width:980px){
  html body .portal-masthead{left:0!important;height:62px!important;grid-template-columns:1fr auto!important;padding:0 10px 0 54px!important}.v697-side-brand{height:68px!important}.sidebar{width:min(280px,88vw)!important;transform:translateX(-105%)!important;transition:.2s!important}.sidebar.open{transform:translateX(0)!important}.main{margin-left:0!important;padding-top:62px!important}.topbar{top:62px!important}.mast-profile{min-width:44px!important}.mast-profile small{display:none!important}.mast-wallet{min-width:108px!important}.u58-mast-search{max-width:none!important}.v697-user-dashboard{padding:10px!important}
  html body .v697-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  html body .portal-masthead{grid-template-columns:minmax(0,1fr) auto!important}.mast-wallet{display:none!important}.mast-profile{display:none!important}.mast-bell{width:36px!important;min-width:36px!important;height:36px!important}.u58-mast-search{height:38px!important}.v697-dashboard-grid{gap:10px!important}.v697-welcome-card{padding:18px!important;min-height:205px!important}.v697-hero-art{width:150px!important;height:90px!important;right:10px!important;bottom:0!important;opacity:.75!important}.v697-welcome-copy h2{font-size:18px!important}.v697-trust-row{max-width:75%!important}.v697-trust-row>span{min-width:118px!important}.v697-shortcuts{grid-template-columns:1fr 1fr!important}.v697-category-grid{grid-template-columns:1fr 1fr!important}.v697-dashboard-rail{grid-template-columns:1fr!important}.v697-recent-card,.v697-print-promo{grid-column:auto!important}.v697-stepper{overflow-x:auto!important}.v697-quick-launch{grid-template-columns:1fr!important}.v697-quick-search{display:none!important}
}
@media(max-width:460px){html body .v697-category-grid{grid-template-columns:1fr!important}.v697-shortcuts{grid-template-columns:1fr!important}.v697-trust-row{max-width:100%!important}.v697-welcome-card{padding-bottom:96px!important}.v697-hero-art{left:50%!important;right:auto!important;transform:translateX(-50%)!important}.v697-mini-stats{grid-template-columns:1fr 1fr!important}}
html body:not(.role-admin) .main.user-dashboard .simple-workspace{padding:0!important}
html body:not(.role-admin) .main.user-dashboard .video-announcement-stack{display:none!important}
html body:not(.role-admin) .main.user-dashboard .notice{margin:12px 16px 0!important}

/* V6.97 service catalog/readability pass: keep buttons large and obvious. */
html body:not(.role-admin) .user-service-page .content{padding:16px 18px 28px!important}
html body:not(.role-admin) .user-service-page .user-simple-hero{border-radius:12px!important;border:1px solid #d9e7f1!important;background:linear-gradient(110deg,#4d50f4,#188fe9 62%,#7047e8)!important;color:#fff!important;box-shadow:0 9px 22px rgba(51,80,194,.15)!important}
html body:not(.role-admin) .user-service-page .user-simple-hero h2,html body:not(.role-admin) .user-service-page .user-simple-hero p{color:#fff!important}
html body:not(.role-admin) .user-service-page .u58-services-toolbar{padding:15px!important;border-radius:10px!important;background:#fff!important;border:1px solid #dce8f2!important;box-shadow:0 5px 14px rgba(20,62,93,.05)!important}
html body:not(.role-admin) .user-service-page .u58-services-toolbar h2{font-size:20px!important;color:#123958!important}.user-service-page .u58-services-toolbar p{font-size:10px!important;color:#6f879a!important}
html body:not(.role-admin) .user-service-page .u58-category-full{display:flex!important;gap:7px!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding:10px 0 7px!important}.user-service-page .u58-category-full a{flex:0 0 auto!important;min-height:32px!important;padding:0 13px!important;border-radius:999px!important;background:#f8fbfe!important;border:1px solid #d8e5ef!important;color:#42627d!important;font-size:9px!important;font-weight:800!important}.user-service-page .u58-category-full a.active{background:linear-gradient(100deg,#247dff,#1da7f3)!important;color:#fff!important;border-color:transparent!important}
html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full .u58-service-card{height:190px!important;min-height:190px!important;padding:14px!important;border-radius:11px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;border:1px solid #d9e6f0!important;box-shadow:0 6px 16px rgba(20,62,93,.06)!important;grid-template-columns:50px minmax(0,1fr)!important;gap:12px!important}
html body:not(.role-admin) .user-service-page .u58-service-card:hover{transform:translateY(-2px)!important;box-shadow:0 12px 25px rgba(20,62,93,.11)!important;border-color:#bcd4e6!important}
html body:not(.role-admin) .user-service-page .u58-service-logo{width:50px!important;height:50px!important;min-width:50px!important;border-radius:13px!important;background:#f2f8fc!important;border:1px solid #dce9f2!important}.user-service-page .u58-service-logo img{width:37px!important;height:37px!important}
html body:not(.role-admin) .user-service-page .u58-service-body>b{font-size:14px!important;line-height:1.2!important;color:#153a59!important;min-height:34px!important}.user-service-page .u58-service-body>small{font-size:8px!important;color:#6e879a!important;margin-top:2px!important}.user-service-page .u58-service-body>em{font-size:9.2px!important;line-height:1.4!important;color:#6c8295!important;min-height:39px!important;margin-top:6px!important}
html body:not(.role-admin) .user-service-page .mg-service-action{height:42px!important;min-height:42px!important;margin-top:auto!important;border-radius:8px!important;grid-template-columns:72px minmax(0,1fr) 32px!important;background:linear-gradient(100deg,#2182ff,#5061ed)!important;box-shadow:0 7px 16px rgba(49,90,220,.18)!important}.user-service-page .mg-service-action strong{font-size:11px!important}.user-service-page .mg-service-action b{font-size:9.5px!important}.user-service-page .mg-service-action i{width:27px!important;height:27px!important;border-radius:7px!important}
html body:not(.role-admin) .user-service-page .mg-service-hint{font-size:7px!important;color:#7890a2!important;margin-top:5px!important}
html body:not(.role-admin) .user-service-page .services-grid.user-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.user-service-page .service-card.user-service-card{min-height:230px!important;border-radius:11px!important;padding:16px!important;border:1px solid #dbe8f1!important;box-shadow:0 6px 16px rgba(20,62,93,.055)!important}.user-service-page .service-card.user-service-card h3{font-size:15px!important}.user-service-page .service-card.user-service-card p{font-size:10px!important}.user-service-page .service-card.user-service-card .btn{min-height:38px!important;border-radius:8px!important;font-size:9.5px!important}
html body:not(.role-admin) .field input,html body:not(.role-admin) .field select,html body:not(.role-admin) .field textarea{border-radius:8px!important;border-color:#d2e1eb!important;background:#fff!important}.field label{color:#173b58!important}.btn.primary{background:linear-gradient(100deg,#237df8,#5553e9)!important}
@media(max-width:1350px){html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:980px){html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full,html body:not(.role-admin) .user-service-page .services-grid.user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full,html body:not(.role-admin) .user-service-page .services-grid.user-service-grid{grid-template-columns:1fr!important}}
html body .v697-mobile-menu{display:none!important}
@media(max-width:980px){html body .v697-mobile-menu{position:absolute!important;left:10px!important;top:13px!important;width:36px!important;height:36px!important;border:1px solid #d7e5ef!important;border-radius:9px!important;background:#fff!important;color:#0b4c7e!important;display:grid!important;place-items:center!important;font-size:17px!important;z-index:2!important}}

/* =====================================================================
   V6.98.0 AUTHORITATIVE FULL-REFERENCE THEME
   This block intentionally sits last and wins over every legacy theme.
   ===================================================================== */
:root{
  --v698-side:244px;
  --v698-top:68px;
  --v698-navy:#062844;
  --v698-navy2:#083759;
  --v698-blue:#216cff;
  --v698-cyan:#15c5ed;
  --v698-bg:#f4f9fd;
  --v698-card:#ffffff;
  --v698-text:#0d3557;
  --v698-muted:#6d859b;
  --v698-line:#d9e7f2;
  --v698-shadow:0 8px 22px rgba(17,58,88,.07);
}
html body{background:var(--v698-bg)!important;color:var(--v698-text)!important;font-family:Inter,"Segoe UI",Arial,sans-serif!important}
html body .ambient-orb{display:none!important}
html body .app-shell{min-height:100vh!important;background:var(--v698-bg)!important}

/* command header */
html body .portal-masthead{
  position:fixed!important;top:0!important;left:var(--v698-side)!important;right:0!important;width:auto!important;height:var(--v698-top)!important;
  padding:0 18px 0 24px!important;display:grid!important;grid-template-columns:minmax(360px,1fr) auto!important;gap:18px!important;align-items:center!important;
  background:rgba(255,255,255,.99)!important;border:0!important;border-bottom:1px solid #dbe8f2!important;box-shadow:0 3px 14px rgba(21,63,92,.055)!important;z-index:900!important;
}
html body .portal-masthead .mast-brand,html body .portal-masthead .mast-slogan,html body .portal-masthead .mast-script,html body .portal-masthead .mast-private{display:none!important}
html body .u58-mast-search{width:min(690px,100%)!important;max-width:690px!important;height:42px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;padding:0 12px!important;border:1px solid #d5e4ef!important;border-radius:11px!important;background:#f8fbff!important;box-shadow:inset 0 1px 2px rgba(30,72,104,.025)!important}
html body .u58-mast-search>span{font-size:17px!important;color:#1b5790!important;text-align:center!important}
html body .u58-mast-search input{height:39px!important;border:0!important;outline:0!important;background:transparent!important;font-size:11.5px!important;color:#345f7f!important;padding:0 7px!important}
html body .u58-mast-search button{display:none!important}
html body .pro-mast-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important}
html body .mast-wallet{min-width:132px!important;height:43px!important;padding:0 11px!important;border-radius:12px!important;border:1px solid #c8eee2!important;background:linear-gradient(135deg,#e9fff8,#f3fffb)!important;box-shadow:none!important;color:#0b5b46!important;display:grid!important;grid-template-columns:29px 1fr!important;grid-template-rows:auto auto!important;column-gap:8px!important;align-items:center!important}
html body.role-admin .mast-wallet{background:linear-gradient(135deg,#eff3ff,#f5f2ff)!important;border-color:#dce0fb!important;color:#353c9a!important}
html body .mast-wallet>span{grid-row:1/3!important;width:29px!important;height:29px!important;border-radius:9px!important;background:#10b979!important;color:#fff!important;display:grid!important;place-items:center!important}
html body.role-admin .mast-wallet>span{background:linear-gradient(135deg,#366af4,#7149df)!important}
html body .mast-wallet small{font-size:7.2px!important;line-height:1!important;color:#668a7f!important}.mast-wallet b{font-size:11.4px!important;line-height:1.05!important;color:#133e34!important}
html body.role-admin .mast-wallet small{color:#7479a8!important}.role-admin .mast-wallet b{color:#333b87!important}
html body .mast-bell{position:relative!important;width:40px!important;min-width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:12px!important;background:#f7fbff!important;color:#0a4a7d!important;font-size:17px!important;box-shadow:none!important}
html body .mast-bell i{position:absolute!important;right:0!important;top:0!important;min-width:17px!important;height:17px!important;padding:0 4px!important;display:grid!important;place-items:center!important;border-radius:99px!important;background:#ef3340!important;color:#fff!important;border:2px solid #fff!important;font-size:8px!important;font-style:normal!important;font-weight:900!important}
html body .mast-profile{min-width:150px!important;height:45px!important;padding:3px 6px!important;display:flex!important;align-items:center!important;gap:9px!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body .mast-profile>span{width:35px!important;height:35px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#0a62b1,#063970)!important;color:#fff!important;font-size:12px!important;font-weight:950!important}
html body .mast-profile small{display:grid!important;text-align:left!important;font-size:8.1px!important;line-height:1.2!important;color:#6e87a0!important}.mast-profile small b{font-size:10.2px!important;color:#153c5d!important;margin-bottom:2px!important}

/* navy sidebar - force SAME visual on every role */
html body .sidebar,html body.role-admin .sidebar,html body:not(.role-admin) .sidebar{
  position:fixed!important;top:0!important;left:0!important;bottom:0!important;right:auto!important;width:var(--v698-side)!important;height:100vh!important;
  padding:0 12px 12px!important;margin:0!important;display:flex!important;flex-direction:column!important;background:linear-gradient(180deg,#062844 0%,#073252 52%,#05233c 100%)!important;
  border:0!important;border-radius:0!important;box-shadow:7px 0 24px rgba(4,31,52,.13)!important;color:#fff!important;z-index:950!important;overflow:hidden!important;
}
html body .side-glow,html body .print-side-identity,html body .print-side-pulse,html body .print-side-primary,html body .admin-side-label{display:none!important}
html body .v697-side-brand{height:82px!important;min-height:82px!important;padding:10px 3px 11px!important;display:flex!important;align-items:center!important;gap:10px!important;border-bottom:1px solid rgba(213,234,250,.11)!important;background:transparent!important}
html body .v697-side-brand img{width:55px!important;height:47px!important;object-fit:contain!important;filter:drop-shadow(0 6px 13px rgba(11,174,240,.22))!important}
html body .v697-side-brand>span{display:grid!important;min-width:0!important;line-height:1.03!important}.v697-side-brand b{font-size:18px!important;letter-spacing:-.3px!important;color:#f8fcff!important;white-space:nowrap!important}.v697-side-brand small{margin-top:5px!important;font-size:7.8px!important;color:#d6e6f4!important;white-space:nowrap!important}.v697-side-brand em{margin-top:3px!important;font-size:7.2px!important;font-style:normal!important;color:#83aac7!important}
html body .sidebar>nav{flex:1 1 auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:10px 2px 16px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin!important;scrollbar-color:rgba(188,222,246,.26) transparent!important}
html body .sidebar>nav::-webkit-scrollbar{width:4px!important}.sidebar>nav::-webkit-scrollbar-thumb{background:rgba(188,222,246,.26)!important;border-radius:99px!important}
html body .sidebar .nav-section{margin:14px 9px 6px!important;display:flex!important;align-items:center!important;gap:8px!important;color:#789fbd!important}.sidebar .nav-section span{font-size:7.6px!important;font-weight:900!important;letter-spacing:1.2px!important;color:#789fbd!important}.sidebar .nav-section i{height:1px!important;flex:1!important;background:rgba(255,255,255,.09)!important}
html body .sidebar .nav-item,html body .sidebar .nav-button,html body .v697-side-services>summary{
  width:100%!important;height:44px!important;min-height:44px!important;margin:0 0 4px!important;padding:0 12px!important;display:flex!important;align-items:center!important;gap:10px!important;
  border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#f2f8fd!important;box-shadow:none!important;transform:none!important;text-align:left!important;cursor:pointer!important;
}
html body .sidebar .nav-label,html body .v697-side-services>summary .nav-label{font-size:12.2px!important;font-weight:800!important;line-height:1.1!important;color:#f2f8fd!important}
html body .sidebar .nav-ico{width:22px!important;height:22px!important;flex:0 0 22px!important;display:grid!important;place-items:center!important;color:#eef7ff!important;background:transparent!important}.sidebar .nav-ico svg{width:17px!important;height:17px!important;fill:currentColor!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover,html body .v697-side-services>summary:hover{background:rgba(255,255,255,.065)!important;border-color:rgba(255,255,255,.055)!important;transform:none!important}
html body .sidebar .nav-item.active,html body .sidebar .nav-button.active{background:linear-gradient(100deg,#3564ff,#12bff0)!important;border:0!important;color:#fff!important;box-shadow:0 8px 18px rgba(31,111,237,.30)!important}
html body .sidebar .nav-item.active .nav-label,html body .sidebar .nav-button.active .nav-label,html body .sidebar .nav-item.active .nav-ico{color:#fff!important;background:transparent!important}
html body .sidebar .nav-badge{margin-left:auto!important;min-width:19px!important;height:19px!important;padding:0 5px!important;border:0!important;border-radius:99px!important;background:#f22e3a!important;color:#fff!important;font-size:8px!important;font-style:normal!important}
html body .v697-side-services{margin:0 0 4px!important;background:transparent!important;border:0!important;color:#fff!important}.v697-side-services>summary{list-style:none!important}.v697-side-services>summary::-webkit-details-marker{display:none!important}.v697-side-services>summary>i{margin-left:auto!important;color:#9dbbd2!important;font-style:normal!important}
html body .v697-service-subnav{padding:0 0 7px 34px!important;display:grid!important;gap:1px!important}.v697-service-subnav a{min-height:27px!important;padding:4px 6px!important;display:flex!important;align-items:center!important;gap:6px!important;border-radius:6px!important;color:#c8ddeb!important;font-size:9.6px!important;font-weight:650!important}.v697-service-subnav a:hover{background:rgba(255,255,255,.055)!important;color:#fff!important}.v697-service-subnav a i{font-style:normal!important;color:#79a9ca!important}
html body.role-admin .premium-service-heading,html body.role-admin .premium-side-search,html body.role-admin .premium-service-accordions,html body.role-admin .premium-all-services{display:none!important}
html body .side-footer{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;display:grid!important;gap:7px!important;padding:8px 0 0!important;margin-top:auto!important;background:linear-gradient(180deg,transparent,rgba(3,25,43,.18))!important}.side-tools{display:block!important}.side-tool,.side-logout-row{width:100%!important;min-height:41px!important;padding:0 12px!important;border-radius:9px!important;border:1px solid rgba(255,255,255,.13)!important;background:rgba(255,255,255,.055)!important;color:#eef7ff!important;display:flex!important;align-items:center!important;gap:9px!important;font-size:9px!important;font-weight:800!important}.side-tool b{margin-left:auto!important;border-radius:99px!important;background:rgba(255,255,255,.10)!important;padding:3px 7px!important;font-size:7px!important}.side-logout-row{justify-content:center!important}

/* content geometry: remove legacy top gap */
html body .main{margin-left:var(--v698-side)!important;padding-top:var(--v698-top)!important;min-height:100vh!important;background:var(--v698-bg)!important;width:auto!important}
html body .main>.topbar{position:relative!important;top:auto!important;left:auto!important;right:auto!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
html body .main.user-dashboard>.topbar,html body .main.admin-dashboard>.topbar,html body .main.user-service-page>.topbar{display:none!important}
html body .content{max-width:none!important}

/* shared page typography */
html body .v698-eyebrow{display:block!important;margin-bottom:5px!important;font-size:7.4px!important;line-height:1!important;font-weight:950!important;letter-spacing:1.1px!important;color:#6b48e7!important}

/* user service catalog now visually matches dashboard/reference */
html body:not(.role-admin) .user-service-page .content{padding:14px 16px 30px!important;background:var(--v698-bg)!important}
html body .v698-services-hero{min-height:92px!important;margin:0 0 12px!important;padding:16px 18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;border:1px solid #dce8f2!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--v698-shadow)!important}
html body .v698-services-hero h2{margin:0!important;font-size:22px!important;line-height:1.08!important;letter-spacing:-.35px!important;color:#103858!important}.v698-services-hero p{margin:5px 0 0!important;max-width:760px!important;font-size:9.5px!important;line-height:1.45!important;color:#71889a!important}.v698-service-hero-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.v698-service-hero-actions a{height:36px!important;padding:0 13px!important;border:1px solid #d5e3ee!important;border-radius:8px!important;background:#fafdff!important;color:#234f72!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:9px!important;font-weight:850!important}.v698-service-hero-actions a:first-child{background:linear-gradient(105deg,#2b7fff,#5260ec)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 6px 14px rgba(50,93,221,.17)!important}
html body:not(.role-admin) .user-service-page .u58-services-page{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body:not(.role-admin) .user-service-page .u58-services-toolbar{min-height:83px!important;padding:14px 16px!important;margin:0 0 8px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;border:1px solid #dce8f2!important;border-radius:11px!important;background:#fff!important;box-shadow:0 5px 15px rgba(19,58,88,.05)!important}.user-service-page .u58-section-kicker{font-size:7px!important;letter-spacing:1px!important;color:#6949e8!important}.user-service-page .u58-services-toolbar h2{font-size:18px!important;line-height:1.1!important;color:#123a59!important;margin:2px 0 4px!important}.user-service-page .u58-services-toolbar p{font-size:8.8px!important;color:#71889a!important;margin:0!important}.user-service-page .u58-search-tools{display:flex!important;gap:7px!important;align-items:center!important}.user-service-page .u58-search-tools .search{width:290px!important;height:36px!important;min-height:36px!important;border-radius:8px!important;border:1px solid #d5e2ec!important;background:#fafdff!important;font-size:9px!important}.user-service-page .u58-search-tools .btn{height:36px!important;min-height:36px!important;border-radius:8px!important;font-size:8.7px!important}
html body:not(.role-admin) .user-service-page .u58-category-full{margin:0 0 10px!important;padding:2px 0 6px!important;display:flex!important;gap:7px!important;overflow-x:auto!important;flex-wrap:nowrap!important}.user-service-page .u58-category-full a{flex:0 0 auto!important;min-height:34px!important;padding:0 13px!important;display:flex!important;align-items:center!important;gap:7px!important;border-radius:999px!important;border:1px solid #d7e4ef!important;background:#fff!important;color:#42647e!important;font-size:9px!important;font-weight:800!important}.user-service-page .u58-category-full a.active{background:linear-gradient(100deg,#2f6cff,#14bcec)!important;color:#fff!important;border-color:transparent!important}.user-service-page .u58-category-full a span{min-width:19px!important;height:19px!important;display:grid!important;place-items:center!important;border-radius:99px!important;background:#edf3f8!important;color:#5b7488!important;font-size:7px!important}.user-service-page .u58-category-full a.active span{background:rgba(255,255,255,.2)!important;color:#fff!important}
html body:not(.role-admin) .user-service-page .u58-band{min-height:43px!important;margin:8px 0!important;padding:8px 12px!important;border:1px solid #cfeadf!important;border-left:4px solid #15b66f!important;border-radius:9px!important;background:#f2fcf7!important;color:#174e39!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.user-service-page .u58-band.secondary{border-color:#dbe5ef!important;border-left-color:#5c6fe9!important;background:#f7f9ff!important}.user-service-page .u58-band span{display:grid!important}.user-service-page .u58-band b{font-size:10px!important}.user-service-page .u58-band small{font-size:7.5px!important;color:#718b7e!important;margin-top:2px!important}.user-service-page .u58-band strong{font-size:7.5px!important;border-radius:99px!important;padding:4px 8px!important;background:#e3f9ee!important;color:#079557!important}
html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-bottom:14px!important}.user-service-page .u58-service-grid.u58-services-full .u58-service-card{height:202px!important;min-height:202px!important;padding:14px!important;display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:12px!important;border:1px solid #d9e6f0!important;border-top:3px solid #2a7cf5!important;border-radius:12px!important;background:#fff!important;box-shadow:0 7px 18px rgba(18,58,89,.06)!important;overflow:hidden!important;position:relative!important}.user-service-page .u58-service-grid.u58-services-full .u58-service-card:nth-child(6n+2){border-top-color:#19af73!important}.user-service-page .u58-service-grid.u58-services-full .u58-service-card:nth-child(6n+3){border-top-color:#e44d98!important}.user-service-page .u58-service-grid.u58-services-full .u58-service-card:nth-child(6n+4){border-top-color:#7b52e8!important}.user-service-page .u58-service-grid.u58-services-full .u58-service-card:nth-child(6n+5){border-top-color:#ef8b24!important}.user-service-page .u58-service-grid.u58-services-full .u58-service-card:nth-child(6n+6){border-top-color:#14a6bd!important}.user-service-page .u58-service-card:hover{transform:translateY(-3px)!important;box-shadow:0 13px 28px rgba(18,58,89,.12)!important;border-color:#b9d0e1!important}.user-service-page .u58-service-logo{width:52px!important;height:52px!important;min-width:52px!important;border-radius:13px!important;border:1px solid #dbe8f2!important;background:linear-gradient(145deg,#f5fbff,#eef6fc)!important;display:grid!important;place-items:center!important}.user-service-page .u58-service-logo img{width:38px!important;height:38px!important;object-fit:contain!important}.user-service-page .u58-service-body{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:172px!important}.user-service-page .u58-service-body>b{font-size:14.4px!important;line-height:1.17!important;color:#123a58!important;min-height:35px!important;margin:0!important}.user-service-page .u58-service-body>small{order:-1!important;margin:0 38px 4px 0!important;font-size:7.4px!important;letter-spacing:.55px!important;color:#71889a!important;text-transform:uppercase!important;font-weight:850!important}.user-service-page .u58-service-body>em{margin-top:7px!important;min-height:40px!important;font-size:9px!important;line-height:1.42!important;color:#6d8395!important;font-style:normal!important}.user-service-page .u58-live,.user-service-page .u58-assisted{top:10px!important;right:10px!important;font-size:6.8px!important;min-height:19px!important;padding:0 6px!important;border-radius:99px!important}.user-service-page .mg-service-action{height:42px!important;min-height:42px!important;margin-top:auto!important;display:grid!important;grid-template-columns:72px minmax(0,1fr) 30px!important;align-items:center!important;border-radius:8px!important;background:linear-gradient(100deg,#287fff,#4b61ee)!important;color:#fff!important;box-shadow:0 7px 16px rgba(48,91,220,.18)!important}.user-service-page .mg-service-action strong{font-size:10.8px!important}.user-service-page .mg-service-action b{font-size:9.2px!important;letter-spacing:.1px!important}.user-service-page .mg-service-action i{width:26px!important;height:26px!important;border-radius:7px!important;background:rgba(255,255,255,.15)!important;display:grid!important;place-items:center!important}.user-service-page .mg-service-hint{display:none!important}

/* Admin reference dashboard */
html body.role-admin .dashboard-content{padding:14px 16px 30px!important;background:var(--v698-bg)!important}.role-admin .video-announcement-stack{display:none!important}
html body .v698-admin-dashboard{padding:0!important}.v698-admin-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 326px!important;gap:14px!important;align-items:start!important}.v698-admin-main{min-width:0!important;display:grid!important;gap:12px!important}.v698-admin-rail{min-width:0!important;display:grid!important;gap:12px!important;position:sticky!important;top:82px!important}
html body .v698-admin-welcome{min-height:176px!important;padding:22px 235px 18px 22px!important;position:relative!important;overflow:hidden!important;border-radius:13px!important;background:linear-gradient(105deg,#4c4bf5 0%,#178ef2 53%,#8249ee 100%)!important;color:#fff!important;box-shadow:0 10px 24px rgba(48,80,192,.17)!important}.v698-admin-welcome:after{content:""!important;position:absolute!important;width:300px!important;height:300px!important;right:-120px!important;top:-150px!important;border-radius:50%!important;background:rgba(255,255,255,.08)!important}.v698-admin-welcome-copy{position:relative!important;z-index:2!important}.v698-admin-welcome .v698-eyebrow{color:#dfe8ff!important}.v698-admin-welcome h2{margin:0!important;font-size:23px!important;line-height:1.08!important;letter-spacing:-.35px!important;color:#fff!important}.v698-admin-welcome p{margin:6px 0 14px!important;max-width:700px!important;font-size:9.4px!important;line-height:1.45!important;color:#eef5ff!important}.v698-admin-hero-art{position:absolute!important;right:12px!important;bottom:0!important;width:220px!important;height:145px!important;object-fit:contain!important;filter:drop-shadow(0 9px 15px rgba(20,49,112,.18))!important;z-index:1!important}.v698-admin-trust{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.v698-admin-trust>span{min-width:135px!important;height:51px!important;padding:7px 9px!important;display:grid!important;grid-template-columns:27px 1fr!important;grid-template-rows:auto auto!important;column-gap:7px!important;align-items:center!important;border:1px solid rgba(255,255,255,.23)!important;border-radius:8px!important;background:rgba(255,255,255,.10)!important;backdrop-filter:blur(6px)!important}.v698-admin-trust i{grid-row:1/3!important;width:27px!important;height:27px!important;border-radius:8px!important;background:rgba(8,45,166,.30)!important;display:grid!important;place-items:center!important;font-style:normal!important;font-size:12px!important}.v698-admin-trust b{font-size:8.2px!important;color:#fff!important}.v698-admin-trust small{font-size:6.7px!important;color:#dbe9ff!important}
html body .v698-admin-shortcuts{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important}.v698-admin-shortcuts>a{min-height:70px!important;padding:10px 11px!important;display:flex!important;align-items:center!important;gap:9px!important;border:1px solid #dae7f1!important;border-radius:10px!important;background:#fff!important;box-shadow:0 5px 13px rgba(18,58,88,.045)!important;color:#153b5d!important}.v698-admin-shortcuts>a:hover{transform:translateY(-2px)!important;box-shadow:0 10px 20px rgba(18,58,88,.09)!important}.v698-shortcut-icon{width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:11px!important;display:grid!important;place-items:center!important;font-size:15px!important;font-weight:900!important}.v698-shortcut-icon.blue{background:#e6f2ff!important;color:#1e75e7!important}.v698-shortcut-icon.purple{background:#f0eaff!important;color:#7244e5!important}.v698-shortcut-icon.green{background:#e6faef!important;color:#0aa568!important}.v698-shortcut-icon.orange{background:#fff0df!important;color:#e97818!important}.v698-shortcut-icon.cyan{background:#e7faff!important;color:#1596b5!important}.v698-admin-shortcuts>a>span:last-child{display:grid!important}.v698-admin-shortcuts b{font-size:9.4px!important;color:#153b5d!important}.v698-admin-shortcuts small{font-size:7px!important;color:#72899d!important;margin-top:3px!important}
html body .v698-admin-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}.v698-admin-kpis>a{min-height:98px!important;padding:12px!important;position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;border-radius:11px!important;color:#fff!important;overflow:hidden!important;box-shadow:0 7px 16px rgba(40,78,132,.10)!important}.v698-admin-kpis>a:after{content:""!important;position:absolute!important;width:90px!important;height:90px!important;right:-30px!important;top:-35px!important;border-radius:50%!important;background:rgba(255,255,255,.11)!important}.v698-admin-kpis .tone-blue{background:linear-gradient(135deg,#1974d9,#2f8ce9)!important}.v698-admin-kpis .tone-green{background:linear-gradient(135deg,#10aa65,#20bf78)!important}.v698-admin-kpis .tone-orange{background:linear-gradient(135deg,#ff8a1b,#f4a01c)!important}.v698-admin-kpis .tone-purple{background:linear-gradient(135deg,#7144df,#8d39ed)!important}.v698-admin-kpis span{position:absolute!important;right:13px!important;bottom:13px!important;font-size:24px!important;opacity:.22!important}.v698-admin-kpis small{font-size:7px!important;font-weight:900!important;letter-spacing:.4px!important;color:#eef7ff!important}.v698-admin-kpis strong{font-size:24px!important;line-height:1.05!important;margin:5px 0!important;color:#fff!important}.v698-admin-kpis em{font-size:7px!important;font-style:normal!important;color:#e8f4ff!important}
html body .v698-admin-categories,html body .v698-production-card,html body .v698-queue-card,html body .v698-admin-date,html body .v698-treasury-card,html body .v698-admin-status,html body .v698-admin-alerts{border:1px solid #dbe8f2!important;border-radius:11px!important;background:#fff!important;box-shadow:0 5px 14px rgba(18,58,88,.05)!important}.v698-admin-categories{padding:14px!important}.v698-section-title{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}.v698-section-title h2{margin:0!important;font-size:16px!important;line-height:1.1!important;color:#123a5a!important}.v698-section-title p{margin:4px 0 0!important;font-size:8px!important;color:#748b9d!important}.v698-section-title>a,.v698-section-title>span{font-size:8px!important;font-weight:850!important;color:#2767b0!important;white-space:nowrap!important}.v698-section-title.compact{margin-bottom:5px!important}.v698-admin-category-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.v698-admin-category-grid>a{min-height:86px!important;padding:10px!important;display:grid!important;grid-template-columns:34px 1fr!important;grid-template-rows:auto auto auto!important;column-gap:8px!important;align-content:center!important;border:1px solid #dce8f2!important;border-radius:9px!important;background:#fbfdff!important;color:#1d5eac!important}.v698-admin-category-grid>a:hover{transform:translateY(-2px)!important;box-shadow:0 8px 16px rgba(20,58,88,.08)!important}.v698-admin-category-grid>a>span{grid-row:1/4!important;width:34px!important;height:34px!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:#eaf4ff!important;font-size:13px!important}.v698-admin-category-grid>a>b{font-size:9.2px!important;color:#173d5c!important}.v698-admin-category-grid>a>small{font-size:6.8px!important;color:#7890a3!important}.v698-admin-category-grid>a>i{font-size:6.8px!important;font-style:normal!important;font-weight:850!important;color:currentColor!important}.v698-admin-category-grid .tone-pink{color:#db3e87!important}.v698-admin-category-grid .tone-pink>span{background:#ffebf4!important}.v698-admin-category-grid .tone-green{color:#0b9d67!important}.v698-admin-category-grid .tone-green>span{background:#e9f9f0!important}.v698-admin-category-grid .tone-purple{color:#7045db!important}.v698-admin-category-grid .tone-purple>span{background:#f0eaff!important}.v698-admin-category-grid .tone-orange{color:#e5791d!important}.v698-admin-category-grid .tone-orange>span{background:#fff0e3!important}.v698-admin-category-grid .tone-cyan{color:#158ba9!important}.v698-admin-category-grid .tone-cyan>span{background:#e8f8fc!important}
html body .v698-admin-bottom{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}.v698-production-card,.v698-queue-card{padding:13px!important;min-height:230px!important}.v698-production-card .reference-bars{height:175px!important}.v698-admin-queue{display:grid!important}.v698-admin-queue>a{min-height:48px!important;padding:5px 0!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) auto auto!important;gap:8px!important;align-items:center!important;border-bottom:1px solid #e8eff5!important}.v698-queue-icon{width:32px!important;height:32px!important;border-radius:9px!important;display:grid!important;place-items:center!important;background:#e9f4ff!important;color:#1b70d7!important}.v698-admin-queue>a>span:nth-child(2){display:grid!important;min-width:0!important}.v698-admin-queue b{font-size:8.5px!important;color:#183e5d!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.v698-admin-queue small{font-size:6.7px!important;color:#798fa1!important}.v698-admin-queue strong{font-size:8px!important;color:#173e5e!important}.v698-admin-queue em{font-style:normal!important}.v698-admin-queue .badge{font-size:6px!important;padding:3px 5px!important}
html body .v698-admin-date{height:66px!important;padding:10px 12px!important;display:grid!important;grid-template-columns:1fr auto 28px!important;gap:8px!important;align-items:center!important}.v698-admin-date div{display:grid!important}.v698-admin-date div:nth-child(2){text-align:right!important}.v698-admin-date small{font-size:7px!important;color:#778fa3!important}.v698-admin-date b{font-size:10.5px!important;color:#163c5d!important}.v698-admin-date>span{font-size:21px!important;color:#f4a019!important}
html body .v698-treasury-card{overflow:hidden!important}.v698-treasury-head{height:78px!important;padding:12px!important;display:grid!important;grid-template-columns:42px 1fr!important;gap:10px!important;align-items:center!important;background:linear-gradient(110deg,#286ff2,#7650e8 68%,#ca43df)!important;color:#fff!important}.v698-treasury-head>span{width:41px!important;height:41px!important;border-radius:12px!important;background:#fff!important;color:#4163da!important;display:grid!important;place-items:center!important}.v698-treasury-head>div{display:grid!important}.v698-treasury-head small{font-size:7.2px!important;color:#edf2ff!important}.v698-treasury-head b{font-size:20px!important;color:#fff!important}.v698-treasury-actions{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important;padding:8px!important}.v698-treasury-actions a{height:56px!important;border:1px solid #dce7f0!important;border-radius:7px!important;background:#fff!important;display:grid!important;place-items:center!important;align-content:center!important;gap:4px!important;color:#24506f!important}.v698-treasury-actions i{font-style:normal!important;font-size:13px!important;color:#1e61a8!important}.v698-treasury-actions b{font-size:7.2px!important}
html body .v698-admin-status,html body .v698-admin-alerts{padding:12px!important}.v698-rail-title{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:7px!important}.v698-rail-title b{font-size:11px!important;color:#173d5c!important}.v698-rail-title a{font-size:7px!important;font-weight:850!important;color:#2e6dad!important}.v698-status-list{display:grid!important}.v698-status-list>span{height:40px!important;display:grid!important;grid-template-columns:10px 1fr auto!important;gap:7px!important;align-items:center!important;border-bottom:1px solid #ebf1f5!important}.v698-status-list i{width:7px!important;height:7px!important;border-radius:50%!important;background:#15b46e!important;box-shadow:0 0 0 3px #e5f8ef!important}.v698-status-list b{font-size:8.2px!important;color:#34536b!important}.v698-status-list em{font-size:6.8px!important;font-style:normal!important;color:#0c9b60!important;font-weight:850!important}.v698-attention-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.v698-attention-grid a{min-height:70px!important;padding:9px!important;border-radius:8px!important;border:1px solid #dbe7f0!important;background:#f9fcff!important;display:grid!important;align-content:center!important}.v698-attention-grid small{font-size:7px!important;color:#748ca0!important}.v698-attention-grid b{margin-top:4px!important;font-size:16px!important;color:#174264!important}
html body .v698-admin-promo{height:108px!important;padding:12px 7px 12px 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;overflow:hidden!important;border:1px solid #d8e8f4!important;border-radius:11px!important;background:linear-gradient(120deg,#f5fbff,#eaf5ff)!important;box-shadow:0 4px 12px rgba(18,58,88,.04)!important}.v698-admin-promo>span{display:grid!important;z-index:2!important}.v698-admin-promo b{font-size:10.5px!important;color:#143b5a!important}.v698-admin-promo small{font-size:7px!important;line-height:1.3!important;color:#72899d!important;margin:4px 0 9px!important}.v698-admin-promo em{width:max-content!important;padding:6px 9px!important;border-radius:6px!important;background:#082f50!important;color:#fff!important;font-size:7px!important;font-style:normal!important;font-weight:850!important}.v698-admin-promo img{width:125px!important;height:92px!important;object-fit:contain!important;margin-right:-6px!important}

/* Admin service studio and generic admin pages follow same card language */
html body.role-admin .content{background:var(--v698-bg)!important}.role-admin .panel,.role-admin .admin-service-hero,.role-admin .admin-service-masterbar,.role-admin .admin-service-category-panel{border-radius:11px!important;border-color:#dbe8f2!important;box-shadow:0 5px 14px rgba(18,58,88,.05)!important}.role-admin .admin-service-hero{background:linear-gradient(110deg,#4e4cf4,#1c8fe9 62%,#784be9)!important;color:#fff!important}.role-admin .admin-service-hero h2,.role-admin .admin-service-hero p,.role-admin .admin-service-hero .video-section-kicker{color:#fff!important}.role-admin .admin-dynamic-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.role-admin .admin-dynamic-service-card{border-radius:11px!important;box-shadow:0 6px 16px rgba(18,58,88,.06)!important}

/* mobile/tablet */
@media(max-width:1450px){:root{--v698-side:232px}html body .v698-admin-grid{grid-template-columns:minmax(0,1fr) 305px!important}.v698-admin-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.v698-admin-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}.v698-admin-welcome{padding-right:210px!important}.v698-admin-hero-art{width:195px!important}}
@media(max-width:1180px){html body .v698-admin-grid{grid-template-columns:1fr!important}.v698-admin-rail{position:static!important;grid-template-columns:1fr 1fr!important}.v698-admin-status,.v698-admin-alerts{min-height:180px!important}.v698-admin-promo{grid-column:1/-1!important}.user-service-page .u58-service-grid.u58-services-full{grid-template-columns:repeat(2,minmax(0,1fr))!important}.role-admin .admin-dynamic-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:980px){:root{--v698-side:280px}html body .portal-masthead{left:0!important;height:62px!important;padding:0 10px 0 54px!important;grid-template-columns:minmax(0,1fr) auto!important}.sidebar{width:min(var(--v698-side),88vw)!important;transform:translateX(-105%)!important;transition:transform .2s ease!important}.sidebar.open{transform:translateX(0)!important}.main{margin-left:0!important;padding-top:62px!important}.v697-mobile-menu{display:grid!important}.mast-profile{min-width:42px!important}.mast-profile small{display:none!important}.mast-wallet{min-width:112px!important}.v698-admin-kpis{grid-template-columns:1fr 1fr!important}.v698-admin-bottom{grid-template-columns:1fr!important}.v698-admin-category-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:700px){html body .mast-wallet,html body .mast-profile{display:none!important}.u58-mast-search{height:38px!important}.v698-services-hero{align-items:flex-start!important;flex-direction:column!important}.user-service-page .u58-services-toolbar{align-items:flex-start!important;flex-direction:column!important}.user-service-page .u58-search-tools{width:100%!important}.user-service-page .u58-search-tools .search{width:100%!important}.user-service-page .u58-service-grid.u58-services-full,.role-admin .admin-dynamic-service-grid{grid-template-columns:1fr!important}.v698-admin-welcome{padding:18px 18px 110px!important}.v698-admin-hero-art{width:170px!important;height:105px!important;right:10px!important}.v698-admin-shortcuts{grid-template-columns:1fr 1fr!important}.v698-admin-category-grid{grid-template-columns:1fr!important}.v698-admin-rail{grid-template-columns:1fr!important}.v698-admin-promo{grid-column:auto!important}}
@media(max-width:460px){.v698-admin-kpis,.v698-admin-shortcuts{grid-template-columns:1fr!important}.v698-admin-trust>span{min-width:calc(50% - 4px)!important}.v698-treasury-actions{grid-template-columns:1fr 1fr!important}}


/* =====================================================================
   V6.99.0 · SIDEBAR / DASHBOARD / SERVICE BUTTON FINAL POLISH
   Larger readable sidebar, clearer dashboard cards, and stronger service CTA.
   ===================================================================== */
:root{--v699-side:268px;--v699-top:70px}
html body .portal-masthead{left:var(--v699-side)!important;height:var(--v699-top)!important;padding:0 20px 0 26px!important}
html body .sidebar,html body.role-admin .sidebar,html body:not(.role-admin) .sidebar{width:var(--v699-side)!important;padding:0 14px 14px!important;background:linear-gradient(180deg,#072e4b 0%,#093858 54%,#062742 100%)!important}
html body .main{margin-left:var(--v699-side)!important;padding-top:var(--v699-top)!important}
html body .v697-side-brand{height:88px!important;min-height:88px!important;padding:12px 4px 12px!important;gap:12px!important}
html body .v697-side-brand img{width:58px!important;height:50px!important}
html body .v697-side-brand b{font-size:19px!important;letter-spacing:-.35px!important}
html body .v697-side-brand small{font-size:8.2px!important}
html body .v697-side-brand em{font-size:7.5px!important}
html body .sidebar>nav{padding:12px 2px 18px!important}
html body .sidebar .nav-section{margin:16px 10px 7px!important}
html body .sidebar .nav-section span{font-size:8px!important;letter-spacing:1.35px!important}
html body .sidebar .nav-item,html body .sidebar .nav-button,html body .v697-side-services>summary{height:48px!important;min-height:48px!important;margin:0 0 6px!important;padding:0 14px!important;border-radius:12px!important;gap:12px!important}
html body .sidebar .nav-label,html body .v697-side-services>summary .nav-label{font-size:13.1px!important;font-weight:820!important;letter-spacing:.05px!important}
html body .sidebar .nav-ico{width:26px!important;height:26px!important;flex:0 0 26px!important}
html body .sidebar .nav-ico svg{width:18px!important;height:18px!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover,html body .v697-side-services>summary:hover{background:rgba(255,255,255,.085)!important;border-color:rgba(255,255,255,.07)!important}
html body .sidebar .nav-item.active,html body .sidebar .nav-button.active{background:linear-gradient(100deg,#2f6dff,#14c0f1)!important;box-shadow:0 10px 20px rgba(28,102,236,.33)!important}
html body .sidebar .nav-item.active .nav-label,html body .sidebar .nav-button.active .nav-label,html body .sidebar .nav-item.active .nav-ico,html body .sidebar .nav-button.active .nav-ico{color:#fff!important;opacity:1!important}
html body .sidebar .nav-badge{min-width:21px!important;height:21px!important;font-size:8.5px!important}
html body .v697-side-services>summary>i{font-size:12px!important}
html body .v697-service-subnav{padding:1px 0 9px 38px!important;gap:3px!important}
html body .v697-service-subnav a{min-height:31px!important;padding:5px 8px!important;font-size:10.2px!important;border-radius:8px!important}
html body .v697-service-subnav a i{font-size:13px!important}
html body .side-footer{gap:8px!important;padding-top:10px!important}
html body .side-tool,html body .side-logout-row{min-height:44px!important;border-radius:11px!important;font-size:10.2px!important;padding:0 14px!important}
html body .side-tool b{font-size:7.4px!important}

html body .v697-dashboard-grid{grid-template-columns:minmax(0,1fr) 320px!important;gap:18px!important}
html body .v697-welcome-card{min-height:164px!important;padding:20px 22px!important;border-radius:16px!important}
html body .v697-welcome-copy h2{font-size:24px!important;margin:4px 0 8px!important}
html body .v697-welcome-copy p{font-size:10.6px!important;max-width:650px!important}
html body .v697-trust-row{gap:10px!important;margin-top:16px!important}
html body .v697-trust-row span{min-height:52px!important;padding:10px 12px!important;border-radius:12px!important}
html body .v697-trust-row b{font-size:10.8px!important}
html body .v697-trust-row small{font-size:8.1px!important}
html body .v697-shortcuts{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important}
html body .v697-shortcuts a,html body .v697-shortcuts button{min-height:88px!important;padding:14px 16px!important;border-radius:14px!important}
html body .v697-shortcuts b{font-size:13px!important}
html body .v697-shortcuts small{font-size:8.8px!important}
html body .v697-shortcut-icon{width:42px!important;height:42px!important;border-radius:13px!important;font-size:18px!important}
html body .v697-section-title h2{font-size:16px!important}
html body .v697-section-title p{font-size:9px!important}
html body .v697-category-pills{gap:8px!important;margin:12px 0 14px!important}
html body .v697-category-pills a{min-height:34px!important;padding:0 14px!important;border-radius:999px!important;font-size:10px!important}
html body .v697-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
html body .v697-category-card{min-height:180px!important;padding:16px 16px 14px!important;border-radius:15px!important;box-shadow:0 8px 22px rgba(18,58,88,.06)!important}
html body .v697-category-icon{width:52px!important;height:52px!important;border-radius:14px!important;margin-bottom:13px!important}
html body .v697-category-icon img{width:36px!important;height:36px!important}
html body .v697-category-card>b{font-size:14px!important;margin-bottom:7px!important}
html body .v697-category-card>p{font-size:9.1px!important;line-height:1.45!important;min-height:41px!important}
html body .v697-category-card>div strong{font-size:15px!important}
html body .v697-category-card>div span{min-width:112px!important;height:36px!important;padding:0 12px!important;border-radius:10px!important;font-size:10px!important;font-weight:900!important;box-shadow:0 8px 18px rgba(31,98,214,.15)!important}
html body .v697-category-card>div span i{font-size:12px!important}
html body .v697-quick-form{padding:16px 18px!important;border-radius:15px!important}
html body .v697-quick-form-head b{font-size:13px!important}
html body .v697-quick-form-head small{font-size:8.5px!important}
html body .v697-stepper{gap:10px!important;flex-wrap:wrap!important}
html body .v697-stepper span{font-size:8px!important}
html body .v697-quick-launch{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 190px!important;gap:12px!important}
html body .v697-quick-launch label span{font-size:8.7px!important}
html body .v697-quick-launch input,html body .v697-quick-launch select{height:42px!important;border-radius:10px!important}
html body .v697-quick-launch button{height:42px!important;border-radius:10px!important;font-size:10.2px!important}
html body .v697-dashboard-rail{gap:14px!important}
html body .v697-wallet-head b{font-size:18px!important}
html body .v697-wallet-actions a{min-height:56px!important;border-radius:10px!important}
html body .v697-wallet-actions b{font-size:8px!important}
html body .v697-activity-list a{min-height:56px!important;padding:8px 10px!important}

html body:not(.role-admin) .user-service-page .u58-services-toolbar{gap:14px!important;align-items:flex-start!important}
html body:not(.role-admin) .user-service-page .u58-services-toolbar h2{font-size:20px!important}
html body:not(.role-admin) .user-service-page .u58-services-toolbar p{font-size:9.5px!important}
html body:not(.role-admin) .user-service-page .u58-category-tabs{gap:8px!important}
html body:not(.role-admin) .user-service-page .u58-category-tabs a{min-height:36px!important;padding:0 14px!important;border-radius:11px!important;font-size:9.6px!important}
html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html body:not(.role-admin) .user-service-page .u58-service-card{height:216px!important;min-height:216px!important;padding:16px!important;border-radius:14px!important;grid-template-columns:56px minmax(0,1fr)!important;gap:13px!important}
html body:not(.role-admin) .user-service-page .u58-service-logo{width:56px!important;height:56px!important;min-width:56px!important}
html body:not(.role-admin) .user-service-page .u58-service-logo img{width:40px!important;height:40px!important}
html body:not(.role-admin) .user-service-page .u58-service-body{min-height:182px!important}
html body:not(.role-admin) .user-service-page .u58-service-body>b{font-size:15px!important;min-height:38px!important}
html body:not(.role-admin) .user-service-page .u58-service-body>small{font-size:7.6px!important}
html body:not(.role-admin) .user-service-page .u58-service-body>em{font-size:9.3px!important;min-height:44px!important}
html body:not(.role-admin) .user-service-page .mg-service-action{height:46px!important;min-height:46px!important;grid-template-columns:80px minmax(0,1fr) 34px!important;border-radius:10px!important;background:linear-gradient(100deg,#287fff,#4f62ee)!important;box-shadow:0 9px 20px rgba(48,91,220,.22)!important}
html body:not(.role-admin) .user-service-page .mg-service-action strong{font-size:11.2px!important}
html body:not(.role-admin) .user-service-page .mg-service-action b{font-size:9.8px!important;letter-spacing:.12px!important}
html body:not(.role-admin) .user-service-page .mg-service-action i{width:28px!important;height:28px!important;border-radius:8px!important}
html body:not(.role-admin) .user-service-page .mg-service-hint{display:block!important;margin-top:8px!important;font-size:7.4px!important;font-weight:800!important;letter-spacing:.4px!important;color:#4d84b3!important;text-decoration:none!important}

html body .v698-admin-grid{grid-template-columns:minmax(0,1fr) 340px!important;gap:18px!important}
html body .v698-admin-welcome{min-height:170px!important;padding:22px 230px 22px 22px!important;border-radius:16px!important}
html body .v698-admin-welcome h2{font-size:24px!important}
html body .v698-admin-welcome p{font-size:10.6px!important;max-width:660px!important}
html body .v698-admin-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
html body .v698-admin-shortcuts a{min-height:88px!important;padding:14px 16px!important;border-radius:14px!important}
html body .v698-admin-shortcuts b{font-size:13px!important}
html body .v698-admin-shortcuts small{font-size:8.7px!important}
html body .v698-admin-kpis{gap:12px!important}
html body .v698-admin-kpis a{min-height:116px!important;padding:16px 18px!important;border-radius:14px!important}
html body .v698-admin-kpis strong{font-size:32px!important}
html body .v698-admin-kpis small{font-size:8.6px!important}
html body .v698-admin-kpis em{font-size:8px!important}
html body .v698-admin-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
html body .v698-admin-category-grid a{min-height:86px!important;padding:14px!important;border-radius:12px!important}
html body .v698-admin-category-grid b{font-size:12px!important}
html body .v698-admin-category-grid small,html body .v698-admin-category-grid i{font-size:8px!important}
html body .v698-production-card,html body .v698-queue-card{min-height:248px!important;border-radius:14px!important}
html body .v698-treasury-head b{font-size:22px!important}
html body .v698-treasury-actions a{min-height:60px!important;border-radius:9px!important}

@media(max-width:1540px){html body .v697-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}html body .v697-dashboard-grid{grid-template-columns:minmax(0,1fr) 300px!important}html body .v698-admin-grid{grid-template-columns:minmax(0,1fr) 320px!important}}
@media(max-width:1180px){html body .portal-masthead{left:0!important}html body .sidebar{width:min(var(--v699-side),88vw)!important}html body .main{margin-left:0!important;padding-top:62px!important}html body .v697-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .v697-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .v697-quick-launch{grid-template-columns:1fr!important}html body .v698-admin-grid{grid-template-columns:1fr!important}html body .v698-admin-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){html body .v697-shortcuts,html body .v697-category-grid,html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full,html body .v698-admin-shortcuts,html body .v698-admin-category-grid{grid-template-columns:1fr!important}html body .v697-dashboard-grid{grid-template-columns:1fr!important}html body .v698-admin-welcome{padding:18px 18px 116px!important}}


/* =====================================================================
   V7.00.0 · REFERENCE-MATCH CONTRAST + LARGER SIDEBAR
   Fixes too-light Apply buttons and makes both sidebars larger/readable.
   ===================================================================== */
:root{--v700-side:288px;--v700-top:70px}
html body .portal-masthead{left:var(--v700-side)!important;height:var(--v700-top)!important;padding:0 22px 0 28px!important}
html body .sidebar,html body.role-admin .sidebar,html body:not(.role-admin) .sidebar{width:var(--v700-side)!important;padding:0 16px 16px!important;background:linear-gradient(180deg,#072842 0%,#0b3658 55%,#082b47 100%)!important;box-shadow:10px 0 28px rgba(5,30,49,.18)!important}
html body .main{margin-left:var(--v700-side)!important;padding-top:var(--v700-top)!important}
html body .v697-side-brand{height:96px!important;min-height:96px!important;padding:13px 5px 13px!important;gap:13px!important}
html body .v697-side-brand img{width:62px!important;height:54px!important}
html body .v697-side-brand b{font-size:20px!important;letter-spacing:-.35px!important}
html body .v697-side-brand small{font-size:8.7px!important}
html body .v697-side-brand em{font-size:7.9px!important}
html body .sidebar>nav{padding:13px 2px 20px!important}
html body .sidebar .nav-section{margin:17px 11px 8px!important}
html body .sidebar .nav-section span{font-size:8.4px!important;letter-spacing:1.5px!important}
html body .sidebar .nav-item,html body .sidebar .nav-button,html body .v697-side-services>summary{height:50px!important;min-height:50px!important;margin:0 0 7px!important;padding:0 15px!important;border-radius:13px!important;gap:13px!important}
html body .sidebar .nav-label,html body .v697-side-services>summary .nav-label{font-size:14px!important;font-weight:820!important;letter-spacing:.05px!important}
html body .sidebar .nav-ico{width:28px!important;height:28px!important;flex:0 0 28px!important}
html body .sidebar .nav-ico svg{width:19px!important;height:19px!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover,html body .v697-side-services>summary:hover{background:rgba(255,255,255,.095)!important;border-color:rgba(255,255,255,.08)!important}
html body .sidebar .nav-item.active,html body .sidebar .nav-button.active{background:linear-gradient(100deg,#2d6dff,#17c7f3)!important;box-shadow:0 12px 22px rgba(31,107,238,.36)!important}
html body .sidebar .nav-badge{min-width:23px!important;height:23px!important;font-size:9px!important}
html body .v697-side-services>summary>i{font-size:13px!important}
html body .v697-service-subnav{padding:2px 0 10px 42px!important;gap:4px!important}
html body .v697-service-subnav a{min-height:34px!important;padding:6px 9px!important;font-size:11px!important;border-radius:8px!important}
html body .v697-service-subnav a i{font-size:13px!important}
html body .side-footer{gap:9px!important;padding-top:12px!important}
html body .side-tool,html body .side-logout-row{min-height:46px!important;border-radius:12px!important;font-size:10.8px!important;padding:0 14px!important}
html body .side-tool b{font-size:7.6px!important}
html body .v697-dashboard-grid{grid-template-columns:minmax(0,1fr) 340px!important;gap:18px!important}
html body .v697-welcome-card{min-height:172px!important;padding:22px 24px!important;border-radius:18px!important}
html body .v697-welcome-copy h2{font-size:26px!important;margin:4px 0 8px!important}
html body .v697-welcome-copy p{font-size:11px!important;max-width:720px!important}
html body .v697-trust-row span{min-height:54px!important;padding:11px 13px!important;border-radius:12px!important}
html body .v697-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:13px!important}
html body .v697-shortcuts a,html body .v697-shortcuts button{min-height:92px!important;padding:15px 16px!important;border-radius:15px!important}
html body .v697-shortcuts b{font-size:13.4px!important}
html body .v697-shortcuts small{font-size:9px!important}
html body .v697-shortcut-icon{width:44px!important;height:44px!important;border-radius:14px!important;font-size:18px!important}
html body .v697-section-title h2{font-size:17px!important}
html body .v697-section-title p{font-size:9.4px!important}
html body .v697-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:15px!important}
html body .v697-category-card{min-height:188px!important;padding:17px 17px 15px!important;border-radius:16px!important;box-shadow:0 9px 24px rgba(18,58,88,.06)!important}
html body .v697-category-icon{width:54px!important;height:54px!important;border-radius:15px!important;margin-bottom:14px!important}
html body .v697-category-icon img{width:38px!important;height:38px!important}
html body .v697-category-card>b{font-size:14.4px!important;line-height:1.18!important;margin-bottom:7px!important}
html body .v697-category-card>p{font-size:9.3px!important;line-height:1.45!important;min-height:42px!important;color:#637f95!important}
html body .v697-category-card>div:last-child{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important}
html body .v697-category-card>div strong{font-size:15px!important;color:currentColor!important}
html body .v697-category-card>div span{min-width:124px!important;height:40px!important;padding:0 14px!important;border-radius:11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;background:currentColor!important;color:#ffffff!important;border:0!important;box-shadow:0 10px 22px rgba(28,86,182,.18)!important;font-size:10.5px!important;font-weight:900!important;letter-spacing:.15px!important;opacity:1!important;text-indent:0!important;white-space:nowrap!important}
html body .v697-category-card>div span i{font-style:normal!important;font-size:12px!important;color:#fff!important;display:inline!important}
html body .v697-category-card.tone-pink{background:linear-gradient(145deg,#fff6fb,#fff0f7)!important;border-color:#f4d9e6!important;color:#ea2f81!important}
html body .v697-category-card.tone-blue{background:linear-gradient(145deg,#f4f9ff,#edf6ff)!important;border-color:#d5e4f4!important;color:#1769ef!important}
html body .v697-category-card.tone-green{background:linear-gradient(145deg,#f3fff8,#ebfbf2)!important;border-color:#d3edde!important;color:#08a867!important}
html body .v697-category-card.tone-purple{background:linear-gradient(145deg,#faf6ff,#f2edff)!important;border-color:#e0d5f7!important;color:#7140e8!important}
html body .v697-category-card.tone-orange{background:linear-gradient(145deg,#fff9f2,#fff1e4)!important;border-color:#f2dfcb!important;color:#ef7b20!important}
html body .v697-category-card:hover{transform:translateY(-4px)!important;box-shadow:0 16px 32px rgba(18,58,88,.11)!important}
html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important}
html body:not(.role-admin) .user-service-page .u58-service-card{height:220px!important;min-height:220px!important;padding:17px!important;border-radius:15px!important}
html body:not(.role-admin) .user-service-page .u58-service-logo{width:58px!important;height:58px!important;min-width:58px!important}
html body:not(.role-admin) .user-service-page .u58-service-logo img{width:42px!important;height:42px!important}
html body:not(.role-admin) .user-service-page .u58-service-body>b{font-size:15.2px!important;min-height:40px!important}
html body:not(.role-admin) .user-service-page .u58-service-body>em{font-size:9.5px!important;min-height:46px!important}
html body:not(.role-admin) .user-service-page .mg-service-action{height:48px!important;min-height:48px!important;grid-template-columns:84px minmax(0,1fr) 34px!important;border-radius:11px!important;background:linear-gradient(100deg,#1f72ff,#4d64f1)!important;color:#fff!important;border:0!important;box-shadow:0 12px 24px rgba(45,89,221,.24)!important}
html body:not(.role-admin) .user-service-page .mg-service-action strong{font-size:11.4px!important;color:#fff!important}
html body:not(.role-admin) .user-service-page .mg-service-action b{font-size:10px!important;color:#fff!important;letter-spacing:.12px!important}
html body:not(.role-admin) .user-service-page .mg-service-action i{width:29px!important;height:29px!important;border-radius:8px!important;background:rgba(255,255,255,.17)!important;color:#fff!important}
html body:not(.role-admin) .user-service-page .mg-service-hint{display:block!important;margin-top:8px!important;font-size:7.6px!important;font-weight:850!important;color:#3d78ab!important;text-decoration:none!important}
html body .v698-admin-grid{grid-template-columns:minmax(0,1fr) 355px!important;gap:18px!important}
html body .v698-admin-welcome{min-height:176px!important;padding:22px 235px 22px 22px!important;border-radius:18px!important}
html body .v698-admin-welcome h2{font-size:25px!important}
html body .v698-admin-welcome p{font-size:11px!important;max-width:700px!important}
html body .v698-admin-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:13px!important}
html body .v698-admin-shortcuts a{min-height:90px!important;padding:15px 16px!important;border-radius:14px!important}
html body .v698-admin-shortcuts b{font-size:13px!important}.v698-admin-shortcuts small{font-size:8.9px!important}
html body .v698-admin-kpis a{min-height:120px!important;padding:17px 18px!important;border-radius:15px!important}
html body .v698-admin-kpis strong{font-size:34px!important}
html body .v698-admin-kpis small{font-size:8.8px!important}
html body .v698-admin-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important}
html body .v698-admin-category-grid a{min-height:92px!important;padding:15px!important;border-radius:13px!important}
html body .v698-admin-category-grid b{font-size:12.4px!important}
html body .v698-admin-category-grid small,html body .v698-admin-category-grid i{font-size:8.2px!important}
@media(max-width:1540px){html body .v697-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1180px){html body .portal-masthead{left:0!important;height:62px!important}html body .sidebar{width:min(var(--v700-side),88vw)!important}html body .main{margin-left:0!important;padding-top:62px!important}html body .v697-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .v697-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .v698-admin-grid{grid-template-columns:1fr!important}html body .v698-admin-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){html body .v697-shortcuts,html body .v697-category-grid,html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full,html body .v698-admin-shortcuts,html body .v698-admin-category-grid{grid-template-columns:1fr!important}html body .v697-dashboard-grid{grid-template-columns:1fr!important}html body .v698-admin-welcome{padding:18px 18px 118px!important}}


/* =====================================================================
   V7.01.0 · EXACT-REFERENCE SIDEBAR + CTA VISIBILITY FIX
   Final override: prevent company-name cut, enlarge sidebar buttons,
   make dashboard/service CTAs clearly visible, and sharpen click cues.
   ===================================================================== */
:root{--v701-sidebar:334px;--v701-topbar:70px}
html body .portal-masthead{left:var(--v701-sidebar)!important;height:var(--v701-topbar)!important;padding:0 24px 0 30px!important}
html body .sidebar{width:var(--v701-sidebar)!important;overflow:hidden!important;background:linear-gradient(180deg,#072845 0%,#0b3557 55%,#08253f 100%)!important;box-shadow:12px 0 36px rgba(4,25,44,.18)!important}
html body .main{margin-left:var(--v701-sidebar)!important;padding-top:var(--v701-topbar)!important}

/* brand at sidebar top */
html body .v697-side-brand{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;height:auto!important;min-height:106px!important;padding:16px 8px 14px!important;gap:12px!important;border-bottom:1px solid rgba(207,233,255,.12)!important}
html body .v697-side-brand img{width:68px!important;height:58px!important;object-fit:contain!important;align-self:center!important}
html body .v697-side-brand>span{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;line-height:1.08!important;overflow:visible!important}
html body .v697-side-brand b{font-size:20px!important;line-height:1.02!important;font-weight:900!important;color:#f8fcff!important;letter-spacing:-.22px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body .v697-side-brand small{font-size:9.2px!important;line-height:1.25!important;color:#d6e8f8!important;white-space:normal!important;overflow:visible!important}
html body .v697-side-brand em{font-size:8.7px!important;line-height:1.25!important;color:#9ec4dc!important;white-space:normal!important;overflow:visible!important}

/* side identity block */
html body .print-side-identity{min-height:74px!important;padding:12px 13px!important;border-radius:18px!important;gap:12px!important;background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.06))!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 10px 22px rgba(0,0,0,.10)!important}
html body .print-side-mark{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:14px!important}
html body .print-side-identity b{font-size:14.8px!important;line-height:1.06!important;letter-spacing:.22px!important;color:#fff!important}
html body .print-side-identity small{font-size:10.3px!important;line-height:1.25!important;color:rgba(255,255,255,.84)!important}
html body .print-side-pulse{min-height:52px!important;padding:11px 14px!important;border-radius:14px!important;gap:12px!important}
html body .print-side-pulse small{font-size:9px!important} html body .print-side-pulse b{font-size:20px!important}
html body .print-side-primary{min-height:58px!important;padding:0 16px!important;border-radius:16px!important;margin:11px 0 14px!important;font-size:14.2px!important;font-weight:950!important;gap:12px!important;background:linear-gradient(135deg,#2e82f0,#6b4ef1)!important;box-shadow:0 16px 30px rgba(41,82,223,.34)!important}
html body .print-side-primary span{font-size:14.1px!important;font-weight:900!important;color:#fff!important}
html body .print-side-primary b{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:rgba(255,255,255,.18)!important;color:#fff!important}

/* navigation */
html body .sidebar>nav{padding:14px 4px 20px!important}
html body .sidebar .nav-section{margin:16px 12px 9px!important}
html body .sidebar .nav-section span{font-size:8.8px!important;letter-spacing:1.65px!important;color:rgba(226,240,255,.58)!important}
html body .sidebar .nav-item,
html body .sidebar .nav-button,
html body .v697-side-services>summary{min-height:56px!important;height:56px!important;padding:0 15px!important;margin-bottom:7px!important;border-radius:15px!important;gap:13px!important;color:#f4fbff!important;font-size:14px!important;font-weight:850!important;border:1px solid transparent!important;position:relative!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover,html body .v697-side-services>summary:hover{background:rgba(255,255,255,.095)!important;border-color:rgba(255,255,255,.10)!important;transform:translateX(3px)!important}
html body .sidebar .nav-item.active,html body .sidebar .nav-button.active{background:#f8fbff!important;color:#17395d!important;border-color:#fff!important;box-shadow:0 10px 24px rgba(5,25,42,.22)!important}
html body .sidebar .nav-item.active:before,html body .sidebar .nav-button.active:before{content:"";position:absolute;left:-3px;top:8px;bottom:8px;width:4px;border-radius:6px;background:linear-gradient(180deg,#11d2d4,#6d56ef)}
html body .sidebar .nav-ico{width:31px!important;height:31px!important;flex:0 0 31px!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:rgba(255,255,255,.12)!important;color:#d9eeff!important}
html body .sidebar .nav-ico svg{width:18px!important;height:18px!important}
html body .sidebar .nav-label{font-size:14.2px!important;font-weight:900!important;line-height:1.1!important;letter-spacing:.06px!important}
html body .sidebar .nav-item.active .nav-label,html body .sidebar .nav-button.active .nav-label{color:#163a5e!important}
html body .sidebar .nav-item.active .nav-ico,html body .sidebar .nav-button.active .nav-ico{background:#e6efff!important;color:#2b63cf!important}
html body .sidebar .nav-badge{min-width:23px!important;height:23px!important;border-radius:999px!important;font-size:9px!important;font-weight:900!important}
html body .v697-nav-arrow{margin-left:auto!important;font-size:18px!important;opacity:.85!important}

/* user services accordion in sidebar */
html body .v697-side-services{display:block!important;margin-bottom:7px!important}
html body .v697-side-services>summary{list-style:none!important;cursor:pointer!important}
html body .v697-side-services>summary::-webkit-details-marker{display:none!important}
html body .v697-side-services>summary i{margin-left:auto!important;font-size:15px!important;opacity:.9!important;transition:transform .2s ease!important}
html body .v697-side-services[open]>summary i{transform:rotate(180deg)!important}
html body .v697-service-subnav{padding:4px 0 11px 44px!important;display:grid!important;gap:6px!important}
html body .v697-service-subnav a{display:flex!important;align-items:center!important;gap:9px!important;min-height:37px!important;padding:7px 12px!important;border-radius:10px!important;background:rgba(255,255,255,.05)!important;color:#d7eaf7!important;font-size:11.6px!important;font-weight:700!important;border:1px solid transparent!important}
html body .v697-service-subnav a:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.08)!important;color:#fff!important}
html body .v697-service-subnav a i{font-size:14px!important;color:#96d6ff!important}

/* footer */
html body .side-footer{padding-top:12px!important;gap:10px!important}
html body .side-tool,html body .side-logout-row{min-height:48px!important;padding:0 14px!important;border-radius:13px!important;font-size:11.2px!important}
html body .side-tool span,html body .side-logout-row span{font-size:12.2px!important;font-weight:850!important}
html body .side-tool b{font-size:8px!important}

/* user dashboard cards and clickable CTAs */
html body .v697-dashboard-grid{grid-template-columns:minmax(0,1fr) 342px!important;gap:18px!important}
html body .v697-welcome-card{min-height:176px!important;padding:22px 24px!important;border-radius:18px!important}
html body .v697-shortcuts a,html body .v697-shortcuts button{min-height:96px!important;padding:16px!important;border-radius:15px!important}
html body .v697-shortcuts b{font-size:13.8px!important}
html body .v697-shortcuts small{font-size:9.2px!important}
html body .v697-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:15px!important}
html body .v697-category-card{min-height:194px!important;padding:17px 17px 16px!important;border-radius:17px!important;box-shadow:0 10px 26px rgba(18,58,88,.07)!important}
html body .v697-category-card>b{font-size:14.8px!important;line-height:1.16!important}
html body .v697-category-card>p{font-size:9.5px!important;line-height:1.47!important;min-height:46px!important}
html body .v697-category-card>div:last-child{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
html body .v697-category-card>div strong{font-size:15px!important}
html body .v697-category-card>div span{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:128px!important;height:40px!important;padding:0 16px!important;border-radius:11px!important;color:transparent!important;font-size:0!important;line-height:0!important;overflow:hidden!important;border:0!important;box-shadow:0 12px 22px rgba(33,86,190,.18)!important}
html body .v697-category-card>div span::before{content:"Apply Now";font-size:10.8px;font-weight:900;letter-spacing:.12px;color:#fff;line-height:1}
html body .v697-category-card>div span::after{content:"→";font-size:12px;font-weight:900;color:#fff;margin-left:6px;line-height:1}
html body .v697-category-card>div span i{display:none!important}
html body .v697-category-card.tone-pink>div span{background:linear-gradient(135deg,#ff4aa8,#ff2d89)!important}
html body .v697-category-card.tone-blue>div span{background:linear-gradient(135deg,#2e8dff,#2d64ff)!important}
html body .v697-category-card.tone-green>div span{background:linear-gradient(135deg,#1fcd7b,#10a85b)!important}
html body .v697-category-card.tone-purple>div span{background:linear-gradient(135deg,#8c5cff,#6f45ef)!important}
html body .v697-category-card.tone-orange>div span,html body .v697-category-card.tone-amber>div span{background:linear-gradient(135deg,#ffa631,#ff7d1d)!important}
html body .v697-category-card.tone-cyan>div span,html body .v697-category-card.tone-teal>div span{background:linear-gradient(135deg,#14b8d4,#098eb7)!important}

/* quick form button */
html body .v697-quick-launch button{height:48px!important;border-radius:12px!important;padding:0 18px!important;font-size:12px!important;font-weight:900!important;background:linear-gradient(135deg,#2f85ef,#5b55ef)!important;box-shadow:0 10px 22px rgba(41,82,223,.24)!important}

/* service listing cards */
html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:15px!important}
html body:not(.role-admin) .user-service-page .u58-service-card{height:224px!important;min-height:224px!important;padding:17px!important;border-radius:16px!important}
html body:not(.role-admin) .user-service-page .mg-service-action{height:49px!important;min-height:49px!important;grid-template-columns:88px minmax(0,1fr) 36px!important;border-radius:12px!important;background:linear-gradient(135deg,#2c88f2,#5b56ef)!important;box-shadow:0 12px 24px rgba(45,89,221,.24)!important}
html body:not(.role-admin) .user-service-page .mg-service-action strong,
html body:not(.role-admin) .user-service-page .mg-service-action b,
html body:not(.role-admin) .user-service-page .mg-service-action i{color:#fff!important}
html body:not(.role-admin) .user-service-page .mg-service-action b{font-size:10.2px!important;font-weight:900!important}

/* admin dashboard click cues */
html body .v698-admin-grid{grid-template-columns:minmax(0,1fr) 344px!important;gap:18px!important}
html body .v698-admin-shortcuts a{min-height:92px!important;padding:15px 16px!important;border-radius:14px!important}
html body .v698-admin-shortcuts b{font-size:13.3px!important}
html body .v698-admin-kpis a{min-height:122px!important;border-radius:16px!important}
html body .v698-admin-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html body .v698-admin-category-grid a{min-height:106px!important;padding:16px!important;border-radius:15px!important;box-shadow:0 8px 20px rgba(21,49,82,.06)!important}
html body .v698-admin-category-grid b{font-size:13px!important;line-height:1.16!important}
html body .v698-admin-category-grid small{font-size:8.6px!important;line-height:1.2!important}
html body .v698-admin-category-grid i{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:flex-start!important;margin-top:6px!important;padding:5px 10px!important;border-radius:999px!important;background:rgba(37,102,235,.10)!important;color:#245dd0!important;font-style:normal!important;font-size:10px!important;font-weight:900!important;letter-spacing:.1px!important}
html body .v698-admin-category-grid a:hover{transform:translateY(-2px)!important;box-shadow:0 14px 28px rgba(21,49,82,.10)!important}

@media(max-width:1660px){html body .v697-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1360px){html body .v697-dashboard-grid,html body .v698-admin-grid{grid-template-columns:minmax(0,1fr) 320px!important}html body .v697-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1180px){html body .portal-masthead{left:0!important;height:62px!important}html body .sidebar{width:min(var(--v701-sidebar),90vw)!important}html body .main{margin-left:0!important;padding-top:62px!important}html body .v697-dashboard-grid,html body .v698-admin-grid{grid-template-columns:1fr!important}html body .v697-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .v697-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .v698-admin-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){html body .v697-shortcuts,html body .v697-category-grid,html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full,html body .v698-admin-category-grid{grid-template-columns:1fr!important}html body .v697-side-brand{grid-template-columns:60px minmax(0,1fr)!important}html body .v697-side-brand b{font-size:17px!important}}


/* =====================================================================
   V7.02.0 · FINAL DASHBOARD / SIDEBAR / SEARCH REFERENCE FIX
   - user mast search only on dashboard and small
   - no admin mast search
   - sidebar buttons equal size and premium gold text
   - dashboard service cards + admin hub more polished
   ===================================================================== */
:root{--v702-side:296px;--v702-side-bg:#082b48;--v702-side-bg-2:#0b3558;--v702-gold:#f2e4a3;--v702-gold-soft:#c8b978;--v702-white:#f7fbff}
html body .portal-masthead{left:var(--v702-side)!important;height:68px!important;min-height:68px!important;padding:0 18px 0 22px!important;display:flex!important;align-items:center!important;gap:14px!important;background:rgba(255,255,255,.98)!important}
html body .main{margin-left:var(--v702-side)!important;padding-top:68px!important}
html body .sidebar{width:var(--v702-side)!important;background:linear-gradient(180deg,var(--v702-side-bg) 0%,var(--v702-side-bg-2) 60%,#0a2943 100%)!important;box-shadow:12px 0 34px rgba(4,26,44,.18)!important}

/* make top bar cleaner */
html body .mast-brand{display:none!important}
html body .portal-masthead .u58-mast-search{flex:0 1 420px!important;max-width:420px!important;height:40px!important;margin-right:auto!important;border-radius:14px!important;border:1px solid #d7e2ea!important;background:#fbfdff!important;box-shadow:none!important}
html body .portal-masthead .u58-mast-search input{font-size:12px!important;padding-right:6px!important}
html body .portal-masthead .u58-mast-search button{height:30px!important;margin-right:4px!important;border-radius:10px!important;padding:0 13px!important;font-size:10.5px!important;background:#123b57!important}
html body .portal-masthead .pro-mast-right{margin-left:auto!important}
html body .portal-masthead .pro-mast-right.no-left-search{margin-left:auto!important}
html body.role-admin .portal-masthead .pro-mast-right{width:100%!important;justify-content:flex-end!important}
html body.role-admin .portal-masthead .mast-script{display:inline-flex!important;padding:8px 14px!important;border-radius:999px!important;background:linear-gradient(135deg,#2442d8,#6a48e8)!important;color:#fff!important;font-size:11px!important;font-weight:900!important}
html body.role-admin .portal-masthead .mast-private{display:none!important}
html body:not(.role-admin) .portal-masthead .mast-script{display:none!important}
html body:not(.role-admin) .portal-masthead .mast-private{display:none!important}

/* sidebar brand matches reference better */
html body .v697-side-brand{grid-template-columns:56px minmax(0,1fr)!important;min-height:98px!important;height:auto!important;padding:14px 10px 13px!important;gap:10px!important;border-bottom:1px solid rgba(234,244,255,.09)!important}
html body .v697-side-brand img{width:56px!important;height:48px!important;object-fit:contain!important;filter:drop-shadow(0 8px 14px rgba(0,173,255,.14))!important}
html body .v697-side-brand b{font-size:16px!important;line-height:1.04!important;letter-spacing:-.1px!important;color:#fff!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
html body .v697-side-brand small{font-size:7.7px!important;line-height:1.25!important;color:#ddeaf3!important;white-space:nowrap!important}
html body .v697-side-brand em{font-size:7.3px!important;line-height:1.2!important;color:#9abed4!important;white-space:nowrap!important}

html body .print-side-identity{min-height:68px!important;padding:10px 12px!important;border-radius:16px!important;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.04))!important;border:1px solid rgba(255,255,255,.12)!important}
html body .print-side-mark{width:40px!important;height:40px!important;border-radius:12px!important}
html body .print-side-identity b{font-size:13.9px!important;line-height:1.08!important;color:#fff!important}
html body .print-side-identity small{font-size:9.8px!important;line-height:1.2!important;color:rgba(255,255,255,.82)!important}
html body .print-side-pulse{min-height:48px!important;padding:9px 12px!important;border-radius:13px!important}
html body .print-side-primary{min-height:54px!important;height:54px!important;padding:0 14px!important;border-radius:15px!important;margin:10px 0 13px!important}
html body .print-side-primary span{font-size:13.2px!important}

/* unified sidebar buttons */
html body .sidebar>nav{padding:13px 6px 18px!important}
html body .sidebar .nav-section{margin:14px 10px 8px!important}
html body .sidebar .nav-section span{font-size:8.2px!important;letter-spacing:1.4px!important;color:rgba(242,228,163,.62)!important}
html body .sidebar .nav-item,
html body .sidebar .nav-button,
html body .v697-side-services>summary{height:52px!important;min-height:52px!important;padding:0 12px!important;margin-bottom:6px!important;border-radius:14px!important;gap:12px!important;border:1px solid transparent!important;background:transparent!important;color:var(--v702-gold)!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover,html body .v697-side-services>summary:hover{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.08)!important;transform:translateX(2px)!important}
html body .sidebar .nav-item.active,html body .sidebar .nav-button.active{background:#f8fbff!important;color:#17385b!important;border-color:#fff!important;box-shadow:0 8px 22px rgba(4,20,35,.22)!important}
html body .sidebar .nav-item.active:before,html body .sidebar .nav-button.active:before{content:"";position:absolute;left:-2px;top:8px;bottom:8px;width:4px;border-radius:10px;background:linear-gradient(180deg,#19bed8,#6d57ef)}
html body .sidebar .nav-ico{width:29px!important;height:29px!important;flex:0 0 29px!important;border-radius:9px!important;background:rgba(255,255,255,.10)!important;color:#fff6d1!important}
html body .sidebar .nav-label{font-size:13.9px!important;font-weight:900!important;line-height:1.06!important;color:var(--v702-gold)!important}
html body .sidebar .nav-item.active .nav-label,html body .sidebar .nav-button.active .nav-label{color:#15385b!important}
html body .sidebar .nav-item.active .nav-ico,html body .sidebar .nav-button.active .nav-ico{background:#e8f0ff!important;color:#2d63cf!important}
html body .sidebar .nav-badge{min-width:22px!important;height:22px!important;font-size:9px!important}
html body .v697-side-services>summary i{margin-left:auto!important;font-size:15px!important;color:#fff0b7!important}
html body .v697-service-subnav{padding:3px 0 9px 42px!important;gap:5px!important}
html body .v697-service-subnav a{min-height:34px!important;padding:6px 10px!important;border-radius:10px!important;background:rgba(255,255,255,.045)!important;color:#e7d895!important;font-size:11px!important;font-weight:800!important}
html body .v697-service-subnav a:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
html body .side-tool,html body .side-logout-row{height:46px!important;min-height:46px!important;padding:0 12px!important;border-radius:13px!important;background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.08)!important;color:var(--v702-gold)!important}
html body .side-tool span,html body .side-logout-row span{font-size:12.2px!important;font-weight:900!important;color:var(--v702-gold)!important}
html body .side-tool b{font-size:8px!important;color:#fff!important;background:rgba(255,255,255,.12)!important;padding:4px 8px!important;border-radius:999px!important}

/* user dashboard layout refinement */
html body .v697-dashboard-grid{grid-template-columns:minmax(0,1fr) 324px!important;gap:18px!important}
html body .v697-welcome-card{margin-top:10px!important;min-height:170px!important;padding:21px 22px!important;border-radius:18px!important}
html body .v697-welcome-copy h2{font-size:22px!important}
html body .v697-trust-row span{min-height:50px!important;padding:10px 12px!important}
html body .v697-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
html body .v697-shortcuts a,html body .v697-shortcuts button{min-height:84px!important;padding:14px 15px!important;border-radius:15px!important}
html body .v697-shortcuts b{font-size:13px!important}
html body .v697-shortcuts small{font-size:8.8px!important}
html body .v697-category-pills a{height:33px!important;padding:0 15px!important;border-radius:999px!important;font-size:10.8px!important;font-weight:850!important}
html body .v697-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
html body .v697-category-card{min-height:187px!important;padding:16px 16px 15px!important;border-radius:16px!important}
html body .v697-category-card>b{font-size:14.4px!important}
html body .v697-category-card>p{font-size:9.1px!important;min-height:44px!important}
html body .v697-category-card>div strong{font-size:14px!important}
html body .v697-category-card>div span{min-width:112px!important;height:34px!important;border-radius:10px!important}
html body .v697-category-card>div span::before{font-size:10px!important}
html body .v697-category-card>div span::after{font-size:11px!important;margin-left:5px!important}
html body .v697-wallet-card .v697-wallet-actions a,
html body .v698-treasury-actions a{min-height:52px!important;border-radius:12px!important}
html body .v697-recent-card,.v698-admin-status,.v698-admin-alerts,.v698-treasury-card,.v698-admin-date{border-radius:18px!important}

/* admin panel as premium control hub */
html body .v698-admin-grid{grid-template-columns:minmax(0,1fr) 324px!important;gap:18px!important}
html body .v698-admin-welcome{margin-top:10px!important;min-height:165px!important;padding:20px 220px 20px 20px!important;border-radius:18px!important}
html body .v698-admin-welcome h2{font-size:23px!important}
html body .v698-admin-welcome p{font-size:10.8px!important}
html body .v698-admin-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
html body .v698-admin-shortcuts a{min-height:82px!important;padding:14px 15px!important;border-radius:15px!important}
html body .v698-admin-shortcuts b{font-size:12.6px!important}
html body .v698-admin-shortcuts small{font-size:8.6px!important}
html body .v698-admin-kpis a{min-height:104px!important;border-radius:16px!important}
html body .v698-admin-kpis strong{font-size:32px!important}
html body .v698-admin-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important}
html body .v698-admin-category-grid a{min-height:96px!important;padding:14px 15px!important;border-radius:14px!important}
html body .v698-admin-category-grid b{font-size:12.6px!important}
html body .v698-admin-category-grid small{font-size:8.3px!important}
html body .v698-admin-category-grid i{padding:4px 9px!important;border-radius:999px!important;font-size:9.6px!important;font-weight:900!important;background:rgba(54,92,233,.11)!important;color:#285fcd!important}
html body .v698-section-title h2,html body .v697-section-title h2{font-size:18px!important}
html body .v698-section-title p,html body .v697-section-title p{font-size:9.2px!important}

/* global forms more visual */
html body .field{gap:8px!important}
html body .field label{font-size:12.2px!important;font-weight:900!important;color:#173d5b!important}
html body .field input,html body .field select,html body .field textarea{min-height:46px!important;border-radius:12px!important;border:1px solid #d6e3eb!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 2px 6px rgba(14,53,79,.03)!important}
html body .field textarea{min-height:120px!important}
html body .field input:focus,html body .field select:focus,html body .field textarea:focus{border-color:#77a5ff!important;box-shadow:0 0 0 4px rgba(47,114,255,.10)!important}

@media(max-width:1400px){html body .v697-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1180px){html body .portal-masthead{left:0!important}html body .sidebar{width:min(var(--v702-side),88vw)!important}html body .main{margin-left:0!important;padding-top:68px!important}html body .v697-dashboard-grid,html body .v698-admin-grid{grid-template-columns:1fr!important}html body .v697-shortcuts,html body .v698-admin-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .v697-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .v698-admin-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){html body .portal-masthead{padding:0 10px!important;height:62px!important;min-height:62px!important}html body .main{padding-top:62px!important}html body .portal-masthead .u58-mast-search{max-width:none!important;flex:1 1 auto!important}html body .v697-shortcuts,html body .v697-category-grid,html body .v698-admin-shortcuts,html body .v698-admin-category-grid{grid-template-columns:1fr!important}}


/* =====================================================================
   V7.03.0 · FINAL WHITE-BAR REMOVAL / SIDEBAR / LIVE-SERVICE / FORM PASS
   ===================================================================== */
:root{--v703-side:328px;--v703-navy:#082b47;--v703-navy2:#0a385b;--v703-gold:#f2dda0;--v703-gold2:#cbb873;--v703-ink:#133a59;--v703-line:#d8e5ef;--v703-soft:#f5faff}
html body .portal-masthead{display:none!important}
html body .main{margin-left:var(--v703-side)!important;padding-top:0!important;min-height:100vh!important;background:#f4f9fd!important}
html body .sidebar,html body.role-admin .sidebar,html body:not(.role-admin) .sidebar{width:var(--v703-side)!important;top:0!important;height:100vh!important;padding:0 8px 10px!important;background:linear-gradient(180deg,var(--v703-navy) 0%,var(--v703-navy2) 58%,#072944 100%)!important;border:0!important;box-shadow:10px 0 28px rgba(4,30,50,.17)!important}
html body .v703-mobile-menu{display:none!important}

/* Sidebar brand: never crop company name. */
html body .v697-side-brand{width:100%!important;min-height:96px!important;height:96px!important;padding:13px 10px 12px!important;display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;overflow:visible!important;border-bottom:1px solid rgba(255,255,255,.10)!important}
html body .v697-side-brand img{width:56px!important;height:48px!important;object-fit:contain!important}
html body .v697-side-brand>span{min-width:0!important;overflow:visible!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
html body .v697-side-brand b{font-size:17px!important;line-height:1.02!important;font-weight:950!important;letter-spacing:-.15px!important;white-space:nowrap!important;color:#fff!important;overflow:visible!important;text-overflow:clip!important}
html body .v697-side-brand small{font-size:8.1px!important;line-height:1.2!important;white-space:nowrap!important;color:#dceaf4!important;overflow:visible!important}
html body .v697-side-brand em{font-size:7.7px!important;line-height:1.2!important;white-space:nowrap!important;color:#9ec1d7!important;overflow:visible!important}

/* Equal-size premium sidebar buttons. */
html body .sidebar>nav{padding:12px 2px 18px!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important}
html body .sidebar .nav-section{margin:14px 8px 8px!important}
html body .sidebar .nav-section span{font-size:8px!important;font-weight:900!important;letter-spacing:1.45px!important;color:rgba(242,221,160,.62)!important}
html body .sidebar .nav-item,html body .sidebar .nav-button,html body .v697-side-services>summary{position:relative!important;width:100%!important;height:52px!important;min-height:52px!important;margin:0 0 6px!important;padding:0 10px!important;display:flex!important;align-items:center!important;gap:10px!important;border-radius:13px!important;border:1px solid transparent!important;background:transparent!important;color:var(--v703-gold)!important;box-shadow:none!important;transform:none!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover,html body .v697-side-services>summary:hover{background:rgba(255,255,255,.075)!important;border-color:rgba(255,255,255,.08)!important;transform:translateX(1px)!important}
html body .sidebar .nav-item.active,html body .sidebar .nav-button.active{background:#fbfdff!important;color:#173a5d!important;border-color:#fff!important;box-shadow:0 8px 20px rgba(2,20,35,.20)!important}
html body .sidebar .nav-item.active:before,html body .sidebar .nav-button.active:before{content:""!important;position:absolute!important;left:0!important;top:8px!important;bottom:8px!important;width:4px!important;border-radius:6px!important;background:linear-gradient(180deg,#12c8d1,#6754ed)!important}
html body .sidebar .nav-ico{width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;border-radius:9px!important;display:grid!important;place-items:center!important;background:rgba(255,255,255,.09)!important;color:#fff2bc!important}
html body .sidebar .nav-ico svg{width:18px!important;height:18px!important}
html body .sidebar .nav-label{min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:13.5px!important;line-height:1.08!important;font-weight:900!important;color:var(--v703-gold)!important}
html body .sidebar .nav-item.active .nav-label,html body .sidebar .nav-button.active .nav-label{color:#173a5d!important}
html body .sidebar .nav-item.active .nav-ico,html body .sidebar .nav-button.active .nav-ico{background:#e8f0ff!important;color:#2a61cc!important}
html body .sidebar .nav-badge{margin-left:auto!important;min-width:22px!important;height:22px!important;font-size:9px!important}
html body .v697-nav-arrow{margin-left:auto!important;font-size:16px!important;color:inherit!important}

/* User service categories in sidebar are no longer tiny/indented. */
html body .v697-side-services{margin:0 0 6px!important;width:100%!important}
html body .v697-side-services>summary{list-style:none!important;cursor:pointer!important}
html body .v697-side-services>summary::-webkit-details-marker{display:none!important}
html body .v697-side-services>summary>i{margin-left:auto!important;font-size:14px!important;color:#f4e3a8!important}
html body .v697-service-subnav{padding:0!important;margin:0 0 6px!important;display:grid!important;gap:5px!important}
html body .v697-service-subnav a{width:100%!important;min-height:46px!important;padding:0 10px!important;display:flex!important;align-items:center!important;gap:9px!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.045)!important;background:rgba(255,255,255,.045)!important;color:#e9d995!important;font-size:12px!important;font-weight:850!important;line-height:1.1!important}
html body .v697-service-subnav a:hover{background:rgba(255,255,255,.085)!important;border-color:rgba(255,255,255,.08)!important;color:#fff!important}
html body .v697-service-subnav a i{width:20px!important;height:20px!important;display:grid!important;place-items:center!important;border-radius:7px!important;background:rgba(255,255,255,.08)!important;color:#ffeeb2!important;font-style:normal!important;font-size:12px!important}
html body .v697-service-subnav a span{white-space:normal!important;overflow:visible!important}
html body .side-footer{padding:9px 2px 0!important;gap:8px!important}
html body .side-tool,html body .side-logout-row{min-height:46px!important;padding:0 10px!important;border-radius:12px!important;color:var(--v703-gold)!important;background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.07)!important}
html body .side-tool span,html body .side-logout-row span{font-size:12px!important;font-weight:900!important;color:var(--v703-gold)!important}

/* Dashboard begins immediately: no white full-width header strip. */
html body .main.user-dashboard>.topbar,html body .main.admin-dashboard>.topbar,html body .main.user-service-page>.topbar{display:none!important}
html body .dashboard-content{padding-top:10px!important}
html body .v697-user-dashboard,html body .v698-admin-dashboard{position:relative!important}

/* Small dashboard-only search; disappears as soon as page is scrolled down. */
html body .v703-dashboard-search-shell{height:44px!important;max-height:44px!important;margin:0 0 8px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;overflow:hidden!important;opacity:1!important;transition:opacity .18s ease,max-height .2s ease,height .2s ease,margin .2s ease,transform .18s ease!important}
html body .v703-dashboard-search-shell.is-hidden{height:0!important;max-height:0!important;margin:0!important;opacity:0!important;transform:translateY(-8px)!important;pointer-events:none!important}
html body .v703-dashboard-search{width:330px!important;height:40px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) 68px!important;align-items:center!important;border:1px solid #d8e5ee!important;border-radius:13px!important;background:#fff!important;box-shadow:0 5px 15px rgba(16,54,82,.06)!important;overflow:hidden!important}
html body .v703-dashboard-search>span{display:grid!important;place-items:center!important;color:#1c5c91!important;font-size:16px!important}
html body .v703-dashboard-search input{height:38px!important;border:0!important;outline:0!important;background:transparent!important;padding:0 5px!important;font-size:11.5px!important;color:#214863!important}
html body .v703-dashboard-search button{height:32px!important;margin-right:4px!important;border:0!important;border-radius:9px!important;background:linear-gradient(135deg,#256ee9,#5c53e8)!important;color:#fff!important;font-size:9.5px!important;font-weight:900!important;cursor:pointer!important}

/* User dashboard / reference proportions. */
html body .v697-dashboard-grid{grid-template-columns:minmax(0,1fr) 320px!important;gap:16px!important}
html body .v697-welcome-card{min-height:162px!important;margin:0!important;padding:20px 22px!important;border-radius:17px!important}
html body .v697-welcome-copy h2{font-size:23px!important;line-height:1.1!important}
html body .v697-welcome-copy p{font-size:10.5px!important}
html body .v697-trust-row{gap:9px!important;margin-top:14px!important}
html body .v697-trust-row span{min-height:48px!important;padding:9px 11px!important;border-radius:11px!important}
html body .v697-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;margin-top:12px!important}
html body .v697-shortcuts a,html body .v697-shortcuts button{min-height:78px!important;padding:12px 13px!important;border-radius:13px!important}
html body .v697-shortcut-icon{width:40px!important;height:40px!important;border-radius:12px!important}
html body .v697-shortcuts b{font-size:12.2px!important}
html body .v697-shortcuts small{font-size:8.4px!important}

/* Live API services always above regular categories. */
html body .v703-live-services{margin:14px 0 14px!important;padding:14px!important;border:1px solid #cfe9df!important;border-radius:16px!important;background:linear-gradient(135deg,#f6fffb,#f1fbff)!important;box-shadow:0 7px 20px rgba(20,73,87,.055)!important}
html body .v703-live-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:14px!important;margin-bottom:11px!important}
html body .v703-live-head span{font-size:7.5px!important;letter-spacing:1.2px!important;font-weight:950!important;color:#0d9361!important}
html body .v703-live-head h2{margin:2px 0 2px!important;font-size:15px!important;color:#123c59!important}
html body .v703-live-head p{margin:0!important;font-size:8.2px!important;color:#71899b!important}
html body .v703-live-head>a{font-size:8.5px!important;font-weight:900!important;color:#2362cf!important;white-space:nowrap!important}
html body .v703-live-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
html body .v703-live-card{position:relative!important;min-height:78px!important;padding:10px 70px 10px 10px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;border:1px solid #d6e9e2!important;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 12px rgba(18,68,80,.045)!important}
html body .v703-live-card:hover{transform:translateY(-2px)!important;box-shadow:0 10px 20px rgba(18,68,80,.09)!important;border-color:#93d7bd!important}
html body .v703-live-icon{width:42px!important;height:42px!important;border-radius:11px!important;display:grid!important;place-items:center!important;background:#effaf6!important;border:1px solid #d8eee5!important}
html body .v703-live-icon img{width:31px!important;height:31px!important;object-fit:contain!important}
html body .v703-live-copy{min-width:0!important;display:grid!important}.v703-live-copy small{font-size:6.7px!important;color:#779184!important;text-transform:uppercase!important;font-weight:900!important}.v703-live-copy b{font-size:10.2px!important;color:#163f58!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.v703-live-copy em{font-size:8px!important;font-style:normal!important;color:#0b9460!important;font-weight:900!important;margin-top:3px!important}
html body .v703-live-card>strong{position:absolute!important;right:10px!important;top:9px!important;padding:3px 6px!important;border-radius:999px!important;background:#e3f8ed!important;color:#0a915c!important;font-size:6.7px!important}
html body .v703-live-card>i{position:absolute!important;right:10px!important;bottom:9px!important;font-size:8px!important;font-style:normal!important;font-weight:900!important;color:#2461c8!important}

/* Category cards/CTA remain visual and easy to click. */
html body .v697-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
html body .v697-category-card{min-height:180px!important;padding:15px!important;border-radius:15px!important}
html body .v697-category-card>b{font-size:13.8px!important}.v697-category-card>p{font-size:8.9px!important;min-height:40px!important}
html body .v697-category-card>div span{min-width:108px!important;height:34px!important;border-radius:9px!important;box-shadow:0 8px 16px rgba(32,83,176,.16)!important}
html body .v697-category-card>div span::before{font-size:9.8px!important}.v697-category-card>div span::after{font-size:10.5px!important}

/* Admin: no search bar/white masthead; visual control hub starts at hero. */
html body .v698-admin-grid{grid-template-columns:minmax(0,1fr) 320px!important;gap:16px!important}
html body .v698-admin-welcome{min-height:162px!important;margin:0!important;padding:20px 220px 20px 20px!important;border-radius:17px!important}
html body .v698-admin-welcome h2{font-size:22px!important}.v698-admin-welcome p{font-size:10.4px!important}
html body .v698-admin-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
html body .v698-admin-shortcuts a{min-height:78px!important;padding:12px!important;border-radius:13px!important;box-shadow:0 6px 16px rgba(19,56,82,.05)!important}
html body .v698-admin-shortcuts b{font-size:11.8px!important}.v698-admin-shortcuts small{font-size:8px!important}
html body .v698-admin-kpis{gap:10px!important}.v698-admin-kpis a{min-height:102px!important;padding:14px 15px!important;border-radius:14px!important}.v698-admin-kpis strong{font-size:30px!important}
html body .v698-admin-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important}
html body .v698-admin-category-grid a{min-height:102px!important;padding:13px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;column-gap:9px!important;align-items:center!important;border-radius:14px!important;background:#fff!important;box-shadow:0 6px 16px rgba(17,54,81,.05)!important}
html body .v698-admin-category-grid a>span{grid-row:1/3!important;width:34px!important;height:34px!important;border-radius:10px!important;display:grid!important;place-items:center!important}
html body .v698-admin-category-grid a>b{grid-column:2!important;grid-row:1!important;font-size:11.8px!important;line-height:1.1!important;color:#153d5b!important}
html body .v698-admin-category-grid a>small{grid-column:2!important;grid-row:2!important;font-size:7.8px!important;color:#758c9e!important}
html body .v698-admin-category-grid a>i{grid-column:3!important;grid-row:1/3!important;justify-self:end!important;align-self:center!important;width:auto!important;min-width:72px!important;margin:0!important;padding:8px 10px!important;border-radius:9px!important;background:linear-gradient(135deg,#2c78ed,#5b55e8)!important;color:#fff!important;font-size:8.5px!important;font-style:normal!important;font-weight:900!important;text-align:center!important}
html body .v698-admin-category-grid a:hover{transform:translateY(-2px)!important;box-shadow:0 12px 23px rgba(17,54,81,.09)!important}

/* Service catalog: live first is already server-sorted; strengthen the section hierarchy. */
html body:not(.role-admin) .user-service-page .u58-band{border-radius:12px!important;padding:11px 13px!important}.user-service-page .u58-band:not(.secondary){background:#effaf5!important;border-left-color:#18ad70!important}.user-service-page .u58-band.secondary{background:#f4f7fa!important;border-left-color:#8095a6!important}
html body:not(.role-admin) .user-service-page .mg-service-action{height:46px!important;min-height:46px!important;border-radius:10px!important;background:linear-gradient(135deg,#277cf0,#5754e9)!important;color:#fff!important;box-shadow:0 9px 18px rgba(45,85,214,.20)!important}

/* Dynamic forms: clear sections and visual controls. */
html body .apply-workspace .content{max-width:1460px!important;margin:0 auto!important;padding:16px 18px 30px!important}
html body .video-form-titlebar{padding:20px 22px!important;border-radius:18px!important;background:linear-gradient(120deg,#245fdd,#534bea 60%,#7d48e3)!important;color:#fff!important;box-shadow:0 12px 26px rgba(44,74,195,.18)!important}
html body .video-form-titlebar h2{font-size:22px!important;color:#fff!important;margin:3px 0 6px!important}.video-form-titlebar p{font-size:10px!important;color:#eaf0ff!important;max-width:720px!important}.video-form-titlebar>div:first-child>span{font-size:8px!important;font-weight:950!important;letter-spacing:1.3px!important;color:#dfe7ff!important}.video-form-charge{height:38px!important;padding:0 14px!important;border-radius:11px!important;background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;font-size:11px!important;font-weight:900!important}
html body .compact-service-form{margin-top:14px!important;padding:0!important;border-radius:18px!important;border:1px solid #d7e5ef!important;box-shadow:0 10px 26px rgba(19,57,82,.07)!important;overflow:hidden!important}
html body .compact-service-form>.panel-head{padding:16px 18px!important;margin:0!important;background:linear-gradient(180deg,#fbfdff,#f5faff)!important;border-bottom:1px solid #e0eaf1!important}
html body .gov-apply-service h2{font-size:18px!important;color:#143c5b!important}.gov-apply-service p{font-size:9.5px!important}
html body .apply-visual-wrap{width:72px!important;height:72px!important;border-radius:15px!important;overflow:hidden!important;border:1px solid #d8e5ef!important;background:#fff!important}
html body .form-section-title{margin:16px 16px 10px!important;padding:10px 12px!important;border-radius:11px!important;background:linear-gradient(90deg,#eef5ff,#f5f9ff)!important;border-left:4px solid #3d72e7!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
html body .form-section-title span{font-size:12px!important;font-weight:950!important;color:#173e5d!important}.form-section-title small{font-size:8px!important;color:#748ba0!important}
html body .compact-service-form .form-grid{padding:0 16px 16px!important;gap:14px!important}
html body .compact-service-form .field{padding:10px!important;border:1px solid #e0e9f0!important;border-radius:12px!important;background:#fbfdff!important}
html body .compact-service-form .field label{font-size:11.2px!important;color:#183e5b!important}.compact-service-form .field small{font-size:8px!important;color:#74899a!important}
html body .compact-service-form .field input,html body .compact-service-form .field select,html body .compact-service-form .field textarea{min-height:44px!important;border-radius:10px!important;border:1px solid #d0dee8!important;background:#fff!important;box-shadow:inset 0 1px 1px rgba(20,57,80,.02)!important}
html body .compact-service-form .field textarea{min-height:110px!important}
html body .generic-apply-submit-row{padding:14px 16px 18px!important;margin-top:0!important;border-top:1px solid #e2ebf2!important;background:#f9fcff!important}
html body .generic-apply-submit-row .btn.primary{min-height:46px!important;padding:0 22px!important;border-radius:11px!important;background:linear-gradient(135deg,#247bec,#5853e9)!important;color:#fff!important;font-size:11px!important;font-weight:950!important;box-shadow:0 9px 18px rgba(42,84,211,.20)!important}

@media(max-width:1500px){:root{--v703-side:310px}html body .v697-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.v703-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1180px){html body .sidebar{width:min(var(--v703-side),88vw)!important;transform:translateX(-105%)!important;transition:transform .2s ease!important}.sidebar.open{transform:translateX(0)!important}html body .main{margin-left:0!important;padding-top:0!important}html body .v703-mobile-menu{position:fixed!important;left:12px!important;top:12px!important;width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border:1px solid #d4e1ea!important;border-radius:12px!important;background:#fff!important;color:#123e60!important;z-index:1100!important;box-shadow:0 8px 18px rgba(16,51,76,.12)!important}html body .v697-dashboard-grid,html body .v698-admin-grid{grid-template-columns:1fr!important}html body .v697-shortcuts,html body .v698-admin-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .v697-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .v698-admin-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){html body .v703-dashboard-search{width:min(320px,calc(100vw - 30px))!important}html body .v697-shortcuts,html body .v697-category-grid,html body .v698-admin-shortcuts,html body .v698-admin-category-grid,html body .v703-live-grid{grid-template-columns:1fr!important}html body .form-grid{grid-template-columns:1fr!important}}


/* =====================================================================
   V7.04.0 · FINAL ADMIN-CONTROLLED BRAND + EQUAL SIDEBAR SYSTEM
   ===================================================================== */
:root{--v704-side:352px;--v704-navy:#082b47;--v704-navy2:#0a3658;--v704-gold:#f3dda0;--v704-gold-soft:#cdbb78;--v704-line:#d9e6ef;--v704-accent:#2679ee;--v704-accent2:#5a54e8}
html body[data-sidebar-size="standard"]{--v704-side:326px}
html body[data-sidebar-size="wide"]{--v704-side:352px}
html body[data-sidebar-size="extra_wide"]{--v704-side:382px}
html body .main{margin-left:var(--v704-side)!important;padding-top:0!important;min-width:0!important}
html body .sidebar{width:var(--v704-side)!important;padding:0 5px 10px!important;overflow:hidden!important;background:linear-gradient(180deg,var(--v704-navy),var(--v704-navy2) 58%,#072842)!important;box-shadow:10px 0 28px rgba(3,28,48,.17)!important}
html body[data-sidebar-theme="teal"] .sidebar{background:linear-gradient(180deg,#087f78,#0a6969 58%,#07585c)!important}
html body[data-sidebar-theme="white"] .sidebar{background:linear-gradient(180deg,#ffffff,#f6f9fc)!important;border-right:1px solid #d7e2eb!important;box-shadow:8px 0 26px rgba(22,55,79,.08)!important}

/* Brand: never clip company name/logo. */
html body .v697-side-brand{width:100%!important;min-height:94px!important;height:auto!important;padding:12px 8px 11px!important;display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;overflow:visible!important;border-bottom:1px solid rgba(255,255,255,.10)!important}
html body .v697-side-brand img{width:58px!important;height:54px!important;max-width:58px!important;max-height:54px!important;object-fit:contain!important;border-radius:10px!important}
html body .v697-side-brand>span{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;overflow:visible!important;padding-right:2px!important}
html body .v697-side-brand b{display:block!important;font-size:18px!important;line-height:1.08!important;font-weight:950!important;letter-spacing:-.1px!important;color:#fff!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important}
html body .v697-side-brand small{display:block!important;margin-top:5px!important;font-size:8px!important;line-height:1.25!important;color:#dceaf4!important;white-space:normal!important;overflow:visible!important}
html body .v697-side-brand em{display:block!important;margin-top:4px!important;font-size:7.5px!important;line-height:1.2!important;font-style:normal!important;font-weight:850!important;letter-spacing:.55px!important;color:#9fc2d7!important;white-space:normal!important}
html body[data-sidebar-theme="white"] .v697-side-brand{border-bottom-color:#e2e9ef!important}
html body[data-sidebar-theme="white"] .v697-side-brand b{color:#143a59!important}
html body[data-sidebar-theme="white"] .v697-side-brand small{color:#587288!important}
html body[data-sidebar-theme="white"] .v697-side-brand em{color:#7a8fa0!important}

/* Remove legacy unequal top blocks: all real navigation starts with equal buttons. */
html body .print-side-identity,html body .print-side-pulse,html body .print-side-primary,html body .admin-side-label{display:none!important}
html body .sidebar>nav{flex:1 1 auto!important;min-height:0!important;padding:12px 2px 16px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important}
html body .sidebar .nav-section{margin:14px 8px 7px!important}
html body .sidebar .nav-section span{font-size:8px!important;font-weight:950!important;letter-spacing:1.45px!important;color:rgba(243,221,160,.58)!important}
html body[data-sidebar-theme="white"] .sidebar .nav-section span{color:#8193a2!important}
html body .sidebar .nav-item,html body .sidebar .nav-button,html body .v697-side-services>summary,html body .side-tool,html body .side-logout-row{
  width:100%!important;max-width:none!important;min-width:0!important;height:52px!important;min-height:52px!important;margin:0 0 6px!important;padding:0 12px!important;display:flex!important;align-items:center!important;gap:11px!important;border-radius:13px!important;border:1px solid transparent!important;box-sizing:border-box!important;text-align:left!important;overflow:visible!important;background:transparent!important;color:var(--v704-gold)!important;box-shadow:none!important;transform:none!important
}
html body .sidebar .nav-label,html body .v697-side-services>summary .nav-label,html body .side-tool span,html body .side-logout-row span{min-width:0!important;font-size:13.4px!important;line-height:1.08!important;font-weight:900!important;letter-spacing:.02px!important;color:var(--v704-gold)!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body .sidebar .nav-ico{width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:rgba(255,255,255,.085)!important;color:#fff3c9!important}
html body .sidebar .nav-ico svg{width:18px!important;height:18px!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover,html body .v697-side-services>summary:hover,html body .side-tool:hover,html body .side-logout-row:hover{background:rgba(255,255,255,.075)!important;border-color:rgba(255,255,255,.08)!important;transform:none!important}
html body .sidebar .nav-item.active,html body .sidebar .nav-button.active{position:relative!important;background:#f8fbff!important;color:#173a5c!important;border-color:#fff!important;box-shadow:0 8px 20px rgba(4,25,42,.20)!important}
html body .sidebar .nav-item.active:before,html body .sidebar .nav-button.active:before{content:"";position:absolute;left:-2px;top:8px;bottom:8px;width:4px;border-radius:8px;background:linear-gradient(180deg,var(--v704-accent),var(--v704-accent2))}
html body .sidebar .nav-item.active .nav-label,html body .sidebar .nav-button.active .nav-label{color:#163b5e!important}
html body .sidebar .nav-item.active .nav-ico,html body .sidebar .nav-button.active .nav-ico{background:#e8f0ff!important;color:#2d62cc!important}
html body .sidebar .nav-badge{margin-left:auto!important;min-width:22px!important;height:22px!important;font-size:9px!important;flex:0 0 auto!important}
html body .v697-nav-arrow{margin-left:auto!important;flex:0 0 auto!important}

html body[data-sidebar-theme="white"] .sidebar .nav-item,html body[data-sidebar-theme="white"] .sidebar .nav-button,html body[data-sidebar-theme="white"] .v697-side-services>summary,html body[data-sidebar-theme="white"] .side-tool,html body[data-sidebar-theme="white"] .side-logout-row{color:#20445f!important;border-color:#e3eaf0!important;background:#fff!important}
html body[data-sidebar-theme="white"] .sidebar .nav-label,html body[data-sidebar-theme="white"] .v697-side-services>summary .nav-label,html body[data-sidebar-theme="white"] .side-tool span,html body[data-sidebar-theme="white"] .side-logout-row span{color:#20445f!important}
html body[data-sidebar-theme="white"] .sidebar .nav-ico{background:#edf5fb!important;color:#2f668c!important}

/* User service sub-menu aligned inside the same rail, without right-side clipping. */
html body .v697-side-services{width:100%!important;margin:0 0 6px!important}
html body .v697-side-services>summary{cursor:pointer!important;list-style:none!important}
html body .v697-side-services>summary::-webkit-details-marker{display:none!important}
html body .v697-side-services>summary>i{margin-left:auto!important;flex:0 0 auto!important;color:#f6e9b8!important;font-style:normal!important}
html body .v697-service-subnav{width:100%!important;padding:2px 0 8px 36px!important;display:grid!important;gap:4px!important;box-sizing:border-box!important}
html body .v697-service-subnav a{width:100%!important;min-height:38px!important;padding:7px 10px!important;display:flex!important;align-items:center!important;gap:7px!important;border-radius:9px!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.035)!important;color:#eadb9a!important;font-size:10.7px!important;line-height:1.15!important;font-weight:850!important;box-sizing:border-box!important;white-space:normal!important}
html body .v697-service-subnav a:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
html body[data-sidebar-theme="white"] .v697-service-subnav a{background:#f7fafc!important;border-color:#e5edf3!important;color:#31576f!important}
html body .side-footer{width:100%!important;padding:8px 2px 0!important;margin:0!important;display:grid!important;gap:0!important;box-sizing:border-box!important}
html body .side-tools{width:100%!important;padding:0!important;margin:0!important}
html body .side-tool,html body .side-logout-row{justify-content:flex-start!important;background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.09)!important}
html body .side-tool b{margin-left:auto!important;flex:0 0 auto!important}

/* Admin-controlled accent colors. */
html body[data-accent-theme="purple"]{--v704-accent:#6655e9;--v704-accent2:#b54adf}
html body[data-accent-theme="gold"]{--v704-accent:#d89b2f;--v704-accent2:#f1c35c}
html body[data-accent-theme="gold"] .btn.primary,html body[data-accent-theme="gold"] .v697-quick-launch button{background:linear-gradient(135deg,#b98226,#e0b44a)!important;color:#fff!important}
html body[data-accent-theme="purple"] .btn.primary,html body[data-accent-theme="purple"] .v697-quick-launch button{background:linear-gradient(135deg,#6655e9,#a54bdc)!important;color:#fff!important}

/* Compact dashboard-only search stays separate from content and hides on scroll via JS. */
html body .v703-dashboard-search-shell{height:42px!important;max-height:42px!important;margin:0 0 8px!important}
html body .v703-dashboard-search{width:300px!important;height:38px!important;grid-template-columns:32px minmax(0,1fr) 62px!important;border-radius:12px!important;box-shadow:0 4px 12px rgba(16,54,82,.05)!important}
html body .v703-dashboard-search input{height:36px!important;font-size:10.8px!important}
html body .v703-dashboard-search button{height:30px!important;font-size:9px!important}

/* Admin hub and settings controls. */
html body .v698-admin-shortcuts{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important}
html body .v698-admin-shortcuts a{min-width:0!important}
html body .v698-shortcut-icon.gold{background:#fff3cc!important;color:#a87511!important}
html body .v704-brand-control{overflow:visible!important}
html body .v704-brand-preview{display:flex!important;align-items:center!important;gap:14px!important;padding:14px!important;border:1px solid #dce7f0!important;border-radius:14px!important;background:linear-gradient(135deg,#f8fbff,#f4f8fc)!important}
html body .v704-brand-logo{width:72px!important;height:72px!important;flex:0 0 72px!important;display:grid!important;place-items:center!important;border-radius:16px!important;background:#fff!important;border:1px solid #dce7f0!important;overflow:hidden!important}
html body .v704-brand-logo img{max-width:64px!important;max-height:64px!important;object-fit:contain!important}
html body .v704-brand-preview>span:last-child{display:grid!important;min-width:0!important}
html body .v704-brand-preview b{font-size:17px!important;color:#143c5a!important}
html body .v704-brand-preview small{font-size:9px!important;color:#72899b!important;margin-top:5px!important;line-height:1.35!important}

/* Service logo cards: stronger image stage and click target. */
html body .v697-category-icon,html body .v703-live-icon,html body .u58-service-logo{background:#fff!important;border:1px solid #dce7ef!important;box-shadow:0 5px 12px rgba(22,60,86,.05)!important}
html body .v697-category-icon img,html body .v703-live-icon img,html body .u58-service-logo img{object-fit:contain!important}
html body .v703-live-card>i{padding:5px 9px!important;border-radius:8px!important;background:#eaf2ff!important;color:#245cca!important}
html body .v698-admin-category-grid a>i{min-width:72px!important;padding:8px 10px!important;border-radius:9px!important;background:linear-gradient(135deg,var(--v704-accent),var(--v704-accent2))!important;color:#fff!important}

@media(max-width:1500px){html body[data-sidebar-size="wide"]{--v704-side:340px}html body[data-sidebar-size="extra_wide"]{--v704-side:362px}html body .v698-admin-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1180px){html body .sidebar{width:min(var(--v704-side),90vw)!important;transform:translateX(-105%)!important;transition:transform .2s ease!important}.sidebar.open{transform:translateX(0)!important}html body .main{margin-left:0!important}.v703-mobile-menu{display:grid!important}.v698-admin-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){html body .v703-dashboard-search{width:min(280px,calc(100vw - 28px))!important}.v698-admin-shortcuts{grid-template-columns:1fr!important}}


/* =====================================================================
   V7.05.0 · FINAL ADMIN CONTROL HUB / WIDE EQUAL SIDEBAR / BRAND PASS
   Authoritative last block. Desktop sidebars are wider, every top-level
   button aligns to one grid, global branding never clips, and Admin
   controls the shared role-panel appearance from Portal Settings.
   ===================================================================== */
:root{
  --v705-side:380px;
  --v705-navy:#072b48;
  --v705-navy2:#0b385b;
  --v705-gold:#f4dea0;
  --v705-line:#d8e5ef;
  --v705-accent:#287cf0;
  --v705-accent2:#5b55e9;
}
html body[data-sidebar-size="standard"]{--v705-side:350px}
html body[data-sidebar-size="wide"]{--v705-side:380px}
html body[data-sidebar-size="extra_wide"]{--v705-side:420px}
html body[data-accent-theme="purple"]{--v705-accent:#6854e9;--v705-accent2:#ad49df}
html body[data-accent-theme="gold"]{--v705-accent:#c78c27;--v705-accent2:#e5b94e}

/* Desktop geometry */
html body .sidebar{
  width:var(--v705-side)!important;
  padding:0 12px 12px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,var(--v705-navy) 0%,var(--v705-navy2) 58%,#072842 100%)!important;
  box-shadow:12px 0 30px rgba(3,27,47,.17)!important;
}
html body[data-sidebar-theme="teal"] .sidebar{background:linear-gradient(180deg,#087e78 0%,#096b6a 58%,#07585c 100%)!important}
html body[data-sidebar-theme="white"] .sidebar{background:linear-gradient(180deg,#fff,#f6f9fc)!important;border-right:1px solid #d7e2eb!important;box-shadow:8px 0 25px rgba(22,55,79,.08)!important}
html body .main{margin-left:var(--v705-side)!important;padding-top:0!important;min-width:0!important}

/* Brand header: custom logo + long portal names fit without cropping. */
html body .v697-side-brand{
  width:100%!important;height:auto!important;min-height:112px!important;
  padding:14px 8px 13px!important;margin:0!important;
  display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;
  gap:12px!important;align-items:center!important;overflow:visible!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;box-sizing:border-box!important;
}
html body .v697-side-brand img{
  width:64px!important;height:60px!important;max-width:64px!important;max-height:60px!important;
  object-fit:contain!important;border-radius:10px!important;justify-self:start!important;
}
html body .v697-side-brand>span{min-width:0!important;width:100%!important;display:flex!important;flex-direction:column!important;justify-content:center!important;overflow:visible!important;padding:0!important}
html body .v697-side-brand b{
  display:block!important;width:100%!important;margin:0!important;
  font-size:19px!important;line-height:1.08!important;font-weight:950!important;letter-spacing:-.12px!important;
  color:#fff!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere!important;word-break:normal!important;
}
html body .v697-side-brand small{display:block!important;margin-top:6px!important;font-size:8.8px!important;line-height:1.28!important;color:#dbeaf5!important;white-space:normal!important;overflow:visible!important}
html body .v697-side-brand em{display:block!important;margin-top:5px!important;font-size:8px!important;line-height:1.2!important;font-style:normal!important;font-weight:900!important;letter-spacing:.55px!important;color:#9fc3d9!important;white-space:normal!important;overflow:visible!important}
html body[data-sidebar-theme="white"] .v697-side-brand{border-bottom-color:#e1e9ef!important}
html body[data-sidebar-theme="white"] .v697-side-brand b{color:#143a58!important}
html body[data-sidebar-theme="white"] .v697-side-brand small{color:#587287!important}
html body[data-sidebar-theme="white"] .v697-side-brand em{color:#788ea0!important}

/* One sidebar grid from top to bottom. */
html body .sidebar>nav{
  flex:1 1 auto!important;min-height:0!important;
  width:100%!important;margin:0!important;padding:12px 0 16px!important;
  overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important;
}
html body .sidebar .nav-section{width:100%!important;margin:14px 8px 8px!important;padding:0!important}
html body .sidebar .nav-section span{font-size:8.3px!important;font-weight:950!important;letter-spacing:1.5px!important;color:rgba(244,222,160,.60)!important}
html body[data-sidebar-theme="white"] .sidebar .nav-section span{color:#8395a3!important}
html body .sidebar .nav-item,
html body .sidebar .nav-button,
html body .v697-side-services>summary,
html body .side-tool,
html body .side-logout-row{
  position:relative!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  height:54px!important;min-height:54px!important;
  margin:0 0 7px!important;padding:0 13px!important;
  display:flex!important;align-items:center!important;gap:12px!important;
  border:1px solid transparent!important;border-radius:14px!important;
  box-sizing:border-box!important;text-align:left!important;overflow:hidden!important;
  background:transparent!important;color:var(--v705-gold)!important;
  box-shadow:none!important;transform:none!important;
}
html body .sidebar .nav-item:hover,
html body .sidebar .nav-button:hover,
html body .v697-side-services>summary:hover,
html body .side-tool:hover,
html body .side-logout-row:hover{background:rgba(255,255,255,.075)!important;border-color:rgba(255,255,255,.08)!important;transform:none!important}
html body .sidebar .nav-item.active,html body .sidebar .nav-button.active{
  background:#f9fcff!important;color:#173a5c!important;border-color:#fff!important;
  box-shadow:0 9px 22px rgba(3,23,40,.20)!important;
}
html body .sidebar .nav-item.active:before,html body .sidebar .nav-button.active:before{
  content:""!important;position:absolute!important;left:0!important;top:8px!important;bottom:8px!important;width:4px!important;
  border-radius:8px!important;background:linear-gradient(180deg,var(--v705-accent),var(--v705-accent2))!important;
}
html body .sidebar .nav-ico{
  width:31px!important;height:31px!important;min-width:31px!important;flex:0 0 31px!important;
  display:grid!important;place-items:center!important;border-radius:9px!important;
  background:rgba(255,255,255,.085)!important;color:#fff2c5!important;
}
html body .sidebar .nav-ico svg{width:18px!important;height:18px!important}
html body .sidebar .nav-label,
html body .v697-side-services>summary .nav-label,
html body .side-tool span,
html body .side-logout-row span{
  min-width:0!important;max-width:100%!important;
  font-size:13.8px!important;line-height:1.08!important;font-weight:900!important;letter-spacing:.02px!important;
  color:var(--v705-gold)!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
}
html body .sidebar .nav-item.active .nav-label,html body .sidebar .nav-button.active .nav-label{color:#163b5e!important}
html body .sidebar .nav-item.active .nav-ico,html body .sidebar .nav-button.active .nav-ico{background:#e8f0ff!important;color:#2d62cc!important}
html body .sidebar .nav-badge{margin-left:auto!important;min-width:23px!important;height:23px!important;padding:0 6px!important;font-size:9px!important;flex:0 0 auto!important}
html body .v697-nav-arrow{margin-left:auto!important;flex:0 0 auto!important;font-size:17px!important}

/* White sidebar option remains readable. */
html body[data-sidebar-theme="white"] .sidebar .nav-item,
html body[data-sidebar-theme="white"] .sidebar .nav-button,
html body[data-sidebar-theme="white"] .v697-side-services>summary,
html body[data-sidebar-theme="white"] .side-tool,
html body[data-sidebar-theme="white"] .side-logout-row{background:#fff!important;border-color:#e2eaf0!important;color:#21445f!important}
html body[data-sidebar-theme="white"] .sidebar .nav-label,
html body[data-sidebar-theme="white"] .v697-side-services>summary .nav-label,
html body[data-sidebar-theme="white"] .side-tool span,
html body[data-sidebar-theme="white"] .side-logout-row span{color:#21445f!important}
html body[data-sidebar-theme="white"] .sidebar .nav-ico{background:#edf5fb!important;color:#31678d!important}

/* Service submenu is aligned left and never pushes into the right edge. */
html body .v697-side-services{width:100%!important;margin:0 0 7px!important;padding:0!important}
html body .v697-side-services>summary{cursor:pointer!important;list-style:none!important}
html body .v697-side-services>summary::-webkit-details-marker{display:none!important}
html body .v697-side-services>summary>i{margin-left:auto!important;flex:0 0 auto!important;font-style:normal!important;color:#f6e8b8!important}
html body .v697-service-subnav{
  width:100%!important;margin:0!important;padding:1px 0 9px 37px!important;
  display:grid!important;gap:5px!important;box-sizing:border-box!important;
}
html body .v697-service-subnav a{
  width:100%!important;min-width:0!important;min-height:40px!important;
  padding:7px 10px!important;display:flex!important;align-items:center!important;gap:8px!important;
  border-radius:10px!important;box-sizing:border-box!important;
  background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.04)!important;
  color:#eadb9a!important;font-size:11px!important;line-height:1.15!important;font-weight:850!important;
  white-space:normal!important;overflow:hidden!important;
}
html body .v697-service-subnav a:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
html body[data-sidebar-theme="white"] .v697-service-subnav a{background:#f7fafc!important;border-color:#e4edf3!important;color:#31576f!important}

/* Footer buttons share the exact nav width/height. */
html body .side-footer{width:100%!important;margin:0!important;padding:8px 0 0!important;display:grid!important;gap:0!important;box-sizing:border-box!important;background:transparent!important}
html body .side-tools{width:100%!important;margin:0!important;padding:0!important}
html body .side-tool,html body .side-logout-row{justify-content:flex-start!important;background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.09)!important}
html body .side-tool b{margin-left:auto!important;flex:0 0 auto!important}

/* Admin-controlled user panel controls. */
html body .v705-user-panel-controls{padding:13px!important;border:1px solid #dce7f0!important;border-radius:13px!important;background:#f8fbff!important}
html body .v705-user-panel-controls>.settings-switch-grid{margin-top:8px!important}
html body .v705-user-panel-controls>small{display:block!important;margin-top:8px!important;color:#6d8497!important;line-height:1.4!important}

/* Admin Service Builder logo preview. */
html body .v705-service-logo-control{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:10px!important;align-items:center!important}
html body .v705-service-logo-preview{width:58px!important;height:58px!important;display:grid!important;place-items:center!important;border:1px solid #dce7f0!important;border-radius:13px!important;background:#fff!important;box-shadow:0 5px 12px rgba(20,58,84,.05)!important}
html body .v705-service-logo-preview img{width:42px!important;height:42px!important;object-fit:contain!important}
html body .v705-service-logo-control select{width:100%!important}

/* Dashboard content: reference-like but roomy. */
html body .v697-dashboard-grid{grid-template-columns:minmax(0,1fr) 330px!important;gap:18px!important}
html body .v697-welcome-card,html body .v698-admin-welcome{border-radius:18px!important}
html body .v697-shortcuts{gap:12px!important}
html body .v697-shortcuts a,html body .v697-shortcuts button{min-height:88px!important;border-radius:14px!important}
html body .v697-category-grid{gap:14px!important}
html body .v697-category-card{border-radius:16px!important;box-shadow:0 8px 22px rgba(19,56,84,.055)!important}
html body .v703-live-services{border-radius:17px!important;box-shadow:0 7px 20px rgba(18,72,68,.05)!important}
html body .v703-live-card{min-height:78px!important;border-radius:12px!important}
html body .v703-live-card>i{
  min-width:76px!important;min-height:30px!important;padding:0 10px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:9px!important;background:linear-gradient(135deg,var(--v705-accent),var(--v705-accent2))!important;
  color:#fff!important;font-size:8.5px!important;font-weight:900!important;font-style:normal!important;
  box-shadow:0 6px 14px rgba(42,91,213,.16)!important;
}

/* Admin is explicitly a control hub. */
html body .v698-admin-grid{grid-template-columns:minmax(0,1fr) 330px!important;gap:18px!important}
html body .v698-admin-shortcuts{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important}
html body .v698-admin-shortcuts a{min-height:88px!important;border-radius:14px!important}
html body .v698-admin-category-grid a{border-radius:14px!important;box-shadow:0 7px 18px rgba(18,55,82,.05)!important}
html body .v698-admin-category-grid a>i{min-width:74px!important;padding:7px 10px!important;border-radius:9px!important;background:linear-gradient(135deg,var(--v705-accent),var(--v705-accent2))!important;color:#fff!important;font-weight:900!important}

/* Accent applies consistently to primary actions. */
html body .btn.primary,html body .v697-quick-launch button{background:linear-gradient(135deg,var(--v705-accent),var(--v705-accent2))!important;color:#fff!important}

/* Existing compact dashboard-only search remains the only desktop search. */
html body .v703-dashboard-search-shell{height:42px!important;max-height:42px!important;margin:0 0 8px!important;overflow:visible!important}
html body .v703-dashboard-search{width:300px!important;height:38px!important;border-radius:11px!important;box-shadow:0 4px 11px rgba(16,54,82,.045)!important}

@media(max-width:1600px){
  html body[data-sidebar-size="standard"]{--v705-side:340px}
  html body[data-sidebar-size="wide"]{--v705-side:370px}
  html body[data-sidebar-size="extra_wide"]{--v705-side:400px}
  html body .v698-admin-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1180px){
  html body .sidebar{width:min(var(--v705-side),90vw)!important;transform:translateX(-105%)!important;transition:transform .2s ease!important}
  html body .sidebar.open{transform:translateX(0)!important}
  html body .main{margin-left:0!important}
  html body .v703-mobile-menu{display:grid!important}
  html body .v697-dashboard-grid,html body .v698-admin-grid{grid-template-columns:1fr!important}
  html body .v698-admin-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  html body .v697-side-brand{grid-template-columns:54px minmax(0,1fr)!important;min-height:96px!important}
  html body .v697-side-brand img{width:50px!important;height:48px!important}
  html body .v697-side-brand b{font-size:16px!important}
  html body .v703-dashboard-search{width:min(280px,calc(100vw - 28px))!important}
  html body .v698-admin-shortcuts{grid-template-columns:1fr!important}
}


/* =====================================================================
   V7.06.0 · COMFORT / DENSITY / API CENTER FINAL PASS
   Compact category service cards, balanced sidebar, clear actions,
   polished API control center, and stronger form/table consistency.
   ===================================================================== */
:root{--v706-side:326px;--v706-line:#d9e6ef;--v706-text:#153b58;--v706-muted:#71879a}
html body[data-sidebar-size="standard"]{--v705-side:310px!important}
html body[data-sidebar-size="wide"]{--v705-side:326px!important}
html body[data-sidebar-size="extra_wide"]{--v705-side:350px!important}
html body .sidebar{width:var(--v705-side)!important;padding:0 10px 10px!important}
html body .main{margin-left:var(--v705-side)!important}
html body .v697-side-brand{min-height:100px!important;padding:12px 6px 11px!important;grid-template-columns:58px minmax(0,1fr)!important;gap:10px!important}
html body .v697-side-brand img{width:54px!important;height:50px!important;max-width:54px!important;max-height:50px!important}
html body .v697-side-brand b{font-size:17px!important;line-height:1.06!important}
html body .v697-side-brand small{font-size:8.2px!important;margin-top:5px!important}
html body .v697-side-brand em{font-size:7.5px!important;margin-top:3px!important}
html body .sidebar>nav{padding:10px 0 13px!important}
html body .sidebar .nav-item,html body .sidebar .nav-button,html body .v697-side-services>summary,html body .side-tool,html body .side-logout-row{min-height:48px!important;height:48px!important;margin:0 0 5px!important;padding:0 11px!important;border-radius:11px!important;gap:10px!important}
html body .sidebar .nav-label,html body .v697-side-services>summary .nav-label,html body .side-tool span,html body .side-logout-row span{font-size:12.6px!important;line-height:1.08!important}
html body .sidebar .nav-ico{width:28px!important;height:28px!important;min-width:28px!important;flex-basis:28px!important}
html body .v697-service-subnav{padding:1px 0 7px 32px!important;gap:4px!important}
html body .v697-service-subnav a{min-height:34px!important;padding:6px 9px!important;font-size:10.4px!important;border-radius:8px!important}
html body .side-footer{padding-top:6px!important}

/* SERVICE CATEGORY PAGE: remove oversized empty cards. */
html body:not(.role-admin) .user-service-page>.content{padding:18px!important}
html body:not(.role-admin) .user-service-page .user-clean-panel{padding:16px!important;border-radius:16px!important;box-shadow:0 7px 22px rgba(18,58,84,.05)!important}
html body:not(.role-admin) .user-service-page .panel-head{margin-bottom:14px!important;align-items:center!important}
html body:not(.role-admin) .user-service-page .panel-head h2{font-size:19px!important;color:var(--v706-text)!important}
html body:not(.role-admin) .user-service-page .panel-head p{font-size:9.5px!important}
html body:not(.role-admin) .user-service-page .panel-head .toolbar{gap:7px!important}
html body:not(.role-admin) .user-service-page .panel-head .search{width:250px!important;min-height:38px!important;padding:9px 12px!important;border-radius:10px!important}
html body:not(.role-admin) .user-service-page .services-grid.user-service-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important}
html body:not(.role-admin) .user-service-page .service-card.user-service-card{min-height:176px!important;height:auto!important;padding:13px!important;display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:11px!important;align-items:start!important;border:1px solid #dbe7ef!important;border-radius:14px!important;background:#fff!important;box-shadow:0 6px 16px rgba(18,58,84,.045)!important;overflow:hidden!important}
html body:not(.role-admin) .user-service-page .service-card.user-service-card:hover{transform:translateY(-2px)!important;border-color:#b9d4e5!important;box-shadow:0 13px 26px rgba(18,58,84,.09)!important}
html body:not(.role-admin) .user-service-page .service-card.user-service-card:after{display:none!important}
html body:not(.role-admin) .user-service-page .service-media.service-logo-media{width:54px!important;height:54px!important;min-width:54px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:12px!important;border:1px solid #dce8f0!important;background:linear-gradient(145deg,#f8fbfd,#eef5f9)!important;overflow:hidden!important}
html body:not(.role-admin) .user-service-page .service-media.service-logo-media img{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;object-fit:contain!important}
html body:not(.role-admin) .user-service-page .service-card-body{min-width:0!important;display:flex!important;flex-direction:column!important;min-height:148px!important;padding:0!important}
html body:not(.role-admin) .user-service-page .service-card-body h3{margin:1px 0 5px!important;font-size:13.7px!important;line-height:1.18!important;color:#123a59!important;min-height:32px!important}
html body:not(.role-admin) .user-service-page .service-card-body>p{margin:0 0 8px!important;font-size:8.9px!important;line-height:1.4!important;color:#6e8395!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:25px!important}
html body:not(.role-admin) .user-service-page .service-card-body .chips{margin:2px 0 9px!important;gap:5px!important}
html body:not(.role-admin) .user-service-page .service-card-body .chip{font-size:7.4px!important;padding:4px 7px!important;border-radius:999px!important}
html body:not(.role-admin) .user-service-page .service-actions{margin-top:auto!important;display:grid!important;grid-template-columns:1.15fr .9fr .9fr!important;gap:6px!important}
html body:not(.role-admin) .user-service-page .service-actions .btn{min-height:34px!important;padding:0 7px!important;border-radius:8px!important;font-size:8.6px!important;font-weight:900!important}
html body:not(.role-admin) .user-service-page .service-actions .btn.primary{background:linear-gradient(135deg,#0c9a88,#138f85)!important;box-shadow:0 6px 13px rgba(13,145,130,.16)!important}
html body:not(.role-admin) .user-service-page .service-fallback-note{margin-top:7px!important;padding:5px 7px!important;border-radius:7px!important;background:#fff8e8!important;border:1px solid #f1d99e!important;color:#8d6513!important;font-size:7.5px!important;line-height:1.3!important}

/* ALL SERVICES VIEW stays card-first but denser. */
html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important}
html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full .u58-service-card{height:184px!important;min-height:184px!important;padding:13px!important;grid-template-columns:48px minmax(0,1fr)!important;gap:10px!important;border-radius:13px!important}
html body:not(.role-admin) .user-service-page .u58-service-logo{width:48px!important;height:48px!important;min-width:48px!important;border-radius:11px!important}
html body:not(.role-admin) .user-service-page .u58-service-logo img{width:34px!important;height:34px!important}
html body:not(.role-admin) .user-service-page .u58-service-body{min-height:158px!important}
html body:not(.role-admin) .user-service-page .u58-service-body>b{font-size:13.2px!important;min-height:31px!important}
html body:not(.role-admin) .user-service-page .u58-service-body>em{font-size:8.3px!important;min-height:34px!important;margin-top:5px!important}
html body:not(.role-admin) .user-service-page .mg-service-action{height:38px!important;min-height:38px!important;grid-template-columns:64px minmax(0,1fr) 27px!important;border-radius:8px!important}
html body:not(.role-admin) .user-service-page .mg-service-action strong{font-size:9.3px!important}
html body:not(.role-admin) .user-service-page .mg-service-action b{font-size:8.5px!important}
html body:not(.role-admin) .user-service-page .mg-service-action i{width:24px!important;height:24px!important;border-radius:6px!important}
html body:not(.role-admin) .user-service-page .mg-service-hint{display:none!important}

/* API CENTER: turn the raw form page into an admin control workspace. */
html body.role-admin .admin-api-center>.content{padding:18px 20px 28px!important;max-width:none!important}
html body.role-admin .admin-api-center>.topbar{min-height:68px!important;padding:12px 20px!important;background:#fff!important;border-bottom:1px solid #dce7ef!important;box-shadow:0 3px 12px rgba(18,58,84,.04)!important}
html body.role-admin .admin-api-center>.topbar h1{font-size:21px!important;color:#143c5a!important}
html body.role-admin .admin-api-center .stats-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
html body.role-admin .admin-api-center .stat-card{min-height:105px!important;padding:15px!important;border-radius:14px!important;background:#fff!important;border:1px solid #dbe7ef!important;box-shadow:0 7px 18px rgba(18,58,84,.05)!important}
html body.role-admin .admin-api-center .stat-card span{font-size:8px!important;font-weight:950!important;letter-spacing:.7px!important;color:#70879a!important;text-transform:uppercase!important}
html body.role-admin .admin-api-center .stat-card strong{display:block!important;margin:7px 0 4px!important;font-size:29px!important;line-height:1!important;color:#153f60!important}
html body.role-admin .admin-api-center .stat-card small{font-size:8px!important;color:#73899a!important}
html body.role-admin .admin-api-center .stat-card:nth-child(1){border-top:4px solid #2e82e8!important}
html body.role-admin .admin-api-center .stat-card:nth-child(2){border-top:4px solid #18b874!important}
html body.role-admin .admin-api-center .stat-card:nth-child(3){border-top:4px solid #f29b24!important}
html body.role-admin .admin-api-center .stat-card:nth-child(4){border-top:4px solid #7b55e7!important}
html body.role-admin .admin-api-center .panel{padding:17px!important;margin-bottom:15px!important;border-radius:15px!important;border:1px solid #dbe7ef!important;box-shadow:0 7px 18px rgba(18,58,84,.045)!important;background:#fff!important}
html body.role-admin .admin-api-center .panel-head{margin-bottom:12px!important;align-items:center!important}
html body.role-admin .admin-api-center .panel h2{font-size:17px!important;color:#153b59!important}
html body.role-admin .admin-api-center .panel .muted{font-size:8.8px!important;line-height:1.45!important;color:#72889a!important}
html body.role-admin .admin-api-center .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
html body.role-admin .admin-api-center .field{gap:6px!important}
html body.role-admin .admin-api-center .field label{font-size:9px!important;color:#38566d!important}
html body.role-admin .admin-api-center .field input,html body.role-admin .admin-api-center .field select,html body.role-admin .admin-api-center .field textarea{min-height:40px!important;padding:9px 11px!important;border-radius:9px!important;font-size:9px!important;background:#fbfdff!important;border-color:#d5e2eb!important}
html body.role-admin .admin-api-center .field textarea{min-height:86px!important}
html body.role-admin .admin-api-center .notice{padding:10px 12px!important;border-radius:10px!important;font-size:9px!important;line-height:1.45!important}
html body.role-admin .admin-api-center .api-action-row{display:flex!important;gap:8px!important;align-items:center!important;margin-top:12px!important}
html body.role-admin .admin-api-center .api-inline-form{display:inline-flex!important;margin-top:8px!important}
html body.role-admin .admin-api-center .btn{min-height:37px!important;padding:0 12px!important;border-radius:9px!important;font-size:9px!important}
html body.role-admin .admin-api-center .settings-switch-grid{gap:8px!important}
html body.role-admin .admin-api-center .switch{font-size:9px!important}
html body.role-admin .admin-api-center .table-wrap{border-radius:11px!important;border-color:#dce7ef!important}
html body.role-admin .admin-api-center .table{font-size:9px!important}
html body.role-admin .admin-api-center .table th{padding:9px 10px!important;font-size:7.6px!important;background:#f5f9fc!important;color:#60788b!important}
html body.role-admin .admin-api-center .table td{padding:9px 10px!important;vertical-align:middle!important}
html body.role-admin .admin-api-center .table td b{font-size:9.3px!important;color:#173e5d!important}
html body.role-admin .admin-api-center code{font-size:8.5px!important}

/* general form comfort across portal */
html body .field input,html body .field select,html body .field textarea{border-color:#d4e1ea!important;background:#fff!important}
html body .field input:focus,html body .field select:focus,html body .field textarea:focus{border-color:#74a6f6!important;box-shadow:0 0 0 3px rgba(48,112,233,.09)!important}
html body .table-wrap{box-shadow:none!important}

@media(max-width:1450px){
  html body:not(.role-admin) .user-service-page .services-grid.user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body.role-admin .admin-api-center .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:1180px){html body .main{margin-left:0!important}html body .sidebar{width:min(var(--v705-side),90vw)!important}}
@media(max-width:720px){
  html body:not(.role-admin) .user-service-page .services-grid.user-service-grid,html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full{grid-template-columns:1fr!important}
  html body:not(.role-admin) .user-service-page .service-card.user-service-card{grid-template-columns:48px minmax(0,1fr)!important}
  html body.role-admin .admin-api-center .stats-grid,html body.role-admin .admin-api-center .form-grid{grid-template-columns:1fr!important}
  html body:not(.role-admin) .user-service-page .panel-head{align-items:flex-start!important;flex-direction:column!important}
  html body:not(.role-admin) .user-service-page .panel-head .toolbar,html body:not(.role-admin) .user-service-page .panel-head .search{width:100%!important}
}


/* =====================================================================
   V7.08.0 · AUTHORITATIVE COLOR SYSTEM + DARK MODE HARMONY
   One semantic palette across dashboard, forms, wallet, APIs, tables,
   service cards and status states. This block intentionally comes last.
   ===================================================================== */
:root{
  --mg-bg:#eef4f8;--mg-surface:#ffffff;--mg-surface-2:#f7fafc;--mg-surface-3:#eef4f8;
  --mg-text:#123a57;--mg-text-2:#34566e;--mg-muted:#60788a;--mg-line:#d9e5ed;
  --mg-primary:#2f6df6;--mg-primary-2:#6357eb;--mg-info:#1687d8;--mg-success:#0aa56b;
  --mg-warning:#d98200;--mg-danger:#d9415d;--mg-purple:#7255e8;--mg-cyan:#0ea5b7;
  --mg-shadow:0 8px 22px rgba(18,58,84,.06);--mg-shadow-hover:0 14px 30px rgba(18,58,84,.11);
  --mg-input:#ffffff;--mg-input-line:#cedce7;--mg-focus:rgba(47,109,246,.13);
}
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{
  --mg-bg:#07131d;--mg-surface:#0f2230;--mg-surface-2:#132a39;--mg-surface-3:#172f40;
  --mg-text:#edf7fc;--mg-text-2:#c7d8e2;--mg-muted:#9db3c1;--mg-line:#294657;
  --mg-primary:#5b8dff;--mg-primary-2:#8a6df2;--mg-info:#45aaf2;--mg-success:#24c485;
  --mg-warning:#f0aa3a;--mg-danger:#f06a80;--mg-purple:#9b7cf3;--mg-cyan:#35c1d0;
  --mg-shadow:0 8px 22px rgba(0,0,0,.18);--mg-shadow-hover:0 14px 30px rgba(0,0,0,.28);
  --mg-input:#0b1c28;--mg-input-line:#315164;--mg-focus:rgba(91,141,255,.18);
  background:var(--mg-bg)!important;color:var(--mg-text)!important;
}

/* accent themes remain admin controlled, but semantic states do not drift */
html body[data-accent-theme="blue"]{--mg-accent:var(--mg-primary);--mg-accent2:#16a8d8}
html body[data-accent-theme="purple"]{--mg-accent:#6d58e9;--mg-accent2:#ad4fd9}
html body[data-accent-theme="gold"]{--mg-accent:#c58b2b;--mg-accent2:#e4b84e}
html[data-theme="dark"] body[data-accent-theme="blue"]{--mg-accent:#5b8dff;--mg-accent2:#2eb8dc}
html[data-theme="dark"] body[data-accent-theme="purple"]{--mg-accent:#8d74f0;--mg-accent2:#bf69e2}
html[data-theme="dark"] body[data-accent-theme="gold"]{--mg-accent:#e2b24d;--mg-accent2:#f0cb76}

/* global surfaces */
html body .main{background:var(--mg-bg)!important;color:var(--mg-text)!important}
html body .content{color:var(--mg-text)!important}
html body .panel,html body .stat,html body .status-tile,html body .quick-card,html body .control-card,
html body .premium-panel,html body .user-clean-panel,html body .recharge-submit-panel,
html body .v697-date-card,html body .v697-wallet-card,html body .v697-recent-card,
html body .v698-admin-date,html body .v698-treasury-card,html body .v698-admin-status,html body .v698-admin-alerts,
html body .v698-production-card,html body .v698-queue-card{
  background:var(--mg-surface)!important;border-color:var(--mg-line)!important;color:var(--mg-text)!important;box-shadow:var(--mg-shadow)!important;
}
html body .panel h1,html body .panel h2,html body .panel h3,html body .topbar h1,html body .portal-topbar h1,
html body .panel-head h2,html body .panel-head h3,html body .stat strong,html body .status-tile strong,
html body .v697-section-title h2,html body .v698-section-title h2{color:var(--mg-text)!important}
html body .muted,html body .sub,html body .panel p,html body .panel small,html body .legal-note,html body .page-note{color:var(--mg-muted)!important}

/* fields and forms */
html body .field label{color:var(--mg-text-2)!important}
html body .field input,html body .field select,html body .field textarea,html body .search,
html body input[type="text"],html body input[type="email"],html body input[type="tel"],html body input[type="number"],html body input[type="date"],html body input[type="password"],html body select,html body textarea{
  background:var(--mg-input)!important;color:var(--mg-text)!important;border-color:var(--mg-input-line)!important;
}
html body input::placeholder,html body textarea::placeholder{color:var(--mg-muted)!important;opacity:.82!important}
html body .field input:focus,html body .field select:focus,html body .field textarea:focus,html body .search:focus,
html body input:focus,html body select:focus,html body textarea:focus{border-color:var(--mg-primary)!important;box-shadow:0 0 0 4px var(--mg-focus)!important;outline:0!important}
html body input[disabled],html body select[disabled],html body textarea[disabled],html body input[readonly]{background:var(--mg-surface-3)!important;color:var(--mg-muted)!important;opacity:1!important}
html body input[type="file"]{background:var(--mg-surface-2)!important;color:var(--mg-text-2)!important}
html body input[type="checkbox"],html body input[type="radio"]{accent-color:var(--mg-primary)!important}

/* buttons: hierarchy remains obvious in both modes */
html body .btn{background:var(--mg-surface-3)!important;color:var(--mg-text-2)!important;border:1px solid var(--mg-line)!important}
html body .btn:hover{box-shadow:0 7px 15px rgba(18,58,84,.08)!important;filter:none!important}
html body .btn.primary,html body .signature-btn,html body .v697-quick-launch button{
  background:linear-gradient(135deg,var(--mg-accent),var(--mg-accent2))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 9px 20px rgba(47,109,246,.20)!important;
}
html body .btn.success{background:var(--mg-success)!important;color:#fff!important;border-color:transparent!important}
html body .btn.warn{background:#fff4dc!important;color:#8a5900!important;border-color:#f0d28b!important}
html body .btn.danger{background:#ffebef!important;color:#a92742!important;border-color:#f4bdc8!important}
html[data-theme="dark"] body .btn.warn{background:#493517!important;color:#ffd995!important;border-color:#745824!important}
html[data-theme="dark"] body .btn.danger{background:#48212a!important;color:#ffb0bd!important;border-color:#6a3140!important}

/* semantic notices */
html body .notice{border-width:1px!important;box-shadow:none!important}
html body .notice.info{background:#eaf5ff!important;border-color:#badcf5!important;color:#17618e!important}
html body .notice.success{background:#eafaf3!important;border-color:#b8e8d0!important;color:#087248!important}
html body .notice.warn,html body .notice.warning{background:#fff7e5!important;border-color:#efd49a!important;color:#8c6108!important}
html body .notice.error{background:#fff0f3!important;border-color:#f0c2ca!important;color:#a52c43!important}
html[data-theme="dark"] body .notice.info{background:#102c3f!important;border-color:#28516b!important;color:#a7dcff!important}
html[data-theme="dark"] body .notice.success{background:#102f27!important;border-color:#285846!important;color:#a6edc9!important}
html[data-theme="dark"] body .notice.warn,html[data-theme="dark"] body .notice.warning{background:#382d18!important;border-color:#645027!important;color:#f8d68b!important}
html[data-theme="dark"] body .notice.error{background:#3a2027!important;border-color:#62313d!important;color:#ffb5c2!important}

/* badges/chips/status */
html body .badge,html body .chip{border:1px solid var(--mg-line)!important;background:var(--mg-surface-3)!important;color:var(--mg-text-2)!important}
html body .badge.ok,html body .chip.ok,html body .badge.success,html body .chip.success{background:#e8f9f1!important;border-color:#b6e6ce!important;color:#087249!important}
html body .badge.warn,html body .chip.warn,html body .badge.warning,html body .chip.warning{background:#fff5e1!important;border-color:#efd29a!important;color:#8f6000!important}
html body .badge.bad,html body .chip.bad,html body .badge.error,html body .chip.error{background:#ffedf0!important;border-color:#f0bfc8!important;color:#a92e45!important}
html body .badge.muted,html body .chip.muted{background:#f1f5f8!important;border-color:#dce5ec!important;color:#60778a!important}
html body .chip.price{background:#eaf8f1!important;border-color:#bce5d0!important;color:#087047!important}
html body .chip.featured{background:#fff4df!important;border-color:#f1d095!important;color:#965f00!important}
html body .live-pill,html body .u58-live{background:#e4f8ef!important;color:#08724a!important;border-color:#b4e5ce!important}
html[data-theme="dark"] body .badge,html[data-theme="dark"] body .chip{background:#172f40!important;border-color:#355466!important;color:#c4d6e0!important}
html[data-theme="dark"] body .badge.ok,html[data-theme="dark"] body .chip.ok,html[data-theme="dark"] body .badge.success,html[data-theme="dark"] body .chip.success,html[data-theme="dark"] body .live-pill,html[data-theme="dark"] body .u58-live{background:#123329!important;border-color:#2d604c!important;color:#a9efca!important}
html[data-theme="dark"] body .badge.warn,html[data-theme="dark"] body .chip.warn,html[data-theme="dark"] body .badge.warning,html[data-theme="dark"] body .chip.warning,html[data-theme="dark"] body .chip.featured{background:#3b2e18!important;border-color:#665026!important;color:#f5d691!important}
html[data-theme="dark"] body .badge.bad,html[data-theme="dark"] body .chip.bad,html[data-theme="dark"] body .badge.error,html[data-theme="dark"] body .chip.error{background:#3c2028!important;border-color:#67313f!important;color:#ffb4c1!important}
html[data-theme="dark"] body .badge.muted,html[data-theme="dark"] body .chip.muted{background:#182b38!important;border-color:#354c5c!important;color:#9fb5c2!important}
html[data-theme="dark"] body .chip.price{background:#123329!important;border-color:#2b5a47!important;color:#a6ecc7!important}

/* tables */
html body .table-wrap{background:var(--mg-surface)!important;border-color:var(--mg-line)!important}
html body .table{background:var(--mg-surface)!important;color:var(--mg-text)!important}
html body .table th{background:var(--mg-surface-2)!important;color:var(--mg-muted)!important;border-color:var(--mg-line)!important}
html body .table td{background:var(--mg-surface)!important;color:var(--mg-text-2)!important;border-color:var(--mg-line)!important}
html body .table tr:hover td{background:var(--mg-surface-2)!important}

/* service cards */
html body .service-card,html body .user-service-card,html body .u58-service-card,html body .v703-live-card{
  background:var(--mg-surface)!important;border-color:var(--mg-line)!important;color:var(--mg-text)!important;box-shadow:var(--mg-shadow)!important;
}
html body .service-card:hover,html body .user-service-card:hover,html body .u58-service-card:hover,html body .v703-live-card:hover{box-shadow:var(--mg-shadow-hover)!important}
html body .service-media,html body .service-logo-media,html body .u58-service-logo,html body .v705-service-logo-preview{
  background:var(--mg-surface-2)!important;border-color:var(--mg-line)!important;
}
html body .service-card h3,html body .service-card-body h3,html body .u58-service-body>b,html body .v703-live-card b{color:var(--mg-text)!important}
html body .service-card p,html body .service-card-body p,html body .u58-service-body>em,html body .v703-live-card small{color:var(--mg-muted)!important}
html body .service-fallback-note{background:#fff7e5!important;border-color:#efd49a!important;color:#8b6108!important}
html[data-theme="dark"] body .service-fallback-note{background:#382d18!important;border-color:#645027!important;color:#f5d48b!important}

/* dashboard cards */
html body .v697-shortcuts>a,html body .v697-shortcuts>button,html body .v698-admin-shortcuts>a,
html body .v698-admin-category-grid>a,html body .v697-category-card{border-color:var(--mg-line)!important;box-shadow:var(--mg-shadow)!important}
html[data-theme="dark"] body .v697-shortcuts>a,html[data-theme="dark"] body .v697-shortcuts>button,html[data-theme="dark"] body .v698-admin-shortcuts>a,
html[data-theme="dark"] body .v698-admin-category-grid>a{background:var(--mg-surface)!important;color:var(--mg-text)!important}
html[data-theme="dark"] body .v697-shortcuts b,html[data-theme="dark"] body .v698-admin-shortcuts b,html[data-theme="dark"] body .v698-admin-category-grid b{color:var(--mg-text)!important}
html[data-theme="dark"] body .v697-shortcuts small,html[data-theme="dark"] body .v698-admin-shortcuts small,html[data-theme="dark"] body .v698-admin-category-grid small{color:var(--mg-muted)!important}
html[data-theme="dark"] body .v697-category-card{filter:none!important;background:var(--mg-surface)!important;color:var(--mg-text)!important}
html[data-theme="dark"] body .v697-category-card>b{color:var(--mg-text)!important}
html[data-theme="dark"] body .v697-category-card>p{color:var(--mg-muted)!important}
html[data-theme="dark"] body .v697-category-pills a,html[data-theme="dark"] body .u58-category-tabs a{background:var(--mg-surface-2)!important;border-color:var(--mg-line)!important;color:var(--mg-text-2)!important}
html[data-theme="dark"] body .v697-category-pills a.active,html[data-theme="dark"] body .u58-category-tabs a.active{background:linear-gradient(135deg,var(--mg-accent),var(--mg-accent2))!important;color:#fff!important;border-color:transparent!important}

/* wallet/payment */
html body .amount-input{background:var(--mg-input)!important;border-color:var(--mg-input-line)!important;color:var(--mg-text)!important}
html body .amount-input span{color:var(--mg-text)!important}
html body .quick-amounts button{background:var(--mg-surface-2)!important;border-color:var(--mg-line)!important;color:var(--mg-text-2)!important}
html body .quick-amounts button:hover{border-color:var(--mg-primary)!important;color:var(--mg-primary)!important;background:var(--mg-surface)!important}
html body .upi-id-box,html body .qr-card,html body .qr-render,html body .recharge-submit-panel,html body .wallet-grid .panel{background:var(--mg-surface)!important;border-color:var(--mg-line)!important;color:var(--mg-text)!important}
html body .qr-card{box-shadow:var(--mg-shadow)!important}
html body .qr-placeholder{color:var(--mg-muted)!important}
html body .qr-caption b,html body .qr-caption span{color:var(--mg-text)!important}
html body .qr-caption small{color:var(--mg-muted)!important}
html body .state-mark,html body .safe-noqr,html body .paid-panel{background:var(--mg-surface-2)!important;border-color:var(--mg-line)!important;color:var(--mg-text-2)!important}

/* API center */
html body.role-admin .admin-api-center>.topbar,html body.role-admin .admin-api-center .panel,html body.role-admin .admin-api-center .stat-card{
  background:var(--mg-surface)!important;border-color:var(--mg-line)!important;color:var(--mg-text)!important;box-shadow:var(--mg-shadow)!important;
}
html body.role-admin .admin-api-center>.topbar h1,html body.role-admin .admin-api-center .panel h2,html body.role-admin .admin-api-center .stat-card strong,html body.role-admin .admin-api-center .table td b{color:var(--mg-text)!important}
html body.role-admin .admin-api-center .stat-card span,html body.role-admin .admin-api-center .stat-card small,html body.role-admin .admin-api-center .panel .muted{color:var(--mg-muted)!important}
html body.role-admin .admin-api-center .table th{background:var(--mg-surface-2)!important;color:var(--mg-muted)!important}
html body.role-admin .admin-api-center code{background:var(--mg-surface-2)!important;color:var(--mg-text-2)!important;border:1px solid var(--mg-line)!important;border-radius:6px!important;padding:2px 5px!important}

/* special builder/settings blocks */
html body .v705-user-panel-controls,html body .settings-switch-grid,html body .v704-brand-preview,html body .v705-service-logo-control{
  background:var(--mg-surface-2)!important;border-color:var(--mg-line)!important;color:var(--mg-text)!important;
}
html body .switch{color:var(--mg-text-2)!important}

/* modal/chat */
html body .command-panel,html body .superchat-modal,html body .modal-card{background:var(--mg-surface)!important;border-color:var(--mg-line)!important;color:var(--mg-text)!important}
html body .bubble{background:var(--mg-surface-2)!important;color:var(--mg-text-2)!important;border-color:var(--mg-line)!important}
html body .bubble.mine{background:linear-gradient(135deg,var(--mg-accent),var(--mg-accent2))!important;color:#fff!important;border-color:transparent!important}

/* sidebar dark-mode safety: keep configured light theme readable, not glaring */
html[data-theme="dark"] body[data-sidebar-theme="white"] .sidebar{background:linear-gradient(180deg,#0e2230,#102a39)!important;border-right-color:#294657!important}
html[data-theme="dark"] body[data-sidebar-theme="white"] .v697-side-brand b,html[data-theme="dark"] body[data-sidebar-theme="white"] .v697-side-brand small,html[data-theme="dark"] body[data-sidebar-theme="white"] .v697-side-brand em{color:#e8f4fb!important}
html[data-theme="dark"] body[data-sidebar-theme="white"] .sidebar .nav-item,html[data-theme="dark"] body[data-sidebar-theme="white"] .sidebar .nav-button,html[data-theme="dark"] body[data-sidebar-theme="white"] .v697-side-services>summary,html[data-theme="dark"] body[data-sidebar-theme="white"] .side-tool,html[data-theme="dark"] body[data-sidebar-theme="white"] .side-logout-row{background:rgba(255,255,255,.04)!important;border-color:rgba(255,255,255,.08)!important;color:#e7f2f8!important}
html[data-theme="dark"] body[data-sidebar-theme="white"] .sidebar .nav-label,html[data-theme="dark"] body[data-sidebar-theme="white"] .v697-side-services>summary .nav-label,html[data-theme="dark"] body[data-sidebar-theme="white"] .side-tool span,html[data-theme="dark"] body[data-sidebar-theme="white"] .side-logout-row span{color:#e7f2f8!important}
html[data-theme="dark"] body[data-sidebar-theme="white"] .sidebar .nav-ico{background:rgba(255,255,255,.07)!important;color:#a9d4f0!important}
html[data-theme="dark"] body[data-sidebar-theme="white"] .v697-service-subnav a{background:rgba(255,255,255,.04)!important;border-color:rgba(255,255,255,.06)!important;color:#bdd4e2!important}

/* Login/public surfaces */
html[data-theme="dark"] body .login-card,html[data-theme="dark"] body .login-v55-card,html[data-theme="dark"] body .login-form{background:var(--mg-surface)!important;border-color:var(--mg-line)!important;color:var(--mg-text)!important}
html[data-theme="dark"] body .login-card h2,html[data-theme="dark"] body .login-v55-card h2{color:var(--mg-text)!important}
html[data-theme="dark"] body .login-alert{background:var(--mg-surface-2)!important;border-color:var(--mg-line)!important;color:var(--mg-text-2)!important}

/* high-contrast links */
html body a:not(.btn):focus-visible,html body button:focus-visible{outline:3px solid var(--mg-primary)!important;outline-offset:2px!important}

/* avoid white islands in dark mode from inline/background leftovers */
html[data-theme="dark"] body .empty,html[data-theme="dark"] body .item,html[data-theme="dark"] body .kv,html[data-theme="dark"] body .kv2,
html[data-theme="dark"] body .timeline-row,html[data-theme="dark"] body .thread-item,html[data-theme="dark"] body .special-flow-card,
html[data-theme="dark"] body .compact-service-form,html[data-theme="dark"] body .compact-service-summary,html[data-theme="dark"] body .security-strip,
html[data-theme="dark"] body .print-note,html[data-theme="dark"] body .user-simple-info{background:var(--mg-surface)!important;border-color:var(--mg-line)!important;color:var(--mg-text-2)!important}

/* ensure readonly totals remain legible */
html[data-theme="dark"] body .amt,html[data-theme="dark"] body .big-ref,html[data-theme="dark"] body .status-big{color:var(--mg-text)!important}

@media(max-width:760px){
  html body .notice{font-size:11px!important}
  html body .btn{min-height:38px!important}
}

/* V7.08 form-workspace dark-mode hardening */
html[data-theme="dark"] body .apply-workspace .compact-service-form,
html[data-theme="dark"] body .apply-workspace .compact-service-summary,
html[data-theme="dark"] body .apply-workspace .output-mode-grid>label,
html[data-theme="dark"] body .apply-workspace details.panel,
html[data-theme="dark"] body .apply-workspace .special-flow-card,
html[data-theme="dark"] body .apply-workspace #addaPanMobileOtpPanel,
html[data-theme="dark"] body .apply-workspace #addaVoterPdfOtpPanel,
html[data-theme="dark"] body .apply-workspace .generic-apply-submit-row,
html[data-theme="dark"] body .apply-workspace .special-flow-action-area{
  background:var(--mg-surface)!important;border-color:var(--mg-line)!important;color:var(--mg-text)!important;box-shadow:var(--mg-shadow)!important;
}
html[data-theme="dark"] body .apply-workspace .gov-apply-head,
html[data-theme="dark"] body .apply-workspace .service-intro-note,
html[data-theme="dark"] body .apply-workspace #apiModeOptions,
html[data-theme="dark"] body .apply-workspace .page-note,
html[data-theme="dark"] body .apply-workspace .compact-service-summary .legal-note{
  background:var(--mg-surface-2)!important;border-color:var(--mg-line)!important;color:var(--mg-text-2)!important;
}
html[data-theme="dark"] body .apply-workspace .gov-apply-head h2,
html[data-theme="dark"] body .apply-workspace .form-section-title span,
html[data-theme="dark"] body .apply-workspace .special-flow-card h3,
html[data-theme="dark"] body .apply-workspace #addaPanMobileOtpPanel h3,
html[data-theme="dark"] body .apply-workspace #addaVoterPdfOtpPanel h3{color:var(--mg-text)!important}
html[data-theme="dark"] body .apply-workspace .gov-apply-head p,
html[data-theme="dark"] body .apply-workspace .form-section-title small{color:var(--mg-muted)!important}
html[data-theme="dark"] body .apply-workspace .apply-visual-wrap{background:var(--mg-surface-2)!important;border-color:var(--mg-line)!important}
html[data-theme="dark"] body .apply-workspace .form-section-title{background:transparent!important;border-bottom-color:var(--mg-line)!important;color:var(--mg-text)!important}
html[data-theme="dark"] body .form-section-title{background:linear-gradient(90deg,#122b3d,#132637)!important;border-left-color:var(--mg-primary)!important}
html[data-theme="dark"] body .form-section-title span{color:var(--mg-text)!important}
html[data-theme="dark"] body .form-section-title small{color:var(--mg-muted)!important}
html[data-theme="dark"] body .apply-workspace details.panel summary{background:#162b3b!important;color:#bcaef7!important;border-color:var(--mg-line)!important}
html[data-theme="dark"] body .apply-workspace .compact-service-summary .kv{border-bottom-color:var(--mg-line)!important;background:transparent!important}
html[data-theme="dark"] body .apply-workspace .compact-service-summary .kv b{color:var(--mg-muted)!important}
html[data-theme="dark"] body .apply-workspace .compact-service-summary .kv span{color:var(--mg-text-2)!important}
html[data-theme="dark"] body .apply-workspace .compact-service-summary .kv:nth-of-type(3) span{color:var(--mg-success)!important}
html[data-theme="dark"] body .apply-workspace .generic-apply-submit-row .btn:not(.primary){background:var(--mg-surface-2)!important;border-color:var(--mg-line)!important;color:var(--mg-text-2)!important}

/* Settings and admin builder dark-mode hardening */
html[data-theme="dark"] body .v704-brand-control,html[data-theme="dark"] body .v704-brand-preview,
html[data-theme="dark"] body .v705-service-logo-control,html[data-theme="dark"] body .v705-user-panel-controls,
html[data-theme="dark"] body .settings-switch-grid{background:var(--mg-surface)!important;border-color:var(--mg-line)!important;color:var(--mg-text)!important}
html[data-theme="dark"] body .v704-brand-preview small,html[data-theme="dark"] body .v705-user-panel-controls>small{color:var(--mg-muted)!important}

/* Wallet dark-mode: QR paper intentionally stays white for scan reliability. */
html[data-theme="dark"] body .qr-card{background:#fff!important;color:#10293d!important;border-color:#dce5ea!important}
html[data-theme="dark"] body .qr-card .qr-caption b,html[data-theme="dark"] body .qr-card .qr-caption span{color:#10293d!important}
html[data-theme="dark"] body .qr-card .qr-caption small{color:#657987!important}
html[data-theme="dark"] body .qr-render{background:#fff!important;color:#10293d!important}
html[data-theme="dark"] body .qr-placeholder{color:#657987!important}

/* Standalone registration / ID payment dark-mode */
html[data-theme="dark"] body .register-card,html[data-theme="dark"] body .idpay-card,html[data-theme="dark"] body .gateway-card,
html[data-theme="dark"] body .status-big,html[data-theme="dark"] body .kv2{background:var(--mg-surface)!important;border-color:var(--mg-line)!important;color:var(--mg-text)!important}
html[data-theme="dark"] body .idpay-card h2,html[data-theme="dark"] body .idpay-amount,html[data-theme="dark"] body .kv2 span:last-child{color:var(--mg-text)!important}
html[data-theme="dark"] body .kv2{border-bottom-color:var(--mg-line)!important}
html[data-theme="dark"] body .gateway-card{background:linear-gradient(135deg,#102b28,#102536)!important}
html[data-theme="dark"] body .payu-mark{background:#123329!important;color:#a9efca!important}
html[data-theme="dark"] body .qr-box{background:#fff!important;border-color:#dce5ea!important;color:#10293d!important}


/* =====================================================================
   V7.09.0 · API-FIRST SERVICE ORDERING
   Runtime-ready API services first, API setup second, manual services last.
   Applies consistently to User catalog and Admin Manage Services.
   ===================================================================== */
.service-tier-head,.admin-service-tier-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 10px;padding:12px 14px;border:1px solid var(--line,#dbe6ee);border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbfd);box-shadow:0 4px 14px rgba(20,58,84,.04)}
.service-tier-head>div,.admin-service-tier-head>div{display:grid;gap:3px}.service-tier-head b,.admin-service-tier-head b{font-size:12px;letter-spacing:.35px;color:#173d5a}.service-tier-head small,.admin-service-tier-head small{font-size:9px;color:#6f8596}.service-tier-head>span,.admin-service-tier-head>span{flex:0 0 auto;padding:6px 10px;border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.35px}
.service-tier-head.api-live,.admin-service-tier-api .admin-service-tier-head{border-color:#bcebd6;background:linear-gradient(180deg,#f5fff9,#ecfbf4)}.service-tier-head.api-live>span,.admin-service-tier-api .admin-service-tier-head>span{background:#d8f8e8;color:#08794f}
.service-tier-head.api-setup{border-color:#f0ddb3;background:linear-gradient(180deg,#fffdf8,#fff8e8)}.service-tier-head.api-setup>span{background:#fff0c8;color:#9a6100}
.service-tier-head.manual,.admin-service-tier-manual .admin-service-tier-head{border-color:#dbe5ed;background:linear-gradient(180deg,#fff,#f7fafc)}.service-tier-head.manual>span,.admin-service-tier-manual .admin-service-tier-head>span{background:#edf3f7;color:#526a7b}
.service-tier-grid{margin-bottom:16px}.service-runtime-badge{display:inline-flex;width:max-content;align-items:center;min-height:21px;padding:0 8px;margin-bottom:7px;border-radius:999px;font-size:7px;font-weight:950;letter-spacing:.45px}.service-runtime-badge.live{background:#d9f8e8;color:#07784d}.service-runtime-badge.setup{background:#fff0ca;color:#986000}.service-runtime-badge.manual{background:#edf3f7;color:#526a7b}
.user-service-card.is-api-live{border-top:3px solid #13a96e!important}.user-service-card.is-api-setup{border-top:3px solid #e6a423!important}.user-service-card.is-manual{border-top:3px solid #7a92a5!important}
.admin-service-tier{margin:0 0 20px}.admin-service-tier .admin-dynamic-service-grid{margin-top:0}.admin-dynamic-service-card.is-api-live{border-top:3px solid #13a96e!important}.admin-dynamic-service-card.is-api-setup{border-top:3px solid #e6a423!important}.admin-dynamic-service-card.is-manual{border-top:3px solid #7890a3!important}.admin-service-state.is-setup{background:#fff0c8!important;color:#966000!important;border-color:#f2d78f!important}.admin-service-state.is-manual{background:#edf3f7!important;color:#526a7b!important;border-color:#d7e2e9!important}.admin-service-runtime-note{margin:0 14px 10px;padding:8px 10px;border-radius:9px;border:1px solid #f0d89a;background:#fff9e9;color:#87600c;font-size:8.5px;line-height:1.4;font-weight:750}
html[data-theme="dark"] .service-tier-head,html[data-theme="dark"] .admin-service-tier-head{background:#132633;border-color:#2f4858}html[data-theme="dark"] .service-tier-head b,html[data-theme="dark"] .admin-service-tier-head b{color:#eef8ff}html[data-theme="dark"] .service-tier-head small,html[data-theme="dark"] .admin-service-tier-head small{color:#aac0ce}html[data-theme="dark"] .service-tier-head.api-live,html[data-theme="dark"] .admin-service-tier-api .admin-service-tier-head{background:#112d27;border-color:#245c49}html[data-theme="dark"] .service-tier-head.api-setup{background:#302817;border-color:#655326}html[data-theme="dark"] .admin-service-runtime-note{background:#302817;border-color:#655326;color:#f4d995}
@media(max-width:760px){.service-tier-head,.admin-service-tier-head{align-items:flex-start;flex-direction:column}.service-tier-head>span,.admin-service-tier-head>span{align-self:flex-start}}

/* V7.09 service-tier accents */
.u58-band.api-setup-band{border-left-color:#e5a223!important;background:#fff9ea!important}.u58-band.api-setup-band>strong{background:#fff0c8!important;color:#966000!important}.u58-service-card.api-setup-card{border-top-color:#e5a223!important}.u58-service-card.manual-card{border-top-color:#7b91a2!important}
html[data-theme="dark"] .u58-band.api-setup-band{background:#302817!important;border-left-color:#e5a223!important;color:#f5e7ba!important}


/* =====================================================================
   V7.15.0 · FINAL UNIFIED SERVICE CARDS + STRONGER SIDEBAR
   Dashboard LIVE API cards now use the same visual language and size as
   the service-category cards below. Sidebar navigation is slightly larger,
   bolder and uses a consistent matching surface in User/Admin panels.
   ===================================================================== */
:root{--v715-side-btn-h:54px;--v715-side-btn-bg:rgba(255,255,255,.065);--v715-side-btn-border:rgba(255,255,255,.085)}

/* ----- Equal, slightly larger sidebar buttons ----- */
html body .sidebar .nav-item,
html body .sidebar .nav-button,
html body .v697-side-services>summary,
html body .side-tool,
html body .side-logout-row{
  min-height:var(--v715-side-btn-h)!important;height:var(--v715-side-btn-h)!important;
  margin:0 0 7px!important;padding:0 13px!important;border-radius:13px!important;
  gap:11px!important;background:var(--v715-side-btn-bg)!important;border:1px solid var(--v715-side-btn-border)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
html body .sidebar .nav-label,html body .v697-side-services>summary .nav-label,
html body .side-tool span,html body .side-logout-row span{
  font-size:13.2px!important;line-height:1.08!important;font-weight:900!important;letter-spacing:.05px!important;
}
html body .sidebar .nav-ico{width:31px!important;height:31px!important;flex:0 0 31px!important;border-radius:10px!important;background:rgba(255,255,255,.09)!important}
html body .sidebar .nav-ico svg{width:18px!important;height:18px!important}
html body .sidebar .nav-item:hover,html body .sidebar .nav-button:hover,html body .v697-side-services>summary:hover,
html body .side-tool:hover,html body .side-logout-row:hover{background:rgba(255,255,255,.105)!important;border-color:rgba(255,255,255,.13)!important;transform:none!important}
html body .sidebar .nav-item.active,html body .sidebar .nav-button.active{
  background:#f8fbff!important;border-color:#fff!important;box-shadow:0 9px 22px rgba(3,23,40,.20)!important;
}
html body .v697-service-subnav{padding:4px 0 10px 36px!important;gap:5px!important}
html body .v697-service-subnav a{min-height:38px!important;padding:7px 10px!important;border-radius:10px!important;font-size:11.1px!important;font-weight:850!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.055)!important}
html body .v697-service-subnav a:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.10)!important}
html body .side-footer{gap:8px!important;padding-top:10px!important}

/* White-sidebar admin option stays coherent */
html body[data-sidebar-theme="white"] .sidebar .nav-item,
html body[data-sidebar-theme="white"] .sidebar .nav-button,
html body[data-sidebar-theme="white"] .v697-side-services>summary,
html body[data-sidebar-theme="white"] .side-tool,
html body[data-sidebar-theme="white"] .side-logout-row{
  background:#fff!important;border-color:#dfe8ee!important;color:#21445d!important;box-shadow:0 4px 11px rgba(20,55,80,.035)!important;
}
html body[data-sidebar-theme="white"] .sidebar .nav-item:hover,
html body[data-sidebar-theme="white"] .sidebar .nav-button:hover,
html body[data-sidebar-theme="white"] .v697-side-services>summary:hover{background:#f4f8fb!important;border-color:#cfdde6!important}

/* ----- LIVE API service section: same-size premium cards ----- */
html body .v703-live-services{padding:15px!important;border-radius:17px!important;background:linear-gradient(180deg,#f5fffb,#eefbf6)!important;border:1px solid #ccebe0!important;box-shadow:0 8px 22px rgba(20,83,68,.055)!important}
html body .v703-live-head{margin-bottom:12px!important}
html body .v715-live-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
html body .v715-live-service-card{
  position:relative!important;display:flex!important;flex-direction:column!important;min-width:0!important;min-height:180px!important;
  padding:15px!important;border-radius:15px!important;border:1px solid #dce8ed!important;background:#fff!important;
  box-shadow:0 8px 22px rgba(19,56,84,.055)!important;transition:transform .18s ease,box-shadow .18s ease!important;overflow:hidden!important;
}
html body .v715-live-service-card:after{content:"";position:absolute;width:92px;height:92px;border-radius:50%;right:-34px;top:-34px;background:currentColor;opacity:.055;pointer-events:none}
html body .v715-live-service-card:hover{transform:translateY(-3px)!important;box-shadow:0 15px 30px rgba(18,58,88,.11)!important}
html body .v715-live-service-icon{width:48px!important;height:48px!important;display:grid!important;place-items:center!important;margin-bottom:11px!important;border-radius:13px!important;background:#fff!important;border:1px solid #dce7ef!important;box-shadow:0 5px 12px rgba(22,60,86,.05)!important}
html body .v715-live-service-icon img{width:34px!important;height:34px!important;object-fit:contain!important}
html body .v715-live-service-card>small{font-size:7.1px!important;line-height:1.1!important;font-weight:950!important;letter-spacing:.35px!important;text-transform:uppercase!important;color:#718795!important;margin-bottom:5px!important}
html body .v715-live-service-card>b{font-size:13.8px!important;line-height:1.18!important;color:#173d5a!important;margin-bottom:7px!important;min-height:32px!important}
html body .v715-live-service-card>p{font-size:8.9px!important;line-height:1.42!important;color:#718596!important;margin:0!important;min-height:38px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
html body .v715-live-service-card>div{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding-top:10px!important}
html body .v715-live-service-card>div strong{font-size:14px!important;font-weight:950!important;color:currentColor!important}
html body .v715-live-service-card>div span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:105px!important;height:34px!important;padding:0 11px!important;border-radius:9px!important;color:#fff!important;background:currentColor!important;box-shadow:0 8px 16px rgba(32,83,176,.15)!important;font-size:9.5px!important;font-weight:950!important;white-space:nowrap!important}
html body .v715-live-service-card>div span i{font-style:normal!important;font-size:10.5px!important;margin-left:4px!important}
html body .v715-live-badge{position:absolute!important;right:10px!important;top:10px!important;z-index:2!important;display:inline-flex!important;align-items:center!important;min-height:20px!important;padding:0 7px!important;border-radius:999px!important;background:#dbf8e9!important;color:#087b50!important;border:1px solid #bdebd6!important;font-size:6.8px!important;font-weight:950!important;letter-spacing:.4px!important}

html body .v715-live-service-card.tone-pink{color:#ea2f81!important;background:linear-gradient(145deg,#fff7fb,#fff1f7)!important;border-color:#f1dce7!important}
html body .v715-live-service-card.tone-blue{color:#1f68ed!important;background:linear-gradient(145deg,#f5faff,#eef6ff)!important;border-color:#d8e6f4!important}
html body .v715-live-service-card.tone-green{color:#08a768!important;background:linear-gradient(145deg,#f4fff9,#edfbf4)!important;border-color:#d5ecdf!important}
html body .v715-live-service-card.tone-purple{color:#7444e8!important;background:linear-gradient(145deg,#faf7ff,#f3efff)!important;border-color:#e1d8f5!important}
html body .v715-live-service-card.tone-orange{color:#ef7b20!important;background:linear-gradient(145deg,#fff9f3,#fff2e7)!important;border-color:#f0dfce!important}
html body .v715-live-service-card.tone-teal{color:#0b9b91!important;background:linear-gradient(145deg,#f2fffd,#ebfaf8)!important;border-color:#d1ece8!important}
html body .v715-live-service-card.tone-cyan{color:#1597c5!important;background:linear-gradient(145deg,#f4fcff,#edf9fd)!important;border-color:#d5eaf2!important}

/* Category cards below stay visually equal to LIVE cards */
html body .v697-category-card{min-height:180px!important;padding:15px!important;border-radius:15px!important}
html body .v697-category-icon{width:48px!important;height:48px!important;border-radius:13px!important;margin-bottom:11px!important}
html body .v697-category-icon img{width:34px!important;height:34px!important}
html body .v697-category-card>b{font-size:13.8px!important;line-height:1.18!important}
html body .v697-category-card>p{font-size:8.9px!important;line-height:1.42!important;min-height:38px!important}
html body .v697-category-card>div span{min-width:105px!important;height:34px!important;padding:0 11px!important;border-radius:9px!important}

/* Dark-mode parity */
html[data-theme="dark"] body .v703-live-services{background:#112b26!important;border-color:#285247!important}
html[data-theme="dark"] body .v715-live-service-card{background:var(--mg-surface,#152834)!important;border-color:var(--mg-line,#314957)!important;color:#8fdcc4!important}
html[data-theme="dark"] body .v715-live-service-card>b{color:var(--mg-text,#edf7fb)!important}
html[data-theme="dark"] body .v715-live-service-card>small,html[data-theme="dark"] body .v715-live-service-card>p{color:var(--mg-muted,#a7bcc8)!important}
html[data-theme="dark"] body .v715-live-service-icon{background:#172e3b!important;border-color:#34505f!important}
html[data-theme="dark"] body .v715-live-badge{background:#143d30!important;color:#9be9c4!important;border-color:#286247!important}
html[data-theme="dark"] body .v715-live-service-card>div span{color:#fff!important}

@media(max-width:1600px){html body .v715-live-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1320px){html body .v715-live-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){html body .v715-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){html body .v715-live-grid{grid-template-columns:1fr!important}}
/* V7.15 fixed desktop card geometry */
@media(min-width:621px){
  html body .v715-live-service-card,html body .v697-category-card{height:180px!important;min-height:180px!important;max-height:180px!important}
  html body .v715-live-service-card>b{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;max-height:34px!important}
}
@media(max-width:620px){html body .v715-live-service-card,html body .v697-category-card{height:auto!important;max-height:none!important;min-height:176px!important}}


/* =====================================================================
   V7.16.0 · ADMIN SETTINGS CONTROL HUB VISIBILITY / COMFORT PASS
   Makes every admin setting larger, clearer and easier to manage in both
   light and dark mode without changing functional behavior.
   ===================================================================== */
html body.role-admin .settings-admin-page .settings-control-content{max-width:1760px!important;padding:24px 26px 40px!important}
html body.role-admin .settings-admin-page .topbar{min-height:82px!important;padding:15px 26px!important}
html body.role-admin .settings-admin-page .topbar h1{font-size:24px!important;line-height:1.1!important;letter-spacing:-.3px!important}
html body.role-admin .settings-admin-page .topbar .sub{font-size:12px!important;line-height:1.45!important;margin-top:5px!important}
html body.role-admin .settings-admin-page .wallet-pill{font-size:12px!important;padding:10px 14px!important;border-radius:12px!important}

html body.role-admin .settings-control-nav{position:sticky!important;top:10px!important;z-index:35!important;display:grid!important;grid-template-columns:minmax(220px,.85fr) minmax(0,2.2fr) auto!important;align-items:center!important;gap:16px!important;margin:0 0 20px!important;padding:14px 16px!important;border:1px solid #d9e5ee!important;border-radius:17px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(14px)!important;box-shadow:0 10px 28px rgba(17,54,82,.08)!important}
html body.role-admin .settings-control-nav-copy{display:grid!important;gap:3px!important}
html body.role-admin .settings-control-nav-copy b{font-size:14px!important;color:#163d5b!important}
html body.role-admin .settings-control-nav-copy small{font-size:9.5px!important;color:#71889a!important;line-height:1.35!important}
html body.role-admin .settings-control-links{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
html body.role-admin .settings-control-links a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:0 11px!important;border-radius:9px!important;background:#f4f8fc!important;border:1px solid #dce6ee!important;color:#244d6b!important;font-size:10.5px!important;font-weight:850!important;transition:.18s ease!important}
html body.role-admin .settings-control-links a:hover{background:#eaf3ff!important;border-color:#b9d2ef!important;transform:translateY(-1px)!important}
html body.role-admin .settings-top-save{min-height:40px!important;padding:0 17px!important;font-size:11px!important;white-space:nowrap!important}

html body.role-admin .settings-admin-page .settings-hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(430px,.85fr)!important;gap:20px!important;align-items:start!important}
html body.role-admin .settings-admin-page .panel{padding:24px 24px 25px!important;margin-bottom:20px!important;border-radius:18px!important;box-shadow:0 9px 26px rgba(18,54,82,.065)!important}
html body.role-admin .settings-admin-page .panel-head{margin-bottom:19px!important;gap:18px!important;align-items:flex-start!important}
html body.role-admin .settings-admin-page .panel-head h2,
html body.role-admin .settings-admin-page .panel>h2{font-size:21px!important;line-height:1.16!important;letter-spacing:-.2px!important;color:#182278!important}
html body.role-admin .settings-admin-page .panel-head p,
html body.role-admin .settings-admin-page .muted{font-size:11px!important;line-height:1.55!important;color:#667f92!important}
html body.role-admin .settings-admin-page .command-kicker{font-size:9px!important;letter-spacing:.16em!important;line-height:1.25!important}
html body.role-admin .settings-admin-page .chip{font-size:9.5px!important;padding:7px 11px!important;min-height:28px!important}

html body.role-admin .settings-admin-page .v704-brand-preview{padding:17px!important;gap:16px!important;border-radius:15px!important}
html body.role-admin .settings-admin-page .v704-brand-logo{width:78px!important;height:78px!important;flex:0 0 78px!important;border-radius:16px!important}
html body.role-admin .settings-admin-page .v704-brand-logo img{max-width:70px!important;max-height:70px!important}
html body.role-admin .settings-admin-page .v704-brand-preview b{font-size:19px!important;line-height:1.12!important}
html body.role-admin .settings-admin-page .v704-brand-preview small{font-size:10.5px!important;line-height:1.4!important}

html body.role-admin .settings-admin-page .form-grid{gap:17px 18px!important}
html body.role-admin .settings-admin-page .field{gap:8px!important}
html body.role-admin .settings-admin-page .field label{font-size:11.5px!important;font-weight:900!important;color:#1b4765!important;line-height:1.3!important}
html body.role-admin .settings-admin-page .field small{font-size:9.4px!important;line-height:1.45!important;color:#70889a!important}
html body.role-admin .settings-admin-page .field input:not([type=checkbox]):not([type=radio]),
html body.role-admin .settings-admin-page .field select,
html body.role-admin .settings-admin-page .field textarea,
html body.role-admin .settings-admin-page .table input:not([type=checkbox]):not([type=radio]),
html body.role-admin .settings-admin-page .table select{min-height:48px!important;padding:11px 13px!important;border-radius:10px!important;border:1px solid #cfdde8!important;background:#fff!important;color:#173b55!important;font-size:12px!important;font-weight:650!important;box-shadow:0 2px 6px rgba(17,54,82,.025)!important}
html body.role-admin .settings-admin-page .field textarea{min-height:92px!important;line-height:1.5!important;resize:vertical!important}
html body.role-admin .settings-admin-page .field input:focus,
html body.role-admin .settings-admin-page .field select:focus,
html body.role-admin .settings-admin-page .field textarea:focus{border-color:#6f9eff!important;box-shadow:0 0 0 4px rgba(47,109,255,.09)!important;outline:none!important}
html body.role-admin .settings-admin-page .field input[type=file]{padding:8px 10px!important}

html body.role-admin .settings-admin-page .switch{display:flex!important;align-items:center!important;gap:10px!important;min-height:46px!important;padding:10px 12px!important;border-radius:11px!important;border:1px solid #dbe6ee!important;background:#f8fbfd!important;color:#264b65!important;font-size:10.8px!important;font-weight:800!important;line-height:1.35!important;cursor:pointer!important}
html body.role-admin .settings-admin-page .switch:hover{border-color:#bcd3e6!important;background:#f3f8fc!important}
html body.role-admin .settings-admin-page .switch input[type=checkbox],
html body.role-admin .settings-admin-page .switch input[type=radio]{width:20px!important;height:20px!important;min-width:20px!important;accent-color:#3577ef!important}
html body.role-admin .settings-admin-page .settings-switch-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important;padding:12px!important;border:1px solid #dbe6ee!important;border-radius:13px!important;background:#f8fbfd!important}
html body.role-admin .settings-admin-page .settings-switch-grid .switch{background:#fff!important;min-height:52px!important}

html body.role-admin .settings-admin-page .notice{padding:14px 16px!important;border-radius:11px!important;font-size:10.8px!important;line-height:1.55!important}
html body.role-admin .settings-admin-page .notice code{display:inline-block!important;max-width:100%!important;overflow-wrap:anywhere!important;font-size:10.2px!important;font-weight:750!important}
html body.role-admin .settings-admin-page .btn{min-height:44px!important;padding:10px 16px!important;border-radius:10px!important;font-size:11px!important;font-weight:900!important}
html body.role-admin .settings-admin-page .signature-btn{min-height:50px!important;font-size:12px!important;padding:0 22px!important}

html body.role-admin .settings-admin-page .table-wrap{border-radius:13px!important;border:1px solid #d6e3ec!important;overflow:auto!important}
html body.role-admin .settings-admin-page .table{font-size:11px!important}
html body.role-admin .settings-admin-page .table th{padding:13px 14px!important;font-size:9.5px!important;letter-spacing:.06em!important;background:#eef5f9!important;color:#536f82!important}
html body.role-admin .settings-admin-page .table td{padding:14px!important;vertical-align:middle!important;font-size:11.2px!important}
html body.role-admin .settings-admin-page .table td b{font-size:11.5px!important;color:#194460!important}
html body.role-admin .settings-admin-page #id-fees .table input[type=number]{width:190px!important;max-width:190px!important;min-height:46px!important;font-size:12px!important}

html body.role-admin .settings-admin-page section[id]{scroll-margin-top:92px!important}

/* Dark-mode parity for large Admin Settings controls */
html[data-theme="dark"] body.role-admin .settings-control-nav{background:rgba(16,36,50,.96)!important;border-color:#2c4c60!important;box-shadow:0 12px 30px rgba(0,0,0,.24)!important}
html[data-theme="dark"] body.role-admin .settings-control-nav-copy b{color:#f0f7fb!important}
html[data-theme="dark"] body.role-admin .settings-control-nav-copy small{color:#9fb4c2!important}
html[data-theme="dark"] body.role-admin .settings-control-links a{background:#132c3c!important;border-color:#2b4a5d!important;color:#d9eaf4!important}
html[data-theme="dark"] body.role-admin .settings-control-links a:hover{background:#19384b!important;border-color:#3a6178!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .panel-head h2,
html[data-theme="dark"] body.role-admin .settings-admin-page .panel>h2{color:#eef7ff!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .panel-head p,
html[data-theme="dark"] body.role-admin .settings-admin-page .muted,
html[data-theme="dark"] body.role-admin .settings-admin-page .field small{color:#9fb4c2!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .field label{color:#dceaf3!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .field input:not([type=checkbox]):not([type=radio]),
html[data-theme="dark"] body.role-admin .settings-admin-page .field select,
html[data-theme="dark"] body.role-admin .settings-admin-page .field textarea,
html[data-theme="dark"] body.role-admin .settings-admin-page .table input:not([type=checkbox]):not([type=radio]),
html[data-theme="dark"] body.role-admin .settings-admin-page .table select{background:#102736!important;border-color:#315165!important;color:#edf7fd!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .switch{background:#102736!important;border-color:#2d4e62!important;color:#e1edf4!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .switch:hover{background:#153043!important;border-color:#3a6278!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .settings-switch-grid{background:#0d2230!important;border-color:#2b495c!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .settings-switch-grid .switch{background:#132c3c!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .table-wrap{border-color:#2d4d61!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .table th{background:#132b3a!important;color:#b7cbd7!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .table td{background:#0f2634!important;color:#e7f1f7!important;border-color:#274555!important}
html[data-theme="dark"] body.role-admin .settings-admin-page .table td b{color:#eef8ff!important}

@media(max-width:1280px){
 html body.role-admin .settings-admin-page .settings-hero-grid{grid-template-columns:1fr!important}
 html body.role-admin .settings-control-nav{grid-template-columns:1fr auto!important}
 html body.role-admin .settings-control-links{grid-column:1/-1!important;order:3!important}
 html body.role-admin .settings-admin-page .settings-switch-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 html body.role-admin .settings-admin-page .settings-control-content{padding:14px!important}
 html body.role-admin .settings-control-nav{position:relative!important;top:auto!important;grid-template-columns:1fr!important;padding:12px!important}
 html body.role-admin .settings-control-links{grid-column:auto!important}
 html body.role-admin .settings-top-save{width:100%!important}
 html body.role-admin .settings-admin-page .panel{padding:18px 15px!important;border-radius:15px!important}
 html body.role-admin .settings-admin-page .form-grid,
 html body.role-admin .settings-admin-page .settings-switch-grid{grid-template-columns:1fr!important}
 html body.role-admin .settings-admin-page .panel-head h2,
 html body.role-admin .settings-admin-page .panel>h2{font-size:18px!important}
}


/* =====================================================================
   V7.17.0 · LIVE SERVICE CARD FIT + UNIFIED DASHBOARD CARD HEIGHT
   Screenshot-driven final polish: no clipped price/CTA, live cards and
   category cards share one clean height and visual rhythm.
   ===================================================================== */
html body .v715-live-grid{align-items:stretch!important;grid-auto-rows:1fr!important}
html body .v715-live-service-card,
html body .v697-category-card{
  height:202px!important;min-height:202px!important;max-height:202px!important;
  overflow:hidden!important;padding:15px!important;border-radius:16px!important;
  display:flex!important;flex-direction:column!important;
}
html body .v715-live-service-icon{width:44px!important;height:44px!important;margin-bottom:8px!important;border-radius:12px!important;flex:0 0 44px!important}
html body .v715-live-service-icon img{width:31px!important;height:31px!important}
html body .v715-live-service-card>small{font-size:6.9px!important;line-height:1!important;margin-bottom:4px!important;min-height:7px!important}
html body .v715-live-service-card>b{font-size:13.2px!important;line-height:1.17!important;min-height:31px!important;max-height:31px!important;margin:0 0 5px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
html body .v715-live-service-card>p{font-size:8.25px!important;line-height:1.34!important;min-height:23px!important;max-height:23px!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
html body .v715-live-service-card>div{margin-top:auto!important;padding-top:7px!important;min-height:36px!important;flex:0 0 36px!important}
html body .v715-live-service-card>div strong{font-size:13px!important;line-height:1!important}
html body .v715-live-service-card>div span{min-width:104px!important;height:34px!important;padding:0 10px!important;border-radius:9px!important;font-size:9.2px!important}
html body .v715-live-badge{right:9px!important;top:9px!important;min-height:19px!important;padding:0 7px!important;font-size:6.4px!important}

/* Category cards now use the exact same overall height/rhythm */
html body .v697-category-icon{width:44px!important;height:44px!important;margin-bottom:9px!important;border-radius:12px!important;flex:0 0 44px!important}
html body .v697-category-icon img{width:31px!important;height:31px!important}
html body .v697-category-card>b{font-size:13.2px!important;line-height:1.17!important;min-height:31px!important;max-height:31px!important;margin:0 0 5px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
html body .v697-category-card>p{font-size:8.25px!important;line-height:1.34!important;min-height:23px!important;max-height:23px!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
html body .v697-category-card>div:last-child{margin-top:auto!important;min-height:36px!important;flex:0 0 36px!important;padding-top:7px!important}
html body .v697-category-card>div strong{font-size:13px!important;line-height:1!important}
html body .v697-category-card>div span{min-width:104px!important;height:34px!important;padding:0 10px!important;border-radius:9px!important}
html body .v697-category-card>div span::before{font-size:9.2px!important}
html body .v697-category-card>div span::after{font-size:10px!important}

/* Ensure dashboard sections never crop their own cards */
html body .v714-live-section,html body .v697-services-section{overflow:visible!important}
html body .v714-live-section{padding-bottom:15px!important}
html body .v697-services-section{padding-bottom:4px!important}

/* Sidebar small visual bump for clarity without stealing content width */
html body .sidebar .nav-item,html body .sidebar .nav-button,html body .v697-side-services>summary{min-height:56px!important;height:56px!important;font-weight:900!important}
html body .sidebar .nav-label{font-size:14.2px!important;font-weight:900!important}
html body .v697-service-subnav a{min-height:36px!important;font-size:11.3px!important;font-weight:850!important}

html[data-theme="dark"] body .v715-live-service-card,
html[data-theme="dark"] body .v697-category-card{background:var(--mg-surface,#152834)!important;border-color:var(--mg-line,#314957)!important;box-shadow:0 8px 20px rgba(0,0,0,.16)!important}
html[data-theme="dark"] body .v715-live-service-card>b,
html[data-theme="dark"] body .v697-category-card>b{color:var(--mg-text,#edf7fb)!important}
html[data-theme="dark"] body .v715-live-service-card>p,
html[data-theme="dark"] body .v697-category-card>p{color:var(--mg-muted,#a7bcc8)!important}

@media(max-width:620px){
  html body .v715-live-service-card,html body .v697-category-card{height:auto!important;max-height:none!important;min-height:190px!important}
  html body .v715-live-service-card>b,html body .v697-category-card>b{max-height:none!important}
  html body .v715-live-service-card>p,html body .v697-category-card>p{max-height:none!important}
}

/* ============================================================
   V7.18.0 · GLOBAL FORM COMFORT + FULL PORTAL VISIBILITY PASS
   Purpose: make every admin/user form, submit area, table, ledger,
   history, settings, approval and control screen clearer, larger and
   easier to manage across the full portal.
   ============================================================ */
:root{
  --mg-comfort-input-height:52px;
  --mg-comfort-font:14px;
  --mg-comfort-label:13px;
  --mg-comfort-radius:12px;
}

/* Desktop-wide readability and spacing */
body{font-size:14px!important;line-height:1.45!important}
.content{max-width:1760px!important;padding:22px 24px 36px!important}
.topbar h1{font-size:28px!important;line-height:1.15!important}
.topbar .sub{font-size:13px!important;line-height:1.45!important}
.panel{padding:24px!important;border-radius:14px!important}
.panel-head{margin-bottom:18px!important}
.panel h2{font-size:20px!important;line-height:1.2!important}
.panel h3{font-size:17px!important;line-height:1.25!important}
.muted,.panel p,.panel small{line-height:1.5!important}
.stats{gap:18px!important}
.stat{padding:22px!important;min-height:122px!important;border-radius:14px!important}
.stat small{font-size:12px!important}
.stat strong{font-size:40px!important;line-height:1.05!important}
.stat .trend{font-size:11px!important}
.notice{padding:16px 18px!important;font-size:14px!important;border-radius:12px!important}
.badge,.chip{font-size:11px!important;padding:7px 10px!important}

/* Sidebar comfort for both admin and user panels */
.sidebar{width:270px!important;padding:0 12px 14px!important}
.main{margin-left:270px!important}
.sidebar .brand{height:90px!important;min-height:90px!important;padding:14px 16px!important}
.sidebar .brand img,.sidebar .brand-mark{width:46px!important;height:46px!important}
.sidebar .brand b{font-size:14px!important;line-height:1.2!important}
.sidebar .brand small{font-size:9px!important;line-height:1.35!important}
.sidebar nav{padding:10px 0!important}
.sidebar .nav-section{font-size:9px!important;letter-spacing:.12em!important;margin:15px 10px 7px!important}
.sidebar .nav-item,.sidebar .nav-button{
  min-height:50px!important;
  height:auto!important;
  padding:11px 14px!important;
  border-radius:12px!important;
  margin-bottom:6px!important;
  border-width:1px!important;
}
.sidebar .nav-item .nav-ico{width:20px!important;height:20px!important;min-width:20px!important}
.sidebar .nav-label{font-size:13px!important;font-weight:900!important;line-height:1.25!important}
.sidebar .nav-badge{min-width:22px!important;height:22px!important;font-size:10px!important;padding:0 7px!important}
.side-user{padding:14px 12px!important;border-radius:12px!important}

/* Form readability across the full portal */
.form-grid{gap:18px!important}
.field{gap:8px!important}
.content label,.panel label,.login-card label,.field label{
  font-size:var(--mg-comfort-label)!important;
  font-weight:800!important;
  line-height:1.35!important;
}
.search,
.field input,.field select,.field textarea,
.panel input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
.panel select,
.panel textarea,
.login-card input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
.login-card select,
.login-card textarea{
  font-size:var(--mg-comfort-font)!important;
  line-height:1.45!important;
  border-radius:var(--mg-comfort-radius)!important;
  border:1px solid #cad7e7!important;
  background:#fff!important;
}
.search,
.field input,.field select,
.panel input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="file"]),
.panel select,
.login-card input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="file"]),
.login-card select{
  min-height:var(--mg-comfort-input-height)!important;
  padding:14px 16px!important;
}
.field textarea,
.panel textarea,
.login-card textarea{
  min-height:128px!important;
  padding:14px 16px!important;
}
input[type="file"]{font-size:13px!important;padding:12px 14px!important;border-radius:12px!important}
input[type="checkbox"],input[type="radio"]{transform:scale(1.08);accent-color:#2468ff}
::placeholder{font-size:13px;opacity:.9}
.help,.hint,.field small,.muted small{font-size:11px!important;line-height:1.45!important}

/* Buttons / submit areas */
.btn,
button.btn,
a.btn,
input[type="submit"],
input[type="button"],
button[type="submit"],
button[type="button"]{
  min-height:46px!important;
  padding:12px 18px!important;
  font-size:13px!important;
  font-weight:900!important;
  border-radius:12px!important;
}
.btn.sm{min-height:40px!important;padding:9px 12px!important;font-size:12px!important;border-radius:10px!important}
.category-btn{padding:10px 14px!important;font-size:12px!important}
.wallet-pill{padding:12px 15px!important;font-size:13px!important}
.icon-btn{width:44px!important;height:44px!important;border-radius:12px!important}

/* Tables / ledger / history / request lists */
.table-wrap{border-radius:14px!important;border-color:#d9e4f1!important}
.table{font-size:13px!important}
.table th{
  font-size:11px!important;
  padding:14px 16px!important;
  line-height:1.35!important;
  letter-spacing:.05em!important;
}
.table td{
  font-size:13px!important;
  padding:14px 16px!important;
  line-height:1.45!important;
  vertical-align:middle!important;
}
.table td b,.table td strong{font-size:13px!important}
.table td small{font-size:11px!important;line-height:1.4!important}
.table td .btn{min-height:38px!important;padding:8px 13px!important;font-size:12px!important}

/* Superchat / popup visibility */
.chat-shell{gap:14px!important}
.thread-item{padding:12px!important;border-radius:12px!important}
.thread-item b{font-size:13px!important}
.thread-item small{font-size:11px!important}
.chat-box{border-radius:16px!important}
.bubble{font-size:13px!important;line-height:1.5!important}
.chat-compose textarea{min-height:56px!important;padding:12px 14px!important;font-size:13px!important}

/* Utility polish for dense management pages */
.toolbar{gap:12px!important}
.toolbar .search{min-width:260px!important}
.announcement{padding:16px 18px!important;border-radius:14px!important}
.recharge-summary strong{font-size:28px!important}
.recharge-summary span,.recharge-summary small{font-size:11px!important}

/* Responsive keep-safe */
@media(max-width:1200px){
  .sidebar{width:258px!important}
  .main{margin-left:258px!important}
  .content{padding:18px 18px 28px!important}
}
@media(max-width:980px){
  .sidebar{width:270px!important}
  .main{margin-left:0!important}
  .content{padding:14px!important}
  .panel{padding:18px!important}
  .table th,.table td{padding:12px!important}
}
@media(max-width:620px){
  .topbar h1{font-size:22px!important}
  .panel h2{font-size:18px!important}
  .stat strong{font-size:30px!important}
  .field textarea,.panel textarea,.login-card textarea{min-height:110px!important}
  .btn,input[type="submit"],button[type="submit"]{min-height:44px!important}
}

/* ============================================================
   V7.19.0 · LIVE API CTA VISIBILITY FIX
   Fix blank white Open Service CTA caused by currentColor resolving
   from the child span's white text color. Use explicit tone variable.
   ============================================================ */
html body .v715-live-service-card{--v715-tone:#2563eb!important}
html body .v715-live-service-card.tone-pink{--v715-tone:#ea2f81!important;color:var(--v715-tone)!important}
html body .v715-live-service-card.tone-blue{--v715-tone:#2563eb!important;color:var(--v715-tone)!important}
html body .v715-live-service-card.tone-green{--v715-tone:#08a768!important;color:var(--v715-tone)!important}
html body .v715-live-service-card.tone-purple{--v715-tone:#7444e8!important;color:var(--v715-tone)!important}
html body .v715-live-service-card.tone-orange{--v715-tone:#ef7b20!important;color:var(--v715-tone)!important}
html body .v715-live-service-card.tone-teal{--v715-tone:#0b9b91!important;color:var(--v715-tone)!important}
html body .v715-live-service-card.tone-cyan{--v715-tone:#1597c5!important;color:var(--v715-tone)!important}
html body .v715-live-service-card>div strong{color:var(--v715-tone)!important}
html body .v715-live-service-card>div span{
  background:var(--v715-tone)!important;
  color:#fff!important;
  border:1px solid color-mix(in srgb,var(--v715-tone) 78%,#000 22%)!important;
  box-shadow:0 8px 18px color-mix(in srgb,var(--v715-tone) 22%,transparent)!important;
  opacity:1!important;
  visibility:visible!important;
}
html body .v715-live-service-card>div span i{color:#fff!important}
html body .v715-live-service-card:hover>div span{filter:brightness(.95)!important;transform:translateY(-1px)!important}
html[data-theme="dark"] body .v715-live-service-card>div span{
  background:var(--v715-tone)!important;
  color:#fff!important;
  border-color:color-mix(in srgb,var(--v715-tone) 72%,#fff 28%)!important;
}
@supports not (color:color-mix(in srgb,red,blue)){
  html body .v715-live-service-card>div span{border-color:rgba(0,0,0,.08)!important;box-shadow:0 8px 18px rgba(20,70,160,.18)!important}
}

/* =====================================================================
   V7.20.0 · FINAL PRODUCTION LUXURY + FULL PORTAL CROSSCHECK POLISH
   Authoritative last layer for service forms, logos, management screens,
   sidebar hierarchy, dark mode and responsive consistency.
   ===================================================================== */

/* ---------- Premium global surface rhythm ---------- */
html body{background:linear-gradient(180deg,#f4f8fc 0%,#f7f9fc 52%,#f2f6fa 100%)!important}
html body .panel{border-color:#dce6ef!important;box-shadow:0 12px 32px rgba(28,58,88,.065)!important}
html body .panel-head{border-bottom-color:#e5edf3!important}
html body .table-wrap{box-shadow:0 8px 24px rgba(30,61,90,.045)!important;background:#fff!important}
html body .table tbody tr:nth-child(even) td{background:rgba(247,250,253,.58)!important}
html body .table tbody tr:hover td{background:#f2f8fd!important}

/* ---------- Sidebar: equal, clearer, luxury navigation ---------- */
html body .sidebar .nav-item,
html body .sidebar .nav-button,
html body .v697-side-services>summary{
  min-height:54px!important;
  border-radius:13px!important;
  margin-bottom:6px!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
html body .sidebar .nav-item:hover,
html body .sidebar .nav-button:hover,
html body .v697-side-services>summary:hover{transform:translateX(2px)!important}
html body .sidebar .nav-item.active{box-shadow:0 9px 22px rgba(0,91,168,.16)!important}
html body .sidebar .nav-label{letter-spacing:.005em!important}
html body .v697-service-subnav a{border-radius:10px!important;margin:4px 0!important;padding-left:14px!important;padding-right:12px!important}

/* ---------- Service Apply pages: visible real service logo ---------- */
html body .apply-workspace .apply-visual-wrap{
  width:66px!important;height:66px!important;min-width:66px!important;
  display:grid!important;place-items:center!important;overflow:hidden!important;
  border-radius:17px!important;background:linear-gradient(145deg,#ffffff,#f3f8fc)!important;
  border:1px solid #d6e3ed!important;box-shadow:0 10px 26px rgba(31,63,90,.10)!important;
}
html body .apply-workspace .apply-photo{display:none!important}
html body .apply-workspace .apply-logo{
  display:block!important;position:static!important;
  width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important;
  object-fit:contain!important;padding:2px!important;margin:0!important;
  border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;
}
html body .apply-workspace .gov-apply-service{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important}
html body .apply-workspace .gov-apply-head h2{font-size:20px!important;letter-spacing:-.25px!important}
html body .apply-workspace .gov-apply-head p{font-size:12px!important;line-height:1.55!important;max-width:820px!important}

/* Category accent on form logo, without impersonating official branding */
html body .apply-workspace.service-cat-pan-services .apply-visual-wrap{background:linear-gradient(145deg,#eff6ff,#fff)!important;border-color:#cfe0ff!important}
html body .apply-workspace.service-cat-voter-services .apply-visual-wrap{background:linear-gradient(145deg,#edfff7,#fff)!important;border-color:#cceede!important}
html body .apply-workspace.service-cat-driving-licence .apply-visual-wrap{background:linear-gradient(145deg,#f2efff,#fff)!important;border-color:#ddd1ff!important}
html body .apply-workspace.service-cat-vehicle-rc .apply-visual-wrap{background:linear-gradient(145deg,#fff4e9,#fff)!important;border-color:#f4d5b8!important}
html body .apply-workspace.service-cat-ration-family .apply-visual-wrap{background:linear-gradient(145deg,#fff8ea,#fff)!important;border-color:#f2dfb6!important}
html body .apply-workspace.service-cat-health-labour .apply-visual-wrap{background:linear-gradient(145deg,#edfffb,#fff)!important;border-color:#c8ece5!important}
html body .apply-workspace.service-cat-aadhaar-kyc .apply-visual-wrap{background:linear-gradient(145deg,#fff0f5,#fff)!important;border-color:#f2ccda!important}

/* ---------- Form workspace balance ---------- */
html body .apply-workspace .compact-service-form{border-color:#d9e4ed!important;box-shadow:0 18px 46px rgba(27,55,82,.075)!important}
html body .apply-workspace .compact-service-form .form-section-title{margin-top:22px!important;padding:0 0 12px!important;border-bottom:1px solid #dfe8ef!important}
html body .apply-workspace .form-section-title span{font-size:15px!important;font-weight:950!important;color:#17394f!important}
html body .apply-workspace .form-section-title small{font-size:10.5px!important;color:#6d8291!important}
html body .apply-workspace .compact-service-form .form-grid{gap:16px 18px!important}
html body .apply-workspace .compact-service-form .form-grid>.field:only-child{grid-column:1/-1!important;max-width:760px!important}
html body .apply-workspace .compact-service-form .field{
  padding:13px!important;border-radius:14px!important;background:linear-gradient(180deg,#fcfeff,#f8fbfd)!important;
  border:1px solid #dfe8ef!important;
}
html body .apply-workspace .compact-service-form .field label{font-size:12.5px!important;font-weight:900!important;color:#26475b!important}
html body .apply-workspace .compact-service-form .field input,
html body .apply-workspace .compact-service-form .field select,
html body .apply-workspace .compact-service-form .field textarea{
  min-height:52px!important;font-size:13.5px!important;border-radius:11px!important;background:#fff!important;border-color:#cbdbe6!important;
}
html body .apply-workspace .compact-service-form .field textarea{min-height:124px!important}
html body .apply-workspace .service-intro-note{min-height:48px!important;padding:12px 14px!important;border-radius:11px!important}
html body .apply-workspace .service-intro-note b{font-size:11.5px!important}
html body .apply-workspace .service-intro-note span{font-size:11px!important;line-height:1.5!important}
html body .apply-workspace .user-consent{font-size:13px!important;font-weight:800!important;line-height:1.45!important}
html body .apply-workspace #apiModeOptions{border-radius:14px!important;padding:16px!important;background:#fbfefe!important}

/* ---------- Summary panel: clearer at a glance ---------- */
html body .apply-workspace .compact-service-summary{border-color:#d9e3ec!important;box-shadow:0 18px 45px rgba(29,52,75,.08)!important}
html body .apply-workspace .compact-service-summary>h3{font-size:20px!important;padding:20px!important;background:linear-gradient(100deg,#1d315b,#3a2d82)!important}
html body .apply-workspace .compact-service-summary .kv{min-height:58px!important;padding:13px 17px!important}
html body .apply-workspace .compact-service-summary .kv b{font-size:10px!important;letter-spacing:.08em!important}
html body .apply-workspace .compact-service-summary .kv span{font-size:12.5px!important;font-weight:850!important}
html body .apply-workspace .compact-service-summary .kv:nth-of-type(3) span{font-size:18px!important;font-weight:950!important}
html body .apply-workspace .compact-service-summary>.btn{min-height:48px!important;margin-left:16px!important;margin-right:16px!important;width:calc(100% - 32px)!important}
html body .apply-workspace .compact-service-summary .legal-note{font-size:9.5px!important;line-height:1.5!important;margin:14px 16px 18px!important}

/* ---------- Submit hierarchy ---------- */
html body .apply-workspace .generic-apply-submit-row{padding:16px!important;background:linear-gradient(135deg,#f9fbfe,#f4f7fb)!important;border-color:#dce5ed!important}
html body .apply-workspace .generic-apply-submit-row .btn.primary,
html body .apply-workspace .service-final-submit{
  background:linear-gradient(100deg,#0ba876,#078a62)!important;
  color:#fff!important;box-shadow:0 13px 28px rgba(8,145,99,.22)!important;
}
html body .apply-workspace .generic-apply-submit-row .btn.primary:hover,
html body .apply-workspace .service-final-submit:hover{background:linear-gradient(100deg,#078c61,#087957)!important}

/* ---------- Admin control / settings / operational pages ---------- */
html body.role-admin .content .panel h2,
html body.role-admin .content .panel h3{font-weight:950!important;letter-spacing:-.2px!important}
html body.role-admin .content .table th{font-weight:950!important;color:#49677c!important;background:#edf5fa!important}
html body.role-admin .content .table td{color:#17384f!important}
html body.role-admin .content .table td .badge{font-weight:900!important}
html body.role-admin .content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html body.role-admin .content select,
html body.role-admin .content textarea{box-shadow:inset 0 1px 2px rgba(15,46,70,.025)!important}
html body.role-admin .content input:focus,
html body.role-admin .content select:focus,
html body.role-admin .content textarea:focus{border-color:#5796dd!important;box-shadow:0 0 0 4px rgba(32,117,210,.10)!important}

/* ---------- Dark mode final contrast ---------- */
html[data-theme="dark"] body{background:#0b1720!important}
html[data-theme="dark"] body .panel,
html[data-theme="dark"] body .table-wrap{border-color:var(--mg-line,#314957)!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important}
html[data-theme="dark"] body .table tbody tr:nth-child(even) td{background:rgba(255,255,255,.018)!important}
html[data-theme="dark"] body .table tbody tr:hover td{background:rgba(88,150,184,.10)!important}
html[data-theme="dark"] body .apply-workspace .apply-visual-wrap{background:linear-gradient(145deg,#1b303d,#142733)!important;border-color:#3a5362!important}
html[data-theme="dark"] body .apply-workspace .compact-service-form .field{background:#142733!important;border-color:#314956!important}
html[data-theme="dark"] body .apply-workspace .form-section-title span{color:#edf7fb!important}
html[data-theme="dark"] body .apply-workspace .form-section-title small{color:#a6bcc8!important}
html[data-theme="dark"] body .apply-workspace .compact-service-form .field label{color:#dcebf2!important}
html[data-theme="dark"] body .apply-workspace .service-intro-note{background:#142b38!important;border-color:#345260!important}

/* ---------- Responsive safety ---------- */
@media(max-width:1120px){
  html body .apply-workspace .compact-service-summary{position:static!important}
  html body .apply-workspace .compact-service-summary>.btn{width:100%!important;margin-left:0!important;margin-right:0!important}
}
@media(max-width:700px){
  html body .apply-workspace .video-form-titlebar h2{font-size:25px!important}
  html body .apply-workspace .gov-apply-service{align-items:flex-start!important}
  html body .apply-workspace .apply-visual-wrap{width:58px!important;height:58px!important;min-width:58px!important}
  html body .apply-workspace .apply-logo{width:44px!important;height:44px!important}
  html body .apply-workspace .compact-service-form .form-grid>.field:only-child{max-width:none!important}
}

/* =====================================================================
   V7.21.0 · PORTAL-WIDE FINAL UI NORMALIZATION
   One authoritative visual layer for catalog cards, All Services/category
   views, service logos, admin management tables/forms and dark mode.
   ===================================================================== */
:root{
  --v721-blue:#2468f2;
  --v721-green:#08a768;
  --v721-pink:#ea2f81;
  --v721-purple:#7046e8;
  --v721-orange:#ef7b20;
  --v721-cyan:#1099bd;
  --v721-line:#dbe6ef;
  --v721-text:#173a54;
  --v721-muted:#6b8395;
}

/* ---------- ALL SERVICES + CATEGORY VIEWS: same compact premium card system ---------- */
html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full,
html body:not(.role-admin) .user-service-page .unified-tier-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  margin:0 0 18px!important;
}
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified{
  --svc-tone:var(--v721-blue);
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  height:205px!important;
  min-height:205px!important;
  padding:15px 15px 14px!important;
  border:1px solid #dbe6ef!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,#f5f9ff,#edf5ff)!important;
  box-shadow:0 9px 24px rgba(22,60,88,.065)!important;
  overflow:hidden!important;
  color:var(--svc-tone)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified::before{
  content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:4px!important;
  background:var(--svc-tone)!important;
}
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified::after{
  content:""!important;position:absolute!important;right:-40px!important;top:-44px!important;width:120px!important;height:120px!important;
  border-radius:50%!important;background:color-mix(in srgb,var(--svc-tone) 7%,transparent)!important;pointer-events:none!important;
}
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified:hover{
  transform:translateY(-4px)!important;border-color:color-mix(in srgb,var(--svc-tone) 30%,#dbe6ef)!important;
  box-shadow:0 18px 36px rgba(22,60,88,.13)!important;
}
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified.tone-pink{--svc-tone:var(--v721-pink)!important;background:linear-gradient(145deg,#fff8fb,#fff0f6)!important}
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified.tone-blue{--svc-tone:var(--v721-blue)!important;background:linear-gradient(145deg,#f6faff,#edf5ff)!important}
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified.tone-green{--svc-tone:var(--v721-green)!important;background:linear-gradient(145deg,#f4fff9,#ebfbf2)!important}
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified.tone-purple{--svc-tone:var(--v721-purple)!important;background:linear-gradient(145deg,#fbf8ff,#f2edff)!important}
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified.tone-orange,
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified.tone-amber{--svc-tone:var(--v721-orange)!important;background:linear-gradient(145deg,#fffaf4,#fff1e5)!important}
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified.tone-cyan,
html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified.tone-teal{--svc-tone:var(--v721-cyan)!important;background:linear-gradient(145deg,#f3fdff,#eaf9fc)!important}

/* logo is always visible and service-specific */
html body:not(.role-admin) .user-service-page .catalog-unified .u58-service-logo{
  display:grid!important;place-items:center!important;position:relative!important;z-index:1!important;
  width:50px!important;height:50px!important;min-width:50px!important;margin:0 0 10px!important;
  border-radius:14px!important;border:1px solid color-mix(in srgb,var(--svc-tone) 18%,#dce7ef)!important;
  background:rgba(255,255,255,.88)!important;box-shadow:0 7px 16px rgba(28,62,88,.07)!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .u58-service-logo img{
  display:block!important;width:35px!important;height:35px!important;max-width:35px!important;max-height:35px!important;object-fit:contain!important;opacity:1!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .u58-service-body{
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;padding:0!important;position:relative!important;z-index:1!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .u58-service-body>small{
  order:-1!important;margin:0 70px 4px 0!important;font-size:8px!important;line-height:1.2!important;letter-spacing:.6px!important;text-transform:uppercase!important;font-weight:900!important;color:#758a9b!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .u58-service-body>b{
  margin:0!important;min-height:34px!important;font-size:14.5px!important;line-height:1.17!important;font-weight:950!important;color:#153a56!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .u58-service-body>em{
  margin:7px 0 0!important;min-height:32px!important;font-size:9.2px!important;line-height:1.4!important;font-style:normal!important;color:#698194!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .u58-live,
html body:not(.role-admin) .user-service-page .catalog-unified .u58-assisted{
  position:absolute!important;top:11px!important;right:11px!important;z-index:2!important;min-height:21px!important;padding:0 7px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;
  font-size:7px!important;font-weight:950!important;letter-spacing:.35px!important;text-transform:uppercase!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .u58-live{background:#e5f9ee!important;border:1px solid #bee9d1!important;color:#088754!important}
html body:not(.role-admin) .user-service-page .catalog-unified .u58-assisted{background:#eef3f7!important;border:1px solid #d5e0e8!important;color:#5c7488!important}

/* Replace long blue bar with dashboard-style price + compact colored CTA */
html body:not(.role-admin) .user-service-page .catalog-unified .mg-service-action{
  margin-top:auto!important;width:100%!important;height:40px!important;min-height:40px!important;padding:0!important;
  display:flex!important;align-items:center!important;gap:8px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:inherit!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .mg-service-action>strong{
  margin-right:auto!important;font-size:13.5px!important;line-height:1!important;font-weight:950!important;color:var(--svc-tone)!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .mg-service-action>b{
  min-width:112px!important;height:36px!important;padding:0 12px!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:var(--svc-tone)!important;color:#fff!important;font-size:9.7px!important;line-height:1!important;font-weight:950!important;letter-spacing:.05px!important;box-shadow:0 8px 18px color-mix(in srgb,var(--svc-tone) 22%,transparent)!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .mg-service-action>i{
  width:36px!important;height:36px!important;min-width:36px!important;border-radius:10px!important;display:grid!important;place-items:center!important;margin:0!important;
  background:var(--svc-tone)!important;color:#fff!important;font-size:12px!important;font-style:normal!important;font-weight:950!important;box-shadow:0 8px 18px color-mix(in srgb,var(--svc-tone) 22%,transparent)!important;
}
html body:not(.role-admin) .user-service-page .catalog-unified .mg-service-hint{display:none!important}

/* service tier labels */
html body:not(.role-admin) .user-service-page .u58-band{min-height:48px!important;padding:10px 13px!important;border-radius:13px!important;margin:12px 0!important}
html body:not(.role-admin) .user-service-page .u58-band b{font-size:12px!important}
html body:not(.role-admin) .user-service-page .u58-band small{font-size:9px!important;line-height:1.35!important}
html body:not(.role-admin) .user-service-page .u58-band>strong{font-size:8.5px!important;padding:6px 9px!important;border-radius:999px!important}

/* public catalog follows same readable card family */
html body.public-user-catalog .user-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
html body.public-user-catalog .user-service-card{min-height:250px!important;border-radius:16px!important;padding:14px!important;box-shadow:0 9px 24px rgba(22,60,88,.07)!important}
html body.public-user-catalog .service-logo-stage-v635{height:68px!important;border-radius:13px!important}
html body.public-user-catalog .service-logo-stage-v635 img{width:48px!important;height:48px!important;object-fit:contain!important}

/* ---------- ADMIN: one consistent readable management scale ---------- */
html body.role-admin .content{font-size:14px!important}
html body.role-admin .content .panel{padding:22px!important;border-radius:15px!important}
html body.role-admin .content .panel-head{gap:14px!important;margin-bottom:16px!important}
html body.role-admin .content .panel h2{font-size:20px!important;line-height:1.2!important}
html body.role-admin .content .panel h3{font-size:17px!important;line-height:1.25!important}
html body.role-admin .content .panel p,
html body.role-admin .content .panel .muted{font-size:12px!important;line-height:1.5!important}
html body.role-admin .content .table{font-size:14px!important}
html body.role-admin .content .table th{font-size:11.5px!important;padding:14px 15px!important;line-height:1.35!important}
html body.role-admin .content .table td{font-size:13.5px!important;padding:14px 15px!important;line-height:1.45!important;min-height:50px!important}
html body.role-admin .content .table td small{font-size:11px!important}
html body.role-admin .content .table td .btn{min-height:40px!important;padding:9px 13px!important;font-size:12px!important}
html body.role-admin .content .badge{font-size:10.5px!important;padding:6px 9px!important}
html body.role-admin .content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
html body.role-admin .content select{min-height:50px!important;padding:12px 14px!important;font-size:13.5px!important;border-radius:11px!important}
html body.role-admin .content textarea{min-height:116px!important;padding:13px 14px!important;font-size:13.5px!important;border-radius:11px!important}
html body.role-admin .content label{font-size:12.5px!important;font-weight:850!important}
html body.role-admin .content .btn{min-height:44px!important;padding:10px 15px!important;font-size:12.5px!important;border-radius:11px!important}
html body.role-admin .content .stat{min-height:118px!important;padding:20px!important;border-radius:15px!important}
html body.role-admin .content .stat strong{font-size:34px!important}
html body.role-admin .content .toolbar{gap:10px!important;align-items:center!important}
html body.role-admin .content .toolbar .search{min-width:300px!important;min-height:48px!important}

/* operational tables: user hierarchy, requests, recharge, ledger, audit, reports */
html body.role-admin .content .table-wrap{border-radius:14px!important;box-shadow:0 8px 22px rgba(20,54,80,.055)!important}
html body.role-admin .content .table tbody tr{min-height:52px!important}
html body.role-admin .content .table tbody tr:hover td{background:#f0f7fd!important}

/* ---------- DARK MODE ---------- */
html[data-theme="dark"] body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified{
  background:linear-gradient(145deg,#142834,#10232e)!important;border-color:#314b5a!important;color:var(--svc-tone)!important;
}
html[data-theme="dark"] body:not(.role-admin) .user-service-page .catalog-unified .u58-service-logo{background:#1a303d!important;border-color:#385464!important}
html[data-theme="dark"] body:not(.role-admin) .user-service-page .catalog-unified .u58-service-body>b{color:#edf7fb!important}
html[data-theme="dark"] body:not(.role-admin) .user-service-page .catalog-unified .u58-service-body>small,
html[data-theme="dark"] body:not(.role-admin) .user-service-page .catalog-unified .u58-service-body>em{color:#a9bec9!important}
html[data-theme="dark"] body.role-admin .content .table tbody tr:hover td{background:#17303d!important}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1500px){
  html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full,
  html body:not(.role-admin) .user-service-page .unified-tier-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body.public-user-catalog .user-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1040px){
  html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full,
  html body:not(.role-admin) .user-service-page .unified-tier-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body.public-user-catalog .user-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  html body:not(.role-admin) .user-service-page .u58-service-grid.u58-services-full,
  html body:not(.role-admin) .user-service-page .unified-tier-grid,
  html body.public-user-catalog .user-service-grid{grid-template-columns:1fr!important}
  html body:not(.role-admin) .user-service-page .u58-service-card.catalog-unified{height:198px!important;min-height:198px!important}
  html body:not(.role-admin) .user-service-page .catalog-unified .mg-service-action>b{min-width:102px!important}
  html body.role-admin .content .panel{padding:16px!important}
  html body.role-admin .content .table th,
  html body.role-admin .content .table td{padding:11px 12px!important}
}

/* =====================================================================
   V7.23.0 · ALL SERVICES = DASHBOARD SERVICE CARD SYSTEM
   Exact catalog unification requested: every All Services/category/public
   card uses the same colored premium template, logo, price and compact CTA
   as the dashboard LIVE API cards. No long white cards / full-width bars.
   ===================================================================== */
html body .v723-service-grid{align-items:stretch!important;grid-auto-rows:1fr!important;margin-bottom:18px!important}
html body .v723-catalog-card{height:202px!important;min-height:202px!important;max-height:202px!important}
html body .v723-catalog-card .v715-live-service-icon{display:grid!important;visibility:visible!important;opacity:1!important}
html body .v723-catalog-card .v715-live-service-icon img{display:block!important;visibility:visible!important;opacity:1!important;object-fit:contain!important}
html body .v723-catalog-card>div span{min-width:104px!important;max-width:128px!important;width:auto!important;height:34px!important;padding:0 11px!important}
html body .v723-catalog-card .v715-live-badge.v723-badge-live{background:#dbf8e9!important;color:#087b50!important;border-color:#bdebd6!important}
html body .v723-catalog-card .v715-live-badge.v723-badge-api{background:#fff4d8!important;color:#a46500!important;border-color:#f1d49a!important}
html body .v723-catalog-card .v715-live-badge.v723-badge-active{background:#eaf3ff!important;color:#245cb8!important;border-color:#ccdef6!important}
html body .user-service-page .u58-band{margin:18px 0 10px!important}
html body .user-service-page .unified-service-catalog{padding:20px!important}
html body .user-service-page .unified-service-catalog .panel-head{margin-bottom:14px!important}
html body .user-service-page .v723-service-grid+.u58-band{margin-top:20px!important}

/* Public catalog uses same premium cards too. */
html body.public-user-catalog .v723-public-service-grid{margin-top:14px!important}
html body.public-user-catalog .v723-catalog-card{text-decoration:none!important}

/* Dark theme keeps the same card identity and visible CTA/logo. */
html[data-theme="dark"] body .v723-catalog-card{background:#142a38!important;border-color:#2e4b5d!important}
html[data-theme="dark"] body .v723-catalog-card>b{color:#f1f8fb!important}
html[data-theme="dark"] body .v723-catalog-card>small,
html[data-theme="dark"] body .v723-catalog-card>p{color:#adc1cc!important}
html[data-theme="dark"] body .v723-catalog-card .v715-live-service-icon{background:#f7fbff!important;border-color:#d7e5ec!important}
html[data-theme="dark"] body .v723-catalog-card .v715-live-service-badge{opacity:1!important}

/* Keep dashboard-sized responsive rhythm on catalog views. */
@media(max-width:1600px){html body .v723-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1320px){html body .v723-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){html body .v723-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){
  html body .v723-service-grid{grid-template-columns:1fr!important}
  html body .v723-catalog-card{height:auto!important;min-height:190px!important;max-height:none!important}
}

/* =====================================================================
   V7.24.0 · FINAL PORTAL SHELL + THEME CONSISTENCY CROSSCHECK
   Authoritative final layer: resolves light/dark shell mismatches seen on
   tracking/history/utility pages and keeps one premium navy/teal identity.
   ===================================================================== */

/* One consistent shell in both themes */
html body .main{min-height:100vh!important;background:var(--mg-bg,#eef4f8)!important;color:var(--mg-text,#123a57)!important}
html body .topbar{
  background:color-mix(in srgb,var(--mg-surface,#fff) 94%,transparent)!important;
  border-bottom:1px solid var(--mg-line,#d9e5ed)!important;
  color:var(--mg-text,#123a57)!important;
  box-shadow:0 6px 18px rgba(18,58,84,.045)!important;
}
html body .topbar h1,html body .topbar .sub{color:var(--mg-text,#123a57)!important}
html body .topbar .sub{color:var(--mg-muted,#60788a)!important}
html[data-theme="dark"] body .topbar{
  background:rgba(15,34,48,.96)!important;
  border-color:#294657!important;
  box-shadow:0 8px 22px rgba(0,0,0,.16)!important;
}
html[data-theme="dark"] body .topbar h1{color:#eef8fd!important}
html[data-theme="dark"] body .topbar .sub{color:#a9bfcb!important}

/* Footer/trust strip must never become a white island in dark mode */
html body .content:after{
  border-top-color:var(--mg-line,#d9e5ed)!important;
  color:var(--mg-muted,#60788a)!important;
  background:linear-gradient(90deg,var(--mg-surface-2,#f7fafc),var(--mg-surface,#fff),var(--mg-surface-2,#f7fafc))!important;
  border-radius:10px!important;
}
html[data-theme="dark"] body .content:after{
  background:linear-gradient(90deg,#0d202d,#102634,#0d202d)!important;
  border-top-color:#294657!important;
  color:#91aab9!important;
}

/* Dark theme uses premium navy/teal sidebar, not an unrelated purple rail */
html[data-theme="dark"] body[data-sidebar-theme="navy"] .sidebar,
html[data-theme="dark"] body:not([data-sidebar-theme]) .sidebar{
  background:linear-gradient(180deg,#07394a 0%,#075b62 48%,#073d49 100%)!important;
  border-right-color:rgba(157,218,225,.18)!important;
  box-shadow:10px 0 28px rgba(0,0,0,.16)!important;
}
html[data-theme="dark"] body[data-sidebar-theme="navy"] .v697-side-brand,
html[data-theme="dark"] body:not([data-sidebar-theme]) .v697-side-brand{border-bottom-color:rgba(255,255,255,.11)!important}
html[data-theme="dark"] body[data-sidebar-theme="navy"] .sidebar .nav-item,
html[data-theme="dark"] body[data-sidebar-theme="navy"] .sidebar .nav-button,
html[data-theme="dark"] body[data-sidebar-theme="navy"] .v697-side-services>summary,
html[data-theme="dark"] body[data-sidebar-theme="navy"] .v697-service-subnav a{
  color:#eefdfd!important;
}
html[data-theme="dark"] body[data-sidebar-theme="navy"] .sidebar .nav-item.active,
html[data-theme="dark"] body[data-sidebar-theme="navy"] .v697-side-services[open]>summary{
  background:#eafafa!important;color:#0b625f!important;border-color:#c4ece8!important;
}
html[data-theme="dark"] body[data-sidebar-theme="navy"] .side-footer{
  background:linear-gradient(180deg,transparent,rgba(3,54,61,.94) 28%)!important;
}

/* Tracking workspace: same premium surface hierarchy as dashboard/forms */
html body .track-page .content{padding-top:22px!important}
html body .track-hero{
  background:linear-gradient(135deg,#f7fcff 0%,#eef8f8 55%,#f4f0ff 100%)!important;
  border:1px solid #cfe2e8!important;
  box-shadow:0 14px 32px rgba(19,62,88,.07)!important;
}
html body .track-copy h2{color:#153d56!important;font-size:26px!important}
html body .track-copy p{color:#607b8e!important;font-size:13px!important}
html body .track-form{background:#fff!important;border-color:#d6e4eb!important;box-shadow:0 10px 24px rgba(27,72,88,.07)!important}
html body .track-form label{color:#234b62!important;font-size:12px!important}
html body .track-input-row input{min-height:52px!important;height:52px!important;font-size:14px!important;border-radius:12px!important}
html body .track-input-row .btn{min-height:52px!important;padding-inline:20px!important}
html body .track-help{background:var(--mg-surface,#fff)!important;border-color:var(--mg-line,#d9e5ed)!important}
html body .track-help h3{font-size:17px!important;color:var(--mg-text,#123a57)!important}
html body .track-help p{font-size:12px!important}
html body .track-status-grid>div,html body .track-timeline>div{box-shadow:none!important}

html[data-theme="dark"] body .track-hero{
  background:linear-gradient(135deg,#102b3a 0%,#0f2734 58%,#172744 100%)!important;
  border-color:#315062!important;
  box-shadow:0 16px 34px rgba(0,0,0,.22)!important;
}
html[data-theme="dark"] body .track-copy h2{color:#eef8fd!important}
html[data-theme="dark"] body .track-copy p{color:#aec3ce!important}
html[data-theme="dark"] body .track-kicker{color:#52d2c6!important}
html[data-theme="dark"] body .track-form,
html[data-theme="dark"] body .track-help,
html[data-theme="dark"] body .track-result{
  background:#102634!important;border-color:#315062!important;color:#edf7fc!important;
}
html[data-theme="dark"] body .track-form label{color:#d7e8ef!important}
html[data-theme="dark"] body .track-status-grid>div,
html[data-theme="dark"] body .track-timeline>div{
  background:#132c3a!important;border-color:#315062!important;color:#e9f4f8!important;
}
html[data-theme="dark"] body .track-status-grid b,
html[data-theme="dark"] body .track-timeline b{color:#edf8fc!important}
html[data-theme="dark"] body .track-status-grid small,
html[data-theme="dark"] body .track-timeline small{color:#9eb6c3!important}
html[data-theme="dark"] body .track-timeline .done{background:#10372e!important;border-color:#2c624f!important}
html[data-theme="dark"] body .track-timeline .current{background:#3a301a!important;border-color:#6a5628!important}
html[data-theme="dark"] body .track-timeline .failed{background:#3c2229!important;border-color:#693641!important}

/* Utility/history/profile pages: eliminate hard-coded white/dark islands */
html body .content .empty,
html body .content .item,
html body .content .kv,
html body .content .kv2,
html body .content .timeline-row,
html body .content .user-simple-info,
html body .content .security-strip{
  border-color:var(--mg-line,#d9e5ed)!important;
}
html[data-theme="dark"] body .content .empty,
html[data-theme="dark"] body .content .item,
html[data-theme="dark"] body .content .kv,
html[data-theme="dark"] body .content .kv2,
html[data-theme="dark"] body .content .timeline-row,
html[data-theme="dark"] body .content .user-simple-info,
html[data-theme="dark"] body .content .security-strip{
  background:#102634!important;color:#dceaf0!important;border-color:#315062!important;
}

/* Admin management scale: one readable density across hierarchy, audit, reports, finance and requests */
html body.role-admin .content .table-wrap{background:var(--mg-surface,#fff)!important}
html body.role-admin .content .table th{font-size:11.5px!important;font-weight:900!important;letter-spacing:.035em!important}
html body.role-admin .content .table td{font-size:13.5px!important;line-height:1.45!important}
html body.role-admin .content .table td b,
html body.role-admin .content .table td strong{font-size:13.5px!important}
html body.role-admin .content .table td small{font-size:11px!important;line-height:1.4!important}
html body.role-admin .content .panel>.table-wrap{margin-top:10px!important}
html body.role-admin .content .toolbar input,
html body.role-admin .content .toolbar select{min-height:48px!important}

/* Visible keyboard/focus feedback on every major action */
html body .btn:focus-visible,
html body .nav-item:focus-visible,
html body .side-tool:focus-visible,
html body .category-btn:focus-visible,
html body input:focus-visible,
html body select:focus-visible,
html body textarea:focus-visible{
  outline:3px solid color-mix(in srgb,var(--mg-primary,#2f6df6) 70%,#fff)!important;
  outline-offset:2px!important;
}

/* Preserve responsive usability */
@media(max-width:900px){
  html body .track-hero{padding:20px!important}
  html body .track-copy h2{font-size:22px!important}
}
@media(max-width:620px){
  html body .track-input-row input,html body .track-input-row .btn{min-height:48px!important;height:auto!important}
}
