.manager-advisor {
  padding-bottom: 80px;
  color: #17241e;
  background: radial-gradient(circle at 7% 22%, #e7f8ec, transparent 34%), radial-gradient(circle at 92% 56%, #eaf8f5, transparent 34%), #fbfdfc;
}
.manager-advisor * { box-sizing: border-box; }
.advisor-breadcrumb { display: flex; align-items: center; gap: 12px; padding-top: 19px; font-size: 14px; font-weight: 650; }
.advisor-breadcrumb a { color: #075d31; text-decoration: none; }
.advisor-hero { padding: 21px 0 30px; text-align: center; }
.advisor-hero h1 { margin: 0; font-size: clamp(34px, 4vw, 55px); line-height: 1.09; letter-spacing: -.035em; }
.advisor-hero p { max-width: 950px; margin: 14px auto 0; color: #41534a; font-size: 17px; line-height: 1.5; }
.advisor-layout { display: grid; grid-template-columns: minmax(360px, 400px) minmax(0, 1fr); align-items: start; gap: 24px; }
.advisor-form, .advisor-results { min-width: 0; }
.advisor-form { overflow: hidden; border: 1px solid #d3e2d9; border-radius: 19px; background: #fff; box-shadow: 0 20px 58px #1e704b0b; }
.advisor-form-head { display: flex; flex-direction: column; align-items: start; gap: 7px; padding: 16px 19px 12px; border-bottom: 1px solid #dce8e0; }
.advisor-form-head p, .advisor-results-head p { margin: 0 0 4px; color: #176e3b; font-size: 12px; font-weight: 750; }
.advisor-form-head h2, .advisor-results-head h2 { margin: 0; font-size: 29px; line-height: 1.08; letter-spacing: -.035em; }
.advisor-form-head h2 { max-width: 260px; font-size: 34px; }
.advisor-form-head > span { color: #53675a; font-size: 12px; line-height: 1.4; }

/* Compact accordion follows the Writer advisor; the license model is its first step. */
.advisor-groups { padding: 5px 14px 7px; }
.advisor-group { border-bottom: 1px solid #dce8e0; }
.advisor-group:last-child { border-bottom: 0; }
.advisor-group:has(> .advisor-group-trigger[aria-expanded="true"]) {
  margin-inline: -4px;
  padding-inline: 4px;
  border: 1px solid #bfe0cb;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #f6fcf8);
  box-shadow: 0 7px 18px #1e704b0a;
}
.advisor-group-trigger { display: grid; width: 100%; grid-template-columns: 30px minmax(0, 1fr) 27px; align-items: center; gap: 10px; padding: 10px 5px; border: 0; background: transparent; color: #213a2b; cursor: pointer; font: inherit; font-size: 13px; font-weight: 750; line-height: 1.3; text-align: left; }
.advisor-group-trigger:hover { color: #146e3c; }
.advisor-group-trigger:focus-visible { outline: 3px solid #8bcb9e; outline-offset: 2px; }
.advisor-number { display: grid; width: 28px; height: 28px; flex: none; place-items: center; border-radius: 50%; background: #eaf5ed; color: #146d39; font-size: 12px; font-weight: 800; }
.advisor-group-trigger[aria-expanded="true"] .advisor-number { background: linear-gradient(135deg, #267b49, #4aa979); color: #fff; }
.advisor-chevron { position: relative; width: 27px; height: 27px; border-radius: 50%; background: #eaf5ed; }
.advisor-chevron::before, .advisor-chevron::after { position: absolute; top: 50%; left: 50%; width: 10px; height: 1px; background: #176e3b; content: ""; transform: translate(-50%, -50%); }
.advisor-chevron::after { transform: translate(-50%, -50%) rotate(90deg); }
.advisor-group-trigger[aria-expanded="true"] .advisor-chevron::after { display: none; }
.advisor-group-panel { min-width: 0; margin: 0; padding: 3px 9px 13px 45px; border: 0; }
.advisor-group-panel[hidden] { display: none; }
.advisor-radio, .advisor-option { display: flex; align-items: start; gap: 9px; cursor: pointer; }
.advisor-radio { margin: 5px 0; padding: 9px 10px; border: 1px solid #d8e7de; border-radius: 10px; background: #fff; }
.advisor-radio:has(input:checked) { border-color: #3c9761; background: #f1faf4; }
.advisor-option { padding: 5px 1px; }
.advisor-radio input { width: 16px; height: 16px; flex: none; margin: 2px 0 0; accent-color: #23834f; }
.advisor-option input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.advisor-checkbox { display: grid; width: 17px; height: 17px; flex: none; place-items: center; margin-top: 1px; border: 1px solid #9bb9a5; border-radius: 4px; background: #fff; transition: background .15s ease, border-color .15s ease; }
.advisor-option input:checked + .advisor-checkbox { border-color: #217a48; background: linear-gradient(135deg, #27834e, #52ae78); box-shadow: 0 3px 8px #1e704b29; }
.advisor-option input:checked + .advisor-checkbox::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 900; line-height: 1; }
.advisor-option input:focus-visible + .advisor-checkbox { outline: 3px solid #8bcb9e; outline-offset: 2px; }
.advisor-radio span, .advisor-option > span:last-child { display: grid; gap: 2px; }
.advisor-radio strong, .advisor-option strong { font-size: 13px; line-height: 1.35; }
.advisor-radio small, .advisor-option small { color: #607267; font-size: 11px; line-height: 1.3; }
.advisor-option.is-included { cursor: default; }
.advisor-option.is-included strong { color: #234431; font-weight: 650; }
.advisor-option.is-included small { display: none; }
.advisor-form-foot { display: flex; justify-content: flex-end; gap: 12px; padding: 11px 19px 14px; border-top: 1px solid #dce8e0; }
.advisor-form-foot button { cursor: pointer; font: inherit; font-size: 12px; font-weight: 750; }
.advisor-form-foot button:first-child { padding: 6px 0; border: 0; background: transparent; color: #176e3b; }
.advisor-submit { padding: 8px 12px; border: 1px solid #247b49; border-radius: 9px; background: #247b49; color: #fff; }
.manager-advisor:not(.is-enhanced) [data-advisor-reset], .manager-advisor.is-enhanced .advisor-submit { display: none; }

.advisor-results { position: sticky; top: 20px; }
.advisor-results-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding: 3px 0 17px; }
.advisor-results-head > span { color: #53675a; font-size: 12px; text-align: right; }
.advisor-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.advisor-card { position: relative; display: flex; min-width: 0; min-height: 370px; flex-direction: column; padding: 22px 17px 17px; border: 1px solid #d3e2d9; border-radius: 18px; background: #fff; box-shadow: 0 15px 38px #1e704b0b; }
.advisor-card.is-recommended { border-color: #48a06e; box-shadow: 0 20px 46px #1e704b18; }
.advisor-card[hidden], .advisor-empty[hidden], .advisor-recommendation[hidden] { display: none; }
.advisor-recommendation { position: absolute; top: 0; right: 13px; padding: 6px 9px; border-radius: 0 0 8px 8px; background: #207247; color: #fff; font-size: 10px; font-weight: 750; }
.advisor-card header { display: flex; align-items: center; gap: 8px; min-height: 65px; }
.advisor-card header img { width: 45px; height: 45px; flex: none; object-fit: contain; }
.advisor-card h3 { margin: 0; color: #185b35; font-size: 17px; line-height: 1.2; white-space: nowrap; }
.advisor-card > p { margin: 15px 0 21px; color: #45574b; font-size: 13px; line-height: 1.5; }
.advisor-card-bottom { margin-top: auto; }
.advisor-price { display: flex; align-items: baseline; gap: 5px; margin: 0 0 14px; padding-top: 12px; border-top: 1px solid #dce8e0; white-space: nowrap; }
.advisor-price strong { color: #236e45; font-size: 29px; letter-spacing: -.04em; }
.advisor-price span { font-size: 11px; font-weight: 650; }
.advisor-card-links { display: grid; gap: 6px; margin-bottom: 15px; font-size: 11px; font-weight: 700; }
.advisor-card-links a { color: #146d3c; }
.advisor-buy { display: block; padding: 11px 7px; border: 1px solid var(--button-primary-border); border-radius: 10px; background: linear-gradient(115deg, var(--button-primary-start), var(--button-primary-middle), var(--button-primary-end)); box-shadow: var(--button-primary-shadow); color: #fff; font-size: 12px; font-weight: 750; text-align: center; text-decoration: none; white-space: nowrap; }
.advisor-buy:hover { box-shadow: var(--button-primary-shadow-hover); filter: brightness(1.05); }
.advisor-empty { padding: 30px; border: 1px solid #d3e2d9; border-radius: 18px; background: #fff; }
.advisor-empty h3 { margin: 0 0 8px; font-size: 21px; }
.advisor-empty p { line-height: 1.5; }
.advisor-empty a { color: #116839; font-weight: 700; }
.advisor-price-note { max-width: 900px; margin: 28px 2px 0; color: #58685e; font-size: 12px; line-height: 1.5; }
.advisor-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; border: 0; margin: -1px; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 1340px) {
  .advisor-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .advisor-layout { grid-template-columns: 1fr; }
  .advisor-results { position: static; }
  .advisor-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .advisor-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .advisor-hero { text-align: left; }
  .advisor-hero p { font-size: 16px; }
  .advisor-results-head { align-items: start; flex-direction: column; }
  .advisor-results-head > span { text-align: left; }
  .advisor-cards { grid-template-columns: 1fr; }
}
