﻿    /* ── Shifts List ── */
    .shifts-section {
      margin-bottom: 20px;
      padding: 16px;
      border-radius: 28px;
      background:
        radial-gradient(circle at 16% 0%, rgba(141, 124, 255, 0.04), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(82, 215, 255, 0.03), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
        rgba(17, 20, 39, 0.46);
      border: 1px solid rgba(255,255,255,0.06);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      box-shadow: 0 14px 28px rgba(6, 9, 18, 0.16), inset 0 1px 0 rgba(255,255,255,0.04);
      overflow: visible;
    }

    #shiftsList {
      display: grid;
      gap: 12px;
    }

    .section-header {
      font-size: 12px;
      color: rgba(244, 247, 255, 0.6);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .shifts-overview {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 14px;
    }

    .shifts-overview-chip {
      background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
        rgba(18, 21, 43, 0.54);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 20px;
      padding: 12px 14px;
      box-shadow: 0 10px 20px rgba(6, 9, 18, 0.12), inset 0 1px 0 rgba(255,255,255,0.04);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      display: grid;
      gap: 4px;
      position: relative;
      overflow: visible;
    }

    .shifts-overview-chip::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(circle at 10% 0%, rgba(141, 124, 255, 0.10), transparent 34%);
      pointer-events: none;
    }

    .shifts-overview-label {
      position: relative;
      z-index: 1;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(244, 247, 255, 0.48);
      font-weight: 700;
    }

    .shifts-overview-value {
      position: relative;
      z-index: 1;
      font-size: 18px;
      font-weight: 900;
      letter-spacing: -0.02em;
      color: rgba(244, 247, 255, 0.96);
    }

    .shifts-empty {
      background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        rgba(18, 21, 43, 0.58);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 24px;
      padding: 34px 18px;
      text-align: center;
      color: var(--text-muted);
      font-size: 14px;
      box-shadow: var(--panel-shadow-soft);
    }

    .shift-rest-gap {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 4px 6px;
      color: rgba(244, 247, 255, 0.46);
      font-size: 11px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.01em;
      font-variant-numeric: tabular-nums;
      pointer-events: none;
      user-select: none;
    }

    .shift-rest-gap-line {
      flex: 1;
      min-width: 14px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    }

    .shift-rest-gap-label {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      padding: 4px 9px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.08);
      background: rgba(255,255,255,0.02);
      color: rgba(244, 247, 255, 0.68);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    }

    .shift-rest-gap.is-short .shift-rest-gap-label {
      color: rgba(255, 221, 165, 0.92);
      border-color: rgba(255, 190, 108, 0.22);
      background: rgba(255, 190, 108, 0.08);
    }

    .shift-rest-gap.is-problem .shift-rest-gap-label {
      color: rgba(255, 204, 204, 0.9);
      border-color: rgba(255, 142, 142, 0.20);
      background: rgba(255, 130, 130, 0.09);
    }

    .shift-rest-gap.is-muted .shift-rest-gap-label {
      color: rgba(244, 247, 255, 0.58);
      border-color: rgba(255,255,255,0.06);
      background: rgba(255,255,255,0.015);
    }

    .shift-rest-gap.is-compact {
      font-size: 10px;
      margin-left: 2px;
      margin-right: 2px;
    }

    .shift-rest-gap.is-compact .shift-rest-gap-label {
      padding: 3px 8px;
    }

    .shift-item {
      background:
        radial-gradient(circle at 14% -8%, rgba(141, 124, 255, 0.16), transparent 36%),
        radial-gradient(circle at 94% 10%, rgba(82, 215, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(26, 30, 48, 0.9), rgba(14, 17, 30, 0.94));
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 22px;
      padding: 16px;
      margin-bottom: 12px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      box-shadow:
        0 16px 34px rgba(4, 7, 15, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.06);
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
      position: relative;
      overflow: hidden;
    }

    .shift-item:hover {
      transform: translateY(-1px);
      box-shadow:
        0 18px 38px rgba(4, 7, 15, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.07);
      border-color: rgba(255, 255, 255, 0.11);
    }

    .shift-item::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      opacity: 0.58;
      background:
        radial-gradient(circle at 8% 0%, rgba(141, 124, 255, 0.24), transparent 30%),
        radial-gradient(circle at 100% 18%, rgba(82, 215, 255, 0.16), transparent 34%);
    }

    .shift-item.income-low::before {
      opacity: 0.36;
      background:
        radial-gradient(circle at 10% 0%, rgba(141, 124, 255, 0.16), transparent 32%),
        radial-gradient(circle at 100% 14%, rgba(82, 215, 255, 0.10), transparent 34%);
    }

    .shift-item.income-none::before {
      opacity: 0.28;
    }

    .shift-item.income-medium::before {
      opacity: 0.58;
    }

    .shift-item.income-high::before {
      opacity: 0.86;
      background:
        radial-gradient(circle at 10% 0%, rgba(141, 124, 255, 0.32), transparent 34%),
        radial-gradient(circle at 100% 16%, rgba(82, 215, 255, 0.30), transparent 36%);
    }

    .shift-item.income-high {
      border-color: rgba(130, 224, 255, 0.24);
      box-shadow:
        0 20px 44px rgba(7, 11, 20, 0.32),
        0 0 0 1px rgba(82, 215, 255, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.07);
    }

    .shift-item.has-trip::before {
      background:
        radial-gradient(circle at 8% 0%, rgba(82, 215, 255, 0.26), transparent 32%),
        radial-gradient(circle at 100% 16%, rgba(234, 114, 255, 0.18), transparent 36%);
    }

    .shift-item > * {
      position: relative;
      z-index: 1;
    }

    .shift-info { flex: 1; min-width: 0; }

    .shift-card-top {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
      padding-right: 0;
      min-width: 0;
    }

    .shift-card-body {
      display: grid;
      gap: 8px;
      padding-bottom: 0;
    }

    .shift-type {
      font-size: 15px;
      font-weight: 800;
      line-height: 1.2;
      color: rgba(244, 247, 255, 0.94);
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      letter-spacing: -0.01em;
    }

    .shift-type-content {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
      max-width: 100%;
    }

    .shift-type-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: rgba(244, 247, 255, 0.66);
    }

    .shift-type-text {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .shift-title-col {
      display: grid;
      gap: 6px;
      min-width: 0;
      flex: 1;
    }

    .shift-title-row {
      display: flex;
      align-items: center;
      min-width: 0;
    }

    .shift-top-right {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0;
      min-width: 0;
    }

    .shift-direction-row {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      line-height: 1.3;
      color: rgba(244, 247, 255, 0.82);
      font-weight: 600;
      min-width: 0;
      letter-spacing: 0.01em;
    }

    .shift-direction-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: rgba(244, 247, 255, 0.6);
    }

    .shift-direction-text {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .shift-main-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      min-width: 0;
    }

    .shift-datetime-line {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 5px;
      min-width: 0;
      font-size: 13px;
      line-height: 1.35;
      color: rgba(244, 247, 255, 0.76);
      font-variant-numeric: tabular-nums;
    }

    .shift-datetime-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: rgba(244, 247, 255, 0.58);
    }

    .shift-datetime-text {
      min-width: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .shift-duration {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 12px;
      font-weight: 600;
      color: rgba(244, 247, 255, 0.64);
      line-height: 1.2;
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
    }

    .shift-duration-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: rgba(244, 247, 255, 0.56);
    }

    .shift-duration-text {
      white-space: nowrap;
    }

    .shift-tech-line {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      column-gap: 5px;
      row-gap: 3px;
      font-size: 12px;
      line-height: 1.4;
      color: rgba(244, 247, 255, 0.60);
      min-width: 0;
      font-variant-numeric: tabular-nums;
    }

    .shift-tech-part {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      min-width: 0;
      max-width: 100%;
    }

    .shift-tech-part-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: rgba(244, 247, 255, 0.54);
    }

    .shift-tech-part-text {
      min-width: 0;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .shift-tech-sep {
      color: rgba(244, 247, 255, 0.42);
      line-height: 1;
      transform: translateY(-1px);
      flex-shrink: 0;
    }

    .shift-inline-icon {
      width: 13px;
      height: 13px;
      display: block;
      flex-shrink: 0;
    }

    .shift-income-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      padding-top: 11px;
      min-width: 0;
    }

    .shift-income-row-label {
      font-size: 12px;
      color: rgba(244, 247, 255, 0.72);
      font-weight: 600;
      letter-spacing: 0.01em;
    }

    .shift-income-row-label-content {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      min-width: 0;
    }

    .shift-income-row-label-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: rgba(244, 247, 255, 0.56);
    }

    .shift-income-row-label-text {
      min-width: 0;
      white-space: nowrap;
    }

    .shift-income-chip {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      padding: 0;
      border-radius: 0;
      border: none;
      background: none;
      color: rgba(244, 247, 255, 0.96);
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.01em;
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
      box-shadow: none;
    }

    .shift-income-chip--low {
      color: rgba(244, 247, 255, 0.82);
    }

    .shift-income-chip--medium {
      color: rgba(244, 247, 255, 0.9);
    }

    .shift-income-chip--high {
      color: #ffffff;
      text-shadow: 0 8px 20px rgba(82, 215, 255, 0.24);
    }

    .shift-income-chip--empty {
      color: rgba(244, 247, 255, 0.54);
    }

    .shift-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 16px;
      font-weight: 800;
      line-height: 1.25;
      color: var(--text);
      margin-bottom: 0;
      min-width: 0;
      flex: 1;
    }

    .shift-title-text {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .shift-title-icon {
      width: 18px;
      height: 18px;
      border-radius: 6px;
      background: linear-gradient(135deg, rgba(141, 124, 255, 0.2), rgba(82, 215, 255, 0.16));
      color: rgba(244, 247, 255, 0.9);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 10px;
    }

    .shift-item.has-trip .shift-title-icon {
      background: linear-gradient(135deg, rgba(82, 215, 255, 0.28), rgba(141, 124, 255, 0.2));
    }

    .shift-schedule {
      display: grid;
      justify-items: center;
      gap: 5px;
      padding: 2px 0 0;
      background: transparent;
      border: none;
      box-shadow: none;
    }

    .shift-schedule-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-width: 0;
    }

    .shift-schedule-main {
      justify-content: center;
    }

    .shift-kind-line {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 0;
    }

    .shift-kind-badge {
      display: inline-flex;
      align-items: center;
      padding: 5px 10px;
      border-radius: 999px;
      background: rgba(141, 124, 255, 0.08);
      border: 1px solid rgba(141, 124, 255, 0.12);
      color: #dcd6ff;
      font-size: 11px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.01em;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    }

    .shift-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 0;
      padding-bottom: 4px;
    }

    .shift-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(255,255,255,0.03);
      color: rgba(244, 247, 255, 0.68);
      font-size: 12px;
      line-height: 1;
      white-space: nowrap;
    }

    .shift-note {
      font-size: 12px;
      color: rgba(244, 247, 255, 0.58);
      line-height: 1.35;
      margin-top: 8px;
    }

    .shift-actions-wrap {
      position: relative;
      z-index: 2;
      display: grid;
      justify-items: end;
      align-self: start;
      width: auto;
    }

    .shift-actions-trigger {
      appearance: none;
      border: 1px solid rgba(255,255,255,0.14);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)),
        rgba(255,255,255,0.04);
      color: rgba(244, 247, 255, 0.82);
      width: 32px;
      height: 32px;
      border-radius: 11px;
      cursor: pointer;
      display: grid;
      place-items: center;
      flex-shrink: 0;
      transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
      -webkit-tap-highlight-color: transparent;
      font-size: 20px;
      line-height: 1;
      box-shadow: 0 8px 16px rgba(6, 9, 18, 0.18), inset 0 1px 0 rgba(255,255,255,0.12);
    }

    .shift-actions-trigger:hover {
      transform: translateY(-1px);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05)),
        rgba(255,255,255,0.08);
      border-color: rgba(255,255,255,0.16);
      box-shadow: 0 10px 20px rgba(6, 9, 18, 0.22), inset 0 1px 0 rgba(255,255,255,0.13);
    }

    .shift-actions-trigger:active,
    .shift-actions-trigger.is-open {
      transform: translateY(1px);
      background:
        linear-gradient(180deg, rgba(141, 124, 255, 0.14), rgba(255,255,255,0.06)),
        rgba(255,255,255,0.11);
      border-color: rgba(255,255,255,0.18);
      box-shadow: 0 6px 12px rgba(6, 9, 18, 0.16);
    }

    .shift-actions-menu {
      position: fixed;
      left: var(--shift-menu-left, 0px);
      top: var(--shift-menu-top, 0px);
      min-width: 152px;
      padding: 6px;
      border-radius: 15px;
      background:
        linear-gradient(180deg, rgba(38, 41, 56, 0.78), rgba(22, 25, 38, 0.78));
      border: 1px solid rgba(255,255,255,0.04);
      box-shadow:
        0 20px 36px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.04);
      backdrop-filter: blur(30px) saturate(115%);
      -webkit-backdrop-filter: blur(30px) saturate(115%);
      display: grid;
      gap: 4px;
      z-index: 3;
      pointer-events: auto;
      transform: translateZ(0);
    }

    @keyframes shiftMenuIn {
      from { opacity: 0; transform: scale(0.87); }
      to   { opacity: 1; transform: scale(1); }
    }
    @keyframes shiftMenuOut {
      from { opacity: 1; transform: scale(1); }
      to   { opacity: 0; transform: scale(0.87); }
    }

    .shift-actions-menu.hidden {
      display: none;
    }
    .shift-actions-menu.is-entering {
      animation: shiftMenuIn 200ms cubic-bezier(0.34, 1.2, 0.64, 1) both;
    }
    .shift-actions-menu.is-leaving {
      display: grid;
      animation: shiftMenuOut 130ms ease-in both;
      pointer-events: none;
    }

    .shift-actions-menu[data-placement="top"] {
      transform-origin: bottom right;
    }

    .shift-actions-menu[data-placement="bottom"] {
      transform-origin: top right;
    }

    .shift-actions-item {
      display: flex;
      align-items: center;
      width: 100%;
      min-height: 44px;
      appearance: none;
      border: none;
      background: transparent;
      color: var(--text);
      padding: 12px 14px;
      border-radius: 11px;
      text-align: left;
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }

    .shift-actions-item:hover {
      background: rgba(141, 124, 255, 0.07);
      transform: translateY(-1px);
    }

    .shift-actions-item.is-danger {
      color: #ff9aa7;
    }

    .shift-actions-item.is-danger:hover {
      background: rgba(224, 85, 85, 0.10);
      color: #ffb8c1;
    }

    .offline-banner {
      display: grid;
      gap: 6px;
      margin: 0 0 14px;
      padding: 12px 14px;
      border-radius: 18px;
      border: 1px solid rgba(141, 124, 255, 0.16);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
        rgba(18, 21, 43, 0.72);
      box-shadow: 0 12px 28px rgba(6, 9, 18, 0.18);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .offline-banner.hidden {
      display: none;
    }

    .offline-banner-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .offline-banner-title {
      font-size: 13px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.01em;
    }

    .offline-banner-status {
      font-size: 12px;
      font-weight: 800;
      color: #d9d2ff;
      white-space: nowrap;
    }

    .offline-banner-text {
      font-size: 12.5px;
      line-height: 1.45;
      color: rgba(244, 247, 255, 0.72);
    }

    .shift-pending-line {
      font-size: 11px;
      font-weight: 600;
      color: #ffd66e;
      line-height: 1.3;
      letter-spacing: 0.01em;
    }

    .shift-pending-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      width: fit-content;
      padding: 5px 9px;
      border-radius: 999px;
      border: 1px solid rgba(247, 185, 85, 0.42);
      background: rgba(247, 185, 85, 0.18);
      color: #ffd66e;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.02em;
      line-height: 1;
    }

    .shift-item.is-pending {
      border-color: rgba(247, 185, 85, 0.48);
      background:
        radial-gradient(circle at 16% 0%, rgba(247, 185, 85, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(33, 28, 22, 0.9), rgba(19, 16, 13, 0.92));
      box-shadow:
        0 14px 28px rgba(4, 7, 15, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.05);
    }

    .shift-pending-chip {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      margin-left: 8px;
      padding: 4px 9px;
      border-radius: 999px;
      background: rgba(247, 185, 85, 0.20);
      border: 1px solid rgba(247, 185, 85, 0.44);
      color: #ffe08a;
      font-size: 10px;
      font-weight: 900;
      line-height: 1;
      letter-spacing: 0.02em;
      vertical-align: middle;
      flex-shrink: 0;
    }

    .btn-action {
      background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      color: rgba(244, 247, 255, 0.68);
      width: 36px;
      height: 36px;
      border-radius: 12px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
      -webkit-tap-highlight-color: transparent;
      backdrop-filter: blur(12px);
      box-shadow: 0 10px 18px rgba(6, 9, 18, 0.16), inset 0 1px 0 rgba(255,255,255,0.04);
    }

    .btn-edit {
      color: #ffd66e;
      border-color: rgba(247, 185, 85, 0.24);
      background: rgba(247, 185, 85, 0.08);
    }

    .btn-delete {
      color: var(--danger);
      border-color: rgba(224, 85, 85, 0.22);
      background: rgba(224, 85, 85, 0.06);
    }

    .btn-action svg {
      width: 16px;
      height: 16px;
      display: block;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .btn-action:active {
      background: rgba(255,255,255,0.08);
      transform: translateY(1px);
    }

    .btn-edit:active {
      color: #ffd66e;
      border-color: var(--warn);
      background: rgba(247,185,85,0.18);
    }

    .btn-delete:active {
      color: var(--danger);
      border-color: var(--danger);
      background: rgba(224,85,85,0.16);
    }

    .shift-item.is-edit-target {
      border-color: rgba(247, 185, 85, 0.45);
      box-shadow: 0 0 0 1px rgba(247, 185, 85, 0.16), 0 14px 28px rgba(247, 185, 85, 0.08);
      background:
        linear-gradient(135deg, rgba(247, 185, 85, 0.12), rgba(255,255,255,0.03)),
        rgba(14, 17, 31, 0.72);
    }

    .shift-item.is-delete-target {
      border-color: rgba(224, 85, 85, 0.5);
      box-shadow: 0 0 0 1px rgba(224, 85, 85, 0.16), 0 14px 28px rgba(224, 85, 85, 0.08);
      background:
        linear-gradient(135deg, rgba(224, 85, 85, 0.12), rgba(255,255,255,0.03)),
        rgba(14, 17, 31, 0.72);
    }

    .shift-item.is-adding-target {
      border-color: rgba(141, 124, 255, 0.54);
      box-shadow: 0 0 0 1px rgba(141, 124, 255, 0.16), 0 14px 28px rgba(141, 124, 255, 0.08);
      background:
        linear-gradient(135deg, rgba(141, 124, 255, 0.14), rgba(82, 215, 255, 0.06)),
        rgba(14, 17, 31, 0.72);
    }

    @keyframes addPulse {
      0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(124, 109, 240, 0.35); }
      45% { transform: scale(1.01); box-shadow: 0 0 0 14px rgba(124, 109, 240, 0); }
      100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(124, 109, 240, 0.2), 0 12px 26px rgba(124, 109, 240, 0.08); }
    }

    @keyframes fadeSlideUp {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }

    @keyframes shimmer {
      0%   { background-position: -400% 0; }
      100% { background-position: 400% 0; }
    }

    @keyframes pulseGlow {
      0%, 100% { box-shadow: 0 0 0 0 rgba(124, 109, 240, 0.4), 0 14px 32px rgba(124, 109, 240, 0.5); }
      50%       { box-shadow: 0 0 0 10px rgba(124, 109, 240, 0), 0 14px 32px rgba(124, 109, 240, 0.6); }
    }

    @keyframes quickMetricPulse {
      0%   { transform: translateY(0) scale(1); text-shadow: 0 10px 28px rgba(0, 0, 0, 0.20); }
      45%  { transform: translateY(-1px) scale(1.03); text-shadow: 0 16px 34px rgba(141, 124, 255, 0.24); }
      100% { transform: translateY(0) scale(1); text-shadow: 0 10px 28px rgba(0, 0, 0, 0.20); }
    }

    .tab-btn.center { animation: pulseGlow 2.8s ease-in-out infinite; }

    .dashboard-card  { animation: fadeSlideUp 0.45s ease both; }
    .quick-stats-grid .quick-stat:nth-child(1) { animation: fadeSlideUp 0.4s ease 0.05s both; }
    .quick-stats-grid .quick-stat:nth-child(2) { animation: fadeSlideUp 0.4s ease 0.10s both; }
    .quick-stats-grid .quick-stat:nth-child(3) { animation: fadeSlideUp 0.4s ease 0.15s both; }
    .stats-grid .stat-card:nth-child(1) { animation: fadeSlideUp 0.4s ease 0.05s both; }
    .stats-grid .stat-card:nth-child(2) { animation: fadeSlideUp 0.4s ease 0.10s both; }
    .stats-grid .stat-card:nth-child(3) { animation: fadeSlideUp 0.4s ease 0.15s both; }
    .stats-grid .stat-card:nth-child(4) { animation: fadeSlideUp 0.4s ease 0.20s both; }
    .stats-grid .stat-card:nth-child(5) { animation: fadeSlideUp 0.4s ease 0.25s both; }
    .stats-grid .stat-card:nth-child(6) { animation: fadeSlideUp 0.4s ease 0.30s both; }

    .shift-actions {
      display: flex;
      gap: 6px;
      align-items: center;
      justify-content: flex-end;
      flex-shrink: 0;
    }

    .btn-link {
      width: 100%;
      margin-top: 10px;
      background: transparent;
      color: var(--text-muted);
      border: none;
      font-size: 13px;
      padding: 8px 0 0;
      cursor: pointer;
      text-align: center;
      -webkit-tap-highlight-color: transparent;
    }

    .btn-link:active { color: var(--text); }

    /* ── Secondary Button ── */
    .btn-secondary {
      width: 100%;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
        rgba(255,255,255,0.03);
      color: rgba(244, 247, 255, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 18px;
      font-size: 14px;
      padding: 12px;
      cursor: pointer;
      min-height: 44px;
      transition: color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
      -webkit-tap-highlight-color: transparent;
      backdrop-filter: blur(14px);
      box-shadow: 0 12px 24px rgba(6, 9, 18, 0.18), inset 0 1px 0 rgba(255,255,255,0.05);
    }

    .btn-secondary:active {
      color: var(--text);
      border-color: rgba(141, 124, 255, 0.3);
      box-shadow: 0 10px 20px rgba(141, 124, 255, 0.12);
      transform: translateY(1px);
    }

    /* ── Footer ── */
    .footer {
      text-align: center;
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 12px;
      padding-bottom: 8px;
      opacity: 0.7;
    }

    /* ── Overlay / Bottom Sheet ── */
    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      z-index: var(--layer-scrim);
      display: flex;
      align-items: flex-end;
      padding: 16px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
    }

    .overlay.visible { opacity: 1; pointer-events: all; }

    .bottom-sheet {
      background:
        radial-gradient(circle at 14% 0%, rgba(82, 215, 255, 0.08), transparent 24%),
        radial-gradient(circle at 90% 8%, rgba(234, 114, 255, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
        rgba(18, 21, 43, 0.92);
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 28px 28px 20px 20px;
      width: 100%;
      max-height: 85vh;
      overflow-y: auto;
      padding: 24px;
      transform: translateY(24px);
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
      box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    }

    .overlay.visible .bottom-sheet { transform: translateY(0); }

    .sheet-title {
      font-size: 17px;
      font-weight: 800;
      margin-bottom: 14px;
      letter-spacing: -0.02em;
    }

    .sheet-text {
      font-size: 14px;
      color: rgba(244, 247, 255, 0.64);
      line-height: 1.6;
      margin-bottom: 12px;
    }

    .sheet-text strong { color: var(--text); }

    .sheet-steps {
      font-size: 14px;
      color: rgba(244, 247, 255, 0.64);
      line-height: 1.8;
      padding-left: 20px;
      margin-bottom: 14px;
    }

    .sheet-steps li { margin-bottom: 2px; }

    .sheet-url-row {
      display: flex;
      gap: 8px;
      align-items: center;
      margin-bottom: 16px;
    }

    .sheet-url-text {
      flex: 1;
      min-width: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
        rgba(18, 21, 43, 0.72);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 16px;
      padding: 8px 10px;
      font-size: 12px;
      color: #cfd1ff;
      word-break: break-all;
      overflow: hidden;
      max-height: 38px;
    }

    .btn-copy {
      background: linear-gradient(135deg, #8d7cff 0%, #ea72ff 100%);
      color: #fff;
      border: none;
      border-radius: 16px;
      font-size: 13px;
      font-weight: 800;
      padding: 8px 14px;
      cursor: pointer;
      white-space: nowrap;
      min-height: 38px;
      -webkit-tap-highlight-color: transparent;
      box-shadow: 0 12px 24px rgba(141, 124, 255, 0.22);
    }

    .btn-sheet-close {
      width: 100%;
      background: rgba(255,255,255,0.05);
      color: var(--text);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 16px;
      font-size: 15px;
      font-weight: 700;
      padding: 13px;
      cursor: pointer;
      min-height: 48px;
      -webkit-tap-highlight-color: transparent;
      backdrop-filter: blur(12px);
    }

    /* ── Confirm Dialog ── */
    .confirm-shift-card-slot {
      margin-top: 4px;
    }

    .confirm-shift-card-slot .shift-item {
      margin-bottom: 0;
    }

    .shift-item.shift-item-confirm {
      padding: 14px 14px 12px;
      border-radius: 22px;
      gap: 10px;
      cursor: default;
      pointer-events: none;
      transform: none;
    }

    .shift-item.shift-item-confirm:hover {
      transform: none;
      box-shadow:
        0 16px 34px rgba(4, 7, 15, 0.24),
        0 0 0 1px rgba(141, 124, 255, 0.04),
        inset 0 1px 0 rgba(255,255,255,0.05);
    }

    .shift-item.shift-item-confirm .shift-card-top {
      gap: 8px;
    }

    .shift-item.shift-item-confirm .shift-card-body {
      padding-bottom: 0;
    }

    .shift-item.shift-item-confirm .shift-direction-row {
      font-size: 12px;
    }

    .shift-item.shift-item-confirm .shift-main-row {
      gap: 8px;
    }

    .shift-item.shift-item-confirm .shift-datetime-line {
      font-size: 12px;
    }

    .shift-item.shift-item-confirm .shift-duration {
      font-size: 11px;
    }

    .shift-item.shift-item-confirm .shift-tech-line {
      font-size: 11px;
    }

    .shift-item.shift-item-confirm .shift-income-row {
      padding-top: 8px;
    }

    .confirm-note {
      margin-top: 10px;
      font-size: 12px;
      line-height: 1.4;
      color: rgba(244, 247, 255, 0.56);
    }

    .confirm-btns {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 18px;
    }

    .btn-confirm-cancel, .btn-confirm-delete {
      border-radius: var(--radius-sm);
      font-size: 15px;
      font-weight: 700;
      padding: 13px;
      cursor: pointer;
      min-height: 48px;
      -webkit-tap-highlight-color: transparent;
    }

    .btn-confirm-cancel {
      background: rgba(255,255,255,0.03);
      color: rgba(244, 247, 255, 0.78);
      border: 1px solid rgba(255,255,255,0.11);
    }

    .btn-confirm-delete {
      background: linear-gradient(135deg, #f46364 0%, #de4068 100%);
      color: #fff;
      border: none;
      box-shadow: 0 12px 24px rgba(222, 64, 104, 0.24);
    }

    @media (max-width: 360px) {
      .confirm-btns {
        grid-template-columns: 1fr;
      }
    }
