.dashboard-mode{background:#f7f6f2!important}.dashboard-mode>main{padding:0!important;margin:0!important;min-height:100vh}.dashboard-mode>.top-bar,.dashboard-mode>nav.navbar,.dashboard-mode>footer{display:none!important}.dashboard-mode>.alert{display:none!important}
    .workspace-shell{--ink:#18334a;--muted:#738398;--line:#e7e9e7;--teal:#167d79;min-height:100vh;display:grid;grid-template-columns:258px minmax(0,1fr);background:#f7f6f2;color:var(--ink)}
    .workspace-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:25px 16px 18px;background:#152f43;color:#e9f1f2;overflow-y:auto}.workspace-brand{display:flex;align-items:center;gap:11px;padding:3px 9px 27px;color:#fff;text-decoration:none}.brand-mark{width:39px;height:39px;border-radius:13px;background:#d5f0e5;color:#22685f;display:grid;place-items:center;font-weight:800;font-size:14px}.workspace-brand strong,.workspace-brand small,.topbar-user strong,.topbar-user small{display:block}.workspace-brand strong{font-size:14px;letter-spacing:.01em}.workspace-brand small{font-size:11px;color:#a9bbc6;margin-top:3px}.sidebar-caption{padding:0 11px;color:#8da6b2;font-size:9px;font-weight:800;letter-spacing:.16em}.sidebar-caption-spaced{margin:24px 0 8px}.sidebar-links{display:grid;gap:4px}.sidebar-link{display:flex;align-items:center;gap:11px;min-height:43px;padding:9px 11px;border:0;border-radius:11px;background:transparent;color:#d3e0e4;text-decoration:none;text-align:left;font-size:12px;font-weight:600;transition:background .15s ease,color .15s ease}.sidebar-link i{width:17px;font-size:15px;color:#a4bdc3}.sidebar-link:hover,.sidebar-link:focus-visible,.sidebar-link.is-current{background:#244659;color:#fff}.sidebar-link.is-current{box-shadow:inset 3px 0 #88d8b2}.sidebar-link:hover i,.sidebar-link.is-current i{color:#9de2c0}.sidebar-bottom{display:grid;gap:4px;margin-top:auto;padding-top:20px;border-top:1px solid rgba(255,255,255,.1)}.sidebar-bottom form{margin:0}.sidebar-signout{width:100%;font:inherit;cursor:pointer}
    .workspace-main{min-width:0}.workspace-topbar{height:76px;padding:0 clamp(22px,4vw,60px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9e9e4;background:rgba(255,255,255,.78)}.workspace-topbar>div:first-child{display:flex;align-items:center;gap:20px}.topbar-label{font-size:10px;font-weight:800;letter-spacing:.14em;color:#536b77}.topbar-date{color:#87939c;font-size:11px}.topbar-date i{margin-right:5px}.topbar-user{display:flex;align-items:center;gap:10px}.user-avatar{width:36px;height:36px;border-radius:50%;background:#f4d8bf;color:#87543b;display:grid;place-items:center;font-size:14px;font-weight:800}.topbar-user strong{font-size:12px}.topbar-user small{margin-top:2px;font-size:10px;color:var(--muted)}.workspace-content{width:min(1450px,100%);margin:auto;padding:32px clamp(20px,4vw,60px) 22px}
    .welcome-panel{position:relative;min-height:188px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;padding:30px 38px;border-radius:22px;background:linear-gradient(112deg,#dff2e8 0%,#eaf3e7 57%,#f9e8d8 100%);box-shadow:0 8px 26px rgba(36,67,68,.06)}.welcome-copy{position:relative;z-index:1;max-width:720px}.eyebrow{display:block;margin-bottom:9px;color:#4c8176;font-size:9px;font-weight:800;letter-spacing:.14em}.welcome-panel h1{margin:0 0 9px;color:#1b3c4b;font-size:clamp(24px,3vw,34px);font-weight:800;letter-spacing:-.04em}.welcome-panel p{margin:0;color:#5b7779;font-size:13px;line-height:1.7}.welcome-art{position:relative;width:190px;height:140px;display:grid;place-items:center;color:#337d73;font-size:52px}.welcome-art>i{position:relative;z-index:1;display:grid;place-items:center;width:87px;height:87px;border:1px solid rgba(60,135,121,.2);border-radius:28px;background:rgba(255,255,255,.44);transform:rotate(-7deg)}.art-orbit{position:absolute;border:1px solid rgba(55,129,117,.2);border-radius:50%}.orbit-one{width:145px;height:95px;transform:rotate(-26deg)}.orbit-two{width:180px;height:116px;transform:rotate(25deg)}.art-spark{position:absolute;color:#d08b61;font-size:19px}.spark-one{top:12px;right:24px}.spark-two{bottom:11px;left:27px}
    .metrics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin:20px 0}.metric-card{position:relative;min-width:0;display:flex;flex-direction:column;gap:4px;padding:17px 17px 15px;border:1px solid rgba(26,57,70,.06);border-radius:17px;color:var(--ink);text-decoration:none;box-shadow:0 5px 17px rgba(32,52,58,.035);transition:transform .16s,box-shadow .16s}.metric-card:hover{color:var(--ink);transform:translateY(-2px);box-shadow:0 10px 23px rgba(32,52,58,.09)}.metric-mint{background:#e9f5ed}.metric-lilac{background:#f0edfa}.metric-peach{background:#fff0e6}.metric-blue{background:#eaf2f8}.metric-gold{background:#fbf3dc}.metric-icon{width:32px;height:32px;margin-bottom:7px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.65);color:#41786e;font-size:15px}.metric-label{color:#6b7d83;font-size:10px;font-weight:700}.metric-card strong{overflow:hidden;color:#1e3c4b;font-size:clamp(20px,2vw,27px);font-weight:800;letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap}.metric-card .metric-currency{font-size:clamp(15px,1.55vw,21px)}.metric-card small{color:#7c8e8e;font-size:9px}.metric-card small i{margin-left:2px;color:#69978c}
    .content-panel{margin:20px 0;padding:24px 25px;border:1px solid #ebece8;border-radius:19px;background:#fff;box-shadow:0 5px 20px rgba(30,49,54,.035)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}.section-heading .eyebrow{margin-bottom:5px}.section-heading h2{margin:0;color:#203c4b;font-size:20px;font-weight:800;letter-spacing:-.03em}.section-heading p{margin:5px 0 0;color:#849197;font-size:11px}.heading-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:#eaf5ee;color:#538c72;font-size:17px}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.quick-action{min-height:72px;display:flex;align-items:center;gap:12px;padding:12px 13px;border:1px solid #ebeeea;border-radius:13px;color:inherit;text-decoration:none;transition:border-color .16s,background .16s,transform .16s}.quick-action:hover{border-color:#b2d8c8;background:#f8fcf8;transform:translateY(-1px)}.quick-action>i:first-child{width:35px;height:35px;flex:0 0 35px;display:grid;place-items:center;border-radius:11px;background:#eff6f1;color:#538975;font-size:16px}.quick-action span{min-width:0;flex:1}.quick-action strong,.quick-action small{display:block}.quick-action strong{font-size:11px}.quick-action small{margin-top:4px;color:#86939a;font-size:9px}.quick-action>i:last-child{color:#9aa9a5;font-size:11px}
    .management-section{margin:30px 0}.management-heading{margin-bottom:17px}.management-count{padding:7px 11px;border-radius:999px;background:#edf3ef;color:#698276;font-size:10px;font-weight:700}.management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.area-card{scroll-margin-top:20px;padding:20px;border:1px solid #e9ece8;border-radius:17px;background:#fff;box-shadow:0 5px 18px rgba(30,49,54,.03)}.area-card-heading{display:flex;align-items:flex-start;gap:12px;padding-bottom:15px;border-bottom:1px solid #eff0ed}.area-icon{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border-radius:13px;background:#e8f4ed;color:#488472;font-size:17px}.area-card h3{margin:1px 0 5px;color:#203c4b;font-size:14px;font-weight:800}.area-card-heading p{margin:0;color:#829098;font-size:10px;line-height:1.55}.area-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:13px}.area-links a{min-height:42px;display:flex;align-items:center;gap:8px;padding:8px 9px;border:1px solid #eff0ed;border-radius:10px;color:#425867;text-decoration:none;font-size:10px;font-weight:650;line-height:1.35}.area-links a:hover{border-color:#b7d8cb;background:#f5faf6;color:#235d57}.area-links a>i:first-child{flex:0 0 15px;color:#63917f}.area-links a span{flex:1}.area-chevron{font-size:9px;color:#a4b0ac}
    .recent-panel{padding-bottom:10px}.panel-link{color:#3c8172;font-size:11px;font-weight:700;text-decoration:none}.recent-panel table{font-size:11px}.recent-panel th{color:#869197;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.recent-panel td,.recent-panel th{padding:11px 9px;border-color:#eef0ed}.status-pill{padding:5px 9px;border-radius:999px;font-size:9px;font-weight:700}.status-green{background:#e8f5eb;color:#41815d}.status-amber{background:#fff3dc;color:#a87524}.status-slate{background:#edf0f2;color:#657580}.table-action{color:#4b8576;text-decoration:none;font-weight:700}.workspace-footer{display:flex;justify-content:space-between;margin:26px 0 5px;padding-top:15px;border-top:1px solid #e6e8e4;color:#879397;font-size:10px}.workspace-footer i{color:#4e9275;margin-right:4px}
    @media(max-width:1200px){.metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
    @media(max-width:900px){.workspace-shell{grid-template-columns:1fr}.workspace-sidebar{position:relative;height:auto;padding:13px 15px 10px;overflow:visible}.workspace-brand{padding:2px 5px 13px}.sidebar-caption,.sidebar-bottom{display:none}.sidebar-links{display:flex;gap:5px;overflow-x:auto;padding-bottom:3px}.sidebar-link{flex:0 0 auto;min-height:38px;padding:8px 10px;font-size:10px}.sidebar-link span{white-space:nowrap}.workspace-topbar{height:61px;padding:0 20px}.workspace-content{padding-top:22px}.welcome-panel{min-height:160px;padding:25px}.welcome-art{width:145px}}
    @media(max-width:600px){.workspace-topbar>div:first-child{gap:0}.topbar-date{display:none}.topbar-label{font-size:9px}.topbar-user strong{font-size:10px}.topbar-user small{font-size:9px}.user-avatar{width:32px;height:32px}.workspace-content{padding:16px 13px}.welcome-panel{min-height:155px;padding:22px 19px;border-radius:17px}.welcome-panel p{max-width:340px;font-size:11px}.welcome-art{position:absolute;right:-33px;opacity:.28}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.metric-card{padding:12px;border-radius:14px}.metric-card:last-child{grid-column:span 2}.metric-icon{width:28px;height:28px;margin-bottom:4px}.metric-card strong{font-size:22px}.metric-card .metric-currency{font-size:19px}.content-panel{padding:18px 15px}.section-heading h2{font-size:17px}.quick-actions{grid-template-columns:1fr}.quick-action{min-height:62px}.management-grid{grid-template-columns:1fr}.area-links{grid-template-columns:1fr}.area-card{padding:16px}.management-count{font-size:9px}.workspace-footer{font-size:9px}}
    .staff-avatar{background:#f7ddcc;color:#965e47}.staff-welcome{background:linear-gradient(112deg,#e5f3e9 0%,#eaf4ed 55%,#f9eadf 100%)}.staff-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.staff-metrics .metric-card{min-height:143px}.staff-metrics .metric-card:hover{transform:none}.staff-shortcuts-panel{margin-top:17px}.staff-shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.staff-shortcut-card{min-height:77px;display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #ebeeea;border-radius:13px;color:inherit;text-decoration:none;transition:border-color .16s,background .16s,transform .16s}.staff-shortcut-card:hover{border-color:#b2d8c8;background:#f8fcf8;color:inherit;transform:translateY(-1px)}.shortcut-icon{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;border-radius:12px;background:#edf6ef;color:#528a76;font-size:16px}.shortcut-copy{min-width:0;flex:1}.shortcut-copy strong,.shortcut-copy small{display:block}.shortcut-copy strong{font-size:11px}.shortcut-copy small{margin-top:4px;color:#829097;font-size:9px;line-height:1.4}.shortcut-arrow{color:#9aa9a5;font-size:11px}.staff-areas-section{margin:29px 0}.staff-area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.staff-area-card{scroll-margin-top:20px;align-self:start;padding:18px;border:1px solid #e9ece8;border-radius:17px;background:#fff;box-shadow:0 5px 18px rgba(30,49,54,.03)}.staff-area-card>.area-card-heading{padding-bottom:14px}.staff-area-card .area-card-heading p{margin:0;color:#829098;font-size:10px}.staff-module-list{display:grid;gap:10px;padding-top:12px}.staff-module-card{padding:13px;border:1px solid #eef0ed;border-radius:12px;background:#fdfdfb}.module-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.module-heading h4{margin:0;color:#294454;font-size:11px;font-weight:800}.module-heading p{margin:4px 0 0;color:#839096;font-size:9px;line-height:1.5}.module-permission-count{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#eff5f0;color:#678576;font-size:8px;font-weight:700}.staff-permission-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.staff-permission-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #dcece1;border-radius:999px;background:#f2faf3;color:#537761;font-size:8px;line-height:1.3}.staff-permission-chip i{color:#63a27a;font-size:8px}.staff-module-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}.staff-module-links a{min-height:37px;display:flex;align-items:center;gap:7px;padding:7px 8px;border:1px solid #e7edeb;border-radius:9px;background:#fff;color:#426071;text-decoration:none;font-size:9px;font-weight:650;line-height:1.35}.staff-module-links a:hover{border-color:#add5c6;background:#f4faf6;color:#235d57}.staff-module-links a>i:first-child{flex:0 0 14px;color:#63917f}.staff-module-links a span{flex:1}.staff-module-links a>i:last-child{color:#a4b0ac;font-size:9px}.staff-no-link{display:flex;gap:6px;align-items:flex-start;margin:10px 0 0;color:#869398;font-size:9px;line-height:1.5}.staff-no-link i{color:#77998c}.staff-empty-state{display:flex;align-items:center;gap:14px;margin:22px 0;padding:20px;border:1px solid #efdfbd;border-radius:16px;background:#fff8e9}.staff-empty-state>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f9e8c7;color:#9a7133;font-size:18px}.staff-empty-state h2{margin:0 0 5px;color:#58482b;font-size:15px;font-weight:800}.staff-empty-state p{margin:0;color:#8a7959;font-size:11px}
    @media(max-width:1200px){.staff-area-grid{grid-template-columns:1fr}}
    @media(max-width:600px){.staff-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-metrics .metric-card:last-child{grid-column:span 2}.staff-metrics .metric-card{min-height:125px}.staff-shortcut-grid{grid-template-columns:1fr}.staff-module-links{grid-template-columns:1fr}.staff-area-card{padding:14px}.staff-module-card{padding:11px}}
    @media(max-width:900px){.workspace-sidebar .sidebar-bottom{display:flex;flex-direction:row;align-items:center;gap:4px;margin-top:6px;padding-top:8px;overflow-x:auto}.workspace-sidebar .sidebar-bottom form{flex:0 0 auto}.workspace-sidebar .sidebar-bottom .sidebar-link{flex:0 0 auto;white-space:nowrap}}

    /* B2B and B2C customer workspace */
    .customer-workspace{--ink:#18334a;--muted:#738398;--line:#e7e9e7;--teal:#167d79}
    .customer-workspace .workspace-content{max-width:1510px}
    .customer-workspace .customer-welcome{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 22px;min-height:210px;padding:30px 34px}
    .customer-workspace .welcome-copy{grid-column:1;grid-row:1 / span 2;max-width:760px}
    .customer-workspace .welcome-actions{position:relative;z-index:2;grid-column:2;grid-row:1 / span 2;display:grid;align-content:center;gap:9px;min-width:190px}
    .customer-primary-action,.customer-secondary-action{min-height:43px;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;border:1px solid transparent;border-radius:12px;text-decoration:none;font-size:11px;font-weight:800;transition:transform .15s,box-shadow .15s,background .15s}
    .customer-primary-action{background:#176f70;color:#fff;box-shadow:0 6px 14px rgba(27,102,96,.16)}
    .customer-primary-action:hover{background:#105f62;color:#fff;transform:translateY(-1px);box-shadow:0 9px 18px rgba(27,102,96,.2)}
    .customer-secondary-action{border-color:rgba(58,114,102,.22);background:rgba(255,255,255,.65);color:#326c63}
    .customer-secondary-action:hover{background:#fff;color:#245b54;transform:translateY(-1px)}
    .customer-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
    .customer-tags>span{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:5px 9px;border:1px solid rgba(58,114,102,.13);border-radius:999px;background:rgba(255,255,255,.55);color:#57756f;font-size:9px;font-weight:700}
    .customer-tags>span i{color:#438c75}
    .customer-avatar{background:#d9eee2;color:#376d5b}
    .customer-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:17px 0}
    .customer-stats .metric-card{min-height:137px}
    .customer-stats-b2c{grid-template-columns:repeat(3,minmax(0,1fr))}
    .customer-stats .metric-account-type{font-size:22px}
    .customer-attention{display:flex;align-items:center;gap:13px;margin:17px 0;padding:14px 17px;border:1px solid #f0ddb7;border-radius:15px;background:linear-gradient(100deg,#fff8e9,#fff3e7);color:#624f30}
    .attention-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:12px;background:#f9e7c2;color:#a97421;font-size:16px}
    .attention-copy{display:grid;gap:3px;min-width:0;flex:1}
    .attention-copy strong{font-size:11px}.attention-copy span{color:#867453;font-size:10px;line-height:1.45}
    .attention-actions{display:flex;gap:7px;flex-wrap:wrap}
    .attention-actions a{min-height:34px;display:flex;align-items:center;padding:7px 10px;border:1px solid #ead8b2;border-radius:9px;color:#7b5c24;text-decoration:none;font-size:9px;font-weight:800}
    .attention-actions .attention-pay{border-color:#b26c47;background:#ad6848;color:#fff}
    .customer-quick-panel{margin-top:18px}
    .customer-quick-actions .quick-action{min-height:76px}
    .customer-quick-actions .quick-action>i:first-child{background:#eaf4ed;color:#4c8872}
    .customer-content-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.9fr);align-items:start;gap:16px;margin:18px 0}
    .customer-main-column,.customer-side-column{display:grid;align-content:start;gap:0;min-width:0}
    .customer-content-grid .content-panel{margin:0 0 16px}
    .customer-record-list{display:grid;gap:8px}
    .customer-record{display:grid;grid-template-columns:37px minmax(0,1fr) minmax(115px,auto);align-items:center;gap:11px;padding:11px;border:1px solid #edf0ed;border-radius:13px;background:#fff}
    .record-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#eaf4ed;color:#528a73;font-size:15px}
    .invoice-icon{background:#fff2df;color:#a77535}.order-icon{background:#eaf2f8;color:#527c9b}.quote-icon{background:#f0edfa;color:#7669a5}.product-icon{background:#fbece3;color:#a86c4e}
    .record-main{display:grid;gap:4px;min-width:0}
    .record-title{overflow:hidden;color:#254353;font-size:11px;font-weight:800;text-overflow:ellipsis;text-decoration:none;white-space:nowrap}
    .record-title:hover{color:#247c71}
    .record-meta{display:block;overflow:hidden;color:#829097;font-size:9px;line-height:1.45;text-overflow:ellipsis}
    .record-total{display:grid;justify-items:end;gap:5px;min-width:90px}
    .record-total>strong{color:#2a4654;font-size:11px;font-weight:800;white-space:nowrap}
    .record-actions{display:flex;justify-content:flex-end;gap:5px}
    .record-actions a{min-height:24px;display:inline-flex;align-items:center;padding:4px 7px;border:1px solid #e5ece8;border-radius:7px;color:#4d8172;text-decoration:none;font-size:8px;font-weight:800}
    .record-actions a:hover{border-color:#b2d8c8;background:#f4faf5}
    .quote-record{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #edf0ed;border-radius:12px;color:inherit;text-decoration:none}
    .quote-record:hover{border-color:#c5d9d0;background:#f9fcf9;color:inherit}
    .quote-record .status-pill{white-space:nowrap}
    .customer-empty{display:grid;justify-items:center;gap:7px;padding:27px 14px;border:1px dashed #dfe8e2;border-radius:13px;background:#fbfdfb;text-align:center}
    .customer-empty>i{font-size:22px;color:#81a693}.customer-empty strong{color:#385361;font-size:11px}.customer-empty span{max-width:330px;color:#829097;font-size:9px;line-height:1.5}
    .customer-text-action{margin-top:2px;color:#387c6d;font-size:9px;font-weight:800;text-decoration:none}
    .notice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
    .notice-card{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #edf0ed;border-radius:12px;background:#fcfdfb}
    .notice-icon{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:9px;background:#fff0df;color:#a87441}
    .notice-card strong{color:#334e5b;font-size:10px}.notice-card p{margin:4px 0 0;color:#829097;font-size:9px;line-height:1.5}
    .account-details{display:grid;gap:0;margin:0}
    .account-details>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;padding:10px 0;border-bottom:1px solid #eef0ed}
    .account-details>div:last-child{border-bottom:0}.account-details dt{color:#87949a;font-size:9px;font-weight:600}.account-details dd{margin:0;overflow-wrap:anywhere;color:#395361;font-size:10px;font-weight:700}
    .customer-shop-prompt{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:15px;border:1px solid #edd9c7;border-radius:16px;background:linear-gradient(110deg,#fff3e8,#f8eee5)}
    .shop-prompt-icon{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border-radius:12px;background:#fff;color:#a86b4d;font-size:17px}
    .customer-shop-prompt>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}.customer-shop-prompt strong{color:#5e473b;font-size:11px}.customer-shop-prompt small{color:#8a766b;font-size:9px;line-height:1.4}
    .customer-shop-prompt>a{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#ad6848;color:#fff;text-decoration:none}
    .customer-account-card .section-heading{align-items:flex-start}
    @media(max-width:1200px){.customer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-stats-b2c{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-content-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}}
    @media(max-width:900px){.customer-workspace .customer-welcome{min-height:190px;padding:25px}.customer-content-grid,.customer-content-grid-b2c{grid-template-columns:1fr}.customer-main-column,.customer-side-column{display:contents}.customer-content-grid .content-panel{margin-bottom:14px}.customer-content-grid-b2c .customer-side-column{display:grid}.customer-content-grid-b2c .customer-account-card{order:1}.customer-content-grid-b2c .customer-shop-prompt{order:2}}
    @media(max-width:600px){.customer-workspace .customer-welcome{grid-template-columns:1fr;gap:15px;min-height:0;padding:20px 18px}.customer-workspace .welcome-copy{grid-column:1;grid-row:1}.customer-workspace .welcome-actions{grid-column:1;grid-row:2;display:flex;flex-wrap:wrap;min-width:0}.customer-primary-action,.customer-secondary-action{min-height:40px;flex:1 1 145px;font-size:10px}.customer-tags{margin-top:12px}.customer-tags>span{font-size:8px}.customer-stats,.customer-stats-b2c{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-stats .metric-card:last-child{grid-column:auto}.customer-stats-b2c .metric-card:last-child{grid-column:span 2}.customer-stats .metric-card{min-height:122px}.customer-stats .metric-account-type{font-size:19px}.customer-attention{align-items:flex-start;flex-wrap:wrap;padding:12px}.attention-copy{flex-basis:calc(100% - 50px)}.attention-actions{width:100%;padding-left:49px}.customer-record{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:9px}.customer-record .record-icon{width:32px;height:32px}.customer-record .record-total{grid-column:2;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;justify-items:start;min-width:0}.record-actions{justify-content:flex-start}.customer-record .record-total>strong{font-size:10px}.quote-record{grid-template-columns:32px minmax(0,1fr);gap:8px}.quote-record>.status-pill{grid-column:2;justify-self:start}.notice-grid{grid-template-columns:1fr}.account-details>div{grid-template-columns:82px minmax(0,1fr)}.customer-workspace .workspace-footer{gap:10px;flex-wrap:wrap}}

/* Phone layout hardening: prevent dashboard panels from exceeding the viewport */
.dashboard-mode, .dashboard-mode > main, .workspace-shell { width: 100%; max-width: 100%; overflow-x: clip; }
.workspace-main, .workspace-sidebar, .workspace-content, .workspace-content > *, .staff-workspace, .customer-workspace { min-width: 0; }
.workspace-sidebar .sidebar-links, .workspace-sidebar .sidebar-bottom { max-width: 100%; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.workspace-topbar, .welcome-panel, .content-panel, .area-card, .staff-area-card, .customer-record, .quote-record { min-width: 0; }
@media (max-width: 900px) {
  .workspace-sidebar { position: relative; z-index: 3; }
  .workspace-sidebar .sidebar-links, .workspace-sidebar .sidebar-bottom { overflow-x: auto; touch-action: pan-x; }
  .workspace-main { width: 100%; }
  .workspace-content { width: 100%; }
}
@media (max-width: 600px) {
  .workspace-topbar { height: auto; min-height: 60px; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 12px; }
  .workspace-topbar > div:first-child { flex: 1 1 130px; min-width: 0; }
  .topbar-label { font-size: clamp(8px, 2.5vw, 10px); letter-spacing: .08em; line-height: 1.35; white-space: normal; }
  .topbar-user { max-width: 58%; min-width: 0; }
  .topbar-user > span:last-child { min-width: 0; max-width: calc(100vw - 92px); }
  .topbar-user strong, .topbar-user small { overflow-wrap: anywhere; }
  .workspace-content { box-sizing: border-box; width: 100%; max-width: 100%; padding: 14px 11px 18px; }
  .welcome-panel { width: 100%; flex-wrap: wrap; padding: 19px 16px; border-radius: 16px; }
  .welcome-copy { max-width: 100%; }
  .welcome-panel h1 { max-width: 100%; font-size: clamp(22px, 6vw, 29px); line-height: 1.18; overflow-wrap: anywhere; }
  .welcome-panel p { max-width: 100%; overflow-wrap: anywhere; }
  .metrics-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .metric-card { min-width: 0; padding: 11px; }
  .metric-label, .metric-card small { line-height: 1.4; overflow-wrap: anywhere; }
  .metric-card strong { max-width: 100%; overflow-wrap: anywhere; }
  .content-panel, .area-card, .staff-area-card { box-sizing: border-box; width: 100%; max-width: 100%; padding: 15px 12px; }
  .section-heading { align-items: flex-start; gap: 9px; }
  .section-heading > div { min-width: 0; }
  .section-heading h2 { overflow-wrap: anywhere; }
  .section-heading p, .area-card-heading p, .module-heading p { overflow-wrap: anywhere; }
  .section-heading .panel-link { flex: 0 0 auto; max-width: 45%; text-align: right; overflow-wrap: anywhere; }
  .quick-actions, .staff-shortcut-grid, .staff-area-grid, .management-grid, .staff-module-links, .area-links { grid-template-columns: minmax(0, 1fr); }
  .quick-action, .staff-shortcut-card, .area-links a, .staff-module-links a { min-width: 0; min-height: 44px; }
  .area-card-heading, .module-heading { min-width: 0; }
  .module-heading { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .staff-permission-list { display: flex; flex-wrap: wrap; }
  .staff-permission-chip { max-width: 100%; overflow-wrap: anywhere; }
  .table-responsive { max-width: 100%; }
  .customer-content-grid, .customer-content-grid-b2c { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .customer-record { grid-template-columns: 32px minmax(0, 1fr); }
  .customer-record .record-main, .customer-record .record-total { min-width: 0; }
  .customer-record .record-title, .customer-record .record-meta { overflow-wrap: anywhere; }
  .account-details dd { min-width: 0; overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .workspace-topbar { align-items: flex-start; }
  .topbar-user { max-width: 55%; }
  .workspace-content { padding-right: 9px; padding-left: 9px; }
  .welcome-panel { padding: 17px 14px; }
  .content-panel, .area-card, .staff-area-card { padding: 13px 10px; }
  .section-heading h2 { font-size: 16px; }
  .management-count, .module-permission-count { white-space: normal; text-align: right; }
}

/* Consistent visual styling for the existing admin, staff, B2B and B2C pages.
   This layer changes presentation only; forms, links and permission checks stay intact. */
body.workspace-app-mode:not(.dashboard-mode) {
  background: #f6f7f4;
  color: #18334a;
}
body.workspace-app-mode:not(.dashboard-mode) .top-bar {
  background: #102b40;
  color: #e5edf0;
}
body.workspace-app-mode:not(.dashboard-mode) > nav.navbar {
  border-bottom: 1px solid #e5eae6;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 5px 18px rgba(20,47,61,.055) !important;
  backdrop-filter: blur(12px);
}
body.workspace-app-mode:not(.dashboard-mode) main {
  min-height: calc(100vh - 180px);
  background: #f6f7f4;
}
body.workspace-app-mode:not(.dashboard-mode) main > .container,
body.workspace-app-mode:not(.dashboard-mode) main > .container-fluid {
  padding-top: clamp(22px, 3vw, 38px);
  padding-bottom: clamp(26px, 4vw, 48px);
}
body.workspace-app-mode:not(.dashboard-mode) main h1,
body.workspace-app-mode:not(.dashboard-mode) main h2,
body.workspace-app-mode:not(.dashboard-mode) main h3 {
  color: #18384e;
  letter-spacing: -.025em;
}
body.workspace-app-mode:not(.dashboard-mode) main .card,
body.workspace-app-mode:not(.dashboard-mode) main .modal-content {
  border-color: #e6ebe7;
  border-radius: 16px;
  box-shadow: 0 7px 22px rgba(22,48,60,.045);
}
body.workspace-app-mode:not(.dashboard-mode) main .card-header {
  border-color: #e9eeea;
  background: #fff;
  color: #24465a;
}
body.workspace-app-mode:not(.dashboard-mode) main .form-control,
body.workspace-app-mode:not(.dashboard-mode) main .form-select,
body.workspace-app-mode:not(.dashboard-mode) main textarea {
  border-color: #dbe4e3;
  border-radius: 10px;
  color: #19384d;
  background-color: #fff;
  box-shadow: none;
}
body.workspace-app-mode:not(.dashboard-mode) main .form-control:focus,
body.workspace-app-mode:not(.dashboard-mode) main .form-select:focus,
body.workspace-app-mode:not(.dashboard-mode) main textarea:focus {
  border-color: #3f9a91;
  box-shadow: 0 0 0 3px rgba(22,125,121,.13);
}
body.workspace-app-mode:not(.dashboard-mode) main .btn {
  border-radius: 10px;
  font-weight: 650;
  transition: box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}
body.workspace-app-mode:not(.dashboard-mode) main .btn:focus-visible,
body.workspace-app-mode:not(.dashboard-mode) main a:focus-visible,
body.workspace-app-mode:not(.dashboard-mode) nav a:focus-visible {
  outline: 3px solid rgba(22,125,121,.28);
  outline-offset: 2px;
}
body.workspace-app-mode:not(.dashboard-mode) main .table-responsive {
  border: 1px solid #e7ece8;
  border-radius: 13px;
  background: #fff;
}
body.workspace-app-mode:not(.dashboard-mode) main .table {
  --bs-table-border-color: #e9eeea;
  margin-bottom: 0;
}
body.workspace-app-mode:not(.dashboard-mode) main .table thead th {
  color: #516b78;
  background: #f5f8f5;
  font-size: .84em;
  font-weight: 750;
  vertical-align: middle;
}
body.workspace-app-mode:not(.dashboard-mode) main .alert {
  border-radius: 12px;
}
body.workspace-app-mode:not(.dashboard-mode) main .pagination .page-link {
  border-color: #e0e8e3;
  color: #286c67;
}
body.workspace-app-mode:not(.dashboard-mode) main .pagination .active .page-link {
  border-color: #167d79;
  background: #167d79;
  color: #fff;
}
body.customer-login-mode main {
  background:
    radial-gradient(ellipse at 12% 12%, rgba(33,163,155,.09), transparent 32%),
    linear-gradient(135deg, #f7f8f4, #edf3f2);
}
body.customer-login-mode main .card {
  overflow: hidden;
  border-top: 4px solid #167d79;
}
body.customer-login-mode main .form-control.bg-light {
  background: #f8faf9 !important;
}

/* Notification actions in the three role-specific dashboard headers. */
.topbar-actions { display:flex; align-items:center; gap:clamp(12px,2vw,24px); }
.dashboard-notification-nav { margin:0; }
.workspace-topbar .dashboard-notification-nav .nav-link {
  width:40px; height:40px; display:grid; place-items:center;
  border:1px solid #e4ebe6; border-radius:12px; background:#fff;
  color:#315b68 !important; box-shadow:0 3px 10px rgba(25,53,62,.05);
}
.workspace-topbar .dashboard-notification-nav .nav-link:hover,
.workspace-topbar .dashboard-notification-nav .nav-link:focus-visible {
  border-color:#b7d9cf; background:#f2faf5; color:#167d79 !important;
}
.workspace-topbar .dashboard-notification-nav .nav-link .bi-bell-fill { font-size:16px !important; }
.workspace-topbar .dashboard-notification-nav .dropdown-menu { z-index:1080; }
.dashboard-notification-link {
  position:relative; width:40px; height:40px; display:grid; place-items:center;
  border:1px solid #e4ebe6; border-radius:12px; background:#fff;
  color:#315b68; font-size:16px; text-decoration:none;
  box-shadow:0 3px 10px rgba(25,53,62,.05);
}
.dashboard-notification-link:hover,
.dashboard-notification-link:focus-visible { border-color:#b7d9cf; background:#f2faf5; color:#167d79; }
.dashboard-notification-count {
  position:absolute; top:-6px; right:-6px; min-width:19px; height:19px;
  display:grid; place-items:center; padding:0 5px; border:2px solid #fff;
  border-radius:999px; background:#c94e57; color:#fff; font-size:9px; font-weight:800;
}
@media (max-width:600px) {
  .topbar-actions { gap:9px; }
  .workspace-topbar .dashboard-notification-nav .nav-link,
  .dashboard-notification-link { width:35px; height:35px; }
}

/* R2: make the approved workspace look carry through the working screens,
   while leaving every existing navigation item and action in place. */
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) {
  --workspace-ink: #17384b;
  --workspace-muted: #687e87;
  --workspace-teal: #147d78;
  background: #f3f6f3;
  color: var(--workspace-ink);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) > .top-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, #102b40, #173f50);
  color: #e8f1f2;
  font-size: 12px;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) > nav.navbar {
  min-height: 74px;
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(105deg, #15364b, #1b4656) !important;
  box-shadow: 0 8px 24px rgba(15,43,57,.16) !important;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) .navbar-brand span[style] {
  color: #fff !important;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) .navbar-brand span.text-muted {
  color: #b9cbd0 !important;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) #mainNav .nav-link {
  border-radius: 9px;
  color: #e2ecee;
  transition: background-color .16s ease, color .16s ease;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) #mainNav .nav-link:hover,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) #mainNav .nav-link.active {
  background: rgba(194,235,218,.14);
  color: #bcebd5 !important;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) #mainNav .navbar-toggler {
  color: #fff;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) #mainNav .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) #mainNav .btn-navy,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) #mainNav .btn-teal {
  border-color: #70c8b4;
  background: #16877d;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(5,24,39,.2);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) #mainNav .btn-outline-danger {
  border-color: rgba(255,190,190,.7);
  color: #ffe0df;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) #mainNav .dropdown-menu {
  border: 1px solid #e3ebe7;
  border-radius: 13px;
  box-shadow: 0 14px 34px rgba(13,39,52,.18) !important;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main {
  min-height: calc(100vh - 198px);
  padding-bottom: 28px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(209,233,224,.35), transparent 38%),
    #f3f6f3;
}
.workspace-context-strip {
  border-bottom: 1px solid #e2eae5;
  background: linear-gradient(100deg, #e5f2eb 0%, #f5f3e9 68%, #f8eee4 100%);
}
.workspace-context-inner {
  width: min(1500px, 100%);
  min-height: 70px;
  margin: 0 auto;
  padding: 11px clamp(16px, 3.5vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.workspace-context-brand,
.workspace-context-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}
.workspace-context-mark {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: grid;
  place-items: center;
  border: 1px solid #cfe4d9;
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  color: #297b70;
}
.workspace-context-copy { min-width: 0; display: grid; gap: 2px; }
.workspace-context-copy small {
  color: #4b8176;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}
.workspace-context-copy strong {
  overflow: hidden;
  color: #1c3d4d;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-context-user {
  overflow: hidden;
  color: #62777d;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-context-user i { margin-right: 4px; color: #568b7d; }
.workspace-context-home {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid #cfe0d8;
  border-radius: 9px;
  background: rgba(255,255,255,.82);
  color: #286e67;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.workspace-context-home:hover,
.workspace-context-home:focus-visible {
  border-color: #79b8a5;
  background: #fff;
  color: #155c58;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main > .container,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main > .container-fluid {
  padding-top: clamp(24px, 3.2vw, 42px);
  padding-bottom: clamp(28px, 4vw, 52px);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main h1 {
  margin-bottom: .4rem;
  color: #17394e;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.04em;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main h2,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main h3 {
  color: #214659;
  font-weight: 750;
  letter-spacing: -.025em;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .card,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .modal-content {
  border: 1px solid #e1e9e3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20,52,61,.055);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .card-header {
  border-bottom: 1px solid #e7eeea;
  background: linear-gradient(90deg, #f1f7f2, #fbfcf8);
  color: #24495a;
  font-weight: 750;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .form-control,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .form-select,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main textarea {
  min-height: 40px;
  border-color: #d7e2df;
  border-radius: 9px;
  color: #17394e;
  background-color: #fff;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .form-control:focus,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .form-select:focus,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main textarea:focus {
  border-color: #48a69a;
  box-shadow: 0 0 0 3px rgba(32,139,126,.13);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .btn {
  border-radius: 9px;
  font-weight: 700;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .btn-primary,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .btn-teal {
  border-color: #117a76;
  background: #147d78;
  color: #fff;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .table-responsive {
  border: 1px solid #e1e9e4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20,52,61,.035);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .table {
  --bs-table-border-color: #e7ede9;
  margin-bottom: 0;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .table thead th {
  border-bottom-color: #dce6e1;
  background: #edf4ef;
  color: #365c66;
  font-size: .82em;
  font-weight: 800;
  vertical-align: middle;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .table tbody tr:hover > * {
  background-color: #f6faf7;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .alert {
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(25,51,61,.035);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) > footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(110deg, #0c2234, #123548);
}

/* Refresh the already approved role dashboards in the same richer palette. */
.workspace-shell { background: #f3f6f3; }
.workspace-sidebar { background: linear-gradient(180deg, #123447 0%, #102b40 100%); }
.workspace-topbar { border-bottom: 2px solid #d7ebe1; background: rgba(255,255,255,.9); }
.welcome-panel {
  border: 1px solid rgba(34,102,91,.08);
  background: linear-gradient(112deg, #d8eee8 0%, #e8f0e3 57%, #f6e7d6 100%);
  box-shadow: 0 12px 30px rgba(30,73,72,.075);
}
.metric-card { border-top: 3px solid rgba(44,122,108,.28); }
.metric-card:hover { box-shadow: 0 12px 26px rgba(25,57,65,.11); }
.content-panel, .area-card, .staff-area-card {
  border-color: #e2e9e4;
  box-shadow: 0 8px 24px rgba(22,49,58,.05);
}
.sidebar-link.is-current { background: #285063; box-shadow: inset 3px 0 #91dec0; }
@media (max-width:700px) {
  .workspace-context-inner { min-height: 63px; padding: 9px 13px; }
  .workspace-context-user { display: none; }
}
@media (max-width:420px) {
  .workspace-context-mark { width: 33px; height: 33px; flex-basis: 33px; }
  .workspace-context-copy strong { font-size: 11px; }
  .workspace-context-copy small { font-size: 8px; }
  .workspace-context-home { min-height: 33px; padding: 6px 9px; font-size: 10px; }
}

/* R3: make the approved workspace styling clearly visible across role pages. */
body.workspace-app-mode:not(.dashboard-mode) { background: #f1f5f3; }
body.workspace-app-mode:not(.dashboard-mode) > .top-bar {
  min-height: 40px;
  background: linear-gradient(100deg, #0d2b3e 0%, #124353 60%, #146a6a 100%);
}
body.workspace-app-mode:not(.dashboard-mode) > nav.navbar {
  border-bottom: 3px solid #19a49a;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(16,49,61,.09) !important;
}
body.workspace-app-mode:not(.dashboard-mode) > nav.navbar .navbar-brand > div > span:first-child {
  color: #123b50 !important;
}
body.workspace-app-mode:not(.dashboard-mode) > nav.navbar .nav-link {
  border-radius: 9px;
  color: #264d5d;
  font-weight: 650;
}
body.workspace-app-mode:not(.dashboard-mode) > nav.navbar .nav-link:hover,
body.workspace-app-mode:not(.dashboard-mode) > nav.navbar .nav-link.active {
  background: #e5f4ee;
  color: #087c76;
}
.workspace-context-strip {
  border-bottom: 1px solid #cbded6;
  background: linear-gradient(100deg, #d5eee5 0%, #e8f0df 54%, #f5e3cf 100%);
  box-shadow: inset 0 3px 0 #168c82;
}
.workspace-context-inner { min-height: 76px; }
.workspace-context-mark {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-color: #b6d8cb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(24,78,73,.09);
  font-size: 17px;
}
.workspace-context-copy small { color: #087e77; }
.workspace-context-copy strong { font-size: 15px; }
.workspace-context-actions { gap: 16px; }
.workspace-context-user { color: #264b59; font-weight: 650; }
.workspace-context-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #c5dfd2;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #37765d;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main > .container,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main > .container-fluid {
  padding-top: clamp(26px, 3.5vw, 46px);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .card,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .modal-content {
  border-color: #d9e6df;
  border-radius: 16px;
  box-shadow: 0 10px 27px rgba(16,49,61,.075);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .card-header {
  border-bottom-color: #dbe8e0;
  background: linear-gradient(100deg, #e8f4ec, #f6f5eb);
  color: #1d4e5d;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .table-responsive {
  border-color: #d7e4dd;
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(16,49,61,.06);
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .table thead th {
  background: #e5f0e9;
  color: #214d5d;
}
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .btn-primary,
body.workspace-app-mode:not(.dashboard-mode):not(.customer-login-mode) main .btn-teal {
  border-color: #087d78;
  background: linear-gradient(105deg, #087d78, #0a9d9b);
  color: #fff;
}
/* Sharpen the visual difference in the existing role dashboards without changing their layout. */
.workspace-shell { background: #f1f5f2; }
.workspace-sidebar {
  background: linear-gradient(180deg, #103d4c 0%, #102d43 100%);
  box-shadow: 5px 0 22px rgba(12,43,57,.11);
}
.sidebar-link.is-current {
  background: linear-gradient(100deg, #17616b, #214f61);
  box-shadow: inset 4px 0 #79e0bd, 0 5px 14px rgba(4,25,39,.12);
}
.workspace-topbar {
  border-bottom: 3px solid #20a596;
  background: rgba(255,255,255,.94);
  box-shadow: 0 5px 18px rgba(20,54,62,.055);
}
.welcome-panel {
  border: 1px solid rgba(27,115,102,.16);
  background: linear-gradient(112deg, #d1eee4 0%, #e4f0df 52%, #f5e0cb 100%);
  box-shadow: 0 14px 32px rgba(22,73,69,.10);
}
.metric-card { border-top: 4px solid rgba(16,137,121,.42); }
.metric-mint { background: #e1f2e8; }
.metric-lilac { background: #ece9fa; }
.metric-peach { background: #ffeadc; }
.metric-blue { background: #e1eff6; }
.metric-gold { background: #f8efcf; }
.content-panel, .area-card, .staff-area-card {
  border-color: #dfe9e2;
  box-shadow: 0 9px 26px rgba(20,54,62,.06);
}
@media (max-width: 700px) {
  .workspace-context-inner { min-height: 66px; }
  .workspace-context-user { display: none; }
}
