:root{--max-width:700px;--container-padding:20px;--accent:#0066ff;--bg:#f6f7fb;--card-bg:#fff;--border-color:#e0e0e0;--text-dark:#222;--text-muted:#666}*{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}body,html{margin:0;padding:0;min-width:0}html{scrollbar-gutter:stable both-edges}body{background:var(--bg);color:var(--text-dark);min-height:100vh;padding:24px 12px}#__next{width:100%;min-width:0}.container{max-width:var(--max-width);width:100%;margin-inline:auto;padding:var(--container-padding);background:transparent}.header{text-align:center;margin-bottom:28px}.header .logo{font-size:72px;margin-bottom:12px}.header img{max-height:140px;max-width:100%;height:auto;width:auto;margin-bottom:12px}.input-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:8px;font-size:12px;color:var(--text-muted)}h2{font-size:18px;color:#333;margin:0}h2,h3{font-weight:600}h3{font-size:16px;color:var(--text-dark);margin:20px 0 12px}.term-review-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px}.term-review-header h3{margin:0}.term-sort{font-size:12px;color:var(--text-muted);display:flex;align-items:center;gap:8px}.term-sort select{font-size:12px;padding:4px 6px;border:1px solid var(--border-color);border-radius:6px;background:#fff;color:var(--text-dark)}.risk-badge{display:inline-flex;align-items:center;gap:.3rem;padding:.15rem .55rem;border-radius:1rem;font-size:.85rem;font-weight:600}.risk-badge-low{background:rgba(3,201,136,.15);color:#03926b}.risk-badge-medium{background:rgba(255,214,102,.2);color:#a76a00}.risk-badge-high{background:rgba(255,99,71,.18);color:#b02020}form{margin-bottom:24px}.textarea-wrapper{position:relative;border:2px dashed var(--border-color);border-radius:8px;transition:all .2s;padding:0;width:100%;margin-left:auto;margin-right:auto}#upload-file{position:absolute;left:50%;top:50%;width:120px;height:120px;margin-left:-60px;margin-top:-60px;background:url(/file-upload-watermark.svg) no-repeat 50%/contain;border:0;padding:0;z-index:2;opacity:.35;transition:opacity .2s}#upload-file:focus-visible,#upload-file:hover:not(:disabled),.textarea-wrapper.drag-over #upload-file{opacity:.7}#term-input:not(:placeholder-shown)~#upload-file,#term-input[hidden]~#upload-file{display:none}.textarea-wrapper.drag-over{border-color:var(--accent);background:rgba(0,102,255,.02)}textarea{width:100%;height:160px;padding:12px;font-size:14px;border-radius:8px;border:none;resize:vertical;font-family:inherit;background:transparent;position:relative;z-index:1}textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(0,102,255,.1)}.remember{display:flex;gap:8px;align-items:center;font-size:13px;margin:12px 0;color:var(--text-muted)}.remember input,button{cursor:pointer}button{background:var(--accent);color:#fff;padding:10px 16px;border-radius:6px;border:none;font-size:14px;font-weight:500;transition:background .2s}.report-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:16px}.report-actions button{min-width:180px}#print-report-btn{background:#374151}#print-report-btn:hover:not(:disabled){background:#111827}#analyze-btn:hover:not(:disabled):not(.analyze-charging),button:hover:not(:disabled):not(#analyze-btn):not(#upload-file){background:#0052cc}#analyze-btn{display:block;margin:16px auto 0;min-width:180px;position:relative;overflow:hidden;isolation:isolate}#analyze-btn.analyze-charging{background-color:#375a85;background-image:linear-gradient(90deg,#0072ff,#009fe3);background-size:4% 100%;animation:review-fill 65s ease-out 1 forwards;background-position:0;background-repeat:no-repeat;transition:background-size .22s ease-out;cursor:progress}#analyze-btn.analyze-charging.review-complete{animation:none;background-size:100% 100%}#analyze-btn.analyze-charging:disabled{opacity:1}button:disabled{opacity:.6;cursor:not-allowed}.disclaimer{font-size:12px;color:#999;margin-top:10px;text-align:center}.print-summary-disclaimer{display:none;margin:6px auto 0}.error{background:#ffebee;color:#c62828;padding:12px;border-radius:6px;margin:12px 0;border-left:4px solid #c62828}.who-labels{display:grid;grid-template-columns:1fr 1fr;align-items:center;column-gap:120px;width:min(700px,100%);margin:-60px auto 6px;position:relative;z-index:3}.who-labels strong{justify-self:end;font-size:14px;font-weight:600}.who-labels strong:first-of-type{text-align:right}.who-labels strong:last-of-type{text-align:left;justify-self:start}.who-labels .role{display:block;text-align:center;font-weight:500;color:var(--text-muted);margin-top:4px}.who-labels .favours{font-weight:700}.swap-row{display:flex;justify-content:center;margin-bottom:16px}.swap-row button{background:#f5f5f5;color:#333;border:1px solid var(--border-color);padding:6px 12px;border-radius:6px;font-size:13px;flex:0 0 auto}.swap-row button:hover{background:#efefef}.lean-callout{margin-top:8px;text-align:center;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#374151}.dial{width:96px;height:60px;position:absolute;display:grid;place-items:center;margin:0;left:50%;bottom:4px;transform:translateX(-50%);overflow:hidden;z-index:2}.dial-ring,.preview-band{width:96px;height:96px;border-radius:50%;background:conic-gradient(from 270deg,#219653 0deg,#74c996 60deg,#9ea7b3 90deg,#f48fb1 120deg,#f44336 180deg,transparent 180deg,transparent 1turn);mask:radial-gradient(circle at center,transparent 55%,#000 56%);-webkit-mask:radial-gradient(circle at center,transparent 55%,#000 56%);box-shadow:0 12px 24px rgba(15,23,42,.18);position:absolute;top:0;left:0;z-index:1}.dial-needle{position:absolute;width:3.5px;height:38px;left:calc(50% - 1.75px);background:#000;border-radius:999px;transform-origin:50% 100%;transform:rotate(0deg);transition:transform .22s ease,background .22s ease,box-shadow .22s ease;outline:1px solid rgba(255,255,255,.9);outline-offset:0;bottom:9px;z-index:2}.dial-needle:after{top:-8px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:8px solid #000;z-index:2}.dial-needle:after,.dial-needle:before{content:"";position:absolute;left:50%;transform:translateX(-50%);width:0;height:0}.dial-needle:before{top:-9px;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:10px solid rgba(255,255,255,.95);z-index:1}.dial-center{position:absolute;left:calc(50% - 6px);width:12px;height:12px;border-radius:50%;background:#0f172a;box-shadow:inset 0 0 0 2px rgba(255,255,255,.85);bottom:6px;z-index:4}#terms{margin-top:12px;margin-bottom:16px}.card{border-radius:8px;padding:16px 16px 16px 48px;margin-bottom:12px;background:var(--card-bg);border:1px solid var(--border-color);position:relative;overflow:hidden;word-break:break-word;transition:box-shadow .2s}.card:before{content:"";position:absolute;inset:0;background-image:url(/watermark-tile.png),url(/watermark-tile.png);background-size:180px 60px,180px 60px;background-position:0 0,90px 30px;background-repeat:repeat;opacity:.04;pointer-events:none;z-index:0}.card>*{position:relative;z-index:1}.card:hover{box-shadow:0 2px 8px rgba(0,0,0,.08)}.card .stripe{position:absolute;left:0;top:0;bottom:0;width:5px;border-radius:8px 0 0 8px}.circle{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;background:var(--card-bg);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;z-index:2;border:3px solid}.card p{margin:10px 0;font-size:14px;line-height:1.5}.card p:first-of-type{font-style:italic;color:var(--text-muted);margin-top:0}.card strong{font-weight:600;color:var(--text-dark)}.site-footer{margin-top:32px;padding-top:24px;border-top:1px solid var(--border-color);font-size:12px;color:var(--text-muted);margin-left:auto;margin-right:auto;flex-direction:column;position:relative}.footer-links,.site-footer{width:100%;display:flex;align-items:center;box-sizing:border-box}.footer-links{flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:16px;overflow-x:auto;scrollbar-width:thin}.footer-links a{color:inherit;text-decoration:none;flex:0 0 auto;text-align:center;white-space:nowrap}.footer-links a:hover{text-decoration:underline}.bmc-footer-link{display:inline-flex;align-items:center;cursor:pointer}.bmc-footer-link img{height:36px;width:auto;display:block;pointer-events:none}.footer-sections{display:none;gap:16px;min-height:140px;align-items:stretch;grid-template-columns:1fr;justify-items:stretch;margin-left:auto;margin-right:auto}.footer-content,.footer-sections{width:100%;box-sizing:border-box;min-width:0}.footer-content{margin:0 auto}.site-footer.open .footer-sections{display:grid}.footer-sections section{display:none;width:100%;justify-self:stretch;box-sizing:border-box;min-width:0}.footer-sections section p{max-width:100%;word-break:break-word;overflow-wrap:break-word}@media (max-width:720px){:root{--container-padding:14px}body{padding:16px 10px}.footer-links{justify-content:flex-start}}.footer-sections section.active{display:block}.footer-sections h4{margin:0 0 6px;font-size:13px;color:var(--text-dark)}.footer-sections p{margin:0;line-height:1.5}@media print{html{scrollbar-gutter:auto}body{background:#fff;padding:0;print-color-adjust:exact;-webkit-print-color-adjust:exact}.container{max-width:100%;width:100%;padding:16px 32px}#analyze-btn,#error,#meta,#print-report-btn,#swap-btn,.disclaimer,.remember,.report-actions,.site-footer,.textarea-wrapper,form{display:none!important}.header{text-align:center;margin-bottom:20px}.header img{max-height:110px;margin-bottom:8px}.print-summary-disclaimer{display:block!important;text-align:center;color:#555}#result{margin-top:0}.card{box-shadow:none;page-break-inside:avoid;border:1px solid #d4d4d8}.card,.card .stripe,.card:before,.circle,.dial,.dial-center,.dial-needle,.dial-ring,.risk-badge,.who-labels{print-color-adjust:exact;-webkit-print-color-adjust:exact}.dial-needle{background:#000!important}.dial-needle:after{border-bottom-color:#000!important}.dial-needle:before{border-bottom-color:#fff!important}.who-labels .role,.who-labels strong{color:#111}}#meta{font-size:12px;color:#999;display:block;margin-top:16px;text-align:center}@media (max-width:600px){body{padding:16px 8px}.footer-links{flex-wrap:wrap;gap:8px 12px;overflow-x:visible}.who-labels{column-gap:24px}}.summary-panel{background:white;padding:24px;border:1px solid #dbe3ed;border-radius:14px;margin:12px 0 24px}.eyebrow{color:#52637c;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px}#result-headline{font-size:23px;line-height:1.35}#summary{font-size:15px;line-height:1.7;margin:14px 0}.coverage,.visual-caption{font-size:12px;color:#52637c;line-height:1.5}.visual-caption{text-align:center}.limitations{padding:12px 12px 12px 28px;background:#fff8e8;border-radius:8px;color:#715321;font-size:12px;line-height:1.5}#actions li+li,.limitations li+li{margin-top:8px}.swap-row{align-items:center;flex-wrap:wrap;gap:10px;font-size:13px}.lean-callout{text-transform:none;letter-spacing:0;font-size:14px;margin-top:14px}.who-labels{margin-top:-100px;margin-bottom:64px;column-gap:145px}.who-labels .role{overflow-wrap:anywhere}#actions{font-size:14px;line-height:1.6;padding-left:22px}.card:target{outline:2px solid #0066ff;outline-offset:3px}.term-allocation{font-weight:600;font-size:13px}.risk-badge-unknown{color:#52526b;background:#e9e9f2}.disclaimer{color:#667085}:focus-visible{outline:2px solid #0066ff;outline-offset:3px}@media (max-width:480px){.summary-panel{padding:18px}#result-headline{font-size:20px}.who-labels{column-gap:112px}.who-labels strong{font-size:12px}.term-review-header{flex-wrap:wrap}}@media print{.summary-panel{padding:12px;margin:0 0 20px;page-break-inside:avoid;break-inside:avoid}.swap-row{display:none!important}}.allocation-visual{padding:8px 12px 0}.balance-mark{position:relative;width:200px;height:170px;margin:0 auto 12px}#fairness-scales{width:200px;height:167px}.footer-content p a{color:#1459b8;text-underline-offset:3px}.footer-sections p+p{margin-top:12px}.footer-sections section p{font-size:13px;line-height:1.65}.how-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;list-style:none}.how-steps li{min-width:0}.how-steps h5{font-size:14px;margin:0 0 12px}.how-preview{box-sizing:border-box;min-height:182px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:16px;border:1px solid #dbe3ed;border-radius:10px;background:#f7f9fc;font-size:12px}.preview-line{height:6px;border-radius:4px;background:#dbe3ed;width:100%}.preview-line.short{width:65%}.preview-action{border-radius:5px;padding:6px 10px;background:#e1ebfb;color:#174a92;font-size:11px}.preview-eyebrow{color:#52637c;font-size:10px}.preview-clause{color:#435775;font-weight:600}.swap-preview{align-items:center;gap:7px}.preview-balance{position:relative;width:100px;height:85px}.preview-band{width:48px;height:48px;top:53px;left:26px;clip-path:inset(0 0 50%)}.preview-pointer{position:absolute;width:2px;height:19px;left:49px;bottom:7px;background:#19856a;border-radius:2px;transform:rotate(-55deg);transform-origin:bottom center;z-index:2}.preview-roles{display:flex;justify-content:space-between;width:100%;font-size:10px}.preview-roles span:last-child{text-align:right}@media (max-width:600px){.how-steps{grid-template-columns:1fr}.how-preview{min-height:160px}}.allocation-visual .who-labels{display:flex;justify-content:space-between;align-items:start;gap:24px;margin:0;width:100%}.allocation-visual .who-labels strong{width:45%;font-size:13px;text-align:left}.allocation-visual .who-labels strong:last-child{text-align:right}.allocation-visual .who-labels .role{text-align:inherit}#limitations-details summary{font-size:12px;color:#715321;cursor:pointer}[hidden]{display:none!important}@keyframes review-fill{to{background-size:90% 100%}}@media (prefers-reduced-motion:reduce){#analyze-btn.analyze-charging{animation:none;background-size:50% 100%}}.file-options{display:flex;align-items:center;gap:12px;margin:10px 0}.file-options small{color:var(--text-muted);font-size:12px}.review-progress:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 16px;margin-top:16px;padding:16px;border:1px solid var(--border,#dbe3ed);border-radius:12px;background:var(--surface,#f5f8fc)}.review-progress p{margin:0;font-size:14px}.review-progress small{flex-basis:100%;text-align:center;color:var(--text-muted)}#cancel-review{background:transparent;color:#334155;border:1px solid #cbd5e1;padding:8px 14px}#cancel-review:hover:not(:disabled){background:#e2e8f0}#remove-file{padding:8px 12px;font-size:13px;flex-shrink:0}#selected-file{padding:24px;display:grid;gap:12px}#selected-file strong{overflow-wrap:anywhere}#selected-file span{color:var(--text-muted);font-size:14px}#selected-file button{justify-self:start}.overview-table-wrap{margin:20px 0;overflow-x:auto}.overview-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.overview-table caption{text-align:left;color:var(--text-muted);font-size:12px;margin-bottom:10px}.overview-table td,.overview-table th{padding:11px 8px;border-bottom:1px solid #e1e6ee;vertical-align:top}.overview-table thead th{font-size:12px;font-weight:600}.overview-table tbody th{font-weight:500;width:60%}#actions a,#summary a,.overview-table a{color:#175d96;text-underline-offset:3px}#actions-section{border-top:1px solid #dbe3ed;margin-top:20px;padding-top:6px}#actions-title{font-size:16px}.card{scroll-margin-top:20px}.card h4{margin:0 0 12px;font-size:16px}.card:focus-visible{outline:3px solid #175d96;outline-offset:3px}.source-passage{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;padding:12px;border-left:2px solid #b6c4d5;font-size:13px;line-height:1.6}@media (max-width:480px){.file-options{align-items:flex-start}.overview-table td,.overview-table th{padding:9px 4px}.overview-table tbody th{width:55%}.overview-table .risk-badge{white-space:nowrap;padding:3px 5px}}@media print{.summary-panel{page-break-inside:auto;break-inside:auto}#actions li,.overview-table tr{page-break-inside:avoid;break-inside:avoid}.overview-table-wrap{overflow:visible}}