:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f4f6f9}
*{box-sizing:border-box}
body{margin:0}
a{color:#0052cc;text-decoration:none}
.topbar{height:64px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:#111827;color:#fff}
.brand{color:#fff;font-size:18px;font-weight:800}
.container{max-width:1380px;margin:0 auto;padding:32px 24px}
.page-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-head{margin-bottom:14px}
h1,h2{margin:0 0 8px}p{margin:0;color:#667085}
.back-link{display:inline-block;margin-bottom:10px;font-size:14px;font-weight:700}
.card{background:#fff;border:1px solid #e5e9f0;border-radius:14px;padding:24px;box-shadow:0 7px 24px rgba(15,23,42,.05)}
.narrow{max-width:440px;margin:8vh auto}
.form-grid{display:grid;gap:16px;margin-top:20px}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
label{display:grid;gap:7px;font-weight:650;font-size:14px}input{height:44px;border:1px solid #cfd6e1;border-radius:8px;padding:0 12px;font:inherit}
button,.button{min-height:42px;border:0;border-radius:8px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;background:#0052cc;color:#fff;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.button.secondary,.small-button.secondary{background:#eef2f7;color:#273142}.link-button{min-height:auto;padding:0;background:transparent}
.small-button{min-height:34px;padding:0 11px;font-size:12px}
.actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}.alert{padding:13px 16px;margin-bottom:18px;border-radius:9px}.alert.error{background:#fff1f2;color:#9f1239}.alert.success{background:#ecfdf3;color:#166534}
.table-card{padding:0;overflow:hidden}table{width:100%;border-collapse:collapse}th,td{padding:15px;text-align:left;border-bottom:1px solid #edf0f4;vertical-align:top}th{background:#f8fafc;font-size:13px;color:#667085}small{color:#667085}.break-all{word-break:break-all}.empty{text-align:center;padding:36px;color:#667085}
.status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:700}.status.ok{background:#dcfce7;color:#166534}.status.bad{background:#ffe4e6;color:#9f1239}.status.pending{background:#f1f5f9;color:#475569}.status.progress{background:#dbeafe;color:#1d4ed8}
code{font-size:12px;word-break:break-all}.error-text{color:#b42318;line-height:1.35}.section-block{margin-top:28px}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:18px}.stat-card{padding:18px}.stat-card span{display:block;color:#667085;font-size:13px;margin-bottom:8px}.stat-card strong{font-size:18px}
.code-card{margin-bottom:22px}.code-card pre{overflow:auto;margin:16px 0 0;padding:16px;border-radius:10px;background:#111827;color:#e5e7eb;line-height:1.55}.code-card code{font-size:13px;word-break:normal}
@media(max-width:900px){.two-columns,.stats-grid{grid-template-columns:1fr}.page-head,.section-head{align-items:flex-start;flex-direction:column}.table-card{overflow-x:auto}table{min-width:980px}.container{padding:22px 14px}.topbar{padding:0 16px}}
select,textarea{width:100%;border:1px solid #cfd6e1;border-radius:8px;padding:10px 12px;background:#fff;color:#172033;font:inherit}
select{height:44px;padding-top:0;padding-bottom:0}
textarea{min-height:96px;resize:vertical;line-height:1.45}
.project-tools{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}
.json-code{display:block;max-width:520px;white-space:pre-wrap;word-break:break-word;line-height:1.45}
