.project-check{width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #d8ddd2;border-radius:16px;background:#fff;color:#293329;box-shadow:0 24px 100px #14231440;font:14px/1.5 var(--font-ui,system-ui);overflow:hidden}
.project-check[open]{display:flex;flex-direction:column}
.project-check::backdrop{background:#1c291c73;backdrop-filter:blur(3px)}
.check-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px 20px;border-bottom:1px solid #e3e7de;flex-shrink:0}
.check-header small,.check-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:700;color:#62705c}
.check-header h2{font-size:25px;line-height:1.2;margin:5px 0 7px;font-weight:650}
.check-header p,.check-result-heading p{margin:0;color:#64705e;font-size:13px}
.project-check button,.project-check-return button{font:600 12px/1.35 var(--font-ui,system-ui);cursor:pointer;border:1px solid #d4dbce;border-radius:7px;background:#fff;color:#34432b;min-height:34px;padding:7px 12px}
.project-check button:hover,.project-check-return button:hover{background:#f0f5e9;border-color:#a1b48a}
.project-check button:focus-visible,.project-check select:focus-visible,.project-check input:focus-visible,.project-check summary:focus-visible,.project-check-return button:focus-visible{outline:3px solid #7a964f;outline-offset:2px}
.project-check button:disabled{opacity:.5;cursor:default}
.check-header button{font-size:22px;line-height:1;min-width:36px;padding:6px}
.check-scroll{overflow:auto;overscroll-behavior:contain;padding:22px 28px;min-height:0}
.check-overview{padding:20px;background:#f3f6ed;border:1px solid #e1e7d6;border-radius:12px}
.check-result-heading{display:flex;justify-content:space-between;gap:20px}
.check-result-heading h3{font-size:18px;line-height:1.35;margin:6px 0 8px;font-weight:650}
.check-result-symbol{display:flex;align-items:center;justify-content:center;border:1px solid #d6dfc7;background:#e5edd7;width:44px;height:44px;border-radius:50%;font-size:24px;flex-shrink:0}
.check-counts{display:flex;flex-wrap:wrap;gap:10px 24px;padding-top:16px;margin-top:16px;border-top:1px solid #dce4d1;color:#596652;font-size:12px}
.check-counts b{font-size:21px;vertical-align:baseline;margin-right:4px;color:#34432b}
.check-count-error b{color:#aa3631}.check-count-warning b{color:#8c5c13}
.check-filters{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:20px 0 12px}
.check-filters label,.check-method label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#596652}
.check-filters select,.check-method input{font:13px var(--font-ui,system-ui);color:#293329;background:#fff;border:1px solid #d5dccf;border-radius:6px;min-height:36px;padding:7px 10px;min-width:0;width:100%}
.check-notice{color:#65705f;font-size:12px;margin-bottom:12px;min-height:18px}
.check-card{border:1px solid #dee3d8;border-left:3px solid #849576;border-radius:9px;padding:16px 18px;margin-bottom:12px;overflow-wrap:anywhere;background:#fff}
.check-card.check-error{border-left-color:#b84d45}.check-card.check-warning{border-left-color:#be8b38}
.check-card-meta{display:flex;gap:8px 16px;justify-content:space-between;flex-wrap:wrap;color:#67715f;font-size:11px}
.check-card-meta span:first-child{font-weight:700;color:#56664b}.check-error .check-card-meta span:first-child{color:#a43a32}.check-warning .check-card-meta span:first-child{color:#896019}
.check-card h3{font-size:15px;line-height:1.4;margin:7px 0;font-weight:650}
.check-card p{font-size:13px;margin:6px 0;color:#4f5b47}.check-card .check-solution{color:#68735f}
.check-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.check-empty{padding:28px 16px;text-align:center;color:#64705e;background:#fafbf8;border-radius:8px;display:grid;justify-items:center;gap:12px}
.check-method{margin-top:22px;border-top:1px solid #e1e6da;padding-top:16px;color:#65705f;font-size:12px}
.check-method summary{cursor:pointer;font-weight:600;color:#4d5e42;padding:4px 0}
.check-method label{max-width:360px}.check-method input{max-width:120px}
.check-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e1e6da;background:#fafbf8;padding:16px 28px;flex-shrink:0}
.check-footer>span{font-size:11px;color:#65705f}.check-footer>div{display:flex;gap:8px}
.check-footer [data-check-run]{background:#dbe9b4;border-color:#b9cf8b;color:#304220}
.project-check-return{position:fixed;bottom:42px;left:50%;transform:translateX(-50%);z-index:45;display:flex;padding:5px;gap:4px;background:#f8faf3;box-shadow:0 5px 24px #26301e30;border:1px solid #c4d3b4;border-radius:10px}
.project-check-return[hidden]{display:none}
.project-check [hidden]{display:none}
.check-purchase{border:1px solid #dce4ce;background:#f6f8f0;border-radius:12px;padding:18px;margin-bottom:18px}
.check-purchase-title{display:flex;align-items:center;justify-content:space-between;gap:16px}
.check-purchase>summary{cursor:pointer}.check-purchase>summary:after{content:'⌄';font-size:16px}.check-purchase[open]>summary:after{content:'⌃'}
.check-purchase-title span{font-size:14px;font-weight:700;white-space:nowrap;background:#dfebbe;border-radius:6px;padding:5px 9px}
.check-purchase p{font-size:12px;color:#65705f;margin:10px 0}
.check-purchase-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.check-purchase [data-check-prepare],.project-check [data-check-run]{background:#dbe9b4;border-color:#b9cf8b;color:#304220}
.check-purchase .check-scenario,.check-consent{display:flex;flex-direction:row;align-items:flex-start;gap:8px;margin-top:12px;font-size:12px;line-height:1.5}
.check-scenario input,.check-consent input{width:16px;min-height:16px;height:16px;flex-shrink:0;margin:2px 0}
.check-history-label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;margin:14px 0}
.check-history-label select{font:13px var(--font-ui,system-ui);padding:9px;border:1px solid #d5dccf;border-radius:6px;min-width:0;max-width:100%;background:#fff}
#checkQuote{margin-top:16px;padding-top:12px;border-top:1px solid #d6dfc7}
#checkQuote pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto;font-size:11px;background:#fff;padding:10px}
#checkQuote summary{font-size:12px;cursor:pointer}
#checkQuote [data-check-run]{margin-top:12px}
#checkDifference{font-size:12px;color:#536248;margin:14px 0}
.check-ai-summary{border:1px solid #dce4d2;border-radius:10px;padding:16px;font-size:13px;margin-top:18px}
.check-ai-summary h3{font-size:15px;margin:0 0 8px}
.check-card [data-check-accept][aria-pressed=true]{background:#eef2e8;color:#5b6751}
@media(min-width:641px){.check-filters{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.project-check{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:10px}.check-header{padding:16px}.check-header h2{font-size:21px}.check-scroll{padding:16px}.check-overview{padding:14px}.check-result-heading h3{font-size:16px}.check-result-symbol{display:none}.check-filters{grid-template-columns:1fr}.check-footer{padding:12px 16px;flex-wrap:wrap}.check-footer>div{width:100%}.check-footer button{flex:1}.check-card{padding:13px}.project-check-return{max-width:calc(100vw - 24px);white-space:nowrap}}
