/* Nabtech Workspace 2.1. Native WHMCS contextual sidebar, redesigned without duplicating the site navigation. */
body.nab-workspace .nw-shell--rail {--nw-sidebar-width:clamp(310px,22vw,340px);display:grid;grid-template-columns:var(--nw-sidebar-width) minmax(0,1fr);align-items:start;position:relative;gap:0;}
body.nab-workspace .nw-workspace[data-nw-has-sidebar="false"] .nw-shell--rail {grid-template-columns:minmax(0,1fr);}
body.nab-workspace .nw-shell--rail>.nw-main {width:100%;max-width:1540px;margin:0 auto;padding:32px clamp(28px,3vw,52px) 48px;min-height:calc(100vh - 100px);}
body.nab-workspace .nw-shell--rail .nw-page-grid {grid-template-columns:minmax(0,1fr);}
body.nab-workspace .nw-sidebar {position:static;align-self:start;display:flex;flex-direction:column;min-width:0;height:auto;max-height:none;background:transparent;border:0;border-radius:0;z-index:30;}
body.nab-workspace .nw-workspace[data-nw-has-sidebar="false"] .nw-sidebar {display:none!important;}
body.nab-workspace .nw-sidebar__brand {display:flex;align-items:center;gap:12px;flex:0 0 auto;padding:27px 21px 24px;border-bottom:1px solid #edf2f5;}
body.nab-workspace .nw-sidebar__mark {display:grid;place-items:center;width:37px;height:39px;flex:none;color:#d9f5fa;background:linear-gradient(135deg,#1e6687,#0d314b);border:1px solid #387993;border-radius:11px;box-shadow:0 3px 0 #092d43,0 7px 14px #17445c16,inset 0 1px 0 #89c6dc50;}
body.nab-workspace .nw-sidebar__mark .nw-icon {width:19px;height:19px;stroke-width:1.4;}
body.nab-workspace .nw-sidebar__eyebrow {display:block;font-size:8px;font-weight:800;letter-spacing:.22em;line-height:1.6;color:#6d94a9;}
body.nab-workspace .nw-sidebar__brand strong {display:block;font-size:17px;line-height:1.45;font-weight:750;letter-spacing:-.035em;color:#1c3d53;}
body.nab-workspace .nw-sidebar__close {display:none;margin-left:auto;}
body.nab-workspace .nw-sidebar__scroll {flex:1 1 auto;width:100%;min-width:0;min-height:0;overflow:visible;padding:28px 18px 34px;}
body.nab-workspace .nw-sidebar__label {display:block;padding:0 12px 13px;font-size:8px;font-weight:800;letter-spacing:.16em;color:#8297a6;}
body.nab-workspace .nw-sidebar-menu {list-style:none;display:grid;gap:4px;padding:0;margin:0;}
body.nab-workspace .nw-sidebar-menu__item {min-width:0;margin:0;padding:0;}
body.nab-workspace .nw-sidebar-menu__link {display:flex;align-items:center;gap:10px;min-height:43px;padding:11px 12px;border:1px solid transparent;border-radius:10px;color:#536e83;background:transparent;font-family:inherit;font-size:12px;font-weight:600;line-height:1.45;cursor:pointer;transition:color .18s,background .18s,border-color .18s;text-decoration:none!important;}
body.nab-workspace .nw-sidebar-menu__text {min-width:0;overflow-wrap:anywhere;flex:1;}
body.nab-workspace .nw-sidebar-menu__icon {display:grid;place-items:center;width:19px;height:21px;flex:none;color:#7896a8;font-size:16px;}
body.nab-workspace .nw-sidebar-menu__icon .nw-icon {width:18px;height:18px;stroke-width:1.55;}
body.nab-workspace .nw-sidebar-menu__link:hover {background:#f0f6f9;color:#24536b;border-color:#e3eef3;}
body.nab-workspace .nw-sidebar-menu__link[aria-current="page"],body.nab-workspace .nw-sidebar-menu__item.is-current>details>summary {background:linear-gradient(110deg,#e7f3f6,#f1f8fb);border-color:#d4e8ef;color:#145b74;box-shadow:inset 3px 0 0 #367e96;}
body.nab-workspace .nw-sidebar-menu__link[aria-current="page"] .nw-sidebar-menu__icon,body.nab-workspace .nw-sidebar-menu__item.is-current>details>summary .nw-sidebar-menu__icon {color:#286f87;}
body.nab-workspace .nw-sidebar-menu__badge {flex:none;min-width:19px;text-align:center;line-height:1.4;padding:2px 5px;border:1px solid #dfebf1;border-radius:5px;color:#517e94;background:#fff;font-size:9px;}
body.nab-workspace .nw-sidebar-menu__chevron {display:flex;color:#94acb9;transition:transform .18s;}
body.nab-workspace .nw-sidebar-menu__chevron .nw-icon {width:12px;height:12px;}
body.nab-workspace .nw-sidebar-group {margin:0;padding:0;}
body.nab-workspace .nw-sidebar-group>summary {list-style:none;}
body.nab-workspace .nw-sidebar-group>summary::-webkit-details-marker {display:none;}
body.nab-workspace .nw-sidebar-group[open]>summary>.nw-sidebar-menu__chevron {transform:rotate(90deg);}
body.nab-workspace .nw-sidebar-menu--children {position:relative;margin:4px 0 8px 21px;padding-left:15px;border-left:1px solid #dce9f0;gap:2px;}
body.nab-workspace .nw-sidebar-menu--children .nw-sidebar-menu__link {padding:9px 10px;min-height:35px;font-size:11px;font-weight:500;border-radius:8px;}
body.nab-workspace .nw-sidebar-menu__divider {height:1px;background:#e7eef3;margin:8px 12px;list-style:none;}
body.nab-workspace .nw-sidebar-menu__item.is-disabled>.nw-sidebar-menu__link {opacity:.5;pointer-events:none;}
body.nab-workspace .nw-sidebar__account {margin-top:16px;padding-top:13px;border-top:1px solid #e5edf2;}
body.nab-workspace #nw-sidebar-context {display:flex;flex-direction:column;gap:18px;margin:0!important;padding:0!important;border:0;}
body.nab-workspace #nw-sidebar-context:empty {display:none;}
body.nab-workspace #nw-sidebar-context>:is(.card,.panel,.TM-card) {margin:0!important;width:100%;max-width:100%;min-width:0;overflow:hidden;border-color:#e0eaf0!important;border-radius:14px!important;box-shadow:0 3px 10px #244a6014!important;background:#fff!important;flex:none;}
body.nab-workspace #nw-sidebar-context>:is(.card,.panel,.TM-card)>:is(.card-header,.panel-heading,.card-body,.panel-body,.card-footer,.panel-footer,.list-group) {width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
body.nab-workspace #nw-sidebar-context :is(.panel-heading,.card-header) {padding:15px 16px!important;border-radius:14px 14px 0 0!important;background:linear-gradient(110deg,#fff,#f7fbfd)!important;}
body.nab-workspace #nw-sidebar-context :is(.panel-title,.card-title) {font-size:13px!important;line-height:1.55!important;font-weight:750!important;color:#31566d;}
body.nab-workspace #nw-sidebar-context :is(.panel-body,.card-body) {padding:16px!important;font-size:12.5px!important;line-height:1.75!important;color:#607e91;}
body.nab-workspace #nw-sidebar-context :is(.panel-footer,.card-footer) {padding:13px 16px!important;font-size:11.5px;border-radius:0 0 14px 14px!important;}
body.nab-workspace #nw-sidebar-context .list-group-item {position:relative;min-width:0;padding:12px 16px!important;font-size:12.5px!important;line-height:1.55!important;overflow-wrap:anywhere;}
body.nab-workspace #nw-sidebar-context .list-group-item.active {background:#edf7f9!important;box-shadow:inset 3px 0 0 #4e92a5;}
body.nab-workspace #nw-sidebar-context .list-group-item:last-child {border-radius:0 0 13px 13px!important;}
body.nab-workspace #nw-sidebar-context .badge {font-size:9px!important;min-height:18px;padding:2px 5px;}
body.nab-workspace #nw-sidebar-context .nw-sidebar-panel .badge {display:inline-flex!important;align-items:center;justify-content:center;min-width:36px!important;min-height:24px!important;padding:4px 9px!important;border:1px solid #cfe2ea!important;border-radius:8px!important;background:#e8f3f7!important;color:#245f78!important;font-size:11px!important;font-weight:750!important;line-height:1.25!important;opacity:1!important;}
body.nab-workspace #nw-sidebar-context .btn {font-family:inherit;font-size:11.5px;padding:9px 11px;min-height:36px;line-height:1.45;gap:6px;border-radius:9px!important;}
body.nab-workspace #nw-sidebar-context .btn-block {width:100%;}
body.nab-workspace #nw-sidebar-context :is(.col-button-left,.col-button-right) {width:100%;max-width:100%;padding:0;float:none;}
body.nab-workspace #nw-sidebar-context .col-button-right {margin-top:8px;}
body.nab-workspace #nw-sidebar-context .panel-footer:has(.col-button-left):has(.col-button-right) {display:block;}
body.nab-workspace #nw-sidebar-context>[menuitemname="Client Information"].panel-client-details:not([hidden]):not(.w-hidden):not(.d-none):not([style*="display"]) {display:block!important;}
body.nab-workspace #nw-sidebar-context>[menuitemname="Announcements Months"].panel-by-month:not([hidden]):not(.hidden):not(.w-hidden):not(.d-none):not([style*="display"]) {display:block!important;}
body.nab-workspace #nw-sidebar-context .user-profile {padding:0!important;text-align:left!important;}
body.nab-workspace #nw-sidebar-context .user-profile .px-3 {padding:0!important;}
body.nab-workspace #nw-sidebar-context .user-profile em {font-style:normal;color:#254d66;font-weight:650;}
body.nab-workspace #nw-sidebar-context .user-avatar img {width:36px;height:36px;border-radius:10px;margin-bottom:8px;}
body.nab-workspace #nw-sidebar-context .total-price {font-size:20px!important;line-height:1.4;overflow-wrap:anywhere;}
body.nab-workspace #nw-sidebar-context .total-text {font-size:10px!important;line-height:1.6;}
body.nab-workspace #nw-sidebar-context .list-info {padding-left:0;font-size:10px;list-style:none;}
body.nab-workspace #nw-sidebar-context .list-info li {margin:10px 0;display:flex;justify-content:space-between;gap:12px;}
body.nab-workspace #nw-sidebar-context :is(img,svg,iframe) {max-width:100%;}
body.nab-workspace #nw-sidebar-context .nw-sidebar-panel--promo {overflow:hidden;background:radial-gradient(ellipse at 90% 4%,#dceff5,transparent 60%),#f9fcfe!important;}
body.nab-workspace #nw-sidebar-context .nw-sidebar-panel--promo .panel-body {background:transparent!important;}
body.nab-workspace #nw-sidebar-context .nw-sidebar-panel--promo :is(h2,h3,h4) {font-size:15px;line-height:1.4;letter-spacing:-.025em;margin:8px 0;}
body.nab-workspace #nw-sidebar-context .nw-sidebar-panel--promo p {font-size:11px;line-height:1.75;}
body.nab-workspace #nw-sidebar-context .panel-client-details .user-profile {padding:14px 15px!important;font-size:12px;line-height:1.75;color:#526e80;}
body.nab-workspace #nw-sidebar-context .panel-client-details .user-profile>.px-3 {padding-left:0!important;padding-right:0!important;overflow-wrap:anywhere;}
body.nab-workspace #nw-sidebar-context .panel-client-details .user-profile strong {color:#24495d;}
body.nab-workspace .nw-sidebar-toggle {display:none;align-items:center;gap:8px;border:1px solid #dce8ef;border-radius:9px;padding:8px 11px;min-height:36px;background:#fff;color:#416e86;font-family:inherit;font-weight:650;font-size:12px;line-height:1.4;flex:none;}
body.nab-workspace .nw-sidebar-toggle .nw-icon {width:17px;height:17px;}
body.nab-workspace .nw-sidebar-scrim {position:fixed;inset:var(--nw-sticky-top,0px) 0 0;z-index:1039;background:#0b263749;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);}
body.nab-workspace .nw-navigation-progress {position:absolute;top:0;left:var(--nw-sidebar-width,0px);right:0;height:2px;z-index:40;pointer-events:none;opacity:0;overflow:hidden;}
body.nab-workspace .nw-workspace[data-nw-has-sidebar="false"] .nw-navigation-progress {left:0;}
body.nab-workspace .nw-navigation-progress::after {content:"";display:block;height:100%;width:30%;background:linear-gradient(90deg,transparent,#438ea3,#88dae3,transparent);animation:nw-navigation-progress 1.1s linear infinite;animation-play-state:paused;}
body.nab-workspace .nw-workspace.is-navigating .nw-navigation-progress {opacity:1;}
body.nab-workspace .nw-workspace.is-navigating .nw-navigation-progress::after {animation-play-state:running;}
body.nab-workspace .nw-workspace.is-navigating .nw-main {cursor:progress;}
@keyframes nw-navigation-progress {0%{transform:translateX(-100%)}100%{transform:translateX(430%)}}
@media(min-width:981px) and (max-width:1227px) {
 body.nab-workspace .nw-shell--rail>.nw-main {padding-left:25px;padding-right:25px;}
 body.nab-workspace .nw-shell--rail .nw-dashboard-lead {grid-template-columns:minmax(0,1fr);}
 body.nab-workspace .nw-shell--rail .nw-next {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px;padding-bottom:10px;}
 body.nab-workspace .nw-shell--rail .nw-next-heading {grid-column:1/-1;}
 body.nab-workspace .nw-shell--rail .nw-next-row {grid-template-columns:30px minmax(0,1fr);gap:8px;}
 body.nab-workspace .nw-shell--rail .nw-next-row>.nw-icon {display:none;}
 body.nab-workspace .nw-shell--rail .nw-home-panels {grid-template-columns:minmax(0,1fr);}
 body.nab-workspace .nw-shell--rail .nw-masspay {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:980px) {
 body.nab-workspace .nw-shell--rail {grid-template-columns:minmax(0,1fr);}
 body.nab-workspace .nw-shell--rail>.nw-main {padding:26px 25px 40px;}
 body.nab-workspace .nw-sidebar {position:static;width:100%;max-width:none;z-index:auto;visibility:visible;transform:none;box-shadow:none;border:0;}
 body.nab-workspace .nw-sidebar__brand {padding-top:21px;padding-bottom:21px;}
 body.nab-workspace .nw-sidebar__close {display:none;}
 body.nab-workspace .nw-sidebar-toggle {display:none;}
 body.nab-workspace .nw-workspace[data-nw-has-sidebar="false"] .nw-sidebar-toggle {display:none!important;}
 body.nab-workspace .nw-navigation-progress {left:0;}
 body.nab-workspace .nw-sidebar__scroll {padding-bottom:24px;}
 body.nab-workspace .nw-topline {gap:14px;}
 body.nab-workspace .nw-topline .nw-breadcrumb {min-width:0;flex:1;}
}
@media(max-width:520px) {
 body.nab-workspace .nw-shell--rail>.nw-main {padding:20px 18px 32px;}
 body.nab-workspace .nw-topline {flex-wrap:wrap;gap:11px;margin-bottom:22px;}
 body.nab-workspace .nw-sidebar-toggle {order:0;font-size:11px;}
 body.nab-workspace .nw-topline .nw-command-trigger {order:1;margin-left:auto;}
 body.nab-workspace .nw-topline .nw-breadcrumb {order:2;flex:1 0 100%;}
 body.nab-workspace .nw-topline .nw-command-trigger kbd {display:none;}
}
@media(prefers-reduced-motion:reduce) {
 body.nab-workspace .nw-sidebar,body.nab-workspace .nw-sidebar-menu__chevron {transition:none;}
 body.nab-workspace .nw-navigation-progress::after {animation:none;width:100%;}
}
@media print {
 body.nab-workspace .nw-shell--rail {display:block;}
 body.nab-workspace .nw-sidebar,body.nab-workspace .nw-sidebar-toggle,body.nab-workspace .nw-sidebar-scrim,body.nab-workspace .nw-navigation-progress {display:none!important;}
 body.nab-workspace .nw-shell--rail>.nw-main {padding:0;max-width:none;}
}

/* Align the rail with the hero gutter, refine native action footers and elevate account details. */
@media(min-width:981px) {
 body.nab-workspace .nw-shell--rail {--nw-sidebar-width:calc(320px + clamp(28px,4vw,64px));}
 body.nab-workspace .nw-shell--rail>.nw-main {padding-left:18px;}
 body.nab-workspace .nw-sidebar__scroll {padding-left:clamp(28px,4vw,64px);padding-right:10px;}
}
body.nab-workspace #nw-sidebar-context :is(.card-title,.panel-title) {display:flex;align-items:center;gap:10px;min-width:0;margin:0!important;}
body.nab-workspace #nw-sidebar-context :is(.card-title,.panel-title)>i:first-child:not(.card-minimise):not(.panel-minimise) {display:grid;place-items:center;width:38px;height:39px;flex:none;margin:0!important;border:1px solid #d5e7ef;border-radius:12px;background:linear-gradient(145deg,#fff,#e4f1f6);color:#3f89a4;box-shadow:0 4px 0 #cfe1e9,inset 0 1px 0 #fff;font-size:17px;}
body.nab-workspace #nw-sidebar-context :is(.card-minimise,.panel-minimise) {margin-left:auto!important;color:#7797a9;}
body.nab-workspace #nw-sidebar-context .panel-client-details {position:relative;border-color:#d5e7ee!important;border-radius:18px!important;background:linear-gradient(155deg,#fff 60%,#f1f8fa)!important;box-shadow:0 5px 0 #e6f0f4,0 18px 40px #173f5710!important;}
body.nab-workspace #nw-sidebar-context .panel-client-details::before {content:"";position:absolute;z-index:2;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#2c829b,#8ed9e2);}
body.nab-workspace #nw-sidebar-context .panel-client-details>.card-header {padding:18px!important;border-radius:18px 18px 0 0!important;background:radial-gradient(circle at 100% 0,#e5f5f8,transparent 55%),#fbfdfe!important;}
body.nab-workspace #nw-sidebar-context .panel-client-details .card-body {width:auto!important;max-width:none;margin:15px;padding:17px!important;border:1px solid #e2edf2;border-radius:13px!important;background:#fff!important;box-shadow:inset 0 1px 0 #fff,0 8px 22px #244a6008;}
body.nab-workspace #nw-sidebar-context .panel-client-details .user-profile {position:relative;margin:0;padding:0!important;border:0;border-radius:0;background:transparent;font-size:12.5px;line-height:1.85;color:#607d90;box-shadow:none;}
body.nab-workspace #nw-sidebar-context .panel-client-details .user-profile strong {display:inline-block;margin-bottom:3px;color:#214c63;font-size:14px;line-height:1.45;}
body.nab-workspace #nw-sidebar-context .panel-client-details .user-profile em {display:inline-block;margin-bottom:2px;color:#47758d;font-weight:600;}
body.nab-workspace #nw-sidebar-context .nw-client-summary {display:grid;gap:17px;line-height:1.5!important;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__identity {display:flex;align-items:center;gap:13px;min-width:0;padding-bottom:16px;border-bottom:1px solid #e5eef2;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__avatar {display:grid;place-items:center;width:46px;height:47px;flex:none;border:1px solid #d4e7ef;border-radius:14px;background:linear-gradient(145deg,#fff,#dfeef4);color:#3f89a4;box-shadow:0 4px 0 #cfdee6,inset 0 1px 0 #fff;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__avatar .nw-icon {width:22px;height:22px;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__name {min-width:0;display:grid;gap:2px;}
body.nab-workspace #nw-sidebar-context .nw-client-summary small {display:block;margin:0 0 3px;color:#7993a3;font-size:9px;font-weight:800;letter-spacing:.11em;line-height:1.45;text-transform:uppercase;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__name strong {display:block;margin:0;color:#214b62;font-size:14px;font-weight:760;line-height:1.4;overflow-wrap:anywhere;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__name span {display:block;color:#668294;font-size:12px;font-style:italic;line-height:1.5;overflow-wrap:anywhere;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__address {min-width:0;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__address address {display:grid;gap:5px;margin:0;padding:12px 13px;border:1px solid #e4edf2;border-radius:11px;background:#f7fafc;color:#55758a;font-size:12px;font-style:normal;line-height:1.55;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__address address>span {display:block;overflow-wrap:anywhere;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__country {width:max-content;max-width:100%;margin-top:3px;padding:4px 8px;border:1px solid #d5e6ed;border-radius:7px;background:#fff;color:#326b83;font-size:10px;font-weight:750;letter-spacing:.035em;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__country-row {display:flex!important;align-items:center;gap:8px;width:max-content;max-width:100%;margin-top:3px;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__country-row .nw-client-summary__country {margin-top:0;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__edit {display:grid!important;place-items:center;width:28px;height:28px;flex:0 0 28px;border:1px solid #c9e0e8;border-radius:9px;background:linear-gradient(145deg,#fff,#e8f3f7);color:#297a94;box-shadow:0 3px 0 #d8e8ee;text-decoration:none!important;transition:transform .18s,border-color .18s,background .18s;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__edit .nw-icon {width:14px;height:14px;}
body.nab-workspace #nw-sidebar-context .nw-client-summary__edit:hover {border-color:#8fc4d2;background:#eaf7fa;color:#175f78;transform:translateY(-1px);}
body.nab-workspace #nw-sidebar-context .panel-client-details>.card-footer {padding:14px 15px 16px!important;border-radius:0 0 18px 18px!important;background:linear-gradient(180deg,#f8fbfc,#eef6f8)!important;}
body.nab-workspace #nw-sidebar-context .panel-client-details>.card-footer .btn {min-height:42px;border-radius:11px!important;box-shadow:0 4px 10px #176a8215!important;}
body.nab-workspace #nw-sidebar-context .panel-ticket-info>.card-footer {display:flex!important;align-items:stretch;gap:10px;flex-wrap:wrap;}
body.nab-workspace #nw-sidebar-context .panel-ticket-info>.card-footer :is(.row,.btn-group) {display:flex!important;width:100%;margin:0!important;gap:10px;flex-wrap:wrap;}
body.nab-workspace #nw-sidebar-context .panel-ticket-info>.card-footer :is([class*="col-"],.col-button-left,.col-button-right) {flex:1 1 105px;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;}
body.nab-workspace #nw-sidebar-context .panel-ticket-info>.card-footer .btn {width:100%;min-height:41px;margin:0!important;}
body.nab-workspace #nw-sidebar-context .panel-ticket-info :is(.label,.badge)[class*="status-"] {display:inline-flex!important;align-items:center;min-height:27px;padding:4px 9px!important;border:1px solid transparent!important;border-radius:8px!important;opacity:1!important;text-shadow:none!important;}
body.nab-workspace #nw-sidebar-context .panel-ticket-info :is(.label,.badge).status-answered {background:#e1f1f7!important;border-color:#bddde8!important;color:#175b73!important;}
body.nab-workspace #nw-sidebar-context .panel-ticket-info :is(.label,.badge).status-customer-reply {background:#fff0dc!important;border-color:#f0d0a6!important;color:#8a4b12!important;}
body.nab-workspace #nw-sidebar-context .panel-ticket-info :is(.label,.badge).status-open {background:#e6f4ea!important;border-color:#c7e2cf!important;color:#22663d!important;}
body.nab-workspace #nw-sidebar-context .panel-ticket-info :is(.label,.badge).status-closed {background:#edf1f4!important;border-color:#d7e0e6!important;color:#526b7b!important;}
@media(max-width:980px) {body.nab-workspace .nw-sidebar__scroll {padding-left:25px;padding-right:25px;}}
@media(max-width:620px) {body.nab-workspace .nw-sidebar__scroll {padding-left:20px;padding-right:20px;}}

/* Ordering keeps Nabtech's regular container width from plans through checkout. */
@media screen {
 body.nab-workspace .nw-workspace--order .nw-page-hero__inner,
 body.nab-workspace .nw-shell--rail>.nw-main.nw-main--order {max-width:1288px;padding-left:15px;padding-right:15px;}
}
@media screen and (min-width:992px) and (max-width:1199px) {
 body.nab-workspace .nw-workspace--order .nw-page-hero__inner,
 body.nab-workspace .nw-shell--rail>.nw-main.nw-main--order {max-width:960px;}
}
@media screen and (min-width:768px) and (max-width:991px) {
 body.nab-workspace .nw-workspace--order .nw-page-hero__inner,
 body.nab-workspace .nw-shell--rail>.nw-main.nw-main--order {max-width:720px;}
}
@media screen and (min-width:576px) and (max-width:767px) {
 body.nab-workspace .nw-workspace--order .nw-page-hero__inner,
 body.nab-workspace .nw-shell--rail>.nw-main.nw-main--order {max-width:540px;}
}

/* One menu treatment for native rows and links supplied later by modules. */
body.nab-workspace #nw-sidebar #nw-sidebar-context .nw-sidebar-panel .list-group {display:grid;gap:6px;padding:9px!important;border:0;background:transparent;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(ul,ol):has(a.nw-sidebar-action) {display:grid;gap:6px;list-style:none;margin:0;padding:0;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(ul,ol):has(a.nw-sidebar-action)>li {margin:0;padding:0;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(a.nw-sidebar-action,.nw-sidebar-panel .list-group-item-action) {position:relative;align-items:center;gap:10px;min-width:0;min-height:48px;width:100%;margin:0!important;padding:9px 11px!important;border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;box-shadow:none;color:#52758b!important;font:600 12.5px/1.5 "Nabtech Workspace",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;text-align:left;text-decoration:none!important;white-space:normal;overflow-wrap:anywhere;transition:background .16s,border-color .16s,color .16s,box-shadow .16s;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(.card-body,.panel-body)>a.nw-sidebar-action+a.nw-sidebar-action {margin-top:6px!important;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(a.nw-sidebar-action,.nw-sidebar-panel .list-group-item-action):hover {border-color:#dfedf2!important;background:#f2f8fa!important;color:#245d78!important;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(a.nw-sidebar-action,.nw-sidebar-panel .list-group-item-action):is(.active,[aria-current="page"]) {border-color:#c8e1ea!important;background:linear-gradient(115deg,#e7f4f7,#f2f9fb)!important;color:#195e78!important;box-shadow:inset 3px 0 0 #458fa6!important;font-weight:750!important;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(a.nw-sidebar-action,.nw-sidebar-panel .list-group-item-action):focus-visible {outline:3px solid #8fc7d8!important;outline-offset:2px;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(a.nw-sidebar-action,.nw-sidebar-panel .list-group-item-action):is(.disabled,[aria-disabled="true"]) {opacity:.5;pointer-events:none;}
body.nab-workspace #nw-sidebar #nw-sidebar-context .nw-sidebar-link-label {flex:1;min-width:0;overflow-wrap:anywhere;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(.nw-sidebar-link-icon,.nw-sidebar-supplied-icon) {display:inline-grid!important;place-items:center;flex:0 0 30px;width:30px!important;min-width:30px;height:30px!important;margin:0!important;padding:0!important;border:1px solid #dfebf1;border-radius:9px;background-color:#f0f7fa;color:#6292a8!important;box-sizing:border-box;font-size:14px!important;line-height:1!important;text-align:center;vertical-align:middle;}
body.nab-workspace #nw-sidebar #nw-sidebar-context .nw-sidebar-link-icon>:is(i,svg) {width:16px!important;height:16px!important;margin:0!important;font-size:14px!important;line-height:16px!important;color:inherit;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(svg,img).nw-sidebar-supplied-icon {padding:6px!important;object-fit:contain;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(.active,[aria-current="page"])>:is(.nw-sidebar-link-icon,.nw-sidebar-supplied-icon) {border-color:#bcdce7;background-color:#dceff4;color:#256e89!important;}
body.nab-workspace #nw-sidebar #nw-sidebar-context .nw-sidebar-link-icon--fallback {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236292a8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:16px;}
body.nab-workspace #nw-sidebar #nw-sidebar-context .nw-sidebar-action>.badge {flex:none;float:none!important;margin-left:auto;}
@media(prefers-reduced-motion:reduce) {body.nab-workspace #nw-sidebar #nw-sidebar-context a.nw-sidebar-action {transition:none;}}

body.nab-workspace #nw-sidebar #nw-sidebar-context .btn>:is(i,svg,img) {flex:none;width:16px;height:16px;font-size:14px;object-fit:contain;}
body.nab-workspace #nw-sidebar #nw-sidebar-context .nw-sidebar-supplied-icon:is(.fad,.fa-duotone)::before,
body.nab-workspace #nw-sidebar #nw-sidebar-context .nw-sidebar-supplied-icon:is(.fad,.fa-duotone)::after {position:static!important;grid-area:1/1;line-height:1;}

/* The row owns layout; the native link owns module visibility and actions. */
body.nab-workspace #nw-sidebar #nw-sidebar-context .nw-sidebar-action-row {display:flex!important;align-items:center;gap:10px;width:100%;min-width:0;}
body.nab-workspace #nw-sidebar #nw-sidebar-context .nw-sidebar-action-row>.badge {flex:none;float:none!important;margin-left:auto;}
body.nab-workspace #nw-sidebar #nw-sidebar-context :is(.active,[aria-current="page"])>.nw-sidebar-action-row>:is(.nw-sidebar-link-icon,.nw-sidebar-supplied-icon) {border-color:#bcdce7;background-color:#dceff4;color:#256e89!important;}
