/* admin.kulip.io (kulip#2029): layout only. Every part is the design system's (bundle.css: .btn, .field, .input,
   .seg, .tablewrap, .dialog, .banner, .badge); every colour, radius and shadow is a token. */
body { background: var(--ground); min-height: 100vh; }
.top { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.top .brand { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.top .who { margin-left: auto; color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.page { max-width: 1040px; margin: 0 auto; padding: 32px 24px 64px; }
.page h1 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; margin: 0 0 6px; }
.lede { color: var(--ink-2); margin: 0 0 18px; }
.card { max-width: 420px; margin: 8vh auto 0; background: var(--surface); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: 24px; }
.card .field, .dialog .field.wide { width: 100%; }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 0 0 18px; }
.legend div { background: var(--surface); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); padding: 10px 14px; }
.legend dt { font-weight: 600; }
.legend dd { margin: 2px 0 0; color: var(--ink-2); font-size: 13px; }
.tablewrap { background: var(--surface); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); }
.tablewrap td { vertical-align: middle; }
.tablewrap .name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muted, .tablewrap .sub { color: var(--ink-3); font-size: 12px; }
.tablewrap .sub { display: block; margin-top: 3px; }
.seg button[disabled] { cursor: progress; opacity: .6; }
.banner { margin: 0 0 14px; }
.dialog { border: 0; color: var(--ink); }
.dialog::backdrop { background: var(--scrim); }
@media (max-width: 640px) { .top, .page { padding-left: 16px; padding-right: 16px; } }
/* bundle.css gives .banner and .dialog a display, which would beat [hidden] and a closed <dialog>. */
[hidden] { display: none !important; }
.dialog:not([open]) { display: none; }
/* Fixed columns, so a changed track or a longer reason never moves the table (DR-772). */
.tablewrap table { table-layout: fixed; min-width: 760px; }
.tablewrap th:nth-child(1) { width: 24%; }
.tablewrap th:nth-child(2) { width: 22%; }
.tablewrap th:nth-child(3) { width: 9%; }
.tablewrap th:nth-child(4) { width: 21%; }
