* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f5f5; color: #333; font-size: 14px; }
a { color: #1a73e8; text-decoration: none; } a:hover { text-decoration: underline; }
.container { max-width: 1240px; margin: 0 auto; padding: 20px 24px 48px; }
.topbar { background: #fff; border-bottom: 1px solid #e0e0e0; }
.topbar .in { max-width: 1240px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brand { font-size: 18px; font-weight: 700; color: #1a1a1a; } .brand span { color: #4285f4; }
.nav a { margin-right: 14px; color: #555; font-weight: 500; } .nav a.on { color: #4285f4; }
.who { margin-left: auto; display: flex; gap: 12px; align-items: center; color: #666; font-size: 13px; }
.who form { display: inline; }
h1 { font-size: 20px; font-weight: 600; margin: 4px 0 4px; color: #1a1a1a; }
h2 { font-size: 16px; font-weight: 600; margin: 22px 0 8px; color: #1a1a1a; }
.sub { font-size: 12px; color: #888; margin-bottom: 14px; }
.card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px; margin-top: 12px; }
textarea, input[type=text], input[type=password], input[type=number], input[type=time], select {
  width: 100%; padding: 9px 11px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; outline: none; background: #fff; }
textarea { height: 150px; font-family: monospace; resize: vertical; }
textarea:focus, input:focus, select:focus { border-color: #4285f4; }
label { font-size: 12px; color: #666; display: block; margin-bottom: 4px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; } .row > div { flex: 1; min-width: 160px; }
.file-row { margin-top: 10px; font-size: 13px; color: #555; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
button, .btn { display: inline-block; padding: 8px 18px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 500; background: #4285f4; color: #fff; }
button:hover, .btn:hover { opacity: .88; text-decoration: none; }
.btn-red { background: #ea4335; } .btn-green { background: #34a853; } .btn-grey { background: #eceff1; color: #333; } .btn-sm { padding: 5px 11px; font-size: 12px; }
.flash { padding: 10px 14px; border-radius: 6px; margin: 12px 0; font-size: 13px; }
.flash.ok { background: #e6f4ea; color: #137333; border: 1px solid #ceead6; } .flash.err { background: #fce8e6; color: #a50e0e; border: 1px solid #f6c7c3; }
.limits { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.lim { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 10px 14px; min-width: 210px; flex: 1; }
.lim .t { font-size: 12px; color: #888; } .lim .n { font-size: 20px; font-weight: 700; color: #4285f4; } .lim .s { font-size: 12px; color: #777; }
table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.tw { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: auto; margin-top: 8px; }
th { background: #f8f9fa; padding: 9px 10px; text-align: left; font-weight: 600; border-bottom: 1px solid #e0e0e0; white-space: nowrap; }
td { padding: 7px 10px; border-bottom: 1px solid #f0f0f0; vertical-align: top; } tr:last-child td { border-bottom: none; }
td.url { word-break: break-all; max-width: 420px; } td.num { text-align: right; white-space: nowrap; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.b-ok { background: #e6f4ea; color: #188038; } .b-err { background: #fce8e6; color: #d93025; } .b-q { background: #f1f3f4; color: #5f6368; }
.b-a { background: #fef7e0; color: #b06000; } .b-s { background: #e8f0fe; color: #1967d2; } .b-off { background: #f1f3f4; color: #9aa0a6; }
.err-text { color: #d93025; font-size: 12px; }
.bar { background: #e0e0e0; border-radius: 4px; height: 7px; overflow: hidden; min-width: 90px; } .bar > i { display: block; height: 100%; background: #4285f4; }
.muted { color: #999; font-size: 12px; }
.pager { margin-top: 10px; display: flex; gap: 8px; align-items: center; font-size: 13px; }
.filters a { margin-right: 10px; padding: 4px 12px; border: 1px solid #ddd; border-radius: 14px; color: #555; background: #fff; font-size: 13px; }
.filters a.on { background: #4285f4; color: #fff; border-color: #4285f4; }
.login-box { max-width: 360px; margin: 90px auto; background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 28px; }
.login-box h1 { text-align: center; margin-bottom: 18px; }
.inline-form { display: inline; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 14px; }
details summary { cursor: pointer; color: #1a73e8; font-size: 13px; margin-top: 8px; }
