:root{
  --mg-blue:#0ba6df;--mg-blue-2:#12b9ea;--mg-blue-dark:#0b5ca6;--mg-blue-deep:#05487f;
  --mg-bg:#f2f3f5;--mg-panel:#fff;--mg-line:#dedfe2;--mg-text:#30343a;--mg-muted:#7f8791;
  --mg-warning:#ffad27;--mg-danger:#d43e32;--mg-success:#20a45b;--sidebar-width:205px;--topbar-height:48px;
}
*{box-sizing:border-box}html{min-height:100%;background:var(--mg-bg)}body{margin:0;min-height:100vh;background:var(--mg-bg);color:var(--mg-text);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.4}a{color:var(--mg-blue-dark);text-decoration:none}button,input,select,textarea{font:inherit}button,a{outline-offset:2px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ff9f1a;outline-offset:2px}h1,h2,h3,p{margin-top:0}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:var(--mg-muted)}

/* shared buttons/forms */
.primary-button,.soft-button,.outline-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid transparent;border-radius:3px;padding:8px 15px;cursor:pointer;font-weight:700}.primary-button{background:var(--mg-blue-dark);color:#fff}.primary-button:hover{background:var(--mg-blue-deep)}.soft-button{background:#eef5fb;color:var(--mg-blue-deep);border-color:#d8e7f4}.outline-button{background:#fff;color:#ff7255;border-color:#ff7255}.back-link{display:inline-block;margin-bottom:8px;color:var(--mg-blue-dark)}.flash{padding:10px 12px;border-left:4px solid;margin:10px 0}.flash-error{background:#fff0ee;color:#9b3329;border-color:#d55547}.flash-success{background:#eef8f1;color:#16663a;border-color:#2b9a5a}.status-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border-radius:2px;background:#e8edf1;color:#4e5966;font-size:11px;font-weight:700;text-transform:uppercase}.status-completed,.status-approved{background:#dff5e8;color:#137743}.status-pending,.status-preview,.status-in_process{background:#fff0c9;color:#8a6100}.status-rejected,.status-failed{background:#fde1df;color:#9e2923}.status-refunded{background:#e3eefc;color:#215d9a}.required{color:#d83a31;margin-left:3px}

/* authenticated shell */
.portal-shell{display:flex;min-height:100vh}.portal-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);background:linear-gradient(180deg,#21bde9 0%,#079fdc 42%,#078ec9 100%);color:#fff;overflow-y:auto;z-index:40;box-shadow:1px 0 0 rgba(0,0,0,.06)}.portal-main{min-width:0;flex:1;margin-left:var(--sidebar-width)}.sidebar-brand{height:48px;background:#fff;color:#0c6dad;display:flex;align-items:center;padding:0 12px;gap:8px;border-bottom:1px solid #e7e7e7}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:28px;border-radius:5px;background:linear-gradient(135deg,#0aa7df,#07599d);color:#fff;font-weight:900;letter-spacing:-1px}.brand-mark.mini{width:27px;height:24px;font-size:11px}.brand-mark.large{width:48px;height:40px;font-size:18px}.brand-text{font-weight:800;font-size:15px}.sidebar-profile{display:flex;align-items:center;gap:9px;padding:12px 10px;background:rgba(255,255,255,.15)}.sidebar-profile .avatar{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#ffd74b;color:#946600;font-weight:900}.sidebar-profile strong,.sidebar-profile small{display:block;max-width:135px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile small{font-size:10px;opacity:.92}.sidebar-section-label{font-size:9px;padding:9px 12px 6px;color:#c9f2ff;background:rgba(0,89,139,.17)}.sidebar-nav{display:block}.sidebar-link{display:flex;align-items:center;gap:9px;min-height:41px;padding:0 11px;color:#fff;border-left:3px solid transparent;font-weight:700;font-size:12px}.sidebar-link:hover,.sidebar-link.active{background:rgba(0,74,122,.22);border-left-color:#fff}.nav-icon{width:26px;text-align:center;font-size:15px}.nav-badge{margin-left:auto;background:#fff;color:#0878b2;border-radius:10px;min-width:18px;padding:1px 5px;text-align:center}.logout-link{margin-top:8px;border-top:1px solid rgba(255,255,255,.18)}.sidebar-disclaimer{padding:12px;font-size:10px;color:#dff8ff;line-height:1.35}
.portal-topbar{height:var(--topbar-height);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--mg-line);position:sticky;top:0;z-index:30;padding:0 14px}.topbar-left,.topbar-actions,.topbar-brand{display:flex;align-items:center}.topbar-left{gap:10px}.topbar-brand{gap:7px;color:#165c8e;font-weight:800}.topbar-icon{width:38px;height:38px;border:0;background:transparent;color:#5e6872;font-size:20px;cursor:pointer}.topbar-actions{gap:12px}.topbar-action{position:relative;font-size:16px}.topbar-badge{position:absolute;top:-8px;right:-10px;min-width:17px;height:17px;padding:1px 4px;border-radius:9px;background:#e24a3b;color:#fff;font-size:10px;text-align:center}.topbar-role{font-size:10px;color:#2b7a3f;background:#e7f5eb;padding:4px 6px;border-radius:2px}.topbar-user{font-weight:700;color:#4b5660}.category-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(92px,1fr);overflow-x:auto;background:#fff;border-bottom:1px solid var(--mg-line);white-space:nowrap;scrollbar-width:thin}.category-strip a{display:flex;min-width:95px;height:52px;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#646d75;font-size:10px;text-transform:uppercase;border-right:1px solid #f0f0f0}.category-strip a:hover{background:#f7fbfe;color:#0b79b5}.category-icon{font-size:16px;color:#0ba6df}.portal-content{padding:12px 14px 28px;min-height:calc(100vh - 100px)}.portal-panel{background:var(--mg-panel);border:1px solid #e4e4e4;border-radius:1px}.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}.page-title-row h1{font-size:16px;font-weight:500;margin:0;text-transform:uppercase}.page-title-row p{margin:3px 0 0;color:var(--mg-muted)}.page-wallet,.balance-chip{background:#fff;border:1px solid #e3e3e3;padding:6px 10px;border-radius:16px;font-size:11px}.page-wallet b,.balance-chip{color:#0b75aa}

/* dashboard */
.feature-alert{background:#fff8e4;border:1px solid #f1a322;padding:11px 13px;margin-bottom:10px;text-align:right;font-size:12px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px}.dashboard-primary{min-width:0}.dashboard-notice{background:#11a8df;color:#fff;padding:13px 15px;min-height:170px;border:0}.dashboard-notice p{margin:0 0 13px;font-size:11px}.dashboard-notice .notice-emphasis{color:#ffe843;font-weight:900}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.stats-strip a{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid #e5e5e5;padding:9px 10px;color:#5e6872}.stats-strip b{color:#0b77b1;font-size:16px}.dashboard-panels-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.dashboard-widget{padding:14px 16px;min-height:175px}.dashboard-widget h2,.important-panel h2{font-size:13px;font-weight:500;margin-bottom:18px}.dashboard-widget h2 small{font-weight:400;color:#9aa0a7}.shortcut-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px 8px}.shortcut-grid a{display:flex;min-height:58px;flex-direction:column;align-items:center;justify-content:center;color:#8b9199}.shortcut-grid a span{font-size:20px;color:#0ea7df;margin-bottom:4px}.shortcut-grid a small{font-size:10px;text-align:center}.lower-widgets{margin-top:12px}.new-arrivals{display:grid;grid-template-columns:1fr 1fr;gap:10px}.new-arrivals a{display:grid;grid-template-columns:38px 1fr;gap:2px 8px;align-items:center;border:1px solid #ececec;padding:9px;color:#5f676f}.arrival-icon{grid-row:1/3;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef3f7;color:#14a6dc;font-weight:900}.new-arrivals b{font-size:10px}.new-arrivals small{font-size:9px;color:#9a9fa5}.dashboard-side{display:flex;flex-direction:column;gap:10px}.promo-panel{min-height:180px;background:linear-gradient(135deg,#effaff,#fff1d9);border:1px solid #e3e3e3;display:flex;align-items:center;justify-content:center;text-align:center;gap:12px;padding:15px}.promo-icon{width:82px;height:82px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#0a9ed9;color:#fff;font-size:28px;font-weight:900}.promo-panel b,.promo-panel span{display:block}.promo-panel b{font-size:17px;color:#0b649d}.promo-panel span{font-size:11px;color:#697078;margin-top:8px}.important-panel{padding:14px}.important-panel article{display:flex;gap:10px;padding:10px 2px;border-bottom:1px solid #eee}.important-panel article:last-child{border:0}.important-panel article>span{font-size:20px;color:#159ed3}.important-panel b,.important-panel small{display:block}.important-panel b{font-size:10px}.important-panel small{font-size:9px;color:#9ba0a6;margin-top:2px}.compact-table{width:100%;border-collapse:collapse}.compact-table th,.compact-table td{padding:8px 7px;border-bottom:1px solid #ededed;text-align:left;vertical-align:top;font-size:10px}.compact-table th{color:#8b939c;font-weight:500}.compact-table td b,.compact-table td small{display:block}.compact-table td small{color:#929aa3;margin-top:2px}.table-wrap{overflow:auto}.empty-state{color:#929aa3;text-align:center;padding:18px!important}

/* services */
.services-heading{display:flex;justify-content:space-between;align-items:center;background:#efefef;border-bottom:1px solid #ddd;margin:-12px -14px 14px;padding:10px 14px}.services-heading h1{font-size:16px;font-weight:500;margin:0}.services-heading p{margin:2px 0 0;color:#8a9096;font-size:10px}.service-search-form{display:flex;align-items:center;background:#fff;border:1px solid #d8d8d8}.service-search-form input{width:250px;height:34px;border:0;padding:0 10px;outline:none}.service-search-form button{width:38px;height:34px;border:0;background:#fff;font-size:20px;cursor:pointer}.service-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px}.filter-panel{align-self:start}.filter-panel h2,.filter-panel h3{margin:0;padding:12px 13px;border-bottom:1px solid #eee;text-transform:uppercase;font-size:11px}.filter-panel h3{color:#6f6415}.filter-tags{display:flex;justify-content:space-between;padding:13px;font-size:10px}.filter-tags span{display:flex;align-items:center;gap:6px}.dot{display:inline-block;width:9px;height:9px;border-radius:50%}.new-dot{background:#f6de34}.popular-dot{background:#7ad500}.filter-link{display:flex;align-items:center;gap:8px;padding:10px 13px;border-top:1px solid #f0f0f0;color:#5e646b;font-size:10px}.filter-link:hover,.filter-link.active{background:#f2faff;color:#087db8}.filter-note{padding:10px 13px;color:#8e949a;font-size:10px}.service-results{min-width:0}.service-toolbar{display:flex;align-items:center;gap:10px;height:44px;background:#efefef;border-bottom:1px solid #d9d9d9;margin-bottom:16px;padding:0 10px}.service-toolbar>a{display:flex;width:28px;height:28px;border-radius:50%;align-items:center;justify-content:center;background:#fff;color:#50a8d0}.service-toolbar span{margin-left:auto;color:#8d949b;font-size:10px}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.service-card{position:relative;min-height:190px;background:#fff;border:1px solid #ececec;padding:12px 12px 10px;display:flex;flex-direction:column;align-items:center;text-align:center}.favourite-button{position:absolute;left:10px;bottom:10px;background:transparent;border:0;color:#c2c7ca;font-size:20px;cursor:not-allowed}.service-logo{width:62px;height:62px;border-radius:50%;background:#f0f0f0;color:#20b3b5;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:900;margin-bottom:11px}.service-logo.small{width:46px;height:46px;margin:0}.service-card h2{font-size:10px;font-weight:500;margin:0 0 3px}.provider-label{font-size:9px;color:#159dd4;margin-bottom:12px}.category-name{font-size:9px;color:#786c16;text-transform:uppercase}.service-description{font-size:9px;color:#8e959d;margin:8px 0 28px}.service-card-foot{margin-top:auto;width:100%;display:flex;align-items:center;justify-content:flex-end;gap:8px}.service-card-foot a{border:1px solid #15a9ed;color:#0799db;font-size:8px;padding:3px 5px}.mode-pill{display:inline-flex;padding:3px 7px;border-radius:2px;background:#eef6fb;color:#23729a;font-size:9px;text-transform:uppercase}.empty-card{grid-column:1/-1;padding:50px;background:#fff;text-align:center;color:#90969c}

/* forms, finance, account */
.service-form-panel,.table-panel{padding:16px}.form-intro{display:flex;gap:12px;border-bottom:1px solid #eee;padding-bottom:12px;margin-bottom:10px}.form-intro h2{font-size:15px;margin:0 0 4px}.form-intro p{color:#6f7780;margin:0 0 4px}.form-intro small{color:#8c939b}.service-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.service-form-grid label,.compact-form label,.stack-form label,.auth-form label{display:block;font-weight:700;color:#4d5660;margin:9px 0}.service-form-grid input,.compact-form input,.compact-form select,.stack-form input,.auth-form input,.reply-form textarea,.compact-form textarea{display:block;width:100%;min-height:38px;border:1px solid #cfd4d8;border-radius:2px;padding:8px 10px;background:#fff;color:#30343a;margin-top:5px}.compact-form textarea,.reply-form textarea{min-height:95px;resize:vertical}.form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.form-note{color:#8b939a;font-size:10px;margin:10px 0 0}.finance-grid,.account-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;margin-bottom:12px}.wallet-balance-card,.recharge-panel,.profile-card,.preferences-card{padding:18px}.wallet-balance-card span,.wallet-balance-card b,.wallet-balance-card small{display:block}.wallet-balance-card b{font-size:30px;color:#087cb6;margin:8px 0}.wallet-balance-card small{color:#8b939a;margin-bottom:14px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.panel-heading h2{font-size:13px;margin:0}.panel-heading span{font-size:10px;color:#9299a0}.txn-type{font-size:9px;font-weight:800}.credit{color:#16804d}.debit{color:#b33b31}.money{font-weight:700}.profile-card{text-align:center}.profile-avatar{margin:0 auto 8px;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#15a9df;color:#fff;font-size:24px;font-weight:900}.profile-card h2{font-size:16px;margin-bottom:2px}.profile-card>p{color:#81888f}.profile-card dl{text-align:left}.profile-card dl div{display:grid;grid-template-columns:80px 1fr;padding:7px 0;border-bottom:1px solid #eee}.profile-card dt{color:#90969c}.profile-card dd{margin:0}.check-row{display:flex!important;align-items:center;gap:8px}.check-row input{width:auto!important;min-height:auto!important;margin:0!important}.preferences-card select{width:100%;min-height:38px;border:1px solid #cfd4d8;padding:7px}.reason{color:#a43a31;font-size:10px}

/* notifications/support/help */
.notification-list{padding:0 14px}.notification-item{display:flex;gap:12px;padding:14px 4px;border-bottom:1px solid #eee}.notification-item.unread{background:#f2fbff}.notification-item:last-child{border:0}.notification-icon{font-size:20px;color:#159fd6}.notification-item h2{font-size:12px;margin:0 0 3px}.notification-item p{margin:0 0 4px;color:#626b74}.notification-item small{color:#9ba1a7}.support-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:12px}.support-threads,.support-conversation{padding:12px}.support-threads h2,.support-conversation h2{font-size:13px}.support-thread{display:block;padding:10px 8px;border-top:1px solid #eee;color:#545e67}.support-thread.active{background:#eefaff}.support-thread b,.support-thread small{display:block}.support-thread small{font-size:9px;color:#939aa2;margin-top:3px}.messages{display:flex;flex-direction:column;gap:8px;max-height:420px;overflow:auto;padding:8px;background:#f7f8f9}.message{max-width:75%;padding:8px 10px;background:#fff;border:1px solid #e2e4e6}.message.own{align-self:flex-end;background:#e9f8fd;border-color:#cdeaf5}.message p{margin:0}.message small{display:block;margin-top:5px;color:#979da3}.reply-form{margin-top:10px;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.reply-form textarea{margin:0}.floating-support{position:fixed;right:20px;bottom:20px;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#075da4;color:#fff;font-size:21px;box-shadow:0 4px 18px rgba(0,0,0,.25);z-index:50}.simple-stage.inside-app{min-height:auto;padding:20px 0}.help-card{max-width:760px}.help-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.help-options a{display:block;border:1px solid #e2e4e6;padding:12px;color:#46515a}.help-options b,.help-options span{display:block}.help-options span{font-size:11px;color:#878e95;margin-top:4px}.help-note{margin:14px 0;padding:10px;background:#fff7dc;border-left:4px solid #e4a521}.not-found{text-align:center;padding:60px 20px}.not-found>b{font-size:48px;color:#0ca5dc}

/* public home */
.public-content{min-height:100vh}.public-site{min-height:100vh;background:#fff}.public-header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100% - 1420px)/2));border-bottom:1px solid #e5e5e5;background:#fff}.public-logo{display:flex;align-items:center;gap:9px;color:#175c8e}.public-logo b,.public-logo small{display:block}.public-logo small{font-size:9px;color:#7b858e}.public-header nav{display:flex;align-items:center;gap:24px}.public-header nav>a:not(.outline-button){color:#242b31;font-weight:700}.public-hero{min-height:420px;display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:30px;padding:38px max(45px,calc((100% - 1420px)/2));background:linear-gradient(90deg,#e7f6ff 0%,#e6f4fb 52%,#dfeef7 100%)}.hero-kicker{color:#ff7457;font-weight:900;letter-spacing:.08em}.public-hero h1{font-size:34px;line-height:1.2;margin:12px 0;color:#ff7457}.public-hero h1 strong{color:#1656a8}.public-hero p{max-width:570px;font-size:14px}.hero-points{display:flex;flex-direction:column;gap:7px;color:#165aa2;font-weight:700}.hero-actions{display:flex;gap:10px;margin-top:20px}.service-tree{position:relative;min-height:330px}.tree-core{position:absolute;left:52%;top:42%;width:84px;height:84px;border:7px solid #f3aa39;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#075a9d;font-weight:900;font-size:26px;z-index:2}.tree-trunk{position:absolute;left:54%;bottom:0;width:130px;height:170px;border-left:18px solid #bd8b4f;border-bottom:18px solid #bd8b4f;transform:skew(-18deg);border-radius:0 0 0 80px}.bubble{position:absolute;width:64px;height:64px;border:5px solid #4c74b9;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#0b649d;font-size:11px;font-weight:900;z-index:2}.b1{left:18%;top:8%}.b2{left:37%;top:15%;border-color:#e87159}.b3{left:68%;top:4%;border-color:#5d9d60}.b4{left:79%;top:29%;border-color:#e1a23f}.b5{left:22%;top:54%;border-color:#4aa1a8}.b6{left:61%;top:62%;border-color:#8a6aaf}.b7{left:84%;top:62%;border-color:#5ca753}.b8{left:42%;top:70%;border-color:#db7a4c}.security-ticker{background:#06497f;color:#fff;padding:10px max(20px,calc((100% - 1420px)/2));font-weight:700}.public-services{padding:32px max(24px,calc((100% - 1120px)/2)) 50px;background:#fffaf3}.public-section-title h2{font-size:28px;margin:0}.public-section-title h2 span{color:#ff7557}.public-section-title p{color:#747c84}.public-tabs{display:flex;justify-content:flex-end;gap:0}.public-tabs span{padding:10px 14px;border:1px solid #ff8d6f;background:#fff3e8}.public-tabs .active{background:#ff795a;color:#fff}.public-service-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;background:#ffe3bd;border:1px solid #ff946f;padding:18px}.public-service-cards article{background:#fff;border:1px solid #d9d9d9;padding:18px;text-align:center}.public-service-cards article>span{display:flex;width:56px;height:56px;margin:0 auto 10px;align-items:center;justify-content:center;border-radius:50%;background:#eef6fb;color:#096ba8;font-size:22px}.public-service-cards b,.public-service-cards small{display:block}.public-service-cards small{color:#7d858c;margin-top:5px}.public-footer{display:flex;justify-content:space-between;gap:20px;padding:18px max(24px,calc((100% - 1420px)/2));border-top:1px solid #e5e5e5;color:#747d85;font-size:11px}

/* split login / public simple pages */
.login-stage,.simple-stage{min-height:100vh;background:#f6f7f9;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px}.login-card{width:min(1080px,94vw);display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 14px 38px rgba(43,55,66,.12)}.login-brand-panel{background:#fff0d8;padding:48px 50px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.login-kicker{font-size:28px;font-weight:900;margin:0}.login-brand-panel h1{font-size:34px;color:#f3612d;margin:2px 0 22px}.mg-roundel{width:138px;height:138px;border:4px solid #075a9d;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#075a9d;background:#fff;margin-bottom:18px}.mg-roundel span{font-size:46px;font-weight:900}.mg-roundel small{font-weight:900}.login-brand-panel h2{font-size:20px;margin:0 0 7px}.login-brand-panel p{max-width:430px;color:#5f6670}.login-form-panel{padding:44px 56px;display:flex;flex-direction:column;justify-content:center}.login-brand-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.mg-wordmark{color:#0b619f;font-weight:900}.login-form-panel>h2{font-size:28px;margin:0 0 12px;color:#0d1115}.field-with-icon{display:flex;align-items:center;border:1px solid #cfd4d8;border-radius:4px;margin-top:5px;padding-left:10px}.field-with-icon>span{font-size:14px}.field-with-icon input{border:0!important;margin:0!important;outline:none!important}.password-wrap .icon-button{width:40px;height:40px;border:0;background:transparent;cursor:pointer;color:#7a8790}.captcha-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.captcha-box{height:48px;border:1px solid #cfd4d8;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:#fbfbfb}.captcha-box strong{color:#5fb98a;font-size:18px;letter-spacing:3px}.captcha-box span{font-size:9px;color:#919aa2}.captcha-input{margin:0!important}.login-links{text-align:right;margin:8px 0 6px}.login-submit{width:120px}.login-foot-links{display:flex;gap:8px;margin-top:18px;font-size:10px}.login-copyright{font-size:10px;color:#808991;margin-top:14px}.simple-card{width:min(620px,94vw);background:#fff;border:1px solid #e1e4e7;padding:24px}.simple-card h1{font-size:22px}.stack-form input{margin-top:5px}.track-result{display:flex;gap:10px;align-items:center;padding:12px;background:#eef8f1;margin:12px 0}.track-result small{margin-left:auto;color:#6e767f}

/* per-user dark theme */
.theme-dark{--mg-bg:#181c21;--mg-panel:#222830;--mg-line:#3a424b;--mg-text:#edf2f6;--mg-muted:#a8b0b8}.theme-dark .portal-topbar,.theme-dark .category-strip,.theme-dark .sidebar-brand,.theme-dark .portal-panel,.theme-dark .stats-strip a,.theme-dark .service-card,.theme-dark .service-toolbar,.theme-dark .services-heading,.theme-dark .feature-alert{background:#222830;color:#edf2f6;border-color:#3a424b}.theme-dark .category-strip a,.theme-dark .service-toolbar span,.theme-dark .filter-link,.theme-dark .compact-table th,.theme-dark .compact-table td,.theme-dark .form-note{color:#b8c0c7}.theme-dark input,.theme-dark select,.theme-dark textarea{background:#171b20;color:#eef2f5;border-color:#4a535c}.theme-dark .service-logo,.theme-dark .arrival-icon{background:#303842}.theme-dark .messages{background:#171b20}.theme-dark .message{background:#2b323a;border-color:#3f4851}.theme-dark .message.own{background:#173e52}.theme-dark .notification-item.unread{background:#1b3440}

@media(max-width:1100px){.dashboard-columns{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:1fr 1fr}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-hero{grid-template-columns:1fr}.service-tree{display:none}}
@media(max-width:860px){.portal-sidebar{transform:translateX(-100%);transition:transform .2s ease}.sidebar-open .portal-sidebar{transform:translateX(0)}.portal-main{margin-left:0}.service-layout{grid-template-columns:1fr}.filter-panel{display:none}.dashboard-panels-two,.finance-grid,.account-grid,.support-layout{grid-template-columns:1fr}.public-service-cards{grid-template-columns:repeat(2,1fr)}.public-header nav>a:not(.outline-button){display:none}.portal-content{padding:10px}.services-heading{margin:-10px -10px 12px}.service-grid{gap:12px}}
@media(max-width:760px){.portal-sidebar{transform:translateX(-100%);transition:transform .2s ease}.sidebar-open .portal-sidebar{transform:translateX(0)}.portal-main{margin-left:0}.portal-content{padding:10px}.service-layout{grid-template-columns:1fr}.service-grid{grid-template-columns:1fr}.login-card{grid-template-columns:1fr}.login-brand-panel{min-height:260px;padding:30px}.login-form-panel{padding:30px 24px}.service-form-grid{grid-template-columns:1fr}.stats-strip{grid-template-columns:1fr 1fr}.shortcut-grid{grid-template-columns:repeat(4,1fr)}.dashboard-side{display:block}.dashboard-side>*{margin-bottom:10px}.public-hero{padding:28px 24px}.public-hero h1{font-size:27px}.public-header{padding:0 16px}.public-header nav{gap:8px}.public-service-cards{grid-template-columns:1fr}.public-tabs{overflow:auto;justify-content:flex-start}.public-footer{flex-direction:column}.captcha-row{grid-template-columns:1fr}.topbar-role{display:none}.topbar-user{max-width:110px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-title-row{align-items:flex-start}.service-search-form input{width:170px}.support-layout{grid-template-columns:1fr}.reply-form{grid-template-columns:1fr}.help-options{grid-template-columns:1fr}}
@media(max-width:480px){.stats-strip{grid-template-columns:1fr}.shortcut-grid{grid-template-columns:repeat(3,1fr)}.new-arrivals{grid-template-columns:1fr}.topbar-brand span:last-child{display:none}.login-brand-panel h1{font-size:28px}.login-kicker{font-size:22px}.mg-roundel{width:110px;height:110px}.mg-roundel span{font-size:38px}.page-wallet,.balance-chip{font-size:10px}.services-heading{display:block}.service-search-form{margin-top:8px}.service-search-form input{width:100%}}
