:root { color: var(--ink); background: var(--bg); font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 14px; } * { box-sizing: border-box; } html, body, #app, .n-config-provider, .app-root { margin: 0; height: 100%; } body { background: var(--bg); } button, input, select { font: inherit; } ::selection { background: var(--accent-soft); } :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .shell { display: flex; height: 100%; min-height: 0; } .sider { width: 216px; flex: none; display: flex; flex-direction: column; background: var(--sidebar); border-right: 1px solid var(--line); } .brand { height: 56px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); font-weight: 650; } .nav { padding-top: 8px; } .nav button, .text-button { width: 100%; text-align: left; background: transparent; color: var(--muted); border: 0; padding: 10px 16px; cursor: pointer; } .nav button.on { color: var(--ink); box-shadow: inset 2px 0 0 var(--accent); } .sider-foot { margin-top: auto; padding: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; } .who { color: var(--muted); font-size: 12px; } .main { flex: 1; min-width: 0; display: flex; flex-direction: column; } .topbar { position: sticky; top: 0; z-index: 2; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: var(--bg); border-bottom: 1px solid var(--line); } .topbar h1 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 6px; } .content { padding: 16px; overflow: auto; } .panel { background: var(--panel); border: 1px solid var(--line); } .filters, .form-grid { display: grid; grid-template-columns: 112px minmax(0, 280px); gap: 8px 12px; align-items: center; } .gate-card.wide .form-grid { grid-template-columns: 112px minmax(0, 1fr); } .hint { width: 16px; height: 16px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 11px; line-height: 14px; text-align: center; cursor: default; } .app-root { height: 100%; } .gate { position: relative; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 32px 16px; overflow: auto; background: var(--bg); } .gate .theme-switch { position: absolute; top: 16px; right: 16px; } .sider-foot .theme-switch { position: static; align-self: flex-start; } .gate-card { width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 28px 28px 22px; } .gate-card.wide { width: min(560px, 100%); } .gate-submit.n-button { width: 100%; height: 40px; margin-top: 24px; font-weight: 600; letter-spacing: 0.12em; } .login-form { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px 16px; align-items: center; } .login-form .n-alert { grid-column: 1 / -1; } .login-field { min-width: 0; } .login-field .n-input { width: 100%; } .login-submit { grid-column: 2; display: flex; flex-direction: column; gap: 12px; min-width: 0; } .login-submit .n-button { width: 100%; height: 40px; } .login-submit .gate-submit.n-button { margin-top: 4px; } .gate-brand { display: flex; gap: 14px; align-items: center; justify-content: center; margin-bottom: 22px; } .gate-brand h1 { margin: 0; font-size: 20px; } .brand-mark { width: 36px; height: 36px; border-radius: 4px; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-weight: 650; } .captcha { height: 40px; cursor: pointer; } .row-actions { display: flex; gap: 8px; }