/* Approved 2026-10-20 entry design. Scope is limited to the two input pages. */
html body .page:is([data-page="chart"],[data-page="numberEnergy"]){background:#fbf8f0!important;color:#493524;--line:#e3d4bf;--paper:#fffdf8;--ivory:#fffdf8;--red:#aa2929;--red2:#b5332e;--muted:#8b7f72}
html body .page[data-page="chart"]>.subhead,html body .page[data-page="numberEnergy"]>.number-energy-head{box-sizing:border-box;position:relative;width:auto;margin:0 16px!important;padding:20px 12px 26px!important;min-height:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:#493524;text-align:center;display:block}
html body .page[data-page="chart"]>.subhead .chart-section-title,html body .page[data-page="numberEnergy"]>.number-energy-head h2{margin:0 0 7px;font:700 32px/1.35 var(--serif);letter-spacing:.04em;color:#493524!important}
html body .page[data-page="chart"]>.subhead h2,html body .page[data-page="numberEnergy"]>.number-energy-head h3{margin:0 0 10px;font:600 22px/1.5 var(--serif);color:#493524!important}
html body .page[data-page="chart"]>.subhead>span,html body .page[data-page="numberEnergy"]>.number-energy-head p{margin:0;color:#8b7f72!important;font-size:13px;line-height:1.6;letter-spacing:.08em}
html body .page[data-page="numberEnergy"]>.number-energy-head>.back{display:none}
html body .page[data-page="chart"]>#chartForm,html body .page[data-page="numberEnergy"]>.number-energy-body{box-sizing:border-box;margin:0 16px 20px!important;padding:6px 16px 16px!important;border:1px solid #dfc9a5;border-radius:12px;background:rgba(255,253,248,.82)!important;box-shadow:0 6px 18px #8b6b3e08!important}
html body .page[data-page="chart"]>#chartForm{gap:0}
html body #chartForm>fieldset{min-width:0;padding:16px 0!important;border:0;border-bottom:1px solid #e8ddcc}
html body #chartForm>fieldset>legend{float:left;width:60px;padding:8px 0;margin:0!important;font-size:14px;font-weight:600;line-height:1.5}
html body #chartForm>fieldset>.segment{margin-left:68px;width:calc(100% - 68px)}
html body #chartForm .required-hint{clear:both;margin:6px 0 0 68px;font-size:10px;line-height:1.5}
html body :is(#chartForm,#numberEnergyForm) .segment{box-sizing:border-box;border:1px solid #e3d4bf;border-radius:7px;overflow:hidden;background:#f8f4ec;gap:0}
html body :is(#chartForm,#numberEnergyForm) .segment label{min-width:0;margin:0!important}
html body :is(#chartForm,#numberEnergyForm) .segment label>span{display:grid;place-items:center;height:42px!important;margin:0!important;padding:0 4px!important;border:0!important;border-right:1px solid #e3d4bf!important;border-radius:0!important;background:transparent!important;color:#493524;font:400 14px/1.2 var(--sans)}
html body :is(#chartForm,#numberEnergyForm) .segment label:last-child>span{border-right:0!important}
html body :is(#chartForm,#numberEnergyForm) .segment input:checked+span{background:#ac2929!important;color:white!important;box-shadow:inset 0 0 0 2px #fff9ed;border-radius:6px!important}
html body :is(#chartForm,#numberEnergyForm) .segment input:focus-visible+span{outline:2px solid #8c1d25;outline-offset:-4px}
html body #chartForm>label{padding:16px 0!important}
html body #chartForm>label>span,html body #numberEnergyForm label>[data-number-energy-label]{font-size:14px;font-weight:600;margin-bottom:10px}
html body #chartForm input:not([type="radio"]):not([type="checkbox"]),html body #chartForm .birth-date-trigger,html body #numberEnergyForm input[name="energyValue"],html body #numberEnergyForm .birth-date-trigger{box-sizing:border-box;max-width:100%;width:100%;height:48px!important;min-height:48px;padding:0 12px!important;border:1px solid #d7c8b5!important;border-radius:7px!important;background:#fffdf9!important;color:#493524;font-size:16px;line-height:1.5;text-align:left}
html body #chartForm .birth-date-trigger::after{content:'▦';float:right;color:#624733;font-size:20px}
html body #chartForm>.time-entry-grid{border-top:1px solid #e8ddcc;border-bottom:1px solid #e8ddcc;padding:0!important}
html body #chartForm .time-entry-grid>.time-entry-infer{position:relative;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:76px;padding:14px 24px 14px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none;color:#493524;text-align:left}
html body #chartForm .time-entry-infer>b{font:600 14px/1.5 var(--sans)!important;color:#493524!important}
html body #chartForm .time-entry-infer>small{min-height:0!important;font:400 12px/1.5 var(--sans)!important;color:#8b7f72!important}
html body #chartForm .time-entry-infer::after{content:'›';position:absolute;right:2px;top:50%;transform:translateY(-50%);font-size:27px;color:#624733}
html body #chartForm>.switch-row{padding:16px 0!important;border-top:1px solid #e8ddcc;border-bottom:0}
html body #chartForm .switch-row>div{text-align:left}
html body #chartForm .switch-row b{font-size:15px}
html body #chartForm .switch-row small{font-size:12px;color:#8b7f72}
html body :is(#chartForm,#numberEnergyForm)>.red-btn{box-sizing:border-box;width:100%;min-height:48px;margin:6px 0 0!important;padding:12px 10px;border:1px solid #a32525;border-radius:8px;background:linear-gradient(110deg,#b7352f,#a22427)!important;box-shadow:none;font:500 17px/1.4 var(--serif);color:#fffaf1}
html body .page[data-page="numberEnergy"] .number-energy-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:20px 0 24px;border-bottom:1px solid #e8ddcc}
html body .page[data-page="numberEnergy"] .number-energy-types>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-width:0;min-height:0;margin:0;padding:4px 2px 14px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;outline:0;color:#493524;cursor:pointer}
html body .page[data-page="numberEnergy"] .number-energy-types>button:not(:last-child)::before{content:'';position:absolute;right:0;top:9px;bottom:14px;width:1px;background:#e8ddcc}
html body .page[data-page="numberEnergy"] .number-energy-types>button.active::after{content:'';position:absolute;bottom:2px;left:calc(50% - 9px);width:18px;height:3px;border-radius:2px;background:#a62529}
html body .page[data-page="numberEnergy"] .number-energy-types>button>img{display:block;width:min(100%,66px);height:auto;aspect-ratio:1}
html body .page[data-page="numberEnergy"] .number-energy-types>button>span{display:block;width:auto;height:auto;margin:0;padding:0;border:0;border-radius:0;color:inherit;font:500 14px/1.5 var(--sans);white-space:nowrap}
html body .page[data-page="numberEnergy"] .number-energy-types>button.active>span{color:#a62529}
html body .page[data-page="numberEnergy"] .number-energy-types>button:focus-visible{outline:2px solid #ad2929!important;outline-offset:2px;border-radius:6px}
html body #numberEnergyForm{position:relative;margin:0;padding:24px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none}
html body #numberEnergyForm .number-energy-gender{position:relative;min-width:0;margin:0 0 28px;padding:0;border:0}
html body #numberEnergyForm .number-energy-gender legend{margin:0 0 12px;font-size:14px;line-height:1.6;font-weight:600}
html body #numberEnergyForm .number-energy-gender-hint{position:absolute;right:0;top:-34px;margin:0;font-size:11px;line-height:22px;color:#8b7f72}
html body #numberEnergyForm .number-energy-hint{font-size:11px;line-height:1.6;margin-top:8px;color:#8b7f72}
html body #numberEnergyForm .number-energy-error{font-size:12px;line-height:1.5;min-height:18px;margin:4px 0}
@media(max-width:360px){html body .page[data-page="chart"]>#chartForm,html body .page[data-page="numberEnergy"]>.number-energy-body{margin-left:10px!important;margin-right:10px!important;padding-left:12px!important;padding-right:12px!important}html body .page[data-page="numberEnergy"] .number-energy-types>button>span{font-size:13px}html body #chartForm>fieldset>legend{width:50px}html body #chartForm>fieldset>.segment{margin-left:56px;width:calc(100% - 56px)}html body #chartForm .required-hint{margin-left:56px}}

html body:has(.page[data-page="numberEnergy"].active) #pageTitle{visibility:hidden}
