:root{--bg:#06111d;--bg2:#071827;--panel:#0b1c2b;--panel2:#081723;--line:#94a3b82e;--text:#e8f0f7;--muted:#8ea4b8;--blue:#1173ff;--green:#35d56d;--orange:#ffb020;--red:#ff4d42}*{box-sizing:border-box}body{color:var(--text);background:radial-gradient(circle at 0 0,#0e74ff26,#0000 30%),linear-gradient(135deg,#040b12,#071827 55%,#04101b);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;overflow:hidden}button{font-family:inherit}.appShell{width:100vw;height:100vh;overflow:hidden}.topbar{border-bottom:1px solid var(--line);background:#030a12e6;grid-template-columns:220px 1fr auto;align-items:center;height:64px;padding:0 22px;display:grid}.brand{align-items:center;gap:10px;font-size:20px;display:flex}.brandIcon{color:#fff;background:linear-gradient(135deg,#005dff,#23d4ff);border-radius:9px;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.breadcrumb{color:var(--muted);align-items:center;gap:8px;display:flex}.breadcrumb strong{color:#fff}.topActions{align-items:center;gap:10px;display:flex}.btn,.iconBtn,.navBtn{border:1px solid var(--line);color:#fff;background:#0f2030e6;border-radius:8px;align-items:center;gap:8px;height:38px;padding:0 14px;font-weight:700;display:inline-flex}.btn.blue{background:var(--blue);border-color:#2380ff}.iconBtn{justify-content:center;width:38px;padding:0;position:relative}.notif span{background:var(--red);color:#fff;border-radius:999px;place-items:center;width:18px;height:18px;font-size:11px;display:grid;position:absolute;top:-6px;right:-5px}.user{align-items:center;gap:9px;margin-left:4px;display:flex}.user span{color:var(--muted);font-size:12px;display:block}.avatar{color:#102033;background:linear-gradient(135deg,#ffd7b0,#a86b38);border-radius:999px;place-items:center;width:34px;height:34px;font-weight:900;display:grid}.mainLayout{grid-template-columns:86px 480px 1fr;gap:12px;height:calc(100vh - 64px);padding:12px;display:grid}.side{border:1px solid var(--line);background:#071522eb;border-radius:12px;flex-direction:column;align-items:center;padding:14px 8px;display:flex}.sideLogo{height:10px}.logoMark{display:none}nav{flex-direction:column;gap:8px;width:100%;margin-top:8px;display:flex}.navItem{color:#9fb1c3;text-align:center;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:68px;font-size:12px;display:flex}.navItem.active{color:#36a3ff;border-left:3px solid var(--blue);background:#1173ff24}.helpBox{border:1px solid var(--line);width:100%;color:var(--muted);text-align:center;border-radius:10px;margin-top:auto;padding:12px 8px;font-size:11px}.helpBox strong{color:#fff;margin-top:6px;display:block}.panel{border:1px solid var(--line);background:#081927f2;border-radius:12px;overflow:hidden;box-shadow:0 18px 50px #00000042}.controlPanel{flex-direction:column;min-width:0;padding:18px;display:flex}.panelHeader{justify-content:space-between;align-items:center;display:flex}.panelHeader h2,.viewerHeader h2{margin:0;font-size:19px}.conform{color:#79f19a;background:#27b45d26;border:1px solid #27b45d40;border-radius:7px;padding:6px 10px;font-weight:800}.chips{gap:10px;margin:18px 0;display:flex}.chips span{border:1px solid var(--line);background:#040d1661;border-radius:7px;padding:9px 12px;font-size:13px;font-weight:800}.chips .green{color:var(--green);border-color:#35d56d59}.chips .orange{color:var(--orange);border-color:#ffb02059}.chips .red{color:var(--red);border-color:#ff4d4259}.groups{flex:1;padding-right:4px;overflow:auto}.group{margin-bottom:15px}.groupTitle{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.groupTitle em{background:linear-gradient(#ff8f41,#b92019);border-radius:999px;place-items:center;width:20px;height:20px;font-size:12px;font-style:normal;display:grid}.groupTitle em.neutral{background:#6b7280}.rows{border:1px solid var(--line);border-radius:8px;overflow:hidden}.controlRow{color:#f5f7fa;border-bottom:1px solid #94a3b81f;grid-template-columns:1fr auto;align-items:center;min-height:32px;padding:0 12px;font-size:14px;display:grid}.controlRow:last-child{border-bottom:none}.rowRight{align-items:center;gap:12px;display:flex}.status{align-items:center;gap:5px;font-weight:800;display:inline-flex}.status.ok{color:var(--green)}.status.warn{color:var(--orange)}.status.bad{color:var(--red)}.rowRight small{color:#d7e1ea;text-align:right;min-width:50px}.rerun{background:var(--blue);color:#fff;border:none;border-radius:7px;height:38px;margin-top:12px;font-weight:900}.viewer{grid-template-rows:78px 1fr 54px;min-width:0;display:grid}.viewerHeader{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:0 18px;display:flex}.viewerHeader p{color:var(--muted);margin:7px 0 0}.alertPill{color:var(--red);background:#ff4d421c;border:1px solid #ff4d424d;border-radius:7px;align-items:center;gap:7px;padding:9px 14px;font-weight:900;display:inline-flex}.viewerBody{grid-template-columns:150px minmax(520px,1fr) 300px;min-height:0;display:grid}.thumbs{border-right:1px solid var(--line);padding:20px 18px;overflow:auto}.thumbWrap{text-align:center;color:#fff;margin-bottom:24px}.thumb{opacity:.45;background:#f8fafc;border-radius:4px;width:96px;height:142px;margin:0 auto 8px;padding:10px}.thumbWrap.selected .thumb{opacity:1;outline:3px solid var(--blue);box-shadow:0 0 0 4px #1173ff40}.miniLogo{background:#2f8a4b;width:22px;height:12px;margin-bottom:10px}.miniLine{background:#cbd5e1;height:4px;margin-bottom:5px}.w80{width:80%}.w60{width:60%}.miniBox{border:1px solid #f4b63c;height:24px;margin:12px 0}.miniTable{background:repeating-linear-gradient(#e5e7eb 0 1px,#0000 1px 9px);height:44px}.pdfArea{background:#030b1259;grid-template-rows:54px 1fr;min-width:0;display:grid}.toolbar{border-bottom:1px solid var(--line);color:#fff;align-items:center;gap:20px;padding:0 18px;display:flex}.zoom{border:1px solid var(--line);border-radius:6px;align-items:center;gap:16px;height:32px;padding:0 12px;display:inline-flex}.pageCanvas{place-items:start center;min-height:0;padding:22px 26px;display:grid;overflow:auto}.invoice{color:#111827;background:#fff;width:680px;min-height:900px;padding:46px;font-family:Arial,sans-serif;box-shadow:0 20px 60px #00000059}.invoiceTop,.invoiceGrid,.clientGrid,.invoiceBottom{justify-content:space-between;gap:40px;display:flex}.invoiceLogo{align-items:center;gap:12px;display:flex}.homeIcon{color:#fff;background:#0b5d2a;border-radius:4px;place-items:center;width:42px;height:42px;font-size:28px;display:grid}.invoiceLogo strong{color:#0d6b2f;font-size:28px;display:block}.invoiceLogo span{font-size:13px;display:block}.invoice h1{margin:10px 0 0;font-size:31px}.invoiceGrid{margin-top:38px;line-height:1.25}.invoice p{margin:4px 0}.invoiceMeta{min-width:220px}.invoiceMeta p{justify-content:space-between;gap:18px;display:flex}.redMark{background:#ffe0df;border:1px solid #ff766d;padding:5px 10px}.clientGrid{margin:42px 0 26px}.highlight{min-width:160px;margin-top:10px;padding:10px}.yellow{background:#fffaf0;border:2px solid #f6b23c}.invoice table{border-collapse:collapse;width:100%;font-size:13px}.invoice th{text-align:left;background:#f1f5f9;border-top:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1;padding:10px}.invoice td{border-bottom:1px solid #cbd5e1;padding:12px 10px}.invoice td:not(:first-child),.invoice th:not(:first-child){text-align:right}.totals{width:280px;margin-top:22px;margin-left:auto}.totals p{justify-content:space-between;padding:5px 0;display:flex}.totalTtc{background:#ffe5e5;border:1px solid #ff766d;font-weight:900;padding:10px!important}.invoiceBottom{align-items:flex-start;margin-top:42px}.signature{text-align:center;border:1px solid #aab4c0;min-width:190px;padding:14px}.signature span{font-size:10px;display:block}.signature i{margin-top:12px;font-family:cursive;font-size:24px;display:block}.details{border-left:1px solid var(--line);padding:22px;overflow:auto}.details h3{color:var(--red);align-items:center;gap:7px;margin-top:0;display:flex}.details label{color:var(--muted);margin-top:18px;margin-bottom:7px;font-size:13px;display:block}.details p{color:#e6edf5;line-height:1.45}.severity{color:var(--red);background:#ff4d421f;border:1px solid #ff4d424d;border-radius:7px;align-items:center;gap:6px;padding:8px 10px;font-weight:900;display:inline-flex}.score{color:#6df59a;font-size:21px}.docBtn{color:#fff;border:1px solid var(--line);background:0 0;border-radius:7px;justify-content:space-between;align-items:center;width:100%;height:42px;margin-bottom:8px;padding:0 12px;font-weight:800;display:flex}.primaryAction,.secondaryAction{border-radius:7px;width:100%;height:42px;margin-top:10px;font-weight:900}.primaryAction{background:var(--blue);color:#fff;border:none}.secondaryAction{border:1px solid var(--line);color:#fff;background:0 0}.viewerFooter{border-top:1px solid var(--line);grid-template-columns:120px 1fr 220px;display:grid}.viewerFooter>div{border-right:1px solid var(--line);padding:9px 18px}.viewerFooter>div:last-child{border-right:none}.viewerFooter span{color:var(--muted);font-size:13px;display:block}.viewerFooter strong{margin-top:5px;font-size:18px;display:block}.detected p{gap:8px;margin:8px 0 0;display:flex}.detected em{border-radius:999px;padding:4px 8px;font-size:12px;font-style:normal;font-weight:900}.redTag{color:var(--red);background:#ff4d4221;border:1px solid #ff4d424d}.greenTag{color:var(--green);background:#35d56d21;border:1px solid #35d56d4d}.yellowTag{color:var(--orange);background:#ffb02021;border:1px solid #ffb0204d}.quality{color:#63e98f}@media (width<=1400px){.mainLayout{grid-template-columns:76px 420px 1fr}.viewerBody{grid-template-columns:120px minmax(460px,1fr) 260px}.invoice{transform-origin:top;width:620px}}.realPreview{justify-content:center;align-items:flex-start;display:flex}.previewImage{background:#fff;width:680px;max-width:100%;height:auto;box-shadow:0 20px 60px #00000059}.buttonRow{width:100%;color:inherit;cursor:pointer;background:0 0;border:0;font-family:inherit}.buttonRow:hover{background:#1173ff14}.thumb img{object-fit:cover;width:100%;height:100%}.textPreview{color:#111827;background:#fff;width:680px;max-width:100%;min-height:720px;padding:32px;box-shadow:0 20px 60px #00000059}.textPreview pre{white-space:pre-wrap;font-size:14px;line-height:1.6}.warnSeverity{color:var(--orange);background:#ffb0201f;border-color:#ffb02059}button:disabled{opacity:.55;cursor:not-allowed}.uploadOverlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:9999;background:#02080fb8;place-items:center;display:grid;position:fixed;inset:0}.uploadModal{background:linear-gradient(#0b1c2b,#071522);border:1px solid #94a3b83d;border-radius:18px;width:560px;max-width:calc(100vw - 32px);padding:24px;box-shadow:0 30px 100px #0000008c}.uploadModalHeader{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.uploadEyebrow{color:#36a3ff;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:900}.uploadModal h2{margin:6px 0 0;font-size:26px}.uploadClose{color:#fff;cursor:pointer;background:#0f2030e6;border:1px solid #94a3b840;border-radius:10px;height:36px;padding:0 12px;font-weight:800}.uploadStepBox{background:#040d168c;border:1px solid #94a3b82e;border-radius:14px;margin-bottom:18px;padding:16px}.uploadStepBox strong{color:#fff;font-size:16px;display:block}.uploadStepBox span{color:#8ea4b8;word-break:break-word;margin-top:6px;font-size:13px;display:block}.uploadProgressBar{background:#94a3b829;border:1px solid #94a3b829;border-radius:999px;height:14px;overflow:hidden}.uploadProgressBar div{background:linear-gradient(90deg,#1173ff,#23d4ff);border-radius:999px;height:100%;transition:width .35s}.uploadProgressFooter{color:#8ea4b8;justify-content:space-between;margin-top:10px;font-size:13px;display:flex}.uploadProgressFooter span:first-child{color:#fff;font-weight:900}.uploadSteps{gap:8px;margin-top:20px;display:grid}.uploadSteps div{color:#8ea4b8;background:#94a3b814;border-radius:10px;padding:10px 12px;font-size:14px;font-weight:700}.uploadSteps div.done{color:#35d56d;background:#35d56d1f;border:1px solid #35d56d3d}.aiCard{background:#081723d9;border:1px solid #36a3ff40;border-radius:14px;margin-top:18px;padding:14px}.aiCardHeader{justify-content:space-between;margin-bottom:12px;display:flex}.aiCardHeader span{color:#36a3ff;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:900;display:block}.aiCardHeader strong{color:#fff;margin-top:4px;display:block}.aiMessages{gap:10px;max-height:320px;margin-bottom:12px;display:grid;overflow:auto}.aiEmpty{color:#8ea4b8;background:#94a3b814;border-radius:10px;padding:12px;font-size:13px;line-height:1.4}.aiMsg{color:#dce7f2;background:#94a3b814;border-radius:10px;padding:10px}.aiMsg.user{border-left:3px solid #36a3ff}.aiMsg.assistant{border-left:3px solid #35d56d}.aiMsg.system{border-left:3px solid #ffb020}.aiMsg b{color:#fff;margin-bottom:5px;font-size:12px;display:block}.aiMsg p{margin:0;font-size:13px;line-height:1.45}.aiProposals{gap:8px;margin-top:10px;display:grid}.aiProposal{background:#35d56d14;border:1px solid #35d56d38;border-radius:10px;padding:10px}.aiProposal small{color:#8ea4b8;margin-bottom:5px;display:block}.aiProposal strong{color:#35d56d;margin-bottom:6px;display:block}.aiProposal button{color:#fff;cursor:pointer;background:#1173ff;border:0;border-radius:8px;width:100%;height:34px;margin-top:8px;font-weight:900}.aiInputRow{gap:8px;display:grid}.aiInputRow textarea{resize:vertical;color:#fff;background:#02080f8c;border:1px solid #94a3b840;border-radius:10px;width:100%;min-height:72px;padding:10px;font-family:inherit}.aiInputRow button{color:#fff;cursor:pointer;background:#1173ff;border:0;border-radius:9px;height:38px;font-weight:900}.aiInputRow button:disabled{opacity:.5;cursor:not-allowed}body{min-width:1440px}.topActions{white-space:nowrap!important;flex-wrap:nowrap!important}.btn{min-width:fit-content!important}.side,.controlPanel,.viewer{min-height:0!important}.controlPanel{padding:18px!important;overflow:hidden!important}.chips{grid-template-columns:repeat(5,1fr)!important;gap:8px!important;display:grid!important}.chips span{flex-direction:column!important;justify-content:center!important;min-height:46px!important;padding:8px 10px!important;font-size:13px!important;line-height:1.15!important;display:flex!important}.groups{padding-right:6px!important;overflow-y:auto!important}.controlRow{text-align:left!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;min-height:42px!important}.controlRow>span{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.rowRight{justify-content:flex-end!important;min-width:130px!important}.status{white-space:nowrap!important}.viewer{grid-template-rows:82px minmax(0,1fr) 58px!important;display:grid!important;overflow:hidden!important}.viewerHeader{min-width:0!important;padding:0 18px!important}.viewerHeader h2{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:720px!important;overflow:hidden!important}.viewerHeaderActions{flex-shrink:0!important}.viewerBody{grid-template-columns:138px minmax(440px,1fr) 380px!important;min-height:0!important;display:grid!important;overflow:hidden!important}.thumbs{padding:18px 14px!important;overflow-y:auto!important}.thumb{width:92px!important;height:128px!important;overflow:hidden!important}.pdfArea{min-width:0!important;overflow:hidden!important}.toolbar{gap:18px!important;height:54px!important;padding:0 18px!important;overflow:hidden!important}.pageCanvas{justify-content:center!important;align-items:flex-start!important;padding:22px!important;overflow:auto!important}.previewImage{object-fit:contain!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important}.details{width:380px!important;min-width:380px!important;max-width:380px!important;padding:18px!important;overflow:hidden auto!important}.details h3{margin-bottom:16px!important;font-size:18px!important;line-height:1.25!important}.details label{margin-top:14px!important;margin-bottom:6px!important}.details p,.details strong{word-break:break-word!important}.primaryAction,.secondaryAction,.docBtn{white-space:normal!important;text-align:center!important;width:100%!important;height:auto!important;min-height:42px!important;padding:10px 12px!important;line-height:1.25!important}.aiCard{border-radius:14px!important;max-width:100%!important;margin-top:16px!important;padding:14px!important;overflow:hidden!important}.aiMessages{max-height:360px!important;padding-right:4px!important;overflow-y:auto!important}.aiMsg,.aiProposal{overflow:hidden!important}.aiMsg p,.aiProposal p,.aiProposal strong,.aiProposal small{word-break:break-word!important}.aiProposal{gap:8px!important;display:grid!important}.aiProposal button{white-space:normal!important;height:auto!important;min-height:36px!important}.aiInputRow textarea{max-height:140px!important}.viewerFooter{grid-template-columns:120px 1fr 190px!important;min-height:58px!important;overflow:hidden!important}.detected p{white-space:nowrap!important;overflow-x:auto!important}.groups::-webkit-scrollbar{width:8px;height:8px}.details::-webkit-scrollbar{width:8px;height:8px}.thumbs::-webkit-scrollbar{width:8px;height:8px}.aiMessages::-webkit-scrollbar{width:8px;height:8px}.pageCanvas::-webkit-scrollbar{width:8px;height:8px}.groups::-webkit-scrollbar-thumb{background:#94a3b859;border-radius:999px}.details::-webkit-scrollbar-thumb{background:#94a3b859;border-radius:999px}.thumbs::-webkit-scrollbar-thumb{background:#94a3b859;border-radius:999px}.aiMessages::-webkit-scrollbar-thumb{background:#94a3b859;border-radius:999px}.pageCanvas::-webkit-scrollbar-thumb{background:#94a3b859;border-radius:999px}.groups::-webkit-scrollbar-track{background:#94a3b814}.details::-webkit-scrollbar-track{background:#94a3b814}.thumbs::-webkit-scrollbar-track{background:#94a3b814}.aiMessages::-webkit-scrollbar-track{background:#94a3b814}.pageCanvas::-webkit-scrollbar-track{background:#94a3b814}@media (width<=1500px){body{min-width:1360px}.mainLayout{grid-template-columns:82px 440px minmax(720px,1fr)!important}.viewerBody{grid-template-columns:124px minmax(420px,1fr) 350px!important}.details{width:350px!important;min-width:350px!important;max-width:350px!important}}html,body,#root{height:100%;overflow:hidden}.appShell{height:100vh;overflow:hidden}.mainLayout,.viewer,.viewerBody,.pdfArea,.controlPanel,.details,.side{min-height:0}.groups,.details,.thumbs,.pageCanvas,.aiMessages{overflow:hidden auto!important}.details{padding-bottom:28px!important}.primaryAction,.secondaryAction,.docBtn,.rerun,.navBtn,.btn{cursor:pointer}.primaryAction,.secondaryAction,.docBtn{white-space:normal!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;height:auto!important;min-height:42px!important;line-height:1.25!important;display:flex!important}.toolIconBtn{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.toolIconBtn:hover{background:#94a3b824}.buttonRow{min-height:42px!important}.buttonRow:focus{outline-offset:-2px;outline:2px solid #1173ffbf}.controlRow{cursor:pointer}.controlRow:hover{background:#1173ff14!important}@media (height<=850px){.aiMessages{max-height:240px!important}.details label{margin-top:10px!important}}.details,.aiCard{scrollbar-gutter:stable}.navItem{color:inherit;cursor:pointer;background:0 0;border:0;font-family:inherit}.navItem:hover{background:#1173ff1f}.btn,.navBtn,.iconBtn,.primaryAction,.secondaryAction,.docBtn,.rerun,.toolIconBtn,.controlRow{cursor:pointer!important}.btn:disabled{opacity:.45;cursor:not-allowed!important}.viewerHeaderActions{align-items:center;gap:10px;display:flex}.navBtn{min-width:110px}.details,.aiCard{scrollbar-gutter:stable}.uploadedDocsBlock{background:#040d1659;border:1px solid #94a3b82e;border-radius:14px;margin-top:16px;padding:12px}.uploadedDocsTitle{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.uploadedDocsTitle strong{color:#fff;font-size:15px}.uploadedDocsTitle span{color:#36a3ff;background:#1173ff29;border:1px solid #1173ff47;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:900}.uploadedDocsList{gap:8px;max-height:310px;padding-right:4px;display:grid;overflow-y:auto}.uploadedDocRow{color:#fff;cursor:pointer;text-align:left;background:#0f20308c;border:1px solid #94a3b824;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:10px;display:grid}.uploadedDocRow:hover,.uploadedDocRow.active{background:#1173ff1f;border-color:#1173ffb3}.uploadedDocRow strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.uploadedDocRow span{color:#8ea4b8;margin-top:4px;font-size:12px;display:block}.uploadedDocRow em{white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:11px;font-style:normal;font-weight:900}.docTypeOk{color:#35d56d;background:#35d56d1a;border:1px solid #35d56d38}.docTypeWarn{color:#ffb020;background:#ffb0201a;border:1px solid #ffb02038}.uploadedDocsEmpty{color:#8ea4b8;padding:10px;font-size:13px}.proofStage{max-width:100%;line-height:0;display:inline-block;position:relative}.proofStage .previewImage{display:block}.proofBox{pointer-events:none;background:#ffb0201f;border:2px solid #ffb020;border-radius:4px;position:absolute;box-shadow:0 0 0 9999px #00000005}.proofBox span{color:#111827;white-space:nowrap;background:#ffb020;border-radius:6px;padding:4px 7px;font-size:11px;font-weight:900;line-height:1;position:absolute;top:-24px;left:0}.proofBox:after{content:"";border:1px solid #ffb02059;border-radius:7px;position:absolute;inset:-5px}:root{--ui-scale:.67;--font-xs:10px;--font-sm:11px;--font-md:12px;--font-lg:14px;--font-xl:16px;--ui-scale:1!important}.appShell{width:100vw!important;height:100vh!important;transform-origin:initial!important;font-size:var(--font-md)!important;overflow:hidden!important;transform:none!important}html,body,#root{width:100vw!important;height:100vh!important;overflow:hidden!important}body{min-width:1200px!important;font-size:var(--font-md)!important}.topbar{grid-template-columns:170px minmax(260px,1fr) auto!important;gap:12px!important;height:52px!important;padding:0 12px!important}.brand{gap:8px!important}.brand strong{font-size:15px!important}.brandIcon{width:26px!important;height:26px!important;font-size:14px!important}.breadcrumb{gap:6px!important;font-size:12px!important}.topActions{gap:8px!important}.btn{border-radius:8px!important;height:32px!important;padding:0 10px!important;font-size:11px!important}.iconBtn{width:32px!important;height:32px!important}.user{gap:7px!important}.avatar{width:30px!important;height:30px!important;font-size:12px!important}.user strong{font-size:12px!important}.user span{font-size:10px!important}.mainLayout{grid-template-columns:66px 340px minmax(760px,1fr)!important;gap:8px!important;height:calc(100vh - 52px)!important;padding:8px!important;display:grid!important;overflow:hidden!important}.side{border-radius:10px!important;padding:8px 5px!important}.navItem{border-radius:8px!important;gap:4px!important;min-height:46px!important;padding:6px 4px!important}.navItem svg{width:17px!important;height:17px!important}.navItem span{font-size:10px!important;line-height:1.15!important}.helpBox{border-radius:8px!important;padding:8px 5px!important}.helpBox strong{font-size:10px!important}.helpBox span{font-size:9px!important}.controlPanel{border-radius:10px!important;padding:12px!important}.panelHeader{margin-bottom:12px!important}.controlPanel h2,.viewerHeader h2{font-size:16px!important;line-height:1.2!important}.conform{border-radius:7px!important;padding:7px 10px!important;font-size:12px!important}.chips{grid-template-columns:repeat(5,1fr)!important;gap:6px!important;margin-bottom:12px!important}.chips span{border-radius:7px!important;min-height:42px!important;padding:6px 7px!important;font-size:11px!important}.groupTitle{margin:10px 0 7px!important}.groupTitle strong{font-size:13px!important}.groupTitle em{width:18px!important;height:18px!important;font-size:10px!important}.controlRow{border-radius:6px!important;min-height:34px!important;padding:7px 8px!important;font-size:12px!important}.rowRight{min-width:92px!important}.status{gap:4px!important;font-size:11px!important}.status svg{width:12px!important;height:12px!important}.rerun{border-radius:7px!important;height:34px!important;font-size:11px!important}.uploadedDocsBlock{border-radius:10px!important;margin-top:12px!important;padding:9px!important}.uploadedDocsTitle strong{font-size:12px!important}.uploadedDocsTitle span{padding:2px 7px!important;font-size:10px!important}.uploadedDocsList{gap:6px!important;max-height:245px!important}.uploadedDocRow{border-radius:8px!important;padding:8px!important}.uploadedDocRow strong{font-size:11px!important}.uploadedDocRow span{font-size:10px!important}.uploadedDocRow em{padding:3px 6px!important;font-size:9px!important}.viewer{border-radius:10px!important;grid-template-rows:62px minmax(0,1fr) 44px!important}.viewerHeader{padding:0 12px!important}.viewerHeader p{font-size:12px!important}.viewerHeader h2{max-width:760px!important}.viewerHeaderActions{gap:7px!important}.alertPill{border-radius:7px!important;height:30px!important;padding:0 10px!important;font-size:11px!important}.navBtn{border-radius:7px!important;min-width:92px!important;height:30px!important;padding:0 9px!important;font-size:11px!important}.viewerBody{grid-template-columns:104px minmax(520px,1fr) 300px!important}.thumbs{padding:12px 9px!important}.thumb{border-radius:7px!important;width:72px!important;height:102px!important}.thumbPage{margin:5px 0 12px!important;font-size:12px!important}.toolbar{gap:12px!important;height:42px!important;padding:0 12px!important}.zoomBox{border-radius:7px!important;gap:8px!important;height:30px!important;padding:0 8px!important;font-size:12px!important}.toolIconBtn,.toolbar svg{width:28px!important;height:28px!important}.pageCanvas{padding:14px!important}.previewImage{max-width:100%!important}.details{width:300px!important;min-width:300px!important;max-width:300px!important;padding:12px!important}.details h3{margin-bottom:12px!important;font-size:15px!important}.details label{margin-top:10px!important;margin-bottom:4px!important;font-size:10px!important}.details strong,.details p{font-size:12px!important;line-height:1.35!important}.severity{border-radius:7px!important;padding:7px 9px!important;font-size:12px!important}.confidence{font-size:20px!important}.docBtn,.primaryAction,.secondaryAction{border-radius:7px!important;min-height:34px!important;padding:8px 9px!important;font-size:11px!important}.aiCard{border-radius:10px!important;margin-top:12px!important;padding:10px!important}.aiCardHeader span{font-size:9px!important}.aiCardHeader strong{font-size:12px!important}.aiMessages{gap:7px!important;max-height:240px!important}.aiMsg{border-radius:8px!important;padding:8px!important}.aiMsg b{font-size:10px!important}.aiMsg p{font-size:11px!important;line-height:1.35!important}.aiProposal{border-radius:8px!important;padding:8px!important}.aiProposal small,.aiProposal p{font-size:10px!important}.aiProposal strong{font-size:11px!important}.aiProposal button{min-height:30px!important;font-size:10px!important}.aiInputRow textarea{min-height:58px!important;padding:8px!important;font-size:11px!important}.aiInputRow button{height:32px!important;font-size:11px!important}.viewerFooter{grid-template-columns:95px 1fr 150px!important;min-height:44px!important}.viewerFooter,.viewerFooter p,.viewerFooter span{font-size:10px!important}.detected p{gap:5px!important}.badge{padding:3px 6px!important;font-size:9px!important}.proofBox{border-width:1.5px!important}.proofBox span{padding:3px 5px!important;font-size:9px!important;top:-19px!important}.uploadModal{border-radius:14px!important;width:470px!important;padding:18px!important}.uploadModal h2{font-size:21px!important}.uploadStepBox{padding:12px!important}.uploadStepBox strong{font-size:14px!important}.uploadStepBox span,.uploadProgressFooter,.uploadSteps div{font-size:11px!important}.uploadSteps div{padding:8px 10px!important}html,body,#root,.appShell{width:100vw!important;height:100dvh!important;min-height:100dvh!important;overflow:hidden!important}.mainLayout{height:calc(100dvh - 52px)!important;min-height:0!important;padding-bottom:8px!important;overflow:hidden!important}.side,.controlPanel,.viewer,.viewerBody,.pdfArea,.details{min-height:0!important;max-height:100%!important}.controlPanel{flex-direction:column!important;display:flex!important;overflow:hidden!important}.groups{flex:auto!important;min-height:120px!important;overflow-y:auto!important}.uploadedDocsBlock{flex:none!important}.rerun{flex:none!important;margin-top:8px!important}.viewer{grid-template-rows:58px minmax(0,1fr) 42px!important;height:100%!important}.viewerBody{min-height:0!important;overflow:hidden!important}.pdfArea{grid-template-rows:40px minmax(0,1fr)!important;min-height:0!important;display:grid!important;overflow:hidden!important}.pageCanvas{min-height:0!important;padding-bottom:38px!important;overflow:auto!important}.viewerFooter{z-index:5!important;height:42px!important;min-height:42px!important;position:relative!important;overflow:hidden!important}.previewImage{max-height:none!important}@media (height<=820px){.topbar{height:48px!important}.mainLayout{height:calc(100dvh - 48px)!important}.viewer{grid-template-rows:54px minmax(0,1fr) 38px!important}.pdfArea{grid-template-rows:36px minmax(0,1fr)!important}.toolbar{height:36px!important}.viewerFooter{height:38px!important;min-height:38px!important}.uploadedDocsList{max-height:190px!important}.aiMessages{max-height:180px!important}}.thumbWrap{color:#fff!important;cursor:pointer!important;background:0 0!important;border:0!important;justify-items:center!important;gap:6px!important;width:100%!important;margin:0 0 14px!important;padding:0!important;font-family:inherit!important;display:grid!important}.thumbWrap .thumb{transition:border-color .15s,transform .15s,opacity .15s}.thumbWrap:hover .thumb{transform:translateY(-1px);opacity:1!important;border-color:#1173ffe6!important}.thumbWrap.selected .thumb{opacity:1!important;border-color:#1173ff!important;box-shadow:0 0 0 2px #1173ff73!important}.thumbWrap strong{color:#fff!important;font-size:13px!important;line-height:1!important}.thumb img{object-fit:contain!important;width:100%!important;height:100%!important;display:block!important}.thumbs{overflow:hidden auto!important}*,:before,:after{box-sizing:border-box!important}html,body,#root{width:100vw!important;height:100vh!important;max-height:100vh!important;margin:0!important;padding:0!important;overflow:hidden!important}.appShell{grid-template-rows:50px minmax(0,1fr)!important;width:100vw!important;height:100vh!important;max-height:100vh!important;display:grid!important;overflow:hidden!important}.topbar{height:50px!important;min-height:50px!important;max-height:50px!important}.mainLayout{grid-template-columns:66px 340px minmax(760px,1fr)!important;gap:8px!important;height:auto!important;min-height:0!important;max-height:100%!important;padding:7px!important;display:grid!important;overflow:hidden!important}.side,.controlPanel,.viewer{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}.controlPanel{grid-template-rows:auto auto minmax(120px,1fr) auto auto!important;gap:8px!important;display:grid!important}.groups{min-height:0!important;overflow-y:auto!important}.uploadedDocsBlock{min-height:0!important;max-height:235px!important;overflow:hidden!important}.uploadedDocsList{max-height:180px!important;overflow-y:auto!important}.rerun{height:34px!important;min-height:34px!important}.viewer{grid-template-rows:56px minmax(0,1fr) 38px!important;display:grid!important}.viewerHeader{height:56px!important;min-height:56px!important;overflow:hidden!important}.viewerBody{grid-template-columns:104px minmax(520px,1fr) 300px!important;height:100%!important;min-height:0!important;display:grid!important;overflow:hidden!important}.thumbs,.pdfArea,.details{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}.thumbs{overflow-y:auto!important}.pdfArea{grid-template-rows:38px minmax(0,1fr)!important;display:grid!important}.toolbar{height:38px!important;min-height:38px!important}.pageCanvas{height:100%!important;min-height:0!important;padding:12px 12px 22px!important;overflow:auto!important}.details{padding-bottom:18px!important;overflow-y:auto!important}.viewerFooter{z-index:10!important;grid-template-columns:90px 1fr 145px!important;height:38px!important;min-height:38px!important;max-height:38px!important;display:grid!important;position:relative!important;overflow:hidden!important}.aiMessages{max-height:160px!important;overflow-y:auto!important}.aiCard,.thumbWrap{margin-bottom:10px!important}.thumb{width:66px!important;height:92px!important}@media (height<=820px){.appShell{grid-template-rows:46px minmax(0,1fr)!important}.topbar{height:46px!important;min-height:46px!important;max-height:46px!important}.viewer{grid-template-rows:50px minmax(0,1fr) 34px!important}.viewerHeader{height:50px!important;min-height:50px!important}.viewerFooter{height:34px!important;min-height:34px!important;max-height:34px!important}.uploadedDocsBlock{max-height:205px!important}.uploadedDocsList{max-height:155px!important}.aiMessages{max-height:130px!important}.thumb{width:60px!important;height:84px!important}}@media (height<=820px){.viewer{grid-template-rows:50px minmax(0,1fr) 48px!important}.viewerFooter{height:48px!important;min-height:48px!important;max-height:48px!important}.aiMessages{max-height:105px!important}.uploadedDocsBlock{max-height:200px!important}.uploadedDocsList{max-height:148px!important}}.viewerFooter{grid-template-columns:90px 1fr 170px!important;align-items:center!important;height:52px!important;min-height:52px!important;max-height:52px!important;padding:0 12px!important;display:grid!important;overflow:hidden!important}.viewerFooter>*{min-width:0!important}.viewerFooter p,.viewerFooter span,.viewerFooter strong{line-height:1.15!important}.pageCanvas{padding:10px 12px 18px!important;overflow:auto!important}.details{flex-direction:column!important;padding-bottom:18px!important;display:flex!important;overflow:hidden auto!important}.primaryAction,.secondaryAction,.docBtn{min-height:32px!important;padding:7px 9px!important;font-size:11px!important}.aiCard{margin-top:10px!important;margin-bottom:14px!important;padding:9px!important}.aiMessages{max-height:125px!important}.aiInputRow textarea{min-height:50px!important}.uploadedDocsBlock{max-height:220px!important}.uploadedDocsList{max-height:168px!important}.quality,.pageQuality,.viewerQuality{flex-direction:column!important;justify-content:center!important;min-height:34px!important;display:flex!important}@media (height<=820px){.viewer{grid-template-rows:50px minmax(0,1fr) 48px!important}.viewerFooter{height:48px!important;min-height:48px!important;max-height:48px!important}.aiMessages{max-height:105px!important}.uploadedDocsBlock{max-height:200px!important}.uploadedDocsList{max-height:148px!important}}.viewer{grid-template-rows:54px minmax(0,1fr) 72px!important}.viewerFooter{grid-template-columns:110px minmax(0,1fr) 210px!important;align-items:center!important;gap:12px!important;height:72px!important;min-height:72px!important;max-height:72px!important;padding:8px 14px!important;display:grid!important;overflow:visible!important}.viewerFooter>div,.viewerFooter>section,.viewerFooter>article{min-width:0!important;min-height:0!important;overflow:visible!important}.viewerFooter p,.viewerFooter span,.viewerFooter strong,.viewerFooter label{white-space:normal!important;text-overflow:unset!important;line-height:1.25!important;overflow:visible!important}.viewerFooter p{margin:0!important}.viewerFooter strong{font-size:13px!important;display:block!important}.viewerFooter span,.viewerFooter p{font-size:11px!important}.viewerFooter>:first-child{flex-direction:column!important;justify-content:center!important;gap:3px!important;display:flex!important}.viewerFooter>:nth-child(2){flex-direction:column!important;justify-content:center!important;gap:5px!important;display:flex!important;overflow-x:auto!important}.viewerFooter>:nth-child(3){flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:4px!important;min-width:190px!important;display:flex!important}.detected,.quality,.pageQuality,.viewerQuality{height:auto!important;min-height:auto!important;overflow:visible!important}.detected p{white-space:normal!important;flex-wrap:wrap!important;gap:5px!important;display:flex!important;overflow:visible!important}.badge{align-items:center!important;height:auto!important;min-height:18px!important;line-height:1!important;display:inline-flex!important}.pdfArea{grid-template-rows:38px minmax(0,1fr)!important}.pageCanvas{padding-bottom:12px!important}@media (height<=820px){.viewer{grid-template-rows:50px minmax(0,1fr) 66px!important}.viewerFooter{height:66px!important;min-height:66px!important;max-height:66px!important;padding:6px 12px!important}}.zoomBox{align-items:center!important;gap:8px!important;display:flex!important}.toolbar{align-items:center!important;gap:10px!important;display:flex!important}.toolbarSpacer{flex:auto!important}.zoomBox{background:#030c1659!important;border:1px solid #94a3b838!important;border-radius:8px!important;align-items:center!important;gap:8px!important;height:32px!important;padding:0 8px!important;display:flex!important}.zoomBox strong{text-align:center!important;color:#fff!important;min-width:46px!important;font-size:12px!important}.toolMiniBtn,.toolIconBtn,.toolTextBtn{color:#fff!important;cursor:pointer!important;background:0 0!important;border:0!important;border-radius:8px!important;place-items:center!important;font-family:inherit!important;display:grid!important}.toolMiniBtn{width:26px!important;height:26px!important}.toolIconBtn{width:32px!important;height:32px!important}.toolTextBtn{min-width:46px!important;height:30px!important;padding:0 8px!important;font-size:11px!important;font-weight:900!important}.toolMiniBtn:hover,.toolIconBtn:hover,.toolTextBtn:hover{background:#1173ff29!important}.pageCanvas:fullscreen{background:#06111d!important;padding:24px!important}.proofStage{transition:transform .15s}.details{height:100%!important;min-height:0!important;padding-bottom:130px!important;scroll-padding-bottom:130px!important;overflow:hidden auto!important}.details .primaryAction,.details .secondaryAction{height:30px!important;min-height:30px!important;margin-top:6px!important;padding:6px 8px!important;font-size:10.5px!important}.aiCard{background:#051624eb!important;border:1px solid #1173ff59!important;height:auto!important;min-height:260px!important;max-height:none!important;margin-top:14px!important;margin-bottom:80px!important;padding:10px!important;display:block!important;overflow:visible!important}.aiCardHeader{margin-bottom:10px!important;display:block!important}.aiCardHeader span{color:#36a3ff!important;letter-spacing:.16em!important;font-size:10px!important;font-weight:900!important;display:block!important}.aiCardHeader strong{color:#fff!important;margin-top:4px!important;font-size:13px!important;display:block!important}.aiMessages{gap:8px!important;max-height:170px!important;padding-right:4px!important;display:grid!important;overflow-y:auto!important}.aiInputRow{gap:8px!important;margin-top:10px!important;display:grid!important}.aiInputRow textarea{resize:vertical!important;width:100%!important;min-height:62px!important;max-height:100px!important;display:block!important}.aiInputRow button{width:100%!important;height:32px!important;display:block!important}.viewerFooter{z-index:2!important}.details{z-index:3!important}.aiCard{min-height:330px!important;max-height:none!important}.aiCardHeader{justify-content:space-between!important;align-items:flex-start!important;gap:10px!important;display:flex!important}.aiExpandBtn{color:#64b5ff!important;cursor:pointer!important;white-space:nowrap!important;background:#1173ff24!important;border:1px solid #1173ff73!important;border-radius:8px!important;height:28px!important;padding:0 10px!important;font-size:10px!important;font-weight:900!important}.aiExpandBtn:hover{background:#1173ff47!important}.aiCard.aiExpanded{z-index:9999!important;background:#051624fa!important;border:1px solid #1173ffa6!important;border-radius:18px!important;grid-template-rows:auto minmax(0,1fr) auto!important;width:560px!important;max-width:calc(100vw - 48px)!important;min-height:auto!important;padding:18px!important;display:grid!important;position:fixed!important;top:70px!important;bottom:24px!important;right:24px!important;overflow:hidden!important;box-shadow:0 24px 80px #0000008c!important}.aiCard.aiExpanded .aiCardHeader span{font-size:11px!important}.aiCard.aiExpanded .aiCardHeader strong{font-size:20px!important}.aiCard.aiExpanded .aiMessages{height:100%!important;max-height:none!important;padding:10px 6px 10px 0!important;overflow-y:auto!important}.aiCard.aiExpanded .aiMsg{border-radius:12px!important;padding:12px!important}.aiCard.aiExpanded .aiMsg b{font-size:12px!important}.aiCard.aiExpanded .aiMsg p{font-size:14px!important;line-height:1.45!important}.aiCard.aiExpanded .aiProposal{border-radius:12px!important;padding:12px!important}.aiCard.aiExpanded .aiProposal strong{font-size:14px!important}.aiCard.aiExpanded .aiProposal p,.aiCard.aiExpanded .aiProposal small{font-size:12px!important}.aiCard.aiExpanded .aiProposal button{height:42px!important;font-size:13px!important}.aiCard.aiExpanded .aiInputRow{margin-top:12px!important}.aiCard.aiExpanded .aiInputRow textarea{border-radius:12px!important;min-height:120px!important;padding:14px!important;font-size:14px!important;line-height:1.45!important}.aiCard.aiExpanded .aiInputRow button{border-radius:12px!important;height:44px!important;font-size:14px!important}@media (width<=900px){.aiCard.aiExpanded{width:auto!important;inset:64px 14px 14px!important}}.aiCard.aiExpanded{z-index:99999!important;opacity:1!important;background:#06111d!important;border:1px solid #1173ffe6!important;border-radius:20px!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:16px!important;width:min(920px,100vw - 80px)!important;height:min(720px,100vh - 110px)!important;padding:22px!important;display:grid!important;position:fixed!important;inset:72px auto auto 50%!important;overflow:hidden!important;transform:translate(-50%)!important;box-shadow:0 0 0 9999px #0000009e,0 30px 90px #000000bf!important}.aiCard.aiExpanded .aiCardHeader{border-bottom:1px solid #94a3b82e!important;justify-content:space-between!important;align-items:flex-start!important;gap:16px!important;padding-bottom:14px!important;display:flex!important}.aiCard.aiExpanded .aiCardHeader span{color:#38a8ff!important;letter-spacing:.18em!important;font-size:12px!important;font-weight:900!important}.aiCard.aiExpanded .aiCardHeader strong{color:#fff!important;margin-top:6px!important;font-size:28px!important;line-height:1.1!important}.aiCard.aiExpanded .aiExpandBtn{color:#dceeff!important;background:#1173ff38!important;border:1px solid #1173ffbf!important;border-radius:12px!important;height:40px!important;padding:0 18px!important;font-size:13px!important}.aiCard.aiExpanded .aiMessages{flex-direction:column!important;gap:12px!important;height:100%!important;max-height:none!important;padding:4px 8px 4px 0!important;display:flex!important;overflow:hidden auto!important}.aiCard.aiExpanded .aiMsg{color:#eaf4ff!important;background:#0d2133!important;border-left-width:4px!important;border-radius:14px!important;width:100%!important;padding:14px 16px!important;display:block!important}.aiCard.aiExpanded .aiMsg b{color:#fff!important;margin-bottom:6px!important;font-size:13px!important;display:block!important}.aiCard.aiExpanded .aiMsg p{color:#eaf4ff!important;margin:0!important;font-size:15px!important;line-height:1.5!important}.aiCard.aiExpanded .aiProposal{color:#eafff1!important;background:#09251b!important;border:1px solid #22c55e8c!important;border-radius:14px!important;padding:14px!important}.aiCard.aiExpanded .aiProposal button{border-radius:12px!important;width:100%!important;height:44px!important;margin-top:10px!important;font-size:14px!important;font-weight:900!important}.aiCard.aiExpanded .aiInputRow{border-top:1px solid #94a3b82e!important;grid-template-columns:1fr!important;gap:12px!important;padding-top:14px!important;display:grid!important}.aiCard.aiExpanded .aiInputRow textarea{resize:vertical!important;color:#fff!important;background:#030c16!important;border:1px solid #94a3b857!important;border-radius:14px!important;width:100%!important;min-height:120px!important;max-height:180px!important;padding:16px!important;font-size:15px!important;line-height:1.45!important}.aiCard.aiExpanded .aiInputRow textarea::placeholder{color:#e2e8f08c!important}.aiCard.aiExpanded .aiInputRow button{border-radius:14px!important;width:100%!important;height:46px!important;font-size:15px!important;font-weight:900!important}.aiCard.aiExpanded .aiInputRow button:disabled{opacity:.55!important;cursor:not-allowed!important}@media (width<=900px){.aiCard.aiExpanded{width:auto!important;height:calc(100vh - 82px)!important;padding:16px!important;top:58px!important;left:12px!important;right:12px!important;transform:none!important}.aiCard.aiExpanded .aiCardHeader strong{font-size:22px!important}}.aiCard.aiExpanded .aiMessages{flex-direction:column!important;gap:14px!important;padding-right:8px!important;display:flex!important;overflow-y:auto!important}.aiCard.aiExpanded .aiMsg,.aiCard.aiExpanded .aiMessage,.aiCard.aiExpanded .messageBubble{color:#eef6ff!important;background:#0d2235!important;border-radius:16px!important;min-height:72px!important;padding:16px 18px!important;display:block!important}.aiCard.aiExpanded .aiMsg *,.aiCard.aiExpanded .aiMessage *,.aiCard.aiExpanded .messageBubble *{color:#eef6ff!important;opacity:1!important;font-size:17px!important;line-height:1.55!important}.aiCard.aiExpanded .aiMsg b,.aiCard.aiExpanded .aiMsg strong,.aiCard.aiExpanded .aiMessage b,.aiCard.aiExpanded .aiMessage strong,.aiCard.aiExpanded .messageBubble b,.aiCard.aiExpanded .messageBubble strong{color:#fff!important;margin-right:10px!important;font-size:18px!important;font-weight:900!important;display:inline-block!important}.aiCard.aiExpanded .aiMsg p,.aiCard.aiExpanded .aiMsg span,.aiCard.aiExpanded .aiMsg div,.aiCard.aiExpanded .aiMessage p,.aiCard.aiExpanded .aiMessage span,.aiCard.aiExpanded .aiMessage div,.aiCard.aiExpanded .messageBubble p,.aiCard.aiExpanded .messageBubble span,.aiCard.aiExpanded .messageBubble div{color:#eef6ff!important;white-space:pre-wrap!important;word-break:break-word!important;font-size:17px!important;line-height:1.55!important}.aiCard.aiExpanded textarea{font-size:18px!important;line-height:1.5!important}.aiCard.aiExpanded .aiMessages,.aiCard.aiExpanded .aiThread,.aiCard.aiExpanded .messagesList{flex-direction:column!important;gap:16px!important;min-height:0!important;padding-right:8px!important;display:flex!important;overflow:hidden auto!important}.aiCard.aiExpanded .aiMsg,.aiCard.aiExpanded .aiMessage,.aiCard.aiExpanded .messageBubble,.aiCard.aiExpanded .chatMessage{white-space:normal!important;word-break:break-word!important;border-radius:18px!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;height:auto!important;min-height:96px!important;max-height:none!important;padding:18px 22px!important;line-height:1.5!important;display:flex!important;overflow:visible!important}.aiCard.aiExpanded .aiMsg p,.aiCard.aiExpanded .aiMsg span,.aiCard.aiExpanded .aiMsg div,.aiCard.aiExpanded .aiMessage p,.aiCard.aiExpanded .aiMessage span,.aiCard.aiExpanded .aiMessage div,.aiCard.aiExpanded .messageBubble p,.aiCard.aiExpanded .messageBubble span,.aiCard.aiExpanded .messageBubble div,.aiCard.aiExpanded .chatMessage p,.aiCard.aiExpanded .chatMessage span,.aiCard.aiExpanded .chatMessage div{white-space:pre-wrap!important;word-break:break-word!important;max-height:none!important;font-size:17px!important;line-height:1.55!important;display:block!important;overflow:visible!important}.aiCard.aiExpanded .aiMsg *,.aiCard.aiExpanded .aiMessage *,.aiCard.aiExpanded .messageBubble *,.aiCard.aiExpanded .chatMessage *{max-height:none!important;text-overflow:unset!important;overflow:visible!important}.aiCard.aiExpanded textarea{min-height:140px!important;font-size:18px!important;line-height:1.45!important}.aiCard.aiExpanded button{font-size:18px!important}.aiCard.aiExpanded{width:min(920px,100vw - 48px)!important;max-width:min(920px,100vw - 48px)!important;font-size:14px!important}.aiCard.aiExpanded .aiCardHeader span{letter-spacing:.12em!important;font-size:11px!important}.aiCard.aiExpanded .aiCardHeader strong{font-size:15px!important;font-weight:800!important;line-height:1.25!important}.aiCard.aiExpanded .aiMessages,.aiCard.aiExpanded .aiThread,.aiCard.aiExpanded .messagesList{gap:12px!important;min-height:0!important;padding-right:8px!important;overflow:hidden auto!important}.aiCard.aiExpanded .aiMsg,.aiCard.aiExpanded .aiMessage,.aiCard.aiExpanded .messageBubble,.aiCard.aiExpanded .chatMessage{box-sizing:border-box!important;border-radius:16px!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:auto!important;max-height:none!important;padding:14px 16px!important;overflow:hidden!important}.aiCard.aiExpanded .aiMsg strong,.aiCard.aiExpanded .aiMsg b,.aiCard.aiExpanded .aiMessage strong,.aiCard.aiExpanded .aiMessage b,.aiCard.aiExpanded .messageBubble strong,.aiCard.aiExpanded .messageBubble b,.aiCard.aiExpanded .chatMessage strong,.aiCard.aiExpanded .chatMessage b{margin:0 0 8px!important;font-size:13px!important;font-weight:800!important;line-height:1.2!important;display:block!important}.aiCard.aiExpanded .aiMsg p,.aiCard.aiExpanded .aiMsg span,.aiCard.aiExpanded .aiMsg div,.aiCard.aiExpanded .aiMessage p,.aiCard.aiExpanded .aiMessage span,.aiCard.aiExpanded .aiMessage div,.aiCard.aiExpanded .messageBubble p,.aiCard.aiExpanded .messageBubble span,.aiCard.aiExpanded .messageBubble div,.aiCard.aiExpanded .chatMessage p,.aiCard.aiExpanded .chatMessage span,.aiCard.aiExpanded .chatMessage div{white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;max-width:100%!important;font-size:14px!important;line-height:1.45!important}.aiCard.aiExpanded .proposalCard,.aiCard.aiExpanded .aiProposal,.aiCard.aiExpanded .proposalBox,.aiCard.aiExpanded .memoryProposal,.aiCard.aiExpanded .suggestionCard{box-sizing:border-box!important;width:100%!important;max-width:100%!important;padding:14px 16px!important;overflow:hidden!important}.aiCard.aiExpanded .proposalCard *,.aiCard.aiExpanded .aiProposal *,.aiCard.aiExpanded .proposalBox *,.aiCard.aiExpanded .memoryProposal *,.aiCard.aiExpanded .suggestionCard *{box-sizing:border-box!important;word-break:break-word!important;overflow-wrap:anywhere!important;max-width:100%!important}.aiCard.aiExpanded .proposalCard button,.aiCard.aiExpanded .aiProposal button,.aiCard.aiExpanded .proposalBox button,.aiCard.aiExpanded .memoryProposal button,.aiCard.aiExpanded .suggestionCard button{width:100%!important;max-width:100%!important;height:44px!important;font-size:14px!important}.aiCard.aiExpanded textarea{box-sizing:border-box!important;min-height:120px!important;font-size:14px!important;line-height:1.4!important}.aiCard.aiExpanded .sendBtn,.aiCard.aiExpanded button[type=submit]{height:46px!important;font-size:14px!important}.aiCleanCard{color:#eaf4ff!important;box-sizing:border-box!important;background:#061522!important;border:1px solid #1173ff73!important;border-radius:16px!important;grid-template-rows:auto minmax(140px,1fr) auto!important;gap:12px!important;width:100%!important;min-height:340px!important;margin-top:14px!important;margin-bottom:80px!important;padding:14px!important;display:grid!important;overflow:hidden!important}.aiCleanHeader{justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;display:flex!important}.aiCleanHeader span{color:#39a9ff!important;letter-spacing:.16em!important;font-size:11px!important;font-weight:900!important;line-height:1.2!important;display:block!important}.aiCleanHeader strong{color:#fff!important;margin-top:5px!important;font-size:15px!important;font-weight:800!important;line-height:1.25!important;display:block!important}.aiCleanExpand{color:#9ed0ff!important;cursor:pointer!important;background:#1173ff29!important;border:1px solid #1173ffbf!important;border-radius:10px!important;min-width:92px!important;height:34px!important;font-size:12px!important;font-weight:900!important}.aiCleanMessages{flex-direction:column!important;gap:10px!important;min-height:0!important;padding-right:6px!important;display:flex!important;overflow:hidden auto!important}.aiCleanMsg{box-sizing:border-box!important;color:#eaf4ff!important;background:#10263a!important;border-left:4px solid #38a9ff!important;border-radius:13px!important;width:100%!important;padding:12px 14px!important;overflow:visible!important}.aiCleanMsg.assistant{border-left-color:#2ee879!important}.aiCleanMsg.system{border-left-color:#ffb020!important}.aiCleanRole{color:#fff!important;margin-bottom:6px!important;font-size:12px!important;font-weight:900!important;line-height:1.2!important}.aiCleanContent{color:#eaf4ff!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;font-size:13px!important;line-height:1.45!important}.aiCleanProposal{color:#eafff1!important;box-sizing:border-box!important;background:#052d20!important;border:1px solid #22c55e8c!important;border-radius:12px!important;margin-top:10px!important;padding:12px!important}.aiCleanProposalTitle{opacity:.9!important;font-size:12px!important;font-weight:800!important}.aiCleanProposalMain{margin-top:6px!important;font-size:14px!important;font-weight:900!important}.aiCleanProposal p{margin:8px 0 0!important;font-size:13px!important;line-height:1.4!important}.aiCleanProposal button{color:#fff!important;cursor:pointer!important;background:#1977f3!important;border:0!important;border-radius:10px!important;width:100%!important;height:38px!important;margin-top:10px!important;font-size:13px!important;font-weight:900!important}.aiCleanInput{gap:10px!important;display:grid!important}.aiCleanInput textarea{resize:vertical!important;color:#fff!important;box-sizing:border-box!important;background:#030c16!important;border:1px solid #94a3b859!important;border-radius:12px!important;width:100%!important;min-height:86px!important;padding:12px!important;font-size:13px!important;line-height:1.4!important}.aiCleanInput button{color:#fff!important;cursor:pointer!important;background:#1977f3!important;border:0!important;border-radius:12px!important;width:100%!important;height:40px!important;font-size:13px!important;font-weight:900!important}.aiCleanInput button:disabled{opacity:.5!important;cursor:not-allowed!important}.aiCleanEmpty{color:#9fb2c7!important;background:#94a3b814!important;border-radius:12px!important;padding:12px!important;font-size:13px!important}.aiCleanCard.aiCleanExpanded{z-index:99999!important;background:#06111d!important;border-radius:20px!important;grid-template-rows:auto minmax(0,1fr) auto!important;width:min(920px,100vw - 80px)!important;height:min(720px,100vh - 110px)!important;padding:22px!important;position:fixed!important;top:72px!important;left:50%!important;transform:translate(-50%)!important;box-shadow:0 0 0 9999px #000000a6,0 30px 90px #000000bf!important}.aiCleanCard.aiCleanExpanded .aiCleanHeader strong{font-size:22px!important}.aiCleanCard.aiCleanExpanded .aiCleanMessages{gap:12px!important}.aiCleanCard.aiCleanExpanded .aiCleanMsg{padding:14px 16px!important}.aiCleanCard.aiCleanExpanded .aiCleanRole{font-size:13px!important}.aiCleanCard.aiCleanExpanded .aiCleanContent{font-size:14px!important;line-height:1.5!important}.aiCleanCard.aiCleanExpanded .aiCleanInput textarea{min-height:110px!important;font-size:14px!important}.aiCleanCard.aiCleanExpanded .aiCleanInput button{height:44px!important;font-size:14px!important}@media (width<=900px){.aiCleanCard.aiCleanExpanded{width:auto!important;height:calc(100vh - 82px)!important;top:58px!important;left:12px!important;right:12px!important;transform:none!important}}.geminiPanel{color:#eef4ff;background:linear-gradient(135deg,#141e37f5,#090f1cf5);border:1px solid #5977ff3d;border-radius:22px;margin:16px 0;padding:18px;box-shadow:0 18px 50px #00000047}.geminiHead{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.geminiEyebrow{letter-spacing:.08em;text-transform:uppercase;color:#9db5ff;margin-bottom:5px;font-size:12px;display:inline-block}.geminiHead h2{margin:0;font-size:20px}.geminiRunBtn{color:#fff;cursor:pointer;background:#6d8cff;border:0;border-radius:14px;padding:11px 16px;font-weight:700}.geminiRunBtn:disabled{opacity:.6;cursor:wait}.geminiEmpty{background:#ffffff0f;border-radius:16px;padding:14px}.geminiStatusRow{flex-wrap:wrap;gap:10px;margin:12px 0;font-size:13px;display:flex}.geminiStatusRow span{background:#ffffff14;border-radius:999px;padding:7px 10px}.geminiStatus{font-weight:800}.geminiStatus.a_verifier{color:#ffd38a;background:#ffb0202e!important}.geminiStatus.non_conforme{color:#faa;background:#ff52522e!important}.geminiStatus.conforme{color:#9af2bd;background:#2ecc712e!important}.geminiSummary{color:#dce7ff;line-height:1.55}.geminiGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0;display:grid}.geminiBox{background:#ffffff12;border-radius:16px;padding:13px}.geminiBox strong{font-size:24px;display:block}.geminiBox.danger strong{color:#f99}.geminiBox.warn strong{color:#ffd38a}.geminiBox.ok strong{color:#9af2bd}.geminiList,.geminiActions{margin-top:14px}.geminiList h3,.geminiActions h3{margin:0 0 8px;font-size:15px}.geminiList article{background:#ffffff0f;border:1px solid #ffffff14;border-radius:14px;margin:8px 0;padding:11px}.geminiList article p{color:#dce7ff;margin:6px 0}.geminiList article small{color:#aebde8}.geminiActions ul{margin:8px 0 0;padding-left:20px}.geminiActions li{color:#dce7ff;margin:6px 0}
