/* Kanzlei Spliedt Portal — premium 2026 workspace */
:root {
  --ink: #10242d;
  --ink-2: #17333f;
  --ink-3: #215063;
  --ink-4: #3d6675;
  --accent: #3f7d91;
  --accent-strong: #1d6177;
  --accent-soft: #dcecf0;
  --accent-faint: #edf5f6;
  --canvas: #f2f5f5;
  --paper: #ffffff;
  --surface: #f8faf9;
  --surface-2: #edf2f2;
  --line: #dfe6e6;
  --line-dark: #cbd6d7;
  --muted: #687b82;
  --muted-2: #8a989d;
  --success: #267156;
  --success-bg: #e9f5ef;
  --warning: #8a6225;
  --warning-bg: #fff6e7;
  --danger: #a43d46;
  --danger-bg: #fff1f2;
  --shadow-xs: 0 1px 2px rgba(14, 38, 47, 0.04);
  --shadow-sm: 0 8px 24px rgba(14, 38, 47, 0.055);
  --shadow: 0 18px 48px rgba(14, 38, 47, 0.085);
  --shadow-deep: 0 34px 90px rgba(7, 27, 35, 0.16);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --font-ui:
    "Inter Variable", "Aptos", "Segoe UI Variable", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  background: var(--canvas);
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 8% -10%,
      rgba(142, 189, 201, 0.12),
      transparent 29rem
    ),
    radial-gradient(
      circle at 92% 12%,
      rgba(211, 226, 228, 0.36),
      transparent 32rem
    ),
    var(--canvas);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.012em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before,
.scroll-progress,
.login-atmosphere,
.login-orbit,
.portal-intro__object,
.commerce-object {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(63, 125, 145, 0.22);
  outline-offset: 2px;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease-out);
}
.skip-link:focus {
  transform: none;
}

/* App chrome */
.top {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(18px, 2.6vw, 42px);
  border: 0;
  border-bottom: 1px solid rgba(205, 216, 218, 0.82);
  color: var(--ink);
  background: rgba(248, 250, 250, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(1.25);
}
.top__identity,
.top__actions,
.top__account {
  display: flex;
  align-items: center;
}
.top__identity {
  min-width: 0;
  gap: 18px;
}
.top__actions,
.top__account {
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand__copy {
  display: grid;
  gap: 1px;
  white-space: nowrap;
}
.brand__copy small {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.13em;
}
.square {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(16, 36, 45, 0.14) !important;
  border-radius: 11px;
  color: var(--ink) !important;
  background: linear-gradient(145deg, #fff, #edf3f3);
  box-shadow:
    inset 0 1px 0 #fff,
    0 5px 14px rgba(16, 36, 45, 0.08);
  font-size: 11px;
  font-weight: 760;
}
.top__divider {
  width: 1px;
  height: 30px;
  background: var(--line-dark);
}
.top__page {
  display: grid;
  gap: 1px;
  min-width: 120px;
}
.top__page small {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 630;
}
.top__page strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 680;
}
.top__account .muted {
  display: grid;
  gap: 1px;
  color: #435d67;
  font-size: 10px;
  line-height: 1.25;
}
.top__account .muted small {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--ink-3);
  background: #fff;
  box-shadow: var(--shadow-xs);
  font-size: 11px;
  font-weight: 750;
}
.nav-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.command-trigger,
.side__command {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  color: #50676f;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-xs);
  font-size: 10px;
  font-weight: 650;
  transition:
    color 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    transform 0.16s var(--ease-out);
}
.command-trigger:hover,
.side__command:hover {
  border-color: #aebfc2;
  color: var(--ink);
  background: #fff;
}
.command-trigger:active,
.side__command:active {
  transform: scale(0.98);
}
.command-trigger .nav-icon {
  width: 15px;
  height: 15px;
}
kbd {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #6a7c82;
  background: #f2f5f5;
  box-shadow: inset 0 -1px 0 rgba(16, 36, 45, 0.06);
  font: 650 9px/1 var(--font-ui);
}
.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}
.inline-action {
  display: inline;
  margin: 0;
}

/* Page canvas */
.wrap {
  width: min(1560px, 100%);
  margin: 0 auto;
  padding: 28px clamp(18px, 3vw, 48px) 64px;
}
.portal-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.28fr);
  align-items: end;
  min-height: 238px;
  margin: 0 0 28px;
  padding: clamp(32px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(182, 207, 213, 0.2);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(151, 205, 216, 0.16),
      transparent 25rem
    ),
    linear-gradient(135deg, #102c38 0%, #123947 58%, #174657 100%);
  box-shadow: 0 22px 56px rgba(11, 37, 47, 0.13);
  isolation: isolate;
}
.portal-intro::before {
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -120px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(197, 226, 231, 0.12);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(168, 211, 220, 0.08),
    transparent 66%
  );
  content: "";
}
.portal-intro::after {
  position: absolute;
  z-index: -1;
  top: 24px;
  right: 28%;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  content: "";
}
.portal-intro > div:first-child {
  max-width: 850px;
}
.portal-intro .eyebrow {
  margin-bottom: 14px;
  color: #9bc5ce;
}
.portal-intro .title {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4vw, 61px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.052em;
}
.portal-intro p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  color: #c7d8dc;
  font-size: 14px;
}
.portal-intro__aside {
  display: grid;
  align-content: center;
  justify-self: end;
  width: min(240px, 100%);
  min-height: 130px;
  padding-left: 30px;
  color: #a9c1c7;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.portal-intro__aside span,
.portal-intro__aside small {
  font-size: 9px;
  font-weight: 630;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.portal-intro__aside strong {
  margin: 10px 0 17px;
  color: #fff;
  font-size: 27px;
  font-weight: 580;
  letter-spacing: -0.035em;
}
.grid {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 46px);
}
.portal-content {
  min-width: 0;
  padding-top: 3px;
}

/* Sidebar */
.side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 3px;
  align-self: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.side__label {
  margin: 4px 0 8px;
  padding: 0 10px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.side a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  color: #5a6d74;
  font-size: 11px;
  font-weight: 590;
  letter-spacing: -0.006em;
  text-decoration: none;
  text-transform: none;
  transition:
    color 0.16s ease,
    background 0.16s ease,
    transform 0.16s var(--ease-out);
}
.side a::before,
.side a::after {
  display: none;
}
.side a:hover {
  color: var(--ink);
  background: #f1f5f5;
  transform: translateX(2px);
}
.side a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--ink-2), #215267);
  box-shadow: 0 8px 20px rgba(17, 49, 61, 0.16);
}
.side a.active .nav-icon {
  color: #b8dce3;
}
.nav-label {
  flex: 1;
}
.nav-arrow {
  color: currentColor;
  font-size: 17px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-4px);
  transition: 0.16s var(--ease-out);
}
.side a:hover .nav-arrow,
.side a.active .nav-arrow {
  opacity: 0.7;
  transform: none;
}
.side__command {
  width: 100%;
  justify-content: flex-start;
  margin-top: 7px;
  border: 0;
  background: #f3f6f6;
  box-shadow: none;
}
.side__command span {
  flex: 1;
  text-align: left;
}
.side__command kbd {
  background: #fff;
}

/* Typography and sections */
.title,
h1,
h2,
h3,
.login-form h2,
.shop-hero-copy h2,
.metric b {
  font-family: var(--font-ui);
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 570;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 640;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
p {
  margin: 0 0 14px;
  line-height: 1.67;
}
.eyebrow {
  margin: 0 0 10px;
  color: #72858b;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading__meta {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 650;
}

/* Dashboard */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.metric {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 132px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xs);
  transform: none;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.metric::before,
.metric::after {
  display: none;
}
.metric:hover {
  border-color: #c1d0d2;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.metric__icon,
.panel__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--accent-strong);
  background: var(--accent-faint);
}
.metric__icon .nav-icon,
.panel__icon .nav-icon {
  width: 19px;
  height: 19px;
}
.metric b {
  display: block;
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 31px;
  font-weight: 610;
  line-height: 1;
  letter-spacing: -0.05em;
}
.metric span.muted {
  display: block;
  font-size: 11px;
}
.metric > small {
  position: absolute;
  right: 15px;
  bottom: 13px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 620;
}
.dashboard-panels {
  margin-top: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.panel {
  position: relative;
  margin-bottom: 14px;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xs);
  transform: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.panel:hover {
  border-color: #c3d0d2;
  box-shadow: var(--shadow-sm);
}
.panel.dark {
  color: #fff;
  border-color: #163d4c;
  background:
    radial-gradient(
      circle at 92% 14%,
      rgba(139, 199, 211, 0.15),
      transparent 18rem
    ),
    linear-gradient(140deg, #102b37, #133e4e);
  box-shadow: 0 18px 45px rgba(15, 45, 57, 0.14);
}
.panel.dark::after {
  position: absolute;
  right: -70px;
  bottom: -120px;
  display: block;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  transform: none;
}
.panel.dark h2,
.panel.dark h3 {
  color: #fff;
}
.panel.dark .muted {
  color: #bed0d5;
}
.panel.dark .eyebrow {
  color: #91bbc4;
}
.panel__number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(255, 255, 255, 0.24);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.operations-card .panel__icon {
  margin-bottom: 38px;
}
.operations-card h2,
.action-card h2 {
  max-width: 480px;
}
.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.info-list span {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #405860;
  background: #f7f9f9;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.info-list small {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 680;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.action-card .primary {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--ink);
  background: #d4ebef;
  border-color: #d4ebef;
}
.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.row:first-child {
  padding-top: 0;
  border-top: 0;
}
.row:last-child {
  padding-bottom: 0;
}
.row form {
  flex: 0 1 390px;
}
ul {
  padding-left: 20px;
  color: var(--muted);
}
li + li {
  margin-top: 7px;
}
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: #536a72;
  background: #fff;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag.shipped {
  border-color: #c4dfd2;
  color: var(--success);
  background: var(--success-bg);
}
.tag.process {
  border-color: #ead6ab;
  color: var(--warning);
  background: var(--warning-bg);
}
.notice {
  margin: 16px 0;
  padding: 14px 15px;
  border: 1px solid #c9dce0;
  border-radius: 12px;
  color: #405d68;
  background: var(--accent-faint);
}
.notice.error {
  border-color: #ebc5c8;
  color: var(--danger);
  background: var(--danger-bg);
}

/* Buttons and forms */
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 7px 18px rgba(16, 36, 45, 0.12);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: none;
  transition:
    transform 0.15s var(--ease-out),
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.primary:hover {
  background: var(--ink-3);
  box-shadow: 0 10px 24px rgba(16, 36, 45, 0.16);
  transform: translateY(-1px);
}
.primary:active {
  transform: scale(0.98);
}
.primary--quiet,
.top .primary--quiet {
  min-height: 38px;
  padding: 0 13px;
  border-color: var(--line-dark);
  color: #4d646c;
  background: #fff;
  box-shadow: none;
}
.primary--quiet:hover,
.top .primary--quiet:hover {
  border-color: #9caeb2;
  color: var(--ink);
  background: #f7f9f9;
}
.primary--wide {
  width: 100%;
  min-height: 50px;
  justify-content: space-between;
  padding: 0 18px;
}
form {
  max-width: 820px;
}
label {
  display: block;
  margin: 0 0 16px;
  color: #4f666f;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.035em;
}
input,
select,
textarea {
  width: 100%;
  min-height: 47px;
  margin-top: 7px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(16, 36, 45, 0.02);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
textarea {
  min-height: 130px;
  padding-top: 12px;
  resize: vertical;
}
input:hover,
select:hover,
textarea:hover {
  border-color: #a9b9bc;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(63, 125, 145, 0.1);
}
input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin-top: 0;
}
.link-button {
  padding: 0;
  border: 0;
  color: #526970;
  background: transparent;
  font-size: 10px;
  font-weight: 680;
}

/* Login */
.login {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 18% 8%,
      rgba(144, 191, 202, 0.18),
      transparent 29rem
    ),
    radial-gradient(
      circle at 88% 88%,
      rgba(196, 216, 220, 0.5),
      transparent 31rem
    ),
    #eef2f2;
  perspective: none;
}
.login::before {
  position: absolute;
  inset: 0;
  display: block;
  background-image: radial-gradient(
    rgba(16, 45, 56, 0.055) 0.7px,
    transparent 0.7px
  );
  background-size: 16px 16px;
  mask-image: linear-gradient(90deg, #000, transparent 50%, #000);
  content: "";
  opacity: 0.45;
}
.login-box {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(410px, 0.86fr);
  width: min(1160px, 100%);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(185, 202, 205, 0.78);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-deep);
  transform: none;
}
.login-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 650px;
  overflow: hidden;
  padding: clamp(38px, 5vw, 62px);
  color: #fff;
  background:
    radial-gradient(
      circle at 82% 23%,
      rgba(134, 194, 207, 0.17),
      transparent 22rem
    ),
    linear-gradient(145deg, #102d39, #123c4b 62%, #17495a);
  isolation: isolate;
}
.login-brand::before {
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(213, 236, 240, 0.1);
  border-radius: 50%;
  content: "";
}
.login-brand::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 24%;
  bottom: 0;
  display: block;
  width: 1px;
  background: rgba(255, 255, 255, 0.09);
  content: "";
}
.login-brand__top {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c0d2d6;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.login-brand__mark {
  position: absolute;
  top: 17%;
  right: 7%;
  display: grid;
  gap: 7px;
  width: 185px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  color: #fff;
}
.login-brand__mark span {
  font-size: 42px;
  font-weight: 480;
  letter-spacing: -0.06em;
}
.login-brand__mark small {
  color: #9fb8be;
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.login-brand__copy {
  position: relative;
  z-index: 2;
  max-width: 550px;
}
.login-brand .title {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(50px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.login-brand .muted {
  max-width: 510px;
  color: #bfd0d4;
  font-size: 14px;
}
.login-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 25px;
}
.login-trust span {
  padding: 7px 10px;
  border: 1px solid rgba(205, 231, 235, 0.16);
  border-radius: 999px;
  color: #adc4c9;
  background: rgba(255, 255, 255, 0.035);
  font-size: 8px;
  font-weight: 680;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 68px);
  background: rgba(255, 255, 255, 0.98);
}
.login-form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.login-form h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 560;
  letter-spacing: -0.05em;
}
.login-lead {
  max-width: 410px;
  margin-bottom: 30px;
  color: var(--muted);
}
.security-pulse {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5a727b;
  font-size: 8px;
  font-weight: 680;
  white-space: nowrap;
}
.security-pulse::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42a17b;
  box-shadow: 0 0 0 4px #e6f3ed;
  content: "";
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 84px;
}
.password-toggle {
  position: absolute;
  right: 7px;
  bottom: 7px;
  min-height: 33px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  color: #59717a;
  background: #eef3f3;
  font-size: 9px;
  font-weight: 680;
}
.login-help {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
}
.login-help a {
  color: var(--ink);
  font-weight: 680;
  text-decoration: none;
}

/* Shop */
.shop-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid #163c4a;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(151, 207, 218, 0.16),
      transparent 20rem
    ),
    linear-gradient(137deg, #102c38, #164656);
  box-shadow: 0 18px 44px rgba(12, 43, 55, 0.12);
}
.shop-hero::before {
  position: absolute;
  right: -70px;
  bottom: -120px;
  left: auto;
  display: block;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: transparent;
  content: "";
  mask-image: none;
}
.shop-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  align-items: center;
  gap: 32px;
}
.shop-hero-copy {
  max-width: 720px;
}
.shop-hero-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(37px, 4vw, 56px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.052em;
}
.shop-hero-copy h2 em {
  color: #acd1d8;
  font-style: normal;
}
.shop-hero-copy p {
  max-width: 580px;
  margin: 18px 0 0;
  color: #c3d5d9;
}
.shop-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}
.shop-trust span {
  padding: 6px 9px;
  border: 1px solid rgba(199, 228, 233, 0.17);
  border-radius: 999px;
  color: #b6cdd2;
  font-size: 8px;
  font-weight: 680;
  letter-spacing: 0.04em;
}
.shop-hero__seal {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 165px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.shop-hero__seal span {
  color: #fff;
  font-size: 50px;
  font-weight: 500;
  letter-spacing: -0.06em;
}
.shop-hero__seal small {
  margin-top: 10px;
  color: #9ebac0;
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.shop-search {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  max-width: 900px;
  margin: 30px 0 0;
}
.shop-search label {
  margin: 0;
}
.search-field {
  position: relative;
}
.search-field::before {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 16px;
  color: #77929b;
  content: "⌕";
  font-size: 21px;
  transform: translateY(-50%);
  pointer-events: none;
}
.search-field input {
  min-height: 54px;
  margin: 0;
  padding-left: 46px;
  border-color: rgba(210, 235, 239, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.search-field input::placeholder {
  color: #a6bcc1;
}
.search-field input:focus {
  border-color: rgba(216, 239, 243, 0.42);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(168, 215, 224, 0.09);
}
.shop-search .primary {
  min-height: 54px;
  color: var(--ink);
  background: #d4ebef;
  border-color: #d4ebef;
  box-shadow: none;
}
.category-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}
.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  padding: 0 11px;
  border: 1px solid rgba(202, 230, 235, 0.16);
  border-radius: 999px;
  color: #aec5ca;
  background: rgba(255, 255, 255, 0.035);
  font-size: 9px;
  font-weight: 660;
  text-decoration: none;
  transition: 0.15s ease;
}
.category-chip:hover,
.category-chip.active {
  border-color: #d0e8ec;
  color: var(--ink);
  background: #d0e8ec;
}
.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 17px;
}
.shop-toolbar h2 {
  margin: 0;
  font-size: 25px;
}
.view-tools {
  display: flex;
  align-items: center;
  gap: 7px;
}
.view-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #5b7078;
  background: #fff;
  font-size: 17px;
}
.view-button.active,
.view-button:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.toolbar-link {
  margin-left: 9px;
  color: var(--ink-3);
  font-size: 9px;
  font-weight: 680;
  text-decoration: none;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  perspective: none;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-xs);
  transform: none;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.product-card:hover {
  border-color: #bdcdcf;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.product-media {
  position: relative;
  display: block;
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #e9eeee;
  transform: none;
}
.product-media::after {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(to top, rgba(13, 42, 53, 0.2), transparent 48%);
  content: "";
  opacity: 0.25;
  transition: opacity 0.2s ease;
}
.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
  transition: transform 0.45s var(--ease-out);
}
.product-card:hover .product-media img {
  opacity: 1;
  transform: scale(1.025);
}
.product-media__index,
.product-media__open {
  position: absolute;
  z-index: 2;
  top: 14px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 40, 50, 0.72);
  font-size: 8px;
  font-weight: 680;
  backdrop-filter: blur(8px);
}
.product-media__index {
  left: 14px;
}
.product-media__open {
  right: 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.18s var(--ease-out);
}
.product-card:hover .product-media__open {
  opacity: 1;
  transform: none;
}
.product-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
  font-size: 10px;
  font-weight: 680;
}
.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px;
  transform: none;
}
.product-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.stock-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5c7279;
  font-size: 9px;
  font-weight: 650;
}
.stock-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43a17a;
  box-shadow: 0 0 0 4px #e6f3ed;
  content: "";
}
.product-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 580;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.product-title a {
  text-decoration: none;
}
.product-description {
  margin-bottom: 19px;
  font-size: 12px;
}
.product-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.product-pricing .meta {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}
.product-price {
  color: var(--ink);
  font-size: 25px;
  font-weight: 610;
  line-height: 1;
  letter-spacing: -0.045em;
  text-align: right;
}
.product-price small {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-actions {
  margin-top: 18px;
}
.product-actions form {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
  max-width: none;
}
.product-actions label {
  margin: 0;
}
.product-actions input,
.product-actions .primary {
  min-height: 41px;
}
.product-actions input {
  margin-top: 5px;
}
.product-actions .primary {
  width: 100%;
  justify-content: space-between;
}
.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 15px;
}
.product-links a,
.product-links button {
  color: #526970;
  font-size: 9px;
  font-weight: 680;
  text-decoration: none;
}
.product-grid.is-list {
  grid-template-columns: 1fr;
}
.product-grid.is-list .product-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
}
.product-grid.is-list .product-media {
  height: 100%;
  min-height: 300px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0;
}
.timeline-step {
  min-height: 105px;
  padding: 15px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: #f7f9f9;
  font-size: 10px;
}
.timeline-step b {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-bottom: 9px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}
.timeline-step.done {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}
.timeline-step.current {
  color: var(--success);
  border-color: #c3dfd1;
  background: var(--success-bg);
  font-weight: 680;
}
.portal-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 58px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9px;
}
.portal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #526b72;
}
.portal-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42a17a;
  box-shadow: 0 0 0 4px #e6f3ed;
  content: "";
}

/* Command palette */
.command-backdrop {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 11vh 20px 20px;
  background: rgba(9, 27, 34, 0.5);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}
.command-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.command-palette {
  width: min(620px, 100%);
  overflow: hidden;
  border: 1px solid rgba(206, 221, 223, 0.9);
  border-radius: 20px;
  background: #fbfcfc;
  box-shadow: 0 32px 90px rgba(7, 27, 35, 0.25);
  transform: translateY(-8px) scale(0.985);
  transition: transform 0.2s var(--ease-out);
}
.command-backdrop.is-open .command-palette {
  transform: none;
}
.command-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-bottom: 1px solid var(--line);
}
.command-head::before {
  color: #6a838c;
  content: "⌕";
  font-size: 22px;
}
.command-head input {
  min-height: 45px;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  font-size: 15px;
}
.command-head input:focus {
  box-shadow: none;
}
.command-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #60777f;
  background: #eef3f3;
}
.command-results {
  max-height: 420px;
  overflow: auto;
  padding: 8px;
}
.command-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 13px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 620;
}
.command-results a::after {
  content: "↗";
  opacity: 0.35;
}
.command-results a:hover,
.command-results a.is-current {
  color: #fff;
  background: var(--ink);
}
.command-empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}
.portal-toast {
  position: fixed;
  z-index: 600;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 14px 16px;
  border: 1px solid rgba(196, 222, 227, 0.18);
  border-radius: 14px;
  color: #edf7f8;
  background: #123541;
  box-shadow: 0 22px 60px rgba(8, 29, 36, 0.22);
  font-size: 11px;
  font-weight: 650;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s var(--ease-out);
  pointer-events: none;
}
.portal-toast.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .command-trigger span,
  .top__page {
    display: none;
  }
  .top__divider {
    display: none;
  }
}

@media (max-width: 900px) {
  .top {
    min-height: 66px;
    padding: 0 16px;
  }
  .top__account .muted,
  .command-trigger {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }
  .wrap {
    padding-top: 16px;
  }
  .portal-intro {
    grid-template-columns: 1fr;
    min-height: 225px;
    padding: 34px;
  }
  .portal-intro::after,
  .portal-intro__aside {
    display: none;
  }
  .grid {
    display: block;
  }
  .side {
    position: fixed;
    z-index: 120;
    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    padding: 20px;
    overflow: auto;
    border: 0;
    border-radius: 0;
    background: #f4f7f7;
    box-shadow: none;
    transform: translateX(-102%);
    transition: transform 0.22s var(--ease-out);
  }
  .side.is-open {
    transform: none;
  }
  .side a {
    min-height: 48px;
    font-size: 12px;
  }
  .login-box {
    grid-template-columns: 1fr;
  }
  .login-brand {
    min-height: 360px;
  }
  .login-brand__mark {
    top: 18%;
    right: 7%;
    width: 145px;
  }
  .shop-hero__grid {
    grid-template-columns: 1fr;
  }
  .shop-hero__seal {
    display: none;
  }
  .product-grid.is-list .product-card {
    grid-template-columns: 1fr;
  }
  .product-grid.is-list .product-media {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  .top {
    min-height: 62px;
  }
  .brand__copy,
  .account-avatar {
    display: none;
  }
  .top__account {
    gap: 7px;
  }
  .square {
    width: 35px;
    height: 35px;
  }
  .wrap {
    padding: 12px 12px 54px;
  }
  .portal-intro {
    min-height: 210px;
    margin-bottom: 20px;
    padding: 27px 23px;
    border-radius: 20px;
  }
  .portal-intro .title {
    font-size: 40px;
  }
  .portal-intro p:last-child {
    max-width: 95%;
    font-size: 13px;
  }
  .side {
    top: 62px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .metrics,
  .two,
  .timeline,
  .info-list {
    grid-template-columns: 1fr;
  }
  .metric {
    min-height: 112px;
  }
  .panel {
    padding: 23px;
  }
  .row {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }
  .row form {
    width: 100%;
    flex-basis: auto;
  }
  .login {
    padding: 0;
  }
  .login-box {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .login-brand {
    min-height: 310px;
    padding: 25px;
  }
  .login-brand::after,
  .login-brand__mark {
    display: none;
  }
  .login-brand .title {
    font-size: 45px;
  }
  .login-form {
    min-height: 500px;
    padding: 29px 24px;
  }
  .login-form__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .login-form h2 {
    font-size: 35px;
  }
  .login-help {
    flex-direction: column;
  }
  .shop-hero {
    padding: 26px 21px;
    border-radius: 20px;
  }
  .shop-hero-copy h2 {
    font-size: 39px;
  }
  .shop-trust span:nth-child(3) {
    display: none;
  }
  .shop-search {
    grid-template-columns: 1fr;
  }
  .shop-search .primary {
    width: 100%;
  }
  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .view-tools {
    width: 100%;
  }
  .toolbar-link {
    margin-left: auto;
  }
  .product-media {
    height: 225px;
  }
  .product-body {
    padding: 20px;
  }
  .product-pricing {
    grid-template-columns: 1fr;
  }
  .product-price {
    text-align: left;
  }
  .product-actions form {
    grid-template-columns: 74px 1fr;
  }
  .portal-footer {
    flex-direction: column;
  }
  .portal-toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .product-card {
    transform: none !important;
  }
  .product-media__open {
    display: none;
  }
}

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

@media print {
  .top,
  .side,
  .nav-toggle,
  .command-trigger,
  .primary,
  .product-actions,
  .product-links,
  .portal-intro__aside {
    display: none !important;
  }
  .grid {
    display: block;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  .portal-intro {
    min-height: auto;
    margin: 0 0 30px;
    padding: 0;
    border: 0;
    color: #000;
    background: none;
    box-shadow: none;
  }
  .portal-intro .title,
  .portal-intro p {
    color: #000;
  }
  .panel,
  .metric {
    box-shadow: none;
    break-inside: avoid;
  }
}
