:root{font:16px system-ui,sans-serif;color:#172236;background:#f3f6fa}body{margin:0}main{max-width:1200px;margin:auto;padding:1.5rem}header{display:flex;justify-content:space-between;align-items:center}.header-actions{display:flex;align-items:center;gap:.5rem}section{background:#fff;padding:1.4rem;margin:1rem 0;border-radius:.6rem;box-shadow:0 1px 4px #cbd3df}button,select,input{font:inherit;padding:.5rem .7rem;border:1px solid #adbacc;border-radius:.3rem;background:#fff}button{cursor:pointer}button.selected{border-color:#0b67b2;background:#e7f2fc}.trend,.filters{display:flex;gap:.5rem;flex-wrap:wrap}.trend button{display:grid;text-align:left;min-width:130px}.trend strong{font-size:1.4rem}.filters{margin-bottom:1rem}.error{color:#a00021;font-weight:700}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:.6rem;border-bottom:1px solid #dce3e9}article{padding:.5rem;border-top:1px solid #dce3e9}dialog.history-dialog{border:0;border-radius:.6rem;padding:1.4rem;width:min(900px,calc(100vw - 4rem));max-height:calc(100vh - 4rem);overflow:auto;box-shadow:0 8px 32px #17223655}dialog.history-dialog::backdrop{background:#17223688}dialog.history-dialog header{position:sticky;top:-1.4rem;padding:.5rem 0;background:#fff}dialog.history-dialog header h2{margin:.4rem 0}.history-help{color:#526178;font-size:.9rem}@media(max-width:700px){table{display:block;overflow-x:auto}}@media(max-width:700px){header{align-items:flex-start;flex-wrap:wrap;gap:.5rem}header h1{font-size:1.5rem}.header-actions{flex-wrap:wrap}}
