.office-page .stmp-workspace{padding:28px;min-width:0}.stmp-studio{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:32px;align-items:start}.stmp-studio>*{min-width:0}.stmp-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:22px}.stmp-section-head h2{margin:0;font-size:20px;color:#163a4b}.stmp-section-head>span{font-size:12px;color:#385f55;background:#e9f4ee;border-radius:20px;padding:5px 10px}.stmp-field{display:flex;flex-direction:column;gap:8px;min-width:0}.stmp-field>label,.stmp-controls legend,.stmp-presets legend,.stmp-backgrounds legend{font-size:14px;font-weight:700;color:#294758}.stmp-field input[type=text],.stmp-field select{font:inherit;font-size:15px;min-width:0;width:100%;min-height:46px;padding:11px 12px;background:#fff;border:1px solid #becdd8;border-radius:9px;color:#183b50}.stmp-field input[type=text]{font-size:21px;letter-spacing:.02em;line-height:1.5}.stmp-field input[aria-invalid=true]{border-color:#b91c1c}.stmp-name-field{margin-bottom:24px}.stmp-help-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.stmp-help,.stmp-help-row p,.stmp-preview-figure figcaption{margin:0;font-size:12px;line-height:1.65;color:#52697b;overflow-wrap:anywhere}.stmp-help-row output{flex-shrink:0;color:#52697b;font-size:12px;line-height:1.65;font-variant-numeric:tabular-nums}.stmp-settings fieldset,.stmp-backgrounds{border:0;padding:0;margin:0;min-width:0}.stmp-settings legend,.stmp-backgrounds legend{padding:0;margin-bottom:10px}.stmp-presets .stmp-help{margin:0 0 12px}.stmp-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:25px}.office-page .stmp-preset{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;min-height:93px;padding:13px 5px 10px;border:1px solid #d3dee7;border-radius:10px;background:#fff;color:#315267;font-size:12px;line-height:1.4;overflow-wrap:anywhere;cursor:pointer}.office-page .stmp-preset:hover,.office-page .stmp-preset[aria-pressed=true]{border-color:#385f91;background:#f0f5fb}.office-page .stmp-preset[aria-pressed=true]{box-shadow:0 0 0 1px #385f91}.stmp-preset-mark{display:block;width:33px;height:33px;border:2px solid #b91c1c;border-radius:50%;position:relative}.stmp-preset-double:after,.stmp-preset-square:after{content:"";position:absolute;inset:3px;border:1px solid #b91c1c;border-radius:inherit}.stmp-preset-ellipse{width:38px;height:27px;margin:3px 0}.stmp-preset-square{border-radius:0}.stmp-preset-minimal{border:1px solid #334155;border-radius:5px;background:linear-gradient(#334155,#334155) 6px 12px/4px 7px no-repeat,linear-gradient(#334155,#334155) 13px 12px/4px 7px no-repeat,linear-gradient(#334155,#334155) 20px 12px/4px 7px no-repeat}.stmp-preset-traditional{border-radius:0;border-width:2px}.stmp-preset-traditional:before{content:"";position:absolute;inset:3px;border:1px solid #b91c1c}.stmp-preset-traditional:after{content:"";position:absolute;inset:7px;background:linear-gradient(#b91c1c,#b91c1c) 2px 0/3px 17px no-repeat,linear-gradient(#b91c1c,#b91c1c) 12px 0/3px 17px no-repeat}.stmp-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}.stmp-full{grid-column:1/-1}.stmp-color-field{flex-direction:row;justify-content:space-between;align-items:center}.stmp-field input[type=color]{width:72px;height:42px;border:1px solid #becdd8;border-radius:8px;padding:4px;background:#fff;cursor:pointer}.stmp-range-field>label{display:flex;justify-content:space-between;gap:12px}.stmp-range-field label>span{font-size:12px;font-weight:400;color:#52697b;white-space:nowrap;font-variant-numeric:tabular-nums}.stmp-field input[type=range]{display:block;width:100%;height:28px;margin:0;accent-color:#2d5d7b;cursor:pointer}.office-page .stmp-reset{margin-top:25px;padding:10px 16px;border:1px solid #bfceda;border-radius:9px;background:#fff;color:#284d63;font:inherit;font-size:14px;cursor:pointer}.stmp-preview-panel{padding:22px;background:#f6f9fc;border:1px solid #e0e8ef;border-radius:16px}.stmp-preview-panel .stmp-section-head{margin-bottom:16px}.stmp-preview-figure{margin:0 0 20px;min-width:0}.stmp-preview{width:100%;aspect-ratio:1;overflow:hidden;background:repeating-conic-gradient(#e5eaf0 0% 25%,#fff 0% 50%) 0/24px 24px;border:1px solid #cfdae3;border-radius:12px}.stmp-preview[data-background=white]{background:#fff}.stmp-preview[data-background=dark]{background:#25313d}.stmp-preview canvas{display:block;width:100%;height:auto;max-width:100%;aspect-ratio:1;background:transparent}.stmp-preview-figure figcaption{margin-top:9px}.stmp-bg-options{display:flex;flex-wrap:wrap;gap:8px 16px}.stmp-bg-options label{display:flex;align-items:center;gap:6px;font-size:13px;color:#294758;min-height:32px;cursor:pointer}.stmp-bg-options input{width:17px;height:17px;margin:0;accent-color:#2d5d7b}.stmp-export{margin-top:22px;padding-top:20px;border-top:1px solid #d8e2eb}.stmp-export>.stmp-help{margin-top:9px}.stmp-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:17px}.office-page .stmp-downloads button{min-width:0;min-height:46px;white-space:normal;overflow-wrap:anywhere;line-height:1.45;padding:12px 10px;border:1px solid #9cb5c8;border-radius:9px;background:#fff;color:#254c68;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.office-page .stmp-downloads .ed-primary{background:#1d526f;border-color:#1d526f;color:#fff}.office-page .stmp-downloads button:disabled{opacity:.45;cursor:not-allowed}.office-page .stmp-status{margin:14px 0 0;min-height:1.7em;font-size:13px;overflow-wrap:anywhere}.office-page .stmp-local-note{margin:24px 0 0;padding-top:18px;border-top:1px solid #e2e9ef}.stmp-workspace :focus-visible{outline:3px solid #8ab1ef;outline-offset:3px}@media(min-width:1000px){.stmp-preview-panel{position:sticky;top:24px}}@media(max-width:760px){.office-page .stmp-workspace{padding:20px}.stmp-studio{grid-template-columns:minmax(0,1fr);gap:28px}.stmp-preview-panel{width:100%;max-width:540px;justify-self:center;padding:18px}.stmp-section-head h2{font-size:18px}.stmp-control-grid{gap:16px 12px}}@media(max-width:380px){.office-page .stmp-workspace{padding:14px}.stmp-preview-panel{padding:13px}.stmp-preset-grid{gap:6px}.stmp-control-grid{grid-template-columns:minmax(0,1fr)}.stmp-downloads{grid-template-columns:minmax(0,1fr)}}

.stmp-mobile-preview,.stmp-mobile-back{display:none}
.stmp-settings,.stmp-preview-panel{scroll-margin-top:16px}
.stmp-input-error{margin:0;color:#b91c1c;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.stmp-help-row output[data-error=true]{color:#b91c1c;font-weight:700}
.stmp-range-field input:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){
  .stmp-mobile-preview{display:flex;align-items:center;gap:12px;position:sticky;top:max(8px,env(safe-area-inset-top));z-index:2;margin:0 0 22px;padding:10px;background:#f6f9fc;border:1px solid #cfdae3;border-radius:12px;box-shadow:0 5px 20px #16364c14}
  .stmp-mobile-preview .stmp-mini-image{width:88px;height:88px;flex:0 0 88px;border-radius:8px}
  .stmp-mini-actions{display:flex;flex-direction:column;gap:8px;min-width:0}
  .stmp-mini-actions strong{color:#163a4b;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
  .stmp-mini-actions a,.stmp-mobile-back{color:#1d526f;font-size:13px;line-height:1.6;text-underline-offset:3px;overflow-wrap:anywhere}
  .stmp-mini-actions a{display:flex;align-items:center;min-height:32px}
  .stmp-mobile-back{display:inline-block;margin:0 0 14px;padding:6px 0}
  .stmp-field input[type=range]{height:44px}
}
