/* Additive adaptations only. Original styles.css and console.css are copied byte-for-byte. */
.brand-word{font-size:19px}.brand-caption{letter-spacing:1px}.nav-sub{background:none;border-top:0;border-right:0;border-bottom:0;cursor:pointer}.console-summary{margin-bottom:18px}.console-panel>.panel{margin:16px 0}.profile-tabs{margin:20px 0}.console-table .user-id{max-width:170px;overflow-wrap:anywhere}.console-cards .playing-card{min-width:42px;width:auto;padding:8px;height:61px}.console-form .form-help{font-size:12px;color:var(--muted);line-height:1.8}.console-form select{min-height:40px}.console-preview{border:1px solid var(--gold);padding:16px;margin-top:16px;border-radius:8px}.console-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:250px;overflow:auto}.modal-error:empty{display:none}.console-actions .danger{color:var(--red)}.console-detail .panel{margin-bottom:18px}.console-toolbar-form{display:contents}.protected-attachment{max-width:200px;max-height:160px;border-radius:8px;display:block}.context-chip{padding:8px 12px;color:var(--sub);background:var(--input);border-radius:7px;margin-bottom:16px}.console-live-controls{display:flex;align-items:center;gap:12px}.section-stack>.panel{margin-bottom:18px}.console-form input:disabled,.console-form select:disabled,.console-form textarea:disabled{opacity:.65}.console-drawer:focus,.console-modal:focus{outline:1px solid var(--gold)}.table-second{max-width:230px;overflow-wrap:anywhere}.console-identity{overflow-wrap:anywhere}.detail-back{margin-bottom:16px}.login-card .console-error{margin:12px 0}.nav-item .nav-badge{margin-left:auto}.key-grid dd .status{vertical-align:middle}.global-search{min-width:200px}.console-label{font-size:12px;color:var(--muted);margin-bottom:6px}.console-row-link{display:block}.console-section-page{margin-top:12px}.console-search-result{display:block;padding:14px 0;border-bottom:1px solid var(--line)}
@media(max-width:1050px){.toolbar{flex-wrap:wrap}.global-search{min-width:0}.console-detail{display:block}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.console-preview .key-grid{grid-template-columns:1fr;gap:12px}.console-preview .key-grid .key-grid{padding:12px;background:var(--input);border-radius:7px}.console-preview dd{white-space:pre-wrap}.console-preview .key-grid dt{color:var(--gold)}
.console-form [hidden]{display:none!important}

/* Management workspace fills all space beside navigation; wide tables own their scroll. */
.workspace{min-width:0}
#main-content.main{width:100%;min-width:0;max-width:none;margin:0;padding:28px 20px 24px;box-sizing:border-box}
.users-table-wrap{max-height:68vh;max-height:68dvh;overflow:auto;position:relative;scrollbar-gutter:stable;overscroll-behavior:contain}
.users-table{min-width:1610px;table-layout:fixed}
.users-table th:nth-child(1){width:220px}.users-table th:nth-child(2){width:140px}.users-table th:nth-child(3){width:130px}.users-table th:nth-child(4){width:260px}.users-table th:nth-child(5){width:140px}.users-table th:nth-child(6){width:180px}.users-table th:nth-child(7){width:170px}.users-table th:nth-child(8){width:150px}.users-table th:nth-child(9){width:110px}.users-table th:nth-child(10){width:110px}
.users-table td{white-space:normal;overflow-wrap:anywhere}.users-table .user-cell>div{min-width:0}.users-table .user-name{text-align:left;white-space:normal;overflow-wrap:anywhere}
.users-table td:nth-child(2){vertical-align:middle}
.users-table th{position:sticky;top:0;z-index:3;background:var(--surface-raised)}
.users-table th:first-child,.users-table td:first-child{position:sticky;left:0;box-shadow:1px 0 0 var(--line)}
.users-table th:last-child,.users-table td:last-child{position:sticky;right:0;box-shadow:-1px 0 0 var(--line)}
.users-table td:first-child,.users-table td:last-child{z-index:2;background:var(--surface)}
.users-table th:first-child,.users-table th:last-child{z-index:4}
.users-table tbody tr:hover td:first-child,.users-table tbody tr:hover td:last-child{background:var(--surface-hover)}
.console-time{display:inline-block;max-width:100%;padding:2px 0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:help;border-bottom:1px dotted var(--muted)}
.console-time time>span{display:block}.console-time:focus-visible,.users-table-wrap:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.console-time-tip{position:fixed;z-index:250;max-width:calc(100vw - 24px);padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--input);color:var(--ink);font-size:12px;line-height:1.6;box-shadow:var(--shadow);pointer-events:none}
.console-time-tip[hidden]{display:none}
@media(max-width:640px){#main-content.main{padding:21px 12px}.users-table{min-width:1540px}.users-table th:first-child{width:180px}}

/* Account images use server-owned assets; failures share the App neutral retry state. */
.user-avatar{position:relative;flex-shrink:0;overflow:hidden}
.user-avatar>img{position:absolute;inset:0;pointer-events:none}
.avatar-placeholder,.avatar-retry{display:grid;place-items:center;position:absolute;inset:0;width:100%;height:100%;font-size:17px;color:#c68d62;background:#ffecd5}
.avatar-retry{border:0;padding:0;cursor:pointer}.avatar-retry:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.avatar-placeholder[hidden],.avatar-retry[hidden]{display:none}

/* Identity-only toolbar adaptation; retain the original v1 input font and controls. */
.toolbar.identity-search-toolbar .identity-search-field{flex:0 1 330px;min-width:0;max-width:100%}
.toolbar.identity-search-toolbar .identity-search-field input{width:100%;min-width:0}
.user-email{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;margin-top:5px;min-width:0;max-width:100%;font-size:11px;line-height:1.7}
.user-email-value{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.user-email-status{font-size:inherit}.user-email .text-btn{font-size:inherit;padding:0;white-space:nowrap}
@media(max-width:1050px){.toolbar.identity-search-toolbar .identity-search-field{flex-basis:100%;width:100%}}
