﻿    @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

    * { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --orange:      #D4A0B5;
      --orange-dark: #B8859A;
      --orange-light:#FAEEF4;
      --blue:        #7BAF8E;
      --blue-dark:   #5A9070;
      --blue-light:  #EAF4EE;
      --cream:       #FDF8FA;
      --cream2:      #FAF3F6;
      --brown:       #7B5B6A;
      --text:        #3D2B35;
      --text-light:  #A08090;
      --border:      #F0D8E4;
      --white:       #FFFFFF;
      --success:     #6DBF8A;
      --danger:      #E07070;
    }

    body {
      font-family: 'Nunito', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
      background-color: var(--cream);
      background-image:
        linear-gradient(rgba(212,160,181,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,160,181,0.07) 1px, transparent 1px);
      background-size: 32px 32px;
      color: var(--text);
      min-height: 100vh;
      position: relative;
    }

    /* ===== HEADER ===== */
    .header {
      background: linear-gradient(135deg, #D4A0B5 0%, #E8BBCC 50%, #D4A0B5 100%);
      padding: 0 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 4px 16px rgba(212,160,181,0.35);
      position: relative;
      overflow: hidden;
      min-height: 90px;
    }
    .header::before {
      content: '';
      position: absolute; inset: 0;
      background-image: radial-gradient(circle, rgba(255,255,255,0.15) 2px, transparent 2px);
      background-size: 24px 24px;
    }
    .header-logo {
      display: flex; align-items: center; gap: 14px; position: relative; z-index: 1;
    }
    .logo-circle {
      width: 68px; height: 68px;
      background: white;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 36px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 0 0 4px rgba(255,255,255,0.5);
      flex-shrink: 0;
    }
    .header-title h1 {
      font-size: 26px; font-weight: 900; color: white;
      text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
      letter-spacing: 1px;
    }
    .header-title p {
      font-size: 13px; color: rgba(255,255,255,0.9); margin-top: 2px; font-weight: 600;
    }
    .header-deco {
      position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
      font-size: 36px; opacity: 0.25; letter-spacing: 8px;
      z-index: 0;
    }
    .header-paws {
      position: absolute; left: 0; bottom: 0; right: 0;
      height: 10px;
      background: rgba(0,0,0,0.06);
      clip-path: ellipse(110% 100% at 50% 100%);
    }

    /* ===== NAV ===== */
    .nav {
      background: white;
      border-bottom: 3px solid var(--orange-light);
      display: flex;
      padding: 0 32px;
      gap: 0;
      overflow-x: auto;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 8px rgba(212,160,181,0.12);
    }
    .nav-btn {
      padding: 14px 22px;
      border: none;
      background: none;
      font-size: 13px;
      font-weight: 800;
      color: var(--text-light);
      cursor: pointer;
      border-bottom: 3px solid transparent;
      margin-bottom: -3px;
      transition: all 0.2s;
      font-family: inherit;
      display: flex; flex-direction: column; align-items: center; gap: 4px;
      white-space: nowrap;
    }
    .nav-icon { font-size: 20px; }
    .nav-btn:hover { color: var(--orange); }
    .nav-btn.active { color: var(--orange-dark); border-bottom-color: var(--orange); }

    /* ===== MAIN ===== */
    .main { padding: 28px 32px; max-width: 1100px; margin: 0 auto; }

    /* ===== PAGES ===== */
    .page { display: none; }
    .page.active { display: block; }

    /* ===== SECTION TITLE ===== */
    .section-title {
      font-size: 20px; font-weight: 900; color: var(--text);
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 20px;
    }
    .section-title::before {
      content: '';
      display: block; width: 6px; height: 24px;
      background: linear-gradient(180deg, var(--orange), var(--orange-dark));
      border-radius: 6px;
    }

    /* ===== CARDS ===== */
    .card {
      background: var(--white);
      border-radius: 20px;
      padding: 26px;
      border: 2.5px solid var(--border);
      box-shadow: 0 4px 0 var(--border), 0 6px 20px rgba(212,160,181,0.08);
      margin-bottom: 22px;
      position: relative;
      overflow: hidden;
    }
    .card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--orange), var(--blue));
      border-radius: 20px 20px 0 0;
    }
    .card-title {
      font-size: 16px; font-weight: 900; margin-bottom: 20px;
      color: var(--text); display: flex; align-items: center; gap: 8px;
    }

    /* ===== STATS ===== */
    .stats-row { display: flex; gap: 16px; margin-bottom: 22px; }
    .stat-card {
      background: var(--white);
      border: 2.5px solid var(--border);
      box-shadow: 0 4px 0 var(--border);
      border-radius: 18px;
      padding: 18px 22px;
      flex: 1; text-align: center;
      position: relative; overflow: hidden;
    }
    .stat-card::after {
      content: attr(data-emoji);
      position: absolute; right: 12px; bottom: 6px;
      font-size: 36px; opacity: 0.12;
    }
    .stat-card.orange { border-color: #E8C0D0; box-shadow: 0 4px 0 #E8C0D0; }
    .stat-card.blue   { border-color: #A8CEEB; box-shadow: 0 4px 0 #A8CEEB; }
    .stat-card.green  { border-color: #A8DFB8; box-shadow: 0 4px 0 #A8DFB8; }
    .stat-num { font-size: 36px; font-weight: 900; color: var(--orange-dark); }
    .stat-card.blue  .stat-num { color: var(--blue-dark); }
    .stat-card.green .stat-num { color: #3a9e5f; }
    .stat-label { font-size: 12px; font-weight: 700; color: var(--text-light); margin-top: 4px; }

    /* ===== FORM ===== */
    label { font-size: 13px; font-weight: 800; color: var(--brown); display: block; margin-bottom: 6px; }
    input, textarea, select {
      width: 100%;
      padding: 11px 16px;
      border: 2px solid var(--border);
      border-radius: 12px;
      font-size: 14px;
      font-family: inherit;
      font-weight: 600;
      color: var(--text);
      background: var(--cream);
      transition: border-color 0.2s, box-shadow 0.2s;
      outline: none;
    }
    input:focus, textarea:focus, select:focus {
      border-color: var(--orange);
      box-shadow: 0 0 0 3px rgba(212,160,181,0.15);
      background: white;
    }
    textarea { resize: vertical; min-height: 130px; }
    .form-row { margin-bottom: 18px; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

    /* ===== BUTTONS ===== */
    .btn {
      padding: 11px 22px;
      border-radius: 50px;
      border: none;
      font-size: 14px; font-weight: 800;
      cursor: pointer; font-family: inherit;
      transition: all 0.18s;
      display: inline-flex; align-items: center; gap: 6px;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--orange), var(--orange-dark));
      color: white;
      box-shadow: 0 4px 0 var(--orange-dark), 0 6px 16px rgba(212,160,181,0.35);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--orange-dark), 0 8px 20px rgba(212,160,181,0.45); }
    .btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-dark); }
    .btn-blue {
      background: linear-gradient(135deg, var(--blue), var(--blue-dark));
      color: white;
      box-shadow: 0 4px 0 var(--blue-dark), 0 6px 16px rgba(123,175,142,0.3);
    }
    .btn-blue:hover { transform: translateY(-2px); }
    .btn-blue:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--blue-dark); }
    .btn-ghost {
      background: var(--cream);
      color: var(--brown);
      border: 2px solid var(--border);
      box-shadow: 0 3px 0 var(--border);
    }
    .btn-ghost:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateY(-1px); }
    .btn-danger { background: #fff0f0; color: var(--danger); border: 2px solid #fcd5d5; box-shadow: 0 3px 0 #fcd5d5; }
    .btn-danger:hover { background: #ffe4e4; }
    .btn-success { background: linear-gradient(135deg, var(--success), #4fa872); color: white; box-shadow: 0 4px 0 #4fa872; }
    .btn-success:hover { transform: translateY(-2px); }
    .btn-sm { padding: 6px 14px; font-size: 12px; }
    .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

    /* ===== PLATFORM CHIPS ===== */
    .platform-grid { display: flex; gap: 10px; flex-wrap: wrap; }
    .platform-chip {
      padding: 10px 20px;
      border-radius: 50px;
      border: 2.5px solid var(--border);
      background: var(--cream);
      font-size: 13px; font-weight: 800;
      cursor: pointer; transition: all 0.2s;
      font-family: inherit; color: var(--text-light);
    }
    .platform-chip:hover { border-color: var(--orange); color: var(--orange-dark); }
    .platform-chip.selected {
      border-color: var(--orange);
      background: var(--orange-light);
      color: var(--orange-dark);
      box-shadow: 0 3px 0 #E8C0D0;
    }

    /* ===== SAMPLE ITEMS ===== */
    .sample-item {
      background: var(--cream);
      border: 2px solid var(--border);
      border-radius: 16px;
      padding: 16px 18px;
      margin-bottom: 12px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .sample-item:hover { border-color: var(--orange); box-shadow: 0 4px 12px rgba(212,160,181,0.12); }
    .sample-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
    .sample-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
    .tag {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 11px; font-weight: 800;
      background: var(--orange-light); color: var(--orange-dark);
      border: 1.5px solid #E8C0D0;
    }
    .tag.blue   { background: var(--blue-light); color: var(--blue-dark); border-color: #A8CEEB; }
    .tag.green  { background: #E8F9EF; color: #2E7D52; border-color: #A8DFB8; }
    .tag.purple { background: #F3EEFF; color: #6B3FD4; border-color: #C9B2F0; }
    .tag-select {
      padding: 4px 24px 4px 10px;
      border-radius: 20px;
      font-size: 11px; font-weight: 800;
      border: 1.5px solid #E8C0D0;
      background: var(--orange-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 8px center / 8px;
      color: var(--orange-dark);
      appearance: none; -webkit-appearance: none;
      cursor: pointer;
      outline: none;
    }
    .tag-select:hover { filter: brightness(0.95); }
    .tag-select.tag-blue   { background-color: var(--blue-light); color: var(--blue-dark); border-color: #A8CEEB; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 8px; }
    .tag-select.green  { background-color: #E8F9EF; color: #2E7D52; border-color: #A8DFB8; }
    .tag-select.purple { background-color: #F3EEFF; color: #6B3FD4; border-color: #C9B2F0; }
    .sample-text {
      font-size: 13px; color: var(--text); line-height: 1.75;
      white-space: pre-wrap; word-break: break-word;
      cursor: pointer; border-radius: 10px; padding: 8px 10px; margin: 4px -10px 0;
      transition: background 0.15s;
      position: relative;
    }
    .sample-text:hover { background: #FDF5F8; }
    .sample-text:hover::after {
      content: '✏️ 點擊編輯';
      position: absolute; bottom: 6px; right: 10px;
      font-size: 11px; font-weight: 800; color: var(--orange-dark);
      background: var(--orange-light); padding: 2px 8px; border-radius: 20px;
    }
    .sample-edit-textarea {
      width: 100%; min-height: 140px; margin-top: 8px;
      padding: 12px 14px; border-radius: 12px;
      border: 2px solid var(--orange); background: #FDF8FA;
      font-size: 13px; line-height: 1.75; font-weight: 600;
      font-family: inherit; color: var(--text);
      resize: vertical; outline: none; box-sizing: border-box;
    }
    .sample-edit-actions { display: flex; gap: 8px; margin-top: 8px; }
    /* Bulk select */
    .bulk-bar {
      display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
      padding: 10px 14px; margin-bottom: 12px;
      background: var(--orange-light); border: 2px solid #E8C0D0;
      border-radius: 14px; animation: fadeIn 0.2s;
    }
    .bulk-count { font-size: 13px; font-weight: 800; color: var(--orange-dark); flex: 1; }
    .sample-checkbox-wrap {
      display: flex; align-items: flex-start; gap: 10px;
    }
    .sample-cb {
      width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
      accent-color: var(--orange); cursor: pointer;
    }
    .sample-item.cb-selected {
      border-color: var(--orange);
      background: #FDF5F8;
    }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
    .sample-date { font-size: 11px; color: var(--text-light); font-weight: 600; }
    .sample-actions { display: flex; gap: 8px; flex-shrink: 0; }

    /* ===== EMPTY STATE ===== */
    .empty-state {
      text-align: center; padding: 56px 20px; color: var(--text-light);
    }
    .empty-state .emoji { font-size: 56px; margin-bottom: 14px; display: block; }
    .empty-state p { font-size: 14px; font-weight: 600; line-height: 1.8; }

    /* ===== RESULT ===== */
    .result-area { display: none; }
    .result-area.show { display: block; }
    .result-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
    .result-tab {
      padding: 9px 18px;
      border-radius: 50px;
      border: 2px solid var(--border);
      background: var(--cream);
      font-size: 13px; font-weight: 800;
      cursor: pointer; font-family: inherit;
      color: var(--text-light); transition: all 0.2s;
    }
    .result-tab:hover { border-color: var(--orange); color: var(--orange-dark); }
    .result-tab.active { background: var(--orange); color: white; border-color: var(--orange); box-shadow: 0 3px 0 var(--orange-dark); }
    .result-content { display: none; }
    .result-content.active { display: block; }
    .result-box {
      background: var(--cream);
      border: 2px solid var(--border);
      border-radius: 14px;
      padding: 20px;
      font-size: 14px; line-height: 1.9; font-weight: 600;
      white-space: pre-wrap; word-break: break-word;
      min-height: 140px;
    }
    .copy-bar { display: flex; justify-content: flex-end; margin-top: 10px; gap: 8px; flex-wrap: wrap; }
    .sample-search-input {
      flex: 1; min-width: 180px; max-width: 360px;
      padding: 7px 14px; border-radius: 50px;
      border: 2px solid var(--border); background: var(--cream);
      font-size: 13px; font-weight: 700; font-family: inherit;
      color: var(--text); outline: none; transition: border-color 0.15s;
    }
    .sample-search-input::placeholder { color: var(--text-light); }
    .sample-search-input:focus { border-color: var(--orange); }
    .filter-bar { margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
    .filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
    .filter-label { font-size: 11px; font-weight: 800; color: var(--text-light); white-space: nowrap; }
    .filter-chip {
      padding: 6px 14px; border-radius: 50px;
      border: 2px solid var(--border); background: var(--cream);
      font-size: 12px; font-weight: 800; cursor: pointer;
      font-family: inherit; color: var(--text-light); transition: all 0.15s;
    }
    .filter-chip:hover { border-color: var(--orange); color: var(--orange-dark); }
    .filter-chip.active {
      border-color: var(--orange); background: var(--orange-light);
      color: var(--orange-dark); box-shadow: 0 2px 0 #E8C0D0;
    }
    .filter-divider { height: 1px; background: var(--border); margin: 4px 0 6px; }
    .hist-plat-block { margin-top: 12px; border-top: 1.5px dashed var(--border); padding-top: 12px; }
    .hist-plat-block:first-child { border-top: none; padding-top: 4px; }
    .hist-plat-label { font-size: 12px; font-weight: 800; color: var(--orange-dark); margin-bottom: 6px; }
    .hist-plat-text {
      font-size: 13px; color: var(--text); line-height: 1.85; font-weight: 600;
      white-space: pre-wrap; word-break: break-word;
    }
    .img-provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 6px; }
    .img-provider-chip {
      display: flex; flex-direction: column; gap: 4px;
      padding: 12px 14px; border-radius: 14px;
      border: 2.5px solid var(--border); background: var(--cream);
      cursor: pointer; text-align: left; font-family: inherit;
      transition: all 0.18s;
    }
    .img-provider-chip:hover { border-color: var(--orange); background: #FDF5F8; }
    .img-provider-chip.selected { border-color: var(--orange); background: var(--orange-light); box-shadow: 0 3px 0 #E8C0D0; }
    .img-provider-name { font-size: 13px; font-weight: 800; color: var(--text); }
    .img-provider-chip.selected .img-provider-name { color: var(--orange-dark); }
    .img-provider-row { display: flex; align-items: center; gap: 6px; }
    .badge-free   { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 20px; background: #E8F9EF; color: #2E7D52; border: 1.5px solid #A8DFB8; }
    .badge-paid   { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 20px; background: #F3EEFF; color: #6B3FD4; border: 1.5px solid #C9B2F0; }
    .badge-limit  { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 20px; background: var(--orange-light); color: var(--orange-dark); border: 1.5px solid #E8C0D0; }
    .img-provider-note { font-size: 11px; color: var(--text-light); font-weight: 600; }
    .img-provider-none { opacity: .65; }
    .image-gen-wrap { margin-top: 14px; }
    .external-prompt-box {
      padding: 20px; text-align: center;
    }
    .external-prompt-text {
      background: var(--cream); border: 2px solid var(--border); border-radius: 12px;
      padding: 14px 16px; font-size: 13px; line-height: 1.75; font-weight: 600;
      text-align: left; margin: 12px 0; white-space: pre-wrap; word-break: break-word;
    }
    .image-desc-box {
      background: var(--cream); border: 2px solid var(--border);
      border-radius: 14px; padding: 16px 20px;
      font-size: 14px; line-height: 1.8; font-weight: 600;
      white-space: pre-wrap; word-break: break-word;
      margin-bottom: 14px;
    }
    .image-frame {
      border-radius: 16px; border: 2px solid var(--border);
      overflow: hidden; background: #f5f0f3;
      min-height: 200px; display: flex; align-items: center; justify-content: center;
      position: relative;
    }
    .image-frame img {
      width: 100%; display: block; border-radius: 14px;
    }
    .image-loading-msg {
      text-align: center; padding: 48px 20px;
      color: var(--text-light); font-size: 14px; font-weight: 700;
    }
    .image-loading-msg span { font-size: 40px; display: block; margin-bottom: 10px; animation: spin 1.5s linear infinite; }
    .image-error-msg {
      text-align: center; padding: 32px 20px;
      color: #c0392b; font-size: 13px; font-weight: 600;
    }

    /* ===== IMG MODE TOGGLE ===== */
    .img-mode-toggle { display: flex; gap: 8px; margin-bottom: 14px; }
    .img-mode-btn {
      flex: 1; padding: 10px 16px; border-radius: 12px;
      border: 2.5px solid var(--border); background: var(--cream);
      cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700;
      color: var(--text-light); transition: all 0.18s; text-align: center;
    }
    .img-mode-btn:hover { border-color: var(--orange); color: var(--text); background: #FDF5F8; }
    .img-mode-btn.active {
      border-color: var(--orange); background: var(--orange-light);
      color: var(--orange-dark); box-shadow: 0 3px 0 #E8C0D0;
    }

    /* ===== UPLOAD PANEL ===== */
    .upload-zone {
      border: 2.5px dashed var(--border); border-radius: 16px;
      padding: 28px 20px; text-align: center; cursor: pointer;
      background: var(--cream); transition: all 0.18s; position: relative;
    }
    .upload-zone:hover { border-color: var(--orange); background: #FDF5F8; }
    .upload-zone.has-img { border-style: solid; border-color: var(--orange); padding: 12px; }
    .upload-zone input[type=file] { display: none; }
    .upload-zone-label { font-size: 14px; font-weight: 700; color: var(--text-light); }
    .upload-zone-sub { font-size: 12px; color: var(--text-light); margin-top: 4px; }
    .upload-preview {
      width: 100%; max-height: 220px; border-radius: 10px;
      object-fit: contain; display: block; margin: 0 auto;
    }
    .upload-clear-btn {
      position: absolute; top: 8px; right: 10px;
      background: rgba(0,0,0,0.45); color: #fff;
      border: none; border-radius: 20px; padding: 3px 10px;
      font-size: 12px; font-weight: 700; cursor: pointer;
    }
    .style-chips-label { font-size: 12px; font-weight: 700; color: var(--text-light); margin: 14px 0 7px; }
    .style-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
    .style-chip {
      padding: 8px 16px; border-radius: 20px;
      border: 2px solid var(--border); background: var(--cream);
      font-family: inherit; font-size: 12px; font-weight: 700;
      color: var(--text-light); cursor: pointer; transition: all 0.15s;
    }
    .style-chip:hover { border-color: var(--orange); color: var(--text); background: #FDF5F8; }
    .style-chip.active {
      border-color: var(--orange); background: var(--orange-light);
      color: var(--orange-dark);
    }
    .upload-result-row {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px;
    }
    .upload-result-label {
      font-size: 12px; font-weight: 700; color: var(--text-light);
      text-align: center; margin-bottom: 6px;
    }
    @media (max-width: 480px) {
      .upload-result-row { grid-template-columns: 1fr; }
      .img-mode-btn { font-size: 12px; padding: 9px 10px; }
    }

    /* ===== LOADING ===== */
    .loading { display: none; text-align: center; padding: 50px 20px; }
    .loading.show { display: block; }
    .paw-spin {
      font-size: 48px;
      animation: spin 1.2s linear infinite;
      display: block; margin: 0 auto 16px;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .loading p { color: var(--text-light); font-size: 14px; font-weight: 700; }

    /* ===== SETTINGS ===== */
    .api-key-input { font-family: 'Courier New', monospace; letter-spacing: 1px; }
    .hint { font-size: 12px; color: var(--text-light); margin-top: 6px; font-weight: 600; }
    .hint a { color: var(--blue-dark); text-decoration: none; }
    .hint a:hover { text-decoration: underline; }
    .status-badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 8px 16px; border-radius: 50px;
      font-size: 13px; font-weight: 800; margin-top: 10px;
    }
    .status-badge.ok  { background: #E8F9EF; color: #2E7D52; border: 2px solid #A8DFB8; }
    .status-badge.no  { background: #fff0f0; color: var(--danger); border: 2px solid #fcd5d5; }
    .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

    /* ===== WARNING BANNERS ===== */
    .warning-banner {
      background: linear-gradient(135deg, #FFF8E6, #FFF3D0);
      border: 2px solid #F5C87A;
      border-radius: 14px; padding: 14px 18px;
      font-size: 13px; color: #9A5A00;
      font-weight: 700; margin-bottom: 18px;
      display: flex; align-items: flex-start; gap: 10px;
    }

    /* ===== TOAST ===== */
    .toast {
      position: fixed; bottom: 30px; right: 30px;
      background: var(--text);
      color: white; padding: 14px 22px;
      border-radius: 50px;
      font-size: 14px; font-weight: 800;
      box-shadow: 0 8px 24px rgba(0,0,0,0.2);
      transform: translateY(20px); opacity: 0;
      transition: all 0.3s; z-index: 999;
    }
    .toast.show { transform: translateY(0); opacity: 1; }

    /* ===== DECORATIVE ===== */
    .deco-paw {
      position: fixed; pointer-events: none; opacity: 0.04;
      font-size: 80px; z-index: 0; user-select: none;
    }

    /* ===== FOOTER WAVE ===== */
    .footer-wave {
      margin-top: 40px;
      text-align: center;
      padding: 20px;
      font-size: 13px;
      color: var(--text-light);
      font-weight: 700;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 640px) {
      .main { padding: 16px; }
      .header { padding: 14px 18px; }
      .nav { padding: 0 10px; }
      .form-grid { grid-template-columns: 1fr; }
      .stats-row { flex-direction: column; }
      .header-deco { display: none; }
    }
