:root {
  --ink: #132d29;
  --subtle: #677a75;
  --line: #dce6e1;
  --bg: #f5f5f0;
  --card: #ffffff;
  --green: #123f37;
  --green-2: #168263;
  --mint: #e5f3ee;
  --amber: #916018;
  --amber-bg: #fbf1dd;
  --red: #a93e30;
  --cream: #faf9f5;
  --teal-pale: #edf6f2;
  --shadow: 0 12px 34px rgba(15, 43, 39, 0.055), 0 2px 6px rgba(15, 43, 39, 0.035);
  --shadow-strong: 0 18px 44px rgba(8, 30, 27, 0.14);
  --radius: 20px;
  font-family: "Avenir Next", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 4%, rgba(22, 130, 99, 0.085), transparent 30rem),
    radial-gradient(circle at 8% 34%, rgba(18, 63, 55, 0.035), transparent 32rem),
    var(--bg);
  min-height: 100vh;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

button:not(:disabled):hover {
  transform: translateY(-1px);
}

.primary-button:not(:disabled):hover {
  box-shadow: 0 12px 24px rgba(18, 63, 55, 0.22);
}

.app-header {
  min-height: 78px;
  padding: 14px max(calc((100vw - 1480px) / 2), 30px);
  background: rgba(13, 42, 37, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 28px rgba(8, 30, 27, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand,
.header-actions,
.section-title,
.valuation-heading,
.editor-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  height: 48px;
  width: 48px;
  border-radius: 15px;
  color: #103a32;
  font-size: 25px;
  font-weight: bold;
  font-family: Georgia, serif;
  background: linear-gradient(145deg, #e3c68c, #fbefd0);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.brand strong {
  display: block;
  color: #ffffff;
  font-size: 21px;
  letter-spacing: 0.075em;
}

.brand small {
  display: block;
  color: rgba(240, 247, 243, 0.67);
  font-size: 12px;
}

.app-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 25px 30px 52px;
}

.tabs {
  display: flex;
  gap: 6px;
  width: fit-content;
  background: #fff;
  border: 1px solid rgba(24, 54, 49, 0.07);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  padding: 5px;
}

.tab {
  color: var(--subtle);
  background: transparent;
  border: 0;
  border-radius: 11px;
  padding: 11px 25px;
  font-weight: bold;
  transition: background 160ms ease, color 160ms ease;
}

.tab.active {
  color: #fff;
  background: var(--green);
  box-shadow: 0 5px 14px rgba(18, 63, 55, 0.2);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.launch-warning {
  align-items: center;
  background: #fff5e4;
  border: 1px solid #ead6a8;
  border-radius: 15px;
  color: #77541a;
  display: flex;
  gap: 18px;
  line-height: 1.55;
  margin: 0 0 20px;
  padding: 13px 17px;
}

.launch-warning strong {
  white-space: nowrap;
}

.launch-warning span {
  font-size: 13px;
}

.notice {
  display: flex;
  gap: 20px;
  align-items: center;
  background: linear-gradient(108deg, #103a32, #195a4d);
  color: #edf7f2;
  border: 0;
  border-radius: 17px;
  box-shadow: var(--shadow-strong);
  padding: 16px 21px;
  margin-bottom: 22px;
  font-size: 14px;
}

.notice strong {
  color: #fcf3dc;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.notice span {
  color: rgba(242, 248, 245, 0.82);
}

.work-grid {
  display: grid;
  grid-template-columns: 482px minmax(480px, 1fr);
  gap: 22px;
  align-items: start;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(24, 54, 49, 0.075);
  box-shadow: var(--shadow);
  padding: 24px;
}

.input-panel {
  background: var(--cream);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 18px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #168263;
  font-weight: bold;
  margin: 0 0 7px;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0;
}

.input-panel h1 {
  font-size: 27px;
}

fieldset {
  padding: 17px 15px 16px;
  margin: 0 0 14px;
  border: 1px solid #e4ebe7;
  border-radius: 15px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 12px;
}

legend {
  display: block;
  float: left;
  width: 100%;
  padding: 0 0 14px;
  font-size: 14px;
  font-weight: bold;
}

legend + * {
  clear: both;
}

label {
  color: #536360;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  color: var(--ink);
  background: #fcfdfc;
  border: 1px solid #d4ded8;
  border-radius: 11px;
  min-height: 45px;
  padding: 11px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(25, 128, 95, 0.12);
}

.pill,
.badge {
  border-radius: 100px;
  font-size: 12px;
  padding: 5px 11px;
  color: var(--green);
  font-weight: bold;
  white-space: nowrap;
  background: var(--mint);
}

.pill.required,
.pill.warn {
  color: var(--amber);
  background: var(--amber-bg);
}

.badge-safe {
  background: var(--mint);
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 46px;
  border-radius: 12px;
  font-weight: bold;
  padding: 0 18px;
}

.primary-button {
  border: 0;
  background: linear-gradient(135deg, #113f37, #176c57);
  color: white;
  box-shadow: 0 8px 19px rgba(18, 63, 55, 0.16);
}

.input-panel .primary-button {
  width: 100%;
  margin-top: 10px;
  min-height: 53px;
}

.secondary-button {
  border: 1px solid #cee0d7;
  background: #fff;
  color: var(--green);
}

.ghost-button {
  color: #f5faf7;
  border: 1px solid rgba(238, 246, 242, 0.26);
  background: rgba(255, 255, 255, 0.07);
}

button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.form-note,
.muted {
  color: var(--subtle);
}

.auto-source-grid,
.auto-result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.auto-source {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--teal-pale);
  border: 1px solid #dfeae5;
  border-radius: 12px;
  padding: 12px 11px;
}

.auto-source strong {
  color: var(--ink);
  font-size: 13px;
}

.auto-source span {
  width: fit-content;
  color: var(--green);
  background: var(--mint);
  border-radius: 14px;
  padding: 4px 7px;
  font-size: 11px;
}

.auto-source small,
.auto-note {
  color: var(--subtle);
  line-height: 1.45;
}

.auto-note {
  margin: 0;
  font-size: 12px;
}

.lookup-consent {
  align-items: start;
  color: #526662;
  flex-direction: row;
  font-size: 12px;
  gap: 8px;
  line-height: 1.55;
  background: #fbf7ed;
  border: 1px solid #efe4c9;
  border-radius: 11px;
  padding: 10px 12px;
}

.lookup-consent input {
  height: auto;
  margin-top: 3px;
  width: auto;
}

.form-note {
  font-size: 12px;
  line-height: 1.65;
  margin: 15px 0 0;
}

.empty-state {
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  color: var(--subtle);
}

.empty-state h2 {
  color: var(--ink);
  font-size: 21px;
  margin: 12px 0 8px;
}

.empty-state p {
  max-width: 390px;
  line-height: 1.7;
}

.empty-icon {
  height: 68px;
  width: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 31px;
  color: #f7e9c8;
  background: linear-gradient(140deg, #113f37, #20735e);
  box-shadow: 0 13px 26px rgba(18, 63, 55, 0.15);
}

.hidden {
  display: none !important;
}

#resultContent {
  display: grid;
  gap: 16px;
}

.valuation-heading {
  justify-content: space-between;
  align-items: start;
}

.valuation-hero h2 {
  font-size: 39px;
  color: #fff;
  margin: 3px 0 5px;
}

.valuation-hero .muted {
  font-size: 14px;
  margin: 0;
}

.valuation-hero {
  color: #f7fbf8;
  border: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(226, 192, 125, 0.20), transparent 13rem),
    linear-gradient(120deg, #102e29, #155345);
  box-shadow: var(--shadow-strong);
}

.valuation-hero .eyebrow {
  color: #e5c98e;
}

.valuation-hero .muted {
  color: rgba(245, 250, 247, 0.72);
}

.confidence {
  min-width: 98px;
  text-align: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  padding: 12px 10px;
}

.confidence strong {
  display: block;
  font-size: 30px;
  color: #fff;
}

.confidence span {
  font-size: 11px;
  color: rgba(241, 248, 244, 0.67);
}

.warning-box {
  color: #f5e8c7;
  background: rgba(228, 191, 119, 0.1);
  border: 1px solid rgba(233, 201, 138, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.65;
  margin: 20px 0 18px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-row div {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
}

.metric-row span {
  display: block;
  font-size: 12px;
  color: rgba(241, 248, 244, 0.63);
  margin-bottom: 7px;
}

.metric-row strong {
  font-size: 19px;
}

.result-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.auto-result-grid {
  grid-template-columns: repeat(5, minmax(108px, 1fr));
}

.auto-result-grid div {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  background: #fbfcfb;
}

.auto-result-grid span,
.auto-result-grid small {
  display: block;
  color: var(--subtle);
  font-size: 11px;
}

.auto-result-grid strong {
  display: block;
  color: var(--amber);
  margin: 7px 0;
  font-size: 17px;
}

.lookup-location {
  color: #506663;
  background: var(--teal-pale);
  border: 1px solid #e5ede9;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
  margin: 0 0 12px;
  padding: 9px 12px;
}

.lookup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.lookup-link {
  color: var(--green);
  background: var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 12px;
  text-decoration: none;
}

.lookup-link.disabled {
  color: #81908c;
  background: #f0f3f1;
  pointer-events: none;
}

.official-sales-note {
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.65;
  margin: -2px 0 4px;
}

.official-api-setup {
  background: linear-gradient(120deg, #edf6f2, #f8faf8);
  border: 1px solid var(--line);
  border-radius: 13px;
  margin: 14px 0;
  padding: 12px 14px;
}

.official-api-setup label {
  color: var(--ink);
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}

.official-api-setup div {
  display: flex;
  gap: 8px;
}

.official-api-setup input {
  flex: 1;
  min-width: 200px;
}

.official-api-setup .sync-message {
  margin-bottom: 0;
}

.official-health-check {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}

.official-health-check .sync-message {
  margin-bottom: 0;
}

.health-result-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.health-result-list > div {
  align-items: center;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr auto;
  padding: 10px 12px;
}

.health-result-list small {
  color: var(--subtle);
  grid-column: 1 / -1;
  line-height: 1.55;
}

.official-sales-actions {
  align-items: center;
}

.file-lookup-button {
  color: white;
  background: linear-gradient(135deg, #113f37, #176c57);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 12px;
}

.file-lookup-button input {
  display: none;
}

.official-sales-card .sync-message {
  display: block;
  line-height: 1.55;
  margin-top: 12px;
}

.section-title {
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title h3 {
  font-size: 19px;
}

.road-score {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 14px;
}

.road-score strong {
  color: var(--green);
  font-size: 44px;
}

.road-score span {
  color: var(--subtle);
}

.road-score em {
  font-style: normal;
  font-weight: bold;
  font-size: 13px;
  margin-left: auto;
  background: var(--mint);
  color: var(--green);
  border-radius: 20px;
  padding: 6px 9px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #4c615e;
  font-size: 13px;
}

.check-list li {
  border-top: 1px solid #edf1ee;
  padding: 10px 0;
  line-height: 1.45;
}

.check-list li::before {
  content: "・";
  color: var(--green-2);
}

.check-list.compact li::before {
  content: "要 ";
  font-size: 10px;
  font-weight: bold;
  color: var(--amber);
  background: var(--amber-bg);
  padding: 2px 4px;
  margin-right: 6px;
  border-radius: 3px;
}

.factor-head,
.factor-row {
  display: grid;
  grid-template-columns: 108px 140px 1fr;
  gap: 12px;
  align-items: start;
}

.factor-head {
  color: var(--subtle);
  font-size: 11px;
  font-weight: bold;
  padding: 0 10px 8px;
}

.factor-row {
  border-top: 1px solid #edf1ee;
  padding: 10px;
  color: #4c615e;
  font-size: 13px;
  line-height: 1.45;
}

.factor-row strong {
  color: var(--ink);
}

.impact {
  display: inline-flex;
  justify-content: center;
  border-radius: 16px;
  font-size: 11px;
  font-style: normal;
  font-weight: bold;
  padding: 4px 7px;
}

.impact.positive {
  color: var(--green);
  background: var(--mint);
}

.impact.negative {
  color: var(--red);
  background: #fdece9;
}

.impact.neutral,
.impact.basis {
  color: #516966;
  background: #edf2ef;
}

.impact.review {
  color: var(--amber);
  background: var(--amber-bg);
}

.mini {
  margin: 3px 0 0;
  font-size: 12px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #edf1ee;
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th {
  font-size: 11px;
  color: var(--subtle);
  font-weight: bold;
  text-align: left;
  background: #f7f9f7;
  padding: 11px 10px;
}

td {
  padding: 12px 10px;
  border-top: 1px solid var(--line);
}

td strong.accepted {
  color: var(--green);
}

td strong.excluded {
  color: var(--red);
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.editor-actions {
  margin-top: 18px;
}

.research-editor,
.factor-editor,
.report-editor {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f7faf8;
  padding: 18px;
  margin: 5px 0;
}

.research-title {
  align-items: start;
  margin-bottom: 14px;
}

.research-title h3 {
  font-size: 16px;
}

.research-grid {
  gap: 11px;
}

.research-grid input,
.research-grid textarea {
  background: var(--card);
}

.editor-actions .primary-button {
  width: auto;
  margin: 0;
}

.board-title {
  margin-bottom: 22px;
}

.board-title h2 {
  font-size: 25px;
}

.sheets-panel {
  margin-bottom: 18px;
}

.sheets-copy {
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.65;
  margin: -6px 0 18px;
}

.sheets-form {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 13px;
}

.switch-label {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
}

.switch-label input {
  min-height: 0;
  height: 18px;
  width: 18px;
  accent-color: var(--green);
}

.sync-message {
  color: var(--subtle);
  font-size: 12px;
}

.sync-message.success {
  color: var(--green);
}

.sync-message.error {
  color: var(--red);
}

.privacy-note {
  border-top: 1px solid var(--line);
  color: #765720;
  font-size: 12px;
  margin: 18px 0 0;
  padding-top: 13px;
}

.script-helper {
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 20px;
  padding: 14px;
}

.script-helper summary {
  color: var(--green);
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.script-helper p {
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.6;
  margin: 13px 0;
}

.script-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.code-source {
  background: #102a28;
  border-color: #102a28;
  color: #ecf5f0;
  display: block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  width: 100%;
}

.status-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 11px;
  margin: 0 0 25px;
}

.status-cards div {
  background: var(--teal-pale);
  border: 1px solid #e1ebe6;
  border-radius: 14px;
  padding: 15px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--subtle);
  font-size: 13px;
}

.status-cards strong {
  color: var(--green);
  font-size: 25px;
}

.case-table td:first-child {
  color: var(--subtle);
  white-space: nowrap;
}

.tiny-button {
  color: var(--green);
  background: #fff;
  border: 1px solid #cee0d7;
  border-radius: 9px;
  padding: 5px 9px;
  font-size: 12px;
}

.no-cases {
  text-align: center;
  padding: 45px 10px 35px;
  color: var(--subtle);
  font-size: 14px;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.policy-grid h2 {
  font-size: 22px;
  margin-bottom: 18px;
}

.policy-list {
  padding: 0 0 0 20px;
  margin: 0;
  color: #465b58;
}

.policy-list li {
  padding: 7px 0;
  line-height: 1.6;
}

.connector-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.readiness-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
}

.readiness-list > div {
  background: var(--teal-pale);
  border: 1px solid #e1ebe6;
  border-radius: 13px;
  display: grid;
  gap: 9px;
  padding: 14px;
}

.readiness-list strong {
  font-size: 13px;
}

.readiness-list .state {
  justify-self: start;
}

.readiness-list small {
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.55;
}

.connector-list small {
  color: var(--subtle);
}

.state {
  font-size: 11px;
  font-weight: bold;
  border-radius: 999px;
  padding: 5px 10px;
}

.state.pending {
  color: var(--amber);
  background: var(--amber-bg);
}

.state.connected {
  color: var(--green);
  background: var(--mint);
}

.state.review {
  color: #885228;
  background: #f4ebe1;
}

.roadmap {
  grid-column: 1 / -1;
}

.phase {
  border-left: 4px solid var(--green);
  padding: 10px 15px;
  display: flex;
  gap: 35px;
  margin-bottom: 13px;
  background: var(--teal-pale);
  border-radius: 0 12px 12px 0;
}

.phase.future {
  border-color: #cbd8d2;
}

.phase b {
  min-width: 75px;
  color: var(--green);
}

.route {
  color: var(--subtle);
  font-size: 13px;
  margin: 20px 0 0;
}

.route code {
  color: var(--green);
  background: var(--mint);
  margin-left: 8px;
  padding: 5px 9px;
  border-radius: 6px;
}

.report-sheet {
  display: none;
}

@media (max-width: 1100px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .input-panel {
    max-width: 700px;
  }

  .auto-result-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .readiness-list {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}

@media (max-width: 680px) {
  .app-header,
  .notice,
  .launch-warning,
  .header-actions {
    align-items: start;
    flex-direction: column;
  }

  .app-shell {
    padding: 18px 13px;
  }

  .app-header {
    padding: 14px 16px;
  }

  .tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .tab {
    padding: 11px 9px;
  }

  .card {
    border-radius: 16px;
    padding: 18px;
  }

  .official-api-setup div {
    flex-direction: column;
  }

  .result-columns,
  .metric-row,
  .auto-result-grid,
  .auto-source-grid,
  .policy-grid,
  .editor-grid,
  .sheets-form {
    grid-template-columns: 1fr;
  }

  .readiness-list {
    grid-template-columns: 1fr;
  }

  fieldset {
    grid-template-columns: 1fr;
  }

  .factor-head {
    display: none;
  }

  .factor-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .valuation-hero h2 {
    font-size: 29px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm 15mm;
  }

  body {
    background: white;
    color: #142d2a;
  }

  .app-header,
  .app-shell {
    display: none;
  }

  .report-sheet {
    display: block;
    font-size: 10.5pt;
  }

  .report-page {
    break-after: page;
    page-break-after: always;
    min-height: 267mm;
  }

  .report-page:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .report-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-bottom: 2px solid #12604b;
    padding-bottom: 13px;
    margin-bottom: 15px;
  }

  .report-header p {
    color: #12604b;
    margin: 0 0 5px;
    font-weight: bold;
  }

  .report-header h1 {
    font-size: 18pt;
  }

  .report-header span {
    color: #60716e;
  }

  .report-price {
    background: #edf6f0;
    padding: 16px 20px;
    margin-bottom: 12px;
  }

  .report-price small,
  .report-metrics small {
    display: block;
    color: #60716e;
  }

  .report-price strong {
    font-size: 27pt;
    color: #12604b;
  }

  .report-price p {
    margin: 9px 0 0;
  }

  .report-metrics,
  .report-two-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 11px;
  }

  .report-metrics div,
  .report-section {
    border: 1px solid #e1e9e5;
    padding: 12px 14px;
  }

  .report-metrics strong {
    display: block;
    font-size: 14pt;
    margin-top: 5px;
  }

  .report-section {
    margin-bottom: 9px;
  }

  .report-section h2 {
    color: #12604b;
    font-size: 11pt;
    margin: 0 0 8px;
  }

  .report-section p {
    line-height: 1.55;
    margin: 0;
    white-space: pre-line;
  }

  .report-two-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .report-two-columns .report-section {
    margin-bottom: 0;
  }

  .report-section ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.55;
  }

  .report-factors .factor-row {
    grid-template-columns: 95px 130px 1fr;
    padding: 4px 0;
    font-size: 9pt;
  }

  .report-factors .impact {
    font-size: 8.5pt;
  }

  .report-table {
    font-size: 9.5pt;
  }

  .report-table th {
    padding-bottom: 6px;
  }

  .report-table td {
    padding: 6px 10px;
  }

  .report-supplement,
  .report-lead {
    color: #536966;
    font-size: 9.5pt;
    line-height: 1.55;
  }

  .report-supplement {
    border-top: 1px solid #e8eeea;
    margin-top: 7px !important;
    padding-top: 7px;
  }

  .report-header-secondary {
    margin-bottom: 12px;
  }

  .report-lead {
    background: #f5f8f5;
    border: 1px solid #e1e9e5;
    padding: 8px 11px;
    margin: 0 0 9px;
    white-space: pre-line;
  }

  .report-detail-columns {
    align-items: start;
    margin-top: 9px;
  }

  .report-caution {
    border: 1px solid #e7d2ae;
    background: #fff8eb;
    padding: 9px 12px;
    color: #705124;
    font-size: 9.5pt;
    line-height: 1.5;
    white-space: pre-line;
  }
}
