:root {
  --ink: #fafafa;
  --muted: #a1a1aa;
  --line: #27272f;
  --line-strong: #3f3f4a;
  --soft: #18181d;
  --panel: #111114;
  --panel-strong: #18181d;
  --glass-dark: #09090b;
  --brand: #ff5e1a;
  --brand-dark: #e04808;
  --accent: #ff5e1a;
  --olive: #18181d;
  --blue: #38bdf8;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --danger: #b91c1c;
  --warn: #b45309;
  --ok: #15803d;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --blur: none;
}

.pagination {
  min-height: 58px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.pagination-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination-actions strong {
  min-width: 56px;
  text-align: center;
  color: var(--ink);
}

.pagination .icon-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

.confirm-value-field {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.confirm-value-field input {
  width: 100%;
}

@media (max-width: 640px) {
  .pagination {
    padding: 12px;
  }
}

:root[data-theme="dark"] {
  --ink: #fafafa;
  --muted: #a1a1aa;
  --line: #27272f;
  --line-strong: #3f3f4a;
  --soft: #09090b;
  --panel: #111114;
  --panel-strong: #18181d;
  --glass-dark: #09090b;
  --brand: #ff5e1a;
  --brand-dark: #e04808;
  --blue: #38bdf8;
  --danger: #f97066;
  --warn: #fdb022;
  --ok: #32d583;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.30);
}

:root[data-theme="light"] {
  --ink: #111114;
  --muted: #52525b;
  --line: #e4e4e7;
  --line-strong: #d4d4d8;
  --soft: #f4f4f6;
  --panel: #ffffff;
  --panel-strong: #f8f8fa;
  --glass-dark: #ffffff;
  --brand: #111114;
  --brand-dark: #09090b;
  --blue: #2563eb;
  --danger: #dc2626;
  --warn: #d97706;
  --ok: #16a34a;
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #09090b;
  font-family: var(--font-sans);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

:root[data-theme="dark"] body {
  background: #0e0e0e;
}

:root[data-theme="dark"] body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.login-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

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

.pepro-landing {
  position: relative;
  overflow-x: hidden;
  color: #f4f4f0;
  background: #0e0e0e;
}

.pepro-landing::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.28;
}

.landing-spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 0 64%, rgba(181, 230, 29, 0.08) 64% 64.4%, transparent 64.4% 100%);
}

.pepro-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  mix-blend-mode: difference;
}

.pepro-brand,
.pepro-menu-btn,
.pepro-login-btn {
  color: #f4f4f0;
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 900;
}

.pepro-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.pepro-brand img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.42));
}

.pepro-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pepro-menu-btn {
  color: #b5e61d;
}

.pepro-login-btn {
  padding: 9px 12px;
  border: 1px solid rgba(244, 244, 240, 0.24);
  border-radius: 8px;
}

.landing-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 92px 28px 36px;
  background: #09090b;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 420ms cubic-bezier(0.76, 0, 0.24, 1), opacity 260ms ease, visibility 260ms ease;
}

.landing-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.landing-menu-overlay a,
.landing-menu-overlay button {
  width: fit-content;
  border: 0;
  padding: 0;
  color: #fafafa;
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: clamp(28px, 6.5vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.landing-menu-overlay a:hover,
.landing-menu-overlay button:hover {
  color: #ff5e1a;
}

.pepro-hero,
.pepro-section,
.pepro-footer {
  position: relative;
  z-index: 1;
}

.pepro-hero,
.pepro-section,
.pepro-material,
.pepro-footer {
  scroll-margin-top: 78px;
}

.pepro-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 32px 44px;
}

.pepro-line {
  overflow: hidden;
  min-height: clamp(78px, 12vw, 170px);
}

.pepro-line h1 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(76px, 13vw, 178px);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 950;
}

.pepro-line:first-child h1 {
  color: #b5e61d;
}

.pepro-line.muted h1 {
  color: rgba(244, 244, 240, 0.24);
}

.pepro-rotating-line {
  position: relative;
  display: flex;
  align-items: center;
}

.pepro-rotator {
  position: relative;
  width: min(100%, 980px);
  height: clamp(78px, 12vw, 170px);
}

.pepro-rotator span {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  transform: translateY(100%);
  animation: peproWords 10s infinite;
}

.pepro-rotator span:nth-child(2) { animation-delay: 2.5s; }
.pepro-rotator span:nth-child(3) { animation-delay: 5s; }
.pepro-rotator span:nth-child(4) { animation-delay: 7.5s; }

@keyframes peproWords {
  0%, 24% { opacity: 1; transform: translateY(0); }
  28%, 100% { opacity: 0; transform: translateY(-100%); }
}

.pepro-circle-link {
  position: absolute;
  right: 0;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid #b5e61d;
  border-radius: 999px;
  color: #b5e61d;
  text-decoration: none;
  font-size: 42px;
}

.pepro-hero-copy {
  width: min(460px, 100%);
  margin: 34px 0 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 244, 240, 0.20);
}

.pepro-hero-copy p {
  margin: 0;
  color: rgba(244, 244, 240, 0.68);
  text-transform: uppercase;
  line-height: 1.75;
  font-size: 13px;
  font-weight: 780;
}

.pepro-hero-copy a {
  display: inline-flex;
  margin-top: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid #b5e61d;
  color: #b5e61d;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.pepro-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 42px 0;
  border-block: 1px solid rgba(244, 244, 240, 0.12);
  background: #1a1a1a;
}

.pepro-marquee div {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: peproMarquee 20s linear infinite;
}

.pepro-marquee span {
  white-space: nowrap;
  color: #b5e61d;
  text-transform: uppercase;
  font-size: clamp(42px, 8vw, 116px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.pepro-marquee span:nth-child(even) {
  color: #f4f4f0;
}

@keyframes peproMarquee {
  to { transform: translateX(-50%); }
}

.pepro-section {
  padding: 92px 32px;
  background: #0e0e0e;
}

.pepro-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 46px;
}

.pepro-section-head h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: 0;
}

.pepro-section-head span {
  color: #b5e61d;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.pepro-catalog-list {
  border-top: 1px solid rgba(244, 244, 240, 0.16);
}

.pepro-catalog-list article {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(244, 244, 240, 0.16);
}

.pepro-catalog-list small {
  min-width: 36px;
  color: #b5e61d;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.pepro-catalog-list strong {
  flex: 1;
  color: rgba(244, 244, 240, 0.32);
  text-transform: uppercase;
  font-size: clamp(34px, 6vw, 92px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  transition: color 180ms ease, transform 180ms ease;
}

.pepro-catalog-list span {
  max-width: 280px;
  color: rgba(244, 244, 240, 0.58);
  text-align: right;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.pepro-catalog-list article:hover strong {
  color: #b5e61d;
  transform: translateX(10px);
}

.landing-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.landing-product-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}

.landing-product-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(244, 244, 240, 0.16);
  border-radius: 8px;
  background: #1a1a1a;
}

.product-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

.landing-product-visual:hover .product-image {
  transform: scale(1.025);
}

.landing-product-brand {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.product-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: #f4f4f0;
  background: #1a1a1a;
  text-align: left;
}

.product-placeholder::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(181, 230, 29, 0.34);
  content: "";
  pointer-events: none;
}

.product-placeholder span {
  color: #b5e61d;
  font-size: 12px;
  font-weight: 950;
}

.product-placeholder strong {
  position: relative;
  z-index: 1;
  max-width: 100%;
  text-transform: uppercase;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 0.94;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.landing-product-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 7px 9px;
  border-radius: 999px;
  color: #0e0e0e;
  background: #b5e61d;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 950;
}

.landing-product-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.landing-product-info > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.landing-product-info span,
.landing-product-meta {
  color: rgba(244, 244, 240, 0.56);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.landing-product-info strong {
  color: #f4f4f0;
  font-size: 17px;
  line-height: 1.2;
}

.landing-product-info > strong {
  flex: 0 0 auto;
  color: #b5e61d;
  font-size: 13px;
}

.landing-product-meta {
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-swatches {
  display: flex;
  gap: 5px;
}

.product-swatch {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(244, 244, 240, 0.28);
  border-radius: 999px;
  background: var(--swatch);
}

.landing-product-open {
  min-height: 42px;
  border: 1px solid rgba(244, 244, 240, 0.20);
  border-radius: 8px;
  color: #f4f4f0;
  background: transparent;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 950;
}

.landing-product-open:hover {
  color: #0e0e0e;
  background: #b5e61d;
  border-color: #b5e61d;
}

.landing-product-open:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.landing-product-empty {
  grid-column: 1 / -1;
  padding: 72px 0;
  border-block: 1px solid rgba(244, 244, 240, 0.16);
  color: rgba(244, 244, 240, 0.52);
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 54px);
  font-weight: 900;
}

.public-product-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.78);
}

.public-product-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100vh - 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  overflow: auto;
  border: 1px solid rgba(244, 244, 240, 0.18);
  border-radius: 8px;
  color: #f4f4f0;
  background: #0e0e0e;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
}

.public-product-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 244, 240, 0.24);
  border-radius: 999px;
  color: #f4f4f0;
  background: #0e0e0e;
  font-size: 24px;
}

.public-product-media {
  min-height: 660px;
  display: grid;
  background: #1a1a1a;
}

.public-product-media .product-image {
  min-height: inherit;
}

.public-product-media .product-placeholder strong {
  font-size: clamp(42px, 6vw, 82px);
}

.public-product-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 58px 38px 34px;
}

.public-product-content > span {
  color: #b5e61d;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.public-product-content h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.92;
  font-weight: 950;
}

.public-product-price {
  color: #b5e61d;
  font-size: 22px;
}

.public-product-content > p {
  margin: 0;
  color: rgba(244, 244, 240, 0.62);
  line-height: 1.7;
}

.public-product-content dl {
  margin: 0;
  border-top: 1px solid rgba(244, 244, 240, 0.16);
}

.public-product-content dl > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(244, 244, 240, 0.16);
}

.public-product-content dt {
  color: rgba(244, 244, 240, 0.52);
}

.public-product-content dd {
  margin: 0;
  font-weight: 850;
}

.public-product-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.public-product-options .field label {
  color: rgba(244, 244, 240, 0.64);
}

.public-product-options input,
.public-product-options select {
  color: #f4f4f0;
  background: #1a1a1a;
  border-color: rgba(244, 244, 240, 0.18);
}

.public-product-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.public-product-total span {
  color: rgba(244, 244, 240, 0.58);
  font-size: 12px;
}

.public-product-total strong {
  font-size: 20px;
}

.public-product-whatsapp {
  min-height: 48px;
  border-radius: 8px;
  color: #0e0e0e;
  background: #b5e61d;
  font-size: 12px;
  font-weight: 950;
}

.pepro-material {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  min-height: 760px;
  background: #b5e61d;
  color: #0e0e0e;
}

.pepro-material-image {
  min-height: 620px;
  background:
    linear-gradient(90deg, transparent 58%, rgba(0, 0, 0, 0.12)),
    url("assets/landing-hero-workshop.png") right center / cover no-repeat;
}

.pepro-material-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 68px 42px;
}

.pepro-material-copy > span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
}

.pepro-material-copy h2 {
  margin: auto 0 0;
  text-transform: uppercase;
  font-size: clamp(48px, 6vw, 98px);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
}

.pepro-material-copy p {
  max-width: 520px;
  margin: 0;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.65;
}

.pepro-material-copy div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pepro-material-copy strong {
  padding: 9px 12px;
  border: 1px solid rgba(14, 14, 14, 0.45);
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 10px;
}

.pepro-process {
  padding-top: 40px;
}

.pepro-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 16px;
  overflow-x: auto;
}

.pepro-process-grid article {
  min-height: 420px;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(244, 244, 240, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(181, 230, 29, 0.10), transparent 38%),
    #1a1a1a;
}

.pepro-process-grid article > span {
  color: #b5e61d;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 46px;
  font-weight: 950;
}

.pepro-process-grid strong {
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.98;
  font-weight: 950;
}

.pepro-process-grid p {
  margin: 0;
  color: rgba(244, 244, 240, 0.55);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.pepro-footer {
  padding: 96px 32px 28px;
  background: #000000;
}

.pepro-footer p {
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.12);
  color: rgba(244, 244, 240, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.pepro-footer a {
  display: block;
  color: #f4f4f0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(76px, 16vw, 210px);
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: 0;
}

.pepro-footer a:hover {
  color: #b5e61d;
  font-style: italic;
}

.pepro-footer div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  color: rgba(244, 244, 240, 0.42);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.pepro-footer button {
  color: #b5e61d;
  background: transparent;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.btn.light {
  color: #101828;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
}

.login-theme {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
}

.login-card {
  width: min(100%, 1040px);
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.login-brand {
  position: relative;
  padding: 46px;
  color: #f8fafc;
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.86), rgba(17, 24, 39, 0.78) 58%, rgba(37, 99, 235, 0.68)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-brand::after {
  position: absolute;
  inset: 14px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  pointer-events: none;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #082f2d;
  background: linear-gradient(145deg, #d9ff51, #8fdb10);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68), 0 10px 24px rgba(0, 0, 0, 0.16);
  font-weight: 950;
}

.logo-image {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.login-brand h1 {
  margin: 50px 0 14px;
  max-width: 430px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.login-brand p {
  margin: 0;
  max-width: 430px;
  color: rgba(240, 253, 250, 0.88);
  line-height: 1.65;
}

.login-home-link {
  position: relative;
  z-index: 1;
}

.login-editorial {
  position: relative;
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: 0;
  color: #f4f4f0;
  background: #0e0e0e;
}

.login-editorial::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.28;
}

.login-editorial-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.12);
}

.login-editorial-brand,
.login-editorial-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: #f4f4f0;
  background: transparent;
  font-size: 13px;
  font-weight: 950;
}

.login-editorial-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.login-editorial-home {
  color: #b5e61d;
  letter-spacing: 0.08em;
}

.login-editorial-stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
}

.login-editorial-intro {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 126px 6vw 72px;
  border-right: 1px solid rgba(244, 244, 240, 0.12);
}

.login-editorial-intro::after {
  position: absolute;
  top: -18%;
  right: 21%;
  width: 1px;
  height: 145%;
  background: rgba(181, 230, 29, 0.25);
  content: "";
  transform: rotate(29deg);
  transform-origin: center;
}

.login-editorial-copy {
  position: relative;
  z-index: 2;
  width: 100%;
}

.login-eyebrow {
  display: block;
  color: #b5e61d;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.login-editorial-copy h1 {
  display: grid;
  margin: 24px 0;
  color: #f4f4f0;
  font-size: clamp(68px, 7.4vw, 138px);
  line-height: 0.78;
  font-weight: 950;
  letter-spacing: 0;
}

.login-editorial-copy h1 span:first-child {
  color: #b5e61d;
}

.login-editorial-copy p {
  margin: 0;
  color: rgba(244, 244, 240, 0.58);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.login-editorial-product {
  position: absolute;
  right: -5%;
  bottom: -9%;
  z-index: 1;
  width: min(46vw, 620px);
  height: 76%;
  object-fit: contain;
  opacity: 0.28;
  pointer-events: none;
}

.login-editorial .editorial-login-form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 126px clamp(36px, 5vw, 88px) 54px;
  color: #f4f4f0;
  background: rgba(14, 14, 14, 0.92);
}

.login-form-copy {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.login-editorial .editorial-login-form h2 {
  margin: 0;
  color: #f4f4f0;
  font-size: clamp(46px, 4vw, 68px);
  line-height: 0.95;
  font-weight: 950;
}

.login-form-copy p {
  margin: 0;
  color: rgba(244, 244, 240, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

.login-editorial .editorial-login-form .field {
  width: 100%;
  gap: 9px;
}

.login-editorial .editorial-login-form .field label {
  color: rgba(244, 244, 240, 0.70);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.login-editorial .editorial-login-form .field input {
  min-height: 52px;
  padding: 13px 0;
  color: #f4f4f0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 244, 240, 0.32);
  border-radius: 0;
  box-shadow: none;
}

.login-editorial .editorial-login-form .field input::placeholder {
  color: rgba(244, 244, 240, 0.34);
}

.login-editorial .editorial-login-form .field input:focus {
  border-color: #b5e61d;
  box-shadow: none;
}

.login-submit {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 18px;
  color: #0e0e0e;
  background: #b5e61d;
  border: 1px solid #b5e61d;
  border-radius: 0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.login-submit:hover {
  color: #b5e61d;
  background: transparent;
}

.login-submit span:last-child {
  font-size: 21px;
}

.login-security {
  margin: 18px 0 0;
  color: rgba(244, 244, 240, 0.32);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.login-editorial .editorial-login-form .error {
  color: #ffd6d6;
  background: rgba(153, 27, 27, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.46);
  box-shadow: none;
  backdrop-filter: none;
}

:root[data-theme="dark"] .login-editorial .editorial-login-form {
  color: #f4f4f0;
  background: #111111;
  border-color: rgba(244, 244, 240, 0.12);
}

:root[data-theme="dark"] .login-editorial .editorial-login-form .field input {
  color: #f4f4f0;
  background: transparent;
  border-color: rgba(244, 244, 240, 0.32);
  box-shadow: none;
}

:root[data-theme="dark"] .login-editorial .editorial-login-form .field input:focus {
  border-color: #b5e61d;
  box-shadow: none;
}

.demo-note {
  display: grid;
  gap: 10px;
  padding: 16px;
  color: rgba(240, 253, 250, 0.94);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
}

.demo-note-title {
  display: grid;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.demo-note-title span {
  font-weight: 900;
}

.demo-note-title small,
.demo-account span {
  color: rgba(240, 253, 250, 0.70);
  font-size: 12px;
}

.demo-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 47, 45, 0.18);
}

.demo-account strong {
  font-size: 12px;
  text-align: right;
  word-break: break-word;
}

.login-form {
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.44);
}

.login-form .field {
  width: 100%;
  align-self: stretch;
}

.login-form h2,
.panel-title h2,
.modal h2 {
  margin: 0;
  letter-spacing: 0;
}

.hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.field {
  display: grid;
  gap: 7px;
  align-self: start;
  align-content: start;
}

.field label {
  color: #334155;
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea,
.filters input,
.filters select,
.size-row input,
.size-row select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  outline: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.filters input:focus,
.filters select:focus,
.size-row input:focus,
.size-row select:focus {
  border-color: rgba(15, 118, 110, 0.62);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12), 0 1px 2px rgba(16, 24, 40, 0.06);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.autosave-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 800;
}

.autosave-status[data-state="saving"],
.autosave-status[data-state="pending"] {
  color: var(--warn);
  border-color: rgba(180, 83, 9, 0.28);
  background: rgba(254, 243, 199, 0.58);
}

.autosave-status[data-state="ok"] {
  color: var(--ok);
  border-color: rgba(21, 128, 61, 0.24);
  background: rgba(220, 252, 231, 0.58);
}

.autosave-status[data-state="danger"] {
  color: var(--danger);
  border-color: rgba(185, 28, 28, 0.24);
  background: rgba(254, 226, 226, 0.58);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #f9fafb;
  border-color: #98a2b3;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.10);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  color: #09090b;
  background: #ff5e1a;
  border-color: #ff5e1a;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(255, 94, 26, 0.2);
}

.btn.dark {
  color: #fff;
  background: rgba(17, 24, 39, 0.86);
}

.btn.danger {
  color: var(--danger);
  background: rgba(254, 226, 226, 0.76);
}

.btn.ghost {
  color: #334155;
  background: #f8fafc;
  border: 1px solid #d0d5dd;
}

.btn.small {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}

.error,
.notice {
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  font-size: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.error {
  color: #991b1b;
  background: rgba(254, 226, 226, 0.76);
}

.notice {
  color: #134e4a;
  background: rgba(204, 251, 241, 0.72);
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
  pointer-events: none;
}

.toast {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  color: #182230;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  animation: toast-in 180ms ease both;
}

.toast strong {
  font-size: 13px;
}

.toast span {
  color: #475467;
  font-size: 13px;
  line-height: 1.35;
}

.toast.ok {
  border-left-color: var(--ok);
}

.toast.danger {
  border-left-color: var(--danger);
}

.toast.is-hiding {
  animation: toast-out 180ms ease both;
}

.app-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.app-confirm {
  width: min(440px, 100%);
  overflow: hidden;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-confirm-body {
  padding: 18px 18px 8px;
}

.app-confirm h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.app-confirm p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.app-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px 18px;
}

.btn.danger.solid {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

.app-shell {
  min-height: 100vh;
  display: block;
  padding-left: 276px;
}

.sidebar {
  position: fixed;
  inset: 14px auto 14px 14px;
  z-index: 10;
  width: 262px;
  min-height: 0;
  margin: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
  color: #fafafa;
  background: #0d0d10;
  border: 1px solid #27272f;
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sidebar-close,
.sidebar-backdrop {
  display: none;
}

.sidebar-menu-toggle,
.sidebar-toggle-btn {
  flex: 0 0 auto;
  width: 42px;
  min-width: 42px;
  padding: 0;
}

.sidebar-menu-toggle {
  display: inline-flex;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
}

.sidebar-toggle-icon {
  width: 20px;
  height: 18px;
  position: relative;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 5px;
  opacity: 0.9;
}

.sidebar-toggle-icon::before {
  position: absolute;
  inset: 0 auto 0 6px;
  width: 2px;
  content: "";
  background: currentColor;
  opacity: 0.78;
}

.sidebar-toggle-icon span,
.sidebar-toggle-icon span::before,
.sidebar-toggle-icon span::after {
  position: absolute;
  right: 3px;
  left: 10px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 99px;
}

.sidebar-toggle-icon span {
  top: 4px;
}

.sidebar-toggle-icon span::before {
  top: 4px;
  right: 0;
  left: 0;
}

.sidebar-toggle-icon span::after {
  top: 8px;
  right: 0;
  left: 0;
}

.nav {
  display: grid;
  gap: 7px;
}

.nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(234, 236, 240, 0.78);
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav button.active,
.nav button:hover {
  color: #ff5e1a;
  background: rgba(255, 94, 26, 0.08);
  border-color: rgba(255, 94, 26, 0.35);
  box-shadow: inset 3px 0 0 #ff5e1a;
  transform: translateX(1px);
}

.nav .nav-home {
  margin-bottom: 4px;
  color: #ff5e1a;
  border-bottom: 1px solid #27272f;
  border-radius: 0;
}

.sidebar-foot {
  margin-top: auto;
  display: grid;
  gap: 10px;
  color: rgba(226, 232, 240, 0.84);
  font-size: 13px;
}

.sidebar .btn.ghost {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
}

.main {
  min-width: 0;
  padding: 30px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 0 2px;
}

.topbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar h1 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 950;
}

.topbar .hint {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

.toolbar,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.theme-toggle-btn {
  width: 42px;
  min-width: 42px;
  padding: 0;
}

.theme-toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.theme-toggle-icon.moon {
  border-radius: 999px;
  box-shadow: inset -6px -4px 0 0 currentColor;
  transform: rotate(-14deg);
}

.theme-toggle-icon.sun {
  border: 2px solid currentColor;
  border-radius: 999px;
}

.theme-toggle-icon.sun::before,
.theme-toggle-icon.sun::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 2px;
  height: 28px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.theme-toggle-icon.sun::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.theme-toggle-btn:hover .theme-toggle-icon {
  transform: scale(1.06);
}

.theme-toggle-btn:hover .theme-toggle-icon.moon {
  transform: rotate(-14deg) scale(1.06);
}

.filters input,
.filters select {
  width: auto;
  min-width: 220px;
  min-height: 38px;
  padding: 8px 10px;
}

.filter-panel {
  width: 100%;
}

.filter-panel summary {
  display: none;
  cursor: pointer;
  user-select: none;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel-strong);
  font-weight: 850;
}

.filter-panel summary::marker {
  color: var(--brand);
}

.filter-hint {
  width: 100%;
  margin: 0;
  align-self: center;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat,
.panel,
.modal,
.invoice {
  background: #ffffff;
  color: #111827;
  --ink: #111827;
  --muted: #667085;
  --line: #e4e7ec;
  --soft: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.stat {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  padding: 18px;
}

.stat::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: var(--accent);
  opacity: 0.92;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.stat strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
  letter-spacing: 0;
}

.order-summary-grid {
  margin-bottom: 14px;
}

.closing-summary-grid {
  margin-bottom: 14px;
}

.closing-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.mini-stat {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.mini-stat span,
.mini-stat small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.mini-stat strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 20px;
  letter-spacing: 0;
}

.stat-period {
  font-size: 18px !important;
  line-height: 1.25;
}

.panel {
  overflow: hidden;
}

.closing-panel {
  margin-bottom: 14px;
}

.panel-title {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: #f4f4f0;
}

.panel-body {
  padding: 18px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
}

.orders-table {
  min-width: 1080px;
}

.products-table {
  min-width: 960px;
}

.product-summary-grid {
  margin-bottom: 14px;
}

.admin-product-image {
  width: 64px;
  height: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.admin-product-image .product-placeholder {
  position: relative;
  padding: 8px;
}

.admin-product-image .product-placeholder::after {
  inset: 5px;
}

.admin-product-image .product-placeholder span {
  font-size: 7px;
}

.admin-product-image .product-placeholder strong {
  font-size: 9px;
}

.product-upload-field {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: end;
  gap: 10px 16px;
}

.product-upload-field > label,
.product-upload-field > .hint {
  grid-column: 1 / -1;
}

.product-form-media {
  width: 180px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.product-form-media .product-placeholder {
  position: relative;
}

.product-form-media .product-placeholder strong {
  font-size: 24px;
}

.production-board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.production-column {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.production-column-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-strong);
}

.production-column-head h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.production-column-head span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: #0e0e0e;
  background: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.production-card-list {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.production-card {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.production-card-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.compact-empty {
  min-height: 72px;
  display: grid;
  place-items: center;
}

.orders-table th:nth-child(1),
.orders-table td:nth-child(1) {
  width: 52px;
  text-align: center;
}

.orders-table th:nth-child(2),
.orders-table td:nth-child(2) {
  width: 27%;
}

.orders-table th:nth-child(3),
.orders-table td:nth-child(3) {
  width: 16%;
}

.orders-table th:nth-child(4),
.orders-table td:nth-child(4) {
  width: 16%;
}

.orders-table th:nth-child(5),
.orders-table td:nth-child(5) {
  width: 17%;
}

.orders-table th:nth-child(6),
.orders-table td:nth-child(6) {
  width: 10%;
}

.orders-table th:nth-child(7),
.orders-table td:nth-child(7) {
  width: 9%;
}

th,
td {
  padding: 14px 14px;
  border-bottom: 1px solid #eef2f6;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: #475467;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

tbody tr {
  transition: background 160ms ease;
}

tbody tr:hover {
  background: #f9fbfd;
}

.orders-table td {
  padding-top: 17px;
  padding-bottom: 17px;
}

.row-number {
  color: var(--muted);
  font-weight: 850;
}

.nowrap {
  white-space: nowrap;
}

.order-identity {
  display: grid;
  gap: 3px;
}

.order-title {
  display: block;
  max-width: 270px;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.25;
}

.order-code {
  display: block;
  width: fit-content;
  margin-top: 0;
  color: rgba(100, 116, 139, 0.78);
  font-size: 12px;
  font-weight: 600;
}

.order-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.customer-name {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.status-stack {
  display: grid;
  gap: 7px;
  align-content: start;
}

.status-stack > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.money-main {
  margin-bottom: 4px;
  font-weight: 900;
}

.deadline-cell {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #1f2937;
}

.actions-cell {
  text-align: right;
}

.action-select {
  width: 122px;
  min-height: 34px;
  padding: 7px 10px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  outline: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.action-select:focus {
  border-color: rgba(15, 118, 110, 0.62);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12), 0 1px 2px rgba(16, 24, 40, 0.05);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  background: #f2f4f7;
  color: #344054;
  box-shadow: none;
}

.badge.ok {
  background: #ecfdf3;
  color: #067647;
}

.badge.warn {
  background: #fffaeb;
  color: #b54708;
}

.badge.danger {
  background: #fef3f2;
  color: #b42318;
}

.badge.info {
  background: #eff8ff;
  color: #175cd3;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.detail-row span {
  color: var(--muted);
  font-size: 13px;
}

.detail-actions {
  grid-column: 1 / -1;
  padding-top: 4px;
}

.share-actions {
  position: relative;
  z-index: 4;
  margin-bottom: 12px;
}

.shared-section {
  margin: 18px 0;
}

.shared-section h3 {
  margin: 0 0 10px;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mini-actions .btn {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}

.mockup-preview {
  width: min(100%, 340px);
  margin: 0;
  display: grid;
  gap: 8px;
}

.image-preview-button {
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: zoom-in;
}

.mockup-preview.compact {
  width: min(100%, 220px);
}

.mockup-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.image-preview-button:hover img {
  transform: scale(1.015);
}

.image-preview-button img {
  transition: transform 160ms ease;
}

.mockup-preview figcaption,
.mockup-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.mockup-empty {
  width: min(100%, 220px);
  padding: 18px;
  border: 1px dashed rgba(100, 116, 139, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
  text-align: center;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  padding: 12px;
  border-left: 4px solid rgba(15, 118, 110, 0.76);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.history-page {
  margin-top: 14px;
}

.size-table-wrap {
  margin-top: 12px;
}

.size-summary-table {
  min-width: 420px;
}

.size-summary-table th,
.size-summary-table td {
  text-align: center;
}

.size-summary-table th:first-child,
.size-summary-table td:first-child {
  text-align: left;
}

.image-viewer {
  margin: 0;
  display: grid;
  gap: 12px;
}

.image-viewer img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-soft);
}

.image-viewer figcaption {
  color: var(--muted);
  font-size: 13px;
}

.payment-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(240, 253, 250, 0.62);
}

.payment-box h3 {
  margin: 0 0 10px;
}

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

.payment-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.payment-item span,
.payment-item small {
  color: var(--muted);
  font-size: 12px;
}

.payment-item div {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.invoice-footer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.production-checklist {
  display: grid;
  gap: 8px;
}

.production-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.production-check > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
}

.production-check.done > span {
  color: #ffffff;
  background: var(--ok);
  border-color: var(--ok);
}

.production-check.done > span::before {
  content: "";
  width: 9px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translate(1px, -1px);
}

.production-check.current {
  border-color: rgba(15, 118, 110, 0.34);
  background: rgba(240, 253, 250, 0.62);
}

.production-check.current > span {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 4px var(--panel-strong);
  background: var(--brand);
}

.production-check strong,
.production-check small {
  display: block;
}

.production-check small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.setting-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.setting-tabs .btn {
  flex: 1 1 180px;
}

.settings-pane {
  display: none;
  gap: 12px;
}

.settings-pane.active {
  display: grid;
}

.settings-pane h3 {
  margin: 0;
}

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

.settings-pane-grid .wide {
  grid-column: 1 / -1;
}

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

.payment-setting-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.customer-search-field {
  gap: 8px;
}

.customer-search-field input[type="search"] {
  min-height: 38px;
}

.size-editor {
  display: grid;
  gap: 8px;
}

.size-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}

.size-row input,
.size-row select {
  min-height: 38px;
  padding: 8px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  z-index: 20;
  background: rgba(16, 24, 40, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal {
  width: min(100%, 980px);
  max-height: min(92vh, 900px);
  overflow: auto;
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.modal-body {
  padding: 18px;
}

.invoice {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px;
  background: #ffffff;
  border: 0;
  box-shadow: none;
}

.invoice table {
  min-width: 0;
}

.invoice-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 3px solid #182230;
  padding-bottom: 18px;
}

.invoice h2,
.invoice h3 {
  margin: 0 0 8px;
}

.invoice-meta {
  text-align: right;
}

.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

:root[data-theme="dark"] .login-card,
:root[data-theme="dark"] .login-form,
:root[data-theme="dark"] .stat,
:root[data-theme="dark"] .panel,
:root[data-theme="dark"] .modal,
:root[data-theme="dark"] .invoice {
  background: var(--panel);
  border-color: var(--line);
}

:root[data-theme="dark"] .login-brand {
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.82), rgba(11, 18, 32, 0.92) 58%, rgba(37, 99, 235, 0.48)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px);
}

:root[data-theme="dark"] .field label,
:root[data-theme="dark"] .deadline-cell {
  color: #d2d2cc;
}

:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea,
:root[data-theme="dark"] .filters input,
:root[data-theme="dark"] .filters select,
:root[data-theme="dark"] .size-row input,
:root[data-theme="dark"] .size-row select,
:root[data-theme="dark"] .action-select {
  color: var(--ink);
  background: #111111;
  border-color: #3a3a3a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .field input::placeholder,
:root[data-theme="dark"] .field textarea::placeholder,
:root[data-theme="dark"] .filters input::placeholder {
  color: #74746e;
}

:root[data-theme="dark"] .field input:focus,
:root[data-theme="dark"] .field select:focus,
:root[data-theme="dark"] .field textarea:focus,
:root[data-theme="dark"] .filters input:focus,
:root[data-theme="dark"] .filters select:focus,
:root[data-theme="dark"] .size-row input:focus,
:root[data-theme="dark"] .size-row select:focus,
:root[data-theme="dark"] .action-select:focus {
  border-color: rgba(181, 230, 29, 0.78);
  box-shadow: 0 0 0 4px rgba(181, 230, 29, 0.12), 0 1px 2px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .btn {
  color: var(--ink);
  background: #1a1a1a;
  border-color: #3a3a3a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .btn:hover {
  background: #232323;
  border-color: #555555;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .btn.primary {
  color: #0e0e0e;
  background: #b5e61d;
  border-color: #b5e61d;
}

:root[data-theme="dark"] .btn.dark {
  color: #ffffff;
  background: #0e0e0e;
}

:root[data-theme="dark"] .btn.ghost {
  color: var(--ink);
  background: #141414;
  border-color: #3a3a3a;
}

:root[data-theme="dark"] .btn.danger {
  color: #fda29b;
  background: rgba(127, 29, 29, 0.28);
  border-color: rgba(248, 113, 113, 0.24);
}

:root[data-theme="dark"] .panel-title,
:root[data-theme="dark"] .modal-head,
:root[data-theme="dark"] th {
  background: #1a1a1a;
  border-color: var(--line);
}

:root[data-theme="dark"] th {
  color: #d2d2cc;
}

:root[data-theme="dark"] td {
  border-bottom-color: #2b2b2b;
}

:root[data-theme="dark"] tbody tr:hover {
  background: #1b1b1b;
}

:root[data-theme="dark"] .badge {
  background: #252525;
  color: #d2d2cc;
}

:root[data-theme="dark"] .badge.ok {
  background: rgba(22, 101, 52, 0.30);
  color: #86efac;
}

:root[data-theme="dark"] .badge.warn {
  background: rgba(146, 64, 14, 0.30);
  color: #fde68a;
}

:root[data-theme="dark"] .badge.danger {
  background: rgba(127, 29, 29, 0.30);
  color: #fca5a5;
}

:root[data-theme="dark"] .badge.info {
  background: rgba(30, 64, 175, 0.30);
  color: #bfdbfe;
}

:root[data-theme="dark"] .mockup-preview img,
:root[data-theme="dark"] .image-viewer img {
  background: #111111;
  border-color: #3a3a3a;
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .mockup-empty,
:root[data-theme="dark"] .timeline-item {
  background: #1a1a1a;
  border-color: #3a3a3a;
  box-shadow: none;
}

:root[data-theme="dark"] .detail-row {
  border-bottom-color: #2b2b2b;
}

:root[data-theme="dark"] .payment-box {
  background: rgba(181, 230, 29, 0.06);
  border-color: rgba(181, 230, 29, 0.22);
}

:root[data-theme="dark"] .payment-item {
  background: #1a1a1a;
  border-color: rgba(181, 230, 29, 0.18);
}

:root[data-theme="dark"] .production-check.current {
  background: rgba(181, 230, 29, 0.07);
  border-color: rgba(181, 230, 29, 0.28);
}

:root[data-theme="dark"] .invoice-head {
  border-bottom-color: #475467;
}

:root[data-theme="dark"] .error {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.32);
  border-color: rgba(248, 113, 113, 0.24);
  box-shadow: none;
}

:root[data-theme="dark"] .notice {
  color: #a7f3d0;
  background: rgba(19, 78, 74, 0.30);
  border-color: rgba(45, 212, 191, 0.18);
  box-shadow: none;
}

:root[data-theme="dark"] .toast {
  color: var(--ink);
  background: #1a1a1a;
  border-color: #3a3a3a;
}

:root[data-theme="dark"] .toast span {
  color: #9b9b94;
}

@media (min-width: 981px) {
  .topbar-sidebar-toggle {
    display: none;
  }

  .app-shell.sidebar-collapsed {
    padding-left: 0;
  }

  .app-shell.sidebar-collapsed .sidebar {
    display: none;
  }

  .app-shell.sidebar-collapsed .topbar-sidebar-toggle {
    display: inline-flex;
  }
}

@media (max-width: 980px) {
  .app-shell,
  .login-card,
  .split,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .app-shell {
    padding-left: 0;
  }

  .sidebar {
    position: fixed;
    inset: 12px auto 12px 12px;
    z-index: 40;
    width: min(84vw, 340px);
    min-height: auto;
    max-height: calc(100vh - 24px);
    margin: 0;
    overflow-y: auto;
    transform: translateX(calc(-100% - 18px));
    transition: transform 180ms ease;
  }

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

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: block;
    pointer-events: none;
    background: rgba(15, 23, 42, 0);
    transition: background 180ms ease;
  }

  .app-shell.menu-open .sidebar-backdrop {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.38);
  }

  .sidebar-toggle-btn {
    display: inline-flex;
  }

  .main {
    padding: 18px;
  }

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

  .pepro-process-grid {
    grid-template-columns: repeat(4, minmax(260px, 80vw));
  }

  .landing-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-product-dialog {
    grid-template-columns: 1fr;
  }

  .public-product-media {
    min-height: 54vh;
    max-height: 620px;
  }

  .pepro-material {
    grid-template-columns: 1fr;
  }

  .pepro-material-image {
    min-height: 520px;
  }

  .pepro-circle-link {
    display: none;
  }
}

@media (max-width: 640px) {
  .pepro-hero,
  .pepro-section,
  .pepro-material,
  .pepro-footer {
    scroll-margin-top: 58px;
  }

  .pepro-nav {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(244, 244, 240, 0.10);
    background: #0e0e0e;
    mix-blend-mode: normal;
  }

  .pepro-brand {
    font-size: 16px;
  }

  .pepro-brand img {
    width: 26px;
    height: 26px;
  }

  .pepro-nav-actions {
    gap: 10px;
  }

  .pepro-login-btn {
    display: none;
  }

  .pepro-hero {
    padding: 96px 16px 34px;
  }

  .pepro-line {
    min-height: clamp(62px, 18vw, 92px);
  }

  .pepro-line h1,
  .pepro-line h1.pepro-rotator {
    font-size: clamp(44px, 13.2vw, 52px);
  }

  .pepro-line h1.pepro-rotator {
    height: clamp(62px, 18vw, 92px);
  }

  .pepro-hero-copy {
    margin-left: 0;
  }

  .pepro-marquee {
    padding: 28px 0;
  }

  .pepro-section,
  .pepro-footer {
    padding-inline: 16px;
  }

  .landing-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 10px;
  }

  .landing-product-card {
    gap: 9px;
  }

  .landing-product-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .landing-product-info strong {
    font-size: 15px;
  }

  .landing-product-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .product-placeholder {
    padding: 12px;
  }

  .product-placeholder::after {
    inset: 8px;
  }

  .product-placeholder strong {
    font-size: clamp(18px, 6vw, 28px);
  }

  .public-product-backdrop {
    padding: 8px;
  }

  .public-product-dialog {
    max-height: calc(100vh - 16px);
  }

  .public-product-close {
    position: fixed;
    top: 18px;
    right: 18px;
  }

  .public-product-media {
    min-height: 360px;
    max-height: 46vh;
  }

  .public-product-content {
    padding: 28px 16px 18px;
  }

  .public-product-content h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .public-product-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-product-options .field:last-child {
    grid-column: 1 / -1;
  }

  .product-upload-field {
    grid-template-columns: 1fr;
  }

  .product-upload-field > label,
  .product-upload-field > .hint {
    grid-column: auto;
  }

  .pepro-catalog-list article {
    min-height: 110px;
    align-items: flex-start;
    flex-direction: column;
  }

  .pepro-catalog-list small {
    margin-bottom: 2px;
  }

  .pepro-catalog-list span {
    text-align: left;
  }

  .pepro-process-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .pepro-process-grid article {
    min-height: 280px;
  }

  .pepro-material {
    min-height: 0;
  }

  .pepro-material-image {
    min-height: 390px;
    background-position: center, 70% center;
  }

  .pepro-material-copy {
    padding: 42px 16px;
  }

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

  .login-shell {
    padding: 70px 14px 14px;
  }

  .login-theme {
    top: 14px;
    right: 14px;
  }

  .main,
  .login-form,
  .login-brand {
    padding: 14px;
  }

  .topbar,
  .panel-title,
  .invoice-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-title {
    width: 100%;
    align-items: flex-start;
  }

  .topbar {
    position: relative;
    gap: 10px;
    margin-bottom: 12px;
  }

  .topbar h1 {
    font-size: 24px;
  }

  .topbar .hint {
    display: none;
  }

  .toolbar {
    display: grid;
    grid-template-columns: 42px repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    width: 100%;
  }

  .toolbar .btn {
    width: 100%;
  }

  .filters,
  .filters input,
  .filters select,
  .toolbar,
  .toolbar .btn {
    width: 100%;
  }

  .toolbar .theme-toggle-btn {
    width: 42px;
  }

  .topbar:has(.toolbar [data-export]) .topbar-title {
    padding-right: 52px;
  }

  .topbar:has(.toolbar [data-export]) .toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar:has(.toolbar [data-export]) .theme-toggle-btn {
    position: absolute;
    top: 0;
    right: 0;
  }

  .topbar:has(.toolbar [data-export]) .btn[data-export] {
    min-height: 46px;
    padding-inline: 10px;
    line-height: 1.2;
    text-align: center;
  }

  .order-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-bottom: 10px;
  }

  .order-summary-grid .stat {
    min-height: 74px;
    padding: 12px;
  }

  .order-summary-grid .stat::before {
    height: 2px;
  }

  .order-summary-grid .stat span {
    font-size: 11px;
  }

  .order-summary-grid .stat strong {
    margin-top: 8px;
    font-size: 20px;
    line-height: 1.1;
  }

  .order-summary-grid .stat:nth-child(n+3) strong {
    font-size: 18px;
  }

  .closing-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-bottom: 10px;
  }

  .closing-summary-grid .stat {
    min-height: 74px;
    padding: 12px;
  }

  .closing-summary-grid .stat::before {
    height: 2px;
  }

  .closing-summary-grid .stat span {
    font-size: 11px;
  }

  .closing-summary-grid .stat strong {
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.1;
  }

  .closing-summary-grid .stat-period {
    font-size: 13px !important;
  }

  .filter-panel summary {
    display: block;
  }

  .filter-panel .filters {
    display: grid;
    gap: 8px;
    margin-top: 10px;
  }

  .panel:has(.orders-table) {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .panel:has(.orders-table) .panel-title {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .panel:has(.orders-table) .table-wrap {
    margin-top: 10px;
    overflow: visible;
    border: 0;
  }

  .orders-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  .orders-table thead {
    display: none;
  }

  .orders-table,
  .orders-table tbody,
  .orders-table tr,
  .orders-table td {
    display: block;
    width: 100% !important;
  }

  .orders-table tr {
    position: relative;
    padding: 14px 14px 12px 52px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow-soft);
  }

  .orders-table td {
    padding: 0;
    border: 0;
  }

  .orders-table .row-number {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 26px !important;
    height: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--panel-strong);
    font-size: 12px;
  }

  .orders-table td:nth-child(3) {
    margin-top: 6px;
  }

  .orders-table td:nth-child(4) {
    margin-top: 10px;
  }

  .orders-table td:nth-child(5) {
    margin-top: 10px;
  }

  .orders-table td:nth-child(6) {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
  }

  .orders-table td:nth-child(6)::before {
    content: "Deadline: ";
    font-weight: 850;
  }

  .orders-table td:nth-child(7) {
    margin-top: 12px;
  }

  .orders-table .action-select {
    width: 100%;
  }

  .orders-table .money-main {
    font-size: 18px;
  }

  .orders-table .status-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }

  .orders-table .status-note {
    width: 100%;
  }

  .table-wrap:has(> .mobile-card-table) {
    overflow-x: visible;
  }

  .mobile-card-table {
    width: 100%;
    min-width: 0 !important;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  .mobile-card-table thead {
    display: none;
  }

  .mobile-card-table,
  .mobile-card-table tbody,
  .mobile-card-table tr,
  .mobile-card-table td {
    display: block;
    width: 100% !important;
  }

  .mobile-card-table tr {
    padding: 12px 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow-soft);
  }

  .mobile-card-table td {
    display: grid;
    grid-template-columns: minmax(88px, 0.38fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 8px 0;
    overflow-wrap: anywhere;
    white-space: normal;
    border-bottom: 1px solid var(--line);
  }

  .mobile-card-table td::before {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .mobile-card-table td:first-child {
    padding-top: 2px;
  }

  .mobile-card-table td:last-child {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .mobile-card-table td.empty {
    display: block;
    padding: 18px 4px;
    text-align: center;
    border: 0;
  }

  .mobile-card-table td.empty::before {
    display: none;
  }

  .mobile-card-table .action-select {
    width: 100%;
  }

  .customers-table td:nth-child(1)::before,
  .users-table td:nth-child(1)::before { content: "Nama"; }
  .customers-table td:nth-child(2)::before,
  .users-table td:nth-child(2)::before { content: "Kontak"; }
  .customers-table td:nth-child(3)::before { content: "Order"; }
  .customers-table td:nth-child(4)::before { content: "Total transaksi"; }
  .customers-table td:nth-child(5)::before,
  .users-table td:nth-child(4)::before,
  .products-table td:nth-child(6)::before,
  .profit-table td:nth-child(6)::before { content: "Status"; }
  .customers-table td:nth-child(6)::before,
  .users-table td:nth-child(5)::before,
  .products-table td:nth-child(7)::before,
  .transactions-table td:last-child::before { content: "Aksi"; }

  .transactions-table td:nth-child(1)::before { content: "Nomor"; }
  .transactions-table td:nth-child(2)::before { content: "Order"; }
  .transactions-table td:nth-child(3)::before { content: "Keterangan"; }
  .transactions-table td:nth-child(4)::before { content: "Nominal"; }
  .transactions-table td:nth-child(5)::before { content: "Metode"; }
  .income-table td:nth-child(6)::before,
  .expense-table td:nth-child(7)::before,
  .closing-table td:nth-child(1)::before { content: "Tanggal"; }
  .expense-table td:nth-child(6)::before { content: "Nota"; }

  .closing-table td:nth-child(2)::before { content: "Tipe"; }
  .closing-table td:nth-child(3)::before { content: "Nomor"; }
  .closing-table td:nth-child(4)::before { content: "Order"; }
  .closing-table td:nth-child(5)::before { content: "Kategori"; }
  .closing-table td:nth-child(6)::before { content: "Keterangan"; }
  .closing-table td:nth-child(7)::before { content: "Masuk"; }
  .closing-table td:nth-child(8)::before { content: "Keluar"; }

  .profit-table td:nth-child(1)::before { content: "Order"; }
  .profit-table td:nth-child(2)::before { content: "Pendapatan"; }
  .profit-table td:nth-child(3)::before { content: "Biaya"; }
  .profit-table td:nth-child(4)::before { content: "Laba kotor"; }
  .profit-table td:nth-child(5)::before { content: "Sisa tagihan"; }

  .activity-table td:nth-child(1)::before { content: "Waktu"; }
  .activity-table td:nth-child(2)::before { content: "User"; }
  .activity-table td:nth-child(3)::before { content: "Aksi"; }
  .activity-table td:nth-child(4)::before { content: "Modul"; }
  .activity-table td:nth-child(5)::before { content: "Referensi"; }

  .users-table td:nth-child(3)::before { content: "Role"; }

  .products-table td:nth-child(1)::before { content: "Foto"; }
  .products-table td:nth-child(2)::before { content: "Produk"; }
  .products-table td:nth-child(3)::before { content: "Harga"; }
  .products-table td:nth-child(4)::before { content: "Varian"; }
  .products-table td:nth-child(5)::before { content: "Stok"; }

  .products-table td:first-child {
    grid-template-columns: 1fr;
  }

  .products-table td:first-child::before {
    display: none;
  }

  .products-table .admin-product-image {
    width: 96px;
    height: 116px;
  }

  .form-grid,
  .size-row,
  .settings-pane-grid,
  .payment-setting-row,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    width: min(100%, calc(100vw - 16px));
    max-height: calc(100vh - 16px);
  }

  .modal-head,
  .modal-body {
    padding: 14px;
  }

  .production-board {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .production-column {
    min-height: auto;
  }

  .detail-row {
    grid-template-columns: 1fr;
  }

  .nav {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .order-summary-grid,
  .closing-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .product-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .order-summary-grid .stat,
  .closing-summary-grid .stat,
  .product-summary-grid .stat {
    min-height: 96px;
  }

  .table-wrap {
    overflow-x: visible;
  }

  table,
  .orders-table,
  .products-table,
  .size-summary-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  th,
  td {
    padding: 10px 6px;
    overflow-wrap: anywhere;
    font-size: 11px;
  }

  th {
    font-size: 10px;
  }

  .orders-table th:nth-child(1),
  .orders-table td:nth-child(1) {
    width: 5%;
  }

  .orders-table th:nth-child(2),
  .orders-table td:nth-child(2) { width: 22%; }
  .orders-table th:nth-child(3),
  .orders-table td:nth-child(3) { width: 15%; }
  .orders-table th:nth-child(4),
  .orders-table td:nth-child(4) { width: 15%; }
  .orders-table th:nth-child(5),
  .orders-table td:nth-child(5) { width: 17%; }
  .orders-table th:nth-child(6),
  .orders-table td:nth-child(6) { width: 12%; }
  .orders-table th:nth-child(7),
  .orders-table td:nth-child(7) { width: 14%; }

  .orders-table .action-select,
  .mobile-card-table .action-select {
    width: 100%;
    min-width: 0;
    padding-inline: 6px;
  }

  .admin-product-image {
    width: 48px;
    height: 58px;
  }
}

@media (max-width: 860px) {
  .login-editorial {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
  }

  .login-editorial-nav {
    position: absolute;
    min-height: 62px;
    padding: 14px 20px;
    background: #0e0e0e;
  }

  .login-editorial-brand img {
    width: 30px;
    height: 30px;
  }

  .login-editorial-stage {
    min-height: 100dvh;
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .login-editorial-intro {
    min-height: 230px;
    padding: 42px 24px 30px;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 244, 240, 0.12);
  }

  .login-editorial-intro::after {
    right: 34%;
  }

  .login-editorial-copy h1 {
    margin: 18px 0;
    font-size: clamp(52px, 13vw, 78px);
    line-height: 0.82;
  }

  .login-editorial-product {
    right: -2%;
    bottom: -24%;
    width: min(54vw, 360px);
    height: 122%;
    opacity: 0.20;
  }

  .login-editorial .editorial-login-form {
    min-height: 0;
    justify-content: flex-start;
    gap: 16px;
    padding: 32px 24px 40px;
    background: #0e0e0e;
  }

  .login-form-copy {
    gap: 9px;
    margin-bottom: 4px;
  }

  .login-editorial .editorial-login-form h2 {
    font-size: 42px;
  }

  .login-security {
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .login-editorial-nav {
    padding-inline: 16px;
  }

  .login-editorial-brand {
    gap: 8px;
    font-size: 12px;
  }

  .login-editorial-home {
    font-size: 11px;
  }

  .login-editorial-intro {
    min-height: 205px;
    padding: 32px 16px 24px;
  }

  .login-editorial-copy h1 {
    font-size: clamp(46px, 14.5vw, 62px);
  }

  .login-editorial-copy p {
    display: none;
  }

  .login-editorial-product {
    width: 58vw;
    opacity: 0.16;
  }

  .login-editorial .editorial-login-form {
    padding: 28px 16px 34px;
  }

  .login-form-copy p {
    font-size: 13px;
  }

  .login-editorial .editorial-login-form .field input,
  .login-submit {
    min-height: 50px;
  }

  .login-editorial .editorial-login-form .field input {
    font-size: 16px;
  }
}

@media (max-height: 720px) and (max-width: 860px) {
  .login-editorial-intro {
    min-height: 170px;
    padding-block: 20px;
  }

  .login-editorial-copy h1 {
    margin: 12px 0;
    font-size: clamp(42px, 11vw, 58px);
  }

  .login-editorial .editorial-login-form {
    padding-top: 24px;
  }
}

.public-share-shell {
  --ink: #f8fafc;
  --muted: #a3a3a3;
  --line: #363636;
  --panel: #1a1a1a;
  --panel-strong: #202020;
  --line-strong: #656565;
  min-height: 100vh;
  background: #141414;
  color: var(--ink);
}

.public-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px max(20px, calc((100vw - 960px) / 2));
  border-bottom: 1px solid var(--line);
}

.public-share-header a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.public-share-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.public-share-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.public-share-content {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.public-share-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.public-share-heading h1 {
  margin: 0 0 8px;
  font-size: 30px;
}

.public-share-heading .order-title {
  font-size: 18px;
  font-weight: 800;
}

.public-share-progress {
  margin: 28px 0;
}

.public-share-progress h2 {
  margin: 24px 0 12px;
  font-size: 18px;
}

.public-share-current {
  padding: 14px 16px;
  border-left: 3px solid #b5e61d;
  background: #202020;
  font-weight: 800;
}

.public-share-checklist {
  margin-top: 12px;
  border: 1px solid var(--line);
}

.public-share-checklist summary {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
}

.public-share-checklist .production-checklist {
  padding: 0 12px 12px;
}

.public-share-progress .production-check.current,
.public-share-progress .timeline-item {
  background: #202020;
  box-shadow: none;
}

.public-share-content .payment-box,
.public-share-content .payment-item {
  background: #202020;
}

.public-share-actions {
  margin: 0 0 16px;
}

.public-share-message {
  padding: 60px 0;
  font-size: 18px;
}

.public-share-content .invoice {
  background: #1a1a1a;
  border: 1px solid #363636;
  color: #f8fafc;
}

.public-share-content .invoice table {
  table-layout: fixed;
}

.public-share-content .invoice th,
.public-share-content .invoice td {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .public-share-header {
    min-height: 58px;
    padding: 12px 16px;
  }

  .public-share-content {
    padding: 20px 16px 44px;
  }

  .public-share-heading h1 {
    font-size: 24px;
  }

  .public-share-content .invoice {
    padding: 16px;
  }

  .public-share-content .invoice th,
  .public-share-content .invoice td {
    padding: 7px 4px;
    font-size: 10px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  html,
  body {
    width: auto;
    min-height: auto;
    background: #fff !important;
  }

  body::before,
  .sidebar,
  .topbar,
  .panel-title,
  .modal-head,
  .no-print,
  .btn {
    display: none !important;
  }

  .app-shell,
  .main {
    display: block;
    padding: 0;
  }

  body.printing-invoice .app-shell {
    display: none !important;
  }

  body.printing-invoice .public-share-header,
  body.printing-invoice .public-share-heading,
  body.printing-invoice .public-share-progress,
  body.printing-invoice .public-share-actions {
    display: none !important;
  }

  .public-share-shell,
  .public-share-content {
    width: 100%;
    min-height: 0;
    padding: 0;
    background: #fff !important;
  }

  .public-share-content .invoice {
    padding: 0;
    border: 0;
    background: #fff !important;
    color: #111827;
  }

  .public-share-content .payment-box,
  .public-share-content .payment-item {
    background: #fff !important;
    color: #111827;
  }

  .modal-backdrop {
    position: static;
    display: block;
    padding: 0;
    background: #fff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .modal {
    width: 100%;
    max-height: none;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: #fff;
  }

  .modal-body {
    width: 100%;
    padding: 0;
    background: #fff;
  }

  .panel,
  .invoice {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .invoice {
    color: #111827;
    font-size: 11px;
  }

  .invoice-head {
    border-bottom: 2px solid #111827;
    padding-bottom: 14px;
  }

  .invoice h2 {
    font-size: 22px;
  }

  .invoice h3 {
    font-size: 13px;
  }

  .invoice .split {
    grid-template-columns: 1fr 1fr;
  }

  .invoice table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    page-break-inside: avoid;
  }

  .invoice th,
  .invoice td {
    padding: 8px 7px;
    font-size: 10px;
    word-break: break-word;
  }

  .invoice .detail-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding-bottom: 7px;
  }

  .payment-box {
    page-break-inside: avoid;
  }
}


/* === CHRISDIANA APPAREL - KONVEKSI & SABLON BERANDA === */
.ca-landing {
  --ca-bg: #f6f4ef;
  --ca-surface: #ffffff;
  --ca-surface-alt: #ede9e0;
  --ca-ink: #141619;
  --ca-muted: #575c66;
  --ca-line: #ded9ce;
  --ca-accent: #c84b24;
  --ca-accent-dark: #a63b19;
  --ca-olive: #243b32;
  background: var(--ca-bg);
  color: var(--ca-ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image:
    radial-gradient(rgba(20, 22, 25, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #faf8f4 0%, #f3efe6 100%);
  background-size: 24px 24px, 100% 100%;
}

.ca-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 36px;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ca-line);
}

.ca-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ca-ink);
}

.ca-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--ca-line);
  background: #fff;
}

.ca-brand div {
  display: grid;
  line-height: 1.1;
}

.ca-brand strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ca-brand span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ca-accent);
  margin-top: 2px;
}

.ca-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ca-nav-links a {
  text-decoration: none;
  color: var(--ca-muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.18s ease;
}

.ca-nav-links a:hover {
  color: var(--ca-ink);
}

.ca-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ca-wa-pill,
.ca-login-btn,
.ca-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease;
}

.ca-wa-pill {
  background: var(--ca-olive);
  color: #fff;
  border: 1px solid var(--ca-olive);
}

.ca-wa-pill:hover {
  background: #1b2d26;
}

.ca-login-btn {
  background: var(--ca-surface);
  color: var(--ca-ink);
  border: 1px solid var(--ca-line);
}

.ca-login-btn:hover {
  border-color: var(--ca-ink);
}

.ca-menu-btn {
  display: none;
  background: var(--ca-ink);
  color: #fff;
  border: 1px solid var(--ca-ink);
}

.ca-menu-overlay {
  background: #141619;
}

.ca-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 36px 64px;
}

.ca-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.ca-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ca-line);
  background: var(--ca-surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ca-olive);
}

.ca-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ca-accent);
}

.ca-hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ca-ink);
}

.ca-hero-copy h1 em {
  font-style: normal;
  color: var(--ca-accent);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.ca-lead {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ca-muted);
}

.ca-hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ca-btn-primary,
.ca-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease;
}

.ca-btn-primary {
  background: var(--ca-accent);
  color: #fff;
}

.ca-btn-primary:hover {
  background: var(--ca-accent-dark);
  transform: translateY(-1px);
}

.ca-btn-secondary {
  background: var(--ca-surface);
  color: var(--ca-ink);
  border-color: var(--ca-line);
}

.ca-btn-secondary:hover {
  border-color: var(--ca-ink);
}

.ca-stats {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--ca-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ca-stats strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--ca-ink);
}

.ca-stats span {
  font-size: 12.5px;
  color: var(--ca-muted);
}

.ca-workshop-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ca-line);
  background: #1d2024;
  box-shadow: 0 24px 60px rgba(20, 22, 25, 0.12);
}

.ca-workshop-frame img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.ca-spec-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(20, 22, 25, 0.88);
  backdrop-filter: blur(8px);
  color: #f8f7f3;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ca-spec-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #f2a68d;
  margin-bottom: 4px;
}

.ca-spec-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.ca-spec-card p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(248, 247, 243, 0.78);
}

.ca-ticker {
  border-top: 1px solid var(--ca-line);
  border-bottom: 1px solid var(--ca-line);
  background: var(--ca-olive);
  color: #f6f4ef;
  overflow: hidden;
  padding: 14px 0;
}

.ca-ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  animation: ca-scroll 28s linear infinite;
}

@keyframes ca-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ca-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 36px;
}

.ca-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.ca-section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ca-accent);
  margin-bottom: 8px;
}

.ca-section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  color: var(--ca-ink);
}

.ca-section-head p {
  margin: 0;
  max-width: 420px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ca-muted);
}

.ca-service-grid,
.ca-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ca-service-card,
.ca-step-card {
  background: var(--ca-surface);
  border: 1px solid var(--ca-line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.16s ease, box-shadow 0.18s ease;
}

.ca-service-card:hover,
.ca-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20, 22, 25, 0.06);
}

.ca-service-num,
.ca-step-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ca-accent);
}

.ca-service-card h3,
.ca-step-card h3 {
  margin: 0;
  font-size: 18px;
  color: var(--ca-ink);
}

.ca-service-card p,
.ca-step-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ca-muted);
}

.ca-tags {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ca-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ca-bg);
  border: 1px solid var(--ca-line);
  color: var(--ca-ink);
}

.ca-product-grid .landing-product-card {
  background: var(--ca-surface);
  border: 1px solid var(--ca-line);
  border-radius: 18px;
  padding: 16px;
  color: var(--ca-ink);
}

.ca-product-grid .landing-product-visual {
  background: var(--ca-surface-alt);
  border-radius: 12px;
}

.ca-product-grid .landing-product-info span,
.ca-product-grid .landing-product-meta span {
  color: var(--ca-muted);
}

.ca-product-grid .landing-product-info strong {
  color: var(--ca-ink);
}

.ca-product-grid .landing-product-open {
  background: var(--ca-ink);
  color: #fff;
  border-radius: 10px;
}

.ca-product-grid .landing-product-open:hover:not(:disabled) {
  background: var(--ca-accent);
}

.ca-material-panel {
  background: var(--ca-surface);
  border: 1px solid var(--ca-line);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.ca-material-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
}

.ca-material-copy p {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ca-muted);
}

.ca-fabric-list {
  display: grid;
  gap: 12px;
}

.ca-fabric-list div {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ca-bg);
  border: 1px solid var(--ca-line);
}

.ca-fabric-list strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.ca-fabric-list span {
  font-size: 13px;
  color: var(--ca-muted);
}

.ca-swatch-board {
  background: var(--ca-olive);
  color: #f6f4ef;
  border-radius: 18px;
  padding: 28px;
}

.ca-swatch-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #b7d1c4;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 16px;
}

.ca-swatch-board ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ca-swatch-board li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.ca-swatch-board li span:first-child {
  font-weight: 800;
  color: #f2a68d;
}

.ca-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 36px 48px;
}

.ca-footer-cta {
  background: var(--ca-ink);
  color: #f6f4ef;
  border-radius: 24px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ca-footer-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.8vw, 32px);
  max-width: 560px;
}

.ca-footer-cta p {
  margin: 0;
  color: rgba(246, 244, 239, 0.76);
  max-width: 520px;
  font-size: 14.5px;
}

.ca-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ca-footer-bottom {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ca-muted);
}

@media (max-width: 1024px) {
  .ca-nav-links {
    display: none;
  }
  .ca-menu-btn {
    display: inline-flex;
  }
  .ca-hero-grid,
  .ca-material-panel {
    grid-template-columns: 1fr;
  }
  .ca-service-grid,
  .ca-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ca-footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .ca-nav {
    padding: 14px 18px;
  }
  .ca-wa-pill {
    display: none;
  }
  .ca-hero,
  .ca-section,
  .ca-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .ca-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .ca-service-grid,
  .ca-process-grid,
  .ca-stats {
    grid-template-columns: 1fr;
  }
  .ca-workshop-frame img {
    height: 300px;
  }
  .ca-material-panel,
  .ca-footer-cta {
    padding: 24px;
  }
}


/* === CHRISDIANA APPAREL - ADMIN DASHBOARD REDESIGN === */
.ca-dash-hero {
  background: linear-gradient(135deg, #ffffff 0%, #faf7f0 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  box-shadow: 0 10px 28px rgba(20, 22, 25, 0.04);
}

.ca-dash-hero-copy h2 {
  margin: 10px 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ca-dash-hero-copy p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 560px;
}

.ca-dash-hero-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ca-dash-pill {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  min-width: 132px;
}

.ca-dash-pill span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.ca-dash-pill strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 2px;
}

.ca-dash-pill.is-ok {
  background: rgba(36, 59, 50, 0.08);
  border-color: rgba(36, 59, 50, 0.2);
}

.ca-dash-pill.is-ok strong {
  color: #243b32;
}

.ca-dash-pill.is-alert {
  background: rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.25);
}

.ca-dash-pill.is-alert strong {
  color: var(--danger);
}

.ca-dash-link-btn {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--olive, #243b32);
  background: var(--olive, #243b32);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.15s ease;
}

.ca-dash-link-btn:hover {
  background: #1a2c25;
  transform: translateY(-1px);
}

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

.ca-kpi-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.18s ease;
}

.ca-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(20, 22, 25, 0.06);
}

.ca-kpi-card.is-olive {
  border-top-color: #243b32;
}

.ca-kpi-card.is-accent {
  border-top-color: #c84b24;
}

.ca-kpi-card.is-ok {
  border-top-color: #15803d;
}

.ca-kpi-card.is-danger {
  border-top-color: #b91c1c;
}

.ca-kpi-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ca-kpi-val {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.ca-kpi-val-sm {
  font-size: 18px;
}

.ca-kpi-sub {
  font-size: 12px;
  color: var(--muted);
}

.ca-stage-panel {
  margin-top: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
}

.ca-stage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ca-stage-head h3 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.ca-stage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ca-stage-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ca-stage-num {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.ca-stage-card strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}

.ca-stage-card span:last-child {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.ca-dash-panels {
  margin-top: 16px;
}

.ca-panel {
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.ca-panel .panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, #faf8f4 0%, #ffffff 100%);
}

.ca-panel-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1120px) {
  .ca-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ca-stage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ca-dash-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .ca-kpi-grid,
  .ca-stage-grid {
    grid-template-columns: 1fr;
  }
  .ca-dash-hero,
  .ca-stage-panel {
    padding: 18px;
  }
}


/* === CHRISDIANA APPAREL - LOGIN REDESIGN === */
.ca-login {
  min-height: 100vh;
  padding: 0;
  background: #f6f4ef;
  color: #141619;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background-image:
    radial-gradient(rgba(20, 22, 25, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #faf8f4 0%, #f3efe6 100%);
  background-size: 24px 24px, 100% 100%;
}

.ca-login-nav {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 36px;
  border-bottom: 1px solid #ded9ce;
  background: rgba(246, 244, 239, 0.94);
  backdrop-filter: blur(10px);
}

.ca-login-brand {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.ca-login-back {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #ded9ce;
  background: #ffffff;
  color: #141619;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.16s ease, transform 0.15s ease;
}

.ca-login-back:hover {
  border-color: #141619;
  transform: translateY(-1px);
}

.ca-login-stage {
  flex: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 36px 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.ca-login-showcase h1 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #141619;
}

.ca-login-showcase h1 em {
  font-style: normal;
  color: #c84b24;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.ca-login-lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #575c66;
  max-width: 500px;
}

.ca-login-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #ded9ce;
  background: #1a2822;
  box-shadow: 0 20px 48px rgba(20, 22, 25, 0.1);
}

.ca-login-visual img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.ca-login-visual-badge {
  padding: 16px 20px;
  background: #1a2822;
  color: #f6f4ef;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ca-login-visual-badge strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.ca-login-visual-badge span {
  font-size: 12.5px;
  color: rgba(246, 244, 239, 0.75);
}

.ca-login-form {
  background: #ffffff;
  border: 1px solid #ded9ce;
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 22px 54px rgba(20, 22, 25, 0.08);
  display: grid;
  gap: 18px;
}

.ca-login-form-head h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  color: #141619;
}

.ca-login-form-head p {
  margin: 0;
  font-size: 13.5px;
  color: #575c66;
  line-height: 1.5;
}

.ca-login-form .field {
  display: grid;
  gap: 7px;
}

.ca-login-form .field label {
  font-size: 12px;
  font-weight: 700;
  color: #141619;
}

.ca-login-form .field input {
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #ded9ce;
  background: #faf8f4;
  color: #141619;
  font-size: 14px;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.ca-login-form .field input:focus {
  outline: none;
  border-color: #c84b24;
  background: #ffffff;
}

.ca-login-submit {
  margin-top: 4px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: #c84b24;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.15s ease;
}

.ca-login-submit:hover {
  background: #a63b19;
  transform: translateY(-1px);
}

.ca-login-footnote {
  margin: 4px 0 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #848a94;
}

@media (max-width: 960px) {
  .ca-login-stage {
    grid-template-columns: 1fr;
    padding: 28px 20px 44px;
    gap: 28px;
  }
  .ca-login-nav {
    padding: 14px 20px;
  }
  .ca-login-form {
    padding: 26px;
  }
}


/* === LOGO UPLOAD BOX (SETTING) === */
.ca-logo-upload-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.ca-logo-preview {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 14px;
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.ca-logo-upload-controls {
  display: grid;
  gap: 4px;
}

.ca-logo-upload-controls p {
  margin: 0 0 6px;
}

.ca-logo-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 640px) {
  .ca-logo-upload-box {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   CHRISDIANA APPAREL - BOLD STREETWEAR & INDUSTRIAL DARK MODE OVERRIDE
   ========================================================================== */

/* Global OMS Dark Industrial Polish */
.topbar h1,
.modal-head h2,
.panel-title h2 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.btn {
  background: #18181d;
  color: #fafafa;
  border: 1px solid #2e2e38;
}

.btn:hover {
  border-color: #ff5e1a;
  color: #ff5e1a;
}

.btn.primary:hover {
  background: #d8eb00;
  border-color: #d8eb00;
  color: #09090b;
}

.btn.danger {
  color: #ff5c66;
  background: rgba(255, 46, 59, 0.12);
  border-color: rgba(255, 46, 59, 0.35);
}

input,
select,
textarea {
  background: #0d0d10;
  color: #fafafa;
  border-color: #27272f;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #ff5e1a;
}

.table-wrap th {
  background: #16161b;
  color: #a1a1aa;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.table-wrap td {
  border-color: #222229;
}

.modal {
  background: #111114;
  border: 1px solid #2e2e38;
  color: #fafafa;
}

.notice {
  background: rgba(255, 94, 26, 0.07);
  border-color: rgba(255, 94, 26, 0.25);
  color: #ff5e1a;
}

/* --- 1. BERANDA (STREETWEAR & INDUSTRIAL) --- */
.ca-landing {
  --ca-bg: #09090b;
  --ca-surface: #111114;
  --ca-surface-alt: #18181d;
  --ca-ink: #fafafa;
  --ca-muted: #a1a1aa;
  --ca-line: #27272f;
  --ca-accent: #ff5e1a;
  --ca-accent-dark: #d4e600;
  --ca-red: #ff2e3b;
  --ca-olive: #18181d;
  background: #09090b;
  color: #fafafa;
  background-image:
    radial-gradient(rgba(255, 94, 26, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #09090b 0%, #0d0d11 100%);
  background-size: 28px 28px, 100% 100%;
}

.ca-nav {
  background: rgba(9, 9, 11, 0.9);
  border-bottom: 1px solid #27272f;
}

.ca-brand {
  color: #fafafa;
}

.ca-brand img {
  border-radius: 6px;
  border: 1px solid #2e2e38;
  background: #18181d;
}

.ca-brand strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}

.ca-brand span {
  font-family: var(--font-mono);
  color: #ff5e1a;
  letter-spacing: 0.16em;
}

.ca-nav-links a {
  color: #a1a1aa;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ca-nav-links a:hover {
  color: #ff5e1a;
}

.ca-wa-pill {
  background: #ff5e1a;
  color: #09090b;
  border-color: #ff5e1a;
  border-radius: 6px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ca-wa-pill:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.ca-login-btn {
  background: transparent;
  color: #fafafa;
  border: 1px solid #3f3f4a;
  border-radius: 6px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ca-login-btn:hover {
  border-color: #ff5e1a;
  color: #ff5e1a;
}

.ca-menu-btn {
  background: #18181d;
  color: #ff5e1a;
  border: 1px solid #3f3f4a;
  border-radius: 6px;
  font-family: var(--font-mono);
}

.ca-kicker {
  border-radius: 4px;
  background: #18181d;
  border: 1px solid #2e2e38;
  color: #ff5e1a;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.ca-dot {
  background: #ff2e3b;
  box-shadow: 0 0 10px rgba(255, 46, 59, 0.75);
}

.ca-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: 0.96;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-hero-copy h1 em {
  color: #ff5e1a;
  text-decoration: none;
  display: inline-block;
  padding: 0 8px;
  background: rgba(255, 94, 26, 0.1);
  border-bottom: 3px solid #ff5e1a;
}

.ca-lead {
  color: #a1a1aa;
}

.ca-btn-primary {
  background: #ff5e1a;
  color: #09090b;
  border-radius: 6px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.ca-btn-primary:hover {
  background: #ffffff;
  color: #09090b;
}

.ca-btn-secondary {
  background: #111114;
  color: #fafafa;
  border: 1px solid #3f3f4a;
  border-radius: 6px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ca-btn-secondary:hover {
  border-color: #ff5e1a;
  color: #ff5e1a;
}

.ca-stats {
  border-top-color: #27272f;
}

.ca-stats strong {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.03em;
  color: #ff5e1a;
  font-weight: 400;
}

.ca-stats span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a1a1aa;
}

.ca-workshop-frame {
  border-radius: 10px;
  border: 1px solid #2e2e38;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
}

.ca-spec-card {
  border-radius: 6px;
  background: rgba(9, 9, 11, 0.92);
  border: 1px solid #ff5e1a;
}

.ca-spec-label {
  font-family: var(--font-mono);
  color: #ff5e1a;
}

.ca-ticker {
  background: #ff5e1a;
  color: #09090b;
  border-top: 2px solid #09090b;
  border-bottom: 2px solid #09090b;
}

.ca-ticker-track {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.ca-section-tag {
  font-family: var(--font-mono);
  color: #ff5e1a;
}

.ca-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-section-head p {
  color: #a1a1aa;
}

.ca-service-card,
.ca-step-card {
  background: #111114;
  border: 1px solid #27272f;
  border-radius: 10px;
}

.ca-service-card:hover,
.ca-step-card:hover {
  border-color: #ff5e1a;
  box-shadow: 0 18px 40px rgba(255, 94, 26, 0.08);
}

.ca-service-num,
.ca-step-num {
  font-family: var(--font-mono);
  color: #ff2e3b;
}

.ca-service-card h3,
.ca-step-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-tags span {
  background: #18181d;
  border-color: #2e2e38;
  color: #ff5e1a;
  font-family: var(--font-mono);
  font-size: 10.5px;
  border-radius: 4px;
}

.ca-product-grid .landing-product-card {
  background: #111114;
  border: 1px solid #27272f;
  border-radius: 10px;
  color: #fafafa;
}

.ca-product-grid .landing-product-card:hover {
  border-color: #ff5e1a;
}

.ca-product-grid .landing-product-visual {
  background: #18181d;
  border-radius: 6px;
}

.ca-product-grid .landing-product-info span,
.ca-product-grid .landing-product-meta span {
  color: #a1a1aa;
  font-family: var(--font-mono);
}

.ca-product-grid .landing-product-info strong {
  color: #ffffff;
}

.ca-product-grid .landing-product-open {
  background: #ffffff;
  color: #09090b;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
}

.ca-product-grid .landing-product-open:hover:not(:disabled) {
  background: #ff5e1a;
  color: #09090b;
}

.ca-material-panel {
  background: #111114;
  border: 1px solid #27272f;
  border-radius: 12px;
}

.ca-material-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-fabric-list div {
  background: #18181d;
  border-color: #27272f;
  border-radius: 8px;
}

.ca-swatch-board {
  background: #09090b;
  border: 1px solid #ff5e1a;
  border-radius: 10px;
}

.ca-swatch-header {
  font-family: var(--font-mono);
  color: #ff5e1a;
  border-bottom-color: #27272f;
}

.ca-swatch-board li span:first-child {
  font-family: var(--font-mono);
  color: #ff2e3b;
}

.ca-footer-cta {
  background: #111114;
  border: 1px solid #ff5e1a;
  border-radius: 12px;
}

.ca-footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
}

.ca-footer-bottom {
  font-family: var(--font-mono);
  color: #71717a;
}

/* --- 2. LOGIN (STREETWEAR & INDUSTRIAL DARK) --- */
.ca-login {
  background: #09090b;
  color: #fafafa;
  background-image:
    radial-gradient(rgba(255, 94, 26, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #09090b 0%, #0d0d11 100%);
  background-size: 28px 28px, 100% 100%;
}

.ca-login-nav {
  background: rgba(9, 9, 11, 0.92);
  border-bottom-color: #27272f;
}

.ca-login-back {
  background: #18181d;
  border-color: #3f3f4a;
  color: #fafafa;
  border-radius: 6px;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.ca-login-back:hover {
  border-color: #ff5e1a;
  color: #ff5e1a;
}

.ca-login-showcase h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-login-showcase h1 em {
  color: #ff5e1a;
  text-decoration: none;
  border-bottom: 3px solid #ff5e1a;
}

.ca-login-lead {
  color: #a1a1aa;
}

.ca-login-visual {
  border-radius: 10px;
  border-color: #2e2e38;
  background: #111114;
}

.ca-login-visual-badge {
  background: #111114;
  border-top-color: #27272f;
}

.ca-login-visual-badge strong {
  color: #ff5e1a;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 12.5px;
}

.ca-login-form {
  background: #111114;
  border: 1px solid #2e2e38;
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.ca-login-form-head h2 {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-login-form-head p {
  color: #a1a1aa;
}

.ca-login-form .field label {
  color: #fafafa;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ca-login-form .field input {
  background: #09090b;
  border-color: #2e2e38;
  color: #fafafa;
  border-radius: 8px;
}

.ca-login-form .field input:focus {
  border-color: #ff5e1a;
  background: #0d0d10;
}

.ca-login-submit {
  background: #ff5e1a;
  color: #09090b;
  border-radius: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.ca-login-submit:hover {
  background: #ffffff;
}

.ca-login-footnote {
  font-family: var(--font-mono);
  color: #71717a;
}

/* --- 3. ADMIN DASHBOARD (STREETWEAR & INDUSTRIAL DARK) --- */
.ca-dash-hero {
  background: linear-gradient(135deg, #111114 0%, #18181d 100%);
  border: 1px solid #27272f;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.ca-dash-hero-copy h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-dash-hero-copy p {
  color: #a1a1aa;
}

.ca-dash-pill {
  background: #09090b;
  border: 1px solid #27272f;
  border-radius: 8px;
}

.ca-dash-pill span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ca-dash-pill.is-ok {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}

.ca-dash-pill.is-ok strong {
  color: #4ade80;
}

.ca-dash-pill.is-alert {
  background: rgba(255, 46, 59, 0.12);
  border-color: rgba(255, 46, 59, 0.4);
}

.ca-dash-pill.is-alert strong {
  color: #ff5c66;
}

.ca-dash-link-btn {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ca-dash-link-btn:hover {
  background: #ff5e1a;
  border-color: #ff5e1a;
}

.ca-kpi-card {
  background: #111114;
  border: 1px solid #27272f;
  border-top: 3px solid #3f3f4a;
  border-radius: 10px;
}

.ca-kpi-card.is-olive {
  border-top-color: #ffffff;
}

.ca-kpi-card.is-accent {
  border-top-color: #ff5e1a;
}

.ca-kpi-card.is-ok {
  border-top-color: #22c55e;
}

.ca-kpi-card.is-danger {
  border-top-color: #ff2e3b;
}

.ca-kpi-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.ca-kpi-val {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #ffffff;
}

.ca-stage-panel {
  background: #111114;
  border: 1px solid #27272f;
  border-radius: 12px;
}

.ca-stage-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-stage-card {
  background: #09090b;
  border: 1px solid #27272f;
  border-radius: 8px;
}

.ca-stage-num {
  font-family: var(--font-mono);
  color: #ff5e1a;
}

.ca-stage-card strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  color: #ffffff;
}

.ca-panel {
  border-radius: 12px;
  border: 1px solid #27272f;
  background: #111114;
}

.ca-panel .panel-title {
  background: #16161b;
  border-bottom: 1px solid #27272f;
}

.ca-panel-tag {
  font-family: var(--font-mono);
  background: #09090b;
  border-color: #2e2e38;
  color: #ff5e1a;
}


/* --- 4. PRD LANDING SECTIONS (CRAFT, MATRIX, FILTER, GUARANTEE, TRUST, FAQ, FAB) --- */
.ca-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ca-slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #18181d;
  border: 1px solid #2e2e38;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ff5e1a;
}

.ca-slot-badge .ca-dot {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.ca-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.ca-tab-btn {
  padding: 10px 16px;
  border-radius: 6px;
  background: #111114;
  border: 1px solid #27272f;
  color: #a1a1aa;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.ca-tab-btn span {
  color: #ff2e3b;
  margin-right: 4px;
}

.ca-tab-btn:hover {
  border-color: #ff5e1a;
  color: #fafafa;
}

.ca-tab-btn.active {
  background: #ff5e1a;
  border-color: #ff5e1a;
  color: #09090b;
}

.ca-tab-btn.active span {
  color: #09090b;
}

.ca-craft-stage {
  background: #111114;
  border: 1px solid #27272f;
  border-radius: 12px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.ca-craft-copy h3 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-craft-copy p {
  margin: 0 0 18px;
  color: #a1a1aa;
  font-size: 14.5px;
  line-height: 1.65;
}

.ca-craft-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ca-craft-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #fafafa;
}

.ca-craft-list li span:first-child {
  color: #ff5e1a;
  font-weight: 800;
}

.ca-craft-visual {
  background: #09090b;
  border: 1px solid #2e2e38;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.ca-craft-index {
  font-family: var(--font-display);
  font-size: 84px;
  line-height: 0.9;
  color: #ff5e1a;
  opacity: 0.9;
}

.ca-craft-meta span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #ff2e3b;
  margin-bottom: 4px;
}

.ca-craft-meta strong {
  font-size: 14px;
  color: #fafafa;
}

.ca-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ca-matrix-card {
  background: #111114;
  border: 1px solid #27272f;
  border-radius: 12px;
  padding: 26px;
}

.ca-matrix-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff5e1a;
  margin-bottom: 14px;
}

.ca-tab-bar-compact .ca-tab-btn {
  padding: 7px 12px;
  font-size: 11px;
}

.ca-fabric-detail {
  background: #09090b;
  border: 1px solid #27272f;
  border-radius: 8px;
  padding: 20px;
}

.ca-fabric-gsm {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 94, 26, 0.12);
  border: 1px solid rgba(255, 94, 26, 0.35);
  color: #ff5e1a;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ca-fabric-detail h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-fabric-rows {
  display: grid;
  gap: 12px;
}

.ca-fabric-rows div {
  border-top: 1px solid #222229;
  padding-top: 10px;
}

.ca-fabric-rows span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a1a1aa;
  margin-bottom: 3px;
}

.ca-fabric-rows strong {
  font-size: 13.5px;
  color: #fafafa;
  font-weight: 500;
}

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

.ca-ink-item {
  background: #09090b;
  border: 1px solid #27272f;
  border-radius: 8px;
  padding: 13px 16px;
}

.ca-ink-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ff5e1a;
  margin-bottom: 4px;
}

.ca-ink-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #a1a1aa;
}

.ca-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ca-filter-btn {
  padding: 8px 14px;
  border-radius: 6px;
  background: #111114;
  border: 1px solid #27272f;
  color: #a1a1aa;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.ca-filter-btn.active,
.ca-filter-btn:hover {
  border-color: #ff5e1a;
  color: #09090b;
  background: #ff5e1a;
}

.ca-guarantee-box {
  margin-top: 22px;
  padding: 22px 26px;
  border-radius: 10px;
  background: rgba(255, 94, 26, 0.06);
  border: 2px solid #ff5e1a;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ca-guarantee-badge {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 6px;
  background: #ff5e1a;
  color: #09090b;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ca-guarantee-box strong {
  display: block;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 4px;
}

.ca-guarantee-box p {
  margin: 0;
  font-size: 13.5px;
  color: #d4d4d8;
}

.ca-trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.ca-trust-col h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 18px;
}

.ca-testimonials {
  display: grid;
  gap: 14px;
}

.ca-quote-card {
  background: #111114;
  border: 1px solid #27272f;
  border-left: 3px solid #ff5e1a;
  border-radius: 8px;
  padding: 18px 20px;
}

.ca-quote-card p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #fafafa;
}

.ca-quote-card span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a1a1aa;
}

.ca-workshop-card {
  background: #111114;
  border: 1px solid #2e2e38;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ca-workshop-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
}

.ca-workshop-info {
  display: grid;
  gap: 12px;
}

.ca-workshop-info div {
  padding-top: 10px;
  border-top: 1px solid #222229;
}

.ca-workshop-info span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 3px;
}

.ca-workshop-info strong {
  font-size: 14px;
  color: #fafafa;
}

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

.ca-faq-item {
  background: #111114;
  border: 1px solid #27272f;
  border-radius: 10px;
  padding: 18px 22px;
}

.ca-faq-item[open] {
  border-color: #ff5e1a;
}

.ca-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ca-faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: #ff5e1a;
  font-size: 18px;
}

.ca-faq-item[open] summary::after {
  content: "−";
}

.ca-faq-item p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #a1a1aa;
}

.ca-fab-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: 999px;
  background: #ff5e1a;
  color: #09090b;
  border: 2px solid #09090b;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.16s ease;
}

.ca-fab-wa.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ca-fab-wa:hover {
  background: #ffffff;
}

@media (max-width: 1120px) {
  .ca-slot-badge {
    display: none;
  }
  .ca-craft-stage,
  .ca-matrix-grid,
  .ca-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ca-guarantee-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .ca-craft-stage,
  .ca-matrix-card,
  .ca-workshop-card {
    padding: 20px;
  }
}


/* --- 5. ETALASE KARYA / INSTAGRAM ARCHIVE --- */
.ca-archive-head-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}

.ca-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ca-archive-card {
  display: flex;
  flex-direction: column;
  background: #111114;
  border: 1px solid #27272f;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #fafafa;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.18s ease;
}

.ca-archive-card:hover {
  transform: translateY(-3px);
  border-color: #ff5e1a;
  box-shadow: 0 18px 38px rgba(255, 94, 26, 0.08);
}

.ca-archive-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #18181d;
  overflow: hidden;
}

.ca-archive-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.ca-archive-card:hover .ca-archive-media img {
  transform: scale(1.04);
}

.ca-archive-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(9, 9, 11, 0.88);
  border: 1px solid #ff5e1a;
  color: #ff5e1a;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ca-archive-body {
  padding: 16px;
  display: grid;
  gap: 6px;
}

.ca-archive-body strong {
  font-size: 14.5px;
  color: #ffffff;
}

.ca-archive-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #d4d4d8;
}

.ca-archive-body span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a1a1aa;
}

@media (max-width: 1024px) {
  .ca-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ca-archive-head-actions {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .ca-archive-grid {
    grid-template-columns: 1fr;
  }
}


/* --- 6. HEADER LOGO CLEANUP & DASHBOARD / ETALASE PC + MOBILE POLISH --- */
.ca-brand img,
.ca-login-brand img,
.brand-lockup .logo-image {
  width: auto;
  height: 36px;
  max-width: 140px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain;
  padding: 0;
  box-shadow: none !important;
}

.ca-brand {
  gap: 10px;
}

.ca-kpi-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.ca-admin-work-card {
  display: flex;
  flex-direction: column;
  background: #0d0d10;
  border: 1px solid #27272f;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.ca-admin-work-card:hover {
  border-color: #ff5e1a;
  transform: translateY(-2px);
}

.ca-admin-work-card.is-hidden {
  opacity: 0.72;
}

.ca-admin-work-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #18181d;
  overflow: hidden;
  border-bottom: 1px solid #222229;
}

.ca-admin-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ca-admin-work-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ca-work-cat {
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(9, 9, 11, 0.88);
  border: 1px solid #3f3f4a;
  color: #fafafa;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ca-work-featured {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #ff5e1a;
  color: #09090b;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ca-admin-work-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ca-admin-work-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.15;
}

.ca-admin-work-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #a1a1aa;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ca-admin-work-specs {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #222229;
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: #d4d4d8;
}

.ca-admin-work-specs strong {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #ff5e1a;
  text-transform: uppercase;
  margin-right: 4px;
}

.ca-admin-work-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid #222229;
  background: #111114;
}

.ca-admin-work-actions .btn {
  padding: 8px 6px;
  font-size: 12px;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.ca-empty-state {
  padding: 40px 20px;
  text-align: center;
  display: grid;
  place-items: center;
  gap: 14px;
  color: #a1a1aa;
}

/* Dashboard & Topbar Responsive Polish (PC & Mobile) */
.topbar {
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar .toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ca-kpi-val {
  word-break: break-word;
}

.ca-panel .panel-body {
  padding: 18px 20px;
}

.ca-panel .timeline {
  display: grid;
  gap: 10px;
}

.ca-panel .timeline-item {
  padding: 12px 14px;
  border-radius: 8px;
  background: #0d0d10;
  border: 1px solid #222229;
}

@media (max-width: 1240px) {
  .ca-admin-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ca-dash-hero {
    padding: 20px;
    gap: 16px;
  }
  .ca-dash-hero-badges {
    width: 100%;
  }
  .ca-dash-pill {
    flex: 1 1 140px;
  }
  .ca-dash-link-btn {
    width: 100%;
    justify-content: center;
  }
  .ca-kpi-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .topbar .toolbar {
    width: 100%;
  }
  .topbar .toolbar .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .ca-kpi-grid,
  .ca-kpi-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ca-kpi-card {
    padding: 14px;
  }
  .ca-kpi-val {
    font-size: 21px;
  }
  .ca-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ca-admin-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ca-panel .panel-body {
    padding: 14px;
  }
  .ca-brand img,
  .ca-login-brand img {
    height: 30px;
    max-width: 110px;
  }
}


/* --- 7. MOBILE HEADER HAMBURGER, 1-LINE BRAND, & UNBOXED LOGO --- */
.ca-brand {
  flex-shrink: 0;
  white-space: nowrap;
}

.ca-brand strong {
  white-space: nowrap;
  line-height: 1;
}

.ca-logo-preview {
  width: auto !important;
  height: 52px;
  max-width: 160px;
  flex: 0 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  object-fit: contain;
}

.ca-menu-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #2e2e38;
  color: #fafafa;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ca-menu-btn:hover,
.ca-menu-btn.is-open {
  border-color: #ff5e1a;
}

.ca-hamburger {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.ca-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fafafa;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.ca-menu-btn.is-open .ca-hamburger span {
  background: #ff5e1a;
}

.ca-menu-btn.is-open .ca-hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.ca-menu-btn.is-open .ca-hamburger span:nth-child(2) {
  opacity: 0;
}

.ca-menu-btn.is-open .ca-hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .ca-nav .ca-login-btn,
  .ca-nav .ca-slot-badge,
  .ca-nav .ca-wa-pill {
    display: none;
  }
  .ca-nav .ca-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .ca-nav {
    padding: 12px 16px;
    gap: 12px;
  }
  .ca-brand img {
    height: 28px;
    max-width: 96px;
  }
  .ca-brand strong {
    font-size: clamp(17px, 4.8vw, 20px);
    letter-spacing: 0.03em;
  }
}


/* --- 8. HERO SLIDER & ADMIN SLIDE MANAGER --- */
.ca-hero-slider-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ca-hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ca-hero-dot {
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: #2e2e38;
  padding: 0;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.ca-hero-dot.active {
  width: 44px;
  background: #ff5e1a;
}

.ca-hero-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ca-hero-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #a1a1aa;
  margin-right: 4px;
}

.ca-hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid #2e2e38;
  background: #111114;
  color: #fafafa;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.ca-hero-arrow:hover {
  border-color: #ff5e1a;
  background: #ff5e1a;
  color: #09090b;
}

.ca-hero-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ca-hero-admin-head h3 {
  margin: 0 0 4px;
}

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

.ca-hero-admin-grid .ca-admin-work-body h3 em {
  font-style: normal;
  color: #ff5e1a;
}

@media (max-width: 720px) {
  .ca-hero-admin-grid {
    grid-template-columns: 1fr;
  }
}


/* --- 9. DASHBOARD DARK & LIGHT THEME POLISH --- */
:root[data-theme="light"] body {
  background: #f4f4f6;
  color: #111114;
}

:root[data-theme="light"] .app-shell {
  background: #f4f4f6;
  color: #111114;
}

:root[data-theme="light"] .sidebar {
  background: #ffffff;
  border-right: 1px solid #e4e4e7;
  color: #111114;
}

:root[data-theme="light"] .sidebar-head,
:root[data-theme="light"] .sidebar-foot {
  border-color: #e4e4e7;
}

:root[data-theme="light"] .brand-lockup span,
:root[data-theme="light"] .sidebar-foot strong {
  color: #111114;
}

:root[data-theme="light"] .sidebar-foot span {
  color: #52525b;
}

:root[data-theme="light"] .nav button {
  color: #3f3f46;
}

:root[data-theme="light"] .nav button:hover {
  background: #f4f4f6;
  color: #111114;
}

:root[data-theme="light"] .nav button.active {
  background: #111114;
  color: #ff5e1a;
}

:root[data-theme="light"] .nav .nav-home {
  border-color: #e4e4e7;
  color: #111114;
  background: #f8f8fa;
}

:root[data-theme="light"] .main {
  background: #f4f4f6;
}

:root[data-theme="light"] .topbar h1 {
  color: #111114;
}

:root[data-theme="light"] .topbar .hint,
:root[data-theme="light"] .hint {
  color: #52525b;
}

:root[data-theme="light"] .panel,
:root[data-theme="light"] .ca-panel,
:root[data-theme="light"] .ca-stage-panel,
:root[data-theme="light"] .modal {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  color: #111114;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

:root[data-theme="light"] .panel-title,
:root[data-theme="light"] .ca-panel .panel-title,
:root[data-theme="light"] .modal-head {
  background: #fafafa;
  border-bottom: 1px solid #e4e4e7;
  color: #111114;
}

:root[data-theme="light"] .panel-title h2,
:root[data-theme="light"] .modal-head h2,
:root[data-theme="light"] .ca-stage-head h3,
:root[data-theme="light"] .ca-dash-hero-copy h2,
:root[data-theme="light"] .ca-kpi-val,
:root[data-theme="light"] .ca-stage-card strong {
  color: #111114;
}

:root[data-theme="light"] .ca-dash-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8f8fa 100%);
  border: 1px solid #e4e4e7;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .ca-dash-hero-copy p {
  color: #52525b;
}

:root[data-theme="light"] .ca-dash-hero .ca-kicker {
  background: #111114;
  border-color: #111114;
  color: #ff5e1a;
}

:root[data-theme="light"] .ca-dash-pill {
  background: #f8f8fa;
  border-color: #e4e4e7;
  color: #111114;
}

:root[data-theme="light"] .ca-dash-pill span {
  color: #52525b;
}

:root[data-theme="light"] .ca-dash-pill strong {
  color: #111114;
}

:root[data-theme="light"] .ca-dash-pill.is-ok {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

:root[data-theme="light"] .ca-dash-pill.is-ok strong {
  color: #15803d;
}

:root[data-theme="light"] .ca-dash-pill.is-alert {
  background: #fef2f2;
  border-color: #fecaca;
}

:root[data-theme="light"] .ca-dash-pill.is-alert strong {
  color: #dc2626;
}

:root[data-theme="light"] .ca-dash-link-btn {
  background: #111114;
  color: #ff5e1a;
  border-color: #111114;
}

:root[data-theme="light"] .ca-dash-link-btn:hover {
  background: #27272f;
  color: #ffffff;
  border-color: #27272f;
}

:root[data-theme="light"] .ca-kpi-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-top: 3px solid #111114;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

:root[data-theme="light"] .ca-kpi-card.is-olive {
  border-top-color: #111114;
}

:root[data-theme="light"] .ca-kpi-card.is-accent {
  border-top-color: #ca8a04;
}

:root[data-theme="light"] .ca-kpi-card.is-ok {
  border-top-color: #16a34a;
}

:root[data-theme="light"] .ca-kpi-card.is-danger {
  border-top-color: #dc2626;
}

:root[data-theme="light"] .ca-kpi-label,
:root[data-theme="light"] .ca-kpi-sub {
  color: #52525b;
}

:root[data-theme="light"] .ca-stage-card {
  background: #f8f8fa;
  border: 1px solid #e4e4e7;
}

:root[data-theme="light"] .ca-stage-num {
  color: #111114;
}

:root[data-theme="light"] .ca-panel-tag {
  background: #111114;
  border-color: #111114;
  color: #ff5e1a;
}

:root[data-theme="light"] .ca-panel .timeline-item {
  background: #f8f8fa;
  border-color: #e4e4e7;
  color: #111114;
}

:root[data-theme="light"] .ca-admin-work-card {
  background: #ffffff;
  border-color: #e4e4e7;
}

:root[data-theme="light"] .ca-admin-work-card:hover {
  border-color: #111114;
}

:root[data-theme="light"] .ca-admin-work-media {
  background: #f4f4f6;
  border-bottom-color: #e4e4e7;
}

:root[data-theme="light"] .ca-admin-work-body h3 {
  color: #111114;
}

:root[data-theme="light"] .ca-hero-admin-grid .ca-admin-work-body h3 em {
  background: #111114;
  color: #ff5e1a;
  padding: 0 5px;
  border-radius: 3px;
}

:root[data-theme="light"] .ca-admin-work-desc,
:root[data-theme="light"] .ca-admin-work-specs {
  color: #52525b;
  border-top-color: #e4e4e7;
}

:root[data-theme="light"] .ca-admin-work-specs strong {
  color: #111114;
}

:root[data-theme="light"] .ca-admin-work-actions {
  background: #fafafa;
  border-top-color: #e4e4e7;
}

:root[data-theme="light"] .ca-logo-upload-box {
  background: #f8f8fa;
  border-color: #e4e4e7;
}

:root[data-theme="light"] .btn {
  background: #ffffff;
  border-color: #d4d4d8;
  color: #111114;
}

:root[data-theme="light"] .btn:hover {
  background: #f4f4f6;
  border-color: #111114;
}

:root[data-theme="light"] .btn.primary {
  background: #111114;
  border-color: #111114;
  color: #ff5e1a;
}

:root[data-theme="light"] .btn.primary:hover {
  background: #27272f;
  border-color: #27272f;
  color: #ffffff;
}

:root[data-theme="light"] .btn.danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

:root[data-theme="light"] .btn.danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

:root[data-theme="light"] .field label {
  color: #111114;
}

:root[data-theme="light"] .field input,
:root[data-theme="light"] .field select,
:root[data-theme="light"] .field textarea,
:root[data-theme="light"] .filters input,
:root[data-theme="light"] .filters select,
:root[data-theme="light"] .size-row input,
:root[data-theme="light"] .size-row select,
:root[data-theme="light"] .action-select {
  background: #ffffff;
  border-color: #d4d4d8;
  color: #111114;
}

:root[data-theme="light"] table th {
  background: #fafafa;
  color: #52525b;
  border-bottom-color: #e4e4e7;
}

:root[data-theme="light"] table td {
  color: #111114;
  border-bottom-color: #f0f0f2;
}

:root[data-theme="light"] .ca-landing,
:root[data-theme="light"] .ca-login {
  background: #09090b;
  color: #fafafa;
}


/* --- 10. DARK + ORANGE INDUSTRIAL SIDEBAR POLISH --- */
.sidebar {
  border-top: 3px solid #ff5e1a;
  background: linear-gradient(180deg, #131110 0%, #0b0b0e 36%, #09090b 100%);
  border-right: 1px solid #26211e;
}

.sidebar .nav button {
  border-left: 3px solid transparent;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.sidebar .nav button:hover {
  background: rgba(255, 94, 26, 0.12);
  border-left-color: #ff5e1a;
  color: #ffffff;
}

.sidebar .nav button.active {
  background: #ff5e1a;
  border-left-color: #ffffff;
  color: #09090b;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(255, 94, 26, 0.28);
}

.sidebar .nav .nav-home {
  border: 1px solid rgba(255, 94, 26, 0.45);
  color: #ff5e1a;
  background: rgba(255, 94, 26, 0.08);
}

.sidebar .nav .nav-home:hover {
  background: #ff5e1a;
  color: #09090b;
}

:root[data-theme="light"] .sidebar {
  border-top: 3px solid #ff5e1a;
  background: linear-gradient(180deg, #fff8f5 0%, #ffffff 28%, #ffffff 100%);
  border-right: 1px solid #e4e4e7;
}

:root[data-theme="light"] .sidebar .nav button:hover {
  background: rgba(255, 94, 26, 0.10);
  border-left-color: #ff5e1a;
  color: #111114;
}

:root[data-theme="light"] .sidebar .nav button.active {
  background: #ff5e1a;
  border-left-color: #111114;
  color: #09090b;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 94, 26, 0.24);
}

:root[data-theme="light"] .sidebar .nav .nav-home {
  border-color: rgba(255, 94, 26, 0.5);
  color: #e04808;
  background: rgba(255, 94, 26, 0.08);
}

:root[data-theme="light"] .sidebar .nav .nav-home:hover {
  background: #ff5e1a;
  color: #09090b;
}

:root[data-theme="light"] .btn.primary {
  background: #ff5e1a;
  border-color: #ff5e1a;
  color: #09090b;
  font-weight: 700;
}

:root[data-theme="light"] .btn.primary:hover {
  background: #e04808;
  border-color: #e04808;
  color: #ffffff;
}
