:root { --bg: #f5f6f8; --panel: #ffffff; --ink: #1a2233; --muted: #5b6577; --line: #e3e6ec; --accent: #1f4fd8; --accent-ink: #ffffff; --danger: #b3261e; --warn: #9a6700; --ok: #1a7f37; --radius: 10px; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--ink); } .layout { display: flex; min-height: 100vh; } .sidebar { width: 240px; flex-shrink: 0; background: #101a33; color: #d7deee; padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; } .sidebar .brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 2px; } .sidebar .brand small { display: block; font-size: 11px; font-weight: 400; color: #8fa0c4; margin-top: 4px; } .sidebar nav { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; } .sidebar button { text-align: left; background: none; border: none; color: #c3cde3; padding: 9px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; } .sidebar button:hover { background: rgba(255, 255, 255, 0.08); } .sidebar button.active { background: var(--accent); color: #fff; } .sidebar .foot { margin-top: auto; font-size: 11px; color: #7787ab; line-height: 1.5; } .main { flex: 1; padding: 28px 36px; max-width: 1040px; } h1 { font-size: 22px; margin: 0 0 4px; } h2 { font-size: 16px; margin: 22px 0 10px; } .sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; } .panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; } .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; } .stat { text-align: left; } .stat .num { font-size: 28px; font-weight: 700; } .stat .lbl { font-size: 13px; color: var(--muted); } table { width: 100%; border-collapse: collapse; font-size: 14px; } th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; } th, td { padding: 9px 10px; border-bottom: 1px solid var(--line); } tr.clickable { cursor: pointer; } tr.clickable:hover td { background: #f0f3fa; } .badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; } .badge.high { background: #fde8e7; color: var(--danger); } .badge.prohibited { background: var(--danger); color: #fff; } .badge.limited { background: #fff3d6; color: var(--warn); } .badge.minimal { background: #e2f5e8; color: var(--ok); } .badge.out-of-scope { background: #e8eaf0; color: var(--muted); } .badge.status-open { background: #fde8e7; color: var(--danger); } .badge.status-in-progress { background: #fff3d6; color: var(--warn); } .badge.status-done { background: #e2f5e8; color: var(--ok); } .badge.status-not-applicable { background: #e8eaf0; color: var(--muted); } button.primary, button.ghost, button.danger { border-radius: 8px; padding: 9px 16px; font-size: 14px; cursor: pointer; border: 1px solid transparent; } button.primary { background: var(--accent); color: var(--accent-ink); } button.primary:hover { filter: brightness(1.1); } button.primary:disabled { opacity: 0.5; cursor: not-allowed; } button.ghost { background: #fff; border-color: var(--line); color: var(--ink); } button.ghost:hover { border-color: var(--accent); color: var(--accent); } button.danger { background: #fff; border-color: var(--danger); color: var(--danger); } label.field { display: block; margin-bottom: 14px; font-size: 14px; } label.field span { display: block; font-weight: 600; margin-bottom: 5px; } input[type='text'], select, textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; color: var(--ink); } input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; } .check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; cursor: pointer; font-size: 14px; } .check:hover { border-color: var(--accent); } .check input { margin-top: 3px; } .check .ref { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; } .wizard-steps { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; } .wizard-steps .step { font-size: 12px; padding: 5px 11px; border-radius: 99px; background: #e8eaf0; color: var(--muted); } .wizard-steps .step.current { background: var(--accent); color: #fff; } .wizard-steps .step.done { background: #cdd8f6; color: var(--accent); } .wizard-nav { display: flex; justify-content: space-between; margin-top: 20px; } .reasons li { margin-bottom: 6px; font-size: 14px; } .hint { font-size: 13px; color: var(--muted); } .disclaimer { font-size: 12px; color: var(--muted); border-left: 3px solid var(--warn); padding: 8px 12px; background: #fffaf0; border-radius: 0 8px 8px 0; margin-top: 20px; } .deadline-list { list-style: none; padding: 0; margin: 0; } .deadline-list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; } .deadline-list li:last-child { border-bottom: none; } .deadline-list .date { font-weight: 700; white-space: nowrap; min-width: 92px; } .deadline-list .past { color: var(--muted); } .doc-preview { background: #0f172a; color: #dbe4f5; border-radius: 8px; padding: 16px; font-size: 12.5px; overflow-x: auto; white-space: pre-wrap; max-height: 420px; overflow-y: auto; } .toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 16px; } .empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 14px; }