/* ============================================================
   Кабінет організатора — ЄДИНИЙ файл стилів (зібрано з інлайнів).
   НЕ включає js/svgzoomkvytok/stadium-css.css (стилі залу віджета).
   ============================================================ */

/* ══════════ ОБОЛОНКА: лейаут, сайдбар, топбар, таблиці, пігулки (index.php) ══════════ */
    :root {
      --sidebar-bg: #0f172a;
      --sidebar-text: #cbd5e1;
      --sidebar-text-muted: #94a3b8;
      --sidebar-active-bg: #14b8a6;
      --sidebar-active-text: #ffffff;
      --sidebar-hover-bg: rgba(255,255,255,.06);
      --sidebar-divider: rgba(255,255,255,.08);
      --topbar-bg: #ffffff;
      --content-bg: #f5f6fa;
      --sidebar-width: 240px;
    }
    body { background: var(--content-bg); }
    .app-layout { display: flex; min-height: 100vh; }
    .app-sidebar {
      width: var(--sidebar-width);
      background: var(--sidebar-bg);
      color: var(--sidebar-text);
      display: flex; flex-direction: column;
      position: fixed; top: 0; left: 0; bottom: 0;
      z-index: 1030;
      overflow-y: auto; overflow-x: hidden;
      transition: width .2s ease;
    }
    .app-sidebar.collapsed { width: 64px; }
    .app-sidebar.collapsed .brand-text,
    .app-sidebar.collapsed .user-card .text,
    .app-sidebar.collapsed .nav-section .label,
    .app-sidebar.collapsed .nav-link-side .nav-text { display: none; }
    .app-sidebar.collapsed .brand { justify-content: center; padding: 22px 0 18px; }
    .app-sidebar.collapsed .user-card { justify-content: center; padding: 8px 0; }
    .app-sidebar.collapsed .nav-link-side { justify-content: center; padding: 11px 0; position: relative; }
    .app-sidebar.collapsed .nav-link-side i { margin: 0; }
    .app-sidebar.collapsed .nav-section { padding: 4px 8px; }
    .app-sidebar .brand {
      padding: 22px 20px 18px;
      font-size: 20px; font-weight: 700; color: #fff;
      text-decoration: none; display: flex; align-items: center; gap: 10px;
    }
    .app-sidebar .brand svg { flex: none; }
    .app-sidebar .user-card {
      margin: 0 14px 16px; padding: 10px 12px;
      background: rgba(255,255,255,.04);
      border-radius: 10px;
      display: flex; align-items: center; gap: 10px;
    }
    .app-sidebar .user-card .avatar {
      width: 36px; height: 36px; border-radius: 50%; flex: none;
      background: #14b8a6; color: #fff; font-weight: 700;
      display: flex; align-items: center; justify-content: center;
    }
    .app-sidebar .user-card .name { color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2; }
    .app-sidebar .user-card .email { color: var(--sidebar-text-muted); font-size: 11px; }
    .app-sidebar .nav-section { padding: 4px 14px 4px; }
    .app-sidebar .nav-section .label {
      color: var(--sidebar-text-muted); text-transform: uppercase;
      font-size: 11px; font-weight: 600; letter-spacing: .5px; padding: 14px 6px 8px;
    }
    .app-sidebar .nav-link-side {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 12px; border-radius: 8px;
      color: var(--sidebar-text); font-size: 14px; text-decoration: none;
      margin-bottom: 2px;
    }
    .app-sidebar .nav-link-side i { font-size: 16px; width: 18px; text-align: center; }
    .app-sidebar .nav-link-side:hover { background: var(--sidebar-hover-bg); color: #fff; }
    .app-sidebar .nav-link-side.active {
      background: var(--sidebar-active-bg); color: var(--sidebar-active-text);
    }
    .app-sidebar .footer-actions { margin-top: auto; padding: 14px; border-top: 1px solid var(--sidebar-divider); }

    .app-content { flex: 1; margin-left: var(--sidebar-width); display: flex; flex-direction: column; min-width: 0; transition: margin-left .2s ease; }
    .app-sidebar.collapsed ~ .app-content,
    .app-content.is-collapsed { margin-left: 64px; }
    .app-topbar {
      background: var(--topbar-bg);
      border-bottom: 1px solid #e5e7eb;
      padding: 10px 20px;
      display: flex; align-items: center; gap: 14px;
      position: sticky; top: 0; z-index: 1020;
    }
    .app-topbar .sidebar-toggle { background: none; border: 0; font-size: 22px; color: #334155; }
    .app-topbar .topbar-search { flex: 1; max-width: 520px; position: relative; }
    .app-topbar .topbar-search i {
      position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
      color: #94a3b8; font-size: 14px;
    }
    .app-topbar .topbar-search input {
      width: 100%; padding: 9px 12px 9px 34px; border-radius: 999px;
      border: 1px solid #e5e7eb; background: #f5f6fa; font-size: 14px;
    }
    .app-topbar .topbar-search input:focus { outline: none; border-color: #14b8a6; background: #fff; }
    .app-topbar .partner-chip {
      background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4;
      border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600;
    }
    .app-main { padding: 20px 24px; flex: 1; width: 100%; max-width: 1480px; margin: 0 auto; }

    /* лінки контенту — в палітрі кабінету, не бутстрап-сині */
    .app-main a:not(.btn):not(.nav-link-side) { color: #0f766e; }
    .app-main a:not(.btn):not(.nav-link-side):hover { color: #0d9488; }

    /* ── Сучасні таблиці (єдиний стиль для всіх розділів) ── */
    .app-main .card {
      border: 1px solid #eef0f4; border-radius: 14px;
      box-shadow: 0 1px 2px rgba(16,24,40,.04);
      overflow: hidden;
    }
    .app-main .card .card-header { border-bottom: 1px solid #eef0f4; }
    .app-main .card .card-footer { border-top: 1px solid #eef0f4; }
    .app-main .table { margin-bottom: 0; }
    .app-main .table thead th {
      background: #f8fafc; color: #64748b;
      font-size: 11px; font-weight: 600;
      text-transform: uppercase; letter-spacing: .4px;
      border-bottom: 1px solid #eef0f4;
      padding: 10px 14px; white-space: nowrap;
    }
    .app-main .table tbody td {
      padding: 12px 14px; font-size: 13.5px;
      border-color: #f1f5f9; vertical-align: middle;
    }
    .app-main .table tbody tr:hover { background: #f8fafc; }
    .app-main .table tfoot th {
      background: #f8fafc; border-top: 1px solid #eef0f4;
      padding: 10px 14px; font-size: 13px;
    }
    .app-main .table .btn { border-radius: 8px; }

    /* статуси-пігулки з крапкою */
    .pill {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 3px 10px; border-radius: 999px;
      font-size: 12px; font-weight: 600; white-space: nowrap;
    }
    .pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
    .pill-green  { background: #ecfdf5; color: #059669; }
    .pill-yellow { background: #fffbeb; color: #b45309; }
    .pill-red    { background: #fef2f2; color: #dc2626; }
    .pill-gray   { background: #f1f5f9; color: #64748b; }
    .pill-blue   { background: #eff6ff; color: #2563eb; }

    @media (max-width: 991.98px) {
      .app-sidebar { transform: translateX(-100%); transition: transform .2s; }
      .app-sidebar.mobile-open { transform: translateX(0); }
      .app-content { margin-left: 0 !important; }
      .app-sidebar.collapsed { width: var(--sidebar-width); }
      .app-sidebar.collapsed .brand-text,
      .app-sidebar.collapsed .user-card .text,
      .app-sidebar.collapsed .nav-section .label,
      .app-sidebar.collapsed .nav-link-side .nav-text { display: block; }
    }
    html.sidebar-collapsed-init .app-sidebar { width: 64px; }
    html.sidebar-collapsed-init .app-content { margin-left: 64px; }

/* ══════════ ЛОГІН (окрема сторінка) (login.php) ══════════ */
html:has(body.org-login), body.org-login { height: 100%; }
body.org-login {
  margin: 0; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
}
.login-card {
  width: 100%; max-width: 400px;
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.login-card .brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: #0f172a;
  margin-bottom: 24px;
}
.login-card h4 { font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.login-card .subtitle { color: #64748b; font-size: 14px; margin-bottom: 22px; }
.login-card label { display:block; font-size: 13px; color: #334155; font-weight: 500; margin-bottom: 4px; }
.login-card input {
  width: 100%; box-sizing: border-box;
  border-radius: 10px;
  padding: 12px 14px; font-size: 14px;
  border: 1px solid #e2e8f0; background: #f8fafc;
  margin-bottom: 10px;
}
.login-card input:focus {
  outline: none;
  border-color: #14b8a6; background: #fff;
  box-shadow: 0 0 0 3px rgba(20,184,166,.15);
}
.login-card button {
  background: #14b8a6; border: 1px solid #14b8a6; color: #fff; cursor: pointer;
  border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600;
  width: 100%; margin-top: 4px;
}
.login-card button:hover { background: #0d9488; }
.login-card .message { color: #dc2626; font-size: 13px; min-height: 18px; display: block; margin: 8px 0 0; }
.login-card .hint { color: #475569; font-size: 13px; margin: 0 0 14px; }
.login-card .channel-name { font-weight: 600; color: #0f172a; }
.login-card .restart { display:inline-block; margin-top:10px; font-size:13px; color:#64748b; }
.sms-kod { letter-spacing: 6px; text-align: center; font-size: 18px !important; font-weight: 600; }

/* ══════════ ДАШБОРД: KPI-плитки, графік, події, скелетони (dashboard.php) ══════════ */
.kpi { background:#fff; border:1px solid #eef0f4; border-radius:14px; padding:18px 20px; height:100%;
       box-shadow:0 1px 2px rgba(16,24,40,.04); position:relative; overflow:hidden; }
.kpi .k-ic { position:absolute; top:14px; right:16px; width:38px; height:38px; border-radius:10px;
             display:flex; align-items:center; justify-content:center; font-size:18px; }
.kpi .k-label { color:#64748b; font-size:12.5px; font-weight:500; text-transform:uppercase; letter-spacing:.3px; }
.kpi .k-main { font-size:26px; font-weight:800; color:#0f172a; margin:6px 0 2px; letter-spacing:-.5px; }
.kpi .k-sub { color:#94a3b8; font-size:12.5px; display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.kpi .k-delta { font-size:12px; font-weight:700; padding:1px 8px; border-radius:999px; }
.kpi .k-delta.up { background:#ecfdf5; color:#059669; }
.kpi .k-delta.down { background:#fef2f2; color:#dc2626; }
.kpi .k-delta.flat { background:#f1f5f9; color:#64748b; }
.ic-teal { background:#ccfbf1; color:#0f766e; }
.ic-blue { background:#eff6ff; color:#2563eb; }
.ic-amber { background:#fffbeb; color:#b45309; }
.ic-violet { background:#f5f3ff; color:#7c3aed; }

.dash-card { background:#fff; border:1px solid #eef0f4; border-radius:14px; box-shadow:0 1px 2px rgba(16,24,40,.04); }
.dash-card .card-head { padding:14px 20px; border-bottom:1px solid #f1f5f9; font-weight:700; font-size:14.5px;
                        display:flex; align-items:center; justify-content:space-between; }
.dash-card .card-head .muted { color:#94a3b8; font-weight:500; font-size:12.5px; }

.up-ev { padding:12px 20px; border-bottom:1px solid #f1f5f9; }
.up-ev:last-child { border-bottom:0; }
.up-ev .t { font-weight:600; color:#0f172a; text-decoration:none; font-size:14px; }
.up-ev .t:hover { color:#0f766e; }
.up-ev .d { color:#64748b; font-size:12.5px; white-space:nowrap; }
.up-ev .progress { height:7px; background:#f1f5f9; border-radius:99px; }
.up-ev .progress-bar { background:#14b8a6; border-radius:99px; }
.up-ev .pct { font-size:12px; color:#64748b; white-space:nowrap; }

.skel { position:relative; overflow:hidden; background:#eef2f6; border-radius:8px; color:transparent !important; }
.skel::after { content:''; position:absolute; inset:0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation:skel 1.2s infinite; }
@keyframes skel { from { transform:translateX(-100%);} to { transform:translateX(100%);} }

/* ══════════ ФОРМА ПОДІЇ: WYSIWYG-редактор, теги, афіша (event_edit.php) ══════════ */
/* власний редактор (перенесено з arm event.php, акцент — teal кабінету) */
.ev-editor-wrap { border:1px solid #e0e6ed; border-radius:8px; overflow:hidden; background:#fff; }
.ev-editor-toolbar { display:flex; flex-wrap:wrap; gap:2px; padding:6px 8px; background:#f8fafc; border-bottom:1px solid #e0e6ed; }
.ev-editor-toolbar button { background:none; border:1px solid transparent; border-radius:4px; width:30px; height:28px; cursor:pointer; color:#475569; font-size:13px; display:inline-flex; align-items:center; justify-content:center; transition:all .1s; padding:0; }
.ev-editor-toolbar button:hover, .ev-editor-toolbar button.active { background:#ccfbf1; color:#0f766e; border-color:#99f6e4; }
.ev-editor-toolbar .ev-tb-sep { width:1px; height:20px; background:#e0e6ed; margin:0 4px; align-self:center; }
.ev-editor-body { min-height:220px; max-height:500px; overflow-y:auto; padding:10px 12px; font-size:14px; line-height:1.6; color:#1e293b; outline:none; }
.ev-editor-body:empty:before { content:attr(data-placeholder); color:#94a3b8; pointer-events:none; }
.ev-editor-body p { margin:0 0 8px; }
.ev-editor-body ul, .ev-editor-body ol { margin:0 0 8px; padding-left:24px; }
.ev-editor-body a { color:#0f766e; }
.ev-editor-body h3 { font-size:16px; font-weight:700; margin:0 0 8px; }

/* теги-pills (стилістика arm) */
.ev-ms-wrap { border:1px solid #e0e6ed; border-radius:8px; padding:6px 8px; background:#fff; display:flex; flex-wrap:wrap; gap:6px; align-items:center; cursor:text; min-height:38px; }
.ev-ms-wrap:focus-within { border-color:#14b8a6; }
.ev-tag-pill { display:inline-flex; align-items:center; gap:4px; background:#ccfbf1; color:#0f766e; font-size:12px; font-weight:500; padding:3px 8px 3px 10px; border-radius:12px; white-space:nowrap; }
.ev-tag-pill .ev-tag-x { cursor:pointer; font-size:14px; line-height:1; color:#0d9488; border-radius:50%; width:16px; height:16px; display:inline-flex; align-items:center; justify-content:center; }
.ev-tag-pill .ev-tag-x:hover { background:#99f6e4; color:#0f766e; }
.ev-ms-input { border:none; outline:none; font-size:13px; color:#1e293b; flex:1; min-width:100px; padding:2px 0; background:transparent; }
.ev-ms-input::placeholder { color:#94a3b8; }

.poster-box { border:1px dashed #cbd5e1; border-radius:12px; padding:10px; text-align:center; background:#f8fafc; }
.poster-box img { max-width:100%; max-height:320px; border-radius:8px; }

/* ══════════ КОНСТРУКТОР ШАБЛОНУ ЗАЛУ (hall_editor.php) ══════════ */
.he-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 16px; }
@media (max-width: 991.98px) { .he-wrap { grid-template-columns: 1fr; } }
.he-canvas-card { background: #fff; border: 1px solid #eef0f4; border-radius: 14px; overflow: hidden; position: relative; }
.he-canvas-scroll { overflow: auto; max-height: 78vh; }
#heSvg { display: block; cursor: crosshair; user-select: none; }
#heSvg .cellbg { fill: transparent; stroke: #eef2f6; stroke-width: 1; }
#heSvg text.seatnum { font-size: 8px; fill: #fff; font-weight: 700; text-anchor: middle; pointer-events: none; }
#heSvg text.rowlab { font-size: 9px; fill: #94a3b8; text-anchor: end; pointer-events: none; }
#heSvg .picked { stroke: #0f172a; stroke-width: 2.5; }
.he-zoom { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 5; }
.he-zoom button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #334155; }
.he-panel .card { border: 1px solid #eef0f4; border-radius: 14px; }
.he-tab { flex: 1; }
.he-tab.active { background: #14b8a6 !important; border-color: #14b8a6 !important; color: #fff !important; }
.he-colors { display: flex; flex-wrap: wrap; gap: 7px; }
.he-color { width: 30px; height: 30px; border-radius: 8px; cursor: pointer; border: 2px solid transparent; position: relative; }
.he-color.fan { border-radius: 50%; }
.he-color.active { border-color: #0f172a; }
.he-color.active::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.he-tool { width: 38px; height: 34px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #475569; }
.he-tool.active { background: #ccfbf1; border-color: #14b8a6; color: #0f766e; }
.he-legend { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 14px; border-top: 1px solid #f1f5f9; font-size: 12.5px; }
.he-legend .b { display: inline-flex; align-items: center; gap: 6px; }
.he-legend .sw { width: 20px; height: 14px; border-radius: 4px; display: inline-block; color: #fff; font-size: 10px; font-weight: 700; text-align: center; line-height: 14px; }

/* ══════════ КВИТКИ ПОДІЇ: групи, зал, квота-дропдаун (hall_fill.php) ══════════ */
.hf-grid { display: grid; grid-template-columns: 1fr 460px; gap: 16px; align-items: start; }
/* без залу — панель квитків на всю ширину, як звичайна таблиця розділу */
.hf-grid.no-hall { grid-template-columns: 1fr; }
.hf-grid.no-hall .hf-row { padding-left: 12px; }
@media (max-width: 1199.98px) { .hf-grid, .hf-grid.no-hall { grid-template-columns: 1fr; } }

.hf-list { max-height: 72vh; overflow: auto; }
/* група (сектор+ціна+квота) */
.hf-g-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-top: 1px solid #eef0f4;
  background: #f8fafc; font-size: 13.5px; cursor: pointer; }
.hf-g-head:hover { background: #f1f5f9; }
.hf-g-head .chev { transition: transform .15s; color: #94a3b8; flex: none; }
.hf-g-head.open .chev { transform: rotate(90deg); }
.hf-g-head .ttl { font-weight: 700; }
.hf-g-head .cnt { color: #64748b; font-size: 12.5px; margin-left: auto; white-space: nowrap; }
.hf-row { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 34px; font-size: 13px; border-top: 1px solid #f6f8fa; }
.hf-row:hover { background: #f8fafc; }
.hf-row.sold { opacity: .55; }
.hf-row .rs { flex: 1; }
.hf-row .pr { width: 78px; text-align: right; font-weight: 600; flex: none; }
.hf-sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; flex: none; }

/* панель дій над вибраним */
#hfBulk { background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 10px; padding: 10px 12px; }
#hfBulk .form-label { font-size: 11.5px; color: #0f766e; margin-bottom: 2px; font-weight: 600; }

.hf-canvas { background: #fff; border: 1px solid #eef0f4; border-radius: 14px; overflow: auto; max-height: 80vh; }
#hfSvgBox svg { display: block; width: 100%; height: auto; user-select: none; }
#hfSvgBox [zone][row][seat] { cursor: pointer; }
#hfSvgBox .hf-sel { stroke: #f59e0b !important; stroke-width: 3 !important; }
.hf-legend { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 14px; border-top: 1px solid #f1f5f9; font-size: 12.5px; }
.hf-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 4px; vertical-align: -1px; }

.qd { position: relative; }
/* fixed — щоб меню не обрізалось overflow:hidden карток */
.qd-menu { position: fixed; z-index: 1060; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 10px; box-shadow: 0 8px 24px rgba(16,24,40,.18); min-width: 260px; padding: 8px; display: none;
  max-height: 320px; overflow: auto; }
.qd-menu.show { display: block; }
.qd-menu .form-check { padding: 3px 4px 3px 28px; font-size: 13px; }

/* ══════════ КАСА (частина стилів залу — stadium-css.css, НЕ тут) (kasa.php) ══════════ */
#stadium-container { min-height: 560px; background: #fff; }
.kasa-cart .cart-items ul { list-style: none; margin: 0; padding: 0; }
.kasa-cart .cart-items li { display: flex; justify-content: space-between; align-items: flex-start;
  gap: 8px; padding: 10px 2px; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.kasa-cart .cart-items li:last-child { border-bottom: 0; }
.kasa-cart .ticket-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.kasa-cart .event-name { font-weight: 600; color: #0f172a; }
.kasa-cart .event-datetime { color: #94a3b8; font-size: 12px; }
.kasa-cart .seat-info { color: #475569; }
.kasa-cart .ticket-price { font-weight: 700; color: #0f172a; }
.kasa-cart .remove-ticket { cursor: pointer; color: #dc2626; font-size: 18px; line-height: 1;
  padding: 2px 6px; border-radius: 6px; flex: none; }
.kasa-cart .remove-ticket:hover { background: #fef2f2; }
.timer-section { display: none; background: #fffbeb; color: #b45309; border-radius: 8px;
  padding: 6px 10px; font-size: 13px; font-weight: 600; text-align: center; margin-bottom: 8px; }
#timerWarning { display: none; }

/* ── КАСА: картки квитків «як у віджеті» (порт з widget index.php) ── */
.ticket-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.1);
  margin: 16px; border: 1px solid #e1e5e9; transition: box-shadow .2s ease; }
.ticket-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.ticket-content { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ticket-info { flex: 1; }
.ticket-title { font-size: 17px; font-weight: 600; color: #1a1a1a; display: block; }
.ticket-price { flex-shrink: 0; margin-right: 20px; }
.price-amount { font-size: 18px; font-weight: 700; color: #14b8a6; }
.ticket-action { flex-shrink: 0; }
.btn-add-ticket { background-color: #14b8a6; color: #fff; border: none; padding: 11px 24px;
  font-size: 15px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: background-color .2s; min-width: 100px; }
.btn-add-ticket:hover { background-color: #0d9488; }
.btn-add-ticket:disabled { background: #cbd5e1; cursor: not-allowed; }

/* легенда каси: ціни зон + статуси */
.kasa-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 10px 14px; border-top: 1px solid #f1f5f9; font-size: 12.5px; }
.kasa-price-chip { display: inline-block; color: #fff; font-weight: 700; font-size: 12px;
  padding: 3px 10px; border-radius: 6px; margin-right: 4px; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.kasa-st { color: #64748b; display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; }
.kasa-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.1); }

/* ── ВЛАСНІ SELECT-КОМПОНЕНТИ (js/org-select.js) ── */
.os-single, .os-multi { display: block; }
.os-control { width: 100%; text-align: left; background: #fff; border: 1px solid #e2e8f0;
  border-radius: 8px; padding: 7px 12px; font-size: 14px; color: #0f172a; display: flex;
  align-items: center; gap: 8px; cursor: pointer; min-height: 38px; }
.os-control:hover { border-color: #cbd5e1; }
.os-control .os-ph { color: #94a3b8; }
.os-control .os-chev { margin-left: auto; color: #94a3b8; font-size: 12px; }
.form-control-sm ~ .os-control, .os-sm .os-control { padding: 5px 10px; font-size: 13px; min-height: 31px; }

.os-tagbox { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #fff;
  border: 1px solid #e2e8f0; border-radius: 8px; padding: 6px 8px; min-height: 38px; cursor: text; }
.os-tagbox:focus-within { border-color: #14b8a6; }
.os-tag { display: inline-flex; align-items: center; gap: 4px; background: #ccfbf1; color: #0f766e;
  font-size: 12px; font-weight: 500; padding: 3px 8px 3px 10px; border-radius: 12px; white-space: nowrap; }
.os-tag-x { cursor: pointer; font-size: 14px; line-height: 1; color: #0d9488; border-radius: 50%;
  width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; }
.os-tag-x:hover { background: #99f6e4; color: #0f766e; }
.os-taginput { border: none; outline: none; font-size: 13px; color: #1e293b; flex: 1; min-width: 90px; padding: 2px 0; background: transparent; }
.os-taginput::placeholder { color: #94a3b8; }

.os-menu { position: fixed; z-index: 1080; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 10px; box-shadow: 0 8px 28px rgba(16,24,40,.16); display: none;
  max-height: 320px; overflow: hidden; flex-direction: column; }
.os-menu.show { display: flex; }
.os-search { border: none; border-bottom: 1px solid #f1f5f9; outline: none; padding: 9px 12px; font-size: 13px; }
.os-list { overflow: auto; max-height: 260px; padding: 4px; }
.os-opt { padding: 7px 12px; font-size: 13.5px; color: #334155; cursor: pointer; border-radius: 6px; }
.os-opt:hover { background: #f1f5f9; }
.os-opt.sel { background: #ccfbf1; color: #0f766e; font-weight: 600; }
.os-empty { padding: 10px 12px; font-size: 13px; color: #94a3b8; text-align: center; }
