/* Utilitários QA v6 — Smart product layer */
.smart-hero{padding:72px 0 54px;background:radial-gradient(circle at 80% 0,color-mix(in srgb,var(--primary) 18%,transparent),transparent 35%),radial-gradient(circle at 0 100%,color-mix(in srgb,var(--accent) 14%,transparent),transparent 34%),linear-gradient(180deg,var(--surface),var(--bg));border-bottom:1px solid var(--border);overflow:hidden;position:relative}.smart-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(color-mix(in srgb,var(--primary) 16%,transparent) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(90deg,#000 0,transparent 78%)}.smart-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:42px;align-items:center}.smart-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid color-mix(in srgb,var(--primary) 25%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--primary) 7%,var(--surface));font-size:.78rem;font-weight:850;color:var(--primary-strong)}.smart-kicker i{width:8px;height:8px;border-radius:99px;background:var(--accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 12%,transparent)}.smart-hero h1{font-size:clamp(2.65rem,6vw,5.25rem);line-height:.98;letter-spacing:-.065em;margin:18px 0 20px;max-width:900px}.smart-hero h1 em{font-style:normal;color:var(--primary-strong)}.smart-hero-copy{font-size:1.12rem;color:var(--muted);max-width:760px}.smartbox-shell{margin-top:28px;padding:14px;border:1px solid color-mix(in srgb,var(--primary) 26%,var(--border));border-radius:24px;background:color-mix(in srgb,var(--surface) 95%,transparent);box-shadow:0 24px 80px rgba(35,66,173,.13);backdrop-filter:blur(14px)}.smartbox-drop{position:relative;min-height:170px;border:1.5px dashed color-mix(in srgb,var(--primary) 35%,var(--border));border-radius:18px;background:linear-gradient(145deg,var(--surface-soft),var(--surface));display:grid;place-items:center;padding:22px;text-align:center;transition:.2s}.smartbox-drop.dragover{border-color:var(--primary);background:var(--primary-soft);transform:translateY(-1px)}.smartbox-drop textarea{width:100%;min-height:104px;resize:vertical;border:0;background:transparent;color:var(--text);font:inherit;outline:none;padding:0}.smartbox-empty{display:grid;gap:8px;justify-items:center}.smartbox-empty b{font-size:1.05rem}.smartbox-empty p{margin:0;color:var(--muted);font-size:.88rem}.smartbox-actions-top{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-top:10px}.smartbox-actions-top>div{display:flex;gap:8px;flex-wrap:wrap}.smart-mode{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--border);border-radius:11px;background:var(--surface-soft)}.smart-mode button{border:0;background:transparent;color:var(--muted);border-radius:8px;padding:7px 10px;font-weight:800;cursor:pointer}.smart-mode button.active{background:var(--surface);color:var(--primary-strong);box-shadow:var(--shadow-sm)}.smart-result{margin-top:12px;padding:18px;border:1px solid var(--border);border-radius:18px;background:var(--surface);display:none}.smart-result.show{display:block}.smart-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.smart-detected{display:flex;align-items:center;gap:12px}.smart-detected-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:var(--primary-soft);color:var(--primary-strong);font-weight:900}.smart-detected p{margin:2px 0 0;color:var(--muted);font-size:.86rem}.smart-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.smart-action{display:flex;gap:12px;align-items:center;padding:13px;border:1px solid var(--border);border-radius:14px;background:var(--surface-soft);transition:.18s;text-align:left}.smart-action:hover{border-color:var(--primary);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.smart-action .tool-icon{flex:0 0 auto}.smart-action strong{display:block;font-size:.9rem;line-height:1.2}.smart-action span:not(.tool-icon){display:block;color:var(--muted);font-size:.76rem;margin-top:3px}.smart-privacy{display:flex;gap:8px;align-items:flex-start;margin-top:13px;color:var(--muted);font-size:.78rem}.smart-preview{position:relative;min-height:510px}.smart-preview-card{position:absolute;inset:5% 0 3% 4%;padding:22px;border:1px solid var(--border);border-radius:28px;background:linear-gradient(145deg,var(--surface),var(--surface-strong));box-shadow:var(--shadow)}.smart-preview-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.smart-preview-brand{display:flex;gap:10px;align-items:center;font-weight:900}.smart-preview-brand i{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--primary),var(--accent));display:grid;place-items:center;color:#fff;font-style:normal;font-size:.75rem}.smart-preview-chip{padding:6px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:.7rem;font-weight:850}.smart-preview-input{height:92px;border:1px dashed var(--border);border-radius:15px;background:var(--surface-soft);padding:15px}.smart-preview-line{height:9px;border-radius:99px;background:var(--border);margin:8px 0}.smart-preview-line.w70{width:70%}.smart-preview-line.w45{width:45%}.smart-preview-detect{margin-top:14px;padding:14px;border-radius:15px;background:var(--primary-soft);display:flex;gap:10px;align-items:center}.smart-preview-detect b{color:var(--primary-strong)}.smart-preview-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}.smart-preview-actions div{padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.smart-preview-actions strong{display:block;font-size:.82rem}.smart-preview-actions span{color:var(--muted);font-size:.7rem}.smart-preview-float{position:absolute;padding:13px 16px;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:var(--shadow);font-size:.76rem;font-weight:850}.smart-preview-float.a{right:-18px;top:3%}.smart-preview-float.b{left:-22px;bottom:4%}.smart-preview-float.c{right:-10px;bottom:15%}.product-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-pillar{padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--surface);position:relative;overflow:hidden}.product-pillar:before{content:"";position:absolute;width:100px;height:100px;border-radius:50%;background:var(--primary-soft);right:-50px;top:-50px}.product-pillar .pillar-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:var(--primary-soft);color:var(--primary-strong);font-weight:900}.product-pillar h3{margin:16px 0 7px}.product-pillar p{color:var(--muted);margin:0 0 16px}.live-usecases{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.usecase-card{padding:16px;border:1px solid var(--border);border-radius:15px;background:var(--surface);font-size:.86rem}.usecase-card b{display:block;margin-bottom:4px}.usecase-card span{color:var(--muted)}
.smart-page-hero{padding:58px 0 34px;background:linear-gradient(180deg,var(--surface),var(--bg));border-bottom:1px solid var(--border)}.smart-page-hero h1{font-size:clamp(2.5rem,5.7vw,4.5rem);line-height:1;letter-spacing:-.06em;margin:14px 0}.smart-page-hero p{max-width:850px;color:var(--muted);font-size:1.07rem}.smart-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.smart-sidebar{position:sticky;top:90px;display:grid;gap:14px}.smart-sidebar .card{padding:18px}.smart-sidebar h3{margin:0 0 8px}.smart-sidebar p{margin:0;color:var(--muted);font-size:.86rem}.smart-sidebar ul{padding-left:18px;color:var(--muted);font-size:.84rem}.privacy-badge{display:flex;gap:10px;align-items:flex-start;padding:13px;border-radius:14px;background:var(--accent-soft);color:color-mix(in srgb,var(--accent) 75%,var(--text))}.privacy-badge b{display:block}.smart-workspace{padding:20px;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:var(--shadow-sm)}
.flow-layout{display:grid;grid-template-columns:260px minmax(0,1fr) 300px;gap:18px;align-items:start}.flow-palette,.flow-saved{position:sticky;top:90px;padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.flow-palette h3,.flow-saved h3{margin:0 0 12px}.flow-source-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:14px}.flow-source-tabs button{padding:9px 5px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);color:var(--muted);font-weight:800;cursor:pointer}.flow-source-tabs button.active{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-strong)}.flow-step-list{display:grid;gap:7px}.flow-palette-step{padding:10px 11px;border:1px solid var(--border);border-radius:11px;background:var(--surface-soft);cursor:pointer;font-size:.82rem;font-weight:800;text-align:left;color:var(--text)}.flow-palette-step:hover{border-color:var(--primary)}.flow-canvas{display:grid;gap:14px}.flow-input,.flow-output{padding:18px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.flow-input textarea,.flow-output textarea{min-height:180px}.flow-chain{display:grid;gap:10px;min-height:90px}.flow-chain-empty{padding:22px;text-align:center;border:1px dashed var(--border);border-radius:15px;color:var(--muted)}.flow-step{display:grid;grid-template-columns:36px 1fr auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--border);border-radius:14px;background:var(--surface-soft);cursor:grab}.flow-step.dragging{opacity:.55}.flow-step-index{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--primary-soft);color:var(--primary-strong);font-weight:900}.flow-step strong{display:block;font-size:.88rem}.flow-step small{color:var(--muted)}.flow-step-controls{display:flex;gap:5px}.flow-step-controls button{width:30px;height:30px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--muted);cursor:pointer}.flow-param{display:flex;gap:8px;align-items:center;margin-top:7px}.flow-param label{font-size:.74rem;color:var(--muted)}.flow-param input,.flow-param select{height:34px;padding:5px 8px}.flow-toolbar{display:flex;gap:8px;flex-wrap:wrap}.saved-flow-item{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--border)}.saved-flow-item:last-child{border-bottom:0}.saved-flow-item button{margin-left:auto}.flow-recipe-banner{padding:13px;border:1px solid color-mix(in srgb,var(--accent) 40%,var(--border));border-radius:13px;background:var(--accent-soft);display:none}.flow-recipe-banner.show{display:block}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.recipe-card{padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--surface);cursor:pointer}.recipe-card:hover{border-color:var(--primary)}.recipe-card strong{display:block}.recipe-card span{color:var(--muted);font-size:.82rem}.recipe-steps{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.recipe-steps i{font-style:normal;padding:4px 7px;border-radius:999px;background:var(--surface-soft);font-size:.67rem;color:var(--muted)}
.lab-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.lab-tabs button{padding:10px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface-soft);color:var(--muted);font-weight:850;cursor:pointer}.lab-tabs button.active{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-strong)}.lab-input textarea{min-height:330px;font:13px/1.55 var(--mono)}.lab-output{display:grid;gap:16px}.lab-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.lab-stat{padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--surface-soft)}.lab-stat strong{display:block;font-size:1.35rem}.lab-stat span{color:var(--muted);font-size:.76rem}.testcase-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:14px}.testcase-table{width:100%;border-collapse:collapse;font-size:.82rem}.testcase-table th,.testcase-table td{padding:11px 12px;border-bottom:1px solid var(--border);vertical-align:top;text-align:left}.testcase-table th{position:sticky;top:0;background:var(--surface-strong);font-size:.72rem;text-transform:uppercase;letter-spacing:.04em}.testcase-table tr:last-child td{border-bottom:0}.case-priority{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:.68rem;font-weight:900}.case-priority.high{background:#fee4e2;color:#b42318}.case-priority.medium{background:#fef0c7;color:#b54708}.case-priority.low{background:var(--accent-soft);color:var(--accent)}.lab-code{min-height:250px;font:12px/1.5 var(--mono);white-space:pre;overflow:auto;background:#0f172a;color:#d9e2f2;border-radius:14px;padding:16px}.lab-examples{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.lab-examples button{border:1px solid var(--border);border-radius:999px;background:var(--surface);padding:7px 10px;color:var(--muted);cursor:pointer;font-size:.75rem}.lab-engine-note{padding:13px;border-left:4px solid var(--primary);background:var(--primary-soft);border-radius:0 12px 12px 0;color:var(--muted);font-size:.84rem}
.toolbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.toolbox-panel{padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.toolbox-panel h2{margin-top:0}.local-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.local-stat{padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--surface-soft)}.local-stat strong{display:block;font-size:1.4rem}.local-stat span{color:var(--muted);font-size:.75rem}.storage-actions{display:flex;gap:8px;flex-wrap:wrap}.extension-preview{display:grid;grid-template-columns:1fr 330px;gap:24px;align-items:center}.browser-frame{border:1px solid var(--border);border-radius:22px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow)}.browser-bar{height:48px;background:var(--surface-strong);border-bottom:1px solid var(--border);display:flex;gap:6px;align-items:center;padding:0 13px}.browser-bar i{width:10px;height:10px;border-radius:99px;background:var(--border)}.browser-page{display:grid;grid-template-columns:1fr 250px;min-height:380px}.browser-content{padding:25px}.browser-side{padding:14px;border-left:1px solid var(--border);background:var(--surface-soft)}.browser-side h4{margin:0 0 12px}.browser-side button{width:100%;margin:4px 0;text-align:left;padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text)}.install-steps{counter-reset:install;display:grid;gap:12px}.install-step{counter-increment:install;display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:start;padding:15px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.install-step:before{content:counter(install);width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--primary-soft);color:var(--primary-strong);font-weight:900}.bridge-toast{position:fixed;right:18px;bottom:18px;z-index:80;max-width:380px;padding:13px 16px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--shadow);display:flex;gap:10px;align-items:start}.bridge-toast b{display:block}.bridge-toast span{color:var(--muted);font-size:.78rem}.bridge-toast button{margin-left:auto}.nav-product-link{position:relative}.nav-product-link:after{content:"Novo";position:absolute;top:-8px;right:-9px;padding:1px 5px;border-radius:999px;background:var(--accent);color:#fff;font-size:.52rem;font-weight:900}.smart-nav-cluster{display:flex;gap:5px}.smart-inline-card{padding:18px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(145deg,var(--surface),var(--surface-strong))}.smart-inline-card h3{margin:0 0 6px}.smart-inline-card p{color:var(--muted);margin:0}.smart-inline-card .btn{margin-top:12px}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.trust-item-v6{padding:18px;border:1px solid var(--border);border-radius:15px;background:var(--surface)}.trust-item-v6 b{display:block}.trust-item-v6 span{color:var(--muted);font-size:.82rem}.smart-section-title{max-width:760px}.smart-section-title h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.05;letter-spacing:-.045em}.smart-section-title p{color:var(--muted)}
@media(max-width:1100px){.smart-hero-grid{grid-template-columns:1fr}.smart-preview{min-height:420px;max-width:650px}.flow-layout{grid-template-columns:220px minmax(0,1fr)}.flow-saved{grid-column:1/-1;position:static}.smart-layout{grid-template-columns:1fr}.smart-sidebar{position:static}.extension-preview{grid-template-columns:1fr}.product-pillars,.recipe-grid{grid-template-columns:repeat(2,1fr)}.live-usecases,.trust-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.smart-hero{padding-top:54px}.smart-hero h1{font-size:2.75rem}.smart-preview{min-height:330px}.smart-preview-card{inset:3% 2%}.smart-preview-float{display:none}.smart-actions-grid,.product-pillars,.recipe-grid,.toolbox-grid{grid-template-columns:1fr}.flow-layout{grid-template-columns:1fr}.flow-palette,.flow-saved{position:static}.lab-summary{grid-template-columns:repeat(2,1fr)}.live-usecases,.trust-grid{grid-template-columns:1fr}.browser-page{grid-template-columns:1fr}.browser-side{border-left:0;border-top:1px solid var(--border)}.smartbox-actions-top{align-items:flex-start;flex-direction:column}.smart-mode{width:100%}.smart-mode button{flex:1}.local-stats{grid-template-columns:1fr}.smart-preview-actions{grid-template-columns:1fr 1fr}.nav-product-link:after{position:static;margin-left:6px}}
