/* Shared editorial chrome. Engines, controls and permission checks are unchanged. */
/* Structural read-failure state keeps the selected identity and safe GET retry. */
.ig-report-error{min-height:360px;padding:28px;background:var(--radar-panel);border:1px solid var(--radar-line);border-radius:10px;display:flex;flex-direction:column;align-items:start;justify-content:center;gap:12px}.ig-report-error .eyebrow{color:var(--radar-yellow);margin:0}.ig-report-error h2{font-size:25px;margin:0}.ig-report-error h3{font-size:18px;margin:0}.ig-report-error .muted{max-width:65ch;margin:0}.frontend-read-diagnostic{padding:16px 20px;background:var(--radar-input);border-radius:9px;margin-top:20px}.frontend-read-diagnostic>summary{font-size:12px;min-height:32px}.frontend-read-diagnostic>.muted{font-size:11px}.read-diagnostic-row{padding:14px 0;border-top:1px solid var(--radar-line);display:grid;gap:5px;font-size:12px}.read-diagnostic-row>small{color:var(--radar-muted);font-size:11px}
.editorial-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--radar-line);padding-bottom:12px;margin:20px 0}
.editorial-tabs button{min-height:var(--control-height);background:transparent;border-color:transparent;font-size:var(--type-secondary)}
.editorial-tabs button[aria-current=page]{background:var(--radar-selected);border-color:transparent;color:var(--radar-signal)}
.editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.editorial-grid .card{margin:0}.editorial-profile{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid var(--radar-line)}
.editorial-profile:last-child{border-bottom:0}.editorial-profile h3{margin:0 0 8px;font-size:var(--type-component)}
.editorial-profile .control-actions{flex-wrap:wrap;justify-content:flex-end}.editorial-profile small{display:block;margin-top:8px}
.editorial-value{font-size:var(--type-number);font-weight:550;font-variant-numeric:tabular-nums}
.editorial-form{max-width:640px}.editorial-form label{display:block;margin:16px 0}
.editorial-blockers{line-height:1.8;padding-left:20px;font-size:var(--type-secondary)}
.editorial-legend{margin-top:24px;color:var(--radar-muted);font-size:var(--type-secondary)}
.editorial-post{overflow-wrap:anywhere}.editorial-post p{white-space:pre-wrap}
.editorial-icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6}
.editorial-profile a{color:var(--radar-signal)}
.editorial-fold{margin:20px 0;padding:16px 0;border:0;border-top:1px solid var(--radar-line);background:transparent;overflow-wrap:anywhere}
.editorial-fold>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:var(--type-body);font-weight:550;color:var(--radar-text);gap:8px}
.editorial-ranking-row{padding:16px 0;border-top:1px solid var(--radar-line);font-variant-numeric:tabular-nums}
.editorial-ranking-row p{margin:8px 0}.editorial-ranking-row a{display:inline-flex;align-items:center;min-height:44px;color:var(--radar-signal)}
@media(max-width:767px){.editorial-grid{grid-template-columns:1fr}.editorial-tabs{gap:4px}.editorial-tabs button{font-size:var(--type-caption);padding:8px 10px}.editorial-profile{align-items:flex-start;flex-direction:column;gap:8px}.editorial-profile .control-actions{justify-content:flex-start}}
