.ptabs button { padding: 0 0 14px; font-size: 15.5px; font-weight: 700; color: #8a8a85; border-bottom: 3px solid transparent; }
.ptabs button:hover { color: #c9c9c4; }
.ptabs button.on { color: #fff; border-bottom-color: var(--acc); }

.goal { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 48px; align-items: start; }
.gin { background: var(--ink); color: #fff; padding: 32px 30px 30px; position: sticky; top: 84px; }
.gin h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }

.gseg { display: flex; flex-wrap: wrap; gap: 6px; }
.gseg button { height: 38px; padding: 0 16px; font-size: 14px; font-weight: 800; color: #a3a39e; box-shadow: inset 0 0 0 1.5px #4a4a47; } .gseg button:hover { color: #fff; }
.gseg button.on { background: #fff; color: var(--ink); box-shadow: none; }
.gsub { font-size: 13.5px; color: #c9c9c4; margin: 10px 0 4px; min-height: 20px; }
.grow { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid #262626; font-size: 14.5px; font-weight: 600; color: #c9c9c4; }
.grow label { flex: 1; }
.grow > span:first-child { flex: 1; }
.grow input[type=number] { width: 124px; height: 40px; padding: 0 10px; font: inherit; font-size: 16px; font-weight: 800; text-align: right; color: #fff; background: #1c1c1b; border: 0; box-shadow: inset 0 0 0 1px #4a4a47; -moz-appearance: textfield; }
.grow input[type=number]:focus { outline: 2px solid var(--acc); outline-offset: 0; }
.grow input::-webkit-outer-spin-button, .grow input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.grow .unit { flex: none; min-width: 62px; font-size: 13px; color: #8a8a85; white-space: nowrap; }
.gtog { display: flex; flex-wrap: wrap; padding: 16px 0 0; border-top: 1px solid #262626; font-size: 14.5px; font-weight: 700; color: #fff; }
.gtog small { flex-basis: 100%; margin: 4px 0 0 24px; font-size: 12.5px; font-weight: 500; color: #8a8a85; }

.gres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.gres > div { padding: 18px 16px 6px 0; }
.gres > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.gres .k { font-size: 13px; font-weight: 700; color: var(--gray); min-height: 39px; }
.gres .k small { display: block; font-size: 12px; font-weight: 500; color: var(--soft); }
.gres .v { font-size: 42px; font-weight: 900; letter-spacing: -.04em; line-height: 1.15; white-space: nowrap; }
.gres .v small { font-size: 17px; font-weight: 800; letter-spacing: 0; margin-left: 2px; }
.gres .c { font-size: 14px; font-weight: 700; margin-top: 4px; }
.gres .w { font-size: 12.5px; color: var(--gray); }
.gres .fix { background: var(--ink); color: #fff; padding-left: 18px !important; padding-bottom: 16px; border-left: 0 !important; }
.gres .fix .k { color: #c9c9c4; }
.gres .fix .k small { color: #8a8a85; }
.gres .fix .v { color: var(--acc); }
.gres .fix .w { color: #c9c9c4; }
.gchart { margin-top: 44px; }
.gchart h3 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.gchart .sub { font-size: 13px; color: var(--gray); margin-bottom: 12px; }
.gchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.gchart text { font-family: inherit; font-size: 12px; fill: var(--gray); font-variant-numeric: tabular-nums; }
.gchart .gl { stroke: var(--line); stroke-width: 1; }
.gchart .ar { fill: var(--mist); }
.gchart .ln { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.gchart .fx { stroke: var(--acc); stroke-width: 3; }
.gchart .fxt { fill: var(--ink); font-weight: 800; font-size: 12.5px; }
.gchart .dot { fill: var(--ink); }
.gchart .dt { fill: var(--ink); font-weight: 700; }

.osum { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-bottom: 22px; }
.osum button { text-align: left; padding: 14px 12px 14px 0; border-bottom: 4px solid transparent; }
.osum button + button { padding-left: 14px; border-left: 1px solid var(--line); }
.osum button.on { border-bottom-color: var(--g); }
.osum .k { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; }
.osum .k i { width: 9px; height: 9px; background: var(--g); }
.osum .v, .osum .n { display: block; }
.osum .v { font-size: 26px; font-weight: 900; letter-spacing: -.03em; line-height: 1.2; }
.osum .v small { font-size: 13px; font-weight: 800; letter-spacing: 0; }
.osum .n { font-size: 12.5px; color: var(--gray); }
.otbl td { height: 56px; }
.otbl .r { text-align: right; }
.otbl .it { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.otbl .th { position: relative; flex: none; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: linear-gradient(176deg, var(--g), var(--g2)); clip-path: polygon(13% 0, 87% 0, 100% 13%, 100% 100%, 0 100%, 0 13%); }
.otbl .th svg { width: 62%; height: auto; }
.otbl .th .art { position: absolute; left: 4%; top: 4%; width: 92%; height: 92%; object-fit: contain; }
.otbl .cbt { font-size: 10.5px; font-weight: 800; background: var(--ink); color: #fff; padding: 2px 6px; margin-left: 2px; }
.otbl .gd { font-weight: 800; color: var(--g); white-space: nowrap; }
.otbl .ty, .otbl .wt { font-size: 13.5px; color: var(--gray); font-weight: 600; white-space: nowrap; }
.otbl .pr { font-size: 16px; font-weight: 800; white-space: nowrap; }
.otbl .m { display: none; }
.otbl tbody tr:first-child td { font-weight: 600; }
.gchart h3 b { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.golink { margin-top: 14px !important; font-size: 14px !important; }
.golink a { border-bottom: 2px solid var(--ink); padding-bottom: 1px; }
[hidden] { display: none !important; }

.lockbox { margin: 48px 0 64px; padding: 32px 30px; background: var(--ink); color: #fff; border-left: 8px solid var(--acc); }
.lockbox h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.lockbox p { font-size: 15px; color: #c9c9c4; line-height: 1.6; }
.lockbox a { color: #fff; border-bottom: 2px solid var(--acc); }
.gerr { grid-column: 1 / -1; padding: 26px 0; font-size: 15px; font-weight: 700; }

@media (max-width: 900px) {
  .ptabs button { padding-bottom: 12px; font-size: 15px; }
  .goal { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .gin { margin: 0 -18px; padding: 26px 18px 24px; position: static; }
  .gin h2 { font-size: 21px; }
  .grow input[type=number] { width: 104px; }
  .grow .unit { min-width: 56px; }
  .gres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gres > div { padding: 14px 10px 12px 0; border-bottom: 1px solid var(--line); }
  .gres > div + div { padding-left: 0; border-left: 0; }
  .gres > div:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
  .gres .fix { padding-left: 14px !important; }
  .gres .v { font-size: 32px; }
  .gres .k { min-height: 36px; }
  .osum { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .osum button { padding: 12px 8px 12px 0; }
  .osum button + button { padding-left: 0; border-left: 0; }
  .osum button:not(:nth-child(3n+1)) { padding-left: 10px; border-left: 1px solid var(--line); }
  .osum button:nth-child(-n+3) { border-top: 0; }
  .osum .v { font-size: 21px; }
  .otbl { min-width: 0 !important; }
  .otbl td, .otbl th { white-space: normal !important; padding: 0 6px; }
  .otbl .ty, .otbl .wt, .otbl .qt { display: none; }
  .otbl .m { display: block; font-size: 12px; font-weight: 500; color: var(--gray); margin-top: 1px; }
  .tblbox:has(.otbl) { overflow: visible; margin-right: 0; padding-right: 0; }
  .gchart h3 b { font-size: 22px; }
  .otbl td { height: auto; padding-top: 9px; padding-bottom: 9px; }
  .otbl .it { gap: 9px; font-size: 14px; }
  .otbl .th { width: 34px; height: 34px; }
  .otbl .pr { font-size: 14.5px; }
  .otbl .gd { font-size: 12.5px; }
}
