.ls-hd, .ls-hd * { box-sizing: border-box; }
.ls-hd { --ink:#152033; --muted:#667085; --line:#e5e7eb; --violet:#7357e8; --teal:#24a6a1; --soft:#f8f9fc; color:var(--ink); font-family:system-ui,-apple-system,"Noto Sans TC","Microsoft JhengHei",sans-serif; line-height:1.65; }
.ls-hd__shell { width:min(100%,1060px); margin:24px auto; padding:clamp(18px,4vw,44px); border:1px solid rgba(115,87,232,.16); border-radius:28px; background:radial-gradient(circle at 10% 0%,rgba(115,87,232,.12),transparent 32%),radial-gradient(circle at 100% 20%,rgba(36,166,161,.10),transparent 26%),#fff; box-shadow:0 24px 70px rgba(30,41,59,.09); }
.ls-hd__header h2 { margin:0; font-size:clamp(28px,5vw,46px); letter-spacing:-.03em; }
.ls-hd__header>p:last-child { margin:8px 0 0; color:var(--muted); }
.ls-hd__eyebrow { margin:0 0 6px; color:var(--teal); font-weight:800; font-size:12px; letter-spacing:.18em; }
.ls-hd__notice { display:flex; gap:10px 18px; flex-wrap:wrap; margin:24px 0; padding:13px 16px; border:1px solid #fde68a; border-radius:14px; background:#fffbeb; color:#7c5a0b; font-size:14px; }
.ls-hd__form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:26px; padding:22px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.86); }
.ls-hd__field { display:flex; flex-direction:column; gap:7px; }
.ls-hd__field--wide { grid-column:1/-1; }
.ls-hd__field label { font-weight:750; font-size:14px; }
.ls-hd__field input,.ls-hd__field select { width:100%; min-height:48px; padding:10px 13px; border:1px solid #cfd4dc; border-radius:12px; background:#fff; color:var(--ink); font:inherit; }
.ls-hd__field input:focus,.ls-hd__field select:focus { outline:3px solid rgba(115,87,232,.14); border-color:var(--violet); }
.ls-hd__search-select { position:relative; }
.ls-hd__field .ls-hd__search-select-toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:48px; padding:10px 13px; border:1px solid #cfd4dc; border-radius:12px; background:#fff; box-shadow:none; color:var(--ink); font-weight:400; text-align:left; }
.ls-hd__search-select-toggle i { width:9px; height:9px; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted); transform:translateY(-2px) rotate(45deg); transition:transform .18s ease; }
.ls-hd__search-select-toggle[aria-expanded="true"] i { transform:translateY(3px) rotate(225deg); }
.ls-hd__search-select-panel { position:absolute; z-index:20; top:calc(100% + 6px); left:0; width:100%; padding:8px; border:1px solid #d9d6fe; border-radius:13px; background:#fff; box-shadow:0 18px 45px rgba(21,32,51,.18); }
.ls-hd__search-select-panel[hidden] { display:none; }
.ls-hd__search-select-panel input { margin-bottom:7px; min-height:42px; border-radius:9px; }
.ls-hd__search-select-panel select { min-height:310px; padding:3px; border:0; border-radius:8px; outline:0; }
.ls-hd__search-select-panel option { padding:8px 10px; border-radius:7px; }
.ls-hd__search-select-panel option:checked { background:linear-gradient(135deg,var(--violet),#5f7bf0); color:#fff; }
.ls-hd__field-help { color:var(--muted); font-size:12px; }
.ls-hd__time-fields { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto; align-items:center; gap:8px; }
.ls-hd__time-fields span { color:var(--muted); font-size:13px; }
.ls-hd__field--action { grid-column:1/-1; align-items:center; justify-content:flex-end; }
.ls-hd__actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; width:100%; }
.ls-hd__actions>:only-child { grid-column:1/-1; }
.ls-hd__field--action button { width:100%; }
.ls-hd__field--action .ls-hd__full-analysis { background:linear-gradient(135deg,var(--teal),#168b86); box-shadow:0 10px 22px rgba(36,166,161,.22); }
.ls-hd__field button { min-height:48px; padding:10px 20px; border:0; border-radius:12px; background:linear-gradient(135deg,var(--violet),#5f7bf0); color:#fff; font:inherit; font-weight:800; cursor:pointer; box-shadow:0 10px 22px rgba(115,87,232,.22); }
.ls-hd__privacy { grid-column:1/-1; margin:0; color:var(--muted); font-size:12px; }
.ls-hd__error { grid-column:1/-1; padding:12px 14px; border-radius:12px; background:#fef2f2; color:#b42318; }
.ls-hd__error.is-success { background:#ecfdf3; color:#027a48; }
.ls-hd__form.is-locked input:disabled,.ls-hd__form.is-locked select:disabled { opacity:.72; cursor:not-allowed; background:#f3f4f6; }
.ls-hd__field button:disabled { cursor:wait; opacity:.72; box-shadow:none; }
.ls-hd__result { scroll-margin-top:28px; margin-top:30px; padding-top:28px; border-top:1px solid var(--line); }
.ls-hd__result-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.ls-hd__result-head h3 { margin:0; font-size:30px; }
.ls-hd__result-head p:last-child { margin:5px 0; color:var(--muted); }
.ls-hd__summary { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:12px; margin:22px 0; }
.ls-hd__summary .ls-hd__card { grid-column:span 3; }
.ls-hd__summary .ls-hd__card:nth-child(n+5) { grid-column:span 4; }
.ls-hd__card { display:flex; min-height:108px; padding:16px; flex-direction:column; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:16px; background:rgba(248,249,252,.78); }
.ls-hd__card span { display:block; color:var(--muted); font-size:12px; font-weight:700; }
.ls-hd__card strong { display:block; margin-top:8px; font-size:18px; line-height:1.35; }
.ls-hd__card { text-align:center; }
.ls-hd__card--cross small { display:block; margin-top:8px; color:var(--muted); font-size:13px; font-weight:700; }
.ls-hd__bodygraph-wrap { position:relative; min-height:650px; display:grid; place-items:center; margin:24px 0 30px; padding:22px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(160deg,#fbfaff,#f6fbfb); }
.ls-hd__bodygraph { width:100%; max-width:440px; margin:auto; }
.ls-bg { display:block; width:100%; height:auto; overflow:visible; }
.ls-bg-channel line { stroke:#d7dbe4; stroke-width:3; stroke-linecap:round; transition:.25s ease; }
.ls-bg-channel.is-active line { stroke:var(--violet); stroke-width:7; filter:drop-shadow(0 2px 4px rgba(115,87,232,.25)); }
.ls-bg-channel text { fill:#3f2d9f; font-size:9px; font-weight:800; text-anchor:middle; paint-order:stroke; stroke:#fff; stroke-width:3px; stroke-linejoin:round; }
.ls-bg-center polygon,.ls-bg-center rect { stroke:#263247; stroke-width:2.4; transition:.25s ease; }
.ls-bg-center.is-defined polygon,.ls-bg-center.is-defined rect { filter:drop-shadow(0 5px 8px rgba(21,32,51,.14)); }
.ls-bg-label { fill:#182236; font-size:13px; font-weight:850; text-anchor:middle; }
.ls-bg-gates { fill:#374151; font-size:8px; font-weight:700; text-anchor:middle; }
.ls-hd__bodygraph-legend { position:absolute; right:20px; bottom:20px; display:flex; flex-direction:column; gap:10px; padding:12px 14px; border:1px solid rgba(229,231,235,.9); border-radius:12px; background:rgba(255,255,255,.88); color:var(--muted); font-size:13px; box-shadow:0 8px 24px rgba(21,32,51,.06); }
.ls-hd__bodygraph-legend span { display:flex; align-items:center; gap:10px; }
.ls-hd__bodygraph-legend i { width:24px; height:24px; border:2px solid #263247; border-radius:6px; background:#fff; }
.ls-hd__bodygraph-legend i.is-defined { background:#f4d66d; }
.ls-hd__bodygraph-legend i.is-channel { height:7px; border:0; border-radius:99px; background:var(--violet); }
.ls-hd__tabs { position:sticky; top:10px; z-index:5; display:flex; gap:8px; overflow-x:auto; margin:28px 0 18px; padding:8px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.94); backdrop-filter:blur(14px); }
.ls-hd__tabs button { flex:0 0 auto; padding:9px 14px; border:0; border-radius:10px; background:transparent; color:var(--muted); font:inherit; font-weight:750; cursor:pointer; }
.ls-hd__tabs button.is-active { background:var(--ink); color:#fff; }
.ls-hd__panel { min-height:240px; padding:22px; border:1px solid var(--line); border-radius:18px; background:#fff; }
.ls-hd__panel h4 { margin:0 0 18px; font-size:22px; }
.ls-hd__placeholder-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.ls-hd__analysis-section { padding:18px 0 22px; border-bottom:1px solid var(--line); }
.ls-hd__analysis-section:first-child { padding-top:0; }
.ls-hd__analysis-section:last-child { padding-bottom:0; border-bottom:0; }
.ls-hd__analysis-section>h5 { margin:0 0 12px; color:var(--ink); font-size:19px; }
.ls-hd__analysis-section>.ls-hd__placeholder,.ls-hd__analysis-section>.ls-hd__analysis { margin-top:0; }
.ls-hd__definition-analysis { margin-top:22px; padding-top:22px; border-top:1px solid var(--line); }
.ls-hd__definition-analysis>h5 { margin:0 0 12px; font-size:19px; }
.ls-hd__definition-analysis>.ls-hd__placeholder,.ls-hd__definition-analysis>.ls-hd__analysis { margin-top:0; }
.ls-hd__placeholder { margin-top:16px; padding:20px; border:1px dashed rgba(115,87,232,.42); border-radius:16px; background:linear-gradient(135deg,#fbfaff,#f5fbfa); }
.ls-hd__placeholder:first-child { margin-top:0; }
.ls-hd__placeholder>span { display:inline-flex; padding:3px 9px; border-radius:99px; background:#eeeaff; color:#5b43c4; font-size:11px; font-weight:800; letter-spacing:.05em; }
.ls-hd__placeholder h5 { margin:12px 0 5px; font-size:18px; }
.ls-hd__placeholder p { margin:0; color:var(--muted); }
.ls-hd__analysis { margin-top:16px; padding:20px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.ls-hd__analysis-body>:first-child { margin-top:0; }
.ls-hd__analysis-body>:last-child { margin-bottom:0; }
.ls-hd__locked { display:grid; gap:8px; margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.ls-hd__locked h6 { margin:0 0 3px; font-size:15px; }
.ls-hd__locked>div { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:9px; padding:11px 13px; border-radius:11px; background:var(--soft); }
.ls-hd__locked small { color:var(--muted); }
.ls-hd__deep-section { margin-top:12px; padding:0; border:1px solid rgba(115,87,232,.22); border-radius:12px; background:#fff; overflow:hidden; }
.ls-hd__deep-section:not(details) { padding:16px; }
.ls-hd__deep-section:not(details) h6 { margin:0 0 10px; color:var(--violet); font-size:16px; }
details.ls-hd__deep-section summary { position:relative; padding:16px 46px 16px 16px; color:var(--violet); font-size:16px; font-weight:800; cursor:pointer; list-style:none; }
details.ls-hd__deep-section summary::-webkit-details-marker { display:none; }
details.ls-hd__deep-section summary::after { content:'＋'; position:absolute; top:50%; right:17px; transform:translateY(-50%); font-size:22px; line-height:1; }
details.ls-hd__deep-section[open] summary::after { content:'−'; }
details.ls-hd__deep-section>div { padding:0 16px 16px; }
.ls-hd__deep-section>div>:first-child { margin-top:0; }
.ls-hd__deep-section>div>:last-child { margin-bottom:0; }
.ls-hd__deep-unlocked { margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.ls-hd__deep-unlocked>h6 { display:flex; align-items:center; gap:6px; margin:0 0 10px; color:#027a48; font-size:15px; }
.ls-hd-account { --ls-account-line:#e5e7eb; --ls-account-soft:#f8f9fc; }
.ls-hd-account__head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.ls-hd-account__head h2 { margin:0; }
.ls-hd-account__head p { margin:5px 0 0; color:#667085; }
.ls-hd-account__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.ls-hd-account__card { display:flex; flex-direction:column; justify-content:space-between; gap:18px; padding:20px; border:1px solid var(--ls-account-line); border-radius:16px; background:#fff; }
.ls-hd-account__card span { color:#7357e8; font-size:13px; font-weight:750; }
.ls-hd-account__card h3 { margin:7px 0 4px; }
.ls-hd-account__card p { margin:0; color:#667085; }
.ls-hd-account__actions { display:flex; align-items:center; gap:14px; }
.ls-hd-account__actions form { margin:0; }
.ls-hd-account__actions .button-link { border:0; background:transparent; color:#b42318; cursor:pointer; text-decoration:underline; }
.ls-hd-account__status { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; margin:0 0 16px; padding:14px 16px; border:1px solid #d9d6fe; border-radius:12px; background:#f4f3ff; }
.ls-hd-account__empty { padding:30px; border:1px dashed var(--ls-account-line); border-radius:16px; text-align:center; background:var(--ls-account-soft); }
.ls-hd-checkout-confirm { margin:22px 0; padding:18px; border:1px solid #d9d6fe; border-radius:12px; background:#f8f7ff; }
.ls-hd-checkout-confirm h3 { margin-top:0; }
.ls-hd-checkout-new[hidden] { display:none; }
.ls-hd-checkout-new { margin:16px 0; padding:16px; border:1px solid #e5e7eb; border-radius:12px; background:#fff; }
.ls-hd-checkout-new h4 { margin:0 0 12px; }
.ls-hd-checkout-new__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ls-hd-checkout-new__grid .form-row { float:none; width:auto; margin:0; }
.ls-hd-checkout-new__grid label { display:block; }
.ls-hd-checkout-new__grid input,.ls-hd-checkout-new__grid select { width:100%; min-height:44px; }
.ls-hd-checkout-new>[data-ls-hd-create-chart] { margin-top:14px; }
.ls-hd-checkout-new__error { margin:10px 0 0; color:#b42318; }
@media (max-width:700px) { .ls-hd-account__grid,.ls-hd-checkout-new__grid { grid-template-columns:1fr; } .ls-hd-account__head { align-items:flex-start; flex-direction:column; } }
.ls-hd__selector { display:flex; gap:8px; overflow-x:auto; padding:2px 2px 12px; }
.ls-hd__selector button { flex:0 0 auto; padding:9px 13px; border:1px solid var(--line); border-radius:99px; background:#fff; color:var(--muted); font:inherit; font-size:14px; font-weight:750; cursor:pointer; }
.ls-hd__selector button.is-active { border-color:var(--violet); background:#eeeaff; color:#523bbd; }
.ls-hd__selection { margin-top:10px; padding:18px; border:1px solid var(--line); border-radius:16px; background:var(--soft); }
.ls-hd__selection-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.ls-hd__selection-head span { font-size:20px; font-weight:850; }
.ls-hd__selection-head strong { color:var(--teal); }
.ls-hd__selection-meta { margin:4px 0 0; color:var(--muted); }
.ls-hd__details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.ls-hd__details p { display:flex; justify-content:space-between; gap:18px; margin:0; padding:12px 14px; border-radius:12px; background:var(--soft); }
.ls-hd__details span { color:var(--muted); }
.ls-hd__badges { display:flex; flex-wrap:wrap; gap:9px; }
.ls-hd__badges span { display:grid; place-items:center; min-width:45px; height:45px; padding:0 10px; border:1px solid rgba(115,87,232,.3); border-radius:50%; background:#f4f1ff; color:#523bbd; font-weight:850; }
.ls-hd__center-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.ls-hd__center-list li { display:flex; justify-content:space-between; gap:10px; padding:13px; border-radius:12px; }
.ls-hd__center-list .is-defined { background:#eaf8f6; color:#126c68; }
.ls-hd__center-list .is-open { background:#f4f5f7; color:#667085; }
.ls-hd__channel-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ls-hd__channel-list article { display:grid; grid-template-columns:auto 1fr; gap:2px 12px; padding:14px; border:1px solid var(--line); border-radius:13px; }
.ls-hd__channel-list strong { grid-row:1/3; align-self:center; color:var(--violet); font-size:19px; }
.ls-hd__channel-list span { font-weight:750; }
.ls-hd__channel-list small { color:var(--muted); }
.ls-hd__cross { padding:20px; border-radius:16px; background:linear-gradient(135deg,#f4f1ff,#eaf8f6); text-align:center; }
.ls-hd__cross>strong { font-size:22px; }
.ls-hd__cross>small[lang="en"] { margin-top:3px; font-size:13px; }
.ls-hd__cross .ls-hd__badges { justify-content:center; margin:15px 0; }
.ls-hd__cross small { display:block; color:var(--muted); }
.ls-hd__table-wrap { overflow-x:auto; }
.ls-hd table { width:100%; border-collapse:collapse; }
.ls-hd th,.ls-hd td { padding:10px 12px; border-bottom:1px solid var(--line); text-align:left; }
.ls-hd .ls-hd__activation-table th,.ls-hd .ls-hd__activation-table td { text-align:center; }
.ls-hd thead th { background:var(--ink); color:#fff; }
.ls-hd td.ls-hd__design-value { color:#cf2e2e; font-weight:850; }
.ls-hd td.ls-hd__personality-value { color:#111827; font-weight:850; }
.ls-hd__empty { padding:18px; border-radius:12px; background:var(--soft); color:var(--muted); }
@media (max-width:760px) {
  .ls-hd__shell { margin:10px auto; border-radius:18px; }
  .ls-hd__form,.ls-hd__details,.ls-hd__center-list,.ls-hd__channel-list,.ls-hd__placeholder-grid { grid-template-columns:1fr; }
  .ls-hd__summary .ls-hd__card,.ls-hd__summary .ls-hd__card:nth-child(n+5) { grid-column:span 12; }
  .ls-hd__bodygraph-wrap { min-height:0; padding:18px; }
  .ls-hd__bodygraph-legend { position:static; flex-direction:row; flex-wrap:wrap; justify-content:center; margin-top:12px; }
  .ls-hd__field--wide { grid-column:auto; }
  .ls-hd__field--action { grid-column:auto; }
  .ls-hd__field--action button { width:100%; }
  .ls-hd__privacy,.ls-hd__error { grid-column:auto; }
  .ls-hd__result-head { display:block; }
  .ls-hd__card { min-height:0; }
  .ls-hd__tabs { margin-left:-8px; margin-right:-8px; }
}
@media (max-width:520px) {
  .ls-hd__actions { grid-template-columns:1fr; }
  .ls-hd__locked>div { grid-template-columns:auto 1fr; }
  .ls-hd__locked small { grid-column:2; }
}
@media print {
  .ls-hd__form,.ls-hd__notice,.ls-hd__tabs { display:none!important; }
  .ls-hd__panel[hidden] { display:block!important; margin-top:14px; }
  .ls-hd__shell { box-shadow:none; border:0; }
}

/* 2.2.6 — unified homepage/chart/account visual system */
.ls-hd {
  --ink:#443729;
  --muted:#7d705f;
  --line:rgba(151,112,48,.23);
  --violet:#b78a3d;
  --teal:#8d6b34;
  --soft:#f7f0df;
  color:var(--ink);
  font-size:16px!important;
  line-height:1.75;
}
.woocommerce-account .woocommerce-MyAccount-content .ls-hd { font-size:16px!important; line-height:1.75!important; }
.woocommerce-account .woocommerce-MyAccount-content .ls-hd .ls-hd__analysis-body,
.woocommerce-account .woocommerce-MyAccount-content .ls-hd .ls-hd__analysis-body p,
.woocommerce-account .woocommerce-MyAccount-content .ls-hd .ls-hd__analysis-body li,
.woocommerce-account .woocommerce-MyAccount-content .ls-hd .ls-hd__deep-section>div,
.woocommerce-account .woocommerce-MyAccount-content .ls-hd .ls-hd__deep-section>div p,
.woocommerce-account .woocommerce-MyAccount-content .ls-hd .ls-hd__deep-section>div li {
  font-size:1rem!important;
  line-height:1.75!important;
}
.ls-hd>.ls-hd__shell {
  width:min(100% - 32px,1180px);
  margin:32px auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.ls-hd .ls-hd__form-card { width:100%; }
.ls-hd .ls-hd__chart-description { display:none; }
.ls-hd .ls-hd__form {
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.ls-hd .ls-hd__field label { color:var(--ink); font-size:.86rem; font-weight:700; }
.ls-hd .ls-hd__field input,
.ls-hd .ls-hd__field select,
.ls-hd .ls-hd__field .ls-hd__search-select-toggle {
  height:50px;
  min-height:50px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:2px;
  background:rgba(255,255,255,.72);
  color:var(--ink);
  box-shadow:none;
}
.ls-hd .ls-hd__field input:focus,
.ls-hd .ls-hd__field select:focus { border-color:#b78a3d; outline:0; box-shadow:0 0 0 3px rgba(183,138,61,.1); }
.ls-hd .ls-hd__search-select-panel { border-color:var(--line); border-radius:2px; background:#fffdf7; }

/* Keep searchable location menus visually independent from the chart card.
 * The card used to clip the absolute-positioned panel at its rounded border,
 * making the dropdown look fused to the background. Let only the form card
 * overflow, and give the menu a clear gap/shadow so it floats above the page. */
.ls-hd .ls-hd__form-card.chart-card { overflow:visible; }
.ls-hd .ls-hd__search-select { position:relative; z-index:30; }
.ls-hd .ls-hd__search-select-panel {
  top:calc(100% + 12px);
  z-index:1000;
  border:1px solid var(--line);
  background:#fffdf7;
  box-shadow:0 18px 42px rgba(95,72,38,.18);
}

/* Raise the complete chart stacking context while a location menu is open.
 * A large z-index on the panel alone cannot escape a lower parent stacking context. */
.ls-hd.ls-hd--menu-open { position:relative; z-index:2147483000; }
.ls-hd.ls-hd--menu-open .ls-hd__shell,
.ls-hd.ls-hd--menu-open .ls-hd__form-card { position:relative; z-index:2147483000; overflow:visible; }
.ls-hd.ls-hd--menu-open .ls-hd__search-select.is-open { z-index:2147483001; }
.ls-hd.ls-hd--menu-open .ls-hd__search-select-panel { z-index:2147483002; }

/* Every chart context uses the homepage menu dimensions. */
.ls-hd[data-ls-mode="new"] .ls-hd__search-select-panel select,
.ls-hd[data-ls-mode="detail"] .ls-hd__search-select-panel select {
  height:auto;
  min-height:310px;
  max-height:none;
  padding:3px;
}
.ls-hd .ls-hd__field button { min-height:54px; border-radius:2px 18px 2px 18px; box-shadow:none; }
.ls-hd .ls-hd__field .primary-button { border:1px solid #b78a3d; background:#b78a3d; color:#fffdf8; box-shadow:0 10px 24px rgba(128,92,37,.18); }
.ls-hd .ls-hd__field .outline-button { border:1px solid #dbc391; background:transparent; color:#5b432b; }
.ls-hd .ls-hd__privacy { background:none; color:#998a74; }
.ls-hd .ls-hd__result { margin-top:16px; padding:clamp(25px,4vw,50px); border-top:1px solid rgba(183,138,61,.32); }
.ls-hd .ls-hd__result-head h3 { font-family:Georgia,"Noto Serif TC","Songti TC",serif; font-size:clamp(2rem,3.5vw,3.4rem); font-weight:400; }
.ls-hd .ls-hd__result-head .ls-hd__eyebrow { color:#b78a3d; font-family:Georgia,"Noto Serif TC","Songti TC",serif; }
.ls-hd .ls-hd__bodygraph-wrap { min-height:0; margin:0; padding:24px; border:1px solid var(--line); border-radius:3px 45px 3px 45px; background:rgba(255,253,247,.66); }
.ls-hd .ls-hd__bodygraph { max-width:none; }
.ls-hd .ls-hd__bodygraph-legend { display:none; }
.ls-hd .ls-hd__tabs { position:static; justify-content:center; margin:0; padding:8px; border:1px solid var(--line); border-radius:2px 28px 2px 28px; background:#f3ead6; backdrop-filter:none; }
.ls-hd .ls-hd__tabs button { min-width:100px; flex:0 1 140px; border-radius:0; color:var(--muted); }
.ls-hd .ls-hd__tabs button:nth-child(odd) { border-radius:2px 14px 2px 14px; }
.ls-hd .ls-hd__tabs button:nth-child(even) { border-radius:14px 2px 14px 2px; }
.ls-hd .ls-hd__tabs button.is-active { background:#5b432b; color:#fff9ea; }
.ls-hd .ls-hd__panel { margin-top:16px; padding:clamp(23px,3vw,38px); border:1px solid var(--line); border-radius:0; background:#fffefa; }

/* WooCommerce My Account: navigation on top, full-width content underneath. */
.woocommerce-account .woocommerce {
  display:block!important;
  grid-template-columns:1fr!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  color:#443729;
  font-family:system-ui,-apple-system,"Noto Sans TC","Microsoft JhengHei",sans-serif;
}
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { display:none!important; content:none!important; }
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float:none!important;
  clear:both!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  flex:none!important;
  margin:0!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation { order:1; }
.woocommerce-account .woocommerce-MyAccount-content { order:2; }
.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-bottom:42px!important;
  border-bottom:1px solid rgba(151,112,48,.23);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display:flex;
  align-items:stretch;
  gap:clamp(18px,3vw,42px);
  overflow-x:auto;
  margin:0;
  padding:0;
  list-style:none;
  scrollbar-width:thin;
}
.woocommerce-account .woocommerce-MyAccount-navigation li { flex:0 0 auto; margin:0!important; padding:0!important; border:0!important; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  position:relative;
  display:block;
  padding:18px 0 16px;
  color:#7d705f;
  font-size:.92rem;
  font-weight:700;
  text-decoration:none!important;
  white-space:nowrap;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a::after {
  content:"";
  position:absolute;
  right:50%;
  bottom:-1px;
  left:50%;
  height:2px;
  background:#b78a3d;
  transition:left .2s ease,right .2s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation li:hover a,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color:#443729; }
.woocommerce-account .woocommerce-MyAccount-navigation li:hover a::after,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::after { right:0; left:0; }
.woocommerce-account .woocommerce-MyAccount-content { min-height:420px; }
.woocommerce-account .woocommerce-MyAccount-content>h2:first-child,
.woocommerce-account .woocommerce-MyAccount-content>h3:first-child { font-family:Georgia,"Noto Serif TC","Songti TC",serif; font-weight:500; }

/* Account chart library follows the homepage editorial cards. */
.ls-hd-account { --ls-account-line:rgba(151,112,48,.23); --ls-account-soft:#f7f0df; }
.ls-hd-account>a,
.ls-hd-account>p>a { color:#8d6b34; font-weight:700; text-decoration:none; }
.ls-hd-account__head { margin-bottom:28px; padding-bottom:22px; border-bottom:1px solid var(--ls-account-line); }
.ls-hd-account__head h2 { font-family:Georgia,"Noto Serif TC","Songti TC",serif; font-size:clamp(2rem,4vw,3.2rem); font-weight:400; letter-spacing:-.03em; }
.ls-hd-account__head p { color:#7d705f; }
.ls-hd-account__head .button,
.ls-hd-account__actions .button,
.ls-hd-account__empty .button {
  min-height:46px;
  padding:10px 18px!important;
  border:1px solid #b78a3d!important;
  border-radius:2px 16px 2px 16px!important;
  background:#b78a3d!important;
  color:#fffdf8!important;
  font-weight:750!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.ls-hd-account__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ls-hd-account__card {
  min-height:230px;
  justify-content:flex-start;
  gap:10px;
  padding:28px;
  border:1px solid var(--ls-account-line);
  border-radius:3px 38px 3px 38px;
  background:rgba(255,253,247,.88);
  box-shadow:0 18px 45px rgba(95,72,38,.07);
}
.ls-hd-account__actions { margin-top:14px; }
.ls-hd-account__card:nth-child(even) { border-radius:38px 3px 38px 3px; }
.ls-hd-account__card span { color:#b78a3d; font-family:Georgia,"Noto Serif TC","Songti TC",serif; letter-spacing:.04em; }
.ls-hd-account__card h3 { margin:8px 0 7px; color:#443729; font-family:Georgia,"Noto Serif TC","Songti TC",serif; font-size:1.55rem; font-weight:500; }
.ls-hd-account__card p { color:#7d705f; }
.ls-hd-account__status { margin:0 0 24px; padding:16px 18px; border:1px solid #dbc391; border-radius:2px 20px 2px 20px; background:#f7f0df; color:#5b432b; }
.ls-hd-account__empty { padding:48px 28px; border:1px dashed #dbc391; border-radius:3px 38px 3px 38px; background:rgba(255,253,247,.7); }

/* Native Woo account screens (orders / edit-account) also use the same palette. */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table { border-color:rgba(151,112,48,.23); border-radius:2px 24px 2px 24px; overflow:hidden; }
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button.button {
  border:1px solid #b78a3d!important;
  border-radius:2px 14px 2px 14px!important;
  background:#b78a3d!important;
  color:#fffdf8!important;
  text-decoration:none!important;
}
.woocommerce-account .woocommerce-MyAccount-content input.input-text,
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"] {
  min-height:48px;
  border:1px solid rgba(151,112,48,.23);
  border-radius:2px;
  background:rgba(255,255,255,.78);
}

@media (max-width:760px) {
  .ls-hd>.ls-hd__shell { width:min(100% - 24px,1180px); margin:20px auto; }
  .ls-hd .ls-hd__result { padding:24px 15px; }
  .ls-hd .ls-hd__tabs { justify-content:flex-start; }
  .woocommerce-account .woocommerce { display:block!important; width:100%!important; max-width:none!important; margin:0!important; }
  .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom:28px!important; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { gap:22px; }
  .ls-hd-account__grid { grid-template-columns:1fr; }
  .ls-hd-account__card,.ls-hd-account__card:nth-child(even) { border-radius:3px 30px 3px 30px; }
}


/* Locked purchased charts: make location controls visibly read-only like the birth date. */
.ls-hd .ls-hd__form.is-locked .ls-hd__field input:disabled,
.ls-hd .ls-hd__form.is-locked .ls-hd__field select:disabled,
.ls-hd .ls-hd__form.is-locked .ls-hd__field .ls-hd__search-select-toggle:disabled {
  background:#f3f4f6;
  opacity:.72;
  cursor:not-allowed;
}
