:root{color:#ffecec;background-color:#130202;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top,rgba(239,68,68,.35),transparent 60%),#130202}#app{min-height:100vh}.page{max-width:1200px;margin:0 auto;padding:2rem 1.5rem 6rem;display:flex;flex-direction:column;gap:2.5rem}.page.centered{min-height:100vh;align-items:center;justify-content:center}.topbar{display:flex;align-items:center;justify-content:flex-end;gap:1rem}.user-chip{display:inline-flex;align-items:center;gap:.5rem;color:#fed7d7;font-size:.9rem}.user-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover}.login-card{background:#180606e6;border:1px solid rgba(248,113,113,.5);border-radius:24px;padding:3rem 2.5rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1.25rem;max-width:460px;box-shadow:0 20px 50px #04070fcc}.login-card h1{font-size:1.8rem;margin:0;color:#fee2e2}.hero{text-align:center;display:flex;flex-direction:column;gap:1rem}.brand-row{display:flex;flex-direction:column;align-items:center;gap:.75rem}.brand-logo{max-height:70px;max-width:100%;width:auto;height:auto;object-fit:contain}.brand-logo.manitou{max-height:70px;max-width:45%}.eyebrow{text-transform:uppercase;letter-spacing:.25em;font-size:.72rem;color:#fecaca;margin:0 auto}.hero h1{font-size:clamp(2rem,4vw,3.25rem);margin:0;color:#fee2e2}.subtitle{max-width:720px;margin:0 auto;color:#fed7d7;font-size:1.05rem}.subtitle em{color:#fee2e2;font-style:italic}.notice{max-width:720px;margin:.25rem auto 0;padding:.75rem 1rem;font-size:.85rem;line-height:1.5;color:#fde68a;background:#fbbf2414;border:1px solid rgba(251,191,36,.3);border-radius:12px}.btn{border-radius:999px;border:1px solid transparent;padding:.85em 1.8em;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .15s ease;text-decoration:none;text-align:center;display:inline-block}.btn.small{padding:.5em 1.1em;font-size:.85rem}.btn.primary{background:linear-gradient(120deg,#ef4444,#b91c1c);color:#fff}.btn.primary:disabled{opacity:.6;cursor:not-allowed}.btn.ghost{background:transparent;border-color:#fecaca66;color:#fee2e2}.btn:hover{transform:translateY(-1px);box-shadow:0 10px 30px #f8717166}.panel{background:#180606e6;border:1px solid rgba(248,113,113,.5);border-radius:24px;padding:2.5rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));box-shadow:0 20px 50px #04070fcc}.uploader{display:flex;flex-direction:column;gap:1.25rem}.dropzone{border:1px dashed rgba(252,165,165,.85);border-radius:20px;padding:2rem;text-align:center;color:#fee2e2;background:#f871710f;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;cursor:pointer}.dropzone span{color:#fecaca;font-size:.85rem}.dropzone input{display:none}.preview{max-width:100%;max-height:220px;border-radius:16px;object-fit:cover;box-shadow:0 15px 40px #030712bf}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{color:#fee2e2;font-size:.9rem;font-weight:500;display:block}.form-label .required{color:#f87171;margin-left:.25rem}.form-label .optional{color:#fecaca80;margin-left:.25rem;font-weight:400;font-size:.85em}.field-hint{color:#fecaca99;font-size:.78rem}.form-select,.form-textarea{width:100%;padding:.85rem 1rem;border-radius:12px;border:1px solid rgba(248,113,113,.4);background:#1c0404fa;color:#fee2e2;font-size:.95rem;font-family:inherit;transition:all .15s ease}.form-textarea{padding-right:5rem;resize:vertical;min-height:100px;line-height:1.5}.form-select{cursor:pointer}.form-select:focus,.form-textarea:focus{outline:none;border-color:#f87171b3;box-shadow:0 0 0 3px #f8717126}.form-select option{background:#1c0404fa;color:#fee2e2}.conformity-options{display:flex;flex-wrap:wrap;gap:.5rem}.conformity-chip{display:inline-flex;align-items:center;gap:.45rem;padding:.5rem .8rem;border-radius:999px;border:1px solid rgba(248,113,113,.4);background:#1c040499;color:#fee2e2;font-size:.85rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .15s ease}.conformity-chip:hover{border-color:#f87171b3}.conformity-chip.checked{background:#f8717138;border-color:#f87171e6;font-weight:600}.conformity-chip input{accent-color:#ef4444;width:16px;height:16px;cursor:pointer}.textarea-wrapper{position:relative}.form-textarea::placeholder{color:#fecaca80}.textarea-actions{position:absolute;top:.75rem;right:.75rem;display:flex;gap:.5rem;z-index:10}.icon-button{background:#f8717126;border:1px solid rgba(248,113,113,.4);border-radius:8px;padding:.5rem;cursor:pointer;color:#fee2e2;display:flex;align-items:center;justify-content:center;transition:all .15s ease;width:32px;height:32px;flex-shrink:0}.icon-button:hover:not(:disabled){background:#f8717140;transform:translateY(-1px)}.icon-button:disabled{opacity:.5;cursor:not-allowed}.icon-button.ai-button{background:#fbbf2426;border-color:#fbbf2466;color:#fcd34d}.icon-button svg{width:20px;height:20px;display:block}.spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.status{background:#1c0404fa;border-radius:20px;padding:1.5rem;border:1px solid rgba(248,113,113,.35)}.status-label{text-transform:uppercase;font-size:.75rem;letter-spacing:.2em;color:#fecaca;margin:0 0 .75rem}.status-message{margin:0;color:#fee2e2}.error-text{color:#fecaca;margin-top:.5rem}.result{display:flex;flex-direction:column;gap:1rem}.verdict{display:flex;flex-direction:column;gap:.25rem;padding:1rem 1.25rem;border-radius:14px;font-size:1.1rem}.verdict-ok{background:#22c55e2e;color:#bbf7d0;border:1px solid rgba(34,197,94,.4)}.verdict-ko{background:#f871712e;color:#fecaca;border:1px solid rgba(248,113,113,.5)}.verdict-conf{font-size:.85rem;font-weight:400;opacity:.9}.fired-summary{margin:0;color:#fed7d7;font-size:.95rem}.detectors-details summary{cursor:pointer;color:#fecaca;font-size:.85rem;margin-bottom:.5rem}.detectors-help{margin:.25rem 0 .6rem;font-size:.75rem;line-height:1.4;color:#fed7d7bf}.detectors-help strong{color:#fde68a;font-weight:600}.thr-legend{display:inline-block;width:2px;height:.7em;margin:0 .25em;vertical-align:-.05em;background:#f8fafc;border-radius:1px}.detectors{list-style:none;margin:.5rem 0 0;padding:0;display:flex;flex-direction:column;gap:.4rem}.detector-row{display:grid;grid-template-columns:1fr 80px auto;align-items:center;gap:.75rem;padding:.4rem .6rem;border-radius:10px;font-size:.85rem}.detector-row.fired{background:#f871711f}.detector-name{display:inline-flex;align-items:center;gap:.4rem;color:#fee2e2;text-transform:capitalize}.rel-dot{font-size:.7rem}.detector-bar{position:relative;height:8px;background:#ffffff1a;border-radius:999px}.detector-bar-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#fbbf24,#ef4444)}.detector-bar-threshold{position:absolute;top:-3px;bottom:-3px;width:2px;margin-left:-1px;background:#f8fafc;border-radius:1px;box-shadow:0 0 3px #0009}.detector-verdict{font-size:.78rem;text-align:right;white-space:nowrap}.detector-verdict.ok{color:#bbf7d0cc}.detector-verdict.ko{color:#fca5a5;font-weight:600}.ai-explanation{margin-top:.5rem;padding:1rem;background:#f8717126;border-left:4px solid rgba(248,113,113,.5);border-radius:8px}.ai-explanation-title{margin:0 0 .5rem;font-size:.9rem;color:#fecaca;font-weight:600}.ai-explanation-text{margin:0;white-space:pre-line;line-height:1.6;color:#fee2e2}.llm-row{margin:.35rem 0;font-size:.88rem}.llm-defect{font-weight:600;color:#fecaca;text-transform:capitalize}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem}.grid article{padding:1.75rem;border-radius:20px;background:#180505e6;border:1px solid rgba(248,113,113,.25)}.grid h3{margin-top:0;color:#fee2e2}.grid p{color:#fed7d7;margin-bottom:0;line-height:1.45}.topbar{flex-wrap:wrap}.user-chip{min-width:0}.user-chip>:not(.user-avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 640px){.page{padding:1.5rem 1rem 4rem;gap:1.75rem}.panel{padding:1.5rem;gap:1.5rem}.login-card{padding:2rem 1.5rem}.status{padding:1.25rem}.dropzone{min-height:200px;padding:1.5rem}.btn.submit{width:100%}.brand-logo.manitou{max-height:50px;max-width:70%}.verdict{font-size:1rem;padding:.85rem 1rem}.detector-row{grid-template-columns:1fr 56px auto;gap:.5rem;padding:.4rem .5rem;font-size:.8rem}.detector-verdict{font-size:.72rem}}@media (max-width: 360px){.detector-name{font-size:.75rem}.detector-row{grid-template-columns:1fr 40px auto}}
