/* Кабинет Eu-rabota (29.09.2026) — по согласованному макету. */
:root { --blue:#1d4ed8; --blue-d:#1e40af; --blue-soft:#eaf0ff; --ink:#111827; --muted:#4b5563; --line:#e5e7eb; --bg:#f5f7fb; --card:#fff; --ok:#15803d; --warn-bg:#fff8e6; --warn-line:#fde7a8; --warn:#7c4a03; --bad:#b91c1c; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Inter, system-ui, -apple-system, sans-serif; }
a { color: var(--blue); } a:hover { color: var(--blue-d); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, .cb-logo b { font-family: Sora, Inter, sans-serif; }
.cb-loading { padding: 40px; color: var(--muted); }
.cb-shell { display: flex; min-height: 100vh; }
.cb-side { width: 264px; flex: none; background: var(--card); border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.cb-logo { display: flex; align-items: center; gap: 10px; padding: 0 10px 16px; text-decoration: none; color: var(--ink); }
.cb-logo i { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 15px Sora, sans-serif; font-style: normal; }
.cb-logo b { font-size: 18px; }
.cb-seg { display: flex; gap: 4px; background: #eef2f7; border-radius: 10px; padding: 3px; margin: 0 2px 14px; }
.cb-seg button { flex: 1; min-height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; }
.cb-seg button.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(17,24,39,.12); }
.cb-nav { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-weight: 500; text-align: left; width: 100%; }
.cb-nav.on { background: var(--blue-soft); color: #1e3a8a; font-weight: 700; }
.cb-nav .n { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ea580c; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cb-side .cb-warn { margin-top: auto; }
.cb-main { flex: 1; min-width: 0; padding: 30px 40px 60px; display: flex; flex-direction: column; gap: 20px; max-width: 1180px; }
.cb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.cb-head h1 { margin: 0; font-size: 30px; }
.cb-head p { margin: 4px 0 0; color: var(--muted); }
.cb-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.cb-card h2 { margin: 0; font-size: 18px; }
.cb-grid2 { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 20px; align-items: start; }
.cb-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.cb-row.hi { background: #eff6ff; border-color: #bfdbfe; }
.cb-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cb-row .t b { font-size: 15px; }
.cb-row .t span { font-size: 14px; color: var(--muted); }
.cb-chip { font-size: 12.5px; font-weight: 700; border-radius: 8px; padding: 4px 9px; background: #f3f4f6; color: #374151; white-space: nowrap; }
.cb-chip.new { background: #fef3c7; color: #92400e; } .cb-chip.invited { background: #dbeafe; color: #1e3a8a; } .cb-chip.rejected { background: #fee2e2; color: #991b1b; } .cb-chip.ok { background: #dcfce7; color: #166534; }
.cb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 16px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.cb-btn:hover { border-color: var(--blue); }
.cb-btn.p { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.cb-btn.p:hover { background: var(--blue-d); }
.cb-btn.x { color: var(--bad); border-color: #fecaca; }
.cb-btn:disabled { opacity: .55; cursor: default; }
.cb-muted { color: var(--muted); font-size: 14px; }
.cb-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; }
.cb-err { background: #fee2e2; color: #991b1b; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.cb-okmsg { background: #dcfce7; color: #166534; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.cb-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.cb-field input, .cb-in { min-height: 48px; border: 1px solid #d1d5db; border-radius: 12px; padding: 0 14px; background: #fff; font-size: 16px; font-weight: 400; }
.cb-field input:focus, .cb-in:focus, .cb-btn:focus-visible, .cb-nav:focus-visible, .cb-seg button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.cb-signin { max-width: 440px; margin: 48px auto; padding: 0 16px; display: flex; flex-direction: column; gap: 16px; }
.cb-signin h1 { margin: 8px 0 0; font-size: 28px; }
.cb-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cb-roles label { min-height: 64px; border: 1px solid #d1d5db; border-radius: 12px; background: #fff; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; cursor: pointer; }
.cb-roles label.on { border: 2px solid var(--blue); background: #eff6ff; }
.cb-roles b { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.cb-roles span { font-size: 12px; color: var(--muted); padding-left: 22px; }
.cb-link { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 600; text-align: left; }
.cb-jobs { display: grid; grid-template-columns: 380px minmax(0,1fr); gap: 20px; align-items: start; }
.cb-job { width: 100%; text-align: left; border: 1px solid transparent; background: #fff; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.cb-job.on { background: #eff6ff; border-color: #bfdbfe; }
.cb-job .top { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.cb-sec { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cb-sec:last-child { border-bottom: 0; }
.cb-sec > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 220px; flex: 1; }
.cb-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cb-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.cb-empty { padding: 28px; border: 1px dashed #cbd5e1; border-radius: 14px; text-align: center; color: var(--muted); }
.cb-bar { height: 8px; border-radius: 4px; background: var(--line); } .cb-bar i { display: block; height: 8px; border-radius: 4px; background: var(--blue); }
.cb-toggle { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; background: var(--bg); font-size: 14px; }
.cb-toggle input { width: 20px; height: 20px; accent-color: var(--blue); }
@media (max-width: 900px) {
  .cb-shell { flex-direction: column; }
  .cb-side { position: static; height: auto; width: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 14px 8px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; }
  .cb-logo { padding: 0 8px 0 0; } .cb-seg { margin: 0; flex: 1; min-width: 220px; }
  .cb-navs { display: flex; gap: 4px; overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .cb-nav { width: auto; white-space: nowrap; }
  .cb-side .cb-warn { display: none; }
  .cb-main { padding: 20px 16px 48px; }
  .cb-grid2, .cb-jobs { grid-template-columns: 1fr; }
  .cb-row { flex-wrap: wrap; }
  .cb-row .t { flex-basis: 100%; }
}
