:root {
  color-scheme: dark;
  --ink: #07111f;
  --navy: #0a1a30;
  --navy-2: #10243d;
  --panel: #0f2138;
  --line: rgba(159, 184, 211, .16);
  --muted: #91a6bd;
  --text: #eff6ff;
  --teal: #31d5c8;
  --teal-deep: #0b8f89;
  --danger: #ff7a83;
  --shadow: 0 28px 80px rgba(0, 6, 18, .38);
  font-family: Inter, Pretendard, "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.08fr) minmax(430px, .92fr); }
.login-brand { position: relative; min-height: 100vh; padding: 42px clamp(42px, 5vw, 84px); overflow: hidden; background:
  radial-gradient(circle at 72% 52%, rgba(49, 213, 200, .14), transparent 27%),
  linear-gradient(145deg, #071b33 0%, #09213b 54%, #061326 100%); }
.login-brand::after { content: ""; position: absolute; inset: 0; opacity: .28; background-image:
  linear-gradient(rgba(126, 164, 198, .07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(126, 164, 198, .07) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.brand-lockup { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { width: 29px; height: 29px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; }
.brand-mark i { display: block; background: var(--teal); border-radius: 2px 2px 0 0; }
.brand-mark i:nth-child(1) { height: 50%; opacity: .7; }
.brand-mark i:nth-child(2) { height: 100%; }
.brand-mark i:nth-child(3) { height: 72%; opacity: .82; }
.login-statement { position: relative; z-index: 2; max-width: 650px; margin-top: clamp(110px, 17vh, 190px); }
.eyebrow { margin: 0 0 14px; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
.login-statement h1 { margin: 0; font-size: clamp(3rem, 5.1vw, 5.6rem); line-height: 1.04; letter-spacing: -.065em; }
.login-statement > p:last-child { max-width: 500px; margin-top: 28px; color: #aac0d5; font-size: 1.05rem; line-height: 1.78; }
.login-footnote { position: absolute; z-index: 2; left: clamp(42px, 5vw, 84px); bottom: 38px; margin: 0; color: #7189a3; font-size: .72rem; letter-spacing: .14em; }

.signal-board { position: absolute; right: -2%; bottom: 5%; width: 55%; aspect-ratio: 1; opacity: .8; }
.signal-board::before, .signal-board::after { content: ""; position: absolute; inset: 22%; border: 1px solid rgba(49,213,200,.16); border-radius: 50%; }
.signal-board::after { inset: 8%; border-color: rgba(49,213,200,.08); }
.signal-core { position: absolute; z-index: 2; left: 46%; top: 42%; width: 78px; height: 78px; display: grid; place-content: center; text-align: center; background: rgba(6, 25, 44, .9); border: 1px solid var(--teal); border-radius: 50%; box-shadow: 0 0 48px rgba(49,213,200,.2); }
.signal-core b { color: var(--teal); font-size: 1.1rem; }
.signal-core small { color: #7fa7bd; font-size: .55rem; letter-spacing: .12em; }
.signal-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--teal), transparent); transform-origin: left; }
.signal-line-a { width: 52%; left: 16%; top: 32%; transform: rotate(29deg); }
.signal-line-b { width: 44%; left: 50%; top: 53%; transform: rotate(-39deg); }
.signal-node { position: absolute; width: 10px; height: 10px; border: 2px solid var(--teal); background: #09213b; border-radius: 50%; box-shadow: 0 0 16px var(--teal); }
.node-a { left: 19%; top: 32%; }.node-b { right: 11%; top: 22%; }.node-c { right: 13%; bottom: 16%; }

.login-panel { min-height: 100vh; display: grid; place-items: center; padding: 48px; background: #f4f7fa; color: #102038; }
.login-card { width: min(430px, 100%); }
.mobile-brand { display: none; color: #102038; margin-bottom: 64px; }
.login-card h2 { margin: 0 0 10px; font-size: 2rem; letter-spacing: -.04em; }
.login-help { margin: 0 0 38px; color: #66798d; line-height: 1.6; }
.login-card label { display: block; margin: 18px 0 8px; color: #34485c; font-size: .9rem; font-weight: 700; }
.login-card input { width: 100%; min-height: 52px; padding: 0 15px; color: #102038; background: #fff; border: 1px solid #cbd6e1; border-radius: 7px; outline: none; transition: border .18s, box-shadow .18s; }
.login-card input:focus { border-color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(11,143,137,.12); }
.password-field { position: relative; }
.password-field input { padding-right: 66px; }
.icon-button { position: absolute; top: 50%; right: 9px; transform: translateY(-50%); padding: 8px; color: #557086; background: transparent; border: 0; font-size: .82rem; font-weight: 700; }
.form-error { min-height: 22px; margin: 12px 0 2px; color: #c63f4b; font-size: .88rem; }
.primary-button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: #061d26; background: var(--teal); border: 0; border-radius: 7px; font-weight: 800; transition: transform .18s, background .18s; }
.primary-button:hover { background: #5be4d8; transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: .65; transform: none; }
.security-note { display: flex; align-items: center; gap: 9px; margin-top: 25px; color: #74879a; font-size: .82rem; }
.status-dot { width: 8px; height: 8px; display: inline-block; flex: 0 0 auto; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 4px rgba(49,213,200,.12); }

.portal-view { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: #081526; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 28px 18px 22px; background: #071426; border-right: 1px solid var(--line); }
.sidebar-brand { padding: 0 10px 34px; }.sidebar-brand b { color: var(--teal); }
.sidebar nav { display: grid; gap: 7px; }
.nav-item { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 13px; padding: 0 14px; color: #91a6bd; background: transparent; border: 0; border-radius: 7px; text-align: left; font-weight: 650; }
.nav-item span { width: 21px; color: #6f8ba5; text-align: center; }
.nav-item:hover { color: #dbe9f6; background: rgba(255,255,255,.035); }
.nav-item.active { color: #fff; background: #112943; box-shadow: inset 3px 0 0 var(--teal); }
.nav-item.active span { color: var(--teal); }
.sidebar-footer { margin-top: auto; border-top: 1px solid var(--line); padding: 20px 9px 0; }
.system-state { display: flex; align-items: center; gap: 12px; }.system-state div { display: grid; gap: 3px; }
.system-state b { font-size: .8rem; }.system-state small { color: #668199; font-size: .72rem; }
.text-button { display: block; margin-top: 14px; padding: 0; color: #849bb1; background: none; border: 0; font-size: .82rem; }
.workspace { min-width: 0; }
.topbar { min-height: 102px; display: flex; align-items: center; gap: 20px; padding: 20px clamp(24px, 4vw, 58px); background: rgba(8,21,38,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.topbar h1 { margin: 0; font-size: 1.55rem; letter-spacing: -.04em; }.topbar .eyebrow { margin-bottom: 4px; font-size: .62rem; }
.user-chip { margin-left: auto; display: flex; align-items: center; gap: 11px; }
.user-chip > span { width: 40px; height: 40px; display: grid; place-items: center; color: #062124; background: var(--teal); border-radius: 50%; font-weight: 850; }
.user-chip div { display: grid; gap: 3px; }.user-chip b { font-size: .86rem; }.user-chip small { color: #7891a8; font-size: .66rem; letter-spacing: .05em; }
.menu-button { display: none; color: #fff; background: transparent; border: 0; font-size: 1.35rem; }
.content { padding: clamp(28px, 4vw, 54px); outline: none; }
.welcome-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.welcome-row h2 { margin: 0 0 9px; font-size: 1.9rem; letter-spacing: -.04em; }.welcome-row p:last-child { margin: 0; color: var(--muted); }
.dashboard-tools { display: flex; align-items: center; gap: 22px; }.dashboard-tools label { display: grid; gap: 6px; color: #7891a8; font-size: .72rem; font-weight: 750; }.dashboard-tools select { min-width: 180px; min-height: 38px; padding: 0 34px 0 11px; color: #dce9f5; background: #0c2036; border: 1px solid var(--line); border-radius: 6px; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.live-badge i { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 5px rgba(49,213,200,.1); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric-card { min-height: 158px; display: grid; align-content: space-between; padding: 22px; background: linear-gradient(145deg, rgba(19,43,70,.94), rgba(12,31,52,.94)); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.metric-card span { color: #9cb0c4; font-size: .86rem; }.metric-card b { font-size: 2.5rem; letter-spacing: -.05em; }.metric-card small { color: #617d96; }
.metric-card.good b { color: var(--teal); }.metric-card.attention b { color: #ffc26f; }
.attention-panel { display: grid; grid-template-columns: minmax(190px,.45fr) 1.55fr; gap: 24px; margin-top: 18px; padding: 22px 24px; background: rgba(255,194,111,.045); border: 1px solid rgba(255,194,111,.16); border-radius: 10px; }.attention-panel h3 { margin: 0; }.attention-list { display: grid; gap: 8px; }.attention-list button { min-height: 58px; display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 13px; padding: 10px 13px; color: #dce8f3; background: rgba(7,22,40,.58); border: 1px solid var(--line); border-radius: 7px; text-align: left; }.attention-list button:hover { border-color: rgba(255,194,111,.38); }.attention-list span:nth-child(2) { display: grid; gap: 4px; }.attention-list small { color: #758ea5; }.attention-list i { color: #ffc26f; font-size: .75rem; font-style: normal; }
.empty-state { min-height: 270px; display: grid; place-items: center; align-content: center; margin-top: 18px; padding: 40px; text-align: center; background: rgba(13,32,54,.7); border: 1px dashed rgba(148,177,205,.2); border-radius: 10px; }
.empty-state h3 { margin: 16px 0 7px; }.empty-state p { margin: 0; color: var(--muted); }.empty-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--teal); background: rgba(49,213,200,.09); border-radius: 50%; }
.loading-panel { min-height: 340px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(49,213,200,.2); border-top-color: var(--teal); border-radius: 50%; animation: spin .8s linear infinite; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: 360px; padding: 13px 16px; color: #062124; background: var(--teal); border-radius: 7px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.section-card, .table-card { margin-top: 18px; background: rgba(13,32,54,.76); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.section-card { padding: 26px; }
.section-heading, .page-actions { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.section-heading { margin-bottom: 20px; }.section-heading h3, .page-actions h2 { margin: 0; letter-spacing: -.035em; }.section-heading .eyebrow { margin-bottom: 5px; }
.page-actions { margin-bottom: 24px; }.page-actions h2 { font-size: 1.85rem; }.page-actions p { margin: 8px 0 0; color: var(--muted); }
.hotel-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.hotel-card { min-width: 0; padding: 18px; color: inherit; background: #102640; border: 1px solid var(--line); border-radius: 8px; text-align: left; }
.hotel-card-button { display: block; text-decoration: none; transition: transform .18s, border-color .18s, background .18s; }.hotel-card-button:hover { transform: translateY(-2px); background: #132d4b; border-color: rgba(49,213,200,.42); }.hotel-card-button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }.card-link { display: block; margin-top: 15px; color: var(--teal); font-size: .75rem; font-weight: 750; }
.hotel-card-top { display: flex; align-items: center; justify-content: space-between; }
.hotel-monogram { width: 35px; height: 35px; display: grid; place-items: center; color: var(--teal); background: rgba(49,213,200,.09); border: 1px solid rgba(49,213,200,.18); border-radius: 6px; font-weight: 850; }
.hotel-card h4 { margin: 22px 0 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.hotel-card p { margin: 0 0 13px; color: #8ba4ba; font-family: Consolas, monospace; font-size: .78rem; }.hotel-card small { color: #637e97; }
.secondary-button, .row-button { color: #b8c9d9; background: #102943; border: 1px solid rgba(155,183,209,.22); border-radius: 6px; font-weight: 700; }
.secondary-button { min-height: 40px; padding: 0 16px; }.secondary-button:hover, .row-button:hover { color: #fff; border-color: rgba(49,213,200,.5); }
.primary-button.compact { width: auto; min-height: 42px; padding: 0 17px; gap: 18px; }
.data-table { width: 100%; overflow: auto; }
.table-row { min-width: 940px; display: grid; align-items: center; gap: 18px; min-height: 72px; padding: 12px 20px; border-top: 1px solid var(--line); }
.site-table .table-row { grid-template-columns: minmax(190px, 1.4fr) minmax(130px, .8fr) minmax(150px, 1fr) 120px 80px 210px; }
.user-table .table-row { grid-template-columns: minmax(190px, 1.3fr) 130px 150px 170px 80px 150px; }
.table-row:first-child { border-top: 0; }.table-head { min-height: 46px; color: #6f899f; background: rgba(4,17,31,.42); font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.primary-cell { min-width: 0; display: grid; gap: 5px; }.primary-cell b, .primary-cell small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.primary-cell small { color: #668198; font-size: .7rem; }
.mono { color: #a9c0d3; font-family: Consolas, "SFMono-Regular", monospace; font-size: .82rem; }
.status-chip { display: inline-flex; align-items: center; width: fit-content; padding: 5px 8px; color: #58dfd2; background: rgba(49,213,200,.09); border: 1px solid rgba(49,213,200,.17); border-radius: 999px; font-size: .68rem; font-style: normal; font-weight: 800; }
.status-chip.inactive, .status-chip.disabled { color: #93a5b6; background: rgba(139,157,176,.08); border-color: rgba(139,157,176,.17); }
.status-chip.down, .status-chip.degraded, .status-chip.stale { color: #ffc26f; background: rgba(255,194,111,.08); border-color: rgba(255,194,111,.2); }.status-chip.down { color: var(--danger); background: rgba(255,122,131,.08); border-color: rgba(255,122,131,.2); }.status-chip.not_connected, .status-chip.unknown { color: #8fa4b7; background: rgba(143,164,183,.08); border-color: rgba(143,164,183,.18); }
.status-chip.online { color: #58dfd2; }.status-chip.offline { color: var(--danger); background: rgba(255,122,131,.08); border-color: rgba(255,122,131,.2); }.status-chip.warning { color: #ffc26f; background: rgba(255,194,111,.08); border-color: rgba(255,194,111,.2); }
.row-button { min-height: 32px; padding: 0 10px; font-size: .76rem; }.row-button.danger { color: var(--danger); border-color: rgba(255,122,131,.18); }
.link-button { display: inline-flex; align-items: center; text-decoration: none; }
.row-actions { display: flex; gap: 6px; }
.compact-empty { min-height: 300px; margin: 0; border: 0; background: transparent; }
.card-grid { display: grid; gap: 12px; }
.group-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: start; gap: 18px; padding: 22px; background: rgba(13,32,54,.76); border: 1px solid var(--line); border-radius: 9px; }
.group-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--teal); background: rgba(49,213,200,.08); border-radius: 7px; font-size: 1.2rem; }.group-copy h3 { margin: 2px 0 5px; }.group-copy > p { margin: 0 0 14px; color: var(--muted); }.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }.tag-list span { padding: 5px 8px; color: #a6bed2; background: #0a1b30; border-radius: 5px; font-family: Consolas, monospace; font-size: .72rem; }.tag-list small { color: #657e95; }.card-actions { display: flex; gap: 7px; }

.editor-dialog { width: min(720px, calc(100vw - 32px)); max-height: min(860px, calc(100vh - 32px)); padding: 0; color: var(--text); background: #0d2036; border: 1px solid rgba(153,182,209,.22); border-radius: 11px; box-shadow: 0 36px 100px rgba(0,0,0,.6); }
.editor-dialog::backdrop { background: rgba(1,8,18,.78); backdrop-filter: blur(5px); }
.editor-dialog form { display: flex; flex-direction: column; max-height: inherit; }
.editor-dialog header, .editor-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; }
.editor-dialog header { border-bottom: 1px solid var(--line); }.editor-dialog footer { justify-content: flex-end; border-top: 1px solid var(--line); }
.editor-dialog h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.03em; }.editor-dialog .eyebrow { margin-bottom: 4px; font-size: .62rem; }
.dialog-close { width: 36px; height: 36px; color: #8fa5b8; background: transparent; border: 0; font-size: 1.6rem; }
.dialog-body { overflow: auto; padding: 24px; }.editor-dialog > form > .form-error { padding: 0 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.form-grid .full { grid-column: 1 / -1; }
.form-grid label, .scope-fieldset legend { color: #b6c8d8; font-size: .82rem; font-weight: 750; }
.form-grid input, .form-grid select, .form-grid textarea, .grant-permission { width: 100%; margin-top: 8px; padding: 0 12px; color: #edf6ff; background: #08182b; border: 1px solid rgba(151,180,207,.23); border-radius: 6px; outline: none; }
.form-grid input, .form-grid select { min-height: 44px; }.form-grid textarea { padding-top: 12px; resize: vertical; }.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus, .grant-permission:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(49,213,200,.09); }
.form-grid input:disabled { color: #7890a6; background: #0a192a; }.form-grid label > small { display: block; margin-top: 7px; color: #627d94; font-weight: 400; }
.scope-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 25px; }
.scope-fieldset { min-width: 0; margin: 22px 0 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 7px; }.scope-editor .scope-fieldset { margin: 0; }
.scope-fieldset legend { padding: 0 7px; }.check-row { min-height: 52px; display: flex; align-items: center; gap: 11px; padding: 7px 2px; color: #c1d1df; border-bottom: 1px solid rgba(151,180,207,.09); font-size: .82rem; }.check-row:last-child { border-bottom: 0; }.check-row input { width: 17px; height: 17px; accent-color: var(--teal-deep); }.check-row span { display: grid; gap: 3px; }.check-row small { color: #637f97; font-family: Consolas, monospace; font-size: .68rem; }
.grant-row { display: grid; grid-template-columns: 1fr 86px; align-items: center; gap: 10px; border-bottom: 1px solid rgba(151,180,207,.09); }.grant-row:last-child { border-bottom: 0; }.grant-row .check-row { border: 0; }.grant-permission { min-height: 34px; margin: 0; font-size: .74rem; }
.muted-copy, .inline-note { color: #6e879d; font-size: .8rem; line-height: 1.6; }.inline-note { margin: 22px 0 0; padding: 14px; background: rgba(49,213,200,.06); border: 1px solid rgba(49,213,200,.12); border-radius: 6px; }
.detail-hero { min-height: 220px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 30px; background: radial-gradient(circle at 86% 20%, rgba(49,213,200,.12), transparent 32%), linear-gradient(135deg,#102a47,#0b1e34); border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }.detail-hero.status-degraded, .detail-hero.status-stale { background: radial-gradient(circle at 86% 20%, rgba(255,194,111,.12), transparent 32%), linear-gradient(135deg,#102a47,#0b1e34); }.detail-hero.status-down { background: radial-gradient(circle at 86% 20%, rgba(255,122,131,.13), transparent 32%), linear-gradient(135deg,#102a47,#0b1e34); }.detail-hero h2 { margin: 0 0 9px; font-size: clamp(2rem,4vw,3.4rem); letter-spacing: -.055em; }.detail-hero p:last-child { margin: 0; color: var(--muted); }.back-button { margin: 0 0 28px; padding: 0; color: #91a9bd; background: none; border: 0; font-size: .82rem; font-weight: 700; }.back-button:hover { color: var(--teal); }.hero-status { min-width: 170px; display: grid; justify-items: end; gap: 8px; }.hero-status b { font-size: 3rem; letter-spacing: -.06em; }.hero-status b small { color: #728ca3; font-size: 1.25rem; }.hero-status > span:last-child { color: #7892a9; font-size: .8rem; }
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 18px; }.service-tile { min-height: 105px; display: flex; align-items: center; gap: 15px; padding: 19px; background: rgba(13,32,54,.76); border: 1px solid var(--line); border-radius: 9px; }.service-indicator { width: 10px; height: 38px; flex: 0 0 auto; background: #60778d; border-radius: 999px; }.service-indicator.up { background: var(--teal); box-shadow: 0 0 18px rgba(49,213,200,.25); }.service-indicator.down { background: var(--danger); }.service-indicator.degraded, .service-indicator.stale { background: #ffc26f; }.service-tile div { min-width: 0; display: grid; gap: 5px; }.service-tile small { color: #7892a9; }.service-tile b { font-size: 1.05rem; }.service-tile em { overflow: hidden; color: #617d96; font-size: .68rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.detail-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 18px; }.resource-card, .connection-card { margin-top: 18px; }.resource-row { display: grid; gap: 9px; margin-top: 22px; }.resource-row > div:first-child { display: flex; justify-content: space-between; color: #91a7bb; }.resource-row b { color: #e8f4ff; }.resource-track { height: 9px; overflow: hidden; background: #071628; border-radius: 99px; }.resource-track i { display: block; height: 100%; background: linear-gradient(90deg,var(--teal-deep),var(--teal)); border-radius: inherit; }.connection-card dl { margin: 0 0 22px; }.connection-card dl div { display: grid; grid-template-columns: 110px 1fr; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--line); }.connection-card dt { color: #6f899f; font-size: .76rem; }.connection-card dd { margin: 0; overflow-wrap: anywhere; color: #c9d8e5; font-size: .82rem; }.client-status-card { overflow: hidden; }.client-status-card > .section-heading { padding: 22px 24px 2px; }.client-table .table-row { grid-template-columns: minmax(150px,1fr) 100px 130px minmax(230px,1.4fr) 180px; }.client-table .table-row:not(.table-head):hover { background: rgba(49,213,200,.025); }
.monitoring-launch { display: inline-flex; margin-top: 18px; color: var(--teal); font-size: .84rem; font-weight: 800; text-decoration: none; }.monitoring-launch:hover { color: #70eee3; }
.audit-filters { display: flex; align-items: end; gap: 12px; padding: 16px 18px; background: rgba(13,32,54,.76); border: 1px solid var(--line); border-radius: 9px; }.audit-filters label { min-width: 190px; display: grid; gap: 6px; color: #7891a8; font-size: .74rem; font-weight: 750; }.audit-filters select { min-height: 39px; padding: 0 12px; color: #dce9f5; background: #08182b; border: 1px solid var(--line); border-radius: 6px; }.audit-filters > span { margin: 0 0 10px auto; color: #6f899f; font-size: .76rem; }.audit-table .table-row { min-width: 1180px; grid-template-columns: 170px minmax(180px,1fr) 140px 130px minmax(210px,1fr) 80px 130px; }.audit-action { display: grid; gap: 4px; font-weight: 700; }.audit-action small { color: #607d96; font-family: Consolas,monospace; font-size: .66rem; font-weight: 400; }
.dialog-copy { margin: 0 0 20px; color: #8fa6ba; line-height: 1.65; }.credential-list { display: grid; gap: 8px; }.credential-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 13px; background: #09192c; border: 1px solid var(--line); border-radius: 6px; }.credential-row > div { min-width: 0; display: grid; gap: 5px; }.credential-row b, .credential-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.credential-row small { color: #668096; font-size: .7rem; }.credential-empty { padding: 22px; text-align: center; border: 1px dashed var(--line); border-radius: 6px; }.credential-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }.secret-box { display: grid; gap: 8px; padding: 18px; background: #071628; border: 1px solid rgba(49,213,200,.2); border-radius: 7px; }.secret-box label { margin-top: 7px; color: #7790a6; font-size: .72rem; font-weight: 750; }.secret-box code { overflow-wrap: anywhere; color: #dffdf8; font-family: Consolas, monospace; line-height: 1.55; }.secret-box button { width: fit-content; margin-top: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .login-view { grid-template-columns: 1fr; }.login-brand { display: none; }.login-panel { padding: 30px; }.mobile-brand { display: flex; }
  .portal-view { grid-template-columns: 1fr; }.sidebar { position: fixed; z-index: 50; width: 260px; transform: translateX(-105%); transition: transform .2s; box-shadow: var(--shadow); }.sidebar.open { transform: translateX(0); }
  .menu-button { display: block; }.metric-grid { grid-template-columns: repeat(2, 1fr); }.topbar { min-height: 86px; }.user-chip div { display: none; }
  .hotel-strip, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.scope-editor, .detail-grid, .attention-panel { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .login-panel { align-items: start; padding: 28px 20px; }.mobile-brand { margin-bottom: 70px; }.login-card h2 { font-size: 1.7rem; }
  .content { padding: 26px 18px; }.topbar { padding: 16px 18px; }.welcome-row { align-items: start; flex-direction: column; }.live-badge { order: -1; }
  .metric-grid { grid-template-columns: 1fr; }
  .page-actions, .section-heading, .detail-hero { align-items: start; flex-direction: column; }.dashboard-tools { width: 100%; align-items: end; justify-content: space-between; }.dashboard-tools label { flex: 1; }.dashboard-tools select { width: 100%; }.hotel-strip, .service-grid { grid-template-columns: 1fr; }.hero-status { justify-items: start; }.group-card { grid-template-columns: 42px 1fr; }.group-icon { width: 42px; height: 42px; }.card-actions { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: auto; }.editor-dialog header, .editor-dialog footer, .dialog-body { padding-left: 18px; padding-right: 18px; }
  .audit-filters { align-items: stretch; flex-direction: column; }.audit-filters label { width: 100%; }.audit-filters > span { margin: 4px 0 0; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; } }
