:root {
  color-scheme: light;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  background: #f5f6f8;
  color: #1e2430;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.admin-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 14px 28px;
  background: #151922;
  color: white;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
}

.admin-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.wrap {
  width: min(1120px, calc(100vw - 32px));
  margin: 28px auto;
}

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  background: white;
  border: 1px solid #e2e6ef;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(24, 31, 43, .08);
}

.narrow {
  width: min(420px, 100%);
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.brand-chip {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.brand-chip.active {
  border-color: #246bfe;
  box-shadow: 0 0 0 2px rgba(36, 107, 254, .12);
}

.brand-chip span {
  color: #667085;
  font-size: 13px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.metric-card {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(24, 31, 43, .06);
}

.metric-card span,
.metric-card small {
  color: #667085;
}

.metric-card strong {
  font-size: 26px;
  line-height: 1.1;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
  gap: 16px;
  align-items: start;
}

.dashboard-grid .panel h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

.work-list li {
  padding: 12px;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.work-list li.hot {
  border-color: #246bfe;
  background: #f3f7ff;
}

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

.rating-bars,
.rating-trend {
  display: grid;
  gap: 12px;
}

.bar-row,
.trend-day {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 82px;
  gap: 10px;
  align-items: center;
}

.trend-day {
  grid-template-columns: 96px minmax(0, 1fr) 110px;
}

.bar-row strong,
.trend-day strong {
  white-space: nowrap;
}

.bar-row em {
  color: #667085;
  font-style: normal;
  text-align: right;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #edf1f7;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #246bfe, #17b26a);
}

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

.reason-list li {
  padding: 12px;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.reason-list p {
  margin: 8px 0;
}

.contact-status-form {
  display: grid;
  grid-template-columns: 120px minmax(160px, 1fr) auto;
  gap: 8px;
  min-width: 360px;
}

.contact-status-form button {
  min-height: 38px;
}

.note {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #475467;
  background: #f2f4f7;
}

.full {
  width: 100%;
}

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

.usage-card,
.status-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(24, 31, 43, .06);
}

.usage-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.usage-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #edf1f7;
}

.usage-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #246bfe;
}

.status-card.ok {
  border-color: #b8dfca;
  background: #f3fbf6;
}

.status-card.warn {
  border-color: #f0c7c0;
  background: #fff7f5;
}

.status-card span,
.usage-card span,
.usage-card small {
  color: #667085;
}

h1, h2, p {
  margin-top: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.2;
}

h2 {
  margin: 34px 0 12px;
  font-size: 21px;
}

.muted {
  color: #667085;
}

.error {
  color: #c0362c;
  min-height: 20px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #303848;
}

input, textarea, select {
  width: 100%;
  min-width: 0;
  border: 1px solid #cdd5e1;
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  color: #1e2430;
  background: white;
}

textarea {
  resize: vertical;
}

button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  background: #246bfe;
  color: white;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
}

.button.ghost {
  background: #edf1f7;
  color: #1e2430;
}

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

.form-grid h1,
.form-grid .wide,
.form-grid .actions {
  grid-column: 1 / -1;
}

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

.check input {
  width: auto;
}

.actions {
  display: flex;
  gap: 12px;
}

.qr-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.table-head,
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.table-head {
  margin-bottom: 12px;
}

.table-head h2 {
  margin: 0;
}

.pager {
  margin-top: 16px;
  color: #667085;
}

.pager-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.button.disabled {
  pointer-events: none;
  cursor: default;
  opacity: .48;
}

.upload-box {
  border: 1px dashed #b8c4d6;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.upload-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 13px 10px;
  border-bottom: 1px solid #e7ebf2;
  text-align: left;
  vertical-align: middle;
}

th {
  color: #667085;
  font-size: 13px;
}

code {
  background: #f0f3f8;
  padding: 3px 6px;
  border-radius: 5px;
}

.swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.asset-list {
  line-height: 2;
}

.public {
  --brand: #246bfe;
  background: #f4f7fb;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.public * {
  max-width: 100%;
  min-width: 0;
}

.mobile-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  padding: 20px max(18px, calc((100vw - 1040px) / 2)) 30px;
  color: white;
  background:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(119, 214, 255, .38), transparent 24%),
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, .18), transparent 22%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand), #031026 36%), color-mix(in srgb, var(--brand), #0b66ff 8%) 52%, #1357e8);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .2), 0 16px 34px rgba(17, 67, 180, .22);
}

.mobile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, .12) 42% 43%, transparent 43% 100%),
    linear-gradient(22deg, rgba(255, 255, 255, .09), transparent 38%);
  opacity: .72;
  pointer-events: none;
}

.mobile-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
}

.mobile-topbar strong {
  font-size: 18px;
}

.mobile-topbar span {
  opacity: .82;
}

.support-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff4a9;
  background: rgba(6, 22, 50, .32);
  border: 1px solid rgba(255, 221, 72, .48);
  font-size: 13px;
  font-weight: 900;
  opacity: 1;
  box-shadow: 0 10px 22px rgba(0, 18, 55, .18);
}

.lang-toggle {
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.mobile-hero h1 {
  max-width: 760px;
  font-size: clamp(30px, 7vw, 52px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.mobile-hero p {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.65;
  opacity: .95;
}

.pill-action,
.quick-actions a,
.mail-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, .16);
  color: white;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .25);
}

.quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.product-hero .quick-actions {
  margin-bottom: 24px;
}

.kllstrat-page {
  background: #eef3f8;
}

.kllstrat-page .mobile-hero {
  --brand: #1f6bff;
  background:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
    radial-gradient(circle at 83% 10%, rgba(255, 221, 72, .26), transparent 24%),
    radial-gradient(circle at 12% 20%, rgba(91, 197, 255, .34), transparent 28%),
    linear-gradient(150deg, #071832 0%, #113f95 48%, #1f6bff 100%);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
}

.kllstrat-page .mobile-topbar strong {
  letter-spacing: .04em;
}

.kllstrat-page .mobile-hero h1 {
  max-width: 560px;
  text-wrap: balance;
}

.story-copy {
  max-width: 620px;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .92);
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 100%;
  margin: 2px 0 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 221, 72, .45);
  border-radius: 999px;
  color: #fff4a9;
  background: rgba(6, 22, 50, .32);
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.product-name-line {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.support-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.support-path a {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce5f1;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  color: inherit;
  text-decoration: none;
}

.support-path span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #10213f;
  background: #ffe15a;
  font-weight: 900;
  font-size: 12px;
}

.support-path strong {
  display: block;
  margin-bottom: 7px;
  color: #0f172a;
  font-size: 16px;
}

.support-path p {
  margin: 0;
  color: #526173;
  font-size: 14px;
  line-height: 1.55;
}

.kllstrat-page .manual-link,
.kllstrat-page .contact-form button,
.kllstrat-page .rating-submit {
  background: linear-gradient(135deg, #1f6bff, #0e4ccc);
}

.mobile-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.mobile-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

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

.manual-link {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.mobile-section h2 {
  margin-top: 0;
}

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

.step-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.step-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand), white 84%);
  color: var(--brand);
  font-weight: 900;
}

.step-list p {
  margin: 4px 0 0;
}

.contact-card {
  border-color: color-mix(in srgb, var(--brand), white 55%);
}

.warranty-card {
  border-color: color-mix(in srgb, var(--brand), white 48%);
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--brand), white 94%));
}

.warranty-head {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: start;
}

.warranty-head > span {
  display: grid;
  place-items: center;
  min-height: 76px;
  border-radius: 12px;
  background: var(--brand);
  color: white;
  font-weight: 900;
  text-align: center;
}

.warranty-head h2 {
  margin-bottom: 6px;
}

.warranty-form {
  margin-top: 14px;
}

.coupon-box {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 14px;
  border: 1px dashed color-mix(in srgb, var(--brand), white 35%);
  border-radius: 12px;
  background: white;
}

.coupon-box span {
  color: #667085;
  font-weight: 800;
}

.coupon-box strong {
  font-size: 26px;
  color: var(--brand);
}

.coupon-box code {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid #dfe6f0;
  background: #f8fafc;
  font-size: 16px;
  font-weight: 900;
}

.coupon-box p {
  margin: 0;
}

.rating-box {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.rating-box h3,
.rating-box p {
  margin: 0;
}

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

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

.stars span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  background: white;
  color: #475467;
  font-weight: 900;
  white-space: nowrap;
}

.stars input:checked + span {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand), transparent 84%);
}

.review-reason {
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form button {
  width: 100%;
}

.contact-form .mail-link {
  background: #eef2f7;
  color: #1e2430;
  border-color: #d9e0ea;
}

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

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

.success {
  border-radius: 8px;
  padding: 10px 12px;
  background: #ecfdf3;
  color: #067647;
  font-weight: 800;
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
}

.chat-bubble {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 20px;
  max-width: calc(100vw - 28px);
  white-space: nowrap;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .24);
  background: var(--brand);
}

.chat-panel {
  width: min(360px, calc(100vw - 28px));
  max-height: 78vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  border-radius: 18px;
  padding: 14px;
  background: white;
  border: 1px solid #d8e0ec;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
  animation: rise .18s ease-out;
}

.chat-panel[hidden],
.chat-bubble[hidden],
.chat-profile[hidden],
.chat-send[hidden] {
  display: none;
}

.chat-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-close {
  width: 32px;
  min-height: 32px;
  border-radius: 50%;
  padding: 0;
  background: #eef2f7;
  color: #1e2430;
}

.chat-intro {
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}

.chat-messages {
  display: grid;
  gap: 8px;
  min-height: 120px;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border-radius: 12px;
  background: #f6f8fb;
}

.buyer-chat {
  justify-self: end;
  max-width: 86%;
  padding: 9px 11px;
  border-radius: 12px;
  color: white;
  background: var(--brand);
  border: 1px solid var(--brand);
}

.buyer-chat.admin {
  justify-self: start;
  color: #1e2430;
  background: white;
  border-color: #e3e8f0;
}

.buyer-chat span,
.chat-msg span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  opacity: .7;
  text-transform: uppercase;
}

.buyer-chat p,
.chat-msg p {
  margin: 3px 0 0;
}

.chat-profile,
.chat-send,
.reply-form {
  display: grid;
  gap: 8px;
}

.chat-send {
  grid-template-columns: 1fr auto;
}

.chat-admin-grid {
  display: grid;
  gap: 16px;
}

.chat-admin-card {
  display: grid;
  gap: 12px;
  border: 1px solid #dfe6f0;
  border-radius: 12px;
  padding: 16px;
  background: white;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.chat-admin-card.unread {
  border-color: #246bfe;
  box-shadow: 0 0 0 2px rgba(36, 107, 254, .12), 0 12px 34px rgba(15, 23, 42, .06);
}

.inline-form {
  margin: 0;
}

.stacked-form {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.stacked-form input[type="date"] {
  min-height: 36px;
  padding: 8px 10px;
}

.chat-admin-card header {
  display: grid;
  gap: 3px;
}

.chat-admin-card header span,
.chat-admin-card header small {
  color: #667085;
}

.chat-linked-warranty {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #b7dfc9;
  border-radius: 8px;
  background: #f0fdf4;
}

.chat-linked-warranty.warn {
  border-color: #fedf89;
  background: #fffbeb;
}

.chat-linked-warranty span {
  color: #475467;
  font-size: 13px;
}

.chat-log {
  display: grid;
  gap: 8px;
  max-height: 340px;
  overflow: auto;
  padding: 10px;
  border-radius: 10px;
  background: #f7f9fc;
}

.chat-msg {
  width: fit-content;
  max-width: min(680px, 92%);
  padding: 9px 11px;
  border-radius: 12px;
  background: white;
  border: 1px solid #e3e8f0;
}

.chat-msg.admin {
  justify-self: end;
  color: white;
  background: #246bfe;
}

.chat-msg small {
  color: inherit;
  opacity: .72;
}

.stat-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 10px;
  background: white;
  border: 1px solid #dfe6f0;
  color: inherit;
  text-decoration: none;
}

.stat-card:hover {
  border-color: #246bfe;
  box-shadow: 0 0 0 2px rgba(36, 107, 254, .10);
}

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

.hero {
  padding: 44px max(24px, calc((100vw - 1040px) / 2)) 38px;
  color: white;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand), #111 18%), var(--brand));
}

.brandmark {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 26px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 6vw, 58px);
  margin-bottom: 12px;
}

.hero p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
}

.public-list,
.content {
  width: min(1040px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 58px;
}

.product-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 14px;
  background: white;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

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

.product-card span {
  color: #667085;
}

.cover {
  display: block;
  width: min(620px, 100%);
  height: auto;
  max-height: 390px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  margin-top: 18px;
  padding: clamp(10px, 2.8vw, 20px);
  border: 1px solid rgba(255, 255, 255, .38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(245, 249, 255, .88)),
    radial-gradient(circle at 50% 100%, rgba(51, 111, 255, .18), transparent 56%);
  box-shadow:
    0 24px 55px rgba(0, 22, 81, .28),
    inset 0 1px 0 rgba(255, 255, 255, .86);
}

.product-hero .cover {
  transform: translateY(var(--cover-y, 0px)) scale(var(--cover-scale, 1));
  transform-origin: center top;
  opacity: var(--cover-opacity, 1);
  filter: saturate(var(--cover-saturation, 1)) blur(var(--cover-blur, 0px));
  will-change: transform, opacity, filter;
  transition: transform .12s linear, opacity .12s linear, filter .12s linear;
}

.motion-ready .support-path a,
.motion-ready .mobile-section {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition:
    opacity .56s ease,
    transform .56s cubic-bezier(.22, 1, .36, 1),
    box-shadow .28s ease,
    border-color .28s ease;
}

.motion-ready .support-path a.is-visible,
.motion-ready .mobile-section.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.motion-ready .support-path a:nth-child(2) {
  transition-delay: .06s;
}

.motion-ready .support-path a:nth-child(3) {
  transition-delay: .12s;
}

@media (prefers-reduced-motion: reduce) {
  .product-hero .cover,
  .motion-ready .support-path a,
  .motion-ready .mobile-section {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

.content {
  font-size: 17px;
  line-height: 1.75;
  max-width: calc(100vw - 32px);
  overflow-x: hidden;
}

.content ol {
  padding-left: 24px;
}

.video-grid, .image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.video-grid iframe,
.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: #111;
}

.image-grid img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e4e8f0;
}

details {
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

summary {
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 720px) {
  html,
  body,
  .public {
    overscroll-behavior-x: none;
    touch-action: pan-y;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .admin-nav {
    overflow-x: auto;
    padding: 12px 16px;
  }

  .page-head,
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .dashboard-grid,
  .server-grid,
  .rating-layout {
    grid-template-columns: 1fr;
  }

  .bar-row,
  .trend-day {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .bar-row em,
  .trend-day strong {
    grid-column: 2;
    text-align: left;
  }

  .contact-status-form {
    grid-template-columns: 1fr;
    min-width: 220px;
  }

  .warranty-head {
    grid-template-columns: 1fr;
  }

  .warranty-head > span {
    width: 92px;
  }

  .mobile-hero {
    width: 100%;
    max-width: 100%;
    padding: 14px 12px 18px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
  }

  .mobile-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
  }

  .mobile-topbar strong {
    overflow-wrap: anywhere;
  }

  .mobile-topbar .lang-toggle {
    justify-self: end;
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .support-badge {
    grid-column: 1 / 2;
    width: fit-content;
    min-height: 30px;
    justify-content: flex-start;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 12px;
  }

  .mobile-hero h1 {
    font-size: clamp(27px, 7.5vw, 34px);
    line-height: 1.12;
    margin-bottom: 8px;
  }

  .product-hero .quick-actions {
    margin: 12px 0 14px;
  }

  .kllstrat-page .mobile-hero {
    padding-bottom: 16px;
  }

  .kllstrat-page .mobile-hero h1 {
    font-size: clamp(30px, 8vw, 36px);
  }

  .story-copy {
    max-width: calc(100vw - 24px);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .hero-trust {
    display: flex;
    width: 100%;
    min-height: auto;
    padding: 9px 11px;
    border-radius: 12px;
    line-height: 1.35;
  }

  .product-name-line {
    font-size: 12px;
    line-height: 1.45;
  }

  .support-path {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .support-path a {
    padding: 14px;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  .public-list,
  .content {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding-top: 14px;
  }

  .mobile-product .content,
  .mobile-section,
  .warranty-card,
  .rating-box {
    min-width: 0;
  }

  .mobile-section h2,
  .rating-box h3,
  .rating-box p,
  .mobile-section p,
  label {
    overflow-wrap: anywhere;
  }

  .cover {
    width: 100%;
    max-width: calc(100vw - 24px);
    max-height: 204px;
    aspect-ratio: 16 / 10;
    margin-top: 10px;
    padding: 8px;
    border-radius: 10px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    box-shadow: 0 18px 38px rgba(0, 20, 80, .22);
  }

  .video-grid,
  .image-grid {
    grid-template-columns: 1fr;
  }

  .mobile-section {
    padding: 14px;
  }

  .quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .quick-actions a {
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }

  .stars {
    gap: 4px;
  }

  .stars span {
    min-height: 38px;
    font-size: 13px;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
  }

  .chat-bubble {
    min-height: 42px;
    max-width: min(190px, calc(100vw - 24px));
    padding: 0 14px;
    font-size: 13px;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .chat-panel {
    width: calc(100vw - 24px);
  }

  .mobile-product .content {
    padding-bottom: 92px;
  }
}

/* 2026-06 UI refresh layer */
:root {
  --ink: #0b1220;
  --soft-ink: #44546a;
  --line: #d9e2ef;
  --panel: rgba(255, 255, 255, .92);
  --panel-strong: #fff;
  --admin-blue: #246bfe;
  --admin-green: #16a36a;
  --admin-yellow: #ffd84d;
}

body.admin-shell {
  min-height: 100vh;
  background:
    linear-gradient(rgba(36, 107, 254, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 107, 254, .03) 1px, transparent 1px),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 48%, #f7f9fc 100%);
  background-size: 28px 28px, 28px 28px, auto;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body.admin-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(36, 107, 254, .08) 38% 39%, transparent 39% 100%),
    linear-gradient(24deg, transparent 0 62%, rgba(22, 163, 106, .055) 62% 63%, transparent 63% 100%);
}

.admin-nav {
  gap: 6px;
  min-height: 52px;
  padding: 9px max(14px, calc((100vw - 1260px) / 2));
  background: rgba(9, 15, 29, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(8, 14, 28, .18);
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-nav::-webkit-scrollbar {
  display: none;
}

.admin-nav::before {
  content: "AfterCare CMS";
  flex: 0 0 auto;
  margin-right: 10px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 216, 77, .42);
  border-radius: 999px;
  color: #fff7c4;
  background: rgba(255, 216, 77, .10);
  font-weight: 900;
  letter-spacing: .02em;
}

.admin-nav a {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: white;
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .18);
}

.admin-nav a.active {
  box-shadow: inset 0 0 0 1px rgba(255, 216, 77, .16);
}

.admin-nav a:hover {
  transform: translateY(-1px);
}

.wrap {
  width: min(1180px, calc(100vw - 40px));
  margin: 32px auto 72px;
}

.page-head {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(11, 18, 32, .08);
}

.page-head h1 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0;
}

.page-head .muted {
  max-width: 760px;
}

.panel,
.metric-card,
.usage-card,
.status-card,
.chat-admin-card,
.brand-chip,
.stat-card,
.work-list li,
.product-card,
.mobile-section,
.support-path a,
.chat-panel,
.rating-box {
  border-radius: 8px;
}

.panel,
.metric-card,
.usage-card,
.status-card,
.chat-admin-card {
  border-color: rgba(151, 164, 185, .34);
  background: var(--panel);
  box-shadow:
    0 18px 46px rgba(15, 23, 42, .07),
    inset 0 1px 0 rgba(255, 255, 255, .72);
}

.panel {
  padding: clamp(18px, 2.4vw, 28px);
}

.panel h2:first-child,
.chat-admin-card h2:first-child {
  margin-top: 0;
}

.muted {
  color: var(--soft-ink);
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 14px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 18px 18px 16px;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-blue), var(--admin-green), var(--admin-yellow));
}

.metric-card::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(36, 107, 254, .14);
  border-radius: 50%;
  background:
    linear-gradient(90deg, rgba(36, 107, 254, .16) 1px, transparent 1px),
    linear-gradient(rgba(36, 107, 254, .12) 1px, transparent 1px);
  background-size: 9px 9px;
  opacity: .7;
}

.metric-card strong {
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: 0;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, .9fr);
  gap: 18px;
}

.dashboard-grid .panel {
  min-width: 0;
}

.work-list li {
  background: rgba(248, 251, 255, .82);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.work-list li:hover {
  border-color: rgba(36, 107, 254, .34);
  background: white;
  transform: translateY(-1px);
}

.brand-grid {
  gap: 12px;
}

.brand-chip,
.stat-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .82);
  border-color: rgba(151, 164, 185, .32);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.brand-chip:hover,
.stat-card:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 107, 254, .48);
  box-shadow: 0 16px 36px rgba(36, 107, 254, .10);
}

.brand-chip.active,
.stat-card.active {
  border-color: var(--admin-blue);
  background:
    linear-gradient(180deg, rgba(36, 107, 254, .08), rgba(255, 255, 255, .9));
  box-shadow: 0 0 0 2px rgba(36, 107, 254, .12), 0 16px 36px rgba(36, 107, 254, .08);
}

input,
textarea,
select {
  border-color: #cbd6e5;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: var(--admin-blue);
  box-shadow: 0 0 0 3px rgba(36, 107, 254, .14);
  background: white;
}

button,
.button {
  border-radius: 8px;
  background: linear-gradient(135deg, #246bfe, #1856d6);
  box-shadow: 0 10px 22px rgba(36, 107, 254, .18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}

button:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(36, 107, 254, .24);
}

.button.ghost {
  background: #edf3fb;
  color: #10213f;
  box-shadow: none;
}

.button.ghost:hover {
  background: #e2ebf8;
  box-shadow: none;
}

table {
  border-spacing: 0;
  border-collapse: separate;
}

th {
  background: rgba(244, 248, 253, .86);
  color: #53647b;
  font-size: 12px;
  letter-spacing: .02em;
}

th:first-child {
  border-top-left-radius: 8px;
}

th:last-child {
  border-top-right-radius: 8px;
}

td {
  background: rgba(255, 255, 255, .48);
}

tbody tr {
  transition: background .16s ease;
}

tbody tr:hover td {
  background: #f8fbff;
}

code {
  color: #183153;
  background: #eef4fb;
  border: 1px solid #dbe5f1;
}

.upload-box {
  border-color: rgba(36, 107, 254, .28);
  background:
    linear-gradient(90deg, rgba(36, 107, 254, .06) 1px, transparent 1px),
    linear-gradient(rgba(36, 107, 254, .05) 1px, transparent 1px),
    #f8fbff;
  background-size: 18px 18px;
}

.chat-admin-card {
  overflow: hidden;
}

.chat-admin-card.unread {
  border-color: var(--admin-blue);
  background:
    linear-gradient(180deg, rgba(36, 107, 254, .06), rgba(255, 255, 255, .94));
}

.chat-log,
.chat-messages {
  background:
    linear-gradient(90deg, rgba(36, 107, 254, .035) 1px, transparent 1px),
    linear-gradient(rgba(36, 107, 254, .03) 1px, transparent 1px),
    #f7faff;
  background-size: 22px 22px;
}

.chat-msg,
.buyer-chat {
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.chat-linked-warranty {
  border-color: rgba(22, 163, 106, .34);
  background: linear-gradient(180deg, #f0fdf4, #fbfffd);
}

.server-grid {
  gap: 18px;
}

.usage-bar {
  height: 12px;
  background: #e8eef7;
}

.usage-bar i {
  background: linear-gradient(90deg, var(--admin-blue), var(--admin-green));
}

body.public-shell {
  background: #eef4fb;
}

.public {
  background:
    linear-gradient(rgba(36, 107, 254, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 107, 254, .025) 1px, transparent 1px),
    linear-gradient(180deg, #f6f9fd 0%, #eef4fb 38%, #f8fbff 100%);
  background-size: 30px 30px, 30px 30px, auto;
  color: #0b1220;
}

.mobile-hero {
  padding-top: clamp(22px, 4vw, 42px);
  padding-bottom: clamp(24px, 4.2vw, 42px);
  background:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 44%, rgba(255, 255, 255, .14) 44% 45%, transparent 45% 100%),
    linear-gradient(150deg, #071832 0%, color-mix(in srgb, var(--brand), #0b244f 42%) 54%, #1f6bff 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  box-shadow: 0 22px 46px rgba(17, 67, 180, .24);
}

.mobile-hero::before {
  background:
    linear-gradient(100deg, transparent 0 34%, rgba(255, 216, 77, .16) 34% 35%, transparent 35% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 44%);
  animation: techSweep 8s ease-in-out infinite alternate;
}

.mobile-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
  transform: translateX(-120%);
  animation: scanPass 7s ease-in-out infinite;
}

.mobile-topbar {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.mobile-topbar strong {
  letter-spacing: .04em;
}

.support-badge {
  min-height: 36px;
  padding: 0 16px;
  color: #fff5a8;
  background:
    linear-gradient(90deg, rgba(255, 216, 77, .13), rgba(255, 255, 255, .055));
  border-color: rgba(255, 216, 77, .62);
  box-shadow: 0 0 0 1px rgba(255, 216, 77, .08), 0 12px 30px rgba(0, 18, 55, .16);
}

.lang-toggle {
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(10px);
}

.mobile-hero h1 {
  max-width: 780px;
  letter-spacing: 0;
}

.story-copy,
.mobile-hero p {
  color: rgba(255, 255, 255, .88);
}

.quick-actions {
  margin: 20px 0 22px;
}

.pill-action,
.quick-actions a {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pill-action:hover,
.quick-actions a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .20);
  border-color: rgba(255, 216, 77, .58);
  box-shadow: 0 10px 28px rgba(0, 24, 72, .16), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.cover {
  width: min(720px, 100%);
  height: clamp(280px, 40vw, 450px);
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
  padding: clamp(10px, 2.6vw, 22px);
  background:
    linear-gradient(90deg, rgba(36, 107, 254, .045) 1px, transparent 1px),
    linear-gradient(rgba(36, 107, 254, .04) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff, #f8fbff);
  background-size: 22px 22px, 22px 22px, auto;
  box-shadow:
    0 24px 58px rgba(0, 22, 81, .30),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  animation: productSettle .62s cubic-bezier(.22, 1, .36, 1) both;
}

.kllstrat-page .mobile-hero {
  background:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(112deg, transparent 0 47%, rgba(255, 255, 255, .13) 47% 48%, transparent 48% 100%),
    linear-gradient(150deg, #071832 0%, #103a83 48%, #1f6bff 100%);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.kllstrat-page .mobile-hero h1 {
  max-width: 640px;
}

.content,
.public-list {
  width: min(1040px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
}

.support-path {
  gap: 14px;
}

.support-path a {
  position: relative;
  overflow: hidden;
  min-height: 136px;
  border-color: rgba(151, 164, 185, .30);
  background:
    linear-gradient(90deg, rgba(36, 107, 254, .035) 1px, transparent 1px),
    linear-gradient(rgba(36, 107, 254, .03) 1px, transparent 1px),
    linear-gradient(180deg, #fff, #f8fbff);
  background-size: 18px 18px, 18px 18px, auto;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.support-path a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd84d, #246bfe, #16a36a);
}

.support-path a:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 107, 254, .36);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}

.support-path span {
  min-width: 36px;
  color: #111827;
  background: linear-gradient(135deg, #ffe76b, #ffc83d);
}

.mobile-section {
  border-color: rgba(151, 164, 185, .30);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(252, 254, 255, .94));
  box-shadow: 0 14px 38px rgba(15, 23, 42, .065);
}

.mobile-section h2 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.6vw, 24px);
}

.manual-link,
.contact-form button,
.rating-submit {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.manual-link::after,
.contact-form button::after,
.rating-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 36%, rgba(255, 255, 255, .28) 44%, transparent 52% 100%);
  transform: translateX(-120%);
  transition: transform .52s ease;
}

.manual-link:hover::after,
.contact-form button:hover::after,
.rating-submit:hover::after {
  transform: translateX(120%);
}

.video-grid iframe,
.video-grid video,
.image-grid img {
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .10);
}

.warranty-card {
  background:
    linear-gradient(90deg, rgba(36, 107, 254, .045) 1px, transparent 1px),
    linear-gradient(rgba(36, 107, 254, .04) 1px, transparent 1px),
    linear-gradient(180deg, #fff, color-mix(in srgb, var(--brand), white 95%));
  background-size: 20px 20px, 20px 20px, auto;
}

.warranty-head > span {
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--brand), #123c9c);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--brand), transparent 72%);
}

.coupon-box {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 216, 77, .08) 1px, transparent 1px),
    linear-gradient(rgba(36, 107, 254, .035) 1px, transparent 1px),
    #fff;
  background-size: 18px 18px;
}

.chat-bubble {
  background: linear-gradient(135deg, var(--brand), #0e4ccc);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--brand), transparent 62%);
  animation: chatPulse 3.6s ease-in-out infinite;
}

.chat-panel {
  border-color: rgba(151, 164, 185, .44);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
}

@keyframes techSweep {
  from { transform: translateX(-2%); opacity: .62; }
  to { transform: translateX(2%); opacity: .9; }
}

@keyframes scanPass {
  0%, 42% { transform: translateX(-120%); opacity: 0; }
  52% { opacity: .55; }
  72%, 100% { transform: translateX(120%); opacity: 0; }
}

@keyframes productSettle {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(var(--cover-y, 0px)) scale(var(--cover-scale, 1)); }
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 18px 42px color-mix(in srgb, var(--brand), transparent 62%); }
  50% { box-shadow: 0 18px 42px color-mix(in srgb, var(--brand), transparent 52%), 0 0 0 7px color-mix(in srgb, var(--brand), transparent 88%); }
}

@media (max-width: 720px) {
  body.admin-shell {
    background-size: 24px 24px, 24px 24px, auto;
  }

  .admin-nav {
    min-height: 50px;
    padding: 8px 10px;
  }

  .admin-nav::before {
    margin-right: 4px;
    font-size: 13px;
  }

  .admin-nav a {
    min-height: 32px;
    padding: 0 9px;
    font-size: 13px;
  }

  .wrap {
    width: calc(100vw - 22px);
    margin: 20px auto 56px;
  }

  .page-head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .page-head .actions,
  .actions {
    flex-wrap: wrap;
  }

  .panel {
    padding: 16px;
  }

  .metric-card {
    min-height: 112px;
  }

  .mobile-hero {
    padding: 16px 10px 20px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    background-size: 26px 26px, 26px 26px, auto, auto;
  }

  .mobile-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 18px;
  }

  .mobile-topbar strong {
    grid-column: 1;
    grid-row: 1;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .support-badge {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: center;
    min-height: 34px;
    font-size: 13px;
  }

  .mobile-topbar .lang-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    max-width: 100px;
  }

  .mobile-hero h1,
  .kllstrat-page .mobile-hero h1 {
    font-size: clamp(30px, 8.3vw, 38px);
    line-height: 1.08;
    margin-bottom: 10px;
  }

  .story-copy,
  .mobile-hero p {
    font-size: 14px;
    line-height: 1.55;
  }

  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 14px 0 16px;
  }

  .quick-actions a {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .cover {
    width: 100%;
    height: clamp(218px, 58vw, 292px);
    max-width: 100%;
    margin-top: 12px;
    padding: 10px;
  }

  .content,
  .public-list {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    padding-top: 12px;
  }

  .support-path {
    gap: 10px;
  }

  .support-path a {
    min-height: auto;
    padding: 14px;
  }

  .mobile-section {
    padding: 15px;
    margin-bottom: 12px;
  }

  .mobile-section h2 {
    font-size: 20px;
  }

  .warranty-head {
    grid-template-columns: 62px 1fr;
    gap: 12px;
  }

  .warranty-head > span {
    width: 62px;
    min-height: 62px;
    font-size: 13px;
  }

  .chat-panel {
    width: calc(100vw - 20px);
    max-height: min(78vh, 620px);
  }

  .chat-bubble {
    min-height: 46px;
    max-width: min(180px, calc(100vw - 20px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
