
    /* ============================================================
       RESET & VARIABLES
       ============================================================ */
    :root {
      --orange: #F0A000;
      --orange-light: #F5B830;
      --orange-dark: #D08800;
      --teal: #4EC8C5;
      --dark: #1A1A1A;
      --darker: #111111;
      --white: #FFFFFF;
      --gray-100: #F8F8F8;
      --gray-200: #F0F0F0;
      --gray-300: #E0E0E0;
      --text-dark: #222222;
      --text-muted: #666666;
      --radius-sm: 6px;
      --radius-md: 12px;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
      --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
      --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { font-size: 16px; }
    body { font-family: var(--font); color: var(--text-dark); background: #f5f5f5; line-height: 1.6; }
    a { text-decoration: none; color: inherit; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }

    /* ============================================================
       LAYOUT
       ============================================================ */
    .admin { min-height: 100vh; display: flex; }

    /* Sidebar */
    .sidebar {
      background: var(--dark);
      color: #fff;
      width: 260px;
      position: fixed;
      top: 0; left: 0; bottom: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 32px 20px;
      z-index: 100;
      overflow-y: auto;
    }
    .sidebar__logo {
      font-size: 1.4rem;
      font-weight: 900;
      display: block;
      margin-bottom: 0.5rem;
    }
    .sidebar__logo .dot { color: var(--orange); }
    .sidebar__badge {
      display: inline-block;
      background: rgba(240,160,0,0.2);
      color: var(--orange);
      font-size: 0.65rem;
      font-weight: 800;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 3px 10px;
      border-radius: 12px;
      margin-bottom: 2.5rem;
    }
    .sidebar__nav { display: flex; flex-direction: column; gap: 4px; }
    .sidebar__nav-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-radius: 8px;
      color: rgba(255,255,255,0.6);
      font-size: 0.9rem;
      font-weight: 500;
      transition: all 0.2s;
      cursor: pointer;
    }
    .sidebar__nav-item:hover { color: #fff; background: rgba(255,255,255,0.06); }
    .sidebar__nav-item--active { color: #fff; background: rgba(240,160,0,0.15); font-weight: 600; }
    .sidebar__nav-item--active svg { stroke: var(--orange); }
    .sidebar__group { margin: 2px 0; }
    .sidebar__group-toggle {
      display: flex; align-items: center; gap: 12px;
      padding: 12px 16px; border-radius: 8px; width: 100%;
      color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 500;
      background: none; border: none; cursor: pointer; font-family: inherit;
      transition: all 0.2s;
    }
    .sidebar__group-toggle:hover { color: #fff; background: rgba(255,255,255,0.06); }
    .sidebar__group-toggle .chevron { margin-left: auto; transition: transform 0.2s; }
    .sidebar__group--open .sidebar__group-toggle .chevron { transform: rotate(90deg); }
    .sidebar__group--open .sidebar__group-toggle { color: #fff; }
    .sidebar__group-items { display: none; padding-left: 20px; }
    .sidebar__group--open .sidebar__group-items { display: flex; flex-direction: column; gap: 2px; }
    .sidebar__group-items .sidebar__nav-item { padding: 8px 16px; font-size: 0.85rem; }
    .sidebar__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
    .sidebar__user { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
    .sidebar__logout {
      display: flex; align-items: center; gap: 8px;
      color: rgba(255,255,255,0.55); font-size: 0.85rem; padding: 10px 0;
      font-family: inherit; transition: color 0.2s;
    }
    .sidebar__logout:hover { color: #ff6b6b; }

    /* Main */
    .main { margin-left: 260px; padding: 40px 48px; flex: 1; min-width: 0; min-height: 100vh; }

    /* Panels */
    .panel { display: none; }
    .panel.active { display: block; }

    /* ============================================================
       COMMON COMPONENTS
       ============================================================ */
    .page-title { font-size: 1.8rem; font-weight: 900; color: var(--dark); margin-bottom: 0.5rem; }
    .page-title span { color: var(--orange); }
    .page-subtitle { color: #777; font-size: 0.9rem; margin-bottom: 2rem; }

    /* Cards */
    .card {
      background: #fff;
      border-radius: var(--radius-md);
      padding: 28px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.06);
      border: 1px solid #eee;
    }
    .card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; }
    .card h3 svg { stroke: var(--orange); }

    /* Stat cards */
    .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 2rem; }
    .stat-card { background: #fff; border-radius: var(--radius-md); padding: 24px; border: 1px solid #eee; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
    .stat-card__label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #999; margin-bottom: 6px; }
    .stat-card__value { font-size: 2rem; font-weight: 900; color: var(--dark); }
    .stat-card__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
    .stat-card__icon--orange { background: rgba(240,160,0,0.12); }
    .stat-card__icon--teal { background: rgba(78,200,197,0.12); }
    .stat-card__icon--green { background: rgba(34,197,94,0.12); }
    .stat-card__icon--red { background: rgba(239,68,68,0.12); }

    .content-kpi-card { margin-bottom: 2rem; }
    .content-kpi-card__header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 1rem;
    }
    .content-kpi-card__header h3 { margin-bottom: 0.35rem; }
    .content-kpi-card__header p { color: #777; font-size: 0.9rem; max-width: 760px; }
    .content-kpi-card__actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .content-kpi-card__summary {
      font-size: 0.9rem;
      color: #5f6368;
      margin-bottom: 1rem;
    }
    .content-kpi-badge {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      font-size: 0.76rem;
      font-weight: 800;
      border: 1px solid #e5e7eb;
      background: #f9fafb;
      color: #475569;
    }
    .content-kpi-badge--ready {
      background: #dcfce7;
      border-color: #bbf7d0;
      color: #166534;
    }
    .content-kpi-badge--partial {
      background: #fff7ed;
      border-color: #fed7aa;
      color: #c2410c;
    }
    .content-kpi-badge--tracking {
      background: #eff6ff;
      border-color: #bfdbfe;
      color: #1d4ed8;
    }
    .content-kpi-badge--idle {
      background: #f3f4f6;
      border-color: #e5e7eb;
      color: #6b7280;
    }
    .content-kpi-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
      gap: 12px;
      margin-bottom: 1rem;
    }
    .content-kpi-item {
      border: 1px solid #efe7d2;
      background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
      border-radius: 16px;
      padding: 14px 16px;
    }
    .content-kpi-item__label {
      display: block;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 1.1px;
      font-weight: 800;
      color: #9b7a2c;
      margin-bottom: 6px;
    }
    .content-kpi-item__value {
      display: block;
      font-size: 1.45rem;
      font-weight: 900;
      color: var(--dark);
      line-height: 1;
      margin-bottom: 4px;
    }
    .content-kpi-item__hint {
      color: #8a8a8a;
      font-size: 0.78rem;
      line-height: 1.45;
    }
    .content-kpi-panels {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }
    .content-kpi-panel {
      border: 1px solid #f0f0f0;
      border-radius: 18px;
      padding: 16px;
      background: #fff;
    }
    .content-kpi-panel h4 {
      font-size: 0.95rem;
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 12px;
    }
    .content-kpi-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .content-kpi-row {
      border: 1px solid #f1f1f1;
      border-radius: 14px;
      padding: 12px 14px;
      background: #fcfcfc;
    }
    .content-kpi-row__title {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 6px;
      line-height: 1.45;
    }
    .content-kpi-row__meta {
      color: #7a7a7a;
      font-size: 0.78rem;
      line-height: 1.45;
      margin-bottom: 8px;
    }
    .content-kpi-row__stats {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .content-kpi-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 999px;
      background: #f6f7fb;
      border: 1px solid #e7ebf3;
      color: #42526b;
      font-size: 0.75rem;
      font-weight: 700;
      white-space: nowrap;
    }
    .content-kpi-pill--pending {
      background: #eff6ff;
      border-color: #bfdbfe;
      color: #1d4ed8;
    }
    .content-kpi-pill--captured {
      background: #dcfce7;
      border-color: #bbf7d0;
      color: #166534;
    }
    .content-kpi-pill--warning {
      background: #fff7ed;
      border-color: #fed7aa;
      color: #c2410c;
    }
    .content-kpi-pill--danger {
      background: #fef2f2;
      border-color: #fecaca;
      color: #b91c1c;
    }
    .content-kpi-empty {
      color: #999;
      font-size: 0.85rem;
      text-align: center;
      padding: 24px 10px;
    }

    .usage-card { margin-bottom: 2rem; }
    .usage-card__header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 1rem;
    }
    .usage-card__header h3 { margin-bottom: 0.35rem; }
    .usage-card__header p { color: #777; font-size: 0.9rem; max-width: 760px; }
    .usage-card__kpis {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
      gap: 12px;
      margin-bottom: 1rem;
    }
    .usage-kpi {
      border: 1px solid #f0e7d0;
      background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
      border-radius: 14px;
      padding: 14px 16px;
    }
    .usage-kpi__label {
      display: block;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 1.2px;
      font-weight: 700;
      color: #9b7a2c;
      margin-bottom: 6px;
    }
    .usage-kpi__value {
      display: block;
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--dark);
      line-height: 1;
      margin-bottom: 4px;
    }
    .usage-kpi__hint { color: #8a8a8a; font-size: 0.78rem; }
    .usage-card__status { color: #7a7a7a; font-size: 0.85rem; margin-bottom: 1rem; }
    .call-dashboard-card { margin-bottom: 2rem; }
    .call-dashboard-card__header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 1rem;
    }
    .call-dashboard-card__header h3 { margin-bottom: 0.35rem; }
    .call-dashboard-card__header p { color: #777; font-size: 0.9rem; max-width: 760px; }
    .call-dashboard-card__summary { color: #6b7280; font-size: 0.9rem; margin-bottom: 1rem; }
    .call-dashboard-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }
    .call-dashboard-panel {
      border: 1px solid #ececec;
      border-radius: 18px;
      padding: 18px;
      background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    }
    .call-dashboard-panel__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 0.8rem;
    }
    .call-dashboard-panel__top h4 { margin: 0 0 4px; font-size: 1rem; color: var(--dark); }
    .call-dashboard-panel__top p { margin: 0; color: #7a7a7a; font-size: 0.84rem; line-height: 1.5; }
    .call-dashboard-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      padding: 6px 10px;
      font-size: 0.76rem;
      font-weight: 800;
      white-space: nowrap;
      border: 1px solid transparent;
    }
    .call-dashboard-badge--ready { background: #ecfdf5; color: #047857; border-color: #bbf7d0; }
    .call-dashboard-badge--partial { background: #fffbeb; color: #b45309; border-color: #fde68a; }
    .call-dashboard-badge--idle { background: #f4f4f5; color: #52525b; border-color: #e4e4e7; }
    .call-dashboard-meta { color: #6b7280; font-size: 0.8rem; line-height: 1.5; margin-bottom: 0.9rem; }
    .call-dashboard-kpis {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 0.9rem;
    }
    .call-dashboard-kpi {
      border-radius: 14px;
      border: 1px solid #ececec;
      background: #fff;
      padding: 14px;
    }
    .call-dashboard-kpi__label {
      display: block;
      color: #8b8b8b;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 6px;
    }
    .call-dashboard-kpi__value {
      display: block;
      color: var(--dark);
      font-size: 1.5rem;
      font-weight: 900;
      line-height: 1;
    }
    .call-dashboard-note { color: #666; font-size: 0.84rem; line-height: 1.6; margin-bottom: 0.9rem; }
    .call-dashboard-list { display: flex; flex-direction: column; gap: 10px; }
    .call-dashboard-item {
      border-radius: 14px;
      background: #fff;
      border: 1px solid #ececec;
      padding: 12px 14px;
    }
    .call-dashboard-item strong { display: block; color: var(--dark); font-size: 0.92rem; margin-bottom: 4px; }
    .call-dashboard-item p { margin: 0; color: #666; font-size: 0.82rem; line-height: 1.5; }
    .call-dashboard-item__row {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: center;
      margin-bottom: 4px;
    }
    .call-dashboard-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: #f4f4f5;
      color: #52525b;
      padding: 4px 9px;
      font-size: 0.72rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }
    .call-dashboard-pill--success { background: #ecfdf5; color: #047857; }
    .call-dashboard-pill--warn { background: #fffbeb; color: #b45309; }
    .call-dashboard-pill--danger { background: #fef2f2; color: #b91c1c; }
    .call-dashboard-empty {
      border-radius: 14px;
      border: 1px dashed #d4d4d8;
      padding: 18px;
      color: #777;
      font-size: 0.86rem;
      background: #fafafa;
      text-align: center;
    }
    .usage-card__filters {
      display: grid;
      grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 1fr)) auto;
      gap: 10px;
      margin-bottom: 1rem;
    }
    .usage-filter,
    .usage-filter-select {
      width: 100%;
      min-height: 44px;
      border-radius: 10px;
      border: 1px solid #e3e5ea;
      background: #fff;
      color: var(--text-dark);
      padding: 0 14px;
      font-size: 0.9rem;
      font-family: inherit;
    }
    .usage-filter:focus,
    .usage-filter-select:focus {
      outline: none;
      border-color: rgba(240,160,0,0.65);
      box-shadow: 0 0 0 3px rgba(240,160,0,0.12);
    }
    .usage-filter-reset {
      white-space: nowrap;
      justify-content: center;
    }
    .usage-client-cell { min-width: 240px; }
    .usage-client-name { font-weight: 700; color: var(--dark); }
    .usage-client-meta { color: #808080; font-size: 0.82rem; }
    .usage-service-list { display: flex; flex-wrap: wrap; gap: 6px; }
    .usage-provider-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }
    .usage-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      background: #f6f7fb;
      border: 1px solid #e7ebf3;
      color: #42526b;
      font-size: 0.76rem;
      font-weight: 700;
      white-space: nowrap;
    }
    .usage-pill__count {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 18px;
      height: 18px;
      border-radius: 999px;
      background: rgba(240,160,0,0.16);
      color: #a66b00;
      font-size: 0.68rem;
      font-weight: 800;
      padding: 0 5px;
    }
    .usage-pill--provider {
      background: #eef6ff;
      border-color: #d8e7fb;
      color: #1f4f86;
    }
    .usage-metric {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 120px;
    }
    .usage-metric strong { color: var(--dark); font-size: 1rem; }
    .usage-metric span { color: #8a8a8a; font-size: 0.8rem; }
    .usage-metric__sub {
      color: #5d6a7f;
      font-size: 0.78rem;
      font-weight: 600;
    }
    .usage-empty {
      color: #999;
      font-size: 0.85rem;
    }

    /* Table */
    .table-wrap { overflow-x: auto; }
    table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
    th { text-align: left; padding: 12px 16px; font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: #999; border-bottom: 2px solid #eee; }
    td { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; color: #555; }
    tr:hover td { background: #fafafa; }
    .badge { display: inline-block; font-size: 0.7rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; letter-spacing: 0.5px; }
    .badge--success { background: rgba(34,197,94,0.12); color: #16a34a; }
    .badge--failed { background: rgba(239,68,68,0.12); color: #dc2626; }
    .badge--running { background: rgba(240,160,0,0.12); color: #D08800; }
    .badge--admin { background: rgba(139,92,246,0.12); color: #7c3aed; }
    .badge--warning { background: rgba(59,130,246,0.12); color: #1d4ed8; }

    /* Buttons */
    .btn-primary {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 32px;
      background: linear-gradient(135deg, var(--orange), var(--orange-dark));
      color: #fff; border: none; border-radius: 10px;
      font-size: 0.95rem; font-weight: 700; font-family: inherit;
      cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
    }
    .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(240,160,0,0.3); }
    .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

    .btn-secondary {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 10px 20px;
      background: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
      font-size: 0.85rem; font-weight: 600; color: #555;
      cursor: pointer; transition: all 0.2s;
    }
    .btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

    /* Forms */
    .form-section { margin-bottom: 2rem; }
    .form-section__title {
      font-size: 0.8rem; font-weight: 800; text-transform: uppercase;
      letter-spacing: 1.5px; color: var(--orange); margin-bottom: 1rem;
      padding-bottom: 8px; border-bottom: 2px solid rgba(240,160,0,0.2);
    }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-group { margin-bottom: 14px; }
    .form-group label {
      display: block; font-size: 0.78rem; font-weight: 600;
      color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
    }
    .form-input {
      width: 100%; padding: 12px 16px;
      border: 1px solid #e0e0e0; border-radius: 8px;
      font-size: 0.9rem; font-family: inherit;
      color: var(--dark); background: #fafafa;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .form-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,160,0,0.1); background: #fff; }
    .form-input::placeholder { color: #bbb; }
    select.form-input { cursor: pointer; }
    .form-full { grid-column: 1 / -1; }
    .form-hint { font-size: 0.75rem; color: #aaa; margin-top: 4px; }
    .provisioning-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
    .provisioning-option {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 14px 16px; border: 1px solid #ececec; border-radius: 12px;
      background: #fff;
    }
    .provisioning-option input[type="checkbox"] {
      width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange);
      flex-shrink: 0;
    }
    .provisioning-option strong { display: block; font-size: 0.92rem; color: var(--dark); }
    .provisioning-option span { display: block; font-size: 0.78rem; color: #7b7b7b; line-height: 1.5; }
    .provisioning-option--locked { background: #fff8e8; border-color: rgba(240,160,0,0.28); }
    .provisioning-option--locked input[type="checkbox"] { pointer-events: none; }

    .action-stack { display: flex; flex-wrap: wrap; gap: 8px; }
    .action-btn {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 6px 10px; border-radius: 8px; border: 1px solid transparent;
      font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.2s;
      background: #fff;
    }
    .action-btn:hover { transform: translateY(-1px); }
    .action-btn--view { border-color: #bfdbfe; background: #dbeafe; color: #1e40af; }
    .action-btn--ghost { border-color: #fde68a; background: #fff8e8; color: #92400e; }
    .action-btn--ok { border-color: #bbf7d0; background: #dcfce7; color: #166534; }
    .action-btn--dark { border-color: #d1d5db; background: #f9fafb; color: #111827; }
    .action-btn--warn { border-color: #fde68a; background: #fef3c7; color: #92400e; }
    .action-btn--danger { border-color: #fecaca; background: #fee2e2; color: #991b1b; }
    .action-btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
    .review-queue { margin-bottom: 20px; }
    .review-queue__header {
      display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
      margin-bottom: 18px;
    }
    .review-queue__header h3 {
      margin: 0 0 6px; font-size: 1.1rem; color: var(--dark);
    }
    .review-queue__header p {
      margin: 0; color: #7b7b7b; font-size: 0.9rem; line-height: 1.5;
    }
    .review-queue__count {
      display: inline-flex; align-items: center; justify-content: center;
      min-width: 40px; height: 40px; padding: 0 14px;
      border-radius: 999px; background: #fff8e8; color: #92400e;
      font-weight: 800; font-size: 0.95rem; border: 1px solid rgba(240,160,0,0.2);
    }
    .review-queue__list {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px;
    }
    .review-queue__item {
      border: 1px solid #ececec; border-radius: 16px; background: #fff;
      padding: 16px; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    }
    .review-queue__item h4 {
      margin: 0; font-size: 1rem; color: var(--dark);
    }
    .review-queue__item p {
      margin: 4px 0 0; color: #7b7b7b; font-size: 0.88rem; line-height: 1.5;
    }
    .review-queue__meta {
      display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px;
    }
    .review-queue__links {
      display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px;
    }
    .review-queue__links a {
      color: var(--orange); font-weight: 700; font-size: 0.85rem; text-decoration: none;
    }
    .review-queue__links a:hover { text-decoration: underline; }
    .review-queue__empty {
      padding: 18px 16px; border-radius: 14px; background: #fafafa; color: #8a8a8a;
      border: 1px dashed #e2e2e2; font-size: 0.92rem;
    }
    .quality-board { margin-bottom: 20px; }
    .quality-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 14px;
    }
    .quality-card {
      border: 1px solid #ececec;
      border-radius: 16px;
      padding: 14px;
      background: #fff;
      box-shadow: 0 10px 30px rgba(15,23,42,0.05);
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .quality-card__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .quality-card__title { font-weight: 700; color: #1a1a1a; }
    .quality-card__meta { color: #777; font-size: 0.85rem; }
    .quality-card__score {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 0.8rem;
      background: #f5f5f5;
      color: #111;
      border: 1px solid #e5e5e5;
    }
    .quality-card__score .score-dot {
      width: 10px; height: 10px; border-radius: 999px; display: inline-block;
    }
    .quality-card__score--a { background: #ecfdf3; border-color: #bbf7d0; color: #166534; }
    .quality-card__score--b { background: #f0f9ff; border-color: #bae6fd; color: #075985; }
    .quality-card__score--c { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
    .quality-card__score--d { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
    .quality-card__score--pending { background: #f3f4f6; border-color: #e5e7eb; color: #6b7280; }
    .quality-card__score .score-dot--a { background: #22c55e; }
    .quality-card__score .score-dot--b { background: #0ea5e9; }
    .quality-card__score .score-dot--c { background: #f97316; }
    .quality-card__score .score-dot--d { background: #ef4444; }
    .quality-card__score .score-dot--pending { background: #9ca3af; }
    .quality-screens {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
    }
    .quality-screens img {
      width: 100%;
      height: 120px;
      object-fit: cover;
      border-radius: 10px;
      border: 1px solid #eee;
    }
    .quality-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .quality-actions .action-btn--primary {
      background: #111827;
      color: #fff;
      border-color: #111827;
    }
    .team-card { margin: 20px 0; }
    .team-card__header {
      display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
      margin-bottom: 16px;
    }
    .team-card__header h3 {
      margin: 0 0 6px; font-size: 1.08rem; color: var(--dark);
    }
    .team-card__header p {
      margin: 0; color: #7b7b7b; font-size: 0.9rem; line-height: 1.5;
    }
    .team-card__count {
      display: inline-flex; align-items: center; justify-content: center;
      min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px;
      background: #eef6ff; color: #1d4ed8; border: 1px solid #bfdbfe; font-weight: 800;
    }
    .team-form {
      display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
      margin-bottom: 16px;
    }
    .team-members {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px;
    }
    .team-member {
      border: 1px solid #ececec; border-radius: 16px; background: #fff;
      padding: 16px; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    }
    .team-member__head {
      display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px;
    }
    .team-member__name {
      margin: 0; font-size: 1rem; color: var(--dark);
    }
    .team-member__email {
      margin: 0 0 12px; color: #6b7280; font-size: 0.88rem; word-break: break-word;
    }
    .team-member__contact {
      margin: 0 0 12px; color: #6b7280; font-size: 0.88rem; word-break: break-word;
    }
    .team-member__meta {
      display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
    }
    .team-member__hint {
      margin: 0 0 12px; color: #7b7b7b; font-size: 0.84rem; line-height: 1.5;
    }
    .team-member__warning {
      margin: 0 0 12px;
      color: #92400e;
      background: #fff7ed;
      border: 1px solid #fed7aa;
      border-radius: 12px;
      padding: 10px 12px;
      font-size: 0.84rem;
      line-height: 1.45;
    }
    .team-member__settings {
      display: none;
      margin-top: 12px;
      padding: 14px;
      border-radius: 14px;
      border: 1px solid #ececec;
      background: #fafafa;
    }
    .team-member__settings.is-open {
      display: block;
    }
    .team-member__settings-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 12px;
    }
    .team-member__toggle {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #4b5563;
      font-size: 0.86rem;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .team-member__settings .action-stack {
      justify-content: flex-end;
    }
    /* ── Droits d'accès équipe ── */
    .perms-card { margin: 20px 0; }
    .perms-card__header {
      display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
      margin-bottom: 16px;
    }
    .perms-card__header h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--dark); }
    .perms-card__header p { margin: 0; color: #7b7b7b; font-size: 0.9rem; line-height: 1.5; }
    .perms-members { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
    .perms-member {
      border: 1px solid #ececec; border-radius: 16px; background: #fff;
      padding: 18px; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    }
    .perms-member__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
    .perms-member__avatar {
      width: 36px; height: 36px; border-radius: 50%; background: var(--orange);
      color: #fff; display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
    }
    .perms-member__info { flex: 1; min-width: 0; }
    .perms-member__name { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--dark); }
    .perms-member__email { margin: 0; font-size: 0.82rem; color: #7b7b7b; word-break: break-word; }
    .perms-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
    .perms-item {
      display: flex; align-items: center; gap: 10px; padding: 8px 10px;
      border-radius: 10px; cursor: pointer; transition: background 0.12s;
    }
    .perms-item:hover { background: #f9fafb; }
    .perms-item input[type="checkbox"] {
      width: 18px; height: 18px; accent-color: var(--orange); cursor: pointer; flex-shrink: 0;
    }
    .perms-item label { cursor: pointer; font-size: 0.88rem; color: #374151; font-weight: 500; }
    .perms-save {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 8px 18px; border-radius: 10px; border: none; cursor: pointer;
      background: var(--orange); color: #fff; font-weight: 700; font-size: 0.85rem;
      transition: opacity 0.15s;
    }
    .perms-save:hover { opacity: 0.85; }
    .perms-save:disabled { opacity: 0.5; cursor: not-allowed; }
    .perms-saved {
      display: inline-flex; align-items: center; gap: 4px;
      color: #16a34a; font-size: 0.82rem; font-weight: 600; margin-left: 8px;
    }
    .perms-empty { color: #7b7b7b; font-size: 0.9rem; padding: 20px 0; }
    .history-toolbar {
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
      margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #f0f0f0;
    }
    .history-toolbar__toggle {
      display: inline-flex; align-items: center; gap: 10px; color: #4b5563;
      font-size: 0.88rem; font-weight: 600; cursor: pointer;
    }
    .history-toolbar__toggle input[type="checkbox"] {
      width: 16px; height: 16px; accent-color: var(--orange);
    }
    .history-toolbar__hint {
      color: #8a8a8a; font-size: 0.82rem;
    }
    .sync-card {
      margin-bottom: 24px;
      border: 1px solid rgba(15, 23, 42, 0.06);
      border-radius: 24px;
      background:
        radial-gradient(circle at top left, rgba(240,160,0,0.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
      box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
    }
    .sync-card__header {
      display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
      margin-bottom: 18px;
    }
    .sync-card__header h3 {
      margin-bottom: 6px;
    }
    .sync-card__header p {
      color: #7b7b7b; font-size: 0.9rem;
    }
    .sync-card__controls {
      display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    }
    .sync-card__status {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 8px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 800;
      background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb;
    }
    .sync-card__status::before {
      content: '';
      width: 8px; height: 8px; border-radius: 50%; background: currentColor;
      opacity: 0.9;
    }
    .sync-card__status--ok { background: #ecfdf5; color: #047857; border-color: #bbf7d0; }
    .sync-card__status--warn { background: #fffbeb; color: #b45309; border-color: #fde68a; }
    .sync-card__status--error { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
    .sync-card__meta {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px;
      margin-bottom: 18px;
    }
    .sync-card__meta-item {
      border: 1px solid rgba(226, 232, 240, 0.85);
      border-radius: 16px;
      padding: 14px 16px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
    }
    .sync-card__meta-label {
      display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
      text-transform: uppercase; color: #9ca3af; margin-bottom: 6px;
    }
    .sync-card__meta-value {
      font-size: 0.95rem; font-weight: 700; color: var(--dark); line-height: 1.5;
    }
    .sync-card__grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 18px;
      align-items: start;
    }
    .sync-card__panel {
      border: 1px solid rgba(226, 232, 240, 0.85);
      border-radius: 18px;
      padding: 18px;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.98) 100%);
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
    }
    .sync-card__panel h4 {
      margin-bottom: 10px; font-size: 0.95rem; font-weight: 800; color: var(--dark);
    }
    .sync-card__panel--calendar {
      padding: 20px;
    }
    .sync-card__panel--rail {
      padding: 20px;
    }
    .sync-card__list {
      display: flex; flex-direction: column; gap: 12px;
    }
    .sync-card__panel--rail .sync-card__list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 12px;
    }
    .sync-card__list--empty {
      min-height: 220px;
      justify-content: center;
    }
    .sync-card__panel--rail .sync-card__list--empty {
      min-height: 0;
    }
    .sync-card__item {
      padding: 13px 14px;
      border-radius: 14px;
      background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
      border: 1px solid #eef2f7;
      box-shadow: 0 10px 18px rgba(15, 23, 42, 0.035);
    }
    .sync-card__item strong {
      display: block; font-size: 0.9rem; color: var(--dark); margin-bottom: 4px;
    }
    .sync-card__item p {
      margin: 0; font-size: 0.82rem; color: #6b7280; line-height: 1.5;
    }
    .sync-card__item-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 10px 0;
    }
    .sync-card__item-meta span {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid #e2e8f0;
      background: #fff;
      color: #475569;
      font-size: 0.72rem;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
    }
    .sync-card__empty {
      padding: 14px; border-radius: 12px; border: 1px dashed #e5e7eb;
      background: #fafafa; color: #8a8a8a; font-size: 0.88rem;
    }
    .sync-kpi-board {
      margin-top: 18px;
      border: 1px solid rgba(226, 232, 240, 0.85);
      border-radius: 18px;
      padding: 18px;
      background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.98) 100%);
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
    }
    .sync-kpi-board__header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }
    .sync-kpi-board__header h4 {
      margin: 0;
      font-size: 1rem;
      font-weight: 900;
      color: var(--dark);
    }
    .sync-kpi-board__header p {
      margin: 4px 0 0;
      color: #64748b;
      font-size: 0.86rem;
      line-height: 1.5;
    }
    .sync-kpi-board__metrics {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 12px;
      margin-bottom: 16px;
    }
    .sync-kpi-board__metric {
      border: 1px solid #eef2f7;
      border-radius: 16px;
      padding: 14px 16px;
      background: #fff;
      box-shadow: 0 10px 18px rgba(15, 23, 42, 0.035);
    }
    .sync-kpi-board__metric-label {
      display: block;
      margin-bottom: 6px;
      font-size: 0.74rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #94a3b8;
    }
    .sync-kpi-board__metric-value {
      font-size: 1.6rem;
      font-weight: 900;
      color: var(--dark);
      line-height: 1;
      margin-bottom: 6px;
    }
    .sync-kpi-board__metric-copy {
      color: #64748b;
      font-size: 0.82rem;
      line-height: 1.45;
    }
    .sync-kpi-board__table-wrap {
      overflow-x: auto;
      border: 1px solid #eef2f7;
      border-radius: 16px;
      background: #fff;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
    }
    .sync-kpi-board__table {
      width: 100%;
      border-collapse: collapse;
      min-width: 860px;
    }
    .sync-kpi-board__table th,
    .sync-kpi-board__table td {
      padding: 14px 16px;
      text-align: left;
      border-bottom: 1px solid #eef2f7;
      vertical-align: top;
    }
    .sync-kpi-board__table th {
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #94a3b8;
      font-weight: 900;
      background: rgba(248, 250, 252, 0.9);
    }
    .sync-kpi-board__table td {
      color: #334155;
      font-size: 0.88rem;
      line-height: 1.45;
    }
    .sync-kpi-board__table tr:last-child td {
      border-bottom: none;
    }
    .sync-kpi-board__person {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .sync-kpi-board__person strong {
      color: #0f172a;
      font-size: 0.92rem;
    }
    .sync-kpi-board__muted {
      color: #94a3b8;
      font-size: 0.8rem;
    }
    .sync-kpi-board__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .sync-card__empty--rich {
      padding: 18px;
      border-radius: 18px;
      border: 1px dashed rgba(203, 213, 225, 0.95);
      background:
        radial-gradient(circle at top left, rgba(240,160,0,0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      color: #64748b;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    }
    .sync-card__empty-title {
      display: block;
      margin-bottom: 8px;
      color: #0f172a;
      font-size: 0.95rem;
      font-weight: 900;
    }
    .sync-card__empty-copy {
      margin: 0;
      color: #64748b;
      font-size: 0.84rem;
      line-height: 1.55;
    }
    .sync-card__empty-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }
    .sync-card__empty-pills span {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 11px;
      border-radius: 999px;
      border: 1px solid rgba(226, 232, 240, 0.95);
      background: rgba(255,255,255,0.85);
      color: #475569;
      font-size: 0.75rem;
      font-weight: 800;
    }
    .sync-card__error {
      margin-top: 14px; padding: 12px 14px; border-radius: 12px;
      background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 0.85rem;
    }
    .calendar-widget {
      border: 1px solid rgba(226, 232, 240, 0.9);
      border-radius: 22px;
      background:
        radial-gradient(circle at top left, rgba(240,160,0,0.1), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fcfcfb 100%);
      padding: 20px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    }
    .calendar-widget__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 16px;
    }
    .calendar-widget__title {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .calendar-widget__title strong {
      font-size: 1rem;
      color: var(--dark);
    }
    .calendar-widget__title span {
      font-size: 0.8rem;
      color: #7b7b7b;
    }
    .calendar-widget__nav {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .calendar-widget__nav button {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #374151;
      font-size: 1rem;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.15s, border-color 0.15s;
    }
    .calendar-widget__nav button:hover {
      border-color: rgba(240,160,0,0.45);
      transform: translateY(-1px);
    }
    .calendar-widget__month {
      min-width: 180px;
      text-align: center;
      font-size: 0.95rem;
      font-weight: 800;
      color: var(--dark);
    }
    .calendar-widget__legend {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 14px;
    }
    .calendar-widget__legend span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 0.76rem;
      color: #475569;
      font-weight: 800;
      background: rgba(255,255,255,0.75);
      border: 1px solid rgba(226, 232, 240, 0.9);
    }
    .calendar-widget__legend span::before {
      content: '';
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: currentColor;
    }
    .calendar-widget__legend .calendar-accent--cap { color: #0f766e; }
    .calendar-widget__legend .calendar-accent--therapeute { color: #b45309; }
    .calendar-widget__overview {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 14px;
    }
    .calendar-widget__overview-card {
      border: 1px solid rgba(226, 232, 240, 0.95);
      border-radius: 16px;
      padding: 12px 13px;
      background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,1) 100%);
      box-shadow: 0 10px 20px rgba(15,23,42,0.035);
    }
    .calendar-widget__overview-label {
      display: block;
      margin-bottom: 6px;
      color: #94a3b8;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 0.9px;
      text-transform: uppercase;
    }
    .calendar-widget__overview-value {
      color: #0f172a;
      font-size: 1.15rem;
      font-weight: 900;
      line-height: 1;
    }
    .calendar-widget__overview-copy {
      margin-top: 7px;
      color: #64748b;
      font-size: 0.73rem;
      line-height: 1.4;
    }
    .calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      grid-auto-rows: 164px;
      gap: 12px;
    }
    .calendar-grid__weekday {
      padding: 0 4px 6px;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #9ca3af;
    }
    .calendar-grid__day {
      height: 164px;
      border-radius: 18px;
      border: 1px solid rgba(226, 232, 240, 0.95);
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      box-shadow: 0 12px 24px rgba(15,23,42,0.04);
      cursor: pointer;
      overflow: hidden;
      transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
    }
    .calendar-grid__day:hover {
      transform: translateY(-1px);
      border-color: rgba(240,160,0,0.3);
      box-shadow: 0 12px 24px rgba(15,23,42,0.06);
    }
    .calendar-grid__day--outside {
      background: linear-gradient(180deg, #fcfcfc 0%, #f7f7f7 100%);
      color: #c1c7d0;
      box-shadow: none;
    }
    .calendar-grid__day--has-events {
      border-color: rgba(240,160,0,0.18);
      background: linear-gradient(180deg, #ffffff 0%, rgba(255,249,235,0.45) 100%);
    }
    .calendar-grid__day--today {
      border-color: rgba(240,160,0,0.45);
      background: linear-gradient(180deg, rgba(255,249,235,0.95) 0%, #fff 100%);
    }
    .calendar-grid__day--selected {
      border-color: rgba(15,23,42,0.18);
      box-shadow: 0 16px 30px rgba(15,23,42,0.11);
    }
    .calendar-grid__day-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .calendar-grid__day-number {
      font-size: 0.95rem;
      font-weight: 800;
      color: inherit;
    }
    .calendar-grid__day-count {
      min-width: 24px;
      height: 24px;
      padding: 0 8px;
      border-radius: 999px;
      background: rgba(240,160,0,0.12);
      color: #b45309;
      font-size: 0.72rem;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .calendar-grid__events {
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-height: 0;
      overflow: hidden;
    }
    .calendar-grid__event {
      border-radius: 16px;
      padding: 9px 10px;
      font-size: 0.72rem;
      line-height: 1.3;
      font-weight: 700;
      color: #1f2937;
      background: rgba(255,255,255,0.92);
      border: 1px solid rgba(226,232,240,0.95);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-height: 58px;
    }
    .calendar-grid__event--cap {
      background: linear-gradient(180deg, rgba(15,118,110,0.08) 0%, rgba(255,255,255,0.95) 100%);
      border-color: rgba(15,118,110,0.2);
    }
    .calendar-grid__event--therapeute {
      background: linear-gradient(180deg, rgba(180,83,9,0.08) 0%, rgba(255,255,255,0.95) 100%);
      border-color: rgba(180,83,9,0.2);
    }
    .calendar-grid__event-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .calendar-grid__event-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }
    .calendar-grid__event-time {
      display: inline-flex;
      min-width: 42px;
      font-size: 0.68rem;
      color: #6b7280;
      font-weight: 800;
    }
    .calendar-grid__event-name {
      font-size: 0.82rem;
      font-weight: 800;
      color: #0f172a;
      line-height: 1.15;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      min-width: 0;
      flex: 1;
    }
    .calendar-grid__event-tags {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 4px;
      flex-wrap: wrap;
    }
    .calendar-grid__event-sent {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      height: 20px;
      border-radius: 999px;
      border: 1px solid rgba(226,232,240,0.95);
      background: #fff;
      color: #64748b;
      font-size: 0.64rem;
      font-weight: 900;
      flex-shrink: 0;
    }
    .calendar-grid__event-sent--ok {
      border-color: #bbf7d0;
      background: #dcfce7;
      color: #166534;
    }
    .calendar-grid__event-sent--warn {
      border-color: #fde68a;
      background: #fef3c7;
      color: #92400e;
    }
    .calendar-grid__event-sent--danger {
      border-color: #fecaca;
      background: #fee2e2;
      color: #991b1b;
    }
    .calendar-grid__event-sent--dark {
      border-color: #e5e7eb;
      background: #f8fafc;
      color: #475569;
    }
    .calendar-grid__event-tag {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 0 8px;
      border-radius: 999px;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #475569;
      font-size: 0.61rem;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
    }
    .calendar-grid__event-tag--ok {
      border-color: #bbf7d0;
      background: #dcfce7;
      color: #166534;
    }
    .calendar-grid__event-tag--warn {
      border-color: #fde68a;
      background: #fef3c7;
      color: #92400e;
    }
    .calendar-grid__event-tag--danger {
      border-color: #fecaca;
      background: #fee2e2;
      color: #991b1b;
    }
    .calendar-grid__event-tag--ghost {
      border-color: #dbeafe;
      background: #eff6ff;
      color: #1d4ed8;
    }
    .calendar-grid__event-tag--dark {
      border-color: #e5e7eb;
      background: #f8fafc;
      color: #475569;
    }
    .calendar-grid__more {
      font-size: 0.72rem;
      font-weight: 700;
      color: #9ca3af;
      padding-top: 2px;
    }
    .calendar-day-details {
      margin-top: 18px;
      border-radius: 18px;
      border: 1px solid rgba(226, 232, 240, 0.95);
      background:
        radial-gradient(circle at top right, rgba(15,118,110,0.05), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      padding: 18px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    }
    .calendar-day-details__title {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }
    .calendar-day-details__title strong {
      font-size: 0.98rem;
      color: var(--dark);
    }
    .calendar-day-details__title span {
      font-size: 0.8rem;
      color: #9ca3af;
      font-weight: 700;
    }
    .calendar-day-details__list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .calendar-day-details__item {
      border: 1px solid rgba(226, 232, 240, 0.95);
      border-radius: 16px;
      padding: 14px;
      background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
      box-shadow: 0 12px 24px rgba(15,23,42,0.04);
    }
    .calendar-day-details__item strong {
      display: block;
      font-size: 0.88rem;
      color: var(--dark);
      margin-bottom: 4px;
    }
    .calendar-day-details__item p {
      margin: 0;
      font-size: 0.8rem;
      color: #6b7280;
      line-height: 1.5;
    }
    .calendar-day-details__summary {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 8px 0 10px;
    }
    .calendar-day-details__summary span {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 10px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid #e2e8f0;
      color: #475569;
      font-size: 0.72rem;
      font-weight: 800;
    }
    .calendar-day-details__status-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 10px 0 12px;
    }
    .calendar-day-details__status-box {
      border: 1px solid rgba(226, 232, 240, 0.95);
      border-radius: 14px;
      padding: 10px 11px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }
    .calendar-day-details__status-label {
      display: block;
      margin-bottom: 6px;
      color: #94a3b8;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 0.7px;
      text-transform: uppercase;
    }
    .calendar-day-details__status-value {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid #e2e8f0;
      background: #fff;
      color: #475569;
      font-size: 0.76rem;
      font-weight: 900;
    }
    .calendar-day-details__status-copy {
      display: block;
      margin-top: 8px;
      color: #64748b;
      font-size: 0.74rem;
      line-height: 1.45;
    }
    .calendar-day-details__info-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 10px 0 12px;
    }
    .calendar-day-details__info-card {
      border: 1px solid rgba(226, 232, 240, 0.95);
      border-radius: 14px;
      padding: 10px 11px;
      background: #fff;
    }
    .calendar-day-details__info-label {
      display: block;
      margin-bottom: 6px;
      color: #94a3b8;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 0.7px;
      text-transform: uppercase;
    }
    .calendar-day-details__info-value {
      display: block;
      color: #0f172a;
      font-size: 0.82rem;
      font-weight: 700;
      line-height: 1.45;
      word-break: break-word;
    }
    .calendar-day-details__info-value--muted {
      color: #64748b;
      font-weight: 600;
    }
    .calendar-day-details__notes {
      margin: 10px 0 12px;
      padding: 12px;
      border-radius: 14px;
      border: 1px solid rgba(226, 232, 240, 0.95);
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }
    .calendar-day-details__notes-title {
      display: block;
      margin-bottom: 8px;
      color: #0f172a;
      font-size: 0.76rem;
      font-weight: 900;
      letter-spacing: 0.6px;
      text-transform: uppercase;
    }
    .calendar-day-details__notes-copy {
      margin: 0;
      color: #475569;
      font-size: 0.82rem;
      line-height: 1.55;
      white-space: pre-line;
    }
    /* Accordion note CRM */
    .crm-note-accordion {
      margin-top: 10px;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      overflow: hidden;
      background: rgba(255,255,255,0.82);
    }
    .crm-note-accordion__toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 10px 12px;
      border: none;
      background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
      cursor: pointer;
      font-size: 0.78rem;
      font-weight: 700;
      color: #334155;
      text-align: left;
      transition: background 0.15s;
    }
    .crm-note-accordion__toggle:hover {
      background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    }
    .crm-note-accordion__toggle svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
      transition: transform 0.2s;
      color: #94a3b8;
    }
    .crm-note-accordion[open] .crm-note-accordion__toggle svg {
      transform: rotate(180deg);
    }
    .crm-note-accordion__body {
      padding: 12px;
      color: #475569;
      font-size: 0.82rem;
      line-height: 1.65;
      white-space: pre-line;
      border-top: 1px solid #e2e8f0;
    }
    .crm-note-accordion__body .crm-note-timestamp {
      display: block;
      margin-bottom: 6px;
      color: #94a3b8;
      font-size: 0.72rem;
      font-weight: 600;
    }
    .calendar-day-details__answers {
      display: grid;
      gap: 8px;
      margin-top: 10px;
    }
    .calendar-day-details__answer {
      padding: 9px 10px;
      border-radius: 12px;
      border: 1px solid #e2e8f0;
      background: rgba(255,255,255,0.82);
    }
    .calendar-day-details__answer strong {
      display: block;
      margin: 0 0 4px;
      color: #0f172a;
      font-size: 0.76rem;
      font-weight: 800;
    }
    .calendar-day-details__answer span {
      display: block;
      color: #64748b;
      font-size: 0.8rem;
      line-height: 1.45;
    }
    .calendar-day-details__qualification {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid rgba(226, 232, 240, 0.9);
    }
    .calendar-day-details__qualification select.form-input {
      min-width: 240px;
      max-width: 360px;
      background: #fff;
    }
    .calendar-day-details__qualification-meta {
      color: #64748b;
      font-size: 0.76rem;
      font-weight: 700;
    }
    .calendar-day-details__editor {
      margin-top: 12px;
      padding: 14px;
      border-radius: 14px;
      background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.96));
      border: 1px solid rgba(226, 232, 240, 0.95);
      display: grid;
      gap: 10px;
    }
    .calendar-day-details__editor-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 10px;
    }
    .calendar-day-details__editor-field {
      display: grid;
      gap: 6px;
    }
    .calendar-day-details__editor-label {
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #64748b;
    }
    .calendar-day-details__editor-help {
      color: #64748b;
      font-size: 0.75rem;
      line-height: 1.45;
    }
    .calendar-day-details__meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 6px 0 10px;
    }
    .calendar-day-details__hint {
      margin-top: 8px;
      color: #64748b;
      font-size: 0.79rem;
      line-height: 1.45;
    }
    .calendar-day-details__source {
      margin-top: 8px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.76rem;
      font-weight: 800;
      color: #0f766e;
      text-decoration: none;
    }
    .calendar-day-details__source:hover {
      text-decoration: underline;
    }
    .calendar-day-details__link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 2px;
      min-height: 34px;
      padding: 0 12px;
      color: #0f172a;
      font-size: 0.78rem;
      font-weight: 800;
      text-decoration: none;
      border-radius: 999px;
      background: rgba(240,160,0,0.12);
      border: 1px solid rgba(240,160,0,0.18);
    }
    .calendar-day-details__link:hover {
      background: rgba(240,160,0,0.18);
    }
    .calendar-day-details__item .action-stack {
      margin-top: 10px;
    }
    @media (max-width: 1180px) {
      .calendar-widget__overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .team-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    @media (max-width: 760px) {
      .team-form {
        grid-template-columns: 1fr;
      }
      .team-member__settings-grid {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 1100px) {
      .calendar-grid__day {
        height: 148px;
      }
      .calendar-grid {
        grid-auto-rows: 148px;
      }
    }
    @media (max-width: 900px) {
      .calendar-grid {
        gap: 8px;
        grid-auto-rows: 132px;
      }
      .calendar-grid__day {
        height: 132px;
        padding: 8px;
      }
      .calendar-grid__event {
        padding: 6px 7px;
        min-height: 50px;
      }
      .calendar-grid__event-name {
        font-size: 0.76rem;
      }
      .calendar-widget__overview {
        grid-template-columns: 1fr;
      }
      .calendar-day-details__status-grid {
        grid-template-columns: 1fr;
      }
      .calendar-day-details__info-grid {
        grid-template-columns: 1fr;
      }
      .sync-kpi-board__table {
        min-width: 720px;
      }
    }

    /* Color picker */
    .color-picker-group { display: flex; align-items: center; gap: 12px; }
    .color-picker-group input[type="color"] {
      width: 48px; height: 40px; border: 2px solid #e0e0e0; border-radius: 8px;
      cursor: pointer; padding: 2px;
    }
    .color-picker-group input[type="text"] { flex: 1; }

    /* Photo upload */
    .photo-upload {
      border: 2px dashed #ddd; border-radius: 10px; padding: 24px;
      text-align: center; cursor: pointer; transition: border-color 0.2s;
      position: relative;
    }
    .photo-upload:hover { border-color: var(--orange); }
    .photo-upload__placeholder {
      display: flex; flex-direction: column; align-items: center; gap: 8px;
      color: #aaa; font-size: 0.85rem;
    }
    .photo-upload__preview { position: relative; display: inline-block; }
    .photo-upload__preview img {
      max-width: 150px; max-height: 180px; border-radius: 10px;
      object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .photo-upload__remove {
      position: absolute; top: -8px; right: -8px;
      width: 24px; height: 24px; border-radius: 50%;
      background: #e53e3e; color: #fff; font-size: 14px;
      display: flex; align-items: center; justify-content: center;
      border: 2px solid #fff; cursor: pointer; line-height: 1;
    }

    /* Textarea */
    textarea.form-input { resize: vertical; min-height: 80px; line-height: 1.5; }

    /* ============================================================
       LEGAL ASSISTANT
       ============================================================ */
    .legal-layout {
      display: grid;
      grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
      gap: 20px;
      align-items: start;
    }
    .legal-sidebar-stack {
      display: grid;
      gap: 20px;
    }
    .legal-panel-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 16px;
    }
    .legal-panel-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .legal-panel-head h3 {
      margin-bottom: 0.25rem;
    }
    .legal-panel-head p {
      color: #6b7280;
      font-size: 0.86rem;
      line-height: 1.5;
    }
    .legal-status-grid {
      display: grid;
      gap: 12px;
      margin-bottom: 16px;
    }
    .legal-status-tile {
      padding: 16px;
      border-radius: 16px;
      border: 1px solid #eceff5;
      background:
        radial-gradient(circle at top left, rgba(240,160,0,0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    }
    .legal-status-tile__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 8px;
    }
    .legal-status-tile__title {
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 900;
      color: #7c8698;
    }
    .legal-indicator {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      font-size: 0.74rem;
      font-weight: 900;
      letter-spacing: 0.03em;
      border: 1px solid transparent;
      white-space: nowrap;
    }
    .legal-indicator--ok {
      color: #166534;
      background: rgba(34,197,94,0.1);
      border-color: rgba(34,197,94,0.2);
    }
    .legal-indicator--warn {
      color: #9a6700;
      background: rgba(240,160,0,0.12);
      border-color: rgba(240,160,0,0.2);
    }
    .legal-indicator--muted {
      color: #667085;
      background: #f4f5f7;
      border-color: #e7e9ee;
    }
    .legal-status-tile__detail {
      color: #4b5563;
      font-size: 0.84rem;
      line-height: 1.55;
    }
    .legal-status-summary {
      padding: 14px 16px;
      border-radius: 14px;
      border: 1px solid rgba(240,160,0,0.15);
      background: rgba(255,250,240,0.92);
      color: #8a6b26;
      font-size: 0.84rem;
      line-height: 1.55;
      margin-bottom: 16px;
    }
    .legal-doc-list {
      display: grid;
      gap: 8px;
      max-height: 240px;
      overflow: auto;
      padding-right: 4px;
    }
    .legal-doc-item {
      display: grid;
      gap: 4px;
      width: 100%;
      padding: 12px 14px;
      border-radius: 14px;
      background: #fbfbfc;
      border: 1px solid #eef1f4;
      text-align: left;
      cursor: pointer;
      transition: border-color 0.15s, transform 0.15s, background 0.15s;
    }
    .legal-doc-item:hover {
      transform: translateY(-1px);
      border-color: rgba(240,160,0,0.28);
    }
    .legal-doc-item.is-selected {
      background: rgba(240,160,0,0.08);
      border-color: rgba(240,160,0,0.32);
    }
    .legal-doc-item strong {
      font-size: 0.88rem;
      color: var(--dark);
      word-break: break-word;
    }
    .legal-doc-item span {
      color: #7a7a7a;
      font-size: 0.78rem;
    }
    .legal-doc-item__actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 6px;
    }
    .legal-mini-btn {
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid #e6ebf2;
      background: rgba(255,255,255,0.96);
      color: #546072;
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.03em;
      transition: transform 0.15s, border-color 0.15s, color 0.15s, background 0.15s;
    }
    .legal-mini-btn:hover {
      transform: translateY(-1px);
      border-color: rgba(240,160,0,0.32);
      color: #8a5800;
      background: rgba(255,250,240,0.96);
    }
    .legal-suggestion-list {
      display: grid;
      gap: 10px;
    }
    .legal-workspace-summary {
      padding: 14px 16px;
      border-radius: 14px;
      border: 1px solid #edf0f4;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      color: #4b5563;
      font-size: 0.84rem;
      line-height: 1.55;
    }
    .legal-workspace-viewer {
      margin-top: 12px;
      padding: 14px 16px;
      border-radius: 14px;
      border: 1px solid #edf0f4;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }
    .legal-workspace-viewer__title {
      color: var(--dark);
      font-size: 0.86rem;
      font-weight: 800;
      margin-bottom: 8px;
    }
    .legal-workspace-viewer__body {
      color: #546072;
      font-size: 0.82rem;
      line-height: 1.65;
      max-height: 240px;
      overflow: auto;
      white-space: pre-wrap;
    }
    .legal-workspace-subtitle {
      color: #7a7a7a;
      font-size: 0.74rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin: 12px 0 8px;
    }
    .legal-workspace-sections,
    .legal-workspace-timeline {
      display: grid;
      gap: 8px;
      max-height: 280px;
      overflow: auto;
      padding-right: 4px;
    }
    .legal-workspace-section,
    .legal-workspace-event {
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid #eef1f4;
      background: #fbfbfc;
    }
    .legal-workspace-section.is-active {
      border-color: rgba(240,160,0,0.35);
      background: rgba(240,160,0,0.08);
    }
    .legal-workspace-section__head,
    .legal-workspace-event__head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 6px;
    }
    .legal-workspace-section__title,
    .legal-workspace-event__title {
      color: var(--dark);
      font-size: 0.86rem;
      font-weight: 800;
      line-height: 1.4;
    }
    .legal-workspace-section__preview,
    .legal-workspace-event__excerpt {
      color: #667085;
      font-size: 0.8rem;
      line-height: 1.5;
    }
    .legal-workspace-event.is-analysis {
      background: linear-gradient(180deg, #fffdfa 0%, #f9fbff 100%);
    }
    .legal-workspace-event__meta {
      color: #7a7a7a;
      font-size: 0.76rem;
      line-height: 1.45;
      margin-bottom: 6px;
    }
    .legal-workspace-comment {
      display: grid;
      gap: 10px;
      margin-top: 12px;
    }
    .legal-workspace-comment textarea {
      min-height: 88px;
    }
    .legal-workspace-empty {
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px dashed #d8dee7;
      background: #fbfcfe;
      color: #7a7a7a;
      font-size: 0.82rem;
      line-height: 1.5;
    }
    .legal-upload-form {
      display: grid;
      gap: 12px;
    }
    .legal-upload-dropzone {
      border: 1px dashed #d7dde7;
      border-radius: 16px;
      padding: 16px;
      background:
        radial-gradient(circle at top left, rgba(78,200,197,0.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
      color: #596274;
      font-size: 0.86rem;
      line-height: 1.55;
      cursor: pointer;
      transition: border-color 0.15s, transform 0.15s, background 0.15s;
    }
    .legal-upload-dropzone:hover {
      transform: translateY(-1px);
      border-color: rgba(240,160,0,0.28);
    }
    .legal-upload-dropzone.is-dragover {
      border-color: rgba(78,200,197,0.46);
      background:
        radial-gradient(circle at top left, rgba(78,200,197,0.14), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f4fcfb 100%);
    }
    .legal-upload-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }
    .legal-upload-files {
      display: grid;
      gap: 8px;
    }
    .legal-upload-file {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 12px;
      background: #fbfbfc;
      border: 1px solid #eef1f4;
      font-size: 0.82rem;
      color: #4b5563;
    }
    .legal-upload-status {
      color: #7a7a7a;
      font-size: 0.8rem;
      line-height: 1.5;
    }
    .legal-suggestion-btn {
      text-align: left;
      width: 100%;
      padding: 14px 16px;
      border-radius: 14px;
      border: 1px solid #eceff5;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      color: #1f2937;
      font-size: 0.88rem;
      font-weight: 700;
      line-height: 1.45;
      transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
    }
    .legal-suggestion-btn:hover {
      transform: translateY(-1px);
      border-color: rgba(240,160,0,0.35);
      box-shadow: 0 12px 18px rgba(15, 23, 42, 0.04);
    }
    .legal-chat-card {
      padding: 0;
      overflow: hidden;
    }
    .legal-chat-shell {
      display: grid;
      grid-template-rows: auto 1fr auto;
      min-height: 740px;
    }
    .legal-chat-header {
      padding: 24px 24px 18px;
      border-bottom: 1px solid #edf0f4;
      background:
        radial-gradient(circle at top right, rgba(78,200,197,0.11), transparent 24%),
        radial-gradient(circle at top left, rgba(240,160,0,0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
    }
    .legal-chat-header h3 {
      margin-bottom: 0.35rem;
    }
    .legal-mode-row,
    .legal-profile-row {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 14px;
    }
    .legal-profile-row {
      margin-top: 10px;
    }
    .legal-profile-label {
      color: #7a7a7a;
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .legal-mode-btn,
    .legal-profile-btn {
      min-height: 38px;
      padding: 0 14px;
      border-radius: 999px;
      border: 1px solid #e8ebf0;
      background: rgba(255,255,255,0.92);
      color: #5a6475;
      font-size: 0.82rem;
      font-weight: 800;
      transition: border-color 0.15s, transform 0.15s, color 0.15s, background 0.15s;
    }
    .legal-mode-btn:hover,
    .legal-profile-btn:hover {
      transform: translateY(-1px);
      border-color: rgba(240,160,0,0.35);
    }
    .legal-mode-btn.is-active,
    .legal-profile-btn.is-active {
      color: #8a5800;
      background: rgba(240,160,0,0.12);
      border-color: rgba(240,160,0,0.3);
    }
    .legal-toggle-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 14px;
    }
    .legal-session-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 14px;
    }
    .legal-session-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .legal-target-row {
      display: grid;
      gap: 8px;
      margin-top: 14px;
    }
    .legal-target-label {
      color: #7a7a7a;
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .legal-target-select {
      min-height: 44px;
      background: rgba(255,255,255,0.95);
    }
    .legal-target-note {
      color: #7a7a7a;
      font-size: 0.8rem;
      line-height: 1.5;
    }
    .legal-toggle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,0.92);
      border: 1px solid #e8ebf0;
      color: #4b5563;
      font-size: 0.8rem;
      font-weight: 700;
    }
    .legal-toggle input {
      accent-color: var(--orange);
    }
    .legal-thread {
      padding: 22px 24px;
      background:
        linear-gradient(180deg, rgba(247,248,250,0.95) 0%, rgba(255,255,255,1) 100%);
      display: grid;
      gap: 14px;
      overflow: auto;
      min-height: 420px;
      max-height: 720px;
    }
    .legal-thread__empty {
      padding: 18px;
      border-radius: 18px;
      border: 1px dashed #d5dbe4;
      background: rgba(255,255,255,0.8);
      color: #667085;
      font-size: 0.9rem;
      line-height: 1.6;
    }
    .legal-message {
      display: grid;
      gap: 6px;
    }
    .legal-message--user {
      justify-items: end;
    }
    .legal-message__meta {
      font-size: 0.73rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #97a0af;
    }
    .legal-message__bubble {
      max-width: min(760px, 100%);
      padding: 16px 18px;
      border-radius: 18px;
      border: 1px solid #e9edf2;
      background: #fff;
      color: #1f2937;
      box-shadow: 0 14px 24px rgba(15, 23, 42, 0.04);
    }
    .legal-message--user .legal-message__bubble {
      background: linear-gradient(135deg, rgba(240,160,0,0.12), rgba(255,255,255,0.98));
      border-color: rgba(240,160,0,0.22);
    }
    .legal-message__bubble p {
      margin: 0 0 10px;
      line-height: 1.65;
      font-size: 0.92rem;
    }
    .legal-message__bubble p:last-child {
      margin-bottom: 0;
    }
    .legal-message--pending .legal-message__bubble {
      background: linear-gradient(135deg, rgba(78,200,197,0.08), rgba(255,255,255,0.98));
      border-style: dashed;
      border-color: rgba(78,200,197,0.32);
    }
    .legal-message__summary {
      display: grid;
      gap: 10px;
      margin-bottom: 14px;
    }
    .legal-summary-card {
      border-radius: 14px;
      border: 1px solid #eceff5;
      background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
      padding: 12px 13px;
    }
    .legal-summary-card__label {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 9px;
      border-radius: 999px;
      background: rgba(240,160,0,0.12);
      color: #9a6400;
      font-size: 0.7rem;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .legal-summary-card__content {
      color: var(--dark);
      font-size: 0.84rem;
      line-height: 1.6;
      font-weight: 600;
    }
    .legal-message__pending {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #49606f;
      font-size: 0.92rem;
      font-weight: 600;
    }
    .legal-message__dots {
      display: inline-flex;
      gap: 5px;
    }
    .legal-message__dots span {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: rgba(240, 160, 0, 0.92);
      animation: legalPulse 1.15s ease-in-out infinite;
    }
    .legal-message__dots span:nth-child(2) {
      animation-delay: 0.18s;
    }
    .legal-message__dots span:nth-child(3) {
      animation-delay: 0.36s;
    }
    @keyframes legalPulse {
      0%, 80%, 100% {
        opacity: 0.28;
        transform: translateY(0);
      }
      40% {
        opacity: 1;
        transform: translateY(-1px);
      }
    }
    .legal-message__warnings {
      display: grid;
      gap: 8px;
      margin-top: 14px;
    }
    .legal-warning {
      padding: 11px 12px;
      border-radius: 12px;
      background: rgba(255,248,235,0.92);
      border: 1px solid rgba(240,160,0,0.18);
      color: #956d0c;
      font-size: 0.82rem;
      line-height: 1.5;
    }
    .legal-sources {
      display: grid;
      gap: 10px;
      margin-top: 14px;
    }
    .legal-source {
      display: block;
      padding: 12px 13px;
      border-radius: 14px;
      border: 1px solid #eceff5;
      background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
      transition: border-color 0.15s, transform 0.15s;
    }
    .legal-source:hover {
      border-color: rgba(78,200,197,0.38);
      transform: translateY(-1px);
    }
    .legal-source:target {
      border-color: rgba(78,200,197,0.62);
      box-shadow: 0 0 0 3px rgba(78,200,197,0.12);
    }
    .legal-source__top {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin-bottom: 6px;
    }
    .legal-source__index {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 30px;
      height: 30px;
      border-radius: 999px;
      background: rgba(240,160,0,0.12);
      color: #9a6400;
      font-size: 0.74rem;
      font-weight: 900;
      letter-spacing: 0.04em;
    }
    .legal-source__tag {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 9px;
      border-radius: 999px;
      background: rgba(78,200,197,0.12);
      color: #0f766e;
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .legal-source__title {
      color: var(--dark);
      font-size: 0.84rem;
      font-weight: 800;
    }
    .legal-source__context {
      margin: 2px 0 8px;
      color: #7b8794;
      font-size: 0.76rem;
      line-height: 1.45;
      font-weight: 700;
    }
    .legal-source__snippet {
      color: #6b7280;
      font-size: 0.8rem;
      line-height: 1.5;
    }
    .legal-source__meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
    }
    .legal-source__meta span {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid #ebeff5;
      background: #fff;
      color: #697586;
      font-size: 0.72rem;
      font-weight: 800;
    }
    .legal-citation-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 22px;
      padding: 0 8px;
      margin-left: 4px;
      border-radius: 999px;
      background: rgba(78,200,197,0.12);
      color: #0f766e;
      font-size: 0.74rem;
      font-weight: 900;
      text-decoration: none;
      vertical-align: baseline;
    }
    .legal-citation-link:hover {
      background: rgba(78,200,197,0.18);
    }
    .legal-composer {
      padding: 18px 24px 24px;
      border-top: 1px solid #edf0f4;
      background: #fff;
    }
    .legal-composer textarea {
      min-height: 132px;
      margin-top: 12px;
    }
    .legal-composer-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 14px;
      flex-wrap: wrap;
    }
    .legal-composer-hint {
      color: #7a7a7a;
      font-size: 0.8rem;
      line-height: 1.5;
      max-width: 520px;
    }
    .legal-markdown h3,
    .legal-markdown h4 {
      margin: 16px 0 8px;
      color: #111827;
      line-height: 1.35;
    }
    .legal-markdown h3:first-child,
    .legal-markdown h4:first-child {
      margin-top: 0;
    }
    .legal-markdown ul {
      margin: 0 0 12px 18px;
      color: #374151;
    }
    .legal-markdown li {
      margin-bottom: 6px;
      line-height: 1.6;
    }
    .legal-markdown code {
      padding: 1px 5px;
      border-radius: 6px;
      background: #f3f4f6;
      color: #8a5800;
      font-size: 0.84em;
    }
    .legal-markdown pre {
      margin: 0 0 14px;
      padding: 14px 15px;
      border-radius: 14px;
      border: 1px solid #eceff5;
      background: #f8fafc;
      color: #0f172a;
      overflow-x: auto;
      white-space: pre-wrap;
      line-height: 1.55;
      font-size: 0.86rem;
    }
    .legal-markdown pre code {
      padding: 0;
      border-radius: 0;
      background: transparent;
      color: inherit;
      font-size: inherit;
    }
    .legal-markdown strong {
      color: #111827;
    }

    /* ============================================================
       DEPLOY PROGRESS
       ============================================================ */
    .deploy-progress { display: none; margin-top: 2rem; }
    .deploy-progress.active { display: block; }
    .progress-header {
      display: flex; align-items: center; gap: 12px; margin-bottom: 1rem;
    }
    .progress-spinner {
      width: 28px; height: 28px;
      border: 3px solid #eee; border-top-color: var(--orange);
      border-radius: 50%; animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .progress-title { font-size: 1.1rem; font-weight: 700; }
    .progress-bar { width: 100%; height: 6px; background: #eee; border-radius: 3px; margin-bottom: 1rem; overflow: hidden; }
    .progress-bar__fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-light)); border-radius: 3px; transition: width 0.3s; width: 0%; }
    .deploy-logs {
      background: #1a1a2e; color: #a0e8a0; border-radius: 10px;
      padding: 20px; font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
      font-size: 0.78rem; line-height: 1.8; max-height: 400px;
      overflow-y: auto; white-space: pre-wrap; word-break: break-all;
    }
    .deploy-logs .log-error { color: #ff7b7b; }
    .deploy-logs .log-success { color: #7bff7b; }
    .deploy-logs .log-step { color: #F0A000; font-weight: 700; }

    .deploy-result { display: none; margin-top: 1.5rem; padding: 24px; border-radius: var(--radius-md); }
    .deploy-result--editorial { display: block; background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.2); }
    .deploy-result--success { display: block; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); }
    .deploy-result--failed { display: block; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); }
    .deploy-result h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
    .deploy-result--success h3 { color: #16a34a; }
    .deploy-result--failed h3 { color: #dc2626; }
    .deploy-result p { font-size: 0.9rem; color: #555; }
    .deploy-result a { color: var(--orange); font-weight: 700; }

    /* ============================================================
       AUTH OVERLAY
       ============================================================ */
    .auth-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.5);
      display: flex; align-items: center; justify-content: center;
      z-index: 999;
    }
    .auth-overlay.hidden { display: none; }
    .auth-box {
      background: #fff; border-radius: var(--radius-md); padding: 48px 40px;
      box-shadow: var(--shadow-md); max-width: 420px; width: 90%;
    }
    .auth-box h2 { font-size: 1.5rem; font-weight: 900; text-align: center; margin-bottom: 0.4rem; }
    .auth-box .subtitle { text-align: center; color: #888; font-size: 0.88rem; margin-bottom: 2rem; }
    .auth-feedback {
      margin-bottom: 16px; padding: 12px 16px; border-radius: 8px;
      font-size: 0.85rem; display: none;
    }
    .auth-feedback.error { display: block; background: rgba(239,68,68,0.1); color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }

    /* ============================================================
       TOAST
       ============================================================ */
    .toast {
      position: fixed; bottom: 24px; right: 24px;
      background: var(--dark); color: #fff;
      padding: 14px 24px; border-radius: 10px;
      font-size: 0.88rem; font-weight: 600;
      box-shadow: 0 8px 30px rgba(0,0,0,0.2);
      transform: translateY(100px); opacity: 0;
      transition: all 0.3s ease; z-index: 9999;
    }
    .toast.show { transform: translateY(0); opacity: 1; }
    .toast--success { border-left: 4px solid #16a34a; }
    .toast--error { border-left: 4px solid #dc2626; }

    /* ============================================================
       RESPONSIVE
       ============================================================ */
    @media (max-width: 900px) {
      .form-grid { grid-template-columns: 1fr; }
      .form-full { grid-column: 1; }
      .usage-card__filters { grid-template-columns: 1fr 1fr; }
      .legal-layout { grid-template-columns: 1fr; }
      .content-kpi-panels { grid-template-columns: 1fr; }
      .content-kpi-card__header { flex-direction: column; }
      .content-kpi-card__actions { justify-content: flex-start; }
      .call-dashboard-card__header { flex-direction: column; }
      .call-dashboard-grid { grid-template-columns: 1fr; }
    }
    .admin-nav-toggle {
      display: none; position: fixed; top: 12px; right: 12px; z-index: 130;
      width: 42px; height: 42px; align-items: center; justify-content: center;
      background: var(--dark, #1a1a1a); color: #fff; border: none; border-radius: 10px;
      box-shadow: 0 4px 14px rgba(0,0,0,0.25); cursor: pointer;
    }
    .admin-nav-overlay { display: none; position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,0.34); }
    @media (max-width: 768px) {
      .sidebar { transform: translateX(-100%); transition: transform 0.3s; }
      .sidebar.open { transform: translateX(0); }
      .main { margin-left: 0; padding: 20px 16px; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .usage-card__filters { grid-template-columns: 1fr; }
      .call-dashboard-kpis { grid-template-columns: 1fr; }
      .content-kpi-grid { grid-template-columns: 1fr 1fr; }
      .legal-chat-header,
      .legal-thread,
      .legal-composer { padding-left: 16px; padding-right: 16px; }
      .legal-chat-shell { min-height: 0; }
      .legal-session-row { align-items: stretch; }
      .legal-session-actions { width: 100%; }
      .legal-thread { min-height: 320px; }
      /* Navigation mobile : sans ce bouton, la sidebar escamotée est inatteignable */
      .admin-nav-toggle { display: flex; }
      .calendar-widget__header { flex-wrap: wrap; }
      /* Sans largeur minimale, width:100% écrase les 8 colonnes dans l'écran :
         cellules en retour à la ligne extrême → lignes de 500px de haut.
         Avec, le tableau défile horizontalement dans son .table-wrap. */
      .table-wrap table { min-width: 760px; }
      .table-wrap th, .table-wrap td { white-space: nowrap; }
      .table-wrap .usage-service-list, .table-wrap .usage-provider-list,
      .table-wrap .usage-client-cell, .table-wrap .usage-metric { white-space: normal; }
      .table-wrap .action-stack { flex-wrap: nowrap; }
      /* Colonne d'identité FIGÉE pendant le défilement horizontal : sans elle,
         on ne sait plus quelle ligne correspond à quoi une fois le tableau scrollé. */
      .table-wrap th:first-child, .table-wrap td:first-child {
        position: sticky; left: 0; z-index: 2; background: #fff;
        max-width: 170px; overflow: hidden; text-overflow: ellipsis;
        box-shadow: 2px 0 6px rgba(0,0,0,0.07);
      }
      .table-wrap tr:hover td:first-child { background: #fafafa; }
      /* Panel Meta Ads : barre de filtres qui wrappe + pastille statut masquée +
         colonne Ad figée (le tableau a son propre conteneur overflow-x, hors .table-wrap) */
      #panel-meta-ads .card > div:first-child { flex-wrap: wrap; }
      #meta-ads-table th:nth-child(1), #meta-ads-table td:nth-child(1) { display: none; }
      #meta-ads-table th:nth-child(2), #meta-ads-table td:nth-child(2) {
        position: sticky; left: 0; z-index: 2; background: #fff;
        max-width: 150px; box-shadow: 2px 0 6px rgba(0,0,0,0.07);
      }
      #meta-ads-table thead th:nth-child(2) { background: #f8f8f8; }
      .admin-nav-overlay.open { display: block; }
      .sidebar { z-index: 120; box-shadow: 8px 0 24px rgba(0,0,0,0.25); }
      .form-grid { grid-template-columns: 1fr; }
      input, select, textarea { font-size: max(16px, 1em); }
    }

    /* ============================================================
       MODAL DOMAINE
       ============================================================ */
    .modal-overlay {
      position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5); z-index: 1000;
      display: flex; align-items: center; justify-content: center;
      animation: fadeIn 0.2s ease;
    }
    .modal-content {
      background: #fff; border-radius: 16px; width: 90%; max-width: 640px;
      max-height: 85vh; overflow-y: auto;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3);
      animation: slideUp 0.3s ease;
    }
    .modal-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 20px 24px; border-bottom: 1px solid #eee;
    }
    .modal-header h2 { margin: 0; font-size: 20px; color: #1a1a2e; }
    .modal-close {
      background: none; border: none; font-size: 28px; cursor: pointer;
      color: #999; line-height: 1; padding: 0 4px;
    }
    .modal-close:hover { color: #333; }
    .modal-body { padding: 24px; }

    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

    .badge--domain {
      display: inline-flex; align-items: center; gap: 4px;
      background: #e8f5e9; color: #2e7d32; padding: 4px 10px;
      border-radius: 20px; font-size: 12px; font-weight: 600;
      white-space: nowrap;
    }
    .btn--domain {
      display: inline-flex; align-items: center; gap: 5px;
      background: linear-gradient(135deg, var(--orange), #e88a3a);
      color: #fff; border: none; padding: 6px 14px; border-radius: 8px;
      cursor: pointer; font-size: 12px; font-weight: 600;
      transition: transform 0.15s, box-shadow 0.15s;
      white-space: nowrap;
    }
    .btn--domain:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(230,126,34,0.3);
    }
    .btn--domain-transfer {
      background: linear-gradient(135deg, #5b8a72, #4a7a62);
    }
    .btn--domain-transfer:hover {
      box-shadow: 0 4px 12px rgba(91,138,114,0.3);
    }

    /* Domain results cards */
    .domain-results-list { display: flex; flex-direction: column; gap: 8px; }
    .domain-card {
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 16px; border-radius: 10px; border: 1px solid #eee;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .domain-card:hover { border-color: #ddd; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    .domain-card--available { border-left: 3px solid #2e7d32; }
    .domain-card--taken { border-left: 3px solid #e0e0e0; opacity: 0.6; }
    .domain-card__name { font-weight: 700; font-size: 15px; color: #1a1a2e; }
    .domain-card__info { display: flex; flex-direction: column; gap: 2px; }
    .domain-card__status { font-size: 12px; font-weight: 600; }
    .domain-card__status--available { color: #2e7d32; }
    .domain-card__status--taken { color: #999; }
    .domain-card__price { font-size: 13px; color: #1565c0; font-weight: 600; }
    .domain-card__renewal { font-size: 11px; color: #999; }
    .domain-card__restriction { font-size: 11px; color: #e67e22; margin-top: 2px; }
    .domain-card__right { display: flex; align-items: center; gap: 12px; }
    .domain-card__prices { text-align: right; }
    .domain-card__buy {
      background: linear-gradient(135deg, var(--orange), #e88a3a);
      color: #fff; border: none; padding: 8px 20px; border-radius: 8px;
      cursor: pointer; font-size: 13px; font-weight: 600;
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .domain-card__buy:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(230,126,34,0.3);
    }

    .domain-available { color: #2e7d32; font-weight: 600; }
    .domain-taken { color: #c62828; font-weight: 600; }
    .domain-price { color: #1565c0; font-weight: 600; }
    .spinner {
      width: 32px; height: 32px;
      border: 3px solid #eee; border-top-color: var(--orange);
      border-radius: 50%; animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
  