:root {
        --bg: #0f172a;
        --panel: #111827;
        --card: #1f2937;
        --text: #e5e7eb;
        --muted: #9ca3af;
        --accent: #22d3ee;
        --accent-2: #f472b6;
        --danger: #f87171;
      }
      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.12), transparent 25%),
          radial-gradient(circle at 80% 0%, rgba(244, 114, 182, 0.16), transparent 30%),
          var(--bg);
        color: var(--text);
        min-height: 100vh;
      }
      header {
        padding: 16px 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .header-right {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .user-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
      }
      .user-email {
        font-size: 12px;
        color: var(--text);
      }
      .visitor-badge {
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 999px;
        background: rgba(248, 113, 113, 0.2);
        color: #f87171;
        border: 1px solid rgba(248, 113, 113, 0.4);
      }
      .user-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #0b1221;
        border: 1px solid #1f2937;
        color: var(--text);
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }
      .logo {
        font-weight: 700;
        letter-spacing: 0.5px;
      }
      .container {
        display: grid;
        grid-template-columns: 360px 1fr;
        gap: 16px;
        padding: 0 16px 16px;
      }
      .panel {
        background: var(--panel);
        border: 1px solid #1f2937;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
      }
      h2 {
        margin: 0 0 12px;
        font-size: 16px;
        color: var(--text);
      }
      label {
        display: block;
        font-size: 12px;
        margin-bottom: 4px;
        color: var(--muted);
      }
      input,
      select {
        width: 100%;
        padding: 10px 12px;
        border-radius: 8px;
        border: 1px solid #1f2937;
        background: #0b1221;
        color: var(--text);
        margin-bottom: 10px;
        outline: none;
      }
      button {
        border: none;
        border-radius: 8px;
        padding: 10px 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
      }
      .btn-primary {
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        color: #0b1221;
        width: 100%;
      }
      button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }
      .btn-outline {
        background: transparent;
        border: 1px solid #1f2937;
        color: var(--text);
      }
      .btn-danger {
        background: var(--danger);
        color: #0b1221;
      }
      .task-card {
        border: 1px solid #1f2937;
        border-radius: 10px;
        padding: 12px;
        margin-bottom: 10px;
        background: var(--card);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
      }
      .task-card.selected {
        border-color: var(--accent);
        box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35);
      }
      .task-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 6px;
      }
      .status {
        padding: 2px 8px;
        border-radius: 999px;
        font-size: 12px;
      }
      .status.running {
        background: rgba(34, 197, 94, 0.15);
        color: #4ade80;
      }
      .status.stopped {
        background: rgba(248, 113, 113, 0.15);
        color: #fca5a5;
      }
      .timeline {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 12px;
      }
      .item-card {
        background: var(--panel);
        border: 1px solid #1f2937;
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        min-height: 320px;
      }
      .item-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        background: #0b1221;
      }
      .item-body {
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
      }
      .price {
        color: #f87171;
        font-weight: 700;
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .badge-new {
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 999px;
        background: #ef4444;
        color: #fff;
        letter-spacing: 0.5px;
      }
      .muted {
        color: var(--muted);
        font-size: 12px;
      }
      .link {
        color: var(--accent);
        text-decoration: none;
        font-weight: 600;
      }
      .actions {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
      }
      .notify-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-right: 6px;
      }
      .toggle-label {
        font-size: 12px;
        color: var(--muted);
      }
      .switch {
        position: relative;
        display: inline-block;
        width: 40px;
        height: 22px;
      }
      .switch input {
        opacity: 0;
        width: 0;
        height: 0;
      }
      .slider {
        position: absolute;
        cursor: pointer;
        inset: 0;
        background-color: #374151;
        transition: 0.2s;
        border-radius: 999px;
        border: 1px solid #1f2937;
      }
      .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 3px;
        top: 2px;
        background-color: #e5e7eb;
        transition: 0.2s;
        border-radius: 50%;
      }
      .switch input:checked + .slider {
        background-color: rgba(34, 197, 94, 0.6);
      }
      .switch input:checked + .slider:before {
        transform: translateX(17px);
      }
      .modal-mask {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 50;
      }
      .modal {
        width: 360px;
        background: var(--panel);
        border: 1px solid #1f2937;
        border-radius: 12px;
        padding: 16px;
        max-height: 80vh;
        overflow: auto;
      }
      .confirm-modal {
        width: 320px;
      }
      .modal-title {
        margin: 0 0 8px;
        font-size: 16px;
      }
      .modal-desc {
        margin: 0 0 16px;
        color: var(--muted);
        font-size: 13px;
      }
      .modal-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
      }
      .step-tabs {
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
      }
      .step-tab {
        flex: 1;
        text-align: center;
        padding: 8px;
        border-radius: 8px;
        background: #0b1221;
        border: 1px solid #1f2937;
        color: var(--muted);
        cursor: pointer;
      }
      .step-tab.active {
        color: var(--text);
        border-color: var(--accent);
      }
      .toast {
        position: fixed;
        right: 16px;
        bottom: 16px;
        padding: 10px 14px;
        border-radius: 8px;
        background: #0b1221;
        border: 1px solid #1f2937;
        color: var(--text);
        z-index: 60;
        font-size: 13px;
      }
      .toast.success {
        border-color: rgba(34, 197, 94, 0.5);
      }
      .toast.error {
        border-color: rgba(248, 113, 113, 0.6);
      }
      .auth-mask {
        position: fixed;
        inset: 0;
        background: rgba(3, 7, 18, 0.88);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 40;
      }
      .auth-panel {
        width: 360px;
        background: #0b1221;
        border: 1px solid #1f2937;
        border-radius: 14px;
        padding: 20px;
        box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
      }
      .auth-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 12px;
      }
      .auth-tab {
        background: transparent;
        border: 1px solid #1f2937;
        color: var(--muted);
        padding: 8px;
        border-radius: 8px;
        font-weight: 600;
      }
      .auth-tab.active {
        border-color: var(--accent);
        color: var(--text);
        background: rgba(34, 211, 238, 0.12);
      }
      .auth-body {
        margin-bottom: 12px;
      }
      .guest-btn {
        width: 100%;
        padding: 10px 12px;
        border-radius: 8px;
        background: #111827;
        border: 1px dashed rgba(34, 211, 238, 0.6);
        color: var(--accent);
        font-weight: 600;
      }
      .notify-toast {
        position: fixed;
        right: 16px;
        top: 16px;
        background: #0b1221;
        border: 1px solid rgba(59, 130, 246, 0.4);
        padding: 12px 14px;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
        z-index: 70;
        max-width: 320px;
      }
      .notify-title {
        font-size: 12px;
        color: #93c5fd;
        margin-bottom: 6px;
      }
      .notify-body {
        font-size: 13px;
        color: var(--text);
      }
      @media (max-width: 1024px) {
        .container {
          grid-template-columns: 1fr;
        }
      }
