:root {
  --ink: #162231;
  --ink-soft: #39475a;
  --muted: #69778a;
  --paper: #f4f5f1;
  --surface: #ffffff;
  --surface-soft: #edf0eb;
  --line: #dce1da;
  --blue: #1769e0;
  --blue-deep: #0f51b8;
  --blue-soft: #eaf2ff;
  --navy: #0d1b2a;
  --navy-soft: #172a40;
  --green: #167f5a;
  --green-soft: #e5f5ee;
  --amber: #f6c15d;
  --shadow: 0 18px 50px rgba(20, 36, 52, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(23, 105, 224, 0.08), transparent 28rem),
    radial-gradient(circle at 96% 34%, rgba(246, 193, 93, 0.12), transparent 24rem),
    var(--paper);
  font-family: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
svg { display: block; }
code, kbd, pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(22, 34, 49, 0.08);
  background: rgba(244, 245, 241, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 7px;
  border-radius: 10px;
  background: var(--navy);
  box-shadow: 0 8px 18px rgba(13, 27, 42, 0.16);
}
.brand-mark i {
  display: block;
  border-radius: 2px;
  background: #fff;
  opacity: .95;
}
.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) { background: #9ec3ff; }
.brand-mark.small { width: 34px; height: 34px; padding: 6px; }

.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 14px; letter-spacing: -.01em; }
.brand-copy small { color: var(--muted); font-size: 11px; margin-top: 4px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 3px;
  border-radius: 2px;
  background: var(--blue);
}

.network-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #cfe5da;
  border-radius: 999px;
  background: #f1faf5;
  color: #267456;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logout-button {
  min-height: 31px;
  padding: 0 9px;
  border: 1px solid #d8ded8;
  border-radius: 7px;
  background: transparent;
  color: #7b8792;
  font-size: 9px;
  cursor: pointer;
}
.logout-button:hover { color: var(--ink); border-color: #bbc6be; }
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21a56f;
  box-shadow: 0 0 0 4px rgba(33, 165, 111, .12);
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(33, 165, 111, .04); }
}

.hero { padding: 78px 0 92px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  align-items: center;
  gap: 72px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker span { color: var(--blue-deep); }
.kicker i {
  width: 26px;
  height: 1px;
  background: #b8c2be;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(50px, 6.5vw, 86px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 750;
}
.hero h1 span { color: var(--blue); }
.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 24px rgba(13, 27, 42, .14); }
.button-primary:hover { background: #172c43; }
.button-secondary { border-color: #cbd2cd; background: rgba(255,255,255,.62); }
.button-secondary:hover { background: #fff; border-color: #b8c2bd; }

.hero-metrics {
  display: flex;
  gap: 0;
  margin: 43px 0 0;
  padding: 0;
}
.hero-metrics div {
  display: grid;
  gap: 2px;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.hero-metrics div:first-child { padding-left: 0; border-left: 0; }
.hero-metrics dt {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.hero-metrics dd { margin: 0; color: var(--muted); font-size: 11px; }

.server-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 7%, rgba(64, 133, 236, .30), transparent 45%),
    linear-gradient(145deg, #102239, #0c1a2a 72%);
  color: #fff;
  box-shadow: 0 30px 70px rgba(13, 27, 42, .20);
}
.server-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -100px;
  bottom: -110px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.server-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 1;
}
.server-icon {
  width: 43px;
  height: 43px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}
.server-icon span {
  height: 3px;
  border-radius: 3px;
  background: #86b7ff;
}
.micro-label {
  margin: 0 0 4px;
  color: #71829a;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.server-card .micro-label { color: #8fa3bb; }
.server-card-head h2 { margin: 0; font-size: 18px; line-height: 1.2; }
.server-state {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9be7c8;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
}
.server-state i { width: 6px; height: 6px; border-radius: 50%; background: #4dd89b; }
.server-note {
  position: relative;
  z-index: 1;
  margin: 22px 0 16px;
  color: #9cacc0;
  font-size: 12px;
}
.address-list { display: grid; gap: 8px; }
.address-list a {
  display: grid;
  grid-template-columns: 74px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  background: rgba(255,255,255,.045);
  color: #fff;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.address-list a:hover { background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.16); }
.address-list span { color: #8094ad; font-size: 8.5px; font-weight: 750; letter-spacing: .09em; }
.address-list code { font-size: 12px; color: #e3ebf5; }
.address-list svg { width: 17px; height: 17px; fill: none; stroke: #89a0b9; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.server-details {
  display: grid;
  gap: 10px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.server-details div { display: flex; justify-content: space-between; gap: 18px; }
.server-details span { color: #8194ab; font-size: 10px; }
.server-details code { color: #c6d3e2; font-size: 10px; text-align: right; }

.section { padding: 76px 0; }
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.section-label span {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.section h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.office-section { padding-top: 28px; }
.office-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .62fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(22,34,49,.06);
}
.office-main {
  padding: clamp(32px, 5vw, 60px);
}
.office-heading {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.4vw, 42px);
}
.office-roundel {
  flex: 0 0 auto;
  width: clamp(88px, 10vw, 118px);
  height: clamp(88px, 10vw, 118px);
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 32% 28%, #5d9aff 0, transparent 38%),
    linear-gradient(145deg, #246fdf, #0d50b8);
  color: #fff;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.065em;
  box-shadow: 0 20px 38px rgba(23,105,224,.24), inset 0 1px 0 rgba(255,255,255,.35);
}
.office-heading h2 { margin-bottom: 16px; font-size: clamp(38px, 4.2vw, 56px); }
.office-heading h2 em { color: var(--blue); font-style: normal; font-weight: 650; }
.office-heading p { max-width: 560px; margin: 0; color: var(--ink-soft); font-size: 15px; }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}
.badge-row span {
  padding: 5px 10px;
  border: 1px solid #dbe3dc;
  border-radius: 999px;
  background: #f7f8f5;
  color: #546170;
  font-size: 10px;
  font-weight: 650;
}
.office-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button-light {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 26px rgba(23,105,224,.22);
}
.button-light:hover { background: var(--blue-deep); }
.button-light span {
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.28);
  color: #d8e8ff;
  font-size: 11px;
}
.button-outline-light { border-color: #cdd5cf; background: #fff; color: var(--ink-soft); }
.button-outline-light span {
  padding-left: 10px;
  border-left: 1px solid #dfe4de;
  color: #8a96a2;
  font-size: 10px;
}
.button-outline-light:hover { border-color: #aeb9b2; background: #f9faf7; }
.quick-help {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}
.office-hash {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e6eae4;
}
.office-hash > span { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .08em; }
.office-hash code {
  overflow: hidden;
  color: #566374;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.icon-copy {
  padding: 5px 8px;
  border: 1px solid #dce1db;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 9px;
  cursor: pointer;
}
.icon-copy:hover { color: var(--blue); border-color: #b9cdf0; }

.optional-project {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 25px;
  padding: 17px 18px;
  border: 1px solid #e2d9c7;
  border-radius: 13px;
  background: #fffaf0;
}
.optional-project-copy { flex: 1; min-width: 0; }
.optional-tag {
  display: inline-block;
  margin-bottom: 5px;
  color: #9a6c20;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}
.optional-project h3 { margin: 0 0 3px; font-size: 12px; }
.optional-project p { margin: 0; color: #7b715f; font-size: 10.5px; line-height: 1.55; }
.optional-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #d9c9a9;
  border-radius: 8px;
  background: #fff;
  color: #75551d;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}
.optional-action:hover { background: #fff4dc; border-color: #c6ae7d; }
.optional-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.office-spec {
  padding: 34px 30px;
  border-left: 1px solid #e8ebe6;
  background: #f7f8f5;
}
.spec-list { margin: 22px 0 0; display: grid; gap: 0; }
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #e0e4df;
}
.spec-list dt { color: var(--muted); font-size: 11px; }
.spec-list dd { margin: 0; color: var(--ink); font-size: 11px; font-weight: 650; text-align: right; }
.office-file-links { display: grid; gap: 1px; margin-top: 24px; }
.office-file-links a {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}
.office-file-links a:hover { color: var(--blue); }
.office-file-links span { color: #9ba7b4; }
.license-note {
  margin: 26px 0 0;
  padding: 14px;
  border: 1px solid #e4dac5;
  border-radius: 10px;
  background: #fff9ed;
  color: #78684d;
  font-size: 10.5px;
  line-height: 1.55;
}

.install-section { padding-top: 100px; }
.split-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 42px;
}
.split-heading > p, .apps-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.install-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: start;
}
.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.install-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.install-steps li:first-child { padding-top: 0; }
.step-no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
}
.install-steps h3 { margin: 1px 0 5px; font-size: 14px; }
.install-steps p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.install-steps code { padding: 1px 4px; background: #e9ede8; border-radius: 4px; font-size: .92em; }

.command-stack { display: grid; gap: 14px; }
.command-card {
  overflow: hidden;
  border: 1px solid #263a50;
  border-radius: var(--radius-md);
  background: #101e2f;
  box-shadow: 0 22px 50px rgba(13,27,42,.14);
}
.command-head {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #8da1b8;
  font-size: 10px;
}
.command-head > div { display: flex; gap: 5px; }
.command-dot { width: 7px; height: 7px; border-radius: 50%; }
.red { background: #ee6b63; }
.amber { background: #eebd5c; }
.green { background: #55bd82; }
.command-head > span { margin-right: auto; letter-spacing: .02em; }
.copy-button {
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  background: rgba(255,255,255,.045);
  color: #aebed0;
  font-size: 9px;
  cursor: pointer;
}
.copy-button:hover { color: #fff; background: rgba(255,255,255,.09); }
.command-card pre {
  margin: 0;
  padding: 22px 20px 24px;
  overflow-x: auto;
  color: #d5e2f0;
  font-size: 11.5px;
  line-height: 1.8;
  tab-size: 4;
}
.command-card code { font-family: inherit; }
.note-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid #d9e4da;
  border-radius: var(--radius-md);
  background: #f8fbf7;
}
.note-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}
.note-card h3 { margin: 1px 0 4px; font-size: 12px; }
.note-card p { margin: 0; color: var(--muted); font-size: 11.5px; }
.note-card code { color: var(--ink-soft); font-size: .93em; }

.apps-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.38);
}
.apps-heading {
  display: grid;
  grid-template-columns: 1fr .75fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 36px;
}
.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.search-box {
  width: min(360px, 100%);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #d6dcd5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(22,34,49,.03);
}
.search-box svg { width: 17px; height: 17px; fill: none; stroke: #84919f; stroke-width: 1.6; stroke-linecap: round; }
.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}
.search-box input::placeholder { color: #9aa6b3; }
.search-box kbd {
  padding: 2px 6px;
  border: 1px solid #dce1dc;
  border-radius: 4px;
  color: #9aa6b3;
  font-size: 9px;
  background: #f8f9f6;
}
.filter-row { display: flex; gap: 6px; }
.filter-chip {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d8ddd7;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  cursor: pointer;
}
.filter-chip:hover { border-color: #b8c2bc; color: var(--ink); }
.filter-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.app-remote-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -6px 0 22px;
  padding: 11px 14px;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: #f7fbff;
}
.app-remote-control {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.app-remote-control > span { color: var(--ink-soft); font-size: 9.5px; font-weight: 700; }
.app-remote-control select {
  min-height: 31px;
  max-width: 250px;
  padding: 0 8px;
  border: 1px solid #d1dde9;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 9.5px;
}
.app-remote-control a { color: var(--blue-deep); font-size: 9px; text-decoration: none; white-space: nowrap; }
.app-remote-hint { color: var(--muted); font-size: 9px; text-align: right; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.app-card {
  display: flex;
  flex-direction: column;
  min-height: 258px;
  padding: 22px;
  border: 1px solid #dfe3de;
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.app-card:hover {
  transform: translateY(-3px);
  border-color: #cbd4cd;
  box-shadow: 0 18px 38px rgba(22,34,49,.08);
}
.app-card[hidden] { display: none; }
.app-card-top { display: flex; align-items: center; justify-content: space-between; }
.app-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.icon-winrar { background: #fff url("icons/winrar.png") center/78% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-seven { background: #fff url("icons/7zip.svg") center/74% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-vlc { background: #fff url("icons/vlcmediaplayer.svg") center/74% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-vlc span { display: none; }
.icon-chrome { background: #fff url("icons/googlechrome.svg") center/74% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-chrome span { display: none; }
.icon-firefox { background: #fff url("icons/firefox.svg") center/76% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-office { background: #fff url("icons/microsoft365.png") center/76% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-project { background: #fff url("icons/microsoftproject.svg") center/76% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-sap { background: #fff url("icons/sap.svg") center/72% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-acrobat { background: #fff url("icons/adobe-reader.png") center/76% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-teamviewer { background: #fff url("icons/teamviewer.svg") center/72% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-java { background: #fff url("icons/java.svg") center/72% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }
.icon-vcpp { background: #fff url("icons/cplusplus.svg") center/72% no-repeat; color: transparent; font-size: 0; box-shadow: inset 0 0 0 1px #eceff2; }

.pcaccess-page { background: #f7f9f6; }
.pcaccess-page .header-inner { gap: 18px; }
.pc-count { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 650; }
.pc-main { padding: 62px 0 96px; }
.pc-head { margin-bottom: 26px; }
.pc-head h1 { margin: 6px 0 8px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; }
.pc-lead { margin: 0; max-width: 580px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.pc-table { border: 1px solid #dce2dc; border-radius: 16px; background: #fff; overflow: hidden; }
.pc-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.15fr) minmax(0, .75fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid #eef1ee;
}
.pc-row:last-child { border-bottom: 0; }
.pc-row:hover { background: #fafcfa; }
.pc-row-name strong { display: block; font-size: 14px; letter-spacing: -.01em; }
.pc-row-name span { display: block; margin-top: 4px; color: #93a0aa; font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; }
.pc-row-address code {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  background: #f3f6f9;
  color: #33465a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.pc-row-seen { color: #7c8a96; font-size: 11px; }
.pc-row-state { color: #1f9b63; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.pc-row-actions { display: flex; gap: 8px; }
.pc-action {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #d3dfe9;
  border-radius: 7px;
  background: #f6faff;
  color: #2d4a66;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.pc-action:hover { background: #eaf3ff; border-color: #b5cde7; }
.pc-empty { padding: 36px 22px; color: #8492a0; font-size: 12.5px; text-align: center; }
.pc-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 14px);
  padding: 10px 16px;
  border-radius: 9px;
  background: #0d1b2a;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 50;
}
.pc-toast.visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) {
  .pc-row { grid-template-columns: 1fr; gap: 8px; }
  .pc-row-actions { justify-content: flex-start; }
}

.local-install-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #d7e7dc;
  border-radius: 6px;
  background: #f2fbf5;
  color: #1f6b45;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.local-install-link:hover { border-color: #b6dcc6; background: #e8f7ee; }

.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(13, 27, 42, .5);
  backdrop-filter: blur(3px);
}
.confirm-overlay[hidden] { display: none; }
.confirm-card {
  width: 100%;
  max-width: 440px;
  padding: 26px 28px 24px;
  border: 1px solid #dce2dc;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(13, 27, 42, .22);
}
.confirm-kicker {
  margin: 0 0 8px;
  color: #8492a0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.confirm-card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; }
.confirm-text { margin: 0 0 20px; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; }
.confirm-cancel, .confirm-ok {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.confirm-cancel { border: 1px solid #d7e0e7; background: #fff; color: #4b5a67; }
.confirm-cancel:hover { background: #f3f6f9; }
.confirm-ok { border: 1px solid #1f5fb8; background: #1f6fe0; color: #fff; }
.confirm-ok:hover { background: #1a5fc4; }
.install-status { color: #4b5a67; font-size: 11px; font-weight: 600; }
.install-status.busy { color: #1f6fe0; }
.install-cancel {
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #e3c4c4;
  border-radius: 6px;
  background: #fff4f4;
  color: #a33;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.install-cancel:hover { background: #ffe9e9; }

/* ---- rebuilt component styles ---- */
.section-heading { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 48px; align-items: end; margin-bottom: 34px; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; line-height: 1.12; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 12.5px; line-height: 1.7; max-width: 48ch; }

.app-actions { display: flex; align-items: center; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.app-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 21px; }
.app-meta span { padding: 2px 6px; border-radius: 4px; background: #f2f4f0; color: #7a8794; font-size: 8.5px; font-weight: 650; letter-spacing: .02em; }
.verified-mark { display: inline-flex; align-items: center; gap: 5px; color: #7d8a97; font-size: 8.5px; font-weight: 650; }
.verified-mark i { width: 6px; height: 6px; border-radius: 50%; background: #23a571; }
.download-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 11px; font-weight: 750; text-decoration: none; }
.download-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.download-link:hover { color: var(--blue); }
.remote-card-button { margin-left: auto; min-height: 27px; padding: 0 9px; border: 1px solid #d3dfe9; border-radius: 6px; background: #f4f9ff; color: #33506b; font: inherit; font-size: 9.5px; font-weight: 700; cursor: pointer; }
.remote-card-button:hover { border-color: #b5cde7; background: #eaf3ff; }
.remote-card-button:disabled { opacity: .45; cursor: default; }
.empty-state { margin: 40px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.local-install-link { white-space: nowrap; }

.test-files-section { padding-top: 82px; border-top: 1px solid var(--line); }
.test-files-heading { margin-bottom: 26px; }
.test-files-panel { border: 1px solid #dce2dc; border-radius: 16px; background: #fff; overflow: hidden; }
.storage-upload { padding: 20px 22px; background: linear-gradient(135deg, #f4f8ff, #f7fbf7); border-bottom: 1px solid #e8ede6; cursor: pointer; transition: background .15s ease; }
.storage-upload.dragging { background: #e9f3ff; }
.storage-upload-main { display: flex; align-items: center; gap: 14px; }
.upload-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px #dbe6f3; }
.upload-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.upload-copy h3 { margin: 0; font-size: 13px; }
.upload-copy p { margin: 2px 0 0; color: var(--muted); font-size: 10.5px; }
.storage-choose { margin-left: auto; min-height: 34px; padding: 0 14px; border: 1px solid #1f5fb8; border-radius: 8px; background: #1f6fe0; color: #fff; font: inherit; font-size: 11.5px; font-weight: 650; cursor: pointer; }
.storage-choose:hover { background: #1a5fc4; }
.storage-choose:disabled { opacity: .6; cursor: default; }
.storage-upload-queue { padding: 0 22px 14px; display: grid; gap: 7px; }
.upload-item { display: grid; grid-template-columns: minmax(0,1fr) 160px auto; gap: 10px; align-items: center; font-size: 10.5px; }
.upload-item-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-progress { height: 4px; border-radius: 3px; background: #e6ecf3; overflow: hidden; }
.upload-progress i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .15s ease; }
.upload-item.done .upload-item-state { color: #1f9b63; }
.upload-item.error .upload-item-state { color: #c0392b; }
.test-files-toolbar { display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-bottom: 1px solid #eef1ed; flex-wrap: wrap; }
.storage-breadcrumbs { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; overflow: hidden; }
.storage-breadcrumb { border: 0; background: none; padding: 1px 2px; color: #4b5a67; font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.storage-breadcrumb.current { color: var(--ink); }
.storage-breadcrumb-sep { color: #b3bfc9; font-size: 10px; }
.storage-toolbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.storage-count { color: var(--muted); font-size: 10px; }
.storage-tool, .refresh-files { min-height: 28px; padding: 0 9px; border: 1px solid #d7e0e7; border-radius: 6px; background: #fff; color: #4b5a67; font: inherit; font-size: 10px; font-weight: 650; cursor: pointer; }
.storage-tool:hover, .refresh-files:hover { border-color: #b9c9d8; background: #f6f9fc; }
.storage-tool:disabled, .refresh-files:disabled { opacity: .45; cursor: default; }
.refresh-files { display: inline-flex; align-items: center; gap: 5px; }
.refresh-files svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.storage-table-head { display: grid; grid-template-columns: 30px minmax(0,1fr) 110px 150px 170px; gap: 10px; padding: 8px 22px; border-bottom: 1px solid #eef1ed; color: #93a0aa; font-size: 8.5px; font-weight: 700; letter-spacing: .08em; }
.storage-table-head span:first-child { grid-column: span 2; }
.test-file-list { display: block; }
.test-file-row { display: grid; grid-template-columns: 30px minmax(0,1fr) 110px 150px 170px; gap: 10px; align-items: center; padding: 11px 22px; border-bottom: 1px solid #f1f4f0; font-size: 11px; }
.test-file-row:last-child { border-bottom: 0; }
.test-file-row:hover { background: #fafcf9; }
.test-file-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: #eef2fa; color: #4b6a8a; font-size: 7.5px; font-weight: 800; }
.test-file-name { min-width: 0; }
.test-file-name strong, .storage-entry-button { display: block; border: 0; background: none; padding: 0; color: var(--ink); font: inherit; font-size: 11.5px; font-weight: 650; text-align: left; cursor: pointer; }
.test-file-name span { display: block; margin-top: 2px; color: #93a0aa; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.test-file-size, .test-file-date { color: var(--muted); font-size: 10px; }
.file-actions { display: flex; gap: 6px; justify-content: flex-end; }
.test-file-download, .file-action { min-height: 25px; padding: 0 8px; border: 1px solid #d7e0e7; border-radius: 6px; background: #fff; color: #3c4d5e; font: inherit; font-size: 9.5px; font-weight: 650; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; }
.file-action.danger { color: #b03a3a; border-color: #ecd4d4; }
.file-action:hover, .test-file-download:hover { background: #f4f8fc; }
.test-files-loading { padding: 22px; color: var(--muted); font-size: 11px; text-align: center; }
.test-files-empty { padding: 40px 22px; text-align: center; }
.empty-folder-icon { width: 46px; height: 46px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 12px; background: #f2f6fa; color: #7f93a6; }
.empty-folder-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.test-files-empty h3 { margin: 0 0 4px; font-size: 14px; }
.test-files-empty p { margin: 0; color: var(--muted); font-size: 11px; }
.test-files-note { margin: 14px 0 0; color: #93a0aa; font-size: 10px; }

.storage-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px; background: rgba(13,27,42,.48); backdrop-filter: blur(3px); }
.storage-modal[hidden] { display: none; }
.storage-modal-card { width: 100%; max-width: 420px; padding: 24px 26px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(13,27,42,.22); }
.storage-modal-label { margin: 0 0 6px; color: #8492a0; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.storage-modal-card h3 { margin: 0 0 8px; font-size: 18px; }
.storage-modal-text { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.storage-modal-input { width: 100%; height: 38px; padding: 0 11px; border: 1px solid #d7e0e7; border-radius: 8px; font: inherit; font-size: 12px; }
.storage-modal-input:focus { outline: 2px solid #cfe2f7; border-color: #9dbfe2; }
.storage-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.storage-modal-cancel, .storage-modal-confirm { min-height: 34px; padding: 0 14px; border-radius: 8px; font: inherit; font-size: 11.5px; font-weight: 650; cursor: pointer; }
.storage-modal-cancel { border: 1px solid #d7e0e7; background: #fff; color: #4b5a67; }
.storage-modal-confirm { border: 1px solid #1f5fb8; background: #1f6fe0; color: #fff; }
.storage-modal-confirm.danger { border-color: #b23b3b; background: #c0392b; }

.ssh-section { padding-top: 82px; border-top: 1px solid var(--line); }
.ssh-heading { margin-bottom: 26px; }
.ssh-grid { display: grid; grid-template-columns: minmax(0,620px); gap: 14px; }
.ssh-register-card, .ssh-hosts-card, .remote-install-card { border: 1px solid #dce2dc; border-radius: 16px; background: #fff; }
.ssh-register-card { padding: 25px; background: linear-gradient(145deg, #fff, #f7faff); }
.ssh-card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #eaf2fd; color: var(--blue); }
.ssh-card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ssh-register-card h3, .ssh-hosts-card h3, .remote-install-card h3 { margin: 14px 0 5px; font-size: 16px; }
.ssh-register-card p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.ssh-register-card small { display: block; margin-top: 12px; color: #8d99a3; font-size: 9px; line-height: 1.5; }
.ssh-download { min-height: 42px; }
.ssh-name-field { display: grid; gap: 6px; margin: 0 0 12px; color: #5d6a76; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ssh-name-field input { height: 38px; padding: 0 11px; border: 1px solid #d7e0e7; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ssh-hosts-card { overflow: hidden; }
.ssh-panel-head { display: flex; align-items: center; gap: 10px; padding: 18px 19px; border-bottom: 1px solid #e8ece7; }
.ssh-panel-head h3 { margin: 3px 0 0; }
.ssh-panel-head .micro-label { margin: 0; }
.ssh-panel-head > span { margin-left: auto; color: var(--muted); font-size: 10px; }
.ssh-hosts-list { display: block; }
.ssh-host-row { display: grid; grid-template-columns: 32px minmax(0,1fr) auto auto; align-items: center; gap: 11px; padding: 13px 18px; border-bottom: 1px solid #eef1ed; }
.ssh-host-row:last-child { border-bottom: 0; }
.ssh-host-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: #eef7f2; color: #1f9b63; font-size: 10px; font-weight: 800; }
.ssh-host-copy { min-width: 0; }
.ssh-host-copy strong { display: block; font-size: 11.5px; }
.ssh-host-copy span { display: block; overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ssh-host-state { color: #1f9b63; font-size: 8.5px; font-weight: 700; }
.ssh-host-rename { margin-left: auto; min-height: 24px; padding: 0 8px; border: 1px solid #d3dfe9; border-radius: 6px; background: #f4f9ff; color: #33506b; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }
.ssh-admin-note { margin: 14px 0 0; color: #8d99a3; font-size: 10px; }
.remote-install-card { margin-top: 14px; padding: 20px; }
.remote-install-card[hidden] { display: none; }
.remote-install-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.remote-install-head h3 { margin: 3px 0 0; }
.remote-host-label { display: grid; gap: 5px; color: var(--muted); font-size: 9px; font-weight: 650; }
.remote-host-label select, #app-remote-host { min-width: 210px; min-height: 34px; padding: 0 9px; border: 1px solid #d7e0e7; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 11px; }
.remote-app-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.remote-app-button { min-height: 32px; padding: 0 12px; border: 1px solid #d3dfe9; border-radius: 7px; background: #f6faff; color: #2d4a66; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.remote-app-button:hover { background: #eaf3ff; border-color: #b5cde7; }
.remote-install-status { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.remote-install-status.ok { color: #1f7a52; }
.remote-install-status.error { color: #b03a3a; }
.app-remote-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 22px; border: 1px solid #dbe6f3; border-radius: 10px; background: #f6faff; }
.app-remote-control { display: flex; align-items: center; gap: 10px; font-size: 10px; color: #5d6a76; font-weight: 650; }
.app-remote-control a { color: var(--blue); font-size: 10px; text-decoration: none; }
.app-remote-hint { margin-left: auto; color: #8492a0; font-size: 9.5px; }

.source-section { padding: 64px 0; border-top: 1px solid var(--line); }
.source-bar { display: flex; justify-content: space-between; gap: 30px; align-items: center; flex-wrap: wrap; }
.source-links { display: flex; gap: 8px; flex-wrap: wrap; }
.source-links a { padding: 5px 9px; border: 1px solid #d7e0e7; border-radius: 6px; color: #4b5a67; font-size: 10px; font-weight: 600; text-decoration: none; }
.source-links a:hover { border-color: #b9c9d8; color: var(--blue); }

.site-footer { padding: 36px 0 26px; background: #0d1b2a; color: #c7d2dd; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand strong { display: block; font-size: 12.5px; }
.footer-brand small { color: #8494a5; font-size: 9.5px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #b9c6d3; font-size: 11px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-note { margin: 26px 0 0; color: #8494a5; font-size: 9.5px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 14px); padding: 10px 16px; border-radius: 9px; background: #0d1b2a; color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 130; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

.apps-page #main, .depo-page #main { padding-bottom: 40px; }

@media (max-width: 980px) {
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .storage-table-head { display: none; }
  .test-file-row { grid-template-columns: 30px minmax(0,1fr); }
  .test-file-size, .test-file-date { display: none; }
  .file-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .remote-install-head { flex-direction: column; align-items: stretch; }
}

.hero-copy { display: flex; flex-direction: column; }

.pc-row-state.online { color: #1f9b63; }
.pc-row-state.offline { color: #a0adb8; }
