*{box-sizing:border-box}body{margin:0;background:#f3f6f6;color:#162f40;font:16px/1.5 'Inter',Arial,sans-serif}header{height:72px;padding:0 max(5vw,calc((100vw - 1090px)/2));display:flex;align-items:center;justify-content:space-between;color:white;background:#142e3e}header span{font-size:14px;color:#c7d5da}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:650}.brand b{display:grid;place-items:center;width:37px;height:37px;border-radius:9px;background:#fff;color:#16334d;font:700 20px Georgia}main{max-width:1140px;margin:auto;padding:38px 25px 45px}h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.05em;margin:0;line-height:1.12}.intro,p,small{color:#526773}.intro{margin:10px 0 28px}.layout{display:grid;grid-template-columns:minmax(285px,.75fr) minmax(340px,1.35fr);gap:24px;align-items:start}section{background:#fff;border:1px solid #d3ddde;border-radius:16px}.controls{padding:26px}h2,h3{margin:0;letter-spacing:-.025em}h2{font-size:21px}h3{font-size:15px}.controls p{margin:8px 0 18px}button{font:inherit;cursor:pointer;border-radius:9px}button:focus-visible{outline:3px solid #509bd1;outline-offset:3px}.drop{width:100%;display:grid;justify-items:center;gap:5px;border:1.5px dashed #7faba6;background:#f0f8f6;padding:22px 8px;color:#14655c}.drop svg{margin-bottom:5px}.drop:hover,.drop.drag{background:#def2ed}.formats,.bar span,small,#status{font-size:14px}.controls .formats{margin:8px 0 22px}.details{border-top:1px solid #dce4e5;padding-top:20px}.template{display:flex;align-items:center;gap:12px;margin:12px 0 24px}.template img{height:52px;border:1px solid #ccd7d7;border-radius:3px}small{display:block}#download,#reset{width:100%;padding:11px;border:0;font-weight:650}#download{background:#12645c;color:#fff}#download:hover{background:#094f48}button:disabled{opacity:.5;cursor:wait}#reset{background:white;color:#17625c;margin-top:5px}#status{margin-top:12px;color:#4c656e}.preview{overflow:hidden}.bar{display:flex;align-items:center;justify-content:space-between;padding:15px 22px}.bar span{color:#5a6c77}.stage{padding:24px;display:grid;place-items:center;background-color:#e6edec;background-image:radial-gradient(#baccc9 1px,transparent 1px);background-size:12px 12px;border-top:1px solid #d2dedd}canvas{display:block;width:min(100%,355px);height:auto;box-shadow:0 5px 18px #223f4426}@media(max-width:720px){main{padding:26px 16px}.layout{grid-template-columns:1fr}.controls{padding:20px}header{padding:0 18px;height:60px}.stage{padding:20px}.intro{margin-bottom:18px}}
.primary{width:100%;background:#12645c;border:0;padding:12px;color:white;font-weight:650}.primary:hover{background:#094f48}.controls .shortcut{font-size:14px;margin:6px 0 15px;text-align:center}#download{background:white;color:#175950;border:1px solid #adc8c4;margin-top:8px}#download:hover{background:#eff6f5}dialog{width:min(420px,92vw);max-height:90vh;border:0;border-radius:14px;padding:22px;color:#162f40}dialog::backdrop{background:#152f4099}dialog img{display:block;max-width:100%;max-height:52vh;margin:0 auto 14px}dialog button{background:#12645c;color:white;padding:8px 20px;border:0}
