/* Presentation layer inspired by the user's technine reference; no data rules. */
:root { --workspace:#f4f7f8; --ink:#33434e; --muted:#71818d; --accent:#167f81; --accent-dark:#12696b; --navy:#192342; --line:#e3eaed; --radius:10px; }
body { background:var(--workspace); color:var(--ink); font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; font-size:14px; }
h1,h2,h3,h4 { color:#263845; letter-spacing:-.02em; }
h1 { font-size:28px; } h2 { font-size:24px; } h3 { font-size:17px; } h4 { font-size:15px; margin:0; }
button,.upload-btn { background:var(--accent); color:white; border-radius:7px; min-height:38px; font-weight:600; font-size:13px; transition:background .15s,border-color .15s; }
button:hover:not(:disabled),.upload-btn:hover { background:var(--accent-dark); }
button:focus-visible,a:focus-visible,summary:focus-visible { outline:3px solid #73c7c5; outline-offset:3px; }
button.ghost { background:white; color:var(--ink); border:1px solid var(--line); }
button.ghost:hover:not(:disabled) { background:#edf7f7; border-color:#91c9c8; }
button:disabled { cursor:default; opacity:.55; }
input,select,textarea { min-height:40px; border-color:#dce5e9; border-radius:7px; color:var(--ink); font-size:13px; }
input:focus,select:focus,textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px #167f8112; }
label,.label { color:#657681; font-size:12px; line-height:1.6; }
.card,.login-card { border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 2px 8px #24374703; }
.card { padding:24px; }
.intro { background:var(--navy); border-radius:14px; padding:48px; }
.intro h2 { color:white; font-size:40px; line-height:1.35; }
.intro .login-kicker { margin:0 0 20px; font-size:11px; font-weight:700; letter-spacing:.16em; color:#8dcecd; }
.intro p { color:#d3dce7; font-size:15px; }
.rules span { border-radius:7px; font-size:13px; }
.contact-line,.contact-line a { color:var(--accent); }
.login-layout { margin-top:16px; }
.signed-in .shell { width:100%; margin:0; padding:0; }
.signed-in .topbar { display:none; }
#appView { display:grid; grid-template-columns:232px minmax(0,1fr); min-height:100vh; }
.dashboard-sidebar { position:fixed; inset:0 auto 0 0; z-index:30; width:232px; display:flex; flex-direction:column; padding:28px 16px 18px; background:var(--navy); color:#d8e1f2; }
.dashboard-brand { display:flex; align-items:center; gap:12px; padding:0 9px 24px; color:#fff; text-decoration:none; font-size:18px; font-weight:650; letter-spacing:.02em; }
.brand-mark { display:grid; place-items:center; width:36px; height:42px; color:#96dbd7; font-size:23px; border:1px solid #95bdc266; border-radius:8px 8px 3px 3px; font-weight:500; }
.dashboard-brand small { display:block; margin-top:5px; color:#889bb9; font-size:10px; font-weight:400; letter-spacing:.07em; }
.sidebar-caption { padding:0 12px; color:#7e92b2; font-size:10px; letter-spacing:.14em; }
.admin-nav { position:static; display:flex; flex-direction:column; flex-wrap:nowrap; flex:1; gap:16px; margin:17px 0; padding:0 3px; border:0; border-radius:0; background:none; box-shadow:none; backdrop-filter:none; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#566483 transparent; }
.nav-group summary { position:relative; display:block; padding:0 12px 8px; border-radius:0; font-size:10px; font-weight:500; letter-spacing:.1em; color:#899cb9; cursor:pointer; list-style:none; }
.nav-group summary::-webkit-details-marker { display:none; }
.nav-group summary::after { content:'⌄'; position:absolute; right:12px; font-size:13px; }
.nav-group:not([open]) summary::after { content:'›'; }
.nav-group[open] summary { color:#91a7c3; background:none; }
.nav-group-items { position:static; width:100%; display:flex; gap:3px; padding:0; border:0; border-radius:0; background:none; box-shadow:none; }
.admin-nav button { justify-content:flex-start; gap:11px; width:100%; padding:0 12px; min-height:38px; border:1px solid transparent; border-radius:6px; background:none; color:#c9d3e5; text-align:left; font-size:13px; font-weight:450; }
.admin-nav button:hover:not(:disabled) { background:#ffffff0b; color:white; }
.admin-nav button.active { border-color:#517d8833; color:white; background:#416b7b; box-shadow:inset 3px 0 #91dad3; }
.ui-icon { width:19px; height:19px; flex:0 0 19px; }
.sidebar-footer { padding:14px 12px 0; border-top:1px solid #8a9fb526; }
.sidebar-status { display:block; color:#9cb6c7; font-size:10px; margin-bottom:15px; }
.sidebar-status::before { content:''; display:inline-block; width:5px; height:5px; border-radius:50%; margin-right:7px; background:#82c4b7; }
.sidebar-footer p { color:#8194b2; font-size:10px; }
.sidebar-footer a { display:inline-block; margin-top:5px; font-size:13px; text-decoration:none; color:#d1dfed; }
.dashboard-main { grid-column:2; min-width:0; }
.dashboard-topbar { display:flex; justify-content:space-between; align-items:center; min-height:68px; gap:16px; padding:14px 30px; border-bottom:1px solid var(--line); background:white; }
.dashboard-breadcrumb { color:#84919d; font-size:12px; display:flex; align-items:center; gap:12px; }
.dashboard-breadcrumb strong { color:var(--ink); font-weight:550; }
.dashboard-breadcrumb span span { margin:0 10px; color:#c0cbd0; }
.dashboard-toolbar { display:flex; gap:10px; align-items:center; }
#dashboardDate { font-size:12px; color:var(--muted); margin-right:8px; }
.mobile-menu-button { display:none; }
.identity.card { margin:18px 30px 0; padding:12px 18px; grid-template-columns:.7fr 1fr 1.3fr 1.1fr; gap:14px; align-items:center; background:#edf2f4; border:0; }
.identity .label { margin:0; color:#82909a; font-size:10px; }
.identity strong { margin:3px 0 0; font-size:12px; font-weight:550; line-height:1.6; overflow-wrap:anywhere; }
.identity-switch { font-size:10px; color:#82909a; }
.identity-switch select { font-size:11px; min-height:32px; margin-top:3px; margin-bottom:0; background:#ffffffaa; }
.workspace { display:block; margin:0 auto; padding:26px 30px 50px; max-width:1700px; min-width:0; }
.workspace .menu-section { min-width:0; scroll-margin-top:24px; }
.section-head { align-items:center; margin-bottom:18px; }
.section-head h3 { margin-top:0; }
.section-head p { color:var(--muted); font-size:12px; line-height:1.75; max-width:940px; }
.page-kicker { font-size:10px; letter-spacing:.13em; color:#7a969c; font-weight:650; margin-bottom:8px; }
.overview-heading { margin-bottom:22px; }
.overview-heading h2 { font-size:27px; }
.metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0 0 22px; }
.metric { min-height:87px; padding:15px 18px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; box-shadow:none; position:relative; }
.metric b { color:#263e4e; font-size:27px; line-height:1.2; font-weight:600; font-variant-numeric:tabular-nums; }
.metric span { margin-top:6px; color:var(--muted); font-size:11px; }
button.metric:hover:not(:disabled) { background:white; box-shadow:none; border-color:#83bbbd; }
.dashboard-surface { padding:23px; border:1px solid var(--line); border-radius:var(--radius); background:white; margin-bottom:20px; min-width:0; }
.dashboard-sites { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.site-card { display:flex; gap:16px; padding:20px 16px; border:1px solid #e7ecef; border-radius:7px; min-width:0; }
.site-illustration { display:flex; align-items:center; flex:0 0 44px; color:#6b9a9d; }
.site-illustration svg { width:44px; height:52px; stroke-width:.7; }
.site-card > div { min-width:0; }
.site-card h4 { font-size:13px; margin:0 0 7px; font-weight:600; }
.site-card p { color:#7b8c99; font-size:11px; line-height:1.6; }
.site-card small { display:block; font-size:10px; color:#92a0aa; line-height:1.6; overflow-wrap:anywhere; margin-top:4px; }
.site-card .site-numbers { margin-top:8px; color:#718590; }
button.site-link { display:inline-flex; justify-content:flex-start; min-height:25px; padding:0; margin-top:7px; border:0; background:none; color:var(--accent); font-size:11px; font-weight:500; }
button.site-link:hover:not(:disabled) { background:none; color:var(--accent-dark); text-decoration:underline; }
.site-link span { margin-left:12px; }
.site-search { display:flex; align-items:center; gap:9px; margin:0; white-space:nowrap; color:#8a9ba5; font-size:11px; }
.site-search input { margin:0; width:190px; min-height:34px; background:#fafcfc; }
.dashboard-overview-grid { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:20px; }
.attention-surface { padding:24px 20px; }
.muted { color:var(--muted); font-size:12px; line-height:1.7; }
.attention-surface > .muted { margin-top:7px; font-size:11px; }
#dashboardAttention { margin-top:24px; }
.attention-row { width:100%; display:flex; gap:13px; min-height:54px; border-radius:0; border-bottom:1px solid #edf1f3; padding:7px 0; background:none; color:#627784; font-weight:400; justify-content:flex-start; }
.attention-row strong { margin-left:auto; color:var(--ink); font-size:20px; font-weight:550; }
.attention-row span:last-child { color:#9aacb5; }
.attention-row:hover:not(:disabled) { background:#f6fbfb; }
.attention-urgent strong { color:#c65d52; }
.attention-footnote { margin-top:26px; padding:13px; background:#f4f7f8; border-radius:6px; color:#8a9ca5; font-size:10px; line-height:1.8; }
.work-queue { min-width:0; }
.table-scroll { overflow-x:auto; }
.work-table { width:100%; border-collapse:separate; border-spacing:0; text-align:left; font-size:12px; }
.work-table th { padding:14px 12px; color:#6d7f8a; font-weight:500; font-size:11px; white-space:nowrap; border-bottom:1px solid var(--line); }
.work-table td { padding:16px 12px; border-bottom:1px solid #edf1f3; vertical-align:middle; line-height:1.65; }
.work-table td:first-child { min-width:180px; max-width:310px; }
.work-table strong { display:block; font-weight:550; color:#334955; font-size:13px; }
.work-table small { display:block; color:#82939e; font-size:11px; margin-top:4px; }
.work-table tr.selected td { background:#edf5f6; }
.work-table tr:hover td { background:#f5f9fa; }
.row-detail-button { min-height:30px; padding:0 7px; color:var(--accent); background:none; font-size:11px; white-space:nowrap; }
.row-detail-button:hover:not(:disabled) { background:#e6f4f4; }
.row-detail-button span { margin-left:6px; }
.priority-badge { display:inline-flex; border-radius:3px; padding:2px 6px; background:#f8f5df; color:#8c8054; font-size:10px; white-space:nowrap; }
.priority-high { background:#fbeddc; color:#a17143; }
.status-pill { min-height:23px; border-radius:4px; padding:1px 7px; background:#eaf2fb; color:#678cac; font-weight:500; font-size:10px; white-space:nowrap; }
.status-accepted { background:#ebf4f3; color:#568983; }
.status-processing { background:#e8f4f5; color:#438387; }
.status-completed { background:#f7f1e3; color:#9a7f42; }
.status-done { background:#eaf4ec; color:#578269; }
.status-closed { background:#f0f2f5; color:#89949f; }
.work-table .overdue-label { color:#bf5e55; }
.danger-pill { border-radius:4px; min-height:23px; font-size:10px; font-weight:500; }
.queue-footnote { padding:12px; font-size:10px; color:#99a6af; }
.dashboard-empty { display:grid; justify-items:center; gap:10px; padding:40px 18px; color:#8397a3; font-size:13px; line-height:1.8; text-align:center; }
.dashboard-empty span { display:block; color:#a1aeb5; font-size:11px; }
.dashboard-empty svg { width:27px; height:27px; color:#aabcc4; }
.dashboard-notices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.notice-summary { display:flex; align-items:flex-start; gap:12px; min-width:0; }
.notice-icon { padding:7px; border-radius:7px; color:#719798; background:#f0f6f6; }
.notice-summary > div { min-width:0; }
.notice-summary h4 { font-size:12px; font-weight:550; }
.notice-summary p { color:#86979f; font-size:11px; line-height:1.7; margin:6px 0; overflow-wrap:anywhere; }
.notice-summary small { color:#a0adb5; font-size:10px; }
.notice-summary > .status-pill { margin-left:auto; }
.work-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:20px; margin-top:20px; align-items:start; }
.work-detail-pane { min-width:0; }
.work-detail-pane .ops-card { margin:0; padding:22px; background:#fff; border-color:#dfe7eb; border-radius:8px; box-shadow:0 3px 12px #1a394809; }
.work-detail-pane .ops-card-head { display:block; }
.work-detail-pane .ops-card h3 { font-size:19px; margin:14px 0 12px; }
.work-detail-pane .ops-card h4 { margin:22px 0 9px; font-size:12px; }
.work-detail-pane .ops-card p { font-size:12px; }
.work-detail-meta { margin:14px 0 0; border:1px solid #e8edef; border-radius:6px; padding:0 13px; }
.work-detail-meta div { padding:12px 0; border-bottom:1px solid #edf1f3; }
.work-detail-meta div:last-child { border:0; }
.work-detail-meta dt { margin:0 0 5px; color:#8a9aa4; font-size:10px; }
.work-detail-meta dd { margin:0; font-size:12px; line-height:1.8; color:#435a68; overflow-wrap:anywhere; }
.work-description { white-space:pre-wrap; color:#71828c; }
.work-detail-pane .inline-action.work-action { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:18px 0; border-top:1px solid #edf1f3; }
.work-detail-pane .work-action h4,.work-action .full { grid-column:1 / -1; margin:0 0 6px; }
.work-detail-pane .work-action label { margin:0; font-size:10px; }
.work-detail-pane .work-action input,.work-detail-pane .work-action select { margin-top:5px; min-width:0; min-height:35px; padding:0 8px; font-size:11px; }
.work-detail-pane .work-action button { padding:0 8px; font-size:11px; }
.work-detail-empty { padding:36px 22px; background:#f7f9fa; border:1px dashed #d6e2e6; border-radius:8px; color:#8fa1ac; line-height:1.9; font-size:12px; }
.work-status-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; border-bottom:1px solid var(--line); padding-bottom:0; }
.work-status-tabs button { min-height:38px; padding:0 12px 12px; background:none; border-radius:0; color:#8a9ba5; font-size:11px; border-bottom:2px solid transparent; }
.work-status-tabs button:hover:not(:disabled) { background:none; color:var(--accent); }
.work-status-tabs button.active { color:var(--accent); border-color:var(--accent); }
.filter-bar { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:14px; border:1px solid var(--line); border-radius:7px; background:#f8fafb; }
.filter-bar > input { flex:1 1 210px; width:auto; }
.filter-bar > select { flex:0 1 150px; width:auto; }
.filter-bar > label { margin:0; }
.filter-bar input,.filter-bar select { margin:0; }
.filter-bar button { align-self:center; }
.ops-grid,.vote-admin-grid { gap:20px; }
.ops-card,.vote-card,.role-guide-item,.import-card { border-color:var(--line); border-radius:8px; }
.ops-card.is-overdue { border-color:#f0cfc7; background:white; }
.ops-card p { font-size:12px; color:#798c97; }
.ops-card h3 { font-size:16px; }
.edit-form,.vote-form { border-radius:8px; background:#f8fafb; border-color:var(--line); padding:20px; margin-top:16px; }
.todo-card { min-height:90px; background:white; border-color:var(--line); box-shadow:none; }
.todo-card b { font-size:25px; color:var(--accent); font-weight:550; }
.todo-card span { font-size:11px; }
.role-current { background:#edf7f7; color:var(--accent-dark); border-color:var(--accent); }
.mini-row { background:#f6f9fa; color:var(--ink); text-align:left; border:1px solid #eaf0f2; }
.mini-row:hover:not(:disabled) { background:#edf6f6; }
.mini-row span { font-size:11px; }
.directory-pager { justify-content:flex-end; font-size:11px; }
.directory-pager span { margin-right:auto; color:#8b9da7; }
.directory-pager button { min-height:32px; font-size:11px; }
.directory-actions button { min-height:33px; font-size:11px; }
#organizationCompanies,#organizationCommunities,#directoryCompanyAdmins,#directoryCommunityAdmins { display:block;margin-top:20px;min-width:0; }
#accountPanel .ops-grid,.vote-admin-grid { grid-template-columns:minmax(0,1fr); }
#todoLatest { grid-template-columns:minmax(0,1fr); }
#todoLatest .management-table { min-width:600px; }
.ops-list,.vote-list,#ledgerList,#notices { display:block;min-width:0; }
.management-table { min-width:800px; }
.management-table td { padding:12px;overflow-wrap:anywhere; }
.management-table td:last-child { min-width:210px;max-width:380px; }
.management-table td:first-child { min-width:160px;max-width:290px; }
.management-table .directory-actions { gap:5px;margin:8px 0 0; }
.management-table .inline-action { display:flex;flex-wrap:wrap;gap:6px;border:0;padding:0;margin:0;max-width:340px; }
.management-table .inline-action label { flex:1 1 130px;min-width:0; }
.management-table input,.management-table select { margin:4px 0 0; }
.management-table button { min-height:32px;font-size:11px;padding:0 10px; }
.list-details { margin:0 0 8px;max-width:380px; }
.list-details > summary { cursor:pointer;color:var(--accent);font-size:12px;padding:6px 0; }
.list-detail-content { margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:6px;background:#f8fafb;overflow-wrap:anywhere; }
.list-detail-content p { margin:6px 0;font-size:12px; }
.list-text { white-space:pre-wrap; }
.list-detail-content .voucher-image { max-width:100%;max-height:240px;object-fit:contain; }
.application-detail { min-width:230px; }
.application-detail .application-files,.application-detail .application-actions { display:flex;flex-wrap:wrap;gap:6px; }
.application-detail button { height:auto;padding:7px 10px;overflow-wrap:anywhere;white-space:normal;text-align:left; }
.list-compose { border:1px solid var(--line);border-radius:7px;margin:0 0 18px;background:#f8fafb; }
.list-compose > summary { cursor:pointer;padding:12px 16px;color:var(--accent);font-size:13px;font-weight:550; }
.list-compose > form { margin:0;border:0;border-top:1px solid var(--line); }
.list-toolbar p small { display:block;margin-top:4px;color:var(--muted);font-size:10px; }
.table-scroll { min-width:0;max-width:100%; }
#ownerPanel .ops-grid,#shopPanel .ops-grid { grid-template-columns:1fr; }
.list-toolbar { display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 8px; }
.list-toolbar p { font-size:12px;color:var(--muted); }
.list-toolbar label { display:flex;align-items:center;gap:10px;white-space:nowrap; }
.list-toolbar select { width:95px;margin:0;min-height:34px; }
.owner-table { min-width:830px; }
.shop-table { min-width:900px; }
.shop-table td { padding:12px; }
.bulk-toolbar { display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 16px;padding:12px;background:#f8fafb;border:1px solid var(--line);border-radius:6px;font-size:12px; }
.row-select input[type="checkbox"] { width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--accent); }
.row-select label { display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px; }
.owner-batch-dialog { width:min(680px,calc(100% - 32px));max-height:90vh;overflow:auto; }
.batch-records { max-height:240px;overflow:auto;margin:16px 0;background:#f8fafb;border:1px solid var(--line);border-radius:6px;padding:8px 16px; }
.batch-records ul { list-style:none;margin:0;padding:0; }
.batch-records li { padding:10px 0;border-bottom:1px solid var(--line);font-size:12px; }
.batch-records small { display:block;color:var(--muted);margin-top:4px; }
#ownerBatchSubmit { background:#a3534d; }
.owner-table td { padding:12px; }
.owner-table td:first-child { min-width:150px; }
.owner-table .directory-actions { flex-wrap:nowrap;gap:4px; }
.owner-table .owner-delete { color:#a76158; }
.owner-table .owner-tag { color:#ad7660; }
#ownerEditForm { margin-top:18px; }
#organizationPanel > .section-head:not(:first-child),#directoryCompanyMembers > .section-head,#directoryCommunityMembers > .section-head { margin-top:26px; }
#directorySearch { grid-template-columns:minmax(0,1fr) 150px auto; align-items:end; }
#directorySearch button { margin-bottom:18px; }
.work-confirm-dialog { width:min(540px,calc(100% - 32px)); border:1px solid var(--line); border-radius:12px; padding:28px; color:var(--ink); box-shadow:0 30px 100px #112b3d33; }
.work-confirm-dialog::backdrop { background:#0b1d34a8; }
.work-confirm-dialog h2 { font-size:22px; margin-bottom:12px; }
.work-confirm-dialog .form-actions { margin-top:22px; justify-content:flex-end; }
.work-confirm-dialog .work-detail-meta { max-height:50vh; overflow:auto; }
.toast { z-index:100; font-size:12px; font-weight:500; border:1px solid var(--line); max-width:min(420px,calc(100% - 32px)); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (min-width:1700px) { .work-layout { grid-template-columns:minmax(0,1fr) 400px; } }
@media (max-width:1250px) { .dashboard-overview-grid { grid-template-columns:minmax(0,1fr) 235px; gap:14px; } .dashboard-surface { padding:18px; } .site-card { gap:10px; padding:16px 12px; } .site-illustration { flex-basis:30px; } .site-illustration svg { width:30px; } .dashboard-notices { grid-template-columns:1fr; } }
@media (max-width:1100px) { .work-layout { grid-template-columns:1fr; } .work-detail-pane { max-width:700px; width:100%; } .dashboard-overview-grid { grid-template-columns:1fr; } .dashboard-sites { grid-template-columns:1fr; } .site-card { padding:16px 20px; } .site-illustration { flex-basis:40px; } .site-illustration svg { width:40px; } .site-search { white-space:normal; } .identity.card { grid-template-columns:1fr 1fr; } }
@media (max-width:800px) {
  #appView { display:block; }
  .dashboard-sidebar { transform:translateX(-100%); transition:transform .2s; }
  .sidebar-open .dashboard-sidebar { transform:translateX(0); }
  .sidebar-backdrop { position:fixed; inset:0; width:100%; height:100%; z-index:25; border:0; border-radius:0; background:#15233777; }
  .mobile-menu-button { display:inline-flex; padding:0 10px; min-height:32px; }
  .dashboard-topbar { gap:8px; padding:12px 16px; flex-wrap:wrap; }
  .dashboard-breadcrumb { gap:8px; }
  .dashboard-breadcrumb > span { font-size:11px; }
  .dashboard-toolbar { gap:6px; margin-left:auto; flex-wrap:wrap; justify-content:flex-end; }
  .dashboard-toolbar button { padding:0 9px; min-height:32px; font-size:10px; }
  #dashboardDate { display:none; }
  .identity.card { margin:14px 16px 0; padding:12px 14px; gap:12px; }
  .identity strong { font-size:11px; }
  .workspace { padding:22px 16px 40px; }
  .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .metric { min-height:78px; padding:14px; }
  .metric b { font-size:24px; }
  .section-head { flex-direction:column; align-items:stretch; gap:14px; }
  .section-head button { align-self:flex-start; }
  .overview-heading h2 { font-size:25px; }
  .dashboard-surface,.card { padding:20px; }
  .site-search input { width:100%; }
  .site-search { display:grid; grid-template-columns:1fr; gap:4px; }
  .filter-bar > input,.filter-bar > select { flex:1 1 100%; width:100%; }
  .list-toolbar { align-items:flex-start;flex-direction:column;gap:4px; }
  .bulk-toolbar { flex-direction:column;align-items:flex-start; }
  .work-table { min-width:540px; }
  .management-table { min-width:800px; }
  .table-scroll { max-width:100%; }
  .dashboard-surface .work-table { min-width:530px; }
  .work-layout { gap:16px; }
  .work-detail-pane .ops-card { padding:20px; }
  .work-status-tabs { gap:3px; }
  .work-status-tabs button { font-size:10px; padding:0 8px 10px; }
  #organizationCompanies,#organizationCommunities,#directoryCompanyAdmins,#directoryCommunityAdmins,#directoryOwners { grid-template-columns:1fr; }
  #directorySearch { grid-template-columns:1fr; }
  #directorySearch button { margin:0; }
  .edit-form,.vote-form { padding:15px; }
  .dashboard-breadcrumb > span { max-width:160px; }
  .dashboard-breadcrumb > span > span { margin:0 3px; }
}
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto !important; transition:none !important; } }
