#structure{margin-top:16px}#structure .ms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#structure .ms-card{padding:14px;background:rgba(0,0,0,.12);border:1px solid var(--gb);border-radius:8px;min-width:0}#structure h3{font-size:14px;margin:0 0 8px}#structure .ms-value{font-size:19px;margin:6px 0}#structure .ms-metric{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;border-bottom:1px solid var(--gb)}#structure .ms-metric>span:first-child{color:var(--muted)}#structure .ms-help{display:inline-block;vertical-align:middle;margin-left:5px}#structure .ms-help summary{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border:1px solid var(--gb);border-radius:50%;cursor:pointer;font-size:12px;color:var(--text)}#structure .ms-help summary::-webkit-details-marker{display:none}#structure .ms-help[open]{display:block;margin:8px 0}#structure .ms-help p{color:var(--text);line-height:1.65;padding:10px;border-left:2px solid var(--accent);background:var(--surface);white-space:normal;font-weight:400}#structure svg{display:block;width:100%;height:auto;margin:10px 0}#structure svg text{fill:var(--muted);font:11px monospace}#structure .ms-ribbon{display:flex;height:14px;gap:1px;margin:8px 0}#structure .ms-ribbon span{flex:1;min-width:0}#structure .ms-legend{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--muted)}#structure .ms-table{overflow:auto}#structure table{width:100%;white-space:nowrap;font-size:12px}#structure th{text-align:left;color:var(--muted);font-weight:400}#structure td,#structure th{padding:8px;border-bottom:1px solid var(--gb)}#structure .ms-method{margin-top:12px;padding:10px;border:1px solid var(--gb);border-radius:8px}#structure .ms-method>summary{cursor:pointer;padding:4px;font-weight:600}#structure code{display:block;white-space:normal;overflow-wrap:anywhere;background:rgba(0,0,0,.15);padding:12px;line-height:1.8;margin:10px 0}#structure .ms-status{border-left:2px solid var(--accent);padding-left:10px}#structure .ms-chart{margin:12px 0;padding:10px;border:1px solid var(--gb);border-radius:8px}@media(max-width:720px){#structure .ms-grid{grid-template-columns:1fr}#structure .ms-metric{flex-wrap:wrap}}
#structure .ms-guide{padding:16px;background:rgba(130,169,255,.09);border-left:3px solid var(--cobalt);margin:14px 0;line-height:1.7}#structure .ms-guide p{margin:8px 0}#structure .ms-guide ol{padding-left:22px}#structure .ms-readout{min-height:48px;padding:10px;background:var(--surface);border-radius:6px;line-height:1.8;overflow-wrap:anywhere}#ms-chart-svg{touch-action:none;cursor:crosshair;user-select:none;min-height:230px}#structure .ms-chart-controls .btn{min-height:40px}#structure .ms-chart-controls{gap:6px}#structure .ms-chart{scroll-margin-top:80px}#structure .ms-bar{height:6px;border-radius:3px;background:var(--gb);overflow:hidden;margin:0 0 8px}#structure .ms-bar i{display:block;height:100%;border-radius:3px}
#cl{margin-top:12px}
.cal-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:8px 12px;background:var(--surface);border:1px solid var(--gb);border-radius:8px}
.cal-title{font-weight:600;font-size:14px}
.cal-grid{display:flex;flex-direction:column;gap:8px}
.cal-headers{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding:6px 0;background:var(--surface);border:1px solid var(--gb);border-radius:6px;font-size:12px;font-weight:600;color:var(--muted)}
.cal-header{text-align:center;padding:4px 0}
.cal-weeks{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.cal-day{min-height:100px;padding:6px 4px;background:var(--surface);border:1px solid var(--gb);border-radius:6px;display:flex;flex-direction:column;gap:4px;overflow:hidden}
.cal-day.today{background:rgba(130,169,255,.10);border-color:var(--cobalt)}
.cal-day-label{font-size:12px;font-weight:600;color:var(--muted);padding:2px 4px}
.cal-day.today .cal-day-label{color:var(--cobalt)}
.cal-events{display:flex;flex-direction:column;gap:3px;overflow-y:auto;flex:1;min-height:0}
.cal-event{display:flex;flex-direction:column;gap:2px;padding:4px 6px;background:var(--raised);border:1px solid var(--gb);border-radius:4px;text-decoration:none;color:var(--text);transition:transform 120ms ease,box-shadow 120ms ease}
.cal-event:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.cal-event.past{opacity:.55}
.cal-event.high{border-color:var(--dn);box-shadow:0 0 0 1px var(--dn) inset}
.cal-time{font-size:11px;font-family:monospace;color:var(--muted)}
.cal-title{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-impact{font-size:10px;font-weight:600;padding:1px 4px;border-radius:3px}
.cal-empty{font-size:11px;color:var(--muted);text-align:center;padding:8px 0}
.cal-empty:empty::after{content:'No events'}
.cal-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:10px 12px;background:var(--surface);border:1px solid var(--gb);border-radius:8px}
.cal-title{font-weight:600;font-size:14px}
.cal-grid{display:flex;flex-direction:column;gap:8px}
.cal-headers{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding:6px 0;background:var(--surface);border:1px solid var(--gb);border-radius:6px;font-size:12px;font-weight:600;color:var(--muted)}
.cal-header{text-align:center;padding:4px 0}
.cal-weeks{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.cal-day{min-height:100px;padding:6px 4px;background:var(--surface);border:1px solid var(--gb);border-radius:6px;display:flex;flex-direction:column;gap:4px;overflow:hidden}
.cal-day.today{background:rgba(130,169,255,.10);border-color:var(--cobalt)}
.cal-day-label{font-size:12px;font-weight:600;color:var(--muted);padding:2px 4px}
.cal-day.today .cal-day-label{color:var(--cobalt)}
.cal-events{display:flex;flex-direction:column;gap:3px;overflow-y:auto;flex:1;min-height:0}
.cal-event{display:flex;flex-direction:column;gap:2px;padding:4px 6px;background:var(--raised);border:1px solid var(--gb);border-radius:4px;text-decoration:none;color:var(--text);transition:transform 120ms ease,box-shadow 120ms ease}
.cal-event:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.cal-event.past{opacity:.55}
.cal-event.high{border-color:var(--dn);box-shadow:0 0 0 1px var(--dn) inset}
.cal-time{font-size:11px;font-family:monospace;color:var(--muted)}
.cal-title{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-impact{font-size:10px;font-weight:600;padding:1px 4px;border-radius:3px}
.cal-empty{font-size:11px;color:var(--muted);text-align:center;padding:8px 0}
.cal-empty:empty::after{content:'No events'}
.cal-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:10px 12px;background:var(--surface);border:1px solid var(--gb);border-radius:8px}
.cal-title{font-weight:600;font-size:14px}
.cal-grid{display:flex;flex-direction:column;gap:8px}
.cal-headers{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding:6px 0;background:var(--surface);border:1px solid var(--gb);border-radius:6px;font-size:12px;font-weight:600;color:var(--muted)}
.cal-header{text-align:center;padding:4px 0}
.cal-weeks{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.cal-day{min-height:100px;padding:6px 4px;background:var(--surface);border:1px solid var(--gb);border-radius:6px;display:flex;flex-direction:column;gap:4px;overflow:hidden}
.cal-day.today{background:rgba(130,169,255,.10);border-color:var(--cobalt)}
.cal-day-label{font-size:12px;font-weight:600;color:var(--muted);padding:2px 4px}
.cal-day.today .cal-day-label{color:var(--cobalt)}
.cal-events{display:flex;flex-direction:column;gap:3px;overflow-y:auto;flex:1;min-height:0}
.cal-event{display:flex;flex-direction:column;gap:2px;padding:4px 6px;background:var(--raised);border:1px solid var(--gb);border-radius:4px;text-decoration:none;color:var(--text);transition:transform 120ms ease,box-shadow 120ms ease}
.cal-event:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.cal-event.past{opacity:.55}
.cal-event.high{border-color:var(--dn);box-shadow:0 0 0 1px var(--dn) inset}
.cal-time{font-size:11px;font-family:monospace;color:var(--muted)}
.cal-title{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-impact{font-size:10px;font-weight:600;padding:1px 4px;border-radius:3px}
.cal-empty{font-size:11px;color:var(--muted);text-align:center;padding:8px 0}
.cal-empty:empty::after{content:'No events'}
