/* RC4: a shared rail, compact evidence and customer acknowledgement. */
.workspace-nav-divider { border-top:1px solid #dce9f0; margin:16px 2px 8px; padding:12px 8px 0; color:#65818e; font-size:10px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
.workspace-nav-group { margin:2px 0; padding:0; border:0; min-width:0; }
.customer-navigation-v2 .workspace-nav-group > summary { display:flex; align-items:center; gap:10px; min-height:44px; padding:10px 9px; border-radius:12px; color:#294557; font-size:12px; line-height:1.35; cursor:pointer; list-style:none; }
.workspace-nav-group > summary::-webkit-details-marker { display:none; }
.workspace-nav-group > summary strong { min-width:0; flex:1; }
.workspace-nav-group > summary:hover { background:#eef8fc; }
.workspace-nav-group[open] > summary { background:#edf5f9; }
.nav-group-chevron { margin-left:auto; font-size:20px; transition:transform .15s; }
.workspace-nav-group[open] .nav-group-chevron { transform:rotate(90deg); }
.customer-navigation-v2 .workspace-nav-group > nav { display:flex; flex-direction:column; gap:2px; padding:5px 0 6px 9px; border-left:2px solid #d3e6f0; margin-left:17px; }
.customer-sidebar.customer-navigation-v2 .workspace-nav-group > nav .customer-nav-link { font-size:12px; padding:8px; gap:8px; min-height:40px; }
.customer-navigation-v2 .workspace-nav-group > nav .customer-nav-icon { width:18px; flex-basis:18px; height:18px; }
.customer-nav-release { display:flex; align-items:center; justify-content:space-between; gap:5px; flex:0 0 auto; border-top:1px solid #e3edf2; padding-top:5px; margin-top:5px; }
.customer-sidebar.customer-navigation-v2 .portal-version-link { display:flex; align-items:center; gap:7px; min-height:44px; padding:4px 7px; font-size:11px; font-weight:700; color:#486b7e; text-decoration:none; border-radius:10px; }
.portal-version-link .customer-nav-icon { width:17px; flex-basis:17px; height:17px; }
.customer-nav-release .portal-version-link:hover { background:#eef8fc; }
@media(min-width:1100px) {
 .customer-navigation-v2.is-collapsed .workspace-nav-divider { width:40px; padding:0; margin:12px auto 5px; }
 .customer-navigation-v2.is-collapsed .workspace-nav-divider span { display:none; }
 .customer-navigation-v2.is-collapsed .workspace-nav-group > summary { width:44px; box-sizing:border-box; padding:9px 11px; gap:0; }
 .customer-navigation-v2.is-collapsed .workspace-nav-group > summary strong,.customer-navigation-v2.is-collapsed .nav-group-chevron,.customer-navigation-v2.is-collapsed .workspace-nav-group > nav { display:none; }
 .customer-navigation-v2.is-collapsed .customer-nav-release { flex-direction:column; }
 .customer-sidebar.customer-navigation-v2.is-collapsed .portal-version-link { width:44px; padding:4px 0; justify-content:center; text-align:center; font-size:9px; line-height:1.2; overflow-wrap:anywhere; }
 .customer-navigation-v2.is-collapsed .portal-version-link .customer-nav-icon { display:none; }
}
.asset-compact-detail { padding:0; margin:0; border:0; max-width:235px; min-width:125px; }
.asset-compact-detail > summary { list-style:none; display:inline-block; cursor:help; border-radius:7px; line-height:1.5; max-width:100%; padding:4px 0; }
.asset-compact-detail > summary::-webkit-details-marker { display:none; }
.asset-checkin-label { font-size:12px; text-decoration:underline dotted #91b1c0; text-underline-offset:4px; }
.asset-checkin-label.needs-review { color:#9a4b04; font-weight:700; }
.asset-detail-fallback { background:#f1f8fc; border:1px solid #c8e0ec; border-radius:10px; padding:12px; font-size:12px; overflow-wrap:anywhere; }
.asset-compact-detail.is-enhanced > .asset-detail-fallback { display:none; }
.asset-evidence-tip { position:fixed; z-index:12050; width:340px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); overflow-y:auto; white-space:pre-line; overflow-wrap:anywhere; background:#163c50; color:#fff; border:1px solid #608396; border-radius:13px; box-shadow:0 12px 38px #16354a30; padding:16px; font-size:12px; line-height:1.55; }
.asset-evidence-tip[hidden] { display:none; }
.portal-release-dialog { padding:0; border:1px solid #c6dfe9; border-radius:22px; width:min(680px,calc(100vw - 28px)); max-height:min(780px,calc(100dvh - 40px)); color:#16354a; box-shadow:0 25px 80px #06243c50; }
.portal-release-dialog:not([open]) { display:none; }
.portal-release-dialog[open] { display:flex; flex-direction:column; }
.portal-release-dialog::backdrop { background:#102e43aa; }
.release-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:18px 24px; border-bottom:1px solid #dbe8ef; background:#f4f9fc; flex:0 0 auto; }
.release-dialog-head h2 { margin:0; font-size:23px; }
.release-dialog-body { padding:8px 24px 24px; overflow-y:auto; min-height:0; }
.release-entry { padding:22px 0 14px; border-bottom:1px solid #e0eaf0; }
.release-entry h3 { margin:8px 0; }
.release-entry ul { padding-left:21px; margin:10px 0; }
.release-entry li { margin:8px 0; font-size:14px; line-height:1.5; }
.portal-notice-page { margin:0; padding:32px 16px; min-height:100dvh; box-sizing:border-box; background:linear-gradient(135deg,#edf6fa,#e4eef4); }
.notice-card { width:min(700px,100%); box-sizing:border-box; padding:36px; margin:15px auto; background:white; border:1px solid #d1e4ed; border-radius:24px; box-shadow:0 20px 65px #143d5315; }
.notice-logo { max-width:170px; max-height:60px; display:block; margin-bottom:24px; }
.notice-text { font-size:15px; line-height:1.7; margin:22px 0; overflow-wrap:anywhere; }
.notice-accept { display:flex !important; align-items:flex-start; gap:12px; padding:16px; background:#f0f8fc; border:1px solid #c2e4f0; border-radius:12px; line-height:1.5; }
.notice-accept input { width:19px; height:19px; flex:0 0 19px; margin:2px 0 0; }
@media(max-width:600px) { .notice-card { padding:22px; margin:0 auto; } .release-dialog-head,.release-dialog-body { padding-left:18px; padding-right:18px; } .release-dialog-head h2 { font-size:20px; } }
@media print { .customer-nav-release,.asset-evidence-tip,.portal-release-dialog { display:none!important; } }
/* Single-column admin forms must shrink inside the common rail on small screens. */
html body.unified-admin-page .stacked-form { min-width:0; grid-template-columns:minmax(0,1fr); }
html body.unified-admin-page .stacked-form > *,html body.unified-admin-page .brand-upload-panel > * { min-width:0; max-width:100%; overflow-wrap:anywhere; }
html body.unified-admin-page input[type=file] { min-width:0; width:100%; }
.nav-feedback-count { margin-left:auto; padding:2px 6px; border-radius:8px; background:#e5f6fc; color:#075a72; font-size:10px; font-style:normal; }

html body.portal-notice-page .notice-card h1 { font-size:clamp(24px,2.5vw,32px); line-height:1.18; }
html body.portal-notice-page .notice-card .notice-text { font-size:14px; line-height:1.6; }

/* RC5: Staff workspace itself is a native disclosure in either rail size. */
.staff-workspace-disclosure { border:0; border-top:1px solid #dce9f0; margin:14px 0 0; padding:8px 0 0; min-width:0; }
.customer-navigation-v2 .staff-workspace-disclosure > summary { display:flex; align-items:center; gap:9px; min-height:44px; padding:8px; border-radius:10px; list-style:none; cursor:pointer; color:#3a6175; font-size:11px; font-weight:750; }
.staff-workspace-disclosure > summary::-webkit-details-marker { display:none; }
.staff-workspace-disclosure > summary strong { flex:1; min-width:0; }
.staff-workspace-disclosure > summary:hover,.staff-workspace-disclosure[data-active-workspace="1"] > summary { background:#eaf5fa; }
.staff-workspace-chevron { font-size:20px; margin-left:auto; }
.staff-workspace-disclosure[open] > summary > .staff-workspace-chevron { transform:rotate(90deg); }
.customer-navigation-v2 .staff-workspace-disclosure:not([open]) > nav { display:none; }
@media(min-width:1100px) {
 .customer-navigation-v2.is-collapsed .staff-workspace-disclosure > summary { width:44px; padding:9px 10px; justify-content:center; position:relative; }
 .customer-navigation-v2.is-collapsed .staff-workspace-disclosure > summary strong { display:none; }
 .customer-navigation-v2.is-collapsed .staff-workspace-chevron { position:absolute; font-size:14px; right:1px; bottom:1px; line-height:1; }
}
