:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #edf7f3;
  --canvas: #f7faf8;
  --line: #d7e2dc;
  --line-strong: #1f2937;
  --yellow: #f2c94c;
  --mint: #55c7a6;
  --sky: #78a6d6;
  --berry: #d9647c;
  --shadow: 0 20px 58px rgba(23, 32, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
li {
  margin: 0;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
}

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

.page {
  min-height: 100svh;
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(31, 41, 55, 0.09);
  background: rgba(247, 250, 248, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.12);
}

.site-nav,
.header-actions,
.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav {
  justify-content: center;
}

.site-nav a,
.text-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(85, 199, 166, 0.14);
  border-radius: 999px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(31, 41, 55, 0.14);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(23, 32, 42, 0.18);
}

.button-yellow {
  background: #f5cf63;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(217, 159, 38, 0.18);
}

.button-light {
  background: #ffffff;
  color: var(--ink);
}

.hero {
  min-height: clamp(620px, calc(100svh - 116px), 780px);
  display: grid;
  align-items: center;
  padding: 62px 0 78px;
  background:
    radial-gradient(circle at 18% 18%, rgba(85, 199, 166, 0.16), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(120, 166, 214, 0.16), transparent 28%),
    linear-gradient(180deg, #f7faf8 0%, #edf7f3 100%);
  border-bottom: 1px solid rgba(31, 41, 55, 0.09);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 440px);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 0 11px;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #445166;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.hero h1 {
  max-width: 720px;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 610px;
  margin-top: 24px;
  color: #374151;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
}

.hero-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
}

.hero-support-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #4a586b;
  font-size: 14px;
  font-weight: 800;
}

.hero-support-actions a::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--mint);
}

.sub-hero {
  padding: 72px 0 82px;
  background:
    radial-gradient(circle at 82% 18%, rgba(120, 166, 214, 0.14), transparent 28%),
    linear-gradient(180deg, #f7faf8 0%, #edf5f7 100%);
  border-bottom: 1px solid rgba(31, 41, 55, 0.09);
}

.sub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 48px;
  align-items: center;
}

.sub-hero h1 {
  max-width: 780px;
  font-size: 48px;
  line-height: 1.12;
}

.ops-board {
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.board-head {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.board-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(85, 199, 166, 0.16);
  color: #24745f;
  font-size: 13px;
  font-weight: 850;
}

.board-logo {
  min-height: 242px;
  display: grid;
  gap: 16px;
  place-items: center;
  align-content: center;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  background:
    radial-gradient(circle at center, rgba(242, 201, 76, 0.2), transparent 44%),
    #f3faf7;
}

.board-logo img {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  box-shadow: 0 16px 32px rgba(23, 32, 42, 0.12);
}

.board-logo p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.board-lines {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.board-lines li {
  min-height: 68px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.board-lines li:last-child {
  border-bottom: 0;
}

.board-lines span {
  display: inline-flex;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf7f3;
  color: #4a586b;
  font-size: 12px;
  font-weight: 850;
}

.board-lines strong {
  font-size: 16px;
  font-weight: 750;
  line-height: 1.45;
}

.compact-board {
  min-height: 0;
}

.feature-lines li {
  min-height: 86px;
}

.price-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.price-row {
  min-height: 136px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.price-row:first-child {
  background: #edf7f3;
}

.price-row span,
.price-row small {
  font-size: 14px;
  font-weight: 850;
}

.price-row strong {
  font-size: 34px;
  line-height: 1;
}

.price-panel p {
  padding: 22px 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.pricing-decision-panel {
  align-content: start;
}

.price-note-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-note-list li {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 0 22px;
  border-top: 1px solid rgba(31, 41, 55, 0.08);
}

.price-note-list strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.price-note-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.process-panel {
  display: grid;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
  list-style: none;
}

.process-panel li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px 16px;
  align-items: center;
  min-height: 112px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.process-panel li:last-child {
  border-bottom: 0;
}

.process-panel span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #edf7f3;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.process-panel strong {
  font-size: 19px;
}

.process-panel small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.task-section,
.system-section,
.flow-section,
.pricing-route-section,
.final-section {
  padding: 78px 0;
}

.section-head,
.system-grid,
.flow-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.section-head {
  margin-bottom: 34px;
}

.section-head .eyebrow,
.system-grid .eyebrow,
.flow-grid .eyebrow,
.final-section .eyebrow {
  margin-bottom: 0;
}

h2 {
  max-width: 760px;
  font-size: 36px;
  line-height: 1.26;
}

.task-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.task-rows article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(23, 32, 42, 0.07);
}

.task-rows article:nth-child(2) {
  background: rgba(245, 251, 248, 0.92);
}

.task-rows article:nth-child(3) {
  background: rgba(245, 248, 252, 0.92);
}

.task-rows span {
  display: inline-flex;
  margin-bottom: 46px;
  color: #24745f;
  font-size: 13px;
  font-weight: 850;
}

.task-rows h3 {
  font-size: 22px;
  line-height: 1.2;
}

.task-rows p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.7;
}

.legal-hero {
  min-height: 360px;
  display: grid;
  align-items: center;
}

.legal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 3px solid var(--line);
  border-left: 3px solid var(--line);
  background: #ffffff;
}

.legal-list section {
  display: grid;
  gap: 12px;
  padding: 28px 30px;
  border-right: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
}

.legal-list h3 {
  font-size: 22px;
  line-height: 1.2;
}

.legal-list p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 3px solid var(--line);
  border-left: 3px solid var(--line);
}

.detail-grid article {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 26px;
  border-right: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  background: #ffffff;
}

.detail-grid article:nth-child(2) {
  background: #f7fff8;
}

.detail-grid article:nth-child(3) {
  background: #f5fbff;
}

.detail-grid article:nth-child(4) {
  background: #fff8fb;
}

.detail-grid span {
  color: var(--berry);
  font-size: 13px;
  font-weight: 950;
}

.detail-grid h3 {
  font-size: 22px;
  line-height: 1.2;
}

.detail-grid p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.help-main {
  padding-bottom: 82px;
}

.help-pack-panel {
  border: 3px solid var(--line);
  background: #ffffff;
  box-shadow: 12px 12px 0 var(--ink);
}

.help-pack-body {
  min-height: 300px;
  display: grid;
  gap: 18px;
  place-items: center;
  align-content: center;
  padding: 34px 28px;
  text-align: center;
}

.help-pack-body img {
  width: 118px;
  height: 118px;
  border-radius: 28px;
}

.help-pack-body code,
.post-card code {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  border: 2px solid var(--line);
  background: #111827;
  color: #ffffff;
  padding: 6px 9px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  font-weight: 850;
  line-height: 1.35;
  white-space: normal;
}

.help-pack-body span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 42px;
}

.post-card {
  min-height: 210px;
  display: grid;
  gap: 18px;
  align-content: start;
  border: 3px solid var(--line);
  background: #ffffff;
  padding: 24px;
  box-shadow: 7px 7px 0 rgba(17, 24, 39, 0.12);
}

.post-card:nth-child(3n + 2) {
  background: #f7fff8;
}

.post-card:nth-child(3n + 3) {
  background: #f5fbff;
}

.post-card h2 {
  font-size: 22px;
  line-height: 1.24;
}

.post-card p,
.post-card li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.82;
}

.post-card p code {
  display: inline;
  padding: 3px 7px;
  line-height: 1.9;
}

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

.help-command-list li {
  display: grid;
  gap: 8px;
  align-items: start;
}

.help-command-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.system-section {
  background: #edf7f3;
  border-block: 1px solid rgba(31, 41, 55, 0.08);
}

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

.system-list article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}

.system-list b {
  color: var(--ink);
  font-size: 18px;
}

.system-list p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.7;
}

.flow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 18px;
  background: #ffffff;
}

.flow-list strong {
  font-size: 19px;
}

.flow-list span {
  min-width: 130px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #edf7f3;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 750;
}

.pricing-route {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.pricing-route ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pricing-route;
}

.pricing-route li {
  counter-increment: pricing-route;
  display: grid;
  grid-template-columns: 52px minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.pricing-route li::before {
  content: counter(pricing-route, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #edf7f3;
  color: #24745f;
  font-size: 13px;
  font-weight: 900;
}

.pricing-route strong {
  font-size: 18px;
}

.pricing-route span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.final-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(85, 199, 166, 0.16), transparent 30%),
    var(--ink);
  color: #ffffff;
}

.final-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-inner > div:first-child {
  max-width: 760px;
}

.final-section h2 {
  color: #ffffff;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(31, 41, 55, 0.08);
  background: #f7faf8;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin: 0 0 12px;
  padding: 0 10px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.command-store-main {
  padding-bottom: 74px;
}

.command-store-product-visual {
  min-height: 430px;
  border: 3px solid var(--line);
  background: #ffffff;
  box-shadow: 12px 12px 0 var(--ink);
}

.command-visual-body {
  min-height: 355px;
  display: grid;
  grid-template-rows: repeat(3, minmax(56px, auto)) 1fr;
  gap: 14px;
  padding: 24px;
}

.command-visual-body img {
  width: 132px;
  height: 132px;
  align-self: end;
  justify-self: end;
  border-radius: 28px;
}

.command-chip {
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 2px solid var(--line);
  background: #f8fafc;
  padding: 0 16px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.command-chip.is-yellow {
  background: var(--yellow);
}

.command-store-steps,
.beginner-flow,
.command-store-modes,
.command-store-toolbar,
.command-store-summary,
.command-store-filter-panel,
.command-pack-panel,
.command-store-install,
.command-cart-panel,
.command-store-workbench,
.command-store-status {
  margin-top: 34px;
}

.command-store-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 3px solid var(--line);
  background: #ffffff;
  box-shadow: 8px 8px 0 var(--ink);
}

.command-store-steps article {
  min-height: 116px;
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 18px;
  border-right: 2px solid var(--line);
}

.command-store-steps article:last-child {
  border-right: 0;
}

.command-store-steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--line);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 950;
}

.command-store-steps span {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.beginner-flow {
  border: 3px solid var(--line);
  background: #ffffff;
  box-shadow: 10px 10px 0 var(--ink);
}

.beginner-flow-head {
  padding: 26px;
  border-bottom: 3px solid var(--line);
}

.beginner-flow-head h2 {
  font-size: 34px;
  line-height: 1.18;
}

.beginner-flow-head p:last-child {
  max-width: 820px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.65;
}

.beginner-flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.beginner-flow-grid article {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 255px;
  padding: 20px;
  border-right: 2px solid var(--line);
}

.beginner-flow-grid article:last-child {
  border-right: 0;
}

.beginner-flow-grid strong {
  font-size: 18px;
  font-weight: 950;
}

.beginner-flow-grid span,
.beginner-flow-grid small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.command-store-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.command-store-modes button,
.command-store-filters button {
  border: 2px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.command-store-modes button {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 18px;
  text-align: left;
}

.command-store-modes button.is-active,
.command-store-filters button.is-active {
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
}

.command-store-modes strong {
  font-size: 18px;
  font-weight: 950;
}

.command-store-modes span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.command-store-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(170px, 0.28fr) minmax(150px, 0.24fr);
  gap: 12px;
}

.command-store-toolbar input,
.command-store-toolbar select,
.installed-command-search input {
  width: 100%;
  min-height: 50px;
  border: 2px solid var(--line);
  background: #ffffff;
  padding: 0 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.command-store-toolbar input:focus,
.command-store-toolbar select:focus,
.installed-command-search input:focus {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.command-store-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.command-store-summary article,
.command-store-install,
.command-pack-panel,
.command-cart-panel,
.template-editor,
.installed-command-panel {
  border: 3px solid var(--line);
  background: #ffffff;
}

.command-store-summary article {
  min-height: 100px;
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 18px;
}

.command-store-summary strong {
  font-size: 28px;
  font-weight: 950;
}

.command-store-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.command-cart-copy {
  grid-column: span 2;
}

.command-store-filter-panel {
  border: 2px solid var(--line);
  background: #ffffff;
  padding: 16px;
}

.command-store-filter-panel summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
}

.command-store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.command-store-filters button {
  min-height: 40px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 900;
}

.command-pack-panel,
.command-cart-panel,
.command-store-install {
  padding: 24px;
  box-shadow: 8px 8px 0 var(--ink);
}

.command-pack-head,
.command-cart-head,
.installed-command-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.command-pack-head h2,
.command-cart-head h2,
.template-editor h2 {
  font-size: 28px;
  line-height: 1.22;
}

.command-pack-head > span,
.command-cart-head > span,
.installed-pack-summary {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.installed-pack-summary {
  margin-top: 16px;
  border: 2px solid rgba(17, 24, 39, 0.16);
  background: #f8fafc;
  padding: 14px;
}

.command-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.command-pack-card,
.installed-pack-summary-card,
.template-card,
.installed-command-card,
.command-cart-items article,
.command-cart-recommend,
.preview-command-card,
.buyer-empty,
.command-cart-empty {
  border: 2px solid rgba(17, 24, 39, 0.22);
  background: #ffffff;
}

.command-pack-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
}

.command-pack-card strong,
.template-card b,
.installed-command-card strong {
  font-size: 17px;
  font-weight: 950;
  line-height: 1.35;
}

.command-pack-card p,
.template-card p,
.installed-command-card p,
.command-cart-empty p,
.template-editor p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.command-store-install {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.command-store-install div {
  display: grid;
  gap: 6px;
}

.command-store-install strong {
  font-size: 18px;
  font-weight: 950;
}

.command-store-install span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.command-store-install select {
  min-width: 260px;
  min-height: 48px;
  border: 2px solid var(--line);
  padding: 0 12px;
  font-weight: 850;
}

.command-store-workbench {
  display: grid;
  grid-template-columns: minmax(270px, 0.36fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.template-editor,
.installed-command-panel {
  padding: 22px;
  box-shadow: 8px 8px 0 var(--ink);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.template-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.template-card.is-selected {
  outline: 4px solid var(--yellow);
}

.template-select {
  display: grid;
  gap: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.template-select span,
.template-badges span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  background: #f3f4f6;
  color: var(--muted);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
}

.template-select strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 22px;
  font-weight: 950;
}

.template-badges,
.template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.template-actions .button {
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
  box-shadow: none;
}

.command-load-more {
  width: 100%;
  margin-top: 16px;
}

.template-editor-head,
.template-editor-note,
.template-install-preview,
.template-set-editor,
.command-direct-install {
  margin-top: 16px;
}

.template-editor-head {
  display: grid;
  gap: 8px;
}

.template-editor-head span,
.template-editor-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.wide-label,
.template-command-row,
.installed-command-search {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 900;
}

.wide-label input,
.wide-label textarea,
.template-command-row input,
.template-command-row textarea {
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--line);
  padding: 12px;
  font: inherit;
}

.wide-label textarea,
.template-command-row textarea {
  min-height: 120px;
  resize: vertical;
}

.template-set-editor {
  display: grid;
  gap: 12px;
}

.preview-command-card {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
}

.preview-command-card code,
.command-cart-command,
.command-cart-copy span {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.command-cart-empty,
.command-cart-items,
.command-cart-recommend,
.command-cart-steps {
  margin-top: 16px;
}

.command-cart-command {
  white-space: pre-wrap;
  border: 2px solid var(--line);
  background: var(--yellow);
  padding: 16px;
  font-size: 17px;
}

.command-cart-items {
  display: grid;
  gap: 10px;
}

.command-cart-items article,
.installed-command-card {
  display: grid;
  gap: 6px;
  padding: 13px;
}

.command-cart-steps {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.installed-command-panel {
  grid-column: 1 / -1;
}

.installed-command-head {
  margin-bottom: 14px;
}

.installed-command-empty {
  border: 2px solid rgba(17, 24, 39, 0.18);
  background: #f8fafc;
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.command-store-status {
  max-width: 1152px;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

.button-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.button-secondary {
  background: #ffffff;
  color: var(--ink);
}

.kakao-button {
  background: #fee500;
  color: #111827;
  box-shadow: 6px 6px 0 var(--ink);
}

.google-button {
  background: #ffffff;
  color: #111827;
}

.auth-page {
  background:
    linear-gradient(90deg, var(--yellow) 0 28px, transparent 28px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.06) 0 1px, transparent 1px),
    var(--soft);
  background-size: auto, 100% 68px, auto;
}

.auth-page.auth-checking .site-header,
.auth-page.auth-checking .auth-main,
.auth-page.login-redirecting .site-header,
.auth-page.login-redirecting .auth-main,
html.auth-session-hint .auth-page .site-header,
html.auth-session-hint .auth-page .auth-main {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-main {
  padding: 56px 0 76px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 38px;
  align-items: start;
}

.auth-intro {
  position: sticky;
  top: 108px;
  padding: 0 0 26px;
}

.auth-intro h1 {
  max-width: 660px;
  margin-top: 18px;
  font-size: 54px;
  line-height: 1.06;
}

.auth-intro > p {
  max-width: 590px;
  margin-top: 22px;
  color: #374151;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.7;
}

.auth-quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.auth-snapshot {
  margin-top: 34px;
  border: 3px solid var(--line);
  background: #ffffff;
  box-shadow: 10px 10px 0 var(--ink);
}

.auth-snapshot-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 3px solid var(--line);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 950;
}

.auth-snapshot-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.auth-snapshot-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(17, 24, 39, 0.12);
}

.auth-snapshot-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.auth-snapshot-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.auth-snapshot-row strong {
  font-size: 16px;
  font-weight: 950;
  line-height: 1.35;
}

.auth-panel {
  border: 3px solid var(--line);
  background: #ffffff;
  box-shadow: 12px 12px 0 var(--ink);
}

.auth-panel-header {
  padding: 26px 28px 20px;
  border-bottom: 3px solid var(--line);
  background: #ffffff;
}

.auth-panel-header h2 {
  margin-top: 10px;
  font-size: 32px;
  line-height: 1.18;
}

.auth-panel-header p,
.auth-mode {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.6;
}

.auth-mode {
  display: block;
}

.auth-body {
  display: grid;
  gap: 22px;
  padding: 26px 28px 30px;
}

.auth-form,
.application-inquiry-form {
  display: grid;
  gap: 16px;
}

.auth-form label,
.application-inquiry-form label,
.apply-room-purpose {
  display: grid;
  gap: 8px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 900;
}

.auth-form input,
.auth-form select,
.auth-form textarea,
.application-inquiry-form select,
.application-inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
  padding: 0 14px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
}

.auth-form textarea,
.application-inquiry-form textarea {
  min-height: 116px;
  padding: 14px;
  resize: vertical;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus,
.application-inquiry-form select:focus,
.application-inquiry-form textarea:focus {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.auth-form .button,
.application-inquiry-form .button {
  width: 100%;
}

.form-status {
  min-height: 48px;
  margin: 0;
  white-space: pre-wrap;
  border: 2px solid rgba(17, 24, 39, 0.18);
  background: #f8fafc;
  color: #374151;
  padding: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(17, 24, 39, 0.18);
  background: #ffffff;
  padding: 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.auth-note-grid,
.market-apply-summary,
.auth-progress-list {
  display: grid;
  gap: 10px;
}

.auth-note-grid,
.market-apply-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-note-grid span,
.market-apply-summary span,
.account-apply-flow,
.auth-next-card,
.auth-account-card,
.apply-login-gate {
  border: 2px solid rgba(17, 24, 39, 0.2);
  background: #f8fafc;
  padding: 14px;
  color: #374151;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.55;
}

.market-apply-summary strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 950;
}

.auth-progress-list {
  counter-reset: auth-step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-progress-list li {
  counter-increment: auth-step;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.auth-progress-list li::before {
  content: counter(auth-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.auth-progress-list li.is-active {
  color: var(--ink);
}

.auth-progress-list li.is-active::before {
  background: var(--yellow);
}

.account-apply-flow {
  display: grid;
  gap: 6px;
}

.account-apply-flow strong,
.auth-next-card strong,
.apply-login-gate strong,
.application-inquiry-form strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.auth-next-card,
.apply-login-gate,
.application-inquiry-form {
  display: grid;
  gap: 10px;
}

.apply-login-gate {
  background: #fffbea;
}

.apply-login-gate > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.apply-login-gate-actions,
.account-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apply-room-purpose {
  margin: 0;
  padding: 14px;
}

.apply-room-purpose legend {
  padding: 0 6px;
  font-weight: 950;
}

.check-row {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px !important;
  align-items: start;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.55;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
}

.check-row a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-list {
  display: grid;
  gap: 10px;
  border: 2px solid rgba(17, 24, 39, 0.16);
  background: #ffffff;
  padding: 14px;
}

.apply-success-card {
  display: grid;
  gap: 16px;
  border: 3px solid var(--line);
  background: #ffffff;
  padding: 22px;
  box-shadow: 8px 8px 0 var(--yellow);
}

.apply-success-card h2 {
  font-size: 25px;
  line-height: 1.24;
}

.apply-success-status,
.inquiry-success-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 16px;
  background: #edf7f3;
  padding: 14px 16px;
}

.apply-success-status strong,
.inquiry-success-card strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.apply-success-status span,
.inquiry-success-card span {
  color: #3f4d5d;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.inquiry-success-card a {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  color: #24745f;
  font-size: 13px;
  font-weight: 900;
}

.apply-success-summary dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.apply-success-summary div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.14);
}

.apply-success-summary dt,
.apply-success-summary dd {
  margin: 0;
}

.apply-success-summary dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.apply-success-summary dd {
  font-weight: 900;
}

.apply-success-next {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.apply-success-next span {
  display: block;
  border-left: 4px solid var(--yellow);
  background: #f8fafc;
  padding: 9px 12px;
  color: #374151;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .hero-grid,
  .sub-hero-grid,
  .section-head,
  .system-grid,
  .flow-grid,
  .pricing-route {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .ops-board {
    max-width: 520px;
    min-height: auto;
  }

  .price-panel,
  .process-panel {
    max-width: 520px;
  }

  .task-rows {
    grid-template-columns: 1fr;
  }

  .command-store-steps,
  .beginner-flow-grid,
  .command-store-summary,
  .command-pack-grid,
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .command-store-steps article:nth-child(2),
  .beginner-flow-grid article:nth-child(2n),
  .command-store-steps article:nth-child(4) {
    border-right: 0;
  }

  .beginner-flow-grid article {
    border-bottom: 2px solid var(--line);
  }

  .beginner-flow-grid article:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .command-store-toolbar,
  .command-store-workbench {
    grid-template-columns: 1fr;
  }

  .task-rows article {
    min-height: 0;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .task-rows article:nth-child(3) {
    border-bottom: 0;
  }

  .detail-grid,
  .legal-list,
  .listing-grid,
  .auth-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(460px, calc(100% - 32px));
  }

  .header-inner {
    min-height: 66px;
    gap: 14px;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .text-link {
    display: none;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero {
    padding: 38px 0 52px;
    background:
      linear-gradient(90deg, var(--yellow) 0 16px, transparent 16px),
      linear-gradient(180deg, rgba(17, 24, 39, 0.06) 0 1px, transparent 1px);
    background-size: auto, 100% 58px;
  }

  .sub-hero {
    padding: 42px 0 58px;
    background:
      linear-gradient(90deg, var(--yellow) 0 16px, transparent 16px),
      linear-gradient(180deg, rgba(17, 24, 39, 0.06) 0 1px, transparent 1px);
    background-size: auto, 100% 58px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .sub-hero h1 {
    font-size: 38px;
    line-height: 1.1;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.68;
  }

  .hero-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .final-actions .button {
    width: 100%;
  }

  .ops-board,
  .help-pack-panel {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .price-panel,
  .process-panel {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .board-logo {
    min-height: 190px;
  }

  .board-logo img {
    width: 108px;
    height: 108px;
  }

  .board-lines li {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    min-height: 72px;
    padding: 0 14px;
  }

  .board-lines strong {
    font-size: 15px;
  }

  .price-row {
    min-height: 118px;
    padding: 20px;
  }

  .price-row strong {
    font-size: 31px;
  }

  .process-panel li {
    min-height: 98px;
    padding: 18px;
  }

  .task-section,
  .system-section,
  .flow-section,
  .pricing-route-section,
  .final-section {
    padding: 60px 0;
  }

  .hero-support-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 12px;
  }

  .hero-support-actions a {
    min-height: 30px;
    font-size: 13px;
  }

  h2 {
    font-size: 28px;
    line-height: 1.28;
  }

  .detail-grid,
  .legal-list,
  .listing-grid,
  .auth-note-grid,
  .market-apply-summary {
    grid-template-columns: 1fr;
  }

  .auth-main {
    padding: 38px 0 56px;
  }

  .auth-intro h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .auth-intro > p {
    font-size: 15px;
  }

  .auth-snapshot {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .auth-snapshot-row,
  .apply-success-summary div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .auth-panel {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .auth-panel-header,
  .auth-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .auth-panel-header h2 {
    font-size: 27px;
  }

  .auth-quick-actions,
  .apply-login-gate-actions,
  .account-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-quick-actions .button,
  .apply-login-gate-actions .button,
  .account-action-row .button,
  .auth-links a {
    width: 100%;
  }

  .detail-grid article {
    min-height: 210px;
  }

  .post-card {
    min-height: 0;
    padding: 20px;
    box-shadow: 6px 6px 0 rgba(17, 24, 39, 0.14);
  }

  .help-pack-body {
    min-height: 250px;
  }

  .help-pack-body img {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .system-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .flow-list li {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 18px 0;
  }

  .pricing-route li,
  .price-note-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .pricing-route li {
    padding: 16px;
  }

  .flow-list span {
    width: fit-content;
    min-width: 0;
  }

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

  .command-store-product-visual,
  .beginner-flow,
  .command-pack-panel,
  .command-cart-panel,
  .template-editor,
  .installed-command-panel {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .command-store-steps,
  .beginner-flow-grid,
  .command-store-modes,
  .command-store-summary,
  .command-pack-grid,
  .template-grid {
    grid-template-columns: 1fr;
  }

  .command-store-steps article,
  .beginner-flow-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .command-store-steps article:last-child,
  .beginner-flow-grid article:last-child {
    border-bottom: 0;
  }

  .command-store-modes button {
    min-height: 82px;
  }

  .command-store-toolbar {
    grid-template-columns: 1fr;
  }

  .command-store-install,
  .command-pack-head,
  .command-cart-head,
  .installed-command-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .command-store-install select {
    width: 100%;
    min-width: 0;
  }

  .template-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .template-actions .button {
    width: 100%;
  }

  .command-visual-body img {
    width: 104px;
    height: 104px;
  }

  .command-chip {
    font-size: 14px;
  }
}

/* 2026-06-19 calm ops redesign overrides */
.legal-list,
.detail-grid,
.command-store-steps,
.beginner-flow-grid,
.command-store-summary,
.command-pack-grid,
.template-grid,
.auth-note-grid,
.market-apply-summary {
  gap: 18px;
  border: 0;
  background: transparent;
}

.legal-list section,
.detail-grid article,
.post-card,
.help-pack-panel,
.command-store-product-visual,
.command-store-steps article,
.beginner-flow-grid article,
.command-store-modes,
.command-store-toolbar,
.command-store-summary,
.command-store-filter-panel,
.command-pack-panel,
.command-store-install,
.command-cart-panel,
.command-store-workbench,
.command-store-status,
.auth-panel,
.auth-snapshot,
.apply-success-summary,
.account-panel {
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(23, 32, 42, 0.07);
}

.legal-list section,
.detail-grid article,
.post-card,
.command-store-steps article,
.beginner-flow-grid article {
  border-right: 1px solid rgba(31, 41, 55, 0.1);
  border-bottom: 1px solid rgba(31, 41, 55, 0.1);
}

.command-store-product-visual,
.help-pack-panel {
  overflow: hidden;
}

.command-visual-body,
.help-pack-body,
.auth-main {
  background:
    radial-gradient(circle at 78% 16%, rgba(85, 199, 166, 0.12), transparent 30%),
    #f7faf8;
}

.command-chip,
.help-pack-body code,
.post-card code,
.auth-panel input,
.auth-panel select,
.auth-panel textarea {
  border: 1px solid rgba(31, 41, 55, 0.13);
  border-radius: 12px;
  box-shadow: none;
}

.command-chip.is-yellow,
.command-store-modes button.is-active,
.command-store-filter-panel button.is-active,
.auth-tab.is-active,
.board-head,
.price-row:first-child,
.auth-panel-header,
.apply-success-head {
  background: #edf7f3;
}

.help-pack-body code,
.post-card code {
  background: #17202a;
  color: #ffffff;
}

.command-store-steps,
.command-store-product-visual,
.help-pack-panel,
.post-card,
.auth-panel,
.auth-snapshot {
  box-shadow: 0 16px 42px rgba(23, 32, 42, 0.08);
}

.auth-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(85, 199, 166, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(120, 166, 214, 0.12), transparent 30%),
    linear-gradient(180deg, #f7faf8 0%, #edf7f3 100%);
}

.auth-snapshot-head,
.auth-progress-list li.is-active::before,
.apply-login-gate {
  background: #edf7f3;
}

.auth-snapshot-head {
  border-bottom: 1px solid rgba(31, 41, 55, 0.1);
}

.auth-snapshot-row {
  border-bottom: 1px solid rgba(31, 41, 55, 0.1);
}

.auth-note-grid span,
.market-apply-summary span,
.account-apply-flow,
.auth-next-card,
.auth-account-card,
.apply-login-gate,
.consent-list,
.form-status,
.auth-links a {
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 14px;
  box-shadow: none;
}

.auth-page .button-primary,
.application-inquiry-form .button-primary {
  border-color: rgba(23, 32, 42, 0.18);
  background: var(--ink);
  color: #ffffff;
  box-shadow: none;
}

.auth-page .button-secondary {
  box-shadow: none;
}

.auth-progress-list li::before {
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 12px;
}

.form-status:empty {
  min-height: 0;
  border: 0;
  padding: 0;
}

.analytics-check-section {
  display: grid;
  gap: 20px;
  padding-block: clamp(40px, 6vw, 72px);
}

.analytics-check-head {
  max-width: 760px;
}

.analytics-check-head h2 {
  margin: 4px 0 10px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.analytics-check-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.65;
}

.final-section .analytics-check-head h2 {
  color: #ffffff;
}

.final-section .analytics-check-head p {
  color: rgba(241, 245, 249, 0.78);
}

.analytics-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.analytics-event-grid article,
.apply-exit-guide,
.apply-error-actions {
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
  box-shadow: none;
}

.analytics-event-grid span,
.apply-exit-guide span,
.apply-error-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.analytics-event-grid strong {
  display: block;
  margin: 8px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.35;
  word-break: break-word;
}

.analytics-event-grid small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.analytics-check-actions,
.apply-error-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apply-exit-guide,
.apply-error-actions {
  display: grid;
  gap: 10px;
}

.apply-exit-guide strong,
.apply-error-actions strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.apply-exit-guide p,
.apply-error-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.apply-exit-guide code {
  color: var(--ink);
  font-family: inherit;
  font-weight: 950;
}

.apply-error-actions[hidden] {
  display: none;
}

.apply-error-action-row a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 999px;
  background: #f8fafc;
  padding: 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .analytics-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero,
  .sub-hero {
    background:
      radial-gradient(circle at 18% 10%, rgba(85, 199, 166, 0.16), transparent 28%),
      linear-gradient(180deg, #f7faf8 0%, #edf7f3 100%);
  }

  .ops-board,
  .help-pack-panel,
  .price-panel,
  .process-panel,
  .command-store-product-visual,
  .auth-panel,
  .auth-snapshot {
    box-shadow: 0 14px 34px rgba(23, 32, 42, 0.08);
  }

  .analytics-event-grid {
    grid-template-columns: 1fr;
  }
}
