:root{font-family:'Segoe UI',Arial,sans-serif;font-size:14px;color:#202124;background:#f6f8fc;--primary:#0b57d0;--outline:#c4c7c5;--muted:#5f6368;--surface:#fff;--container:#e9eef6}*{box-sizing:border-box}body{margin:0}header{padding:20px 24px 0}.topbar{max-width:1680px;width:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px}body:has(.layout:not(.has-result)) .topbar{width:75%}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:450;letter-spacing:-.7px}.brand-icon{display:grid;place-items:center;background:#d3e3fd;color:#0b57d0;width:42px;height:42px;border-radius:14px;flex-shrink:0}.brand-icon svg{width:24px;height:24px}.brand span{color:inherit}.generation-counter{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;background:#e9eef6;border-radius:24px;padding:10px 16px}.generation-counter strong{font-size:14px;color:#202124;font-weight:600;font-variant-numeric:tabular-nums}main{max-width:1728px;margin:auto;padding:24px}.layout{display:grid;gap:24px;align-items:start;margin:auto;grid-template-columns:minmax(0,1fr)}.layout:not(.has-result){width:75%}.layout.has-result{grid-template-columns:minmax(400px,.85fr) minmax(0,1.35fr)}.panel{min-width:0;background:var(--surface);border:1px solid #e3e6eb;border-radius:28px;padding:32px;box-shadow:0 1px 2px #3c404308}h2{font-size:24px;font-weight:450;letter-spacing:-.4px;margin:0}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;margin-top:30px}label{display:flex;flex-direction:column;gap:9px;font-size:12px;font-weight:500;color:#444746}.wide{grid-column:1/-1}input,select,button{font:inherit;color:inherit}input,select{width:100%;min-width:0;border:1px solid var(--outline);border-radius:8px;padding:14px;background:#fff;min-height:50px;font-size:14px;color:#202124;transition:border-color .15s,box-shadow .15s}input::placeholder{color:#80868b}input:hover:not(:disabled),select:hover{border-color:#747775}input:focus,select:focus{outline:0;border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}input:disabled{background:#f4f5f7;border-color:#e2e4e7;color:#9aa0a6}button{border:1px solid var(--outline);border-radius:24px;background:white;padding:11px 22px;cursor:pointer;color:var(--primary);font-weight:600;font-size:13px;transition:background .15s,box-shadow .15s}button:hover{background:#f0f5ff}button:active{background:#d3e3fd}button:focus-visible,input[type=radio]:focus-visible{outline:2px solid var(--primary);outline-offset:3px}button:disabled{opacity:.4;cursor:default}.primary{display:block;margin:28px 0 0 auto;min-width:160px;border:0;background:var(--primary);color:white;padding:14px 30px;min-height:48px}.primary:hover{background:#084bb7;box-shadow:0 2px 6px #0b57d030}.radio-groups{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;border-top:1px solid #e8eaed;padding-top:24px;margin-top:4px}.radio-groups fieldset{margin:0;padding:0;border:0;min-width:0}.radio-groups legend{font-size:13px;font-weight:600;margin-bottom:12px;color:#202124;padding:0}.check-radio{display:flex;flex-direction:row;align-items:center;gap:10px;margin-bottom:12px;font-size:13px;font-weight:400;cursor:pointer}.check-radio input{appearance:none;width:18px;height:18px;min-height:0;padding:0;flex:0 0 18px;border:2px solid #747775;border-radius:3px;display:grid;place-content:center;cursor:pointer;box-shadow:none}.check-radio input:checked{background:var(--primary);border-color:var(--primary)}.check-radio input:checked::after{content:'';width:8px;height:4px;border-left:2px solid white;border-bottom:2px solid white;transform:rotate(-45deg) translateY(-1px)}.notice{color:#694f00;background:#fff4cc;border-radius:12px;padding:14px 16px;margin-top:16px;font-size:12px;line-height:1.6}#error{color:#b3261e;white-space:pre-line;font-size:13px;line-height:1.6;margin:16px 0 0}#error:empty{display:none}.muted{color:var(--muted);font-size:12px;line-height:1.6}#identifier{display:inline-block;background:#f0f4f9;border-radius:8px;padding:5px 10px;font-family:Consolas,monospace;font-size:11px;margin:12px 0 0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0}.stat{background:#f0f4f9;border-radius:16px;padding:18px 12px;border:0}.stat strong{display:block;font-size:26px;font-weight:450;letter-spacing:-.7px;margin-bottom:6px}.stat>span{display:flex;align-items:center;font-size:11px;color:var(--muted);white-space:nowrap}.info-button{background:transparent;border:0;margin-left:4px;padding:3px;color:var(--muted);font-size:15px;line-height:1;border-radius:50%}.info-button:hover{background:#d3e3fd;color:var(--primary)}.tabs{display:flex;border-bottom:1px solid #e3e6eb;gap:16px}.tabs button{position:relative;border:0;border-radius:8px 8px 0 0;background:none;padding:16px 12px;color:var(--muted);font-weight:500}.tabs button[aria-selected=true]{color:var(--primary)}.tabs button[aria-selected=true]::after{content:'';position:absolute;bottom:0;left:12px;right:12px;height:3px;background:var(--primary);border-radius:3px 3px 0 0}.actions{display:flex;align-items:center;gap:10px;margin:20px 0}.actions input{flex:1;min-height:42px;border-radius:24px;background:#f0f4f9;border-color:transparent;padding:11px 18px}pre{font-family:Consolas,'Courier New',monospace;background:#f8fafd;color:#344054;border:1px solid #e3e6eb;border-radius:16px;padding:20px;max-height:550px;overflow:auto;font-size:12px;line-height:1.8;tab-size:4;margin:0}.table-wrap{overflow:auto;border:1px solid #e3e6eb;border-radius:16px}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:14px;white-space:nowrap;border-bottom:1px solid #e8eaed}th{background:#f0f4f9;font-weight:600;color:#444746}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fafd}.pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px;font-size:12px;color:var(--muted)}.pagination button{border:0;padding:10px 16px}#result>.muted:last-child{margin:18px 0 0}dialog{border:0;border-radius:28px;padding:28px;width:min(400px,calc(100% - 32px));color:#202124;background:#f0f4f9;box-shadow:0 8px 28px #20212430}dialog::backdrop{background:#20212466}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.modal-heading h2{font-size:22px}.modal-heading button{border:0;background:transparent;color:var(--muted);font-size:24px;padding:4px 10px}#public-range{font-size:15px;margin:24px 0 4px}[hidden]{display:none!important}@media(min-width:1100px){.layout:not(.has-result) .fields{grid-template-columns:repeat(3,minmax(0,1fr))}.layout:not(.has-result) .wide{grid-column:span 2}.layout.has-result .output{position:sticky;top:24px}}@media(max-width:1000px){.layout:not(.has-result),body:has(.layout:not(.has-result)) .topbar{width:100%}.layout.has-result{grid-template-columns:minmax(0,1fr)}}@media(max-width:600px){header{padding:16px 16px 0}main{padding:18px 16px}.panel{padding:22px;border-radius:22px}.brand{font-size:18px;gap:8px}.brand-icon{width:34px;height:34px;border-radius:11px}.generation-counter{font-size:11px;padding:8px 10px;gap:6px}.topbar{gap:12px}.fields{grid-template-columns:1fr;gap:20px}.wide{grid-column:auto}.radio-groups{grid-template-columns:1fr;gap:16px}.stats{grid-template-columns:1fr 1fr}.actions{flex-wrap:wrap}.actions input{flex-basis:100%}.primary{width:100%}.pagination{flex-wrap:wrap}.pagination span{font-size:11px}h2{font-size:22px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

[aria-invalid=true]{border-color:#b3261e!important}#error:not(:empty){background:#fce8e6;border-radius:12px;padding:14px 16px}#error:focus{outline:none}

#comments-panel{padding-top:20px}.tabs{gap:4px}.tabs button{font-size:12px;padding-left:10px;padding-right:10px}

/* Superfícies e hierarquia visual */
:root{background:#eef2f7;--outline:#ccd4df;--muted:#647084}
body{background:radial-gradient(ellipse at 15% 0%,#e4edfc 0,transparent 45%),#eef2f7;min-height:100vh}
header{padding-top:26px}.topbar{padding-bottom:16px;border-bottom:1px solid #d8e0eb}.brand{font-weight:600;letter-spacing:-.8px}.brand-icon{background:#1559c7;color:white;box-shadow:0 5px 14px #1559c722;border-radius:12px}.product-badge{font-size:11px;letter-spacing:.5px;color:#53647b;border:1px solid #cdd8e7;border-radius:8px;padding:7px 10px;white-space:nowrap}
.panel{border-color:#dae2ec;border-radius:20px;box-shadow:0 8px 30px #253c5810,0 1px 3px #253c5808;padding:30px}.panel-heading{display:flex;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid #e6ebf2}.panel-heading h2{font-size:21px;font-weight:600;letter-spacing:-.5px}.section-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eaf1fd;color:#1559c7;font-size:11px;font-weight:700}.fields{margin-top:24px;gap:22px 20px}label{font-size:12px;color:#43516a;font-weight:600}input,select{background:#fbfcfe;border-radius:9px;border-color:#cdd6e3}input:focus,select:focus{background:white}.radio-groups{background:#f4f7fb;border:1px solid #e2e8f1;border-radius:12px;padding:18px 20px;gap:20px}.radio-groups legend{font-size:12px;color:#43516a}.primary{border-radius:10px;box-shadow:0 3px 8px #0b57d022}.stats{gap:12px}.stat{background:#f2f6fc;border:1px solid #e0e8f3;border-radius:12px;padding:18px 14px}.stat strong{color:#233d66;font-weight:600}.tabs button{font-weight:600}pre{background:#f5f7fb;border-radius:12px;border-color:#dfe6f0;color:#283e5b}.output .actions button{border-radius:9px}.table-wrap{border-radius:12px}th{background:#eaf0f9}td{font-variant-numeric:tabular-nums}.generation-counter{display:none}
@media(max-width:600px){.panel{padding:20px}.product-badge{font-size:10px;padding:6px}.brand{font-size:17px}.radio-groups{padding:18px}.panel-heading h2{font-size:20px}}

/* Identidade original e alinhamento compartilhado entre topo e conteúdo. */
:root{--primary:#155bd7}
body{background:radial-gradient(ellipse at 0 0,#dbeafe 0,transparent 50%),radial-gradient(ellipse at 100% 90%,#dcf5f1 0,transparent 45%),#eef3fa}
header{padding:26px 0 0}.header-shell{max-width:1728px;margin:auto;padding:0 24px}.topbar{max-width:none;width:100%;transition:width .35s ease}.layout{transition:width .35s ease;width:100%}.brand-logo{width:48px;height:48px;flex:none;filter:drop-shadow(0 4px 6px #155bd71c)}.brand-name{color:#153354!important;font-weight:700}.brand-subname{color:#287a94!important;font-weight:400}.product-badge{background:#e1efff;color:#1553a0;border-color:#c6ddf9}
.panel{border-top:3px solid #3275e5}.output{border-top-color:#0eaaa2}.section-mark{background:#e0edff;color:#155bd7}.output .section-mark{background:#d8f5ee;color:#08786e}.panel-heading{border-bottom-color:#dce7f6}.primary{background:linear-gradient(110deg,#155bd7,#087fa7)}.primary:hover{background:linear-gradient(110deg,#104fbe,#066e92)}.radio-groups{background:#edf4ff;border-color:#d8e6fb}.check-radio:has(input:checked) span{color:#1553a0;font-weight:600}.stat:nth-child(1){background:#e8f0ff;border-color:#d2e1ff}.stat:nth-child(2){background:#e1f5f0;border-color:#c6eae1}.stat:nth-child(2) strong{color:#08796b}.stat:nth-child(3){background:#f0eafe;border-color:#e2d6fb}.stat:nth-child(3) strong{color:#6b45a3}.stat:nth-child(4){background:#fff2df;border-color:#f3dfbd}.stat:nth-child(4) strong{color:#96621a}.tabs button[aria-selected=true]{background:#edf4ff}.info-button{color:inherit}
@media(max-width:1000px){body:has(.layout:not(.has-result)) .topbar{width:100%}}
@media(max-width:600px){header{padding:18px 0 0}.header-shell{padding:0 16px}.brand-logo{width:38px;height:38px}.brand{gap:9px}.product-badge{font-size:9px}.topbar{gap:8px}}
@media(prefers-reduced-motion:reduce){.topbar,.layout{transition:none}}

.input-tooltip{position:relative;display:block;min-width:0}.field-tooltip{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%) translateY(4px);background:#173454;color:#fff;border-radius:8px;padding:9px 13px;font-size:12px;font-weight:500;white-space:nowrap;box-shadow:0 4px 12px #17345425;opacity:0;visibility:hidden;transition:opacity .15s,transform .15s;z-index:10;pointer-events:none}.field-tooltip::after{content:'';position:absolute;top:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-top-color:#173454}.input-tooltip:hover .field-tooltip,.input-tooltip:focus-within .field-tooltip{visibility:visible;opacity:1;transform:translateX(-50%) translateY(0)}

.field{display:flex;flex-direction:column;gap:9px;min-width:0}.field-title{display:flex;align-items:center;gap:6px;min-height:16px}.label-help{position:relative;display:inline-flex}.label-info{border:0;background:transparent;padding:0;width:18px;height:18px;font-size:16px;line-height:18px;color:#376fba;display:grid;place-items:center;flex:none}.label-info:hover{background:#e0edff}.label-tooltip{position:absolute;bottom:calc(100% + 10px);left:0;width:max-content;max-width:min(280px,70vw);background:#173454;color:#fff;border-radius:9px;padding:11px 14px;font-size:12px;font-weight:400;line-height:1.6;box-shadow:0 4px 12px #17345425;z-index:20;visibility:hidden;opacity:0;pointer-events:none}.label-tooltip::after{content:'';position:absolute;top:calc(100% - 4px);left:14px;width:8px;height:8px;background:#173454;transform:rotate(45deg);border:0}.label-help:hover:not(.dismissed) .label-tooltip,.label-help:focus-within:not(.dismissed) .label-tooltip,.label-help.is-open .label-tooltip{visibility:visible;opacity:1}

select:disabled{background:#f4f5f7;border-color:#e2e4e7;color:#9aa0a6;cursor:default}
h1.brand-name{margin:0;font-size:inherit;line-height:inherit}
