:root{color:#142033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#eef6f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 0 0,#1abc9c24,#0000 34rem),linear-gradient(#f8fcff 0%,#eef6f9 100%);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{width:min(1120px,100%);margin:0 auto;padding:28px 16px 44px}.hero{gap:14px;margin:12px 0 24px;display:grid}.brand-pill{color:#087b68;background:#e0fbf2;border:1px solid #bceade;border-radius:999px;width:fit-content;padding:8px 14px;font-weight:800;display:inline-flex}.hero h1{color:#101828;letter-spacing:-.07em;max-width:880px;margin:0;font-size:clamp(2.1rem,8vw,5.2rem);line-height:.94}.hero p{color:#617188;max-width:700px;margin:0;font-size:clamp(1.05rem,2.2vw,1.35rem);line-height:1.55}.card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffd1;border:1px solid #d9e6ef;border-radius:28px;padding:clamp(18px,4vw,28px);box-shadow:0 22px 60px #1f29371a}.stack{gap:18px;display:grid}.section-title{align-items:flex-start;gap:12px;display:flex}.section-title svg{color:#087b68;flex:none}.section-title h2{margin:0;font-size:1.18rem}.section-title p{color:#667085;margin:4px 0 0;line-height:1.45}.section-title.compact{margin-top:8px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.product-card{color:#26364a;text-align:left;cursor:pointer;background:#fff;border:1px solid #d8e5ef;border-radius:22px;gap:8px;min-height:128px;padding:16px;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid}.product-card strong{font-size:1.1rem}.product-card span{color:#667085;line-height:1.35}.product-card.is-selected{border-color:#087b68;transform:translateY(-2px);box-shadow:0 14px 34px #087b6829}.quick-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.quick-steps span{color:#40516a;background:#f8fbfd;border:1px solid #dce8f1;border-radius:20px;gap:8px;padding:16px;font-weight:800;display:grid}.quick-steps strong{color:#087b68;background:#e0fbf2;border-radius:999px;place-items:center;width:34px;height:34px;display:inline-grid}.notice,.error-message{border-radius:18px;align-items:flex-start;gap:10px;padding:14px 16px;line-height:1.45;display:flex}.notice{color:#7a4d00;background:#fff9e8;border:1px solid #ffe4ad}.error-message{color:#be123c;background:#fff1f2;border:1px solid #fecaca}.primary-button,.secondary-button,.ghost-button{cursor:pointer;border:0;border-radius:18px;justify-content:center;align-items:center;gap:10px;min-height:54px;padding:14px 18px;font-weight:800;text-decoration:none;display:inline-flex}.primary-button{color:#fff;background:#087b68;box-shadow:0 16px 34px #087b6833}.primary-button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.secondary-button{color:#26364a;background:#fff;border:1px solid #cfe0ea}.ghost-button{color:#40516a;background:#eef6f9;border:1px solid #0000}.as-link{color:#fff}.measure-grid,.result-layout{grid-template-columns:minmax(0,1.42fr) minmax(320px,.58fr);align-items:start;gap:18px;display:grid}.camera-panel{background:#0b1220;border:1px solid #d9e6ef;border-radius:28px;overflow:hidden;box-shadow:0 22px 60px #1f293729}.camera-toolbar{color:#fff;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.camera-toolbar div{gap:4px;display:grid}.tiny-label{color:#98a2b3;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem;font-weight:800}.xr-badge{color:#d0d5dd;background:#344054;border-radius:999px;padding:8px 10px;font-size:.82rem;font-weight:800}.xr-badge.supported{color:#067647;background:#d1fadf}.camera-stage{aspect-ratio:3/4;touch-action:none;-webkit-user-select:none;user-select:none;background:#111827;max-height:72vh;position:relative}.camera-stage video,.captured-frame{object-fit:cover;opacity:.96;width:100%;height:100%}.camera-stage.is-captured video,.camera-stage.is-captured .captured-frame{opacity:1}.capture-status{z-index:3;color:#fff;text-align:center;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0b1220b8;border:1px solid #ffffff47;border-radius:999px;padding:10px 12px;font-size:.86rem;font-weight:850;position:absolute;top:14px;left:14px;right:14px}.camera-stage.is-captured .capture-status{background:#087b68db}.point-overlay{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.opening-polygon{fill:#087b682b;stroke:#22f3c4;stroke-width:.45px;vector-effect:non-scaling-stroke}.opening-dot{fill:#fff;stroke:#087b68;stroke-width:.6px;vector-effect:non-scaling-stroke}.drag-handle{color:#fff;cursor:grab;touch-action:none;background:#087b68;border:3px solid #fff;border-radius:999px;width:44px;height:44px;font-weight:900;position:absolute;translate:-50% -50%;box-shadow:0 12px 24px #0000003d}.drag-handle:active{cursor:grabbing;scale:1.05}.camera-actions,.button-row{flex-wrap:wrap;gap:10px;padding:16px;display:flex}.button-row{padding:0}.corner-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.corner-list span{color:#40516a;background:#f8fbfd;border:1px solid #dce8f1;border-radius:16px;padding:10px}.corner-list strong{color:#087b68;background:#e0fbf2;border-radius:999px;place-items:center;width:26px;height:26px;margin-right:6px;display:inline-grid}.field-label{color:#344054;margin-bottom:-10px;font-weight:800}.helper-text{color:#667085;margin:-8px 0 0;font-size:.95rem;line-height:1.45}.scale-choice{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.scale-chip{color:#40516a;cursor:pointer;background:#fff;border:1px solid #cfe0ea;border-radius:16px;padding:13px 10px;font-weight:850}.scale-chip.is-active{color:#087b68;background:#e0fbf2;border-color:#087b68;box-shadow:0 10px 24px #087b681f}input,select{color:#142033;background:#fff;border:1px solid #cfe0ea;border-radius:16px;outline:none;width:100%;padding:14px 16px}input:focus,select:focus{border-color:#087b68;box-shadow:0 0 0 4px #087b681a}.live-result,.result-card{background:#f8fbfd;border:1px solid #dce8f1;border-radius:20px;gap:6px;padding:16px;display:grid}.live-result span,.result-card span{color:#667085;font-weight:800}.live-result strong,.result-card strong{color:#101828;font-size:1.35rem}.result-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.confidence{border-radius:999px;width:fit-content;padding:6px 10px;font-size:.9rem!important}.confidence-alta{background:#d1fadf;color:#067647!important}.confidence-media{background:#fef0c7;color:#b54708!important}.confidence-baixa{background:#fee4e2;color:#b42318!important}.summary-card pre{white-space:pre-wrap;word-break:break-word;color:#ecfdf3;background:#0b1220;border-radius:18px;margin:0;padding:16px;line-height:1.55}.modal-backdrop{z-index:20;padding:max(22px, env(safe-area-inset-top)) 16px max(22px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0b122080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:auto}.modal-card{background:#fff;border:1px solid #d9e6ef;border-radius:28px;width:min(620px,100%);max-height:min(760px,100dvh - 48px);padding:clamp(18px,4vw,28px);overflow:auto;box-shadow:0 26px 80px #0000003d}@media (width<=900px){.product-grid,.measure-grid,.result-layout{grid-template-columns:1fr}.camera-stage{aspect-ratio:9/14}}@media (width<=560px){.app-shell{padding:18px 12px 32px}.card{border-radius:22px}.product-grid,.quick-steps,.corner-list,.result-split,.scale-choice{grid-template-columns:1fr}.primary-button,.secondary-button,.ghost-button{width:100%}.camera-actions,.button-row{display:grid}.modal-backdrop{padding:calc(24px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom));align-items:center}.modal-card{border-radius:24px;max-height:calc(100dvh - 72px)}}
