/* Layout adapter only. Shared UI primitives/tokens remain owned by traff-ui. */
body { margin:0; background:var(--tr-bg); color:var(--tr-text); }
.core-login { max-width:400px; margin:12vh auto; padding:24px; }
.core-form { display:grid; gap:16px; }
.core-form label { display:grid; gap:6px; }
.core-form .tr-input { width:100%; }
.core-error { color:var(--tr-danger); white-space:pre-wrap; }
.core-notice { color:var(--tr-muted); margin:12px 0; line-height:1.5; }
.core-modules { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:12px; margin-block:18px; }
.core-module { min-width:125px; }
.core-module strong,.core-module small { display:block; margin-block:5px; }
.core-module h2,.core-module h3 { margin-top:0; }
.core-module h3 { margin-bottom:8px; }
.core-module-facts { display:grid; grid-template-columns:fit-content(45%) minmax(0,1fr); gap:6px 12px; margin-block:10px; }
.core-module-facts dt { color:var(--tr-muted); }
.core-module-facts dd { margin:0; overflow-wrap:anywhere; }
.core-module-instance { border-top:1px solid var(--tr-border); margin-top:12px; padding-top:12px; }
.core-status { overflow-wrap:anywhere; }
.core-nav-mobile { display:none; }
.core-pager { display:flex; align-items:center; gap:12px; }
.core-table-status { min-height:22px; }
.core-actions { display:flex; gap:6px; }
.tr-table td { white-space:normal; overflow-wrap:anywhere; }
@media(max-width:700px) {
 .core-nav-mobile { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
 .core-login { margin:4vh auto; }
}

.core-release-notes { white-space: pre-wrap; overflow-wrap: anywhere; }
