:root {
  color-scheme: light;
  --ground: #fafbfd;
  --surface: #fff;
  --sidebar: #edf5ff;
  --ink: #192a47;
  --muted: #586b87;
  --faint: #64748c;
  --primary: #426fae;
  --primary-hover: #315c9a;
  --sky: #edf3fb;
  --line: #dce6f3;
  --mint: #e9f5ef;
  --success: #267650;
  --warning: #97601b;
  --warning-bg: #fff5e7;
  --danger: #b03946;
  --radius: 14px;
  --shadow: 0 4px 14px rgb(0 0 0 / 4%);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-family: var(--font);
  font-size: 15px;
  font-synthesis: none;
  color: var(--ink);
  background: var(--ground);
}
* { box-sizing: border-box; }
html { scroll-padding-block: 24px 180px; }
body { margin: 0; min-width: 320px; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: var(--primary); text-underline-offset: 4px; }
button:disabled { cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #83a8da; outline-offset: 3px; }
::selection { color: #173768; background: #cee0f8; }
input, textarea { caret-color: var(--primary); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); width: 20px; height: 20px; flex: 0 0 auto; cursor: pointer; }
[hidden] { display: none !important; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip-link { position: fixed; top: -60px; left: 16px; background: var(--surface); padding: 12px; z-index: 20; }
.skip-link:focus { top: 10px; }
.sidebar { width: 230px; position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; flex-direction: column; background: var(--sidebar); border-right: 1px solid #d9e7fa; }
.brand { display: flex; gap: 11px; align-items: center; padding: 27px 23px 0; color: var(--ink); text-decoration: none; }
.whale-mark { width: 56px; height: 52px; stroke: #4b7cc3; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.brand strong { display: block; font-size: 24px; font-weight: 720; white-space: nowrap; letter-spacing: -.025em; }
.brand small { display: block; color: var(--muted); margin-top: 5px; font-size: 14px; letter-spacing: .12em; }
.navigation { display: grid; gap: 12px; margin: 39px 13px 0; position: relative; z-index: 1; }
.navigation button { display: flex; align-items: center; gap: 18px; min-height: 54px; padding: 12px 21px; border: 0; border-radius: 7px; background: transparent; text-align: left; font-weight: 550; font-size: 16px; }
.navigation button:hover { background: #e0ecfc; }
.navigation button.active { background: #d6e5fa; color: #2459a3; font-weight: 650; }
.navigation .icon { width: 25px; height: 25px; }
.sidebar-curves { position: absolute; bottom: 116px; left: 0; width: 229px; stroke: #dbeafa; stroke-width: 10px; fill: none; pointer-events: none; }
.connection { display: flex; align-items: center; gap: 12px; margin: auto 14px 28px; padding: 12px 15px; background: #f7fbff; border: 0; border-radius: 10px; text-align: left; }
.connection>span:nth-child(2) { flex: 1; }
.connection small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.connection strong { font-size: 12px; font-weight: 500; color: var(--warning); }
.connection strong.ready { color: var(--success); }
.connection>span:last-child .icon { width: 14px; }
main { margin-left: 230px; padding: 24px 29px 30px; }
.breadcrumb { display: flex; align-items: center; gap: 20px; color: var(--muted); height: 26px; font-size: 15px; }
#crumb { color: var(--ink); font-weight: 550; }
.local-label { display: inline-flex; padding: 4px 14px; border-radius: 7px; background: var(--sky); font-size: 13px; }
.page-header { margin: 22px 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h1 { font-size: 38px; line-height: 1.25; margin: 0; font-weight: 740; letter-spacing: -.025em; text-wrap: balance; }
.page-subtitle { font-size: 17px; color: var(--muted); margin: 6px 0 0; line-height: 1.6; }
.header-actions, .actions, .card-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 20px; border: 1px solid #8caad2; border-radius: 8px; background: #fff; color: #315f9d; font-weight: 600; white-space: nowrap; line-height: 1.5; text-decoration: none; transition: background 160ms ease-out, border-color 160ms ease-out; }
.btn:hover { background: #f0f5fd; border-color: #5d87c1; }
.btn.primary { background: var(--primary); color: #fff; border-color: transparent; }
.btn.primary:hover { background: var(--primary-hover); }
.btn:disabled { color: #69788f; background: #e7edf5; border-color: transparent; }
.btn.quiet { border-color: transparent; background: transparent; padding-inline: 10px; }
.btn.danger { color: var(--danger); border-color: #d9a6ae; }
.header-actions .btn { min-height: 55px; padding-inline: 23px; font-size: 16px; }
.toolbar { display: flex; align-items: center; gap: 18px; margin-bottom: 23px; min-height: 56px; }
.search-box { display: flex; align-items: center; gap: 12px; width: 35%; max-width: 445px; padding: 0 18px; min-height: 55px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--muted); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: none; padding: 14px 0; background: transparent; }
input::placeholder, textarea::placeholder { color: var(--faint); opacity: 1; }
.filter-tabs { display: flex; padding: 6px; background: var(--sky); border-radius: 9px; }
.filter-tabs button { min-height: 43px; padding: 8px 24px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
.filter-tabs button.active { background: var(--primary); color: #fff; }
.selection-tools { margin-left: auto; display: flex; gap: 19px; align-items: center; }
.select-all { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.selection-tools .btn { min-height: 55px; }
.character-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.character-card { min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); outline: 1px solid #e4ecf8; }
.character-card.selected { outline: 2px solid var(--primary); }
.portrait { aspect-ratio: 1.25; position: relative; background: var(--sky); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-selector { position: absolute; top: 13px; left: 12px; display: grid; place-items: center; width: 36px; height: 36px; background: #fff; border-radius: 7px; }
.portrait-selector input { margin: 0; width: 23px; height: 23px; }
.status { display: inline-flex; gap: 7px; align-items: center; background: #f7f9fc; color: var(--muted); font-size: 12px; font-weight: 550; padding: 6px 12px; border-radius: 20px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #a4adbd; }
.status.warning { background: var(--warning-bg); color: var(--warning); }
.status.warning::before { background: #d48b3b; }
.status.success { background: var(--mint); color: var(--success); }
.status.success::before { background: #418d63; }
.portrait .status { position: absolute; top: 15px; right: 14px; background: #fff; }
.character-body { padding: 17px 20px 18px; }
.character-body h2 { margin: 0 0 12px; font-size: 26px; font-weight: 720; line-height: 1.4; overflow-wrap: anywhere; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag { padding: 5px 12px; border-radius: 20px; background: var(--sky); font-size: 12px; font-weight: 550; }
.meta-row { display: flex; align-items: center; gap: 12px; margin: 13px 0; min-width: 0; }
.meta-row .icon { color: #667d9d; }
.meta-label { color: var(--muted); min-width: 33px; font-size: 14px; }
.meta-value { border-left: 1px solid var(--line); padding-left: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.card-actions { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; gap: 10px; flex-wrap: nowrap; }
.card-actions .btn { flex: 1; min-width: 0; padding: 10px 8px; font-size: 14px; }
.card-actions .icon { width: 19px; }
.add-card { display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; min-height: 405px; padding: 30px; border: 1px dashed #bacde7; background: transparent; color: var(--primary); border-radius: var(--radius); text-align: center; }
.add-card:hover { background: #f0f6ff; }
.add-symbol { display: grid; place-items: center; width: 55px; height: 55px; background: #e6effc; border-radius: 50%; }
.add-symbol .icon { width: 30px; height: 30px; }
.add-card strong { margin-top: 3px; font-size: 20px; }
.add-card p { margin: 3px 0 0; line-height: 1.8; color: var(--muted); }
.isolation-note { display: flex; align-items: center; gap: 18px; background: #eaf3ff; border-radius: 11px; padding: 17px 25px; margin-top: 21px; color: #395778; font-size: 14px; }
.isolation-note>.icon { width: 32px; height: 26px; }
.isolation-note .whale-mark { width: 43px; height: 35px; margin-left: auto; opacity: .4; }
.footnote { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 13px; margin: 14px 0 0; line-height: 1.6; }
.footnote .icon { width: 17px; height: 17px; }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 17px; background: var(--sky); border-radius: 9px; color: #496383; font-size: 13px; line-height: 1.7; }
.notice.warning { background: var(--warning-bg); color: #86591d; }
.notice .icon { width: 18px; margin-top: 1px; }
.deployment-notice { margin-top: 16px; }
.editor-layout { display: grid; grid-template-columns: minmax(230px, 32%) minmax(0, 1fr); gap: 16px; align-items: start; }
.identity-panel, .editor-panel, .form-panel, .readiness, .guide-panel { border: 1px solid #e1eafa; border-radius: var(--radius); background: #fff; }
.identity-panel { padding: 12px; }
.identity-panel>img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.identity-details { padding: 16px 13px 9px; }
.identity-details h2 { margin: 0 0 4px; font-size: 27px; overflow-wrap: anywhere; }
.identity-details>p { color: var(--muted); line-height: 1.7; margin: 4px 0 18px; }
.identity-details .meta-row { margin-block: 13px; }
.identity-actions { display: flex; gap: 5px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 17px; }
.identity-actions .btn { font-size: 13px; padding-inline: 8px; }
.editor-panel { padding: 0 23px 22px; min-width: 0; }
.editor-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.editor-tabs button { flex-shrink: 0; padding: 22px 9px 17px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); white-space: nowrap; font-weight: 600; }
.editor-tabs button.active { border-bottom-color: var(--primary); color: var(--primary); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 23px; min-width: 0; }
.field>span:first-child { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea, .auth-form input { width: 100%; min-width: 0; background: #fff; border: 1px solid #cbd9ec; border-radius: 8px; padding: 12px 14px; line-height: 1.7; }
.field input, .field select { min-height: 47px; }
.field textarea { resize: vertical; min-height: 128px; }
.field textarea.prompt { min-height: 225px; font-size: 14px; line-height: 1.9; }
.field textarea.code { min-height: 390px; font: 13px/1.8 ui-monospace, monospace; tab-size: 2; }
.field small { color: var(--muted); line-height: 1.65; font-size: 12px; font-weight: 400; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.switch-field { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.switch-field>span { font-weight: 550; }
.switch-field small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 5px; }
.switch-field input { width: 24px; height: 24px; }
.save-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 20px; background: #fff; border: 1px solid #e1eafa; border-radius: var(--radius); margin-top: 16px; position: sticky; bottom: 14px; z-index: 3; }
.save-bar p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
.save-bar .actions { flex-shrink: 0; }
.character-switcher { display: flex; gap: 15px; overflow-x: auto; margin-bottom: 20px; padding: 1px; }
.character-switcher button { display: flex; align-items: center; gap: 17px; min-width: 220px; min-height: 70px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-weight: 600; }
.character-switcher button.active { background: #eaf2fe; border-color: #7d9fcf; }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.model-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
.form-panel { padding: 23px; min-width: 0; }
.form-panel h2, .readiness h2 { font-size: 21px; margin: 0 0 24px; display: flex; align-items: center; gap: 16px; }
.form-panel .field { margin-bottom: 20px; }
.form-panel .field:last-child { margin-bottom: 0; }
.readiness { margin-top: 16px; padding: 19px 23px; }
.readiness h2 { margin-bottom: 14px; font-size: 18px; }
.readiness-list { display: flex; gap: 12px; flex-wrap: wrap; }
.check-item { display: flex; align-items: center; gap: 9px; padding: 10px 14px; background: var(--warning-bg); border-radius: 8px; color: var(--warning); font-size: 13px; flex: 1; min-width: 175px; }
.check-item.ok { color: var(--success); background: var(--mint); }
.check-item .icon { width: 19px; height: 19px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { color: var(--muted); background: #f1f6fc; font-size: 13px; font-weight: 550; }
th, td { padding: 20px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
td { font-variant-numeric: tabular-nums; font-size: 14px; }
.table-character { display: flex; align-items: center; gap: 12px; min-width: 155px; }
.table-character small { display: block; color: var(--muted); margin-top: 3px; }
td .actions { gap: 6px; flex-wrap: nowrap; }
td .btn { min-height: 38px; font-size: 12px; padding: 7px 12px; }
.runtime-toolbar { display: flex; gap: 12px; margin-bottom: 20px; }
.empty-state { padding: 52px 20px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.empty-state h2 { color: var(--ink); font-size: 21px; }
.loading-state { padding-top: 40px; color: var(--muted); }
.skeleton { background: #e6edf6; border-radius: 8px; }
.skeleton-title { height: 42px; width: 220px; margin-bottom: 22px; }
.skeleton-line { height: 24px; width: 360px; max-width: 80%; }
.guide-panel { padding: 26px 30px; max-width: 960px; line-height: 1.9; }
.guide-panel h2 { font-size: 22px; margin: 28px 0 10px; }
.guide-panel h2:first-child { margin-top: 0; }
.guide-panel p, .guide-panel li { color: var(--muted); max-width: 72ch; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 18px; background: var(--sky); border-radius: 9px; color: #315479; font: 13px/1.8 ui-monospace, monospace; }
.new-layout { display: grid; grid-template-columns: minmax(0, 660px) minmax(200px, 1fr); gap: 30px; max-width: 1000px; align-items: start; }
.new-layout>img { width: 100%; height: auto; border-radius: var(--radius); }
.auth-form { max-width: 520px; margin: 100px auto; background: #fff; border: 1px solid var(--line); padding: 32px; border-radius: var(--radius); }
.auth-form h1 { font-size: 27px; }
.auth-form p { color: var(--muted); line-height: 1.8; }
.auth-form .btn { width: 100%; margin-top: 18px; }
.form-error { color: var(--danger); font-size: 13px; line-height: 1.7; margin: 0 0 16px; }
.toast { position: fixed; left: calc(50% + 90px); bottom: 26px; transform: translateX(-50%); max-width: min(650px, 85vw); padding: 14px 22px; background: #233d61; color: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgb(20 40 70 / 15%); font-size: 14px; z-index: 20; }
.toast.error { background: #963849; }
.job-panel { position: fixed; right: 24px; bottom: 24px; width: 420px; max-width: calc(100vw - 36px); padding: 20px; border: 0; border-radius: var(--radius); background: #fff; z-index: 10; box-shadow: 0 12px 36px rgb(0 0 0 / 12%); }
.job-panel header { display: flex; align-items: center; justify-content: space-between; }
.job-panel p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.job-panel pre { max-height: 180px; overflow: auto; font-size: 11px; padding: 12px; }
.job-panel .btn { min-height: 32px; font-size: 12px; padding: 4px 9px; }
@media (min-width: 1800px) { main { max-width: 1870px; } }
@media (max-width: 1270px) {
  .sidebar { width: 208px; }
  .brand { padding-inline: 17px; gap: 7px; }
  .brand strong { font-size: 22px; }
  .whale-mark { width: 48px; }
  main { margin-left: 208px; padding-inline: 24px; }
  .toolbar { flex-wrap: wrap; gap: 12px; }
  .search-box { width: 50%; }
  .selection-tools { width: 100%; justify-content: space-between; }
  .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .add-card { min-height: 160px; grid-column: 1 / -1; }
  .add-card p { margin: 0; }
  .add-symbol { width: 40px; height: 40px; }
  .editor-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .editor-tabs { gap: 6px; }
  .field-grid { gap: 14px; }
  .model-layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  h1 { font-size: 31px; }
  .header-actions .btn { font-size: 14px; padding-inline: 15px; min-height: 46px; }
  .page-header { align-items: flex-start; }
  .page-subtitle { font-size: 15px; }
  .editor-layout { grid-template-columns: 1fr; }
  .identity-panel { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 8px; }
  .identity-panel>img { height: 100%; max-height: 220px; }
  .identity-details { padding-top: 6px; }
  .identity-details h2 { font-size: 23px; }
  .identity-details>p { margin-bottom: 7px; font-size: 13px; }
  .identity-actions { margin-top: 7px; padding-top: 7px; }
  .model-layout { grid-template-columns: 1fr; }
  .save-bar { align-items: flex-start; }
  .save-bar .actions { flex-shrink: 1; flex-wrap: nowrap; }
  .save-bar .btn { font-size: 13px; padding-inline: 12px; }
  .new-layout { grid-template-columns: 1fr; }
  .new-layout>img { display: none; }
}
@media (max-width: 700px) {
  .sidebar { position: static; width: auto; border: 0; display: block; }
  .brand { padding: 17px 18px; gap: 10px; border-bottom: 1px solid #dce7f6; }
  .brand .whale-mark { width: 41px; height: 39px; }
  .brand strong { font-size: 20px; }
  .brand small { font-size: 11px; margin-top: 2px; }
  .navigation { position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; gap: 0; z-index: 15; background: #f3f8ff; padding: 4px 8px max(5px, env(safe-area-inset-bottom)); border-top: 1px solid #d9e5f4; }
  .navigation button { flex-direction: column; gap: 3px; min-height: 57px; padding: 7px 3px; font-size: 11px; border-radius: 7px; }
  .navigation .icon { width: 21px; height: 21px; }
  .connection, .sidebar-curves { display: none; }
  main { margin: 0; padding: 19px 17px 100px; }
  .breadcrumb { font-size: 12px; gap: 11px; height: 23px; }
  .local-label { font-size: 11px; padding: 3px 8px; margin-left: auto; }
  h1 { font-size: 28px; }
  .page-header { flex-direction: column; margin: 19px 0 22px; gap: 18px; }
  .page-subtitle { font-size: 14px; }
  .header-actions { gap: 9px; width: 100%; }
  .header-actions .btn { flex: 1; font-size: 13px; min-height: 44px; padding: 9px 13px; }
  .header-actions .icon { width: 19px; }
  .search-box { width: 100%; max-width: none; min-height: 49px; }
  .search-box input { padding-block: 11px; font-size: 14px; }
  .filter-tabs { width: 100%; }
  .filter-tabs button { flex: 1; min-height: 39px; padding: 7px 12px; font-size: 13px; }
  .selection-tools { gap: 12px; }
  .select-all { font-size: 12px; gap: 8px; }
  .selection-tools .btn { min-height: 44px; padding: 8px 13px; font-size: 12px; }
  .character-grid { grid-template-columns: 1fr; gap: 20px; }
  .portrait { aspect-ratio: 1.25; }
  .character-body { padding: 16px 18px 18px; }
  .character-body h2 { font-size: 25px; }
  .add-card { min-height: 175px; }
  .isolation-note { padding: 16px; font-size: 12px; gap: 11px; line-height: 1.8; }
  .isolation-note .whale-mark { display: none; }
  .footnote { font-size: 11px; align-items: flex-start; }
  .editor-panel { padding-inline: 15px; }
  .editor-tabs { margin-bottom: 20px; }
  .editor-tabs button { padding: 18px 8px 13px; font-size: 13px; }
  .identity-panel { grid-template-columns: 110px minmax(0, 1fr); }
  .identity-panel>img { max-height: 174px; }
  .identity-details { padding: 3px 6px; }
  .identity-details h2 { font-size: 21px; }
  .identity-details .meta-row { font-size: 11px; gap: 6px; margin: 7px 0; }
  .identity-details .meta-label { min-width: 25px; font-size: 11px; }
  .identity-details .meta-value { padding-left: 7px; }
  .identity-details .icon { width: 16px; height: 16px; }
  .identity-details>p { font-size: 11px; }
  .identity-actions .btn { font-size: 11px; min-height: 33px; padding: 5px; }
  .identity-actions .icon { display: none; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 20px; }
  .field textarea.prompt { min-height: 245px; }
  .save-bar { flex-direction: column; bottom: 76px; padding: 13px 15px; gap: 10px; }
  .save-bar .actions { width: 100%; }
  .save-bar .btn { flex: 1; min-height: 43px; }
  .save-bar p { font-size: 11px; }
  .character-switcher { gap: 10px; }
  .character-switcher button { min-width: 162px; padding: 10px 13px; gap: 11px; min-height: 62px; font-size: 13px; }
  .avatar { width: 39px; height: 39px; }
  .form-panel, .readiness { padding: 20px 17px; }
  .form-panel h2 { font-size: 20px; }
  .check-item { min-width: 100%; font-size: 12px; }
  .runtime-toolbar { flex-wrap: wrap; }
  .runtime-toolbar .btn { font-size: 13px; }
  th, td { padding: 15px; }
  .table-wrap { border-radius: 10px; }
  .guide-panel { padding: 20px; font-size: 14px; }
  .guide-panel h2 { font-size: 19px; }
  .auth-form { margin: 30px 0; padding: 24px; }
  .toast { left: 50%; bottom: 84px; font-size: 12px; max-width: 92vw; }
  .job-panel { right: 12px; bottom: 81px; max-width: calc(100vw - 24px); padding: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; } }
