:root{color-scheme:light;--ink:#243e37;--green:#285849;--muted:#687568;--line:#d6dfd3;--paper:#fffdf7;--soft:#e6ede3}*{box-sizing:border-box}body{margin:0;background:#faf8f0;color:var(--ink);font:16px/1.7 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;min-height:100vh;display:flex;flex-direction:column}a{color:var(--green);text-underline-offset:3px}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{border:0;border-radius:10px;padding:12px 18px;background:var(--soft);color:var(--ink);cursor:pointer}button:disabled{opacity:.55;cursor:default}.top{width:100%;max-width:820px;display:flex;align-items:center;gap:14px;margin:auto;padding:22px 24px}.back{font-size:23px;text-decoration:none;padding:3px 11px;border-radius:9px;background:var(--soft)}.brand{display:flex;align-items:center;gap:6px;text-decoration:none;font-weight:800;font-size:21px}.brand img{width:33px;height:38px;object-fit:contain}.icon-link{margin-left:auto;display:flex;align-items:center;padding:8px}.icon-link svg,.bottom-nav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}main{width:100%;max-width:720px;margin:8px auto 0;padding:0 24px 48px;flex:1}.preview-note{font-size:12px;color:#766346;border-left:3px solid #c4af7d;padding:7px 12px;margin:0 0 26px}.product-intro{padding:4px 2px 8px}.eyebrow{font-size:14px;color:#7a715e;margin:0 0 8px}h1{font-size:34px;line-height:1.35;letter-spacing:-.04em;margin:0 0 12px}h2{font-size:22px;line-height:1.5;letter-spacing:-.02em;margin:0 0 8px}h3{font-size:20px;line-height:1.5;margin:30px 0 12px}p{margin:8px 0}.price{display:flex;align-items:center;gap:14px;margin:20px 0 2px;color:var(--muted);font-size:14px}.price strong{font-size:25px;color:var(--green)}.small{color:var(--muted);font-size:13px;line-height:1.75}.product-details{font-size:14px;margin-top:20px;border-top:1px solid var(--line);padding:12px 0 6px}summary{cursor:pointer;font-weight:600}.product-details summary{color:var(--green)}.product-details ul{padding-left:20px}.product-details li{margin:5px 0}.input-panel,.report-panel,.library{margin:22px 0 0;padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow-wrap:anywhere}.fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;min-width:0}.field-wide{grid-column:1/-1}.field input,.field select{width:100%;min-height:48px;border:1px solid #a9b8aa;border-radius:9px;background:#fff;padding:10px 12px;color:var(--ink)}.person{border:0;padding:0;margin:22px 0}.person legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.person .fields+.fields{margin-top:17px}.checkbox-field,.agreement{display:flex;gap:10px;align-items:flex-start;font-size:14px;font-weight:400}.checkbox-field{margin-top:2px}.checkbox-field input,.agreement input{width:20px;height:20px;flex:none;accent-color:var(--green);margin:3px 0 0}.agreement{margin:24px 0 18px}#product-fields{margin-top:22px}.primary{display:block;width:100%;background:var(--green);color:#fff;border-radius:10px;padding:14px 18px;border:0;font-weight:700;text-align:center;text-decoration:none}.action-note{text-align:center;margin:12px 0 0}.status{margin:18px 0 0;padding:12px 14px;border-radius:9px;background:#eef2e9;font-size:14px;white-space:pre-wrap}.status:empty{display:none}.report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px}.report-toolbar h2{margin:0}.secondary{font-size:14px;white-space:nowrap}.report-panel article p{line-height:1.9;white-space:pre-wrap}.report-panel article h3{padding-top:20px;border-top:1px solid var(--line)}.checkout{padding:14px 2px;margin-top:18px;font-size:13px;color:var(--muted)}#checkout-summary{display:grid;grid-template-columns:80px 1fr;gap:7px 14px;overflow-wrap:anywhere}dd{margin:0}.text-button{padding:5px 0;background:none;font-size:13px;color:var(--muted);white-space:nowrap}#order-list{list-style:none;padding:0;margin:15px 0 0}#order-list li{padding:14px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}#order-list button{font-size:13px;flex:none}.order-description{font-size:13px;overflow-wrap:anywhere}.order-description strong{font-size:15px}footer{text-align:center;padding:22px 16px 30px;font-size:12px;color:var(--muted)}.bottom-nav{position:sticky;bottom:0;display:flex;justify-content:space-around;background:#e8eedf;border-top:1px solid var(--line);padding:10px 8px calc(10px + env(safe-area-inset-bottom));z-index:5}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;text-decoration:none;min-width:60px;padding:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ba8c33;outline-offset:3px}[hidden]{display:none!important}
@media(max-width:520px){.top{padding:16px}.brand{font-size:19px}main{padding:0 16px 32px;margin-top:4px}h1{font-size:30px}.input-panel,.report-panel,.library{padding:22px 18px;border-radius:15px}.fields{gap:10px;grid-template-columns:1.4fr 1fr 1fr}.field input,.field select{padding:10px 8px}.report-toolbar{align-items:flex-start}.report-toolbar h2{font-size:20px}.secondary{padding:8px 10px;font-size:12px}#order-list li{gap:8px}.preview-note{font-size:11px;margin-bottom:20px}}
@media print{body{display:block;background:white}.top,.preview-note,.product-intro,.input-panel,.library,.checkout,footer,.bottom-nav,.report-toolbar button,#pdf-status{display:none!important}main{max-width:none;padding:0;margin:0}.report-panel{border:0;padding:0;margin:0}.report-panel article h3{break-after:avoid}.report-panel article p{orphans:3;widows:3}}

/* Year reading: one confirmation step and text-only supporting evidence. */
.input-review{margin:22px 0 0;padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:18px}.input-review h2{margin-bottom:18px}#input-review-summary{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px 16px;margin:0;font-size:14px}#input-review-summary dt{color:var(--muted)}.review-actions{display:grid;grid-template-columns:1fr 2fr;gap:12px;margin-top:24px}.review-actions .primary{width:100%}.reading-evidence,.reading-note{white-space:pre-wrap;line-height:1.8;margin:18px 0;padding:16px 18px;background:#f0f3ec;border-left:3px solid #91a68d;border-radius:0 10px 10px 0;font-size:14px;color:#40594d}.reading-note{background:#f5f2e8;border-left-color:#b6a77c}.reading-summary{font-weight:600;color:var(--green)}#report-meta{margin-top:16px}#pdf-status:empty{display:none}@media(max-width:520px){.input-review{padding:22px 18px;border-radius:15px}#input-review-summary{grid-template-columns:76px minmax(0,1fr);gap:10px}.review-actions{gap:8px}.reading-evidence,.reading-note{padding:14px 15px}}@media print{.input-review{display:none!important}.reading-evidence,.reading-note{break-inside:avoid;background:none;border-left:1px solid #999}}

.reading-basis{margin-top:30px;border-top:1px solid var(--line);padding:18px 0 0}.reading-basis summary{font-size:14px;color:var(--muted)}.reading-basis-body{padding-top:10px;font-size:14px}.reading-basis-body h3{font-size:16px}.month-links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px 8px;margin:28px 0 8px;border-top:1px solid var(--line);padding-top:14px}.month-links a{font-size:13px;text-align:center;padding:5px 0;text-decoration:none;border-radius:5px}.month-links a:hover{background:var(--soft)}[id^="year-month-"]{scroll-margin-top:18px}@media print{.month-links{display:none!important}.reading-basis{display:block}.reading-basis>summary{display:none}.reading-basis-body{display:block}}

/* Match input: distinguish both people without changing the approved year form. */
body[data-product="match"] .person legend{position:static;width:auto;height:auto;overflow:visible;clip-path:none;padding:0 0 12px;font-size:18px;font-weight:700;color:var(--green)}body[data-product="match"] .person+.person{margin-top:32px}body[data-product="match"] #product-fields>.checkbox-field{margin-top:24px}

/* Date inputs reuse the common form while keeping the other product layouts intact. */
body[data-product="date"] .person legend{position:static;width:auto;height:auto;overflow:visible;clip-path:none;padding:0 0 12px;font-size:18px;font-weight:700;color:var(--green)}body[data-product="date"] .person+.person{margin-top:32px}body[data-product="date"] .date-range-hint{margin-top:10px}body[data-product="date"] #product-fields>.fields+.fields{margin-top:17px}body[data-product="date"] .date-people>.checkbox-field{margin-top:24px}

/* Decade choices reuse the shared member flow and keep one segment explicit. */
body[data-product="decade"] .decade-load{width:100%;margin-top:14px}body[data-product="decade"] .decade-selection{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}body[data-product="decade"] .decade-selection h3{margin:0 0 8px;font-size:18px}body[data-product="decade"] .decade-price{margin:0 0 18px;font-size:14px;font-weight:700;color:var(--green)}body[data-product="decade"] .decade-segment-details{margin-top:12px;font-size:14px}body[data-product="decade"] .decade-selection select{font-size:14px}

/* Local integrated candidate: compact navigation, explicit sex/region fields. */
.product-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 24px;padding:8px 0;border-bottom:1px solid var(--line)}.product-tabs a{padding:7px 12px;text-decoration:none;font-size:14px;border-radius:8px}.product-tabs a[aria-current="page"]{background:var(--green);color:#fff;font-weight:700}.product-tabs a:last-child{margin-left:auto}body[data-product] .person .fields.two>.field{grid-column:auto}body[data-product="decade"] .person .fields.two>.field-wide{grid-column:1/-1}@media(max-width:520px){.product-tabs{gap:3px}.product-tabs a{padding:7px 9px;font-size:13px}.person .fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{.product-tabs{display:none!important}}

/* Shared explicit menu purchase choice; no operating payment activation. */
.menu-purchase{margin-top:24px;padding:20px;border:1px solid #d3ddcf;border-radius:14px;background:#f4f6ee;color:#243e37}.menu-purchase h3{margin:0 0 10px;padding:0;border:0;font-size:19px}.menu-purchase p{margin:10px 0}.menu-purchase-balance{font-size:14px;line-height:1.7;color:#526c5a}.menu-purchase-field{display:flex;flex-direction:column;gap:7px;margin:15px 0;font-size:14px;font-weight:600}.menu-purchase-field select,.menu-purchase-field input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #a9b8aa;border-radius:9px;background:#fff;color:#243e37;font:inherit}.menu-purchase-summary{padding:12px;border-radius:8px;background:#fffefa;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.menu-purchase-consent{display:flex;align-items:flex-start;gap:10px;margin-top:16px;font-size:14px;font-weight:400;line-height:1.7}.menu-purchase-consent input{flex:none;width:20px;height:20px;margin:3px 0 0;accent-color:#285849}.menu-purchase-status{font-size:14px;color:#8b4a27;line-height:1.7}.menu-purchase-refresh{display:inline-block;width:auto;padding:8px 0;border:0;background:none;color:#315d46;font-size:13px;text-decoration:underline;cursor:pointer}.menu-purchase :disabled{opacity:.58;cursor:default}.menu-purchase [hidden]{display:none!important}@media(max-width:520px){.menu-purchase{padding:16px}.menu-purchase-summary{padding:10px}}@media print{.menu-purchase{display:none!important}}

/* Complete illustrative preview and automatic report progress. */
.purchase-preview{margin:24px 0;border:1px solid #d6dfd4;border-radius:18px;background:#fff;overflow:hidden;text-align:left}
.purchase-preview[hidden]{display:none}
.purchase-preview-heading{padding:24px 28px;background:#f1f5ee;border-bottom:1px solid #d6dfd4}
.purchase-preview-label{display:inline-block;margin:0 0 10px;padding:5px 12px;border-radius:999px;background:#315d46;color:#fff;font-size:.85rem;font-weight:700;letter-spacing:.02em}
.purchase-preview-heading h2{margin:0 0 12px;color:#254536;font-size:1.45rem}
.purchase-preview-notice{margin:0 0 10px;color:#334b3b;font-weight:700;line-height:1.7}
.purchase-preview-completeness{margin:0 0 8px;color:#315d46;font-weight:700;font-size:.94rem}
.purchase-preview-description{margin:0;color:#566453;font-size:.92rem;line-height:1.7}
.purchase-preview-body{padding:8px 28px 28px;overflow-wrap:anywhere}
.purchase-preview-body .customer-reading-body{max-width:760px;margin:0 auto}
.purchase-preview-body h2,.purchase-preview-body h3{margin:30px 0 13px;color:#254536;line-height:1.5}
.purchase-preview-body p{margin:0 0 17px;line-height:1.9;color:#344638;word-break:keep-all;overflow-wrap:anywhere}
.purchase-preview-body .section-basis{color:#5b665d}
@media(max-width:600px){.purchase-preview{margin:18px 0;border-radius:13px}.purchase-preview-heading{padding:20px 18px}.purchase-preview-body{padding:6px 18px 22px}.purchase-preview-body p{line-height:1.8}.purchase-preview-heading h2{font-size:1.3rem}}

/* Shared five-menu waiting view; all selectors stay inside this component. */
.ottugi-report-progress{box-sizing:border-box;padding:35px 24px 28px;text-align:center;background:#faf8f0;border:0;border-radius:0;margin:0;color:#28392d}
.ottugi-report-progress[hidden],.ottugi-report-progress [hidden]{display:none!important}
.ottugi-report-progress .orp-eyebrow{color:#748568;font-size:11px;letter-spacing:2.5px;font-weight:650;margin:0 0 25px}
.ottugi-report-progress .orp-portrait{width:190px;height:190px;margin:0 auto 25px;position:relative;display:grid;place-items:center}
.ottugi-report-progress .orp-portrait img{width:166px;height:166px;object-fit:cover;border-radius:50%;display:block}
.ottugi-report-progress .orp-orbit{position:absolute;inset:0;border:2px solid #e1e5d7;border-radius:50%}
.ottugi-report-progress .orp-orbit:after{content:'';position:absolute;inset:-2px;border:2px solid #c6cfb6;border-radius:50%}
.ottugi-report-progress.is-active .orp-orbit:after{border:3px solid transparent;border-top-color:#577458;border-right-color:#b8a56c;animation:ottugi-report-orbit 3.4s linear infinite}
.ottugi-report-progress .orp-spark{position:absolute;right:11px;top:5px;color:#9c9158;background:#faf8f0;font-size:20px;padding:2px 6px;line-height:1.2}
.ottugi-report-progress .orp-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;background:#eaf0e3;color:#4a6449;font-size:11px;letter-spacing:.2px;border-radius:20px;font-weight:650;margin-bottom:13px}
.ottugi-report-progress .orp-dot{height:5px;width:5px;background:#759657;border-radius:50%}
.ottugi-report-progress.is-active .orp-dot{animation:ottugi-report-breathe 1.8s infinite}
.ottugi-report-progress.is-terminal:not([data-status="saved"]) .orp-badge{background:#f2e8d8;color:#8c683d}
.ottugi-report-progress.is-terminal:not([data-status="saved"]) .orp-dot{background:#ab8756}
.ottugi-report-progress .orp-title{font-size:25px;line-height:1.5;letter-spacing:-1.1px;margin:0;font-weight:700;word-break:keep-all;overflow-wrap:anywhere;white-space:pre-line;outline:none}
.ottugi-report-progress .orp-message{margin:12px 0 0;font-size:14px;line-height:1.85;color:#737a6c;word-break:keep-all;overflow-wrap:anywhere;white-space:pre-line}
.ottugi-report-progress .orp-elapsed-row{display:flex;gap:8px;align-items:center;justify-content:center;margin:17px 0 25px;font-size:11px;color:#8c8f82}
.ottugi-report-progress .orp-elapsed{font-variant-numeric:tabular-nums;color:#5f6e58;letter-spacing:.5px}
.ottugi-report-progress .orp-note{margin:23px 0 10px;font-size:11px;color:#858874;line-height:1.8;word-break:keep-all;white-space:pre-line}
.ottugi-report-progress .orp-note:empty{display:none}
.ottugi-report-progress .orp-recheck{display:block;box-sizing:border-box;max-width:320px;width:100%;margin:18px auto 6px;padding:14px 18px;border:0;border-radius:10px;background:#315b47;color:#fffef6;font-size:14px;line-height:1.5;text-align:center;font-weight:650;cursor:pointer}
.ottugi-report-progress .orp-recheck:disabled{opacity:.6;cursor:wait}
.ottugi-report-progress .orp-recheck:focus-visible{outline:3px solid #b8a35f;outline-offset:3px}
@keyframes ottugi-report-orbit{to{transform:rotate(360deg)}}
@keyframes ottugi-report-breathe{50%{opacity:.35}}
@media(max-width:520px){.ottugi-report-progress{padding-top:29px}.ottugi-report-progress .orp-portrait{width:178px;height:178px;margin-bottom:22px}.ottugi-report-progress .orp-portrait img{width:156px;height:156px}.ottugi-report-progress .orp-title{font-size:24px}}
@media(max-width:350px){.ottugi-report-progress{padding-left:18px;padding-right:18px}.ottugi-report-progress .orp-title{font-size:22px}}
@media(prefers-reduced-motion:reduce){.ottugi-report-progress *,.ottugi-report-progress :before,.ottugi-report-progress :after{animation:none!important}}
@media print{.ottugi-report-progress{display:none!important}}
/* Keep the shared customer menu visible through input, preview and report reading. */
html{scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
body{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
.bottom-nav{position:fixed;left:0;right:0;bottom:0;min-height:76px;padding:10px max(8px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
.bottom-nav a{min-height:48px;justify-content:center;line-height:1.5}
@media print{html{scroll-padding-bottom:0}body{padding-bottom:0}.bottom-nav{display:none!important}}
