:root {
  --ink: #222c29;
  --muted: #68726c;
  --green: #176448;
  --green-dark: #104a36;
  --green-light: #e8f0e7;
  --lime: #e8f2cf;
  --paper: #f8f9f5;
  --surface: #fff;
  --line: #e3e7df;
  --warm: #f3f1e9;
  --danger: #a43131;
  --radius: 16px;
  --shadow: 0 8px 32px #213e3010;
  --font:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  background: var(--paper);
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #68a289;
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  font-weight: 550;
  letter-spacing: -1.1px;
  line-height: 1.2;
}
h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.2px;
}
small {
  font-size: 12px;
}
svg {
  flex-shrink: 0;
}
strong {
  font-weight: 600;
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 550;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #d5ddd3;
  border-radius: 9px;
  background: #fff;
  padding: 11px 13px;
  color: var(--ink);
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 105px;
  line-height: 1.6;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}
input[type="color"] {
  height: 44px;
  padding: 4px;
}
input::placeholder,
textarea::placeholder {
  color: #7a827c;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #f2f4ee;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  border-radius: 9px;
  padding: 11px 17px;
  font-weight: 550;
  font-size: 13px;
  white-space: nowrap;
  min-height: 42px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: var(--green-dark);
  text-decoration: none;
  transform: translateY(-1px);
}
.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: #d5ddd3;
}
.button.secondary:hover {
  background: var(--paper);
}
.button.ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}
.button.small {
  padding: 8px 12px;
  min-height: 36px;
  font-size: 12px;
}
.button.danger {
  color: var(--danger);
  background: #fff4f2;
  border-color: #efcbc6;
}
.button.wide {
  width: 100%;
  justify-content: space-between;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}
.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 246px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 31px 20px 18px;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100dvh;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  width: fit-content;
}
.brand:hover {
  text-decoration: none;
}
.brand-dot {
  font-size: 9px;
  vertical-align: super;
  margin-left: 3px;
}
.workspace {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 10px;
  margin: 30px 0 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.workspace-avatar,
.account-avatar {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--warm);
  font-size: 17px;
  flex-shrink: 0;
  width: 34px;
  height: 36px;
  color: #526647;
  font-family: Georgia, serif;
}
.workspace div {
  min-width: 0;
}
.workspace strong {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 138px;
}
.workspace div > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.small-chevron {
  color: var(--muted);
  margin-left: auto;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #7e877e;
  padding-left: 12px;
  margin-bottom: 12px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #687169;
  border-radius: 9px;
  padding: 11px 13px;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 500;
}
.nav-link:hover {
  background: #f4f6f1;
  text-decoration: none;
}
.nav-link.active {
  background: #eaf1e7;
  color: var(--green);
  font-weight: 600;
}
.nav-link .count {
  margin-left: auto;
  background: white;
  border-radius: 5px;
  min-width: 23px;
  text-align: center;
  font-size: 11px;
  color: var(--green);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.help-note {
  background: #f5f6ed;
  border-radius: 12px;
  padding: 18px 15px;
}
.mini-spark {
  display: block;
  font-size: 24px;
  color: var(--green);
  margin-bottom: 11px;
}
.help-note strong {
  display: block;
  font-size: 12px;
  max-width: 135px;
  line-height: 1.6;
}
.help-note p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 13px;
}
.help-note a {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
}
.account {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 0;
  background: transparent;
  width: 100%;
  padding: 20px 0 0;
  text-align: left;
}
.account > span:nth-child(2) {
  min-width: 0;
}
.account strong {
  font-size: 11px;
  display: block;
}
.account small {
  display: block;
  max-width: 139px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: 10px;
}
.account > span:last-child {
  margin-left: auto;
}
.main-shell {
  margin-left: 246px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 80px;
  background: #ffffffb3;
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.breadcrumb {
  font-size: 12px;
  color: #7b847b;
  display: flex;
  gap: 12px;
}
.breadcrumb strong {
  font-weight: 500;
  color: var(--ink);
}
.topbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 30px;
  padding: 4px 9px;
  background: #eaf2e7;
  color: #35623b;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.status-pill:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #4b8754;
  border-radius: 50%;
}
.tag.amber {
  background: #faf0d8;
  color: #866029;
}
.tag.neutral {
  background: #f0f2ee;
  color: #656f63;
}
.tag.red {
  background: #fae9e6;
  color: #9b3c35;
}
.mobile-menu {
  display: none;
}
main#main {
  max-width: 1510px;
  padding: 37px 38px 45px;
  margin: auto;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 27px;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 650;
  color: var(--green);
  display: block;
  margin-bottom: 13px;
}
.title-actions {
  display: flex;
  gap: 8px;
}
.date-label {
  font-size: 11px;
  color: var(--muted);
}
.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #d6e3ca;
  background: #edf3e3;
  border-radius: 16px;
  padding: 29px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 24px;
  min-height: 191px;
}
.hero h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 29px;
  letter-spacing: -0.9px;
  max-width: 390px;
  line-height: 1.2;
}
.hero p {
  font-size: 12px;
  color: #60705a;
  max-width: 385px;
  margin: 11px 0 19px;
  line-height: 1.7;
}
.hero .button {
  font-size: 11px;
  min-height: 35px;
  padding: 7px 12px;
}
.hero-art {
  position: relative;
  width: 265px;
  height: 140px;
  flex-shrink: 0;
  margin-right: 18px;
}
.art-orbit {
  position: absolute;
  inset: -20px 40px;
  border: 1px solid #c9d8b9;
  border-radius: 50%;
  transform: rotate(30deg);
}
.art-orbit:nth-child(2) {
  inset: -2px 15px;
  transform: rotate(-24deg);
}
.art-card {
  position: absolute;
  background: #fff;
  border: 1px solid #dfe7d6;
  box-shadow: 0 8px 20px #4561370d;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(-5deg);
  top: 8px;
  left: 0;
}
.art-card.second {
  top: 75px;
  left: 45px;
  transform: rotate(4deg);
  font-size: 11px;
}
.art-card img {
  width: 29px;
  height: 29px;
}
.art-card .tiny-lines {
  width: 105px;
  height: 20px;
  background: linear-gradient(
    #dbe6cf 0 4px,
    transparent 4px 10px,
    #e9eedf 10px 14px,
    transparent 14px
  );
}
.art-spark {
  position: absolute;
  font-size: 35px;
  right: 5px;
  top: 0;
  color: #a6bc7e;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  padding: 19px 19px 15px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.stat-top .icon {
  width: 16px;
  height: 16px;
  color: #7a8874;
}
.stat-number {
  display: block;
  font-size: 29px;
  line-height: 1.4;
  letter-spacing: -0.8px;
  margin-top: 9px;
  font-weight: 550;
}
.stat-meta {
  font-size: 10px;
  color: #84907e;
  margin-top: 6px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.85fr);
  gap: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.panel-header h2 {
  font-size: 16px;
  letter-spacing: -0.2px;
}
.panel-header p,
.panel > p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.panel-header a {
  font-size: 11px;
}
.setup-step {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0e8;
  color: var(--ink);
}
.setup-step:last-child {
  border: 0;
  padding-bottom: 3px;
}
.setup-step:hover {
  text-decoration: none;
}
.step-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #dce2d5;
  font-size: 11px;
  color: #77816e;
  flex-shrink: 0;
}
.step-number.done {
  background: #e6efe0;
  color: #436738;
  border: 0;
}
.step-copy {
  flex: 1;
}
.step-copy strong {
  font-size: 12px;
}
.step-copy p {
  font-size: 11px;
  color: #7a8375;
  margin-top: 3px;
}
.step-arrow {
  color: #829078;
}
.progress-track {
  height: 4px;
  border-radius: 4px;
  background: #edf0e6;
  overflow: hidden;
  margin-top: 20px;
}
.progress-track > span {
  display: block;
  height: 100%;
  background: #73995c;
}
.mini-preview {
  background: #f6f7f1;
  border: 1px solid #e6eadd;
  border-radius: 11px;
  overflow: hidden;
  padding: 18px 15px;
  margin-top: 17px;
}
.mini-preview[data-theme="hawaii"] {
  background: linear-gradient(155deg, #edf5ef, #fff5e3);
  border-color: #dce5dc;
}
.preview-heading {
  display: flex;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid #e5e9dd;
  padding-bottom: 14px;
}
.preview-heading img {
  width: 30px;
  height: 30px;
}
.preview-heading strong {
  font-size: 11px;
  display: block;
}
.preview-heading small {
  font-size: 9px;
  color: #7b8574;
}
.preview-bubble {
  margin: 15px 0 13px;
  background: white;
  border: 1px solid #e4e8dc;
  border-radius: 2px 11px 11px;
  padding: 12px 14px;
  font-size: 11px;
  line-height: 1.7;
  max-width: 95%;
}
.preview-chip {
  border: 1px solid #dce3d3;
  border-radius: 7px;
  padding: 8px 10px;
  background: transparent;
  font-size: 10px;
  color: #566b48;
  display: block;
  margin-bottom: 7px;
  max-width: 100%;
  text-align: left;
}
.preview-composer {
  margin-top: 16px;
  padding: 10px 12px;
  background: white;
  border: 1px solid #e2e7d9;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8a9381;
}
.preview-composer span:last-child {
  background: var(--green);
  color: white;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  margin-top: -4px;
  margin-bottom: -4px;
}
.preview-note {
  font-size: 10px;
  color: #7c8675;
  text-align: center;
  margin-top: 14px;
}
.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 24px 0 13px;
}
.section-row h2 {
  font-size: 16px;
}
.section-row a {
  font-size: 11px;
}
.issue-list {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}
.notice {
  display: flex;
  gap: 10px;
  padding: 12px 15px;
  background: #f5f4eb;
  border: 1px solid #e8e4d1;
  border-radius: 9px;
  color: #736849;
  font-size: 11px;
  align-items: flex-start;
}
.notice.info {
  background: #edf3ed;
  color: #4a684e;
  border-color: #dce8dc;
}
.notice strong {
  font-weight: 600;
}
.notice svg {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 18px 38px;
  font-size: 10px;
  color: #889080;
  margin: 0 38px;
  padding-left: 0;
  padding-right: 0;
}
.tabs {
  display: flex;
  gap: 5px;
  background: #edf0e7;
  border-radius: 9px;
  padding: 4px;
  width: fit-content;
  margin-bottom: 22px;
}
.tab {
  padding: 8px 14px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}
.tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 5px #1027150d;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.toolbar input {
  max-width: 320px;
}
.toolbar select {
  width: auto;
}
.toolbar .checkbox {
  margin-left: auto;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  font-weight: 400;
}
.checkbox input {
  flex-shrink: 0;
  margin-top: 2px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.source-card {
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
}
.source-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
.source-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #f0f3e9;
  color: #65805a;
  border-radius: 10px;
}
.source-card h3 {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 7px;
}
.source-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.source-meta {
  font-size: 10px;
  color: #7e8878;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.source-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf0e8;
  padding-top: 13px;
  margin-top: auto;
}
.source-actions .button {
  font-size: 11px;
  min-height: 31px;
  padding: 6px 10px;
}
.source-actions .text-button {
  font-size: 11px;
}
.text-button {
  background: transparent;
  border: 0;
  color: var(--green);
  padding: 4px;
  font-size: 12px;
  text-align: left;
}
.text-button:hover {
  text-decoration: underline;
}
.empty {
  border: 1px dashed #d8e1d2;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  background: #fafbf7;
}
.empty .icon {
  width: 29px;
  height: 29px;
  color: #839578;
  margin-bottom: 11px;
}
.empty h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto 17px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-stack {
  display: grid;
  gap: 18px;
}
.form-stack .button {
  justify-self: start;
}
.span-2 {
  grid-column: 1/-1;
}
.field-help {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 400;
}
.form-section {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 20px;
}
.form-section h2 {
  font-size: 16px;
  margin-bottom: 5px;
}
.form-section > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
.appearance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(335px, 0.9fr);
  gap: 28px;
  align-items: start;
}
.live-preview {
  position: sticky;
  top: 25px;
  background: #eef0e6;
  border: 1px solid #e2e6d8;
  border-radius: 16px;
  padding: 23px;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 10px;
}
.preview-toolbar strong {
  font-size: 12px;
}
.viewport-buttons {
  display: flex;
  gap: 4px;
}
.preview-frame {
  display: block;
  width: 100%;
  max-width: 390px;
  height: 620px;
  border: 1px solid #d9dfd2;
  border-radius: 15px;
  margin: auto;
  background: #fff;
  box-shadow: 0 12px 25px #273b2114;
}
.live-preview.mobile .preview-frame {
  max-width: 320px;
  height: 570px;
}
.preview-footnote {
  font-size: 10px;
  color: #747e6c;
  text-align: center;
  margin: 14px 0 0;
}
.enquiry-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  min-height: 400px;
}
.enquiry-list {
  display: grid;
  gap: 10px;
  align-content: start;
}
.enquiry-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 11px;
  text-align: left;
  transition: border-color 0.15s;
}
.enquiry-item.active {
  border-color: #7d9e70;
  background: #f8fbf4;
}
.enquiry-item .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.enquiry-item strong {
  font-size: 13px;
}
.enquiry-item p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.enquiry-item small {
  font-size: 10px;
  color: #829079;
  display: block;
  margin-top: 12px;
}
.detail-avatar {
  width: 49px;
  height: 49px;
  background: #ebf0e3;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-family: Georgia, serif;
  color: var(--green);
  margin-bottom: 18px;
}
.detail-heading h2 {
  font-size: 23px;
}
.detail-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.contact-grid {
  display: grid;
  gap: 12px;
  margin: 23px 0;
}
.contact-grid div {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.contact-grid .icon {
  width: 16px;
  color: #71866b;
}
.detail-section {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.detail-section h3 {
  font-size: 11px;
  color: #76816d;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 9px;
}
.detail-section p {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-section small {
  font-size: 11px;
  color: var(--muted);
}
.detail-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.detail-controls select {
  width: auto;
  flex: 1;
}
.message-card {
  padding: 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 15px;
}
.message-card h3 {
  font-size: 14px;
  margin: 10px 0;
}
.message-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  white-space: pre-wrap;
}
.message-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.message-card .row small {
  color: #7b8673;
  font-size: 10px;
}
.message-card .actions {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.platform {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-align: left;
}
.platform.active {
  border-color: #658d54;
  box-shadow: 0 0 0 1px #658d54;
  background: #fafcf7;
}
.platform-logo {
  font-size: 24px;
  font-family: Georgia, serif;
  line-height: 1;
  width: 32px;
  text-align: center;
}
.platform strong {
  display: block;
  font-size: 13px;
}
.platform small {
  font-size: 10px;
  color: var(--muted);
}
.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.75fr);
  gap: 22px;
}
.install-step {
  display: flex;
  gap: 15px;
  margin-top: 24px;
}
.install-step:first-child {
  margin-top: 0;
}
.install-step .step-number {
  margin-top: 1px;
}
.install-step > div {
  min-width: 0;
  flex: 1;
}
.install-step h3 {
  font-size: 14px;
  margin-bottom: 6px;
}
.install-step p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.install-step pre {
  margin: 13px 0;
}
.connection-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9a9e76;
  margin-right: 6px;
}
.connection-dot.loaded {
  background: #679354;
}
.connection-status {
  font-size: 16px;
  margin: 15px 0 8px;
  display: block;
}
.install-tip {
  background: #f5f6ed;
  border-radius: 10px;
  padding: 16px;
  margin-top: 23px;
  font-size: 11px;
  color: #748069;
}
.install-tip strong {
  display: block;
  color: #556a47;
  margin-bottom: 6px;
}
.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.history-row p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  background: #263c2d;
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 12px;
  z-index: 100;
  max-width: 90vw;
}
.toast.error {
  background: #87372e;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  width: min(620px, calc(100% - 28px));
  max-height: 90dvh;
  box-shadow: 0 25px 100px #0e2b3430;
  color: var(--ink);
}
dialog::backdrop {
  background: #122d254a;
  backdrop-filter: blur(2px);
}
.dialog-head {
  padding: 23px 25px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 19px;
}
.dialog-body {
  padding: 24px 25px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 18px;
}
.review-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f7f9f3;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px;
  font-size: 13px;
  max-height: 330px;
  overflow-y: auto;
  margin: 16px 0;
}
.error-box {
  background: #fff0ed;
  color: #a23a30;
  font-size: 12px;
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
}
.url-list {
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow: auto;
  margin: 18px 0;
}
.url-list label {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.loading-state {
  padding: 70px;
  text-align: center;
  color: var(--muted);
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 10px;
  border-radius: 7px;
}
.skip:focus {
  top: 10px;
}
.auth-page {
  background: #f9faf6;
}
.auth-grid {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  padding: 24px;
  gap: 50px;
  max-width: 1600px;
  margin: auto;
}
.auth-story {
  background: #eaf1df;
  border-radius: 24px;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  overflow: hidden;
}
.auth-story h1 {
  font-family: Georgia, serif;
  font-size: 49px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -1.7px;
}
.auth-story em {
  font-style: normal;
  color: #577343;
}
.auth-story p {
  color: #64715a;
  max-width: 380px;
  line-height: 1.9;
  margin-top: 23px;
  font-size: 14px;
}
.auth-story .subtle {
  font-size: 11px;
  color: #77856a;
}
.auth-illustration {
  margin: 45px 0 10px;
  max-width: 400px;
  position: relative;
}
.paper-note {
  font-size: 13px;
  background: #dbe7c8;
  padding: 12px 17px;
  width: fit-content;
  border-radius: 8px;
  transform: rotate(-4deg);
  margin-left: 30px;
}
.paper-note span {
  margin-left: 55px;
}
.sample-bubble {
  margin: 17px 0 0 auto;
  width: fit-content;
  padding: 16px 20px;
  background: #fff;
  border-radius: 16px 16px 3px 16px;
  font-size: 13px;
  box-shadow: var(--shadow);
}
.sample-answer {
  display: flex;
  gap: 15px;
  background: #176448;
  color: white;
  border-radius: 15px 15px 15px 3px;
  padding: 22px;
  margin-top: 16px;
  font-size: 15px;
  max-width: 345px;
  line-height: 1.7;
}
.sample-answer > span {
  font-size: 25px;
  color: #dce9b6;
}
.sample-answer small {
  display: block;
  color: #bed2c5;
  font-size: 10px;
  margin-top: 9px;
}
.auth-card {
  max-width: 385px;
  width: 100%;
  align-self: center;
  justify-self: center;
  margin: 40px 30px;
}
.auth-card h2 {
  font-size: 29px;
  font-weight: 550;
  letter-spacing: -0.9px;
}
.auth-card > p {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 28px;
  line-height: 1.8;
}
.auth-card form label {
  margin-top: 21px;
}
.auth-card .button {
  margin-top: 23px;
}
.auth-card .auth-help {
  font-size: 11px;
  margin: 22px 0;
}
.trust-note {
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #7c8873;
}
.range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin: 15px 0;
}
.muted {
  color: var(--muted);
}
.inline-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 13px;
}
.error-text {
  color: var(--danger);
}
.row-end {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.hidden,
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1450px) {
  main#main {
    padding: 45px 50px;
  }
  .topbar {
    padding: 0 50px;
  }
  .hero {
    padding: 33px 35px;
    min-height: 210px;
  }
  .hero h2 {
    font-size: 33px;
  }
  .stat-card {
    padding: 23px;
  }
  .overview-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .hero-art {
    margin-right: 40px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 218px;
    padding: 26px 15px;
  }
  .main-shell {
    margin-left: 218px;
  }
  .topbar {
    padding: 0 24px;
  }
  main#main {
    padding: 29px 24px;
  }
  .hero-art {
    width: 190px;
    margin: 0;
  }
  .art-card {
    font-size: 9px;
    padding: 10px;
  }
  .art-card.second {
    left: 10px;
  }
  .overview-grid {
    gap: 17px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-top {
    font-size: 10px;
  }
  .appearance-layout {
    gap: 18px;
  }
  .live-preview {
    padding: 14px;
  }
  .topbar-actions {
    gap: 5px;
  }
  .workspace strong {
    max-width: 120px;
  }
}
@media (max-width: 960px) {
  .hero-art {
    display: none;
  }
  .overview-grid,
  .appearance-layout,
  .install-layout {
    grid-template-columns: 1fr;
  }
  .live-preview {
    position: static;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .topbar-actions .status-pill {
    display: none;
  }
  .auth-grid {
    gap: 20px;
  }
  .auth-story {
    padding: 30px;
  }
  .auth-story h1 {
    font-size: 40px;
  }
  .auth-card {
    max-width: 330px;
    margin: 20px;
  }
  .platform {
    padding: 14px;
    gap: 8px;
  }
  .enquiry-layout {
    grid-template-columns: 1fr;
  }
  .enquiry-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 236px;
    box-shadow: var(--shadow);
  }
  body.menu-open .sidebar {
    transform: translateX(0);
  }
  .main-shell {
    margin-left: 0;
  }
  .mobile-menu {
    display: grid;
  }
  .topbar {
    height: 68px;
    padding: 0 18px;
  }
  .breadcrumb {
    margin-right: auto;
  }
  .topbar-actions .ghost {
    display: none;
  }
  .topbar-actions .button {
    padding: 7px 10px;
    font-size: 10px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .date-label {
    display: none;
  }
  main#main {
    padding: 26px 20px 35px;
  }
  .hero {
    padding: 23px;
    margin-bottom: 18px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .source-grid {
    gap: 12px;
  }
  .app-footer {
    margin: 0 20px;
    padding: 18px 0;
    font-size: 9px;
  }
  .app-footer span:first-child {
    max-width: 210px;
  }
  .toast {
    left: 50%;
  }
  .auth-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .auth-story {
    min-height: 260px;
    gap: 25px;
    padding: 27px;
  }
  .auth-story h1 {
    font-size: 34px;
  }
  .auth-story p,
  .auth-illustration,
  .auth-story .subtle {
    display: none;
  }
  .auth-story .eyebrow {
    margin-bottom: 13px;
  }
  .auth-card {
    max-width: 440px;
    margin: 25px 15px 50px;
  }
  .panel {
    padding: 20px;
  }
  .source-card {
    padding: 17px;
  }
  .platform-logo {
    font-size: 20px;
  }
  .platform {
    flex-direction: column;
    align-items: flex-start;
  }
  .platform small {
    font-size: 9px;
  }
  .form-section {
    padding: 20px;
  }
  .title-actions .button {
    font-size: 11px;
    padding: 8px 11px;
  }
  .title-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
@media (max-width: 480px) {
  .page-heading {
    display: block;
  }
  .title-actions {
    justify-content: flex-start;
    margin-top: 17px;
  }
  .source-grid,
  .form-grid,
  .enquiry-list {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
  .hero h2 {
    font-size: 26px;
  }
  .stat-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-number {
    font-size: 27px;
  }
  .topbar .breadcrumb {
    font-size: 10px;
    gap: 7px;
  }
  .tabs {
    max-width: 100%;
    overflow-x: auto;
  }
  .tab {
    font-size: 11px;
    padding: 7px 11px;
    white-space: nowrap;
  }
  .toolbar {
    gap: 9px;
  }
  .toolbar .checkbox {
    margin-left: 0;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .app-footer span:first-child {
    max-width: 160px;
  }
  .platform-grid {
    gap: 8px;
  }
  .platform {
    padding: 12px;
  }
  .platform strong {
    font-size: 11px;
  }
  .dialog-head,
  .dialog-body {
    padding: 20px;
  }
  .detail-controls {
    flex-wrap: wrap;
  }
  .live-preview {
    padding: 11px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .panel-header {
    gap: 10px;
  }
  .panel-header h2 {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Contrast refinements from the rendered WCAG audit. */
.nav-label,
.breadcrumb,
.stat-meta,
.step-copy p,
.preview-heading small,
.preview-composer,
.app-footer,
.source-meta,
.enquiry-item small,
.message-card .row small,
.preview-note,
.preview-footnote,
.account small,
.step-number,
.install-tip,
.auth-story .subtle,
.trust-note {
  color: #626f5d;
}
input::placeholder,
textarea::placeholder {
  color: #68725f;
}
.preview-composer span:last-child {
  color: #fff;
}
p a,
.auth-help a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tab,
.tab .muted {
  color: #5c6855;
}
