.interface-management-page { min-height: calc(100vh - 116px); }

.interface-page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: linear-gradient(115deg, #fff 0%, #f8fbff 65%, #eef5ff 100%);
}
.interface-page-intro span { color: #2f68b4; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.interface-page-intro h3 { margin: 5px 0 4px; color: #0f172a; font-size: 22px; }
.interface-page-intro p { margin: 0; color: #64748b; font-size: 13px; }
.interface-page-intro > strong { flex: 0 0 auto; padding: 9px 12px; border-radius: 999px; background: #e7f0fc; color: #2f68b4; font-size:13px; }

.interface-overview-shell { margin-top: 14px; }
.interface-overview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid #dbe4ef; border-radius: 12px; background: linear-gradient(120deg, #fff, #f8fbff 70%, #eef6ff); }
.interface-overview-head span { color: #2f68b4; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.interface-overview-head h4 { margin: 6px 0 4px; color: #0f172a; font-size: 20px; }
.interface-overview-head p { margin: 0; color: #64748b; font-size: 13px; }
.interface-overview-actions { display: flex; align-items: center; gap: 8px; }
.interface-overview-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.interface-overview-stats article { padding: 16px 18px; border: 1px solid #dbe4ef; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(15, 35, 68, .05); }
.interface-overview-stats span { display: block; color: #64748b; font-size:13px; }
.interface-overview-stats strong { display: block; margin-top: 9px; color: #0f172a; font-size: 28px; line-height: 1; }
.interface-overview-stats small { display: block; margin-top: 10px; color: #7c8a9f; font-size: 12px; }
.interface-overview-alert { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 14px 16px; border: 1px solid #dbe4ef; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(15, 35, 68, .04); }
.interface-overview-alert strong { display: block; color: #172033; font-size: 14px; }
.interface-overview-alert small { color: #64748b; font-size:13px; }
.interface-overview-alert-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.interface-overview-alert-tags span { padding: 5px 9px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: 12px; }
.interface-overview-alert-tags span.ready { background: #e7f7f2; color: #087f5b; }
.interface-overview-list { overflow: hidden; border-radius: 12px; }
.interface-overview-table-wrap { padding: 0 16px 16px; overflow: hidden; }
.interface-overview-table-wrap:has(.interface-ledger-list) { padding: 0; }
.interface-ledger-list { overflow: hidden; border-top: 1px solid #e5edf6; }
.interface-ledger-list-head, .interface-ledger-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .28fr) minmax(114px, .22fr) minmax(92px, auto); gap: 16px; align-items: center; }
.interface-ledger-list-head { min-height: 42px; padding: 0 16px; background: #f8fbff; color: #64748b; font-size: 12px; font-weight: 700; }
.interface-ledger-item { min-height: 80px; padding: 11px 16px; border-top: 1px solid #edf2f7; background: #fff; transition: background .16s ease, box-shadow .16s ease; }
.interface-ledger-item:hover { background: #fbfefd; box-shadow: inset 3px 0 0 #8dd8c1; }
.interface-ledger-identity { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) 92px; align-items: center; column-gap: 9px; row-gap: 6px; }
.interface-ledger-identity b { min-width: 0; color: #172033; font-size: 13px; }
.interface-ledger-identity small { grid-column: 1 / -1; min-width: 0; color: #47617d; font-size: 12px; }
.interface-ledger-status { display: grid; min-width: 0; justify-items: start; gap: 6px; }
.interface-ledger-status small { width: 100%; color: #7c8a9f; font-size: 12px; line-height: 1.45; }
.interface-ledger-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.interface-ledger-actions button { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 32px; margin: 0; padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease; }
.interface-ledger-actions button:hover { transform: translateY(-1px); }
.interface-ledger-actions button:active { transform: translateY(0); box-shadow: none; }
.interface-ledger-actions [data-interface-overview-detail] { border-color: #d3dfea; background: #fff; color: #355269; }
.interface-ledger-actions [data-interface-overview-detail]:hover { border-color: #94b3cf; background: #f3f8fc; box-shadow: 0 4px 10px rgba(53, 82, 105, .10); }
.interface-ledger-actions [data-interface-verify] { border-color: #a7decd; background: #f1fbf7; color: #087f5b; }
.interface-ledger-actions [data-interface-verify]:hover { border-color: #4fba99; background: #e4f7ef; box-shadow: 0 4px 10px rgba(8, 127, 91, .14); }
.interface-ledger-actions .gitlab-admin-secondary:not([data-interface-overview-detail]) { border-color: #168a69; background: linear-gradient(135deg, #12916e, #087f5b); color: #fff; box-shadow: 0 4px 10px rgba(8, 127, 91, .18); }
.interface-ledger-actions .gitlab-admin-secondary:not([data-interface-overview-detail]):hover { border-color: #076e50; background: linear-gradient(135deg, #0b825f, #066d4e); box-shadow: 0 6px 14px rgba(8, 127, 91, .24); }
.interface-overview-table { width: 100%; table-layout: fixed; }
.interface-overview-table th, .interface-overview-table td { overflow: hidden; vertical-align: top; }
.interface-overview-table-compact th:nth-child(1) { width: 18%; }
.interface-overview-table-compact th:nth-child(2) { width: 10%; }
.interface-overview-table-compact th:nth-child(3) { width: 22%; }
.interface-overview-table-compact th:nth-child(4) { width: 15%; }
.interface-overview-table-compact th:nth-child(5) { width: 15%; }
.interface-overview-table-compact th:nth-child(6) { width: 10%; }
.interface-overview-table-compact th:nth-child(7) { width: 10%; }
.interface-ellipsis { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.interface-type-tag { display: inline-flex; grid-column: 2; align-items: center; justify-self: start; max-width: 100%; overflow: hidden; padding: 3px 8px; border: 1px solid #d5e4f7; border-radius: 999px; background: #f2f7ff; color: #2f68b4; font-size: 12px; font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.interface-overview-name { display: grid; gap: 4px; }
.interface-overview-name b { color: #172033; }
.interface-overview-name small { color: #7c8a9f; font-size: 12px; }
.interface-overview-message { display: block; max-width: 100%; margin-top: 6px; color: #7c8a9f; font-size: 12px; line-height: 1.5; }
.interface-overview-time { display: block; color: #334155; font-size: 12px; line-height: 1.45; }
.interface-overview-actions-inline { display: flex; flex-wrap: wrap; gap: 6px; }
.interface-overview-actions-inline button { min-width: 0; padding-right: 9px; padding-left: 9px; white-space: nowrap; }
.interface-status-pill { display: inline-flex; align-items: center; justify-self: start; gap: 6px; width: fit-content; max-width: 100%; padding: 4px 9px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.2; }
.interface-status-pill::before { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: currentColor; content: ""; box-shadow: 0 0 0 3px currentColor; opacity: .16; }
.interface-status-pill.success { border-color: #c9eadf; background: #edf9f4; color: #087f5b; }
.interface-status-pill.failed { border-color: #ffd6da; background: #fff5f6; color: #dc2626; }
.interface-status-pill.pending { border-color: #cfe0ff; background: #f3f7ff; color: #2563eb; }
.interface-runs-panel span { display: block; line-height: 1.6; }
.interface-alert-modal { width: min(680px, calc(100vw - 32px)); }
.interface-toggle-line { display: inline-flex; align-items: center; gap: 8px; color: #334155; }
.interface-toggle-line input { width: 16px; height: 16px; margin: 0; }
.interface-ledger-detail-modal { width: min(760px, calc(100vw - 32px)); }
.interface-ledger-detail-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 11px 12px; border: 1px solid #dbe4ef; border-radius: 8px; background: #f8fbff; color: #64748b; font-size: 13px; }
.interface-ledger-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.interface-ledger-detail-row { min-width: 0; padding: 11px 12px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.interface-ledger-detail-row.span-2 { grid-column: span 2; }
.interface-ledger-detail-row dt { margin-bottom: 6px; color: #64748b; font-size: 12px; }
.interface-ledger-detail-row dd { margin: 0; color: #172033; font-size: 13px; line-height: 1.6; }
.interface-ledger-detail-break dd { overflow-wrap: anywhere; word-break: break-word; }

.interface-service-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.interface-service-tab { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 90px; padding: 13px; border: 1px solid #dbe4ef; border-radius: 8px; background: #fff; color: #172033; text-align: left; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.interface-service-tab:hover { border-color: #9db8da; transform: translateY(-1px); }
.interface-service-tab.active { border-color: #2f68b4; box-shadow: 0 0 0 2px rgba(47, 104, 180, .1); }
.interface-service-tab span { min-width: 0; }
.interface-service-tab strong, .interface-service-tab small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.interface-service-tab strong { font-size: 14px; }
.interface-service-tab small { margin-top: 4px; color: #7c8a9f; font-size: 12px; }
.interface-service-tab em { grid-column: 2; color: #2f68b4; font-size: 12px; font-style: normal; }
.interface-service-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 8px; background: #eef2f7; color: #334155; font-size: 14px; font-style: normal; font-weight: 800; }
.interface-service-icon.gitlab { background: #fff0e6; color: #c2410c; }
.interface-service-icon.baota { background: #e7f7f2; color: #087f5b; }
.interface-service-icon.nodes { background: #e8f1fb; color: #245ea8; }
.interface-service-icon.other { background: #f2edff; color: #6d28d9; }
.interface-service-icon.mail { background: #e8f1fb; color: #2563eb; }

.interface-service-panel { margin-top: 14px; }
.interface-panel-head { padding: 16px 18px; }
.interface-node-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1px solid #dbe4ef; border-radius: 10px; background: #fff; box-shadow: 0 5px 16px rgba(15, 35, 68, .04); }
.interface-node-toolbar-left, .interface-node-toolbar-right { display: flex; align-items: center; gap: 8px; }
.interface-node-toolbar-right { min-width: min(100%, 440px); }
.interface-node-toolbar-right .search-input { flex: 1; min-width: 220px; }
.interface-node-select-all { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #cbd8e8; border-radius: 6px; background: #f8fafc; color: #475569; font-size:13px; cursor: pointer; }
.interface-node-select-all:hover { border-color: #9db8da; background: #f2f7fd; }
.interface-node-select-all input { width: 15px; height: 15px; margin: 0; accent-color: #2f68b4; }
.interface-node-card { position: relative; overflow: hidden; border-color: #dbe4ef; border-radius: 12px; background: linear-gradient(160deg, #fff 0%, #fff 70%, #f8fbff 100%); box-shadow: 0 8px 24px rgba(15, 35, 68, .06); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.interface-node-card:hover { transform: translateY(-2px); border-color: #aac0dc; box-shadow: 0 14px 32px rgba(28, 61, 105, .11); }
.interface-node-card.selected { border-color: #2f68b4; box-shadow: 0 0 0 2px rgba(47, 104, 180, .13), 0 14px 32px rgba(28, 61, 105, .11); }
.interface-node-card-accent { height: 3px; background: linear-gradient(90deg, #2f68b4, #35a383 70%, #7fd4b7); }
.interface-node-card-head { grid-template-columns: 22px 34px minmax(0, 1fr) auto; gap: 11px; padding: 16px 17px 14px; border-bottom: 0; }
.interface-node-check { position: relative; display: grid; width: 18px; height: 18px; place-items: center; cursor: pointer; }
.interface-node-check input { width: 17px; height: 17px; margin: 0; accent-color: #2f68b4; cursor: pointer; }
.interface-node-index { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #bfd4ef; border-radius: 9px; background: linear-gradient(135deg, #edf5ff, #dbeafe); color: #245ea8; font-size:13px; font-weight: 800; box-shadow: 0 4px 10px rgba(47, 104, 180, .12); }
.interface-node-card.selected .interface-node-index { border-color: #2f68b4; background: linear-gradient(135deg, #3f7dc8, #2f68b4); color: #fff; }
.interface-node-title { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.interface-node-title strong { overflow: hidden; max-width: 100%; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.interface-node-title small { display: flex; min-width: 0; align-items: center; gap: 6px; margin-top: 0; color: #64748b; white-space: nowrap; }
.interface-node-title small i { width: 6px; height: 6px; border-radius: 50%; background: #35a383; box-shadow: 0 0 0 3px rgba(53, 163, 131, .12); }
.interface-node-detail { gap: 9px; padding: 0 17px 13px; }
.interface-node-detail > div { min-height: 58px; padding: 10px 12px; border: 1px solid #e5ebf3; border-radius: 8px; background: rgba(248, 250, 252, .82); }
.interface-node-detail dt { color: #7c8a9f; font-size: 12px; }
.interface-node-detail dd { margin-top: 5px; color: #172033; font-weight: 700; }
.interface-node-ready-text { color: #087f5b !important; }
.interface-node-service-row { display: flex; align-items: center; gap: 12px; padding: 0 17px 13px; }
.interface-node-service-row > b { flex: 0 0 auto; color: #64748b; font-size: 12px; }
.interface-node-capabilities { padding: 0; }
.interface-node-remark { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin: 0 17px 14px; padding: 10px 12px; border: 1px dashed #dbe4ef; border-radius: 8px; background: #f8fafc; }
.interface-node-remark b { color: #64748b; font-size: 12px; }
.interface-node-remark span { overflow: hidden; color: #475569; text-overflow: ellipsis; white-space: nowrap; }
.interface-node-actions { justify-content: flex-end; gap: 8px; margin-top: auto; padding: 12px 17px 14px; border-top: 1px solid #e8edf4; background: rgba(248, 250, 252, .7); }
.interface-node-actions button { min-width: 72px; }
.interface-node-delete { border-color: #fecaca; color: #dc2626; }
.interface-node-delete:hover:not(:disabled) { border-color: #ef4444; background: #fef2f2; color: #b91c1c; }
.interface-stage-badge { padding: 6px 10px; border-radius: 999px; background: #fff7ed; color: #c2410c; font-size:13px; }
.interface-link-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.interface-config-btn { border-color: #2f68b4; background: #2f68b4; color: #fff; }
.interface-config-btn:hover:not(:disabled) { border-color: #285a9b; background: #285a9b; }
.interface-gitlab-card .gitlab-node-card-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.interface-loading, .interface-error { grid-column: 1 / -1; display: flex; min-height: 180px; align-items: center; justify-content: center; gap: 10px; border: 1px dashed #cbd5e1; border-radius: 8px; background: #fff; color: #64748b; }
.interface-loading span { width: 18px; height: 18px; border: 2px solid #dbe4ef; border-top-color: #2f68b4; border-radius: 50%; animation: interface-spin .8s linear infinite; }
.interface-error { flex-direction: column; color: #b91c1c; }
.interface-error span { color: #64748b; }
.interface-error button { padding: 7px 12px; border: 1px solid #2f68b4; border-radius: 5px; background: #2f68b4; color: #fff; }
.interface-empty { grid-column: 1 / -1; display: flex; min-height: 180px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px dashed #cbd5e1; border-radius: 8px; background: #fff; color: #64748b; text-align: center; }
.interface-empty strong { color: #1e293b; font-size: 15px; }
@keyframes interface-spin { to { transform: rotate(360deg); } }

.interface-server-selector { display: grid; grid-template-columns: auto minmax(280px, 460px) minmax(0, 1fr); align-items: center; gap: 10px; margin: 14px 0; padding: 13px 16px; border: 1px solid #dbe4ef; border-radius: 8px; background: #fff; }
.interface-server-selector label { color: #1e293b; font-size: 13px; font-weight: 700; }
.interface-server-selector select { width: 100%; height: 36px; padding: 0 34px 0 11px; border: 1px solid #cbd8e8; border-radius: 6px; background: #fff; color: #172033; }
.interface-server-selector small { color: #7c8a9f; font-size: 12px; }
.interface-node-grid, .interface-other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.interface-node-card .gitlab-node-card-detail, .interface-other-card .gitlab-node-card-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.interface-node-capabilities { display: flex; flex-wrap: wrap; gap: 7px; }
.interface-node-capabilities span { padding: 4px 9px; border-radius: 999px; background: #f1f5f9; color: #94a3b8; font-size: 12px; }
.interface-node-capabilities span.ready { background: #e7f7f2; color: #087f5b; }
.interface-other-card .gitlab-node-card-head { grid-template-columns: 36px minmax(0, 1fr) auto; }

.interface-placeholder-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .5fr); gap: 14px; margin-top: 14px; }
.interface-placeholder-card .gitlab-node-card-head { grid-template-columns: 36px minmax(0, 1fr) auto; }
.interface-next-panel { display: grid; align-content: start; gap: 8px; padding: 16px; border: 1px solid #dbe4ef; border-radius: 8px; background: #fff; }
.interface-next-panel strong { margin-bottom: 4px; color: #13213a; }
.interface-next-panel span { padding: 9px 10px; border-radius: 6px; background: #f8fafc; color: #64748b; font-size:13px; }

.interface-baota-summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 14px; padding: 12px 16px; border: 1px solid #cfe7dd; border-radius: 9px; background: linear-gradient(90deg, #f4fbf8, #fbfefd); }
.interface-baota-summary strong { color: #126c50; font-size: 13px; }
.interface-baota-summary span { color: #617286; font-size:13px; }
.interface-baota-summary em { padding: 5px 9px; border-radius: 999px; background: #e1f5ed; color: #087f5b; font-size: 12px; font-style: normal; }
.interface-baota-card .interface-node-card-accent { background: linear-gradient(90deg, #178f68, #52b994 70%, #9edec8); }
.interface-baota-card .interface-node-index { border-color: #b8dfd1; background: linear-gradient(135deg, #effbf6, #d9f3e9); color: #087f5b; }
.interface-baota-card.selected { border-color: #178f68; box-shadow: 0 0 0 2px rgba(23, 143, 104, .13), 0 14px 32px rgba(28, 80, 65, .11); }
.interface-baota-card.selected .interface-node-index { border-color: #178f68; background: linear-gradient(135deg, #35a77f, #178f68); color: #fff; }
.interface-baota-card-addresses { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 0 17px 13px; }
.interface-baota-card-addresses > b { padding-top: 7px; color: #64748b; font-size: 12px; }
.interface-baota-card-addresses > div { display: grid; gap: 6px; min-width: 0; }
.interface-baota-card-addresses a, .interface-baota-card-addresses > div > span { display: flex; min-width: 0; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 6px; background: #f3faf7; color: #466457; font-size: 12px; text-decoration: none; }
.interface-baota-card-addresses a:hover { background: #e5f6ef; color: #087f5b; }
.interface-baota-card-addresses a b, .interface-baota-card-addresses > div > span b { flex: 0 0 auto; padding: 2px 5px; border-radius: 999px; background: #dff3eb; color: #087f5b; font-size: 12px; }
.interface-baota-card-addresses a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.interface-modal-mask { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 24px; background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px); }
.interface-baota-modal { display: flex; width: min(760px, calc(100vw - 32px)); max-height: min(850px, calc(100vh - 32px)); flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 24px 70px rgba(15, 23, 42, .28); }
.interface-baota-modal > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid #e2e8f0; }
.interface-baota-modal > header > div { display: flex; align-items: center; gap: 12px; }
.interface-baota-modal h3 { margin: 0; color: #172033; font-size: 18px; }
.interface-baota-modal header p { margin: 4px 0 0; color: #718096; font-size:13px; }
.interface-baota-modal header > button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #d7e0ea; border-radius: 7px; background: #fff; color: #536176; font-size: 20px; }
.interface-baota-modal-body { flex: 1; overflow-y: auto; padding: 18px 20px; background: #f8fafc; }
.interface-baota-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.interface-baota-form-grid > label { display: grid; gap: 7px; }
.interface-baota-form-grid > label.span-2, .interface-baota-addresses.span-2 { grid-column: 1 / -1; }
.interface-baota-form-grid label > span, .interface-baota-field-head > span { color: #334155; font-size:13px; font-weight: 650; }
.interface-baota-form-grid b, .interface-baota-field-head b { color: #ef4444; }
.interface-baota-form-grid input, .interface-baota-form-grid select, .interface-baota-form-grid textarea { width: 100%; border: 1px solid #cbd8e8; border-radius: 7px; background: #fff; color: #172033; outline: none; }
.interface-baota-form-grid input, .interface-baota-form-grid select { height: 38px; padding: 0 11px; }
.interface-baota-form-grid textarea { resize: vertical; min-height: 78px; padding: 10px 11px; }
.interface-baota-form-grid input:focus, .interface-baota-form-grid select:focus, .interface-baota-form-grid textarea:focus { border-color: #178f68; box-shadow: 0 0 0 3px rgba(23, 143, 104, .1); }
.interface-baota-addresses { padding: 13px; border: 1px solid #dbe4ef; border-radius: 9px; background: #fff; }
.interface-baota-field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.interface-baota-field-head span { display: flex; align-items: center; gap: 5px; }
.interface-baota-field-head small { color: #8996a8; font-weight: 400; }
.interface-baota-field-head button { padding: 6px 10px; border: 1px solid #9fd4c0; border-radius: 6px; background: #f1fbf6; color: #087f5b; font-size:13px; }
#baotaAddressRows { display: grid; gap: 8px; }
.interface-baota-address-row { display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 8px; }
.interface-baota-address-row button { border: 1px solid #fecaca; border-radius: 6px; background: #fff7f7; color: #dc2626; font-size: 18px; }
.interface-secret-input { display: grid; grid-template-columns: minmax(0, 1fr) 38px; }
.interface-secret-input input { border-radius: 7px 0 0 7px; }
.interface-secret-input button { margin-left: -1px; border: 1px solid #cbd8e8; border-radius: 0 7px 7px 0; background: #fff; color: #64748b; }
.interface-baota-form-tip { margin-top: 14px; padding: 10px 12px; border-radius: 7px; background: #edf7ff; color: #52677f; font-size:13px; }
.interface-baota-modal > footer { display: flex; justify-content: flex-end; gap: 9px; padding: 14px 20px; border-top: 1px solid #e2e8f0; background: #fff; }
.interface-baota-delete-modal { width: min(520px, calc(100vw - 32px)); }
.interface-delete-warning { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #fecaca; border-radius: 50%; background: #fff1f2; color: #dc2626; font-size: 18px; font-weight: 800; }
.interface-baota-delete-modal .interface-baota-modal-body > strong { color: #172033; font-size: 14px; }
.interface-baota-delete-modal .interface-baota-modal-body > p { margin: 12px 0 0; color: #b45309; font-size:13px; }
.interface-baota-delete-list { display: grid; gap: 7px; max-height: 220px; overflow-y: auto; margin-top: 12px; }
.interface-baota-delete-list span { display: flex; justify-content: space-between; gap: 12px; padding: 9px 11px; border: 1px solid #e2e8f0; border-radius: 7px; background: #fff; color: #334155; font-size:13px; }
.interface-baota-delete-list small { color: #8390a2; }
.interface-verify-process-modal { width: min(640px, calc(100vw - 32px)); }
.interface-verify-process-card { display: grid; gap: 6px; padding: 14px 15px; border: 1px solid #dbe4ef; border-radius: 10px; background: linear-gradient(135deg, #f8fbff, #eef6ff); }
.interface-verify-process-card strong { color: #172033; font-size: 15px; }
.interface-verify-process-card span { color: #64748b; font-size:13px; line-height: 1.6; }
.interface-verify-process-card.success { border-color: #cce9dc; background: linear-gradient(135deg, #f4fbf8, #edf9f3); }
.interface-verify-process-card.success strong { color: #087f5b; }
.interface-verify-process-card.error { border-color: #fecaca; background: linear-gradient(135deg, #fff7f7, #fff1f2); }
.interface-verify-process-card.error strong { color: #b91c1c; }
.interface-verify-process-steps { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.interface-verify-process-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: flex-start; padding: 12px 13px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.interface-verify-process-step > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #eef2f7; color: #64748b; font-size: 13px; font-weight: 800; }
.interface-verify-process-step b { display: block; color: #172033; font-size: 13px; }
.interface-verify-process-step small { display: block; margin-top: 4px; color: #7c8a9f; font-size:13px; line-height: 1.5; word-break: break-word; }
.interface-verify-process-step.active { border-color: #bfd4ef; background: #f8fbff; }
.interface-verify-process-step.active > span { background: #e8f1fb; color: #245ea8; box-shadow: 0 0 0 4px rgba(47, 104, 180, .1); }
.interface-verify-process-step.done { border-color: #cce9dc; background: #f8fdfb; }
.interface-verify-process-step.done > span { background: #e7f7f2; color: #087f5b; }
.interface-verify-process-step.error { border-color: #fecaca; background: #fff7f7; }
.interface-verify-process-step.error > span { background: #fff1f2; color: #dc2626; }
.interface-verify-process-modal [data-interface-verify-process-close]:disabled { cursor: not-allowed; opacity: .55; }

@media (max-width: 1150px) { .interface-service-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .interface-overview-head, .interface-overview-alert { flex-direction: column; align-items: stretch; }
  .interface-overview-actions { flex-direction: column; }
  .interface-overview-stats { grid-template-columns: 1fr; }
  .interface-service-tabs, .interface-placeholder-grid, .interface-node-grid, .interface-other-grid { grid-template-columns: 1fr; }
  .interface-server-selector { grid-template-columns: 1fr; }
  .interface-page-intro { align-items: flex-start; }
  .interface-page-intro > strong { display: none; }
  .interface-gitlab-card .gitlab-node-card-detail { grid-template-columns: 1fr; }
  .interface-node-toolbar, .interface-node-toolbar-left, .interface-node-toolbar-right { width: 100%; align-items: stretch; flex-direction: column; }
  .interface-node-toolbar-right .search-input { min-width: 0; }
  .interface-node-select-all { justify-content: center; }
  .interface-node-card-head { grid-template-columns: 22px 34px minmax(0, 1fr); }
  .interface-node-card-head > em { grid-column: 3; justify-self: start; }
  .interface-baota-summary, .interface-baota-form-grid { grid-template-columns: 1fr; }
  .interface-baota-summary em, .interface-baota-form-grid > label.span-2, .interface-baota-addresses.span-2 { grid-column: 1; }
  .interface-modal-mask { padding: 10px; }
  .interface-ledger-detail-status { align-items: flex-start; flex-direction: column; }
  .interface-ledger-detail-grid { grid-template-columns: 1fr; }
  .interface-ledger-detail-row.span-2 { grid-column: auto; }
  .interface-baota-field-head { align-items: flex-start; flex-direction: column; }
  .interface-verify-process-step { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .interface-verify-process-step > span { width: 32px; height: 32px; }
}

@media (max-width: 1180px) {
  .interface-overview-table-compact th:nth-child(1) { width: 21%; }
  .interface-overview-table-compact th:nth-child(3) { width: 26%; }
  .interface-overview-table-compact th:nth-child(5) { width: 18%; }
  .interface-overview-table-compact th:nth-child(6) { width: 12%; }
  .interface-col-service { display: none; }
}

@media (max-width: 1080px) {
  .interface-ledger-list-head, .interface-ledger-item { grid-template-columns: minmax(0, 1fr) minmax(118px, .34fr) minmax(84px, auto); }
  .interface-ledger-list-head span:nth-child(3), .interface-ledger-item > time { display: none; }
}

@media (max-width: 860px) {
  .interface-ledger-list-head { display: none; }
  .interface-ledger-item { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; }
  .interface-ledger-status { grid-column: 1; grid-row: 2; }
  .interface-ledger-actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: 100px; }
}

@media (max-width: 900px) {
  .interface-col-type { display: none; }
  .interface-overview-table-compact th:nth-child(1) { width: 24%; }
  .interface-overview-table-compact th:nth-child(3) { width: 30%; }
  .interface-overview-table-compact th:nth-child(5) { width: 20%; }
  .interface-overview-table-compact th:nth-child(6) { width: 13%; }
  .interface-overview-table-compact th:nth-child(7) { width: 13%; }
}
