:root{--color-bg: #f5f7fb;--color-surface: #ffffff;--color-text: #1b2233;--color-muted: #5b6478;--color-brand: #022268;--color-accent: #e8731a;--color-border: #d8dde8;--color-error: #b3261e;--color-success: #1e7a3c}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--color-bg: #111521;--color-surface: #1a2030;--color-text: #e8ecf5;--color-muted: #a3acc2;--color-brand: #8fb0ff;--color-accent: #ffb27a;--color-border: #2c3448;--color-error: #ff8a80;--color-success: #7fd39a}}:root[data-theme=dark]{--color-bg: #111521;--color-surface: #1a2030;--color-text: #e8ecf5;--color-muted: #a3acc2;--color-brand: #8fb0ff;--color-accent: #ffb27a;--color-border: #2c3448;--color-error: #ff8a80;--color-success: #7fd39a}*{box-sizing:border-box}body{margin:0;background:var(--color-bg);color:var(--color-text);font-family:Zen Kaku Gothic Antique,system-ui,sans-serif;line-height:1.6}.app-shell{max-width:960px;margin:0 auto;padding:16px}.app-header{display:flex;justify-content:space-between;align-items:center;padding:8px 0 16px}.brand-name{font-weight:700;color:var(--color-brand)}.tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.tabs button[aria-pressed=true]{background:var(--color-brand);color:#fff}button{font:inherit;padding:10px 16px;border:1px solid var(--color-brand);border-radius:8px;background:var(--color-surface);color:var(--color-brand);cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.link-button{border:none;background:none;color:var(--color-brand);text-decoration:underline;padding:0}.panel,.token-gate{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:16px}.stacked-form{display:flex;flex-direction:column;gap:12px}.stacked-form label{display:flex;flex-direction:column;gap:4px}textarea,input{font:inherit;padding:8px;border:1px solid var(--color-border);border-radius:6px;min-width:0;max-width:100%;background:var(--color-surface);color:var(--color-text)}.url-box{display:block;word-break:break-all;padding:8px;border:1px dashed var(--color-border);border-radius:6px;margin:8px 0}.link-result{margin-top:12px}.hint{color:var(--color-muted);font-size:.9em}.error{color:var(--color-error)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.92em}th,td{padding:8px;border-bottom:1px solid var(--color-border);text-align:left;white-space:nowrap}td:nth-child(n+5){text-align:right}
