:root {
  --ink: #f1e7dc;
  --muted: #b9a7a1;
  --paper: #f6eadb;
  --panel: #151019;
  --wash: #f8eddd;
  --line: #5b4244;
  --gold: #b78345;
  --gold-soft: #d8b17d;
  --design: #9a2838;
  --personality: #b9a6dd;
  --plum: #211321;
  --blood: #7d1f2e;
  --bone: #f5e7d2;
  --bronze: #a87945;
}

@font-face {
  font-family: "human-design";
  src: url("assets/fonts/human-design.woff2?v=f3dce5bdfb4d9718") format("woff2");
  font-display: block;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 16%, rgba(119, 68, 93, .22), transparent 30%),
    radial-gradient(circle at 22% 82%, rgba(126, 31, 46, .16), transparent 28%),
    linear-gradient(135deg, #120d15 0%, #241625 48%, #0e0c12 100%);
  font-family: Georgia, "Songti SC", "STSong", "Times New Roman", serif;
  overflow-x: hidden;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 42px;
  border-bottom: 1px solid #ead8c2;
  background: rgba(15, 11, 18, .94);
  backdrop-filter: blur(18px);
}
.brand {
  font-size: 24px;
  letter-spacing: .01em;
}
.brand-detail { margin-left: .15em; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.app-tools { display: flex; gap: 5px; }
.app-tools button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  min-height: 32px;
  padding: 0;
  border: 1px solid rgba(216, 177, 125, .34);
  border-radius: 4px;
  background: rgba(246, 234, 219, .04);
  color: #d8b17d;
  font: 18px/1 Georgia, serif;
}
.app-tools button:hover { background: rgba(207, 173, 121, .12); }
.app-tools .text-symbol {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-variant-emoji: text;
}
.language-switch {
  display: grid;
  grid-template-columns: repeat(2, 48px);
  width: 98px;
  height: 32px;
  padding: 2px;
  border: 1px solid rgba(216, 177, 125, .42);
  border-radius: 4px;
  background: rgba(246, 234, 219, .05);
}
.language-switch button {
  min-height: 26px;
  padding: 0;
  border-radius: 2px;
  background: transparent;
  color: #bfaea3;
  font: 700 11px/1 ui-sans-serif, system-ui, sans-serif;
}
.language-switch button[aria-pressed="true"] {
  background: #cfad79;
  color: #1b121a;
}
.ampm-field {
  display: flex;
  align-self: stretch;
  align-items: flex-end;
  margin-bottom: 14px;
  font: 600 13px/1.3 ui-sans-serif, system-ui, sans-serif;
}
.ampm-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  height: var(--form-control-height, 44px);
  min-height: var(--form-control-height, 44px);
  padding: 2px;
  border: 1px solid rgba(216, 177, 125, .45);
  border-radius: 5px;
  background: rgba(12, 10, 16, .74);
}
.ampm-switch button {
  height: calc(var(--form-control-height, 44px) - 4px);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #c6b5a8;
  font: 700 12px/1 ui-sans-serif, system-ui, sans-serif;
}
.ampm-switch button[aria-pressed="true"] {
  background: #cfad79;
  color: #1b121a;
  box-shadow: inset 0 0 0 1px rgba(255, 247, 232, .24);
}
.ampm-switch[aria-invalid="true"] { border-color: #c45565; box-shadow: 0 0 0 2px rgba(196, 85, 101, .18); }
.shell {
  display: grid;
  grid-template-columns: minmax(310px, 380px) minmax(760px, 1fr);
  gap: 26px;
  min-height: 100vh;
  padding: 28px;
}
.shell.form-view {
  display: block;
  width: min(540px, 100%);
  margin: 0 auto;
}
.form-panel { --form-control-height: 44px; }
.local-mode-notice {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(207, 173, 121, .42);
  background: rgba(31, 22, 31, .76);
  color: #d9c4a4;
  font: 12px/1.55 ui-sans-serif, system-ui, sans-serif;
}
.form-panel input,
.form-panel select,
.form-panel form > button {
  height: var(--form-control-height);
  min-height: var(--form-control-height);
}
.shell.result-view {
  display: block;
  width: min(1184px, 100%);
  margin: 0 auto;
}
.result-panel {
  width: min(600px, 100%);
  margin: 0 auto;
}
.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.result-toolbar .chart-actions {
  width: min(100%, 410px);
}
.privacy-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #d7c6b9;
  font: 700 12px/1 ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  user-select: none;
}
.privacy-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.toggle-track {
  width: 36px;
  height: 20px;
  padding: 2px;
  border: 1px solid rgba(207, 173, 121, .58);
  border-radius: 10px;
  background: rgba(21, 17, 28, .78);
  transition: background .18s ease, border-color .18s ease;
}
.toggle-track span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #aa967a;
  transition: transform .18s ease, background .18s ease;
}
.privacy-toggle input:checked + .toggle-track {
  border-color: #e0c293;
  background: #cfad79;
}
.privacy-toggle input:checked + .toggle-track span {
  transform: translateX(16px);
  background: #1b121a;
}
.privacy-toggle input:focus-visible + .toggle-track { outline: 2px solid #ead2a9; outline-offset: 2px; }
.privacy-toggle input:disabled ~ span { opacity: .55; cursor: wait; }
.chart-preview {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(199, 164, 110, .55);
  background: #0d0b12;
  box-shadow: 0 24px 72px rgba(0, 0, 0, .42);
}
.preview-stage { position: relative; }
.detail-fab {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: -112px;
  width: 100px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(224, 194, 147, .76);
  border-radius: 4px;
  background: rgba(18, 13, 21, .94);
  color: #dfc18f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
  font: 700 12px/1 ui-sans-serif, system-ui, sans-serif;
}
.detail-fab:hover { background: #cfad79; color: #1b121a; }
.detail-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: 86dvh;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 177, 125, .58);
  border-radius: 6px;
  background: #15111a;
  color: #eee2d2;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .62);
}
.detail-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.detail-dialog::backdrop { background: rgba(7, 5, 10, .76); backdrop-filter: blur(5px); }
.app-dialog {
  width: min(540px, calc(100% - 24px));
  max-height: 82dvh;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 177, 125, .56);
  border-radius: 6px;
  background: #15111a;
  color: #eee2d2;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .62);
}
.app-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.app-dialog::backdrop { background: rgba(7, 5, 10, .76); backdrop-filter: blur(5px); }
.app-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(216, 177, 125, .22);
}
.app-dialog-header .eyebrow { margin-bottom: 5px; }
.app-dialog-header h2 { margin: 0; color: #fff6e9; font-size: 27px; line-height: 1.1; }
.history-list { display: grid; gap: 0; overflow-y: auto; padding: 8px 22px; }
.history-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(216, 177, 125, .16);
}
.history-card:last-child { border-bottom: 0; }
.history-card button { width: auto; min-height: 34px; padding: 0 11px; border-radius: 3px; font-size: 12px; }
.history-card h3 { margin: 0 0 4px; color: #fff0d8; font: 700 15px/1.25 ui-sans-serif, system-ui, sans-serif; }
.history-card p { margin: 0; color: #bcaea5; font: 12px/1.5 ui-sans-serif, system-ui, sans-serif; }
.history-card-actions { display: flex; align-items: center; gap: 6px; }
.history-card .history-open { border: 1px solid #e0c293; background: #cfad79; color: #1b121a; }
.history-card .history-delete { border: 1px solid rgba(196, 85, 101, .38); background: transparent; color: #d99aa3; font-size: 12px; }
.dialog-empty { margin: 0; padding: 26px 22px 30px; color: #bcaea5; text-align: center; font: 13px/1.6 ui-sans-serif, system-ui, sans-serif; }
.confirm-dialog[open] {
  width: min(360px, calc(100vw - 36px));
  min-height: 0;
  grid-template-rows: auto auto;
}
.confirm-dialog-body { padding: 24px 24px 18px; }
.confirm-dialog-body .eyebrow { margin: 0 0 8px; }
.confirm-dialog-body h2 { margin: 0 0 10px; color: #fff6e9; font-size: 22px; line-height: 1.25; }
.confirm-dialog-body > p:last-child { margin: 0; color: #bcaea5; font: 13px/1.55 ui-sans-serif, system-ui, sans-serif; }
.confirm-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 24px 24px; }
.confirm-dialog-actions button { width: 100%; height: 44px; min-height: 44px; margin: 0; }
.history-opt-out-actions { grid-template-columns: 1fr; }
.secondary-button { border: 1px solid rgba(216, 177, 125, .35); background: transparent; color: #ead9c0; }
.settings-dialog { overflow-y: auto; }
.settings-dialog[open] { grid-template-rows: auto auto auto auto auto; }
.settings-list { display: grid; padding: 6px 22px; }
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(216, 177, 125, .16);
}
.settings-row span { display: grid; gap: 5px; }
.settings-row b { color: #f2e4d1; font: 700 13px/1.3 ui-sans-serif, system-ui, sans-serif; }
.settings-row small { color: #aa9a91; font: 11px/1.45 ui-sans-serif, system-ui, sans-serif; }
.settings-row input { width: 42px; height: 24px; min-height: 24px; flex: 0 0 auto; accent-color: #cfad79; }
.settings-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 22px 4px;
  border-top: 1px solid rgba(207, 173, 121, .16);
}
.settings-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  min-width: 0;
  padding: 0 8px;
  border: 1px solid rgba(207, 173, 121, .28);
  color: #d6b67d;
  font: 650 10px/1.35 ui-sans-serif, system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}
.settings-links a:focus-visible,
.settings-links a:hover { background: rgba(207, 173, 121, .1); color: #fff3df; }
.build-provenance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 14px;
  margin: 14px 22px 0;
  padding: 13px 0;
  border-top: 1px solid rgba(207, 173, 121, .16);
  color: #9f9187;
  font: 10px/1.45 ui-sans-serif, system-ui, sans-serif;
}
.build-provenance div { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.build-provenance dt, .build-provenance dd { margin: 0; }
.build-provenance dd { overflow: hidden; color: #d8c4a5; text-overflow: ellipsis; white-space: nowrap; }
.build-provenance a { color: inherit; }
.danger-button {
  width: calc(100% - 44px);
  height: 44px;
  min-height: 44px;
  margin: 12px 22px 0;
  border: 1px solid rgba(196, 85, 101, .42);
  background: transparent;
  color: #d99aa3;
  font-size: 12px;
}
.settings-note { margin: 0; padding: 13px 22px 20px; color: #8f817b; font: 10px/1.5 ui-sans-serif, system-ui, sans-serif; }
.detail-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid rgba(216, 177, 125, .24);
  background: rgba(27, 18, 29, .96);
}
.detail-dialog-header .eyebrow { margin-bottom: 6px; }
.detail-dialog-header h2 { margin: 0; color: #fff6e9; font-size: 30px; line-height: 1.1; }
.detail-dialog-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.detail-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(216, 177, 125, .36);
  border-radius: 3px;
  background: rgba(207, 173, 121, .10);
  color: #dfc18f;
  font: 700 12px/1 ui-sans-serif, system-ui, sans-serif;
}
.detail-share:hover { background: rgba(207, 173, 121, .18); }
.detail-share .button-icon { font-size: 14px; }
.dialog-close {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(216, 177, 125, .36);
  border-radius: 3px;
  background: transparent;
  color: #dfc18f;
  font: 400 26px/1 ui-sans-serif, system-ui, sans-serif;
}
.dialog-close:hover { background: rgba(207, 173, 121, .14); }
.detail-content { overflow-y: auto; padding: 0 26px 28px; }
.detail-content section { padding: 20px 0; border-bottom: 1px solid rgba(216, 177, 125, .18); }
.detail-content section:last-child { border-bottom: 0; }
.detail-content h3 {
  margin: 0 0 8px;
  color: #d7b77f;
  font: 700 14px/1.3 ui-sans-serif, system-ui, sans-serif;
}
.detail-content p {
  margin: 0;
  color: #d9cdc0;
  font: 14px/1.85 "Songti SC", "STSong", Georgia, serif;
  white-space: pre-line;
}
.detail-celebrity-list { display: grid; gap: 13px; margin-top: 13px; }
.detail-celebrity-list article {
  padding: 15px 16px;
  border: 1px solid rgba(216, 177, 125, .20);
  background: rgba(207, 173, 121, .05);
}
.detail-celebrity-list h4 {
  margin: 0 0 7px;
  color: #fff0d8;
  font: 700 13px/1.3 ui-sans-serif, system-ui, sans-serif;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.result-panel[aria-busy="true"] .chart-preview { opacity: .56; }
.capture-source {
  position: fixed !important;
  top: 0 !important;
  left: -10000px !important;
  pointer-events: none !important;
}
.form-panel, .chart-panel {
  background: var(--panel);
  border: 1px solid rgba(181, 124, 76, .42);
  border-radius: 6px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32), inset 0 0 0 1px rgba(255, 234, 203, .04);
}
.form-panel {
  align-self: start;
  position: sticky;
  top: 28px;
  min-height: 880px;
  padding: 28px 24px;
  background:
    linear-gradient(180deg, rgba(8, 12, 16, .24), rgba(6, 9, 13, .38)),
    url("assets/pluto-form-bg-v3.png?v=f3dce5bdfb4d9718") center / cover no-repeat,
    var(--panel);
}
.chart-panel {
  position: relative;
  overflow: hidden;
  padding: 28px 34px 30px;
  background:
    linear-gradient(rgba(250, 241, 226, .22), rgba(234, 213, 184, .16)),
    url("assets/pluto-vellum-bg-v4.png?v=f3dce5bdfb4d9718") center / cover no-repeat,
    #f3e3cc;
  color: #2c2525;
}
.chart-panel::before {
  content: none;
}
.chart-panel::after {
  content: none;
}
.eyebrow {
  margin: 0 0 8px;
  font: 700 12px/1.2 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a97943;
}
h1, h2 { margin: 0 0 18px; font-family: Georgia, "Songti SC", "STSong", "Times New Roman", serif; font-weight: 400; }
h1 { max-width: 310px; font-size: 36px; line-height: 1.02; }
h2 { font-size: 28px; }
label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font: 600 13px/1.3 ui-sans-serif, system-ui, sans-serif;
}
input, select, button {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(216, 177, 125, .45);
  border-radius: 5px;
  padding: 0 12px;
  background: rgba(246, 234, 219, .95);
  color: #241822;
  font: 15px ui-sans-serif, system-ui, sans-serif;
}
input::placeholder { color: #7c6c67; }
input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #c45565;
  box-shadow: 0 0 0 2px rgba(196, 85, 101, .18);
}
input[type="search"]::-webkit-search-cancel-button { opacity: .55; }
.location-combobox { position: relative; }
.location-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 286px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 5px;
  border: 1px solid rgba(216, 177, 125, .55);
  border-radius: 5px;
  background: #f6eadb;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .35);
  color: #241822;
}
.location-results li {
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  border-radius: 3px;
  cursor: pointer;
}
.location-results li:hover,
.location-results li.active { background: rgba(125, 31, 46, .11); }
.location-results strong { font: 700 14px/1.2 ui-sans-serif, system-ui, sans-serif; }
.location-results span { color: #796763; font: 12px/1.3 ui-sans-serif, system-ui, sans-serif; }
.place-attribution {
  margin: -4px 0 14px;
  color: #8f7d79;
  font: 10px/1.3 ui-sans-serif, system-ui, sans-serif;
}
.place-attribution a { color: inherit; }
.form-disclaimer {
  margin: 10px 0 0;
  color: #a99a91;
  font: 12px/1.55 ui-sans-serif, system-ui, sans-serif;
}
.form-disclaimer a { color: #d2b47f; text-underline-offset: 3px; }
.form-disclaimer a:hover,
.form-disclaimer a:focus-visible { color: #fff0d5; }
button {
  cursor: pointer;
  border: 0;
  background: linear-gradient(127deg, #7d1f2e, #d8b17d);
  color: #1a1018;
  font-weight: 700;
}
button:disabled { cursor: not-allowed; opacity: .52; }
#chartForm button[type="submit"],
.chart-actions button {
  border: 1px solid #e0c293;
  background: #cfad79;
  color: #1b121a;
  box-shadow: inset 0 0 0 1px rgba(255, 247, 232, .24), 0 8px 22px rgba(0, 0, 0, .18);
}
#chartForm button[type="submit"]:hover,
.chart-actions button:hover { background: #ddbd89; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#status { min-height: 20px; font: 13px ui-sans-serif, system-ui, sans-serif; color: #d8b17d; }
.chart-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 0;
  padding: 10px 0 10px;
}
.chart-meta button {
  width: 156px;
  border: 1px solid rgba(119, 82, 45, .55);
  border-radius: 2px;
  background: rgba(248, 239, 226, .28);
  color: #5c432f;
  letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.chart-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-actions button {
  width: 130px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  font-size: 13px;
}
.button-icon {
  flex: 0 0 auto;
  font: 700 17px/1 ui-sans-serif, system-ui, sans-serif;
}
#birthLine { margin: -8px 0 0; color: #7b6d62; }
.chart-frame {
  position: relative;
  z-index: 1;
  max-width: 1030px;
  margin: 8px auto 0;
  padding: 18px 34px 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.chart-frame::before,
.chart-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 39%;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(133, 92, 46, .13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.chart-frame::after {
  width: 760px;
  height: 760px;
  border-color: rgba(133, 92, 46, .10);
}
.chart-layout {
  display: grid;
  grid-template-columns: minmax(142px, 170px) minmax(360px, 408px) minmax(142px, 170px);
  justify-content: center;
  align-items: start;
  gap: 28px;
}
.chart-graph {
  position: relative;
  display: grid;
  justify-items: center;
}
.chart-graph::before {
  content: "";
  position: absolute;
  top: 42px;
  width: 344px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 43% 38%, rgba(252, 245, 234, .58), rgba(105, 84, 73, .10) 46%, transparent 70%);
  filter: blur(.2px);
  opacity: .8;
}
#bodygraph { width: 100%; max-width: 408px; aspect-ratio: 422 / 813; }
#bodygraph svg { display: block; width: 100%; height: auto; overflow: visible; }
.watermark {
  margin: -2px 0 0;
  color: rgba(77, 49, 54, .48);
  font: 12px ui-sans-serif, system-ui, sans-serif;
}
.side-column > p {
  margin: 8px 0 14px;
  color: #8b3042;
  font: 700 11px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.side-column.right > p { text-align: right; }
.planet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  padding: 14px 16px 12px;
  border: 1px solid rgba(125, 87, 47, .34);
  background: rgba(252, 246, 236, .24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.30);
  font: 14px/1.15 Georgia, "Times New Roman", serif;
}
.planet-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(133, 92, 46, .18); }
.planet-list li:last-child { border-bottom: 0; }
.planet-list span { display: flex; align-items: center; gap: 10px; color: #5f534c; font-style: italic; }
.planet-list em { font-style: inherit; }
.planet-list i {
  width: 16px;
  color: #7e5a35;
  font: 17px/1 "human-design";
  text-align: center;
}
.wb-Earth::before { content: "\e900"; }
.wb-Jupiter::before { content: "\e901"; }
.wb-Mars::before { content: "\e902"; }
.wb-Mercury::before { content: "\e903"; }
.wb-Moon::before { content: "\e904"; }
.wb-Neptune::before { content: "\e905"; }
.wb-North-Node::before { content: "\e906"; }
.wb-Pluto::before { content: "\e907"; }
.wb-Saturn::before { content: "\e908"; }
.wb-South-Node::before { content: "\e909"; }
.wb-Sun::before { content: "\e90a"; }
.wb-Uranus::before { content: "\e90b"; }
.wb-Venus::before { content: "\e90c"; }
.planet-list b { color: #2c2525; }
.planet-list span, .property, #birthLine, #personName { overflow-wrap: anywhere; }
.right li { flex-direction: row-reverse; }
.right .planet-list span { flex-direction: row-reverse; }
.properties {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 0;
  max-width: 1030px;
  margin: 10px auto 0;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(125, 87, 47, .38);
  background: rgba(252, 246, 236, .24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.property {
  min-height: 68px;
  border-right: 1px solid rgba(133, 92, 46, .20);
  border-bottom: 1px solid rgba(133, 92, 46, .20);
  padding: 14px 16px;
  font: 13px ui-sans-serif, system-ui, sans-serif;
}
.property b { display: block; color: #8b3042; letter-spacing: .04em; text-transform: uppercase; }
.property span { display: block; margin-top: 3px; line-height: 1.3; }
.interpretation {
  max-width: 930px;
  margin: 18px auto 0;
  position: relative;
  z-index: 1;
  padding: 22px 26px;
  border-top: 1px solid rgba(125, 87, 47, .38);
  border-bottom: 1px solid rgba(125, 87, 47, .38);
}
.interpretation-title {
  margin: 0 0 9px;
  color: #8b3042;
  font: 700 11px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#interpretationText {
  margin: 0;
  color: #4f4541;
  font: 14px/1.8 Georgia, "Times New Roman", serif;
  white-space: pre-line;
}
.celebrity-matches {
  max-width: 930px;
  margin: 16px auto 0;
  position: relative;
  z-index: 1;
  padding: 20px 24px 17px;
  border: 1px solid rgba(125, 87, 47, .38);
  background: rgba(252, 246, 236, .18);
}
.celebrity-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.celebrity-heading p { margin: 0; }
.celebrity-title {
  color: #8b3042;
  font: 700 11px/1.2 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.celebrity-heading p:last-child,
.celebrity-note { color: #776960; font: 10px/1.4 ui-sans-serif, system-ui, sans-serif; }
.celebrity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.celebrity-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  padding: 3px 15px 3px 0;
  border-right: 1px solid rgba(125, 87, 47, .24);
}
.celebrity-card + .celebrity-card { padding-left: 15px; }
.celebrity-card:last-child { padding-right: 0; border-right: 0; }
.celebrity-rank { color: rgba(139, 48, 66, .62); font: 18px/1 Georgia, serif; }
.celebrity-card h3 { margin: 0 0 5px; color: #342a29; font: 700 13px/1.25 ui-sans-serif, system-ui, sans-serif; }
.celebrity-card p { margin: 0; color: #5d524d; font: 11px/1.55 Georgia, "Songti SC", "STSong", serif; }
.celebrity-note { margin: 13px 0 0; }
.poster-footer {
  max-width: 930px;
  margin: 18px auto 0;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}
.qr-block { text-align: center; }
.qr-block img {
  display: block;
  width: 82px;
  height: 82px;
  margin-left: auto;
  border: 1px solid rgba(125, 87, 47, .46);
}
.qr-block p {
  margin: 7px 0 0;
  color: #6a5545;
  font: 10px/1.35 ui-sans-serif, system-ui, sans-serif;
}
.chart-panel.export-mobile {
  width: 600px !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 46px 32px 42px !important;
  border: 1px solid #76542f !important;
  border-radius: 0 !important;
  background: url("assets/pluto-chart-mobile-v1.png?v=f3dce5bdfb4d9718") center / cover no-repeat, #0d0b12 !important;
  box-shadow: none !important;
  color: #f3e8d7 !important;
}
.chart-panel.export-mobile .chart-meta {
  display: block !important;
  padding: 18px 20px 24px !important;
  text-align: center !important;
}
.chart-panel.export-mobile .eyebrow {
  margin-bottom: 12px !important;
  color: #c7a46e !important;
  font-size: 10px !important;
  letter-spacing: .18em !important;
}
.chart-panel.export-mobile #personName {
  margin-bottom: 10px !important;
  color: #fff8ec !important;
  font-size: 42px !important;
  line-height: 1 !important;
}
.chart-panel.export-mobile #birthLine {
  margin: 0 auto !important;
  max-width: 460px !important;
  color: #cdbfae !important;
  font: 14px/1.55 ui-sans-serif, system-ui, sans-serif !important;
}
.chart-panel.export-mobile .chart-frame {
  max-height: none !important;
  overflow: visible !important;
  margin-top: 0 !important;
  padding: 14px 0 0 !important;
}
.chart-panel.export-mobile .chart-frame::before {
  top: 42% !important;
  width: 390px !important;
  height: 390px !important;
  border-color: rgba(210, 174, 118, .20) !important;
}
.chart-panel.export-mobile .chart-frame::after {
  top: 42% !important;
  width: 470px !important;
  height: 470px !important;
  border-color: rgba(184, 151, 201, .12) !important;
}
.chart-panel.export-mobile .chart-layout {
  width: 536px !important;
  margin: 0 auto !important;
  grid-template-columns: 98px 324px 98px !important;
  gap: 8px !important;
}
.chart-panel.export-mobile .side-column {
  width: 98px !important;
}
.chart-panel.export-mobile .side-column.left {
  order: 1 !important;
  justify-self: start !important;
}
.chart-panel.export-mobile .side-column.right {
  order: 3 !important;
  justify-self: end !important;
}
.chart-panel.export-mobile .chart-graph {
  order: 2 !important;
  width: 324px !important;
  justify-self: center !important;
}
.chart-panel.export-mobile .chart-graph::before {
  top: 78px !important;
  width: 330px !important;
  background: radial-gradient(circle, rgba(248, 231, 203, .28), rgba(164, 132, 172, .10) 52%, transparent 72%) !important;
}
.chart-panel.export-mobile #bodygraph {
  width: 240px !important;
  transform: none !important;
}
.chart-panel.export-mobile .watermark {
  margin-top: 8px !important;
  color: rgba(218, 190, 148, .64) !important;
  font-size: 7.5px !important;
  letter-spacing: .08em !important;
  white-space: nowrap !important;
}
.chart-panel.export-mobile .side-column > p {
  margin: 18px 0 10px !important;
  color: #c7a46e !important;
  font-size: 8px !important;
  letter-spacing: .10em !important;
  text-align: center !important;
}
.chart-panel.export-mobile .planet-list {
  width: 98px !important;
  height: 418px !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: repeat(13, 1fr) !important;
  padding: 6px !important;
  border-color: rgba(210, 174, 118, .34) !important;
  background: rgba(15, 12, 19, .62) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 225, .03) !important;
}
.chart-panel.export-mobile .planet-list li {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 24px !important;
  align-items: center !important;
  min-height: 0 !important;
  gap: 2px !important;
  padding: 6px 2px !important;
  border-color: rgba(210, 174, 118, .16) !important;
}
.chart-panel.export-mobile .planet-list span {
  display: grid !important;
  grid-template-columns: 10px minmax(0, 1fr) !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  gap: 3px !important;
  justify-content: flex-start !important;
  color: #d1b786 !important;
  font: italic 8px/1.45 "Songti SC", "STSong", Georgia, "Times New Roman", serif !important;
  white-space: nowrap !important;
}
html[lang="en"] .chart-panel.export-mobile .planet-list span {
  font-size: 6.5px !important;
}
.chart-panel.export-mobile .planet-list i {
  width: 10px !important;
  min-width: 0 !important;
  color: #d1b786 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  text-align: center !important;
}
.chart-panel.export-mobile .planet-list em {
  display: block !important;
  min-width: 0 !important;
  padding: 1px 0 2px !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}
.chart-panel.export-mobile .planet-list b {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 24px !important;
  text-align: right !important;
  color: #fff3df !important;
  font: 700 9px/1.3 ui-sans-serif, system-ui, sans-serif !important;
}
.chart-panel.export-mobile .right li {
  grid-template-columns: 24px minmax(0, 1fr) !important;
}
.chart-panel.export-mobile .right .planet-list b {
  grid-column: 1 !important;
  text-align: left !important;
}
.chart-panel.export-mobile .right .planet-list span {
  grid-column: 2 !important;
  grid-template-columns: minmax(0, 1fr) 10px !important;
  text-align: right !important;
}
.chart-panel.export-mobile .right .planet-list i { grid-column: 2 !important; grid-row: 1 !important; }
.chart-panel.export-mobile .right .planet-list em { grid-column: 1 !important; grid-row: 1 !important; }
.chart-panel.export-mobile .properties {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 536px !important;
  max-width: 536px !important;
  margin-top: 16px !important;
  border-color: rgba(210, 174, 118, .40) !important;
  background: rgba(12, 10, 16, .70) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 225, .03) !important;
}
.chart-panel.export-mobile .property {
  min-height: 64px !important;
  padding: 10px 13px !important;
  border-color: rgba(210, 174, 118, .20) !important;
  color: #f2e7d7 !important;
  font-size: 11px !important;
}
.chart-panel.export-mobile .property b {
  color: #cba673 !important;
  font-size: 9px !important;
  letter-spacing: .08em !important;
}
.chart-panel.export-mobile .property span { margin-top: 4px !important; }
.chart-panel.export-mobile .interpretation {
  width: 536px !important;
  max-width: 536px !important;
  margin-top: 5px !important;
  padding: 17px 18px 18px !important;
  border-color: rgba(210, 174, 118, .38) !important;
  background: rgba(12, 10, 16, .52) !important;
}
.chart-panel.export-mobile .interpretation-title {
  margin-bottom: 9px !important;
  color: #cba673 !important;
  font-size: 10.5px !important;
  letter-spacing: .12em !important;
}
.chart-panel.export-mobile #interpretationText {
  color: #e7dbcb !important;
  font: 11.5px/1.78 "Songti SC", "STSong", Georgia, "Times New Roman", serif !important;
  text-align: justify !important;
}
.chart-panel.export-mobile .celebrity-matches {
  width: 536px !important;
  max-width: 536px !important;
  margin-top: 14px !important;
  padding: 15px 16px 13px !important;
  border-color: rgba(210, 174, 118, .38) !important;
  background: rgba(12, 10, 16, .52) !important;
}
.chart-panel.export-mobile .celebrity-heading {
  margin-bottom: 11px !important;
  gap: 10px !important;
}
.chart-panel.export-mobile .celebrity-title {
  color: #cba673 !important;
  font-size: 10.5px !important;
  letter-spacing: .10em !important;
}
.chart-panel.export-mobile .celebrity-heading p:last-child {
  max-width: 230px !important;
  color: #a99887 !important;
  font-size: 8px !important;
  text-align: right !important;
}
.chart-panel.export-mobile .celebrity-card {
  grid-template-columns: 20px minmax(0, 1fr) !important;
  gap: 5px !important;
  padding: 2px 10px 2px 0 !important;
  border-color: rgba(210, 174, 118, .20) !important;
}
.chart-panel.export-mobile .celebrity-card + .celebrity-card { padding-left: 10px !important; }
.chart-panel.export-mobile .celebrity-card:last-child { padding-right: 0 !important; }
.chart-panel.export-mobile .celebrity-rank { color: rgba(203, 166, 115, .62) !important; font-size: 13px !important; }
.chart-panel.export-mobile .celebrity-card h3 { margin-bottom: 4px !important; color: #fff3df !important; font-size: 10px !important; }
.chart-panel.export-mobile .celebrity-card p { color: #d8cbbb !important; font: 9px/1.55 "Songti SC", "STSong", Georgia, serif !important; }
.chart-panel.export-mobile .celebrity-note { margin: 10px 0 0 !important; color: #9f9081 !important; font-size: 7.5px !important; }
.chart-panel.export-mobile .poster-footer {
  position: absolute !important;
  z-index: 4 !important;
  right: 112px !important;
  bottom: 32px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.chart-panel.export-mobile .qr-block img {
  width: 58px !important;
  height: 58px !important;
  padding: 3px !important;
  border-color: rgba(210, 174, 118, .56) !important;
  background: #f3e8d7 !important;
}
.chart-panel.export-mobile .qr-block p {
  max-width: 58px !important;
  margin-top: 4px !important;
  color: #cba673 !important;
  font-size: 6.5px !important;
  letter-spacing: .05em !important;
}
.center { fill: rgba(248, 239, 226, .90); stroke: #9e7a48; stroke-width: 2.1; filter: drop-shadow(0 2px 2px rgba(43, 31, 22, .14)); }
.center.head { fill: #a9a17a; }
.center.ajna { fill: #6f6a61; }
.center.throat { fill: #c19a6a; }
.center.g { fill: #dfc272; }
.center.heart { fill: #d8c3cc; }
.center.sacral { fill: #c98776; }
.center.spleen { fill: #b7916a; }
.center.solar { fill: #b8a0c3; }
.center.root { fill: #c9aa74; }
.center.defined { stroke: #8b5d28; filter: drop-shadow(0 3px 3px rgba(43, 31, 22, .20)); }
.chart-bg { fill: transparent; }
.astro-ring { fill: none; stroke: rgba(133, 92, 46, .22); stroke-width: 1; stroke-dasharray: 2 7; }
.astro-ring.inner { stroke: rgba(110, 68, 99, .16); stroke-dasharray: none; }
.astro-ring.faint { stroke: rgba(133, 92, 46, .11); stroke-dasharray: 1 9; }
.astro-tick { stroke: rgba(133, 92, 46, .25); stroke-width: 1; }
.pluto-disc { fill: url(#pluto-disc); opacity: .16; }
.pluto-shadow { fill: url(#pluto-shadow); mix-blend-mode: multiply; opacity: .18; }
.star-dust { fill: #b78345; opacity: .42; }
.orbit { fill: none; stroke: rgba(92, 66, 39, .18); stroke-width: 1; }
.orbit.inner { stroke: rgba(110, 68, 99, .14); }
.channel-bg { stroke: #d6c8b5; stroke-width: 12; stroke-linecap: round; opacity: .84; }
.channel-half { stroke-width: 6; stroke-linecap: round; opacity: .94; }
.gate-dot { fill: #f7ead7; stroke: #c8b8a4; stroke-width: 2; filter: drop-shadow(0 1px 1px rgba(43, 31, 22, .12)); }
.gate-dot.active { fill: #292329; stroke: #d8b17d; }
.gate-label { font: 700 11px ui-sans-serif, system-ui, sans-serif; text-anchor: middle; dominant-baseline: central; fill: #4a3037; }
.gate-label.active { fill: #f8ecd9; }
@media (max-width: 1080px) {
  .topbar { padding: 0 22px; }
  .shell, .chart-layout { grid-template-columns: 1fr; }
  .form-panel { position: static; }
  .chart-layout { gap: 12px; }
  .planet-list { grid-template-columns: repeat(2, 1fr); }
  .side-column > p, .side-column.right > p { text-align: left; }
  .properties { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
}
@media (max-width: 560px) {
  .settings-links { grid-template-columns: 1fr; }
  .topbar { min-height: 58px; padding: 0 12px; }
  .brand { flex: 0 0 auto; font-size: 18px; white-space: nowrap; }
  .brand-detail { display: none; }
  .topbar-actions { gap: 6px; }
  .app-tools { gap: 4px; }
  .app-tools button { width: 30px; min-height: 30px; }
  .language-switch { width: 90px; grid-template-columns: repeat(2, 43px); }
  .shell { padding: 8px; }
  .shell.form-view, .shell.result-view { width: 100%; }
  .shell.form-view {
    height: auto;
    min-height: calc(100dvh - 58px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow: visible;
  }
  .form-panel {
    --form-control-height: 40px;
    height: auto;
    min-height: calc(100dvh - 74px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 18px 20px;
    background:
      linear-gradient(180deg, rgba(8, 12, 16, .18), rgba(6, 9, 13, .34)),
      url("assets/pluto-form-mobile-v4.png?v=f3dce5bdfb4d9718") center bottom / cover no-repeat,
      var(--panel);
  }
  .form-panel .eyebrow { margin-bottom: 5px; }
  .form-panel h1 { margin-bottom: 12px; font-size: 34px; }
  .form-panel label { gap: 5px; margin-bottom: 9px; }
  .form-panel .ampm-field { margin-bottom: 9px; }
  .form-panel input,
  .form-panel select,
  .form-panel form > button {
    height: var(--form-control-height);
    min-height: var(--form-control-height);
  }
  .form-panel .place-attribution { margin: -2px 0 9px; }
  .form-panel #status { min-height: 16px; font-size: 11px; }
  .chart-panel { padding: 22px 16px; }
  .chart-meta { display: grid; }
  .result-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .privacy-toggle { justify-self: start; }
  .result-toolbar .chart-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .chart-actions button { width: 100%; }
  .detail-fab {
    position: fixed;
    z-index: 60;
    top: auto;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 136px;
    min-height: 44px;
    transform: translateX(-50%);
    background: #cfad79;
    color: #1b121a;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .48);
  }
  .detail-dialog { width: calc(100% - 16px); max-height: 90dvh; }
  .app-dialog { width: calc(100% - 16px); max-height: 88dvh; }
  .detail-dialog-header { padding: 20px 18px 15px; }
  .detail-dialog-header h2 { font-size: 25px; }
  .detail-share { min-height: 34px; padding: 0 10px; }
  .detail-content { padding: 0 18px 22px; }
  .detail-content section { padding: 17px 0; }
  .detail-content p { font-size: 13px; line-height: 1.75; }
  .chart-graph { order: 1; }
  .side-column:not(.right) { order: 2; }
  .side-column.right { order: 3; }
  .properties, .planet-list { grid-template-columns: 1fr; }
  .location-results { max-height: 240px; }
  .gate-label { font-size: 13px; }
}
