@media screen{
html[data-pg139] body.pg150-letter .pg150-redundant{display:none!important}
html[data-pg139] body.pg150-letter .pg141-letter-designs{display:flex;flex-direction:column;gap:0;padding:18px 16px;background:var(--ui-panel);overflow-y:auto;min-height:0}
html[data-pg139] body.pg150-letter .pg141-letter-templates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html[data-pg139] body.pg150-letter .pg141-letter-templates>button{padding:7px;gap:9px;border-radius:12px;min-width:0;box-sizing:border-box}
html[data-pg139] body.pg150-letter .pg141-letter-art{height:158px;padding:20px 13px 12px;border-radius:6px;gap:8px}
html[data-pg139] body.pg150-letter .pg141-letter-templates>button[aria-pressed=true]{border-color:#2563eb;background:var(--ui-panel2);box-shadow:0 0 0 1px #2563eb}
html[data-pg139] body.pg150-letter .pg141-letter-designs #swatches{gap:11px;justify-content:space-between}
html[data-pg139] body.pg150-letter .pg141-letter-designs #swatches button{width:25px;height:25px;min-width:25px}
html[data-pg139] body.pg150-letter .pg141-letter-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--ui-line)}
html[data-pg139] body.pg150-letter .pg141-letter-actions button{min-width:0;border-radius:10px;min-height:42px;font-size:12px;gap:7px;padding:9px 7px;white-space:normal;background:var(--ui-panel);color:var(--ui-text)}
html[data-pg139] body.pg150-letter .pg141-letter-actions svg{width:20px;height:20px;flex:none}
html[data-pg139] body.pg150-letter .pg141-letter-actions .pg150-clear{color:#d33e55}
html[data-pg139] body.pg150-letter .pg141-letter-actions :is(.pg150-pdf,.pg150-word){grid-column:1/-1;min-height:47px;font-size:14px;font-weight:600}
html[data-pg139] body.pg150-letter .pg141-letter-actions .pg150-pdf{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 5px 14px #2563eb20}
html[data-pg139] body.pg150-letter .pg141-letter-actions .pg150-word{color:#2563eb;border-color:#92b7ff;background:var(--ui-panel)}
html body.pg150-letter dialog.pg150-tools{width:min(600px,calc(100vw - 24px))!important;border-radius:22px!important;overflow:hidden!important}
html body.pg150-letter .pg150-tools>header{padding:20px 22px;background:var(--ui-panel);border-bottom:1px solid var(--ui-line)}
html body.pg150-letter .pg150-tools>header h2{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:650}
.pg150-tools>header h2 svg{width:25px;height:25px;color:#2563eb}
html body.pg150-letter .pg150-tools .pg141-sheet-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px;max-height:calc(100dvh - 150px);overflow:auto;box-sizing:border-box;background:var(--ui-panel2)}
html body.pg150-letter .pg150-tool-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;min-height:110px;padding:16px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-panel);color:var(--ui-text);text-align:start;font-size:13px;font-weight:500;transition:border-color .15s,background .15s}
.pg150-tool-card>svg{width:26px;height:26px;color:#2563eb;flex:none}
html body.pg150-letter .pg150-tool-card:hover,html body.pg150-letter .pg150-tool-card:focus-visible{border-color:#72a1ff;background:var(--ui-panel3)}
.pg150-card-arrow{position:absolute;inset:12px 13px auto auto;color:var(--ui-muted);font:16px system-ui;pointer-events:none}
html body.pg150-letter .pg150-tool-card span{white-space:normal;overflow-wrap:anywhere}
}
@media screen and (min-width:1400px){html[data-pg139] body.pg150-letter main.layout{grid-template-columns:88px clamp(340px,25vw,430px) minmax(0,1fr) clamp(300px,19vw,360px)!important}}
@media screen and (min-width:1101px) and (max-width:1399px){html[data-pg139] body.pg150-letter main.layout{grid-template-columns:78px 340px minmax(0,1fr) 240px!important}html[data-pg139] body.pg150-letter .pg141-letter-art{height:125px}html[data-pg139] body.pg150-letter .pg141-letter-designs{padding:14px 10px}}
@media screen and (max-width:900px){html body.pg150-letter .pg150-tools .pg141-sheet-content{gap:9px;padding:12px}html body.pg150-letter .pg150-tool-card{padding:13px;min-height:100px}html[data-pg139] body.pg150-letter .pg141-letter-designs{padding:0}}
