:root {
  color-scheme: light;
  --brand: #7956d8;
  --brand-dark: #6042b6;
  --ink: #29233d;
  --muted: #71677f;
  --subtle: #93899e;
  --page: #f7f5fb;
  --surface: #fff;
  --line: #e9e4f0;
  --content-max: 1280px;
  --page-gutter: 32px;
  --radius-card: 16px;
  --radius-large: 24px;
  --radius-button: 11px;
  --shadow-card: 0 8px 24px rgb(48 32 78 / 6%);
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.65;
  accent-color: var(--brand);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--page); }
img { max-width: 100%; }
a { color: var(--brand-dark); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible { outline: 3px solid #a891ec; outline-offset: 3px; }

header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: max(var(--page-gutter), calc((100% - var(--content-max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 94%);
}
header a { text-decoration: none; }
.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
}
.brand:before {
  width: 30px;
  height: 30px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #e2d3ff, #7859c9 56%, #52419b);
  box-shadow: inset -2px -2px 5px rgb(59 44 99 / 18%);
}
nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
nav a { color: #514960; font-size: 14px; white-space: nowrap; }
nav a:hover { color: var(--brand-dark); }
nav .nav-code { padding: 9px 14px; border: 1px solid #d8cafa; border-radius: var(--radius-button); color: var(--brand-dark); font-weight: 700; }

main {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin: 28px auto 56px;
}
footer { padding: 28px 16px; color: var(--muted); text-align: center; }
[hidden] { display: none !important; }

/* Homepage hero */
.hero { margin-bottom: 0; }
.brand-hero {
  height: 390px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e8def8;
  border-radius: var(--radius-large);
  background: linear-gradient(110deg, #f3edfb 0%, #eee8fb 50%, #e9e4fb 100%);
  box-shadow: var(--shadow-card);
}
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(28px, 4.4vw, 62px);
}
.eyebrow { margin: 0; color: var(--brand-dark); font-size: 13px; font-weight: 750; letter-spacing: .08em; }
.brand-hero h1 {
  margin: 14px 0 12px;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.22;
  letter-spacing: -.04em;
}
.hero-copy > p:not(.eyebrow) { max-width: 28rem; margin: 0; color: #635a72; font-size: 16px; }
.hero-art { min-width: 0; min-height: 0; overflow: hidden; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.hero-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #d1c4eb;
  border-radius: var(--radius-button);
  color: #514268;
  font-weight: 700;
  text-decoration: none;
}

/* Assessment catalog */
.catalog-section { margin-block: 42px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.section-head h2 { margin: 0; color: var(--ink); font-size: clamp(25px, 2.4vw, 30px); line-height: 1.3; }
.section-head p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.section-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0 4px; color: var(--brand-dark); font-size: 14px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.section-link:hover { color: var(--brand); }
.section-link span { font-size: 19px; line-height: 1; }
.featured-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}
.product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 4px 16px rgb(48 32 78 / 4%);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product:visited { color: var(--ink); }
.product:hover { transform: translateY(-3px); border-color: #d5c6f4; box-shadow: var(--shadow-card); }
.product:focus-visible { outline: 3px solid #a891ec; outline-offset: 3px; }
.product-art { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint, #f0eafa); }
.product-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 17px; }
.product-category { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: var(--tint, #f0eafa); color: var(--theme, var(--brand-dark)); font-size: 12px; font-weight: 750; line-height: 1.5; }
.product h3 { margin: 10px 0 5px; color: var(--ink); font-size: 18px; line-height: 1.4; }
.product p { display: -webkit-box; overflow: hidden; margin: 0 0 15px; color: #625a6e; font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; color: var(--muted); font-size: 13px; }
.product-action { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 6px 13px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 750; }
.featured-product { border-color: #e3dbef; }
.featured-product .product-art { aspect-ratio: 16 / 9; }
.catalog-search { display: flex; min-width: 0; flex: 0 1 370px; align-items: center; gap: 8px; }
.catalog-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.catalog-search input[type="search"] { min-width: 0; flex: 1; margin: 0; }
.catalog-search input[type="hidden"] { display: none; }
.catalog-search button { flex: 0 0 auto; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.category-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.category-nav a { padding: 7px 13px; border: 1px solid #e1dbe9; border-radius: 999px; background: #fff; color: #615770; font-size: 13px; text-decoration: none; }
.category-nav a:hover { border-color: #cdbcf0; color: var(--brand-dark); }
.category-nav [aria-current] { border-color: var(--brand); background: var(--brand); color: #fff; }
.search-status { color: var(--muted); }
#catalog { scroll-margin-top: 20px; }

/* Assessment details */
.breadcrumb { display: inline-block; margin: 0 0 12px; }
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid color-mix(in srgb, var(--theme) 15%, white);
  border-radius: var(--radius-large);
  background: var(--tint);
}
.detail-copy { align-self: center; padding: clamp(25px, 4vw, 56px); }
.detail-copy h1 { margin: 8px 0; color: var(--ink); font-size: clamp(30px, 4vw, 46px); line-height: 1.22; }
.detail-prompt { color: var(--theme); font-size: 18px; font-weight: 750; }
.detail-copy > p:not(.eyebrow):not(.detail-prompt) { color: #60586d; }
.detail-meta { color: #524a61; font-size: 14px; font-weight: 650; }
.detail-hero > img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); gap: 20px; }
.dimension-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.dimension-tags li { padding: 5px 10px; border-radius: 8px; background: var(--tint); color: var(--theme); }

/* Quiz, forms, and report pages */
.card { padding: 24px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: 0 4px 16px rgb(48 32 78 / 3%); }
.card h1, .card h2 { margin-top: 0; line-height: 1.3; }
.card h2 { color: var(--ink); font-size: 22px; }
.report, .quiz { width: min(100%, 920px); margin-inline: auto; }
.report { accent-color: var(--theme); }
.report .card h2 { color: var(--theme); }
.contents { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 20px; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 16px 0; }
.bar meter { grid-column: 1 / -1; width: 100%; height: 18px; }
.bar meter::-webkit-meter-bar { border: 0; border-radius: 9px; background: #ece8f4; }
.bar meter::-webkit-meter-optimum-value { border-radius: 9px; background: var(--theme); }
.bar meter::-moz-meter-bar { background: var(--theme); }
.quiz progress { display: block; width: 100%; margin: 16px 0 24px; }
.quiz { accent-color: var(--theme); }
.quiz > span { color: var(--theme); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tile { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; color: inherit; text-decoration: none; }
.tile:hover { border-color: #cdbcf0; }
.tile span { color: var(--brand-dark); font-weight: 650; }
.tile h3 { margin: 4px 0; font-size: 20px; }
.tile p { color: var(--muted); }
.tone-1 { background: #f0f8f7; }
.tone-2 { background: #fff5f3; }
.tone-3 { background: #fff9ed; }
.option { display: flex; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid #e2dced; border-radius: 12px; }
.option:has(:checked) { border-color: #bca9ea; background: #f4efff; }
.mini-code { width: min(230px, 100%); height: auto; }
.export-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.export-actions details { flex-basis: 100%; cursor: pointer; }
.themed-cover { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: stretch; overflow: hidden; padding: 0; background: var(--theme); color: white; }
.themed-cover > div { padding: clamp(22px, 5vw, 44px); }
.themed-cover img:not(.poster-qr) { display: block; width: 100%; height: 100%; object-fit: cover; }
.themed-cover h1 { font-size: clamp(28px, 5vw, 46px); }
.themed-cover .poster-qr { display: block; width: 104px; height: 104px; border-radius: 12px; background: white; padding: 4px; object-fit: contain; }
.radar { display: block; width: min(100%, 350px); height: auto; margin: 0 auto; }
.radar-grid { fill: none; stroke: #d8cee7; }
.radar-grid text { fill: #453c58; stroke: none; text-anchor: middle; font: 10px system-ui, sans-serif; }
.radar-result { fill: var(--theme); fill-opacity: .22; stroke: var(--theme); stroke-width: 2; }

/* Phase 4 operations workspace */
.admin-page { display: grid; gap: 20px; }
.admin-heading { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-card); background: linear-gradient(110deg,#fff 0%,#f4effd 100%); box-shadow: var(--shadow-card); }
.admin-heading h1 { margin: 4px 0 14px; font-size: clamp(25px,3vw,34px); }
.admin-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; overflow: visible; }
.admin-nav a { padding: 7px 11px; border: 1px solid #e6def2; border-radius: 999px; background: #fff; color: var(--brand-dark); font-size: 13px; text-decoration: none; }
.admin-nav a:hover { border-color: #c7b6ee; background: #f6f1ff; }
.admin-page > .card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); }
.admin-page h2 { margin: 0 0 10px; font-size: 20px; }
.admin-page h3 { margin-bottom: 8px; }
.admin-kpis { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.admin-kpis .card { display: grid; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.admin-kpis span { color: var(--muted); font-size: 13px; }
.admin-kpis strong { color: var(--brand-dark); font-size: 28px; line-height: 1.2; }
.admin-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 16px; width: 100%; align-items: end; }
.admin-form label { min-width: 0; margin: 4px 0; color: var(--ink); font-size: 13px; }
.admin-form textarea { min-height: 88px; }
.admin-form button { justify-self: start; }
.table-wrap { width: 100%; overflow-x: auto; }
.admin-page table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-page th,.admin-page td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-page th { background: #f8f6fb; color: var(--muted); font-weight: 700; white-space: nowrap; }
.admin-page td form { display: grid; gap: 5px; min-width: 210px; margin-block: 7px; }
.admin-page td button { min-height: 34px; padding: 5px 10px; font-size: 12px; }
.admin-page button.secondary { border-color: var(--line); background: #fff; color: var(--brand-dark); }
.admin-page .delivery-draft textarea { width: min(100%,500px); font-family: ui-monospace,monospace; }
.admin-page .status-warn { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #fff3df; color: #8b5700; }
.admin-page .muted { color: var(--muted); }
.admin-page .eyebrow { margin: 0; }
.admin-account { float: right; display: inline-flex; flex-wrap: wrap; gap: 12px; }
.admin-account a { color: var(--brand-dark); text-decoration: none; }
.admin-account a:hover { text-decoration: underline; }
.admin-login { min-height: 100vh; background: radial-gradient(ellipse at 80% 10%,#e9e3ff 0%,transparent 42%),linear-gradient(135deg,#f8f6fc,#eef2ff); }
.admin-login main { display: grid; min-height: 82vh; place-items: center; padding: 24px; }
.admin-login-card { width: min(100%,460px); padding: clamp(24px,5vw,42px); border: 1px solid #e4dcf4; border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 24px 70px rgba(69,52,110,.13); }
.admin-login-card .brand { display: inline-block; margin-bottom: 28px; color: var(--brand-dark); font-size: 20px; font-weight: 800; text-decoration: none; }
.admin-login-card .eyebrow { color: var(--brand); font-weight: 700; }
.admin-login-card h1 { margin: 4px 0 24px; font-size: 30px; }
.admin-login-card form,.admin-login-card label { width: 100%; }
.password-field { display: flex; align-items: center; gap: 8px; }
.password-field input { flex: 1; }
.password-field button { margin-top: 5px; padding: 9px 12px; border: 1px solid var(--line); background: white; color: var(--brand-dark); }
.admin-login-card .login-submit { width: 100%; margin-top: 12px; }
.login-error { padding: 10px 12px; border-radius: 10px; background: #fff0f0; color: #a3263a; }
@media(max-width:1000px){.admin-kpis{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:620px){.admin-heading,.admin-page>.card{padding:16px}.admin-nav{gap:6px}.admin-nav a{padding:6px 9px;font-size:12px}.admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-kpis .card{padding:14px}.admin-kpis strong{font-size:24px}.admin-form{grid-template-columns:1fr}.admin-page th,.admin-page td{padding:8px}}

form { width: min(100%, 560px); }
label { display: block; margin: 12px 0; font-weight: 650; }
input:not([type="checkbox"], [type="radio"], [type="color"], [type="file"], [type="hidden"]),
textarea, select {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid #d9d1e4;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
select { cursor: pointer; }
button, .button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button:hover { background: var(--brand-dark); }
.hero .button { background: var(--brand); color: #fff; }
.detail-hero .button, .detail-content button, .quiz button { background: var(--theme); }
.color-pickers { display: flex; flex-wrap: wrap; gap: 16px; }
.color-pickers input[type="color"] { min-height: 44px; padding: 3px; }
.media-choice img { display: block; width: 100%; max-width: 230px; aspect-ratio: 4 / 3; margin-block: 8px; border-radius: 10px; object-fit: cover; }
pre { overflow-wrap: anywhere; padding: 14px; border-radius: 10px; background: #f5f2f9; font: inherit; white-space: pre-wrap; }

@media (min-width: 1200px) {
  .brand-hero { min-height: 390px; }
}
@media (max-width: 1199px) {
  :root { --page-gutter: 24px; }
  .featured-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .featured-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-hero { height: 350px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { padding: 28px; }
  .brand-hero h1 { font-size: clamp(34px, 5vw, 42px); }
  .detail-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
}
@media (max-width: 620px) {
  :root { --page-gutter: 16px; }
  header { min-height: 0; flex-wrap: wrap; gap: 8px; padding-block: 12px 10px; }
  .brand { font-size: 16px; }
  nav { width: 100%; justify-content: space-between; gap: 10px; overflow-x: auto; padding: 2px 0 5px; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a { font-size: 13px; }
  nav .nav-code { padding: 6px 9px; }
  main { margin-top: 16px; margin-bottom: 36px; }
  .brand-hero { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 20px 20px 12px; }
  .brand-hero h1 { margin: 7px 0; font-size: clamp(30px, 8vw, 36px); line-height: 1.14; }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.48; }
  .hero-actions { gap: 9px; margin-top: 13px; }
  .hero-actions .button, .hero-secondary { min-height: 40px; padding-block: 7px; }
  .hero-art { height: auto; aspect-ratio: 4 / 3; }
  .hero-art img { object-position: center; }
  .catalog-section { margin-block: 30px; }
  .section-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .catalog-search { flex-basis: auto; }
  .featured-grid, .product-grid { gap: 14px 12px; }
  .product { border-radius: 14px; }
  .product-body { padding: 12px; }
  .product h3 { margin-top: 8px; font-size: 16px; }
  .product p { margin-bottom: 12px; font-size: 13px; }
  .product-bottom { align-items: flex-start; flex-direction: column; gap: 7px; font-size: 12px; }
  .product-action { min-height: 34px; padding: 5px 10px; font-size: 12px; }
  .category-nav { gap: 7px; }
  .category-nav a { padding: 6px 10px; font-size: 12px; }
  .detail-hero, .detail-content { grid-template-columns: 1fr; }
  .detail-copy { padding: 24px; }
  .detail-hero > img { min-height: 0; max-height: 260px; aspect-ratio: 16 / 10; }
  .detail-content { gap: 14px; }
  .card { padding: 18px; }
  .themed-cover { grid-template-columns: 1fr; }
  .themed-cover img:not(.poster-qr) { max-height: 250px; aspect-ratio: 16 / 10; }
  .report, .quiz { max-width: 100%; }
}
@media (max-width: 359px) {
  nav { gap: 8px; }
  nav a { font-size: 12px; }
  nav .nav-code { padding-inline: 6px; }
  .featured-grid, .product-grid { grid-template-columns: 1fr; }
  .product-bottom { flex-direction: row; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product { transition: none; }
  .product:hover { transform: none; }
}
@page { size: A4; margin: 14mm; }
@media print {
  body { background: white; }
  header, footer, button, input, .report label { display: none; }
  main { width: 100%; margin: 0; }
  .cover { print-color-adjust: exact; break-after: page; }
  .card { break-inside: avoid-page; }
  .report { max-width: none; }
  .export-actions { display: none; }
  .card h2 { break-after: avoid-page; }
  .report p { orphans: 3; widows: 3; }
  .themed-cover { grid-template-columns: 1fr; print-color-adjust: exact; }
  .themed-cover img:not(.poster-qr) { height: 105mm; object-fit: cover; }
}

.promo-admin-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:20px;align-items:start}.promo-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.promo-list a{display:grid;gap:4px;padding:12px 14px;border:1px solid #e8e2f2;border-radius:12px;color:var(--ink);text-decoration:none}.promo-list a[aria-current="page"]{border-color:#7956d8;background:#f4f0ff;color:#4f35a4}.promo-list small{color:var(--muted)}.promo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.promo-grid figure{margin:0;padding:8px;border:1px solid #ebe7f2;border-radius:12px}.promo-grid img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px}.promo-grid figcaption{padding:8px 2px;color:var(--ink);font-size:13px}.promo-poster{display:block;width:min(280px,100%);height:auto;border-radius:12px;border:1px solid #ebe7f2}.success{padding:10px 14px;border-radius:10px;background:#eef8f1;color:#24633c}.admin-form textarea{min-height:70px}
@media(max-width:760px){.promo-admin-layout{grid-template-columns:1fr}.promo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.report-designer-layout{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(300px,1.4fr) minmax(180px,.8fr);gap:16px;align-items:start}.report-designer-layout>.card{margin:0}.report-section-editor{border:1px solid #ded9e8}.report-section-editor header{display:flex;justify-content:space-between;gap:12px;align-items:center}.report-section-editor textarea{min-height:80px}.report-section-editor small{display:block;color:#71677f;margin-top:6px}.report-designer-form>[data-report-sections]{display:grid;gap:12px}.report-module{margin:16px 0;padding:16px;border-radius:12px;background:#f8f7fb}.report-module meter{display:block;width:100%}.report-module .table-wrap{overflow-x:auto}
@media(max-width:900px){.report-designer-layout{grid-template-columns:1fr}}
.report-module-editor{margin:12px 0;padding:14px;border:1px solid #e4deef;border-radius:12px;background:#faf9fd}.report-module-editor>header{display:flex;justify-content:space-between;align-items:center}.report-module-editor label{display:block;margin:8px 0}.report-module-editor input,.report-module-editor textarea,.report-module-editor select{width:100%;box-sizing:border-box}
