* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; background: #f5f6f8; color: #1f2937; font-size: 14px; }
a { color: #2563eb; text-decoration: none; }
code { font-size: 12px; background: #f3f4f6; padding: 1px 5px; border-radius: 4px; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: #fff; border-bottom: 1px solid #e5e7eb; }
.brand { font-size: 17px; display: flex; gap: 10px; align-items: center; }
.brand i { color: #2563eb; }
.top-actions { display: flex; gap: 8px; }
main { max-width: 1100px; margin: 24px auto; padding: 0 16px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; }
.card.narrow { max-width: 380px; margin: 60px auto; }
.card h2 { font-size: 16px; margin: 0 0 12px; }
label { display: block; font-size: 12px; font-weight: 600; color: #4b5563; }
input[type=password] { width: 100%; height: 40px; padding: 0 12px; margin: 6px 0 14px; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.btn { display: inline-flex; gap: 6px; align-items: center; height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: #2563eb; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: #fff; color: #1f2937; border: 1px solid #d1d5db; }
.btn.danger { background: #dc2626; }
.btn.small { height: 28px; padding: 0 10px; font-size: 12px; }
#form-login .btn { width: 100%; justify-content: center; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar .sep { flex: 1; }
.field { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #374151; }
.field input { width: 64px; height: 34px; padding: 0 8px; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; }
.msg { display: none; padding: 10px 12px; border-radius: 8px; margin-bottom: 16px; font-size: 13px; white-space: pre-wrap; }
.msg.info, .msg.ok, .msg.err { display: block; }
.msg.info { background: #eff6ff; color: #1e40af; }
.msg.ok { background: #ecfdf5; color: #065f46; }
.msg.err { background: #fef2f2; color: #991b1b; }
.folder-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.folder-head h2 { margin: 0; }
.muted { color: #6b7280; font-size: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #f0f1f3; }
th { color: #6b7280; font-weight: 600; font-size: 12px; }
td.cb, th.cb { width: 32px; }
td.name { word-break: break-all; }
td.name i { color: #9ca3af; margin-right: 4px; }
td.act { text-align: right; white-space: nowrap; }
.empty { color: #6b7280; margin: 4px 0; }
.hint { color: #6b7280; font-size: 12px; line-height: 1.6; }
