body { background-color: #333333; font-family: Arial, sans-serif; margin: 0; padding: 40px 20px; display: flex; justify-content: center; }
.container { background-color: #ffffff; width: 100%; max-width: 800px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.header { text-align: center; padding: 20px; }
.header img { max-width: 100%; max-height: 85px; height: auto; }
.section-title { background-color: #000080; color: #ffffff; text-align: center; font-weight: bold; padding: 4px; font-size: 16px; }
.content { padding: 10px 15px 20px 15px; font-size: 14px; color: #000000; line-height: 1.4; }
a { color: #000080; text-decoration: none; font-weight: bold; }
a:hover { text-decoration: underline; }
.current-speed { text-align: center; font-size: 18px; font-weight: bold; margin-bottom: 15px; padding: 10px; }
.rx-text { color: #000080; }
.tx-text { color: #439907; }
.red { color: #b71100; font-weight: bold; }
.green { color: #439907; font-weight: bold; }
.orange { color: #e8a400; font-weight: bold; }
/* Pruhy */
.metric { margin-bottom: 10px; }
.metric-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 3px; }
.metric-head span:first-child { font-weight: bold; }
.metric-head span:last-child { font-family: monospace; }
.bar { background-color: #e0e0e0; border-radius: 3px; height: 14px; overflow: hidden; border: 1px solid #cccccc; }
.bar-fill { height: 100%; transition: width .4s ease; }
.bar-green { background-color: #439907; }
.bar-orange { background-color: #e8a400; }
.bar-red { background-color: #b71100; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; justify-content: center; }
.tab-btn { padding: 6px 12px; border: none; cursor: pointer; font-weight: bold; font-size: 13px; color: #ffffff; background-color: #555555; border-radius: 0; }
.tab-btn:hover { background-color: #333333; }
.tab-btn.active { background-color: #000080; }
.tab-btn.active:hover { background-color: #000050; }
/* Panely ve stylu stareho spravce uloh */
.tm-row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 12px; }
.tm-panel { flex: 1 1 250px; min-width: 230px; }
.tm-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; font-weight: bold; color: #000080; letter-spacing: .5px; margin-bottom: 3px; }
.tm-head .tm-val { font-family: monospace; font-weight: bold; color: #000000; letter-spacing: 0; }
.tm-graphs { display: flex; gap: 4px; }
.tm-gauge { width: 26px; flex: 0 0 26px; }
.tm-hist { flex: 1 1 auto; min-width: 0; }
.tm-canvas { display: block; width: 100%; height: 58px; background-color: #000000; border: 1px solid #808080; }
.tm-sub { font-family: monospace; font-size: 11px; color: #666666; margin-top: 2px; }
.tm-facts { font-family: monospace; font-size: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3px 18px; border-top: 1px solid #cccccc; padding-top: 8px; }
.tm-facts b { font-family: Arial, sans-serif; font-weight: bold; }
.stats-note { font-size: 12px; color: #666666; margin-top: 8px; }
/* Aktualni provoz */
.live { width: 100%; border-collapse: collapse; font-size: 13px; }
.live td { padding: 3px 6px; border-bottom: 1px solid #e0e0e0; }
.live td.num { font-family: monospace; text-align: right; white-space: nowrap; }
.live-box { cursor: pointer; }
.live .dev { display: none; font-family: monospace; font-size: 11px; color: #666666; margin-left: 6px; }
.live-box.show-ip .dev { display: inline; }
.live .ip { display: none; font-family: monospace; font-size: 11px; color: #666666; margin-left: 8px; white-space: nowrap; }
.live-box.show-ip .ip { display: inline; }
.live .via { color: #666666; font-weight: normal; font-size: 11px; margin-left: 6px; }
/* Navigace */
.nav-menu { text-align: center; font-size: 14px; background-color: #e0e0e0; padding: 8px; border-radius: 4px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nav-menu a { color: #000080; text-decoration: none; font-weight: bold; }
.nav-menu a:hover { text-decoration: underline; }
@media (max-width: 500px) { body { padding: 0; } }

/* Paticka */
.footer { text-align: center; font-size: 12px; color: #666666; padding: 10px 10px 14px; border-top: 1px solid #e0e0e0; }
.footer .heart { color: #b71100; text-decoration: none; font-weight: normal; }
.footer .heart:hover { text-decoration: none; }
.footer .quiet { color: inherit; font-weight: normal; text-decoration: none; }
.footer .quiet:hover { text-decoration: underline; }
.hint { color: #666666; font-weight: normal; }
