:root{color-scheme:light dark;--bg: #0f172a;--surface: #111827;--surface-alt: #1f2937;--border: rgba(148, 163, 184, .2);--text: #e2e8f0;--text-muted: #94a3b8;--accent: #38bdf8;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background-color:var(--bg);color:var(--text)}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit;text-decoration:none}button{font:inherit}.app{min-height:100vh;padding:2rem clamp(1.5rem,3vw,3rem);display:flex;flex-direction:column;gap:2rem}.app__header{display:flex;align-items:center;justify-content:space-between}.app__layout{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.app__column{display:flex;flex-direction:column;gap:1.5rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.card__header{display:flex;justify-content:space-between;gap:1rem;align-items:center}.card__muted{color:var(--text-muted);font-size:.875rem}.card__error{color:#f87171;font-size:.9rem}.card__section{display:flex;flex-direction:column;gap:.5rem}.card__prompt{margin:0;line-height:1.4}.ghost{background:transparent;border:1px solid var(--border);color:var(--text);padding:.5rem .9rem;border-radius:10px;cursor:pointer}.ghost:disabled{opacity:.5;cursor:not-allowed}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.stat{background:var(--surface-alt);border-radius:14px;padding:1rem;border:1px solid rgba(148,163,184,.15)}.stat__label{margin:0;font-size:.8rem;color:var(--text-muted)}.stat__value{margin:.25rem 0 0;font-size:1.4rem;font-weight:600}.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.input{background:var(--surface-alt);border:1px solid var(--border);color:var(--text);padding:.5rem .75rem;border-radius:10px;min-width:220px}.table-wrapper{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.75rem;border-bottom:1px solid var(--border)}tr.table-row{cursor:pointer}tr.table-row:hover{background:#94a3b80d}.table-primary{display:flex;flex-direction:column}.table-footer{display:flex;justify-content:space-between;align-items:center}.pagination{display:flex;gap:.5rem}.feed{display:flex;flex-direction:column;gap:1rem}.feed__item{border:1px solid rgba(148,163,184,.1);border-radius:12px;padding:1rem;background:var(--surface-alt);cursor:pointer;display:flex;flex-direction:column;gap:.5rem}.feed__item:hover{border-color:var(--accent)}.thumbs{display:flex;align-items:center;gap:.5rem}.thumbs img{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid rgba(148,163,184,.15)}.drawer{position:fixed;top:0;right:0;width:min(420px,100%);height:100vh;background:var(--surface);border-left:1px solid var(--border);display:flex;flex-direction:column;gap:1rem;padding:1.5rem;box-shadow:-12px 0 32px #0f172a59}.drawer__header{display:flex;justify-content:space-between;align-items:center}.drawer__section{display:flex;flex-direction:column;gap:.75rem}.drawer__list{flex:1;overflow-y:auto}.prompt-item{border:1px solid rgba(148,163,184,.12);border-radius:12px;padding:.75rem;background:var(--surface-alt);cursor:pointer}.prompt-item:hover{border-color:var(--accent)}.header-row{display:flex;justify-content:space-between;align-items:center}.modal__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172acc;display:flex;align-items:center;justify-content:center;padding:2rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{width:min(720px,100%);max-height:90vh;overflow-y:auto;background:var(--surface);border-radius:18px;border:1px solid var(--border);padding:1.75rem;display:flex;flex-direction:column;gap:1rem}.modal__header{display:flex;justify-content:space-between;align-items:center}.modal__content{display:flex;flex-direction:column;gap:1rem}.modal__images{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem}.modal__images img{width:100%;border-radius:12px;border:1px solid rgba(148,163,184,.18)}@media (max-width: 960px){.drawer{position:fixed;width:100%}}
