*{box-sizing:border-box} :root{font-family:Inter,Arial,Helvetica,sans-serif;color:#15241d;background:#f4f6f5;font-synthesis:none;--green:#123e29;--lime:#caff70;--line:#dce4df;--muted:#607067}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,.upload-tile:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #19a36d;outline-offset:4px} [hidden]{display:none!important}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 max(32px,calc((100vw - 1420px)/2));background:white}.brand{display:flex;align-items:center;text-decoration:none;font-weight:500;font-size:25px;letter-spacing:-1px}.brand>span:not(.brand-mark):not(.brand-period){font-weight:800}.brand-period{color:#1b985c;font-weight:800}.brand-mark{display:grid;place-items:center;width:33px;height:33px;background:var(--green);color:var(--lime);border-radius:9px;margin-right:10px;font-size:22px;font-weight:bold}.test-badge{font-size:14px;border:1px solid var(--line);border-radius:100px;padding:9px 14px;color:var(--muted)}.workspace{max-width:1420px;margin:0 auto;display:grid;grid-template-columns:350px minmax(0,1fr);gap:56px;padding:38px 32px 30px}.intro{margin-bottom:30px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.9px;color:#6b7d72;margin:0 0 12px;line-height:1.5}.intro h1{font-size:41px;line-height:1.04;letter-spacing:-1.8px;margin:0 0 14px;font-weight:800}.intro h1 span{color:#149260}.intro>p:last-child{font-size:16px;line-height:1.5;color:var(--muted);margin:0}fieldset{border:0;padding:0;margin:0 0 26px;min-width:0}legend{font-size:16px;font-weight:700;margin-bottom:14px;padding:0;display:flex;align-items:center;gap:9px}.step{width:23px;height:23px;border:1px solid #c3d2c8;border-radius:50%;font-size:12px;display:inline-grid;place-items:center;color:#45634f}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photo-item{min-width:0}.upload-tile{width:100%;aspect-ratio:1;border:1.5px dashed #b7cabe;background:white;border-radius:14px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;cursor:pointer;transition:border-color .15s,background .15s}.upload-tile:hover{border-color:#208356;background:#eff9f3}.upload-tile.has-photo{border:1.5px solid #bed2c5;cursor:grab;touch-action:none}.upload-tile.has-photo:active{cursor:grabbing}.upload-placeholder{display:grid;text-align:center;justify-items:center;gap:6px;font-size:12px;color:#728279;padding:8px}.upload-placeholder strong{font-size:14px;font-weight:600;color:#263e31}.plus{width:32px;height:32px;border-radius:50%;background:#edf4ef;color:#398156;display:grid;place-items:center;font-size:25px;margin-bottom:2px}.photo-caption{position:absolute;bottom:8px;left:8px;background:rgba(10,28,19,.74);color:white;font-size:12px;border-radius:6px;padding:5px 7px;pointer-events:none}.crop-canvas{display:block;width:100%;height:100%;touch-action:none}.file-input{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}.photo-item:has(.file-input:focus-visible) .upload-tile{outline:3px solid #19a36d;outline-offset:4px}.crop-controls{padding-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:5px;justify-content:space-between}.crop-controls label{font-size:12px;margin:0;line-height:1.5}.crop-controls input{width:calc(100% - 65px);min-width:40px;accent-color:var(--green);margin:0;height:20px;padding:0;box-shadow:none}.text-button{background:none;border:0;color:#275f3e;font-size:12px;padding:3px 0;text-decoration:underline;text-underline-offset:3px}.field-note{font-size:12px;color:var(--muted);line-height:1.65;margin:10px 0 0}label:not(.upload-tile){display:block;font-size:14px;font-weight:600;margin:0 0 7px}input:not([type=file]):not([type=range]),select{width:100%;height:46px;border:1px solid #cfdad3;border-radius:9px;background:white;padding:0 12px;color:#1d3527;font-size:14px;min-width:0}input::placeholder{color:#839389}input[aria-invalid=true],select[aria-invalid=true]{border-color:#c04545;background:#fff7f7}.field-row{display:grid;grid-template-columns:minmax(0,1fr) 87px;gap:10px;margin-top:16px}.number-field input{font-weight:700;letter-spacing:.5px}.extra-fields{margin-top:17px;border-top:1px solid var(--line);padding-top:13px}.extra-fields summary{font-size:13px;color:#52715d;cursor:pointer}.details-body{padding-top:6px}.details-body .field-note{margin-bottom:14px}.details-body input{margin-bottom:14px}.form-error{font-size:14px;color:#a93434;line-height:1.5;margin:0 0 12px}.generate-button{border:0;background:var(--green);color:#fff;width:100%;min-height:49px;border-radius:10px;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:9px;transition:background .15s}.generate-button:hover{background:#1e573a}.generate-button:disabled{opacity:.6}.grid-icon{font-size:25px;font-weight:400;line-height:1}.privacy-note{display:flex;align-items:flex-start;gap:6px;justify-content:center;font-size:12px;color:#738378;margin:13px 0 0;line-height:1.55}.privacy-note svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;margin-top:1px}.results{min-width:0}.results-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:22px}.results-heading .eyebrow{margin-bottom:7px}.results-heading h2{font-size:26px;line-height:1.2;letter-spacing:-.7px;margin:0;font-weight:750}.format-badge{font-size:12px;color:#708476;white-space:nowrap;border:1px solid #d6e1d9;padding:6px 9px;border-radius:6px;margin-bottom:2px}.models{display:grid;grid-template-columns:1fr 1fr;gap:20px}.model-card{text-align:left;border:1px solid #d9e3dc;background:white;padding:8px;border-radius:16px;min-width:0;width:100%;transition:border-color .15s,box-shadow .15s;position:relative;color:#213a2b}.model-card.selected{border-color:#208455;box-shadow:0 0 0 1.5px #208455}.model-card:hover{border-color:#208455}.card-image{display:block;aspect-ratio:1;position:relative;border-radius:10px;overflow:hidden;background:#ebf0ed}.card-image canvas{width:100%;height:auto;display:block}.selection-check{position:absolute;top:10px;right:10px;width:27px;height:27px;border:2px solid white;border-radius:50%;background:#0c7348;color:white;display:none;place-items:center;font-size:17px;box-shadow:0 1px 4px #0002}.selected .selection-check{display:grid}.card-caption{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 5px;gap:8px}.card-caption strong{display:block;font-size:12px;color:#8a998f;line-height:1.5;font-weight:500}.card-caption strong span{font-size:16px;color:#243d2d;font-weight:700;margin-left:7px}.card-caption small{display:block;font-size:12px;line-height:1.5;color:#73867a;margin-top:2px}.swatches{display:flex;flex-shrink:0;gap:4px}.swatches i{display:block;width:13px;height:13px;border-radius:50%;background:var(--swatch);border:1px solid #0002}.download-bar{background:white;border:1px solid #d9e3dc;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;margin-top:22px}.download-description{display:flex;flex-direction:column;min-width:0;gap:5px}.download-description strong{font-size:15px}.download-description span{font-size:12px;color:var(--muted);line-height:1.5}.download-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.view-button{background:white;border:1px solid #d0ddd4;color:#335f43;border-radius:8px;min-height:43px;padding:0 14px;font-size:14px;font-weight:600}.view-button:hover{background:#f3f8f5}.download-button{background:var(--lime);color:#163020;border:0;border-radius:8px;min-height:43px;padding:10px 16px;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}.download-button:hover{background:#b8ee59}.download-button:disabled{background:#edf1ee;color:#8b9b90}.download-button svg{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.test-note{font-size:12px;line-height:1.6;color:#73867a;margin:12px 2px 0}.footer{max-width:1420px;margin:0 auto;display:flex;justify-content:space-between;gap:16px;padding:20px 32px 27px;border-top:1px solid var(--line);font-size:12px;color:#7b8e80}.footer a{text-decoration:underline;text-underline-offset:3px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);border-radius:10px;background:#163b29;color:white;padding:13px 19px;font-size:14px;box-shadow:0 4px 24px #0003;z-index:40;line-height:1.5}.toast.error{background:#962f2f}dialog{border:0;padding:18px;border-radius:17px;width:min(600px,calc(100vw - 28px));max-height:92dvh;overflow:auto;box-shadow:0 10px 80px #0003}dialog::backdrop{background:#091c18bb;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}.dialog-heading h2{margin:0;font-size:19px}.close-button{font-size:27px;color:#345a43;border:0;background:#edf3ef;display:grid;place-items:center;width:36px;height:36px;border-radius:8px}.dialog-heading+canvas{width:100%;height:auto;display:block;border-radius:10px}dialog>p{font-size:13px;color:var(--muted);margin:12px 0;line-height:1.5}dialog>.download-button{width:100%}@media(min-width:1500px){.workspace{gap:72px;padding-top:46px}.models{gap:24px}}@media(max-width:1130px){.workspace{grid-template-columns:310px minmax(0,1fr);gap:32px;padding:30px 24px}.topbar{padding:0 24px}.intro h1{font-size:36px}.results-heading h2{font-size:23px}.models{gap:14px}.card-caption small{font-size:12px}.swatches{display:none}.download-bar{align-items:flex-start;flex-direction:column}.download-actions{width:100%;justify-content:flex-end}.format-badge{display:none}}@media(max-width:820px){.workspace{gap:24px;grid-template-columns:280px minmax(0,1fr)}.models{grid-template-columns:1fr}.intro h1{font-size:34px}.results-heading{margin-bottom:17px}.results-heading h2{font-size:22px}.card-caption small{font-size:12px}.download-actions{flex-wrap:wrap}.view-button{flex:1}.download-button{flex:2}}@media(max-width:640px){.topbar{height:68px;padding:0 18px}.brand{font-size:22px}.brand-mark{width:30px;height:30px;font-size:19px;margin-right:8px}.test-badge{font-size:12px;padding:6px 8px}.workspace{display:block;padding:26px 18px 28px}.intro{margin-bottom:24px}.intro h1{font-size:37px}.intro h1 br{display:none}.intro>p:last-child{font-size:15px}.photo-grid{gap:14px}.upload-tile{max-height:210px}.photo-fields{margin-bottom:24px}.candidate-fields{margin-bottom:22px}.results{margin-top:36px;border-top:1px solid var(--line);padding-top:26px}.results-heading{align-items:center;margin-bottom:18px}.results-heading h2{font-size:23px}.results-heading .eyebrow{font-size:12px}.models{grid-template-columns:1fr 1fr;gap:12px}.model-card{padding:5px;border-radius:12px}.card-image{border-radius:7px}.card-caption{padding:8px 3px 3px}.card-caption strong{font-size:12px}.card-caption strong span{font-size:14px;margin-left:4px}.card-caption small{font-size:12px;line-height:1.4;margin-top:4px}.selection-check{width:23px;height:23px;font-size:14px;top:7px;right:7px}.download-bar{margin-top:18px;padding:15px;gap:14px}.download-actions{flex-wrap:nowrap;gap:8px}.download-button{padding:10px;font-size:13px}.view-button{font-size:13px}.footer{padding:18px;flex-direction:column;gap:9px}.privacy-note{font-size:12px}.toast{bottom:16px}}@media(max-width:360px){.brand{font-size:19px}.test-badge{font-size:12px}.intro h1{font-size:32px}.models{grid-template-columns:1fr}.card-caption small{font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media(prefers-contrast:more){:root{--muted:#31483a}.field-note,.test-note,.privacy-note,.card-caption small{color:#31483a}}
textarea{font:inherit;width:100%;min-height:92px;resize:vertical;border:1px solid #cfdad3;border-radius:9px;background:white;padding:11px 12px;color:#1d3527;font-size:14px;line-height:1.5}textarea::placeholder{color:#839389}textarea:focus-visible{outline:3px solid #19a36d;outline-offset:4px}textarea[aria-invalid=true]{border-color:#c04545;background:#fff7f7}.primary-party,.message-field{margin-top:17px}.optional{font-size:12px;font-weight:400;color:var(--muted);margin-left:5px}.message-field .field-note{margin-top:5px}label.consent{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;font-weight:400;font-size:14px;line-height:1.5;margin:0}.consent input[type=checkbox]{appearance:auto;accent-color:var(--green);width:19px;height:19px;min-height:0;padding:0;margin:2px 0 0;border-radius:3px;cursor:pointer}.consent-note{font-size:12px;line-height:1.6;color:var(--muted);margin:7px 0 23px 30px}.responsibility+.consent-note{margin-bottom:17px}.photo-fields:disabled .upload-tile{opacity:.5;cursor:not-allowed;background:#eaf0ec}.generation-status{font-size:14px;line-height:1.5;background:#eaf5ef;color:#245039;border-radius:8px;padding:12px;margin:0 0 12px}.model-shell{min-width:0}.model-palette{display:flex;align-items:center;justify-content:flex-end;gap:17px;padding:10px 7px 0}.model-palette label{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:400;color:#52695a;margin:0}.model-palette input[type=color]{appearance:none;-webkit-appearance:none;display:block;width:32px;height:32px;min-width:32px;padding:3px;border:1px solid #bac9c0;border-radius:50%;cursor:pointer;background:white}.model-palette input[type=color]::-webkit-color-swatch-wrapper{padding:0}.model-palette input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}.model-palette input[type=color]::-moz-color-swatch{border:0;border-radius:50%}.model-card:disabled{cursor:not-allowed;border-color:#d9e3dc;box-shadow:none;opacity:.6}.model-card:disabled:hover{border-color:#d9e3dc}@media(max-width:1130px){.model-palette{gap:12px;padding-left:2px;padding-right:2px;justify-content:space-between}.model-palette label{gap:5px}}@media(max-width:640px){.model-palette{gap:6px;flex-wrap:wrap;padding-top:8px}.model-palette label{font-size:12px;gap:4px}.model-palette input[type=color]{width:30px;height:30px;min-width:30px}.consent-note{margin-bottom:20px}.responsibility+.consent-note{margin-bottom:16px}}@media(prefers-contrast:more){.model-palette label,.consent-note{color:#31483a}}

/* Photo sizing and the equally weighted presidential photo library. */
.crop-controls{display:block}.crop-controls label{font-size:14px;margin-bottom:5px}.crop-controls input[type=range]{display:block;width:100%;height:26px}.photo-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}.photo-tools .text-button{font-size:12px;line-height:1.5}
.models{align-items:start}.model-card{cursor:pointer}.card-image canvas.can-edit{touch-action:none;cursor:grab}.card-image canvas.dragging{cursor:grabbing}.card-image canvas:focus-visible{outline:3px solid #19a36d;outline-offset:-4px}.upload-tile.has-photo{touch-action:auto;cursor:pointer}.model-photo-controls{padding:12px 7px 8px}.photo-size{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;margin-bottom:10px}.photo-size label{grid-column:1/-1;display:flex;justify-content:space-between;margin:0;font-size:13px;color:#405c4b}.photo-size output{font-weight:400}.photo-size input[type=range]{width:100%;min-width:0;min-height:28px;accent-color:#17633d;padding:0;cursor:pointer}.center-photo{border:1px solid #c6d7cd;border-radius:7px;background:white;color:#285b3b;font-size:12px;padding:3px 7px}.center-photo:disabled{opacity:.5}.edit-targets{display:flex;gap:7px}.edit-targets button{flex:1;border:1px solid #bacfc1;background:white;color:#285b3b;border-radius:7px;padding:8px;font-size:12px}.edit-targets button[aria-pressed=true]{background:#e0f2dd;border-color:#287b42;font-weight:700}.edit-hint{font-size:12px;line-height:1.5;color:#52695a;margin:8px 0 0}.model-card[aria-disabled=true]{opacity:.6;cursor:not-allowed}@media(max-width:640px){.models{grid-template-columns:1fr;gap:22px}.model-card{padding:7px}.card-caption strong{font-size:14px}.card-caption small{font-size:13px}.model-palette label{font-size:13px}.model-photo-controls{padding:12px 7px}.photo-size label{font-size:14px}.center-photo{padding:5px 10px;min-height:34px}.edit-targets button{font-size:13px;min-height:38px}.format-badge{display:none}}
.results-heading h2.eyebrow{font-size:14px;letter-spacing:1.7px;line-height:1.5;color:#52695a;margin:0;font-weight:800}.president-picker{margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}.president-choice{width:100%;border:1px solid #bacfc1;background:#fff;color:#27583b;border-radius:9px;min-height:42px;padding:9px 12px;font-size:14px;font-weight:650}.president-choice:hover{background:#edf7f0}.selected-president{font-size:14px;color:#285d3d;margin-top:9px;font-weight:700;line-height:1.4}
.president-shortcuts{display:flex;gap:8px;overflow-x:auto;padding:3px 3px 10px;margin:0 -3px 8px;scroll-snap-type:x proximity;max-width:100%}.president-card{border:1px solid #d4dfd7;border-radius:10px;background:#fff;padding:5px;text-align:center;color:#253e2e;display:flex;flex-direction:column;gap:7px;align-items:center;min-width:0}.president-card:hover{border-color:#278957;background:#eff8f2}.president-card img{display:block;width:100%;height:125px;object-fit:cover;object-position:center top;border-radius:6px;background:#f0f3f1}.president-card span{display:block;font-size:12px;line-height:1.3;font-weight:650;overflow-wrap:anywhere}.president-card[aria-busy=true]{opacity:.55}.president-shortcuts .president-card{flex:0 0 82px;scroll-snap-align:start}.president-shortcuts .president-card img{height:82px}.president-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.picker-description{font-size:14px;line-height:1.5;color:#52695a}.picker-source{font-size:12px;line-height:1.55;color:#607067}.picker-source a{text-underline-offset:3px}#president-dialog{width:min(680px,calc(100vw - 28px))}
@media(max-width:480px){.president-list{grid-template-columns:repeat(3,minmax(0,1fr))}.president-card img{height:110px}.results-heading h2.eyebrow{font-size:13px}.photo-tools{gap:5px;justify-content:space-between}}
.model-card[data-model=chamada] .card-image,.model-card[data-model=ligacao] .card-image{aspect-ratio:9/16;width:min(100%,32.625svh,349px);margin-inline:auto}.crop-canvas{touch-action:auto}

/* Twelve numbered presidential portraits, with four balanced shortcuts. */
.president-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:8px;margin:0 0 8px;padding:3px 0 10px}.president-shortcuts .president-card{width:100%}.president-card img{object-fit:contain}.president-card small{font-size:12px;color:#52695a;font-weight:600}.president-card:focus-visible{outline:3px solid #17633d;outline-offset:2px}.president-list{display:block}.president-group+ .president-group{margin-top:24px}.president-group h3{font-size:17px;margin:16px 0 12px;color:#285b3b}.president-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.president-shortcuts .president-card span{font-size:11px}.president-shortcuts .president-card img{height:88px}.president-card small{margin-top:auto}@media(max-width:380px){.president-shortcuts{gap:5px}.president-shortcuts .president-card{padding:4px}.president-shortcuts .president-card img{height:76px}.president-shortcuts .president-card span,.president-shortcuts .president-card small{font-size:10px}}

.models-pending .selection-check{visibility:hidden}.models-pending .model-card{cursor:default}.view-button:disabled,.edit-targets button:disabled{opacity:.5;cursor:default}
