:root {
    --dc-bg: #070a0f;
    --dc-surface: rgba(15, 23, 42, 0.72);
    --dc-surface-strong: rgba(17, 25, 41, 0.92);
    --dc-border: rgba(148, 163, 184, 0.16);
    --dc-border-strong: rgba(148, 163, 184, 0.28);
    --dc-text: #f8fafc;
    --dc-text-secondary: #cbd5e1;
    --dc-text-muted: #94a3b8;
    --dc-primary: #7c5cff;
    --dc-primary-hover: #9277ff;
    --dc-cyan: #22d3ee;
    --dc-success: #34d399;
    --dc-warning: #fbbf24;
    --dc-danger: #fb7185;
    --dc-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.36);
    --bs-body-bg: var(--dc-bg);
    --bs-body-color: var(--dc-text-secondary);
    --bs-border-color: var(--dc-border);
    --bs-primary: var(--dc-primary);
    --bs-secondary-color: var(--dc-text-muted);
    --bs-card-bg: transparent;
    --bs-card-color: var(--dc-text-secondary);
    --bs-heading-color: var(--dc-text);
    --bs-link-color: var(--dc-cyan);
    --bs-link-hover-color: #a5f3fc;
    --bs-emphasis-color: var(--dc-text);
    --bs-tertiary-bg: rgba(15, 23, 42, 0.65);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { background: var(--dc-bg); }
body { margin: 0; color: var(--dc-text-secondary); background: var(--dc-bg); font-family: "Segoe UI Variable", "Segoe UI", sans-serif; font-size: 0.94rem; }
body::selection { color: #fff; background: rgba(124, 92, 255, 0.7); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--dc-text); font-weight: 720; letter-spacing: -0.027em; }
h1 { font-size: clamp(1.65rem, 2.6vw, 2.2rem); }
p { color: var(--dc-text-secondary); }
.text-muted, .text-secondary, small, .form-text { color: var(--dc-text-muted) !important; }
strong { color: var(--dc-text); }
a { color: var(--dc-cyan); }
a:hover { color: #a5f3fc; }

.card, .card-body, .modal-content, .dropdown-menu, .offcanvas { color: var(--dc-text-secondary); background: var(--dc-surface); border-color: var(--dc-border); }
.card { overflow: hidden; border: 1px solid var(--dc-border); border-radius: 1rem; box-shadow: inset 0 1px rgba(255,255,255,0.035), 0 1rem 2.5rem rgba(0,0,0,0.13); backdrop-filter: blur(18px); }
.card-body { background: transparent; }
.card-header, .card-footer { color: var(--dc-text); border-color: var(--dc-border); background: rgba(15, 23, 42, 0.38); }
/* Bootstrap 5.1 sets .table color directly and does not read --bs-table-color. */
.table { color: var(--dc-text-secondary); --bs-table-active-color: var(--dc-text); --bs-table-active-bg: rgba(124,92,255,0.14); --bs-table-color: var(--dc-text-secondary); --bs-table-bg: transparent; --bs-table-border-color: var(--dc-border); --bs-table-striped-color: var(--dc-text-secondary); --bs-table-striped-bg: rgba(148,163,184,0.045); --bs-table-hover-color: var(--dc-text); --bs-table-hover-bg: rgba(124,92,255,0.1); }
.table-striped > tbody > tr:nth-of-type(odd) > * { color: var(--dc-text-secondary); background-color: rgba(148,163,184,0.06); }
.table-striped > tbody > tr:nth-of-type(even) > * { color: var(--dc-text-secondary); background-color: rgba(7,10,15,0.14); }
.table > :not(caption) > * > * { box-shadow: none; }
.table thead th { color: var(--dc-text-muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.table-responsive { border: 1px solid var(--dc-border); border-radius: 0.85rem; background: rgba(15,23,42,0.44); }

.form-control, .form-select, .form-check-input { color: var(--dc-text); border-color: var(--dc-border-strong); background-color: rgba(2, 6, 23, 0.54); }
.form-control:focus, .form-select:focus { color: var(--dc-text); border-color: var(--dc-cyan); background-color: rgba(2, 6, 23, 0.75); box-shadow: 0 0 0 0.22rem rgba(34, 211, 238, 0.13); }
.form-control::placeholder { color: #64748b; }
.form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-check-input:checked { border-color: var(--dc-primary); background-color: var(--dc-primary); }
.form-label { color: var(--dc-text-secondary); font-weight: 650; }
.input-group-text { color: var(--dc-text-muted); border-color: var(--dc-border-strong); background: rgba(15,23,42,0.9); }

.btn { border-radius: 0.65rem; font-weight: 700; transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { border-color: transparent; background: linear-gradient(135deg, var(--dc-primary), #5b8cff); box-shadow: 0 0.65rem 1.4rem rgba(92, 92, 255, 0.26); }
.btn-primary:hover, .btn-primary:focus { border-color: transparent; background: linear-gradient(135deg, var(--dc-primary-hover), #6ea8ff); }
.btn-outline-secondary { color: var(--dc-text-secondary); border-color: var(--dc-border-strong); background: rgba(15,23,42,0.34); }
.btn-outline-secondary:hover { color: var(--dc-text); border-color: var(--dc-cyan); background: rgba(34,211,238,0.1); }
.btn-outline-primary { color: #c4b5fd; border-color: rgba(124,92,255,0.55); }
.btn-outline-primary:hover { color: var(--dc-text); border-color: var(--dc-primary); background: rgba(124,92,255,0.2); }
.btn-outline-success { color: #6ee7b7; border-color: rgba(52,211,153,0.45); }
.btn-outline-success:hover { color: #d1fae5; border-color: var(--dc-success); background: rgba(52,211,153,0.16); }
.btn-outline-danger { color: #fda4af; border-color: rgba(251,113,133,0.45); }
.btn-outline-danger:hover { background: rgba(251,113,133,0.16); }
.btn-link { color: var(--dc-cyan); }

.alert { color: var(--dc-text-secondary); border-radius: 0.8rem; border-width: 1px; }
.alert-warning { color: #fde68a; border-color: rgba(251,191,36,0.38); background: rgba(120,83,10,0.24); }
.alert-danger { color: #fecdd3; border-color: rgba(251,113,133,0.4); background: rgba(136,19,55,0.22); }
.alert-info { color: #a5f3fc; border-color: rgba(34,211,238,0.35); background: rgba(8,145,178,0.16); }
.alert-success { color: #bbf7d0; border-color: rgba(52,211,153,0.37); background: rgba(6,95,70,0.22); }
.badge { font-weight: 750; }
.border, .border-top, .border-bottom { border-color: var(--dc-border) !important; }
.pagination { --bs-pagination-color: var(--dc-text-secondary); --bs-pagination-bg: var(--dc-surface); --bs-pagination-border-color: var(--dc-border); --bs-pagination-hover-color: var(--dc-text); --bs-pagination-hover-bg: rgba(124,92,255,0.2); --bs-pagination-hover-border-color: var(--dc-primary); --bs-pagination-active-bg: var(--dc-primary); --bs-pagination-active-border-color: var(--dc-primary); }
.validation-message { color: #fda4af; font-size: 0.82rem; }
.validation-errors { color: #fecdd3; }

article.console-content:has(.monitoring-page) { max-width: none; }
.monitoring-page__heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.monitoring-page__heading h1 { margin-bottom: .35rem; }
.monitoring-page__titleline { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; }
.monitoring-counters { display: flex; align-items: stretch; gap: .55rem; }
.monitoring-counter { display: inline-flex; align-items: baseline; gap: .3rem; padding: .38rem .58rem; border: 1px solid currentColor; border-radius: .55rem; background: rgb(15 23 42 / 50%); font-size: .7rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.monitoring-counter strong { color: currentColor; font-family: Consolas, "Cascadia Mono", monospace; font-size: 1.55rem; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.monitoring-counter--healthy { color: var(--dc-success); background: rgb(6 95 70 / 17%); }
.monitoring-counter--down { color: var(--dc-danger); background: rgb(136 19 55 / 20%); }
.monitoring-counter--waiting { color: #a8b3c4; background: rgb(148 163 184 / 9%); }
.monitoring-counter--stopped { color: #7c8799; background: rgb(100 116 139 / 8%); border-style: dashed; }
button.monitoring-counter { cursor: pointer; font-family: inherit; }
button.monitoring-counter:hover { filter: brightness(1.15); }
.monitoring-counter.is-selected { box-shadow: 0 0 0 2px currentColor; }
.monitoring-page__updated { color: var(--dc-text-muted); font-size: .78rem; white-space: nowrap; }
.monitoring-page__actions { position:relative; display: flex; align-items: end; flex-direction: column; gap: .4rem; }
.monitoring-copy-toast { position: absolute; width: max-content; z-index: 1200; top: 1.25rem; right: 1.25rem; max-width: min(24rem, calc(100vw - 2.5rem)); padding: .75rem 1rem; border: 1px solid; border-radius: .55rem; box-shadow: 0 .8rem 2.2rem rgb(2 6 23 / 45%); font-size: .85rem; font-weight: 700; animation: monitoring-copy-toast-in 160ms ease-out; }
.monitoring-copy-toast--header { top: -3.125rem; right: 0; }
.monitoring-copy-toast--success { color: #bbf7d0; border-color: rgb(74 222 128 / 60%); background: rgb(6 78 59 / 96%); }
.monitoring-copy-toast--error { color: #fecdd3; border-color: rgb(251 113 133 / 60%); background: rgb(136 19 55 / 96%); }
@keyframes monitoring-copy-toast-in { from { opacity: 0; transform: translateY(-.5rem); } to { opacity: 1; transform: translateY(0); } }
.monitoring-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) 12rem auto; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.monitoring-toolbar__result { color: var(--dc-text-muted); font-family: Consolas, "Cascadia Mono", monospace; font-size: .78rem; white-space: nowrap; }
.collection-filter-toolbar { display:flex; align-items:center; gap:.65rem; }
.collection-filter-toolbar > .input-group { min-width:0; flex:1 1 auto; }
.collection-heading { display:flex; align-items:center; justify-content:space-between; gap:.75rem; }
.collection-subheading { display:flex; align-items:center; justify-content:space-between; gap:.65rem; }
/* S-E (Faz 2, 2.2): one dense two-row card, about twice as many on a 1680px screen as the old three-row card. */
.monitoring-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: .6rem; }
.monitoring-card { position: relative; display: block; padding: .55rem .65rem; min-width: 0; color: var(--dc-text-secondary); border: 1px solid var(--dc-border-strong); border-radius: .65rem; background: rgb(15 23 42 / 56%); text-decoration: none; transition: transform 150ms ease, border-color 150ms ease, background 150ms ease; }
.monitoring-card:hover { color: var(--dc-text); transform: translateY(-2px); }
.monitoring-card--healthy { border-color: rgb(52 211 153 / 76%); box-shadow: inset 0 0 0 1px rgb(52 211 153 / 10%); }
.monitoring-card--down { border-color: rgb(251 113 133 / 90%); background: linear-gradient(145deg, rgb(82 16 36 / 90%), rgb(50 12 24 / 86%)); box-shadow: inset 0 0 2rem rgb(251 113 133 / 9%); }
/* Plan S-A: a passive domain is listed, faded, after the monitored ones. */
.monitoring-card--passive { opacity: 0.45; filter: grayscale(0.6); }
.monitoring-card--passive:hover, .monitoring-card--passive:focus-within { opacity: 0.8; }
.monitoring-card--unknown { border-color: rgb(251 191 36 / 45%); }
.monitoring-card--non-operational { overflow: hidden; padding-bottom: .9rem; }
.monitoring-card__construction-stripe { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: .42rem; border-top: 1px solid rgb(250 204 21 / 80%); background: repeating-linear-gradient(135deg, #facc15 0 14px, #111827 14px 25px); box-shadow: 0 -.2rem .8rem rgb(250 204 21 / 16%); }
.monitoring-card__topline { display: flex; align-items: center; gap: .4rem; min-width: 0; margin-bottom: .4rem; }
.monitoring-card__topline strong { flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--dc-text); font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.monitoring-card__redirect-badge { position: relative; z-index: 2; flex: 0 0 auto; }
.monitoring-grid .monitoring-card__redirect-badge { width: 1.3rem; height: 1.3rem; }
.monitoring-grid .monitoring-card__redirect-badge .ui-icon { width: .85rem; height: .85rem; }
.monitoring-card__detail-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.monitoring-card__detail-link:focus-visible { outline: 2px solid var(--dc-cyan); outline-offset: 3px; }
.domain-resource-tools__link { display: inline-grid; width: 1.75rem; height: 1.75rem; place-items: center; color: var(--dc-cyan); border: 1px solid rgba(34, 211, 238, 0.35); border-radius: .4rem; background: rgba(34, 211, 238, 0.08); line-height: 1; text-decoration: none; }
.domain-resource-tools__link:hover { color: #07131a; border-color: var(--dc-cyan); background: var(--dc-cyan); }
.domain-resource-tools__dns { display: inline-grid; width: 1.75rem; height: 1.75rem; place-items: center; color: var(--dc-cyan); border: 1px solid rgba(34, 211, 238, 0.35); border-radius: .4rem; background: rgba(34, 211, 238, 0.08); line-height: 1; text-decoration: none; }
.domain-resource-tools__dns:hover { color: #07131a; border-color: var(--dc-cyan); background: var(--dc-cyan); }
.button-spinner { display: inline-block; width: .9rem; height: .9rem; margin-right: .4rem; vertical-align: -.1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: button-spinner-rotate .65s linear infinite; }
@keyframes button-spinner-rotate { to { transform: rotate(360deg); } }
.monitoring-main-status { flex: 0 0 auto; width: .8rem; height: .8rem; border: 2px solid rgb(255 255 255 / 18%); border-radius: 50%; }
.monitoring-signals { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .4rem; }
.monitoring-signals span { display: inline-flex; min-width: 0; align-items: center; gap: .2rem; color: var(--dc-text-muted); font-size: .56rem; font-weight: 800; white-space: nowrap; text-transform: uppercase; }
.monitoring-signal { display: inline-block; width: .62rem; height: .62rem; border-radius: 50%; }
.monitoring-signal--healthy { background: var(--dc-success); box-shadow: 0 0 .65rem rgb(52 211 153 / 72%); }
.monitoring-signal--down { background: var(--dc-danger); box-shadow: 0 0 .65rem rgb(251 113 133 / 72%); }
.monitoring-signal--waiting { background: #64748b; box-shadow: 0 0 .45rem rgb(100 116 139 / 45%); }
.monitoring-card__footer { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: .5rem; }
/* The tools sit in one row of small buttons inside the card; elsewhere they keep their 2x2 block. */
.monitoring-grid .monitoring-card .domain-resource-tools { display: flex; width: auto; gap: .2rem; padding: 0; border: 0; background: none; box-shadow: none; }
.monitoring-grid .monitoring-card .domain-resource-tools a { width: 1.3rem; height: 1.3rem; border-radius: .3rem; }
.monitoring-grid .monitoring-card .domain-resource-tools a .ui-icon { width: .8rem; height: .8rem; }
.monitoring-grid .monitoring-card .domain-resource-tools .domain-resource-tools__dns { width: 1.3rem; padding: 0; justify-content: center; }
.monitoring-grid .monitoring-card .domain-resource-tools__dns span { display: none; }
.monitoring-card__links { position: relative; z-index: 2; display: flex; align-items: center; gap: .4rem; }
.domain-resource-tools__whois { display: inline-grid; width: 1.75rem; height: 1.75rem; place-items: center; color: var(--dc-cyan); border: 1px solid rgb(34 211 238 / 28%); border-radius: .38rem; background: rgb(34 211 238 / 6%); line-height: 1; text-decoration: none; }
.domain-resource-tools__whois:hover { color: #07131a; border-color: var(--dc-cyan); background: var(--dc-cyan); }
.domain-resource-tools__whois--redirect { color: #fbbf24; border-color: rgb(251 191 36 / 42%); background: rgb(251 191 36 / 8%); }
.domain-resource-tools__whois--redirect:hover { color: #1f1306; border-color: #fbbf24; background: #fbbf24; }
.domain-resource-tools__whois--redirect .ui-icon { width: 1.1rem; height: 1.1rem; }
.ui-icon { display: block; width: 1rem; height: 1rem; flex: 0 0 auto; }
.sortable-table-header { display: inline-flex; align-items: center; gap: .35rem; padding: 0; color: inherit; border: 0; background: transparent; font: inherit; font-weight: inherit; text-align: left; }
.sortable-table-header:hover { color: var(--dc-cyan); }
.sortable-table-header:focus-visible { border-radius: .2rem; outline: 2px solid var(--dc-cyan); outline-offset: .2rem; }
.sortable-table-header .ui-icon { width: .9rem; height: .9rem; color: var(--dc-text-muted); }
th[aria-sort="ascending"] .sortable-table-header .ui-icon,
th[aria-sort="descending"] .sortable-table-header .ui-icon { color: var(--dc-cyan); }
.monitoring-expirations { display: flex; min-width: 0; margin-left: auto; gap: .45rem; }
.monitoring-expiration { display: inline-flex; align-items: baseline; gap: .2rem; }
.monitoring-expiration > span { overflow: hidden; color: var(--dc-text-muted); font-size: .56rem; font-weight: 800; white-space: nowrap; text-transform: uppercase; }
.monitoring-expiration strong { font-family: Consolas, "Cascadia Mono", monospace; font-size: 1.05rem; line-height: 1; text-align: right; cursor: help; }
.monitoring-expiration--urgent strong { color: #fb923c; }
.monitoring-expiration strong.monitoring-expiration__off { color: var(--dc-text-muted); font-family: inherit; font-size: .68rem; font-weight: 700; }
/* Faz 2, 2.2a: one wide info card above the hovered card; fixed, so card overflow never clips it. */
.monitoring-info { position: fixed; z-index: 1080; width: 26rem; max-width: calc(100vw - 32px); max-height: calc(100vh - 16px); overflow-y: auto; transform: translateY(-100%); padding: .8rem .9rem; color: var(--dc-text-secondary); border: 1px solid var(--dc-border-strong); border-radius: .75rem; background: var(--dc-surface-strong); box-shadow: 0 .9rem 2.4rem rgb(0 0 0 / 55%); font-size: .82rem; line-height: 1.4; overflow-wrap: anywhere; backdrop-filter: blur(6px); }
.monitoring-info--below { transform: none; }
.monitoring-info__header { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.monitoring-info__name { flex: 1 1 auto; min-width: 0; color: var(--dc-text); font-size: .95rem; }
.monitoring-info__client { flex: 0 1 auto; color: var(--dc-text-muted); font-size: .75rem; text-align: right; }
.monitoring-info__status { margin: 0 0 .45rem; color: var(--dc-text); }
.monitoring-info__errors { margin: 0 0 .5rem; padding: .45rem .6rem .45rem 1.4rem; color: var(--dc-danger); border: 1px solid rgb(251 113 133 / 40%); border-radius: .5rem; background: rgb(251 113 133 / 8%); }
.monitoring-info__facts { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .2rem .6rem; margin: 0; }
.monitoring-info__facts dt { color: var(--dc-text-muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.monitoring-info__facts dd { margin: 0; }
.monitoring-info__hint { margin: .5rem 0 0; color: var(--dc-text-muted); font-size: .72rem; }
.monitoring-expiration__warning { display: inline-grid; width: .8rem; height: .8rem; align-self: center; place-items: center; color: #1f1306; border-radius: 50%; background: #fb923c; box-shadow: 0 0 .65rem rgb(251 146 60 / 65%); font-size: .56rem; font-style: normal; font-weight: 900; }
.list-page-filter .input-group { flex-wrap: nowrap; }
.list-page-filter .form-control { min-width: 12rem; }
.domain-list-filter__size { max-width: 7rem; }
.domain-list-filter__sort { width: 13.5rem; flex: 0 1 13.5rem; }
.domain-list-filter__controls { display:flex; min-width:0; flex:1 1 auto; align-items:center; gap:.65rem; }
.domain-list-filter__controls > .input-group { min-width:0; flex:1 1 32rem; }
.domain-condition-filter { position:relative; flex:0 0 auto; }
.domain-condition-filter__trigger { display:flex; max-width:18rem; min-height:2.4rem; align-items:center; gap:.4rem; padding:.4rem .65rem; color:var(--dc-text); border:1px solid var(--dc-border); border-radius:.5rem; background:rgb(15 23 42 / 58%); font-size:.84rem; }
.domain-condition-filter__trigger:hover, .domain-condition-filter__trigger.is-open { border-color:rgb(34 211 238 / 55%); background:rgb(8 47 73 / 52%); }
.domain-condition-filter__trigger strong { display:grid; min-width:1.25rem; height:1.25rem; place-items:center; color:#042f2e; border-radius:50%; background:var(--dc-cyan); font-size:.72rem; }
.domain-condition-filter__summary { overflow:hidden; color:var(--dc-text-muted); text-overflow:ellipsis; white-space:nowrap; }
.domain-condition-filter__panel { position:absolute; z-index:80; top:calc(100% + .45rem); right:0; width:min(25rem, calc(100vw - 2rem)); padding:.8rem; color:var(--dc-text); border:1px solid rgb(34 211 238 / 48%); border-radius:.75rem; background:rgb(10 17 31 / 98%); box-shadow:0 1rem 2.5rem rgb(0 0 0 / 45%); }
.domain-condition-filter__panel-heading { display:flex; align-items:center; justify-content:space-between; gap:.75rem; }
.domain-condition-filter__mode { display:flex; margin-top:.65rem; overflow:hidden; border:1px solid var(--dc-border); border-radius:.45rem; }
.domain-condition-filter__mode button { flex:1; padding:.38rem .5rem; color:var(--dc-text-muted); border:0; border-right:1px solid var(--dc-border); background:transparent; font-size:.78rem; }
.domain-condition-filter__mode button:last-child { border-right:0; }
.domain-condition-filter__mode button.active { color:#ecfeff; background:rgb(8 145 178 / 42%); }
.domain-condition-filter__hint { margin:.55rem 0 .7rem; color:var(--dc-text-muted); font-size:.76rem; }
.domain-condition-filter__group { display:grid; gap:.35rem; margin:0 0 .65rem; padding:.55rem 0 0; border:0; border-top:1px solid rgb(148 163 184 / 17%); }
.domain-condition-filter__group:last-child { margin-bottom:0; }
.domain-condition-filter__group legend { float:none; width:auto; margin:0; color:var(--dc-cyan); font-size:.7rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.domain-condition-filter__group label { display:flex; align-items:center; gap:.5rem; color:var(--dc-text-secondary); cursor:pointer; font-size:.84rem; }
.domain-condition-filter__group input { accent-color:var(--dc-cyan); }
.domain-list-copy-toast { position:fixed; z-index:100; top:1rem; right:1rem; max-width:min(30rem, calc(100vw - 2rem)); padding:.7rem .9rem; border:1px solid; border-radius:.6rem; box-shadow:0 .8rem 2rem rgb(0 0 0 / 35%); animation:monitoring-copy-toast-in .2s ease-out; }
.domain-list-copy-toast--success { color:#bbf7d0; border-color:rgb(74 222 128 / 60%); background:rgb(6 78 59 / 96%); }
.domain-list-copy-toast--error { color:#fecdd3; border-color:rgb(251 113 133 / 60%); background:rgb(136 19 55 / 96%); }
.domain-list-grid { display:grid; gap:.65rem; }
.domain-list-row { display:grid; grid-template-columns:2.25rem minmax(11rem, 1.15fr) minmax(14rem, 1.25fr) minmax(18rem, 1.55fr) minmax(14rem, 1.15fr) minmax(15rem, 1.2fr); gap:.75rem; align-items:center; padding:.75rem; border:1px solid var(--dc-border); border-radius:.8rem; background:rgb(15 23 42 / 44%); transition:border-color .15s ease, background .15s ease; }
.domain-list-row:hover { border-color:rgb(34 211 238 / 35%); background:rgb(15 23 42 / 68%); }
.domain-list-row__inspect { align-self:start; }
.domain-list-row__lead { display:grid; gap:.45rem; justify-items:center; align-self:start; }
.domain-list-selection { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; margin:0 0 .6rem; }
.domain-list-row__identity { display:grid; gap:.2rem; min-width:0; }
.domain-list-row__identity a { overflow:hidden; color:var(--dc-text); font-weight:800; text-decoration:none; text-overflow:ellipsis; white-space:nowrap; }
.domain-list-row__identity a:hover { color:var(--dc-cyan); }
.domain-list-row__identity span { overflow:hidden; color:var(--dc-text-muted); font-size:.78rem; text-overflow:ellipsis; white-space:nowrap; }
.domain-list-row__group { display:grid; min-width:0; gap:.38rem; }
.domain-list-row__label { color:var(--dc-text-muted); font-size:.66rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.domain-list-row__chips { display:flex; flex-wrap:wrap; gap:.28rem; }
.domain-list-row__chips .badge { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.67rem; font-weight:700; }
.domain-list-row__services { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:.35rem; }
.service-block { display:flex; min-width:0; align-items:start; gap:.32rem; padding:.3rem; border:1px solid rgb(148 163 184 / 16%); border-radius:.42rem; background:rgb(2 6 23 / 22%); }
.service-block__code { display:grid; flex:0 0 1.2rem; width:1.2rem; height:1.2rem; place-items:center; color:var(--dc-cyan); border:1px solid rgb(34 211 238 / 30%); border-radius:.3rem; font-size:.62rem; font-weight:900; }
.service-block > div { display:grid; min-width:0; gap:.05rem; }
.service-block__label, .service-block small { color:var(--dc-text-muted); font-size:.62rem; line-height:1.15; }
.service-block strong { overflow:hidden; color:var(--dc-text-secondary); font-size:.72rem; line-height:1.18; text-overflow:ellipsis; white-space:nowrap; }
.domain-list-row__facts { display:flex; flex-wrap:wrap; gap:.55rem; }
.domain-list-row__facts > span { display:grid; min-width:0; gap:.05rem; }
.domain-list-row__facts small { color:var(--dc-text-muted); font-size:.62rem; }
.domain-list-row__facts strong { overflow:hidden; color:var(--dc-text-secondary); font-size:.76rem; text-overflow:ellipsis; white-space:nowrap; }
.domain-list-row__facts .is-urgent strong { color:#fdba74; }
.list-pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--dc-text-muted); font-size: .82rem; }
.expandable-panel { margin-bottom: 1rem; overflow: hidden; border: 1px solid var(--dc-border); border-radius: .85rem; background: rgb(15 23 42 / 42%); }
.expandable-panel__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; color: var(--dc-text); border: 0; background: rgb(15 23 42 / 58%); text-align: left; }
.expandable-panel__toggle { cursor: pointer; list-style: none; }
.expandable-panel__toggle::-webkit-details-marker { display: none; }
.expandable-panel__toggle:hover { background: rgb(30 41 59 / 64%); }
.expandable-panel__toggle:focus-visible { outline: 2px solid var(--dc-cyan); outline-offset: -2px; }
.expandable-panel__toggle > span:first-child { display: grid; gap: .15rem; }
.expandable-panel__toggle strong { font-size: 1rem; }
.expandable-panel__toggle small { font-weight: 500; }
.expandable-panel__chevron { flex: 0 0 auto; color: var(--dc-cyan); font-size: 1.4rem; line-height: 1; transition: transform 160ms ease; }
.expandable-panel[open] .expandable-panel__chevron { transform: rotate(180deg); }
.expandable-panel__content { padding: 1rem; border-top: 1px solid var(--dc-border); }
.import-export-schema { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; padding: 1rem; border: 1px solid var(--dc-border); border-radius: .7rem; background: rgb(2 6 23 / 34%); }
.import-export-schema strong { grid-column: 1 / -1; margin-bottom: .15rem; }
.import-export-schema span { color: var(--dc-text-muted); font-size: .82rem; }
.import-export-schema span::before { content: "✓"; margin-right: .4rem; color: var(--dc-success); font-weight: 900; }
@media (max-width: 1100px) { .domain-list-row { grid-template-columns:2.25rem minmax(11rem, 1fr) minmax(15rem, 1.3fr) minmax(17rem, 1.5fr); } .domain-list-row__group:nth-of-type(4), .domain-list-row__group:nth-of-type(5) { grid-column:span 2; } }
@media (max-width: 700px) { .monitoring-page__heading { align-items: start; flex-direction: column; } .monitoring-page__actions { align-items: start; } .monitoring-copy-toast { top: .75rem; right: .75rem; } .monitoring-counters { width: 100%; flex-wrap: wrap; } .monitoring-counter { flex: 1 1 auto; justify-content: center; } .monitoring-toolbar { grid-template-columns: 1fr; } .collection-filter-toolbar { align-items:stretch; flex-direction:column; } .collection-filter-toolbar > .collection-result-count { align-self:flex-end; } .domain-list-filter__controls { align-items:stretch; flex-direction:column; } .domain-list-filter__controls > .input-group { flex:0 0 auto; } .domain-list-filter__sort { width:100%; } .domain-condition-filter__trigger { max-width:none; width:100%; justify-content:start; } .domain-condition-filter__summary { flex:1; } .domain-list-row { grid-template-columns:2.25rem minmax(0, 1fr); gap:.65rem; } .domain-list-row__identity { grid-column:2; } .domain-list-row__group { grid-column:1 / -1 !important; } .domain-list-row__services { grid-template-columns:1fr; } .list-pager { align-items: start; flex-direction: column; } }
.entity-code { display: inline-block; margin-left: 0.5rem; padding: 0.22rem 0.42rem; vertical-align: middle; border: 1px solid rgba(34,211,238,0.3); border-radius: 0.4rem; color: var(--dc-cyan); background: rgba(34,211,238,0.07); font-family: Consolas, "Cascadia Mono", monospace; font-size: 0.46em; font-weight: 700; letter-spacing: 0; }
.table-action-column { width: 3.5rem; }
.table-icon-action { display: inline-grid; width: 2rem; height: 2rem; place-items: center; color: var(--dc-cyan); border: 1px solid rgba(34, 211, 238, 0.35); border-radius: 0.45rem; background: rgba(34, 211, 238, 0.07); font-family: Consolas, "Cascadia Mono", monospace; font-size: 1.3rem; font-weight: 700; line-height: 1; text-decoration: none; }
.table-icon-action:hover { color: #07131a; border-color: var(--dc-cyan); background: var(--dc-cyan); }
/* Global because Blazor CSS isolation may not be applied to dynamically rendered dialog markup. */
body .history-modal-backdrop { position: fixed !important; inset: 0 !important; z-index: 2147483000 !important; background: rgb(3 8 18 / 72%) !important; backdrop-filter: blur(5px); }
body .history-modal { position: fixed !important; z-index: 2147483001 !important; inset: 6vh 5vw !important; display: flex !important; flex-direction: column !important; overflow: hidden !important; border: 1px solid var(--dc-border-strong) !important; border-radius: 1rem !important; background: var(--dc-surface-strong) !important; box-shadow: 0 2rem 5rem rgb(0 0 0 / 50%) !important; }
body .history-modal > header { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 1rem !important; padding: 1rem 1.25rem !important; border-bottom: 1px solid var(--dc-border) !important; }
body .history-modal > header h2 { margin: 0 !important; font-size: 1.1rem !important; }
body .history-modal__body { overflow: auto !important; padding: 1.25rem !important; }
body .history-modal__pager { display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: .75rem !important; margin-top: 1rem !important; }
body .history-modal--confirmation { inset: 25vh 25vw !important; }
@media (max-width: 700px) { .list-page-filter .input-group { align-items: stretch; flex-wrap: wrap; } .list-page-filter .form-control { flex: 1 0 100%; width: 100%; } .list-page-filter .input-group > .form-select { flex: 1 1 auto; width: auto; } body .history-modal, body .history-modal--confirmation { inset: 2vh 2vw !important; } body .history-modal__body { padding: .75rem !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

.note-actions { display: flex; justify-content: flex-end; gap: .4rem; margin-top: .55rem; }
.timeline { display: grid; gap: .15rem; }
.timeline article { display: grid; grid-template-columns: .75rem 1fr; gap: .65rem; padding: .65rem 0; border-bottom: 1px solid var(--dc-border); }
.timeline-dot { width: .65rem; height: .65rem; margin-top: .3rem; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 .6rem rgb(56 189 248 / 45%); }
.timeline-dot.timeline-note { background: #fbbf24; box-shadow: 0 0 .6rem rgb(251 191 36 / 45%); }
.timeline p { margin: .2rem 0; color: var(--dc-text-muted); white-space: pre-wrap; }
.timeline small { color: var(--dc-text-muted); }
.timeline-pager { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; }

.alert-info > span > strong { text-shadow: 0px 0px 3px #277587; }
tr.client-domain-expansion > td > div.table-responsive > table > tbody > tr { color: var(--dc-text-secondary); background-color: rgba(148,163,184,0.06); }
.neon-blue-header { color: #22d3ee !important; text-shadow: 0px 0px 21px #22d3ee; }

/* Tabs (e.g. /actions): one list at a time instead of stacked tables. */
.console-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--dc-border-strong); }
.console-tab { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: -1px; padding: 0.55rem 0.95rem; color: var(--dc-text-secondary); font-weight: 700; border: 1px solid transparent; border-radius: 0.6rem 0.6rem 0 0; background: transparent; }
.console-tab:hover { color: var(--dc-text); background: rgba(148,163,184,0.08); }
.console-tab:focus-visible { outline: 2px solid var(--dc-cyan); outline-offset: 2px; }
.console-tab.active { color: var(--dc-text); border-color: var(--dc-border-strong); border-bottom-color: var(--dc-bg); background: var(--dc-surface-strong); }
.console-tab-count { min-width: 1.6rem; padding: 0.05rem 0.45rem; color: var(--dc-text); font-size: 0.75rem; text-align: center; border-radius: 999px; background: rgba(148,163,184,0.22); }
.console-tab.active .console-tab-count { color: #0b0f19; background: var(--dc-cyan); }
.console-tab-panel:focus-visible { outline: 2px solid var(--dc-cyan); outline-offset: 4px; border-radius: 0.85rem; }

/* S-C sayfa düzeni (ADR-036): one sticky top row, (i) descriptions, one-line notice strip. */
.page-toolbar { margin: 0 0 .75rem; padding: .5rem 0; border-bottom: 1px solid var(--dc-border); background: var(--dc-bg); }
.page-toolbar__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "heading tools actions"; align-items: center; gap: .5rem 1rem; }
.page-toolbar__heading { grid-area: heading; display: flex; align-items: center; gap: .5rem; min-width: 0; }
.page-toolbar__title { margin: 0; font-size: 1.35rem; line-height: 1.2; white-space: nowrap; }
.page-toolbar__count { color: var(--dc-text-muted); font-size: .82rem; white-space: nowrap; }
.page-toolbar__tools { grid-area: tools; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; min-width: 0; }
.page-toolbar__search { display: flex; align-items: center; gap: .5rem; flex: 0 1 30rem; min-width: 12rem; }
.page-toolbar__search > form { flex: 1 1 auto; min-width: 12rem; }
.page-toolbar__search:has(.page-toolbar__chip) { flex-grow: 1; }
/* Phones keep the older wrap rule (.list-page-filter, max-width 700px) so the buttons drop under the input. */
@media (min-width: 701px) { .page-toolbar__search .input-group { flex-wrap: nowrap; } }
.page-toolbar__search .domain-list-filter__size { flex: 0 0 4.5rem; width: 4.5rem; }
.page-toolbar__filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.page-toolbar__actions { grid-area: actions; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem; }
.page-toolbar__below { margin-top: .5rem; }
.page-toolbar__below:not(:has(*)) { display: none; }
.page-toolbar__below .console-tabs { margin-bottom: 0; }
/* With tabs below, the tab strip's own line closes the toolbar. */
.page-toolbar:has(.page-toolbar__below .console-tabs) { padding: .3rem 0 0; border-bottom: 0; }
.page-toolbar__below:has(.console-tabs) { margin-top: .25rem; }
.page-toolbar__below .console-tab { padding-top: .4rem; padding-bottom: .4rem; }
.page-toolbar__chip { flex: 0 1 auto; min-width: 0; max-width: 16rem; display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .25rem .2rem .6rem; color: #a5f3fc; border: 1px solid rgba(34,211,238,.35); border-radius: 999px; background: rgba(8,145,178,.16); font-size: .82rem; white-space: nowrap; }
.page-toolbar__chip > span { overflow: hidden; text-overflow: ellipsis; }
.page-toolbar__chip a { flex: none; display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; color: inherit; border-radius: 50%; text-decoration: none; }
.page-toolbar__chip a:hover { background: rgba(34,211,238,.25); }
/* Alan adları carries the most items. At 1680 they do not fit one row at usable sizes, so search and filters take a second,
   tighter row next to the title and buttons; the page stays under 18% (ADR-036). */
.page-toolbar:has(.domain-list-filter) { padding: .3rem 0; margin-bottom: .5rem; }
.page-toolbar__tools:has(.domain-list-filter) { row-gap: .3rem; }
.page-toolbar__filters .domain-list-filter__sort { width: 11rem; flex: 0 1 11rem; }
/* Inside the sticky toolbar the popover moves with it, so it scrolls itself instead of the page. */
.page-toolbar .domain-condition-filter__panel { max-height: calc(100dvh - 12rem); overflow-y: auto; }
.page-toolbar .domain-condition-filter__trigger { min-height: 0; max-width: 14rem; padding: .25rem .55rem; }
.page-toolbar__actions:has(.btn-sm) { gap: .4rem; }
@media (min-width: 768px) { .page-toolbar { position: sticky; top: 0; z-index: 20; } }
@media (max-width: 767.98px) {
    .page-toolbar__row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "actions" "tools"; }
    .page-toolbar__actions { justify-content: flex-start; }
    .page-toolbar__search { flex: 1 1 100%; }
}
.info-tip { position: relative; display: inline-flex; }
.info-tip__button { display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; padding: 0; color: var(--dc-cyan); border: 1px solid rgba(34,211,238,.45); border-radius: 50%; background: rgba(34,211,238,.08); font: italic 700 .78rem/1 Georgia, serif; cursor: pointer; }
.info-tip__button:hover, .info-tip__button[aria-expanded="true"] { background: rgba(34,211,238,.2); }
.info-tip__button:focus-visible { outline: 2px solid var(--dc-cyan); outline-offset: 2px; }
.info-tip__text { position: absolute; top: calc(100% + .45rem); left: 0; z-index: 30; width: max-content; max-width: min(26rem, 80vw); padding: .6rem .75rem; color: var(--dc-text-secondary); border: 1px solid var(--dc-border-strong); border-radius: .55rem; background: #111827; box-shadow: var(--dc-shadow); font-size: .84rem; font-weight: 400; line-height: 1.45; white-space: normal; }
/* S-G (ADR-037): the worklist status stays two lines so the list keeps its density. */
.worklist-status { white-space: nowrap; }
.worklist-select { width: 2.25rem; }
.worklist-bulk { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.worklist-confirm { margin-bottom: .75rem; }
/* Geçiş planı 1.2: maintenance windows page and the domain page line. */
.maintenance-form legend { font-size: .875rem; }
.domain-detail-maintenance { margin: 0 0 .5rem; padding: .35rem .75rem; border-radius: .375rem; font-size: .875rem; background: var(--bs-info-bg-subtle, #cff4fc); color: var(--bs-info-text-emphasis, #055160); }
/* Geçiş planı 1.2: a row in maintenance stays, with this label. */
.worklist-maintenance { display: inline-block; margin-top: .25rem; padding: .05rem .5rem; border-radius: 999px; font-size: .75rem; background: var(--bs-info-bg-subtle, #cff4fc); color: var(--bs-info-text-emphasis, #055160); }
.worklist-status__claim { display: flex; align-items: center; gap: .5rem; }
.worklist-status__button { padding: 0 .5rem; font-size: .78rem; line-height: 1.5; }
.page-notice { display: flex; align-items: center; gap: .75rem; margin: 0 0 .6rem; padding: .35rem .75rem; border: 1px solid; border-radius: .5rem; font-size: .88rem; }
.page-notice__text { flex: 1 1 auto; min-width: 0; }
.page-notice__close { flex: none; padding: 0 .25rem; color: inherit; border: 0; background: transparent; font-size: 1.1rem; line-height: 1; cursor: pointer; opacity: .8; }
.page-notice__close:hover { opacity: 1; }
.page-notice--success { color: #bbf7d0; border-color: rgba(52,211,153,0.37); background: rgba(6,95,70,0.22); }
.page-notice--warning { color: #fde68a; border-color: rgba(251,191,36,0.38); background: rgba(120,83,10,0.24); }
.page-notice--info { color: #a5f3fc; border-color: rgba(34,211,238,0.35); background: rgba(8,145,178,0.16); }

.side-panel-backdrop { position: fixed; inset: 0; z-index: 1040; background: rgb(2 6 23 / 55%); animation: side-panel-fade 150ms ease-out; }
.side-panel { position: fixed; inset: 0 0 0 auto; z-index: 1050; display: flex; flex-direction: column; width: min(520px, 100vw); overflow-y: auto; color: var(--dc-text-secondary); border-left: 1px solid var(--dc-border-strong); background: #0d1424; box-shadow: var(--dc-shadow); animation: side-panel-in 150ms ease-out; }
.side-panel:focus { outline: none; }
.side-panel__header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--dc-border); background: #0d1424; }
.side-panel__title { margin: 0; font-size: 1.15rem; }
.side-panel__close { flex: none; width: 2rem; height: 2rem; padding: 0; color: var(--dc-text-secondary); border: 1px solid var(--dc-border-strong); border-radius: .5rem; background: transparent; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.side-panel__close:hover { color: var(--dc-text); background: rgba(148,163,184,.12); }
.side-panel__body { padding: 1.25rem; }
/* Page forms were laid out for the full width; inside the 520px panel each field takes a full row, short ones share half. */
.side-panel__body .row > [class*="col-md-"] { flex: 0 0 auto; width: 100%; }
.side-panel__body .row > .col-md-3 { width: 50%; }
@keyframes side-panel-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes side-panel-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 767.98px) { .side-panel { left: 0; width: auto; border-left: 0; } }
@media (prefers-reduced-motion: reduce) { .side-panel, .side-panel-backdrop { animation: none; } }
/* Faz 2, 2.12: alert messages put one fact per line; the notification history keeps the lines. */
.alert-message { white-space: pre-line; }
/* Faz 2, 2.1 (S-D): Genel bakış. Status first, then current work, then the period. */
.overview { display: grid; gap: 1rem; padding-bottom: 1.5rem; }
.overview-intro { margin: .25rem 0 .9rem; color: var(--dc-text-muted); font-size: .85rem; }
.overview-change--MonitoringStopped span { color: var(--dc-text-muted); }
.overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; align-items: start; }
.overview-grid--period { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.overview-section { min-width: 0; padding: 1rem 1.1rem; border: 1px solid var(--dc-border); border-radius: .9rem; background: var(--dc-surface); }
.overview-section__title { margin: 0 0 .75rem; font-size: 1rem; }
.overview-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.overview-tile { display: grid; gap: .1rem; padding: .65rem .8rem; border: 1px solid var(--dc-border-strong); border-left-width: 4px; border-radius: .6rem; background: rgb(15 23 42 / 56%); }
.overview-tile strong { color: var(--dc-text); font-family: Consolas, "Cascadia Mono", monospace; font-size: 1.6rem; line-height: 1.1; }
.overview-tile__label { color: var(--dc-text); font-weight: 700; }
.overview-tile__caption { color: var(--dc-text-muted); font-size: .76rem; line-height: 1.3; }
.overview-tile--total { border-left-color: var(--dc-cyan); }
.overview-tile--healthy { border-left-color: var(--dc-success); }
.overview-tile--down { border-left-color: var(--dc-danger); }
.overview-tile--waiting { border-left-color: var(--dc-warning); }
.overview-tile--stopped { border-left-color: var(--dc-text-muted); }
.overview-list { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.overview-work { display: flex; justify-content: space-between; gap: .75rem; padding: .4rem .6rem; color: var(--dc-text-secondary); border-radius: .45rem; text-decoration: none; }
.overview-work:hover { color: var(--dc-text); background: rgba(148,163,184,.1); }
.overview-work--busy { color: var(--dc-text); }
.overview-work__count { color: var(--dc-text-muted); white-space: nowrap; }
.overview-work--busy .overview-work__count { color: var(--dc-warning); }
.overview-row { display: flex; justify-content: space-between; gap: .75rem; min-width: 0; }
.overview-row a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-row__value { color: var(--dc-text-muted); white-space: nowrap; }
.overview-row__value--urgent { color: #fb923c; font-weight: 700; }
.overview-note { margin: .6rem 0 0; color: var(--dc-text-muted); font-size: .82rem; }
.overview-warning { margin: 0 0 .6rem; padding: .45rem .65rem; color: #1f1306; border-radius: .45rem; background: var(--dc-warning); font-weight: 700; }
.overview-facts { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; margin: 0; }
.overview-facts dt { color: var(--dc-text-muted); font-weight: 600; }
.overview-facts dd { margin: 0; color: var(--dc-text); }
.overview-numbers { margin: 0; color: var(--dc-text-secondary); }
.overview-numbers strong { color: var(--dc-text); font-family: Consolas, "Cascadia Mono", monospace; font-size: 1.4rem; }
.overview-chart { margin: .8rem 0 0; }
.overview-chart__svg { display: block; width: 100%; height: 9rem; border-bottom: 1px solid var(--dc-border-strong); }
.overview-chart__bar { fill: var(--dc-danger); }
.overview-chart__axis { display: flex; justify-content: space-between; gap: .5rem; margin-top: .3rem; color: var(--dc-text-muted); font-size: .75rem; }
.overview-chart__empty { margin: .8rem 0 0; color: var(--dc-success); }
.overview-changes { max-height: 26rem; overflow-y: auto; }
.overview-change { display: grid; grid-template-columns: 6.6rem minmax(0, 11rem) 1fr; gap: .6rem; align-items: baseline; padding: .25rem 0; border-bottom: 1px solid var(--dc-border); font-size: .86rem; }
.overview-change time { color: var(--dc-text-muted); font-family: Consolas, "Cascadia Mono", monospace; font-size: .8rem; }
.overview-change a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-change--OutageStarted span { color: var(--dc-danger); }
.overview-change--OutageEnded span { color: var(--dc-success); }
.overview-range { display: inline-flex; overflow: hidden; border: 1px solid var(--dc-border-strong); border-radius: .5rem; }
.overview-range__link { padding: .25rem .65rem; color: var(--dc-text-secondary); font-size: .85rem; text-decoration: none; }
.overview-range__link + .overview-range__link { border-left: 1px solid var(--dc-border-strong); }
.overview-range__link:hover { color: var(--dc-text); background: rgba(148,163,184,.12); }
.overview-range__link.is-current { color: #0b0f19; background: var(--dc-cyan); font-weight: 700; }
@media (max-width: 767.98px) { .overview-grid--period { grid-template-columns: 1fr; } .overview-change { grid-template-columns: 1fr; gap: 0; } }

/* Y.3 (ADR-040): renewals list and its side panel. */
.renewals-table__open { font-weight: 700; text-align: left; }
.renewals-table__line { display: inline-block; margin: 0 0.6rem 0.15rem 0; white-space: nowrap; }
.renewals-table__note { max-width: 22rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.renewals-table__overdue td:nth-child(3) { color: var(--bs-warning-text-emphasis, #f59e0b); font-weight: 700; }
.renewal-panel__summary { margin-bottom: 1rem; }
.renewal-panel__lines { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.renewal-line { padding: 0.65rem 0.75rem; border: 1px solid var(--dc-border-strong); border-radius: 0.6rem; }
.renewal-line__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.renewal-line__decision { color: var(--dc-text-secondary); }
.renewal-line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.5rem; }
.renewal-line__date { max-width: 11rem; }
.renewal-panel__history-title { font-size: 0.95rem; font-weight: 700; margin: 0.5rem 0; }
.renewal-notes { display: grid; gap: 0.45rem; }
.renewal-note { display: grid; gap: 0.1rem; }
.renewal-note--user .renewal-note__text { font-weight: 600; }
.renewal-note__text { white-space: pre-wrap; overflow-wrap: anywhere; }
