:root{--canvas:#f3f3ed;--paper:#fff;--ink:#20322e;--body:#34433e;--muted:#627068;--line:#d8ddd5;--teal:#145746;--teal-soft:#edf5ef;--amber:#895b12;--amber-soft:#fff5dd;--red:#9e3c31;--red-soft:#fcf0ec;--mono:"Cascadia Mono","Consolas",monospace;--sans:"Segoe UI",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--body);font-family:var(--sans);font-size:14px;line-height:1.55}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,input,select{accent-color:var(--teal)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #c68727;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ink)}button{transition:background-color .15s,color .15s,box-shadow .15s}.app-header{max-width:1440px;margin:auto;padding:27px 48px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:42px;height:43px;background:var(--teal);color:#fff;display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:650;letter-spacing:-6px;padding-right:6px}.brand-mark span{margin-top:9px}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:var(--muted)}h1{font-size:19px;letter-spacing:-.035em;line-height:1.35;font-weight:650}.badge{border:1px solid #cbd5cb;padding:5px 10px;font-size:11px;letter-spacing:.03em;color:#476453;background:#ebf0e8}.workspace{max-width:1440px;margin:auto;padding:0 48px}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:43px 0 35px}.intro h2{font-size:clamp(27px,3vw,39px);line-height:1.16;letter-spacing:-.045em;font-weight:600}.intro p{margin-top:12px;font-size:15px;color:var(--muted)}.intro .privacy{margin-top:16px;font-size:12px;color:#456352}.privacy span{font-size:9px;margin-right:6px}.intro-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;justify-content:flex-end;max-width:355px}.button{border:1px solid transparent;border-radius:3px;padding:11px 16px;font-size:13px;font-weight:600;min-height:43px;text-align:center;white-space:nowrap}.button span{margin-left:12px}.button.primary{background:var(--teal);color:white}.button.primary:hover:not(:disabled){background:#0d4133;box-shadow:0 2px 4px #14574620}.button.secondary{background:white;border-color:var(--line);color:var(--ink)}.button.secondary:hover:not(:disabled){background:#edf3ed;border-color:#a6b7a8}.button.quiet{background:transparent;color:#4c6557}.button.quiet:hover:not(:disabled){background:#e6ece2}.sample-badge{font-size:11px;color:var(--amber);flex-basis:100%;text-align:right}.setup-section{padding:25px 0 28px;border-top:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:17px}.section-heading h2{font-size:17px;font-weight:650;letter-spacing:-.025em;display:flex;align-items:center;gap:10px}.section-heading>p{font-size:11px;color:var(--muted)}.step-number{font-family:var(--mono);font-size:10px;color:#6d7f71;letter-spacing:0;border:1px solid #c8d2c6;display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.source-card{background:var(--paper);border:1px solid var(--line);padding:20px 22px 16px;border-radius:4px}.source-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.source-card-title label{font-size:16px;font-weight:600;color:var(--ink);letter-spacing:-.025em}.source-direction{font-family:var(--mono);font-size:10px;letter-spacing:.11em;color:#607569}.source-card>p{font-size:12px;color:var(--muted);margin:4px 0 15px}input[type=file]{width:100%;font-size:12px;padding:9px;border:1px dashed #b6c3b5;background:#f8faf6;color:var(--muted);border-radius:3px}input[type=file]::file-selector-button{border:1px solid #c6d1c2;background:white;color:#28553e;font-size:12px;font-weight:600;padding:7px 11px;border-radius:2px;margin-right:11px;cursor:pointer}.source-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:13px}.file-info{font-size:11px;color:var(--muted);overflow-wrap:anywhere;flex:1}.file-info.error{color:var(--red)}.delimiter-label{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted)}.delimiter-label select{font-size:11px;max-width:112px;min-height:30px;padding:4px 24px 4px 7px}.scope-note{font-size:11px;color:var(--muted);margin-top:12px;max-width:1020px}.policy-grid{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:4px}.policy-core{padding:22px;border-right:1px solid var(--line)}.policy-checks{padding:21px 22px 22px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:var(--body)}.field>span:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.field small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.5}.field>small{margin-top:0}.required{font-size:10px;font-weight:400;color:var(--muted);margin-left:10px}select,input[type=number],input[type=search]{width:100%;min-height:39px;border:1px solid #cbd3c8;border-radius:3px;background:#fff;color:var(--body);padding:8px 10px}select{cursor:pointer;font-size:12px}.allowed-fieldset{border:0;padding:0;margin:20px 0 0;min-width:0}.allowed-fieldset legend{font-size:12px;font-weight:600;width:100%;display:flex;justify-content:space-between}.allowed-fieldset>p{font-size:11px;color:var(--muted);margin:5px 0 11px}.column-checklist{display:flex;flex-wrap:wrap;gap:8px;max-height:154px;overflow:auto;padding:2px}.column-choice{display:flex;align-items:center;gap:6px;border:1px solid #d9e0d5;border-radius:3px;background:#fafcf8;padding:6px 10px;font-family:var(--mono);font-size:11px;max-width:100%;overflow-wrap:anywhere;cursor:pointer}.column-choice:has(input:checked){border-color:#6c9d80;background:#eef6ee;color:#235139}.column-choice input{margin:0;flex-shrink:0}.empty-columns{color:var(--muted);font-size:12px;padding:10px 0}.policy-checks h3{font-size:12px;letter-spacing:.015em;font-weight:650;margin-bottom:11px}.fields-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-note{font-size:10px;color:var(--muted);margin-top:8px;max-width:540px}.margin-fields{border-top:1px solid #e5e9e1;margin-top:16px;padding-top:15px}.input-unit{display:flex;align-items:center;border:1px solid #cbd3c8;border-radius:3px;background:#fff}.input-unit input{border:0;min-width:0;width:100%;font-family:var(--mono);background:transparent}.input-unit>span{padding:0 11px 0 5px;color:var(--muted);font-size:12px;font-weight:400}.margin-min{margin-top:12px;flex-direction:row;align-items:center;justify-content:space-between}.margin-min .input-unit{width:115px}.review-action{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-top:18px}.confirmation{display:flex;align-items:flex-start;gap:10px;font-size:12px;max-width:800px;color:#4c5e52;cursor:pointer}.confirmation input{margin:3px 0 0;width:16px;height:16px;flex-shrink:0}.message{padding:13px 16px;background:var(--red-soft);color:var(--red);border-left:3px solid var(--red);font-size:13px;margin-bottom:22px;overflow-wrap:anywhere}.results-section{padding:29px 0 24px;border-top:1px solid var(--line)}.result-heading{align-items:flex-end;margin-bottom:16px}.result-heading .eyebrow{margin-bottom:4px}.result-heading h2{font-size:24px;letter-spacing:-.045em}.result-heading #review-meta{font-size:11px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.export-actions{display:flex;gap:8px}.result-outcome{font-size:13px;margin-bottom:17px;color:var(--body)}.result-outcome.is-blocked{color:var(--red)}.summary-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.summary-tile{position:relative;border:1px solid var(--line);border-top:3px solid #779684;background:#fff;padding:15px 18px;display:grid;grid-template-columns:1fr auto;gap:0 12px}.summary-tile>span{font-size:12px;font-weight:650;align-self:center}.summary-tile strong{font-family:var(--mono);font-size:28px;font-weight:500;line-height:1.2;grid-column:2;grid-row:1/3;align-self:center}.summary-tile small{color:var(--muted);font-size:10px}.summary-tile.blocked{border-top-color:#ad665a}.summary-tile.blocked strong{color:var(--red)}.summary-tile.warning{border-top-color:#c3913b}.summary-tile.warning strong{color:var(--amber)}.summary-detail{font-size:11px;color:var(--muted);margin-top:11px}.review-policy{font-family:var(--mono);font-size:10px;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}.result-toolbar{display:flex;align-items:flex-end;gap:16px;margin:23px 0 13px}.result-toolbar label{font-size:11px;font-weight:600;display:flex;flex-direction:column;gap:5px}.result-toolbar select{min-width:215px}.result-toolbar .search-label{min-width:200px}.result-toolbar input{font-size:12px}.result-toolbar p{margin-left:auto;padding-bottom:9px;font-size:11px;color:var(--muted)}.review-grid{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:17px;align-items:start}.table-area{min-width:0}.table-scroll{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:3px}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}th{font-size:10px;color:#657263;font-weight:600;background:#edf1e8;white-space:nowrap;padding:11px 12px;border-bottom:1px solid var(--line)}td{padding:13px 12px;border-bottom:1px solid #e9ede5;vertical-align:top;overflow-wrap:anywhere}tbody tr:last-child td{border-bottom:0}tbody tr.selected{background:#f0f5ed}tbody tr:hover{background:#f7f9f4}.numeric{text-align:right;font-family:var(--mono);white-space:nowrap}.row-key{background:transparent;color:var(--teal);border:0;padding:0;font-family:var(--mono);font-size:11px;line-height:1.7;text-align:left;font-weight:600;text-decoration:underline;text-decoration-color:#b0c1af;text-underline-offset:3px;overflow-wrap:anywhere}.status{display:inline-block;font-size:9px;padding:3px 5px;font-weight:600;white-space:nowrap;line-height:1.3;letter-spacing:.02em;border-radius:2px;background:#eef2e8;color:#4c644c}.status.blocked,.status.added,.status.missing{background:var(--red-soft);color:var(--red)}.status.warning{background:var(--amber-soft);color:var(--amber)}.status.changed{background:var(--teal-soft);color:var(--teal)}.status.unchanged{background:#f1f3ef;color:#64705e}.changed-fields{font-family:var(--mono);font-size:10px;min-width:85px}.row-notes{min-width:140px;max-width:260px;color:var(--muted);font-size:10px}.table-limit{font-size:10px;color:var(--muted);margin-top:9px}.detail-panel{border:1px solid var(--line);background:#fff;padding:17px 17px 15px;border-radius:3px;min-width:0}.detail-panel h3{font-family:var(--mono);font-size:16px;font-weight:500;margin:5px 0 10px;overflow-wrap:anywhere}.detail-panel p,.detail-panel li{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.detail-panel .eyebrow{font-size:9px}.detail-panel ul{padding-left:17px;margin:10px 0 14px}.detail-panel li+li{margin-top:5px}.detail-meta{margin:10px 0!important;line-height:1.8}.field-diff{border-top:1px solid #e1e6db;padding:13px 0 1px;margin-top:10px}.diff-heading{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:8px}.diff-heading h4{font-family:var(--mono);font-size:11px;margin:0;font-weight:600;overflow-wrap:anywhere;min-width:0}.field-kind{font-size:9px;color:var(--teal);white-space:nowrap}.field-kind.protected{color:var(--red)}.diff-value{display:grid;grid-template-columns:42px minmax(0,1fr);gap:7px;font-size:10px;padding:5px 6px;margin-top:3px;background:#f5f6f1}.diff-value.after{background:#edf5ed}.diff-value.after.protected{background:var(--red-soft)}.diff-value span:first-child{font-size:9px;color:var(--muted)}.diff-value code{font-family:var(--mono);font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--body)}.report-limits{font-size:10px;color:var(--muted);margin-top:17px;max-width:990px}.empty-result{border-top:1px solid var(--line);text-align:center;padding:38px 10px 44px;color:var(--muted)}.empty-rule{display:block;height:16px;width:31px;margin:0 auto 10px;border-top:2px solid #b8c4b1;border-bottom:2px solid #b8c4b1;position:relative}.empty-rule:after{content:"";position:absolute;top:5px;left:0;right:9px;border-top:2px solid #b8c4b1}.empty-result p{font-size:13px;font-weight:500}.empty-result small{font-size:11px}.app-footer{border-top:1px solid var(--line);padding:22px 0 29px;display:flex;gap:40px;color:var(--muted);font-size:10px}.app-footer p:first-child{flex:1.3}.app-footer p:last-child{flex:1}.app-footer strong{font-weight:600}.skip-link{position:absolute;left:20px;top:-80px;z-index:9;padding:10px 14px;background:#fff;color:var(--teal)}.skip-link:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}[hidden]{display:none!important}
@media(min-width:1450px){.workspace,.app-header{max-width:1480px}.review-grid{grid-template-columns:minmax(0,1fr) 320px}.source-card{padding:23px 25px 18px}}
@media(max-width:1050px){.app-header{padding:23px 28px 20px}.workspace{padding:0 28px}.review-grid{grid-template-columns:minmax(0,1fr)}.detail-panel{max-width:none}.source-bottom{align-items:flex-start}.delimiter-label{flex-direction:column;align-items:flex-start;gap:3px}.intro h2{font-size:32px}.summary-tile{padding:13px}.summary-tile small{font-size:9px}.policy-core,.policy-checks{padding:19px}}
@media(max-width:740px){.app-header{padding:18px 18px 16px;gap:10px}.workspace{padding:0 18px}.brand{gap:10px}.brand-mark{width:35px;height:37px;font-size:18px}h1{font-size:17px}.brand .eyebrow{font-size:8px}.badge{font-size:9px;padding:4px 6px}.intro{align-items:flex-start;flex-direction:column;padding:29px 0 27px;gap:20px}.intro h2{font-size:30px}.intro-actions{justify-content:flex-start;max-width:none}.sample-badge{text-align:left;flex-basis:auto}.section-heading{align-items:flex-start;flex-direction:column;gap:6px}.section-heading>p{margin-left:34px}.source-grid,.policy-grid{grid-template-columns:1fr}.source-grid{gap:12px}.source-card{padding:18px}.source-bottom{align-items:center}.delimiter-label{flex-direction:row;align-items:center}.policy-core{border-right:0;border-bottom:1px solid var(--line)}.policy-checks,.policy-core{padding:18px}.fields-two{gap:13px}.review-action{align-items:stretch;flex-direction:column;gap:16px}.review-action .button{align-self:flex-end;min-width:160px}.confirmation{font-size:11px}.summary-grid{gap:8px}.summary-tile{display:flex;flex-direction:column;gap:3px;padding:11px 10px}.summary-tile>span,.summary-tile strong{align-self:flex-start}.summary-tile strong{font-size:24px;order:2}.summary-tile small{order:3;font-size:9px}.result-heading{gap:14px}.result-heading h2{font-size:23px}.export-actions{width:100%}.export-actions .button{font-size:12px;padding:9px 12px}.result-toolbar{flex-wrap:wrap;gap:10px}.result-toolbar label,.result-toolbar .search-label{flex:1;min-width:130px}.result-toolbar select{min-width:0;font-size:11px}.result-toolbar p{flex-basis:100%;margin:0;padding:0}.app-footer{flex-direction:column;gap:10px}td{padding:12px 9px}th{padding:10px 9px}.row-notes{max-width:200px}.margin-fields .field>span{display:block}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{@page{size:landscape;margin:12mm}body{background:white;font-size:10px}.app-header{padding:0 0 12px;max-width:none}.workspace{padding:0;max-width:none}.intro,.setup-section,.message,.empty-result,.export-actions,.result-toolbar,.detail-panel,.skip-link,.sample-badge{display:none!important}.results-section{border:0;padding:15px 0}.result-heading{margin-bottom:10px}.summary-grid{gap:12px}.summary-tile{padding:8px 12px}.summary-tile strong{font-size:22px}.review-grid{display:block}.table-scroll{overflow:visible;border:1px solid #ccc}table{font-size:9px}th,td{padding:6px 8px}thead{display:table-header-group}tr{break-inside:avoid}.row-key{text-decoration:none;color:#000}.row-notes{max-width:none}.app-footer{padding:12px 0;font-size:9px;gap:20px}.report-limits{font-size:9px}.result-outcome{font-size:11px}.review-policy{font-size:9px}.table-limit:before{content:"Printed view: "}button{appearance:none}a{color:#000}}
.print-scope{font-size:10px;color:var(--muted);margin:-3px 0 12px;max-width:1050px;overflow-wrap:anywhere}.detail-panel .return-row{font-size:10px;min-height:31px;padding:5px 0;margin:-4px 0 11px;text-align:left}.detail-panel .return-row:hover{background:transparent;text-decoration:underline}#detail-title,#results-title{scroll-margin-top:20px}@media print{.print-scope{display:block;font-size:9px;margin:0 0 10px;color:#333}.return-row{display:none!important}}
