:root { color-scheme: dark; font: 16px system-ui, sans-serif; background: #070b16; color: #eef3ff; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1100px; margin: auto; padding: clamp(16px, 4vw, 40px); }
header, .section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
h1, h2, h3 { margin: 0 0 12px; }
h1 { font-size: clamp(24px, 5vw, 36px); }
h2 { font-size: 20px; }
.brand { color: #8abbff; letter-spacing: .14em; font-size: .78rem; font-weight: 800; margin: 0 0 6px; }
p { color: #a9b8d8; overflow-wrap: anywhere; }
a { color: #a9d0ff; }
.columns { display: grid; gap: 16px; grid-template-columns: 1.3fr 1fr; align-items: start; }
section { background: #0f1730; border: 1px solid #1f2b4d; border-radius: 16px; padding: 18px; margin-bottom: 16px; }
label:not([hidden]) { display: block; margin: 12px 0; }
input, select, textarea, button { font: inherit; min-height: 44px; border-radius: 9px; padding: 8px 12px; }
input, select, textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #52668d; background: #070b16; color: #eef3ff; }
button { border: 1px solid transparent; background: #3b8cff; color: #070b16; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
.secondary { color: #eef3ff; background: #182747; border-color: #52668d; }
:focus-visible { outline: 3px solid #9ac3ff; outline-offset: 3px; }
article { padding: 14px; border: 1px solid #34456b; border-radius: 12px; margin-top: 10px; }
article p { margin: 6px 0; }
.actions, #pages { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.coordinates { display: flex; gap: 8px; }
#shifts { list-style: none; padding: 0; }
#shifts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0; }
#feedback:empty { display: none; }
#feedback { color: #eef3ff; border-left: 3px solid #3b8cff; padding: 8px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 18px; }
.metrics div { padding: 12px; border: 1px solid #34456b; border-radius: 10px; }
.metrics span { display: block; color: #a9b8d8; }
.metrics strong { font-size: 1.4rem; }
#fleet-map { position: relative; min-height: 210px; display: grid; place-items: center; border-radius: 12px; border: 1px solid #34456b; background-color: #070b16; background-image: linear-gradient(#1f2b4d 1px, transparent 1px), linear-gradient(90deg, #1f2b4d 1px, transparent 1px); background-size: 32px 32px; }
.marker { position: absolute; transform: translate(-50%, -50%); padding: 4px 8px; border-radius: 8px; background: #3b8cff; color: #070b16; font-weight: 700; white-space: nowrap; }
.marker.stale { background: #a9b8d8; }
#fleet-positions { padding-left: 22px; }
#fleet-positions li { margin: 7px 0; }
article details { margin-top: 10px; }
.confirmation input { display: inline; width: auto; min-height: 0; }
.table-scroll { overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; }
.report-table th, .report-table td { padding: 10px; border-bottom: 1px solid #34456b; text-align: right; }
.report-table th:first-child { text-align: left; }
.report-table thead { background: #182747; }
@media (max-width: 700px) { .columns { grid-template-columns: 1fr; } }
