#pg358-toolbar,dialog#pg358-color{display:none!important}
@media screen and (min-width:901px){
html body.pg358-desktop #pg308-formatbar#pg308-formatbar#pg308-formatbar#pg308-formatbar{display:none!important}
html body.pg358-desktop #pg358-toolbar{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:10px!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;align-self:stretch!important;min-width:0!important;height:62px!important;min-height:62px!important;padding:8px 10px!important;margin:0 0 10px!important;border:1px solid var(--ui-line,#dce4ef)!important;border-radius:13px!important;background:var(--ui-panel,#fff)!important;color:var(--ui-text,#17233d)!important;box-shadow:0 3px 14px #14243a08!important;position:sticky!important;top:0!important;z-index:50!important;font-family:inherit!important;overflow:visible!important}
html body.pg358-desktop #pg358-toolbar[hidden]{display:none!important}
html body.pg358-desktop #pg358-toolbar *{box-sizing:border-box!important;min-width:0}
html body.pg358-desktop #pg358-toolbar .pg358-group{display:flex!important;align-items:center!important;flex:0 0 auto!important;flex-wrap:nowrap!important;gap:4px!important;margin:0!important;padding:0 10px 0 0!important;border-inline-end:1px solid var(--ui-line,#dce4ef)!important}
html body.pg358-desktop #pg358-toolbar button,html body.pg358-desktop #pg358-toolbar select{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;gap:5px!important;height:38px!important;min-height:38px!important;max-height:38px!important;padding:6px 8px!important;border:1px solid transparent!important;border-radius:8px!important;margin:0!important;box-shadow:none!important;background:var(--ui-panel,#fff)!important;color:inherit!important;font-family:inherit!important;font-size:13px!important;line-height:1.2!important;letter-spacing:normal!important;text-transform:none!important;white-space:nowrap!important;cursor:pointer!important}
html body.pg358-desktop #pg358-toolbar button[disabled]{opacity:.4!important;cursor:default!important}
html body.pg358-desktop #pg358-toolbar select{display:block!important;border-color:var(--ui-line,#dce4ef)!important;appearance:none!important;-webkit-appearance:none!important;padding-inline:9px 24px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='m1 1 3 3 3-3' fill='none' stroke='%2364758b' stroke-width='1.3'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 8px center!important;background-size:8px 5px!important;overflow:hidden!important;text-overflow:ellipsis!important}
html[dir=rtl] body.pg358-desktop #pg358-toolbar select{background-position:left 8px center!important}
html body.pg358-desktop #pg358-toolbar .pg358-font{width:120px!important;max-width:120px!important}
html body.pg358-desktop #pg358-toolbar .pg358-size{width:56px!important;min-width:56px!important;text-align:center!important;text-align-last:center!important;padding-inline:4px 16px!important;font-variant-numeric:tabular-nums!important}
html body.pg358-desktop #pg358-toolbar svg,dialog#pg358-color svg{display:block!important;width:20px!important;height:20px!important;flex:none!important;pointer-events:none!important}
html body.pg358-desktop #pg358-toolbar .pg358-label{display:inline!important;max-width:92px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.pg358-desktop #pg358-toolbar .pg358-nav button[aria-pressed=true]{background:color-mix(in srgb,#7c3aed 13%,var(--ui-panel,#fff))!important;color:#4f3cff!important}
html body.pg358-desktop #pg358-toolbar .pg358-colors button{width:40px!important;min-width:40px!important;position:relative!important;padding:6px!important}
html body.pg358-desktop #pg358-toolbar .pg358-colors i{display:block!important;position:absolute!important;inset-inline-end:3px!important;bottom:5px!important;width:7px!important;height:7px!important;border-radius:50%!important}
html body.pg358-desktop #pg358-toolbar .pg358-history button{width:34px!important;min-width:34px!important;padding:6px!important}
html body.pg358-desktop #pg358-toolbar .pg358-apply{min-width:82px!important;background:#165dff!important;color:#fff!important;border-color:#165dff!important;font-weight:650!important}
html body.pg358-desktop #pg358-toolbar .pg358-scores{border:0!important;margin-inline-start:auto!important;padding:0!important;gap:6px!important}
html body.pg358-desktop #pg358-toolbar .pg358-scores[hidden],html body.pg358-desktop #pg358-toolbar .pg358-scores button[hidden]{display:none!important}
html body.pg358-desktop #pg358-toolbar .pg358-scores button{border-color:var(--ui-line,#dce4ef)!important;border-radius:10px!important;gap:5px!important;min-width:78px!important;font-size:12px!important;padding:5px 7px!important}
html body.pg358-desktop #pg358-toolbar .pg358-scores strong{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:50%!important;background:#ddf8ed!important;color:#137a57!important;font-size:13px!important}
html body.pg358-desktop #pg358-toolbar .pg358-scores button:last-child strong{background:#ece5ff!important;color:#6740d4!important}
html body.pg358-desktop #pg358-toolbar[data-compact=true]{gap:7px!important}
html body.pg358-desktop #pg358-toolbar[data-compact=true] .pg358-group{padding-inline-end:7px!important;gap:3px!important}
html body.pg358-desktop #pg358-toolbar[data-compact=true] .pg358-nav .pg358-label{display:none!important}
html body.pg358-desktop #pg358-toolbar[data-compact=true] .pg358-nav button{width:32px!important;min-width:32px!important;padding:5px!important}
html body.pg358-desktop #pg358-toolbar[data-compact=true] .pg358-font{width:96px!important;max-width:96px!important}
html body.pg358-desktop #pg358-toolbar[data-compact=true] .pg358-colors button{width:32px!important;min-width:32px!important}
html body.pg358-desktop #pg358-toolbar[data-compact=true] .pg358-history button{width:30px!important;min-width:30px!important}
html body.pg358-desktop #pg358-toolbar[data-compact=true] .pg358-apply{min-width:72px!important;padding:6px!important}
html body.pg358-desktop #pg358-toolbar[data-compact=true] .pg358-scores button{min-width:70px!important;font-size:11px!important;padding:5px!important}
html body.pg358-desktop #pg358-toolbar :focus-visible,html body dialog#pg358-color :focus-visible{outline:3px solid #8db1ff!important;outline-offset:1px!important}
html body dialog#pg358-color{display:none!important;box-sizing:border-box!important;position:fixed!important;inset:auto!important;left:var(--pg358-left,12px)!important;top:var(--pg358-top,100px)!important;right:auto!important;bottom:auto!important;margin:0!important;padding:14px!important;width:330px!important;max-width:calc(100vw - 24px)!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;border:1px solid var(--ui-line,#dce4ef)!important;border-radius:14px!important;background:var(--ui-panel,#fff)!important;color:var(--ui-text,#17233d)!important;font-family:inherit!important;box-shadow:0 12px 35px #14243a26!important;transform:none!important}
html body dialog#pg358-color[open]{display:flex!important;flex-direction:column!important;gap:14px!important}
html body dialog#pg358-color::backdrop{background:#11223a08!important;backdrop-filter:none!important}
dialog#pg358-color *{box-sizing:border-box;min-width:0}
dialog#pg358-color .pg358-color-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
dialog#pg358-color h2{font-family:inherit!important;font-size:16px!important;line-height:1.3!important;font-weight:700!important;margin:0!important;color:inherit!important}
dialog#pg358-color button,dialog#pg358-color input{font-family:inherit!important;font-size:14px!important;box-shadow:none!important;margin:0!important;border-radius:8px!important;color:inherit!important}
dialog#pg358-color .pg358-close{display:grid!important;place-items:center!important;width:34px!important;min-height:34px!important;min-width:34px!important;padding:6px!important;background:var(--ui-panel,#fff)!important;border:0!important}
dialog#pg358-color .pg358-palette{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:8px!important;padding:3px!important}
dialog#pg358-color .pg358-palette button{display:grid!important;place-items:center!important;width:100%!important;aspect-ratio:1!important;min-height:0!important;min-width:0!important;max-height:32px!important;border-radius:50%!important;border:0!important;padding:0!important;background:var(--pg358-color)!important;color:#fff!important;font-size:18px!important;text-shadow:0 1px 3px #0009!important}
dialog#pg358-color .pg358-palette button[aria-pressed=true]{outline:2px solid #165dff!important;outline-offset:2px!important}
dialog#pg358-color .pg358-fields{display:grid!important;grid-template-columns:minmax(0,1fr) 34px 68px!important;gap:8px!important;align-items:center!important}
dialog#pg358-color .pg358-fields input{width:100%!important;height:36px!important;min-height:36px!important;padding:5px 7px!important;background:var(--ui-panel,#fff)!important;border:1px solid var(--ui-line,#dce4ef)!important}
dialog#pg358-color .pg358-fields input[type=color]{padding:3px!important;border-radius:50%!important;cursor:pointer!important}
dialog#pg358-color .pg358-done{height:36px!important;min-height:36px!important;padding:5px!important;background:#165dff!important;border:1px solid #165dff!important;color:white!important;line-height:1.2!important;white-space:normal!important}
dialog#pg358-color .pg358-error{font-size:12px!important;color:#d5324b!important;margin:0!important;line-height:1.3!important}
dialog#pg358-color .pg358-error:empty{display:none!important}
}
@media print{#pg358-toolbar#pg358-toolbar,dialog#pg358-color#pg358-color{display:none!important}}

@media screen and (min-width:901px){
/* Span the preview and template rail when the native wide layout uses a grid. */
html body.pg358-desktop #previewArea > #pg358-toolbar{grid-column:1/-1;grid-row:1}
html body.pg358-desktop #previewArea #previewContainer{flex:0 0 auto!important}
html body.pg358-desktop #previewArea#previewArea#previewArea#previewArea .pg141-preview-top{display:none!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true]{gap:3px!important;height:52px!important;min-height:52px!important;padding:6px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin}
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-group{gap:2px!important;padding-inline-end:4px!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true] button{height:34px!important;min-height:34px!important;max-height:34px!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-nav button,
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-colors button,
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-history button{width:26px!important;min-width:26px!important;padding:3px!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true] svg{width:18px!important;height:18px!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-font{width:76px!important;max-width:76px!important;font-size:12px!important;padding-inline:6px 19px!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-size{width:48px!important;min-width:48px!important;font-size:12px!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-apply{width:32px!important;min-width:32px!important;padding:4px!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-apply .pg358-label{display:none!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-scores{gap:3px!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-scores button{min-width:42px!important;padding:2px 3px!important;gap:2px!important;font-size:9px!important}
html body.pg358-desktop #pg358-toolbar[data-tight=true] .pg358-scores strong{width:20px!important;height:24px!important;font-size:11px!important}
}
