:root{--ink:#182230;--muted:#627083;--line:#dbe4ee;--blue:#1769e0;--blue2:#eaf3ff;--green:#117a57;--greenbg:#eaf8f2;--red:#c13b3b;--redbg:#fff0f0;--orange:#c76522;--orangebg:#fff3e8;--amber:#9a6600;--amberbg:#fff7df;--bg:#f5f8fb;--card:#fff;--shadow:0 12px 30px rgba(35,65,100,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI","Noto Sans JP",sans-serif;color:var(--ink);background:var(--bg);line-height:1.65}.wrap{width:min(1160px,calc(100% - 32px));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header-inner{height:68px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px}.brand strong{display:block;font-size:19px}.brand small{display:block;color:var(--muted);font-size:11px}.logo{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#1769e0,#53a6ff);color:#fff;font-weight:900;display:grid;place-items:center}.hero{padding:68px 0 54px;background:radial-gradient(circle at 82% 18%,#dcecff,transparent 35%),linear-gradient(180deg,#fff,#f4f9ff)}.eyebrow,.section-head>p:first-child{font-weight:800;color:var(--blue);letter-spacing:.08em;font-size:13px}.hero h1{font-size:clamp(36px,6vw,62px);line-height:1.14;margin:.3em 0}.lead{font-size:18px;color:#435166;max-width:800px}.badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.badges span{background:#fff;border:1px solid #cfe0f5;border-radius:999px;padding:7px 12px;color:#31506f;font-weight:700;font-size:13px}
.tool{padding:58px 0}.section-head h2{font-size:32px;margin:.1em 0}.section-head>p:last-child{color:var(--muted);font-weight:400;letter-spacing:0;font-size:15px}.file-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.file-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow)}.file-card h3{margin-top:0;font-size:17px}.drop{border:2px dashed #b6c8da;border-radius:16px;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;background:#fbfdff;transition:.2s}.drop:hover,.drop:focus,.drop.drag{border-color:var(--blue);background:var(--blue2);outline:none}.drop.selected{border-color:var(--blue);background:linear-gradient(180deg,#fbfdff,#f1f7ff);box-shadow:inset 0 0 0 2px rgba(22,101,216,.07)}.drop-select-title{font-size:18px;font-weight:850}.drop span{color:var(--muted);font-size:13px}.drop-label{font-size:12px;font-weight:800;padding:4px 10px;border-radius:999px;background:var(--blue2);color:var(--blue)}.drop-file-name{max-width:90%;text-align:center;font-weight:850;font-size:18px;line-height:1.4;overflow-wrap:anywhere}.drop-file-meta{font-size:13px;color:var(--muted)}.file-status{margin-top:14px;color:#4a596d;font-size:13px;min-height:48px;background:#f8fbff;border:1px solid #d9e5f1;border-radius:12px;padding:12px 14px}.file-status strong{color:var(--ink)}.file-status .warn,.file-status .error{color:var(--red);font-weight:700}.file-status .empty{color:var(--muted)}.status-badge{display:inline-flex;align-items:center;font-size:12px;font-weight:800;border-radius:999px;padding:4px 10px;margin-bottom:8px}.status-badge.ready{background:var(--greenbg);color:var(--green)}.status-badge.empty{background:#eef3f8;color:#5f7187}.status-badge.error{background:var(--redbg);color:var(--red)}.sheet-label{display:block;margin-top:8px;font-weight:700}.sheet-label select{margin-left:8px;padding:6px;border:1px solid var(--line);border-radius:8px}.file-status-actions{display:flex;justify-content:flex-end;margin-top:10px}.clear-file{padding:7px 12px;border-radius:9px;background:#fff;color:#516276;border:1px solid #cdd8e4;font-size:12px}.actions{text-align:center;margin-top:28px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}button{font:inherit;font-weight:800;border-radius:12px;padding:12px 20px;cursor:pointer;border:1px solid transparent}.primary{background:var(--blue);color:#fff;min-width:300px}.primary:disabled{background:#9eb4ca;cursor:not-allowed}.secondary{background:#fff;color:#24415e;border-color:#c9d6e4}.secondary:disabled{color:#93a1b2;background:#f3f6f9;border-color:#dbe3ec;cursor:not-allowed}.secondary.reset:not(:disabled){color:#7c3440;border-color:#e4c3c8;background:#fffafb}.spinner{display:inline-block;width:14px;height:14px;border:2px solid #c8d5e2;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.results{padding:12px 0 76px}.diagnosis-overview{margin-top:20px}.result-summary{background:#102a47;color:#fff;border-radius:20px;padding:24px;display:grid;grid-template-columns:1.5fr 1fr;gap:24px;box-shadow:var(--shadow)}.summary-main{display:flex;align-items:flex-start;gap:16px}.summary-icon{width:54px;height:54px;flex:0 0 54px;border-radius:16px;background:#fff;color:#102a47;display:grid;place-items:center;font-size:30px;font-weight:950}.summary-label{font-size:12px;color:#b8d8fb;font-weight:800;letter-spacing:.05em}.summary-main h3{font-size:24px;margin:.15em 0}.summary-main p{margin:0;color:#d7e4f1}.summary-bands{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;align-self:center}.band{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:12px;text-align:center}.band strong{display:block;font-size:28px;line-height:1}.band span{display:block;font-size:11px;margin-top:6px}.band.high strong{color:#ffb2b2}.band.check strong{color:#ffd09a}.band.ref strong{color:#d4e0ec}.summary-actions{display:flex;justify-content:flex-end;margin-top:10px}
.result-block{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;margin-top:26px;box-shadow:var(--shadow)}.block-heading{margin-bottom:18px}.block-heading.split{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.block-kicker{font-size:12px;font-weight:850;color:var(--blue);letter-spacing:.06em}.block-heading h2{font-size:27px;margin:.08em 0}.block-heading p{margin:0;color:var(--muted);font-size:14px}
.cause-list{display:grid;gap:12px}.cause-card{display:grid;grid-template-columns:44px 150px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--line);border-left:6px solid #8799ab;border-radius:14px;padding:15px;background:#fff}.cause-card.risk-high{border-left-color:var(--red);background:linear-gradient(90deg,#fff8f8,#fff 28%)}.cause-card.risk-check{border-left-color:var(--orange);background:linear-gradient(90deg,#fffaf6,#fff 28%)}.cause-rank{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#edf2f7;font-weight:900}.cause-risk{font-size:12px;font-weight:850}.risk-icon{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;margin-right:6px;background:#eff3f7}.risk-high .risk-icon{background:var(--redbg);color:var(--red)}.risk-check .risk-icon{background:var(--orangebg);color:var(--orange)}.cause-copy h3{font-size:18px;margin:0}.cause-copy p{margin:2px 0 7px;color:#4e5d70;font-size:14px}.mini-before-after{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px}.mini-before-after span{padding:4px 8px;border-radius:7px;background:#f1f5f8;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-before-after span:last-child{background:#fff0f0}.cause-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.link-button,.inline-detail{background:none;border:0;color:var(--blue);padding:4px 6px;font-size:12px;text-decoration:underline;text-underline-offset:3px}.link-button:hover,.inline-detail:hover{background:var(--blue2);text-decoration:none}
.mode-tabs{display:flex;gap:6px;flex-wrap:wrap}.mode-tab{padding:8px 12px;background:#f4f7fa;border-color:#d9e2eb;color:#52657a;font-size:12px}.mode-tab.active{background:#173b63;color:#fff;border-color:#173b63}.diff-column-head{display:grid;grid-template-columns:1fr 1fr;gap:46px;padding:10px 18px;color:#52657a;font-size:13px;font-weight:850;border-bottom:1px solid var(--line);margin-bottom:12px}.diff-column-head div:last-child{color:#8f3737}.diff-view{display:grid;gap:14px}.diff-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff;scroll-margin-top:90px}.diff-card.risk-high{border-color:#efc4c4}.diff-card.risk-check{border-color:#efd5bd}.diff-title-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 16px;background:#f7f9fb;border-bottom:1px solid var(--line)}.diff-title-row h3{margin:2px 0 0;font-size:17px}.diff-tag{font-size:11px;font-weight:850;color:#50657b}.diff-risk{font-size:12px;font-weight:850;white-space:nowrap}.risk-high .diff-risk{color:var(--red)}.risk-check .diff-risk{color:var(--orange)}.diff-pairs{padding:8px 14px}.diff-pair{display:grid;grid-template-columns:90px minmax(0,1fr) 28px minmax(0,1fr);align-items:stretch;gap:8px;border-bottom:1px solid #edf1f5;padding:7px 0}.diff-pair:last-child{border-bottom:0}.row-label{font-size:11px;color:#718096;align-self:center}.side{border-radius:9px;padding:8px 10px;min-width:0}.side.old{background:#eff9f3;border:1px solid #d4ecde}.side.new{background:#fff0f0;border:1px solid #f0d1d1}.risk-check .side.new{background:#fff5ec;border-color:#efdbc8}.side small{display:none;font-size:10px;font-weight:850;color:#6f7d8d}.side code{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;color:#1c2835}.diff-arrow{display:grid;place-items:center;font-weight:900;color:#75889d}.inline-detail{margin:2px 14px 12px}.diff-note{font-size:12px;color:#66788c;background:#f7f9fb;border-radius:10px;padding:10px 12px;margin-bottom:0}
.detail-list{display:grid;gap:10px}.detail-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;scroll-margin-top:90px}.detail-card summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:14px 16px;background:#fbfcfd}.detail-card summary::-webkit-details-marker{display:none}.detail-card[open] summary{border-bottom:1px solid var(--line)}.detail-rank{width:30px;height:30px;border-radius:50%;background:#edf2f7;display:grid;place-items:center;font-weight:900}.detail-risk{display:block;font-size:11px;color:var(--orange);font-weight:850}.risk-high .detail-risk{color:var(--red)}.detail-card summary strong{display:block;font-size:16px}.chevron{font-size:20px;transition:.2s}.detail-card[open] .chevron{transform:rotate(180deg)}.detail-body{padding:18px}.detail-desc{margin-top:0;color:#4b5c70}.guidance{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.guidance>div{background:#f7f9fb;border-radius:11px;padding:12px}.guidance span{font-size:12px;font-weight:900;color:#294967}.guidance p{font-size:13px;margin:.25em 0}.profile-box{margin-top:14px;border:1px solid #d8e5f1;border-radius:12px;overflow:hidden}.profile-title{background:#eef5fb;padding:9px 12px;font-size:12px;font-weight:850}.profile-grid{display:grid;grid-template-columns:150px 1fr 1fr}.profile-grid>div{padding:8px 10px;border-bottom:1px solid #edf1f4;font-size:12px}.profile-grid>div:nth-last-child(-n+3){border-bottom:0}.profile-head{font-weight:850;background:#f8fafc}.profile-head.old{color:var(--green)}.profile-head.new{color:var(--red)}.profile-label{font-weight:750;color:#5d6d80;background:#fbfcfd}.profile-note{font-size:11px;color:#728196;margin:8px 12px 10px}
.table-wrap{overflow:auto}.spec-table{width:100%;border-collapse:collapse;min-width:660px}.spec-table th,.spec-table td{border-bottom:1px solid var(--line);padding:10px;text-align:left}.spec-table thead th{background:#f5f8fb}.spec-table tbody tr.changed{background:#fff8f3}.changed-badge,.same-badge{font-size:11px;font-weight:850;border-radius:999px;padding:3px 8px}.changed-badge{background:var(--orangebg);color:var(--orange)}.same-badge{background:#eef4f7;color:#637488}.no-findings{background:#f8fafc;border:1px solid var(--line);border-radius:13px;padding:18px}.no-findings h3{margin-top:0}.flash{animation:flash 1.5s ease}@keyframes flash{0%,100%{box-shadow:none}20%{box-shadow:0 0 0 5px rgba(23,105,224,.2)}}
.explain{background:#fff;padding:58px 0}.explain h2{font-size:30px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.feature-grid article{background:#f6f9fc;border:1px solid var(--line);border-radius:14px;padding:16px}.feature-grid p{font-size:14px;color:var(--muted)}.caution{margin-top:20px;background:var(--amberbg);border:1px solid #f0d57a;border-radius:14px;padding:16px}.caution p{margin:.3em 0}footer{background:#13273d;color:#cfdae5;padding:28px 0;font-size:13px}
@media(max-width:900px){.result-summary{grid-template-columns:1fr}.cause-card{grid-template-columns:42px 1fr}.cause-risk{grid-column:2}.cause-copy{grid-column:2}.cause-actions{grid-column:2;flex-direction:row;align-items:flex-start}.block-heading.split{align-items:flex-start;flex-direction:column}.guidance,.feature-grid{grid-template-columns:1fr 1fr}.diff-column-head{gap:28px}}
@media(max-width:680px){.wrap{width:min(100% - 20px,1160px)}.file-grid,.guidance,.feature-grid{grid-template-columns:1fr}.hero{padding:46px 0 40px}.hero h1{font-size:36px}.primary{min-width:0;width:100%}.result-block{padding:16px}.summary-bands{grid-template-columns:1fr 1fr 1fr}.band{padding:9px 5px}.band strong{font-size:23px}.band span{font-size:9px}.cause-card{padding:12px;grid-template-columns:34px 1fr}.cause-rank{width:30px;height:30px}.mini-before-after{display:grid;grid-template-columns:1fr auto 1fr}.mini-before-after span{max-width:none}.diff-column-head{display:none}.diff-pair{grid-template-columns:1fr}.row-label{font-weight:800;margin-top:3px}.side small{display:block}.diff-arrow{transform:rotate(90deg);height:14px}.mode-tabs{width:100%}.mode-tab{flex:1;padding:8px 6px}.profile-grid{grid-template-columns:105px 1fr 1fr}.profile-grid>div{padding:7px 6px;font-size:11px}.summary-main h3{font-size:20px}.summary-icon{width:44px;height:44px;flex-basis:44px}.block-heading h2{font-size:23px}}

.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.check-card{border:1px solid var(--line);border-left:6px solid #8ca0b4;border-radius:15px;padding:16px;background:#fff;position:relative}.check-card.status-ok{border-left-color:var(--green);background:linear-gradient(90deg,#f4fcf8,#fff 30%)}.check-card.status-problem{border-left-color:var(--red);background:linear-gradient(90deg,#fff5f5,#fff 30%)}.check-card.status-check{border-left-color:var(--orange);background:linear-gradient(90deg,#fff8f1,#fff 30%)}.check-card.status-changed{border-left-color:#6e8ba8;background:linear-gradient(90deg,#f5f8fb,#fff 30%)}.check-top{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:start}.check-icon{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:950;background:#edf2f7}.status-ok .check-icon{background:var(--greenbg);color:var(--green)}.status-problem .check-icon{background:var(--redbg);color:var(--red)}.status-check .check-icon{background:var(--orangebg);color:var(--orange)}.check-top h3{font-size:17px;margin:0}.check-top p{font-size:12px;color:var(--muted);margin:2px 0 0}.check-status{font-size:11px;font-weight:900;border-radius:999px;padding:4px 8px;background:#eef3f7;color:#607286;white-space:nowrap}.status-ok .check-status{background:var(--greenbg);color:var(--green)}.status-problem .check-status{background:var(--redbg);color:var(--red)}.status-check .check-status{background:var(--orangebg);color:var(--orange)}.check-lead{margin:11px 0 0 48px;font-size:13px;font-weight:800;color:#33475b}.check-lead.muted{font-weight:600;color:#708094}.check-detail-link{display:inline-flex;align-items:center;gap:5px;color:var(--blue);font-weight:850;text-decoration:none;border-bottom:1px solid rgba(23,105,224,.35);padding-bottom:1px}.check-detail-link:hover,.check-detail-link:focus-visible{color:#0b55c6;border-bottom-color:currentColor;outline:none}.check-detail-link span{transition:transform .15s ease}.check-detail-link:hover span,.check-detail-link:focus-visible span{transform:translateX(3px)}.check-count{margin:5px 0 0 48px;font-size:11px;color:#718196}.check-note{font-size:11px;color:#718196;margin:12px 2px 0}
@media(max-width:680px){.check-grid{grid-template-columns:1fr}.check-top{grid-template-columns:34px 1fr}.check-status{grid-column:2;justify-self:start}.check-lead,.check-count{margin-left:44px}}

/* v0.3.0 integrated diagnosis cards */
.problem-list{display:grid;gap:20px}.problem-card{border:1px solid var(--line);border-left:7px solid #8b9caf;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(35,65,100,.06);scroll-margin-top:92px}.problem-card:target{box-shadow:0 0 0 3px rgba(23,105,224,.18),0 10px 26px rgba(35,65,100,.10)}.problem-card.risk-high{border-left-color:var(--red)}.problem-card.risk-check{border-left-color:var(--orange)}.problem-card.risk-reference{border-left-color:#7890a8}.problem-head{display:flex;gap:14px;align-items:flex-start;padding:20px 22px 14px;background:#fbfcfd;border-bottom:1px solid #e7edf3}.risk-high .problem-head{background:linear-gradient(90deg,#fff6f6,#fff 55%)}.risk-check .problem-head{background:linear-gradient(90deg,#fff8f1,#fff 55%)}.problem-rank{width:40px;height:40px;flex:0 0 40px;border-radius:50%;display:grid;place-items:center;background:#edf3f8;font-size:17px;font-weight:950}.problem-title{min-width:0}.problem-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:5px}.risk-pill,.kind-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900}.risk-pill{background:#eef3f7;color:#5a6d80}.risk-high .risk-pill{background:var(--redbg);color:var(--red)}.risk-check .risk-pill{background:var(--orangebg);color:var(--orange)}.risk-pill b{font-size:13px}.kind-pill{background:#edf5ff;color:#35618d}.problem-title h3{font-size:22px;line-height:1.35;margin:0}.problem-compare{display:grid;grid-template-columns:96px minmax(0,1fr) 34px minmax(0,1fr);gap:8px 10px;padding:18px 22px 10px}.compare-head{font-size:12px;font-weight:900;padding:7px 10px;border-radius:8px;text-align:center}.compare-head.old{grid-column:2;background:#eaf8f0;color:#176747}.compare-head.new{grid-column:4;background:#fff0f0;color:#9d3030}.compare-label{align-self:center;font-size:11px;font-weight:800;color:#718196;text-align:right}.compare-cell{min-width:0;border-radius:10px;padding:9px 11px;display:flex;align-items:center;gap:8px;position:relative}.compare-cell.old{background:#f1faf5;border:1px solid #d5ecdf}.compare-cell.new{background:#fff4f4;border:1px solid #f0d4d4}.risk-check .compare-cell.new{background:#fff7ef;border-color:#efddca}.compare-cell.highlight{box-shadow:inset 0 0 0 2px rgba(193,59,59,.09)}.compare-cell small{display:none}.compare-cell code{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:#1c2835}.compare-arrow{display:grid;place-items:center;color:#718196;font-weight:950}.change-mark{margin-left:auto;flex:0 0 auto;border-radius:999px;padding:2px 7px;background:#c13b3b;color:#fff;font-size:10px;font-weight:900}.more-occurrences{margin:0 22px 12px 142px;color:#647488;font-size:12px;font-weight:750}.diagnosis-box{display:grid;grid-template-columns:34px 1fr;gap:10px;margin:8px 22px 18px;padding:14px 16px;border-radius:13px;background:#f7f9fb;border:1px solid #dfe7ef}.risk-high .diagnosis-box{background:#fff9f9;border-color:#efdada}.risk-check .diagnosis-box{background:#fffaf5;border-color:#efdfcf}.diagnosis-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff0f0;color:var(--red);font-size:15px}.risk-check .diagnosis-icon{background:var(--orangebg);color:var(--orange)}.diagnosis-box strong{font-size:14px}.diagnosis-box p{margin:.2em 0;font-size:14px;color:#46576a}.diagnosis-box .why-short{margin-top:7px;color:#647488;font-size:13px}.remedy{border-top:1px solid #e6ecf2}.remedy>summary{list-style:none;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:8px;padding:12px 18px;color:var(--blue);font-weight:850;font-size:13px;background:#fbfdff}.remedy>summary::-webkit-details-marker,.profile-details>summary::-webkit-details-marker,.compact-details>summary::-webkit-details-marker{display:none}.remedy>summary span{transition:.2s}.remedy[open]>summary span{transform:rotate(180deg)}.remedy-body{padding:0 22px 20px}.profile-details{margin-top:14px;border:1px solid #d8e5f1;border-radius:12px;overflow:hidden}.profile-details>summary{cursor:pointer;padding:10px 12px;background:#eef5fb;color:#365b80;font-size:12px;font-weight:850}.profile-details .profile-box{margin:0;border:0;border-radius:0}
.compact-details{padding:0;overflow:hidden}.compact-details>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 24px}.compact-details>summary h2{font-size:23px;margin:.1em 0}.compact-details>summary h2 small{font-size:12px;color:#6b7b8e;margin-left:6px}.details-chevron{font-size:24px;color:#718196;transition:.2s}.compact-details[open] .details-chevron{transform:rotate(180deg)}.compact-details[open]>summary{border-bottom:1px solid var(--line)}.details-note{margin:16px 24px 8px;color:var(--muted);font-size:13px}.passed-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 24px 22px}.passed-item{display:flex;align-items:flex-start;gap:9px;border:1px solid #d8e9e0;background:#f5fcf8;border-radius:11px;padding:10px 12px}.passed-item>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--greenbg);color:var(--green);font-weight:950}.passed-item strong{display:block;font-size:13px}.passed-item small{display:block;color:#718196;font-size:11px;margin-top:2px}.muted-text{color:var(--muted);font-size:13px;padding:4px 24px 20px}.data-diff-list{display:grid;padding:8px 24px 20px}.data-diff-row{display:grid;grid-template-columns:180px minmax(0,1fr) 28px minmax(0,1fr);gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f4}.data-diff-row:last-child{border-bottom:0}.data-diff-row strong{display:block;font-size:12px}.data-diff-row small{display:block;font-size:10px;color:#7a8999}.data-diff-row code{background:#f6f8fa;border-radius:7px;padding:6px 8px;font-size:12px;overflow-wrap:anywhere}.data-diff-row>span{text-align:center;color:#7b8999}.compact-details .table-wrap{padding:8px 24px 22px}

@media(max-width:760px){.problem-title h3{font-size:19px}.problem-head{padding:16px}.problem-compare{grid-template-columns:1fr;padding:14px 16px;gap:6px}.compare-head{display:none}.compare-label{text-align:left;margin-top:8px;font-size:12px;color:#53677c}.compare-cell small{display:block;font-size:10px;font-weight:900;color:#718196}.compare-cell{display:block}.compare-cell code{display:block;margin-top:3px}.compare-arrow{height:16px;transform:rotate(90deg)}.more-occurrences{margin:0 16px 10px}.diagnosis-box{margin:8px 16px 16px}.remedy-body{padding:0 16px 16px}.passed-list{grid-template-columns:1fr;padding:8px 16px 18px}.details-note{margin:14px 16px 6px}.compact-details>summary{padding:17px 16px}.data-diff-list{padding:8px 16px 18px}.data-diff-row{grid-template-columns:1fr}.data-diff-row>span{transform:rotate(90deg);height:14px}.compact-details .table-wrap{padding:8px 16px 18px}}

.file-quick-info{font-weight:700;color:#40536a}.summary-reference{display:inline-block;margin-top:6px;color:var(--muted);font-size:13px}.spec-section[hidden]{display:none!important}

/* v0.4.0 capability/limits/guides + large occurrence UI */
.header-nav{display:flex;gap:16px;margin-left:auto;margin-right:20px}.header-nav a{color:#48617b;text-decoration:none;font-size:12px;font-weight:800}.header-nav a:hover{color:var(--blue)}
.capabilities-section,.guides-section{padding:64px 0;background:#fff}.cap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cap-grid article{border:1px solid var(--line);border-radius:16px;padding:18px;background:#fbfdff;box-shadow:0 7px 18px rgba(35,65,100,.04)}.cap-label{display:inline-block;font-size:11px;font-weight:900;color:var(--blue);background:#eaf3ff;border-radius:999px;padding:4px 8px}.cap-grid h3{font-size:18px;margin:10px 0 8px}.cap-grid p{font-size:13px;color:var(--muted);margin:.7em 0 0}.mini-diff{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:center}.mini-diff code{padding:7px 8px;background:#f1f5f8;border-radius:8px;font-size:11px;overflow-wrap:anywhere}.mini-diff b{color:#8392a2}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.guide-grid a{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:16px;background:#f8fbfe}.guide-grid a:hover{border-color:#8ab7e8;background:#f2f8ff}.guide-grid strong{font-size:15px}.guide-grid span{font-size:12px;color:var(--muted);margin-top:3px}.count-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900;background:#eef5fb;color:#42617d}.occurrence-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 22px 16px 142px}.secondary.small{padding:7px 11px;border-radius:9px;font-size:12px}.occurrence-panel{margin:0 22px 18px 142px;border:1px solid #dbe5ee;border-radius:12px;overflow:hidden;background:#fbfdff}.occurrence-panel[hidden]{display:none}.occurrence-head{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#edf4fa;border-bottom:1px solid #dbe5ee;font-size:12px}.occurrence-table{display:grid;grid-template-columns:95px minmax(0,1fr) minmax(0,1fr);max-height:520px;overflow:auto}.occurrence-table>*{padding:8px 10px;border-bottom:1px solid #edf1f4;min-width:0}.occurrence-table code{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff}.occ-th{position:sticky;top:0;background:#f4f8fb;font-weight:900;z-index:1}.pager{display:flex;justify-content:center;align-items:center;gap:12px;padding:10px}.truncated-note{font-size:11px;color:#7c8998;margin:0 12px 12px}.no-findings p{margin:.65em 0 0;color:#627083}
@media(max-width:900px){.header-nav{display:none}.cap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.occurrence-actions,.occurrence-panel{margin-left:16px;margin-right:16px}.occurrence-table{grid-template-columns:75px minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:620px){.cap-grid,.guide-grid{grid-template-columns:1fr}.capabilities-section,.guides-section{padding:46px 0}.occurrence-table{grid-template-columns:1fr}.occ-th{display:none}.occurrence-table>div:not(.occ-th){font-weight:900;background:#f5f8fb}.occurrence-table code{border-bottom:1px solid #edf1f4}.occurrence-head{flex-direction:column}}

/* v0.4.1: actionable guidance */
.remedy-body .why-box{background:#f7f9fc;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:14px}.why-box span,.action-guidance>div>span{display:block;font-weight:900;color:#24415e;margin-bottom:6px}.action-guidance{grid-template-columns:1fr 1fr}.action-steps{margin:4px 0 0;padding-left:1.35rem}.action-steps li{margin:.45em 0;line-height:1.7}.article-action{display:inline-flex;align-items:center;margin-top:14px;padding:10px 14px;border:1px solid #b9d2f0;border-radius:10px;background:#f5f9ff;color:#1769e0;font-weight:800;text-decoration:none}.article-action:hover{background:#eaf3ff}@media(max-width:800px){.action-guidance{grid-template-columns:1fr}}
.char-highlight{background:#ffcf66;color:#7a1f12;padding:0 2px;border-radius:3px;font-weight:900;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:2px}.issue-inline{margin-top:8px;padding:7px 9px;border-radius:8px;background:#fff0e7;color:#9c3b17;font-size:13px;font-weight:750;line-height:1.55}.occ-issue{display:block;margin-top:4px;color:#a24c25;font-size:12px;line-height:1.45}





/* v0.6.5: malformed CSV evidence must not imply a reliable row-to-row mapping. */
.comparison-safety-note{margin:18px 32px 0;padding:12px 14px;border:1px solid #d9e5f2;border-radius:12px;background:#f7fafc;color:#50657b;font-size:.92rem;line-height:1.7}
.problem-compare.structure-safe .compare-head{font-weight:700}

/* v0.6.6: Data Match Doctor family-style landing page cleanup */
body{background:#fff}.brand-link{text-decoration:none;color:inherit}.header-inner{height:64px}.site-header{box-shadow:0 1px 0 rgba(24,34,48,.02)}#version{font-size:11px;color:#7d8997;font-weight:800}.hero{padding:52px 0 100px;background:radial-gradient(circle at 85% 12%,#e7f2ff 0,transparent 34%),linear-gradient(180deg,#fff 0,#f8fbff 100%)}.hero-inner{max-width:1060px}.family-line{margin:0 0 12px;font-size:13px;font-weight:850;letter-spacing:.04em;color:#687a8f}.hero .eyebrow{margin:.2em 0}.hero h1{max-width:850px;font-size:clamp(38px,5.3vw,58px);letter-spacing:-.035em;margin:.22em 0 .28em}.hero .lead{max-width:760px;margin:0;color:#536276;font-size:17px}.hero .badges{margin-top:22px}.tool{padding:0 0 72px;margin-top:-58px;position:relative;z-index:2;scroll-margin-top:84px}.tool-shell{background:#fff;border:1px solid #e0e7ef;border-radius:20px;padding:28px;box-shadow:0 18px 44px rgba(35,65,100,.10)}.tool-heading{margin-bottom:20px}.tool-heading h2{font-size:28px}.tool-heading>p:last-child{margin:.35em 0 0}.file-grid{margin-top:18px;gap:18px}.file-card{padding:18px;border-radius:14px;box-shadow:none;background:#fcfdff}.file-card h3{font-size:15px;margin-bottom:12px}.drop{min-height:145px;border-radius:12px;background:#fff}.drop-select-title{font-size:16px}.drop-file-name{font-size:16px}.file-status{min-height:0;margin-top:10px;padding:10px 12px;background:#f8fafc}.actions{margin-top:20px}.primary{min-width:280px}.results{padding-top:22px;scroll-margin-top:76px}.capabilities-section{padding:72px 0 66px;background:#fff;border-top:1px solid #edf1f5}.compact-head{max-width:760px;margin-bottom:24px}.compact-head h2{font-size:30px}.cap-grid{gap:12px}.cap-grid article{padding:16px;border-radius:12px;background:#fff;box-shadow:none}.cap-grid h3{font-size:16px;margin:8px 0 7px}.cap-grid p{font-size:12px}.mini-diff code{background:#f5f7fa}.howto-section{padding:70px 0;background:#f7f9fc;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5}.step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.step-grid article{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.step-number{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:50%;background:var(--blue2);color:var(--blue);font-weight:900}.step-grid h3{margin:1px 0 5px;font-size:16px}.step-grid p{margin:0;color:var(--muted);font-size:13px}.guides-section{padding:70px 0;background:#fff}.guide-grid a{border-radius:11px;background:#fbfcfe;padding:14px 16px}.explain{padding:64px 0;background:#f7f9fc;border-top:1px solid #edf1f5}.explain h2{font-size:28px;margin:0 0 22px}.feature-grid{gap:12px}.feature-grid article{box-shadow:none;border-radius:12px;padding:18px;background:#fff}.feature-grid article p{font-size:13px}.site-header .header-nav{gap:18px}.site-header .header-nav a{font-size:12px}.footer-inner{min-height:110px;display:grid;grid-template-columns:1fr auto;grid-template-areas:"brand nav" "copy nav";align-items:center;column-gap:32px;padding:24px 0}.footer-brand{grid-area:brand;display:flex;align-items:baseline;gap:10px}.footer-brand span{font-size:12px;color:#9db0c4}.footer-nav{grid-area:nav;display:flex;gap:18px}.footer-nav a{color:#d7e2ec;text-decoration:none;font-size:12px}.footer-inner small{grid-area:copy;color:#8fa4b8}
@media(max-width:900px){.tool-shell{padding:22px}.hero{padding-bottom:84px}.tool{margin-top:-46px}.step-grid{grid-template-columns:1fr}.footer-inner{grid-template-columns:1fr;grid-template-areas:"brand" "nav" "copy";gap:14px}.footer-nav{flex-wrap:wrap}}
@media(max-width:760px){.hero{padding:42px 0 70px}.hero h1{font-size:clamp(34px,10vw,46px)}.hero .lead{font-size:15px}.tool{margin-top:-34px;padding-bottom:52px}.tool-shell{padding:18px 14px}.file-grid{grid-template-columns:1fr}.drop{min-height:126px}.primary{min-width:0;width:100%}.actions .secondary{width:100%}.capabilities-section,.howto-section,.guides-section,.explain{padding:50px 0}.compact-head h2,.explain h2{font-size:25px}.footer-inner{min-height:0}}

/* v0.6.7: consolidate capability explanation and clarify guide content */
.capability-scope{margin-top:18px;border:1px solid #d7e4f1;border-radius:12px;background:#f7faff;padding:15px 18px;display:flex;gap:12px;align-items:baseline}.capability-scope strong{flex:0 0 auto;font-size:13px;color:#264c73}.capability-scope span{font-size:13px;color:var(--muted)}
@media(max-width:620px){.capability-scope{display:block}.capability-scope strong{display:block;margin-bottom:5px}}


/* v0.7.0: unify site chrome with Data Match Doctor */
.site-header{position:static;background:#fff;border-bottom:1px solid #d9e2ec;box-shadow:none}
.header-inner{height:auto;min-height:108px;padding:14px 0;display:flex;align-items:center;justify-content:flex-start}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-decoration:none;color:inherit}
.brand-title-row{display:flex;align-items:center;gap:12px}
.brand-title-row strong{font-size:27px;line-height:1.2;letter-spacing:.01em;color:#0f1e33}
.brand-tagline{font-size:16px;color:#62748b;line-height:1.4}
.logo{width:42px;height:42px;border-radius:10px;background:linear-gradient(135deg,#1769e0,#53a6ff);font-size:16px;color:#fff;font-weight:900;display:grid;place-items:center}
.header-nav,#version{display:none!important}
.hero .family-line{display:none!important}

.site-footer{background:#f5f8fc;color:#16304e;padding:0;border-top:1px solid #dce5ee;font-size:14px}
.footer-inner{min-height:128px;padding:24px 0;display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,auto);gap:24px;align-items:center}
.footer-identity{display:flex;flex-direction:column;gap:7px;align-items:flex-start}
.footer-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#10223b;font-size:20px}
.footer-logo{width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,#1769e0,#53a6ff);color:#fff;font-size:13px;font-weight:900;display:grid;place-items:center}
.footer-identity small{color:#647991;font-size:14px}
.footer-nav{display:flex;justify-content:flex-end;gap:8px 18px;flex-wrap:wrap;max-width:620px}
.footer-nav a{color:#4b6480;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}
.footer-nav a:hover{color:#1769e0;text-decoration:underline}

/* shared content pages */
.content-page{width:min(920px,calc(100% - 32px));margin:42px auto 72px;background:#fff;border:1px solid #dbe4ee;border-radius:18px;padding:34px;line-height:1.85}
.content-page h1{line-height:1.35;margin-top:0;font-size:clamp(30px,5vw,42px)}
.content-page h2{margin-top:38px;border-top:1px solid #e6edf5;padding-top:28px;font-size:24px}
.content-page a{color:#1769e0}
.content-page ul{padding-left:1.35rem}
.content-page .lead{font-size:17px;color:#4d5e72}
.policy-note{background:#f7faff;border:1px solid #d7e4f1;border-radius:12px;padding:14px 16px}
.site-map-list li{margin:.6em 0}

@media(max-width:760px){
  .header-inner{min-height:96px;padding:12px 0}.brand-title-row strong{font-size:23px}.brand-tagline{font-size:14px}.logo{width:38px;height:38px}
  .footer-inner{grid-template-columns:1fr;gap:18px;padding:24px 0}.footer-nav{justify-content:flex-start;max-width:none}.footer-identity small{font-size:13px}
  .content-page{width:min(100% - 18px,920px);margin:16px auto 44px;padding:24px 18px}
}

/* v0.7.1: one-to-many diagnosis */
.file-card h3 small{font-size:11px;color:var(--muted);font-weight:750;margin-left:6px}.multi-file-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}.multi-file-head strong{font-size:13px;color:var(--ink)}.multi-file-head span{font-size:11px;color:var(--muted)}.multi-file-warning{margin:0 0 8px;padding:7px 9px;border-radius:8px;background:#fff7ed;color:#9a5a16;font-size:11px;font-weight:750}.current-file-list{display:grid;gap:7px}.current-file-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #dde6ef;border-radius:9px;background:#fff}.current-file-item.error-item{border-color:#efd7d7;background:#fffafa}.current-file-main{min-width:0;display:grid;gap:2px}.current-file-main strong{font-size:12px;overflow-wrap:anywhere}.current-file-main>span{font-size:10px;color:var(--muted)}.current-file-main .error{color:var(--red)}.inline-sheet-label{display:flex;align-items:center;gap:6px;margin-top:3px;font-size:10px;color:#5c6d80}.inline-sheet-label select{max-width:190px;font-size:11px;padding:4px 6px;border:1px solid #cbd8e5;border-radius:6px;background:#fff}.current-file-item .clear-file{flex:0 0 auto}.batch-overview{margin:18px 0 22px;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.batch-overview[hidden],.detail-current-file[hidden]{display:none!important}.batch-overview-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;padding:20px 22px 15px;border-bottom:1px solid #e8edf2}.batch-overview-head h2{font-size:22px;margin:3px 0 4px}.batch-overview-head p{margin:0;color:var(--muted);font-size:12px}.batch-independent-note{max-width:310px;text-align:right}.batch-result-list{display:grid}.batch-result-row{display:grid;grid-template-columns:minmax(180px,1.5fr) 92px 82px minmax(190px,1.4fr) auto;gap:12px;align-items:center;padding:13px 16px;border-bottom:1px solid #edf1f5}.batch-result-row:last-child{border-bottom:0}.batch-result-row.active{background:#f6f9fd}.batch-file{min-width:0;display:grid;gap:2px}.batch-file strong{font-size:13px;overflow-wrap:anywhere}.batch-file span{font-size:10px;color:var(--muted)}.batch-count{display:grid;text-align:center}.batch-count strong{font-size:19px;line-height:1}.batch-count span{font-size:9px;color:var(--muted);margin-top:3px}.batch-count.high strong{color:var(--red)}.batch-count.check strong{color:var(--orange)}.batch-top-change{min-width:0;display:grid;gap:2px}.batch-top-change span{font-size:9px;color:var(--muted);font-weight:800}.batch-top-change strong{font-size:11px;line-height:1.4;overflow-wrap:anywhere}.detail-current-file{display:flex;align-items:center;gap:10px;margin:12px 0 10px;padding:10px 14px;border:1px solid #dce6ef;border-radius:10px;background:#f8fbff}.detail-current-file span{font-size:10px;color:var(--muted);font-weight:800}.detail-current-file strong{font-size:13px;overflow-wrap:anywhere}.detail-current-file small{font-size:10px;color:var(--muted);margin-left:auto}
@media(max-width:900px){.batch-result-row{grid-template-columns:minmax(0,1fr) 70px 70px auto}.batch-top-change{grid-column:1/-1;grid-row:2}.batch-result-row .batch-detail{grid-column:4;grid-row:1}.batch-independent-note{display:none}}
@media(max-width:760px){.multi-file-head{align-items:flex-start;flex-direction:column;gap:2px}.current-file-item{align-items:flex-start}.inline-sheet-label{align-items:flex-start;flex-direction:column}.inline-sheet-label select{max-width:100%}.batch-overview-head{align-items:flex-start;padding:16px;display:block}.batch-result-row{grid-template-columns:1fr 58px 58px;padding:12px;gap:8px}.batch-result-row .batch-detail{grid-column:1/-1;grid-row:auto;width:100%}.batch-top-change{grid-column:1/-1}.detail-current-file{align-items:flex-start;flex-wrap:wrap}.detail-current-file small{margin-left:0;width:100%}}
.batch-result-row.batch-failed{grid-template-columns:minmax(180px,1fr) minmax(240px,2fr);background:#fffafa}.batch-error-text{font-size:11px;color:var(--red);font-weight:700;overflow-wrap:anywhere}
@media(max-width:760px){.batch-result-row.batch-failed{grid-template-columns:1fr}.batch-error-text{grid-column:1}}
.file-grid{align-items:start}#current-status{max-height:470px;overflow:auto}
@media(max-width:760px){#current-status{max-height:none;overflow:visible}}

/* v0.7.4 official logo */
.logo,.footer-logo{display:block;object-fit:contain;background:none;color:transparent;font-size:0;font-weight:400}
.footer-brand{align-items:center}

/* v0.7.5 brand asset rollout */
.error-page{min-height:420px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.error-page .eyebrow{font-size:15px;font-weight:850;letter-spacing:.08em;color:#1769e0;margin-bottom:6px}
.error-page .primary-link{display:inline-block;margin-top:10px;padding:11px 17px;border-radius:10px;background:#1769e0;color:#fff;text-decoration:none;font-weight:800}
.error-page .primary-link:hover{background:#1258bd;text-decoration:none}
