@import url('fonts.css');
body.new-ui{margin:0;background:#fff;color:#151816;font-family:'Noto Serif JP','Yu Mincho',serif;line-height:1.65}body.new-ui *{box-sizing:border-box}body.new-ui .container{max-width:465px;padding:0;margin:0 auto}body.new-ui button,body.new-ui input,body.new-ui select{font:inherit}body.new-ui button{cursor:pointer}body.new-ui button:disabled{cursor:not-allowed;opacity:.5}.new-ui .nu-wordmark{font-family:'Libre Baskerville',Georgia,serif;font-weight:700}.nu-header{display:flex;align-items:center;justify-content:space-between;padding:20px;gap:12px;background:#fff}.nu-header .nu-wordmark{font-size:18px}.nu-header>span:last-child{font-size:12px;color:#586054}.new-ui h1,.new-ui h2,.new-ui h3,.new-ui p{margin:0}.new-ui h1{font-size:23px;line-height:1.45}.new-ui h2{font-size:18px;line-height:1.5}.new-ui h3{font-size:14px;line-height:1.6}.new-ui .nu-muted{font-size:12px;color:#586054}.nu-section{display:flex;flex-direction:column;gap:12px;padding:20px;background:#fff;font-size:14px}.nu-section a{color:inherit}.nu-primary,.nu-secondary{display:block;width:100%;border:1px solid #151816;border-radius:8px;padding:16px;text-align:center;text-decoration:none;font-weight:700;font-size:14px;line-height:22px}.nu-primary{background:#151816;color:white!important}.nu-secondary{background:#fff;color:#151816;border-color:#e0e0e0}.nu-link{display:inline-block;border:0;background:transparent;padding:7px 0;font-size:12px;text-decoration:underline;color:#586054;text-align:left}.nu-upload-intro{background:#fff;padding:20px;display:flex;flex-direction:column;gap:12px}.nu-upload-intro>p{font-size:12px;color:#586054}body.new-ui #upload-area{position:relative;height:190px;width:100%;margin:0;background:#f0f0f0;border:0;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0}.nu-photo-placeholder{font-size:12px;color:#586054}.new-ui #upload-area img{display:none;max-width:100%;height:100%;object-fit:contain}.new-ui #upload-area.has-image img{display:block}.new-ui #upload-area.has-image .nu-photo-placeholder{display:none}.new-ui #btn-change-photo{color:#151816;font-size:12px;display:none;position:absolute;bottom:8px;right:8px;background:#fff;border:1px solid #ddd;padding:6px 12px}.new-ui #upload-area.has-image #btn-change-photo{display:block}.new-ui .v3-hidden-inputs{display:none}.new-ui #screen-result{max-width:430px;margin:auto}.nu-summary{display:grid;grid-template-columns:minmax(0,1fr) 38%;gap:12px;padding:20px;font-size:14px;align-items:start;min-height:243px}.nu-summary-copy{display:flex;flex-direction:column;gap:14px;overflow-wrap:anywhere}.nu-result-photo{background:#f0f0f0;border-radius:8px;min-height:185px;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:12px;color:#586054}.nu-result-photo img{width:100%;max-height:220px;object-fit:contain}.nu-badge{background:#151816;border-radius:8px;color:#fff;padding:6px 12px;font-size:12px;align-self:flex-start}.nu-lv1.nu-summary{background:#bddeff}.nu-lv2.nu-summary{background:#fffac9}.nu-lv3.nu-summary{background:#ffdd65}.nu-lv4.nu-summary{background:#ffa5a5}.nu-lv3.nu-primary-products{background:#fff5b3}.nu-safety{background:#f3dfdc;padding:14px;display:flex;flex-direction:column;gap:12px}.new-ui #nu-products-body{display:flex;flex-direction:column;gap:12px}.new-ui [hidden],.new-ui #nu-products-body[hidden]{display:none!important}.new-ui .nu-product{display:flex;padding:0;gap:12px;align-items:center;border:0;background:transparent;width:100%}.new-ui .nu-product .rv2-product-img,.nu-missing-image{width:64px;height:72px;flex:0 0 64px;object-fit:contain;background:#f0f0f0;border-radius:8px}.nu-missing-image{display:flex;align-items:center;justify-content:center;font-size:11px;color:#586054}.nu-product-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}.nu-product-info .rv2-product-name{font-size:14px;font-weight:700}.nu-product-info p{font-size:12px;color:#586054}.nu-product-info strong{font-size:14px}.nu-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;font-size:12px}.nu-actions .rv2-btn-cart{border:0;background:transparent;color:#151816;font-size:12px;padding:5px 0}.nu-select{accent-color:#151816;width:17px;height:17px;vertical-align:middle}.nu-total{border-top:1px solid #e0e0e0;padding-top:12px;display:flex;align-items:center;justify-content:space-between;font-size:14px}.nu-total strong{font-size:24px}.nu-care{background:#f9f9f9}.nu-care p{color:#586054}.nu-care aside{padding:14px;background:#fff4e6}.new-ui details{border:1px solid #e0e0e0;border-radius:8px;padding:14px}.new-ui details .nu-product{margin-top:14px}.new-ui summary{font-weight:700;cursor:pointer}.new-ui #share-section{margin:0;border:0;border-radius:0;padding:20px;background:#f1f6e7}.new-ui #btn-retry{margin:0!important;border-radius:0;border-color:#e0e0e0;background:#f1f6e7;font-family:inherit}.new-ui .scroll-hint{font-family:inherit}.new-ui .v3-gallery-section{position:static!important;padding:12px 10px 24px!important;max-width:465px!important;width:100%!important;height:auto!important;background:#fff;border-top:1px solid #e0e0e0}.new-ui .v3-gallery-heading{position:static!important;font-family:inherit!important;font-size:18px!important;margin:0 8px 14px!important}.new-ui .v3-gallery-scroll{position:static!important;width:100%!important;overflow-x:auto!important;scroll-snap-type:x mandatory}.new-ui .v3-gallery-track{display:flex!important;position:static!important;gap:26px!important;width:max-content!important;transform:none!important}.new-ui .v3-card{position:relative!important;width:115px!important;height:143px!important;flex:0 0 115px!important;scroll-snap-align:start}.new-ui .v3-card-img-wrap{width:115px!important;height:143px!important;position:relative!important;overflow:hidden;border-radius:5px}.new-ui .v3-card-img{width:100%!important;height:100%!important;object-fit:cover}.new-ui .v3-card-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}.nu-start-shell{width:100%;aspect-ratio:465/726;position:relative;overflow:hidden}.nu-start-art{width:465px;height:726px;position:absolute;transform-origin:top left;background:#fff}.nu-start-art .nu-bg{position:absolute;inset:1.96px 0 auto;width:465px;height:724px;overflow:hidden}.nu-bg img{width:465px;height:826px;display:block}.nu-logo{position:absolute;left:28.1px;top:0;width:48px;height:56px;overflow:hidden}.nu-logo img{width:132px;height:56px;max-width:none}.nu-start-word{position:absolute;left:86px;top:17px;font-size:14px}.nu-tag{position:absolute;right:18px;top:24px;font-size:11px}.nu-start-art h1{position:absolute;left:26px;top:78px;font-size:48px;font-weight:700;line-height:1.18;letter-spacing:-2px}.nu-start-art .nu-lead{position:absolute;left:30px;top:219px;font-size:18px;line-height:1.38}.nu-phone{position:absolute;left:327.43px;top:93.81px;width:124.047px;height:267.088px}.nu-shoe{position:absolute;left:35.62px;top:322.62px;width:420px;height:171px;overflow:hidden}.nu-shoe img{position:absolute;width:736px;height:736px;max-width:none;left:-175.7px;top:-337.2px}.nu-start-cta{position:absolute;left:18px;top:519px;width:429px;height:63px;border:0;border-radius:12px;background:#10110f;color:#fff;font-weight:700;font-size:22px;display:flex;align-items:center;justify-content:center;gap:42px}.nu-start-cta span{font:40px Georgia}.nu-no-register{position:absolute;top:590px;width:465px;text-align:center;text-decoration:underline;font-size:14px}.nu-three-title{position:absolute;left:18px;top:625px;font-size:18px!important}.nu-steps{position:absolute;left:18px;top:653px;display:flex;width:429px;justify-content:space-between}.nu-steps>div{display:grid;grid-template-columns:30px 40px;gap:1px 12px;justify-content:center;text-align:center;width:110px;font-size:14px}.nu-steps b{border-radius:50%;background:#eee;align-self:center;font-size:13px;width:26px;height:26px;line-height:26px;font-weight:400}.nu-steps img{width:39px;height:40px;object-fit:contain}.nu-steps span{grid-column:1/3;margin-top:3px}.new-ui .nu-section>p{overflow-wrap:anywhere}.new-ui :focus-visible{outline:3px solid #4a7355;outline-offset:3px}@media(max-width:375px){.nu-summary{padding:16px;grid-template-columns:minmax(0,1fr) 34%;gap:10px}.nu-summary h1{font-size:21px}.nu-result-photo{min-height:150px}}
body.new-ui .container{width:100%;max-width:465px}.new-ui .v3-card.is-broken .v3-card-img-wrap{background:#ededed}.new-ui .v3-card.is-broken .v3-card-img{visibility:hidden}

/* Scope overrides to the new screens so legacy stage rules cannot leak in. */
body.new-ui.ds-stage .container{padding:0;background:#fff}
body.new-ui .nu-start-cta{font-size:22px;font-weight:700}
body.new-ui .nu-primary,body.new-ui .nu-secondary{font-size:14px;font-weight:700}
body.new-ui .nu-steps>div{grid-template-columns:30px 40px;grid-template-rows:40px auto;align-items:center}
body.new-ui .nu-steps span{white-space:nowrap;line-height:23px;align-self:start}
body.new-ui #screen-start .v3-gallery-section{background:#fff}
body.new-ui #screen-start .v3-gallery-heading{font-style:normal;font-weight:700;text-align:left;color:#151816;padding:0;line-height:30px}
body.new-ui .nu-lv4.nu-summary{grid-template-columns:1fr;position:relative;gap:14px}
body.new-ui .nu-lv4 .nu-result-photo{grid-row:1;width:100%;height:177px;min-height:177px}
body.new-ui .nu-lv4 .nu-badge{position:absolute;left:20px;top:20px;z-index:1}
body.new-ui .nu-lv4 .nu-summary-copy{gap:12px}
body.new-ui .nu-lv4 .nu-result-photo img{height:100%;max-height:none;object-fit:contain}

@media(max-width:375px){body.new-ui .nu-lv4 .nu-badge{left:16px;top:16px}}

body.new-ui #screen-upload{width:100%;margin:0;padding:0}


body.new-ui .nu-lv4.nu-primary-products{padding:0}
body.new-ui .nu-lv4 .nu-safety{padding:20px}
body.new-ui .nu-lv4 #nu-products-body{padding:20px}

body.new-ui .nu-state-confirm{display:flex;flex-direction:column;gap:12px;padding:20px;background:#fff}

/* Upload amendment: inline photo choices; no modal/backdrop or separate CTA. */
body.new-ui #upload-area{background:#fff}
body.new-ui .nu-upload-prompt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;border:1px solid #151816;border-radius:8px;background:#fff;color:#151816;font-weight:700;padding:20px}
body.new-ui .nu-upload-prompt svg{width:38px;height:38px;flex:none}
body.new-ui #upload-area.has-image .nu-upload-prompt{display:none}
body.new-ui #upload-area.has-image{border:1px solid #151816}
body.new-ui .nu-upload-choices{overflow:hidden;background:#fff}
body.new-ui #upload-choices-inner{display:flex;flex-direction:column;gap:12px;border:1px solid #151816;border-radius:8px;padding:16px}
body.new-ui .nu-upload-options{display:flex;gap:12px}
body.new-ui .nu-upload-options button{flex:1;min-width:0;border-color:#151816}

/* Latest02 upper,430px design basis. Formal photo is a separate local asset. */
body.new-ui .nu-upload-header{position:relative;display:block;height:67px;padding:0;overflow:hidden;background:#fff}
body.new-ui .nu-upload-header .nu-wordmark{position:absolute;left:13.62093023%;top:27.43px;width:71.429px;height:11.429px;font-size:10px;line-height:normal;color:#141414}
body.new-ui .nu-upload-header>.nu-upload-tag{position:absolute;left:95.34883721%;top:24px;width:135px;transform:translateX(-100%);font-size:12px;line-height:19px;text-align:right;color:#586054}
body.new-ui .nu-upload-logo{position:absolute;left:3.48837209%;top:16px;display:block;width:40.714px;height:35px;overflow:hidden}
body.new-ui .nu-upload-logo-inner{position:absolute;left:0;top:0;display:block;width:94.286px;height:40px;overflow:hidden}
body.new-ui .nu-upload-logo img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
body.new-ui .nu-upload-hero{display:block;position:relative;width:100%;aspect-ratio:430/186;padding:0;overflow:hidden;container-type:inline-size;background:#fff}
body.new-ui .nu-upload-hero-crop{position:absolute;top:-22.04301075%;height:129.03225806%;overflow:hidden}
body.new-ui .nu-upload-hero-crop img{position:absolute;max-width:none;height:197.67%;top:-44.19%}
body.new-ui .nu-upload-hero-kit{left:22.09302326%;width:77.90697674%}
body.new-ui .nu-upload-hero-kit img{width:141.67%;left:-41.67%}
body.new-ui .nu-upload-hero-shoe{left:58.8372093%;width:41.1627907%}
body.new-ui .nu-upload-hero-shoe img{width:268.13%;left:-168.13%}
body.new-ui .nu-upload-hero-gradient{position:absolute;left:3.72093023%;top:0;width:66.27906977%;height:94.08602151%;background:linear-gradient(-89.999994775deg,rgba(217,217,217,0) 0%,#fff 100%)}
body.new-ui .nu-upload-title-band{position:absolute;left:3.72093023%;background:#161616}
body.new-ui .nu-upload-title-band-one{top:31.72043011%;width:58.8372093%;height:16.66666667%}
body.new-ui .nu-upload-title-band-two{top:51.61290323%;width:38.60465116%;height:20.96774194%}
body.new-ui .nu-upload-hero h1{position:absolute;left:4.65116279%;top:27.41935484%;width:63.48837209%;font-size:6.97674419cqw;line-height:9.76744186cqw;font-weight:700;color:#fff}
body.new-ui .nu-upload-hero h1 span{display:block;white-space:nowrap}

/* Confirmed Figma result frames 36:5 / 39 / 73 / 107. */
.new-ui .nu-report{--accent:#2196f3;position:relative;min-height:423px;padding:20px 20px 20px;background:#cbf7f1;color:#151816;font-size:14px}
.new-ui .nu-report.nu-lv2{--accent:#ffc107;background:#fff4e6}
.new-ui .nu-report.nu-lv3{--accent:#ff9800;background:#c0502e;color:#fff}
.new-ui .nu-report.nu-lv4{--accent:#f44336;background:#151816;color:#fff}
.new-ui .nu-report-kicker{font-family:'Libre Baskerville',Georgia,serif;font-weight:700;font-size:12px;line-height:19px;color:#586054}
.new-ui .nu-lv3 .nu-report-kicker{color:white}.new-ui .nu-lv4 .nu-report-kicker{color:#ff9393}
.new-ui .nu-severity{display:flex;gap:18px;align-items:center;margin-top:12px;width:209px;height:80px}
.new-ui .nu-level-circle{display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--accent);color:#fff;width:80px;height:80px;flex-shrink:0;font:700 28px 'Libre Baskerville',Georgia,serif}
.new-ui .nu-severity h1{font-size:23px;line-height:33px;white-space:nowrap}.new-ui .nu-severity p{font-size:12px;line-height:19px;margin-top:4px}
.new-ui .nu-scale{display:flex;width:209px;gap:6px;height:5px;margin-top:12px}.new-ui .nu-scale i{flex:1;background:#f0f0f0}.new-ui .nu-scale i.active{background:var(--accent)}
.new-ui .nu-report-headline{font-size:20px;line-height:24px;width:209px;min-height:72px;margin-top:12px}
.new-ui .nu-report-photo{position:absolute;top:57px;right:0;width:43.953488%;aspect-ratio:189/181;border-radius:8px;background:#f0f0f0;overflow:hidden;color:#586054;display:flex;align-items:center;justify-content:center;font-size:12px}
.new-ui .nu-report-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;max-width:none}
.new-ui .nu-observation{margin-top:6px;min-height:90px;line-height:23px;overflow-wrap:anywhere}.new-ui .nu-observation a{display:block;margin-top:5px;font-size:11px;line-height:17px;color:inherit;text-decoration:none}.new-ui .nu-material{font-size:11px;line-height:17px}
.new-ui .nu-next{background:#fff;color:#151816;padding:14px;border-radius:8px;min-height:75px}.new-ui .nu-next p{font-size:12px;line-height:19px;color:#586054;margin-bottom:6px}.new-ui .nu-next strong{display:block;font-size:14px;line-height:22px}
.new-ui #nu-response>p{color:#586054}.new-ui #nu-response .nu-secondary{padding:14px}.new-ui #product-section.nu-primary-products{background:#fff}.new-ui #product-section>.nu-safety,.new-ui #product-section>.nu-state-confirm{display:none}
@media(max-width:400px){.new-ui .nu-severity,.new-ui .nu-scale,.new-ui .nu-report-headline{width:51%}.new-ui .nu-severity{gap:8px}.new-ui .nu-level-circle{width:64px;height:64px;font-size:24px}.new-ui .nu-severity h1{font-size:20px}.new-ui .nu-severity p{font-size:10px}.new-ui .nu-report-headline{font-size:17px;line-height:24px}.new-ui .nu-report-photo{top:65px}.new-ui .nu-report{padding-left:16px;padding-right:16px}}

.new-ui #screen-result>.nu-header{height:67px;padding:20px}.new-ui #nu-response{min-height:232px}.new-ui .nu-report:has(+ #nu-response #nu-report-confirm)+#nu-response{min-height:296px}


/* Diagnosis-only phone preview and readable result opening. */
.new-ui .nu-phone-example{isolation:isolate}
.new-ui .nu-phone-frame{display:block;width:100%;height:100%;pointer-events:none}
.new-ui .nu-phone-screen{position:absolute;inset:2.35% 3.25% 2.4% 3.25%;overflow:hidden;border-radius:10% / 5%;background:#fff;padding-top:8%}
.new-ui .nu-phone-screen::after{content:"";position:absolute;left:10.5%;top:1.7%;width:3.7%;aspect-ratio:1;background:#121212;border-radius:50%}
.new-ui .nu-phone-screen svg{display:block;width:100%;height:auto}
.new-ui .nu-phone-screen svg svg{display:inline;width:auto;height:auto}
.new-ui .nu-observation:has(.nu-opening-observation){min-height:0}
.new-ui .nu-diagnosis-detail{margin-top:13px;line-height:1.55;overflow-wrap:anywhere}
.new-ui .nu-diagnosis-detail summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.new-ui .nu-diagnosis-detail p{white-space:pre-line;margin:10px 0 0}
