body { background: var(--tint); }
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--navy); color: #fff; padding: 20px 14px; display: flex; flex-direction: column; gap: 6px; }
.side img { height: 26px; margin: 0 6px 6px; align-self: flex-start; }
.side .sub { font-size: 12px; color: #b9bbd0; margin: 0 6px 12px; display: flex; gap: 8px; align-items: center; }
.side a { color: #d7d8e6; text-decoration: none; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; gap: 8px; }
.side a.on, .side a:hover { background: var(--navy-2); color: #fff; }
.side a small { color: var(--orange); font-weight: 600; }
.side .grow { flex: 1; }
.side .links { font-size: 12.5px; }
.main { padding: 26px 30px 60px; min-width: 0; }
.head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.head h1 { font-size: 24px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.tile { background: #fff; border-radius: 12px; padding: 14px 16px; border-left: 4px solid var(--orange); }
.tile b { display: block; font-size: 28px; color: var(--navy); line-height: 1.1; }
.tile span { font-size: 12.5px; color: var(--muted); }
.tile.met { border-left-color: var(--green); } .tile.bad { border-left-color: var(--crimson); }
.panel { background: #fff; border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.panel h2 { font-size: 16px; margin-bottom: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-weight: 600; color: var(--slate); border-bottom: 2px solid var(--line); padding: 7px 8px; white-space: nowrap; }
td { padding: 7px 8px; border-bottom: 1px solid var(--tint); vertical-align: top; }
tr.click { cursor: pointer; } tr.click:hover td { background: #fafafc; }
td.n, th.n { text-align: right; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.tools input, .tools select { border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #fff; font-size: 13px; }
.tools input:not([type=checkbox]) { flex: 1; min-width: 180px; }
.tools input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--orange); padding: 0; }
.seg { display: inline-grid; grid-auto-flow: column; background: #e6e7ef; border-radius: 9px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; border-radius: 7px; padding: 7px 12px; font-weight: 600; font-size: 12.5px; color: var(--slate); }
.seg button.on { background: #fff; color: var(--navy); }
.note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.alert { background: var(--fail-bg); color: var(--crimson); border-radius: 8px; padding: 8px 10px; font-size: 13px; font-weight: 500; margin-top: 8px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.plans h3 { font-size: 13px; margin-bottom: 6px; }
.scroll { overflow-x: auto; }
@media (max-width: 900px) { .shell { grid-template-columns: 1fr; } .side { flex-direction: row; flex-wrap: wrap; align-items: center; } .side .grow { display: none; } .tiles { grid-template-columns: repeat(2, 1fr); } .main { padding: 18px 14px 50px; } }
