@font-face {
  font-family: "Sofia Pro";
  src: url("/static/fonts/sofia-pro/subset-SofiaPro-Light.woff2") format("woff2"),
       url("/static/fonts/sofia-pro/subset-SofiaPro-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("/static/fonts/sofia-pro/subset-SofiaPro.woff2") format("woff2"),
       url("/static/fonts/sofia-pro/subset-SofiaPro.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("/static/fonts/sofia-pro/subset-SofiaPro-Medium.woff2") format("woff2"),
       url("/static/fonts/sofia-pro/subset-SofiaPro-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("/static/fonts/sofia-pro/subset-SofiaPro-SemiBold.woff2") format("woff2"),
       url("/static/fonts/sofia-pro/subset-SofiaPro-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("/static/fonts/sofia-pro/subset-SofiaPro-Bold.woff2") format("woff2"),
       url("/static/fonts/sofia-pro/subset-SofiaPro-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --slate-950: #242933;
  --slate-900: #2e3440;
  --slate-850: #343b49;
  --slate-800: #3b4252;
  --slate-700: #434c5e;
  --slate-600: #4c566a;
  --text: #eceff4;
  --muted: #d8dee9;
  --blue: #5e81ac;
  --blue-dark: #4c566a;
  --green: #a3be8c;
  --yellow: #ebcb8b;
  --purple: #b48ead;
  --red: #bf616a;
  --nord-frost: #88c0d0;
  --nord-frost-soft: #8fbcbb;
  --nord-snow: #e5e9f0;
  --nord-aurora: #d08770;
  --karacan-action: #4f5f78;
  --karacan-action-soft: #5e6f89;
  --karacan-action-dark: #39465b;
  --karacan-action-border: rgba(136, 192, 208, 0.28);
  --karacan-action-glow: rgba(136, 192, 208, 0.34);
  --karacan-action-bg: linear-gradient(135deg, #46546c 0%, var(--karacan-action-soft) 42%, #6b7d98 58%, var(--karacan-action-dark) 100%);
  --karacan-action-bg-hover: var(--karacan-action-bg);
  --karacan-action-position: 0% 50%;
  --karacan-action-position-hover: 100% 50%;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", "Afacad Flux", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(to bottom right, var(--slate-900), var(--slate-800));
  letter-spacing: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.auth-page {
  overflow: visible;
}

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

.auth-shell-x {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-split {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
  min-height: 100vh;
  background: linear-gradient(to bottom right, var(--slate-900), var(--slate-800));
  overflow: visible;
}

.auth-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.2vw, 24px);
  animation: slideInLeft 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  animation: slideInRight 0.55s ease-out;
}

.brand-pane h2 {
  margin: 16px 0 8px;
  font-size: 56px;
  line-height: 1;
}

.brand-pane p {
  margin: 0;
  color: #cbd5e1;
  font-size: 22px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(to bottom right, var(--blue), var(--green));
  border-radius: 999px;
  font-size: 30px;
  font-weight: 900;
}

.auth-card-wide {
  width: min(clamp(360px, 34vw, 420px), calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  overflow-x: visible;
  overflow-y: auto;
  padding: clamp(18px, 2.2vh, 22px);
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 165, 250, 0.55) rgba(15, 23, 42, 0.5);
}

.auth-card-wide::-webkit-scrollbar,
.custom-select-menu-portal::-webkit-scrollbar {
  width: 7px;
}

.auth-card-wide::-webkit-scrollbar-track,
.custom-select-menu-portal::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.45);
  border-radius: 8px;
}

.auth-card-wide::-webkit-scrollbar-thumb,
.custom-select-menu-portal::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, rgba(96, 165, 250, 0.85), rgba(22, 163, 74, 0.7));
  border-radius: 8px;
}

.auth-form-panel {
  display: none;
}

.auth-form-panel.active {
  display: block;
}

.auth-form-panel.enter-forward {
  animation: formEnterForward 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-form-panel.leave-forward {
  display: block;
  animation: formLeaveForward 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.auth-form-panel.enter-back {
  animation: formEnterBack 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-form-panel.leave-back {
  display: block;
  animation: formLeaveBack 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.auth-form-panel h1 {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(23px, 2.1vw, 27px);
}

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

.register-grid label,
.register-grid .form-field,
.auth-form-x label {
  display: grid;
  gap: 6px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 750;
}

.register-grid label > span:first-child,
.register-grid .form-field > .field-label-row {
  display: flex;
  align-items: center;
  min-height: 18px;
  line-height: 18px;
}

.field-label-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: auto;
}

.help-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  color: #bfdbfe;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 2px;
  appearance: none;
  -webkit-appearance: none;
  font-size: 14px;
  font-weight: 900;
  line-height: 14px;
  cursor: help;
  outline: 0;
  text-shadow: 0 0 0 rgba(96, 165, 250, 0);
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

.help-tooltip .tooltip-bubble {
  position: absolute;
  right: -2px;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: min(280px, 78vw);
  padding: 10px 12px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(96, 165, 250, 0.42);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.46), 0 0 18px rgba(96, 165, 250, 0.18);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.98);
  transform-origin: right bottom;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.help-tooltip .tooltip-bubble::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 100%;
  width: 10px;
  height: 10px;
  background: rgba(15, 23, 42, 0.98);
  border-right: 1px solid rgba(96, 165, 250, 0.42);
  border-bottom: 1px solid rgba(96, 165, 250, 0.42);
  transform: translateY(-5px) rotate(45deg);
}

.help-tooltip:hover,
.help-tooltip:focus-visible {
  color: #eff6ff;
  text-shadow: 0 0 14px rgba(96, 165, 250, 0.9);
  transform: translateY(-1px);
}

.help-tooltip:hover .tooltip-bubble,
.help-tooltip:focus-visible .tooltip-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wide-field {
  grid-column: 1 / -1;
}

.register-grid input,
.register-grid select,
.register-grid textarea,
.register-grid .form-field input,
.auth-form-x input[type="email"] {
  width: 100%;
  color: #fff;
  background: var(--slate-700);
  border: 1px solid var(--slate-600);
  border-radius: 6px;
  padding: 9px 11px;
  font: inherit;
  outline: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.register-grid input,
.register-grid select,
.register-grid .form-field input,
.auth-form-x input[type="email"] {
  height: 38px;
}

.register-grid textarea {
  min-height: 74px;
  resize: vertical;
}

.register-grid input:focus,
.register-grid textarea:focus,
.register-grid .form-field input:focus,
.auth-form-x input:focus,
.custom-select.open .custom-select-button,
.custom-select-button:focus-visible {
  background: #26364d;
  border-color: rgba(96, 165, 250, 0.8);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45), 0 0 20px rgba(96, 165, 250, 0.5);
}

.error-field {
  border-color: var(--red) !important;
  border-width: 1px !important;
}

.form-switch {
  margin: 14px 0 0;
  color: #cbd5e1;
  text-align: center;
  font-size: 13px;
}

.form-switch a {
  color: #60a5fa;
  font-weight: 900;
}

.success-callout {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  padding: 13px;
  color: #fff;
  background: linear-gradient(to right, var(--green), #15803d);
  border: 1px solid #86efac;
  border-radius: 8px;
  text-align: center;
}

.success-callout a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  color: #166534;
  background: #fff;
  border-radius: 6px;
  font-size: 19px;
  font-weight: 900;
}

.auth-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  border: 1px solid #991b1b;
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
}

.native-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.custom-select {
  position: relative;
  min-width: 0;
}

.custom-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 38px;
  color: #fff;
  background: var(--slate-700);
  border: 1px solid var(--slate-600);
  border-radius: 6px;
  padding: 0 10px 0 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  outline: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.custom-select-button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-select.open .custom-select-button::after {
  transform: translateY(2px) rotate(225deg);
}

.custom-select-menu-portal {
  position: fixed;
  z-index: 5000;
  max-height: var(--dropdown-max-height, 408px);
  overflow-y: auto;
  padding: 6px;
  color: #e5eefb;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 8px;
  box-shadow: 0 22px 45px rgba(2, 6, 23, 0.52), 0 0 20px rgba(96, 165, 250, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scaleY(0.98);
  transform-origin: top;
  transition: opacity 0.18s ease, transform 0.18s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 165, 250, 0.6) rgba(15, 23, 42, 0.4);
}

.custom-select-menu-portal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

.custom-select-menu-portal.open-up {
  transform-origin: bottom;
}

.custom-select-option {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  color: #dbe7f7;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.custom-select-option:hover,
.custom-select-option.active {
  color: #fff;
  background: rgba(37, 99, 235, 0.36);
}

select.error-field + .custom-select .custom-select-button {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.35), 0 0 18px rgba(220, 38, 38, 0.35);
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-70px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(70px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes formEnterForward {
  from { opacity: 0; transform: scale(0.992); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes formLeaveForward {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to { opacity: 0; transform: scale(0.992); }
}

@keyframes formEnterBack {
  from { opacity: 0; transform: scale(0.992); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes formLeaveBack {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to { opacity: 0; transform: scale(0.992); }
}

.auth-card-x {
  width: min(448px, 100%);
  padding: 32px;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.auth-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #fff;
  background: var(--slate-700);
  border-radius: 999px;
  font-weight: 800;
}

.auth-card-x h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1px;
}

.auth-subtitle {
  margin: 6px 0 26px;
  color: var(--muted);
}

.auth-form-x {
  display: grid;
  gap: 14px;
  text-align: left;
}

.auth-form-x label {
  display: grid;
  gap: 6px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 750;
}

.auth-form-x input[type="text"],
.auth-form-x input[type="password"] {
  height: 38px;
  color: #fff;
  background: var(--slate-700);
  border: 1px solid var(--slate-600);
  border-radius: 6px;
  padding: 0 11px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  outline: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.segmented-role {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.segmented-role label {
  display: block;
}

.segmented-role input {
  display: none;
}

.segmented-role span {
  display: grid;
  place-items: center;
  height: 42px;
  color: #cbd5e1;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
}

.segmented-role input:checked + span {
  color: #fff;
  background: var(--blue);
  border-color: #60a5fa;
}

button {
  min-height: 40px;
  color: #fff;
  background: var(--karacan-action-bg);
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
  border: 1px solid var(--karacan-action-border);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background-position 0.72s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.44s ease, box-shadow 0.44s ease, color 0.44s ease, transform 0.44s ease;
}

button:hover {
  background-position: var(--karacan-action-position-hover);
}

.transfer-card > button[type="submit"],
.tual-add-button,
.tual-upload-next,
.table-size-form .file-picker b,
.table-option-edit-form .file-picker b,
.table-size-form button,
.table-option-edit-form .success-button,
.workspace .visual-option-control-row .table-size-form button,
.workspace .visual-option-control-row .table-size-form .file-picker b,
.workspace .table-option-grid .table-option-edit-form .file-picker b {
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
}

.transfer-card > button[type="submit"]:hover,
.tual-add-button:hover,
.tual-upload-next:not(:disabled):hover,
.file-picker:hover b,
.table-size-form button:hover,
.table-option-edit-form .success-button:hover,
.workspace .visual-option-control-row .table-size-form button:hover {
  background-position: var(--karacan-action-position-hover);
}

.workspace {
  display: grid;
  grid-template-columns: 256px 1fr;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  min-height: 100vh;
  color: var(--muted);
  overflow: hidden;
}

.compact-sidebar {
  width: 178px;
}

.workspace:has(.compact-sidebar) {
  grid-template-columns: 178px 1fr;
}

.sidebar {
  display: flex;
  flex-direction: column;
  background: var(--slate-900);
  border-right: 1px solid var(--slate-700);
}

.admin-sidebar {
  background: var(--slate-900);
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  padding: 0 2px;
  border-bottom: 1px solid var(--slate-700);
}

.sidebar-head.centered {
  text-align: center;
}

.sidebar-title {
  font-size: 24px;
  font-weight: 800;
}

.sidebar-logo {
  display: block;
  width: calc(100% - 4px);
  max-height: 66px;
  object-fit: contain;
}

.sidebar-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.sidebar nav {
  display: grid;
  align-content: start;
  gap: 7px;
  flex: 0 0 auto;
  padding: 18px 10px 10px;
}

.sidebar a,
.logout-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--muted);
  border-radius: 8px;
  font-weight: 900;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.sidebar a.active,
.sidebar a:hover {
  color: var(--muted);
  background: var(--slate-800);
  transform: translateX(2px);
  box-shadow: inset 3px 0 0 rgba(96, 165, 250, 0.82);
}

.nav-icon {
  display: none;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #bfdbfe;
  border: 1px solid var(--slate-600);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
}

.sidebar-watermark {
  position: relative;
  display: block;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
}

.sidebar-watermark img {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 330px;
  max-width: none;
  opacity: 0.3;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
}

.logout-link {
  margin: 16px 10px;
  color: #f87171;
  border-top: 1px solid transparent;
}

.customer-workspace {
  --customer-sidebar-width: clamp(160px, 10.6vw, 210px);
  --customer-topbar-height: clamp(68px, 7.05vh, 86px);
  --customer-page-gutter: clamp(18px, 1.9vw, 42px);
  --customer-scene-padding: clamp(34px, 3.55vw, 72px);
  --customer-selected-padding: clamp(24px, 1.8vw, 38px);
  --customer-scene-height: clamp(640px, 68.5vh, 860px);
  --customer-rail-width: clamp(250px, 17.85vw, 360px);
  --customer-tual-card-width: clamp(172px, 11.08vw, 226px);
  grid-template-columns: var(--customer-sidebar-width) 1fr;
  font-family: "Sofia Pro", "Manrope", Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.customer-workspace button,
.customer-workspace input,
.customer-workspace textarea,
.customer-workspace select {
  font-family: inherit;
}

.customer-sidebar {
  background: #242933;
  border-right-color: transparent;
}

.customer-sidebar-head {
  height: var(--customer-topbar-height);
  margin: 0;
  padding: 0 2px;
  background: #242933;
  border: 0;
}

.customer-brand-logo {
  width: calc(100% - 4px);
  max-height: calc(var(--customer-topbar-height) - 8px);
}

.customer-logo-form {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px 12px 18px;
}

.customer-logo-picker {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(108px, 6.9vw, 136px);
  height: clamp(108px, 6.9vw, 136px);
  padding: 0;
  overflow: hidden;
  color: #e5e9f0;
  background: #e5e9f0;
  border: 2px solid rgba(236, 239, 244, 0.92);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(36, 41, 51, 0.38), inset 0 0 0 1px rgba(76, 86, 106, 0.16);
  cursor: pointer;
}

.customer-logo-picker::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(46, 52, 64, 0.62);
  border-radius: 999px;
  pointer-events: none;
}

.customer-logo-picker input {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
}

.customer-logo-picker img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: cover;
  background: #e5e9f0;
  border-radius: 999px;
}

.customer-logo-picker span {
  position: relative;
  z-index: 1;
  max-width: 74px;
  color: #4c566a !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.16;
  text-align: center;
  text-transform: uppercase;
}

.customer-welcome {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 64px;
  text-align: center;
}

.customer-welcome small {
  color: rgba(216, 222, 233, 0.78) !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.customer-welcome strong {
  max-width: 142px;
  color: #eceff4 !important;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.12;
}

.customer-nav {
  align-content: start;
  justify-items: stretch;
  gap: 8px !important;
  padding: 24px 12px 10px !important;
}

.customer-nav .nav-item {
  justify-content: center;
  min-height: 38px;
  padding: 0 8px;
  text-align: center;
  color: #d8dee9;
  font-size: 15px;
  font-weight: 400;
  border: 1px solid transparent;
}

.customer-nav .nav-item.active,
.customer-nav .nav-item:hover,
.customer-logout:hover {
  color: #eceff4;
  background: rgba(67, 76, 94, 0.74);
  border-color: rgba(136, 192, 208, 0.34);
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.22), 0 0 18px rgba(136, 192, 208, 0.22);
  transform: none;
}

.customer-nav .nav-item.active {
  color: #eceff4;
  border-radius: 8px;
}

.customer-missing-nav {
  min-height: 48px !important;
  margin-top: 9px;
  padding: 0 12px !important;
  color: #e5e9f0 !important;
  background: rgba(76, 86, 106, 0.34);
  border-color: rgba(136, 192, 208, 0.24) !important;
  font-size: 13px !important;
  line-height: 1.16;
}

.customer-logout {
  justify-content: center;
  min-height: 38px;
  margin: auto 12px 16px;
  padding: 0 8px;
  color: #bf616a !important;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid transparent;
  border-radius: 8px;
}

.customer-logout:hover {
  color: #bf616a !important;
}

.customer-workspace .topbar {
  min-height: var(--customer-topbar-height);
  margin: 0;
  padding: clamp(16px, 1.7vh, 22px) clamp(28px, 1.9vw, 42px);
  background: #242933;
  border-bottom: 0;
  border-radius: 0;
}

.customer-workspace .spa-content {
  min-height: calc(100vh - var(--customer-topbar-height));
  max-height: calc(100vh - var(--customer-topbar-height));
}

.content {
  min-width: 0;
  height: 100vh;
  background: #242933;
  overflow-x: hidden;
  overflow-y: hidden;
}

.spa-content {
  min-height: calc(100vh - 74px);
  max-height: calc(100vh - 74px);
  padding: 1px 0 24px;
  background: var(--slate-800);
  border-top-left-radius: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease;
}

.spa-content.fade-in {
  animation: panelContentIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.spa-content.is-leaving {
  opacity: 0;
  filter: blur(1px);
  transform: translateY(8px);
  pointer-events: none;
}

.spa-content.is-refreshing {
  opacity: 0.78;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

@keyframes panelContentIn {
  from {
    opacity: 0;
    filter: blur(1px);
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.loading-state {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 260px;
  color: var(--muted);
}

.loading-state span {
  width: 48px;
  height: 48px;
  border: 3px solid var(--slate-700);
  border-bottom-color: var(--blue);
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 74px;
  padding: 18px 32px;
  background: var(--slate-900);
  border-bottom: 1px solid var(--slate-700);
}

.topbar h1 {
  margin: 0;
  font-size: clamp(24px, 1.55vw, 32px);
  font-weight: 800;
}

.customer-workspace .topbar h1 {
  font-weight: 600;
}

.customer-workspace .top-date {
  font-weight: 500;
}

.top-date {
  color: var(--muted);
}

.module-card,
.metric-card {
  margin: 24px 32px;
  padding: 24px;
  background: var(--slate-900);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.reveal-card,
.module-card {
  animation: moduleCardIn 0.26s ease both;
}

@keyframes moduleCardIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.module-card h2,
.module-card p,
.section-heading h2 {
  margin: 0;
}

.module-card p {
  margin-top: 6px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.section-heading button,
.filter-row button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.filter-row button {
  color: #cbd5e1;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
}

.filter-row button.active {
  color: #fff;
  background: var(--blue);
  border-color: #60a5fa;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.category-card {
  display: grid;
  gap: 10px;
  place-items: center;
  min-height: 112px;
  background: var(--slate-800);
  border: 2px solid transparent;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 16px;
}

.category-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--slate-700);
  border-radius: 999px;
  font-weight: 800;
}

.category-card.active,
.category-card:hover {
  color: #fff;
  background: var(--blue);
  border-color: #93c5fd;
}

.soon-category-grid .muted-card {
  cursor: default;
  color: var(--muted);
  background: rgba(30, 41, 59, 0.62);
  border-color: rgba(148, 163, 184, 0.12);
  opacity: 0.72;
}

.soon-category-grid .muted-card:hover {
  color: var(--muted);
  background: rgba(30, 41, 59, 0.62);
  border-color: rgba(148, 163, 184, 0.12);
  transform: none;
}

.order-builder {
  display: grid;
  gap: 0;
}

.order-scene {
  position: relative;
  min-height: var(--customer-scene-height, min(720px, calc(100vh - 128px)));
  margin: clamp(18px, 2.3vh, 28px) var(--customer-page-gutter, 32px) var(--customer-page-gutter, 32px);
  overflow: hidden;
  isolation: isolate;
  background: var(--slate-950);
  border: 1px solid rgba(136, 192, 208, 0.16);
  border-radius: 8px;
}

.scene-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 28px;
  min-height: inherit;
  box-sizing: border-box;
  padding: var(--customer-scene-padding, 58px) clamp(42px, 3.55vw, 76px);
}

.order-scene.has-selection .scene-body {
  grid-template-columns: minmax(480px, 1fr) var(--customer-rail-width, clamp(250px, 21vw, 300px));
  gap: clamp(20px, 1.35vw, 30px);
  padding: var(--customer-selected-padding, 30px);
}

.order-scene.is-missing-direct .scene-body {
  grid-template-columns: minmax(0, 1fr);
}

.scene-card-rail {
  position: relative;
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(4, minmax(132px, 1fr));
  gap: 16px;
  width: 100%;
  transition:
    gap 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s ease;
}

.order-scene.has-selection .scene-card-rail {
  grid-template-columns: 1fr;
  align-content: center;
  gap: 14px;
  width: var(--customer-rail-width, clamp(250px, 21vw, 300px));
  max-width: var(--customer-rail-width, 300px);
  justify-self: end;
}

.order-scene.has-selection.is-rail-switching .scene-card-rail {
  pointer-events: none;
}

.order-scene.is-missing-direct .scene-card-rail {
  display: none;
}

.order-scene:not(.has-selection) .scene-card-rail {
  min-height: calc(var(--customer-scene-height, min(720px, calc(100vh - 128px))) - (var(--customer-scene-padding, 58px) * 2));
}

.scene-order-card {
  position: relative;
  min-height: 100%;
  padding: 0;
  overflow: visible;
  text-align: left;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  transform-origin: center center;
  transform: none;
  opacity: 1;
  transition:
    min-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s ease;
  will-change: auto;
}

.order-scene.is-ready .scene-order-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.order-scene.is-ready .scene-order-card:nth-child(2) {
  transition-delay: 0.05s;
}

.order-scene.is-ready .scene-order-card:nth-child(3) {
  transition-delay: 0.1s;
}

.order-scene.is-ready .scene-order-card:nth-child(4) {
  transition-delay: 0.15s;
}

.order-scene.is-ready .scene-order-card:nth-child(5) {
  transition-delay: 0.2s;
}

.scene-order-card:hover,
.scene-order-card.is-selected {
  color: #fff;
}

.scene-order-card:hover {
  transform: none;
}

.order-scene.has-selection .scene-order-card {
  min-height: 48px;
  padding: 0;
  opacity: 0.52;
  transform: none;
  transition-delay: 0ms;
}

.order-scene.has-selection.is-rail-switching .scene-order-card {
  transition:
    min-height 0.5s cubic-bezier(0.2, 0, 0, 1),
    opacity 0.5s cubic-bezier(0.2, 0, 0, 1),
    transform 0.5s cubic-bezier(0.2, 0, 0, 1),
    filter 0.5s cubic-bezier(0.2, 0, 0, 1);
}

.order-scene.has-selection.is-rail-switching.is-switching-down .scene-order-card {
  transform-origin: top center;
}

.order-scene.has-selection.is-rail-switching.is-switching-up .scene-order-card {
  transform-origin: bottom center;
}

.order-scene.has-selection .scene-order-card:hover {
  transform: none;
  z-index: 0;
}

.order-scene.has-selection .scene-order-card.is-selected {
  min-height: clamp(420px, 29vw, 560px);
  opacity: 1;
  transform: none;
  transition-delay: 0ms;
  z-index: 3;
}

.order-scene.has-selection.is-tual-cart-active .scene-order-card,
.order-scene.has-selection.is-tual-cart-active .scene-order-card.is-selected {
  opacity: 0;
  filter: blur(1px);
  pointer-events: none;
  transform: scale(1.04);
  transition:
    opacity 0.38s ease,
    filter 0.38s ease,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.order-scene.has-selection .scene-order-card.is-selected:hover {
  transform: none;
}

.scene-card-inner {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: inherit;
  background: rgba(46, 52, 64, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: inherit;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  transition:
    background-color 0.36s ease,
    border-color 0.36s ease,
    box-shadow 0.36s ease,
    transform 0.36s ease;
  will-change: auto;
}

.order-scene.has-selection.is-rail-switching .scene-card-inner {
  transition:
    background-color 0.5s cubic-bezier(0.2, 0, 0, 1),
    border-color 0.5s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.5s cubic-bezier(0.2, 0, 0, 1),
    transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}

.scene-order-card:hover .scene-card-inner,
.scene-order-card.is-selected .scene-card-inner {
  background: rgba(59, 66, 82, 0.86);
  border-color: rgba(136, 192, 208, 0.34);
  box-shadow:
    0 0 0 1px rgba(136, 192, 208, 0.22),
    0 0 18px rgba(136, 192, 208, 0.22),
    0 24px 80px rgba(0, 0, 0, 0.28);
}

.order-scene.has-selection .scene-order-card.is-selected .scene-card-inner {
  background: rgba(59, 66, 82, 0.9);
}

.order-scene.has-selection.is-rail-switching .scene-order-card.is-selected .scene-card-inner {
  animation: railGlowOpen 0.5s cubic-bezier(0.2, 0, 0, 1) both;
}

.order-scene.has-selection.is-rail-switching .scene-order-card.is-exiting .scene-card-inner {
  animation: railGlowClose 0.5s cubic-bezier(0.2, 0, 0, 1) both;
}

@keyframes railGlowOpen {
  0% {
    box-shadow:
      0 0 0 1px rgba(136, 192, 208, 0.08),
      0 0 6px rgba(136, 192, 208, 0.08),
      0 10px 34px rgba(0, 0, 0, 0.18);
  }
  48% {
    box-shadow:
      0 0 0 1px rgba(136, 192, 208, 0.28),
      0 0 26px rgba(136, 192, 208, 0.32),
      0 28px 86px rgba(0, 0, 0, 0.3);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(136, 192, 208, 0.22),
      0 0 18px rgba(136, 192, 208, 0.22),
      0 24px 80px rgba(0, 0, 0, 0.28);
  }
}

@keyframes railGlowClose {
  0% {
    box-shadow:
      0 0 0 1px rgba(136, 192, 208, 0.22),
      0 0 18px rgba(136, 192, 208, 0.22),
      0 24px 80px rgba(0, 0, 0, 0.28);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(136, 192, 208, 0.08),
      0 0 4px rgba(136, 192, 208, 0.06),
      0 8px 24px rgba(0, 0, 0, 0.16);
  }
}

.scene-card-face {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  padding: clamp(16px, 1.08vw, 22px);
  text-align: center;
  overflow: hidden;
  border-radius: inherit;
  transition:
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.order-scene.has-selection.is-rail-switching .scene-card-face {
  transition:
    opacity 0.5s cubic-bezier(0.2, 0, 0, 1),
    transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}

.scene-card-front {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scene-card-back {
  inset: auto 14px 14px 14px;
  z-index: 4;
  grid-template-rows: 1fr;
  min-height: clamp(54px, 3.3vw, 66px);
  padding: 10px clamp(12px, 0.75vw, 16px);
  place-items: center;
  opacity: 0;
  color: var(--muted);
  background: rgba(36, 41, 51, 0.82);
  border: 1px solid rgba(136, 192, 208, 0.2);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.28);
  transform: none;
}

.order-scene.has-selection .scene-order-card.is-selected .scene-card-front {
  opacity: 1;
}

.order-scene.has-selection .scene-order-card.is-selected .scene-card-back {
  opacity: 1;
  transform: none;
}

.order-scene.has-selection .scene-order-card.is-selected .scene-card-back strong {
  align-self: center;
  justify-self: center;
  width: 100%;
  text-align: center;
}

.scene-card-back .scene-card-media {
  display: none;
}

.order-scene.has-selection .scene-order-card.is-selected .scene-card-front strong {
  display: none;
}

.order-scene.has-selection .scene-order-card.is-selected .scene-card-back small {
  display: none;
}

.scene-order-card strong {
  position: relative;
  z-index: 2;
  align-self: start;
  justify-self: center;
  color: inherit;
  font-size: clamp(22px, 1.37vw, 28px);
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
}

.order-scene.has-selection .scene-order-card:not(.is-selected) .scene-card-face {
  grid-template-rows: 1fr;
  gap: 0;
  padding: 10px 12px;
  place-items: center;
}

.order-scene.has-selection .scene-order-card:not(.is-selected) strong {
  align-self: center;
  justify-self: center;
  font-size: clamp(19px, 1.2vw, 24px);
  line-height: 1;
}

.order-scene.has-selection .scene-order-card:not(.is-selected) .scene-card-media,
.order-scene.has-selection .scene-order-card:not(.is-selected) small {
  display: none;
}

.scene-order-card small {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.scene-card-media {
  position: absolute;
  inset: auto -18px -22px 18px;
  height: 230px;
  opacity: 0.74;
  pointer-events: none;
}

.scene-card-media-front {
  inset: auto -12px 18px 18px;
  height: 62%;
  opacity: 0.88;
}

.order-scene:not(.has-selection) .scene-card-media-front {
  inset: auto -18px -12px 8px;
  height: 80%;
}

.order-scene:not(.has-selection) .scene-card-media i {
  width: clamp(150px, 9.9vw, 210px);
  height: clamp(200px, 13.15vw, 280px);
}

.order-scene.has-selection .scene-order-card.is-selected .scene-card-media-front {
  inset: 64px -30px auto 20px;
  height: 72%;
}

.order-scene.has-selection .scene-order-card.is-selected .scene-card-media i {
  width: clamp(136px, 8.85vw, 185px);
  height: clamp(181px, 11.85vw, 247px);
}

.scene-card-media i {
  position: absolute;
  display: block;
  width: 128px;
  height: 170px;
  background:
    linear-gradient(145deg, rgba(226, 232, 240, 0.1), rgba(96, 165, 250, 0.12)),
    linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.86));
  border: 1px solid rgba(147, 197, 253, 0.16);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  transform-origin: bottom center;
  animation: sceneMediaFloat 8s ease-in-out infinite;
}

.scene-card-media i:nth-child(1) {
  right: 92px;
  bottom: 8px;
  transform: rotate(-10deg);
}

.scene-card-media i:nth-child(2) {
  right: 52px;
  bottom: 24px;
  animation-delay: -1.8s;
}

.scene-card-media i:nth-child(3) {
  right: 10px;
  bottom: 2px;
  transform: rotate(10deg);
  animation-delay: -3.4s;
}

@keyframes sceneMediaFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

.scene-workspace {
  align-self: center;
  min-width: 0;
  padding: 24px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.scene-workspace.is-panel-switching {
  animation: scenePanelSwitchIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.scene-workspace.is-panel-leaving {
  opacity: 0;
  filter: blur(1px);
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.17s ease,
    filter 0.17s ease,
    transform 0.17s ease;
}

@keyframes scenePanelSwitchIn {
  from {
    opacity: 0;
    filter: blur(1px);
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.scene-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.scene-panel-head h2,
.scene-panel-head p {
  margin: 0;
}

.scene-panel-head h2 {
  font-weight: 700;
}

.scene-panel-head p {
  margin-top: 6px;
  color: var(--muted);
}

.missing-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  margin-top: 22px;
}

.missing-order-grid label,
.missing-order-grid .missing-file-picker {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.missing-note-field,
.missing-order-grid button[type="submit"],
.missing-order-grid .order-feedback {
  grid-column: 1 / -1;
}

.missing-order-grid select,
.missing-order-grid textarea {
  width: 100%;
  min-width: 0;
  color: var(--muted);
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  outline: 0;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
  font-weight: 400;
}

.missing-order-grid select {
  height: 38px;
  padding: 0 10px;
}

.missing-order-grid textarea {
  min-height: 118px;
  max-height: 180px;
  resize: vertical;
  padding: 10px;
  scrollbar-width: thin;
}

.missing-order-grid select:focus,
.missing-order-grid textarea:focus {
  background: #172234;
  border-color: rgba(96, 165, 250, 0.84);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.missing-order-grid button[type="submit"] {
  justify-self: start;
  min-width: 150px;
  min-height: 38px;
  white-space: nowrap;
}

.missing-file-picker {
  position: relative;
}

.upload-dropzone-body {
  display: grid;
  grid-template-columns: 120px 120px minmax(0, 1fr);
  grid-template-areas:
    "file folder label"
    "file folder hint";
  align-items: center;
  column-gap: 12px;
  min-height: 66px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(46, 52, 64, 0.72), rgba(36, 41, 51, 0.88)),
    radial-gradient(circle at 20% 20%, rgba(136, 192, 208, 0.12), transparent 36%);
  border: 1px dashed rgba(136, 192, 208, 0.35);
  border-radius: 8px;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease,
    transform 0.28s ease;
}

.upload-dropzone.is-drag-over .upload-dropzone-body {
  border-color: rgba(136, 192, 208, 0.78);
  box-shadow: 0 0 22px rgba(136, 192, 208, 0.42);
  transform: translateY(-1px);
}

.upload-action-button {
  display: block !important;
  min-width: 0;
}

.upload-action-button:first-of-type {
  grid-area: file;
}

.upload-action-button:last-of-type {
  grid-area: folder;
}

.upload-action-button b {
  width: 100%;
}

.upload-dropzone-body em {
  grid-area: label;
}

.upload-dropzone-body small {
  grid-area: hint;
  min-width: 0;
  color: rgba(216, 222, 233, 0.58);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
}

.missing-file-picker b {
  min-height: 38px;
}

.missing-file-picker em {
  min-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-progress-panel {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(136, 192, 208, 0.2);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
  animation: uploadPanelIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.upload-progress-panel[hidden] {
  display: none;
}

.upload-transfer-box {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(145deg, rgba(46, 52, 64, 0.96), rgba(36, 41, 51, 0.98));
  border: 1px solid rgba(136, 192, 208, 0.22);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(236, 239, 244, 0.04);
}

.upload-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background:
    conic-gradient(from 0deg, #88c0d0 var(--upload-progress, 0%), rgba(76, 86, 106, 0.5) 0),
    rgba(36, 41, 51, 0.95);
  box-shadow: 0 0 18px rgba(136, 192, 208, 0.3);
}

.upload-progress-panel[data-state="upload"] .upload-orb {
  animation: uploadOrbSpin 1s linear infinite;
}

.upload-orb::before {
  content: "";
  position: absolute;
  inset: 5px;
  background: #242933;
  border-radius: inherit;
}

.upload-orb i {
  position: relative;
  width: 10px;
  height: 10px;
  background: #d8dee9;
  border-radius: 2px;
  box-shadow:
    0 -12px 0 rgba(216, 222, 233, 0.32),
    12px 0 0 rgba(216, 222, 233, 0.32),
    0 12px 0 rgba(216, 222, 233, 0.32),
    -12px 0 0 rgba(216, 222, 233, 0.32);
}

.upload-progress-panel[data-state="order"] .upload-orb i {
  width: 18px;
  height: 10px;
  background: transparent;
  border: solid #a3be8c;
  border-width: 0 0 3px 3px;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(-45deg) translate(1px, -2px);
}

.upload-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.upload-progress-top strong {
  color: #eceff4;
  font-size: 13px;
}

.upload-progress-track {
  display: block;
  height: 8px;
  overflow: hidden;
  background: rgba(46, 52, 64, 0.95);
  border: 1px solid rgba(136, 192, 208, 0.16);
  border-radius: 999px;
}

.upload-progress-track b {
  display: block;
  width: var(--upload-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, #5e81ac, #88c0d0, #a3be8c);
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(136, 192, 208, 0.48);
  transition: width 0.22s ease;
}

.upload-stage-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.upload-stage-row span {
  min-width: 0;
  padding: 6px 8px;
  color: rgba(216, 222, 233, 0.52);
  background: rgba(46, 52, 64, 0.52);
  border: 1px solid rgba(136, 192, 208, 0.12);
  border-radius: 999px;
  text-align: center;
  font-size: 11px;
  font-weight: 750;
  transition:
    color 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.upload-stage-row[data-current="upload"] span[data-stage="upload"],
.upload-stage-row[data-current="package"] span[data-stage="package"],
.upload-stage-row[data-current="order"] span[data-stage="order"] {
  color: #eceff4;
  background: rgba(94, 129, 172, 0.34);
  border-color: rgba(136, 192, 208, 0.52);
  box-shadow: 0 0 16px rgba(136, 192, 208, 0.2);
}

@keyframes uploadPanelIn {
  from {
    opacity: 0;
    filter: blur(1px);
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes transferMessageOut {
  from {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
  to {
    opacity: 0;
    filter: blur(1px);
    transform: translateY(8px);
  }
}

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

.missing-order-layout {
  display: grid;
  grid-template-columns: 252px minmax(340px, 620px);
  align-items: center;
  gap: 28px;
  margin-top: 22px;
}

.missing-order-layout .transfer-card {
  justify-self: center;
  width: 252px;
  max-width: 100%;
  flex: 0 0 252px;
}

.missing-order-side {
  display: grid;
  align-self: center;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-width: 0;
  height: 408px;
}

.missing-copy-block {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.missing-copy-block h2,
.missing-copy-block p {
  margin: 0;
}

.missing-copy-block h2 {
  color: #eceff4;
  font-size: 28px;
  font-weight: 620;
  line-height: 1.08;
}

.missing-copy-block p {
  max-width: 620px;
  color: rgba(216, 222, 233, 0.86);
  font-size: 16px;
  font-weight: 420;
  line-height: 1.42;
}

.transfer-card {
  display: grid;
  grid-template-rows: 1fr;
  position: relative;
  height: 408px;
  min-height: 408px;
  max-height: 408px;
  overflow: hidden;
  color: #242933;
  background: #eceff4;
  border: 1px solid rgba(216, 222, 233, 0.92);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  transition: border-color 0.32s ease, box-shadow 0.32s ease, transform 0.32s ease;
}

.transfer-card:hover {
  border-color: rgba(136, 192, 208, 0.52);
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.28), 0 0 22px rgba(136, 192, 208, 0.28), 0 26px 70px rgba(0, 0, 0, 0.34);
}

.transfer-card-picker {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  height: 100%;
  padding: 8px 8px 0;
  animation: transferCardSwapIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.upload-action-tile {
  display: block !important;
  min-width: 0;
}

.upload-action-tile input[type="file"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-action-tile b {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  place-items: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 74px;
  padding: 8px 4px;
  color: #242933;
  background: #d8e4f7;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color 0.32s ease,
    box-shadow 0.36s ease,
    border-color 0.32s ease,
    transform 0.32s ease;
}

.upload-action-tile b img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  pointer-events: none;
}

.upload-action-tile:first-child b {
  font-size: 12px;
}

.upload-action-tile:last-child b {
  font-size: 11.5px;
}

.upload-action-tile:hover b {
  background: #cbdaf4;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.48), 0 0 22px rgba(136, 192, 208, 0.38);
}

.transfer-summary {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  min-height: 142px;
  margin-top: 0;
  padding: 20px 12px 18px;
  border-bottom: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  overflow: visible;
}

.transfer-summary > *:not(.transfer-drop-icon) {
  position: relative;
  z-index: 2;
  opacity: 1;
}

.transfer-summary strong {
  color: #242933;
  font-size: 21px;
  font-weight: 480;
}

.transfer-summary em,
.transfer-summary small {
  min-width: 0;
  color: rgba(36, 41, 51, 0.78);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.transfer-summary small {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 390;
}

.transfer-drop-icon {
  display: block;
  position: absolute;
  left: 50%;
  top: 47%;
  z-index: 1;
  width: 242px;
  height: 242px;
  margin: 0;
  opacity: 0.1;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.missing-order-form.has-upload-items .transfer-drop-icon {
  opacity: 0.07;
}

.transfer-card > button[type="submit"] {
  align-self: end;
  justify-self: stretch;
  min-height: 40px;
  margin: 0 10px 10px;
  color: #eceff4;
  background: var(--karacan-action-bg);
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
  border: 1px solid var(--karacan-action-border);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 650;
  box-shadow: none;
}

.transfer-card > button[type="submit"]:hover {
  background-position: var(--karacan-action-position-hover);
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.28), 0 0 18px var(--karacan-action-glow);
}

.transfer-card-alert {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 60px;
  z-index: 4;
  align-self: auto;
  margin: 0;
  padding: 8px 10px;
  color: #d8dee9;
  background: rgba(191, 97, 106, 0.12);
  border: 1px solid rgba(191, 97, 106, 0.38);
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  animation: uploadPanelIn 0.24s ease both;
}

.transfer-card-alert.is-hiding {
  animation: transferMessageOut 0.65s ease both;
}

.transfer-card-alert[hidden] {
  display: none;
}

.transfer-card-alert.is-error {
  color: #ffb4bd;
}

.transfer-card-progress {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  height: 100%;
  min-height: 0;
  padding: 18px 12px 62px;
  animation: transferCardSwapIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.transfer-card-progress[hidden] {
  display: none;
}

.missing-order-form.is-uploading .transfer-card-picker,
.missing-order-form.is-uploading .transfer-card > button[type="submit"] {
  display: none;
}

.missing-order-form.is-uploading .transfer-card-alert {
  display: none;
}

.missing-order-form.is-uploading .transfer-card {
  grid-template-rows: 1fr;
}

.transfer-progress-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  color: #242933;
  background: #e4e9f2;
  border-radius: 999px;
  transition: background 0.22s ease, transform 0.32s ease;
}

.transfer-progress-ring::before {
  display: none;
}

.transfer-progress-svg {
  position: absolute;
  inset: 0;
  overflow: visible;
  animation: transferRingSheen 3.35s linear infinite;
}

.transfer-progress-base,
.transfer-progress-value {
  fill: none;
  stroke-width: 8;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.transfer-progress-base {
  stroke: rgba(76, 86, 106, 0.5);
}

.transfer-progress-value {
  stroke: #88c0d0;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 8px rgba(136, 192, 208, 0.34));
  transition: stroke-dashoffset 0.46s linear;
}

.transfer-card-progress[data-connection="slow"] .transfer-progress-value,
.transfer-card-progress[data-connection="offline"] .transfer-progress-value {
  stroke: #bf616a;
  filter: drop-shadow(0 0 8px rgba(191, 97, 106, 0.42));
}

.transfer-progress-ring strong {
  position: relative;
  z-index: 2;
  color: #1f242d;
  font-size: 58px;
  font-weight: 460;
  letter-spacing: 0;
}

.transfer-progress-ring strong::after {
  content: "%";
  margin-left: 2px;
  color: rgba(36, 41, 51, 0.52);
  font-size: 21px;
  font-weight: 600;
  vertical-align: 22px;
}

.transfer-card-progress b {
  color: #242933;
  font-size: 17px;
  font-weight: 660;
}

.transfer-connection-warning {
  display: block;
  min-height: 17px;
  color: #bf616a !important;
  text-align: center;
  font-size: 13px;
  font-weight: 520;
}

.transfer-connection-warning[hidden] {
  display: none;
}

.transfer-card-progress a,
.transfer-card-progress small {
  color: rgba(63, 99, 230, 0.86);
  text-align: center;
  font-size: 13px;
  font-weight: 460;
}

.transfer-card-progress small {
  color: rgba(36, 41, 51, 0.54);
}

.transfer-auto-note {
  margin: 8px 0 0;
  color: rgba(36, 41, 51, 0.62);
  text-align: center;
  font-size: 12px;
  font-weight: 430;
  line-height: 1.35;
}

.transfer-card-progress > button {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  align-self: auto;
  width: auto;
  min-height: 40px;
  margin-top: 0;
  color: #bf616a;
  background: #ffffff;
  border: 1px solid rgba(191, 97, 106, 0.64);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 620;
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1), transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.36s ease, box-shadow 0.36s ease, background-color 0.36s ease, color 0.36s ease;
}

.missing-order-form.is-confirming-cancel .transfer-card-progress > button[data-upload-cancel] {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.transfer-card-progress > button:hover {
  box-shadow: 0 0 0 1px rgba(191, 97, 106, 0.28), 0 0 16px rgba(191, 97, 106, 0.3);
}

.transfer-cancel-confirm {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: grid;
  gap: 8px;
  width: auto;
  margin-top: 0;
  padding: 8px;
  background: rgba(46, 52, 64, 0.86);
  border: 1px solid rgba(136, 192, 208, 0.2);
  border-radius: 8px;
  text-align: center;
  animation: transferCancelIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.transfer-cancel-confirm[hidden] {
  display: none;
}

.transfer-cancel-confirm.is-hiding {
  animation: transferCancelOut 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.transfer-cancel-confirm span {
  color: #ffb4bd;
  font-size: 13px;
  font-weight: 480;
}

.transfer-cancel-confirm div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.transfer-cancel-confirm button {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 0 10px;
  color: #ffb4bd;
  background: rgba(46, 52, 64, 0.72);
  font-size: 12px;
  border-color: rgba(136, 192, 208, 0.32);
}

.transfer-cancel-confirm button[data-upload-cancel-yes] {
  color: #ffb4bd;
  border-color: rgba(191, 97, 106, 0.42);
}

.transfer-cancel-confirm button[data-upload-cancel-yes]:hover {
  background: rgba(59, 66, 82, 0.92);
  box-shadow: 0 0 0 1px rgba(191, 97, 106, 0.28), 0 0 16px rgba(191, 97, 106, 0.3);
}

.transfer-cancel-confirm button[data-upload-cancel-no] {
  color: #88c0d0;
  border-color: rgba(136, 192, 208, 0.44);
}

.transfer-cancel-confirm button[data-upload-cancel-no]:hover {
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.24), 0 0 14px rgba(136, 192, 208, 0.24);
}

.upload-dropzone.is-drag-over.transfer-card {
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.5), 0 0 26px rgba(136, 192, 208, 0.34);
}

.missing-order-layout .missing-note-field {
  display: grid;
  align-content: stretch;
  grid-template-rows: auto 1fr;
  gap: 9px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 520;
}

.missing-order-layout .missing-note-field textarea {
  min-height: 0;
  max-height: none;
  height: 100%;
  color: var(--muted);
  background: rgba(76, 86, 106, 0.72);
  border: 1px solid rgba(136, 192, 208, 0.18);
  border-radius: 6px;
  padding: 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  resize: none;
}

.tual-builder-panel {
  --tual-grid-gap: clamp(9px, 0.6vw, 14px);
  --tual-card-width: var(--customer-tual-card-width, clamp(182px, calc((100% - (var(--tual-grid-gap) * 4)) / 5), 186px));
  --tual-card-min-height: clamp(218px, calc(var(--tual-card-width) * 1.24), 278px);
  --tual-action-height: clamp(31px, calc(var(--tual-card-width) * 0.178), 39px);
  --tual-action-font-size: clamp(12.5px, calc(var(--tual-card-width) * 0.071), 14.5px);
  --tual-action-inset: clamp(16px, calc(var(--tual-card-width) * 0.11), 26px);
  --tual-scroll-height: calc((var(--tual-card-min-height) * 3) + (var(--tual-grid-gap) * 2) + 44px);
  align-self: stretch;
}

.tual-panel-head {
  align-items: center;
  margin-bottom: 18px;
}

.tual-panel-head h2 {
  color: #eceff4;
  font-size: clamp(25px, 1.6vw, 32px);
  font-weight: 460;
  line-height: 1.08;
}

.tual-panel-head p {
  max-width: none;
  color: rgba(216, 222, 233, 0.78);
  font-size: clamp(14px, 0.9vw, 17px);
  font-weight: 400;
  white-space: nowrap;
}

.tual-panel-head .status-pill {
  min-width: 112px;
  color: #d8dee9;
  background: rgba(94, 129, 172, 0.26);
  border: 1px solid rgba(136, 192, 208, 0.24);
  font-size: 15px;
  font-weight: 620;
}

.tual-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.tual-choice-area,
.tual-summary-card {
  min-width: 0;
  border: 1px solid rgba(136, 192, 208, 0.14);
  border-radius: 8px;
  background: rgba(36, 41, 51, 0.48);
  box-shadow: inset 0 1px 0 rgba(236, 239, 244, 0.03);
}

.tual-choice-area {
  max-height: var(--tual-scroll-height);
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(12px, 0.85vw, 18px);
  scrollbar-width: thin;
  scrollbar-color: rgba(136, 192, 208, 0.48) rgba(36, 41, 51, 0.42);
}

.tual-choice-area::-webkit-scrollbar {
  width: 8px;
}

.tual-choice-area::-webkit-scrollbar-track {
  background: rgba(36, 41, 51, 0.42);
  border-radius: 999px;
}

.tual-choice-area::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg, rgba(136, 192, 208, 0.62), rgba(94, 129, 172, 0.56));
  border: 2px solid rgba(36, 41, 51, 0.72);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(136, 192, 208, 0.16);
}

.tual-choice-area::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(143, 188, 187, 0.76), rgba(136, 192, 208, 0.68));
  box-shadow: 0 0 16px rgba(136, 192, 208, 0.24);
}

.tual-size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, var(--tual-card-width));
  justify-content: start;
  align-items: start;
  gap: var(--tual-grid-gap);
}

.tual-size-card {
  display: grid;
  grid-template-rows: auto auto var(--tual-action-height);
  gap: 7px;
  width: var(--tual-card-width);
  min-width: var(--tual-card-width);
  min-height: var(--tual-card-min-height);
  padding: 4px;
  color: #d8dee9;
  background: rgba(46, 52, 64, 0.66);
  border: 1px solid rgba(136, 192, 208, 0.14);
  border-radius: 8px;
  will-change: transform;
  transition:
    border-color 0.34s ease,
    box-shadow 0.34s ease,
    background-color 0.34s ease,
    transform 0.34s ease;
}

.tual-size-card:hover,
.tual-size-card.is-selected {
  background: rgba(59, 66, 82, 0.82);
  border-color: rgba(136, 192, 208, 0.36);
  box-shadow:
    0 0 0 1px rgba(136, 192, 208, 0.2),
    0 0 18px rgba(136, 192, 208, 0.22);
}

.tual-size-card:hover {
  transform: translateY(-1px);
}

.tual-card-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-width: 0;
  overflow: hidden;
  color: rgba(216, 222, 233, 0.58);
  background:
    radial-gradient(circle at 50% 40%, rgba(94, 129, 172, 0.14), transparent 58%),
    rgba(15, 23, 42, 0.44);
  border: 1px solid rgba(136, 192, 208, 0.11);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 560;
  cursor: zoom-in;
}

.tual-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tual-card-size-badge {
  position: absolute;
  left: 50%;
  bottom: 6px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: max-content;
  max-width: calc(100% - 12px);
  min-height: clamp(28px, 1.75vw, 34px);
  padding: 0 clamp(12px, 0.82vw, 18px);
  overflow: hidden;
  color: #eceff4;
  background: rgba(36, 41, 51, 0.56);
  border: 1px solid rgba(136, 192, 208, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(15px, 0.95vw, 19px);
  font-weight: 560;
  line-height: 1;
  pointer-events: none;
  transform: translateX(-50%);
}

.tual-card-copy {
  display: grid;
  place-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 27px;
}

.tual-card-copy h3,
.tual-manual-head h3 {
  margin: 0;
  overflow: hidden;
  color: #e5e9f0;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 560;
}

.tual-card-copy strong {
  color: rgba(229, 233, 240, 0.86);
  text-align: center;
  font-size: clamp(16px, 1.02vw, 20px);
  font-weight: 500;
}

.tual-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.tual-preview-overlay.is-visible {
  opacity: 1;
}

.tual-preview-stage {
  position: fixed;
  overflow: hidden;
  color: #eceff4;
  background:
    radial-gradient(circle at 50% 38%, rgba(136, 192, 208, 0.11), transparent 62%),
    rgba(36, 41, 51, 0.96);
  border: 1px solid rgba(136, 192, 208, 0.28);
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(136, 192, 208, 0.16),
    0 0 34px rgba(136, 192, 208, 0.2),
    0 34px 110px rgba(0, 0, 0, 0.46);
  cursor: zoom-out;
}

.tual-preview-stage img,
.tual-preview-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tual-preview-placeholder {
  display: grid;
  place-items: center;
  color: rgba(216, 222, 233, 0.68);
  background: rgba(15, 23, 42, 0.45);
  font-size: 18px;
  font-weight: 560;
}

.tual-preview-label {
  position: absolute;
  left: 18px;
  top: 18px;
  min-height: 34px;
  padding: 8px 16px;
  color: #eceff4;
  background: rgba(36, 41, 51, 0.78);
  border: 1px solid rgba(136, 192, 208, 0.24);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  font-size: 16px;
  font-weight: 560;
  line-height: 1;
}

.tual-qty-control {
  display: grid;
  grid-template-columns: 28px minmax(28px, 1fr) 28px;
  align-items: center;
  width: 100%;
  min-height: 28px;
  overflow: hidden;
  background: rgba(36, 41, 51, 0.72);
  border: 1px solid rgba(136, 192, 208, 0.16);
  border-radius: 10px;
}

.tual-qty-control button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  line-height: 1;
  color: #eceff4;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 520;
}

.tual-qty-control button:hover {
  color: #eceff4;
  background: rgba(94, 129, 172, 0.3);
  box-shadow: 0 0 14px rgba(136, 192, 208, 0.22);
}

.tual-qty-control span {
  color: #eceff4;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}

.tual-add-button {
  justify-self: center;
  width: calc(100% - (var(--tual-action-inset) * 2));
  height: var(--tual-action-height);
  min-height: 0;
  padding: 0 10px;
  color: #eceff4;
  background: var(--karacan-action-bg);
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
  border: 1px solid var(--karacan-action-border);
  border-radius: 10px;
  font-size: var(--tual-action-font-size);
  font-weight: 520;
  transition: background-position 0.72s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.44s ease, box-shadow 0.44s ease, background-color 0.44s ease, transform 0.44s ease;
}

.tual-add-button:hover {
  border-color: rgba(136, 192, 208, 0.46);
  background-position: var(--karacan-action-position-hover);
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.18), 0 0 18px var(--karacan-action-glow);
  transform: translateY(-1px);
}

.tual-manual-card {
  position: relative;
  grid-template-rows: auto auto var(--tual-action-height);
}

.tual-manual-input-panel {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: clamp(7px, 0.55vw, 11px);
  aspect-ratio: 4 / 3;
  min-width: 0;
  overflow: hidden;
  padding: clamp(10px, 0.8vw, 16px);
  color: rgba(216, 222, 233, 0.72);
  background:
    radial-gradient(circle at 50% 40%, rgba(94, 129, 172, 0.14), transparent 58%),
    rgba(15, 23, 42, 0.44);
  border: 1px solid rgba(136, 192, 208, 0.11);
  border-radius: 7px;
}

.tual-manual-head {
  display: grid;
  place-items: center;
  text-align: center;
}

.tual-manual-head h3 {
  font-size: clamp(16px, 1.02vw, 20px);
  font-weight: 500;
}

.tual-manual-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(6px, 0.5vw, 10px);
}

.tual-manual-fields label {
  display: grid;
  gap: 5px;
  color: rgba(216, 222, 233, 0.68);
  font-size: clamp(15px, 0.95vw, 19px);
  font-weight: 520;
  text-align: center;
}

.tual-manual-fields input {
  width: 100%;
  min-width: 0;
  height: clamp(28px, 1.7vw, 34px);
  padding: 0 8px;
  color: #d8dee9;
  background: rgba(36, 41, 51, 0.72);
  border: 1px solid rgba(136, 192, 208, 0.18);
  border-radius: 7px;
  font-size: clamp(12px, 0.75vw, 14px);
  outline: none;
  transition: border-color 0.34s ease, box-shadow 0.34s ease, background-color 0.34s ease;
}

.tual-manual-fields input:focus {
  background: rgba(46, 52, 64, 0.84);
  border-color: rgba(136, 192, 208, 0.42);
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.16), 0 0 18px rgba(136, 192, 208, 0.22);
}

.tual-manual-fields input::-webkit-outer-spin-button,
.tual-manual-fields input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.tual-manual-price {
  min-height: 27px;
}

.tual-manual-price strong {
  color: #e5e9f0;
  font-size: clamp(16px, 1.02vw, 20px);
  font-weight: 500;
}

.tual-manual-area {
  display: grid;
  place-items: center;
  min-height: 18px;
  color: rgba(216, 222, 233, 0.68);
  text-align: center;
  font-size: clamp(14px, 0.88vw, 17px);
  font-weight: 500;
  line-height: 1;
}

.tual-manual-alert {
  position: absolute;
  inset: 4px;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 14px;
  color: #ffe4e6;
  background:
    radial-gradient(circle at 50% 38%, rgba(191, 97, 106, 0.18), transparent 62%),
    rgba(46, 25, 34, 0.96);
  border: 1px solid rgba(191, 97, 106, 0.54);
  border-radius: 7px;
  box-shadow:
    0 0 0 1px rgba(191, 97, 106, 0.18),
    0 0 22px rgba(191, 97, 106, 0.26);
  text-align: center;
  font-size: clamp(13px, 0.82vw, 16px);
  font-weight: 460;
  line-height: 1.35;
  opacity: 1;
  transition: opacity 0.34s ease, filter 0.34s ease, transform 0.34s ease;
}

.tual-manual-alert[hidden] {
  display: none;
}

.tual-manual-alert.is-hiding {
  opacity: 0;
  filter: blur(1px);
  transform: translateY(4px);
}

.tual-summary-card {
  display: grid;
  grid-template-rows: auto minmax(120px, 1fr) auto auto auto;
  gap: clamp(12px, 0.85vw, 18px);
  padding: clamp(14px, 0.95vw, 20px);
}

.tual-rail-summary-card {
  position: absolute;
  inset: 0;
  z-index: 8;
  align-self: auto;
  min-height: clamp(420px, 29vw, 560px);
  max-height: none;
  overflow: hidden;
  opacity: 0;
  filter: blur(1px);
  pointer-events: none;
  transform: scale(0.92);
  transition:
    opacity 0.38s ease 0.1s,
    filter 0.38s ease 0.1s,
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.order-scene.is-tual-cart-active .tual-rail-summary-card {
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.tual-summary-card > div:first-child {
  display: grid;
  gap: 5px;
  place-items: center;
  text-align: center;
}

.tual-summary-card > div:first-child span,
.tual-summary-total span {
  color: rgba(216, 222, 233, 0.62);
  font-size: clamp(18px, 1.08vw, 22px);
  font-weight: 500;
}

.tual-summary-card > div:first-child strong {
  color: #eceff4;
  font-size: clamp(18px, 1.08vw, 22px);
  font-weight: 500;
}

.tual-summary-card ul {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tual-summary-card li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: clamp(8px, 0.55vw, 11px) clamp(10px, 0.65vw, 13px);
  color: rgba(216, 222, 233, 0.74);
  background: rgba(15, 23, 42, 0.32);
  border: 1px solid rgba(136, 192, 208, 0.1);
  border-radius: 7px;
  font-size: clamp(13px, 0.78vw, 15px);
  transform-origin: center center;
}

.tual-summary-card li.is-entering {
  animation: tualSummaryItemEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tual-summary-card li.is-leaving {
  animation: tualSummaryItemLeave 0.32s ease both;
  pointer-events: none;
}

@keyframes tualSummaryItemEnter {
  from {
    opacity: 0;
    filter: blur(1px);
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes tualSummaryItemLeave {
  from {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
  to {
    opacity: 0;
    filter: blur(1px);
    transform: scale(1.04);
  }
}

.tual-summary-card li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tual-summary-card li strong {
  flex: 0 0 auto;
  color: #e5e9f0;
  font-size: 12px;
}

.tual-summary-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tual-summary-actions button {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  color: rgba(236, 239, 244, 0.9);
  background: rgba(46, 52, 64, 0.72);
  border: 1px solid rgba(136, 192, 208, 0.16);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 560;
  line-height: 1;
}

.tual-summary-actions button:hover {
  border-color: rgba(136, 192, 208, 0.38);
  box-shadow: 0 0 12px rgba(136, 192, 208, 0.18);
}

.tual-add-ghost {
  position: fixed;
  z-index: 12000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #eceff4;
  background: rgba(59, 66, 82, 0.92);
  border: 1px solid rgba(136, 192, 208, 0.46);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.22), 0 0 28px rgba(136, 192, 208, 0.26), 0 22px 60px rgba(0, 0, 0, 0.32);
  font-size: 13px;
  font-weight: 560;
  pointer-events: none;
  transform-origin: center center;
  transition: transform 0.62s cubic-bezier(0.22, 0.9, 0.24, 1), opacity 0.62s ease;
}

.tual-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(136, 192, 208, 0.14);
}

.tual-summary-discount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: -6px;
  color: rgba(163, 190, 140, 0.92);
}

.tual-summary-discount span,
.tual-summary-discount strong {
  color: rgba(163, 190, 140, 0.92);
  font-size: 12px;
  font-weight: 560;
}

.tual-summary-total strong {
  color: #eceff4;
  font-size: clamp(22px, 1.35vw, 28px);
  font-weight: 500;
}

.tual-upload-next {
  min-height: clamp(42px, 2.5vw, 50px);
  color: #eceff4;
  background: var(--karacan-action-bg);
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
  border: 1px solid var(--karacan-action-border);
  border-radius: 8px;
  font-size: clamp(14px, 0.85vw, 16px);
  font-weight: 560;
  transition: opacity 0.28s ease, background-position 0.72s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.44s ease, border-color 0.44s ease, transform 0.44s ease;
}

.tual-upload-next:not(:disabled):hover {
  border-color: rgba(136, 192, 208, 0.46);
  background-position: var(--karacan-action-position-hover);
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.2), 0 0 18px var(--karacan-action-glow);
  transform: translateY(-1px);
}

.tual-upload-next:disabled {
  cursor: default;
  opacity: 0.48;
}

.tual-summary-card small {
  color: rgba(216, 222, 233, 0.54);
  font-size: 14px;
  line-height: 1.35;
  transition: color 0.34s ease, filter 0.34s ease;
}

.tual-summary-card small.is-emphasized {
  color: #88c0d0;
  filter: drop-shadow(0 0 8px rgba(136, 192, 208, 0.28));
}

.tual-empty-card {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 18px;
  color: rgba(216, 222, 233, 0.72);
  background: rgba(46, 52, 64, 0.5);
  border: 1px dashed rgba(136, 192, 208, 0.22);
  border-radius: 8px;
  text-align: center;
}

.choice-card,
.option-card {
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.choice-card input,
.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

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

.size-grid,
.content-grid,
.box-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 16px;
  color: #cbd5e1;
  background: var(--slate-800);
  border: 2px solid transparent;
  border-radius: 8px;
}

.option-card:hover,
.option-card.active {
  color: #fff;
  background: #1d4ed8;
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.option-card strong,
.option-card b {
  font-size: 18px;
}

.option-card small,
.option-card em {
  color: #cbd5e1;
  font-size: 13px;
  font-style: normal;
}

.option-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.compact-option {
  min-height: 92px;
}

.stepper-row,
.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stepper-row {
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 16px;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
}

.stepper-row span {
  margin-right: auto;
  font-weight: 800;
}

.stepper-row small {
  color: var(--muted);
}

.stepper-row button,
.quantity-control button {
  width: 42px;
  min-height: 42px;
  padding: 0;
  font-size: 22px;
}

.stepper-row input,
.quantity-control input {
  width: 78px;
  height: 42px;
  color: #fff;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

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

.extras-grid label {
  display: grid;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 800;
}

.extras-grid select {
  min-height: 48px;
  color: #fff;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 0 12px;
  font-size: 15px;
}

.total-bar {
  position: sticky;
  bottom: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  margin: 0 32px 24px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.25);
}

.total-bar span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.total-bar strong {
  display: block;
  margin-top: 2px;
  font-size: 30px;
}

.total-bar > button {
  min-width: 148px;
}

.order-feedback {
  margin: 0 32px 32px;
  padding: 14px 16px;
  color: #dcfce7;
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid #16a34a;
  border-radius: 8px;
  font-weight: 900;
}

.order-feedback.error {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.28);
  border-color: #991b1b;
}

.dark-table {
  display: grid;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--slate-700);
  border-radius: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.8fr;
  gap: 12px;
  padding: 14px 16px;
  color: #cbd5e1;
  border-bottom: 1px solid var(--slate-700);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  color: var(--muted);
  background: var(--slate-800);
  font-size: 13px;
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 32px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 32px;
}

.summary-grid .metric-card {
  margin: 0;
}

.metric-card small {
  color: #cbd5e1;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 32px;
}

.admin-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 142px;
  padding: 24px;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.admin-metric.blue {
  background: linear-gradient(to bottom right, var(--blue), var(--blue-dark));
}

.admin-metric.yellow {
  background: linear-gradient(to bottom right, #eab308, var(--yellow));
  cursor: pointer;
}

.admin-metric.purple {
  background: linear-gradient(to bottom right, var(--purple), #5b21b6);
}

.admin-metric.green {
  background: linear-gradient(to bottom right, var(--green), #166534);
}

.admin-metric span,
.admin-metric small {
  color: rgba(255, 255, 255, 0.78);
}

.admin-metric strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 34px;
  line-height: 1;
}

.admin-metric b {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 24px;
}

.admin-split {
  margin-top: 0;
}

.labelled-chart {
  align-items: stretch;
  height: 210px;
}

.labelled-chart div {
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.labelled-chart div span {
  width: 100%;
}

.labelled-chart small,
.labelled-chart b {
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.progress-list,
.stack-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.progress-list > div {
  display: grid;
  grid-template-columns: 112px 1fr 48px;
  align-items: center;
  gap: 12px;
}

.progress-list span,
.progress-list strong {
  color: #cbd5e1;
}

.progress-list i {
  height: 14px;
  overflow: hidden;
  background: var(--slate-700);
  border-radius: 999px;
}

.progress-list i b {
  display: block;
  height: 100%;
  background: linear-gradient(to right, var(--blue), var(--purple));
}

.quick-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 32px 24px;
}

.quick-admin-grid button {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  background: var(--slate-900);
  text-align: left;
}

.quick-admin-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.stack-list > div {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
}

.stack-list strong {
  color: #fff;
}

.stack-list span {
  color: var(--muted);
}

.admin-customer-row {
  grid-template-columns: 1.4fr 1fr 0.8fr 0.7fr 1fr;
}

.customer-table-row {
  grid-template-columns: 1.2fr 1fr 1.4fr 0.9fr 1fr 0.7fr;
}

.order-admin-row {
  grid-template-columns: 36px 72px minmax(150px, 1.2fr) minmax(110px, 0.9fr) 138px 88px minmax(130px, 1fr) 74px;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 10px;
}

.order-search-card {
  margin-bottom: 12px;
  padding: 6px 14px;
}

.orders-card {
  padding-top: 12px;
}

.admin-filter-form.order-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) minmax(130px, 0.95fr) minmax(110px, 0.78fr) minmax(120px, 0.82fr) minmax(120px, 0.82fr);
  align-items: end;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.order-filter-form label:first-child {
  grid-column: auto;
}

.order-filter-form label {
  gap: 3px;
  font-size: 12px;
  line-height: 1;
}

.admin-filter-form.order-filter-form input,
.admin-filter-form.order-filter-form select {
  min-height: 0;
  height: 28px;
  border-radius: 6px;
  font-size: 12px;
  padding: 0 10px;
}

.order-bulk-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 14px;
}

.order-bulk-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.46);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.order-bulk-card button {
  min-height: 30px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(to right, var(--blue-dark), var(--slate-950));
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.order-bulk-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.32), 0 0 14px rgba(96, 165, 250, 0.32);
}

.order-admin-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-select-toggle {
  display: inline-flex !important;
  justify-content: center;
  gap: 0;
  min-height: 24px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.order-select-toggle > span {
  flex-basis: 30px;
  width: 30px;
  height: 16px;
}

.order-select-toggle > span::after {
  left: 3px;
  width: 8px;
  height: 8px;
}

.order-select-toggle input:checked + span::after {
  transform: translateX(14px);
}

.order-file-cell {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.order-file-cell small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-pill {
  display: inline-grid;
  place-items: center;
  width: max-content;
  min-height: 24px;
  padding: 0 8px;
  color: #fff;
  text-decoration: none;
  background: rgba(37, 99, 235, 0.84);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  transition: background-color 0.22s ease, box-shadow 0.22s ease;
}

.download-pill:hover {
  background: rgba(29, 78, 216, 0.96);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.36), 0 0 12px rgba(96, 165, 250, 0.36);
}

.admin-users-row {
  grid-template-columns: 1fr 1.35fr 0.82fr 0.7fr 1fr 1fr 1.55fr;
}

.status-pill {
  display: inline-grid;
  place-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
}

.order-admin-row .status-pill {
  min-height: 23px;
  padding: 0 8px;
  font-size: 11px;
  line-height: 1;
}

.order-status-select {
  height: 26px !important;
  padding: 0 8px !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 900;
}

.order-status-select option {
  color: #cbd5e1;
  background: var(--slate-900);
}

.order-status-select.status-draft,
.status-pill.status-draft {
  color: #dbeafe !important;
  background: rgba(71, 85, 105, 0.78) !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
}

.order-status-select.status-pending,
.status-pill.status-pending,
.payment-pending {
  color: #fef3c7 !important;
  background: rgba(161, 98, 7, 0.42) !important;
  border-color: rgba(234, 179, 8, 0.28) !important;
}

.order-status-select.status-pending_payment,
.status-pill.status-pending_payment,
.payment-unpaid {
  color: #fed7aa !important;
  background: rgba(194, 65, 12, 0.34) !important;
  border-color: rgba(251, 146, 60, 0.28) !important;
}

.order-status-select.status-paid,
.status-pill.status-paid,
.payment-completed {
  color: #dcfce7 !important;
  background: rgba(22, 101, 52, 0.44) !important;
  border-color: rgba(74, 222, 128, 0.24) !important;
}

.order-status-select.status-processing,
.status-pill.status-processing {
  color: #e9d5ff !important;
  background: rgba(107, 33, 168, 0.38) !important;
  border-color: rgba(192, 132, 252, 0.24) !important;
}

.order-status-select.status-printing,
.status-pill.status-printing {
  color: #dbeafe !important;
  background: rgba(30, 64, 175, 0.42) !important;
  border-color: rgba(96, 165, 250, 0.26) !important;
}

.order-status-select.status-shipping,
.status-pill.status-shipping {
  color: #cffafe !important;
  background: rgba(14, 116, 144, 0.38) !important;
  border-color: rgba(34, 211, 238, 0.24) !important;
}

.order-status-select.status-completed,
.status-pill.status-completed {
  color: #bbf7d0 !important;
  background: rgba(21, 128, 61, 0.46) !important;
  border-color: rgba(74, 222, 128, 0.26) !important;
}

.order-status-select.status-cancelled,
.status-pill.status-cancelled,
.payment-failed {
  color: #fecaca !important;
  background: rgba(153, 27, 27, 0.44) !important;
  border-color: rgba(248, 113, 113, 0.26) !important;
}

.status-pill.ok {
  color: #dcfce7;
  background: #166534;
}

.status-pill.wait {
  color: #fef3c7;
  background: #a16207;
}

.role-pill.super {
  color: #f5d0fe;
  background: #6b21a8;
}

.role-pill.standard {
  color: #dbeafe;
  background: #1d4ed8;
}

.mini-pill {
  display: inline-grid;
  place-items: center;
  min-height: 22px;
  margin-left: 6px;
  padding: 0 8px;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.42);
  border: 1px solid rgba(147, 197, 253, 0.36);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.empty-state {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 32px 0;
}

.customer-toolbar {
  padding: 18px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.18);
}

.admin-search-form,
.admin-filter-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-search-form {
  flex: 1;
}

.admin-search-form label,
.admin-filter-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.admin-search-form label {
  display: block;
  align-self: center;
  color: #cbd5e1;
  font-size: 22px;
  line-height: 42px;
}

.customer-toolbar .admin-search-form {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  align-items: center;
}

.admin-search-form input,
.admin-filter-form input,
.admin-filter-form select {
  min-height: 42px;
  color: #fff;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  padding: 0 12px;
  outline: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.admin-search-form input {
  flex: 1;
  min-width: 240px;
}

.admin-search-form input:focus,
.admin-filter-form input:focus,
.admin-filter-form select:focus {
  background: #26364d;
  border-color: rgba(96, 165, 250, 0.84);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45), 0 0 20px rgba(96, 165, 250, 0.45);
}

.admin-search-form button,
.admin-filter-form button,
.center-filters button,
.pagination-row button,
.row-actions button {
  min-height: 42px;
  padding: 0 13px;
  font-size: 14px;
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.admin-search-form button:hover,
.admin-filter-form button:hover,
.center-filters button:hover,
.pagination-row button:hover,
.row-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.toolbar-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolbar-stats span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 128px;
  height: 42px;
  padding: 0 14px;
  color: #cbd5e1;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
}

.toolbar-stats b {
  color: #fff;
  font-size: 20px;
}

.center-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.center-filters button {
  color: #cbd5e1;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
}

.center-filters button.active {
  color: #fff;
  background: var(--blue);
  border-color: #60a5fa;
}

.result-info {
  text-align: center;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.row-actions button[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}

.row-actions button {
  min-height: 30px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 12px;
}

.dark-table .table-row:not(.table-head) {
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.dark-table .table-row:not(.table-head):hover {
  background: rgba(30, 41, 59, 0.86);
  border-color: rgba(96, 165, 250, 0.18);
  box-shadow: inset 3px 0 0 rgba(96, 165, 250, 0.58);
  transform: translateX(2px);
}

.customer-management-card .center-filters {
  margin-top: 2px;
}

.customer-management-card {
  min-height: 360px;
}

.customer-management-card .dark-table {
  overflow: hidden;
}

.customer-table-row {
  grid-template-columns: minmax(160px, 1.15fr) minmax(124px, 0.95fr) minmax(190px, 1.25fr) minmax(112px, 0.78fr) minmax(132px, 0.9fr) 78px 150px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
}

.customer-table-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-row-actions {
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.customer-row-actions button {
  min-height: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.customer-table-row .status-pill {
  min-height: 24px;
  padding: 0 8px;
  font-size: 11px;
}

.customer-management-card .status-pill {
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.customer-management-card .table-row:hover .status-pill {
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.18);
  transform: translateY(-1px);
}

.danger-button {
  background: linear-gradient(to right, #dc2626, #991b1b) !important;
}

.secondary-button {
  color: #cbd5e1 !important;
  background: var(--slate-700) !important;
  border: 1px solid var(--slate-600) !important;
}

.admin-users-wrap {
  display: grid;
}

.admin-form-card {
  overflow: visible;
}

.admin-user-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
  margin-top: 18px;
}

.admin-user-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-user-form input,
.admin-user-form select {
  width: 100%;
  min-width: 0;
  height: 42px;
  color: #fff;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  padding: 0 12px;
  outline: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.admin-user-form input:focus,
.admin-user-form select:focus {
  background: #26364d;
  border-color: rgba(96, 165, 250, 0.84);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45), 0 0 20px rgba(96, 165, 250, 0.45);
}

.admin-user-form > button,
.admin-user-form .form-actions button {
  min-height: 42px;
  padding: 0 16px;
}

.edit-admin-panel {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.24s ease, max-height 0.28s ease;
}

.edit-admin-panel[hidden] {
  display: none;
}

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

.pagination-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
}

.admin-filter-form {
  margin: 18px 0;
  padding: 16px;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.options-grid article {
  min-width: 0;
}

.options-grid h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}

.placeholder-grid,
.profile-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.placeholder-card,
.profile-preview label {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
}

.placeholder-card p {
  margin: 0;
}

.profile-preview span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.profile-preview input {
  height: 42px;
  color: #fff;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 0 12px;
}

.error-box {
  color: #fecaca;
  border-color: #7f1d1d;
}

.metric-card {
  display: grid;
  gap: 10px;
  margin: 0;
  color: #fff;
}

.metric-card span {
  color: var(--muted);
}

.metric-card strong {
  font-size: 28px;
}

.metric-card:nth-child(1) {
  background: linear-gradient(to bottom right, var(--blue), var(--blue-dark));
}

.metric-card:nth-child(2) {
  background: linear-gradient(to bottom right, #eab308, var(--yellow));
}

.metric-card:nth-child(3) {
  background: linear-gradient(to bottom right, var(--purple), #5b21b6);
}

.metric-card:nth-child(4) {
  background: linear-gradient(to bottom right, var(--green), #166534);
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 32px 32px;
}

.split-layout .module-card {
  margin: 0;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 180px;
  margin-top: 20px;
}

.mini-chart span {
  flex: 1;
  min-height: 12px;
  background: linear-gradient(to top, var(--blue), #a855f7);
  border-radius: 6px 6px 0 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.quick-grid button {
  min-height: 76px;
  background: var(--slate-800);
  text-align: left;
  padding: 14px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
  margin: 24px 32px 32px;
}

.customer-summary-card,
.detail-card,
.options-form-grid form {
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
}

.customer-summary-card {
  align-self: start;
  display: grid;
  justify-items: stretch;
  gap: 13px;
  padding: 18px;
}

.customer-card-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.avatar-circle {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: #fff;
  background: linear-gradient(to bottom right, var(--blue), var(--purple));
  border-radius: 50%;
  font-size: 26px;
  font-weight: 900;
}

.customer-summary-card h2,
.detail-card h3,
.options-form-grid h3 {
  margin: 0;
  color: #fff;
}

.customer-summary-card p,
.detail-card p {
  margin: 0;
  color: var(--muted);
}

.customer-card-dates div {
  display: grid;
  gap: 3px;
}

.customer-summary-card dt,
.customer-card-dates dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.customer-summary-card dd,
.customer-card-dates dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.customer-status-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.customer-status-actions .status-pill,
.customer-status-actions .action-pill {
  min-height: 24px;
  border: 0;
  line-height: 1;
}

.action-pill {
  cursor: pointer;
}

.delete-pill {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(248, 113, 113, 0.26);
}

.customer-stats-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.customer-stats-inline div {
  display: grid;
  gap: 4px;
  text-align: center;
}

.customer-card-dates {
  display: grid;
  gap: 10px;
  text-align: center;
}

.customer-card-info {
  display: grid;
  gap: 7px;
  padding-top: 2px;
  color: #cbd5e1;
  text-align: left;
  font-weight: 700;
  line-height: 1.35;
}

.customer-card-info span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.detail-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.order-detail-page {
  display: grid;
  gap: 16px;
  margin: 24px 32px 32px;
}

.order-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
}

.order-detail-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.order-detail-header h2 {
  margin: 4px 0;
}

.order-detail-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.order-detail-header-actions button,
.button-like {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #fff;
  text-decoration: none;
  background: var(--blue);
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.button-like.success-button {
  background: var(--green);
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}

.order-side-card {
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
}

.order-status-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.order-side-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.order-side-card dl div,
.order-info-list div {
  display: grid;
  gap: 4px;
}

.order-side-card dt,
.order-info-list span,
.order-detail-form span,
.order-note-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.order-side-card dd,
.order-info-list strong {
  margin: 0;
  color: #cbd5e1;
  font-weight: 850;
}

.order-detail-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.order-detail-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 10px;
}

.order-detail-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.order-detail-form input,
.order-detail-form select,
.order-detail-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 30px;
  color: #fff;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 0 10px;
  outline: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.order-detail-form textarea {
  min-height: 64px;
  padding-top: 8px;
  resize: vertical;
}

.order-detail-form input:focus,
.order-detail-form select:focus,
.order-detail-form textarea:focus {
  background: #26364d;
  border-color: rgba(96, 165, 250, 0.84);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45), 0 0 20px rgba(96, 165, 250, 0.45);
}

.order-detail-form .wide-field {
  grid-column: span 2;
}

.order-detail-form button {
  min-height: 30px;
  padding: 0 13px;
  border-radius: 6px;
}

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

.order-info-list.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.order-info-list .wide {
  grid-column: 1 / -1;
}

.order-item-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
}

.order-item-card + .order-item-card {
  margin-top: 10px;
}

.order-item-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #cbd5e1;
  font-weight: 900;
}

.order-file-manifest {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.order-file-manifest span,
.payment-completed,
.status-completed {
  color: #dcfce7;
  background: rgba(22, 163, 74, 0.22);
}

.order-file-manifest span {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.order-note-box {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
}

.status-pending,
.payment-pending,
.payment-unpaid {
  color: #fef3c7;
  background: rgba(161, 98, 7, 0.26);
}

.status-processing,
.status-printing,
.status-shipping,
.status-paid {
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.22);
}

.status-cancelled,
.payment-failed,
.payment-refunded {
  color: #fecaca;
  background: rgba(185, 28, 28, 0.26);
}

.detail-card {
  padding: 18px;
}

.orders-full-card {
  min-height: 100%;
}

.customer-card-edit-form,
.customer-card-password-form {
  display: grid;
  gap: 9px;
}

.customer-card-edit-form {
  padding-top: 2px;
}

.customer-card-edit-form label,
.customer-card-password-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.customer-card-edit-form input,
.customer-card-edit-form textarea,
.customer-card-password-form input {
  width: 100%;
  min-width: 0;
  height: 30px;
  color: #fff;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 0 10px;
  outline: 0;
  text-align: left;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.customer-card-edit-form textarea {
  min-height: 54px;
  height: auto;
  padding-top: 7px;
  padding-right: 28px;
  overflow: hidden;
  scrollbar-width: none;
  resize: vertical;
}

.customer-card-edit-form textarea::-webkit-scrollbar {
  display: none;
}

.customer-card-edit-form input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.customer-card-edit-form input[type="number"]::-webkit-inner-spin-button,
.customer-card-edit-form input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.customer-card-edit-form .address-field {
  position: relative;
}

.customer-card-edit-form .address-field::after {
  content: "...";
  position: absolute;
  right: 10px;
  bottom: 5px;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: 1px;
  pointer-events: none;
  opacity: 0.8;
}

.customer-card-edit-form input:focus,
.customer-card-edit-form textarea:focus,
.customer-card-password-form input:focus {
  background: #26364d;
  border-color: rgba(96, 165, 250, 0.84);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45), 0 0 20px rgba(96, 165, 250, 0.45);
}

.customer-card-edit-form button,
.customer-card-password-form button {
  min-height: 30px;
  border-radius: 6px;
  font-size: 13px;
}

.customer-card-password-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.detail-form-grid,
.options-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-form-grid label,
.options-form-grid form {
  display: grid;
  gap: 6px;
}

.detail-form-grid label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-form-grid input,
.detail-form-grid textarea,
.options-form-grid input,
.options-form-grid select,
.detail-password-form input,
.simple-option-form input,
.simple-option-form select,
.order-admin-row select {
  width: 100%;
  min-width: 0;
  height: 30px;
  color: #fff;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 0 10px;
  outline: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.detail-form-grid input:focus,
.detail-form-grid textarea:focus,
.detail-password-form input:focus {
  background: #26364d;
  border-color: rgba(96, 165, 250, 0.84);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45), 0 0 20px rgba(96, 165, 250, 0.45);
}

.detail-form-grid textarea {
  min-height: 84px;
  padding-top: 10px;
  resize: vertical;
}

.detail-form-grid .wide-field {
  grid-column: span 2;
}

.detail-password-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px;
  grid-column: auto;
}

.detail-password-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.detail-password-form button {
  min-height: 30px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 12px;
}

.detail-actions,
.simple-option-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.detail-actions button {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 6px;
  font-size: 13px;
}

.customer-card-actions {
  align-items: stretch;
  margin-top: 0;
}

.customer-card-actions button {
  width: 100%;
}

.options-form-grid {
  margin-top: 18px;
}

.options-form-grid form {
  padding: 14px;
}

.simple-option-form {
  flex-wrap: wrap;
}

.simple-option-form input,
.simple-option-form select {
  max-width: 220px;
}

.order-admin-row select {
  height: 26px;
  font-size: 11px;
}

.option-home-card,
.option-detail-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: none;
  overflow-x: hidden;
}

.option-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.option-breadcrumb span,
.option-breadcrumb button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.option-breadcrumb button {
  cursor: pointer;
}

.option-breadcrumb .active,
.option-breadcrumb span:last-child {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.28);
}

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

.option-category-grid button {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  color: var(--muted);
  background: rgba(30, 41, 59, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  text-align: left;
}

.option-category-grid button:hover {
  border-color: rgba(96, 165, 250, 0.46);
  box-shadow: inset 3px 0 0 rgba(96, 165, 250, 0.7);
}

.option-category-grid strong {
  font-size: 17px;
  font-weight: 900;
}

.option-category-grid span,
.option-flow-note p,
.option-flow-note li,
.option-placeholder-panel span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.option-flow-note,
.option-placeholder-panel {
  min-width: 0;
  padding: 16px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
}

.option-flow-note h3,
.option-placeholder-panel strong {
  margin: 0 0 10px;
  color: var(--muted);
}

.option-flow-note ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.missing-type-form {
  max-width: 760px;
}

.table-size-form {
  grid-template-columns: 210px 130px 132px 132px 58px;
  align-items: end;
  justify-content: start;
}

.table-size-form h3 {
  grid-column: 1 / -1;
}

.table-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 238px);
  gap: 14px;
  justify-content: start;
}

.table-option-grid article {
  display: grid;
  gap: 9px;
  width: 238px;
  min-width: 0;
  padding: 12px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
}

.table-option-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.table-option-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-option-control-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.visual-option-control-row.has-manual-price {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  align-items: stretch;
}

.tual-manual-price-form {
  grid-template-columns: 1fr;
  align-content: start;
}

.tual-manual-price-form button {
  align-self: end;
}

.table-option-manual-card {
  order: -1;
}

.tual-manual-admin-preview {
  align-content: center;
  gap: 8px;
  text-align: center;
}

.tual-manual-admin-preview strong {
  color: #e5e9f0;
  font-size: 18px;
  font-weight: 560;
}

.tual-manual-admin-preview span {
  color: rgba(216, 222, 233, 0.78);
  font-size: 13px;
  font-weight: 500;
}

.tual-manual-settings-form .manual-settings-price {
  grid-template-columns: 1fr;
}

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

.manual-settings-grid label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.table-option-grid strong,
.table-option-grid span {
  color: var(--muted);
}

.table-option-edit-form,
.option-inline-form {
  display: grid;
  gap: 8px;
}

.visual-option-edit-fields,
.visual-upload-actions,
.visual-save-actions {
  display: grid;
  gap: 8px;
}

.visual-option-edit-fields {
  grid-template-columns: minmax(0, 1fr) 82px;
}

.visual-upload-actions,
.visual-save-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table-option-edit-form label,
.option-inline-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.table-option-edit-form input,
.option-inline-form input {
  width: 100%;
  min-width: 0;
  height: 34px;
  color: var(--muted);
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 0 10px;
  outline: 0;
}

.product-option-form input[type="number"],
.table-option-edit-form input[type="number"],
.option-inline-form input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.product-option-form input[type="number"]::-webkit-outer-spin-button,
.product-option-form input[type="number"]::-webkit-inner-spin-button,
.table-option-edit-form input[type="number"]::-webkit-outer-spin-button,
.table-option-edit-form input[type="number"]::-webkit-inner-spin-button,
.option-inline-form input[type="number"]::-webkit-outer-spin-button,
.option-inline-form input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.file-picker input[type="file"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-picker b {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  width: 132px;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(76, 86, 106, 0.9), rgba(36, 41, 51, 0.96));
  border: 1px solid rgba(136, 192, 208, 0.26);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.file-picker em {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 11px;
  font-weight: 750;
}

.file-picker.compact b {
  min-height: 32px;
  width: 132px;
}

.table-size-form .file-picker,
.table-option-edit-form .file-picker {
  width: 132px;
}

.table-size-form .file-picker em,
.table-option-edit-form .file-picker em {
  display: none;
}

.option-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.option-check input {
  width: 14px;
  height: 14px;
  padding: 0;
}

.option-row-actions {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 8px;
  align-items: center;
}

.option-row-actions button {
  min-height: 34px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.option-row-actions.triple {
  grid-template-columns: 1.12fr 1fr 0.72fr;
}

.option-row-actions.triple .file-picker,
.option-row-actions.triple .file-picker b {
  width: 100%;
  white-space: nowrap;
}

.visual-upload-actions .file-picker,
.visual-upload-actions .file-picker b {
  width: 100%;
  white-space: nowrap;
}

.table-size-form label,
.table-option-edit-form label {
  font-weight: 720;
}

.table-size-form input,
.table-option-edit-form input {
  height: 31px;
  font-weight: 520;
}

.table-size-form .file-picker b,
.table-option-edit-form .file-picker b {
  min-height: 30px;
  color: #eceff4;
  background: var(--karacan-action-bg);
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
  border-color: var(--karacan-action-border);
  font-size: 12px;
  font-weight: 720;
}

.table-size-form button,
.table-option-edit-form .option-row-actions button {
  min-height: 30px;
  font-size: 12px;
  font-weight: 720;
}

.table-size-form button,
.table-option-edit-form .success-button {
  color: #eceff4;
  background: var(--karacan-action-bg);
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
  border: 1px solid var(--karacan-action-border);
}

.success-button,
.option-row-actions button.success-button {
  color: #d9fbe8;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.72), rgba(21, 128, 61, 0.62));
  border: 1px solid rgba(134, 239, 172, 0.22);
}

.option-edit-card {
  min-width: 0;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
}

.wedding-rule-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wedding-rule-strip span {
  min-height: 30px;
  padding: 7px 11px;
  color: var(--muted);
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.wedding-subnav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 10px;
  justify-content: start;
}

.wedding-subnav button {
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 42px;
  padding: 0 14px;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.wedding-subnav button span,
.wedding-subnav button small {
  display: block;
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
  line-height: 1.05;
}

.wedding-subnav button span {
  font-size: 15px;
  font-weight: 950;
}

.wedding-subnav button small {
  font-size: 15px;
  font-weight: 900;
}

.wedding-subnav button.active {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.34);
  box-shadow: inset 3px 0 0 rgba(96, 165, 250, 0.66);
}

.wedding-section {
  display: grid;
  gap: 14px;
  min-width: 0;
  overflow-x: hidden;
}

.wedding-control-row {
  display: grid;
  grid-template-columns: minmax(330px, 460px) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.wedding-control-row .wedding-subnav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
}

.wedding-control-row .wedding-subnav button {
  min-height: 56px;
}

.wedding-control-row .product-option-form {
  margin: 0;
  padding: 10px;
}

.wedding-control-row .wedding-model-create {
  grid-template-columns: minmax(140px, 0.85fr) minmax(160px, 1fr) 132px auto;
}

.wedding-control-row .wedding-size-create {
  grid-template-columns: minmax(112px, 0.5fr) minmax(248px, 1fr) minmax(144px, 0.46fr) auto;
}

.wedding-control-row .wedding-model-create h3,
.wedding-control-row .wedding-size-create h3 {
  display: none;
}

.wedding-section.live-refreshed {
  animation: weddingLiveRefresh 0.26s ease both;
}

@keyframes weddingLiveRefresh {
  from {
    opacity: 0.82;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.compact-heading {
  margin-bottom: -2px;
}

.wedding-model-create {
  grid-template-columns: minmax(170px, 220px) minmax(190px, 1fr) 142px minmax(190px, auto) auto;
  align-items: end;
  min-width: 0;
}

.wedding-model-create h3,
.wedding-size-create h3 {
  grid-column: 1 / -1;
}

.wedding-size-create {
  grid-template-columns: minmax(140px, 180px) minmax(160px, auto) minmax(260px, 0.8fr) minmax(170px, 0.45fr) auto;
  align-items: end;
  min-width: 0;
}

.wedding-price-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 8px;
  min-width: 0;
}

.wedding-rate-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
}

.wedding-rate-controls label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.wedding-rate-controls input {
  width: 100%;
  min-width: 0;
  height: 34px;
  color: var(--muted);
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 0 8px;
  outline: 0;
}

.wedding-rate-controls.compact {
  padding: 9px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.14);
  border-radius: 8px;
}

.wedding-size-list,
.wedding-model-list,
.wedding-variant-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.wedding-size-list {
  grid-template-columns: repeat(auto-fill, 258px);
  align-items: start;
  justify-content: start;
  gap: 14px;
}

.wedding-size-list > article,
.wedding-model-card {
  min-width: 0;
}

.wedding-size-list > article {
  width: 258px;
  padding: 14px;
  background: rgba(30, 41, 59, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
}

.wedding-model-card {
  padding: 8px 10px;
  background: rgba(30, 41, 59, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
}

.wedding-size-edit {
  display: grid;
  gap: 10px;
}

.wedding-size-head {
  display: grid;
  gap: 8px;
}

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

.wedding-size-flags .option-check,
.wedding-size-flags .switch-field {
  min-height: 30px;
  padding: 5px 7px;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 999px;
}

.switch-field {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.switch-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-field > span {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 20px;
  background: rgba(71, 85, 105, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.switch-field > span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3px;
  width: 12px;
  height: 12px;
  margin: auto 0;
  background: rgba(226, 232, 240, 0.88);
  border-radius: 999px;
  transform: none;
  transition: transform 0.28s ease, background-color 0.28s ease;
}

.switch-field input:checked + span {
  background: rgba(34, 197, 94, 0.52);
  border-color: rgba(134, 239, 172, 0.34);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.18), 0 0 14px rgba(34, 197, 94, 0.22);
}

.switch-field input:checked + span::after {
  transform: translateX(18px);
  background: #dcfce7;
}

.switch-field b {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.switch-field.compact {
  min-height: 28px;
  padding: 4px 8px;
  background: rgba(15, 23, 42, 0.44);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 999px;
}

.switch-field.compact > span {
  flex-basis: 32px;
  width: 32px;
  height: 18px;
}

.switch-field.compact > span::after {
  top: 0;
  bottom: 0;
  left: 3px;
  width: 10px;
  height: 10px;
  margin: auto 0;
}

.switch-field.compact input:checked + span::after {
  transform: translateX(14px);
}

.wedding-price-matrix {
  display: grid;
  gap: 9px;
}

.wedding-price-row {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 9px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
}

.wedding-price-row strong {
  color: var(--muted);
  font-size: 13px;
}

.wedding-size-edit label,
.wedding-model-edit label,
.wedding-variant-row label,
.wedding-variant-create label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.wedding-size-edit input:not([type="file"]):not([type="checkbox"]),
.wedding-model-edit input:not([type="file"]):not([type="checkbox"]),
.wedding-variant-row input:not([type="file"]):not([type="checkbox"]),
.wedding-variant-create input:not([type="file"]):not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
  height: 34px;
  color: var(--muted);
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 0 10px;
  outline: 0;
}

.wedding-size-edit input[type="number"],
.wedding-variant-row input[type="number"],
.wedding-variant-create input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.wedding-size-edit input[type="number"]::-webkit-outer-spin-button,
.wedding-size-edit input[type="number"]::-webkit-inner-spin-button,
.wedding-variant-row input[type="number"]::-webkit-outer-spin-button,
.wedding-variant-row input[type="number"]::-webkit-inner-spin-button,
.wedding-variant-create input[type="number"]::-webkit-outer-spin-button,
.wedding-variant-create input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.wedding-model-card {
  display: grid;
  gap: 0;
  overflow: visible;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.wedding-model-card.is-filtered-out {
  display: none !important;
}

.wedding-model-card summary {
  list-style: none;
}

.wedding-model-card summary::-webkit-details-marker {
  display: none;
}

.wedding-model-summary {
  display: grid;
  grid-template-columns: 112px minmax(160px, 0.72fr) minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 84px;
  max-height: var(--wedding-summary-height, 84px);
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.7s cubic-bezier(0.22, 1, 0.36, 1), min-height 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.wedding-summary-image {
  display: grid;
  place-items: center;
  width: 112px;
  height: 76px;
  overflow: hidden;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 6px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.wedding-summary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wedding-model-summary strong,
.wedding-model-summary small,
.wedding-model-summary b {
  color: var(--muted);
}

.wedding-model-summary strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 900;
}

.wedding-model-summary small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 750;
}

.wedding-model-summary b {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.wedding-model-summary b.is-active {
  color: #d9fbe8;
  background: rgba(34, 197, 94, 0.3);
  border: 1px solid rgba(134, 239, 172, 0.34);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.16);
}

.wedding-model-summary b.is-passive {
  color: rgba(148, 163, 184, 0.62);
  background: rgba(71, 85, 105, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.wedding-summary-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.wedding-summary-variants em {
  max-width: 128px;
  overflow: hidden;
  padding: 5px 8px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 999px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.wedding-model-body {
  display: grid;
  grid-template-columns: minmax(250px, 292px) minmax(0, 1fr);
  gap: 14px;
  overflow: hidden;
  max-height: 0;
  padding-top: 0;
  margin-top: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), padding-top 0.7s ease, margin-top 0.7s ease, border-color 0.7s ease;
}

.wedding-model-body > * {
  min-height: 0;
}

.wedding-model-card.is-open .wedding-model-body {
  max-height: var(--wedding-body-height, 720px);
  padding-top: 0;
  margin-top: 0;
  border-top-color: transparent;
  opacity: 1;
  transform: translateY(0);
}

.wedding-model-card.is-open .wedding-model-summary {
  min-height: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.wedding-model-card.is-open {
  border-color: rgba(96, 165, 250, 0.26);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.12), 0 0 14px rgba(96, 165, 250, 0.12);
}

.wedding-model-left {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.wedding-model-image {
  aspect-ratio: 4 / 3;
}

.wedding-model-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(110px, 0.42fr);
  gap: 9px;
}

.wedding-model-edit .wedding-check-grid,
.wedding-model-edit .wedding-compatible-sizes,
.wedding-model-edit .option-row-actions {
  grid-column: 1 / -1;
}

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

.wedding-compatible-sizes {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wedding-compatible-sizes > strong,
.wedding-variant-panel h3 {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.wedding-compatible-sizes > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wedding-compatible-sizes .option-check {
  min-height: 28px;
  padding: 5px 8px;
  background: rgba(15, 23, 42, 0.44);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 999px;
}

.wedding-model-edit .switch-field > span::after,
.wedding-compatible-sizes .switch-field > span::after {
  top: 0;
  bottom: 0;
  margin: auto 0;
  transform: none;
}

.wedding-model-edit .switch-field input:checked + span::after {
  top: 2px;
  bottom: auto;
  margin: 0;
  transform: translateX(18px);
}

.wedding-compatible-sizes .switch-field.compact input:checked + span::after {
  top: 2px;
  bottom: auto;
  margin: 0;
  transform: translateX(14px);
}

.wedding-tools {
  display: grid;
  grid-template-columns: minmax(220px, 360px) auto;
  gap: 12px;
  align-items: end;
}

.wedding-tools label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.wedding-tools input {
  width: 100%;
  height: 34px;
  color: var(--muted);
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 0 10px;
  outline: 0;
}

.wedding-tools small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.wedding-variant-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.wedding-variant-panel h3 {
  margin: 0;
}

.wedding-variant-list {
  display: flex;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 165, 250, 0.55) rgba(15, 23, 42, 0.5);
}

.wedding-variant-list::-webkit-scrollbar {
  height: 7px;
}

.wedding-variant-list::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.45);
  border-radius: 8px;
}

.wedding-variant-list::-webkit-scrollbar-thumb {
  background: linear-gradient(to right, rgba(96, 165, 250, 0.85), rgba(22, 163, 74, 0.7));
  border-radius: 8px;
}

.wedding-variant-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 0 0 258px;
  gap: 8px;
  align-items: start;
  min-width: 0;
  padding: 10px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  scroll-snap-align: start;
}

.wedding-variant-row .switch-field.compact {
  align-self: end;
  min-height: 34px;
}

.wedding-variant-image {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
}

.wedding-variant-row .option-row-actions {
  grid-column: 1 / -1;
}

.wedding-variant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wedding-variant-create {
  display: grid;
  grid-template-columns: minmax(88px, 0.7fr) minmax(78px, 0.58fr) minmax(76px, 0.54fr) max-content;
  gap: 9px;
  align-items: end;
  min-width: 0;
  padding: 10px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 8px;
}

.wedding-variant-create .option-row-actions {
  grid-column: auto;
  grid-template-columns: max-content max-content;
  justify-content: end;
}

.wedding-variant-create .file-picker,
.wedding-variant-create .file-picker b {
  width: auto;
  min-width: 106px;
}

.wedding-variant-create button {
  width: auto;
  min-width: 124px;
  padding-left: 12px;
  padding-right: 12px;
}

.wedding-variant-create .file-picker,
.wedding-variant-create .file-picker b,
.wedding-variant-create button {
  white-space: nowrap;
}

.product-options-hero {
  display: grid;
  gap: 18px;
}

.product-option-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.product-option-stats div,
.product-roadmap-grid div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
}

.product-option-stats dt,
.product-roadmap-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-option-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 24px;
  font-weight: 900;
}

.order-flow-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-flow-strip span {
  min-height: 28px;
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.product-options-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  margin: 0 32px 32px;
}

.product-option-rail,
.product-editor-section {
  margin: 0;
}

.product-option-rail {
  align-self: start;
  position: sticky;
  top: 98px;
}

.product-mini-form,
.product-option-form {
  display: grid;
  gap: 9px;
}

.product-mini-form {
  margin-top: 14px;
}

.product-mini-form input,
.product-option-form input,
.product-option-form select {
  width: 100%;
  min-width: 0;
  height: 34px;
  color: var(--muted);
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 0 10px;
  outline: 0;
}

.product-mini-form button,
.product-option-form button {
  min-height: 34px;
  border-radius: 6px;
  font-size: 13px;
}

.product-category-list,
.product-stack {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.product-category-list article,
.product-stack > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
}

.product-category-list strong,
.product-stack strong,
.product-roadmap-grid strong {
  color: var(--muted);
  font-weight: 900;
}

.product-category-list span,
.product-stack span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 750;
}

.product-option-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.product-editor-section {
  display: grid;
  gap: 18px;
}

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

.product-option-form {
  min-width: 0;
  padding: 14px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
}

.product-option-form h3 {
  margin: 0 0 4px;
}

.product-option-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-wide-form {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
}

.product-wide-form h3 {
  grid-column: 1 / -1;
}

.product-table-grid {
  display: grid;
  gap: 14px;
}

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

.product-table-grid.four-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-table-grid article {
  min-width: 0;
  padding: 14px;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
}

.product-table-grid h3 {
  margin: 0 0 10px;
}

.product-package-list {
  margin-top: 0;
}

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

.workspace h1,
.workspace h2,
.workspace h3,
.workspace p,
.workspace strong,
.workspace small,
.workspace dt,
.workspace dd,
.workspace label,
.workspace input,
.workspace textarea,
.workspace select,
.workspace button:not(.status-pill),
.workspace a,
.workspace span:not(.status-pill),
.workspace .sidebar-title,
.workspace .avatar-circle,
.workspace .module-card,
.workspace .detail-card,
.workspace .customer-summary-card,
.workspace .top-date {
  color: var(--muted);
}

.workspace input::placeholder,
.workspace textarea::placeholder {
  color: rgba(148, 163, 184, 0.72);
}

.workspace input:not([type="file"]),
.workspace textarea,
.workspace select {
  transition: border-color 0.36s ease, box-shadow 0.36s ease, background-color 0.36s ease, color 0.36s ease;
}

.workspace input:not([type="file"]):focus,
.workspace textarea:focus,
.workspace select:focus {
  color: var(--muted);
  background: rgba(30, 41, 59, 0.92);
  border-color: rgba(96, 165, 250, 0.68);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45), 0 0 20px rgba(96, 165, 250, 0.45);
}

.workspace button:not(.status-pill),
.workspace button:not(.status-pill) span,
.workspace button:not(.status-pill) strong,
.file-picker b {
  color: var(--muted);
}

.workspace button:not(.status-pill),
.file-picker b {
  transition: background-position 0.72s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.44s ease, border-color 0.44s ease, box-shadow 0.44s ease, color 0.44s ease;
}

.workspace button:not(.status-pill):hover,
.file-picker:hover b {
  transform: none;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.36), 0 0 12px rgba(96, 165, 250, 0.36);
}

.workspace .wedding-model-summary:hover {
  box-shadow: none;
}

.workspace .visual-option-control-row .table-size-form input,
.workspace .table-option-grid .table-option-edit-form input {
  height: 31px;
  font-weight: 520;
}

.workspace .visual-option-control-row .table-size-form button {
  min-height: 30px;
  color: #eceff4;
  background: var(--karacan-action-bg);
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
  border-color: var(--karacan-action-border);
  font-size: 12px;
  font-weight: 720;
}

.workspace .table-option-grid .table-option-edit-form .success-button {
  min-height: 30px;
  color: #d9fbe8;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.72), rgba(21, 128, 61, 0.62));
  border-color: rgba(134, 239, 172, 0.22);
  font-size: 12px;
  font-weight: 720;
}

.workspace .table-option-grid .table-option-edit-form .danger-button {
  min-height: 30px;
  font-size: 12px;
  font-weight: 720;
}

.workspace .visual-option-control-row .table-size-form .file-picker b,
.workspace .table-option-grid .table-option-edit-form .file-picker b {
  min-height: 30px;
  color: #eceff4;
  background: var(--karacan-action-bg);
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
  border-color: var(--karacan-action-border);
  font-size: 12px;
  font-weight: 720;
}

.workspace .option-category-grid button,
.workspace .option-category-grid button strong,
.workspace .option-category-grid button span {
  color: var(--muted);
}

.workspace .option-category-grid button:hover {
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.32), 0 0 12px rgba(96, 165, 250, 0.32);
}

@media (max-width: 1100px) {
  .order-scene.has-selection .scene-body {
    grid-template-columns: minmax(420px, 1fr) clamp(238px, 24vw, 280px);
  }

  .order-scene.has-selection .scene-card-rail {
    width: clamp(238px, 24vw, 280px);
    max-width: 280px;
  }

  .tual-panel-head p {
    white-space: normal;
  }
}

@media (max-width: 860px) {
  .auth-split {
    grid-template-columns: 1fr;
  }

  .brand-pane {
    display: none;
  }

  .auth-card-wide {
    max-height: none;
  }

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

  .workspace,
  .metric-grid,
  .summary-grid,
  .admin-metric-grid,
  .quick-admin-grid,
  .options-grid,
  .options-form-grid,
  .product-options-layout,
  .product-option-stats,
  .option-category-grid,
  .simple-option-layout,
  .table-size-form,
  .table-option-grid,
  .product-form-columns,
  .product-wide-form,
  .product-table-grid.two-columns,
  .product-table-grid.four-columns,
  .product-roadmap-grid,
  .wedding-control-row,
  .wedding-model-create,
  .wedding-subnav,
  .wedding-size-create,
  .wedding-price-inputs,
  .wedding-size-head,
  .wedding-price-row,
  .wedding-model-card,
  .wedding-model-body,
  .wedding-tools,
  .wedding-check-grid,
  .wedding-variant-row,
  .wedding-variant-create,
  .detail-layout,
  .detail-form-grid,
  .admin-user-form,
  .split-layout,
  .category-grid,
  .option-grid,
  .size-grid,
  .content-grid,
  .box-grid,
  .extras-grid,
  .scene-body,
  .order-scene.has-selection .scene-body,
  .scene-card-rail,
  .order-scene.has-selection .scene-card-rail,
  .missing-order-grid,
  .total-bar {
    grid-template-columns: 1fr;
  }

  .order-scene {
    min-height: auto;
    margin: 16px;
  }

  .scene-body {
    padding: 18px;
  }

  .scene-card-rail,
  .order-scene.has-selection .scene-card-rail {
    max-width: none;
  }

  .order-scene:not(.has-selection) .scene-card-rail {
    min-height: auto;
  }

  .scene-order-card,
  .order-scene.has-selection .scene-order-card.is-selected {
    min-height: 260px;
  }

  .workspace:has(.compact-sidebar) {
    grid-template-columns: 1fr;
  }

  .workspace,
  .customer-workspace {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .content {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .spa-content {
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

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

  .module-card,
  .metric-grid,
  .detail-layout,
  .order-feedback,
  .split-layout,
  .total-bar {
    margin-left: 16px;
    margin-right: 16px;
  }

  .total-bar {
    position: static;
  }

  .product-options-layout {
    margin-left: 16px;
    margin-right: 16px;
  }

  .product-option-rail {
    position: static;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .admin-customer-row,
  .customer-table-row,
  .order-admin-row,
  .admin-users-row,
  .progress-list > div {
    grid-template-columns: 1fr;
  }

  .placeholder-grid,
  .profile-preview {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
    margin-left: 16px;
    margin-right: 16px;
  }

  .toolbar-stats {
    flex-direction: column;
  }

  .admin-search-form input {
    min-width: 0;
  }

  .detail-form-grid .wide-field,
  .simple-option-form input,
  .simple-option-form select {
    grid-column: auto;
    max-width: none;
  }

  .detail-actions,
  .customer-card-password-form,
  .simple-option-form,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-card-password-form {
    grid-template-columns: 1fr;
  }

  .order-filter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .order-admin-row {
    grid-template-columns: 36px 72px minmax(150px, 1.2fr) minmax(110px, 0.9fr) 138px 88px 74px;
  }

  .order-admin-row > span:nth-child(7) {
    display: none;
  }

  .customer-table-row {
    grid-template-columns: minmax(160px, 1.2fr) minmax(124px, 1fr) minmax(190px, 1.35fr) minmax(112px, 0.8fr) 78px 150px;
  }

  .customer-table-row > span:nth-child(5) {
    display: none;
  }
}

@media (max-width: 1040px) {
  .order-admin-row {
    grid-template-columns: 36px 72px minmax(150px, 1.2fr) 138px 88px 74px;
  }

  .order-admin-row > span:nth-child(4) {
    display: none;
  }

  .customer-table-row {
    grid-template-columns: minmax(160px, 1.25fr) minmax(124px, 1fr) minmax(190px, 1.35fr) 78px 150px;
  }

  .customer-table-row > span:nth-child(4) {
    display: none;
  }
}

@media (max-width: 920px) {
  .order-admin-row {
    grid-template-columns: 36px 72px minmax(150px, 1fr) 138px 74px;
  }

  .order-admin-row > span:nth-child(6) {
    display: none;
  }

  .customer-table-row {
    grid-template-columns: minmax(160px, 1.3fr) minmax(124px, 1fr) 78px 150px;
  }

  .customer-table-row > span:nth-child(3) {
    display: none;
  }

  .customer-toolbar .admin-search-form {
    grid-template-columns: 1fr auto;
  }

  .customer-toolbar .admin-search-form label {
    grid-column: 1 / -1;
    line-height: 1.25;
  }
}

@media (max-width: 760px) {
  .order-admin-row {
    grid-template-columns: 32px 64px 124px 66px !important;
  }

  .order-admin-row > span:nth-child(3) {
    display: none;
  }

  .order-status-select {
    width: 124px !important;
  }

  .customer-table-row {
    grid-template-columns: minmax(130px, 1fr) 74px 126px !important;
  }

  .customer-table-row > span:nth-child(2) {
    display: none;
  }

  .customer-row-actions {
    gap: 4px;
  }
}

.workspace .transfer-card > button[type="submit"] {
  color: #eceff4;
  background: var(--karacan-action-bg);
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
  border: 1px solid var(--karacan-action-border);
}

.workspace .transfer-card > button[type="submit"]:hover {
  color: #eceff4;
  background-position: var(--karacan-action-position-hover);
}

.workspace .upload-action-tile b {
  color: #242933;
}

.workspace .transfer-card-progress > button {
  color: #3f63e6;
  background: #ffffff;
}

.missing-order-layout .missing-note-field {
  grid-column: auto;
}

.missing-order-layout .transfer-card {
  color: #d8dee9;
  background: linear-gradient(180deg, #2e3440, #242933);
  border-color: rgba(136, 192, 208, 0.22);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.missing-order-layout .transfer-card-actions {
  gap: 6px;
}

.missing-order-layout .upload-action-tile b {
  color: #d8dee9;
  background: linear-gradient(180deg, rgba(76, 86, 106, 0.88), rgba(59, 66, 82, 0.94));
  border: 1px solid rgba(136, 192, 208, 0.16);
}

.missing-order-layout .upload-action-tile:hover b {
  background: linear-gradient(180deg, rgba(83, 94, 116, 0.96), rgba(67, 76, 94, 0.98));
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.5), 0 0 24px rgba(136, 192, 208, 0.4);
}

.missing-order-layout .transfer-card .upload-action-tile:hover b {
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.62), 0 0 28px rgba(136, 192, 208, 0.48);
}

.missing-order-layout .transfer-summary {
  border-bottom: 0;
}

.missing-order-layout .transfer-summary strong {
  color: #d8dee9;
}

.missing-order-layout .transfer-summary em,
.missing-order-layout .transfer-summary small {
  color: rgba(216, 222, 233, 0.72);
}

.missing-order-layout .transfer-card > button[type="submit"] {
  color: #eceff4;
  background: var(--karacan-action-bg);
  background-size: 240% 100%;
  background-position: var(--karacan-action-position);
  border: 1px solid var(--karacan-action-border);
}

.missing-order-layout .transfer-card > button[type="submit"]:hover {
  background-position: var(--karacan-action-position-hover);
}

.missing-order-layout .transfer-progress-ring {
  color: #d8dee9;
  background: rgba(76, 86, 106, 0.42);
  box-shadow: 0 0 24px rgba(136, 192, 208, 0.16);
}

.missing-order-layout .transfer-progress-ring::before {
  display: none;
}

.missing-order-layout .transfer-progress-ring::after {
  display: none;
}

.missing-order-layout .transfer-progress-ring strong {
  color: #eceff4;
}

.missing-order-layout .transfer-progress-ring strong::after {
  color: rgba(216, 222, 233, 0.62);
}

.missing-order-layout .transfer-card-progress b {
  color: #eceff4;
  font-weight: 560;
}

.missing-order-layout .transfer-card-progress a {
  color: #88c0d0;
  font-weight: 390;
}

.missing-order-layout .transfer-card-progress small {
  color: rgba(216, 222, 233, 0.62);
  font-weight: 360;
}

.missing-order-layout .transfer-auto-note {
  color: rgba(216, 222, 233, 0.58);
  font-weight: 360;
}

.missing-order-layout .transfer-card-progress > button {
  color: #bf616a;
  background: rgba(46, 52, 64, 0.72);
  border-color: rgba(136, 192, 208, 0.3);
}

.missing-order-layout .transfer-card-progress > button:hover {
  background: rgba(59, 66, 82, 0.92);
  box-shadow: 0 0 0 1px rgba(191, 97, 106, 0.28), 0 0 16px rgba(191, 97, 106, 0.3);
}

.missing-order-layout .transfer-cancel-confirm button[data-upload-cancel-no] {
  color: #88c0d0;
  border-color: rgba(136, 192, 208, 0.3);
}

.missing-order-layout .transfer-cancel-confirm button[data-upload-cancel-yes] {
  color: #bf616a;
  border-color: rgba(191, 97, 106, 0.42);
}

.missing-order-layout .transfer-cancel-confirm button[data-upload-cancel-yes]:hover {
  color: #ffb4bd;
  background: rgba(59, 66, 82, 0.92);
  box-shadow: 0 0 0 1px rgba(191, 97, 106, 0.34), 0 0 16px rgba(191, 97, 106, 0.34);
}

.missing-order-layout .transfer-cancel-confirm button[data-upload-cancel-no]:hover {
  box-shadow: 0 0 0 1px rgba(136, 192, 208, 0.24), 0 0 14px rgba(136, 192, 208, 0.24);
}

@media (max-width: 1180px) {
  .tual-builder-grid {
    grid-template-columns: 1fr;
  }

  .tual-summary-card {
    grid-template-rows: auto auto auto auto auto;
  }
}

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

@keyframes transferCardSwapIn {
  from {
    opacity: 0;
    filter: blur(1px);
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes transferCancelIn {
  from {
    opacity: 0;
    filter: blur(1px);
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes transferCancelOut {
  from {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
  to {
    opacity: 0;
    filter: blur(1px);
    transform: translateY(8px);
  }
}

@media (max-width: 980px) {
  .missing-order-layout {
    grid-template-columns: 252px minmax(260px, 1fr);
  }

  .tual-size-grid {
    grid-template-columns: repeat(auto-fill, var(--tual-card-width));
  }
}

@media (max-width: 760px) {
  .missing-order-layout {
    grid-template-columns: 1fr;
  }

  .transfer-card {
    width: min(100%, 280px);
  }

  .missing-order-layout .missing-note-field textarea {
    min-height: 220px;
    max-height: 220px;
  }

  .tual-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tual-size-grid {
    grid-template-columns: repeat(auto-fill, var(--tual-card-width));
  }
}
