:root{font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;color:#152b40;background:#f3f6fa;color-scheme:light}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.8}header{display:flex;justify-content:space-between;gap:20px;padding:20px max(24px,calc((100vw - 1000px)/2));background:#122c43;color:white}header span{font-size:14px}a{color:#156197;text-underline-offset:4px}.brand{color:white;text-decoration:none;font-weight:750}main{max-width:1000px;margin:auto;padding:36px 24px}.eyebrow{font-size:14px;letter-spacing:.14em;color:#356785}h1{font-size:36px;line-height:1.3;margin:8px 0}h2{font-size:22px;margin:0 0 16px}h3{font-size:18px}p{margin:12px 0}.search,.guide,.result{padding:28px;background:white;border:1px solid #dbe3ec;border-radius:8px;margin-top:28px}.search{border-top:4px solid #176ca7}label{display:block;font-weight:650;margin-bottom:8px}.input-row{display:flex;gap:12px}input{min-width:0;flex:1;padding:14px;border:1px solid #8096a9;border-radius:5px;font:inherit}button{padding:12px 24px;border:0;border-radius:5px;background:#176ca7;color:white;font:inherit;font-weight:650;cursor:pointer}button:disabled{background:#dce4eb;color:#52616f;cursor:not-allowed}:focus-visible{outline:3px solid #dc9a18;outline-offset:3px}#hint{font-size:14px;color:#536679}#status{background:#eff4fa;padding:12px 16px;border-radius:4px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:32px}.offer{border-top:1px solid #dde5ed;padding:20px 0}.price{font-size:24px;font-weight:750}.meta{font-size:14px;color:#526779}details{margin-top:28px}summary{cursor:pointer;font-weight:650}footer{max-width:1000px;padding:20px 24px 40px;margin:auto;font-size:14px;color:#526779}@media(max-width:600px){header{flex-direction:column;gap:0}h1{font-size:30px}.input-row{flex-direction:column}.columns{grid-template-columns:1fr;gap:8px}.search,.guide,.result{padding:20px}main{padding-top:24px}}
.shop{font-weight:650;color:#356785}.warning{background:#fff8e8;border-left:3px solid #bb8625;padding:10px 14px;font-size:14px}.offer h3{overflow-wrap:anywhere}

.profit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profit-grid input,.profit-grid select{display:block;width:100%;font:inherit;padding:10px;border:1px solid #8096a9;border-radius:5px}.profit-panel{border:1px solid #dbe3ec;padding:16px;background:#f8fafc}.profit-output{background:#edf4fa;padding:12px;margin:14px 0}.profit-panel input[type=checkbox]{margin-right:8px}.profit-panel p{font-size:14px}@media(max-width:600px){.profit-grid{grid-template-columns:1fr}}

.research-dashboard{margin:28px 0;padding:22px;background:#f3f8f6;border-radius:14px}.research-stats{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.research-stats div{background:white;border:1px solid #d0ded9;padding:12px;min-width:105px}.research-stats strong{display:block;font-size:25px;color:#146755}.research-stats span{font-size:12px}.research-controls{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.table-scroll{overflow:auto}.table-scroll table{border-collapse:collapse;min-width:1100px;background:white;font-size:13px}.table-scroll th,.table-scroll td{border:1px solid #d5dfdb;padding:12px;text-align:left;vertical-align:top}.table-scroll td:first-child{min-width:240px;max-width:330px}.table-scroll button{display:block;margin:7px 0;font-size:12px}.research-dashboard details{margin-top:20px}

.research-stats button{background:white;color:#183446;border:1px solid #b8cbc4;border-radius:6px;padding:12px;min-width:105px;text-align:left;cursor:pointer}.research-stats button:hover,.research-stats button:focus-visible{background:#e5f3ed;outline:2px solid #146755}.research-stats button span{display:block}.table-scroll td details{min-width:220px}.table-scroll td:nth-last-child(2){min-width:210px}

.token-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.token-cards>div{padding:18px;background:#fff;border:1px solid #bdd1c9;border-radius:10px}.token-cards strong{display:block;font-size:30px;color:#146755}.token-cards span{font-size:13px}.ops-form{display:flex;flex-wrap:wrap;align-items:end;gap:14px}.ops-form label{display:flex;flex-direction:column;gap:5px;max-width:270px;font-size:14px}.ops-form input[type=number],.ops-form select{width:210px;padding:10px;border:1px solid #9caea7;border-radius:6px}.ops-form p{flex-basis:100%}#operations-dashboard .table-scroll table{min-width:900px}#operations-dashboard .table-scroll td:first-child{min-width:160px}
