:root {
  --navy-950: #081a35;
  --navy-900: #0d264a;
  --navy-800: #12345f;
  --ink: #10294f;
  --ink-soft: #5e718d;
  --blue: #1473e6;
  --blue-strong: #0864d5;
  --blue-soft: #eaf3ff;
  --blue-pale: #f3f7fd;
  --green: #18a173;
  --line: #d8e2ef;
  --line-strong: #c5d3e5;
  --panel: #ffffff;
  --background: #f4f7fb;
  --shadow: 0 12px 32px rgba(20, 50, 89, 0.08);
  --sidebar-width: 270px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family:
    Inter, "Noto Sans JP", "Yu Gothic", YuGothic, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
label:focus-within {
  outline: 3px solid rgba(20, 115, 230, 0.34);
  outline-offset: 3px;
}

a {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  color: #fff;
  background: var(--navy-950);
  transform: translateY(-140%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 100;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  color: #dce7f7;
  background:
    radial-gradient(circle at 18% 0, rgba(39, 116, 221, 0.2), transparent 15rem),
    var(--navy-950);
  box-shadow: 5px 0 22px rgba(5, 19, 40, 0.08);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(215, 229, 248, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 12px;
  background: linear-gradient(145deg, #2d8cff, #1069d9);
  box-shadow: 0 8px 22px rgba(20, 115, 230, 0.27);
}

.brand-mark svg {
  width: 25px;
  stroke-width: 2;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.brand-copy small {
  margin-top: 4px;
  color: #9fb2ce;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sidebar-close {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.sidebar-nav {
  padding: 18px 12px;
}

.nav-label {
  margin: 4px 10px 8px;
  color: #7289a9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-label-spaced {
  margin-top: 27px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 3px 0;
  padding: 8px 11px;
  color: #c4d2e7;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 150ms ease;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-item.is-active {
  color: #fff;
  border-color: rgba(121, 184, 255, 0.17);
  background: linear-gradient(100deg, #1473e6, #2b82ee);
  box-shadow: 0 8px 22px rgba(3, 71, 158, 0.25);
}

.nav-item svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.nav-count {
  display: grid;
  min-width: 22px;
  height: 22px;
  margin-left: auto;
  place-items: center;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 17px 14px 20px;
  border-top: 1px solid rgba(215, 229, 248, 0.12);
}

.connection-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(154, 180, 217, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.connection-icon {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #32c78d;
  box-shadow: 0 0 0 5px rgba(50, 199, 141, 0.12);
}

.connection-card strong,
.connection-card small {
  display: block;
}

.connection-card strong {
  color: #f3f7fd;
  font-size: 12px;
}

.connection-card small {
  margin-top: 2px;
  color: #8298b7;
  font-size: 10px;
}

.sidebar-bottom > p {
  margin: 13px 3px 0;
  color: #6f84a2;
  font-size: 10px;
  text-align: center;
}

.main-column {
  min-width: 0;
  margin-left: var(--sidebar-width);
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.topbar-left,
.topbar-actions,
.breadcrumb,
.security-chip,
.language-button {
  display: flex;
  align-items: center;
}

.topbar-left {
  gap: 18px;
}

.sidebar-toggle {
  display: none;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.sidebar-toggle svg {
  width: 20px;
}

.breadcrumb {
  gap: 10px;
  color: #8292a9;
  font-size: 12px;
}

.breadcrumb svg {
  width: 13px;
}

.breadcrumb strong {
  color: var(--ink);
}

.topbar-actions {
  gap: 10px;
}

.security-chip,
.language-button {
  gap: 7px;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
}

.security-chip {
  color: #0d68d4;
  border: 1px solid #bcd9fd;
  background: #f3f8ff;
}

.security-chip svg {
  width: 17px;
}

.language-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.language-button span {
  color: #1b6fd4;
}

main {
  width: min(1240px, calc(100% - clamp(40px, 8vw, 96px)));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(440px, 0.88fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 40px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #0868d7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1473e6;
  box-shadow: 0 0 0 5px rgba(20, 115, 230, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 17px;
  color: #0e2a51;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.flow-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.flow-steps li:not(:last-child)::after {
  position: absolute;
  z-index: -1;
  top: 17px;
  right: 7px;
  left: 42px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.flow-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: #7d8da4;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--background);
  font-size: 11px;
  font-weight: 900;
}

.flow-steps li.is-current > span {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(20, 115, 230, 0.1);
}

.flow-steps small,
.flow-steps strong {
  display: block;
  white-space: nowrap;
}

.flow-steps small {
  color: #9aa8ba;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.flow-steps strong {
  color: #637590;
  font-size: 11px;
}

.flow-steps .is-current strong {
  color: var(--ink);
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.65fr);
  align-items: stretch;
  gap: 20px;
}

.workspace-card,
.device-card,
.waiting-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.primary-workspace {
  min-height: 520px;
  padding: clamp(24px, 3vw, 34px);
}

.card-heading,
.side-card-heading,
.selected-summary,
.workspace-footer,
.trust-strip,
.trust-strip > div,
.device-identity {
  display: flex;
  align-items: center;
}

.card-heading,
.side-card-heading,
.selected-summary,
.workspace-footer,
.trust-strip,
.device-identity {
  justify-content: space-between;
}

.card-heading {
  align-items: flex-start;
  margin-bottom: 24px;
}

.step-badge {
  display: inline-flex;
  margin-bottom: 8px;
  color: #0d6bd8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.card-heading h2,
.side-card-heading h2 {
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 1.3;
}

.card-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.local-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  color: #167153;
  border: 1px solid #b7dfd2;
  border-radius: 99px;
  background: #eefaf6;
  font-size: 10px;
  font-weight: 800;
}

.local-badge svg {
  width: 15px;
}

.dropzone {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: var(--ink-soft);
  border: 2px dashed #b5c6dc;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 20%, rgba(228, 240, 255, 0.78), transparent 13rem),
    #f8fbff;
  cursor: pointer;
  transition: 160ms ease;
}

.dropzone:hover,
.dropzone.is-dragging {
  border-color: var(--blue);
  background-color: #f3f8ff;
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.drop-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 15px;
  place-items: center;
  color: var(--blue);
  border: 1px solid #bfdbfb;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(20, 115, 230, 0.12);
}

.drop-icon svg {
  width: 31px;
  stroke-width: 1.8;
}

.dropzone > strong {
  color: var(--ink);
  font-size: 17px;
}

.dropzone > span:not(.drop-icon):not(.browse-button) {
  margin: 4px 0 9px;
  color: #9aa8ba;
  font-size: 11px;
}

.browse-button {
  min-width: 132px;
  padding: 8px 16px;
  color: #0c68d4;
  border: 1px solid #99c5fa;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.dropzone small {
  margin-top: 14px;
  color: #91a0b4;
  font-size: 10px;
}

.selected-files {
  min-height: 310px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fbfe;
}

.selected-summary {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.selected-summary strong,
.selected-summary span {
  display: block;
}

.selected-summary strong {
  font-size: 13px;
}

.selected-summary span {
  color: var(--ink-soft);
  font-size: 10px;
}

.selected-summary button,
.device-identity button {
  color: #526a88;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.selected-summary button {
  font-size: 10px;
  font-weight: 800;
}

.selected-files ul {
  max-height: 222px;
  margin: 0;
  padding: 10px 0 0;
  overflow: auto;
  list-style: none;
}

.selected-files li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 7px 8px;
  border-radius: 8px;
}

.selected-files li + li {
  border-top: 1px solid #edf1f6;
}

.file-kind {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #176fda;
  border-radius: 7px;
  background: #e9f3ff;
  font-size: 8px;
  font-weight: 900;
}

.file-name {
  min-width: 0;
}

.file-name strong,
.file-name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-name strong {
  font-size: 11px;
}

.file-name span,
.file-size {
  color: #8a9ab0;
  font-size: 9px;
}

.workspace-footer {
  gap: 18px;
  margin-top: 23px;
}

.privacy-note {
  display: flex;
  max-width: 390px;
  align-items: center;
  gap: 8px;
  color: #667991;
  font-size: 10px;
}

.privacy-note svg {
  width: 18px;
  flex: 0 0 18px;
  color: #1f7a5e;
}

.primary-button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  color: #fff;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  box-shadow: 0 7px 16px rgba(20, 115, 230, 0.22);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.primary-button:hover:not(:disabled) {
  background: var(--blue-strong);
  transform: translateY(-1px);
}

.primary-button:disabled {
  color: #93a2b5;
  background: #e7ecf3;
  box-shadow: none;
  cursor: not-allowed;
}

.primary-button svg {
  width: 16px;
}

.side-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
}

.device-card {
  padding: 22px;
}

.side-card-heading {
  align-items: flex-start;
  margin-bottom: 17px;
}

.side-card-heading h2 {
  font-size: 15px;
}

.online-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: #26b782;
  box-shadow: 0 0 0 5px rgba(38, 183, 130, 0.11);
}

.device-identity {
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
}

.device-illustration {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #176fda;
  border-radius: 9px;
  background: #e8f2ff;
}

.device-illustration svg {
  width: 26px;
}

.device-identity > div {
  min-width: 0;
  flex: 1;
}

.device-identity strong,
.device-identity span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-identity strong {
  font-size: 11px;
}

.device-identity span {
  color: #8798ae;
  font-size: 9px;
}

.device-identity button {
  padding: 5px;
  font-size: 9px;
  font-weight: 800;
}

.device-identity button svg {
  width: 16px;
}

.waiting-card {
  display: flex;
  min-height: 328px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px;
  text-align: center;
}

.waiting-visual {
  position: relative;
  width: 170px;
  height: 118px;
  margin-bottom: 15px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid #d4e5f8;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 86px;
  height: 86px;
}

.orbit-two {
  width: 144px;
  height: 112px;
}

.device-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.main-node {
  top: 35px;
  left: 62px;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(20, 115, 230, 0.25);
}

.main-node svg {
  width: 26px;
}

.peer-node {
  width: 10px;
  height: 10px;
  border: 2px solid #bdd9f7;
  background: #fff;
}

.peer-one {
  top: 9px;
  left: 35px;
}

.peer-two {
  top: 24px;
  right: 14px;
}

.peer-three {
  right: 39px;
  bottom: 6px;
}

.waiting-card h3 {
  margin-bottom: 7px;
  font-size: 15px;
}

.waiting-card > p {
  max-width: 245px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 11px;
}

.waiting-status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #7b8da4;
  border-radius: 99px;
  background: #f1f5fa;
  font-size: 9px;
  font-weight: 750;
}

.waiting-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aebaca;
}

.trust-strip {
  gap: 24px;
  margin-top: 20px;
  padding: 19px 22px;
  border: 1px solid #bfdbfa;
  border-radius: 13px;
  background: #f0f7ff;
}

.trust-strip > div {
  gap: 14px;
}

.trust-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #fff;
  border-radius: 11px;
  background: var(--blue);
}

.trust-icon svg {
  width: 24px;
}

.trust-strip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}

.trust-strip p {
  margin-bottom: 0;
  color: #58708e;
  font-size: 10px;
}

.trust-strip > a {
  flex: 0 0 auto;
  color: #0f68d1;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
}

.trust-strip > a span {
  margin-left: 4px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 33px clamp(20px, 4vw, 48px);
  color: #b2c3dc;
  background: var(--navy-950);
}

.footer > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-logo {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #fff;
  border-radius: 9px;
  background: #1473e6;
  font-size: 9px;
  font-weight: 900;
}

.footer p {
  margin: 0;
}

.footer p strong,
.footer p small {
  display: block;
}

.footer p strong {
  color: #fff;
  font-size: 12px;
}

.footer p small,
.footer > small {
  color: #7690b1;
  font-size: 9px;
}

.footer nav {
  display: flex;
  gap: 24px;
}

.footer nav a {
  color: #dce7f7;
  font-size: 10px;
  text-underline-offset: 4px;
}

.sidebar-overlay {
  display: none;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  padding: 11px 16px;
  color: #fff;
  border-radius: 9px;
  background: #10294f;
  box-shadow: 0 12px 28px rgba(6, 22, 45, 0.25);
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .page-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .flow-steps {
    max-width: 700px;
  }

  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 940px) {
  :root {
    --sidebar-width: 0px;
  }

  .sidebar {
    width: min(285px, calc(100vw - 38px));
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .sidebar-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-open .sidebar-overlay {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(6, 22, 45, 0.52);
    backdrop-filter: blur(2px);
  }

  .sidebar-close,
  .sidebar-toggle {
    display: grid;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

@media (max-width: 680px) {
  .topbar {
    min-height: 62px;
    padding: 0 14px;
  }

  .breadcrumb span,
  .breadcrumb svg,
  .security-chip,
  .language-button {
    display: none;
  }

  main {
    width: calc(100% - 30px);
    padding: 36px 0 54px;
  }

  .page-heading {
    gap: 25px;
    margin-bottom: 27px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .lead {
    font-size: 13px;
  }

  .flow-steps li {
    gap: 0;
  }

  .flow-steps li > div {
    display: none;
  }

  .flow-steps li:not(:last-child)::after {
    right: 4px;
    left: 38px;
  }

  .primary-workspace {
    padding: 18px;
  }

  .card-heading {
    gap: 12px;
  }

  .card-heading h2 {
    font-size: 18px;
  }

  .local-badge {
    padding: 5px 7px;
  }

  .local-badge svg {
    display: none;
  }

  .dropzone,
  .selected-files {
    min-height: 285px;
  }

  .dropzone {
    padding: 22px 14px;
  }

  .dropzone small {
    text-align: center;
  }

  .workspace-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .side-panel {
    grid-template-columns: 1fr;
  }

  .waiting-card {
    min-height: 310px;
  }

  .trust-strip,
  .trust-strip > div {
    align-items: flex-start;
  }

  .trust-strip {
    flex-direction: column;
  }

  .trust-strip > a {
    margin-left: 56px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

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

/* Functional application states */

.device-name-button {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.device-presence {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #26b782;
  box-shadow: 0 0 0 4px rgba(38, 183, 130, 0.11);
}

.connection-icon.is-offline {
  background: #d66363;
  box-shadow: 0 0 0 5px rgba(214, 99, 99, 0.12);
}

.compact-heading h1 {
  font-size: clamp(36px, 3.7vw, 52px);
}

.flow-steps li.is-done > span {
  color: #0f7455;
  border-color: #9dd5c3;
  background: #e9f8f3;
}

.flow-steps li.is-done > span svg {
  width: 17px;
}

.session-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 20px;
}

.dummy-ad {
  position: relative;
  overflow: hidden;
  border: 1px solid #d7e0ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(20, 43, 68, 0.07);
}

.dummy-display-ad {
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 150px;
  margin-top: 20px;
  padding: 14px 24px 14px 14px;
}

#transferStatusRegion:not(:empty) + .dummy-display-ad {
  display: none;
}

.dummy-ad-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7b8998;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.dummy-ad-label > span {
  padding: 3px 6px;
  color: #fff;
  border-radius: 4px;
  background: #6d7d8f;
  letter-spacing: 0;
}

.dummy-display-ad > .dummy-ad-label {
  position: absolute;
  top: 9px;
  right: 11px;
  z-index: 2;
}

.dummy-display-visual {
  height: 122px;
  overflow: hidden;
  border-radius: 10px;
  background: #12304a;
}

.dummy-display-visual img,
.dummy-video-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dummy-display-copy p,
.dummy-video-copy p {
  margin: 0 0 7px;
  color: #1789a2;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.dummy-display-copy strong,
.dummy-display-copy span {
  display: block;
}

.dummy-display-copy strong {
  color: #172b3f;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.25;
}

.dummy-display-copy span {
  margin-top: 7px;
  color: #748498;
  font-size: 10px;
}

.dummy-ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 118px;
  padding: 10px 13px;
  color: #fff;
  border-radius: 7px;
  background: #173c56;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.share-card,
.peers-card,
.receive-form,
.receive-help,
.receiver-wait-card,
.sender-info-card {
  padding: clamp(24px, 3vw, 34px);
}

.session-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: #167153;
  border: 1px solid #b7dfd2;
  border-radius: 99px;
  background: #eefaf6;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.session-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24b27d;
  box-shadow: 0 0 0 4px rgba(36, 178, 125, 0.12);
  animation: status-pulse 1.7s ease-in-out infinite;
}

.session-status.is-connecting {
  color: #1769c8;
  border-color: #bfd9f7;
  background: #f1f7ff;
}

.session-status.is-connecting > span {
  background: #1473e6;
  box-shadow: 0 0 0 4px rgba(20, 115, 230, 0.12);
}

@keyframes status-pulse {
  50% {
    opacity: 0.42;
  }
}

.share-layout {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 25px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faff;
}

.qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid #d4deeb;
  border-radius: 10px;
  background: #fff;
}

.qr-code {
  display: grid;
  width: 144px;
  height: 144px;
  place-items: center;
  overflow: hidden;
}

.qr-code svg {
  width: 100%;
  height: 100%;
  stroke: none;
}

.qr-panel small {
  margin-top: 7px;
  color: #7b8da5;
  font-size: 9px;
}

.share-fields {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.field-label {
  display: grid;
  gap: 6px;
  color: #506680;
  font-size: 10px;
  font-weight: 800;
}

.copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}

.copy-field input,
.text-field {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 9px 12px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 11px;
}

.copy-field input {
  border-radius: 8px 0 0 8px;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.copy-field button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  color: #0c68d4;
  border: 1px solid #9fc8f8;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #f4f9ff;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}

.copy-field button svg,
.secondary-button svg {
  width: 16px;
  flex: 0 0 16px;
}

.share-actions,
.expiry-label {
  display: flex;
  align-items: center;
}

.share-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.expiry-label {
  gap: 6px;
  color: #6c7f97;
  font-size: 9px;
}

.expiry-label svg {
  width: 15px;
  color: #17825f;
}

.expiry-label.is-protected {
  color: #19704f;
}

.secondary-button,
.danger-button,
.download-button {
  display: inline-flex;
  min-height: 41px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.secondary-button {
  color: #27496f;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.secondary-button:hover {
  border-color: #8eb6e7;
  background: #f5f9ff;
}

.selected-package {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.selected-package > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.selected-package > div strong {
  font-size: 11px;
}

.selected-package > div span {
  color: #788aa1;
  font-size: 9px;
}

.selected-package > div > span > strong,
.selected-package > div > span > span {
  display: block;
}

.text-button {
  padding: 4px 2px;
  color: #176fcc;
  border: 0;
  background: transparent;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}

.text-button.is-danger {
  color: #b23d3d;
}

.selected-package ul,
.offer-files ul,
.received-files ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.selected-package li,
.offer-files li,
.received-files li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 7px 8px;
}

.selected-package li + li,
.offer-files li + li,
.received-files li + li {
  border-top: 1px solid #edf1f6;
}

.peer-count {
  display: grid;
  min-width: 27px;
  height: 27px;
  place-items: center;
  color: #0c68d4;
  border-radius: 50%;
  background: #eaf3ff;
  font-size: 10px;
  font-weight: 900;
}

.peer-list {
  display: grid;
  gap: 10px;
}

.peer-empty {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.peer-empty > strong {
  margin-top: 19px;
  font-size: 12px;
}

.peer-empty > p {
  max-width: 245px;
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.peer-radar {
  position: relative;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
}

.peer-radar i {
  position: absolute;
  border: 1px solid #c5ddf8;
  border-radius: 50%;
}

.peer-radar i:first-child {
  inset: 8px;
}

.peer-radar i:nth-child(2) {
  inset: 28px;
}

.peer-radar b {
  z-index: 2;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(20, 115, 230, 0.22);
}

.peer-radar b svg {
  width: 27px;
}

.peer-card {
  display: grid;
  grid-template-areas:
    "icon identity action"
    "icon route route";
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: 150ms ease;
}

.peer-card:hover {
  border-color: #96c3f7;
  box-shadow: 0 8px 20px rgba(20, 80, 150, 0.08);
  transform: translateY(-1px);
}

.peer-card.is-selected {
  border-color: #2782ed;
  background: #f1f7ff;
  box-shadow: 0 0 0 2px rgba(39, 130, 237, 0.11);
}

.peer-card:disabled {
  cursor: default;
  opacity: 0.68;
}

.peer-card:disabled:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.peer-card > span:nth-child(2) {
  grid-area: identity;
  min-width: 0;
}

.peer-card > .device-illustration {
  grid-area: icon;
}

.peer-card strong,
.peer-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.peer-card strong {
  font-size: 11px;
}

.peer-card small {
  color: #8798ae;
  font-size: 9px;
}

.select-peer {
  grid-area: action;
  color: #0c68d4;
  font-size: 9px;
  font-weight: 850;
}

.peer-route {
  display: inline-flex;
  grid-area: route;
  width: fit-content;
  align-items: center;
  gap: 5px;
  min-height: 20px;
  padding: 3px 7px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
}

.peer-route svg {
  width: 11px;
}

.peer-route.is-lan {
  color: #19704f;
  border-color: #a9dcc8;
  background: #effaf5;
}

.peer-route.is-p2p {
  color: #245f9d;
  border-color: #bdd6f0;
  background: #f1f7fd;
}

.peer-route.is-relay {
  color: #8a5a14;
  border-color: #ead09c;
  background: #fff8e9;
}

.peer-route.is-unavailable {
  color: #687b91;
  border-color: #d5dee8;
  background: #f5f7fa;
}

.peer-route.is-checking {
  color: #687b91;
  border-color: #d5dee8;
  background: #f5f7fa;
}

.peer-route.is-checking i {
  width: 6px;
  height: 6px;
  border: 1px solid #8ba0b7;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.select-peer b {
  margin-left: 3px;
}

.select-peer svg {
  width: 12px;
  margin-right: 3px;
}

.peer-sent {
  display: inline-flex;
  grid-area: route;
  width: fit-content;
  align-items: center;
  gap: 4px;
  color: #19704f;
  font-size: 8px;
  font-weight: 850;
}

.peer-sent svg {
  width: 12px;
}

.peer-selection-bar {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  padding: 12px;
  border: 1px solid #bed8f6;
  border-radius: 10px;
  background: rgba(245, 250, 255, 0.96);
  box-shadow: 0 -8px 20px rgba(30, 75, 125, 0.06);
  backdrop-filter: blur(8px);
}

.peer-selection-bar > span {
  color: #6d8096;
  font-size: 9px;
}

.peer-selection-bar > span strong {
  color: #0c68d4;
  font-size: 13px;
}

.peer-selection-bar .primary-button {
  min-width: 126px;
}

.app-dialog {
  width: min(530px, calc(100% - 30px));
  max-height: calc(100vh - 34px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(5, 22, 47, 0.28);
}

.app-dialog::backdrop {
  background: rgba(5, 22, 47, 0.59);
  backdrop-filter: blur(4px);
}

.app-dialog form {
  position: relative;
  margin: 0;
  padding: clamp(25px, 5vw, 38px);
}

.dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #687b93;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

.dialog-icon {
  display: grid;
  width: 55px;
  height: 55px;
  margin-bottom: 21px;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: var(--blue);
  box-shadow: 0 9px 22px rgba(20, 115, 230, 0.22);
}

.dialog-icon.is-receive {
  background: #118563;
  box-shadow: 0 9px 22px rgba(17, 133, 99, 0.2);
}

.dialog-icon svg {
  width: 29px;
}

.dialog-eyebrow {
  margin-bottom: 7px;
  color: #0c68d4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.app-dialog h2 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.dialog-description {
  margin-bottom: 21px;
  color: var(--ink-soft);
  font-size: 11px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}

.offer-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.offer-summary > div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8fafc;
}

.offer-summary span,
.offer-summary strong {
  display: block;
}

.offer-summary span {
  color: #8191a6;
  font-size: 8px;
}

.offer-summary strong {
  margin-top: 4px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.network-guard {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid;
  border-radius: 9px;
  font-size: 10px;
  line-height: 1.55;
}

.network-guard > svg {
  width: 18px;
  flex: 0 0 18px;
}

.network-guard.is-safe {
  color: #1d6a4c;
  border-color: #a9dcc8;
  background: #effaf5;
}

.network-guard.is-warning {
  color: #80591d;
  border-color: #e8ce98;
  background: #fff9ec;
}

.network-guard strong,
.network-guard label {
  display: block;
}

.network-guard label {
  margin-top: 8px;
  color: #594315;
  cursor: pointer;
}

.network-guard input {
  width: 16px;
  height: 16px;
  margin: 1px 5px 0 0;
  vertical-align: top;
  accent-color: var(--blue);
}

.offer-files {
  max-height: 265px;
  padding: 13px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
}

.offer-files-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 5px 10px;
  border-bottom: 1px solid var(--line);
}

.offer-files-heading strong {
  font-size: 11px;
}

.offer-files-heading span {
  color: #71839b;
  font-size: 9px;
}

.dialog-spinner {
  width: 54px;
  height: 54px;
  margin-bottom: 21px;
  border: 4px solid #dceafa;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spinner 850ms linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.dialog-single-action {
  margin-top: 8px;
}

.transfer-card {
  margin-top: 20px;
  padding: clamp(24px, 3vw, 34px);
}

.transfer-job-list {
  display: grid;
  gap: 13px;
}

.transfer-job {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.transfer-job.is-completed {
  border-color: #a9dcc8;
  background: #fbfffd;
}

.transfer-job.is-queued {
  border-color: #b9d2ef;
  background: #f7fbff;
}

.transfer-job.is-queued progress {
  opacity: 0.55;
}

.transfer-job.is-failed,
.transfer-job.is-declined,
.transfer-job.is-cancelled {
  border-color: #e7c1c1;
  background: #fffafa;
}

.transfer-job.is-recovered {
  border-color: #8fcfb8;
  background: #f7fffb;
}

.transfer-job.is-recovered .transfer-job-error {
  color: #19704f;
}

.transfer-job-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.transfer-job-heading .device-illustration {
  width: 38px;
  height: 38px;
}

.transfer-job-heading > span:nth-child(2) {
  min-width: 0;
}

.transfer-job-heading strong,
.transfer-job-heading small {
  display: block;
}

.transfer-job-heading strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-job-heading small {
  margin-top: 2px;
  color: #7e90a5;
  font-size: 8px;
}

.transfer-job .progress-panel {
  padding: 14px;
}

.transfer-job-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 10px 0 0;
  color: #a23d3d;
  font-size: 9px;
}

.transfer-job-error svg {
  width: 14px;
  flex: 0 0 14px;
}

.transfer-job-resume {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 10px 0 0;
  color: #19704f;
  font-size: 9px;
}

.transfer-job-resume svg {
  width: 14px;
  flex: 0 0 14px;
}

.transfer-job > .text-button,
.transfer-job > .secondary-button,
.transfer-job > .primary-button {
  margin-top: 9px;
}

.batch-transfer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.batch-transfer-actions .danger-button {
  margin-top: 0;
}

.transfer-continuity {
  margin-top: 16px;
  margin-bottom: 16px;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.transfer-continuity.is-protected {
  color: #1d6a4c;
  border-color: #a9dcc8;
  background: #effaf5;
}

.transfer-heading {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
}

.transfer-heading h2 {
  margin-bottom: 2px;
  font-size: 18px;
}

.transfer-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.transfer-direction {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  border-radius: 13px;
  background: var(--blue);
}

.transfer-direction svg {
  width: 27px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: #147155;
  border-radius: 99px;
  background: #eaf8f3;
  font-size: 8px;
  font-weight: 900;
}

.live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1eaf7e;
}

.live-badge.is-relay {
  color: #8a5b16;
  background: #fff3d8;
}

.live-badge.is-relay i {
  background: #d4982f;
}

.progress-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8fafc;
}

.transfer-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 20px;
  align-items: start;
  margin-top: 24px;
}

.transfer-operation {
  min-width: 0;
}

.dummy-video-ad {
  color: #fff;
  background: #0b2335;
}

.dummy-ad-label.is-overlay {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.dummy-ad-label.is-overlay > span {
  color: #173145;
  background: rgba(255, 255, 255, 0.88);
}

.dummy-video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #102d42;
}

.dummy-video-stage > img {
  transform: scale(1.03);
  animation: dummy-ad-camera 15s ease-in-out infinite alternate;
}

.dummy-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 23, 35, 0.78), rgba(7, 23, 35, 0.1) 72%);
}

.dummy-video-copy {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 42px;
}

.dummy-video-copy p {
  color: #a8ecf0;
}

.dummy-video-copy strong,
.dummy-video-copy span {
  display: block;
}

.dummy-video-copy strong {
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -0.02em;
}

.dummy-video-copy span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
}

.dummy-video-mute {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 99px;
  background: rgba(5, 18, 27, 0.68);
  backdrop-filter: blur(5px);
  font-size: 8px;
  font-weight: 750;
}

.dummy-video-mute svg {
  width: 12px;
  height: 12px;
}

.dummy-video-controls {
  position: absolute;
  z-index: 3;
  right: 11px;
  bottom: 9px;
  left: 11px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 8px;
}

.dummy-video-play {
  font-size: 8px;
}

.dummy-video-timeline {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.36);
}

.dummy-video-timeline i {
  display: block;
  width: 65%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  animation: dummy-ad-timeline 15s linear infinite;
}

.dummy-video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  color: #1b3043;
  background: #fff;
}

.dummy-video-footer > span:first-child strong,
.dummy-video-footer > span:first-child small {
  display: block;
}

.dummy-video-footer > span:first-child strong {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.dummy-video-footer > span:first-child small {
  margin-top: 2px;
  color: #8492a1;
  font-size: 7px;
}

.dummy-video-footer .dummy-ad-cta {
  min-width: 92px;
  padding: 7px 9px;
  font-size: 8px;
}

@keyframes dummy-ad-camera {
  to { transform: scale(1.1) translateX(-1.5%); }
}

@keyframes dummy-ad-timeline {
  from { width: 0; }
  to { width: 100%; }
}

.progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 11px;
}

.progress-top strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-top span {
  color: #0c68d4;
  font-weight: 900;
}

.progress-panel progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: #dfe7f1;
  accent-color: var(--blue);
}

.progress-panel progress::-webkit-progress-bar {
  border-radius: 99px;
  background: #dfe7f1;
}

.progress-panel progress::-webkit-progress-value {
  border-radius: 99px;
  background: linear-gradient(90deg, #0d68d9, #3994ff);
}

.progress-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.progress-metrics span {
  padding-right: 10px;
}

.progress-metrics span + span {
  padding-left: 13px;
  border-left: 1px solid var(--line);
}

.progress-metrics small,
.progress-metrics strong {
  display: block;
}

.progress-metrics small {
  color: #8797ab;
  font-size: 8px;
}

.progress-metrics strong {
  margin-top: 3px;
  font-size: 10px;
}

.danger-button {
  margin-top: 15px;
  color: #b23d3d;
  border: 1px solid #e6bcbc;
  background: #fff7f7;
}

.result-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding: 24px;
}

.result-card small {
  display: block;
  margin-top: 7px;
  color: #60758d;
  font-size: 10px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.result-icon,
.state-icon {
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 13px;
  background: #cc5151;
}

.result-icon {
  width: 52px;
  height: 52px;
}

.result-icon svg,
.state-icon svg {
  width: 26px;
}

.result-card h2 {
  margin-bottom: 3px;
  font-size: 17px;
}

.result-card p:not(.dialog-eyebrow) {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.inline-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 13px;
  color: #855d18;
  border: 1px solid #edd39e;
  border-radius: 8px;
  background: #fff9ea;
  font-size: 9px;
}

.inline-alert.is-info {
  color: #355d87;
  border-color: #c5dbf4;
  background: #f2f7fd;
}

.inline-alert svg {
  width: 17px;
  flex: 0 0 17px;
}

.receive-heading {
  align-items: center;
}

.receive-illustration {
  position: relative;
  display: grid;
  width: 165px;
  height: 165px;
  margin: 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 0 0 25px rgba(20, 115, 230, 0.08),
    0 0 0 50px rgba(20, 115, 230, 0.04);
}

.receive-illustration svg {
  width: 65px;
}

.receive-grid,
.receiver-wait-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 20px;
}

.receive-form h2,
.receive-help h3,
.sender-info-card h2 {
  margin-bottom: 7px;
}

.receive-form > p,
.receive-help > p {
  color: var(--ink-soft);
  font-size: 11px;
}

.code-input {
  min-height: 90px;
  margin-top: 4px;
  resize: vertical;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  line-height: 1.6;
}

.wide-button {
  width: 100%;
  margin-top: 18px;
}

.form-error {
  min-height: 20px;
  margin: 9px 0 0;
  color: #b33f3f !important;
  font-weight: 700;
}

.receive-help {
  background: #0d264a;
}

.receive-help .help-number {
  display: grid;
  width: 27px;
  height: 27px;
  margin-bottom: 8px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
}

.receive-help h3 {
  color: #fff;
  font-size: 13px;
}

.receive-help p {
  margin-bottom: 24px;
  color: #a9bdd8;
}

.receiver-wait-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.receiver-animation {
  position: relative;
  display: grid;
  width: 175px;
  height: 175px;
  margin-bottom: 17px;
  place-items: center;
}

.receiver-ring {
  position: absolute;
  border: 1px solid #c5dcf7;
  border-radius: 50%;
  animation: receiver-ring 2.4s ease-out infinite;
}

.ring-one {
  inset: 32px;
}

.ring-two {
  inset: 9px;
  animation-delay: 800ms;
}

@keyframes receiver-ring {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.receiver-device {
  z-index: 2;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 10px 25px rgba(20, 115, 230, 0.25);
}

.receiver-device svg {
  width: 34px;
}

.receiver-wait-card h2 {
  margin: 17px 0 5px;
  font-size: 19px;
}

.receiver-wait-card > p {
  color: var(--ink-soft);
  font-size: 10px;
}

.receiver-device-name {
  margin-top: 16px;
  padding: 9px 15px;
  border-radius: 8px;
  background: #f2f6fb;
}

.receiver-device-name strong,
.receiver-device-name span {
  display: block;
}

.receiver-device-name strong {
  font-size: 10px;
}

.receiver-device-name span {
  color: #8394a9;
  font-size: 8px;
}

.sender-info-card {
  align-self: start;
}

.sender-placeholder {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
}

.skeleton-icon,
.sender-placeholder i {
  display: block;
  border-radius: 7px;
  background: #e3eaf3;
  animation: skeleton 1.4s ease-in-out infinite;
}

.skeleton-icon {
  width: 42px;
  height: 42px;
}

.sender-placeholder i:first-child {
  width: 70%;
  height: 9px;
}

.sender-placeholder i:last-child {
  width: 45%;
  height: 7px;
  margin-top: 7px;
}

@keyframes skeleton {
  50% {
    opacity: 0.5;
  }
}

.sender-info-card .device-identity {
  margin-top: 18px;
}

.verified-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  color: #147155 !important;
  font-size: 8px !important;
  font-weight: 850;
}

.verified-chip svg {
  width: 14px;
}

.received-files {
  margin-top: 21px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.received-files-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.download-all-button {
  min-height: 36px;
  padding: 7px 12px;
}

.download-all-note {
  margin: 0 0 8px;
  color: #6d8096;
  font-size: 9px;
}

.download-all-status {
  margin: 8px 0;
  color: #62778f;
  font-size: 9px;
}

.download-all-status.is-complete {
  color: #147155;
}

.download-all-status.is-error {
  color: #b34242;
}

.storage-cleanup-note {
  margin: 12px 0 8px;
  color: #6d8096;
  font-size: 9px;
}

.received-files h3 {
  font-size: 13px;
}

.download-button {
  min-height: 34px;
  color: #fff;
  background: var(--blue);
}

.standalone-state {
  display: grid;
  min-height: calc(100vh - 220px);
  place-items: center;
}

.state-card {
  width: min(600px, 100%);
  padding: clamp(30px, 6vw, 55px);
  text-align: center;
}

.state-icon {
  width: 67px;
  height: 67px;
  margin: 0 auto 20px;
}

.state-card h1 {
  margin-bottom: 12px;
  font-size: clamp(28px, 5vw, 42px);
}

.state-card > p:not(.dialog-eyebrow) {
  color: var(--ink-soft);
}

.state-card .primary-button {
  margin-top: 13px;
}

@media (max-width: 1120px) {
  .session-grid {
    grid-template-columns: 1fr;
  }

  .transfer-content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  }

  .peer-empty {
    min-height: 250px;
  }

  .receive-grid,
  .receiver-wait-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .peer-selection-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .peer-selection-bar .primary-button {
    width: 100%;
  }

  .transfer-job-heading {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .transfer-job-heading > .live-badge {
    display: inline-flex;
    grid-column: 1 / -1;
    width: fit-content;
  }

  .batch-transfer-actions {
    flex-direction: column;
  }

  .batch-transfer-actions > button {
    width: 100%;
  }

  .dummy-display-ad {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .dummy-display-visual {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .dummy-display-copy {
    padding: 0 3px;
  }

  .dummy-display-ad > .dummy-ad-cta {
    width: 100%;
  }

  .transfer-content-grid {
    grid-template-columns: 1fr;
  }

  .device-name-button {
    max-width: 132px;
  }

  .device-name-button > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .compact-heading h1 {
    font-size: 37px;
  }

  .share-card,
  .peers-card,
  .receive-form,
  .receive-help,
  .receiver-wait-card,
  .sender-info-card {
    padding: 19px;
  }

  .share-layout {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .qr-panel {
    width: min(190px, 100%);
    margin: 0 auto;
  }

  .copy-field button span {
    display: none;
  }

  .offer-summary {
    grid-template-columns: 1fr;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .dialog-actions > button {
    width: 100%;
  }

  .transfer-heading {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .transfer-direction {
    width: 44px;
    height: 44px;
  }

  .live-badge {
    display: none;
  }

  .progress-metrics {
    grid-template-columns: 1fr;
  }

  .progress-metrics span + span {
    padding-top: 8px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .result-card {
    grid-template-columns: 48px 1fr;
  }

  .result-card > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .result-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .result-actions > button {
    width: 100%;
  }

  .receive-illustration {
    width: 105px;
    height: 105px;
    margin: 15px 0 20px 37px;
  }

  .receive-illustration svg {
    width: 45px;
  }

  .received-files li {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .received-files-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .download-all-button {
    width: 100%;
  }

  .received-files .download-button {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dummy-video-stage > img,
  .dummy-video-timeline i {
    animation: none;
  }
}

/* WebDrop editorial column */

.column-page {
  background:
    radial-gradient(circle at 78% 6%, rgba(83, 153, 239, 0.1), transparent 29rem),
    #eef3f9;
}

.column-topbar {
  position: sticky;
}

.column-topbar .breadcrumb a {
  text-decoration: none;
}

.column-topbar .breadcrumb a:hover {
  color: var(--blue);
}

.column-top-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: #fff;
  border-radius: 9px;
  background: var(--blue);
  box-shadow: 0 7px 18px rgba(20, 115, 230, 0.22);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.column-top-cta:hover {
  background: var(--blue-strong);
}

.column-reading-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #1473e6, #41a1ff);
  transform: scaleX(0);
  transform-origin: left;
}

.column-promo {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr) auto;
  align-items: center;
  gap: 26px;
  margin-top: 22px;
  overflow: hidden;
  color: #fff;
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 0, rgba(54, 139, 239, 0.35), transparent 22rem),
    #0b2a52;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.column-promo-image {
  height: 176px;
  overflow: hidden;
}

.column-promo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% center;
}

.column-promo-copy {
  padding: 25px 0;
}

.column-promo-copy small,
.column-promo-copy strong,
.column-promo-copy > span {
  display: block;
}

.column-promo-copy small {
  margin-bottom: 9px;
  color: #77b8ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.column-promo-copy strong {
  font-size: 20px;
  line-height: 1.55;
}

.column-promo-copy > span {
  max-width: 610px;
  margin-top: 7px;
  color: #adbed4;
  font-size: 10px;
}

.column-promo > b {
  display: grid;
  min-width: 70px;
  height: 40px;
  margin-right: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

main.column-main {
  width: min(1360px, calc(100% - clamp(32px, 6vw, 80px)));
  padding-top: 36px;
}

.column-article {
  overflow: hidden;
  border: 1px solid #d2deec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(19, 53, 94, 0.11);
}

.column-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eaf1f9;
}

.column-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.column-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(244, 248, 253, 0.99) 0%,
      rgba(244, 248, 253, 0.95) 30%,
      rgba(244, 248, 253, 0.58) 48%,
      rgba(244, 248, 253, 0.05) 70%
    ),
    linear-gradient(0deg, rgba(4, 24, 52, 0.16), transparent 36%);
}

.column-hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 62%);
  padding: clamp(74px, 8vw, 112px) 0 66px clamp(38px, 5vw, 74px);
}

.column-kicker,
.column-section-label {
  margin: 0 0 15px;
  color: #0871dd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.column-hero h1 {
  margin: 0 0 22px;
  color: #0a274d;
  font-size: clamp(40px, 3.55vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.column-hero-lead {
  max-width: 545px;
  margin-bottom: 25px;
  color: #405875;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.9;
}

.column-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #657a93;
  font-size: 10px;
  font-weight: 750;
}

.column-hero-meta span + span {
  position: relative;
}

.column-hero-meta span + span::before {
  position: absolute;
  top: 50%;
  left: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9aadc2;
  content: "";
  transform: translateY(-50%);
}

.column-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: clamp(34px, 5vw, 70px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px clamp(28px, 5vw, 68px) 84px;
}

.column-body {
  min-width: 0;
  color: #304762;
  font-size: 15px;
  line-height: 2;
}

.column-body p {
  margin-bottom: 24px;
}

.column-section {
  scroll-margin-top: 96px;
  padding: 64px 0 0;
}

.column-section:first-of-type {
  padding-top: 0;
}

.column-section h2,
.column-summary h2 {
  margin: 0 0 24px;
  color: #0d2b52;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.column-section h3 {
  color: #12345f;
}

.column-summary {
  padding: 30px 32px;
  border: 1px solid #c6dcf6;
  border-radius: 16px;
  background:
    radial-gradient(circle at 95% 0, rgba(40, 133, 239, 0.13), transparent 16rem),
    #f5f9ff;
}

.column-summary h2 {
  margin-bottom: 17px;
  font-size: 25px;
}

.column-summary ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column-summary li {
  position: relative;
  padding-left: 28px;
}

.column-summary li::before {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1684ef;
  box-shadow: inset 0 0 0 4px #dfeeff;
  content: "";
}

.character-dialogue {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: stretch;
  gap: 22px;
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid #d3e0ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(31, 67, 108, 0.08);
}

.character-dialogue.is-anna {
  border-color: #c9dcf4;
  background: linear-gradient(105deg, #f1f7ff, #fff 43%);
}

.character-dialogue.is-saki {
  border-color: #eadad4;
  background: linear-gradient(105deg, #fff4f0, #fff 43%);
}

.character-dialogue-avatar {
  min-height: 178px;
  overflow: hidden;
  background: #eef3f8;
}

.character-dialogue-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.character-dialogue figcaption {
  align-self: center;
  padding: 22px 24px 22px 0;
}

.character-dialogue figcaption > span {
  display: block;
  margin-bottom: 8px;
  color: #2475cd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.character-dialogue.is-saki figcaption > span {
  color: #b85b42;
}

.character-dialogue blockquote {
  margin: 0;
  color: #16365e;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.85;
}

.column-conversation {
  display: grid;
  gap: 17px;
  margin: 34px 0;
}

.column-conversation-line {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  min-height: 178px;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid #ead8d1;
  border-radius: 15px;
  background: linear-gradient(105deg, #fff4f0, #fff 43%);
  box-shadow: 0 13px 35px rgba(31, 67, 108, 0.08);
}

.column-conversation-line.is-anna {
  grid-template-columns: minmax(0, 1fr) 178px;
  border-color: #c9dcf4;
  background: linear-gradient(255deg, #f1f7ff, #fff 43%);
}

.column-conversation-line.is-anna img {
  grid-column: 2;
  grid-row: 1;
}

.column-conversation-line.is-anna p {
  grid-column: 1;
  grid-row: 1;
}

.column-conversation-line img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-conversation-line p {
  display: flex;
  min-width: 0;
  min-height: 178px;
  justify-content: center;
  flex-direction: column;
  margin: 0;
  padding: 24px 28px;
  line-height: 1.85;
}

.column-conversation-line strong,
.column-conversation-line span {
  display: block;
}

.column-conversation-line strong {
  margin-bottom: 8px;
  color: #b5533d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.column-conversation-line.is-anna strong {
  color: #176dcc;
}

.column-conversation-line span {
  color: #264663;
  font-size: 16px;
  font-weight: 750;
}

.column-conversation.is-compact {
  margin: 34px 0;
}

.column-conversation.is-compact .column-conversation-line {
  grid-template-columns: 178px minmax(0, 1fr);
}

.column-conversation.is-compact .column-conversation-line.is-anna {
  grid-template-columns: minmax(0, 1fr) 178px;
}

.column-conversation.is-compact img {
  width: 100%;
  height: 100%;
}

.column-insight {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 4px solid #1eaa7a;
  border-radius: 0 12px 12px 0;
  background: #f0faf7;
}

.column-insight > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #18a173;
  font-weight: 900;
}

.column-insight strong {
  display: block;
  margin-bottom: 4px;
  color: #126448;
}

.column-insight p {
  margin: 0;
  color: #456d61;
  font-size: 13px;
}

.column-steps {
  display: grid;
  gap: 12px;
  margin: 30px 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.column-steps li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 178px;
  align-items: center;
  gap: 17px;
  min-height: 128px;
  padding: 15px 17px 15px 22px;
  border: 1px solid #d7e2ef;
  border-radius: 12px;
  background: #fff;
}

.column-steps li > span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: #1677df;
  border-radius: 11px;
  background: #eaf4ff;
  font-size: 11px;
  font-weight: 900;
}

.column-steps strong {
  display: block;
  margin-bottom: 3px;
  color: #17375e;
  font-size: 15px;
}

.column-steps p {
  margin: 0;
  color: #5e718d;
  font-size: 12px;
  line-height: 1.75;
}

.column-step-visual {
  display: grid;
  min-height: 96px;
  place-items: center;
  overflow: hidden;
  color: #1473e6;
  border-radius: 11px;
  background:
    radial-gradient(circle at 85% 10%, rgba(50, 143, 248, 0.18), transparent 5rem),
    #eef6ff;
}

.column-step-visual svg {
  width: 100%;
  max-width: 170px;
  height: 96px;
  fill: rgba(255, 255, 255, 0.78);
  stroke: currentColor;
  stroke-width: 2.5;
}

.column-step-visual.is-approve {
  color: #17906a;
  background: #eefaf6;
}

.column-step-visual.is-save {
  color: #795dcc;
  background: #f5f1ff;
}

.column-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0 6px;
  padding: 20px 24px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(112deg, #0d61c8, #1685ef);
  box-shadow: 0 15px 32px rgba(16, 107, 214, 0.22);
  text-decoration: none;
}

.column-inline-cta strong,
.column-inline-cta small {
  display: block;
}

.column-inline-cta strong {
  font-size: 17px;
}

.column-inline-cta small {
  margin-top: 2px;
  color: #d8ebff;
  font-size: 10px;
}

.column-inline-cta b {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 19px;
}

.column-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.column-feature-grid article {
  padding: 22px 19px;
  border: 1px solid #d6e1ee;
  border-radius: 13px;
  background: #f9fbfe;
}

.column-feature-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 17px;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  background: #1473e6;
  font-size: 9px;
  font-weight: 900;
}

.column-feature-grid h3 {
  margin: 0 0 9px;
  font-size: 14px;
}

.column-feature-grid p {
  margin: 0;
  color: #63758d;
  font-size: 11px;
  line-height: 1.8;
}

.column-file-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.column-file-types article {
  display: flex;
  min-height: 188px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 20px 13px;
  color: #1473e6;
  border: 1px solid #d7e2ef;
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 0, rgba(45, 136, 241, 0.13), transparent 7rem),
    #fafcff;
  text-align: center;
}

.column-file-types article.is-video {
  color: #8a5bd1;
  background: #fbf8ff;
}

.column-file-types article.is-presentation {
  color: #eb7b3b;
  background: #fff9f4;
}

.column-file-types article.is-document {
  color: #159371;
  background: #f4fbf8;
}

.column-file-types svg {
  width: 82px;
  height: 82px;
  margin-bottom: 10px;
  fill: rgba(255, 255, 255, 0.8);
  stroke: currentColor;
  stroke-width: 3.2;
}

.column-file-types strong,
.column-file-types span {
  display: block;
}

.column-file-types strong {
  color: #17375e;
  font-size: 15px;
}

.column-file-types span {
  margin-top: 3px;
  color: #7b8da3;
  font-size: 8px;
  font-weight: 800;
}

.column-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 17px;
  overflow: hidden;
  border: 1px solid #cddbec;
  border-radius: 14px;
  background: #0d294e;
}

.column-proof div {
  padding: 24px 20px;
}

.column-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.column-proof strong,
.column-proof span {
  display: block;
}

.column-proof strong {
  color: #fff;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.column-proof span {
  margin-top: 5px;
  color: #a8bdd8;
  font-size: 9px;
  line-height: 1.55;
}

.column-note {
  color: #77899e;
  font-size: 10px;
}

.column-check-list {
  display: grid;
  gap: 10px;
  margin: 27px 0;
  padding: 0;
  list-style: none;
}

.column-check-list li {
  position: relative;
  padding: 13px 16px 13px 44px;
  border: 1px solid #d9e7e2;
  border-radius: 10px;
  background: #f7fcfa;
  color: #365e52;
  font-size: 12px;
}

.column-check-list li::before {
  position: absolute;
  top: 14px;
  left: 16px;
  color: #16855f;
  content: "✓";
  font-size: 16px;
  font-weight: 900;
}

.column-check-list strong,
.column-check-list span {
  display: block;
}

.column-check-list strong {
  margin-bottom: 2px;
  color: #245849;
  font-size: 13px;
  font-weight: 850;
}

.column-check-list span {
  color: #658078;
  font-size: 10px;
  line-height: 1.7;
}

.column-ending {
  margin-top: 62px;
  padding: 52px 48px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(49, 134, 237, 0.2), transparent 23rem),
    #0b284e;
}

.column-ending .column-section-label,
.column-ending h2 {
  color: #fff;
}

.column-ending > p {
  color: #c7d5e7;
}

.column-ending-visual {
  margin: 28px -20px 31px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: #061c37;
}

.column-ending-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.column-ending-visual figcaption {
  padding: 10px 14px;
  color: #9eb5d1;
  background: rgba(4, 21, 42, 0.95);
  font-size: 9px;
  text-align: center;
}

.column-ending-quote {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.column-ending-quote span {
  color: #75b7ff;
  font-size: 10px;
  font-weight: 900;
}

.column-ending-quote blockquote {
  margin: 8px 0 0;
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.9;
}

.column-faq details {
  border-top: 1px solid #d7e2ef;
}

.column-faq details:last-child {
  border-bottom: 1px solid #d7e2ef;
}

.column-faq summary {
  position: relative;
  padding: 18px 42px 18px 0;
  color: #17375e;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.column-faq summary::-webkit-details-marker {
  display: none;
}

.column-faq summary::after {
  position: absolute;
  top: 50%;
  right: 7px;
  color: #1473e6;
  content: "+";
  font-size: 22px;
  transform: translateY(-50%);
}

.column-faq details[open] summary::after {
  content: "−";
}

.column-faq details p {
  margin: -3px 0 20px;
  padding-right: 38px;
  color: #5a6f88;
  font-size: 13px;
}

.column-limitations {
  margin-top: 58px;
  padding: 26px 29px;
  border: 1px solid #ead8bc;
  border-radius: 14px;
  background: #fffaf1;
}

.column-limitations h2 {
  margin: 0 0 13px;
  color: #74521c;
  font-size: 16px;
}

.column-limitations ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: #806b49;
  font-size: 11px;
}

.column-aside {
  min-width: 0;
}

.column-toc {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid #d6e1ee;
  border-radius: 14px;
  background: #f9fbfe;
}

.column-toc p {
  margin: 0 0 14px;
  color: #142f54;
  font-size: 11px;
  font-weight: 900;
}

.column-toc a {
  display: block;
  padding: 8px 0;
  color: #63758d;
  border-top: 1px solid #e1e9f3;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.column-toc a:hover {
  color: var(--blue);
}

.column-side-cta {
  margin-top: 18px;
  padding: 25px;
  color: #fff;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(75, 159, 255, 0.38), transparent 12rem),
    #0b2a52;
}

.column-side-cta > span {
  display: block;
  color: #91b8e8;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.column-side-cta > strong {
  display: block;
  margin: 10px 0 18px;
  font-size: 18px;
  line-height: 1.55;
}

.column-side-cta a {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  color: #fff;
  border-radius: 9px;
  background: #1473e6;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
}

.column-sponsor {
  margin-top: 18px;
  padding: 11px;
  border: 1px solid #dce4ee;
  border-radius: 12px;
  background: #fff;
}

.column-sponsor small,
.column-sponsor strong,
.column-sponsor span {
  display: block;
}

.column-sponsor small {
  margin: 0 2px 8px;
  color: #8292a8;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.column-sponsor img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.column-sponsor strong {
  margin: 10px 3px 2px;
  color: #18375c;
  font-size: 11px;
}

.column-sponsor span {
  margin: 0 3px 3px;
  color: #7b8ba0;
  font-size: 8px;
}

.column-article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 39px clamp(28px, 5vw, 68px);
  color: #fff;
  background: #102f59;
}

.column-article-footer > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.column-footer-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  background: #1473e6;
  font-size: 10px;
  font-weight: 900;
}

.column-article-footer p,
.column-article-footer p strong,
.column-article-footer p small {
  margin: 0;
}

.column-article-footer p strong,
.column-article-footer p small {
  display: block;
}

.column-article-footer p strong {
  font-size: 14px;
}

.column-article-footer p small {
  margin-top: 2px;
  color: #9eb4cf;
  font-size: 9px;
}

.column-article-footer > a {
  padding: 12px 17px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.column-article-footer > a span {
  margin-left: 12px;
}

.column-article-footer .column-trademark-note {
  flex-basis: 100%;
  padding-top: 18px;
  color: #7893b4;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 8px;
}

@media (max-width: 1120px) {
  .column-hero {
    min-height: 560px;
  }

  .column-hero-content {
    width: 62%;
  }

  .column-hero h1 {
    font-size: 44px;
  }

  .column-content-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 38px;
  }
}

@media (max-width: 940px) {
  .column-promo {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .column-promo > b {
    display: none;
  }

  main.column-main {
    width: min(100% - 30px, 840px);
    padding-top: 28px;
  }

  .column-hero {
    min-height: 0;
  }

  .column-hero > img {
    position: relative;
    display: block;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .column-hero-shade {
    display: none;
  }

  .column-hero-content {
    width: auto;
    padding: 40px clamp(25px, 6vw, 52px) 43px;
    background:
      radial-gradient(circle at 95% 0, rgba(54, 141, 241, 0.13), transparent 19rem),
      #f4f8fd;
  }

  .column-hero h1 {
    max-width: 700px;
  }

  .column-hero-lead {
    max-width: 720px;
  }

  .column-content-layout {
    display: block;
    padding-top: 54px;
  }

  .column-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 54px;
  }

  .column-toc {
    position: static;
    grid-row: span 2;
  }

  .column-side-cta,
  .column-sponsor {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .column-promo {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .column-promo-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .column-promo-copy {
    padding: 22px;
  }

  .column-promo-copy strong {
    font-size: 18px;
  }

  .column-top-cta {
    min-height: 36px;
    padding: 7px 11px;
  }

  main.column-main {
    width: calc(100% - 20px);
    padding: 15px 0 35px;
  }

  .column-article {
    border-radius: 14px;
  }

  .column-hero-content {
    padding: 31px 21px 34px;
  }

  .column-hero h1 {
    font-size: clamp(31px, 10.4vw, 43px);
  }

  .column-hero-lead {
    font-size: 13px;
    line-height: 1.8;
  }

  .column-content-layout {
    padding: 42px 20px 54px;
  }

  .column-body {
    font-size: 14px;
  }

  .column-section {
    padding-top: 52px;
  }

  .column-summary {
    padding: 25px 21px;
  }

  .column-summary h2 {
    font-size: 21px;
  }

  .character-dialogue {
    display: block;
  }

  .character-dialogue-avatar {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .character-dialogue figcaption {
    padding: 19px 20px 22px;
  }

  .character-dialogue blockquote {
    font-size: 13px;
    line-height: 1.8;
  }

  .column-conversation {
    gap: 15px;
  }

  .column-conversation-line,
  .column-conversation.is-compact .column-conversation-line {
    display: block;
    min-height: 0;
  }

  .column-conversation-line.is-anna,
  .column-conversation.is-compact .column-conversation-line.is-anna {
    display: block;
  }

  .column-conversation-line img,
  .column-conversation.is-compact img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-position: center 24%;
  }

  .column-conversation-line p {
    min-height: 0;
    padding: 19px 20px 22px;
  }

  .column-conversation-line span {
    font-size: 13px;
    line-height: 1.8;
  }

  .column-steps li {
    grid-template-columns: 43px minmax(0, 1fr);
    padding: 15px;
  }

  .column-step-visual {
    grid-column: 2;
    width: 100%;
    margin-top: 7px;
  }

  .column-feature-grid,
  .column-proof {
    grid-template-columns: 1fr;
  }

  .column-proof div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .column-file-types {
    grid-template-columns: repeat(2, 1fr);
  }

  .column-file-types article {
    min-height: 158px;
  }

  .column-file-types svg {
    width: 68px;
    height: 68px;
  }

  .column-ending {
    margin-right: -6px;
    margin-left: -6px;
    padding: 35px 25px;
  }

  .column-ending-visual {
    margin-right: -14px;
    margin-left: -14px;
  }

  .column-ending-quote blockquote {
    font-size: 14px;
  }

  .column-aside {
    grid-template-columns: 1fr;
  }

  .column-toc {
    grid-row: auto;
  }

  .column-article-footer {
    align-items: stretch;
    flex-direction: column;
    padding: 31px 24px;
  }

  .column-article-footer > a {
    text-align: center;
  }
}
