:root { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#171717; background:#f3f4f6; }
* { box-sizing:border-box; }
body { margin:0; }
a { color:inherit; }
.topbar { display:flex; justify-content:space-between; align-items:center; padding:18px 24px; background:#111827; color:white; }
.brand { font-weight:800; font-size:20px; }
.tagline { opacity:.72; font-size:12px; margin-top:2px; }
.wrap { max-width:1050px; margin:28px auto; padding:0 18px 50px; }
.card { background:white; border-radius:16px; padding:24px; margin-bottom:18px; box-shadow:0 6px 24px rgba(0,0,0,.06); }
.narrow { max-width:430px; margin:70px auto; }
h1,h2 { margin-top:0; }
.stack { display:grid; gap:14px; }
label { display:grid; gap:6px; font-weight:600; }
input,select,button { font:inherit; border-radius:10px; border:1px solid #d1d5db; padding:12px 14px; }
button,.buttonlink { background:#111827; color:white; border:0; font-weight:700; cursor:pointer; text-decoration:none; display:inline-block; }
button.ghost { background:transparent; border:1px solid rgba(255,255,255,.35); }
.convert-form { display:grid; grid-template-columns:1fr 150px 160px; gap:10px; }
.hint { margin-top:12px; color:#4b5563; font-size:14px; }
.flash { padding:12px 14px; border-radius:10px; margin-bottom:12px; background:#e5e7eb; }
.flash.success { background:#dcfce7; }
.flash.warning { background:#fef3c7; }
.flash.error { background:#fee2e2; }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; font-size:14px; }
th,td { text-align:left; padding:10px; border-bottom:1px solid #e5e7eb; vertical-align:top; }
th { color:#4b5563; }
.smalltext { font-size:14px; color:#4b5563; }
pre { overflow:auto; background:#111827; color:#f9fafb; padding:16px; border-radius:12px; }
.buttonlink { padding:10px 14px; border-radius:10px; }
@media (max-width:760px) { .convert-form { grid-template-columns:1fr; } .topbar { padding:14px 16px; } }
textarea { font:inherit; border-radius:10px; border:1px solid #d1d5db; padding:12px 14px; resize:vertical; min-height:180px; width:100%; }
.batch-form { grid-template-columns:1fr 190px; align-items:stretch; }
.convert-actions { display:flex; flex-direction:column; gap:10px; }
.convert-actions select { width:100%; }
.convert-actions button { flex:1; min-height:54px; }
.batch-head { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; }
.muted { color:#6b7280; }
.progress-shell { height:14px; background:#e5e7eb; border-radius:999px; overflow:hidden; margin:18px 0 10px; }
.progress-bar { height:100%; background:#111827; transition:width .35s ease; }
.status { display:inline-block; padding:4px 8px; border-radius:999px; font-size:12px; font-weight:700; background:#e5e7eb; }
.status-success { background:#dcfce7; }
.status-failed { background:#fee2e2; }
.status-processing { background:#dbeafe; }
.status-pending { background:#f3f4f6; }
.url-cell { max-width:460px; overflow-wrap:anywhere; }
.topbar-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.topbar-actions form { margin:0; }
.toplink { text-decoration:none; color:#f9fafb; font-weight:650; padding:9px 10px; border-radius:9px; }
.toplink:hover { background:rgba(255,255,255,.09); }
.admin-link { background:rgba(255,255,255,.08); }
.account-chip { font-size:13px; color:#d1d5db; padding:8px 10px; border:1px solid rgba(255,255,255,.18); border-radius:999px; }
.account-create-grid { display:grid; grid-template-columns:1.2fr 1.4fr 1fr auto; gap:12px; align-items:end; }
.account-create-action { display:flex; align-items:end; }
.account-create-action button { min-height:46px; white-space:nowrap; }
.inline-form { display:flex; gap:7px; align-items:center; }
.inline-form select { min-width:135px; }
button.secondary { background:#e5e7eb; color:#111827; }
button.danger { background:#991b1b; color:white; }
.account-actions { display:grid; gap:8px; min-width:245px; }
.account-actions form { margin:0; }
.password-reset-form { display:grid; grid-template-columns:minmax(150px,1fr) auto; gap:7px; }
.accounts-table td { min-width:120px; }
@media (max-width:900px) { .account-create-grid { grid-template-columns:1fr 1fr; } .account-create-action { align-items:stretch; } .account-create-action button { width:100%; } }
@media (max-width:760px) { .batch-form { grid-template-columns:1fr; } .batch-head { flex-direction:column; } .topbar { align-items:flex-start; gap:14px; } .topbar-actions { justify-content:flex-start; } .account-create-grid { grid-template-columns:1fr; } }
