:root{
  --bg: #f5f4fb; --panel: #ffffff; --panel-2: #e8e6f4; --line: #cecae7;
  --accent: #35259d; --accent-soft: #cdc9e9; --accent-dim: #f1f0f8;
  --text: #171429; --muted: #534d80; --muted-2: #9994b8;
  --good: #259d5b; --bad: #b3402f;
}

.tabs{ display: flex; gap: 8px; margin-bottom: 16px; }
.tab{ flex: 1; padding: 10px; text-align: center; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); font-weight: 600; font-size: 13px; cursor: pointer; }
.tab.active{ background: var(--accent); color: #fff; border-color: var(--accent); }
.panel{ display: none; }
.panel.active{ display: block; }

textarea#input{ width: 100%; min-height: 180px; max-height: 400px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; line-height: 1.6; background: var(--panel-2); color: var(--text); overflow: auto; }
textarea#input:focus{ outline: none; border-color: var(--accent); }

.section-title{ font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px; }
.checklist{ border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.check-row{ display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.check-row:last-child{ border-bottom: none; }
.check-row:nth-child(even){ background: var(--accent-dim); }
.check-row .icon{ flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; margin-top: 1px; }
.check-row .icon.pass{ background: var(--good); }
.check-row .icon.fail{ background: var(--bad); }
.check-row .title{ font-size: 13.5px; font-weight: 700; }
.check-row .detail{ font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

.url-row{ display: flex; gap: 10px; margin-bottom: 16px; }
.url-row input{ flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: 'JetBrains Mono', monospace; font-size: 13px; background: var(--panel-2); color: var(--text); }
.url-row input:focus{ outline: none; border-color: var(--accent); }

.device-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.device-card.desktop{ grid-column: 1 / -1; }
@media (max-width: 800px){ .device-grid{ grid-template-columns: 1fr; } .device-card.desktop{ grid-column: auto; } }
.device-card{ border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.device-card .label{ padding: 8px 12px; background: var(--panel-2); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); text-align: center; }
.device-frame-wrap{ background: #eee; display: flex; justify-content: center; padding: 10px; overflow: auto; max-height: 520px; }
.device-stage{ position: relative; overflow: hidden; flex-shrink: 0; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.device-stage iframe{ position: absolute; top: 0; left: 0; border: none; transform-origin: top left; }

.btns{ display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.app{ padding: 11px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 13.5px; font-family: 'Inter', sans-serif; color: #fff; background: var(--accent); transition: filter .15s ease; }
.app:hover{ filter: brightness(1.08); }
.gray{ background: var(--line); color: var(--text); }

.note{ margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.6; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
