:root{font-family:system-ui,-apple-system,"Yu Gothic",Meiryo,sans-serif;color:#20252b;background:#e9ecef;font-size:16px}*{box-sizing:border-box}body{margin:0}.phone{max-width:440px;min-height:100vh;margin:auto;background:#fafafa;box-shadow:0 0 18px #0001;padding-bottom:88px}button,select,input{font:inherit}button{cursor:pointer;min-height:48px}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #25549b;outline-offset:2px}.top{display:flex;align-items:center;gap:12px;padding:18px 16px;background:#fff;border-bottom:1px solid #d9dde1;min-height:82px}.top small{display:block;color:#626971;font-size:12px}.top h1{font-size:23px;margin:2px 0 0;line-height:1.25}.icon-btn{border:1px solid #cbd2d8;border-radius:12px;background:#fff;width:48px;padding:0;font-size:24px}.intro,.pad{padding:16px;margin:0}.intro p{margin:0 0 6px}.muted,.footnote{color:#626971;font-size:13px;line-height:1.55}.footnote{padding:0 16px}.intent-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:8px 16px 16px}.intent{border:1px solid #c8cfd6;border-radius:12px;background:#fff;display:flex;align-items:center;gap:7px;flex-direction:column;padding:22px 8px;min-height:116px;box-shadow:0 2px 0 #dce0e3}.intent span:first-child{font-size:30px}.intent strong{font-size:16px}.intent .arrow{color:#566777}section{padding:14px 16px}section h2{font-size:17px;margin:0 0 12px}.result-head{display:flex;align-items:center;justify-content:space-between;background:#fff;padding:13px 16px}.result-head small{display:block;color:#636b73;font-size:12px}.secondary{background:#fff;border:1px solid #717d89;border-radius:10px;padding:0 17px}.chips{display:flex;flex-wrap:wrap;gap:6px;padding:10px 16px;border-bottom:1px solid #e3e5e8}.chip{white-space:nowrap;border:1px solid #b9c4ce;background:#fff;border-radius:20px;padding:7px 10px;font-size:12px}.chip.relaxed{background:#fff5dd;border-color:#d9a746}.quick-conditions{padding:12px 16px;background:#fff;border-bottom:1px solid #e3e5e8}.quick-conditions h2{margin:0 0 4px;font-size:15px}.quick-conditions p{margin:0 0 10px}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-button{min-width:0;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;border:1px solid #aebac4;border-radius:9px;background:#fff;padding:7px 9px;font-size:13px}.quick-button strong{min-width:0;overflow-wrap:anywhere}.quick-button span{flex:none;border-radius:5px;padding:3px 5px;font-size:11px;font-weight:700}.quick-button.mode-must{border-width:2px;border-color:#24517d}.quick-button.mode-must span{background:#24517d;color:#fff}.quick-button.mode-prefer{border-color:#8a6b2e;background:#fff9eb}.quick-button.mode-prefer span{background:#f3dfad;color:#5e471e}.quick-button.mode-off span{background:#edf0f2;color:#5b646d}.evidence-summary{font-size:13px;font-weight:700;margin:8px 0 3px}.evidence-unknown{font-size:13px;color:#855118;margin:4px 0 8px;line-height:1.45}.card{border:1px solid #d4d9de;border-left:5px solid #1f6d58;border-radius:12px;padding:14px;background:#fff;margin-bottom:13px;box-shadow:0 2px 5px #0000000d}.card.state-B{border-left-color:#a76617}.card.state-C{border-left-color:#546ba1;background:#f7f8fb}.badge{display:inline-block;border-radius:6px;background:#e3f1e9;color:#18553b;padding:5px 8px;font-size:12px;font-weight:700}.state-B .badge,.badge.state-B{background:#fff0dc;color:#855118}.state-C .badge,.badge.state-C{background:#e5ebf8;color:#324d85}.card h3{margin:12px 0 2px;font-size:21px}.facility{margin:0;color:#5d6670}.facts{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.fact{font-size:12px;background:#edf4ef;border:1px solid #c8ded0;border-radius:5px;padding:5px}.fact.unknown,.fact.conditional{background:#fff3df;border-color:#ead3a4}.fact.no{background:#fce9e7;border-color:#e3c1ba}.meta{font-size:13px;margin:8px 0}.alert{font-weight:700;color:#84520f;background:#fff5e5;padding:8px;border-radius:7px}.card .primary,.sticky .primary{width:100%}.primary{background:#24517d;border:1px solid #24517d;color:#fff;border-radius:10px;font-weight:700;padding:11px 14px}.zero{background:#fff3dd;border-top:1px solid #e8d2a9;border-bottom:1px solid #e8d2a9}.zero h2{line-height:1.5}.zero p{font-size:13px}.options{display:grid;gap:8px}.option{background:#fff;border:1px solid #b8c3cc;border-radius:8px;text-align:left;padding:9px 12px;font-size:14px}.relax-block{border-top:1px solid #ddd}.filter-section{border-bottom:1px solid #ddd;background:#fff}.radio-row{display:grid;gap:9px}.radio-row label{display:flex;align-items:center;gap:9px;min-height:42px}.radio-row input{width:20px;height:20px}.filter-row{display:flex;align-items:center;justify-content:space-between;min-height:60px;border-top:1px solid #e5e8eb;gap:10px}.filter-row select{min-width:133px;min-height:42px;border:1px solid #aab6bf;background:#fff;border-radius:7px;padding:5px}.sticky{position:sticky;bottom:0;background:#fff;border-top:1px solid #d7dde1;padding:12px 16px;z-index:2}.detail-title{padding:18px 16px;background:#fff}.detail-title h2{font-size:24px;margin:12px 0 2px}.detail-title p{margin:0;color:#68717a}.status-list{background:#fff;border:1px solid #d7dde1;border-radius:8px;overflow:hidden}.status-row{padding:11px 12px;display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #ebedf0}.status-row:last-child{border-bottom:0}.status-row span{text-align:right}.status-row .fact-copy{text-align:left}.status-row .unknown,.status-row .conditional{color:#916019;font-weight:700}.status-row .no{color:#9b352a}.evidence-status{padding:8px 0;border-bottom:1px solid #e1e4e7;font-size:14px}details{margin-top:14px;border:1px solid #bcc7ce;border-radius:8px;padding:12px;background:#fff}summary{font-weight:700;cursor:pointer;min-height:30px}.source{border-top:1px solid #e0e4e8;padding:10px 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.source a{color:#1c5794}.source small{color:#66717b}.confirm{text-align:center}.confirm h2{margin:14px 0}.choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice button,.reason-grid button{border:1px solid #8394a2;border-radius:10px;background:#fff;padding:8px}.followup,.done{margin-top:22px;padding:16px;background:#fff;border:1px solid #d5dbe0;border-radius:10px}.reason-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.reason-grid button{min-height:58px}.done{text-align:left}@media(max-width:320px){.intent-grid{gap:8px}.intent strong{font-size:14px}.fact{font-size:11px}}@media(min-width:600px){.phone{margin:24px auto;min-height:calc(100vh - 48px);border-radius:16px;overflow:hidden}}
