:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --primary-soft: #EEEDFE;
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --surface-2: #FBFBFD;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.13);
  --text: #1D1D1F;
  --muted: #6E6E73;
  --green: #248A3D;
  --green-soft: #E5F4E9;
  --amber: #9A6400;
  --amber-soft: #FBF0DA;
  --red: #C5221F;
  --red-soft: #FCEAE9;
  --blue: #0071E3;
  --blue-soft: #E7F0FD;
  --gray-soft: #F0F0F3;
  --fill: rgba(0, 0, 0, 0.045);
  --fill-hover: rgba(0, 0, 0, 0.07);
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -6px rgba(40, 40, 90, 0.10);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-lift: 0 2px 6px rgba(0,0,0,0.05), 0 16px 34px -10px rgba(70,60,170,0.22);
  --primary-grad: linear-gradient(135deg, #6366F1 0%, #8B5CF6 55%, #A855F7 100%);
  --primary-glow: 0 8px 22px -6px rgba(124, 92, 246, 0.45);
  --topbar-bg: rgba(255, 255, 255, 0.72);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { letter-spacing: -0.022em; }

#app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--text); }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 16px;
  height: 54px; padding: 0 18px;
  background: var(--topbar-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; letter-spacing: -0.02em; }
.brand img { width: 27px; height: 27px; border-radius: 7px; }
.brand small { display: block; font-weight: 450; color: var(--muted); font-size: 11px; line-height: 1.1; letter-spacing: 0; }

.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav button {
  border: none; background: transparent; padding: 7px 14px;
  border-radius: 9px; color: var(--muted); font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav button:hover { background: var(--fill); color: var(--text); }
.nav button.active { background: var(--primary-grad); color: #fff; font-weight: 600; box-shadow: var(--primary-glow); }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.live { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: #9AA0AC; }
.live.live-on .dot { background: var(--green); }
.live.live-poll .dot { background: var(--amber); }
.live.live-demo .dot { background: var(--blue); }

.user-chip { display: flex; align-items: center; gap: 8px; }
.user-chip .btn-ghost { padding: 6px 10px; }

.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 12px; flex: 0 0 auto;
}
.avatar.lg { width: 44px; height: 44px; font-size: 15px; }

.main { width: 100%; max-width: 1040px; margin: 0 auto; padding: 24px 18px 96px; flex: 1; }
.view-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 6px 0 18px; }
.view-title h1 { font-size: 26px; font-weight: 600; margin: 0; }
.view-title .actions { display: flex; gap: 8px; flex-wrap: wrap; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px;
}
.card + .card { margin-top: 16px; }
.card h2 { font-size: 17px; font-weight: 600; margin: 0 0 14px; }
.card .hint { color: var(--muted); font-size: 13px; }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 16px; }
.metric { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px 16px 22px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.metric::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--primary-grad); }
.metric:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.metric.alert::before { background: linear-gradient(180deg, #FB7185, #E0245E); }
.metric .value { font-variant-numeric: tabular-nums; font-weight: 680; }
.metric .label { font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 450; }
.metric .value { font-size: 28px; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.metric .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.metric.alert .value { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-grad); color: #fff; border: none;
  padding: 9px 17px; border-radius: 980px; font-weight: 590; font-size: 14px;
  transition: filter .18s ease, transform .12s ease, box-shadow .18s ease;
  box-shadow: var(--primary-glow);
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
.btn:disabled:active { transform: none; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--fill); color: var(--text);
  border: none; padding: 9px 16px;
  border-radius: 980px; font-weight: 530; font-size: 14px;
  transition: background .18s ease, transform .12s ease;
}
.btn-outline:hover { background: var(--fill-hover); }
.btn-outline:active { transform: scale(0.97); }
.btn-ghost { background: transparent; border: none; color: var(--muted); padding: 6px 9px; border-radius: 9px; font-weight: 530; transition: background .15s ease, color .15s ease; }
.btn-ghost:hover { background: var(--fill); color: var(--text); }
.btn-sm { padding: 6px 13px; font-size: 13px; }
.btn-danger { background: var(--red); }
.btn-danger:hover { background: #A81C1A; }

.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 980px;
  font-size: 11.5px; font-weight: 590; white-space: nowrap; letter-spacing: -0.01em;
}
.chip-gray { background: var(--gray-soft); color: var(--muted); }
.chip-blue { background: var(--blue-soft); color: var(--blue); }
.chip-green { background: var(--green-soft); color: var(--green); }
.chip-amber { background: var(--amber-soft); color: var(--amber); }
.chip-red { background: var(--red-soft); color: var(--red); }
.chip-primary { background: var(--primary-soft); color: var(--primary-dark); }

.load-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 10px; border-radius: 12px; cursor: pointer;
  transition: background .15s ease;
}
.load-row:hover { background: var(--fill); }
.load-row .who { display: flex; align-items: center; gap: 10px; width: 220px; min-width: 0; }
.load-row .who .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.load-row .who .role { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.load-row .track { flex: 1; height: 9px; background: var(--gray-soft); border-radius: 980px; overflow: hidden; }
.load-row .fill { height: 100%; border-radius: 980px; min-width: 2px; transition: width .5s cubic-bezier(.22,.61,.36,1); }
.load-row .nums { width: 130px; text-align: right; font-size: 13px; font-weight: 600; white-space: nowrap; }
.load-row .nums small { display: block; font-weight: 400; color: var(--muted); }

.fill-low { background: linear-gradient(90deg, #C7C7CC, #AEAEB2); }
.fill-ok { background: linear-gradient(90deg, #4ADE80, #16A34A); }
.fill-warn { background: linear-gradient(90deg, #FBBF24, #F59E0B); }
.fill-high { background: linear-gradient(90deg, #FB7185, #E0245E); }

.task-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 8px; margin: 0 -8px; border-radius: 12px;
  border-top: 1px solid var(--border);
  transition: background .15s ease;
}
.task-row:hover { background: var(--fill); }
.task-row:first-child { border-top: none; }
.task-row .t-main { flex: 1; min-width: 0; }
.task-row .t-title { font-weight: 530; }
.task-row .t-title.done { text-decoration: line-through; color: var(--muted); }
.task-row .t-meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 2px; }
.task-row .t-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.overdue { color: var(--red); font-weight: 600; }

select.status-select {
  border: 1px solid var(--border); border-radius: 980px;
  padding: 6px 12px; background: var(--surface); font-size: 12.5px; font-weight: 590;
  transition: background .15s ease;
}
select.status-select.st-laukia { color: var(--muted); }
select.status-select.st-vykdoma { color: var(--blue); background: var(--blue-soft); border-color: transparent; }
select.status-select.st-atlikta { color: var(--green); background: var(--green-soft); border-color: transparent; }

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar input[type="search"], .toolbar select {
  border: 1px solid var(--border); border-radius: 11px;
  padding: 10px 13px; background: var(--surface); min-width: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.toolbar input[type="search"]:focus, .toolbar select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.20);
}
.toolbar input[type="search"] { flex: 1 1 160px; }

.pool-card {
  border: 1px solid var(--border); border-radius: 13px;
  padding: 13px 15px; margin-bottom: 9px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface-2);
}
.pool-card .t-main { flex: 1; min-width: 180px; }

.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.week-nav .wn-left { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; min-width: 0; }
.week-nav .range { font-weight: 600; min-width: 0; text-align: center; letter-spacing: -0.02em; white-space: nowrap; }
.week-nav .wn-arrow { padding-left: 13px; padding-right: 13px; }
@media (max-width: 760px) {
  .week-nav { justify-content: center; }
  .week-nav .wn-left { flex: 1 1 100%; justify-content: center; }
  .week-nav .segmented { flex: 0 0 auto; }
}

.sched-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sched-table th, .sched-table td { border: 1px solid var(--border); padding: 6px; vertical-align: top; }
.sched-table th { background: #FAFAFC; font-size: 12px; color: var(--muted); font-weight: 600; }
.sched-table th.today, .sched-table td.today { background: var(--primary-soft); }
.sched-table td.emp-cell { width: 150px; font-size: 13px; font-weight: 600; background: #FAFAFC; }
.sched-table td.emp-cell .role { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.shift-pill {
  display: block; border-radius: 7px; padding: 4px 7px;
  font-size: 11.5px; font-weight: 600; color: #fff;
  margin-bottom: 4px; cursor: pointer; line-height: 1.3;
  word-break: break-word;
}
.shift-pill small { display: block; font-weight: 400; opacity: 0.9; }
.cell-add {
  width: 100%; border: none; background: transparent; color: #B6BAC5;
  border-radius: 7px; padding: 2px 0; font-size: 14px; font-weight: 700;
}
.cell-add:hover { background: var(--gray-soft); color: var(--primary); }

.day-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; }
.day-chip {
  flex: 1 0 auto; border: 1px solid var(--border); background: var(--surface);
  border-radius: 10px; padding: 6px 10px; text-align: center; min-width: 64px;
}
.day-chip .d { font-size: 11px; color: var(--muted); display: block; }
.day-chip .n { font-weight: 700; }
.day-chip.active { background: var(--primary-grad); border-color: transparent; box-shadow: var(--primary-glow); }
.day-chip.active .d, .day-chip.active .n { color: #fff; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.team-card .head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.team-card .head .name { font-weight: 700; }
.team-card .head .pareigos { font-size: 12.5px; color: var(--muted); }
.team-card .resp { font-size: 13px; color: var(--muted); min-height: 20px; margin-bottom: 10px; white-space: pre-line; }
.team-card .mini-track { height: 7px; background: var(--gray-soft); border-radius: 5px; overflow: hidden; margin: 6px 0 4px; }
.team-card .mini-fill { height: 100%; border-radius: 5px; }
.team-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); }

.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: none;
  background: var(--topbar-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--border);
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
}
.bottom-nav button {
  flex: 1; border: none; background: transparent; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 500; padding: 4px 0; border-radius: 10px;
  transition: color .15s ease;
}
.bottom-nav button svg { width: 23px; height: 23px; }
.bottom-nav button.active { color: var(--primary); font-weight: 590; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 12px; overflow-y: auto;
}
.modal {
  background: var(--surface); border-radius: 20px; width: 100%; max-width: 480px;
  padding: 24px; margin: auto 0;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22);
  animation: modal-in .22s cubic-bezier(.22,.61,.36,1);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(0.985); } to { opacity: 1; transform: none; } }
.modal h2 { margin: 0 0 16px; font-size: 20px; font-weight: 600; }
.modal .form-row { margin-bottom: 13px; }
.modal label { display: block; font-size: 13px; font-weight: 530; color: var(--muted); margin-bottom: 5px; }
.modal input[type="text"], .modal input[type="email"], .modal input[type="password"],
.modal input[type="number"], .modal input[type="date"], .modal input[type="time"],
.modal select, .modal textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 11px;
  padding: 11px 13px; background: var(--surface); font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.modal input:focus, .modal select:focus, .modal textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.20);
}
.modal textarea { resize: vertical; min-height: 76px; }
.modal .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.modal .modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.modal .modal-actions .left { margin-right: auto; }
.form-error { color: var(--red); font-size: 13px; margin-top: 8px; min-height: 0; }

.pick-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.pick-row:hover { border-color: var(--border-strong); background: var(--fill); }
.pick-row.selected { border-color: var(--primary); background: var(--primary-soft); }
.pick-row .track { flex: 1; height: 6px; background: var(--gray-soft); border-radius: 980px; overflow: hidden; }
.pick-row .fill { height: 100%; border-radius: 980px; }
.pick-row .pct { width: 70px; text-align: right; font-size: 12px; color: var(--muted); white-space: nowrap; }
.pick-row input[type="number"] { width: 70px; border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; }

.login-wrap { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 32px; width: 100%; max-width: 400px; box-shadow: 0 8px 40px rgba(0,0,0,0.09); }
.login-card .logo { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.login-card .logo img { width: 46px; height: 46px; border-radius: 12px; }
.login-card h1 { font-size: 21px; font-weight: 600; margin: 0; line-height: 1.25; }
.login-card .sub { color: var(--muted); font-size: 13px; }
.login-card .form-row { margin-bottom: 13px; }
.login-card label { display: block; font-size: 13px; font-weight: 530; color: var(--muted); margin-bottom: 5px; }
.login-card input {
  width: 100%; border: 1px solid var(--border); border-radius: 11px; padding: 12px 13px; font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.login-card input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91,91,214,0.18); }
.login-card .btn { width: 100%; justify-content: center; padding: 13px; margin-top: 6px; font-size: 15px; }
.login-card .switch { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.login-card .switch a { color: var(--primary); font-weight: 530; cursor: pointer; text-decoration: none; }
.demo-note { background: var(--blue-soft); color: var(--blue); border-radius: 12px; padding: 11px 13px; font-size: 13px; margin-bottom: 16px; }
.demo-user {
  display: flex; align-items: center; gap: 11px; width: 100%;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 12px; padding: 10px 13px; margin-bottom: 8px; text-align: left;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.demo-user:hover { border-color: var(--border-strong); background: var(--fill); }
.demo-user:active { transform: scale(0.99); }
.demo-user .role { margin-left: auto; }

.toast {
  position: fixed; bottom: 92px; left: 50%; transform: translateX(-50%);
  background: rgba(30, 30, 32, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #fff; padding: 12px 20px; border-radius: 14px;
  font-size: 14px; font-weight: 450; z-index: 200; box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  max-width: 90vw; text-align: center;
  animation: toast-in .25s cubic-bezier(.22,.61,.36,1);
}
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

.empty { text-align: center; color: var(--muted); padding: 28px 10px; font-size: 14px; }
.section-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin: 22px 0 10px; }

.desktop-only { display: initial; }
.mobile-only { display: none; }

@media (max-width: 760px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: initial; }
  .nav { display: none; }
  .bottom-nav { display: flex; }
  .main { padding: 14px 12px 92px; }
  .brand small { display: none; }
  .load-row .who { width: 130px; }
  .load-row .nums { width: auto; }
  .load-row .nums small { display: none; }
  .topbar { padding: 0 12px; gap: 10px; }
  .live span.txt { display: none; }
  .view-title h1 { font-size: 19px; }
  .modal .form-grid { grid-template-columns: 1fr; }
}

@media print {
  .topbar, .bottom-nav, .toolbar, .view-title .actions, .cell-add { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
}

/* ---------- Pranešimai ---------- */
.bell-btn { position: relative; padding: 6px 8px; }
.bell-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 999px; padding: 1px 5px; line-height: 1.4;
}
.notif-row { display: flex; gap: 10px; padding: 10px 8px; border-top: 1px solid var(--border); cursor: pointer; align-items: flex-start; }
.notif-row:hover { background: var(--gray-soft); }
.notif-row .notif-dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; margin-top: 7px; flex: 0 0 auto; }
.notif-row.unread .notif-dot { background: var(--primary); }
.notif-row.unread .notif-main { font-weight: 600; }
.notif-main { min-width: 0; }
.notif-main small { color: var(--muted); font-weight: 400; display: block; font-size: 12px; }

/* ---------- Komentarai ---------- */
.kom-row { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.kom-row:first-child { border-top: none; }
.kom-main { flex: 1; min-width: 0; font-size: 14px; }
.kom-head { display: flex; align-items: center; gap: 8px; }
.kom-head small { color: var(--muted); font-size: 12px; }
.kom-head .btn-ghost { margin-left: auto; padding: 0 6px; }
.kom-text { white-space: pre-wrap; word-break: break-word; }
.kom-form { display: flex; gap: 8px; margin-top: 10px; }
.kom-form input { flex: 1; border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; background: var(--surface); color: var(--text); }
.kom-badge { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); font-size: 12px; }

/* ---------- Atostogos / mėnuo / TV ---------- */
.vac-pill { background: #8A8F9C !important; }
.active-toggle { background: var(--primary) !important; color: #fff !important; box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.month-table td.m-cell { height: 74px; cursor: pointer; padding: 4px 6px; vertical-align: top; }
.month-table td.m-cell:hover { background: var(--gray-soft); }
.month-table td.m-out { opacity: .45; }
.m-num { font-size: 12px; font-weight: 700; color: var(--muted); }
.m-dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.m-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.m-vac { font-size: 10.5px; color: var(--amber); margin-top: 3px; font-weight: 600; }

.tv-mode { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 22px 32px; overflow-y: auto; display: flex; flex-direction: column; }
.tv-head { display: flex; align-items: center; gap: 20px; justify-content: space-between; margin-bottom: 18px; }
.tv-head small { display: block; color: var(--muted); }
.tv-clock { font-size: 40px; font-weight: 700; }
.tv-title { font-size: 24px; margin: 0 0 14px; }
.tv-body { font-size: 18px; max-width: 1100px; margin: 0 auto; }
.tv-body .load-row { padding: 14px 6px; cursor: default; }
.tv-body .load-row .who { width: 320px; }
.tv-body .track { height: 16px; border-radius: 9px; }
.tv-body .fill { border-radius: 9px; }
.tv-body .nums { width: 180px; font-size: 17px; }

/* ---------- Tamsi tema (Apple stiliaus tikras juodumas) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1C1C1E;
    --surface-2: #242427;
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.18);
    --text: #F5F5F7;
    --muted: #98989F;
    --primary: #7E7EEA;
    --primary-dark: #9090F0;
    --primary-soft: #2A2A4A;
    --gray-soft: #2C2C2E;
    --fill: rgba(255, 255, 255, 0.07);
    --fill-hover: rgba(255, 255, 255, 0.11);
    --green-soft: #16331F;
    --amber-soft: #3A2C12;
    --red-soft: #3A1A19;
    --blue-soft: #16263F;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 24px rgba(0, 0, 0, .4);
    --topbar-bg: rgba(20, 20, 22, 0.72);
  }
  .sched-table th, .sched-table td.emp-cell { background: #242427; }
  .pool-card { background: var(--surface-2); }
  .toast { background: rgba(245,245,247,0.94); color: #1C1C1E; }
  .demo-note { color: #9CC2FF; }
  .chip-blue { color: #8FB8F2; }
  .chip-green { color: #7FC98B; }
  .chip-amber { color: #E2B056; }
  .chip-red { color: #F09590; }
  .chip-primary { color: #ABABF0; }
  select.status-select.st-vykdoma { color: #8FB8F2; }
  select.status-select.st-atlikta { color: #7FC98B; }
  .login-card input, .modal input, .modal select, .modal textarea,
  .toolbar input[type="search"], .toolbar select, select.status-select { background: #23252C; color: var(--text); }
  .cell-add { color: #5A5D68; }
}

/* ---------- Kategorijos žyma ---------- */
.chip-cat {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid transparent;
}
@media (prefers-color-scheme: dark) {
  .chip-cat { color: #C7C7F5; }
}

/* ---------- Premium polish ---------- */
.team-card { padding: 18px; border-radius: var(--radius); transition: box-shadow .2s ease, transform .15s ease; }
.team-card:hover { box-shadow: 0 2px 6px rgba(0,0,0,0.05), 0 10px 30px rgba(0,0,0,0.07); }
.team-card .mini-track { height: 6px; border-radius: 980px; }
.team-card .mini-fill { border-radius: 980px; transition: width .5s cubic-bezier(.22,.61,.36,1); }
.team-card .head .name { font-weight: 600; letter-spacing: -0.01em; }

.day-chip { transition: background .15s ease, border-color .15s ease, transform .12s ease; }
.day-chip:active { transform: scale(0.96); }
.day-chip.active { box-shadow: 0 1px 3px rgba(0,0,0,0.14); }

.shift-pill { border-radius: 8px; transition: transform .12s ease, filter .15s ease; }
.shift-pill:active { transform: scale(0.97); }

.avatar { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }

.metric { transition: transform .15s ease; }

/* glotnesnis fokusas visiems mygtukams (klaviatūrai) */
button:focus-visible, a:focus-visible {
  outline: none; box-shadow: 0 0 0 3px rgba(91,91,214,0.35);
}

/* dailesnis slinkimo strypas (desktop) */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-thumb { background: rgba(140,140,150,0.4); border-radius: 980px; border: 3px solid transparent; background-clip: content-box; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(140,140,150,0.6); background-clip: content-box; }
  ::-webkit-scrollbar-track { background: transparent; }
}

/* range slider Apple stiliumi (jei naudojamas) */
input[type="range"] { -webkit-appearance: none; height: 4px; border-radius: 980px; background: var(--gray-soft); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(0,0,0,0.04); cursor: pointer;
}

/* mygtukai modale šiek tiek erdvesni */
.modal .btn, .modal .btn-outline { padding-left: 18px; padding-right: 18px; }

/* ---------- Premium rinkinys: žiedai, segmentinis, perėjimai, pasveikinimas ---------- */
.view-sub { font-size: 14px; color: var(--muted); margin-top: 2px; font-weight: 450; }

/* Apple Watch stiliaus užkrovos žiedai */
.ring-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.ring-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 14px 6px 12px; border-radius: 16px; cursor: pointer;
  transition: background .15s ease, transform .12s ease;
}
.ring-item:hover { background: var(--fill); }
.ring-item:active { transform: scale(0.97); }
.ring { position: relative; display: flex; align-items: center; justify-content: center; }
.ring-arc { transition: stroke-dasharray .7s cubic-bezier(.22,.61,.36,1); }
.ring-pct {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 600; letter-spacing: -0.03em;
}
.ring-pct span { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 1px; align-self: center; }
.ring-name { font-weight: 530; font-size: 14px; margin-top: 10px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ring-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }

/* iOS segmentinis valdiklis */
.segmented {
  display: inline-flex; background: var(--gray-soft); border-radius: 980px; padding: 2px;
}
.segmented button {
  border: none; background: transparent; color: var(--muted);
  padding: 6px 16px; border-radius: 980px; font-weight: 510; font-size: 13px;
  transition: color .18s ease, background .25s ease, box-shadow .25s ease, transform .12s ease;
}
.segmented button.active {
  background: var(--surface); color: var(--text); font-weight: 590;
  box-shadow: 0 1px 3px rgba(0,0,0,0.14), 0 0 0 0.5px rgba(0,0,0,0.04);
}
.segmented button:active { transform: scale(0.96); }

/* Sklandus lango perėjimas */
.view-enter > * { animation: view-in .32s cubic-bezier(.22,.61,.36,1) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .view-enter > *, .ring-arc, .load-row .fill, .team-card .mini-fill { animation: none !important; transition: none !important; }
}

/* TV režime žiedai didesni */
.tv-body .ring-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.tv-body .ring-name { font-size: 17px; }

/* TV dashboard — viskas vienu metu */
.tv-dash { width: 100%; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.tv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.tv-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.tv-stat.alert { border-color: var(--red); }
.tv-stat-n { font-size: 50px; font-weight: 800; line-height: 1; }
.tv-stat.alert .tv-stat-n { color: var(--red); }
.tv-stat-l { color: var(--muted); margin-top: 6px; font-size: 15px; }
.tv-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto 1fr; gap: 16px; align-items: stretch; flex: 1; min-height: 0; }
.tv-span2 { grid-column: 1 / -1; }
.tv-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-sm); }
.tv-card .tv-title { font-size: 19px; margin: 0 0 12px; }
.tv-col { display: flex; flex-direction: column; gap: 16px; }
.tv-card .ring-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.tv-card .ring-name { font-size: 15px; }
.tv-card .ring-sub { font-size: 13px; }
.tv-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.tv-day { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 8px 7px; min-height: 96px; }
.tv-day.today { border-color: var(--primary); }
.tv-day-h { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.tv-day-h span { color: var(--text); }
.tv-shift { display: flex; justify-content: space-between; gap: 4px; font-size: 12px; padding: 1px 0; }
.tv-shift-t { color: var(--muted); white-space: nowrap; }
.tv-day-empty { text-align: center; color: var(--muted); opacity: .4; }
.tv-line { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.tv-line:last-child { border-bottom: none; }
.tv-line-d { font-weight: 700; min-width: 58px; }
.tv-line-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-line-w { color: var(--muted); white-space: nowrap; }
@media (max-width: 1000px) {
  .tv-stats { grid-template-columns: repeat(2, 1fr); }
  .tv-grid { grid-template-columns: 1fr; }
}

/* Prieinamumas */
.avail-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.avail-emp-sel { padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: 15px; min-width: 200px; }
.avail-seg { margin-left: auto; }
.avail-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.avail-day { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; min-height: 124px; box-shadow: var(--shadow-sm); }
.avail-day.today { border-color: var(--primary); }
.avail-day-h { font-weight: 700; font-size: 14px; color: var(--muted); }
.avail-day-h span { color: var(--text); }
.avail-block { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: var(--primary-soft); color: var(--primary-dark); border-radius: 9px; padding: 5px 9px; font-size: 13px; font-weight: 600; }
.avail-block.tmpl { background: var(--gray-soft); color: var(--muted); }
.avail-block.neg { background: var(--red-soft); color: var(--red); justify-content: center; }
.avail-x { border: none; background: transparent; color: inherit; cursor: pointer; font-size: 16px; line-height: 1; opacity: .6; padding: 0 2px; }
.avail-x:hover { opacity: 1; }
.avail-empty { color: var(--muted); opacity: .4; text-align: center; padding: 6px 0; }
.avail-tag { font-size: 11px; color: var(--muted); text-align: center; }
.avail-actions { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.avail-actions .btn-ghost { justify-content: flex-start; padding: 4px 6px; font-size: 12px; }
.avail-addbtn { margin-top: auto; }
@media (max-width: 760px) {
  .avail-grid { grid-template-columns: 1fr; }
  .avail-day { min-height: auto; }
  .avail-seg { margin-left: 0; width: 100%; }
}

/* Datų parinkiklis (Apple stilius) */
.dp { position: relative; }
.dp-field { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: 15px; cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .15s; }
.dp-field:hover { border-color: var(--primary); }
.dp-val { font-weight: 500; }
.dp-val.empty { color: var(--muted); font-weight: 400; }
.dp-ic { color: var(--muted); flex: 0 0 auto; }
.dp-cal { margin-top: 6px; }
.dp-cal-inner { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.dp-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-month { font-weight: 700; font-size: 15px; }
.dp-nav { border: none; background: var(--fill); color: var(--text); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; }
.dp-nav:hover { background: var(--fill-hover); }
.dp-wds { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.dp-wd { text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; padding: 2px 0; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-cell { aspect-ratio: 1; border: none; background: transparent; color: var(--text); border-radius: 50%; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.dp-cell:hover:not(.empty) { background: var(--fill); }
.dp-cell.empty { cursor: default; }
.dp-cell.today { color: var(--primary); font-weight: 700; }
.dp-cell.sel { background: var(--primary); color: #fff; font-weight: 700; }
.dp-cell.sel.today { color: #fff; }
.dp-foot { display: flex; justify-content: space-between; margin-top: 8px; }
.dp-today-btn, .dp-clear-btn { border: none; background: transparent; color: var(--primary); cursor: pointer; font-size: 13px; font-weight: 600; padding: 4px 6px; border-radius: 8px; }
.dp-today-btn:hover, .dp-clear-btn:hover { background: var(--fill); }
.dp-clear-btn { color: var(--muted); }

/* Darbų terminai kalendoriuje */
.task-pill { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 600; padding: 4px 7px; border-radius: 8px; background: #D98324; color: #fff; cursor: pointer; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; transition: transform .12s ease, filter .15s ease; }
.task-pill:active { transform: scale(0.97); }
.task-pill.prio-aukstas { background: #D63A4D; color: #fff; }
.task-pill.prio-zemas { background: #8A8F9C; color: #fff; }
.m-tasks { font-size: 10px; color: var(--amber); font-weight: 600; margin-top: 2px; }
/* „Negaliu" žyma tvarkaraštyje */
.neg-pill { background: var(--red-soft) !important; color: var(--red) !important; border: 1px solid var(--red); }
/* Visų darbotvarkė (lentelė) */
.da-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.da-table th, .da-table td { border: 1px solid var(--border); padding: 6px 8px; text-align: center; vertical-align: top; }
.da-table th { background: var(--gray-soft); font-weight: 700; }
.da-emp { text-align: left !important; font-weight: 600; white-space: nowrap; position: sticky; left: 0; background: var(--surface); }
.da-blk { display: inline-block; background: var(--primary-soft); color: var(--primary-dark); border-radius: 6px; padding: 1px 6px; margin: 1px; font-weight: 600; white-space: nowrap; }
.da-neg { color: var(--red); font-weight: 700; }
.da-empty { color: var(--muted); opacity: .4; }
/* Mėnesio tinklelis telefone — kompaktiškesnis */
@media (max-width: 760px) {
  .month-table td { padding: 2px 3px; height: 54px; min-width: 42px; vertical-align: top; }
  .month-table .m-num { font-size: 12px; }
  .month-table .m-dots { gap: 1px; }
  .month-table .m-dot { width: 6px; height: 6px; }
  .month-table .m-vac, .month-table .m-tasks { font-size: 8px; line-height: 1.1; }
}

/* Nustatymai (valdomi sąrašai) */
.set-group { margin-bottom: 16px; }
.set-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
.set-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--fill); border-radius: 8px; padding: 4px 6px 4px 10px; font-size: 13px; }
.set-x { border: none; background: transparent; cursor: pointer; color: var(--muted); font-size: 16px; line-height: 1; padding: 0 2px; }
.set-x:hover { color: var(--red); }
.set-add { display: flex; gap: 6px; }
.set-input { flex: 1; padding: 7px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: 14px; }
.tv-task .tv-shift-n { color: var(--amber); font-weight: 600; }
/* TV — kad viskas tilptų: kompaktiškesni tarpai/žiedai */
.tv-dash .tv-stat { padding: 12px 16px; }
.tv-dash .tv-stat-n { font-size: 40px; }
.tv-card .ring-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
/* TV — „Komandos užkrova" kompaktiška (max ~ketvirtadalis ekrano) */
.tv-load { max-height: 26vh; overflow: hidden; }
.tv-load .ring-grid { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px 10px; }
.tv-load .ring-item { gap: 1px; }
.tv-load .ring { width: 52px !important; height: 52px !important; }
.tv-load .ring svg { width: 52px; height: 52px; }
.tv-load .ring-pct { font-size: 12px; }
.tv-load .ring-pct span { font-size: 8px; }
.tv-load .ring-name { font-size: 11px; margin-top: 2px; }
.tv-load .ring-sub { font-size: 9px; }

/* ===== Drąsesnis dizainas (v28): fonas, fokusas, judesys ===== */
body {
  background-image: radial-gradient(1000px 480px at 88% -10%, rgba(168,140,255,0.20) 0%, rgba(168,140,255,0) 60%);
}
.brand img { box-shadow: 0 4px 12px -3px rgba(99,102,241,0.45); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.40);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .metric:hover, .btn:hover { transform: none !important; }
}
.live .bld { opacity: .55; font-weight: 450; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .live .bld-d { display: none; } }

/* Paspaudžiamos metrikos (vadovui) + sąrašo modalas */
.metric-click { cursor: pointer; }
.metric-click::after { content: "›"; position: absolute; top: 10px; right: 14px; color: var(--muted); font-size: 19px; line-height: 1; opacity: .5; }
.metric-click:hover::after { opacity: .9; }
.ml-list { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 6px; max-height: 56vh; overflow-y: auto; }
.ml-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 11px; }
.ml-row:hover { background: var(--fill); }
.ml-main { flex: 1; min-width: 0; text-align: left; background: transparent; border: none; padding: 2px 4px; border-radius: 8px; color: var(--text); cursor: pointer; font: inherit; }
.ml-main .t-title { font-weight: 590; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-main:hover .t-title { color: var(--primary-dark); }
.ml-main .t-meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ml-acts { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ml-del { color: var(--red); padding: 6px 10px; font-size: 15px; }

/* Nustatymų tab'as */
.set-view .card { margin-bottom: 16px; }
.set-view .form-row { margin-bottom: 0; }
.set-view .form-row label { display: block; font-size: 13px; font-weight: 530; color: var(--muted); margin-bottom: 5px; }
.set-view input:not(.set-input) { width: 100%; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--surface); color: var(--text); font-size: 15px; }
.set-toggles { display: flex; flex-direction: column; gap: 2px; }
.set-toggle { display: flex; align-items: center; gap: 9px; padding: 8px 6px; border-radius: 10px; cursor: pointer; }
.set-toggle:hover { background: var(--fill); }
.set-toggle input { width: auto; }
.sys-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); font-size: 14px; }
.sys-row:first-of-type { border-top: none; }
.sys-row b.sys-ok { color: var(--green); }
.sys-row b.sys-bad { color: var(--amber); }
.cal-url { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--fill); padding: 9px 12px; border-radius: 11px; }
.cal-url code { font-size: 12px; word-break: break-all; flex: 1; min-width: 0; color: var(--text); }
.set-view .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

/* Avataro mygtukas + rolės pasirinkimas */
.avatar-btn { border: none; background: transparent; padding: 0; cursor: pointer; border-radius: 50%; line-height: 0; transition: transform .12s ease, box-shadow .15s ease; }
.avatar-btn:hover { transform: scale(1.06); box-shadow: var(--primary-glow); }
.avatar-btn:active { transform: scale(0.97); }
.role-opts { display: flex; flex-direction: column; gap: 8px; }
.role-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.role-opt:hover { border-color: var(--primary); }
.role-opt.active { border-color: transparent; background: var(--primary-soft); color: var(--primary-dark); }
.role-opt b { font-weight: 600; }
.role-opt span { font-size: 12.5px; color: var(--muted); }
.role-opt.active span { color: var(--primary-dark); opacity: .8; }
.btn-done { display: inline-flex; align-items: center; gap: 4px; background: var(--green-soft); color: var(--green); border: none; border-radius: 980px; font-weight: 590; padding: 6px 13px; font-size: 13px; cursor: pointer; white-space: nowrap; transition: filter .15s ease, transform .12s ease; }
.btn-done:hover { filter: brightness(0.96); }
.btn-done:active { transform: scale(0.97); }
.btn-task { background: linear-gradient(135deg, #F2A33C 0%, #E0822A 100%); box-shadow: 0 8px 22px -6px rgba(224, 130, 42, 0.45); }
.assignee-pick { max-height: 190px; overflow-y: auto; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 4px; }
.ap-row { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.ap-row:hover { background: var(--fill); }
.ap-row input { width: auto; flex: 0 0 auto; }
.ap-all { border-bottom: 1px solid var(--border); border-radius: 8px 8px 0 0; position: sticky; top: 0; background: var(--surface); z-index: 1; }
