/* Brimdo: purple and gold company edition. */
:root{--navy:#301344;--navy2:#51256d;--blue:#713899;--cyan:#d9b65c;--purple:#8247ad;--green:#1f9d63;--amber:#b78416;--ink:#2f2339;--muted:#75677d;--bg:#f6f1f9;--card:#fffdf9;--line:#e5d9ec;--shadow:0 12px 34px rgba(63,26,82,.07);--gold:#e1bd65}
html,body{background:linear-gradient(135deg,#f4edf8,#fffdf8 55%,#f6eff9)}
.sidebar{background:linear-gradient(180deg,#38164f,#21102f);box-shadow:8px 0 30px #30134414}
.brandTile{border:1px solid #e1bd6555}.brandName,.navLabel{color:#e1c785}
.sideNav a{color:#e8dbee}.sideNav a.active{color:#fff8e4;background:linear-gradient(90deg,#c49a3838,#c49a3814);border-color:#e1bd654d;box-shadow:inset 3px 0 0 var(--gold)}
.sideNav a:hover{background:#ffffff12;color:#fff}.userMeta small{color:#d4bedf}.logoutbtn{color:#f4e8fb}.avatar{background:linear-gradient(135deg,#795091,#51256d);border:1px solid #e1bd6580}
.appTop{background:#fffdf9ed}.authHero{background:radial-gradient(circle at 18% 16%,#d9b65c38,transparent 32%),linear-gradient(145deg,#21102f,#4a2065 60%,#6c358b)}
.authHero p,.heroPane p,.heroPane .muted{color:#efdfef}.authPill{color:#f4dda2;border-color:#d9b65c66}.authStage{background:#fcf9fd}
.heroPane{background:linear-gradient(135deg,#38164f,#713899);box-shadow:0 18px 44px #51256d22}.panelTint{background:linear-gradient(145deg,#fcf8ff,#f7f0fb)}
.btn{background:linear-gradient(135deg,#eacb7c,#d8ad4b);color:#301b0c;box-shadow:0 6px 16px #aa7e1b1a;border:1px solid #be963e}
.btn:hover{filter:brightness(1.04)}.btn2{background:#f6eff9;color:#51256d;border-color:#ded0e7;box-shadow:none}.btn.purple{background:linear-gradient(135deg,#62307f,#8247ad);color:#fff;border-color:#713899}
input:focus,select:focus,textarea:focus{border-color:#9869b6;box-shadow:0 0 0 3px #71389914}input[type=checkbox],input[type=radio]{accent-color:#713899}
.table th{background:#f6eff9;color:#695375}.table tr:hover td{background:#fcf8fe}.kpiBlue{background:#f5edf9;border-color:#e5d5ed}.kpiAmber{background:#fff7df;border-color:#ecdba7}
.progress span{background:linear-gradient(90deg,#b78bd1,#713899)}.statuspill.blue{background:#f0e4f8;color:#673386}.statuspill.purple{background:#f0e4f8;color:#673386}
.filter.active,.scanMode.active{background:#713899;color:#fff}.scanMode{background:#f0e8f5;color:#61357b}.scannerInput{border-color:#b997cc}
a:focus-visible,button:focus-visible{outline:3px solid #9869b6;outline-offset:3px}
.dashboardAreaIcon{background:#f1e7f7;color:#713899}.areaHeading .orvioIcon{color:#713899}.sidebarFavouritesTitle{color:#e1c785}.dashboardArea p,.areaWorkflow p{color:#75677d}.attentionTile:hover,.dashboardArea:hover,.areaWorkflow:hover{border-color:#b997cc;box-shadow:0 8px 24px #51256d12}.dashboardArea:focus-visible,.attentionTile:focus-visible,.areaWorkflow:focus-visible,.sideNav a:focus-visible{outline-color:#d9b65c}
/* Workspace layout, edition 1.6. */
@media(min-width:1000px){.appShell{grid-template-columns:230px minmax(0,1fr)}}
.appTop{background:#38124f;color:#fff;border-bottom-color:#51256d;gap:20px}.topSearch{flex:1;max-width:650px}.topSearch form{border-radius:30px;padding:5px 7px 5px 16px}.topSearch input{width:100%;min-width:0;flex:1}.topSearch .btn{border-radius:22px}.teamTopActions{display:flex;align-items:center;gap:22px}.appTop .notificationBell{color:#fff}.topProfile{display:flex;align-items:center;gap:10px;padding-left:18px;border-left:1px solid #ffffff38;font-size:12px}.topProfile small{color:#e1d1eb}.topProfile .avatar{background:#f4e9fb;color:#51256d;border-color:#fff}
.sideNav a.active{background:linear-gradient(100deg,#d3a348,#e1bd65);color:#281234;box-shadow:none;border-color:#e1bd65}.mainContent{max-width:1600px}.pageHeader h2{font-size:32px}.pageHeader p{margin:0 0 5px}.workspaceNotice{background:#faf5eb;border-color:#eadcc0;color:#554634}.dashboardPanel{background:#fff;border:1px solid #e7e2ea;border-radius:14px;padding:18px;margin:18px 0}.dashboardPanel .dashboardSectionHeading{margin:0 0 16px}.workspaceHeading{margin:0 0 16px}.dashboardArea{align-items:flex-start;text-align:left;padding:20px;border-radius:12px}.dashboardAreaIcon{width:48px;height:48px;border-radius:12px}.dashboardAreaIcon .orvioIcon{width:30px;height:30px}.dashboardArea h3{margin:12px 0 8px}.attentionTile{padding:14px;border-radius:11px}.attentionTile strong{font-size:30px;margin:9px 0}.attentionName{display:flex;align-items:center;gap:10px;font-size:12px;min-height:40px}.attentionMiniIcon{padding:6px;color:#713899;background:#fbf5e9;border-radius:8px}.attentionMiniIcon .orvioIcon{width:22px;height:22px}.dashboardCountNote{margin-bottom:0}.dashboardLower{display:grid;grid-template-columns:1.15fr 1fr .8fr;gap:14px}.dashboardLower .dashboardPanel{margin:0;min-width:0}.dashboardLower h3{font-size:16px;margin:0 0 16px}.activityRow{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0eaf3;font-size:11px}.activityRow:last-child{border:0}.activityRow b{font-weight:600}.activityRow small{display:block;color:#75677d;margin-top:5px}.activityIcon{background:#f5edf9;border-radius:8px;padding:7px;color:#713899}.activityIcon .orvioIcon{width:20px;height:20px}.progressTotal{font-size:30px;margin-right:8px}.listingBars{display:flex;gap:9px;height:170px;margin-top:15px}.listingBarColumn{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px}.barTrack{height:125px;width:100%;background:repeating-linear-gradient(to top,#f8f4fa 0,#f8f4fa 1px,transparent 1px,transparent 31px);display:flex;align-items:flex-end;border-bottom:1px solid #e5d9ec}.listingBar{width:80%;margin:0 auto;background:linear-gradient(#713899,#481865);min-height:0}.listingBarColumn small{font-size:9px;white-space:nowrap}.barCount{font-size:10px;color:#75677d}.dashboardQuickLink{display:flex;justify-content:space-between;gap:8px;border:1px solid #eee6f2;border-radius:9px;padding:11px;margin:7px 0;text-decoration:none;font-size:12px;color:#51256d}.dashboardQuickLink:hover{background:#faf5fc}.dashboardLower .notice{font-size:12px;line-height:1.5}.dashboardLower .muted{font-size:12px}
@media(max-width:1100px){.dashboardLower{grid-template-columns:1fr 1fr}.dashboardLower>section:last-child{grid-column:1/-1}.dashboardAttention{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}
@media(max-width:700px){.appTop{padding:12px;flex-wrap:wrap}.appTop .topSearch{display:block;max-width:none;flex-basis:100%}.teamTopActions{width:100%;justify-content:space-between}.topProfile{border:0;padding:0}.dashboardLower{grid-template-columns:1fr}.dashboardLower>section:last-child{grid-column:auto}.dashboardPanel{padding:14px}.pageHeader h2{font-size:27px}.dashboardAreas{grid-template-columns:1fr}}
/* Attention cards: real queue states with accessible text labels. */
.attentionTile{gap:8px;transition:border-color .15s,box-shadow .15s}.attentionName{color:#30213c;font-weight:600;min-height:45px}.attentionMiniIcon{background:#fcf6e9;flex-shrink:0;padding:7px}.attentionTile strong{font-size:32px;line-height:1.1;color:#24162e;margin:6px 0 8px}.attentionStatus{display:flex;align-items:center;gap:8px;color:#6d6175;font-size:11px;line-height:1.4;margin-top:auto}.attentionDot{display:inline-block;flex:0 0 11px;width:11px;height:11px;border-radius:50%;background:#b5790b}.attention-green .attentionStatus .attentionDot{background:#168443}.attention-red .attentionStatus .attentionDot,.attentionSecondary .attentionDot{background:#c8323b}.attentionChevron{margin-left:auto;font-size:22px;line-height:1;color:#695675}.attentionSecondary{display:flex;align-items:center;gap:8px;font-size:11px;color:#a52832;line-height:1.4}.visuallyHidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.attentionTile:hover{border-color:#c2a0d3;box-shadow:0 6px 18px #51256d10}
/* Keep notification controls readable against the purple header. */
.appTop .notificationBell{background:transparent;color:#fff;border-color:#ffffff55;box-shadow:none}
.appTop .notificationBell:hover{background:#ffffff15;border-color:#e1bd65}
.appTop .notificationBell .orvioIcon{color:inherit;stroke:currentColor}
.appTop .notificationBell .teamUnread{background:#e1bd65;color:#301344;font-weight:800}
.appTop .notificationBell:focus-visible{outline:3px solid #e1bd65;outline-offset:3px}
/* Compact home workspace: six operational tiles; Admin remains in the header/sidebar. */
.compactWorkspace .toolbar{margin-bottom:12px}.compactWorkspace .workspaceHeading{margin:0}.compactWorkspace .btn .orvioIcon{width:16px;height:16px}.compactWorkspace .dashboardAreas{gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.compactWorkspace .dashboardArea{display:grid;grid-template-columns:38px minmax(0,1fr) 12px;grid-template-rows:auto auto;column-gap:12px;row-gap:4px;padding:14px;align-items:center;min-height:96px}.compactWorkspace .dashboardAreaIcon{grid-row:1/3;width:38px;height:38px;border-radius:10px}.compactWorkspace .dashboardAreaIcon .orvioIcon{width:24px;height:24px}.compactWorkspace .dashboardArea h3{font-size:15px;margin:0;grid-column:2}.compactWorkspace .dashboardArea p{font-size:11px;line-height:1.45;margin:0;grid-column:2;max-width:none}.compactWorkspace .dashboardAreaOpen{grid-column:3;grid-row:1/3;font-size:23px;padding:0;margin:0}.dashboardPanel{padding:15px;margin:14px 0}.attentionTile{padding:11px;gap:5px}.attentionTile strong{font-size:28px;margin:3px 0}.attentionName{min-height:36px;font-size:11px}.attentionMiniIcon{padding:5px}.attentionStatus,.attentionSecondary{font-size:10px}.dashboardCountNote{font-size:11px;margin-top:10px}.dashboardSectionHeading h3{font-size:17px}.workspaceNotice{padding:10px;margin:10px 0}.mainContent{padding-top:20px}.pageHeader{margin-bottom:14px}
@media(max-width:1100px){.compactWorkspace .dashboardAreas{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.compactWorkspace .dashboardAreas{grid-template-columns:1fr}.compactWorkspace .dashboardArea{min-height:82px}.attentionName{font-size:12px}.attentionStatus{font-size:11px}}
