@font-face{font-family:Montserrat;src:url('assets/montserrat-400.ttf')}@font-face{font-family:Montserrat;src:url('assets/montserrat-500.ttf');font-weight:500}@font-face{font-family:Montserrat;src:url('assets/montserrat-600.ttf');font-weight:600}@font-face{font-family:Montserrat;src:url('assets/montserrat-700.ttf');font-weight:700}@font-face{font-family:Montserrat;src:url('assets/montserrat-800.ttf');font-weight:800}@font-face{font-family:Montserrat;src:url('assets/montserrat-900.ttf');font-weight:900}
:root{font-family:Montserrat,Arial,sans-serif;color:#182d3f;background:#f3f4f7;--ink:#172e43;--accent:#FF8C02;--border:#e1e4ec;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,label:has(input:focus-visible){outline:3px solid #168bdd;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}input[type=text],input[type=url],input:not([type]),input[type=number],select{width:100%;min-width:0}input[type=file]{max-width:100%}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.site-header{max-width:650px;margin:auto;padding:17px 22px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-weight:500;font-size:14px;letter-spacing:.5px}.brand b{font-weight:900}.brand-mark{width:30px;height:30px;border-radius:9px;background:#ffe935;display:grid;place-items:center;font-size:23px;font-weight:900;transform:rotate(-6deg)}.test-label{font-size:12px;color:#003891;background:#fff0dc;padding:6px 9px;border-radius:20px}.workspace{max-width:610px;margin:auto;padding:6px 16px 20px}.workspace-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:8px}.workspace-heading h1{font-size:14px;font-weight:600;color:#546477}.text-button{border:0;background:transparent;color:#003891;padding:8px 0;font-weight:600;font-size:14px;text-decoration:none;min-height:40px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:12px;min-height:46px;padding:12px 17px;font-size:15px;font-weight:700;text-decoration:none}.button:hover{filter:brightness(.96)}.dark{background:#192e43;color:white}.secondary{background:#eff5fc;color:#003891;border:1px solid #dbe5f0}.full{width:100%}.art-wrap{position:relative;aspect-ratio:3/4;width:100%;max-width:440px;margin:auto;background:#00499B;box-shadow:0 12px 35px #21314b21;border-radius:4px;overflow:hidden}#art{display:block;width:100%;height:auto}.art-actions{position:absolute;inset:0}.art-loading{position:absolute;inset:0;background:#00499B;display:grid;place-items:center;color:#fff;font-size:14px}.photo-action{position:absolute;left:61.5%;top:3.7%;width:29.4%;height:22.1%;border:0;border-radius:50%;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:6px;line-height:1.15}.photo-action.empty{background:#ffffff14}.photo-action-label{font-weight:800;font-size:clamp(11px,3vw,14px)}.photo-add{font-weight:600;font-size:36px;line-height:1.15;margin-bottom:4px}.photo-action.filled .photo-action-label{position:absolute;bottom:6%;font-size:12px;background:#16243ccb;padding:5px 9px;border-radius:20px;white-space:nowrap}.photo-action.filled .photo-add{display:none}.photo-action.cutout{border-radius:15px}.candidate-action{position:absolute;left:4.1667%;width:91.6667%;height:9.4444%;padding:0;border:0;border-radius:8px;background:transparent;display:flex;align-items:center;justify-content:center;color:#00283c;font-size:clamp(12px,3.4vw,16px);text-align:center;gap:7px;font-weight:700}.candidate-action.empty{background:linear-gradient(125deg,#fff,#f1effc)}.candidate-action .add-symbol{color:#1884a2;font-weight:800;font-size:22px}.candidate-action small{font-size:inherit;color:#187e9e}.candidate-action.filled .edit-indicator{position:absolute;right:1.3%;bottom:6%;font-size:10px;font-weight:700;color:#003891;background:#e6f1ff;padding:2px 5px;border-radius:5px}.candidate-action:hover{box-shadow:inset 0 0 0 2px #29a5bd}.candidate-action:focus-visible{outline-offset:-3px}.style-controls{max-width:440px;margin:14px auto 0}.palette-group{padding:0;border:0;margin:0 0 13px}.palette-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.palette-options label{position:relative;cursor:pointer;min-width:0;text-align:center}.palette-options input{position:absolute;opacity:0;width:1px;height:1px}.palette{height:29px;display:grid;place-items:center;border-radius:8px;outline-offset:3px}.palette.orange{background:linear-gradient(130deg,#FF980E,#FF8C02)}.palette.lightblue{background:linear-gradient(130deg,#21b3d0,#0583a7)}.palette.darkblue{background:linear-gradient(130deg,#075cb1,#071e50)}.palette i{display:none;font-style:normal;font-weight:800;color:white}.palette-options input:checked+.palette{outline:2px solid #32475d}.palette-options input:checked+.palette i{display:block}.palette-options strong{display:block;font-weight:600;font-size:12px;line-height:1.5;margin-top:7px}.edit-toolbar{display:flex;gap:10px;margin-bottom:10px}.edit-toolbar .button{flex:1;background:#fff;font-size:14px;min-height:42px;padding:10px}.size-note{font-size:12px;color:#78828e;text-align:center;margin-top:9px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.6px;color:#003891;display:block;margin-bottom:5px}
dialog{border:1px solid #ece6f0;border-radius:21px;padding:24px;width:min(580px,calc(100vw - 28px));max-height:92dvh;overflow:auto;color:var(--ink);box-shadow:0 22px 100px #1313273d;overscroll-behavior:contain}dialog::backdrop{background:#16162891;backdrop-filter:blur(4px)}body:has(dialog[open]){overflow:hidden}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.dialog-head h2{font-size:22px;line-height:1.2;letter-spacing:-.5px}.icon-button{border:0;background:#f3f0f6;width:44px;height:44px;flex-shrink:0;border-radius:50%;color:#4e3564;font-size:28px}.candidate-dialog[open]{display:flex;flex-direction:column;max-height:90dvh;padding-bottom:18px}.candidate-dialog .dialog-head,.dialog-actions{flex-shrink:0}.candidate-options{overflow-y:auto;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:3px;align-content:start;overscroll-behavior:contain}.candidate-choice{border:1px solid #e2dce9;background:#fff;border-radius:13px;padding:7px;color:var(--ink);text-align:left;display:flex;flex-direction:column;gap:5px;min-width:0}.candidate-choice.selected{border:2px solid #784c99;background:#f6eefc}.candidate-choice strong{font-size:14px;line-height:1.25;overflow-wrap:anywhere}.candidate-choice small{font-size:17px;font-weight:800;color:#533077;display:flex;flex-wrap:wrap;gap:4px}.candidate-choice small span{font-size:10px}.candidate-party{font-size:12px;color:#6c7783}.candidate-choice:disabled{cursor:default}.avatar{display:grid;place-items:center;width:100%;aspect-ratio:1;position:relative;overflow:hidden;border-radius:8px;background:#f0f1f7;font-weight:700;color:#7c7390}.avatar canvas{position:absolute;inset:0;width:100%;height:100%}.dialog-actions{padding-top:15px;margin-top:14px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:4px}.dialog-actions .button{font-size:14px;padding:11px}.field{display:block;font-size:14px;font-weight:600;margin:0 0 16px;line-height:1.5}.field input,.field select{display:block;width:100%;border:1px solid #d8dce6;border-radius:9px;padding:11px 12px;margin-top:7px;font-size:16px;color:#193448;background:#fff}.field input[type=file]{padding:9px;font-size:14px;font-weight:400}.helper-text{font-size:14px;color:#647587;line-height:1.5;margin-bottom:14px}.error-message{color:#b42945;font-size:14px;line-height:1.5;margin:12px 0}.error-message:empty{display:none}.photo-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border:0;padding:0;margin:18px 0}.photo-options label{position:relative;text-align:center;padding:10px 5px;border:1px solid #ded9e5;border-radius:10px;cursor:pointer}.photo-options input{margin:0 0 7px;accent-color:#67257a}.photo-options strong{font-size:13px;display:block;line-height:1.5}.photo-options label:has(input:checked){border-color:#702884;background:#f6eefa}.photo-options small,.option-visual{display:none}.photo-live-preview{position:sticky;top:-24px;background:#fff;z-index:2;border-bottom:1px solid #ece5f0;padding-bottom:10px}.photo-live-preview canvas{display:block;width:100%;height:auto;border-radius:8px}.upload-zone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:125px;border:2px dashed #b9b0cc;background:#f8f5fc;border-radius:12px;padding:16px;gap:7px;text-align:center}.upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.upload-zone strong{font-size:15px}.upload-zone span,.upload-zone small{font-size:12px;color:#727489}.upload-icon{display:none}.photo-loaded{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:13px;margin-top:10px}.photo-loaded>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.range-label{display:flex;justify-content:space-between;font-size:14px;margin-top:14px}input[type=range]{width:100%;height:34px;accent-color:#74388c}.panel-tip{display:flex;gap:8px;font-size:12px;line-height:1.5;color:#798591;margin:16px 0}.panel-tip svg{width:16px}.cutout-help{padding:14px;background:#f4ecfa;border-radius:10px;margin-bottom:14px;font-size:14px;line-height:1.5}.cutout-help p{margin:7px 0;font-size:14px}.cutout-progress{font-weight:700}.no-photo-help{font-size:14px;line-height:1.6;margin:10px 0 18px}.text-edit-layout{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;align-items:start}#text-preview{width:100%;height:auto;position:sticky;top:0;border-radius:5px}.switch-row{display:flex;align-items:center;gap:9px;font-size:14px;margin:0 0 18px}.switch-row input{width:19px;height:19px;accent-color:#74388c}.large-preview{padding:8px;background:transparent;border:0;width:min(720px,96vw)}.large-preview .close-dialog{position:fixed;right:18px;top:18px;z-index:5}#large-art{display:block;width:100%;height:auto}.export-image{display:block;max-height:45dvh;max-width:100%;width:auto;margin:0 auto 16px;border-radius:7px}.export-actions{display:flex;gap:10px;margin:15px 0}.export-actions .button{flex:1}.export-tip{border-top:1px solid var(--border);padding-top:14px}.export-test{padding:12px;background:#fff2cb;border-radius:8px;font-size:14px}.custom-photo-preview{display:flex;gap:12px;align-items:center;font-size:14px;margin:0 0 16px}.custom-photo-preview .avatar{width:75px;flex-shrink:0}.online-photo-result{padding:16px;margin:15px 0;background:#f5f0fa;border-radius:12px;text-align:center}.online-photo-result img{width:144px;height:144px;object-fit:cover;border-radius:10px;display:block;margin:10px auto}.online-photo-result strong,.online-photo-result a{display:block;margin:7px 0;overflow-wrap:anywhere;font-size:14px}.online-photo-result p{font-size:14px;line-height:1.5;white-space:pre-line}.online-photo-result h3{font-size:19px;margin:14px 0}.online-photo-help{margin-top:10px}#toast{position:fixed;left:50%;bottom:20px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100;background:#162e42;color:#fff;padding:13px 20px;border-radius:12px;max-width:calc(100vw - 28px);width:max-content;font-size:14px;line-height:1.5;transition:opacity .2s,transform .2s;box-shadow:0 10px 35px #00152e33}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:700px){.art-wrap{max-width:min(440px,calc((100svh - 272px)*.75));min-width:330px}.style-controls{max-width:440px}.workspace-heading{max-width:440px;margin-left:auto;margin-right:auto}}
@media(max-width:420px){.site-header{padding:12px 14px 6px}.workspace{padding:0 12px 16px}.workspace-heading{margin-bottom:5px}.workspace-heading h1{font-size:13px}.test-label{font-size:11px}dialog{padding:18px;width:calc(100vw - 20px);border-radius:17px}.candidate-options{grid-template-columns:repeat(2,minmax(0,1fr))}.dialog-head h2{font-size:20px}.photo-live-preview{top:-18px}.photo-action-label{font-size:12px}.photo-add{font-size:30px}.text-edit-layout{grid-template-columns:95px minmax(0,1fr);gap:12px}.text-fields .field{font-size:13px}.text-fields input{padding:10px 8px}.export-actions{flex-direction:column}.candidate-action{gap:5px;font-size:12px}.candidate-action .add-symbol{font-size:20px}.candidate-action small{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Size the on-art instruction with its actual card, including narrow phones. */
.art-wrap{container-type:inline-size}.photo-action-label{font-size:clamp(9px,3cqw,14px);white-space:nowrap}.photo-add{font-size:clamp(22px,7.5cqw,32px)}
.photo-header-wrap{position:relative}#photo-adjust-drag{position:absolute;touch-action:none;cursor:grab;border-radius:50%}#photo-adjust-drag:active{cursor:grabbing}dialog #toast{position:sticky;left:auto;bottom:0;transform:none;width:auto;max-width:100%;margin-top:10px;display:none;box-shadow:none}dialog #toast.visible{display:block;transform:none}
