*{box-sizing:border-box}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;margin:0;background:#f6f7fb;color:#1d2330}
a{color:#2a66f4;text-decoration:none}
.app{min-height:100vh;display:flex;flex-direction:column}
.topbar{display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid #e6e8f0;padding:12px 16px;position:sticky;top:0;z-index:10}
.brand a{font-weight:700}
.content{flex:1;padding:20px;max-width:1100px;margin:0 auto;width:100%}
.footer{padding:24px;color:#7a8090;text-align:center}
h1,h2,h3{margin:10px 0}
.card{background:#fff;border:1px solid #e6e8f0;border-radius:12px;padding:16px;margin:12px 0}
.btn{display:inline-block;padding:8px 12px;border-radius:8px;background:#2a66f4;color:#fff}
.btn.small{padding:6px 8px;font-size:13px}
.row{display:flex;gap:16px;flex-wrap:wrap}
.col{flex:1 1 300px}
input,select,textarea{padding:10px;border:1px solid #d8dbe5;border-radius:8px;width:100%}
label{font-size:13px;color:#5b6070}
table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e6e8f0;border-radius:12px;overflow:hidden}
th,td{padding:10px;border-bottom:1px solid #eef0f6;text-align:left;vertical-align:top}
th{background:#fafbff;color:#5b6070;font-weight:600}
.alert{padding:10px 12px;border-radius:8px;margin:12px 0}
.alert.ok{background:#e7f8ee;color:#127a3a}
.alert.error{background:#ffecec;color:#9b1c1c}
.badge{display:inline-block;padding:2px 8px;border-radius:12px;background:#eef;color:#334}
.t-right{text-align:right}
img.thumb{max-width:120px;border-radius:8px;border:1px solid #e6e8f0}
.small{font-size:12px;color:#6b7385}
