/* 机上実証の補正。実証版の参照CSSとオレンジボタンの配色は維持する。 */
.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 12px 16px;
    border: 2px solid #152622;
    background: #fff;
    color: #152622;
    transform: translateY(-200%);
}
.skip-link:focus { position: fixed; transform: none; }
body :focus-visible { outline: 3px solid #152622; outline-offset: 3px; }
.user-body .information-consent-actions button:focus-visible { outline-color: var(--brand-brown); }
.user-body .information-consent-actions button:not(.consent-allow) {
    color: var(--brand-orange-dark);
    border-color: var(--brand-orange-dark);
}
.user-body .information-consent-actions button:not(.consent-allow):hover {
    background: var(--soft);
    color: var(--brand-brown);
}
.user-body .combobox-list [aria-selected="true"] { outline: 2px solid var(--primary); outline-offset: -2px; }
/* ログアウトを右上に保ち、ロゴは残り幅へ収める。文字拡大時はブランド内で折り返す。 */
.user-body .header-inner { column-gap: 12px; }
.user-body .user-brand-group { flex: 1 1 0; min-width: 0; }
.user-body .brand { min-width: 0; max-width: 100%; flex-shrink: 1; }
.user-body .commons-logo { flex: 1 1 0; min-width: 48px; max-width: 170px; }
@media (max-width: 560px) {
    .user-body .commons-logo { max-width: 112px; }
}
.staff-body { --muted: #526474; }
.admin-body { --muted: #5f6574; --primary: #4658b7; }
.staff-body select, .staff-body .button.secondary { border-color: #667580; }
.staff-body .key-values .status-confirmed { color: #146044; }
.staff-body .key-values .status-tentative, .staff-body .key-values .status-submitting { color: #72470d; }
.staff-body .key-values .status-cancelling, .staff-body .key-values .status-cancelled { color: #8b2729; }
.admin-body .reset-panel .button { background: #4658b7; }
.admin-body .reset-panel :focus-visible { outline-color: #fff; }
.staff-body .header-inner { flex-wrap: wrap; }
.staff-station-selection { min-width: 0; max-width: 100%; }
.staff-station-selection select { min-width: 0; max-width: 100%; }
.staff-station-description { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .8125rem; }
.staff-row > *, .admin-grid > *, .detail-grid > * { min-width: 0; }
.key-values > div { flex-wrap: wrap; }
.key-values strong { min-width: 0; overflow-wrap: anywhere; }
.section-head { flex-wrap: wrap; }
.operator-pill, .status { max-width: 100%; flex-wrap: wrap; white-space: normal; }
.station-wait-note { white-space: normal; }
.staff-body .brand-mark { display: grid; }
/* 高倍率でも固定ヘッダーが入力・候補・フォーカスを覆わないよう通常フローに置く。 */
@media (max-width: 800px), (max-height: 600px) {
    .app-header, .user-body .app-header { position: static; }
}
html { scroll-padding-top: 100px; }
@media (forced-colors: active) {
    .user-body .combobox-list [aria-selected="true"] { outline-color: Highlight; }
}
