body[data-vb-shell]{--vb-menu-hover:#edf3fb;--vb-menu-hover-ink:#153b68}
/* Shared menu finishing: colours and feedback only; anchor geometry remains owned by each menu. */
body[data-vb-shell] :is(.vi-nav-links,.action-menu-popover,.account-menu-panel,.notification-menu-panel){border-color:#d3ddeb;box-shadow:0 12px 32px #062b551f;background:var(--vb-surface,#fff);color:var(--vb-ink,#172d47)}
body[data-vb-shell] :is(.vi-nav-links,.action-menu-popover,.account-menu-panel,.notification-menu-panel)>:is(a,button),body[data-vb-shell] :is(.account-menu-panel,.action-menu-popover)>form>button{border-radius:5px;text-decoration:none}
body[data-vb-shell] :is(.vi-nav-links,.action-menu-popover,.account-menu-panel,.notification-menu-panel)>:is(a,button)+:is(a,button),body[data-vb-shell] .account-menu-panel>form{border-top:1px solid #e5eaf1}
body[data-vb-shell] .main-content .record-export .action-menu-popover>:is(a,button){display:flex;align-items:center;width:100%;min-height:36px;box-sizing:border-box;padding:8px 10px;text-align:start;background:transparent;color:#172d47;box-shadow:none}
body[data-vb-shell] .main-content .record-export .action-menu-popover>:is(a,button):hover,body[data-vb-shell] :is(.vi-nav-links,.action-menu-popover,.account-menu-panel)>:is(a,button):hover,body[data-vb-shell] .account-menu-panel>form>button:hover{background:var(--vb-menu-hover);color:var(--vb-menu-hover-ink);border-color:#f4d8c0}
body[data-vb-shell] :is(.vi-nav-links,.action-menu-popover,.account-menu-panel)>:is(a,button):focus-visible{outline:2px solid #0047ab;outline-offset:-2px;background:#eef3fb;color:#003c90}
body[data-vb-shell] .menu-panel-title{display:block;margin:-5px -5px 5px;padding:10px 14px;font-size:12px;line-height:1.4;font-weight:600;color:#fff;background:#0047ab;border-bottom:1px solid #003e96;border-radius:8px 8px 0 0}
@media(min-width:761px){body[data-vb-shell] .vi-nav-links>strong{display:block;margin:-8px -8px 5px;padding:12px 20px;background:#0047ab;color:#fff;border-bottom:1px solid #003e96;font-size:12px;border-radius:9px 9px 0 0}body[data-vb-shell] .account-menu-identity{margin:-7px -7px 5px;padding:12px 19px;background:#0047ab;color:#fff;border-bottom:1px solid #003e96;border-radius:9px 9px 0 0}}
@media(prefers-reduced-motion:no-preference){body[data-vb-shell] :is(.vi-nav-links,.action-menu-popover,.account-menu-panel)>:is(a,button){transition:background-color 140ms ease,color 140ms ease,box-shadow 140ms ease}body[data-vb-shell] details[open]>.action-menu-popover,body[data-vb-shell] .vi-nav-group[data-placed=true]>.vi-nav-links{animation:vin-menu-reveal 130ms ease-out}@keyframes vin-menu-reveal{from{opacity:.6}to{opacity:1}}}
@media(prefers-reduced-motion:reduce){body[data-vb-shell] :is(.vi-nav-links,.action-menu-popover,.account-menu-panel){animation:none!important;transition:none!important}}

body[data-vb-shell] .sidebar .vi-nav-links>a:hover{background:var(--vb-menu-hover);color:var(--vb-menu-hover-ink)}body[data-vb-shell] .main-content:not(:has(.pos-v3)) .record-export .action-menu-popover>:is(a,button):hover{background:var(--vb-menu-hover);color:var(--vb-menu-hover-ink)}

/* 60/30/10 is a visual hierarchy, not an area quota: neutral reading surfaces,
   cobalt navigation/actions/menu titles, orange limited to small state accents. */
@media screen{
body[data-vb-shell] .account-menu-identity{margin:-7px -7px 5px;padding:12px 19px;background:#0047ab;color:#fff;border-bottom:1px solid #003e96;border-radius:9px 9px 0 0}
body[data-vb-shell] .account-menu-identity :is(strong,small){color:#fff}
body[data-vb-shell] .account-menu-identity small{opacity:.85}
body[data-vb-shell] :is(.notification-menu-panel,.action-menu-popover)>:is(.popover-title,.menu-title){background:#0047ab;color:#fff;border-color:#003e96}
}

/* Approved table hierarchy: cobalt/white headers, neutral data rows. Screen only;
   thermal documents and printer ink settings retain their print presentation. */
@media screen{
body[data-vb-shell] .main-content table thead :is(a,button,summary,small,.muted,.cell-note){color:inherit}
body[data-vb-shell] .main-content table thead a:hover{color:#fff;text-decoration:underline}
body[data-vb-shell] .main-content table thead :is(a,button,summary):focus-visible{outline:2px solid #fff;outline-offset:2px}
body[data-vb-shell] .main-content table thead input[type=checkbox]{accent-color:#fff;outline:1px solid #cbdcff}
}

body[data-vb-shell] :is(.vi-nav-links,.action-menu-popover,.account-menu-panel,.notification-menu-panel) :is(a,button,summary):not(:disabled):hover{background:var(--vb-menu-hover);color:var(--vb-menu-hover-ink)}
body[data-vb-shell] :is(.vi-nav-links,.action-menu-popover,.account-menu-panel,.notification-menu-panel) :is(a,button,summary):focus-visible{outline:2px solid #0047ab;outline-offset:-2px;background:var(--vb-menu-hover);color:var(--vb-menu-hover-ink)}
body[data-vb-shell] .notification-menu-head a:hover{background:#ffffff1a;color:#fff}

/* Row actions follow a single list pattern, including wrapped legacy action rows. */
body[data-vb-shell] .action-menu-popover>:is(.actions,.menu-action-list,.reservation-row-actions){display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;padding:0;align-items:stretch}
body[data-vb-shell] .action-menu-popover>:is(.actions,.menu-action-list,.reservation-row-actions)>:is(a,button),body[data-vb-shell] .action-menu-popover>form>button,body[data-vb-shell] .action-menu-popover>.reservation-row-actions>form>button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:38px;height:auto;gap:9px;margin:0;padding:9px 10px;text-align:start;font-size:12px;line-height:20px;font-weight:500;white-space:normal;text-decoration:none;border:0;border-radius:4px;background:transparent;color:var(--vb-menu-hover-ink);box-shadow:none}
body[data-vb-shell] .action-menu-popover>:is(.actions,.menu-action-list,.reservation-row-actions)>*+*,body[data-vb-shell] .action-menu-popover>form{border-top:1px solid #e5eaf1;margin:0}
body[data-vb-shell] .action-menu-popover>a{justify-content:flex-start;gap:9px;line-height:20px;font-weight:500}
body[data-vb-shell] .action-menu-popover>a:has(>strong):not(:has(>.menu-item-icon)){display:grid;grid-template-columns:minmax(0,1fr);gap:2px}
body[data-vb-shell] .action-menu-popover>:is(a,button):has(>.menu-item-icon){display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:0}
body[data-vb-shell] .action-menu-popover>a>strong{font-size:12px;font-weight:500}
body[data-vb-shell] .action-menu-popover>a>span:not(:only-child){font-size:12px;line-height:1.5}
body[data-vb-shell] .action-menu-popover .vf-icon{width:16px;height:16px;flex:0 0 16px}
body[data-vb-shell] .action-menu-popover :is(a,button,summary):not(:disabled):hover{background:var(--vb-menu-hover);color:var(--vb-menu-hover-ink);text-decoration:none}
body[data-vb-shell] .action-menu-popover .menu-danger{color:#a12e25}
body[data-vb-shell] .action-menu-popover .menu-danger:hover{color:#8c241d;background:#fff1ef}
@media(max-width:760px){body[data-vb-shell] .action-menu-popover :is(a,button,summary){min-height:44px}}

/* One table viewport keeps both header rows and wide columns in context. */
@media screen{
body[data-vb-shell] .main-content .table-wrap.record-scroll-region{max-height: min(70dvh,720px);overflow:auto;position:relative;scroll-padding-block:52px 12px}
body[data-vb-shell] .main-content .record-scroll-region>table>thead{position:sticky;top:0;z-index:8;background:#0047ab;color:#fff;box-shadow:0 1px 0 #326bc0}
body[data-vb-shell] .main-content .record-scroll-region>table>thead>tr>:is(th,td){position:static}
body[data-vb-shell] .record-scroll-region:focus-visible{outline:2px solid #0047ab;outline-offset:2px}
body[data-vb-shell] .record-action-cell{vertical-align:middle;white-space:nowrap}
body[data-vb-shell] .record-row-menu>.record-row-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;box-sizing:border-box;padding:8px 12px;margin:0;border:1px solid #ccd8e8;border-radius:7px;background:#fff;color:#153b68;font-size:12px;line-height:20px;font-weight:500;white-space:nowrap;box-shadow:none}
body[data-vb-shell] .record-row-menu>.record-row-trigger:hover,body[data-vb-shell] .record-row-menu[open]>.record-row-trigger{background:var(--vb-menu-hover);color:var(--vb-menu-hover-ink);border-color:#9eb7d5}
body[data-vb-shell] .record-row-menu>.record-row-trigger:focus-visible{outline:2px solid #0047ab;outline-offset:2px}
}
@media screen and (max-width:760px){body[data-vb-shell] .record-row-menu>.record-row-trigger{min-height:44px}}
@media print{.record-scroll-region{max-height:none!important;overflow:visible!important}.record-scroll-region>table>thead{position:static!important;display:table-header-group!important}}
