
:root{--ink:#172d49;--deep:#174e8c;--green:#286db1;--mint:#dcecff;--pale:#f3f7fc;--paper:#ffffff;--line:#dce6f1;--muted:#72859a;--gold:#5a94cf}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#e9eff6;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:3px solid #84b8ed;outline-offset:3px}.ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.workspace{max-width:1240px;margin:auto;padding:46px 38px 60px}.mast{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:34px}.wordmark{font-size:12px;letter-spacing:.22em;font-weight:800}.mast h1{font-size:32px;letter-spacing:.02em;margin:12px 0 8px}.mast p{color:#71859a;margin:0;line-height:1.7}.edition{font-size:11px;letter-spacing:.12em;color:#7b90a5;text-align:right;line-height:1.8}.layout{display:grid;grid-template-columns:minmax(230px,330px) 1fr;gap:40px;align-items:start}.directions{position:sticky;top:25px}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:800;color:#7891aa}.directions h2{font-size:18px;margin:8px 0 18px}.choice{width:100%;display:flex;align-items:center;gap:14px;padding:16px 14px;border:0;border-top:1px solid #d2e0ed;text-align:left;background:transparent;min-height:77px}.choice:last-child{border-bottom:1px solid #d2e0ed}.choice .n{font-family:Georgia,serif;font-size:17px;color:#8fa4b8}.choice strong,.choice small{display:block}.choice strong{font-size:14px}.choice small{font-size:11px;color:#8095aa;margin-top:4px}.choice .arrow{margin-left:auto;opacity:0}.choice.active{background:#dfedfa}.choice.active .n{color:#3979b3}.choice.active .arrow{opacity:1}.side-note{font-size:11px;line-height:1.8;color:#7b8fa3;max-width:260px;margin-top:25px}.stage{display:flex;justify-content:center;position:relative}.phone{width:390px;max-width:100%;height:800px;max-height:calc(100vh - 70px);min-height:620px;background:var(--paper);border:7px solid #183b64;border-radius:42px;box-shadow:0 26px 70px #254a742d,0 2px 7px #254a7422;overflow:hidden;display:flex;flex-direction:column}.status{height:30px;padding:10px 23px 0;font-size:10px;font-weight:700;display:flex;justify-content:space-between;flex:none}.status .bars{letter-spacing:2px}.appbar{height:58px;padding:0 23px;display:flex;align-items:center;justify-content:space-between;flex:none}.brand{display:flex;align-items:center;gap:8px;font-weight:800;letter-spacing:.05em}.mark{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--deep);color:#fff}.mark .ico{width:16px;height:16px}.app-label{font-size:10px;color:#91a5b8;letter-spacing:.08em}.demo-bar{font-size:10px;color:#56738f;background:#edf5fd;text-align:center;padding:7px 12px;flex:none}.screen{overflow-y:auto;overscroll-behavior:contain;flex:1;scrollbar-width:thin;scrollbar-color:#d2e2f1 transparent}.screen-inner{padding:25px 24px 30px;min-height:100%}.kicker{font-size:10px;letter-spacing:.18em;color:#6485a6;font-weight:800}.title{font-size:27px;line-height:1.35;letter-spacing:.025em;margin:10px 0 10px;font-weight:700}.sub{font-size:13px;line-height:1.85;color:#70869d;margin:0}.hero{position:relative;overflow:hidden;background:#e8f3ff;border-radius:22px;padding:22px;margin:22px 0 17px;min-height:190px}.hero:before,.hero:after{content:"";position:absolute;border:1px solid #bdd9f4;border-radius:50%;width:215px;height:215px;right:-65px;top:-45px}.hero:after{width:175px;height:175px;right:-45px;top:-25px}.hero .hero-copy{position:relative;z-index:2}.hero small{font-size:10px;letter-spacing:.15em;color:#6d8eab}.hero h3{font-size:20px;line-height:1.5;margin:14px 0 8px}.hero p{font-size:12px;line-height:1.7;color:#66839e;margin:0}.seal{width:49px;height:49px;display:grid;place-items:center;border-radius:50%;background:#ffffff;color:#286db1;margin-bottom:16px}.seal .ico{width:25px;height:25px}.button{border:0;border-radius:13px;width:100%;min-height:51px;padding:13px 16px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:700;margin-top:10px}.button.primary{background:var(--deep);color:#fff}.button.secondary{background:transparent;border:1px solid #c6d9ed;color:#245b91}.button.text{background:transparent;color:#6483a0;font-weight:600}.button .right{margin-left:auto}.footnote{font-size:10px;color:#98acbe;line-height:1.7;margin-top:16px;text-align:center}.bottom{flex:none;border-top:1px solid #e5edf6;background:#ffffff;display:flex;justify-content:space-around;padding:8px 14px calc(10px + env(safe-area-inset-bottom));gap:4px}.nav{border:0;background:none;min-width:72px;min-height:46px;color:#91a3b5;font-size:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.nav.active{color:#2169ae}.nav .ico{width:18px;height:18px}.back{border:0;background:none;padding:0 8px 0 0;min-height:38px;display:flex;align-items:center;gap:4px;color:#66839e;font-size:12px;margin:-8px 0 15px}.back .ico{width:16px;height:16px}.section-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;letter-spacing:.08em;margin:23px 0 12px}.section-label span{font-weight:400;color:#9bacc0;letter-spacing:0}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.tool{min-height:118px;border:1px solid #e1ebf5;background:#fff;border-radius:16px;text-align:left;padding:16px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.tool .ico{color:#367ab8;margin-bottom:4px}.tool b{font-size:13px}.tool small{font-size:10px;color:#96aabd}.ribbon{padding:15px 16px;border-radius:14px;background:#f1f7fd;font-size:11px;line-height:1.7;color:#718aa2;display:flex;gap:10px;align-items:flex-start}.ribbon .ico{width:16px;height:16px}.bubble{background:#f1f7fd;border-radius:4px 19px 19px 19px;padding:19px;line-height:1.85;font-size:13px;margin:14px 0 18px;color:#436b90}.speaker{display:flex;align-items:center;gap:10px;margin:24px 0 0}.avatar{width:40px;height:40px;display:grid;place-items:center;background:#d9eafb;border-radius:50%;color:#367ab8}.avatar .ico{width:21px;height:21px}.speaker b{display:block;font-size:12px}.speaker small{font-size:10px;color:#94a8bc}.progress{height:3px;background:#e2ecf6;margin:18px 0 26px;border-radius:5px}.progress i{display:block;height:100%;background:#3c87ce;border-radius:5px}.step{display:flex;gap:14px;padding:17px 0;border-bottom:1px solid #e8eff6}.step .num{font-family:Georgia,serif;font-size:18px;color:#86a8c7}.step strong{display:block;font-size:13px;margin-bottom:5px}.step p{margin:0;color:#8297ab;font-size:12px;line-height:1.75}.notice{background:#f4f8fd;color:#5b738b;border-radius:12px;padding:13px 15px;font-size:11px;line-height:1.7;margin:18px 0}.photo-wrap{margin-top:20px;background:#eef5fc;min-height:180px;display:grid;place-items:center;border-radius:17px;overflow:hidden}.photo{display:block;width:100%;max-height:280px;object-fit:contain}.checklist{padding:18px 0 8px}.checklist strong{display:block;font-size:13px}.checklist p{font-size:11px;line-height:1.7;color:#8297ab;margin:6px 0}.result-card{background:#eaf4ff;border-radius:20px;padding:21px;margin:20px 0 17px}.result-card small{color:#7390aa;font-size:10px;letter-spacing:.08em}.result-number{font-family:Georgia,serif;font-size:29px;margin:13px 0 4px}.result-number span{font-family:inherit;font-size:14px}.scale{height:8px;border-radius:8px;background:linear-gradient(90deg,#7cb6e6,#acc8e0,#d4dfeb);margin:20px 0 9px}.scale-label{display:flex;justify-content:space-between;font-size:10px;color:#91a5b9}details{border-top:1px solid #e1eaf3;padding:17px 0;font-size:13px}details summary{font-weight:700;cursor:pointer}details p{font-size:12px;color:#798fa3;line-height:1.8}.topic{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid #e8eff6}.topic .topic-icon{width:37px;height:37px;border-radius:12px;background:#e8f3ff;display:grid;place-items:center;color:#4c8dc6;flex:none}.topic b{font-size:13px}.topic p{font-size:11px;color:#8399ae;line-height:1.7;margin:5px 0 0}.tag{display:inline-block;border:1px solid #c7d9ec;border-radius:30px;padding:5px 10px;font-size:10px;color:#7091ad;margin-top:14px}.divider{height:1px;background:#e5edf5;margin:22px 0}.hint{font-size:11px;line-height:1.7;color:#8fa5ba}.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:750px){body{background:#ffffff}.workspace{padding:0}.mast{padding:20px 20px 0;margin:0}.mast h1{font-size:20px;margin:6px 0}.mast p,.edition,.wordmark{display:none}.layout{display:block}.directions{position:static;padding:16px 16px 12px}.directions>.eyebrow,.directions h2,.side-note{display:none}.choices{display:flex;gap:7px}.choice{flex:1;min-width:0;min-height:48px;padding:9px 7px;border:1px solid #dce8f4!important;border-radius:10px;gap:6px}.choice .n{font-size:12px}.choice strong{font-size:11px;white-space:nowrap}.choice small,.choice .arrow{display:none}.phone{max-width:none;width:100%;height:calc(100dvh - 119px);min-height:560px;max-height:none;border:0;border-radius:0;box-shadow:none}.status{display:none}.appbar{height:50px}.screen-inner{padding-top:22px}}
@media(max-width:350px){.screen-inner{padding-left:19px;padding-right:19px}.choice strong{font-size:10px}.title{font-size:24px}}

/* One coherent mobile experience */
.workspace{max-width:1080px;padding:40px 40px 52px}.mast{align-items:end;margin-bottom:25px}.mast h1{font-size:27px}.mast p{font-size:13px}.layout{display:block}.stage{justify-content:center}.phone{height:820px;max-height:calc(100vh - 125px)}
.phase-nav{display:flex;gap:6px;overflow-x:auto;padding:10px 18px 9px;background:#ffffff;border-bottom:1px solid #e5edf6;scrollbar-width:none;flex:none}.phase-nav::-webkit-scrollbar{display:none}.phase{flex:1;white-space:nowrap;border:0;border-radius:20px;background:#f2f6fb;color:#6e8197;padding:8px 10px;font-size:10px}.phase.active{background:#deeeff;color:#1c5c9e;font-weight:700}.phase:focus-visible{outline:2px solid #84b8ed}.home-head{display:flex;align-items:center;gap:8px;color:#6485a6;font-size:10px;font-weight:800;letter-spacing:.13em}.home-head:before{content:'';width:20px;height:1px;background:#9abce0}.home-title{font-size:28px;line-height:1.35;margin:13px 0 9px}.home-sub{font-size:12px;line-height:1.8;color:#71849a;margin:0}.start-card{position:relative;overflow:hidden;margin:21px 0 13px;padding:22px 20px 19px;border-radius:21px;background:#e8f3ff}.start-card:before,.start-card:after{content:'';position:absolute;border:1px solid #c4def6;border-radius:50%;width:180px;height:180px;right:-75px;top:-67px}.start-card:after{width:130px;height:130px;right:-48px;top:-42px}.start-card>*{position:relative;z-index:1}.start-card .badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#4a80af;letter-spacing:.05em}.start-card h3{font-size:19px;line-height:1.45;margin:9px 0 5px}.start-card p{font-size:11px;color:#6686a5;line-height:1.7;margin:0 0 14px}.start-card .button{margin-top:8px}.start-card .button.secondary{background:#f7fbff;border-color:#bfd6ec}.prepare-card{width:100%;display:flex;align-items:center;text-align:left;gap:13px;padding:16px 15px;border:1px solid #dce8f4;border-radius:16px;background:#fff}.prepare-icon{width:38px;height:38px;border-radius:12px;background:#f7fbff;color:#4a88c0;display:grid;place-items:center;flex:none}.prepare-card b,.prepare-card small{display:block}.prepare-card b{font-size:12px}.prepare-card small{font-size:10px;color:#879caf;margin-top:5px;line-height:1.5}.prepare-card>.ico{margin-left:auto;color:#82a7ca}.home-help{display:flex;justify-content:space-between;gap:8px;margin-top:14px}.home-help button{flex:1;min-height:38px;background:none;border:0;color:#577c9f;font-size:11px;display:flex;align-items:center;justify-content:center;gap:6px}.home-help .ico{width:15px;height:15px}.empty-photo{padding:30px;text-align:center;color:#7498b8;font-size:12px;line-height:1.7}.empty-photo .ico{display:block;width:28px;height:28px;margin:0 auto 10px}.privacy{margin:10px 0 0;text-align:center;color:#8198ad;font-size:10px;line-height:1.7}
@media(max-width:750px){.workspace{padding:0}.mast{display:none}.phone{height:100dvh;min-height:0;max-height:none}.screen-inner{padding-top:22px}.phase-nav{padding-left:15px;padding-right:15px}.phase{padding:8px 9px}.bottom{padding-bottom:calc(8px + env(safe-area-inset-bottom))}}
@media(max-width:750px) and (max-height:700px){.screen-inner{padding-top:14px}.home-title{font-size:24px;margin:8px 0 5px}.home-sub{line-height:1.5}.start-card{margin:12px 0 9px;padding:15px 16px 12px}.start-card h3{font-size:17px;margin:5px 0 3px}.start-card p{margin-bottom:7px}.start-card .button{margin-top:5px}.prepare-card{padding:10px 12px}.prepare-icon{width:33px;height:33px}}

/* Refined blue system: clear hierarchy rather than a palette swap. */
body{background:#e9f0f8;color:#172d49}.workspace{max-width:1160px}.mast{border-bottom:1px solid #d6e2ef;padding-bottom:22px}.mast h1{font-weight:700;letter-spacing:0}.wordmark{color:#2c6ea9;letter-spacing:.14em}.edition{color:#7892ab}.phone{border-color:#203e61;box-shadow:0 24px 70px #234b7826,0 3px 10px #234b7817;background:#fff}.appbar{height:64px;border-bottom:1px solid #eef3f8}.brand{letter-spacing:0;font-size:15px;color:#15385e}.mark{width:31px;height:31px;border-radius:10px;background:#1e65a7}.app-label{color:#6e89a3;font-size:10px;letter-spacing:0}.demo-bar{background:#f2f7fc;color:#57728c;line-height:1.5;padding:7px 14px}.phase-nav{gap:4px;background:#fff;padding:9px 17px 10px;border-bottom:1px solid #eaf0f6}.phase{background:transparent;color:#8192a5;border-radius:9px;font-size:11px;padding:8px 9px}.phase.active{background:#e7f2fd;color:#1f67aa}.screen-inner{padding:25px 24px 32px}.home-head,.kicker{color:#4381b9;font-size:10px;letter-spacing:.11em}.home-head:before{width:17px;background:#5b9bd4}.home-title,.title{color:#172f4d;letter-spacing:-.02em}.home-title{font-size:27px;line-height:1.35;margin:11px 0 8px}.home-sub,.sub{color:#6b8095}.start-card{background:#eef6ff;border:1px solid #dcebf9;border-radius:20px;margin:21px 0 12px;padding:20px}.start-card:before,.start-card:after{border-color:#d3e7fa}.start-card .badge{font-weight:700;color:#387eb9;letter-spacing:0}.start-card .badge .ico{width:14px;height:14px}.start-card h3{font-size:19px;margin:10px 0 5px}.start-card p{font-size:11px;color:#66829c;margin-bottom:14px}.button{min-height:49px;border-radius:11px}.button.primary{background:#216bb3;box-shadow:0 4px 10px #1f6aac20}.button.secondary{border-color:#c4d8ec;color:#235f99}.start-card .button.secondary{background:#fff;border-color:#cbdff1}.prepare-card{border:1px solid #cfdff0;border-radius:15px;box-shadow:0 3px 12px #305d8a0b;padding:16px 15px}.prepare-card b{font-size:13px;color:#23486d}.prepare-card small{color:#758da3}.prepare-icon{background:#eaf4fe;color:#387fbc}.home-help{margin-top:15px}.home-help button{color:#547795}.privacy{color:#8297aa}.bottom{border-color:#eaf0f6}.nav{color:#91a3b6}.nav.active{color:#206db5}.notice{border-left:3px solid #7eb5e4;border-radius:4px 10px 10px 4px;background:#f2f7fc;color:#617b94}.progress i{background:#418bd0}.result-card{border:1px solid #d9eafa}.ribbon,.bubble{background:#f0f7ff;color:#4d7191}.speaker .avatar{background:#e2f0ff;color:#397fba}.tool,.topic{border-color:#e6eef6}.back{color:#5d7e9d}.footnote,.hint{color:#8095a8}
@media(max-width:750px){body{background:#fff}.workspace{padding:0}.phone{border:0}.appbar{height:58px}.screen-inner{padding-top:22px}.mast{display:none}}
@media(max-width:750px) and (max-height:700px){.screen-inner{padding-top:15px}.home-title{font-size:24px}.start-card{margin:12px 0 9px;padding:15px 16px 12px}.start-card h3{font-size:17px;margin:5px 0 3px}.start-card p{margin-bottom:7px}.prepare-card{padding:10px 12px}}

/* FAQ: compact entry, readable answers and clear next steps. */
.faq-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:25px 0 8px}.faq-heading h3{font-size:15px;margin:0;color:#23486d}.faq-heading button{border:0;background:none;color:#286fac;font-size:11px;padding:6px 0}.faq-caption{font-size:10px;color:#8399ad;line-height:1.6;margin:0 0 5px}.faq-row{width:100%;display:flex;align-items:center;gap:10px;padding:14px 1px;text-align:left;border:0;border-bottom:1px solid #e8eff6;background:#fff;font-size:12px;line-height:1.5}.faq-row .ico{margin-left:auto;width:16px;height:16px;color:#82a7ca}.faq-group{margin-top:24px}.faq-group h3{font-size:13px;margin:0 0 2px;color:#356f9f}.answer-card{margin:22px 0 14px;padding:19px;border-radius:16px;background:#f0f7ff;color:#476d8e;font-size:13px;line-height:1.85}.answer-card p{margin:7px 0 0}.answer-card strong{color:#245b8c;font-size:11px}.faq-disclaimer{font-size:11px;line-height:1.75;color:#7891a8;margin-top:18px}
/* Deep blue primary with light blue support. */
:root{--ink:#152c49;--deep:#163f6e;--green:#245f96;--mint:#e4f0fb}.mark,.button.primary{background:#194b7d}.button.primary{box-shadow:0 4px 10px #173f6c24}.nav.active,.phase.active{color:#174d80}.phase.active{background:#e3effa}.start-card,.hero{background:#eaf3fc}.home-head,.kicker{color:#356d9e}.faq-heading button{color:#205b90}.question-form{margin:22px 0 18px;padding:18px;border:1px solid #c9dced;border-radius:16px;background:#f5f9fd}.question-form label{display:block;font-size:13px;font-weight:700;color:#173f69;margin-bottom:9px}.question-form textarea{display:block;width:100%;min-height:96px;resize:vertical;border:1px solid #b7cfe4;border-radius:10px;padding:12px;background:#fff;color:#172d49;font:inherit;line-height:1.6}.question-form textarea:focus-visible{outline:3px solid #84b8ed;outline-offset:2px}.question-form .hint{margin:8px 0;color:#566f88}.question-status{margin:12px 0 0;color:#214f78;font-size:12px;line-height:1.6}.question-status[hidden]{display:none}
/* Give the unfinished-test path equal visibility without gating the camera. */
.prepare-card{border:2px solid #6fa7d6;background:#eaf4fe;box-shadow:0 4px 15px #285b861a}.prepare-card b{font-size:14px;color:#173f69}.prepare-icon{background:#fff;color:#246ba8}.camera-help{font-size:10px;line-height:1.65;color:#607e99;margin:8px 1px 0}.start-card .camera-help{margin:8px 1px 0;color:#607e99}
.ability-heading{margin:20px 0 5px;font-size:16px;color:#173f69}.ability-note{margin:0 0 10px;color:#70869b;font-size:10px;line-height:1.6}.ability-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ability{padding:11px 12px;border:1px solid #dce8f4;border-radius:12px;background:#f7faff;text-align:left;color:#214d76;min-height:70px}.ability b,.ability small{display:block}.ability b{font-size:12px}.ability small{margin-top:4px;color:#6c879f;font-size:10px;line-height:1.5}.start-card{margin-top:15px}.start-card .prepare-link{width:100%;margin-top:8px;padding:10px;border:1px solid #8eb5d6;border-radius:11px;background:#e3f0fc;color:#174d7b;font-weight:700;font-size:12px}
.prepare-card{background:#1d5b93;border-color:#1d5b93;color:#fff}.prepare-card b{color:#fff}.prepare-card small{color:#e0effc}.prepare-card>.ico{color:#fff}.prepare-card .prepare-icon{background:#fff;color:#1d5b93}
.ability-heading{margin-top:38px;font-size:15px}.ability-note{margin-bottom:14px}.ability{background:#fff;border-color:#e4edf5;box-shadow:none}
/* Home: consistent section hierarchy, supporting text, and spacing. */
.ability-heading,.faq-heading h3{font-size:16px;font-weight:700;line-height:1.4;color:#173f69}
.ability-heading{margin:28px 0 6px}.faq-heading{margin:28px 0 6px}
.ability-note,.faq-caption{font-size:11px;line-height:1.6;color:#70869b}
.ability-note{margin:0 0 12px}.faq-caption{margin:0 0 6px}
.start-card{padding:20px;margin:18px 0 12px}.start-card p,.start-card .camera-help{font-size:11px;line-height:1.6}
.prepare-card{padding:16px;gap:12px}.prepare-card b{font-size:13px;line-height:1.4}.prepare-card small{font-size:11px;line-height:1.5;margin-top:4px}
.ability-grid{gap:10px}.ability{min-height:76px;padding:14px;border-radius:14px}.ability b{font-size:13px;line-height:1.4}.ability small{font-size:11px;line-height:1.5;margin-top:4px}
.faq-heading~.faq-row{padding:14px 1px;font-size:13px;line-height:1.5}.home-help{margin-top:18px}

/* Result sample: keep example, photo and unknown conditions clearly separate. */
.result-warning{margin:16px 0;padding:14px 15px;border:1px solid #e7c68c;border-radius:12px;background:#fff8ea;color:#705018;font-size:12px;line-height:1.7}.result-warning strong{font-size:13px;color:#60400e}.result-section{margin:21px 0}.result-section h3{margin:0 0 10px;color:#173f69;font-size:14px}.result-section p,.result-next p{margin:8px 0 0;color:#617b94;font-size:12px;line-height:1.75}.result-photo{background:#eef5fc;min-height:135px;display:grid;place-items:center;overflow:hidden;border-radius:14px}.result-photo .photo{max-height:220px}.result-conditions{display:grid;grid-template-columns:1fr auto;gap:0;border-top:1px solid #e4edf5}.result-conditions span,.result-conditions b{padding:10px 0;border-bottom:1px solid #e4edf5;font-size:12px}.result-conditions span{color:#6d8297}.result-conditions b{color:#355a7d}.result-next{padding:16px;border-radius:14px;background:#f0f7ff}.result-next strong{color:#214f78;font-size:13px}
.crop-demo{position:relative;min-height:190px;margin:20px 0;background:#eef5fc;display:grid;place-items:center;overflow:hidden;border-radius:16px}.crop-demo .photo{max-height:280px}.crop-frame{position:absolute;inset:22% 23%;border:2px dashed #287bb9;border-radius:8px;pointer-events:none}.crop-frame span{position:absolute;left:0;bottom:100%;padding:4px 7px;background:#287bb9;color:white;font-size:10px;white-space:nowrap}
/* Self-check comparison with a labeled reference photograph. */
.photo-comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;align-items:start}.photo-comparison figure{min-width:0;margin:0}.photo-comparison figcaption{font-size:11px;font-weight:700;color:#315e83;line-height:1.5;margin-bottom:7px}.photo-comparison .photo-wrap,.example-photo{margin:0;min-height:155px;height:180px;border-radius:13px;background:#eef5fc;overflow:hidden;display:grid;place-items:center}.photo-comparison .photo{width:100%;height:100%;max-height:none;object-fit:contain}.photo-comparison .empty-photo{padding:12px;font-size:10px}.example-photo img{width:100%;height:100%;display:block;object-fit:contain}.example-note{font-size:10px;line-height:1.6;color:#617e98;margin:9px 0 0}.comparison-title{font-size:13px;margin:20px 0 0;color:#173f69}.comparison-title+.photo-comparison{margin-top:10px}
 .example-image-wrap{position:relative;height:100%;aspect-ratio:698/859}.example-image-wrap img{width:100%;height:100%;object-fit:fill}.sample-box{position:absolute;border:2px solid;border-radius:3px;box-shadow:0 0 0 1px #fff,0 0 4px #182d45}.liquid-box{left:48%;top:52%;width:7%;height:7%;border-color:#ffb300}.white-box{left:21%;top:33%;width:14%;height:3%;border-color:#1676d2}.sample-legend{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:7px;font-size:10px;color:#435d73}.sample-legend span{display:flex;align-items:center;gap:4px}.sample-legend i{display:inline-block;width:10px;height:10px;border:2px solid}.legend-liquid{border-color:#ffb300!important}.legend-white{border-color:#1676d2!important}

.photo-comparison .example-photo{height:auto}.example-image-wrap{width:100%;height:auto}

/* N11 compact display controls;native pixels and mapping are unchanged. */
.view-controls{display:grid;grid-template-columns:44px 44px minmax(0,1fr) minmax(0,1fr);gap:6px;margin:10px 0}.view-controls .button{width:auto;min-height:44px;margin:0;padding:8px 4px;font-size:13px;line-height:1.3}.view-controls [aria-pressed=true]{background:#e1efff;color:#174a85}.liquid-reference{display:flex;align-items:center;gap:12px;margin:10px 0;font-size:13px;line-height:1.5}.liquid-reference .example-photo{width:68px;flex:0 0 68px;height:auto}.liquid-reference p{margin:0}.liquid-reference .example-image-wrap{width:100%;height:auto}.region-controls{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.region-controls .button{width:auto;min-height:44px;margin:0;padding:8px 12px;font-size:13px}.region-controls [aria-pressed=true]{background:#e1efff;color:#174a85}#imageViewport{background:#f2f6fa}#imageContent{margin:0}#nativeImage{max-width:none}


/* B0 steps are kept mounted while the blue shell navigates. */
[hidden] { display: none !important; }
[data-daji-step] { min-width: 0; }
.nav[aria-current="page"] { color: #174d80; }
.daji-notice { margin: 8px 0 0; padding: 0 22px; color: #315e83; font-size: 12px; }
.daji-status { padding: 0 22px 12px; color: #315e83; }
.daji-status .button { margin-top: 0; }
#daji-selected-picture { display: block; max-width: 100%; max-height: 52vh; margin: auto; object-fit: contain; }
.view-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0; }
.view-tools button, #save, #clear, #review-open, #review-approve, #review-reject, #review-dismiss, #daji-runtime button {
  min-height: 44px; border: 1px solid var(--line); border-radius: 10px; color: var(--deep); background: #edf5fd; padding: 8px 12px;
}
#save, #review-approve, #daji-runtime button:first-child { background: #194b7d; color: #fff; }
button:disabled { opacity: .48; cursor: default; }
#frame { position: relative; overflow: hidden; touch-action: none; border: 1px solid var(--line); border-radius: 12px; }
#image-layer { position: relative; transform-origin: 0 0; }
#preview { display: none; width: 100%; height: auto; }
#boxes { position: absolute; inset: 0; pointer-events: none; }
#boxes .box { position: absolute; outline: 2px solid #ffb300; color: #ffb300; }
#review-region { min-height: 42px; max-width: 100%; color: var(--deep); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
#review-card figure { margin: 12px 0; }
#review-card img { display: block; max-width: 100%; height: auto; }
.review-native-frame { position: relative; display: inline-block; max-width: 100%; }
#review-overlay { position: absolute; pointer-events: none; outline: 2px solid #ffb300; }
.review-attest { display: block; padding: 8px 0; line-height: 1.65; }
#review-info, #daji-runtime p, #daji-results { overflow-wrap: anywhere; }
#daji-runtime button { margin: 6px 8px 0 0; }
#daji-results { white-space: pre-line; line-height: 1.9; }
