    :root {
      --panel: #ffffff;
      --text: #1f2937;
      --muted: #6b7280;
      --primary: #1d4ed8;
      --primary-hover: #1e40af;
      --secondary: #0f766e;
      --secondary-hover: #115e59;
      --success: #15803d;
      --error: #dc2626;
      --border: #e5e7eb;
      --shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
      --radius: 14px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      color: var(--text);
      background: linear-gradient(140deg, #eef3ff 0%, #f8fbff 55%, #eefaf5 100%);
      min-height: 100vh;
    }

    .app {
      width: min(1400px, 94vw);
      margin: 0 auto;
      padding: 24px 0 40px;
    }

    .header {
      margin-bottom: 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .header-left {
      width: 100%;
    }

    .title {
      margin: 0;
      font-size: clamp(22px, 3vw, 32px);
      font-weight: 800;
      letter-spacing: 0.3px;
    }

    .subtitle {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .tabs {
      display: inline-flex;
      gap: 8px;
      background: rgba(255, 255, 255, 0.7);
      padding: 6px;
      border-radius: 12px;
      border: 1px solid #dbe4ff;
      flex: 0 0 auto;
    }

    .tab-btn {
      border: none;
      border-radius: 10px;
      padding: 8px 14px;
      font-size: 14px;
      font-weight: 700;
      color: #334155;
      background: transparent;
      cursor: pointer;
    }

    .tab-btn.active {
      background: #2563eb;
      color: #fff;
    }

    .top-actions {
      margin-top: 0;
      display: flex;
      gap: 9px;
      align-items: center;
      flex-wrap: nowrap;
      justify-content: flex-end;
      flex: 1 1 auto;
      margin-left: auto;
    }
    .toolbar-row {
      display: flex;
      align-items: center;
      gap: 14px;
      width: 100%;
    }
    .top-action-btn {
      min-width: 120px;
      flex: 0 0 auto;
      white-space: nowrap;
    }
    .top-action-input {
      min-width: 200px;
      flex: 1 1 240px;
      height: 40px;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      padding: 0 12px;
      font-size: 14px;
      outline: none;
    }
    .top-action-input:focus {
      border-color: #60a5fa;
      box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
    }
    .status-open-btn {
      min-width: 120px;
      flex: 0 0 auto;
      white-space: nowrap;
      background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
      color: #1e3a8a;
      border: 1px solid #93c5fd;
      border-radius: 10px;
      height: 40px;
      padding: 0 14px;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }
    .status-open-btn:hover {
      background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    }
    .status-row {
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }
    .status-row + .status-row {
      margin-top: 4px;
    }
    .realtime-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 64px;
      padding: 1px 8px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 700;
      font-size: 11px;
    }
    .realtime-badge.connected {
      background: #ecfdf5;
      color: #166534;
      border-color: #86efac;
    }
    .realtime-badge.connecting {
      background: #eff6ff;
      color: #1e40af;
      border-color: #93c5fd;
    }
    .realtime-badge.polling {
      background: #fff7ed;
      color: #9a3412;
      border-color: #fdba74;
    }
    .realtime-badge.error {
      background: #fef2f2;
      color: #991b1b;
      border-color: #fca5a5;
    }
    .status-popup {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.28);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      z-index: 1060;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 12px;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    .status-popup.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }
    .status-popup-panel {
      width: min(560px, 96vw);
      background: #fff;
      border: 1px solid #dbe4ff;
      border-radius: 14px;
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.28);
      padding: 16px;
      position: relative;
    }
    .status-title {
      margin: 0 0 10px;
      font-size: 18px;
      font-weight: 800;
      color: #0f172a;
    }
    .status-body {
      color: #334155;
      font-size: 13px;
      line-height: 1.45;
      display: grid;
      gap: 8px;
    }
    @media (max-width: 1120px) {
      .toolbar-row {
        align-items: flex-start;
        flex-direction: column;
      }
      .top-actions {
        justify-content: flex-start;
        flex: 1 1 100%;
        margin-left: 0;
        flex-wrap: wrap;
      }
    }

    .loading {
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      margin-bottom: 16px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.8);
      border: 1px solid var(--border);
      color: var(--muted);
      font-size: 14px;
      gap: 10px;
    }
    .loading.active { display: flex; }

    .spinner {
      width: 18px;
      height: 18px;
      border: 2px solid #c7d2fe;
      border-top-color: var(--primary);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 16px;
    }
    .gallery-load-more {
      height: 16px;
      margin: 6px 0 0;
    }
    @media (max-width: 1280px) {
      .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }
    @media (max-width: 980px) {
      .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 760px) {
      .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 520px) {
      .gallery { grid-template-columns: 1fr; }
    }

    .card {
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      min-height: 420px;
      content-visibility: auto;
      contain-intrinsic-size: 420px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .card:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
    }

    .card-image-wrap {
      width: 100%;
      aspect-ratio: 1 / 1;
      background: linear-gradient(135deg, #dbeafe 0%, #e9f4ff 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      text-align: center;
      padding: 8px;
      position: relative;
      overflow: hidden;
    }
    .card-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
      background: rgba(255, 255, 255, 0.55);
    }
    .card-image-wrap.is-fallback .card-image { display: none; }

    .card-content {
      padding: 10px 14px 6px;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 4px;
      position: relative;
    }

    .card-title {
      margin: 0;
      font-size: 20px;
      font-weight: 700;
      line-height: 1.35;
      word-break: break-word;
      text-align: center;
      cursor: default;
    }

    .card-footer { padding: 0 14px 10px; }
    .btn-row {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 8px;
    }

    .action-btn {
      flex: 1 1 140px;
      min-width: 130px;
    }

    .empty {
      display: none;
      margin-top: 12px;
      padding: 24px;
      text-align: center;
      border-radius: 12px;
      border: 1px dashed #cbd5e1;
      color: var(--muted);
      background: rgba(255, 255, 255, 0.75);
    }
    .empty.active { display: block; }

    .toast-wrap {
      position: fixed;
      right: 16px;
      top: 16px;
      z-index: 1100;
      display: flex;
      flex-direction: column;
      gap: 10px;
      pointer-events: none;
    }
    .toast {
      min-width: 210px;
      max-width: 340px;
      color: #fff;
      border-radius: 10px;
      padding: 12px 14px;
      box-shadow: 0 12px 25px rgba(2, 6, 23, 0.25);
      font-size: 14px;
      line-height: 1.4;
      animation: toast-in 0.22s ease;
      pointer-events: auto;
    }
    .toast.success { background: var(--success); }
    .toast.error { background: var(--error); }
    @keyframes toast-in {
      from { transform: translateY(-10px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .hover-popup {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.28);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      z-index: 1050;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: clamp(8px, 1.4vw, 16px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.24s ease, visibility 0.24s ease;
    }
    .hover-popup.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .hover-popup-panel {
      width: min(1840px, calc(100vw - clamp(24px, 8vw, 200px)));
      max-height: calc(100vh - clamp(16px, 3vh, 48px));
      background: #ffffff;
      border: 1px solid #dbe4ff;
      border-radius: 14px;
      box-shadow: 0 24px 50px rgba(15, 23, 42, 0.32);
      padding: 16px;
      pointer-events: auto;
      transform: translateY(8px) scale(0.985);
      transition: transform 0.24s ease;
      position: relative;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      overflow-x: hidden;
    }

    @media (max-width: 900px) {
      .hover-popup-panel {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
      }
    }
    .hover-popup.active .hover-popup-panel {
      transform: translateY(0) scale(1);
    }

    .hover-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: clamp(10px, 1.2vw, 14px);
      margin-top: 24px;
      margin-bottom: 12px;
      align-items: stretch;
    }
    @media (max-width: 560px) {
      .hover-grid {
        grid-template-columns: 1fr;
      }
    }

    .hover-item {
      background: #f8fbff;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 8px;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .hover-item-image {
      width: 100%;
      aspect-ratio: 3 / 4;
      min-height: clamp(220px, 32vh, 360px);
      max-height: 460px;
      object-fit: contain;
      object-position: center;
      border-radius: 8px;
      background: #f8fafc;
      display: block;
      margin-bottom: 8px;
    }
    .hover-item-text {
      margin: 0;
      font-size: clamp(13px, 0.45vw + 10px, 16px);
      line-height: 1.5;
      color: #334155;
      text-align: left;
      display: block;
      flex: 1 1 auto;
      overflow: visible;
      min-height: 0;
      word-break: break-word;
      white-space: pre-line;
    }
    .hover-copy-btn {
      align-self: stretch;
      width: 100%;
      height: 36px;
      border: 1px solid #c7d2fe;
      border-radius: 10px;
      padding: 0 12px;
      background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 100%);
      color: #1e3a8a;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.2px;
      cursor: pointer;
      box-shadow: 0 6px 14px rgba(59, 130, 246, 0.14);
      transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, background 0.16s ease;
      margin-top: auto;
    }
    .hover-copy-btn:hover {
      transform: translateY(-1px);
      filter: saturate(1.06);
      box-shadow: 0 10px 18px rgba(59, 130, 246, 0.2);
      background: linear-gradient(135deg, #e0e7ff 0%, #bfdbfe 100%);
    }
    .hover-copy-btn:active {
      transform: translateY(0);
      box-shadow: 0 4px 10px rgba(59, 130, 246, 0.16);
    }
    .hover-copy-btn.is-copied {
      border-color: #86efac;
      color: #166534;
      background: linear-gradient(135deg, #ecfdf5 0%, #dcfce7 100%);
      box-shadow: 0 8px 16px rgba(34, 197, 94, 0.18);
    }

    @media (max-width: 760px) {
      .hover-popup-panel {
        padding: 12px;
      }
      .hover-close-btn {
        right: 8px;
        top: 8px;
      }
      .hover-grid {
        margin-top: 18px;
      }
    }

    .hover-close-btn {
      position: absolute;
      right: 10px;
      top: 10px;
      width: 30px;
      height: 30px;
      border: none;
      border-radius: 999px;
      background: #e2e8f0;
      color: #0f172a;
      font-size: 20px;
      line-height: 1;
      cursor: pointer;
    }
    .hover-close-btn:hover {
      background: #cbd5e1;
    }

    .hover-actions {
      position: sticky;
      bottom: 0;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      padding-top: 12px;
      background: #ffffff;
      border-top: 1px solid #e2e8f0;
    }

    .popup-action-btn {
      min-width: 112px;
      width: auto;
    }

    :is(.action-btn, .popup-action-btn, .top-action-btn) {
      --btn-bg: #334155;
      --btn-bg-hover: #1f2937;
      --btn-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
      height: 42px;
      border: none;
      border-radius: 12px;
      padding: 0 16px;
      color: #ffffff;
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.2px;
      cursor: pointer;
      background: var(--btn-bg);
      box-shadow: var(--btn-shadow);
      transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    }

    :is(.action-btn, .popup-action-btn, .top-action-btn):hover {
      transform: translateY(-1px);
      filter: saturate(1.08);
      box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
      background: var(--btn-bg-hover);
    }

    :is(.action-btn, .popup-action-btn, .top-action-btn):active {
      transform: translateY(0);
      box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
    }

    :is(.action-btn, .popup-action-btn, .top-action-btn):disabled {
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
      filter: none;
      background: #94a3b8;
      color: #eef2ff;
      opacity: 0.98;
    }

    .run-btn { --btn-bg: #2563eb; --btn-bg-hover: #1d4ed8; }
    .secondary-extra-btn { --btn-bg: #0f766e; --btn-bg-hover: #115e59; }
    .detail-btn { --btn-bg: #334155; --btn-bg-hover: #1f2937; }
    .popup-action-btn.btn-a { --btn-bg: #0284c7; --btn-bg-hover: #0369a1; }
    .popup-action-btn.btn-b { --btn-bg: #0f766e; --btn-bg-hover: #115e59; }
    .popup-action-btn.btn-c { --btn-bg: #b45309; --btn-bg-hover: #92400e; }
    .popup-action-btn.btn-d { --btn-bg: #7c3aed; --btn-bg-hover: #6d28d9; }
    .popup-action-btn.btn-download { --btn-bg: #2563eb; --btn-bg-hover: #1d4ed8; }
    .top-action-btn.btn-top-a { --btn-bg: #4f46e5; --btn-bg-hover: #4338ca; }
    .top-action-btn.btn-top-b { --btn-bg: #0f766e; --btn-bg-hover: #0f5f59; }
    .top-action-btn.btn-user-center { --btn-bg: #0f766e; --btn-bg-hover: #0f5f59; min-width: 88px; }
    .app.auth-locked { display: none; }
    .auth-screen {
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 24px;
    }
    .auth-screen[hidden] { display: none; }
    .auth-panel {
      width: min(420px, 94vw);
      background: #fff;
      border: 1px solid #dbe4ff;
      border-radius: 14px;
      box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
      padding: 22px;
    }
    .auth-title {
      margin: 0;
      font-size: 24px;
      font-weight: 800;
      color: #0f172a;
    }
    .auth-subtitle {
      margin: 8px 0 18px;
      color: #64748b;
      font-size: 14px;
      line-height: 1.5;
    }
    .auth-form {
      display: grid;
      gap: 12px;
    }
    .auth-label {
      display: grid;
      gap: 6px;
      color: #334155;
      font-size: 13px;
      font-weight: 700;
    }
    .auth-input {
      width: 100%;
      height: 42px;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      padding: 0 12px;
      font-size: 15px;
      outline: none;
    }
    .auth-input:focus {
      border-color: #60a5fa;
      box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
    }
    .auth-submit-btn,
    .logout-btn,
    .user-manage-btn,
    .password-open-btn,
    .user-save-btn,
    .user-row-btn {
      border: none;
      border-radius: 10px;
      background: #2563eb;
      color: #fff;
      font-weight: 800;
      cursor: pointer;
    }
    .auth-submit-btn {
      height: 42px;
      font-size: 15px;
      margin-top: 4px;
    }
    .auth-submit-btn:disabled,
    .logout-btn:disabled {
      background: #94a3b8;
      cursor: not-allowed;
    }
    .auth-error {
      min-height: 18px;
      margin: 2px 0 0;
      color: #dc2626;
      font-size: 13px;
    }
    .user-chip {
      color: #334155;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
      flex: 0 0 auto;
    }
    .logout-btn {
      height: 40px;
      min-width: 54px;
      padding: 0 12px;
      background: #475569;
      white-space: nowrap;
      line-height: 40px;
    }
    .user-popup-panel {
      width: min(1180px, 96vw);
      max-height: 88vh;
      overflow: auto;
    }
    .admin-only[hidden] { display: none; }
    .center-tabs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      padding: 4px;
      margin: 10px 0 16px;
      border: 1px solid #dbe4ff;
      border-radius: 12px;
      background: #f8fbff;
    }
    .center-tab-btn {
      height: 36px;
      border: none;
      border-radius: 9px;
      padding: 0 14px;
      color: #334155;
      background: transparent;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
    }
    .center-tab-btn.active {
      color: #fff;
      background: #2563eb;
      box-shadow: 0 8px 16px rgba(37, 99, 235, 0.18);
    }
    .center-page[hidden] { display: none; }
    .center-page {
      display: grid;
      gap: 14px;
    }
    .user-form {
      display: grid;
      grid-template-columns: minmax(160px, 1fr) minmax(180px, 1fr) 120px auto;
      gap: 8px;
      align-items: end;
      margin-bottom: 14px;
    }
    .user-field {
      display: grid;
      gap: 5px;
      font-size: 12px;
      font-weight: 700;
      color: #475569;
    }
    .user-input,
    .user-select {
      height: 38px;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      padding: 0 10px;
      font-size: 14px;
      background: #fff;
      outline: none;
    }
    .user-save-btn {
      height: 38px;
      padding: 0 14px;
      background: #2563eb;
      white-space: nowrap;
    }
    .user-table {
      display: grid;
      gap: 8px;
      max-height: min(52vh, 520px);
      overflow: auto;
    }
    .long-image-settings-layout {
      display: grid;
      grid-template-columns: minmax(320px, 420px) minmax(360px, 1fr);
      gap: 18px;
      align-items: start;
    }
    .long-image-settings-panel {
      position: sticky;
      top: 0;
      align-self: start;
    }
    .long-image-control-grid {
      grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr);
    }
    .long-image-preview-panel {
      min-width: 0;
      display: grid;
      gap: 10px;
    }
    .long-image-preview-box {
      min-height: 220px;
      max-height: min(68vh, 780px);
      overflow: auto;
      padding: 0;
      border-radius: 10px;
      background: #f8fafc;
    }
    .long-image-preview-box canvas {
      display: block;
    }
    @media (max-width: 980px) {
      .long-image-settings-layout {
        grid-template-columns: 1fr;
      }
      .long-image-settings-panel {
        position: static;
      }
    }
    .user-row {
      display: grid;
      grid-template-columns: minmax(160px, 1fr) 90px minmax(150px, 190px) minmax(260px, 340px);
      gap: 8px;
      align-items: center;
      padding: 10px;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      background: #f8fafc;
      font-size: 13px;
    }
    .user-name {
      font-weight: 800;
      color: #0f172a;
      overflow-wrap: anywhere;
    }
    .user-role {
      display: inline-flex;
      justify-content: center;
      border-radius: 999px;
      padding: 3px 8px;
      background: #e0f2fe;
      color: #075985;
      font-weight: 800;
      font-size: 12px;
    }
    .user-meta { color: #64748b; }
    .user-row-actions {
      display: flex;
      gap: 8px;
      justify-content: flex-end;
      flex-wrap: nowrap;
      align-items: center;
    }
    .user-row-btn {
      height: 32px;
      min-width: 54px;
      padding: 0 10px;
      font-size: 12px;
      line-height: 32px;
      white-space: nowrap;
      flex: 0 0 auto;
      background: #475569;
    }
    .user-row-btn.danger { background: #dc2626; }
    .user-section-title {
      margin: 16px 0 10px;
      font-size: 15px;
      font-weight: 800;
      color: #0f172a;
    }
    .invite-tools {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }
    .invite-output {
      min-height: 38px;
      flex: 1 1 260px;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      padding: 9px 10px;
      color: #334155;
      background: #f8fafc;
      font-size: 13px;
      overflow-wrap: anywhere;
    }
    .invite-row {
      grid-template-columns: minmax(130px, 1fr) 90px 90px minmax(160px, 200px) minmax(220px, 1fr) minmax(120px, 128px);
    }
    .invite-row .user-row-actions {
      min-width: 120px;
    }
    .invite-status.used {
      background: #dcfce7;
      color: #166534;
    }
    .invite-status.unused {
      background: #dbeafe;
      color: #1e40af;
    }
    .audit-row {
      grid-template-columns: minmax(150px, 190px) minmax(90px, 120px) minmax(120px, 160px) minmax(220px, 1fr);
    }
    .audit-type {
      background: #ede9fe;
      color: #5b21b6;
    }
    .pager {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 8px;
      margin-top: 4px;
    }
    .pager-info {
      min-width: 120px;
      color: #64748b;
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }
    .reminder-grid {
      display: grid;
      grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
      gap: 10px;
    }
    .reminder-toggle {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #334155;
      font-size: 14px;
      font-weight: 800;
    }
    .reminder-toggle input {
      width: 18px;
      height: 18px;
      accent-color: #2563eb;
    }
    .reminder-textarea {
      min-height: 220px;
      resize: vertical;
      padding: 10px 12px;
      line-height: 1.5;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    }
    .reminder-help {
      margin: -4px 0 0;
      color: #64748b;
      font-size: 13px;
      line-height: 1.5;
    }
    .reminder-status {
      min-height: 20px;
      color: #475569;
      font-size: 13px;
      line-height: 1.5;
    }
    @media (max-width: 760px) {
      .user-form,
      .user-row,
      .invite-row,
      .audit-row {
        grid-template-columns: 1fr;
      }
      .reminder-grid {
        grid-template-columns: 1fr;
      }
      .user-row-actions {
        justify-content: flex-start;
      }
    }
