/* VisionNav / LIF Atlas. Loaded after the retained application styles. */
:root {
  --red: #e3222b;
  --red-soft: #fff0f0;
  --ink: #202226;
  --muted: #737b87;
  --sub: #5f6672;
  --line: #e4e7eb;
  --bg: #f4f5f7;
  --green: #218567;
  --blue: #467cb7;
  --orange: #bd7625;
  --shadow: 0 2px 6px #16243103;
  font-family: 'Inter', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  font-size: 14px;
}
body { background: var(--bg); color: var(--ink); }
button, input, select, textarea { font-family: inherit; }
button { font-weight: 500; }
.ico { color: inherit; }
.ico-wrap, .nav-item > .ico-wrap { display: inline-flex !important; }
.ico-wrap svg { display: block; width: 100%; height: 100%; }
.directory-search input { border:0; outline:0; background:transparent; width:100%; min-width:0; font:inherit; font-size:12px; height:38px; padding:0; box-shadow:none; }
.setting-field input,.setting-field textarea { width:100%; border:1px solid #dce0e6; border-radius:6px; background:#fff; padding:10px 12px; font:inherit; font-size:12px; color:var(--ink); min-height:40px; }
.setting-field textarea { min-height:90px; resize:vertical; }
.setting-field input:disabled,.setting-field textarea:disabled { background:#f7f8fa; color:#646d7b; }
.setting-field label { display:block; margin-bottom:8px; font-size:12px; color:var(--sub); }
.readonly-field { display:block; min-height:40px; padding:10px 12px; border:1px solid var(--line); background:#f7f8fa; border-radius:6px; font-size:12px; }
.issue-scope { display:flex; gap:16px; align-items:center; margin-bottom:16px; flex-wrap:wrap; }
.severity.S1 { color:#bd1c25; background:#ffebed; }
.severity.S2 { color:#a86510; background:#fff3dd; }
.severity.S3 { color:#2d659e; background:#edf4fd; }
.severity.S4 { color:#5b6879; background:#eef1f5; }
.login-products { display:flex; width:100%; height:100%; align-items:center; justify-content:center; padding:20px 18px 40px; gap:5px; }
.login-products img { width:47%; height:90%; object-fit:contain; mix-blend-mode:multiply; }
.mono, .project-code, .context-code { font-family: 'Consolas', 'SFMono-Regular', monospace; font-variant-numeric: tabular-nums; }
h1 { font-size: 24px; font-weight: 700; letter-spacing: -.45px; }
h2 { font-weight: 650; }
.muted { color: var(--muted); }
.sub { color: var(--sub); }
.btn { min-height: 38px; border-radius: 6px; border-color: #d9dde3; font-size: 12px; font-weight: 600; box-shadow: none; }
.btn:hover { background: #f7f8fa; border-color: #b6bdc7; }
.btn.primary { background: var(--red); border-color: var(--red); box-shadow: none; }
.btn.primary:hover { background: #c91922; border-color: #c91922; }
.btn.soft { color: #bd1820; background: #fff0f0; }
.icon-btn { border-radius: 6px; color: #59616d; }
.icon-btn:hover { color: var(--ink); background: #eceff3; }
.link-btn { color: #535b68; font-size: 12px; }
.pill { font-size: 11px; border-radius: 4px; color: #58616d; background: #eef0f4; }
.pill.green { color: #167257; background: #eaf5f0; }
.pill.red { color: #bd1d26; background: #fff0f0; }
.pill.orange { color: #996016; background: #fff4e5; }
.pill.blue { color: #346aaf; background: #edf3fc; }
.pill.purple { color: #7755a3; background: #f3eefa; }
.avatar { background: #e8edf4; color: #4b6180; font-weight: 700; }
.avatar.rose { background: #fce8e8; color: #b02c34; }
.avatar.mint { background: #e2f0e9; color: #34775e; }
.sidebar { width: 220px; padding: 27px 14px 17px; border-right: 1px solid #e0e3e8; background: #fff; overflow-y: auto; }
.sidebar .brand { padding: 0 9px; justify-content: flex-start; }
.visionnav-logo { display: block; width: 174px; max-width: 100%; height: auto; object-fit: contain; }
.sidebar .brand-logo { border-radius: 0; box-shadow: none; }
.sidebar .brand-name { font-size: 19px; letter-spacing: -.6px; display: inline-block; }
.brand-caption { display: block; color: #6d727b; font-size: 10px; font-weight: 650; letter-spacing: 2.1px; margin: 14px 0 0 10px; }
.sidebar .nav { margin-top: 32px; gap: 5px; }
.nav-item { display: flex; justify-content: flex-start; gap: 11px; height: 43px; padding: 0 13px; border-radius: 6px; font-size: 13px; color: #5f6672; width: 100%; }
.nav-item > span { display: inline; }
.nav-item .ico { width: 18px; height: 18px; }
.nav-item.active { color: #cb1a23; background: #fff0f0; font-weight: 650; box-shadow: inset 3px 0 0 var(--red); }
.nav-item:not(.active):hover { background: #f2f4f7; color: #262b33; }
.nav-item .badge { position: static; color: #c9222b; background: #ffe1e3; margin-left: auto; min-width: 20px; height: 18px; font-size: 10px; }
.sidebar-label { display: flex; margin: 27px 12px 10px; color: #7c838d; font-size: 10px; font-weight: 600; letter-spacing: .7px; }
.project-nav { display: flex; padding: 9px 12px; color: #656d79; font-size: 11px; }
.project-nav.active { background: #f2f4f7; color: #222831; font-weight: 600; }
.project-subnav { margin: 8px 0 8px 21px; padding-left: 9px; border-left: 1px solid #e1e5eb; display: flex; flex-direction: column; gap: 4px; }
.project-subnav .nav-item { min-height: 36px; height: auto; padding: 9px 10px; font-size: 12px; gap: 8px; }
.project-subnav .nav-item .ico { width: 16px; height: 16px; }
.project-subnav .nav-item.active { box-shadow: none; }
.project-context { margin: 25px 9px 5px; padding: 15px 3px 3px; border-top: 1px solid var(--line); }
.project-context .context-code { display: block; font-size: 10px; line-height: 1.6; }
.project-context strong, .project-context .context-name { display: block; margin-top: 6px; font-size: 12px; line-height: 1.6; color: #394350; }
.project-context .muted { font-size: 10px; }
.sidebar-bottom { padding-top: 24px; }
.sidebar .help-box { display: none; }
.profile { padding: 17px 4px 0; margin-top: 20px; gap: 8px; }
.profile .grow { display: block; }
.profile .icon-btn { display: inline-flex; width: 26px; }
.profile strong { font-size: 12px; color: #323944; }
.profile span.small { color: #7e8590; font-size: 10px; margin-top: 4px; display: block; }
.body { margin-left: 220px; }
.topbar { height: 65px; padding: 0 30px; background: #fff; backdrop-filter: none; gap: 16px; }
.breadcrumb { font-size: 12px; color: #4f5763; gap: 10px; min-width: 0; }
.breadcrumb > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { gap: 14px; }
.searchbox { border-radius: 6px; background: #f5f6f8; color: #7e8692; }
.searchbox input { color: #3f4754; font-size: 12px; }
.searchbox input::placeholder { color: #8c939e; }
.content { padding: 26px 30px 30px; max-width: 1780px; }
.page-head { margin-bottom: 22px; min-height: 42px; align-items: center; }
.page-head p { color: #717985; margin-top: 7px; }
.eyebrow { color: #747e8d; font-size: 10px; letter-spacing: 1px; font-weight: 600; }
.project-code, .context-code { color: #ce1d27; font-weight: 700; font-size: 13px; letter-spacing: .45px; }
.page-head .project-code { font-size: 13px; }
.project-header { margin-bottom: 25px; }
.project-header .project-code { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 9px; }
.project-header h1 { font-size: 25px; letter-spacing: -.4px; line-height: 1.5; }
.project-header p, .project-header .address { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: #747e8b; font-size: 12px; }
.project-header .address .ico { width: 14px; height: 14px; }
.project-tabs { display: flex; align-items: center; gap: 27px; border-bottom: 1px solid #dee3ea; margin-top: 22px; overflow-x: auto; overflow-y: hidden; }
.project-tabs button { flex-shrink: 0; position: relative; padding: 0 1px 14px; font-size: 13px; color: #697482; white-space: nowrap; }
.project-tabs button.active { color: #cb1d26; font-weight: 650; }
.project-tabs button.active:after { content: ''; position: absolute; height: 2px; background: var(--red); left: 0; right: 0; bottom: -1px; }
.monitor-project-select { max-width: 300px; min-height: 38px; padding: 8px 34px 8px 12px; border: 1px solid #dce2e9; border-radius: 6px; background: #fff; color: #354252; font-size: 12px; }
.monitor-project-select { display:flex; max-width:100%; padding:0; border:0; background:transparent; flex-wrap:wrap; gap:12px; align-items:center; margin-top:12px; }
.monitor-project-select select { height:36px; max-width:270px; border:1px solid var(--line); border-radius:6px; padding:0 30px 0 10px; color:var(--ink); background:#fff; font-size:12px; }
.project-header { position:relative; }
.project-header > .pill { position:absolute; top:0; right:0; }
.project-header p .ico { width:14px; height:14px; }
.project-context .context-code { color:var(--red); font-weight:700; font-size:12px; }
.project-context .sidebar-label { margin:0 0 8px; }
.project-subnav { margin-top:18px; }
.page-actions { gap: 8px; }
.panel, .stat, .project-card, .issue-card { border-color: var(--line); border-radius: 8px; box-shadow: none; }
.panel-head { height: 60px; padding: 0 21px; }
.panel-head h2 { font-size: 14px; color: #2b313a; }
.panel-head p { color: #747d89; font-size: 11px; }
.stats { gap: 16px; margin-bottom: 21px; }
.stat { padding: 19px 20px 17px; }
.stat-top { color: #69727e; font-size: 12px; }
.stat-icon { border-radius: 6px; background: #fcebec; color: #ce4047; }
.stat-value { color: #242a32; font-size: 30px; font-weight: 650; }
.stat-value span { color: #7e8793; }
.stat-note { color: #7c8591; line-height: 1.6; flex-wrap: wrap; }
.stat-note b.warn { color: #c05b27; }
.feed-item .issue-id, .issue-table .table-id { color: #7a8390; }
.feed-item h3 { font-size: 12px; color: #343c48; }
.feed-item .feed-meta { color: #77818f; font-size: 10px; }
.feed-bottom { color: #676f7b; }
.map-legend { color: #697584; font-size: 10px; }
.map-caption { color: #6b7685; }
.segmented { background: #eceff3; border-radius: 6px; }
.segmented button { font-size: 11px; color: #697280; }
.segmented button.active { color: #252c36; box-shadow: 0 1px 4px #15243c0c; }
.chart-key, .category-legend { color: #707a88; }
.chart-axis { fill: #818b99; }
.footnote { font-size: 10px; color: #87909c; }
.filters { gap: 8px; margin-bottom: 18px; }
.filters select, .filter-select { color: #4c5665; font-size: 12px; border-color: #dfe3e9; border-radius: 6px; }
.count-label { color: #707986; }
.issue-table th { background: #f7f8fa; font-size: 11px; color: #697382; font-weight: 550; padding: 15px 18px; }
.issue-table td { font-size: 12px; color: #596473; padding: 17px 18px; border-bottom-color: #edf0f3; }
.issue-table td.issue-title { color: #28323e; }
.issue-table tbody tr:hover { background: #fcf5f5; }
.table-actions button { font-size: 11px; color: #626e7e; }
.issue-card h3 { color: #29323e; }
.issue-card p, .issue-card-footer { color: #707b89; }
.issue-card:hover { transform: none; border-color: #e0a3a7; }
.empty { color: #6f7a88; }
.empty h2 { color: #414b59; }
.workspace { height: calc(100vh - 183px); min-height: 500px; border-radius: 8px; border-color: #dce2e9; }
.layers-panel, .map-inspector { border-radius: 7px; border-color: #e0e5ec; box-shadow: 0 3px 16px #15263f08; }
.layers-panel h3 { font-size: 12px; color: #303b49; }
.layer-row strong { font-size: 11px; color: #3c4655; }
.layer-row small { font-size: 10px; color: #7b8593; }
.layer-info label { color: #687585; font-size: 10px; }
.map-readonly-note { color: #6c7a8d; background: #f1f4f8; }
.map-bottom { color: #6d7b8e; }
.map-bottom .legend-group { font-size: 9px; }
.edit-banner { color: #a33d46; }
.admin-tabs { gap: 25px; }
.admin-tabs button { color: #6b7583; }
.notice { font-size: 12px; color: #866c3f; }
.admin-note { color: #526b8c; }
.modal-backdrop { background: #10182755; backdrop-filter: blur(2px); }
.modal { border-radius: 10px; }
.modal-header { padding: 23px 26px 19px; }
.modal-header h2 { color: #242d39; }
.modal-header p { color: #747f8e; font-size: 12px; }
.modal-footer { background: #f9fafb; }
.field label { color: #515e6f; font-size: 12px; }
.field input:not([type=checkbox]):not([type=file]):not([type=range]), .field select, .field textarea { color: #344153; border-color: #dce2e9; border-radius: 6px; font-size: 13px; }
.field small { color: #778394; font-size: 11px; }
.field input::placeholder, .field textarea::placeholder { color: #909aa8; }
.check-row { border-radius: 6px; }
.check-row small { color: #7c8695; }
.login-art { background: #f3f4f6; }
.login-art .brand { left: 42px; }
.login-art h1 { font-size: 35px; }
.login-art > p { color: #65707e; }
.login-form h2 { color: #262d37; }
.login-form > p { color: #6f7987; }
.login-form .eyebrow { color: #b1363e; }
.login-form .field label { color: #515c6a; }
.login-illustration { border-radius: 8px; transform: none; box-shadow: none; }
.login-illustration .mini-map-label { transform: none; }
.login-demo p, .login-admin { color: #737e8e; }
.login-art-foot { color: #808a98; }

@media (min-width: 1500px) {
  .content { padding: 30px 36px; }
  .topbar { padding: 0 36px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .sidebar { width: 220px; padding: 25px 12px 16px; }
  .body { margin-left: 220px; }
  .sidebar .brand { justify-content: flex-start; padding: 0 8px; }
  .sidebar .nav { margin-top: 30px; gap: 5px; }
  .nav-item { justify-content: flex-start; padding: 0 12px; }
  .nav-item > span { display: inline; }
  .brand-caption, .sidebar-label, .profile .grow { display: block; }
  .profile .icon-btn, .project-nav { display: flex; }
  .content { padding: 24px 22px; }
  .topbar { padding: 0 22px; }
  .topbar-actions > .searchbox { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid, .bottom-grid { grid-template-columns: 1fr; }
  .issue-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head { align-items: flex-start; }
  .page-actions { flex-wrap: wrap; justify-content: flex-end; }
  .breadcrumb { max-width: 65%; }
}
@media (max-width: 760px) {
  .sidebar { display: none; }
  .body { margin-left: 0; }
  .content { padding: 20px 16px 90px; }
  .topbar { height: 60px; padding: 0 16px; }
  .topbar-actions { gap: 8px; }
  .mobile-brand { font-size: 15px; }
  .mobile-brand img.visionnav-logo { width: 126px; height: auto; }
  .mobile-nav { padding-top: 7px; background: #fff; border-color: #dce2e9; }
  .mobile-nav button { color: #6e7a8a; }
  .mobile-nav button.active { color: #cf212b; }
  .page-head { gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
  h1 { font-size: 22px; }
  .page-head .page-actions { justify-content: flex-start; }
  .project-header { margin-bottom: 20px; }
  .project-header h1 { font-size: 22px; }
  .project-tabs { gap: 23px; margin-top: 20px; }
  .project-tabs button { font-size: 12px; }
  .monitor-project-select { width: 100%; max-width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 15px; }
  .stat-value { font-size: 27px; }
  .stat-top { font-size: 11px; }
  .stat-note { font-size: 10px; }
  .dash-grid, .bottom-grid { grid-template-columns: 1fr; }
  .issue-cards { grid-template-columns: 1fr; }
  .panel-head { padding: 0 16px; }
  .filters .searchbox { flex: 1 1 100%; }
  .filters .searchbox input { width: 100%; }
  .filters select { max-width: 100%; flex: 1 1 auto; font-size: 12px; }
  .workspace { min-height: 560px; height: calc(100dvh - 240px); }
  .map-page .content { padding-bottom: 82px; }
  .map-page .map-actions { width: auto; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; }
  .map-page .map-actions .btn { font-size: 11px; min-height: 34px; padding: 0 10px; }
  .map-page .page-head h1 { font-size: 22px; }
  .modal { border-radius: 12px 12px 0 0; }
  .modal-backdrop { padding: 0; }
  .modal-body { padding: 20px; }
  .login-form:before { width: 177px; height: 34px; background: url('/static/brand/logo.png') left center/contain no-repeat; border-radius: 0; box-shadow: none; }
  .login-form-wrap { background: #fff; }
}

/* Shared form and touch behavior for browser and installed PWA windows. */
html { -webkit-text-size-adjust: 100%; }
.body, .content, .project-settings, .global-settings { min-width: 0; }
button, a, select { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #c52c36;
  outline-offset: 3px;
}
button:disabled { cursor: not-allowed; }
.modal-body, .table-scroll, .global-table-scroll { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.modal-header, .modal-footer { flex-shrink: 0; }
.modal-body { min-height: 0; }
.global-table-panel, .global-table-scroll, .settings-member-table { min-width: 0; }
.global-table-scroll { scrollbar-width: thin; }
.settings-error, .form-error { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .body { padding-bottom: 0; }
  .content { padding: 20px max(14px, env(safe-area-inset-right)) calc(94px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
  .topbar { padding-top: env(safe-area-inset-top); min-height: calc(60px + env(safe-area-inset-top)); height: auto; }
  .topbar-actions > .avatar, .topbar .icon-btn { width: 40px; height: 40px; }
  .mobile-nav { padding-bottom: calc(9px + env(safe-area-inset-bottom)); }
  .mobile-nav button { min-width: 54px; min-height: 44px; font-size: 10px; }
  .mobile-nav button.add-nav { min-height: 42px; min-width: 46px; }
  .btn, .link-btn, .global-row-action, .remove-member, .edit-model, .add-number { min-height: 44px; }
  .project-tabs, .admin-tabs { overflow-x: auto; scrollbar-width: none; gap: 18px; }
  .project-tabs > button, .admin-tabs > button { min-height: 44px; flex-shrink: 0; white-space: nowrap; }
  .project-tabs::-webkit-scrollbar, .admin-tabs::-webkit-scrollbar { display: none; }
  .page-head .page-actions { padding-top: 0; gap: 8px; }
  .page-head .page-actions .btn, .map-page .map-actions .btn { min-height: 42px; font-size: 12px; }
  input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea {
    font-size: 16px !important;
  }
  .field input:not([type=checkbox]):not([type=file]):not([type=range]), .field select,
  .setting-input, .owner-field select, .member-add select, .settings-member-row select,
  .global-field-input, .global-field-select, .global-status-select { min-height: 44px; }
  .filters select { flex: 1 1 135px; min-width: 0; min-height: 44px; }
  .filters .segmented > button, .chips > button { min-height: 40px; }
  .global-search { min-height: 44px; }
  .global-search-input { min-height: 40px; }
  .global-row-actions { gap: 12px; }
  .global-row-action { min-width: 44px; }
  .global-color-choice { min-width: 36px; min-height: 36px; }
  .global-checkbox, .check-row input[type=checkbox] { width: 19px; height: 19px; }
  .modal-backdrop { padding: env(safe-area-inset-top) 0 0; }
  .modal { max-height: calc(100dvh - env(safe-area-inset-top)); border-radius: 12px 12px 0 0; }
  .modal-header { padding: 18px 18px 14px; }
  .modal-header .icon-btn { width: 44px; height: 44px; flex-shrink: 0; }
  .modal-body { padding: 18px; }
  .modal-footer { flex-wrap: wrap; gap: 8px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }
  .modal-footer .btn { min-height: 44px; font-size: 13px; }
  .form-row { grid-template-columns: 1fr; flex-wrap: wrap; }
  .form-row > .field { min-width: 0; flex: 1 1 100%; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > div { min-width: 0; overflow-wrap: anywhere; }
  .settings-save-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .settings-remote-notice { flex-wrap: wrap; }
  .settings-remote-notice > span { flex: 1; min-width: 180px; }
  .settings-remote-notice > .link-btn { margin-left: 26px; }
  .workspace { min-height: 560px; }
  .map-top .segmented > button { min-height: 40px; padding: 7px 9px; }
  .map-top .searchbox { max-width: 47%; min-height: 40px; }
  .map-top .searchbox input { font-size: 16px !important; }
  .mobile-layer-toggle { min-height: 42px; top: 66px; }
  .layers-panel { top: 116px; max-height: calc(100% - 175px); }
  .layer-row { min-height: 48px; }
  .map-tools .icon-btn { width: 42px; height: 42px; }
  .map-inspector { max-height: min(45dvh, 270px); overflow-y: auto; }
  .map-inspector .btn { min-height: 44px; }
  .map-search-results { top: 59px; width: min(280px, calc(100% - 24px)); }
  .map-search-results button { min-height: 44px; }
  .offline-banner { bottom: calc(67px + env(safe-area-inset-bottom)); font-size: 11px; }
  #toast { bottom: calc(91px + env(safe-area-inset-bottom)); }
  .login-form-wrap { padding: calc(34px + env(safe-area-inset-top)) 24px calc(34px + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  .settings-member-head { display: none; }
  .settings-member-row { grid-template-columns: minmax(0, 1fr) 68px 44px; gap: 5px 9px; }
  .settings-member-row .member-name { grid-column: 1; grid-row: 1; min-width: 0; }
  .settings-member-row .member-role { grid-column: 1; grid-row: 2; padding-left: 31px; font-size: 11px; }
  .settings-member-row > select { grid-column: 2; grid-row: 1 / 3; }
  .settings-member-row > .remove-member { grid-column: 3; grid-row: 1 / 3; font-size: 12px; }
  .member-name > div { min-width: 0; }
  .member-name strong, .member-name small { overflow-wrap: anywhere; }
  .global-tabs > .global-tab-control { padding-left: 4px; padding-right: 4px; }
  .global-scope { display: none; }
  .modal-footer .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .content { animation: none; }
  #toast, .project-card, .btn { transition: none; }
}
.project-title-block{min-width:0;flex:1}.project-header h1.project-code-title{color:var(--red,#e3222b);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:27px;overflow-wrap:anywhere;letter-spacing:.3px}.project-header .project-remarks{font-size:14px;color:#414955;margin-top:10px;line-height:1.7}.project-header .project-description{font-size:12px;color:#737b87;max-width:760px;line-height:1.8;white-space:pre-wrap}.project-header-image{width:110px;height:85px;object-fit:contain;background:white;border:1px solid #e4e7eb;border-radius:7px;padding:5px;margin:0 16px}.initial-model-row .asset-picker{width:100%}@media(max-width:650px){.project-header h1.project-code-title{font-size:22px}.project-header-image{width:72px;height:65px;margin:0 6px}.project-header .project-description{font-size:11px}}

/* Member administration keeps archived identities available for history. */
.member-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.member-toolbar .segmented{flex-shrink:0}.member-toolbar .segmented button{min-height:38px;display:flex;align-items:center;gap:7px}.member-toolbar .segmented button span{font-size:11px;opacity:.75}
.member-panel .member-table{min-width:920px}.member-table .member-identity{min-width:145px}.member-table .member-identity strong{font-weight:600;color:#465262;overflow-wrap:anywhere}.member-table .member-identity .avatar{flex-shrink:0}
.member-table td{white-space:normal;overflow-wrap:anywhere}.member-table .member-actions{max-width:250px;min-width:200px;flex-wrap:wrap;gap:4px 10px}.member-actions button{min-height:32px;font-size:11px;white-space:nowrap}.member-actions .member-delete-action{color:#be2837}.member-actions button:disabled{opacity:.45;cursor:wait}
.member-fieldset{border:0;padding:0;margin:0;min-width:0}.field input.member-readonly{background:#f5f7fa;color:#717b8a;cursor:default}.member-confirm-person{display:flex;align-items:center;gap:12px;margin:0 0 22px}.member-confirm-person .avatar{width:42px;height:42px;flex-shrink:0}.member-confirm-person strong,.member-confirm-person small{display:block;overflow-wrap:anywhere}.member-confirm-person strong{font-size:16px;color:#374151}.member-confirm-person small{font-size:12px;color:#84909f;margin-top:5px}.member-confirm-lead{font-size:14px;line-height:1.8;color:#485568;margin-bottom:14px}.member-impact-list{background:#f6f8fb;border:1px solid #e8edf3;border-radius:9px;padding:13px 16px;margin-bottom:16px}.member-impact-list p{font-size:12px;color:#66758a;line-height:1.8;margin:3px 0}
@media(max-width:760px){
 .member-toolbar{padding:16px;align-items:flex-start;gap:10px}.member-toolbar>.small{width:100%;font-size:11px}.member-toolbar .segmented{width:100%}.member-toolbar .segmented button{flex:1;justify-content:center;min-height:42px}
 .member-panel>.table-scroll{overflow:visible}.member-panel .member-table{display:block;min-width:0;width:100%}.member-table thead{display:none}.member-table tbody{display:block}.member-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 16px;padding:18px 16px;border-bottom:1px solid var(--line)}
 .member-panel .member-table td{display:block;border:0!important;padding:0!important;min-width:0;font-size:12px}.member-table td:before{content:attr(data-label);display:block;font-family:inherit;font-size:10px;color:#8b95a3;line-height:1.5;margin-bottom:6px}.member-table td.member-identity,.member-table td.member-management{grid-column:1/-1}.member-table td.member-identity:before,.member-table td.member-management:before{display:none}.member-table .member-identity strong{font-size:14px}.member-table .member-actions{max-width:none;min-width:0;gap:5px 10px;padding-top:5px}.member-actions button{min-height:40px;padding:5px 7px;font-size:12px}.member-confirm-lead{font-size:14px}
}
