.data-table.compact { min-width: 580px; }
.data-table.compact th,
.data-table.compact td { padding-left: 10px; padding-right: 10px; font-size: .72rem; }

.action-button,.add-button,.secondary-button { border:1px solid var(--line); border-radius:9px; background:#ffffff08; color:#dce5f1; padding:7px 11px; }
.action-button.danger { color:var(--danger); border-color:#ff6b7d35; }
.inline-actions { display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
.customer small.muted, td small.muted { display:block; margin-top:4px; font-size:.67rem; }
.add-button { background:var(--accent); border-color:var(--accent); color:#04130e; font-weight:700; }
.modal { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:20px; background:#02070dbd; backdrop-filter:blur(8px); }
.modal-card { width:min(620px,100%); padding:24px; border:1px solid var(--line); border-radius:18px; background:#0c1828; box-shadow:0 25px 80px #0009; }
.modal-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:22px; }
.modal-header h2 { margin:0; }.modal-close { position:static; font-size:1.5rem; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-grid label { color:var(--muted); font-size:.76rem; }
.form-grid input { display:block; width:100%; margin-top:7px; padding:11px 12px; border:1px solid var(--line); border-radius:10px; background:#091422; color:white; outline:none; }
.form-grid input:focus { border-color:var(--accent); }.check-row { display:flex; gap:9px; margin-top:17px; color:#dbe5f1; font-size:.82rem; }
.modal-actions { display:flex; justify-content:flex-end; gap:10px; }.compact-button { width:auto; min-width:130px; display:block; }
@media(max-width:600px){.form-grid{grid-template-columns:1fr}.modal-card{max-height:92vh;overflow:auto}}
.narrow-card { max-width:520px; }.server-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; padding:18px; }
.server-card { padding:19px; border:1px solid var(--line); border-radius:15px; background:linear-gradient(145deg,#0e1c2e,#0a1624); }
.server-card.offline { border-color:#ff6b7d38; }.server-card-head,.server-stats,.server-actions { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.server-card-head h3 { margin:0; }.server-code { color:var(--muted); font-size:.72rem; direction:ltr; }.server-stats { margin:20px 0; padding:14px 0; border-top:1px solid #ffffff0a; border-bottom:1px solid #ffffff0a; }
.server-stat strong,.server-stat span { display:block; }.server-stat strong { font-size:1.1rem; }.server-stat span { color:var(--muted); font-size:.68rem; margin-top:3px; }
.server-actions { justify-content:flex-start; }.capacity-bar { height:5px; margin-top:13px; overflow:hidden; border-radius:5px; background:#ffffff0a; }.capacity-bar span { height:100%; display:block; background:var(--accent); }
@media(max-width:850px){.server-grid{grid-template-columns:1fr}}@media(max-width:600px){.server-grid{padding:12px}}
.filter-select { padding:9px 12px; border:1px solid var(--line); border-radius:9px; background:#091422; color:white; outline:none; }
.page-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:flex-end; }
.audit-filters { display:flex; flex-wrap:wrap; gap:10px; padding:14px 18px; border-bottom:1px solid var(--line); }
.filter-input { min-width:190px; flex:1; padding:9px 12px; border:1px solid var(--line); border-radius:9px; background:#091422; color:white; outline:none; }
.filter-input:focus { border-color:var(--accent); }
.event-details { display:block; max-width:360px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; direction:ltr; text-align:left; color:#b9c9dc; }
.error-detail { display:block; max-width:230px; margin-top:5px; overflow:hidden; color:var(--danger); text-overflow:ellipsis; white-space:nowrap; direction:ltr; text-align:right; }
.ticket-card { width:min(760px,100%); max-height:92vh; display:flex; flex-direction:column; }.ticket-toolbar { display:flex; justify-content:flex-end; margin-bottom:12px; }.chat-list { min-height:220px; overflow:auto; padding:16px; border:1px solid var(--line); border-radius:13px; background:#07111e; }
.chat-message { max-width:78%; margin:0 0 12px auto; padding:11px 13px; border-radius:13px 13px 4px 13px; background:#15263b; line-height:1.8; white-space:pre-wrap; }.chat-message.admin { margin-left:0; margin-right:auto; border-radius:13px 13px 13px 4px; background:#174033; }.chat-meta { display:block; margin-top:5px; color:var(--muted); font-size:.65rem; }
.reply-form { margin-top:13px; }.reply-form textarea { width:100%; min-height:100px; resize:vertical; padding:12px; color:white; background:#091422; border:1px solid var(--line); border-radius:11px; outline:none; }.reply-form textarea:focus { border-color:var(--accent); }

/* r50-gre-topology-monitoring-v1 */
.topology-page .server-grid { align-items:stretch; }
.topology-section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 22px 0; }
.topology-section-head.logical { margin-top:8px; padding-top:22px; border-top:1px solid var(--line); }
.topology-section-head h3 { margin:0 0 4px; font-size:.95rem; }
.topology-section-head p { margin:0; color:var(--muted); font-size:.72rem; }
.topology-section-head>span { color:var(--muted); font-size:.72rem; white-space:nowrap; }
.topology-card { position:relative; overflow:hidden; }
.topology-card:before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:#6f8096; }
.topology-card.topology-online { border-color:#39d7a33d; }.topology-card.topology-online:before { background:var(--accent); }
.topology-card.topology-degraded { border-color:#ffbf5b52; }.topology-card.topology-degraded:before { background:var(--warning); }
.topology-card.topology-offline { border-color:#ff6b7d52; }.topology-card.topology-offline:before { background:var(--danger); }
.topology-card.topology-disabled { opacity:.72; }.topology-card.topology-disabled:before { background:#6f8096; }
.topology-status { display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border:1px solid #6f809640; border-radius:99px; color:#aeb9c8; background:#6f809614; font-size:.67rem; direction:ltr; white-space:nowrap; }
.topology-status.online { color:var(--accent); border-color:#39d7a33d; background:#39d7a314; }
.topology-status.degraded { color:var(--warning); border-color:#ffbf5b45; background:#ffbf5b12; }
.topology-status.offline { color:var(--danger); border-color:#ff6b7d45; background:#ff6b7d12; }
.topology-role { display:flex; justify-content:space-between; gap:12px; margin-top:14px; padding:9px 11px; border-radius:9px; color:#b8c7d9; background:#ffffff05; font-size:.7rem; }
.topology-role span { color:var(--muted); direction:ltr; overflow-wrap:anywhere; }
.topology-details { display:grid; grid-template-columns:minmax(100px,.75fr) minmax(0,1.25fr); gap:8px 12px; margin:15px 0; padding:13px; border:1px solid #ffffff0a; border-radius:11px; background:#07111e70; }
.topology-details span { color:var(--muted); font-size:.68rem; }
.topology-details strong { min-width:0; color:#dce5f1; font-size:.72rem; overflow-wrap:anywhere; }
.topology-route-details .mono { text-align:left; }
.topology-allocation { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:12px 0; color:var(--muted); font-size:.7rem; }
.topology-job-note { margin:12px 0 0; color:var(--muted); font-size:.66rem; line-height:1.8; }
.danger-text { color:var(--danger)!important; }
@media(max-width:600px){.topology-section-head{align-items:flex-start}.topology-details{grid-template-columns:1fr}.topology-details strong{margin-bottom:4px}.topology-page .page-intro{align-items:flex-start;gap:14px}.topology-page .page-actions{justify-content:flex-start}}
