:root{--ink:#17241f;--green:#173b30;--moss:#9caf88;--lime:#c4d7a9;--paper:#f7f8f4;--line:#e5e9e1;--muted:#79847c;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans JP',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}.topbar{height:72px;padding:0 7.2%;display:flex;align-items:center;justify-content:space-between;background:#10251f;color:white}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;font:700 13px 'DM Sans',sans-serif;letter-spacing:1.65px}.brand-mark{display:grid;place-items:center;width:26px;height:26px;border:1px solid #9caf88;border-radius:50%;color:#c8d9b3;font:600 15px var(--serif);letter-spacing:0}.brand-light{font-weight:400;color:#b4c6ae}.top-link{color:#d2dbd3;text-decoration:none;font-size:11px;letter-spacing:.06em}.top-link span{margin-left:8px;color:#bed19f}.hero{min-height:578px;background:#10251f;position:relative;display:grid;grid-template-columns:1fr 1fr;padding:70px 9.3% 58px;color:#f4f5ef;overflow:hidden}.hero-copy{padding-top:18px;position:relative;z-index:2}.eyebrow{font:600 10px 'DM Sans',sans-serif;letter-spacing:2.4px;color:#bdcfaa;display:flex;align-items:center;gap:10px}.pulse{width:6px;height:6px;background:#c5d8a8;border-radius:50%;box-shadow:0 0 0 5px #a9c38e1d}.hero h1{font-size:clamp(36px,4vw,55px);line-height:1.52;letter-spacing:.04em;font-weight:500;margin:24px 0 14px}.hero h1 em{font-style:normal;color:#c4d7a9}.hero-text{font-size:13px;line-height:2;color:#b9c4bd;max-width:390px;margin:0}.hero-cta{display:inline-flex;align-items:center;gap:35px;margin-top:29px;padding:15px 19px;background:#c4d7a9;color:#18352b;text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.06em;transition:.2s}.hero-cta:hover{background:#d6e5c3;transform:translateY(-2px)}.hero-cta span{font-size:17px}.hero-note{margin-top:17px;color:#9eaea4;font-size:10px;letter-spacing:.03em}.hero-note>span:first-child{color:#c4d7a9;margin-right:5px}.note-dot{margin:0 9px;color:#708077}.hero-art{position:relative;min-height:430px}.art-orbit{position:absolute;border:1px solid #b3c89b1f;border-radius:50%;left:50%;top:47%;transform:translate(-50%,-50%)}.orbit-one{width:415px;height:415px}.orbit-two{width:315px;height:315px;border-color:#b3c89b2a}.art-glow{position:absolute;top:17%;left:32%;width:280px;height:280px;background:#95b77d14;filter:blur(48px);border-radius:50%}.driver{position:absolute;width:min(100%,440px);height:440px;object-fit:contain;left:50%;top:45%;transform:translate(-50%,-50%);filter:drop-shadow(0 16px 36px #0005)}.art-tag{position:absolute;right:1%;top:21%;display:flex;gap:10px;align-items:center;color:#8fa296;font:500 9px/1.6 'DM Sans',sans-serif;letter-spacing:1.8px}.art-tag b{color:#d0dfbc;font-size:11px}.tag-line{height:1px;width:36px;background:#8ca276}.hero-stats{position:absolute;left:12%;bottom:10px;display:flex;align-items:center;gap:14px;color:#91a197}.hero-stats div{display:flex;gap:6px;align-items:baseline}.hero-stats b{color:#cfddc2;font:500 11px 'DM Sans',sans-serif}.hero-stats span{font-size:9px}.hero-stats i{width:22px;height:1px;background:#506258}.hero-index{position:absolute;right:7.2%;bottom:28px;color:#d6e0d6;font:500 10px 'DM Sans',sans-serif;letter-spacing:1px}.hero-index span{color:#607166;margin:0 6px}.trust-strip{background:#fff;display:flex;justify-content:center;gap:7.3%;padding:25px 5%;border-bottom:1px solid #edf0ea}.trust-strip>div{display:flex;gap:13px;align-items:center}.trust-icon{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eef2e9;color:#54704f;font:17px var(--serif)}.trust-strip b,.trust-strip small{display:block}.trust-strip b{font-size:11px;font-weight:700;letter-spacing:.02em}.trust-strip small{margin-top:4px;color:#879088;font-size:9px}.section-wrap{max-width:970px;width:calc(100% - 48px);margin:auto}.diagnosis{padding:86px 0 94px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.dark-eyebrow{color:#788b73}.section-heading h2,.how h2{margin:11px 0 7px;font-size:23px;letter-spacing:.04em;font-weight:600}.section-heading p,.how-heading>p{color:#89918a;margin:0;font-size:11px}.step-badge{display:flex;align-items:baseline;gap:7px;color:#a8afa7;font:10px 'DM Sans',sans-serif}.step-badge b{font-size:22px;color:#213d30}.step-badge i{font-style:normal;color:#c1c7c0}.form-card{background:white;border:1px solid var(--line);border-radius:4px;padding:25px 30px 28px;margin-bottom:14px;box-shadow:0 8px 26px #20352905}.card-heading{display:flex;align-items:center;gap:14px;margin-bottom:24px}.card-number{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eff3e9;color:#55734c;font:600 11px 'DM Sans',sans-serif}.card-heading h3{font-size:14px;margin:0;font-weight:700}.card-heading p{font-size:10px;color:#929a93;margin:5px 0 0}.required-label{margin-left:auto;border:1px solid #e8eee2;border-radius:2px;padding:4px 9px;color:#78916b;font-size:9px}.optional-label{font-size:9px;background:#f2f3ef;color:#8f978f;padding:3px 7px;border-radius:2px;font-weight:500;margin-left:5px;vertical-align:2px}.form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:28px;row-gap:20px;padding-left:44px}.three-col{grid-template-columns:repeat(3,1fr);column-gap:22px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field-label{font-size:10px;font-weight:600;color:#46554b}.field-label em{font-style:normal;color:#ac7668;font-size:9px;margin-left:4px}.input-wrap{position:relative}.field input,.field select{width:100%;height:43px;background:#fbfcf9;border:1px solid #e5e9e1;border-radius:2px;color:#27372d;padding:0 13px;font:12px 'DM Sans','Noto Sans JP',sans-serif;outline:none;transition:.18s}.field input::placeholder{color:#b8beb7}.field input:focus,.field select:focus{border-color:#8fa67d;box-shadow:0 0 0 3px #a5bb901a}.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%237c897e' stroke-width='1.4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:32px;color:#69756c}.field input[type=number]{padding-right:48px}.unit{position:absolute;right:12px;top:13px;color:#89958b;font:10px 'DM Sans',sans-serif}.field small{color:#a4aaa4;font-size:9px}.text-button{margin-left:auto;border:0;background:none;color:#778579;font-size:10px;cursor:pointer}.text-button span{font-size:14px;margin-left:7px}.metrics-body{transition:opacity .15s}.secondary-grid{margin-top:20px}.form-actions{display:flex;justify-content:space-between;align-items:center;margin-top:23px}.form-actions p{color:#929a92;font-size:9px;margin:0}.form-actions p span{margin-right:5px}.submit-button{border:0;background:#18392e;color:#f6f7f1;padding:15px 22px;min-width:190px;display:flex;justify-content:space-between;align-items:center;font:600 11px 'Noto Sans JP',sans-serif;letter-spacing:.04em;cursor:pointer;transition:.2s}.submit-button:hover{background:#285242;transform:translateY(-1px)}.submit-button span{font-size:17px;color:#c3d6aa}.error-message{color:#a14c3b;font-size:11px;margin-top:12px}.results{padding:0 0 96px;scroll-margin-top:30px}.results[hidden]{display:none}.result-topline{border-top:1px solid #dfe5dc;padding-top:28px;display:flex;justify-content:space-between;align-items:center}.confidence{font-size:9px;background:#eaf0e4;color:#5d7652;padding:6px 10px;border-radius:2px}.confidence.low{background:#f4eee3;color:#987a4c}.result-title{margin:12px 0 23px}.result-title h2{font-size:25px;margin:0 0 6px}.result-title p{color:#818b82;font-size:11px;margin:0}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.spec-card{background:white;border:1px solid var(--line);padding:25px 27px;border-radius:3px}.hero-spec{background:#18392e;color:#f3f5ef;border-color:#18392e;position:relative;overflow:hidden}.hero-spec:after{content:"";position:absolute;width:220px;height:220px;border:1px solid #d2dfc018;border-radius:50%;right:-110px;top:40px;box-shadow:0 0 0 25px #d2dfc00a,0 0 0 50px #d2dfc008}.spec-kicker{font:600 9px 'DM Sans',sans-serif;letter-spacing:1.5px;color:#82947f}.hero-spec .spec-kicker{color:#b0c6a2}.profile-icon{font-size:25px;color:#c0d5a4;margin:15px 0 6px}.hero-spec h3{font-size:21px;margin:0 0 9px;letter-spacing:.025em}.hero-spec p{font-size:11px;line-height:1.9;color:#c0ccc2;max-width:320px;margin:0}.spec-pills{display:flex;gap:6px;flex-wrap:wrap;margin-top:17px}.spec-pills span{font-size:9px;border:1px solid #75907c;color:#d4e0d1;padding:5px 8px;border-radius:20px}.spec-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0eb;padding:13px 0;font-size:10px;color:#7c877e}.spec-row b{font-size:11px;color:#24392d;font-weight:600}.spec-footnote{color:#a1a8a0;font-size:9px;line-height:1.8;margin:13px 0 0}.insight-card{background:white;border:1px solid var(--line);padding:22px 27px;margin-top:14px}.insight-heading{display:flex;gap:12px;align-items:center}.insight-icon{width:29px;height:29px;background:#edf2e7;color:#6a855c;border-radius:50%;display:grid;place-items:center}.insight-heading h3{font-size:13px;margin:5px 0 0}.insight-card ul{padding:0 0 0 44px;margin:15px 0 0;display:grid;gap:9px;color:#667269;font-size:10px;line-height:1.8}.insight-card li::marker{color:#82986e}.next-step{margin-top:14px;background:#eef2e9;display:flex;justify-content:space-between;align-items:center;padding:21px 27px}.next-number{font:600 9px 'DM Sans',sans-serif;color:#71866a;letter-spacing:1.3px}.next-step h3{margin:7px 0 5px;font-size:13px}.next-step p{max-width:680px;margin:0;color:#7d887e;font-size:10px;line-height:1.9}.target-icon{font-size:35px;color:#859b77;margin-left:15px}.result-actions{display:flex;gap:9px;margin-top:18px}.outline-button{background:transparent;border:1px solid #d7ded4;color:#4f5f53;padding:11px 15px;font:10px 'Noto Sans JP',sans-serif;cursor:pointer}.outline-button:hover{background:#eef2e9}.outline-button span{margin-left:9px}.disclaimer{font-size:9px;line-height:1.8;color:#9aa19a;margin:15px 0 0}.how{padding:68px 0 78px;border-top:1px solid #e4e9e1}.how-heading{text-align:center}.how-heading .eyebrow{justify-content:center}.how h2{margin:11px 0 6px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:37px}.how-grid>div{border-top:1px solid #dfe5dc;padding-top:13px}.how-grid span{font:600 11px 'DM Sans',sans-serif;color:#829873}.how-grid h3{font-size:12px;margin:9px 0 7px}.how-grid p{color:#838d84;font-size:10px;line-height:1.9;margin:0}.method-note{display:flex;gap:12px;background:#eff2eb;padding:15px 18px;margin-top:30px;color:#758176}.method-note>span{font-size:14px;color:#879b79}.method-note p{font-size:9px;line-height:1.9;margin:0}footer{height:74px;background:#10251f;color:#9aaca0;padding:0 7.2%;display:flex;align-items:center;justify-content:space-between;font-size:9px}footer a:last-child{color:#b7c6ba;text-decoration:none}.footer-brand{color:#e0e8dd;font-size:11px}footer i{font-style:normal;margin:0 5px;color:#647569}.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#203b30;color:white;padding:11px 18px;font-size:11px;z-index:9;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:760px){.topbar{height:60px;padding:0 22px}.hero{display:block;padding:57px 25px 39px;min-height:720px}.hero-copy{padding-top:0}.hero h1{font-size:38px;margin-top:21px}.hero-text{font-size:12px;max-width:340px}.hero-art{position:absolute;left:0;right:0;bottom:24px;height:340px;min-height:0;opacity:.95}.driver{height:340px;width:340px;top:47%}.orbit-one{width:300px;height:300px}.orbit-two{width:225px;height:225px}.art-tag{right:9%;top:7%}.hero-stats{left:9%;bottom:10px}.hero-index{right:23px;bottom:18px}.trust-strip{padding:18px 22px;gap:0;justify-content:space-between}.trust-strip>div{gap:8px}.trust-icon{width:27px;height:27px;font-size:14px}.trust-strip b{font-size:9px}.trust-strip small{max-width:105px;font-size:8px;line-height:1.5}.section-wrap{width:calc(100% - 36px)}.diagnosis{padding:62px 0}.section-heading{align-items:flex-start}.section-heading h2,.how h2{font-size:19px}.section-heading p{font-size:10px;line-height:1.7;max-width:270px}.step-badge{gap:4px}.step-badge span{font-size:8px}.step-badge b{font-size:19px}.form-card{padding:20px 17px 22px}.card-heading{gap:10px;margin-bottom:20px}.card-heading p{line-height:1.7}.form-grid,.three-col{padding-left:0;grid-template-columns:1fr 1fr;gap:18px 12px}.field-label{font-size:9px}.field input,.field select{height:42px;padding-left:10px;font-size:11px}.unit{right:9px}.three-col .field:nth-child(5),.three-col .field:nth-child(6){grid-column:auto}.secondary-grid{margin-top:18px}.form-actions{align-items:stretch;flex-direction:column;gap:15px}.form-actions p{line-height:1.7}.submit-button{width:100%}.result-grid{grid-template-columns:1fr}.spec-card{padding:21px}.result-title h2{font-size:22px}.insight-card{padding:19px}.insight-card ul{padding-left:30px}.next-step{padding:18px}.next-step p{font-size:9px}.target-icon{font-size:27px}.result-actions{flex-wrap:wrap}.outline-button{flex:1;min-width:100px;padding:11px 9px;font-size:9px}.how{padding:54px 0}.how-grid{gap:13px;margin-top:28px}.how-grid h3{font-size:10px}.how-grid p{font-size:9px}.method-note{padding:13px;align-items:flex-start}footer{height:auto;min-height:80px;padding:18px 21px;gap:12px;flex-wrap:wrap}footer>span{order:3;width:100%}}
@media(max-width:390px){.hero h1{font-size:34px}.hero{min-height:700px;padding-left:20px;padding-right:20px}.trust-strip{padding-left:14px;padding-right:14px}.trust-strip>div{gap:5px}.trust-icon{width:23px;height:23px}.trust-strip b{font-size:8px}.trust-strip small{font-size:7px}.section-heading h2{font-size:17px}.three-col{grid-template-columns:1fr 1fr}.result-actions{gap:6px}.outline-button{font-size:8px}}
/* Cleaner editorial flight illustration and model shortlist */
.hero-art{min-height:430px;overflow:visible}.hero-art:before{content:"";position:absolute;inset:18% 4% 11% 7%;background:linear-gradient(135deg,#203c3020,#bdcfaa0b 55%,transparent);clip-path:polygon(0 100%,8% 49%,43% 0,100% 0,100% 100%)}.art-edition{position:absolute;right:8%;top:16%;z-index:2;color:#9eafa2;font:500 9px/1.8 'DM Sans',sans-serif;letter-spacing:1.8px;text-align:right}.art-edition span{color:#d1dfc1}.flight-word{position:absolute;left:12%;top:19%;color:#d4e0d0;font:600 clamp(48px,7vw,84px)/1 'DM Sans',sans-serif;letter-spacing:-.065em}.flight-path{position:absolute;width:93%;height:72%;left:1%;top:16%;overflow:visible;filter:drop-shadow(0 0 8px #bbd59b55)}.art-coordinate{position:absolute;right:9%;top:64%;display:flex;align-items:center;gap:9px;color:#95a69a;font:500 8px 'DM Sans',sans-serif;letter-spacing:1.3px}.art-coordinate i{height:1px;width:45px;background:linear-gradient(90deg,#99ae8a,#344f40)}.hero-art .hero-stats{left:13%;bottom:11px}.candidate-section{margin-top:31px;background:#fff;border:1px solid var(--line);padding:25px 27px}.candidate-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.candidate-heading h3{font-size:17px;margin:6px 0}.candidate-heading p{font-size:10px;color:#89938b;margin:0}.candidate-count{font:500 12px 'DM Sans',sans-serif;color:#58704e}.candidate-count i{font-style:normal;color:#b5beb2;margin:0 3px}.candidate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.candidate-card{min-width:0;border:1px solid #e7ebe4;padding:17px 16px 15px;display:flex;flex-direction:column;min-height:177px;position:relative}.candidate-card:first-child{border-top:2px solid #829970}.candidate-brand{font:600 8px 'DM Sans',sans-serif;letter-spacing:1.2px;color:#879487}.candidate-card h4{font-size:14px;margin:10px 0 6px}.candidate-card p{font-size:9px;color:#7f8a80;line-height:1.75;margin:0 0 14px}.candidate-fit{font-size:8px;align-self:flex-start;background:#f0f3ec;color:#627958;padding:5px 8px;margin-top:auto}.candidate-link{display:inline-flex;align-items:center;gap:7px;color:#284c3c;text-decoration:none;font-size:9px;font-weight:600;margin-top:13px}.candidate-link span{font-size:13px;transition:transform .18s}.candidate-link:hover span{transform:translate(2px,-2px)}.candidate-note{font-size:9px;color:#9aa29a;line-height:1.8;margin:14px 0 0}
@media(max-width:760px){.hero-art{height:340px;min-height:0;opacity:1}.hero-art:before{inset:12% 1% 10%}.art-edition{right:9%;top:8%;font-size:8px}.flight-word{left:9%;top:27%;font-size:57px}.flight-path{width:100%;height:68%;left:0;top:18%}.art-coordinate{right:7%;top:65%;font-size:7px}.hero-art .hero-stats{left:9%;bottom:10px}.candidate-section{padding:21px 17px}.candidate-grid{grid-template-columns:1fr;gap:8px}.candidate-card{min-height:0;padding:15px}.candidate-card h4{margin:8px 0 5px}.candidate-link{margin-top:9px}.candidate-heading h3{font-size:15px}.candidate-heading p{max-width:270px;line-height:1.7}}
.qa-section{margin-top:16px;background:#f0f3ed;border:1px solid #e1e7dc;padding:25px 27px}.qa-top{display:flex;justify-content:space-between;align-items:center}.qa-top h3{font-size:17px;margin:7px 0 5px}.qa-top p{font-size:10px;color:#849085;margin:0}.qa-spark{font-size:26px;color:#879c77}.chat-window{display:flex;flex-direction:column;gap:10px;margin-top:20px;max-height:290px;overflow:auto;padding:2px 3px 8px}.chat-message{display:flex;gap:9px;align-items:flex-start;max-width:87%}.assistant-avatar{flex:0 0 25px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#204537;color:#d6e3ca;font:14px Georgia,serif}.assistant-message>div{background:#fff;border:1px solid #e4e9e1;padding:10px 13px;border-radius:2px}.chat-message b{font:600 8px 'DM Sans',sans-serif;letter-spacing:1px;color:#84937f}.chat-message p{font-size:10px;line-height:1.85;color:#59675b;margin:4px 0 0;white-space:pre-wrap}.user-message{align-self:flex-end;justify-content:flex-end}.user-message p{background:#24483a;color:#f1f4ed;padding:10px 13px;margin:0;border-radius:2px;font-size:10px;line-height:1.8;max-width:100%;overflow-wrap:anywhere}.suggestions{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 12px}.suggestions button{border:1px solid #d9e1d5;background:transparent;color:#60705f;padding:7px 10px;border-radius:20px;font:9px 'Noto Sans JP',sans-serif;cursor:pointer}.suggestions button:hover{background:#e4ebdf}.question-form{display:flex;border:1px solid #dce3d8;background:#fff;padding:5px}.question-form input{border:0;outline:0;flex:1;min-width:0;padding:9px 10px;color:#314136;font:11px 'Noto Sans JP',sans-serif}.question-form input::placeholder{color:#abb3aa}.question-form button{border:0;background:#1e4034;color:white;padding:0 14px;font:600 10px 'Noto Sans JP',sans-serif;cursor:pointer}.question-form button span{font-size:14px;color:#c4d7a9;margin-left:9px}.qa-note{font-size:9px;line-height:1.8;color:#939c92;margin:10px 0 0}.qa-note span{color:#7b8f70;margin-right:4px}.sr-only{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:760px){.qa-section{padding:21px 17px}.qa-top h3{font-size:15px}.qa-top p{font-size:9px;line-height:1.7}.chat-message{max-width:96%}.suggestions{gap:6px}.suggestions button{font-size:8px;padding:7px 9px}.question-form input{font-size:10px;padding-left:6px}.question-form button{padding:0 11px}}
.save-controls{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.form-actions .save-controls p{margin:0}.data-clear-button{border:0;padding:0;background:transparent;color:#8c958a;font:9px 'Noto Sans JP',sans-serif;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.data-clear-button:hover{color:#4f6651}@media(max-width:760px){.save-controls{gap:8px}.form-actions .save-controls p{font-size:9px}}
.ai-diagnosis-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;align-items:center;margin-top:14px;background:#18392e;color:#f1f4ef;padding:23px 27px}.ai-diagnosis-copy h3{font-size:15px;margin:7px 0}.ai-diagnosis-copy>p{font-size:10px;line-height:1.8;color:#c2cec3;margin:0}.ai-status{display:inline-flex;margin-top:10px;padding:5px 8px;background:#274b3d;color:#d1dfca;font-size:9px}.ai-status.offline{background:#4a4030;color:#e5d2a8}.ai-status.ready{background:#385b43;color:#e0edd9}.ai-run-button{display:flex;align-items:center;gap:18px;border:1px solid #b3c899;background:#c3d6a6;color:#1c392e;padding:13px 16px;font:600 10px 'Noto Sans JP',sans-serif;cursor:pointer;white-space:nowrap}.ai-run-button:hover:not(:disabled){background:#d7e5c4}.ai-run-button:disabled{opacity:.48;cursor:not-allowed}.ai-run-button span{font-size:15px}.ai-diagnosis-output{grid-column:1/-1;background:#fff;color:#34463a;border-left:2px solid #b4cc98;padding:16px 18px;white-space:pre-wrap;font-size:11px;line-height:1.95}.ai-disclosure{grid-column:1/-1;margin:0;color:#aebeaf;font-size:9px;line-height:1.8}.ai-disclosure span{color:#d0dfb7;margin-right:4px}.chat-message .is-loading{color:#8a968a;font-style:italic}.ai-status.error{background:#5b3431;color:#f1cac2}@media(max-width:760px){.ai-diagnosis-card{grid-template-columns:1fr;padding:20px 17px;gap:12px}.ai-run-button{justify-content:space-between;width:100%}.ai-diagnosis-output{grid-column:1;padding:13px}.ai-disclosure{grid-column:1}}
.local-analysis-card{grid-template-columns:1fr}.local-analysis-card .ai-diagnosis-output{grid-column:1}
.secondary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.candidate-spin{margin:10px 0 0!important;padding-top:9px;border-top:1px solid #edf0eb;color:#68766c!important;font-size:9px!important;line-height:1.7!important}.candidate-spin b{display:block;margin-bottom:3px;color:#4f6756;font-size:8px!important;letter-spacing:.04em}
.candidate-shafts{margin:8px 0 0!important;color:#68766c!important;font-size:9px!important;line-height:1.7!important}.candidate-shafts b{display:block;margin-bottom:3px;color:#4f6756;font-size:8px!important;letter-spacing:.04em}.candidate-shafts>span{display:block;margin-top:4px;padding-top:4px;border-top:1px solid #f0f2ee;line-height:1.65}
.trial-section{margin-top:16px;background:#fff;border:1px solid var(--line);padding:25px 27px}.trial-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.trial-heading h3{font-size:17px;margin:7px 0}.trial-heading p{font-size:10px;color:#89938b;margin:0}.trial-count{white-space:nowrap;color:#58704e;font:500 12px 'DM Sans',sans-serif}.trial-card{background:#f7f8f4;border:1px solid #e7ebe4;padding:18px}.trial-instructions{margin:0 0 16px;color:#7f8a80;font-size:10px;line-height:1.8}.trial-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px}.trial-form-grid .field{min-width:0}.trial-form-grid .field input,.trial-form-grid .field select{width:100%}.trial-form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.trial-form-actions #trialStatus{color:#7c887e;font-size:9px;line-height:1.7}.trial-form-actions .submit-button{width:auto;min-width:200px}.trial-list{display:grid;gap:9px;margin-top:14px}.trial-empty{padding:15px;margin:0;background:#fafbf8;color:#89938b;font-size:10px;text-align:center}.trial-record{border:1px solid #e6ebe3;padding:15px 17px;background:#fff}.trial-record-top{display:flex;align-items:center;gap:16px}.trial-record-top>div{min-width:0;flex:1}.trial-record-top h4{font-size:13px;margin:0 0 4px}.trial-record-top p{font-size:9px;color:#7f8a80;margin:0;overflow-wrap:anywhere}.trial-record-top time{font:10px 'DM Sans',sans-serif;color:#8b958b;white-space:nowrap}.trial-delete{border:1px solid #e4e8e1;background:#fff;color:#89938b;padding:6px 10px;font:9px 'Noto Sans JP',sans-serif;cursor:pointer}.trial-delete:hover{border-color:#b4877f;color:#99594e}.trial-record-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #edf0eb}.trial-metric span,.trial-metric b{display:block}.trial-metric span{font-size:8px;color:#8a948b}.trial-metric b{margin-top:4px;font:600 11px 'DM Sans','Noto Sans JP',sans-serif;color:#30473a;overflow-wrap:anywhere}
.trial-field-hint{display:block;margin-top:5px;color:#89938b;font-size:8px;line-height:1.5}
.budget-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-price{margin:4px 0 8px!important;padding:8px 9px;background:#f4f6f1;color:#758274!important;font-size:8px!important}.candidate-price b{display:block;margin-top:3px;color:#35513f;font:600 12px 'DM Sans','Noto Sans JP',sans-serif}.candidate-guide{margin:0 0 9px!important;padding:0 0 9px;border-bottom:1px solid #edf0eb;color:#728074!important;font-size:9px!important;line-height:1.7!important}.candidate-guide b{display:block;margin-bottom:2px;color:#4f6756;font-size:8px!important;letter-spacing:.04em}.budget-candidate-panel{margin-top:18px;padding:18px;background:#f5f7f2;border:1px solid #e4e9e0}.budget-candidate-panel[hidden]{display:none}.budget-panel-heading h4{font-size:14px;margin:0 0 5px}.budget-panel-heading p,.budget-price-note{font-size:9px;line-height:1.7;color:#818c82;margin:0}.budget-option-group{margin-top:14px}.budget-option-group> b{display:block;margin-bottom:8px;color:#476047;font-size:10px}.budget-option-group>p{font-size:9px;line-height:1.8;color:#7d887e;margin:0}.budget-option{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 13px;background:white;border:1px solid #e4e9e1;margin-top:7px}.budget-option>div{min-width:0}.budget-option h5{font-size:11px;margin:0 0 4px}.budget-option-price{font:600 9px 'DM Sans','Noto Sans JP',sans-serif;color:#5f7656}.budget-option p{font-size:9px;line-height:1.7;color:#808b81;margin:6px 0 0}.budget-option>a{flex:0 0 auto;color:#315542;text-decoration:none;font-size:9px;font-weight:600}.budget-price-note{margin-top:12px;color:#99a197}
.used-candidate-section{margin-top:16px;background:#fff;border:1px solid var(--line);padding:25px 27px}.used-candidate-section .candidate-heading{margin-bottom:0}.used-candidate-section .candidate-heading h3{font-size:17px;margin:6px 0}.used-candidate-section .candidate-heading p{font-size:10px;color:#89938b;margin:0}.budget-used-empty{margin:10px 0 0;padding:12px;background:#fff;color:#778378;font-size:9px;line-height:1.8}
@media(max-width:760px){.budget-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-candidate-panel{padding:14px}.budget-option{align-items:flex-start;flex-direction:column;gap:9px}.budget-option>a{padding-top:7px;border-top:1px solid #edf0eb;width:100%}}
@media(max-width:760px){.used-candidate-section{padding:21px 17px}.used-candidate-section .candidate-heading h3{font-size:15px}.used-candidate-section .candidate-heading p{font-size:9px;line-height:1.7}}
@media(max-width:760px){.trial-section{padding:21px 17px}.trial-heading h3{font-size:15px}.trial-heading p{font-size:9px;line-height:1.7}.trial-card{padding:14px}.trial-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 11px}.trial-form-actions{align-items:stretch;flex-direction:column;gap:11px}.trial-form-actions .submit-button{width:100%;min-width:0}.trial-record{padding:13px}.trial-record-top{gap:8px;flex-wrap:wrap}.trial-record-top>div{flex-basis:calc(100% - 64px)}.trial-record-top time{order:2;margin-right:auto}.trial-delete{order:3}.trial-record-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 8px}.trial-metric:last-child{grid-column:1/-1}}
/* Touch-friendly controls and iOS input sizing for phones. */
@media(max-width:760px){
  .field input,.field select,.question-form input{font-size:16px}
  .field input,.field select{min-height:44px}
  .submit-button,.outline-button,.question-form button,.suggestions button,.trial-delete{min-height:44px}
  .question-form{align-items:stretch}
  .question-form input{padding:10px 12px}
  .question-form button{padding:0 16px}
  .candidate-card,.trial-record,.budget-option{min-width:0}
  .candidate-card p,.candidate-note,.budget-option p,.qa-note{overflow-wrap:anywhere}
}
@media(max-width:390px){
  .section-wrap{width:calc(100% - 28px)}
  .form-card,.used-candidate-section,.candidate-section,.qa-section,.trial-section{padding-left:14px;padding-right:14px}
  .trial-card{padding:11px}
  .trial-form-grid{grid-template-columns:1fr}
  .budget-grid{grid-template-columns:1fr}
  .result-actions{display:grid;grid-template-columns:1fr}
  .outline-button{width:100%}
}
