Files
halo-ops-audit/demo/assets/demo.css
T
836061373 afda8d04fd feat(demo): 按插件当前实现重写演示页
- 列表/筛选对齐真实 Console:八维筛选、语义动作中文描述、登录失败结果语义
- 详情抽屉展示字段级 diff(脱敏/截断/封顶)与 AuditLog Extension 原始 JSON
- 新增行内「历史」快捷、按筛选条件导出 UTF-8 BOM CSV
- 设置页覆盖审计开关/字段变更/系统变更/保留期与登录失败告警(含测试与模拟触发)
- 模拟器支持 HTTP 捕获管线与系统内部变更两条通道
- 核心纯函数重写并扩充至 56 个单元用例
2026-11-23 00:05:12 +08:00

967 lines
21 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* =========================================================
* 操作审计 Console UI Demo · 样式
* 视觉基调取自 Halo Console(@halo-dev/components):
* primary #4ccba0 / secondary #0e1731 / danger #d71d1d
* ========================================================= */
:root {
--primary: #4ccba0;
--primary-dark: #2ea27f;
--primary-tint: rgba(76, 203, 160, 0.12);
--secondary: #0e1731;
--danger: #d71d1d;
--danger-tint: rgba(215, 29, 29, 0.08);
--warn: #b45309;
--warn-tint: rgba(217, 119, 6, 0.1);
--info: #2563eb;
--info-tint: rgba(37, 99, 235, 0.1);
--purple: #7c3aed;
--purple-tint: rgba(124, 58, 237, 0.1);
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-400: #9ca3af;
--gray-500: #6b7280;
--gray-700: #374151;
--gray-900: #111827;
--radius: 8px;
--shadow: 0 1px 3px rgba(14, 23, 49, 0.06), 0 1px 2px rgba(14, 23, 49, 0.04);
--shadow-lg: 0 10px 30px rgba(14, 23, 49, 0.18);
}
* { box-sizing: border-box; }
/* hidden 属性优先于组件的 display 声明(如 .alert-banner{display:flex}) */
[hidden] { display: none !important; }
html { height: 100%; }
body {
margin: 0;
min-height: 100vh;
display: flex;
min-width: 1100px;
font-size: 14px;
color: var(--gray-900);
background: var(--gray-100);
font-family: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}
/* ============ 左侧导航 ============ */
.sidebar {
width: 232px;
flex-shrink: 0;
display: flex;
flex-direction: column;
background: #fff;
border-right: 1px solid var(--gray-200);
position: sticky;
top: 0;
height: 100vh;
}
.logo-row {
display: flex;
align-items: center;
gap: 8px;
padding: 14px 16px;
height: 56px;
border-bottom: 1px solid var(--gray-100);
}
.logo-mark { width: 26px; height: 26px; }
.logo-text {
font-size: 18px;
font-weight: 700;
letter-spacing: 0.5px;
}
.demo-badge {
font-size: 10px;
font-weight: 600;
color: var(--primary-dark);
background: var(--primary-tint);
border-radius: 999px;
padding: 2px 8px;
margin-left: auto;
}
.nav-scroll { flex: 1; overflow-y: auto; padding: 8px; }
.nav-group {
font-size: 11px;
color: var(--gray-400);
padding: 14px 12px 4px;
font-weight: 600;
letter-spacing: 1px;
}
.nav-item {
display: flex;
align-items: center;
gap: 10px;
height: 38px;
padding: 0 12px;
margin: 1px 0;
border-radius: 6px;
color: var(--gray-700);
text-decoration: none;
font-weight: 500;
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
.nav-item svg {
width: 17px;
height: 17px;
fill: none;
stroke: currentColor;
stroke-width: 1.7;
stroke-linecap: round;
stroke-linejoin: round;
flex-shrink: 0;
}
.nav-item:hover { background: var(--gray-100); }
.nav-item.active {
background: var(--primary-tint);
color: var(--primary-dark);
font-weight: 600;
}
.sidebar-footer {
border-top: 1px solid var(--gray-100);
padding: 10px 12px;
}
.user-chip { display: flex; align-items: center; gap: 10px; }
.user-meta { display: flex; flex-direction: column; line-height: 1.3; }
.user-meta b { font-size: 13px; }
.user-meta small { font-size: 11px; color: var(--gray-500); }
/* ============ 主内容区 ============ */
.main {
flex: 1;
min-width: 0;
padding: 24px 28px 40px;
}
.page-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
}
.page-header h1 {
margin: 0;
font-size: 20px;
font-weight: 700;
}
.page-sub {
margin: 4px 0 0;
color: var(--gray-500);
font-size: 13px;
}
.readonly-hint { color: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tabs {
display: flex;
gap: 4px;
margin: 18px 0 14px;
border-bottom: 1px solid var(--gray-200);
}
.tab {
appearance: none;
border: none;
background: none;
padding: 8px 14px;
font-size: 14px;
font-weight: 500;
color: var(--gray-500);
cursor: pointer;
border-bottom: 2px solid transparent;
margin-bottom: -1px;
}
.tab:hover { color: var(--gray-900); }
.tab.active {
color: var(--primary-dark);
border-bottom-color: var(--primary);
font-weight: 600;
}
/* ============ 卡片 / 通用 ============ */
.card {
background: #fff;
border: 1px solid var(--gray-200);
border-radius: var(--radius);
box-shadow: var(--shadow);
}
.card-title {
font-size: 15px;
font-weight: 600;
padding: 14px 18px 0;
}
.card-sub {
font-size: 12.5px;
color: var(--gray-500);
line-height: 1.6;
padding: 6px 18px 0;
}
.btn {
appearance: none;
border: none;
border-radius: 6px;
padding: 8px 16px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
transition: filter 0.15s, background 0.15s;
white-space: nowrap;
}
.btn svg {
width: 14px;
height: 14px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(0.94); }
.btn-outline {
background: #fff;
color: var(--gray-700);
border: 1px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn-link {
appearance: none;
border: none;
background: none;
color: var(--primary-dark);
font-size: 13px;
cursor: pointer;
padding: 6px 4px;
}
.btn-link:hover { text-decoration: underline; }
.icon-btn {
appearance: none;
border: none;
background: none;
width: 28px;
height: 28px;
border-radius: 6px;
font-size: 16px;
color: var(--gray-500);
cursor: pointer;
line-height: 1;
}
.icon-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.icon-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.input {
border: 1px solid var(--gray-300);
border-radius: 6px;
padding: 7px 10px;
font-size: 13px;
font-family: inherit;
outline: none;
transition: border-color 0.15s, box-shadow 0.15s;
background: #fff;
}
.input:focus,
select:focus,
textarea:focus {
border-color: var(--primary);
box-shadow: 0 0 0 2px var(--primary-tint);
}
select, .input, textarea { min-width: 0; }
select {
appearance: none;
border: 1px solid var(--gray-300);
border-radius: 6px;
padding: 7px 28px 7px 10px;
font-size: 13px;
font-family: inherit;
background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
outline: none;
cursor: pointer;
}
textarea {
border: 1px solid var(--gray-300);
border-radius: 6px;
padding: 8px 10px;
font-family: ui-monospace, Consolas, monospace;
font-size: 12px;
line-height: 1.55;
resize: vertical;
width: 100%;
}
.hint { font-size: 12px; color: var(--gray-400); }
.muted { color: var(--gray-400); font-size: 12px; }
.mono { font-family: ui-monospace, Consolas, monospace; }
.break-all { word-break: break-all; }
/* ============ 横幅 ============ */
.banner {
border-radius: var(--radius);
padding: 10px 14px;
font-size: 13px;
margin-bottom: 14px;
line-height: 1.55;
}
.banner-warn { background: var(--warn-tint); color: var(--warn); border: 1px solid rgba(217, 119, 6, 0.25); }
.banner-danger { background: var(--danger-tint); color: var(--danger); border: 1px solid rgba(215, 29, 29, 0.25); }
.alert-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.alert-banner-body { flex: 1; }
.alert-banner-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.alert-banner-actions .btn-link { color: var(--danger); }
/* ============ 筛选栏 ============ */
.filter-card {
padding: 12px 16px;
margin-bottom: 14px;
}
.filter-grid {
display: grid;
grid-template-columns: repeat(8, minmax(0, 1fr)) auto;
gap: 10px 12px;
align-items: end;
}
.filter-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.filter-item > span { font-size: 11px; color: var(--gray-500); font-weight: 600; white-space: nowrap; }
.filter-item input,
.filter-item select { width: 100%; height: 32px; font-size: 12.5px; }
.filter-actions { display: flex; gap: 8px; }
.filter-note {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-top: 10px;
padding-top: 10px;
border-top: 1px dashed var(--gray-200);
font-size: 12px;
color: var(--gray-500);
}
/* ============ 列表 ============ */
.table-card { overflow: hidden; }
.audit-list-wrap { overflow-x: auto; }
.audit-table {
width: 100%;
min-width: 900px;
border-collapse: collapse;
table-layout: fixed;
}
.audit-table th {
text-align: left;
font-size: 12px;
font-weight: 600;
color: var(--gray-500);
padding: 10px 14px;
background: var(--gray-50);
border-bottom: 1px solid var(--gray-200);
white-space: nowrap;
}
.audit-table td {
padding: 9px 14px;
border-bottom: 1px solid var(--gray-100);
font-size: 13px;
vertical-align: middle;
overflow: hidden;
}
.audit-table tbody tr {
cursor: pointer;
transition: background 0.12s;
}
.audit-table tbody tr:hover { background: var(--gray-50); }
.audit-table tbody tr.selected td { background: var(--primary-tint); }
@keyframes rowFlash {
0% { background: var(--primary-tint); }
100% { background: transparent; }
}
tr.row-new td { animation: rowFlash 2.8s ease-out; }
.td-ip { color: var(--gray-500); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cell-user { display: flex; align-items: center; gap: 8px; min-width: 0; }
.user-lines { min-width: 0; }
.u-name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-time { font-size: 11.5px; color: var(--gray-400); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* 动作徽标 */
.method {
display: inline-block;
font-size: 11px;
font-weight: 700;
font-family: ui-monospace, Consolas, monospace;
padding: 2px 8px;
border-radius: 5px;
letter-spacing: 0.4px;
}
.m-post { background: var(--info-tint); color: var(--info); }
.m-put { background: var(--warn-tint); color: var(--warn); }
.m-delete { background: var(--danger-tint); color: var(--danger); }
.m-patch { background: var(--purple-tint); color: var(--purple); }
.m-get { background: var(--gray-100); color: var(--gray-500); }
/* 资源列 */
.res-line {
display: flex;
align-items: center;
gap: 6px;
overflow: hidden;
white-space: nowrap;
}
.rt {
display: inline-block;
font-size: 11px;
font-weight: 600;
color: var(--gray-700);
background: var(--gray-100);
border-radius: 4px;
padding: 2px 7px;
flex-shrink: 0;
}
.rn {
color: var(--gray-700);
font-size: 12.5px;
overflow: hidden;
text-overflow: ellipsis;
}
.history-link {
flex-shrink: 0;
font-size: 11.5px;
color: var(--primary-dark);
text-decoration: none;
cursor: pointer;
}
.history-link:hover { text-decoration: underline; }
.path-line {
margin-top: 2px;
font-family: ui-monospace, Consolas, monospace;
font-size: 11px;
color: var(--gray-400);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* 描述列 */
.action-desc {
display: inline-block;
max-width: 100%;
font-size: 12.5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: middle;
}
.changes-hint {
display: inline-block;
margin-left: 4px;
padding: 1px 5px;
border-radius: 4px;
font-size: 10.5px;
color: var(--warn);
background: var(--warn-tint);
vertical-align: middle;
}
/* 结果徽标 */
.status-badge {
display: inline-block;
padding: 2px 7px;
border-radius: 4px;
font-size: 11.5px;
font-weight: 600;
font-family: ui-monospace, Consolas, monospace;
}
.status-ok { color: #0f766e; background: rgba(76, 203, 160, 0.15); }
.status-fail { color: var(--danger); background: rgba(215, 29, 29, 0.12); }
/* 空状态 */
.empty-state {
text-align: center;
padding: 48px 0 40px;
color: var(--gray-500);
}
.empty-state .es-icon { font-size: 30px; margin-bottom: 8px; }
.empty-state p { margin: 4px 0; }
.empty-state .btn-link { padding: 4px 8px; }
/* 分页 */
.pagination {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 16px;
border-top: 1px solid var(--gray-200);
background: #fff;
}
.pg-info { font-size: 12.5px; color: var(--gray-500); }
.pg-right { display: flex; align-items: center; gap: 8px; }
.pg-right select { padding: 5px 24px 5px 8px; font-size: 12.5px; }
.pg-page { font-size: 12.5px; color: var(--gray-500); font-variant-numeric: tabular-nums; }
/* ============ 设置页 ============ */
#panel-settings .settings-card { max-width: 820px; }
.settings-card { margin-bottom: 16px; padding-bottom: 4px; }
.setting-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding: 16px 18px;
border-bottom: 1px solid var(--gray-100);
}
.setting-text { max-width: 620px; }
.s-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.s-desc { font-size: 12.5px; color: var(--gray-500); line-height: 1.55; }
.s-desc code {
background: var(--gray-100);
border-radius: 4px;
padding: 1px 5px;
font-size: 11.5px;
}
.input.num { width: 96px; text-align: center; flex-shrink: 0; }
.input.secret-input { width: 280px; flex-shrink: 0; }
.settings-actions {
display: flex;
align-items: center;
gap: 14px;
padding: 14px 18px 16px;
}
.clean-stats {
padding: 14px 18px;
font-size: 13px;
color: var(--gray-700);
line-height: 1.7;
}
.clean-stats .num-warn { color: var(--danger); font-weight: 600; }
.alert-preview {
margin: 0 18px 16px;
padding: 12px;
background: var(--secondary);
color: #d1fae5;
border-radius: 6px;
font-size: 11.5px;
line-height: 1.55;
overflow-x: auto;
}
/* 开关 */
.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
position: absolute;
inset: 0;
background: var(--gray-300);
border-radius: 999px;
transition: background 0.2s;
cursor: pointer;
}
.slider::before {
content: '';
position: absolute;
width: 16px;
height: 16px;
left: 3px;
top: 3px;
border-radius: 50%;
background: #fff;
transition: transform 0.2s;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider::before { transform: translateX(18px); }
/* ============ 头像 ============ */
.avatar {
width: 28px;
height: 28px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 700;
color: #fff;
flex-shrink: 0;
}
.avatar.sm { width: 24px; height: 24px; font-size: 11px; }
.c-a { background: #4ccba0; }
.c-b { background: #6366f1; }
.c-c { background: #f59e0b; }
.c-d { background: #ec4899; }
.c-e { background: #0ea5e9; }
/* ============ 详情抽屉 ============ */
.overlay {
position: fixed;
inset: 0;
background: rgba(14, 23, 49, 0.4);
z-index: 40;
}
.drawer {
position: fixed;
top: 0;
right: 0;
width: 480px;
max-width: 94vw;
height: 100vh;
background: #fff;
z-index: 50;
box-shadow: var(--shadow-lg);
overflow-y: auto;
padding: 20px 22px 28px;
}
@keyframes slideIn {
from { transform: translateX(60px); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
.drawer[hidden] { display: none; }
.drawer { animation: slideIn 0.25s ease-out; }
.drawer-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 14px;
}
.drawer-title { font-size: 16px; font-weight: 700; }
.drawer-sub {
font-size: 11.5px;
color: var(--gray-400);
margin-top: 3px;
font-family: ui-monospace, Consolas, monospace;
word-break: break-all;
}
.readonly-banner {
background: var(--primary-tint);
color: var(--primary-dark);
font-size: 12.5px;
border-radius: 6px;
padding: 9px 12px;
margin-bottom: 16px;
line-height: 1.5;
}
.detail-list { margin: 0; }
.detail-list .d-row {
display: flex;
gap: 12px;
padding: 8px 0;
border-bottom: 1px dashed var(--gray-200);
}
.detail-list dt {
flex: 0 0 5.5rem;
font-size: 12px;
color: var(--gray-500);
font-weight: 600;
padding-top: 1px;
}
.detail-list dd {
flex: 1;
margin: 0;
font-size: 12.5px;
word-break: break-all;
min-width: 0;
}
.path-code {
display: block;
font-family: ui-monospace, Consolas, 'Courier New', monospace;
font-size: 12px;
background: var(--gray-100);
border-radius: 5px;
padding: 7px 9px;
word-break: break-all;
line-height: 1.6;
}
.ua { font-size: 11.5px; color: var(--gray-500); line-height: 1.6; }
.changes { margin-top: 18px; }
.changes-title {
font-size: 13px;
font-weight: 600;
color: var(--gray-900);
margin: 0 0 6px;
}
.change-row {
display: flex;
gap: 10px;
padding: 8px 0;
border-bottom: 1px dashed var(--gray-200);
}
.change-badge {
flex: 0 0 auto;
align-self: flex-start;
margin-top: 1px;
padding: 1px 6px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
}
.change-added { color: #0f766e; background: rgba(76, 203, 160, 0.15); }
.change-updated { color: var(--warn); background: var(--warn-tint); }
.change-removed { color: var(--danger); background: var(--danger-tint); }
.change-body { flex: 1; min-width: 0; }
.change-field { font-size: 12px; color: var(--gray-900); word-break: break-all; }
.change-values {
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 5px;
margin-top: 2px;
font-size: 12px;
color: var(--gray-700);
}
.change-old { color: var(--danger); text-decoration: line-through; }
.change-arrow { color: var(--gray-400); flex-shrink: 0; }
.raw-json { margin-top: 18px; }
.raw-json summary {
font-size: 12.5px;
color: var(--gray-500);
cursor: pointer;
user-select: none;
}
.raw-json summary:hover { color: var(--gray-900); }
.raw-json pre {
background: var(--secondary);
color: #d1fae5;
font-size: 11px;
border-radius: 6px;
padding: 12px;
overflow-x: auto;
line-height: 1.6;
max-height: 320px;
}
/* ============ 模拟操作弹窗 ============ */
.modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 680px;
max-width: 94vw;
max-height: 90vh;
overflow-y: auto;
background: #fff;
border-radius: 10px;
z-index: 50;
box-shadow: var(--shadow-lg);
padding: 18px 22px 20px;
}
.modal[hidden] { display: none; }
@keyframes popIn {
from { transform: translate(-50%, -50%) scale(0.97); opacity: 0; }
to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.modal { animation: popIn 0.2s ease-out; }
.modal-head {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 16px;
font-weight: 700;
}
.modal-sub {
font-size: 12.5px;
color: var(--gray-500);
line-height: 1.6;
margin: 8px 0 12px;
}
.modal-sub code {
background: var(--gray-100);
border-radius: 4px;
padding: 1px 5px;
font-size: 11.5px;
}
.seg-tabs {
display: inline-flex;
background: var(--gray-100);
border-radius: 7px;
padding: 3px;
margin-bottom: 14px;
}
.seg-tab {
appearance: none;
border: none;
background: none;
padding: 6px 14px;
font-size: 12.5px;
font-weight: 500;
color: var(--gray-500);
border-radius: 5px;
cursor: pointer;
}
.seg-tab.active {
background: #fff;
color: var(--gray-900);
font-weight: 600;
box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; flex: 1; min-width: 0; }
.field label { font-size: 12px; color: var(--gray-500); font-weight: 600; }
.field select, .field .input { width: 100%; }
.field textarea { width: 100%; }
.field-row { display: flex; gap: 12px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
appearance: none;
border: 1px solid var(--gray-300);
background: #fff;
border-radius: 999px;
padding: 5px 12px;
font-size: 12px;
color: var(--gray-700);
cursor: pointer;
transition: all 0.15s;
}
.chip:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-tint); }
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 10px;
/* 弹窗内容超高时操作按钮始终可见 */
position: sticky;
bottom: -20px;
margin: 6px -22px -20px;
padding: 12px 22px 20px;
border-top: 1px solid var(--gray-100);
background: #fff;
}
/* ============ Toast ============ */
.toast {
position: fixed;
top: 22px;
left: 50%;
transform: translate(-50%, -8px);
background: var(--secondary);
color: #fff;
font-size: 13px;
padding: 10px 18px;
border-radius: 8px;
box-shadow: var(--shadow-lg);
opacity: 0;
pointer-events: none;
transition: opacity 0.25s, transform 0.25s;
z-index: 100;
max-width: 70vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: var(--primary-dark); }
.toast.warn { background: #92400e; }
/* ============ 响应式(演示页以桌面为主,窄屏保证可用) ============ */
@media (max-width: 1400px) {
.filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
body { min-width: 900px; }
.page-header { flex-direction: column; }
.header-actions { align-self: flex-end; }
}
@media (max-width: 760px) {
body { min-width: 0; }
.sidebar { display: none; }
.main { padding: 16px 14px 32px; }
.filter-grid { grid-template-columns: minmax(0, 1fr); }
.field-row { flex-direction: column; gap: 0; }
.modal { width: 94vw; }
}