:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  color: #f1f4ff;
  background: #070911;
  --background: #070911;
  --panel: #101522;
  --raised: #171e30;
  --text: #f1f4ff;
  --muted: #a4aec6;
  --subtle: #919cb8;
  --line: #2a334b;
  --accent: #9caaff;
  --green: #9caaff;
  --white: #101522;
  --amber: #f1cb86;
  --chart-grid: #2a334b;
  --chart-down: #a5b4ff;
  --chart-up: #5fe1dc;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #b2beff; outline-offset: 4px;
}
input:focus { outline: 2px solid #98a9ff; outline-offset: 1px; border-color: #98a9ff; }
::selection { background: #5965c5; color: #fff; }
.hidden { display: none !important; }
.loading { padding: 48px; color: var(--muted); }
.brand { display: flex; align-items: center; gap: 11px; font-size: 24px; letter-spacing: -.8px; font-weight: 650; }
.brand-mark { display: block; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 22px #575aff24; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-title small { display: block; font-size: 9px; letter-spacing: 1.5px; font-weight: 500; color: #aab3d2; margin-top: 5px; text-transform: uppercase; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: 1.7px; color: #a7b3d3; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.7; }
.auth { display: grid; grid-template-columns: 1.06fr 1fr; min-height: 100svh; }
.intro { padding: 42px clamp(34px, 4.4vw, 76px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 760px; isolation: isolate; background: radial-gradient(ellipse at 25% 75%, #111345 0, #070918 45%, #05060c 78%); border-right: 1px solid #202840; }
.intro::before { content: ""; position: absolute; z-index: -1; width: 680px; height: 680px; max-width: 130%; right: -205px; bottom: -65px; background: url('/brand/orbit.png') center / contain no-repeat; opacity: .76; mix-blend-mode: screen; pointer-events: none; }
.intro::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #05060cf0 0%, #05060ca6 35%, #05060c44 65%, transparent 100%); pointer-events: none; }
.intro-copy { margin: 68px 0 82px; }
.intro-copy .eyebrow { color: #a3b0ff; font-size: 10px; }
.intro h1 { font-size: clamp(45px, 4.7vw, 76px); font-weight: 500; line-height: 1.1; letter-spacing: -2.8px; margin: 27px 0; text-shadow: 0 3px 24px #05060c; }
.intro h1 em { font-style: normal; color: #aebaff; }
.intro p { font-size: 15px; line-height: 1.85; color: #bcc5df; max-width: 330px; text-shadow: 0 2px 8px #05060c; }
.intro-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 11px; color: #aab4d2; position: relative; }
.company-logo { width: 240px; height: 88px; object-fit: cover; mix-blend-mode: screen; margin-left: -8px; }
.intro-bottom > span { padding-left: 13px; }
.auth-side { padding: 37px 44px 30px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; background: radial-gradient(ellipse at 100% 0%, #151a352e, transparent 55%), #0b0f1a; min-width: 0; }
.auth-context { display: flex; align-items: center; gap: 9px; color: #b6c1de; font-size: 11px; }
.auth-context::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7de2b4; box-shadow: 0 0 12px #7de2b43d; }
.environment { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 24px; padding: 7px 11px; font-size: 11px; font-weight: 500; white-space: nowrap; color: var(--muted); }
.environment i, .pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.auth-form-wrap { width: 100%; max-width: 360px; align-self: center; margin: 70px 0; }
.auth h2 { font-size: 32px; font-weight: 600; letter-spacing: -.9px; margin: 17px 0 12px; }
.auth .muted { margin-bottom: 32px; }
label { display: block; font-size: 13px; font-weight: 550; color: #dce2f2; margin-bottom: 20px; }
input { display: block; width: 100%; margin-top: 10px; background: #0a0f1c; border: 1px solid #3b4663; border-radius: 9px; min-height: 48px; padding: 12px 14px; color: var(--text); min-width: 0; }
input::placeholder { color: #919cb8; font-size: 13px; opacity: 1; }
input[readonly] { color: #c7d1e9; background: #12192a; border-color: #323d57; }
input:-webkit-autofill { -webkit-text-fill-color: #f1f4ff; box-shadow: 0 0 0 1000px #12192a inset; caret-color: #fff; }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 15px; padding: 12px 17px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; line-height: 1.4; font-weight: 600; transition: background .16s, border-color .16s, box-shadow .16s; }
.button.primary { background: linear-gradient(120deg, #5c64df, #4654c9); color: #fff; border-color: #7a87fa66; box-shadow: 0 4px 18px #353bc22b; }
.button.primary:hover:enabled { background: #5964df; box-shadow: 0 5px 23px #535deb40; }
.button.secondary { background: #171f32; border-color: #3a4764; color: #e2e8ff; }
.button.secondary:hover:enabled { background: #202b44; border-color: #7185bc; }
.button.full { width: 100%; justify-content: space-between; }
.auth .button { margin-top: 6px; min-height: 49px; }
.auth-footer { font-size: 12px; color: #9da9c5; line-height: 1.75; margin-top: 24px; text-align: center; }
.auth-footnote { width: 100%; display: flex; justify-content: space-between; color: #939fbc; font-size: 10px; letter-spacing: 1.3px; gap: 15px; }
.field-note { font-size: 12px; line-height: 1.75; color: #a6b2cd; font-weight: 400; }
.error { font-size: 13px; color: #ffb9c1; line-height: 1.6; padding: 12px; background: #361c2a; border: 1px solid #7b3d51; border-radius: 8px; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0, 1fr); background: radial-gradient(ellipse at 85% 0, #151b382e, transparent 55%), var(--background); }
.sidebar { background: #0a0e19; border-right: 1px solid var(--line); padding: 30px 20px 22px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.sidebar .brand { font-size: 22px; gap: 9px; }
.sidebar .brand-mark { width: 40px; height: 40px; }
.workspace-label { font-size: 10px; letter-spacing: 1.1px; color: #a1adca; margin: 38px 10px 19px; display: flex; align-items: center; gap: 10px; }
.workspace-label span { font-size: 9px; letter-spacing: .5px; padding: 4px 6px; border: 1px solid #394462; border-radius: 5px; color: #bdc8e5; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; background: transparent; border: 1px solid transparent; border-radius: 9px; text-align: left; padding: 13px 11px; margin-bottom: 6px; font-size: 13px; color: #adb9d5; min-height: 47px; white-space: nowrap; }
.nav-item > span { font-size: 19px; width: 21px; text-align: center; line-height: 1; display: inline-flex; }
.nav-item svg { width: 20px; height: 20px; }
.nav-item:hover { color: #eff2ff; background: #151c2d; }
.nav-item.active { background: linear-gradient(110deg, #222b52, #17213c); border-color: #4c5c9d; color: #dce3ff; font-weight: 600; }
.nav-item b { margin-left: auto; font-size: 11px; background: #354273; color: #e5eaff; padding: 3px 7px; border-radius: 5px; }
.sidebar-note { margin-top: auto; padding: 28px 11px; }
.sidebar-note .eyebrow { font-size: 9px; letter-spacing: 1.1px; }
.sidebar-note strong { display: block; font-size: 16px; font-weight: 550; line-height: 1.5; margin-top: 13px; color: #dfe6fb; }
.sidebar-note p { font-size: 12px; line-height: 1.8; color: #a1afcc; margin-top: 12px; }
.sidebar-user { border-top: 1px solid var(--line); padding-top: 19px; display: flex; gap: 10px; align-items: center; }
.avatar { width: 35px; height: 35px; background: #263356; border: 1px solid #475b8e; display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 50%; color: #d5dfff; flex-shrink: 0; }
.sidebar-user strong { font-size: 12px; display: block; font-weight: 600; max-width: 104px; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user div > span { font-size: 11px; color: #a3b0cc; display: block; margin-top: 5px; }
.icon-button { display: flex; align-items: center; justify-content: center; border: 1px solid transparent; background: transparent; font-size: 23px; color: #b6c1db; width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; }
.icon-button:hover { background: #1b253c; border-color: #3f5076; color: #fff; }
.sidebar-user .icon-button { margin-left: auto; }
.main-content { padding: 0 clamp(24px, 3.3vw, 56px); min-width: 0; width: 100%; max-width: 1580px; margin: 0 auto; }
.topbar { min-height: 80px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.breadcrumb { font-size: 12px; color: #9caac8; display: flex; gap: 13px; align-items: center; }
.breadcrumb strong { font-weight: 500; color: #d9e2f8; }
.breadcrumb > span { color: #8291af; }
.topbar-right { display: flex; align-items: center; gap: 13px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 37px 0 28px; }
.page-heading h1 { font-size: 31px; font-weight: 600; letter-spacing: -.9px; margin: 12px 0 10px; }
.page-heading p { margin: 0; font-size: 13px; }
.pill { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; border-radius: 6px; border: 1px solid transparent; padding: 7px 10px; font-size: 11px; font-weight: 550; line-height: 1.3; }
.pill.amber { background: #302817; color: #f1cb86; border-color: #6c552d; }
.pill.green { background: #112d29; color: #89e5bf; border-color: #2a6251; }
.pill.neutral { background: #1b2437; color: #b3c0dc; border-color: #3a4867; }
.notice { border: 1px solid #63542f; background: #272319; padding: 18px 21px; border-radius: 11px; display: flex; align-items: center; gap: 15px; margin: 0 0 26px; }
.notice-icon { font-size: 23px; color: #e8c580; align-self: flex-start; }
.notice strong { font-size: 13px; font-weight: 600; color: #f3d49c; }
.notice p { font-size: 12px; line-height: 1.75; color: #d1c2a4; margin: 6px 0 0; }
.step-label { margin-left: auto; white-space: nowrap; font-size: 10px; color: #cfbd91; letter-spacing: 1px; }
.access-grid { display: grid; grid-template-columns: minmax(300px, 1.06fr) minmax(290px, 1fr); gap: 24px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 28px #00000015; }
.access-card { padding: 26px 29px; position: relative; overflow: hidden; }
.access-card::before { content: ""; height: 1px; position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(90deg, transparent, #8292ff, transparent); opacity: .6; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-top .eyebrow { font-size: 10px; letter-spacing: 1.3px; }
.access-symbol { margin: 28px 0 23px; width: 55px; height: 55px; border-radius: 15px; background: linear-gradient(135deg, #2b3566, #1a2340); border: 1px solid #485c9a; color: #c3cfff; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.card h2 { font-weight: 600; font-size: 21px; letter-spacing: -.4px; margin: 0 0 11px; color: #edf1ff; }
.access-card .muted { font-size: 13px; line-height: 1.8; max-width: 400px; margin: 0 0 27px; }
.access-card label { font-size: 13px; }
.access-card .field-note { font-size: 12px; margin-bottom: 0; }
.access-aside { display: flex; flex-direction: column; gap: 21px; }
.guide-card { padding: 28px; }
.guide-card .eyebrow { font-size: 10px; letter-spacing: 1.3px; }
.guide-card h2 { margin-top: 14px; }
.steps { list-style: none; padding: 0; margin: 27px 0 0; }
.steps li { display: flex; gap: 16px; position: relative; padding-bottom: 27px; }
.steps li:last-child { padding-bottom: 0; }
.steps li > span { font-size: 11px; width: 31px; height: 31px; border: 1px solid #53618a; border-radius: 50%; color: #ccd6f6; display: flex; justify-content: center; align-items: center; flex-shrink: 0; background: #19223a; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; height: calc(100% - 31px); width: 1px; background: #36425f; position: absolute; left: 15px; top: 31px; }
.steps strong { display: block; font-size: 13px; margin-top: 5px; font-weight: 600; color: #e2e9fa; }
.steps p { font-size: 12px; color: #aab7d2; line-height: 1.75; margin: 7px 0 0; }
.browser-note { background: #121b34; padding: 23px 25px; display: flex; gap: 14px; border: 1px solid #384a77; border-radius: 13px; }
.browser-note > span { font-size: 23px; color: #a5b8ff; }
.browser-note strong { font-size: 13px; font-weight: 600; color: #e0e8ff; }
.browser-note p { font-size: 12px; line-height: 1.8; color: #b0bedb; margin: 9px 0 0; }
.page-footer { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: #9aa7c3; margin: 40px 0 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.metric { padding: 24px; min-width: 0; }
.metric > span { font-size: 13px; color: #b7c2db; }
.metric strong { display: block; font-size: 33px; letter-spacing: -.9px; font-weight: 550; margin: 15px 0; color: #f3f5ff; font-variant-numeric: tabular-nums; }
.metric p { font-size: 11px; line-height: 1.6; color: #9caac6; margin: 0; }
.table-card { padding: 26px 0 0; overflow: hidden; }
.table-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 0 26px 23px; }
.table-heading h2 { font-size: 20px; }
.table-heading p { font-size: 12px; margin: 7px 0 0; }
.table-heading .button { font-size: 12px; }
.table-scroll { overflow-x: auto; scrollbar-color: #47597f #111827; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { font-size: 11px; font-weight: 600; letter-spacing: .2px; color: #bec9e2; background: #151d2e; padding: 15px 20px; border-top: 1px solid #303c56; border-bottom: 1px solid #303c56; }
td { padding: 21px 20px; font-size: 13px; color: #d8e1f6; border-bottom: 1px solid #263149; line-height: 1.5; }
tbody tr:hover { background: #162034; }
td small { display: block; font-size: 11px; color: #a8b6d1; margin-top: 7px; }
td strong { font-weight: 600; color: #f1f4ff; }
.table-note { font-size: 12px; line-height: 1.8; color: #a7b4ce; padding: 3px 26px 17px; }
.table-actions { display: flex; gap: 13px; }
.text-button { border: 0; background: none; font-size: 12px; min-height: 38px; padding: 8px 0; color: #bac6ff; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-button.danger { color: #ffb4bf; }
.device-details { font-size: 12px; line-height: 1.95; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 22px; color: #b6c3de; font-variant-numeric: tabular-nums; }
.export-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.export-actions .button { font-size: 12px; min-height: 42px; padding: 10px 12px; }
.exports details { margin-top: 17px; font-size: 13px; color: #b9c8ff; }
.exports summary { cursor: pointer; padding: 9px 0; }
.exports img { width: 210px; max-width: 100%; display: block; margin-top: 12px; background: #fff; border: 10px solid #fff; border-radius: 10px; }
.access-card > .text-button { margin-top: 10px; }
#replace-self { margin-top: 22px; justify-content: center; }
dialog { border: 1px solid #52638b; border-radius: 16px; width: 460px; max-width: calc(100% - 32px); padding: 28px; color: var(--text); background: #121a2b; box-shadow: 0 30px 100px #0009; max-height: calc(100svh - 40px); overflow-y: auto; }
dialog::backdrop { background: #030711c7; backdrop-filter: blur(5px); }
dialog h2 { font-size: 22px; letter-spacing: -.5px; font-weight: 600; margin: 0; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 14px; }
dialog .muted { font-size: 14px; margin-bottom: 25px; color: #bfcae3; }
dialog .button.full { justify-content: center; }
.dialog-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 27px; }
#invite-result { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 22px; }
#invite-url { font-size: 12px; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 30px); background: #25345a; color: #f4f7ff; border: 1px solid #6c82b7; font-size: 13px; line-height: 1.65; border-radius: 11px; padding: 14px 22px; z-index: 10; box-shadow: 0 10px 35px #0008; }
.toast.bad { background: #4b2332; border-color: #a96076; }
.traffic-card { padding: 25px 0 22px; margin-bottom: 24px; }
.traffic-chart { padding: 0 26px; min-height: 140px; display: flex; align-items: center; }
.traffic-chart svg { display: block; width: 100%; max-height: 185px; }
.traffic-chart p { font-size: 13px; }
.chart-legend { padding: 0 26px; display: flex; align-items: center; gap: 21px; color: #acbad5; font-size: 12px; flex-wrap: wrap; }
.chart-legend .legend-down { color: var(--chart-down); }
.chart-legend .legend-up { color: var(--chart-up); }
.chart-legend span:last-child { margin-left: auto; }
#vpn-data-status { font-variant-numeric: tabular-nums; }
@media (min-width: 1500px) {
  .page-heading { margin-top: 45px; }
  .access-card { padding: 31px 35px; }
}
@media (max-width: 1120px) {
  .shell { grid-template-columns: 220px minmax(0, 1fr); }
  .sidebar { padding: 26px 14px 20px; }
  .sidebar .brand { font-size: 20px; }
  .main-content { padding: 0 25px; }
  .access-grid { grid-template-columns: 1fr; }
  .access-aside { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .step-label { display: none; }
  .page-heading { align-items: flex-start; }
  .metrics { gap: 12px; }
  .metric { padding: 22px 18px; }
  .intro { padding: 38px; }
  .intro::before { width: 600px; height: 600px; right: -220px; }
  .auth-side { padding: 35px; }
  .guide-card, .browser-note { padding: 24px; }
}
@media (max-width: 760px) {
  .auth { grid-template-columns: 1fr; }
  .intro { min-height: 305px; padding: 23px 26px; border-right: 0; border-bottom: 1px solid #2a3354; }
  .intro::before { width: 310px; height: 310px; max-width: none; right: -67px; bottom: -45px; opacity: .7; }
  .intro-copy { margin: 34px 0 12px; }
  .intro h1 { font-size: 38px; letter-spacing: -1.6px; line-height: 1.13; margin: 0; }
  .intro h1 br:first-child { display: none; }
  .intro-copy > .eyebrow, .intro-bottom, .intro p { display: none; }
  .auth-side { min-height: 550px; padding: 25px 26px; align-items: flex-start; }
  .auth-form-wrap { margin: 39px 0 52px; max-width: 430px; }
  .auth h2 { font-size: 29px; }
  .auth-footnote { font-size: 9px; }
  .shell { display: block; }
  .sidebar { height: auto; position: static; padding: 18px 18px 0; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
  .sidebar .brand { font-size: 21px; }
  .sidebar .brand-mark { width: 38px; height: 38px; }
  .workspace-label, .sidebar-note { display: none; }
  .sidebar-user { grid-column: 2; grid-row: 1; border: 0; padding: 0; gap: 6px; }
  .sidebar-user > div { display: none; }
  .sidebar-user .avatar { width: 31px; height: 31px; font-size: 12px; }
  .sidebar-user .icon-button { width: 38px; height: 42px; }
  .sidebar nav { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 21px; padding-bottom: 15px; }
  .nav-item { width: 100%; min-width: 0; margin: 0; border-radius: 8px; padding: 12px 10px; font-size: 12px; gap: 8px; }
  .nav-item > span { display: inline-flex; width: 19px; }
  .nav-item b { margin-left: 0; font-size: 10px; }
  .main-content { padding: 0 18px; }
  .topbar { min-height: 61px; }
  .breadcrumb { font-size: 11px; gap: 8px; }
  .topbar-right { gap: 6px; }
  .topbar-right .environment { display: none !important; }
  .page-heading { margin: 27px 0 23px; display: block; }
  .page-heading h1 { font-size: 28px; }
  .page-heading p { font-size: 13px; line-height: 1.8; }
  .page-heading > .pill { margin-top: 17px; }
  .notice { padding: 16px; margin-bottom: 21px; }
  .notice p { font-size: 12px; }
  .access-aside { display: flex; }
  .access-grid { gap: 20px; }
  .access-card { padding: 24px 22px; }
  .card-top .eyebrow { font-size: 9px; letter-spacing: 1.1px; }
  .card h2 { font-size: 21px; }
  .metrics { grid-template-columns: 1fr; gap: 12px; }
  .metric { padding: 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .metric strong { font-size: 27px; margin: 0; grid-column: 2; grid-row: 1 / 3; }
  .metric p { margin-top: 8px; }
  .table-heading { padding: 0 20px 23px; flex-wrap: wrap; align-items: flex-start; }
  .table-heading h2 { font-size: 20px; }
  .table-heading p { max-width: 270px; }
  .table-heading .button { padding: 10px 13px; font-size: 12px; }
  .page-footer { font-size: 10px; line-height: 1.8; flex-wrap: wrap; }
  th, td { padding: 16px 18px; }
  .table-note { padding: 3px 20px 17px; }
  .traffic-chart { padding: 0 20px; }
  .chart-legend { padding: 0 20px; font-size: 11px; gap: 12px; }
  .chart-legend span:last-child { margin-left: 0; width: 100%; }
  #vpn-data-status { font-size: 10px; }
  .dialog-actions { flex-wrap: wrap; }
  .dialog-actions .button { flex: 1; }
  dialog { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.devices-overview { padding: 25px 0; margin-bottom: 25px; }
.devices-overview .table-heading { padding-bottom: 17px; }
.device-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 13px; padding: 0 26px; }
.device-list > p { margin: 0; }
.device-tile { min-width: 0; text-align: left; color: var(--text); background: #111a2c; border: 1px solid #354461; border-radius: 11px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.device-tile:hover { border-color: #8197db; background: #19233d; }
.device-tile.selected { background: #1b2544; border-color: #8497eb; box-shadow: inset 0 0 0 1px #8497eb44; }
.device-tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 9px; margin-bottom: 5px; }
.device-tile-top strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.device-tile-top .pill { font-size: 10px; padding: 5px 7px; }
.device-tile-meta { display: block; font-size: 12px; line-height: 1.6; color: #b9c6e2; overflow-wrap: anywhere; }
.device-tile-link { color: #c5d1ff; font-size: 12px; margin-top: 6px; }
.connection-history { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 15px; }
.connection-history summary { font-size: 13px; color: #c6d2f3; cursor: pointer; padding: 8px 0; }
.connection-row { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid #2d3a53; padding: 12px 0; font-size: 12px; color: #afbedb; overflow-wrap: anywhere; }
.connection-row strong { color: #e6edff; font-weight: 550; }
.connection-guide { margin-top: 26px; padding: 28px; }
.connection-guide > h2 { margin-top: 13px; }
.connection-guide > .muted { max-width: 750px; }
.client-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }
.connection-methods { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 23px; }
.connection-methods h3 { font-size: 15px; line-height: 1.5; margin: 0 0 12px; color: #e5ebff; }
.connection-methods p { font-size: 13px; color: #b6c4df; line-height: 1.85; }
.connection-methods a { font-size: 12px; line-height: 1.7; color: #bbcbff; text-decoration: underline; text-underline-offset: 4px; }
.table-actions { flex-wrap: wrap; }
@media (max-width: 1000px) { .connection-methods { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 760px) {
  .device-list { grid-template-columns: 1fr; padding: 0 20px; }
  .devices-overview .table-heading { padding-bottom: 20px; }
  .connection-guide { padding: 23px; }
  .client-links { flex-direction: column; }
  .client-links .button { justify-content: center; }
}
