:root {
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #172b35;
  background: #f5f7fa;
  font-synthesis: none;
  --blue: #4d68fa;
  --green: #009f79;
  --muted: #778594;
  --line: #e1e8ed;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}
button,
.button {
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font-weight: 650;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition:
    transform 0.15s,
    background 0.15s;
}
button:hover,
.button:hover {
  filter: brightness(1.04);
}
.secondary {
  color: #3d5360;
  background: #f1f5f9;
  border: 1px solid var(--line);
}
.mint {
  background: #77edc8;
  color: #07372d;
}
.outline {
  background: transparent;
  border: 1px solid #ffffff35;
  color: #fff;
}
.small {
  padding: 8px 13px;
  font-size: 12px;
  border-radius: 8px;
}
.danger {
  background: #fff1f0;
  color: #bf3538;
}
.wrap {
  width: min(1152px, calc(100% - 40px));
  margin: auto;
}
.header {
  height: 80px;
  background: #ffffffef;
  border-bottom: 1px solid #e1e6ef;
  box-shadow: 0 5px 30px #133f3a08;
  position: relative;
  z-index: 3;
}
.header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand-mark {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #117bff, #2033a0);
  clip-path: polygon(50% 0, 100% 88%, 88% 100%, 12% 100%, 0 88%);
  font-size: 25px;
  font-weight: 800;
  filter: drop-shadow(0 4px 10px #a5baff);
}
.brand strong {
  display: block;
  color: #25366a;
  font-size: 20px;
  letter-spacing: 1px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  font-weight: 800;
  color: #8c98b4;
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 5px;
  align-items: center;
}
.nav a {
  padding: 10px 14px;
  font-size: 13px;
  color: #697186;
  font-weight: 650;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 25px;
}
.nav a.active {
  color: var(--blue);
  background: #edf0ff;
  border-color: #d8deff;
}
.auth-links {
  font-size: 12px;
  color: #6d7788;
  white-space: nowrap;
}
.auth-links a:hover {
  color: var(--blue);
}
.hero {
  margin: 24px auto 66px;
  position: relative;
  padding: 54px 54px 78px;
  border-radius: 29px;
  background:
    radial-gradient(ellipse at 90% 10%, #225c4c75, transparent 50%),
    radial-gradient(ellipse at 5% 100%, #13364d, transparent 50%),
    linear-gradient(120deg, #071c1b, #123e32);
  color: #f3fffb;
  box-shadow: 0 24px 52px #193f3c22;
  overflow: visible;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 38px;
  isolation: isolate;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-radial-gradient(
    circle at 100% 0,
    transparent 0 139px,
    #7cddbe0b 140px 195px
  );
  z-index: -1;
  mask-image: linear-gradient(90deg, transparent, #000 75%);
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--green);
  text-transform: uppercase;
}
.hero .eyebrow {
  color: #c6fff0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #78d5b64a;
  background: #8eeed20b;
  border-radius: 30px;
  padding: 8px 12px;
  font-size: 9px;
}
.dot {
  height: 7px;
  width: 7px;
  background: #75efc3;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #73edc21c;
}
.hero h1 {
  font-size: 58px;
  line-height: 1.17;
  letter-spacing: -2px;
  margin: 23px 0 17px;
  font-weight: 850;
}
.hero h1 em {
  font-style: normal;
  color: #77edc8;
}
.hero p {
  color: #d2e8e4;
  line-height: 1.9;
  font-size: 14px;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  gap: 11px;
  margin: 27px 0 21px;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: #b9e2db;
}
.checks span:before {
  content: "✓";
  color: #32ebbd;
  margin-right: 6px;
}
.flow {
  align-self: center;
  background: linear-gradient(120deg, #ffffff20, #b6f5dc0d);
  border: 1px solid #dcffed38;
  border-radius: 23px;
  padding: 26px;
  box-shadow: inset 0 1px 0 #ffffff18;
}
.flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #accac0;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.online {
  letter-spacing: 0;
  font-size: 10px;
  color: #d5ffef;
  display: flex;
  align-items: center;
  gap: 7px;
}
.flow h2 {
  font-size: 20px;
  margin: 23px 0 28px;
}
.flow-step {
  display: flex;
  gap: 13px;
  margin: 21px 0;
}
.flow-step b {
  background: #a9e8ce18;
  color: #82e4bc;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.flow-step strong {
  font-size: 13px;
}
.flow-step p {
  font-size: 11px;
  margin: 5px 0 0;
  color: #abc7bf;
}
.flow-link {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: #082b2690;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 25px;
}
.metrics {
  position: absolute;
  bottom: -49px;
  left: 36px;
  right: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fffffff5;
  border: 1px solid #dbe8e5;
  color: #14332a;
  border-radius: 21px;
  box-shadow: 0 20px 30px #12382c18;
  overflow: hidden;
}
.metric {
  padding: 27px 25px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.metric + .metric {
  border-left: 1px solid #e6ecea;
}
.metric strong {
  font-size: 27px;
  white-space: nowrap;
}
.metric strong small {
  font-size: 10px;
  color: #13ac80;
  margin-left: 3px;
}
.metric p {
  font-size: 11px;
  margin: 0;
  color: #71867d;
  line-height: 1.7;
}
.notice {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #ffffffc9;
  border: 1px solid #dce7e4;
  box-shadow: 0 5px 20px #143c3005;
  padding: 13px 15px;
  border-radius: 15px;
  margin-bottom: 59px;
  font-size: 11px;
}
.notice b {
  background: #158c69;
  color: #fff;
  border-radius: 9px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-family: Georgia;
  font-size: 18px;
  flex-shrink: 0;
}
.notice p {
  margin: 0;
  flex: 1;
  color: #638080;
  line-height: 1.7;
}
.section-title {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 13px 0 7px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 25px 0 63px;
}
.benefit {
  padding: 23px 22px 29px;
  display: flex;
  gap: 15px;
  min-height: 128px;
  background: linear-gradient(145deg, #ffffff, #f9fcfb);
  border: 1px solid #dfe7e5;
  border-radius: 20px;
  box-shadow: 0 10px 23px #153e2d04;
}
.benefit .icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #e7f7f1;
  color: #05a177;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.benefit strong {
  font-size: 13px;
}
.benefit p {
  font-size: 12px;
  color: #758892;
  line-height: 1.8;
  margin: 9px 0 0;
}
.icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
.section-head p {
  font-size: 11px;
  color: #7f8b98;
  max-width: 450px;
  line-height: 1.8;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.search {
  flex: 1;
  min-width: 190px;
  position: relative;
}
.search input {
  padding-left: 36px;
}
.search:before {
  content: "⌕";
  font-size: 23px;
  color: #91a0b5;
  position: absolute;
  top: 6px;
  left: 13px;
}
.filter {
  border-radius: 25px;
  padding: 9px 14px;
  background: #f8f9ff;
  color: #747e90;
  border: 1px solid #e0e6f4;
  font-size: 12px;
}
.filter.selected {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.count {
  font-size: 11px;
  color: #8995aa;
  margin-left: auto;
}
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 68px;
}
.product {
  background: #fff;
  border: 1px solid #e2e8ec;
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 5px 20px #1e3c5006;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 25px #12353d0d;
}
.product-art {
  height: 148px;
  background: linear-gradient(125deg, #11a887, #078769);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
.product-art:before,
.product-art:after {
  content: "";
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 1px solid #ffffff25;
  right: -50px;
  top: -67px;
}
.product-art:after {
  width: 90px;
  height: 90px;
  left: -40px;
  top: 103px;
  right: auto;
}
.product-art.orange {
  background: linear-gradient(125deg, #f39d08, #fa494a);
}
.product-art.blue {
  background: linear-gradient(125deg, #347dff, #6960f2);
}
.product-art.purple {
  background: linear-gradient(125deg, #7954c6, #3e3ca7);
}
.product-art.dark {
  background: linear-gradient(125deg, #25415c, #122731);
}
.tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #142a4033;
  border: 1px solid #ffffff20;
  border-radius: 30px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 700;
}
.gpt-mark {
  width: 77px;
  height: 77px;
  border: 1px solid #ffffff70;
  border-radius: 24px;
  background: #ffffff2b;
  box-shadow: 0 15px 30px #15394520;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 850;
  position: relative;
}
.gpt-mark:before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #ffffff40;
  transform: rotate(32deg);
  border-radius: 15px;
}
.product-info {
  padding: 18px;
}
.product h3 {
  font-size: 14px;
  margin: 0 0 20px;
}
.product p {
  color: #8591a2;
  line-height: 1.8;
  font-size: 11px;
  min-height: 40px;
  margin-bottom: 18px;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price {
  font-size: 22px;
  font-weight: 750;
  color: #172f3b;
  letter-spacing: -0.8px;
}
.price small {
  font-size: 13px;
}
.delivery {
  font-size: 10px;
  background: #eaf8f1;
  color: #13966e;
  padding: 4px 7px;
  border-radius: 5px;
}
.footer {
  background: #eff5f3;
  border-top: 1px solid #dae5e2;
  margin-top: 35px;
  padding: 30px 0 20px;
  color: #36595b;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding-bottom: 22px;
}
.footer strong {
  font-size: 17px;
}
.footer p,
.footer .checks {
  font-size: 11px;
  color: #6f888d;
}
.footer-bottom {
  border-top: 1px solid #dce6e3;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  color: #8da0a4;
  font-size: 10px;
}
.support-float {
  position: fixed;
  right: 27px;
  bottom: 25px;
  background: linear-gradient(100deg, #133f35, #0c7d5d);
  box-shadow: 0 12px 32px #123f3338;
  color: #fff;
  z-index: 4;
  border-radius: 16px;
  padding: 12px 20px 12px 12px;
  display: flex;
  gap: 11px;
  align-items: center;
}
.support-float .bubble {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #82f4c9;
  color: #125644;
  font-size: 21px;
}
.support-float strong {
  display: block;
  font-size: 12px;
}
.support-float small {
  font-size: 10px;
  opacity: 0.8;
}
.page-content {
  min-height: calc(100vh - 310px);
  padding-top: 36px;
  padding-bottom: 36px;
}
.panel {
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  padding: 29px;
  box-shadow: 0 3px 14px #23396004;
}
.panel h2 {
  margin: 0 0 10px;
  font-size: 21px;
}
.panel h3 {
  margin: 0 0 18px;
  font-size: 16px;
}
.panel p {
  line-height: 1.8;
}
.narrow {
  max-width: 914px;
  margin: auto;
}
.redeem-banner {
  padding: 34px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 0, #ffffff08 0 160px, transparent 161px),
    linear-gradient(120deg, #14234f, #2546c7 70%, #3884ff);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 20px 45px #1a368324;
  overflow: hidden;
}
.redeem-banner .eyebrow {
  color: #c1d5ff;
  font-size: 12px;
}
.redeem-banner h1 {
  font-size: 39px;
  margin: 23px 0 18px;
}
.redeem-banner p {
  font-size: 14px;
  line-height: 1.8;
}
.chips {
  display: flex;
  gap: 8px;
  margin-top: 23px;
  flex-wrap: wrap;
}
.chips span {
  border: 1px solid #ffffff25;
  background: #ffffff16;
  border-radius: 30px;
  padding: 9px 12px;
  font-size: 11px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.row > *:first-child {
  flex: 1;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  margin-bottom: 22px;
}
.step-label {
  background: #ecf2ff;
  color: #405bf1;
  padding: 11px 13px;
  border-radius: 25px;
  font-size: 11px;
  white-space: nowrap;
  font-weight: 700;
}
label {
  display: block;
  font-weight: 650;
  font-size: 13px;
  margin: 17px 0 10px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #e4e9f3;
  background: #f9faff;
  color: #324155;
  border-radius: 10px;
  padding: 12px;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #7488ff;
  box-shadow: 0 0 0 3px #4f6cff0c;
  outline: none;
}
textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.6;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
input[type="radio"] {
  width: 16px;
}
code {
  font-family: ui-monospace, Consolas, monospace;
  overflow-wrap: anywhere;
  background: #f4f7fa;
  padding: 2px 5px;
  border-radius: 5px;
}
.hint {
  font-size: 11px;
  color: #77879b;
  line-height: 1.8;
  margin-top: 13px;
}
.hint strong {
  color: var(--blue);
}
.message {
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 13px;
  margin: 15px 0;
  background: #eef7f3;
  color: #187458;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.message.error {
  color: #ab3939;
  background: #fff0ef;
}
.message.info {
  color: #365792;
  background: #eef3ff;
}
.message:empty {
  display: none;
}
.auth-card {
  max-width: 462px;
  margin: 22px auto 58px;
  padding: 36px 34px;
}
.auth-card h1 {
  font-size: 28px;
  margin: 14px 0 10px;
}
.auth-card .eyebrow {
  color: #6574fb;
}
.full {
  width: 100%;
}
.auth-card .full {
  margin-top: 13px;
}
.auth-card .bottom {
  text-align: center;
  font-size: 13px;
  margin-top: 23px;
  color: #6d7c91;
}
.blue-text {
  color: var(--blue);
  font-weight: 650;
}
.query-card {
  padding: 22px;
  margin-bottom: 30px;
}
.query-card .row {
  align-items: stretch;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.order-card {
  margin: 15px 0;
  padding: 25px;
}
.order-card header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.status {
  font-size: 11px;
  display: inline-block;
  background: #ecf3ff;
  color: #3f66af;
  padding: 6px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.status.good {
  color: #058563;
  background: #e5f7f0;
}
.status.bad {
  background: #fff0e9;
  color: #a86825;
}
.order-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #81909f;
  font-size: 12px;
  margin: 12px 0 20px;
}
.code-box {
  background: #f1f8f5;
  border: 1px dashed #b1d8c7;
  border-radius: 12px;
  padding: 16px;
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.code-box code {
  background: transparent;
  color: #12664f;
  font-size: 13px;
  letter-spacing: 1px;
}
.empty {
  text-align: center;
  color: #8292a2;
  padding: 55px 20px;
  border: 1px dashed #d8e3e8;
  border-radius: 17px;
  background: #ffffff80;
}
.empty strong {
  display: block;
  color: #536878;
  font-size: 17px;
  margin: 10px;
}
.item-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
}
.item-layout .product-art {
  height: 270px;
  border-radius: 19px;
}
.item-layout .gpt-mark {
  transform: scale(1.6);
}
.item-details h1 {
  font-size: 29px;
  line-height: 1.4;
  margin: 10px 0 19px;
}
.item-details .price {
  font-size: 33px;
  margin-bottom: 10px;
}
.radio-line {
  display: flex;
  gap: 12px;
}
.radio-line label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.check-line {
  display: flex;
  align-items: start;
  gap: 9px;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.8;
}
.check-line input {
  margin-top: 4px;
}
.progress-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 25px 0;
  gap: 8px;
}
.progress-list span {
  background: #f1f4fa;
  border-radius: 10px;
  padding: 13px 5px;
  text-align: center;
  color: #8c98aa;
  font-size: 12px;
}
.progress-list .done {
  background: #e6f6ed;
  color: #14936b;
}
.progress-list .current {
  background: #edf0ff;
  color: #5064e5;
}
.hidden {
  display: none !important;
}
.text-button {
  padding: 0;
  background: none;
  color: var(--blue);
  font-weight: 500;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  background: #fff;
}
th,
td {
  text-align: left;
  padding: 15px 13px;
  border-bottom: 1px solid #e9edf2;
  white-space: nowrap;
  max-width: 350px;
  overflow-wrap: anywhere;
}
td.wrap-cell {
  white-space: normal;
  min-width: 180px;
}
th {
  font-weight: 600;
  color: #7e8a9b;
  background: #f8faff;
}
tr:last-child td {
  border: 0;
}
.admin-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.sidebar .brand {
  gap: 9px;
}
.sidebar .brand strong {
  font-size: 18px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-nav button {
  justify-content: start;
  font-weight: 500;
  background: transparent;
  color: #7d8998;
  font-size: 13px;
  padding: 14px 17px;
  border-radius: 11px;
}
.admin-nav button.active {
  color: #4e66ed;
  background: #eef1ff;
  font-weight: 700;
}
.sidebar-foot {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.9;
  color: #98a2b1;
}
.admin-main {
  min-width: 0;
}
.admin-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 35px;
  color: #6e7b8b;
}
.admin-bar strong {
  color: #344153;
  font-size: 14px;
}
.admin-body {
  padding: 32px 35px;
  max-width: 1600px;
  margin: auto;
}
.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 26px;
}
.admin-title h1 {
  font-size: 25px;
  margin: 0;
}
.admin-title p {
  margin-bottom: 0;
  color: #8b96a4;
  font-size: 12px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 25px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 16px;
}
.stat-card p {
  color: #8490a0;
  font-size: 12px;
  margin: 0 0 15px;
}
.stat-card strong {
  font-size: 30px;
  color: #283b55;
}
.stat-card small {
  display: block;
  color: #97a5b5;
  font-size: 10px;
  margin-top: 10px;
}
.admin-panels {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.admin-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}
.admin-panel h2 {
  font-size: 16px;
  margin: 0 0 20px;
}
.admin-actions {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.admin-actions label {
  margin-top: 0;
}
.admin-actions > * {
  min-width: 130px;
}
.admin-actions .field {
  max-width: 220px;
}
.table-tools {
  display: flex;
  justify-content: space-between;
  margin: 16px 0;
}
.configuration {
  list-style: none;
  padding: 0;
  margin: 0;
}
.configuration li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #edf0f5;
  padding: 17px 0;
  font-size: 12px;
}
.configuration li:last-child {
  border: 0;
}
.text-green {
  color: #129c79;
}
.product-editor {
  display: grid;
  grid-template-columns: 1fr 2fr 130px 100px 80px;
  gap: 15px;
  align-items: end;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.product-editor label {
  margin-top: 0;
}
.product-editor input {
  font-size: 12px;
}
.error-text {
  color: #bd4848;
}
.toast {
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  padding: 14px 23px;
  background: #163d33;
  color: #fff;
  z-index: 30;
  border-radius: 12px;
  box-shadow: 0 8px 30px #11342925;
  font-size: 13px;
  max-width: 90vw;
}
.spinner {
  width: 22px;
  height: 22px;
  display: inline-block;
  border: 2px solid #dde3f3;
  border-top-color: #526bf7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 60px;
  }
}
@media (max-width: 1100px) {
  .nav a {
    padding: 9px;
  }
  .hero {
    padding: 38px 36px 76px;
    gap: 25px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
  .metric {
    padding: 24px 20px;
    gap: 12px;
  }
  .admin-shell {
    grid-template-columns: 195px 1fr;
  }
  .sidebar {
    padding: 25px 14px;
  }
  .admin-body {
    padding: 25px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 18px;
  }
  .admin-panels {
    grid-template-columns: 1fr;
  }
  .product-editor {
    grid-template-columns: 1fr 1.3fr 100px 75px 70px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .header {
    height: auto;
    padding: 15px 0 10px;
  }
  .header .wrap {
    flex-wrap: wrap;
    gap: 14px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
    font-size: 21px;
  }
  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: space-between;
    gap: 0;
  }
  .nav a {
    font-size: 12px;
    padding: 9px 12px;
  }
  .hero {
    display: block;
    padding: 30px 24px 96px;
    border-radius: 22px;
    margin-top: 18px;
    margin-bottom: 55px;
  }
  .hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .hero p {
    font-size: 13px;
  }
  .flow {
    margin-top: 31px;
    padding: 22px;
  }
  .flow h2 {
    font-size: 18px;
    margin: 20px 0;
  }
  .flow-step {
    margin: 18px 0;
  }
  .flow-link {
    margin-top: 16px;
  }
  .metrics {
    left: 13px;
    right: 13px;
    bottom: -32px;
    border-radius: 16px;
  }
  .metric {
    display: block;
    padding: 17px 10px;
    text-align: center;
  }
  .metric strong {
    font-size: 23px;
  }
  .metric p {
    font-size: 9px;
    margin-top: 7px;
  }
  .metric p br {
    display: none;
  }
  .hero .checks {
    font-size: 10px;
    gap: 10px;
  }
  .notice {
    margin-bottom: 37px;
    align-items: start;
  }
  .notice .small {
    display: none;
  }
  .benefits {
    grid-template-columns: 1fr;
    margin-bottom: 43px;
    gap: 10px;
  }
  .benefit {
    min-height: 110px;
    padding: 22px 18px;
  }
  .section-title {
    font-size: 25px;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    font-size: 11px;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-art {
    height: 126px;
  }
  .product-info {
    padding: 14px;
  }
  .product h3 {
    font-size: 13px;
    line-height: 1.6;
    min-height: 41px;
    margin-bottom: 12px;
  }
  .product p {
    min-height: 60px;
  }
  .price {
    font-size: 20px;
  }
  .delivery {
    font-size: 9px;
    padding: 4px;
  }
  .filters {
    gap: 8px;
  }
  .search {
    flex-basis: 100%;
  }
  .count {
    font-size: 10px;
  }
  .product-bottom {
    gap: 8px;
    flex-wrap: wrap;
  }
  .footer-main {
    display: block;
  }
  .footer .checks {
    margin: 20px 0;
  }
  .footer-bottom {
    display: block;
    line-height: 2;
  }
  .footer-bottom span {
    display: block;
  }
  .support-float {
    right: 14px;
    bottom: 15px;
    padding: 10px;
  }
  .support-float .bubble {
    width: 30px;
    height: 30px;
  }
  .support-float small {
    display: none;
  }
  .support-float strong {
    font-size: 11px;
  }
  .page-content {
    padding: 24px 0;
  }
  .panel {
    padding: 22px 18px;
  }
  .redeem-banner {
    padding: 28px 23px;
    border-radius: 21px;
  }
  .redeem-banner h1 {
    font-size: 31px;
  }
  .redeem-banner p {
    font-size: 12px;
  }
  .redeem-banner .eyebrow {
    font-size: 10px;
  }
  .panel h2 {
    font-size: 19px;
  }
  .step-label {
    padding: 8px;
    font-size: 10px;
  }
  .row {
    flex-wrap: wrap;
  }
  .row > input {
    flex-basis: 100%;
  }
  .row > button {
    width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .auth-card {
    margin: 5px auto 20px;
    padding: 30px 24px;
  }
  .query-card .row {
    display: block;
  }
  .query-card button {
    margin-top: 12px;
    width: 100%;
  }
  .item-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .item-layout .product-art {
    height: 200px;
  }
  .item-layout .gpt-mark {
    transform: scale(1.3);
  }
  .order-card header {
    flex-wrap: wrap;
  }
  .order-meta {
    gap: 12px;
  }
  .code-box {
    flex-wrap: wrap;
  }
  .code-box code {
    font-size: 12px;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    padding: 15px 20px;
    gap: 15px;
    border-bottom: 1px solid var(--line);
  }
  .sidebar-foot {
    display: none;
  }
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 3px;
  }
  .admin-nav button {
    white-space: nowrap;
    font-size: 12px;
    padding: 10px 13px;
  }
  .admin-bar {
    height: 59px;
    padding: 0 20px;
  }
  .admin-body {
    padding: 24px 15px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card strong {
    font-size: 25px;
  }
  .admin-panel {
    padding: 18px 14px;
  }
  .product-editor {
    grid-template-columns: 1fr 1fr;
  }
  .product-editor .description-field {
    grid-column: 1/-1;
  }
  .admin-title h1 {
    font-size: 23px;
  }
  .admin-actions .field {
    max-width: none;
    flex: 1;
  }
  .admin-actions button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.products > .empty {
  grid-column: 1/-1;
}

.product-config-list { display: grid; gap: 16px; }
.product-config { margin: 0; }
.product-config summary { display: flex; gap: 20px; align-items: center; cursor: pointer; list-style: none; }
.product-config summary::-webkit-details-marker { display: none; }
.product-config summary > span:first-child { flex: 1; min-width: 140px; }
.product-config summary strong { display: block; font-size: 15px; }
.product-config summary small { display: block; color: var(--muted); margin-top: 8px; font-size: 11px; overflow-wrap: anywhere; }
.product-form { padding-top: 24px; margin-top: 20px; border-top: 1px solid var(--line); }
.product-form-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 16px; }
.product-form-grid .span-all { grid-column: 1/-1; }
.product-form-grid textarea { min-height: 90px; }
.product-form-grid label { margin-top: 0; }
.delivery-instructions { margin: 18px 0; padding: 16px 18px; background: #f5f7fb; border-radius: 12px; font-size: 13px; }
.delivery-instructions p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 16px; line-height: 1.8; }
.delivery-instructions p:last-child { margin-bottom: 0; }
.manual-delivery { border: 1px solid #d5e6dc; background: #f4faf6; padding: 20px; border-radius: 14px; margin: 20px 0; }
.manual-delivery pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; line-height: 1.9; font-size: 14px; }
[hidden] { display: none !important; }
@media (max-width: 900px) {
  .product-form-grid { grid-template-columns: 1fr 1fr; }
  .product-config summary { flex-wrap: wrap; gap: 12px; }
  .product-config summary > span:first-child { flex-basis: 100%; }
}
@media (max-width: 500px) { .product-form-grid { grid-template-columns: 1fr; } }

.shop-console .sidebar { background: #11172b; color: #d4d9ea; }
.card-console { --blue: #2c654f; background: #f4f6f1; }
.card-console .sidebar { background: #203f35; color: #d5e4da; }
.admin-shell .sidebar .brand strong { color: #fff; }
.admin-shell .sidebar .brand small { color: #a5b5c2; }
.admin-shell .sidebar .admin-nav button { color: #b8c5d1; }
.admin-shell .sidebar .admin-nav button:hover { background: #ffffff0d; color: #fff; }
.admin-shell .sidebar .admin-nav button.active { background: #ffffff17; color: #fff; }
.admin-shell .sidebar-foot { color: #a5b5c2; line-height: 2.3; }
.card-console .brand-mark { background: #e2edce; color: #2c654f; border-radius: 12px; clip-path: none; }
.admin-toolbar { display: flex; gap: 8px; }
.card-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.card-filters input { flex: 1 1 230px; margin: 0; }
.card-filters select { flex: 0 1 180px; margin: 0; }
.email-code-row { display: flex; align-items: stretch; gap: 10px; }
.email-code-row input { flex: 1; min-width: 0; margin: 0; }
.email-code-row button { flex: 0 0 auto; padding: 10px 12px; white-space: nowrap; font-size: 12px; }
.auth-card #code-help { margin: 9px 0 0; }
.auth-card #code-message { overflow-wrap: anywhere; }
.legacy-query-link { text-align: center; margin: 24px 0; }
.legacy-query-link a { text-decoration: underline; text-underline-offset: 3px; }
.order-query-modes { display: flex; justify-content: center; gap: 8px; margin: 0 auto 28px; }
.order-query-modes a { padding: 10px 24px; background: #fff; border: 1px solid #e1e6f1; border-radius: 12px; font-weight: 600; font-size: 14px; }
.order-query-modes a[aria-current=page] { color: var(--blue); border-color: #cbd3ff; background: #eef1ff; }
@media (max-width: 700px) {
  .card-filters select { flex: 1 1 130px; }
  .admin-bar strong { font-size: 12px; }
  .admin-toolbar .small { padding: 8px; font-size: 11px; }
}
/* Session instructions and local document import. */
.session-page .panel + .panel { margin-top: 20px; }
.session-guide { margin: 24px 0; }
.panel > .session-guide:first-child { margin: 0; }
.session-guide h2 { margin: 10px 0 22px; }
.session-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.session-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
.session-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #edf1ff; color: #4965e8; font-weight: 800; }
.session-steps strong { display: block; padding-top: 5px; }
.session-steps p { margin: 7px 0 0; color: #62728b; line-height: 1.8; }
.session-steps a, .session-entry a { color: #425ce5; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.session-link { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; padding: 12px 14px; background: #f5f7fc; border: 1px solid #e6eaf5; border-radius: 12px; }
.session-link a { flex: 1; min-width: 0; font-size: 13px; }
.session-link button { flex-shrink: 0; }
.session-guide > .hint { margin-top: 24px; padding-top: 16px; border-top: 1px solid #e8edf2; }
.session-file-box { background: #f7f9fc; border: 1px dashed #cdd7ec; border-radius: 14px; padding: 18px; margin: 20px 0; }
.session-file-box label { margin-top: 0; }
.session-file-box input[type=file] { background: white; height: auto; padding: 10px; width: 100%; min-width: 0; box-sizing: border-box; }
.session-file-box input::file-selector-button { border: 0; border-radius: 7px; padding: 8px 12px; margin-right: 12px; background: #eaf0ff; color: #354ea9; cursor: pointer; }
.session-file-box .message { overflow-wrap: anywhere; }
.session-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.session-actions button, .session-actions .button { min-height: 42px; }
.session-editor textarea, #session-form textarea { min-height: 170px; font-family: ui-monospace, Consolas, monospace; line-height: 1.6; }
.session-entry { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 16px 22px; margin: -2px 0 18px; border: 1px solid #dfe7f3; border-radius: 14px; background: #fff; color: #63738b; font-size: 13px; }
.session-entry a { font-weight: 700; }
@media (max-width: 640px) {
  .session-steps li { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .session-number { width: 30px; height: 30px; }
  .session-file-box { padding: 12px; }
  .session-actions > * { flex: 1 1 45%; text-align: center; }
  .session-link { padding: 10px; }
  .session-link a { flex-basis: 100%; }
}

/* ==========================================================================
   v10 theme layer: unified brand look. Appended last so it overrides the
   base rules above; mobile overrides live in the media block at the end.
   ========================================================================== */
:root {
  --blue: #3f5ef5;
  --blue-deep: #2338b8;
  --navy: #0f1c4d;
  --green: #0a9f7b;
  --accent: #5ee6c3;
  --ink: #15213b;
  --muted: #66758c;
  --line: #e3e8f2;
  --soft: #f4f6fb;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 30, 70, 0.04), 0 4px 14px rgba(16, 30, 70, 0.05);
  --shadow-md: 0 2px 6px rgba(16, 30, 70, 0.05), 0 14px 34px rgba(16, 30, 70, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 36, 110, 0.18);
  --ring: 0 0 0 4px rgba(63, 94, 245, 0.16);
  color: var(--ink);
  background: #f3f5fa;
}
body {
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 520px at 85% -120px, rgba(63, 94, 245, 0.09), transparent 70%),
    radial-gradient(900px 480px at -10% 0, rgba(94, 230, 195, 0.08), transparent 70%),
    #f3f5fa;
  background-attachment: fixed;
}
::selection { background: rgba(63, 94, 245, 0.18); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Buttons */
button, .button {
  border-radius: 12px;
  background: linear-gradient(135deg, #4d6bff, var(--blue-deep));
  box-shadow: 0 6px 16px rgba(52, 80, 230, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s, background 0.15s;
}
button:hover:not(:disabled), .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(52, 80, 230, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: none;
}
button:active:not(:disabled), .button:active { transform: translateY(0); }
.secondary {
  background: #fff;
  color: #34445e;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.secondary:hover:not(:disabled) { border-color: #c9d3ec; box-shadow: var(--shadow-md); }
.mint {
  background: linear-gradient(135deg, #7ff0d0, #4fd8b3);
  color: #06342a;
  box-shadow: 0 8px 20px rgba(60, 210, 170, 0.28);
}
.outline { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: none; }
.outline:hover { background: rgba(255, 255, 255, 0.12); }
.danger { background: #fff1f0; color: #c0353a; box-shadow: none; border: 1px solid #ffd9d6; }
.small { border-radius: 9px; font-size: 13px; }
.text-button, .text-button:hover:not(:disabled) { background: none; box-shadow: none; transform: none; }

/* Header: sticky glass bar */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(220, 227, 240, 0.8);
  box-shadow: 0 6px 24px rgba(16, 30, 70, 0.04);
}
.brand strong { color: var(--navy); }
.brand small { font-size: 9px; color: #8592ad; }
.nav a { font-size: 14px; color: #56637a; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--blue); background: rgba(63, 94, 245, 0.06); }
.nav a.active { color: var(--blue); background: #eef1ff; border-color: #d9e0ff; }
.auth-links { font-size: 14px; color: #56637a; }
.auth-links .pill-link {
  margin-left: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef1ff;
  color: var(--blue);
  font-weight: 650;
}

/* Home hero: same navy-blue brand gradient as the redeem banners */
.hero {
  background:
    radial-gradient(ellipse at 88% 0%, rgba(94, 230, 195, 0.22), transparent 48%),
    radial-gradient(ellipse at 0% 100%, rgba(77, 107, 255, 0.45), transparent 55%),
    linear-gradient(125deg, #0b1640 0%, #16297a 58%, #2548c8 100%);
  color: #f4f7ff;
  box-shadow: var(--shadow-lg);
}
.hero:before {
  background: repeating-radial-gradient(circle at 100% 0, transparent 0 139px, rgba(255, 255, 255, 0.045) 140px 195px);
}
.hero .eyebrow { color: #d6e2ff; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); font-size: 11px; }
.hero h1 em { color: var(--accent); }
.hero p { color: #d4ddf7; font-size: 15px; }
.checks { font-size: 13px; color: #c7d3f3; }
.checks span:before { color: var(--accent); }
.dot { background: var(--accent); box-shadow: 0 0 0 5px rgba(94, 230, 195, 0.16); }
.flow {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}
.flow-top { font-size: 11px; color: #b8c6ee; }
.online { font-size: 12px; color: #e3fff6; }
.flow-step b { background: rgba(94, 230, 195, 0.14); color: var(--accent); font-size: 13px; }
.flow-step strong { font-size: 14px; }
.flow-step p { font-size: 13px; color: #b9c7ec; }
.flow-link { background: rgba(6, 14, 48, 0.45); font-size: 14px; transition: background 0.15s; }
.flow-link:hover { background: rgba(6, 14, 48, 0.65); }
.metrics { background: rgba(255, 255, 255, 0.97); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-md); }
.metric + .metric { border-left-color: var(--line); }
.metric strong small { color: var(--green); font-size: 12px; }
.metric p { font-size: 13px; color: var(--muted); }

/* Notice, sections, benefits */
.notice { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); font-size: 13px; }
.notice b { background: linear-gradient(135deg, #4d6bff, var(--blue-deep)); }
.notice p { color: #56657c; }
.eyebrow { font-size: 12px; color: var(--blue); }
.section-title { color: var(--ink); }
.section-head p { font-size: 13px; color: var(--muted); }
.muted { font-size: 14px; }
.benefit {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.benefit:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #d6def0; }
.benefit .icon { background: #eef1ff; color: var(--blue); }
.benefit strong { font-size: 15px; }
.benefit p { font-size: 14px; color: var(--muted); }

/* Catalog */
.filters { border-color: var(--line); box-shadow: var(--shadow-sm); border-radius: var(--radius); }
.filter { font-size: 13px; background: #f6f8fd; color: #56637a; border-color: var(--line); box-shadow: none; }
.filter:hover:not(:disabled) { color: var(--blue); border-color: #cdd6fb; transform: none; box-shadow: none; }
.filter.selected { background: var(--blue); border-color: var(--blue); color: #fff; }
.count { font-size: 13px; color: #8390a7; }
.product { border-color: var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6def0; }
.product-art { background: linear-gradient(135deg, #12b48f, #077a62); }
.product-art.blue { background: linear-gradient(135deg, #4d6bff, #2338b8); }
.product-art.purple { background: linear-gradient(135deg, #8b5cf6, #4338ca); }
.product-art.orange { background: linear-gradient(135deg, #f7a531, #ef5b4b); }
.product-art.dark { background: linear-gradient(135deg, #2b3f6b, #111a36); }
.tag { font-size: 11px; background: rgba(10, 20, 50, 0.22); backdrop-filter: blur(4px); }
.product h3 { font-size: 16px; color: var(--ink); }
.product p { font-size: 13px; color: var(--muted); }
.price { color: var(--ink); }
.delivery { font-size: 12px; background: #e7f8f1; color: #08845f; border-radius: 6px; padding: 4px 8px; }

/* Footer and floating support */
.footer { background: #fff; border-top: 1px solid var(--line); color: #34445e; }
.footer p, .footer .checks { font-size: 13px; color: var(--muted); }
.footer .checks span:before { color: var(--green); }
.footer-bottom { border-top-color: var(--line); font-size: 12px; color: #8a96aa; }
.support-float {
  background: linear-gradient(120deg, #16297a, #3f5ef5);
  box-shadow: 0 14px 34px rgba(35, 56, 184, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.support-float:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(35, 56, 184, 0.42); }
.support-float .bubble { background: rgba(255, 255, 255, 0.16); color: #fff; }
.support-float strong { font-size: 13px; }
.support-float small { font-size: 11px; }

/* Panels, banners, forms */
.panel { border-color: var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.panel h2, .panel h3 { color: var(--ink); }
.redeem-banner {
  background:
    radial-gradient(ellipse at 92% 0%, rgba(94, 230, 195, 0.2), transparent 45%),
    radial-gradient(circle at 90% 0, rgba(255, 255, 255, 0.05) 0 160px, transparent 161px),
    linear-gradient(125deg, #0b1640 0%, #16297a 58%, #2548c8 100%);
  box-shadow: var(--shadow-lg);
}
.redeem-banner .eyebrow { color: #cfdbff; }
.redeem-banner p { color: #dbe3fb; }
.chips span { font-size: 13px; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.step-label { font-size: 12px; background: #eef1ff; color: var(--blue); }
label { font-size: 14px; color: #2b3954; }
input, textarea, select {
  background: #fff;
  border: 1px solid #dce3ef;
  border-radius: 12px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:hover, textarea:hover, select:hover { border-color: #c6d0e6; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: var(--ring); }
input::placeholder, textarea::placeholder { color: #9aa6ba; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue); }
.hint { font-size: 13px; color: #6b7a91; }
.message { font-size: 14px; border: 1px solid #cdeee0; }
.message.error { border-color: #ffd5d2; }
.message.info { border-color: #d6e0ff; }
.auth-card { border-radius: 24px; box-shadow: var(--shadow-md); }
.auth-card .eyebrow { color: var(--blue); }
.auth-card .bottom { font-size: 14px; }
.radio-line label { border-color: var(--line); background: #fff; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.radio-line label:has(input:checked) { border-color: var(--blue); background: #f3f5ff; box-shadow: var(--ring); }
.check-line { font-size: 14px; }

/* Orders and status */
.status { font-size: 12px; font-weight: 650; }
.order-meta { font-size: 13px; }
.code-box { background: #f2fbf7; border-color: #a9dcc6; }
.code-box code { font-size: 14px; }
.empty { background: #fff; border-color: #d6deec; }
.progress-list span { font-size: 13px; background: var(--soft); }
.order-query-modes a { border-color: var(--line); box-shadow: var(--shadow-sm); transition: border-color 0.15s, color 0.15s; }
.order-query-modes a:hover { color: var(--blue); }
.order-query-modes a[aria-current=page] { border-color: #c9d3ff; background: #eef1ff; }

/* Session page */
.session-number { background: #eef1ff; color: var(--blue); }
.session-steps p { color: #5d6c84; }
.session-link { background: var(--soft); border-color: var(--line); }
.session-file-box { background: #f8faff; border-color: #c9d4ee; }
.session-entry { border-color: var(--line); box-shadow: var(--shadow-sm); }

/* Admin consoles */
table { font-size: 13px; }
th { font-size: 12px; color: #66758c; background: #f7f9fd; }
tbody tr:hover td { background: #fafbff; }
.table-wrap { border-color: var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.shop-console .sidebar { background: linear-gradient(180deg, #0f1c4d, #0b1438); }
.admin-nav button { box-shadow: none; background: transparent; }
.admin-nav button:hover:not(:disabled) { transform: none; box-shadow: none; }
.admin-bar { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); }
.stat-card, .admin-panel { border-color: var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.stat-card p { font-size: 13px; }
.stat-card small { font-size: 12px; }
.stat-card strong { color: var(--ink); }
.sidebar-foot { font-size: 12px; }
.configuration li { font-size: 13px; }
.toast { background: var(--navy); box-shadow: var(--shadow-lg); border-radius: 14px; }
.spinner { border-color: #dfe5f6; border-top-color: var(--blue); }

/* Mobile adjustments for the theme layer */
@media (max-width: 760px) {
  body { font-size: 14px; background-attachment: scroll; }
  .nav a { font-size: 13px; }
  .auth-links { font-size: 13px; }
  .hero p { font-size: 14px; }
  .hero .checks { font-size: 12px; }
  .metric p { font-size: 11px; }
  .product h3 { font-size: 14px; }
  .product p { font-size: 12px; }
  .delivery { font-size: 11px; }
  .redeem-banner p { font-size: 14px; }
  .redeem-banner .eyebrow { font-size: 11px; }
  .step-label { font-size: 11px; }
  .support-float strong { font-size: 12px; }
  .benefit p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .product:hover, .benefit:hover, button:hover, .button:hover, .support-float:hover { transform: none; }
}
@media (max-width: 760px) {
  .header { position: relative; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
}
/* copy1: compact home banner without the flow card and metrics */
.hero.compact { display: block; padding: 34px 40px; margin: 20px auto 22px; }
.hero.compact h1 { font-size: 34px; letter-spacing: -1px; margin: 0 0 8px; }
.hero.compact .hero-actions { margin: 18px 0 0; }
@media (max-width: 760px) {
  .hero.compact { padding: 24px 20px; }
  .hero.compact h1 { font-size: 26px; }
}

/* ==========================================================================
   v11 theme layer: deep green on warm white. One brand hue; the three plans
   are told apart by depth of the same green. Appended last so it overrides v10.
   (--blue keeps its name because older rules reference it; it now holds the
   brand green.)
   ========================================================================== */
:root {
  --blue: #0e7c61;
  --blue-deep: #0b5f4b;
  --navy: #0f3d33;
  --green: #12a37f;
  --accent: #7fe3c4;
  --ink: #1f2a26;
  --muted: #6b756f;
  --line: #e6e2d6;
  --soft: #f3f0e7;
  --tint: #e4f4ee;
  --tint-line: #bfe3d6;
  --shadow-sm: 0 1px 2px rgba(31, 42, 38, 0.04), 0 4px 14px rgba(31, 42, 38, 0.05);
  --shadow-md: 0 2px 6px rgba(31, 42, 38, 0.05), 0 14px 34px rgba(31, 42, 38, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 61, 51, 0.16);
  --ring: 0 0 0 4px rgba(18, 163, 127, 0.18);
  background: #f7f5ef;
}
body { background: #f7f5ef; }
::selection { background: rgba(18, 163, 127, 0.2); }

button, .button {
  background: linear-gradient(135deg, #14906f, #0e7c61);
  box-shadow: 0 6px 16px rgba(14, 124, 97, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
button:hover:not(:disabled), .button:hover { box-shadow: 0 10px 22px rgba(14, 124, 97, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.secondary { background: #fff; color: #33423c; box-shadow: var(--shadow-sm); }
.secondary:hover:not(:disabled) { border-color: #cfc9b8; }
.mint { background: #7fe3c4; color: #06342a; box-shadow: 0 8px 20px rgba(6, 52, 42, 0.25); }
.outline { background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.danger { background: #fff1f0; color: #c0353a; box-shadow: none; }
.text-button, .text-button:hover:not(:disabled) { background: none; box-shadow: none; }
.filter, .filter:hover:not(:disabled) { box-shadow: none; }
.admin-nav button, .admin-nav button:hover:not(:disabled) { background: transparent; box-shadow: none; }

.header { border-bottom-color: rgba(230, 226, 214, 0.9); box-shadow: 0 6px 24px rgba(31, 42, 38, 0.04); }
.brand small { color: #8a938d; }
.nav a, .auth-links { color: #56625c; }
.nav a:hover { background: rgba(18, 163, 127, 0.07); }
.nav a.active { background: var(--tint); border-color: var(--tint-line); }
.auth-links .pill-link { background: var(--tint); }

.hero, .redeem-banner {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(127, 227, 196, 0.16), transparent 50%),
    linear-gradient(125deg, #0b2f27 0%, #0f3d33 55%, #14574a 100%);
  color: #f3fbf8;
}
.hero p, .redeem-banner p { color: #cfe5dd; }
.hero .eyebrow, .redeem-banner .eyebrow { color: #bfe3d6; }
.checks { color: #bcd9cf; }
.dot { box-shadow: 0 0 0 5px rgba(127, 227, 196, 0.16); }

.notice b { background: #0e7c61; }
.notice p { color: #56625c; }
.benefit:hover, .product:hover { border-color: #d9d3c2; }
.benefit .icon { background: var(--tint); }

.filter { background: #faf8f2; color: #56625c; }
.filter:hover:not(:disabled) { border-color: var(--tint-line); }
.count { color: #8a938d; }
.product-art { background: linear-gradient(135deg, #3cc7a2, #17a884); }
.product-art.orange { background: linear-gradient(135deg, #17a884, #0e7c61); }
.product-art.blue { background: linear-gradient(135deg, #14574a, #0b2f27); }
.product-art.purple { background: linear-gradient(135deg, #d39a2e, #a9730f); }
.product-art.dark { background: linear-gradient(135deg, #3d4a45, #1f2a26); }
.tag { background: rgba(6, 30, 24, 0.24); }
.delivery { background: var(--tint); color: #0b5f4b; }

.footer { color: #33423c; }
.footer-bottom { color: #8a938d; }
.support-float { background: #0f3d33; box-shadow: 0 14px 34px rgba(15, 61, 51, 0.3); }
.support-float:hover { box-shadow: 0 18px 40px rgba(15, 61, 51, 0.38); }

.step-label { background: var(--tint); }
label { color: #2b3833; }
input, textarea, select { border-color: #ddd8ca; }
input:hover, textarea:hover, select:hover { border-color: #c9c3b2; }
input::placeholder, textarea::placeholder { color: #a0a79f; }
.hint { color: #6b756f; }
.message.info { color: #0b5f4b; background: var(--tint); border-color: var(--tint-line); }
.radio-line label:has(input:checked) { background: #f1faf6; }
.status { background: #efece2; color: #5c665f; }
.status.good { background: #e0f5ec; color: #0b6b53; }
.status.bad { background: #fdeee2; color: #a2571a; }
.empty { border-color: #ddd8ca; }
.order-query-modes a[aria-current=page] { border-color: var(--tint-line); background: var(--tint); }

.session-number { background: var(--tint); }
.session-steps p { color: #5c665f; }
.session-file-box { background: #fbfaf5; border-color: #d6d0bf; }

th { color: #6b756f; background: #faf8f2; }
tbody tr:hover td { background: #fcfbf7; }
.shop-console { background: #f7f5ef; }
.shop-console .sidebar { background: #1f2a26; }
.card-console .sidebar { background: #0f3d33; }
.spinner { border-color: #e6e2d6; border-top-color: var(--blue); }
.brand-mark { background: linear-gradient(140deg, #17a884, #0b5f4b); filter: drop-shadow(0 4px 10px rgba(18, 163, 127, 0.3)); }
.admin-nav button.active { color: var(--blue); background: var(--tint); }
.text-green { color: #0e7c61; }
.session-steps a, .session-entry a { color: var(--blue); }
.progress-list span.current { background: #fdf3df; color: #8a5a0b; border-color: #f0d9a6; }
