:root { --paper:#f8f7f5; --ink:#171717; --rule:#e4deda; --muted:#62605f; }
#side { background:#191918; }
.brand .ksi-mark { width:76px; height:auto; display:block; }
.brand { margin:0 0 18px; gap:10px; }
.brand strong { font-size:18px; }
.navhome { padding:7px 13px; color:#fff; text-decoration:none; }
.navhome:hover { color:#ffeb00; }
.navfoot { margin-top:auto; }
button.primary,.button.primary,.wk .wk-btn.solid,.rs .rs-primary { background:#ffeb00; border-color:#d6c909; color:#151515; }
button.primary:hover,.button.primary:hover,.rs .rs-primary:hover { background:#faf28b; color:#151515; }
#top .toolbar { min-width:0; flex-wrap:wrap; justify-content:flex-end; }
#top select,.rolebtn { max-width:220px; text-overflow:ellipsis; }
@media(max-width:760px){#top select,.rolebtn { max-width:39vw; } }
.source-link { color:#34332c; text-decoration:none; white-space:nowrap; font-size:13px; }

/* N34：服务台头部点击区 ≥44px（360–1920 实测） */
#top select#area,#top select#identity,#top #identity,#top #area{min-height:44px}
#top [aria-label="展开导航"]{min-width:44px;min-height:44px}

/* W3 visual draft: a single 44px top row; full text remains accessible. */
@media(max-width:760px){
 #top{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;padding:10px 18px}
 #top>.source-link{grid-column:1/-1;grid-row:2;white-space:normal;font-size:var(--fs-caption,13px)}
 #top>.toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:8px;width:100%;min-width:0}
 #top #area,#top #identity{width:100%;max-width:none;min-width:0;height:44px;min-height:44px;font-size:var(--fs-caption,13px)}
 #top #identity{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #top>.hamb{width:44px;height:44px;padding:0;justify-content:center;align-items:center}
}
/* W4 empty resource queue stays available as an explicit, compact disclosure. */
.resource-queue-empty{padding:0;margin-bottom:16px}
.resource-queue-empty>summary{padding:16px 20px;cursor:pointer;font-size:var(--fs-small,14px);font-weight:650;min-height:52px}
.resource-queue-empty>summary span{font-size:var(--fs-caption,13px);font-weight:400;color:var(--muted);margin-left:12px}
.resource-queue-empty>p{padding:0 20px 16px;font-size:var(--fs-small,14px);margin:0}
.resource-queue-empty:focus-visible,.resource-queue-empty>summary:focus-visible{outline:3px solid var(--green);outline-offset:2px}

/* Stable branded shell remains available when bootstrap fails. */
.desk-fallback-brand{display:inline-flex;align-items:center;min-height:44px}.desk-fallback-brand img{display:block;width:120px;height:auto}#main>.panel .heroactions{display:flex;flex-wrap:wrap;gap:10px}#main>.panel .heroactions .button{color:#171717}#main>.panel h1{font-size:24px;line-height:1.4;margin:0 0 16px}#main>.panel :is(button,a):focus-visible{outline:2px solid #171717;outline-offset:3px}
