/* SOFTWARE MAHAL: shared console design system. Loaded after feature styles. */
:root,body,body.dark,body.light-theme{--ivory:#f5f6f3;--ink:#172b29;--cobalt:#146b57;--lime:#d6ef83;--mut:#596c68;--line:#dce5df;--r:18px;--bg:#f5f6f3;--card:#fff;--text:#172b29;--border:#dce5df;--surface:#fff;--accent:#146b57;color-scheme:light}
body,body.dark,body.light-theme{background:var(--bg)!important;color:var(--ink)!important;font-family:Manrope,Inter,Arial,sans-serif!important;font-size:16px;line-height:1.55}
body h1,body h2,body h3,body h4,body .serif,body .pg{font-family:Manrope,Inter,Arial,sans-serif!important;letter-spacing:-.045em;font-style:normal!important;color:var(--ink)}
body h2.pg{font-size:clamp(28px,3vw,38px)!important;font-weight:800;line-height:1.18}
body button,body input,body select,body textarea{font-family:inherit!important}
body a,body button,body input,body select,body summary{touch-action:manipulation}
:focus-visible{outline:3px solid #bf3d7b!important;outline-offset:3px}
[hidden]{display:none!important}body .mono{font-size:13px;letter-spacing:0}
body .dash,body #admApp,body #dashboard{display:grid!important;grid-template-columns:248px minmax(0,1fr)!important;min-height:100vh;background:var(--bg)!important;max-width:none!important}
body .side,body.light-theme .side,body.dark .side{position:sticky!important;top:0;width:248px!important;height:100dvh;padding:30px 18px 20px!important;border:0!important;border-right:1px solid var(--line)!important;background:#fff!important;display:flex!important;flex-direction:column;overflow:auto;z-index:40}
body .side .logo{padding:0 6px 28px!important;border:0!important;margin:0!important;display:flex!important;flex-wrap:nowrap!important;gap:10px!important;font-size:14px!important;line-height:1.1!important;letter-spacing:.03em!important;white-space:normal!important;color:#172b29!important}
.sm-mark{width:38px;height:38px;flex-shrink:0}.sm-wordmark{display:flex;flex-direction:column;gap:5px;font-weight:800}.sm-wordmark small{font-size:10px;letter-spacing:.16em;color:#60756e;font-weight:700}
body .menu{display:flex!important;flex-direction:column!important;gap:3px!important;padding:0!important;overflow:visible!important}
body .menu a{display:flex!important;align-items:center!important;gap:12px!important;min-height:44px;padding:10px 13px!important;margin:0!important;border:0!important;border-radius:10px!important;font-size:14px!important;font-weight:600;color:#566b65!important;background:transparent!important;white-space:normal!important;text-decoration:none}
body .menu a:hover{background:#f0f5ee!important;color:#174c3b!important}body .menu a.on{background:#e6efda!important;color:#214932!important;box-shadow:inset 3px 0 #497743!important}
body .menu svg{width:19px!important;height:19px!important;flex-shrink:0;opacity:.8}body .menu .cnt{margin-left:auto;background:#fff!important;color:#386248!important;font-size:11px;border-radius:6px;padding:2px 6px}
body .navlabel{font-family:inherit!important;color:#788880!important;font-size:10px!important;font-weight:800;letter-spacing:.13em!important;padding:23px 13px 8px!important}
body .main,body #admMain,body .workspace-content{margin:0!important;min-width:0;width:auto!important;padding:32px clamp(20px,3vw,48px) 60px!important;background:var(--bg)!important}
.sm-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:35px;padding-bottom:20px;border-bottom:1px solid var(--line);color:var(--mut);font-size:13px}.sm-topbar strong{color:var(--ink);font-weight:700}.sm-topbar .sm-account{display:flex;align-items:center;gap:10px}.sm-avatar{width:32px;height:32px;border-radius:50%;background:#f5dbed;color:#87325e;display:grid;place-items:center;font-weight:800}.sm-menu-toggle{display:none}
body .hrow,body .client-head{margin:0 0 28px!important;align-items:center!important;gap:18px!important}body .kick{font-family:inherit!important;font-size:11px!important;font-weight:800;letter-spacing:.13em!important;color:#43806a!important}body .subline,body .note{font-size:14px!important;line-height:1.65;color:var(--mut)!important}body .hrow .subline{margin-top:10px}
body .btn,body button.btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;border-radius:10px!important;padding:12px 18px!important;font-family:inherit!important;font-size:14px!important;font-weight:700!important;line-height:1.3;border:1px solid transparent;box-shadow:none!important;transform:none!important;text-decoration:none!important;cursor:pointer;transition:background .18s}
body .btn-lime,body .btn-ink,body .btn.primary{background:#1d6049!important;color:#fff!important;border-color:#1d6049!important}body .btn-lime:hover,body .btn-ink:hover{background:#124331!important}body .btn-out{background:var(--card)!important;border:1px solid var(--line)!important;color:var(--ink)!important}body .btn-out:hover{border-color:#86a993!important;background:#edf3e9!important}body .btn-sm{font-size:13px!important;padding:9px 13px!important}body button:disabled{opacity:.5;cursor:not-allowed}
body .stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin:0 0 28px!important;border:0!important;background:transparent!important}body .stat{padding:24px!important;border:1px solid #dbe4d3!important;background:#eaf2dd!important;border-radius:16px!important;box-shadow:none!important;min-height:150px;position:relative;overflow:hidden}body .stat:nth-child(2){background:#f9e7ef!important;border-color:#edd7e4!important}body .stat:nth-child(3){background:#fff0ce!important;border-color:#ecdfbb!important}body .stat:nth-child(4){background:#fbe7e1!important;border-color:#eed6ce!important}body .stat span{font-family:inherit!important;font-size:10px!important;font-weight:800!important;letter-spacing:.1em!important;color:#536159!important}body .stat b{display:block;font-family:inherit!important;font-size:32px!important;line-height:1.4;margin:9px 0 3px;color:#24382c!important;letter-spacing:-.05em}body .stat em,body .stat .up{font-size:12px!important;color:#556750!important;font-style:normal!important}
body .panel,body .box,body .plan-card,body .inventory-ip,body .ram-plan,body .cart-item,body .cart-summary{background:var(--card)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 3px 14px #213c2e04!important;overflow:hidden}
body .phead{padding:22px 24px!important;background:transparent!important;border-bottom:1px solid var(--line)!important;gap:12px;flex-wrap:wrap}body .phead h3{font-size:18px!important;font-weight:800!important;letter-spacing:-.035em}body .adm-two{gap:22px!important}body .ref-table,body .ref-table .srow,body .srow,body .client-server-row{background:transparent!important;color:var(--ink)!important;border-color:var(--line)!important;font-size:13px!important}body .srow{padding:16px 22px!important;gap:12px!important}body .srow.th{background:#f7f9f4!important;color:#67766c!important;font-size:10px!important;letter-spacing:.05em;font-weight:800}body .srow>div{min-width:0;overflow-wrap:anywhere}
body .ref-empty,body .client-empty,body .empty{padding:38px 24px!important;font-size:14px!important;color:var(--mut)!important;background:transparent!important}
body input,body textarea,body select,body .field input,body .field select{background:var(--card)!important;color:var(--ink)!important;border:1px solid #cdd9d0!important;border-radius:10px!important;padding:12px 14px!important;font-size:15px!important;line-height:1.5;min-width:0;box-shadow:none!important}body input::placeholder,body textarea::placeholder{color:#7f8c82!important}body label,body .field{color:var(--ink)!important;font-family:inherit!important;font-size:14px!important}body input:focus,body textarea:focus,body select:focus{border-color:#478c6b!important}
body .pill,body .badge{font-family:inherit!important;font-size:11px!important;letter-spacing:0!important;background:#edf3e9!important;color:#386046!important;border:1px solid #d5e2cc!important;border-radius:6px!important;padding:4px 8px!important}body .pill.off{background:#fff3d7!important;color:#7b5d20!important;border-color:#e9d9b4!important}body .pill.bad,body .error{color:#ae3544!important}body .pill.ok{background:#e8f5ec!important;color:#22633e!important}
body .ovgrid{gap:22px!important;grid-template-columns:minmax(0,1fr) 300px!important}body .ovplans{padding:20px!important;gap:14px!important}body .plan-card{padding:22px!important}body .plan-card h3{font-size:19px!important}body .plan-card p{color:var(--mut)!important;font-size:14px!important}body .plan-icon{background:#f5e1ee!important;color:#9c4277!important;border-radius:12px!important;border:0!important;width:44px!important;height:44px!important;display:grid;place-items:center}body .plan-price{font-size:28px!important;color:var(--ink)!important}body .plan-price span{font-size:12px!important;color:var(--mut)!important}body .ovspec{font-size:12px!important;color:var(--mut)!important}body .ovqa{background:transparent!important;color:var(--ink)!important;border-color:var(--line)!important;font-family:inherit!important;font-size:14px!important}body .ovqa span{background:#f5e1ee!important;color:#9c4277!important}body .ovlink{color:#327856!important;font-size:13px!important;cursor:pointer}body .ovact{border-color:var(--line)!important;color:var(--ink)!important}body .ovact span{color:var(--mut)!important}body .ovact i{color:#9c4277!important;background:#f5e1ee!important}
body .inventory-ip h3,body .ram-plan h3{color:var(--ink)!important}body .inventory-grid{gap:18px!important}body .inventory-ip-header,body .inventory-ip-head,body .ram-plans,body .ram-plan,body .inventory-filters,body .client-filterbar,body .inventory-toolbar{background:var(--card)!important;color:var(--ink)!important;border-color:var(--line)!important}body .inventory-ip *{border-color:var(--line)}body .inventory-ip .mono,body .inventory-ip p,body .inventory-ip small{color:var(--mut)!important}body .inventory-ip button{font-size:13px!important}body .ntbar{background:#fff1cf!important;border:1px solid #ebd89e!important;color:#6e571e!important;border-radius:10px!important;margin-bottom:20px!important;font-size:14px!important}
body .client-user,body .ref-side-footer{margin-top:auto!important;padding:24px 6px 0!important;border:0!important;font-size:13px!important;color:var(--mut)!important}body .client-user b{font-size:14px!important;color:var(--ink)!important}body .client-user p{font-size:11px!important;overflow-wrap:anywhere;margin:4px 0 14px}body .client-user .note{display:block;font-size:12px!important;margin-top:14px}body .ref-side-footer{display:flex;gap:8px;flex-wrap:wrap}
body .theme-switcher{position:fixed!important;right:20px!important;bottom:18px!important;left:auto!important;top:auto!important;z-index:70;background:#203f33!important;color:#fff!important;border:1px solid #507460!important;border-radius:9px!important;padding:9px 13px!important;font-family:inherit!important;font-size:12px!important;box-shadow:0 6px 20px #17392722!important}
body dialog,body .pvmbox,body .client-dialog{background:var(--card)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:20px!important;padding:28px!important;max-width:min(760px,calc(100vw - 32px))!important;max-height:90dvh!important;box-shadow:0 24px 100px #17392740!important}dialog::backdrop{background:#132f2b80;backdrop-filter:blur(4px)}body .kv{color:var(--ink)!important;border-color:var(--line)!important}body .kv span{color:var(--mut)!important}body .actions{gap:10px!important;flex-wrap:wrap}body .client-dialog-head{border-color:var(--line)!important}body #notice:not(:empty){background:#183e30!important;color:#fff!important;border-radius:12px!important;box-shadow:0 8px 28px #17392730!important;font-family:inherit!important;font-size:14px!important}
body .login{display:grid!important;grid-template-columns:1fr 1fr!important;min-height:100dvh!important;background:#f9faf6!important}body .lleft{background:#193e32!important;padding:clamp(36px,6vw,90px)!important;position:relative;overflow:hidden;border:0!important;color:#fff!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}body .lleft:after{content:'';position:absolute;width:310px;height:310px;border:65px solid #ff86b2;border-radius:50%;right:-150px;bottom:-140px;transform:rotate(-30deg);opacity:.95;pointer-events:none}body .lleft:before{content:'';position:absolute;right:-30px;top:26%;width:100px;height:100px;background:#e4ef8c;transform:rotate(26deg);border-radius:22px;opacity:.9}body .lleft h2{color:#fff!important;font-size:clamp(40px,4.4vw,68px)!important;font-weight:800!important;line-height:1.1!important;letter-spacing:-.06em!important;margin:60px 0 25px}body .lleft .big{color:#d6ef83!important}body .lleft p{color:#c8dacb!important;font-size:16px!important}body .lleft .logo{font-family:inherit!important;font-size:20px!important;color:#fff!important;letter-spacing:-.02em}body .lleft .mono{color:#adc5b7!important;font-family:inherit!important;font-size:11px!important;letter-spacing:.1em!important;margin-top:50px;z-index:1}body .lright{background:#f9faf6!important;padding:40px!important;display:flex;align-items:center;justify-content:center}body .lbox{width:100%!important;max-width:420px!important;background:transparent!important;border:0!important;padding:0!important}body .lbox h2{font-size:36px!important;font-weight:800!important}body .lbox form{margin-top:30px}body .lbox label{display:block;margin:16px 0 5px;font-weight:600}body .lbox input{width:100%;margin-top:8px;padding:14px!important;background:#fff!important}body .lbox .au-alt{margin-top:24px!important;font-size:14px!important;color:var(--mut)!important}body .lbox .au-alt a{color:#176147!important;font-weight:700;text-decoration:underline;cursor:pointer}body .lbox .btn{min-height:48px;width:100%;margin-top:22px!important}body .lbox .error{font-size:14px!important}
.sm-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#1d4435;color:#fff;border-radius:18px;padding:27px 30px;margin-bottom:26px;position:relative;overflow:hidden}.sm-welcome h3{color:#fff!important;font-size:25px!important;letter-spacing:-.04em;margin:4px 0 8px}.sm-welcome p{color:#c4d9c8;font-size:14px;max-width:550px}.sm-welcome .sm-eyebrow{font-size:10px;letter-spacing:.16em;color:#d6ef83;font-weight:800}.sm-welcome .btn{background:#d6ef83!important;color:#28422b!important;flex-shrink:0}.sm-welcome .sm-burst{font-size:72px;color:#ffc0d9;line-height:1;margin-right:12px}
body.dark:not(.light-theme){--ivory:#14251f;--ink:#ebf2e9;--mut:#acbfb2;--line:#3c5145;--bg:#14251f;--card:#20332a;--surface:#20332a;color-scheme:dark}body.dark:not(.light-theme) .side{background:#1b2e25!important}body.dark:not(.light-theme) .side .logo,body.dark:not(.light-theme) .menu a,body.dark:not(.light-theme) .menu a.on{color:#d7e7d9!important}body.dark:not(.light-theme) .menu a.on{background:#334e35!important}body.dark:not(.light-theme) .sm-wordmark small{color:#a6bea7}body.dark:not(.light-theme) .srow.th{background:#2a4031!important;color:#b9cdbb!important}body.dark:not(.light-theme) input,body.dark:not(.light-theme) textarea,body.dark:not(.light-theme) select{border-color:#49614e!important}
@media(min-width:1500px){body .main{padding-left:56px!important;padding-right:56px!important}.ovplans{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1150px){body .dash,body #admApp,body #dashboard{grid-template-columns:220px minmax(0,1fr)!important}body .side{width:220px!important;padding:24px 12px!important}body .main{padding:26px!important}body .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}body .ovgrid{grid-template-columns:minmax(0,1fr)!important}body .ovaside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}body .adm-two{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:760px){body .dash,body #admApp,body #dashboard{display:block!important}body .side{position:fixed!important;left:0;top:0;width:270px!important;transform:translateX(-100%);transition:transform .2s;box-shadow:15px 0 50px #16382933}body.sm-nav-open .side{transform:translateX(0)}body .main,body #admMain{padding:18px 16px 65px!important}.sm-topbar{margin-bottom:25px;padding-bottom:16px;font-size:11px}.sm-topbar .sm-account span:not(.sm-avatar){display:none}.sm-menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--ink);font-size:21px;margin-right:8px}.sm-topbar>div{display:flex;align-items:center;gap:4px}body .hrow,body .client-head{align-items:flex-start!important;flex-direction:column;gap:16px!important}body .hrow .ovtools{width:100%;display:flex;flex-wrap:wrap}body .ovtools input{width:100%!important;min-width:0!important}.sm-welcome{padding:24px;align-items:flex-start;flex-direction:column;gap:18px}.sm-welcome h3{font-size:23px!important}.sm-welcome .sm-burst{display:none}body .stats{gap:10px!important;margin-bottom:20px!important}body .stat{min-height:130px;padding:17px!important}body .stat b{font-size:27px!important}body .stat span{font-size:9px!important;letter-spacing:.06em!important}body .stat em{font-size:11px!important}body .phead{padding:18px!important}body .ovplans,body .ovaside{grid-template-columns:minmax(0,1fr)!important}body .srow{padding:14px!important}body .ref-table{overflow:auto}body .ref-table .srow{min-width:500px}body .login{grid-template-columns:minmax(0,1fr)!important}body .lleft{padding:28px!important;min-height:280px!important}body .lleft h2{font-size:39px!important;margin:28px 0 14px!important}body .lleft .mono{display:none}body .lleft p{font-size:14px!important;max-width:290px!important;margin-top:12px!important}body .lleft:before{width:55px;height:55px;right:35px;top:35px}body .lleft:after{width:180px;height:180px;border-width:40px;right:-90px;bottom:-90px}body .lright{padding:32px 24px 70px!important}body .lbox h2{font-size:30px!important}body .theme-switcher{right:12px!important;bottom:12px!important}body .client-mobile-logout{display:none!important}body .plan-grid,body .inventory-grid{grid-template-columns:minmax(0,1fr)!important}.sm-wordmark small{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Explicit overrides for legacy responsive and brand selectors. */
body #app .side .logo .sm-wordmark{background:transparent!important;width:auto!important;height:auto!important;border-radius:0!important;box-shadow:none!important;color:var(--ink)!important;font-size:13px!important}
body #app .side .menu{margin:0!important}body #app .side .logo{height:auto!important;min-height:66px!important}
body #app .side .logo .sm-wordmark small{font-size:9px!important;line-height:1.3;color:var(--mut)!important}
body .subline,body .note,body .plan-card p,body .sm-welcome p{font-size:15px!important}
@media(max-width:760px){body #app .side{position:fixed!important;width:270px!important;top:0!important;left:0!important;height:100dvh!important}body #app .side .menu{display:flex!important;flex-direction:column!important}body #app .side .navlabel,body #app .client-user{display:block!important}body #app .side .menu a{font-size:14px!important;min-height:44px!important}}

body #app .lleft>*{position:relative;z-index:1}body #app .lleft:before,body #app .lleft:after{z-index:0}body #app .lleft .big{font-family:inherit!important;font-style:normal!important}body #app .login{height:auto!important}
body #app .ram-price,body #app .checkout-total,body #app .ram-price small,body #app .ip-top strong{font-family:inherit!important;color:var(--ink)!important}body #app .ram-price{font-size:30px!important;font-weight:800!important;letter-spacing:-.04em!important}
body #app .plan-search-panel.panel{background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important;box-shadow:none!important}
body #app .plan-search-form{height:auto!important;display:grid!important;grid-template-columns:minmax(140px,1fr) 150px auto 40px!important;border:0!important;padding:0!important;gap:8px!important;width:100%!important;border-radius:0!important;margin:0 0 24px!important}
body #app .plan-search-form:before{display:none!important}body #app .plan-search-form input{order:0!important;width:100%!important;height:46px!important;font-size:14px!important;padding:12px!important;border:1px solid var(--line)!important;border-radius:10px!important}body #app .plan-search-form select{order:0!important;width:100%!important;height:46px!important;font-size:13px!important;padding:10px!important}body #app .plan-search-form .btn{order:0!important;height:46px!important;width:auto!important;font-size:13px!important;padding:10px!important}
body #app .lbox label{letter-spacing:0!important;text-transform:none!important}body #app .lbox .mono{letter-spacing:0!important;font-family:inherit!important;font-size:13px!important}
@media(max-width:760px){body #app .login{grid-template-rows:auto auto!important;min-height:100dvh!important}body #app .lleft{min-height:260px!important;height:auto!important}body #app .lleft:after{opacity:.2!important}body #app .lleft:before{opacity:.3!important}body #app .lright{height:auto!important;min-height:0!important;padding:32px 24px 70px!important;align-items:flex-start!important}body #app .lleft h2{font-size:38px!important}body #app .lleft .logo{font-size:17px!important}body #app .plan-search-form{grid-template-columns:minmax(0,1fr) 86px 40px!important}body #app .plan-search-form input{grid-column:1/-1!important}body #app .plan-search-form select{grid-column:1!important}}

body #app .tablewrap{overflow-x:auto!important;overscroll-behavior-x:contain}body #app .tablewrap table{min-width:700px;width:100%;border-collapse:collapse}body #app .tablewrap th{font-family:inherit!important;letter-spacing:.06em!important;font-size:11px!important;color:var(--mut)!important}body #app .tablewrap td{font-family:inherit!important;font-size:13px!important;line-height:1.6!important}
body #app .ram-plans{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important;gap:16px!important;background:transparent!important;border:0!important}body #app .ram-plan{padding:26px!important;min-width:0}body #app .ram-plan h3{font-size:26px!important;line-height:1.2!important;overflow-wrap:anywhere}body #app .ram-plan .ram-popular{display:none!important}body #app .ram-price{margin:20px 0!important}body #app .inventory-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))!important}body #app .inventory-title h2{font-size:30px!important}body #app .inventory-title p{font-size:14px!important;color:var(--mut)!important}
@media(min-width:761px) and (max-width:1150px){body #app .side{width:220px!important}body #app .main{padding:26px!important}}

body.dark:not(.light-theme) .kick{color:#b5d58a!important}
