.tfr4-root{box-sizing:border-box;margin:18px 0 22px;padding:22px;border:1px solid #2b3440;border-radius:12px;background:#10151d;color:#e7ebf2;font:14px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-width:100%;overflow-wrap:anywhere}.tfr4-root *{box-sizing:border-box}.tfr4-root h2{font-size:18px;margin:0;letter-spacing:.02em}.tfr4-root h3{font-size:16px;margin:0 0 8px}.tfr4-root h4{font-size:14px;font-weight:600;margin:0 0 6px}.tfr4-root p{margin:7px 0}.tfr12-heading{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;margin-bottom:16px}.tfr12-heading small,.tfr12-note,.tfr4-root small{color:#a3adbd}.tfr4-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tfr12-task-tab{appearance:none;display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;padding:16px 18px;border:1px solid #35404e;border-radius:9px;background:#171d27;color:#c3cbd7;font:inherit;cursor:pointer}.tfr12-task-tab strong{font-size:16px;font-weight:600;color:#edf1f8}.tfr12-task-tab[aria-selected=true]{border-color:#8894ee;background:#20263c}.tfr12-task-tab:hover,.tfr4-button:hover{border-color:#8e9bb0}.tfr4-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:14px 0}.tfr4-button{appearance:none;border:1px solid #3d4858;border-radius:7px;background:#202836;color:#e7ecf4;font:inherit;cursor:pointer;padding:8px 12px}.tfr4-button:disabled{opacity:.55;cursor:wait}.tfr12-panel{padding-top:8px}.tfr12-metrics{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 16px}.tfr12-metric{min-width:150px;flex:1;background:#151d28;padding:13px 15px;border:1px solid #2c3746;border-radius:8px;display:flex;flex-direction:column;gap:3px}.tfr12-metric strong{font-size:23px;font-weight:550;color:#edf2ff}.tfr12-metric span{font-size:12px;color:#abb7c9}.tfr12-system-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:11px;margin-top:18px}.tfr12-system{border:1px solid #303c4b;padding:14px;border-radius:8px;background:#151b25}.tfr12-system p{font-size:12px;color:#aab5c7;min-height:22px}.tfr12-system .tfr4-button{font-size:12px;padding:6px 9px}.tfr12-data-panel{margin-top:20px;padding-top:18px;border-top:1px solid #344052}.tfr12-extracted{padding:12px 0;border-bottom:1px solid #2d3746;white-space:pre-wrap}.tfr12-extracted p{max-height:280px;overflow:auto}.tfr4-root details{margin:12px 0}.tfr4-root summary{cursor:pointer;color:#adbbed}.tfr12-fact{display:flex;gap:16px;flex-wrap:wrap;padding:9px 12px;margin:6px 0;background:#202a3a;border-radius:6px}.tfr12-fact span{min-width:180px}.tfr12-fact strong{color:#dce6ff}.tfr12-document{margin:14px 0;padding:16px;border:1px solid #354154;background:#151d29;border-radius:9px}.tfr12-document a{display:inline-block;margin:7px 18px 2px 0;color:#b6c5ff;text-decoration:underline}.tfr4-root a{color:#b6c5ff;text-decoration:underline}.tfr4-input{box-sizing:border-box;max-width:100%;min-width:160px;border:1px solid #516074;background:#151d29;color:#edf1fa;padding:8px;border-radius:6px;font:inherit}.tfr4-dialog{width:min(720px,92vw);max-height:86vh;overflow:auto;border:1px solid #566783;border-radius:12px;background:#151d29;color:#edf1fa;padding:22px;font:14px/1.65 system-ui,sans-serif}.tfr4-dialog::backdrop{background:#070b13bb}.tfr4-dialog h2{font-size:19px;margin:0 0 12px}.tfr4-field{display:flex;flex-direction:column;gap:6px;margin:12px 0}.tfr4-field input[type=checkbox]{align-self:flex-start;min-width:auto}.tfr4-dialog fieldset{border:1px solid #3f4d61;border-radius:8px;margin:14px 0;padding:9px 14px}.tfr4-error{color:#ffb9b0}#toaldo-foundations-r4 button:focus-visible,#toaldo-foundations-r4 a:focus-visible{outline:2px solid #b8c2ff;outline-offset:3px}@media(max-width:700px){.tfr4-cards{grid-template-columns:1fr}.tfr4-root{padding:14px}.tfr12-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tfr12-metric{min-width:125px}.tfr12-task-tab{padding:13px}.tfr4-input{min-width:120px;width:100%}}@media(max-width:420px){.tfr12-system-grid{grid-template-columns:1fr}}

.tfr16-receiver{border:1px solid #35404d;border-radius:10px;padding:12px;margin:8px;color:inherit;background:var(--panel,#131a21);font:inherit}
.tfr16-receiver summary{cursor:pointer;font-weight:600}.tfr16-receiver p,.tfr16-receiver small{line-height:1.6;overflow-wrap:anywhere}
.tfr16-source-row{display:grid;gap:5px;padding:12px 0;border-top:1px solid #35404d}.tfr16-source-row strong{font-weight:500;overflow-wrap:anywhere}
.tfr16-source-row small{opacity:.75}.tfr16-preview,.tfr16-text{width:min(1100px,90vw);height:85vh;padding:20px;color:inherit;background:#131a21;border:1px solid #35404d;border-radius:12px}
.tfr16-preview::backdrop,.tfr16-text::backdrop{background:#000a}.tfr16-preview img,.tfr16-preview iframe{display:block;width:100%;height:calc(100% - 150px);object-fit:contain;border:0;background:#fff;margin-top:12px}
.tfr16-text textarea{box-sizing:border-box;width:100%;height:calc(100% - 150px);font:inherit;line-height:1.6;color:inherit;background:#0e141b;border:1px solid #35404d;padding:12px}
#toaldo-region-hint-r16{font:inherit;font-size:.9em;line-height:1.5;opacity:.8;margin:8px 0}

/* Compact source status; regional document mappings stay in the data layer. */
.tfr18-source-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #35404d;border-radius:8px;background:#151d28}
.tfr18-source-summary strong{font-size:15px;font-weight:600}.tfr18-source-summary span{font-size:13px;color:#aab5c7}
.tfr18-source-summary[data-source-phase=attention]{border-color:#806b42}.tfr18-region-row{justify-content:space-between}.tfr18-region-row>span{color:#b9c5d3}
@media(max-width:600px){.tfr18-source-summary{align-items:flex-start;flex-direction:column;gap:4px}}
