/* FiberVu Monitoring — classic white & grey theme (no build step needed). */
:root {
    --bg: var(--dk-bg-f5f6f8, #F5F6F8);
    --card: var(--dk-bg-ffffff, #FFFFFF);
    --line: var(--dk-bd-e7e9ed, #E7E9ED);
    --row: var(--dk-bg-f1f2f4, #F1F2F4);
    --hover: var(--dk-bg-f9fafb, #F9FAFB);
    --ink: var(--dk-fg-1f2937, #1F2937);
    --head: var(--dk-fg-111827, #111827);
    --muted: var(--dk-fg-6b7280, #6B7280);
    --hint: var(--dk-fg-9ca3af, #9CA3AF);
    --charcoal: var(--dk-fg-1f2937, #1F2937);
    --red: #D92D20;
    --amber: #DC8A00;
    --green: #22A06B;
    --blue: #2E90FA;
    --indigo: #6172F3;
    --grey: #9CA3AF;
    --r-card: 14px;
    --r-ctl: 10px;
    --r-modal: 16px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .04);
    --shadow-pop: 0 12px 28px rgba(16, 24, 40, .10), 0 4px 10px rgba(16, 24, 40, .06);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --sidebar-width: 15rem;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body, .fi-body { font-family: var(--font) !important; font-size: 13.5px; color: var(--ink); background: var(--bg) !important; }
.fi-layout, .fi-main-ctn, .fi-main { background: var(--bg); }
* { scrollbar-width: thin; scrollbar-color: var(--dk-bd-d4d8de, #d4d8de) transparent; }

/* ------------------------------------------------------------ sidebar */
.fi-sidebar { background: var(--dk-bg-ffffff, #fff) !important; border-right: 1px solid var(--line) !important; box-shadow: none !important; }
.fi-sidebar-header, .fi-sidebar-nav, .fi-sidebar-footer { background: var(--dk-bg-ffffff, #fff) !important; }
.fi-sidebar-header { border-bottom: 0 !important; box-shadow: none !important; }
.fi-sidebar-group-label { font-size: 10.5px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hint) !important; padding-inline: .75rem; }
.fi-sidebar-nav { padding-inline: .75rem !important; }
.fi-sidebar-item-btn { border-radius: var(--r-ctl) !important; padding: .5rem .65rem; gap: .6rem; transition: background-color .18s var(--ease), color .18s var(--ease); }
.fi-sidebar-item-label { font-size: 13.5px; font-weight: 500; color: var(--dk-fg-4b5563, #4B5563) !important; white-space: nowrap; }
.fi-sidebar-item-icon { color: var(--dk-fg-6b7280, #6B7280) !important; width: 1.25rem; height: 1.25rem; }
.fi-sidebar-item-btn:hover { background: var(--hover) !important; }
.fi-sidebar-item.fi-active > .fi-sidebar-item-btn { background: var(--dk-bg-f3f4f6, #F3F4F6) !important; }
.fi-sidebar-item.fi-active .fi-sidebar-item-label { color: var(--head) !important; font-weight: 700; }
.fi-sidebar-item.fi-active .fi-sidebar-item-icon { color: var(--head) !important; }
.fi-sidebar-item .fi-badge { background: var(--dk-bg-f3f4f6, #F3F4F6) !important; color: var(--dk-fg-4b5563, #4B5563) !important; border-radius: 999px; padding: .05rem .5rem; min-width: 1.4rem; font-size: 11.5px; box-shadow: inset 0 0 0 1px var(--line); }

.side-brand { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 1.1rem .9rem; }
.side-brand-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--dk-bg-f5f6f8, #F5F6F8); border: 1px solid var(--line); display: grid; place-items: center; flex: none; overflow: hidden; }
.side-brand-mark img { width: 34px; height: auto; display: block; }
.side-brand-text { line-height: 1.2; min-width: 0; }
.side-brand-name { font-weight: 700; color: var(--head); font-size: 14px; }
.side-brand-co { font-size: 11.5px; color: var(--muted); }

.side-user { display: flex; align-items: center; gap: .65rem; margin: .5rem .75rem .75rem; padding: .65rem .7rem; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--dk-bg-ffffff, #fff); }
.side-user-avatar { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--dk-bg-f3f4f6, #F3F4F6); color: var(--head); display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; }
.side-user-avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid var(--dk-bd-ffffff, #fff); }
.side-user-meta { min-width: 0; flex: 1; }
.side-user-name { color: var(--head); font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user-role { color: var(--muted); font-size: 11.5px; }
.side-user-logout { background: transparent; border: 0; color: var(--hint); font-size: 1.1rem; cursor: pointer; border-radius: 8px; padding: .15rem .3rem; transition: color .15s var(--ease), background-color .15s var(--ease); }
.side-user-logout:hover { color: var(--head); background: var(--dk-bg-f3f4f6, #F3F4F6); }

/* ------------------------------------------------------------ top bar */
.fi-topbar { background: var(--dk-bg-ffffff, #fff) !important; border-bottom: 1px solid var(--line); box-shadow: none !important; }
.fi-topbar nav { background: var(--dk-bg-ffffff, #fff) !important; box-shadow: none !important; }
.fi-global-search-field .fi-input-wrp { background: var(--dk-bg-f5f6f8, #F5F6F8); }
/* bell: small red dot instead of a number */
.fi-topbar .fi-icon-btn-badge-ctn .fi-badge { min-width: 0 !important; width: 9px; height: 9px; padding: 0 !important; font-size: 0 !important; border-radius: 50%; background: var(--red) !important; box-shadow: 0 0 0 2px var(--dk-bd-ffffff, #fff); }

/* ------------------------------------------------------------ page header */
.fi-header-heading { font-size: 22px !important; font-weight: 700; color: var(--head); letter-spacing: -.01em; }
.fi-breadcrumbs-item-label { color: var(--muted); font-size: 12px; }
.fi-page-header-main-ctn { padding-block: 1rem .5rem; }

/* ------------------------------------------------------------ cards */
.m-card, .m-stat, .fi-section, .fi-ta-ctn { background: var(--card); border: 1px solid var(--line) !important; border-radius: var(--r-card) !important; box-shadow: var(--shadow) !important; }
.m-card { padding: 1.25rem 1.5rem; }
.m-card-title { margin: 0 0 .85rem; font-size: 15px; font-weight: 600; color: var(--head); display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.m-card-title .m-muted { font-weight: 400; font-size: 12px; }
.m-card-title .m-link { margin-left: auto; font-size: 12.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .15s var(--ease); }
.m-card-title .m-link:hover { color: var(--head); }
.m-muted { color: var(--muted); font-size: 12.5px; }
.m-empty { text-align: center; padding: 1.5rem !important; }
.m-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--row); font-size: 13px; }
.m-row:first-of-type { border-top: 0; }
.m-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.m-two-wide { grid-template-columns: minmax(0, 1fr) 300px; }
.m-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.m-stack { display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 1250px) { .m-two-wide { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .m-two, .m-three { grid-template-columns: 1fr; } }

/* dashboard strip */
.m-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: -.25rem 0 1rem; color: var(--muted); font-size: 12.5px; }
.m-strip strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ count cards */
.m-cards { display: grid; gap: 1rem; margin-bottom: 1rem; }
.m-cards-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.m-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1300px) { .m-cards-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.m-stat { padding: 1rem 1.15rem; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.m-stat:hover { box-shadow: var(--shadow-pop) !important; transform: translateY(-1px); }
.m-stat-label { color: var(--muted); font-size: 12px; font-weight: 600; }
.m-stat-num { font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--head); letter-spacing: -.02em; }
.m-stat.is-red .m-stat-num { color: var(--dk-fgv-red, var(--red)); }
.m-stat.is-amber .m-stat-num { color: var(--dk-fgv-amber, var(--amber)); }
.m-stat-foot { color: var(--muted); font-size: 11.5px; margin-top: .1rem; }

/* ------------------------------------------------------------ badges */
.st { display: inline-flex; align-items: center; gap: .4rem; background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); color: var(--dk-fg-374151, #374151); border-radius: 999px; padding: .1rem .6rem .1rem .5rem; font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.st i { width: 7px; height: 7px; border-radius: 50%; background: var(--grey); flex: none; }
.st-pending i { background: var(--grey); }
.st-assigned i { background: var(--indigo); }
.st-ongoing i { background: var(--blue); }
.st-on_hold i { background: var(--dk-bg-ffffff, #fff); box-shadow: inset 0 0 0 2px var(--grey); }
.st-completed i, .st-restored i { background: var(--green); }
.st-cancelled i { background: var(--red); }
.ag { display: inline-flex; align-items: center; border-radius: 999px; padding: .1rem .6rem; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; border: 1px solid transparent; }
.ag-green { background: var(--dk-bg-ecfdf3, #ECFDF3); border-color: var(--dk-bd-abefc6, #ABEFC6); color: var(--dk-fg-067647, #067647); }
.ag-amber { background: var(--dk-bg-fffaeb, #FFFAEB); border-color: #FEC84B; color: var(--dk-fg-9a5b00, #9A5B00); }
.ag-red { background: var(--dk-bg-fef3f2, #FEF3F2); border-color: var(--dk-bd-fda29b, #FDA29B); color: var(--dk-fg-b42318, #B42318); }
.ag-gray { background: var(--dk-bg-f3f4f6, #F3F4F6); border-color: var(--dk-bd-e5e7eb, #E5E7EB); color: var(--dk-fg-4b5563, #4B5563); }
.tag { display: inline-flex; align-items: center; background: var(--dk-bg-f3f4f6, #F3F4F6); border: 1px solid var(--line); color: var(--dk-fg-4b5563, #4B5563); border-radius: 6px; padding: 0 .4rem; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; line-height: 1.6; margin-right: .35rem; }

/* ------------------------------------------------------------ bars */
.m-bar { height: 8px; background: var(--dk-bg-eef0f3, #EEF0F3); border-radius: 999px; overflow: hidden; }
.m-bar-fill { height: 100%; border-radius: 999px; background: #4B5563; transition: width .6s var(--ease); }
.bar-green { background: var(--green); } .bar-amber { background: #F5A524; } .bar-red { background: var(--red); } .bar-gray { background: var(--grey); } .bar-blue { background: #4B5563; }
.m-hbar { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: .75rem; align-items: center; padding: .35rem 0; font-size: 13px; }
.m-hbar-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-hbar-val { font-weight: 600; display: flex; gap: .4rem; align-items: center; min-width: 2rem; justify-content: flex-end; }
.m-usage { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--row); }
.m-usage-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: 13px; margin-bottom: .4rem; }
.m-subs { display: flex; align-items: center; gap: .5rem; }
.m-subbar { display: inline-block; width: 44px; height: 6px; background: var(--dk-bg-eef0f3, #EEF0F3); border-radius: 99px; overflow: hidden; }
.m-subbar > span { display: block; height: 100%; background: #4B5563; border-radius: 99px; }

/* ------------------------------------------------------------ dashboard table */
.m-table-wrap { overflow-x: auto; }
.m-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.m-table th { text-align: left; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }   /* sizes: imat-layout.css */
.m-table td { border-bottom: 1px solid var(--row); vertical-align: middle; }
.m-table tbody tr { transition: background-color .15s var(--ease); }
.m-table tbody tr:hover { background: var(--hover); }
.m-table tr:last-child td { border-bottom: 0; }
.m-table a { color: var(--head); text-decoration: none; font-weight: 600; }
.m-table a:hover { text-decoration: underline; }
.m-table td:first-child { white-space: nowrap; }

/* ------------------------------------------------------------ alerts list */
.m-alert { display: flex; gap: .65rem; padding: .65rem .35rem; border-top: 1px solid var(--row); text-decoration: none; color: inherit; border-radius: 8px; transition: background-color .15s var(--ease); }
.m-alert:first-of-type { border-top: 0; }
.m-alert:hover { background: var(--hover); }
.m-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: .4rem; flex: none; background: var(--blue); }
.m-dot-danger { background: var(--red); } .m-dot-warning { background: #F5A524; } .m-dot-success { background: var(--green); } .m-dot-info { background: var(--blue); }
.m-alert-title { font-weight: 600; font-size: 13px; color: var(--head); }
.m-alert.is-unread .m-alert-title::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-left: .4rem; vertical-align: middle; }
.m-alert .m-muted { font-size: 12px; }
.m-alert-time { color: var(--hint); font-size: 11.5px; margin-top: .1rem; }

/* ------------------------------------------------------------ detail page */
.m-detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 1rem; align-items: start; }
@media (max-width: 1200px) { .m-detail { grid-template-columns: 1fr; } }
.m-detail-main { display: flex; flex-direction: column; gap: 1rem; }
.m-sticky { position: sticky; top: 1rem; }
.m-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.m-eyebrow { color: var(--muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.m-title { margin: .1rem 0 0; font-size: 22px; font-weight: 700; color: var(--head); }
.m-sub { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: .5rem; }
.m-badges { display: flex; gap: .4rem; flex-wrap: wrap; }
.m-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1.25rem; }
.m-step { text-align: center; position: relative; }
.m-step::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.m-step:first-child::before { display: none; }
.m-step.is-done::before, .m-step.is-current::before { background: var(--charcoal); }
.m-step-dot { position: relative; z-index: 1; width: 32px; height: 32px; margin: 0 auto; border-radius: 50%; background: var(--dk-bg-ffffff, #fff); border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: 12px; color: var(--hint); transition: all .3s var(--ease); }
.m-step.is-done .m-step-dot { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.m-step.is-current .m-step-dot { border-color: var(--charcoal); color: var(--charcoal); box-shadow: 0 0 0 4px rgba(31, 41, 55, .08); }
.m-step-label { font-size: 12.5px; font-weight: 600; margin-top: .4rem; color: var(--ink); }
.m-step-date { font-size: 11.5px; color: var(--muted); min-height: 1em; }
.m-note { margin-top: 1rem; padding: .6rem .85rem; border-radius: var(--r-ctl); font-size: 13px; border: 1px solid transparent; }
.m-note-purple { background: var(--dk-bg-f3f4f6, #F3F4F6); border-color: var(--dk-bd-e5e7eb, #E5E7EB); color: var(--dk-fg-374151, #374151); }
.m-note-red { background: var(--dk-bg-fef3f2, #FEF3F2); border-color: var(--dk-bd-fda29b, #FDA29B); color: var(--dk-fg-b42318, #B42318); }
.m-note-amber { background: var(--dk-bg-fffaeb, #FFFAEB); border-color: #FEC84B; color: var(--dk-fg-9a5b00, #9A5B00); }
.m-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.m-grid dt { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.m-grid dd { margin: .15rem 0 0; font-size: 13.5px; color: var(--ink); }
.m-span2 { grid-column: span 2; }
.m-arrow { color: var(--muted); font-weight: 700; margin: 0 .25rem; }
@media (max-width: 900px) { .m-grid { grid-template-columns: repeat(2, 1fr); } }
.m-timeline { list-style: none; margin: 0; padding: 0; }
.m-timeline li { display: flex; gap: .85rem; padding-bottom: 1.1rem; position: relative; }
.m-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 5px; top: 18px; bottom: 0; width: 2px; background: var(--row); }
.m-tl-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: .3rem; flex: none; background: var(--grey); }
.m-tl-dot.st-assigned { background: var(--indigo); } .m-tl-dot.st-ongoing { background: var(--blue); } .m-tl-dot.st-on_hold { background: var(--dk-bg-ffffff, #fff); box-shadow: inset 0 0 0 2px var(--grey); }
.m-tl-dot.st-completed, .m-tl-dot.st-restored { background: var(--green); } .m-tl-dot.st-cancelled { background: var(--red); }
.m-tl-body { flex: 1; min-width: 0; }
.m-tl-top { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.m-tl-time { margin-left: auto; color: var(--muted); font-size: 12px; }
.m-tl-text { margin: .35rem 0 .15rem; font-size: 13.5px; white-space: pre-line; }
.m-tl-user { font-size: 12px; }
.m-photos { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.m-photos img { height: 84px; width: 112px; object-fit: cover; border-radius: var(--r-ctl); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.m-photos img:hover { transform: scale(1.03); box-shadow: var(--shadow-pop); }
.m-form { display: flex; flex-direction: column; gap: 1rem; }
.m-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ------------------------------------------------------------ Filament controls */
.fi-btn { border-radius: var(--r-ctl) !important; font-weight: 600; font-size: 13px; transition: background-color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease) !important; }
.fi-btn:not(:disabled):active { transform: translateY(1px); }
.fi-btn.fi-color-gray { background: var(--dk-bg-ffffff, #fff) !important; color: var(--ink) !important; border: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); box-shadow: none !important; }
.fi-btn.fi-color-gray:hover { background: var(--hover) !important; border-color: var(--dk-bd-d1d5db, #D1D5DB); }
.fi-btn.fi-color-primary { background: var(--charcoal) !important; color: #fff !important; box-shadow: var(--shadow); }
.fi-btn.fi-color-primary:hover { background: #374151 !important; }
.fi-btn:disabled, .fi-btn[disabled] { opacity: .6; cursor: not-allowed; }
.fi-input-wrp, .fi-select-input { border-radius: var(--r-ctl) !important; border: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); background: var(--dk-bg-ffffff, #fff); box-shadow: none !important; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.fi-input-wrp:hover { border-color: var(--dk-bd-d1d5db, #D1D5DB); }
.fi-input-wrp:focus-within { border-color: var(--dk-bd-9ca3af, #9CA3AF) !important; box-shadow: 0 0 0 3px rgba(31, 41, 55, .08) !important; }
.fi-input::placeholder, .fi-fo-textarea::placeholder { color: var(--hint); }
.fi-fo-field-label-content { font-weight: 600; font-size: 12.5px; color: var(--dk-fg-374151, #374151); }
.fi-modal-window { border-radius: var(--r-modal) !important; box-shadow: var(--shadow-pop) !important; }
.fi-dropdown-panel { border-radius: 12px !important; border: 1px solid var(--line); box-shadow: var(--shadow-pop) !important; }
.fi-dropdown-list-item { border-radius: 8px; transition: background-color .15s var(--ease); }
.fi-modal-window, .fi-dropdown-panel, .fi-modal-overlay { animation-duration: .2s !important; transition-duration: .2s !important; }
.fi-no-notification, .fi-notification { border-radius: 12px !important; box-shadow: var(--shadow-pop) !important; border: 1px solid var(--line); }
:focus-visible { outline: 2px solid rgba(31, 41, 55, .45); outline-offset: 2px; border-radius: 6px; }

/* tabs (segmented) */
.fi-tabs { background: var(--dk-bg-ffffff, #fff) !important; border: 1px solid var(--line) !important; border-radius: 12px !important; box-shadow: var(--shadow) !important; padding: .25rem !important; }
.fi-tabs-item { border-radius: 9px !important; transition: background-color .18s var(--ease), color .18s var(--ease); }
.fi-tabs-item:not(.fi-active):hover { background: var(--hover) !important; }
.fi-tabs-item.fi-active { background: var(--dk-bg-f3f4f6, #F3F4F6) !important; }
.fi-tabs-item .fi-tabs-item-label { color: var(--dk-fg-4b5563, #4B5563); font-weight: 500; }
.fi-tabs-item.fi-active .fi-tabs-item-label { color: var(--head) !important; font-weight: 700; }
.fi-tabs-item .fi-badge { border-radius: 999px; background: var(--dk-bg-ffffff, #fff) !important; box-shadow: inset 0 0 0 1px var(--line); color: var(--dk-fg-4b5563, #4B5563) !important; }

/* tables: compact so they fit 1366px without scrolling */
.fi-ta-ctn { overflow: hidden; }
.fi-ta-table { width: 100%; table-layout: auto; }
.fi-ta-header-cell { background: var(--dk-bg-fafafb, #FAFAFB) !important; color: var(--muted); font-weight: 600; font-size: 11.5px; border-bottom: 1px solid var(--line); padding-inline: 6px !important; }
.fi-ta-header-cell-label { white-space: normal; line-height: 1.15; }
.fi-ta-cell { border-bottom: 1px solid var(--row); }   /* cell padding: imat-layout.css */
.fi-ta-row { transition: background-color .15s var(--ease); }
.fi-ta-row:hover { background: var(--hover) !important; }
.fi-ta-cell .fi-ta-text { white-space: normal; }
.fi-ta-cell .fi-ta-text-item-label, .fi-ta-cell .fi-ta-text-item { font-size: 13px; line-height: 1.3; }
.fi-ta-cell .fi-ta-text-item-description { font-size: 11.5px; line-height: 1.25; color: var(--muted); }
.fi-ta-cell a { color: var(--head); }
.m-nowrap .fi-ta-text, .m-nowrap .fi-ta-text-item, .m-nowrap .fi-ta-text-item-label { white-space: nowrap !important; }
.fi-ta-header-cell-sort-icon { width: .85rem; height: .85rem; }
.fi-pagination { border-top: 1px solid var(--row); }
.fi-pagination-item-btn { border-radius: 8px !important; }

/* ------------------------------------------------------------ skeletons */
@keyframes m-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.sk { background: linear-gradient(90deg, var(--dk-bg-f1f2f4, #F1F2F4) 25%, var(--dk-bg-f8f9fa, #F8F9FA) 45%, var(--dk-bg-f1f2f4, #F1F2F4) 65%); background-size: 300% 100%; animation: m-shimmer 1.3s ease-in-out infinite; border-radius: 8px; }
.sk-line { height: 12px; margin: .55rem 0; } .sk-num { height: 30px; width: 55%; margin: .5rem 0 .25rem; } .sk-card { height: 86px; border-radius: var(--r-card); }
.sk-tall { height: 260px; border-radius: var(--r-card); }

/* ------------------------------------------------------------ motion */
@keyframes m-rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.fi-page > section, .m-detail-main > *, .m-detail-side > * { animation: m-rise .3s var(--ease) both; }
.m-timeline li { animation: m-rise .3s var(--ease) both; }

/* ------------------------------------------------------------ login */
.fi-simple-layout { background: var(--dk-bg-ffffff, #fff) !important; display: grid; grid-template-columns: minmax(0, 32rem) 26rem; justify-content: center; align-content: center; column-gap: 3rem; grid-template-rows: auto; min-height: 100vh; }
.fi-simple-main-ctn { background: var(--dk-bg-ffffff, #fff) !important; display: flex; align-items: center; justify-content: center; }
.fi-simple-main { background: var(--dk-bg-ffffff, #fff) !important; box-shadow: none !important; border: 0 !important; padding: 2rem !important; width: 100%; max-width: 26rem; padding-inline: 0 !important; animation: m-rise .4s var(--ease) both; }
.fi-simple-header { margin-bottom: 1.25rem; align-items: flex-start !important; text-align: left !important; }
.fi-simple-header .fi-logo { display: none; }
.fi-simple-header-heading { color: var(--head); font-weight: 700; font-size: 22px; text-align: left; }
.fi-simple-page .fi-btn { width: 100%; padding-block: .65rem; }
@media (max-width: 900px) { .fi-simple-layout { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ alerts bits */
.m-perm { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: 1rem; background: var(--dk-bg-ffffff, #fff); color: var(--ink); border: 1px solid var(--line); padding: .7rem 1rem; border-radius: 14px; display: flex; align-items: center; gap: .75rem; box-shadow: var(--shadow-pop); font-size: 13px; animation: m-rise .3s var(--ease) both; }
.m-perm[hidden] { display: none; }
.m-perm button { background: var(--charcoal); color: #fff; border: 0; padding: .4rem .85rem; border-radius: var(--r-ctl); cursor: pointer; font-weight: 600; transition: background-color .15s var(--ease); }
.m-perm button:hover { background: #374151; }
.m-perm button.is-ghost { background: var(--dk-bg-ffffff, #fff); color: var(--ink); border: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); }
.m-toasts { position: fixed; z-index: 70; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: .5rem; max-width: 360px; }
.m-toast { display: block; background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: .7rem .9rem; box-shadow: var(--shadow-pop); text-decoration: none; color: var(--ink); animation: m-rise .3s var(--ease) both; }
.m-toast strong { display: block; color: var(--head); } .m-toast span { color: var(--muted); font-size: 12.5px; }
.m-toast-danger { border-left-color: var(--red); } .m-toast-warning { border-left-color: #F5A524; } .m-toast-success { border-left-color: var(--green); }

/* ------------------------------------------------------------ reports / settings */
.m-report-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.m-report-head .m-card-title { margin: 0; }
.m-num { text-align: right !important; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ TV mode */
.tv-body { margin: 0; background: var(--bg); font-family: var(--font); color: var(--ink); }
.tv-wrap { padding: 1.25rem 1.75rem; min-height: 100vh; }
.tv-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.tv-brand { display: flex; align-items: center; gap: .9rem; font-weight: 700; font-size: 1.4rem; color: var(--head); }
.tv-brand img { height: 3rem; width: auto; }
.tv-clock { font-size: 1.3rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tv-exit { color: var(--muted); font-size: .85rem; text-decoration: none; border: 1px solid var(--line); background: var(--dk-bg-ffffff, #fff); padding: .35rem .8rem; border-radius: var(--r-ctl); }
.m-board.is-tv .m-stat-num { font-size: 3.2rem; }
.m-board.is-tv .m-stat-label { font-size: .95rem; }
.m-board.is-tv .m-table { font-size: 1.05rem; }
.m-board.is-tv .m-card-title { font-size: 1.15rem; }
.m-board.is-tv .m-two-wide { grid-template-columns: 1fr; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .fi-sidebar, .fi-topbar { display: none !important; } }
.fi-simple-layout { align-items: center !important; }
.fi-simple-main-ctn { height: auto; }

/* ---- shell: full-height sidebar with brand on top, header strip beside it ---- */
@media (min-width: 1024px) {
    .fi-sidebar { position: fixed !important; top: 0 !important; left: 0; height: 100dvh !important; width: var(--sidebar-width); z-index: 40; }
    .fi-topbar { position: sticky; top: 0; z-index: 30; margin-left: var(--sidebar-width); }
    .fi-topbar-start { display: none !important; }
    .fi-layout { display: block !important; }
    .fi-main-ctn { margin-left: var(--sidebar-width); width: auto !important; }
}
.side-brand { text-decoration: none; padding: 1.15rem 1.1rem 1rem; }
.side-brand-mark { width: 42px; height: 42px; }
.side-brand-name { font-size: 13.5px; white-space: nowrap; }
.fi-sidebar-nav { padding-top: .25rem !important; }
.fi-btn.fi-outlined { background: var(--dk-bg-ffffff, #fff) !important; box-shadow: none !important; }
.fi-btn.fi-outlined.fi-color-success { color: var(--dk-fg-067647, #067647) !important; border: 1px solid var(--dk-bd-abefc6, #ABEFC6); }
.fi-btn.fi-outlined.fi-color-success:hover { background: var(--dk-bg-ecfdf3, #ECFDF3) !important; }
.fi-btn.fi-outlined.fi-color-danger { color: var(--dk-fg-b42318, #B42318) !important; border: 1px solid var(--dk-bd-fda29b, #FDA29B); }
.fi-btn.fi-outlined.fi-color-danger:hover { background: var(--dk-bg-fef3f2, #FEF3F2) !important; }
.m-maplink { margin-left: .5rem; font-size: 12px; font-weight: 600; color: var(--head); text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
   Phone layout + "My jobs" cards
   ===================================================================== */
.mj-list { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.mj-card { background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--line); border-left: 4px solid var(--grey); border-radius: var(--r-card); padding: 1rem 1.1rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .35rem; animation: m-rise .3s var(--ease) both; }
.mj-red { border-left-color: var(--red); } .mj-amber { border-left-color: #F5A524; } .mj-green { border-left-color: var(--green); } .mj-gray { border-left-color: var(--grey); }
.mj-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.mj-ref { font-size: 16px; font-weight: 700; color: var(--head); text-decoration: none; }
.mj-title { font-size: 15px; font-weight: 600; color: var(--head); margin-top: .15rem; }
.mj-sub { color: var(--muted); font-size: 13px; }
.mj-extra { color: var(--ink); font-size: 13px; }
.mj-time { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; font-size: 13px; }
.mj-due { font-weight: 600; color: var(--ink); }
.mj-stale { margin-top: .35rem; padding: .4rem .6rem; border-radius: var(--r-ctl); background: var(--dk-bg-fffaeb, #FFFAEB); border: 1px solid #FEC84B; color: var(--dk-fg-9a5b00, #9A5B00); font-size: 12.5px; }
.mj-actions { display: flex; gap: .5rem; margin-top: .65rem; }
.mj-btn { flex: 1; text-align: center; padding: .7rem .8rem; border-radius: var(--r-ctl); border: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); background: var(--dk-bg-ffffff, #fff); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: background-color .15s var(--ease); }
.mj-btn:hover { background: var(--hover); }
.mj-btn-primary { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.mj-btn-primary:hover { background: #374151; }
.m-fab { display: none; }

@media (max-width: 768px) {
    body, .fi-body { font-size: 14px; }
    .fi-main { padding-inline: .75rem !important; }
    .fi-header-heading { font-size: 20px !important; }
    .m-cards-6, .m-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .m-two, .m-two-wide, .m-three, .m-detail { grid-template-columns: 1fr; }
    .m-grid { grid-template-columns: 1fr 1fr; }
    .m-span2 { grid-column: span 2; }
    .m-card { padding: 1rem; }
    .m-stat-num { font-size: 26px; }
    .m-sticky { position: static; }
    .m-steps .m-step-label { font-size: 11px; } .m-steps .m-step-date { display: none; }
    .m-strip { flex-direction: column; align-items: flex-start; gap: .15rem; }
    .m-table-wrap { margin-inline: -.25rem; }
    .mj-list { grid-template-columns: 1fr; }
    /* finger-sized controls */
    .fi-btn { min-height: 44px; }
    .fi-input-wrp input, .fi-input-wrp select, .fi-input-wrp textarea { min-height: 42px; font-size: 16px; }
    /* floating shortcut to the update form */
    .m-fab { display: inline-flex; position: fixed; right: 1rem; bottom: 1rem; z-index: 45; align-items: center; gap: .4rem; background: var(--charcoal); color: #fff; padding: .8rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: var(--shadow-pop); }
    .fi-simple-layout { grid-template-rows: auto 1fr; }
    .fi-simple-main { padding: 1.25rem !important; }
}

/* ------------------------------------------------------------ schedule + quick remarks */
.sch-section { margin-bottom: 1rem; }
.sch-late { border-left: 4px solid var(--red) !important; }
.sch-team { font-size: 12.5px; font-weight: 700; color: var(--head); text-transform: uppercase; letter-spacing: .04em; margin: .9rem 0 .15rem; }
.qr-wrap { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.25rem 0 .25rem; }
.qr-chip { padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); background: var(--dk-bg-ffffff, #fff); color: var(--ink); font-size: 12.5px; font-weight: 500; cursor: pointer; transition: background-color .15s var(--ease); }
.qr-chip:hover { background: var(--hover); }
@media (max-width: 768px) { .qr-chip { padding: .55rem .9rem; font-size: 13.5px; } }

/* ------------------------------------------------------------ bigger sidebar logo */
.side-brand { flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1.25rem 1.25rem 1rem; }
.side-brand-mark { width: auto; height: auto; background: none; border: 0; border-radius: 0; display: block; overflow: visible; }
.side-brand-mark img { width: 168px; max-width: 100%; height: auto; }
.side-brand-name { font-size: 14px; }

/* ------------------------------------------------------------ map */
.map-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .85rem; }
.map-chip { display: inline-flex; align-items: center; gap: .45rem; background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--line); border-radius: 99px; padding: .35rem .8rem; font-size: 13px; font-weight: 500; cursor: pointer; }
.map-chip input { accent-color: var(--charcoal); }
.map-chip b { color: var(--muted); font-weight: 600; }
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1rem; align-items: start; }
.map-box { position: relative; padding: 0 !important; overflow: hidden; }
.map-canvas { height: calc(100vh - 17rem); min-height: 420px; border-radius: var(--r-card); }
.map-msg { position: absolute; inset: 0; display: grid; place-items: center; background: var(--dk-glass-p8, rgba(255,255,255,.8)); color: var(--muted); z-index: 500; }
.map-err { color: var(--dk-fgv-red, var(--red)); padding: 1rem; text-align: center; }
.map-side { max-height: calc(100vh - 17rem); min-height: 420px; overflow-y: auto; }
.map-item { display: flex; gap: .65rem; width: 100%; text-align: left; padding: .6rem .4rem; border: 0; border-bottom: 1px solid var(--row); background: none; cursor: pointer; border-radius: 8px; }
.map-item:hover { background: var(--hover); }
.map-item-body { display: flex; flex-direction: column; font-size: 13px; min-width: 0; }
.map-item-body small { color: var(--muted); }
.map-note { margin-top: .85rem; line-height: 1.45; }
.mk { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--dk-bd-ffffff, #fff); box-shadow: 0 1px 4px rgba(16,24,40,.45); flex: none; vertical-align: middle; }
.mk-red { background: var(--red); } .mk-amber { background: #F5A524; } .mk-green { background: var(--green); } .mk-gray { background: var(--grey); }
@keyframes mk-pulse { 0% { box-shadow: 0 0 0 0 rgba(217,45,32,.55); } 70% { box-shadow: 0 0 0 12px rgba(217,45,32,0); } 100% { box-shadow: 0 0 0 0 rgba(217,45,32,0); } }
.mk-lead { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--charcoal); color: #fff; font-size: 11px; font-weight: 700; border: 2px solid var(--dk-bd-ffffff, #fff); box-shadow: 0 1px 5px rgba(16,24,40,.5); }
.mk-lead-sm { width: 22px; height: 22px; font-size: 9px; border-radius: 6px; }
.mk-tag { padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.mk-tag-red { background: var(--dk-bg-fee4e2, #FEE4E2); color: var(--dk-fgv-red, var(--red)); } .mk-tag-amber { background: var(--dk-bg-fef0c7, #FEF0C7); color: var(--dk-fg-b54708, #B54708); } .mk-tag-green { background: var(--dk-bg-d1fadf, #D1FADF); color: var(--dk-fg-027a48, #027A48); } .mk-tag-gray { background: var(--dk-bg-f2f4f7, #F2F4F7); color: var(--dk-fg-475467, #475467); }
.mk-near { margin: .4rem 0; font-size: 12px; color: var(--dk-fg-475467, #475467); } .mk-near ul { margin: .15rem 0 0 1rem; padding: 0; }
@media (max-width: 1100px) { .map-grid { grid-template-columns: 1fr; } .map-side { max-height: none; min-height: 0; } }

/* OLT / NAP box sites on the map */
.mk-box { background: #475467; width: 12px; height: 12px; border-width: 2px; }
.mk-olt { position: relative; display: inline-grid; place-items: center; min-width: 38px; height: 24px; border-radius: 6px; background: var(--dk-bg-ffffff, #fff); color: var(--charcoal); font-size: 11px; font-weight: 800; border: 3px solid var(--dk-bd-475467, #475467); box-shadow: 0 1px 4px rgba(16,24,40,.45); }
.mk-olt-red { border-color: var(--red); } .mk-olt-amber { border-color: #F5A524; } .mk-olt-green { border-color: var(--green); }
.mk-olt-sm { min-width: 30px; height: 18px; font-size: 9px; border-width: 2px; border-radius: 5px; }

/* box type colours: TM blue, L red */
.mk-box-tm { background: #2563EB; } .mk-box-l { background: #7C3AED; }
.mk-t-tm { outline: 3px solid #2563EB; outline-offset: 0; } .mk-t-l { outline: 3px solid #D92D20; outline-offset: 0; }
.mk-type { display: inline-block; padding: 0 7px; white-space: nowrap; border-radius: 99px; font-size: 11px; font-weight: 800; color: #fff; background: #475467; }
.mk-type-tm { background: #2563EB; } .mk-type-l { background: #D92D20; }
.mk-near-warn { color: var(--dk-fg-b54708, #B54708); }
.mk-line { display: inline-block; width: 18px; height: 0; border-top: 3px solid #7C3AED; border-radius: 2px; vertical-align: middle; }

/* subscribers of a NAP box: small summary in the pop-up and the list window */
.mk-subs { margin: .5rem 0; padding-top: .4rem; border-top: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); font-size: 12.5px; }
.mk-subs-sum { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin-bottom: .4rem; }
.mk-subs-btn { padding: .35rem .8rem; border-radius: 8px; border: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); background: var(--dk-bg-ffffff, #fff); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.mk-subs-btn:hover { background: var(--dk-bg-f5f6f8, #F5F6F8); }
.mk-sb { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; color: #fff; background: #6B7280; }
.mk-sb-online { background: #12B76A; } .mk-sb-offline { background: #D92D20; } .mk-sb-other { background: #6B7280; }
.sub-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(17,24,39,.55); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.sub-modal { background: var(--dk-bg-ffffff, #fff); width: 100%; max-width: 560px; max-height: 88vh; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.sub-head { background: #F59E0B; color: #fff; font-weight: 700; font-size: 18px; text-align: center; padding: .85rem 3rem; position: relative; }
.sub-x { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.sub-sum { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .7rem 1rem; border-bottom: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); font-size: 13px; }
.sub-find { margin-left: auto; padding: .35rem .6rem; border: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); border-radius: 8px; font-size: 13px; min-width: 150px; }
.sub-body { overflow-y: auto; background: var(--dk-bg-f3f4f6, #F3F4F6); padding: .5rem; }
.sub-row { background: var(--dk-bg-f9fafb, #F9FAFB); border-radius: 6px; margin-bottom: .4rem; overflow: hidden; }
.sub-row.is-open { background: var(--dk-bg-ffffff, #fff); }
.sub-line { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: .85rem 1rem; background: none; border: 0; cursor: pointer; font-size: 15px; }
.sub-tn { font-weight: 700; color: var(--dk-fg-4b5563, #4B5563); } .sub-tn.is-open { color: var(--dk-fg-f59e0b, #F59E0B); }
.sub-detail { margin: 0; border-top: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); }
.sub-detail > div { display: flex; gap: .4rem; padding: .6rem 1rem; border-bottom: 1px solid var(--dk-bd-f3f4f6, #F3F4F6); font-size: 14px; }
.sub-detail dt { font-weight: 700; color: var(--dk-fg-4b5563, #4B5563); } .sub-detail dd { margin: 0; color: var(--dk-fg-374151, #374151); }
.sub-foot { padding: .5rem 1rem; border-top: 1px solid var(--dk-bd-e5e7eb, #E5E7EB); font-size: 12px; }

/* NAP box live status */
.mk-up { background: #12B76A; width: 12px; height: 12px; border-width: 2px; } .mk-down { background: #D92D20; width: 12px; height: 12px; border-width: 2px; } .mk-nodata { background: #98A2B3; width: 12px; height: 12px; border-width: 2px; }
.mk-st { display: inline-block; padding: 0 7px; border-radius: 4px; font-size: 11.5px; font-weight: 800; color: #fff; }
.mk-st-up { background: #12B76A; } .mk-st-down { background: #D92D20; } .mk-st-none { background: #98A2B3; }
.mk-type-l { background: #7C3AED !important; }

/* box type (TM / LCP) is only a label now: no colour, so green / red / grey always means up / down / no data */
.mk-box-tm, .mk-box-l { background: #98A2B3; }
.mk-t-tm, .mk-t-l { outline: none; }
.mk-type, .mk-type-tm, .mk-type-l { background: #475467 !important; }

/* Map: find a NAP box */
.map-search { position: relative; max-width: 460px; margin-bottom: .75rem; }
.map-search input { width: 100%; padding: .6rem 2.2rem .6rem .8rem; border: 1px solid var(--line, var(--dk-bd-d0d5dd, #D0D5DD)); border-radius: 10px; font-size: .95rem; background: var(--dk-bg-ffffff, #fff); color: inherit; }
.map-search input:focus { outline: 2px solid #3B82F6; outline-offset: 1px; }
.map-search-x { position: absolute; right: .35rem; top: .3rem; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--dk-fg-667085, #667085); cursor: pointer; padding: .1rem .5rem; }
.map-search-list { position: absolute; z-index: 1200; left: 0; right: 0; top: calc(100% + 4px); background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); border-radius: 10px; box-shadow: 0 8px 24px rgba(16,24,40,.15); overflow: hidden; }
.map-search-list button { display: flex; align-items: center; gap: .5rem; width: 100%; text-align: left; padding: .5rem .8rem; border: 0; background: none; cursor: pointer; color: inherit; font-size: .9rem; }
.map-search-list button.is-active, .map-search-list button:hover { background: var(--dk-bg-eff6ff, #EFF6FF); }
.map-search-list small { color: var(--dk-fg-667085, #667085); margin-left: auto; }
.map-search-none { margin-top: .35rem; font-size: .85rem; }

/* Live network */
.ln-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; margin-bottom: .85rem; }
.ln-totals .m-card { display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; }
.ln-totals b { font-size: 1.5rem; line-height: 1.1; }
.ln-totals span { color: var(--muted); font-size: 12px; }
.ln-on { color: var(--dk-fg-067647, #067647); font-style: normal; font-weight: 700; }
.ln-off { color: var(--dk-fg-b42318, #B42318); font-style: normal; font-weight: 700; }
.ln-blue { color: var(--dk-fg-1f6fc4, #1F6FC4); }
.ln-stale { color: var(--dk-fg-b54708, #B54708); font-weight: 600; }
.ln-filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .85rem; }
.ln-filters input[type=search] { min-width: 260px; padding: .55rem .8rem; border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); border-radius: 10px; background: var(--dk-bg-ffffff, #fff); color: inherit; }
.ln-over { margin-bottom: .85rem; }
.ln-orow { display: grid; grid-template-columns: 150px 1fr 140px 60px; gap: .75rem; align-items: center; width: 100%; text-align: left; padding: .35rem .5rem; border: 0; border-radius: 8px; background: none; cursor: pointer; color: inherit; font-size: 13px; }
.ln-orow:hover { background: var(--hover); }
.ln-orow.is-sel { background: var(--dk-bg-eff6ff, #EFF6FF); box-shadow: inset 3px 0 0 #2A78D6; }
.ln-orow.is-prob .ln-onm { color: var(--dk-fg-b42318, #B42318); font-weight: 700; }
.ln-onm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ln-obar { display: flex; height: 12px; border-radius: 3px; overflow: hidden; background: var(--row); }
.ln-obar i { display: block; height: 100%; margin-right: 2px; }
.ln-obar i:last-child { margin-right: 0; }
.ln-opc { text-align: right; color: var(--muted); font-size: 12px; }
.ln-oct { text-align: right; color: var(--muted); font-size: 12px; }
.ln-g2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: .85rem; margin-bottom: .85rem; align-items: start; }
@media (max-width: 800px) { .ln-g2 { grid-template-columns: 1fr; } .ln-orow { grid-template-columns: 110px 1fr 90px; } .ln-oct { display: none; } }
.ln-hd { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.ln-hd b { font-weight: 600; color: var(--muted); }
.ln-chip { font-size: 11px; background: #E88F00; color: #fff; border-radius: 4px; padding: 2px 8px; }
.ln-cnt { display: flex; flex-wrap: wrap; margin: .6rem 0 .3rem; font-size: 14px; }
.ln-cnt span { padding: 0 .7rem; border-right: 1px solid var(--line); font-weight: 600; }
.ln-cnt span:first-child { padding-left: 0; }
.ln-cnt span:last-child { border: 0; }
.ln-leg { display: flex; flex-wrap: wrap; gap: .8rem; font-size: 12px; color: var(--muted); margin: .4rem 0; }
.ln-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.ln-sub { font-size: 11px; color: var(--muted); margin-top: .6rem; }
.ln-bars { display: flex; align-items: flex-end; gap: .8rem; height: 150px; border-bottom: 1px solid var(--line); padding: 0 4px; margin-top: .4rem; }
.ln-bw { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: 11px; color: var(--muted); }
.ln-bw div { width: 70%; background: #E88F00; border-radius: 2px 2px 0 0; }
.ln-xl { display: flex; gap: .8rem; padding: 0 4px; font-size: 11px; color: var(--muted); margin-top: 3px; }
.ln-xl span { flex: 1; text-align: center; }
.ln-note { font-size: 11px; margin-top: .6rem; }
.ln-t { border-collapse: collapse; font-size: 11px; width: 100%; }
.ln-t th { font-weight: 600; color: var(--dk-fg-1f6fc4, #1F6FC4); padding: 6px 4px; text-align: center; white-space: nowrap; }
.ln-t td { padding: 6px 3px; text-align: center; vertical-align: top; border-top: 1px solid var(--line); }
.ln-slot { color: var(--dk-fg-1f6fc4, #1F6FC4); font-size: 13px; font-weight: 600; }
.ln-b { display: block; color: #fff; border-radius: 2px; margin: 1px 0; padding: 1px 0; min-width: 34px; font-size: 11px; }
.ln-g { background: #19B27A; } .ln-u { background: #2A78D6; } .ln-r { background: #E34948; }
.ln-gy { display: block; background: var(--row); color: var(--muted); border-radius: 2px; margin: 2px 0; padding: 1px 0; font-size: 10.5px; }
.ln-cp .ln-r { outline: 2px solid var(--dk-bd-7a1c1c, #7A1C1C); }
.ln-cp { background: var(--dk-bg-fef3f2, #FEF3F2); }
.ln-tot { background: #2A78D6; color: #fff; border-radius: 3px; padding: 2px 8px; font-size: 11px; }
.ln-ic { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 100%; margin-top: 3px; padding: 3px 0; border: 0; border-radius: 3px; background: #2A78D6; color: #fff; cursor: pointer; }
.ln-ic:hover { background: #185FA5; }
.ln-ic-wide { width: auto; margin: 0 .4rem 0 0; padding: 3px 10px; font-size: 11px; }
.ln-ic-tot { margin-top: 5px; }
.ln-rng { display: inline-flex; gap: 4px; }
.ln-rng button { border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); background: var(--dk-bg-ffffff, #fff); color: inherit; border-radius: 6px; padding: 2px 9px; font-size: 12px; cursor: pointer; }
.ln-rng button.is-on { background: #2A78D6; border-color: #2A78D6; color: #fff; }
.ln-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .85rem; margin-top: .6rem; }
.ln-ch-hd { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); }
.ln-ch-hd b { font-size: 1.1rem; }
.ln-pie { display: block; width: 100%; max-width: 360px; height: auto; max-height: 200px; margin: .4rem auto 0; }
.ln-click { width: 100%; border: 0; cursor: pointer; font: inherit; font-size: 11px; }
.ln-click:hover { filter: brightness(.88); text-decoration: underline; }
.ln-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(16, 24, 40, .55); display: flex; align-items: flex-start; justify-content: center; padding: 3vh 1rem; overflow: auto; }
.ln-mbox { background: var(--dk-bg-ffffff, #fff); color: var(--dk-fg-344054, #344054); border-radius: 6px; width: min(1180px, 100%); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); overflow: hidden; }
.ln-mhd { background: #F29900; color: #fff; font-weight: 600; font-size: 1rem; padding: .85rem 1.2rem; display: flex; justify-content: center; align-items: center; position: relative; }
.ln-mhd button { position: absolute; right: .9rem; top: .35rem; border: 0; background: none; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.ln-mbar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); }
.ln-mbar input[type=search] { flex: 1; min-width: 220px; padding: .5rem .8rem; border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); border-radius: 4px; background: var(--dk-bg-ffffff, #fff); color: inherit; }
.ln-mhits { display: inline-flex; align-items: center; gap: 0; font-size: 12px; color: var(--muted); }
.ln-mhits button { border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); background: var(--dk-bg-ffffff, #fff); padding: .3rem .8rem; cursor: pointer; font-size: 13px; color: inherit; }
.ln-mhits button.is-on { background: #F29900; border-color: #F29900; color: #fff; }
.ln-mscroll { overflow: auto; max-height: 62vh; }
.ln-mt { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ln-mt th { position: sticky; top: 0; background: var(--dk-bg-ffffff, #fff); text-align: left; font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ln-mt td { border-bottom: 1px solid var(--row); white-space: nowrap; }
.ln-mt a { color: var(--dk-fg-d98200, #D98200); text-decoration: none; }
.ln-mt a:hover { text-decoration: underline; }
.ln-rs { border: 1px solid var(--dk-bd-c0c5cc, #C0C5CC); color: var(--dk-fg-98a2b3, #98A2B3); padding: 0 .35rem; border-radius: 3px; }
.ln-rs.is-on { border-color: var(--dk-bd-19b27a, #19B27A); color: var(--dk-fg-19b27a, #19B27A); }
.ln-cf.is-deact { border: 1px solid #36B5E8; color: var(--dk-fg-1e8fbf, #1E8FBF); padding: 0 .35rem; border-radius: 3px; }
.ln-mpg { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; padding: .7rem 1.2rem; font-size: 12px; color: var(--muted); }
.ln-mpg button { border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); background: var(--dk-bg-ffffff, #fff); border-radius: 4px; padding: .2rem .6rem; cursor: pointer; }
.ln-mpg button:disabled { opacity: .4; cursor: default; }

/* NAP box glow: a box with an open problem (or DOWN in InCa) glows red; the OLT square stays neutral */
.mk-glow { display: block; width: 18px; height: 18px; margin: 2px; border-radius: 50%; background: #D92D20; border: 3px solid var(--dk-bd-ffffff, #fff); box-shadow: 0 1px 3px rgba(16, 24, 40, .5); }
.mk-glow-sm { width: 14px; height: 14px; margin: 0 4px 0 0; border-width: 2px; flex: 0 0 14px; }
.map-stale { color: var(--dk-fg-b54708, #B54708); font-weight: 600; }



/* Settings -> Backups */
.bk { display: grid; gap: .85rem; }
.bk-ok, .bk-bad, .bk-warn { border-radius: 8px; padding: .7rem .9rem; font-size: 13.5px; margin: .4rem 0; }
.bk-ok { background: var(--dk-bg-ecfdf3, #ECFDF3); color: var(--dk-fg-067647, #067647); } .bk-bad { background: var(--dk-bg-fef3f2, #FEF3F2); color: var(--dk-fg-b42318, #B42318); } .bk-warn { background: var(--dk-bg-fffaeb, #FFFAEB); color: var(--dk-fg-b54708, #B54708); }
.bk-dl { margin: .8rem 0; display: grid; gap: .45rem; font-size: 13.5px; }
.bk-dl > div { display: grid; grid-template-columns: 110px 1fr; gap: .8rem; } .bk-dl dt { color: var(--muted); }
.bk-note { color: var(--dk-fg-b54708, #B54708); font-size: 12.5px; }
.bk-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .6rem; }
.bk-btn { background: var(--dk-bg-1f2937, #1F2937); color: #fff; border: 0; border-radius: 8px; padding: .55rem 1rem; font-weight: 600; cursor: pointer; }
.bk-btn-2 { background: var(--dk-bg-ffffff, #fff); color: var(--dk-fg-1f2937, #1F2937); border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); }
.bk-btn:disabled { opacity: .6; cursor: wait; }
.bk-file { display: grid; grid-template-columns: 1fr 90px 150px; gap: .8rem; padding: .4rem 0; border-bottom: 1px solid var(--row); font-size: 13px; }
.bk-steps { margin: .3rem 0 .3rem 1.2rem; font-size: 13.5px; line-height: 1.7; }
.mk-logbtn { display: inline-block; margin-top: .4rem; padding: .3rem .7rem; border-radius: 6px; background: #D92D20; color: #fff !important; font-weight: 600; font-size: 12px; text-decoration: none; }
.mk-logbtn:hover { background: #B42318; }
.map-item .mk-logbtn { margin: 0 0 0 auto; align-self: center; flex: 0 0 auto; }

/* Weak signal */
.ws-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; margin-bottom: .85rem; }
.ws-tile { display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; text-align: left; border: 0; cursor: default; font: inherit; }
button.ws-tile { cursor: pointer; }
.ws-tile b { font-size: 1.6rem; line-height: 1.1; }
.ws-tile span { color: var(--muted); font-size: 12px; }
.ws-crit b, .ws-bad { color: var(--dk-fg-b42318, #B42318); font-weight: 700; } .ws-warn b, .ws-amber { color: var(--dk-fg-b54708, #B54708); font-weight: 700; } .ws-strong b { color: var(--dk-fg-1f6fc4, #1F6FC4); }
.ws-thr { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-bottom: .85rem; font-size: 13px; padding: .7rem 1rem; }
.ws-thr-t { font-weight: 600; }
.ws-thr input { width: 72px; padding: .25rem .4rem; border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); border-radius: 6px; background: var(--dk-bg-ffffff, #fff); color: inherit; }
.ws-row-likely td { background: var(--dk-bg-fef3f2, #FEF3F2); }
.ws-link { color: var(--dk-fg-1f6fc4, #1F6FC4); font-weight: 600; text-decoration: none; margin-left: .4rem; } .ws-link:hover { text-decoration: underline; }
.ws-tag-warn { font-size: 11px; font-weight: 700; color: var(--dk-fg-b54708, #B54708); background: var(--dk-bg-fffaeb, #FFFAEB); border-radius: 4px; padding: 1px 6px; }

/* Customer window (InCa history) */
a.tn-open { color: var(--dk-fg-d98200, #D98200); font-weight: 600; text-decoration: none; cursor: pointer; } a.tn-open:hover { text-decoration: underline; }
.cw-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(16, 24, 40, .6); display: none; align-items: flex-start; justify-content: center; padding: 3vh 1rem; overflow: auto; }
.cw-box { background: var(--dk-bg-ffffff, #fff); color: var(--dk-fg-344054, #344054); border-radius: 6px; width: min(1100px, 100%); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); overflow: hidden; }
.cw-hd { background: #F29900; color: #fff; font-weight: 600; font-size: 1.05rem; padding: .9rem 1.2rem; text-align: center; position: relative; }
.cw-hd button { position: absolute; right: .9rem; top: .3rem; border: 0; background: none; color: #fff; font-size: 1.7rem; cursor: pointer; line-height: 1; }
.cw-tabs { display: flex; flex-wrap: wrap; background: var(--dk-bg-f2f4f7, #F2F4F7); border-bottom: 1px solid var(--dk-bd-e4e7ec, #E4E7EC); }
.cw-tabs button { border: 0; background: var(--dk-bg-f2f4f7, #F2F4F7); color: var(--dk-fg-667085, #667085); padding: .75rem 1rem; font-size: 13.5px; cursor: pointer; font-weight: 500; }
.cw-tabs button:hover { background: var(--dk-bg-eaecf0, #EAECF0); } .cw-tabs button.is-on { background: var(--dk-bg-ffffff, #fff); color: var(--dk-fg-1f2937, #1F2937); font-weight: 700; }
.cw-body { padding: 1.1rem 1.3rem 1.4rem; min-height: 280px; }
.cw-msg { color: var(--dk-fg-667085, #667085); padding: 2.5rem 1rem; text-align: center; } .cw-err { color: var(--dk-fg-b42318, #B42318); }
.cw-ctitle { text-align: center; font-weight: 600; color: var(--dk-fg-475467, #475467); margin: .2rem 0 .4rem; }
.cw-leg { display: flex; justify-content: center; gap: 1.4rem; font-size: 12.5px; color: var(--dk-fg-475467, #475467); margin: .3rem 0 .6rem; }
.cw-leg i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.cw-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .9rem; font-size: 13px; margin-bottom: .8rem; }
.cw-nav button, .cw-range button { border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); background: var(--dk-bg-ffffff, #fff); border-radius: 4px; padding: .35rem .8rem; cursor: pointer; font-size: 13px; color: inherit; }
.cw-nav button:disabled { opacity: .4; cursor: default; }
.cw-range { display: flex; gap: .4rem; justify-content: flex-end; margin-bottom: .4rem; } .cw-range button.is-on { background: #F29900; border-color: #F29900; color: #fff; }
.cw-scroll { max-height: 260px; overflow: auto; border-top: 1px solid var(--dk-bd-e4e7ec, #E4E7EC); }
.cw-t { width: 100%; border-collapse: collapse; font-size: 13px; } .cw-t th { text-align: left; font-weight: 600; position: sticky; top: 0; background: var(--dk-bg-ffffff, #fff); border-bottom: 1px solid var(--dk-bd-e4e7ec, #E4E7EC); }
.cw-t td { border-bottom: 1px solid var(--dk-bd-f2f4f7, #F2F4F7); }
.cw-note { text-align: center; font-size: 12px; color: var(--dk-fg-667085, #667085); margin-top: .3rem; }
.cw-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .1rem 2rem; margin: 0; font-size: 13.5px; }
.cw-dl > div { display: grid; grid-template-columns: 170px 1fr; gap: .8rem; padding: .5rem 0; border-bottom: 1px solid var(--dk-bd-f2f4f7, #F2F4F7); } .cw-dl dt { color: var(--dk-fg-667085, #667085); } .cw-dl dd { margin: 0; font-weight: 500; }
.cw-mut { color: var(--dk-fg-98a2b3, #98A2B3); font-weight: 400; }

.cw-chart { position: relative; } .cw-chart svg { display: block; }
.cw-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); border-radius: 3px; padding: .35rem .6rem; font-size: 12px; color: var(--dk-fg-344054, #344054); box-shadow: 0 2px 6px rgba(16, 24, 40, .15); white-space: nowrap; }
.cw-tt { font-weight: 600; margin-bottom: .15rem; font-size: 11.5px; color: var(--dk-fg-475467, #475467); }
.cw-tip i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

/* Customer window: polished charts (overrides the first version) */
.cw-box { border-radius: 10px; font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
.cw-hd { font-size: 1.1rem; letter-spacing: .01em; padding: 1rem 1.2rem; }
.cw-tabs { gap: 2px; padding: 0 .5rem; background: var(--dk-bg-f2f4f7, #F2F4F7); }
.cw-tabs button { padding: .8rem 1.05rem; border-radius: 8px 8px 0 0; margin-top: 4px; }
.cw-tabs button.is-on { box-shadow: 0 -2px 0 #F29900 inset; }
.cw-body { padding: 1.2rem 1.5rem 1.6rem; }
.cw-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: .9rem; }
.cw-top .cw-ctitle { margin: 0; font-size: 1rem; color: var(--dk-fg-344054, #344054); font-weight: 600; letter-spacing: .01em; }
.cw-range { margin: 0; justify-content: flex-start; background: var(--dk-bg-f2f4f7, #F2F4F7); padding: 3px; border-radius: 8px; gap: 2px; }
.cw-range button { border: 0; background: transparent; border-radius: 6px; padding: .35rem .8rem; color: var(--dk-fg-475467, #475467); font-weight: 500; }
.cw-range button.is-on { background: var(--dk-bg-ffffff, #fff); color: var(--dk-fg-1f2937, #1F2937); box-shadow: 0 1px 2px rgba(16, 24, 40, .12); font-weight: 600; }
.cw-nav2 { display: inline-flex; align-items: center; gap: .7rem; }
.cw-nav2 button { width: 30px; height: 30px; border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); background: var(--dk-bg-ffffff, #fff); border-radius: 8px; cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--dk-fg-344054, #344054); }
.cw-nav2 button:hover:not(:disabled) { background: var(--dk-bg-f9fafb, #F9FAFB); border-color: var(--dk-bd-98a2b3, #98A2B3); } .cw-nav2 button:disabled { opacity: .35; cursor: default; }
.cw-csv { border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); background: var(--dk-bg-ffffff, #fff); border-radius: 8px; padding: .38rem .8rem; font-size: 12.5px; color: var(--dk-fg-344054, #344054); cursor: pointer; font-weight: 500; }
.cw-csv:hover { background: var(--dk-bg-f9fafb, #F9FAFB); border-color: var(--dk-bd-98a2b3, #98A2B3); }
.cw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.cw-stat { background: var(--dk-bg-f9fafb, #F9FAFB); border: 1px solid var(--dk-bd-eaecf0, #EAECF0); border-radius: 10px; padding: .65rem .9rem; display: flex; flex-direction: column; gap: .12rem; }
.cw-stat small { color: var(--dk-fg-667085, #667085); font-size: 11.5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.cw-stat b { font-size: 1.28rem; font-weight: 700; color: var(--dk-fg-1f2937, #1F2937); line-height: 1.25; }
.cw-stat span { color: var(--dk-fg-98a2b3, #98A2B3); font-size: 11.5px; }
.cw-chart { background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--dk-bd-eaecf0, #EAECF0); border-radius: 10px; padding: .6rem .4rem .2rem; }
.cw-chart text { font-family: "Segoe UI", system-ui, Arial, sans-serif; }
.cw-leg { margin: .7rem 0 .4rem; gap: 1.6rem; }
.cw-leg-click button { border: 0; background: none; cursor: pointer; font: inherit; font-size: 12.5px; color: var(--dk-fg-475467, #475467); display: inline-flex; align-items: center; padding: .15rem .5rem; border-radius: 6px; }
.cw-leg-click button:hover { background: var(--dk-bg-f2f4f7, #F2F4F7); }
.cw-leg-click button.is-off { opacity: .4; text-decoration: line-through; }
.cw-sub { font-weight: 600; color: var(--dk-fg-344054, #344054); margin: 1rem 0 .4rem; font-size: 13.5px; }
.cw-note { color: var(--dk-fg-98a2b3, #98A2B3); }
.cw-scroll { border: 1px solid var(--dk-bd-eaecf0, #EAECF0); border-radius: 10px; margin-top: .8rem; }
.cw-t th { color: var(--dk-fg-667085, #667085); text-transform: uppercase; letter-spacing: .03em; }
.cw-tip { border-radius: 8px; padding: .5rem .75rem; box-shadow: 0 8px 24px rgba(16, 24, 40, .16); font-size: 12.5px; line-height: 1.6; }
.cw-tt { color: var(--dk-fg-344054, #344054); font-size: 12px; margin-bottom: .2rem; padding-bottom: .2rem; border-bottom: 1px solid var(--dk-bd-f2f4f7, #F2F4F7); }
.cw-skel { display: grid; gap: .8rem; padding: .4rem 0; }
.cw-skel i { display: block; height: 62px; border-radius: 10px; background: linear-gradient(90deg, var(--dk-bg-f2f4f7, #F2F4F7), var(--dk-bg-eaecf0, #EAECF0), var(--dk-bg-f2f4f7, #F2F4F7)); background-size: 200% 100%; animation: cw-shimmer 1.2s infinite linear; }
.cw-skel u { display: block; height: 240px; border-radius: 10px; background: linear-gradient(90deg, var(--dk-bg-f9fafb, #F9FAFB), var(--dk-bg-f2f4f7, #F2F4F7), var(--dk-bg-f9fafb, #F9FAFB)); background-size: 200% 100%; animation: cw-shimmer 1.2s infinite linear; }
.cw-skel { grid-template-columns: repeat(3, 1fr); } .cw-skel u { grid-column: 1 / -1; }
@keyframes cw-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (max-width: 700px) { .cw-body { padding: .9rem; } .cw-stats { grid-template-columns: repeat(2, 1fr); } .cw-tabs button { padding: .6rem .7rem; font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .cw-skel i, .cw-skel u { animation: none; } }

/* Live network: high-load ports report */
.hl { margin-bottom: .85rem; }
.hl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; margin-bottom: .6rem; }
.hl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; font-size: 12.5px; color: var(--muted); }
.hl-tools label { display: flex; align-items: center; gap: .4rem; }
.hl-tools select { padding: .35rem .5rem; border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); border-radius: 8px; background: var(--dk-bg-ffffff, #fff); color: inherit; max-width: 200px; }
.hl-olt:focus { position: relative; }
.hl-clear { border: 0; background: none; color: var(--dk-fg-1f6fc4, #1F6FC4); font-size: 12.5px; cursor: pointer; text-decoration: underline; }
.hl-count { margin: .2rem 0 .5rem; font-size: 13.5px; } .hl-count b { color: var(--dk-fg-b42318, #B42318); }
.hl-red { background: var(--dk-bg-ffc7ce, #FFC7CE); font-weight: 700; }
.hl-total td { font-weight: 700; border-top: 2px solid var(--dk-bd-d0d5dd, #D0D5DD); }
.hl-log { margin-top: .5rem; font-size: 12px; color: var(--muted); }

/* PON capacity */
.pc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin-bottom: .85rem; }
.pc-tile { display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; text-align: left; border: 0; font: inherit; }
.pc-tile b { font-size: 1.55rem; line-height: 1.1; } .pc-tile span { color: var(--muted); font-size: 12px; }
button.pc-click { cursor: pointer; } button.pc-click:hover { background: var(--dk-bg-f9fafb, #F9FAFB); }
.pc-bad { color: var(--dk-fg-b42318, #B42318); } .pc-amber { color: var(--dk-fg-b54708, #B54708); }
.pc-tabs { display: flex; gap: .3rem; margin-bottom: .75rem; }
.pc-tabs button { border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); background: var(--dk-bg-ffffff, #fff); border-radius: 8px; padding: .45rem 1rem; cursor: pointer; font-size: 13px; color: var(--dk-fg-475467, #475467); }
.pc-tabs button.is-on { background: var(--dk-bg-1f2937, #1F2937); border-color: var(--dk-bd-1f2937, #1F2937); color: #fff; font-weight: 600; }
.pc-bar { display: inline-block; width: 70px; height: 8px; border-radius: 4px; background: var(--dk-bg-f2f4f7, #F2F4F7); overflow: hidden; vertical-align: middle; margin-right: .4rem; }
.pc-bar-wide { width: 100%; margin: 0; }
.pc-bar i { display: block; height: 100%; border-radius: 4px; }
.pc-bar i.pc-ok { background: #19B27A; } .pc-bar i.pc-amber { background: #F5A524; } .pc-bar i.pc-bad { background: #E34948; }

.side-dev { padding: .5rem 1.25rem .9rem; font-size: 11px; color: var(--hint); }

.cw-ok { color: var(--dk-fg-067647, #067647); }

/* Live network: the OLT overview as cards in 3 columns, and the tab count */
.ln-ogrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; align-content: start; }
.ln-ogrid > .m-card-title, .ln-ogrid > .m-muted { grid-column: 1 / -1; }
.ln-ogrid .ln-orow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nm ct" "bar bar" "pc pc"; gap: .3rem .5rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--dk-bg-ffffff, #fff); }
.ln-ogrid .ln-onm { grid-area: nm; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ln-ogrid .ln-obar { grid-area: bar; }
.ln-ogrid .ln-opc { grid-area: pc; font-size: 12px; }
.ln-ogrid .ln-oct { grid-area: ct; text-align: right; color: var(--muted); }
.ln-ogrid .ln-orow:hover { border-color: var(--fv-accent-line, #F3B65A); }
.ln-ogrid .ln-orow.is-sel { background: var(--fv-accent-tint, var(--dk-bg-fff1dc, #FFF1DC)); box-shadow: none; border-color: var(--fv-accent-line, #F3B65A); }
.ln-ogrid .ln-orow.is-prob { border-color: var(--dk-bd-f2b8b5, #F2B8B5); }
.ln-tabn { display: inline-block; min-width: 1.3rem; padding: 0 .4rem; border-radius: 999px; background: var(--dk-bg-f2f4f7, #F2F4F7); color: var(--dk-fg-475467, #475467); font-size: 11px; text-align: center; margin-left: .25rem; }
@media (max-width: 1100px) { .ln-ogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ln-ogrid { grid-template-columns: 1fr; } }

/* Live network charts: hover details */
.ln-chart { position: relative; }
.ln-chart svg[data-pts] { cursor: crosshair; }


/* PON status levels: pills, legend, filter and the "i" icons (the tooltip itself is drawn by fibervu-effects.js) */
.pc-pill { display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; cursor: help; white-space: nowrap; }
.pc-pill-normal { background: var(--dk-bg-ecfdf3, #ECFDF3); color: var(--dk-fg-067647, #067647); } .pc-pill-busy { background: var(--dk-bg-fffaeb, #FFFAEB); color: var(--dk-fg-b54708, #B54708); }
.pc-pill-congested { background: var(--dk-bg-fef3f2, #FEF3F2); color: var(--dk-fg-b42318, #B42318); } .pc-pill-nodata { background: var(--dk-bg-f3f4f6, #F3F4F6); color: var(--dk-fg-475467, #475467); }
.pc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: 12.5px; color: var(--muted); margin-bottom: .75rem; }
.pc-legend .pc-pill { margin-left: .5rem; cursor: default; }
.pc-filter { display: inline-flex; border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); border-radius: 8px; overflow: hidden; background: var(--dk-bg-ffffff, #fff); }
.pc-filter button { padding: .35rem .8rem; border: 0; border-right: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); background: var(--dk-bg-ffffff, #fff); color: var(--dk-fg-475467, #475467); font-size: 12.5px; cursor: pointer; }
.pc-filter button:last-child { border-right: 0; }
.pc-filter button.is-on { color: var(--dk-fg-101828, #101828); font-weight: 600; box-shadow: inset 0 -2px 0 var(--dk-bd-344054, #344054); }
.pc-i { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: .25rem; border: 1px solid var(--dk-bd-98a2b3, #98A2B3); border-radius: 50%; font: italic 600 10px/1 Georgia, serif; color: var(--dk-fg-667085, #667085); cursor: help; vertical-align: 1px; }
.pc-i:hover, .pc-i:focus { background: var(--dk-bg-f2f4f7, #F2F4F7); outline: none; }
.pc-warn { font-style: normal; color: var(--dk-fg-b54708, #B54708); cursor: help; margin-left: .15rem; }
#fv-tip { position: fixed; z-index: 10000; max-width: 21rem; padding: .6rem .8rem; border-radius: 10px; background: var(--dk-bg-ffffff, #fff); color: var(--dk-fg-344054, #344054); border: 1px solid var(--dk-bd-e4e7ec, #E4E7EC); box-shadow: 0 8px 24px rgba(16, 24, 40, .16), 0 2px 6px rgba(16, 24, 40, .08); font-size: 12.5px; line-height: 1.5; opacity: 0; pointer-events: none; transition: opacity .15s ease; white-space: pre-line; }
#fv-tip.is-on { opacity: 1; }
#fv-tip b { display: block; font-size: 13px; color: var(--dk-fg-101828, #101828); margin-bottom: .15rem; }

.pc-pill-strong { background: var(--dk-bg-eff8ff, #EFF8FF); color: var(--dk-fg-175cd3, #175CD3); }

/* NAP box fill levels on the map */
.map-box { position: relative; }
.nb-legend { position: absolute; left: 12px; bottom: 12px; z-index: 500; background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--dk-bd-e4e7ec, #E4E7EC); border-radius: 12px; box-shadow: 0 6px 18px rgba(16, 24, 40, .14); padding: .6rem .75rem; font-size: .78rem; display: grid; gap: .25rem; max-width: calc(100% - 24px); }
.nb-legend-title { font-weight: 700; color: var(--dk-fg-101828, #101828); margin-bottom: .1rem; }
.nb-legend label { display: flex; align-items: center; gap: .4rem; cursor: pointer; color: var(--dk-fg-344054, #344054); }
.nb-legend label i { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; border: 2px solid var(--dk-bd-ffffff, #fff); box-shadow: 0 0 0 1px rgba(16, 24, 40, .25); }
.nb-legend label small { color: var(--dk-fg-667085, #667085); } .nb-legend label b { margin-left: auto; padding-left: .6rem; color: var(--dk-fg-101828, #101828); }
.nb-icon { background: none; border: 0; }
.nb-pin { position: relative; display: block; width: 26px; height: 26px; margin: 2px; border-radius: 50%; border: 2.5px solid var(--dk-bd-ffffff, #fff); color: #fff; font: 800 11px/21px system-ui, sans-serif; text-align: center; }
.nb-pin.nb-down { outline: 2px dashed #D92D20; outline-offset: 2px; }
.nb-pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid currentColor; border-color: inherit; background: none; opacity: 0; animation: nb-pulse 1.9s ease-out infinite; }
.nb-pulse { --pulse: rgba(217, 45, 32, .55); }
.nb-pulse::after { border: 3px solid var(--pulse); }
@keyframes nb-pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.nb-code { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); white-space: nowrap; font: 700 10px/1.2 system-ui, sans-serif; color: var(--dk-fg-101828, #101828); background: var(--dk-glass-p9, rgba(255, 255, 255, .9)); padding: 1px 4px; border-radius: 4px; pointer-events: none; }
.nb-popup .leaflet-popup-content-wrapper { border-radius: 14px; }
.nb-card { font-size: .82rem; color: var(--dk-fg-344054, #344054); }
.nb-head { display: flex; align-items: center; gap: .5rem; justify-content: space-between; margin-bottom: .2rem; }
.nb-head strong { font-size: .95rem; color: var(--dk-fg-101828, #101828); }
.nb-badge { color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.nb-meta { color: var(--dk-fg-667085, #667085); margin-bottom: .45rem; }
.nb-bar { height: 8px; background: var(--dk-bg-eaecf0, #EAECF0); border-radius: 99px; overflow: hidden; } .nb-bar i { display: block; height: 100%; border-radius: 99px; }
.nb-count { margin: .3rem 0 .15rem; } .nb-limits { color: var(--dk-fg-667085, #667085); font-size: .76rem; }
.nb-note { margin-top: .45rem; padding: .4rem .55rem; border-left: 4px solid #D92D20; background: var(--dk-bg-fef3f2, #FEF3F2); border-radius: 6px; font-weight: 600; color: var(--dk-fg-7a271a, #7A271A); }
.nb-note-grey { border-color: var(--dk-bd-9ca3af, #9CA3AF); background: var(--dk-bg-f2f4f7, #F2F4F7); color: var(--dk-fg-475467, #475467); }
.nb-live { margin-top: .4rem; } .nb-upd { margin-top: .4rem; font-size: .72rem; color: var(--dk-fg-98a2b3, #98A2B3); }

.nb-tip { padding: 10px 12px; width: 250px; white-space: normal; border: 0.5px solid var(--dk-bd-d0d5dd, #D0D5DD); border-radius: 12px; box-shadow: 0 6px 18px rgba(16, 24, 40, .18); }
.nb-tip::before { display: none; }
.nb-prev { margin-top: .45rem; padding-top: .4rem; border-top: 1px solid var(--dk-bd-eaecf0, #EAECF0); font-size: .76rem; }
.nb-prev-head { margin-bottom: .2rem; }
.nb-prev-row { display: flex; justify-content: space-between; gap: .5rem; line-height: 1.55; }
.nb-st { font-weight: 600; white-space: nowrap; } .nb-st-online { color: var(--dk-fg-12b76a, #12B76A); } .nb-st-offline { color: var(--dk-fg-d92d20, #D92D20); } .nb-st-other { color: var(--dk-fg-667085, #667085); }

/* the hover card: fixed width, text wraps inside it, names never run over the status */
.nb-tip { box-sizing: border-box; width: 270px; overflow: hidden; }
.nb-tip .nb-note { white-space: normal; overflow-wrap: anywhere; }
.nb-tip .nb-meta, .nb-tip .nb-count, .nb-tip .nb-limits { white-space: normal; overflow-wrap: anywhere; }
.nb-prev-row > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-prev-head { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .4rem; }

.nb-src { margin: .25rem 0 0; font-size: .76rem; color: var(--dk-fg-667085, #667085); }

/* Weak signal: export to Excel */
.ex-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ex-head .m-card-title { flex: 1 1 320px; }
.ex-wrap { position: relative; display: inline-block; }
.ex-btn { background: var(--dk-bg-2b2f36, #2B2F36); color: #fff; border: 0; border-radius: 10px; padding: .5rem .95rem; font-weight: 600; font-size: .85rem; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.ex-btn:hover { background: var(--dk-bg-1d2127, #1D2127); } .ex-btn[disabled] { opacity: .75; cursor: progress; }
.ex-caret { width: 0; height: 0; border: 4px solid transparent; border-top-color: var(--dk-bd-ffffff, #fff); border-bottom: 0; display: inline-block; }
.ex-spin { width: 12px; height: 12px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: var(--dk-bd-ffffff, #fff); border-radius: 50%; display: inline-block; animation: ex-turn .7s linear infinite; vertical-align: -2px; }
@keyframes ex-turn { to { transform: rotate(360deg); } }
.ex-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; width: 290px; background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--dk-bd-e4e7ec, #E4E7EC); border-radius: 14px; box-shadow: 0 10px 28px rgba(16, 24, 40, .16); padding: .4rem; }
.ex-menu button, .ex-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: .5rem .65rem; cursor: pointer; font: inherit; color: var(--dk-fg-101828, #101828); }
.ex-menu button:hover:not([disabled]), .ex-item:hover { background: var(--dk-bg-f2f4f7, #F2F4F7); }
.ex-menu button[disabled] { opacity: .5; cursor: not-allowed; }
.ex-menu b, .ex-item b { display: block; font-weight: 600; font-size: .85rem; } .ex-menu small { display: block; color: var(--dk-fg-667085, #667085); font-size: .74rem; margin-top: 1px; }
.ex-item select { margin-top: .35rem; width: 100%; font-size: .8rem; border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); border-radius: 8px; padding: .3rem .4rem; background: var(--dk-bg-ffffff, #fff); }
.ex-check { display: flex; align-items: center; gap: .45rem; padding: .5rem .65rem; border-top: 1px solid var(--dk-bd-eaecf0, #EAECF0); margin-top: .3rem; font-size: .8rem; color: var(--dk-fg-344054, #344054); cursor: pointer; }
.ex-note { padding: .45rem .65rem; font-size: .76rem; color: var(--dk-fg-667085, #667085); }
.ex-bar { margin: .6rem 0; padding: .5rem .8rem; background: var(--dk-bg-f2f4f7, #F2F4F7); border: 1px solid var(--dk-bd-e4e7ec, #E4E7EC); border-radius: 10px; font-size: .85rem; }
.ex-bar button { background: none; border: 0; color: var(--dk-fg-2b2f36, #2B2F36); font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0; }
.ex-tick { width: 34px; text-align: center; }
.ex-mini { margin-left: .5rem; background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); border-radius: 8px; padding: 2px 9px; font-size: .75rem; font-weight: 600; color: var(--dk-fg-2b2f36, #2B2F36); cursor: pointer; }
.ex-mini:hover { background: var(--dk-bg-f2f4f7, #F2F4F7); } .ex-mini[disabled] { opacity: .6; cursor: progress; }

/* PON capacity: subscriber limit, counters, port chart */
.pc-pill-over { background: var(--dk-bg-f4d7d2, #F4D7D2); color: var(--dk-fg-7a271a, #7A271A); border: 1px solid var(--dk-bd-e9b8b0, #E9B8B0); }
.pc-sub-normal { background: #22A06B; } .pc-sub-near { background: #E8A317; } .pc-sub-at { background: #D92D20; } .pc-sub-over { background: #7A271A; }
.pc-bar-sm { width: 46px; vertical-align: middle; margin: 0 .35rem; }
.pc-counters { display: flex; gap: .5rem; flex-wrap: wrap; margin: .2rem 0 .8rem; }
.pc-counters button { background: var(--dk-bg-ffffff, #fff); border: 1px solid var(--dk-bd-e4e7ec, #E4E7EC); border-radius: 10px; padding: .35rem .8rem; font-size: .82rem; cursor: pointer; color: var(--dk-fg-344054, #344054); }
.pc-counters button b { margin-left: .35rem; color: var(--dk-fg-101828, #101828); } .pc-counters button.is-on { border-color: var(--dk-bd-2b2f36, #2B2F36); box-shadow: 0 0 0 1px var(--dk-bd-2b2f36, #2B2F36) inset; }
.pc-port { background: none; border: 0; padding: 0; font: inherit; color: var(--dk-fg-1d4ed8, #1D4ED8); cursor: pointer; text-decoration: underline dotted; }
.pc-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 1rem; animation: pc-fade .18s ease-out; }
.pc-modal-bg { position: absolute; inset: 0; background: rgba(16, 24, 40, .45); }
.pc-modal-box { position: relative; background: var(--dk-bg-ffffff, #fff); border-radius: 14px; box-shadow: 0 16px 40px rgba(16, 24, 40, .25); padding: 1rem 1.2rem; width: min(820px, 100%); max-height: 92vh; overflow: auto; }
.pc-modal-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; } .pc-modal-head > div { flex: 1 1 260px; }
.pc-x { background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--dk-fg-667085, #667085); }
.pc-chart { width: 100%; height: auto; } .pc-ax { font: 11px system-ui, sans-serif; fill: #667085; }
.pc-chart-key { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .78rem; color: var(--dk-fg-475467, #475467); margin-top: .3rem; }
.pc-chart-key i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; } .pc-chart-key i.pc-dash { background: none; border-top: 2px dashed var(--dk-bd-98a2b3, #98A2B3); height: 0; }
@keyframes pc-fade { from { opacity: 0; } to { opacity: 1; } }

/* Live network: PON status dot and subscriber badge (tooltips like PON capacity) */
.ln-stw { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 3px 0 1px; }
.ln-st { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--dk-bd-ffffff, #fff); box-shadow: 0 0 0 1px rgba(16, 24, 40, .2); vertical-align: middle; margin: 0 3px 0 6px; cursor: default; }
.ln-stw .ln-st { margin: 0; }
.ln-st-normal { background: #22A06B; } .ln-st-busy { background: #E8A317; } .ln-st-congested { background: #D92D20; } .ln-st-nodata { background: #9CA3AF; }
.ln-sub { font-size: 10px; font-weight: 700; border-radius: 99px; padding: 0 5px; line-height: 15px; cursor: default; white-space: nowrap; }
.ln-sub-near { background: var(--dk-bg-fef3c7, #FEF3C7); color: var(--dk-fg-854f0b, #854F0B); } .ln-sub-at { background: var(--dk-bg-fde2e1, #FDE2E1); color: var(--dk-fg-a32d2d, #A32D2D); } .ln-sub-over { background: var(--dk-bg-f4d7d2, #F4D7D2); color: var(--dk-fg-7a271a, #7A271A); border: 1px solid var(--dk-bd-e9b8b0, #E9B8B0); }
.cw-leg i.cw-line { width: 22px; height: 3px; border-radius: 2px; vertical-align: 3px; margin-right: 6px; }
.cw-nomax { max-height: none; }
.cw-pagerbar { display: flex; justify-content: space-between; align-items: center; margin: .6rem 0 .2rem; }
.cw-pager { display: flex; gap: 0; } .cw-pager button { border: 1px solid var(--dk-bd-d0d5dd, #D0D5DD); background: var(--dk-bg-ffffff, #fff); padding: .35rem .8rem; font: inherit; font-size: 13px; cursor: pointer; margin-left: -1px; color: var(--dk-fg-475467, #475467); }
.cw-pager button.is-on { background: #F59E0B; border-color: #F59E0B; color: #fff; font-weight: 700; } .cw-pager button:disabled { color: var(--dk-fg-c0c5ce, #C0C5CE); cursor: default; }
.cw-pager button:first-child { border-radius: 6px 0 0 6px; } .cw-pager button:last-child { border-radius: 0 6px 6px 0; }
