.sagarithm{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--sgr-panel:#f6f5f9;--sgr-card:#eceaf1;--sgr-field:#e1dee8;--sgr-field-hover:#d9d5e1;--sgr-fill:#cbc6d6;--sgr-fill-hover:#c0bbcc;--sgr-chip:#fbfafd;--sgr-line:#dedbe5;--sgr-line-strong:#c9c5d2;--sgr-label:#5f5b67;--sgr-ink:#111;--sgr-text:#111;--sgr-muted:#625e6a;--sgr-good:#2f9e57;--sgr-warn:#c98a12;--sgr-danger:#d9434f;--sgr-radius:12px;--sgr-r-sm:10px;--sgr-ease:cubic-bezier(.22, 1, .36, 1);--sgr-spring:cubic-bezier(.34, 1.56, .64, 1);--sgr-font:"General Sans", ui-sans-serif, system-ui, sans-serif;--sgr-font-accent:var(--font-sgr-mono), "Departure Mono", ui-monospace, monospace;width:100%;color:var(--sgr-text);font:14px/1.45 var(--sgr-font);-webkit-font-smoothing:antialiased;container:sgr/inline-size}.sagarithm *{box-sizing:border-box}.sagarithm input,.sagarithm select,.sagarithm button{font:inherit;color:inherit}.sagarithm button{-webkit-tap-highlight-color:transparent}.sagarithm ::selection{background:var(--sgr-text);color:var(--sgr-panel)}.sagarithm :focus-visible{outline:1px solid var(--sgr-text);outline-offset:2px}.sagarithm .sgr-section h2,.sagarithm .sgr-stagehead strong,.sagarithm .sgr-tabs button,.sagarithm .sgr-segmented button,.sagarithm .sgr-file-sub,.sagarithm .sgr-status,.sagarithm .sgr-value.sgr-png-size,.sagarithm .sgr-switch small,.sagarithm .sgr-intro-tag,.sagarithm .sgr-btn{font-family:var(--sgr-font-accent);letter-spacing:.06em;text-transform:uppercase;font-synthesis:none;font-size:12px;font-weight:400}.sagarithm .sgr-badge,.sagarithm input[type=text]{font-family:var(--sgr-font-accent);font-synthesis:none;font-weight:400}.sagarithm .sgr-i{width:12px;height:12px;-webkit-mask:var(--sgr-icon) center/contain no-repeat;-webkit-mask:var(--sgr-icon) center/contain no-repeat;mask:var(--sgr-icon) center/contain no-repeat;transition:transform .35s var(--sgr-spring);background:currentColor;flex:none;display:block}.sagarithm .sgr-i-reset{--sgr-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6a3.5 3.5 0 1 0 1-2.5M2.5 1.5v2.5H5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E")}.sagarithm .sgr-i-upload{--sgr-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 8.5V2M3 4.5 6 1.5l3 3M2 10.5h8' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E")}.sagarithm .sgr-i-close{--sgr-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3 3 9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E")}.sagarithm .sgr-i-download{--sgr-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v6.5M3 5.5 6 8.5l3-3M2 10.5h8' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E")}.sagarithm .sgr-app{width:100%}.sagarithm .sgr-layout{background:var(--sgr-panel);border-radius:28px;grid-template-columns:minmax(300px,360px) minmax(0,1fr);align-items:start;gap:0;padding:8px;display:grid}.sagarithm .sgr-controls{background:var(--sgr-card);scrollbar-width:none;border-radius:20px;height:calc(100svh - 64px);min-height:524px;max-height:944px;padding:22px 20px;position:sticky;top:32px;overflow:auto}.sagarithm .sgr-controls::-webkit-scrollbar{display:none}.sagarithm .sgr-scroll-thumb{z-index:5;background:var(--sgr-line-strong);opacity:0;cursor:grab;touch-action:none;width:4px;transition:opacity .35s, width .2s var(--sgr-ease), right .2s var(--sgr-ease), background .2s;border-radius:4px;position:absolute;top:0;right:5px}.sagarithm .sgr-scroll-thumb:before{content:"";position:absolute;inset:0 -6px}.sagarithm .sgr-controls:hover .sgr-scroll-thumb,.sagarithm .sgr-controls.scrolling .sgr-scroll-thumb,.sagarithm .sgr-scroll-thumb.dragging{opacity:1}.sagarithm .sgr-scroll-thumb:hover,.sagarithm .sgr-scroll-thumb.dragging{background:var(--sgr-fill-hover);width:6px;right:4px}.sagarithm .sgr-scroll-thumb.dragging{cursor:grabbing}.sagarithm .sgr-controls.no-scroll .sgr-scroll-thumb{display:none}.sagarithm .sgr-section{border-bottom:1px solid var(--sgr-line);padding:22px 0}.sagarithm .sgr-section:first-of-type{padding-top:0}.sagarithm .sgr-section:last-of-type{border:0}.sagarithm .sgr-section h2{color:var(--sgr-text);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:10px;margin:0;padding:2px 0;display:flex}.sagarithm .sgr-section h2>.sgr-section-toggle{all:unset;cursor:pointer;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.sagarithm .sgr-section h2>.sgr-section-toggle:focus-visible{outline:1px solid var(--sgr-text);outline-offset:2px}.sagarithm .sgr-section h2 .sgr-num{color:var(--sgr-muted);transition:transform .4s var(--sgr-spring)}.sagarithm .sgr-section h2:hover .sgr-num{transform:translate(2px)}.sagarithm .sgr-section h2:after{content:"";border-right:1.5px solid var(--sgr-muted);border-bottom:1.5px solid var(--sgr-muted);width:7px;height:7px;transition:transform .45s var(--sgr-ease), border-color .2s;margin-left:auto;transform:translateY(-2px)rotate(45deg)}.sagarithm .sgr-section h2:hover:after{border-color:var(--sgr-text)}.sagarithm .sgr-section.closed h2:after{transform:translateY(1px)rotate(-45deg)}.sagarithm .sgr-section-body{transition:grid-template-rows .55s var(--sgr-ease), opacity .35s;grid-template-rows:1fr;display:grid}.sagarithm .sgr-section-body>div{min-height:0;margin:0 -10px -10px;padding:0 10px 10px;overflow:hidden}.sagarithm .sgr-section.closed .sgr-section-body{opacity:0;grid-template-rows:0fr}.sagarithm .sgr-field{margin-top:16px}.sagarithm .sgr-labelrow{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;display:flex}.sagarithm .sgr-labelrow span:first-child{font-weight:500}.sagarithm .sgr-value{font-family:var(--sgr-font);color:var(--sgr-muted);font-variant-numeric:tabular-nums;font-size:14px;font-weight:450;display:inline-block}.sagarithm .sgr-track .sgr-value{color:var(--sgr-text)}.sagarithm .sgr-group{font-family:var(--sgr-font);color:var(--sgr-text);margin:24px 0 -4px;font-size:14px;font-weight:500}.sagarithm .sgr-hint{color:var(--sgr-muted);margin:14px 0 0;font-size:14px;line-height:1.5}.sagarithm .sgr-hint-drag{color:var(--sgr-text)}.sagarithm input[type=text]{background:var(--sgr-field);border-radius:var(--sgr-radius);width:100%;height:40px;transition:border-color .2s, background .2s, box-shadow .3s var(--sgr-ease);border:0;outline:none;padding:0 14px}.sagarithm input[type=text]:hover{background:var(--sgr-field-hover)}.sagarithm input[type=text]:focus{background:var(--sgr-field-hover);box-shadow:0 0 0 1px var(--sgr-text)}.sagarithm .sgr-sliders{gap:6px;margin-top:16px;display:grid}.sagarithm .sgr-slider{--sgr-p:50%}.sagarithm .sgr-track{border-radius:var(--sgr-radius);background:var(--sgr-field);isolation:isolate;height:40px;transition:background .25s,box-shadow .25s;position:relative;overflow:hidden}.sagarithm .sgr-track:before{content:"";width:var(--sgr-p);background:var(--sgr-fill);z-index:-1;transition:width .45s var(--sgr-ease), background .25s;position:absolute;inset:0 auto 0 0}.sagarithm .sgr-track:after{content:"";top:11px;bottom:11px;left:var(--sgr-p);background:var(--sgr-text);opacity:0;pointer-events:none;width:2px;transition:left .45s var(--sgr-ease), top .3s var(--sgr-spring), bottom .3s var(--sgr-spring), opacity .25s, background .2s;border-radius:2px;margin-left:-1px;position:absolute}.sagarithm .sgr-ticks{background:repeating-linear-gradient(90deg, var(--sgr-line-strong) 0 1px, transparent 1px 10%);opacity:0;height:6px;transition:opacity .3s, transform .4s var(--sgr-ease);pointer-events:none;position:absolute;bottom:0;left:0;right:0;transform:translateY(3px)}.sagarithm .sgr-track input{opacity:0;cursor:ew-resize;z-index:1;touch-action:pan-y;appearance:none;width:100%;height:100%;margin:0;position:absolute;inset:0}.sagarithm .sgr-track input::-webkit-slider-thumb{-webkit-appearance:none;width:1px;height:40px}.sagarithm .sgr-track input::-moz-range-thumb{border:0;width:1px;height:40px}.sagarithm .sgr-track-label,.sagarithm .sgr-track .sgr-value{pointer-events:none;z-index:2;white-space:nowrap;position:absolute;top:50%;transform:translateY(-50%)}.sagarithm .sgr-track-label{color:var(--sgr-label);transition:transform .35s var(--sgr-ease), color .2s;font-weight:500;left:14px}.sagarithm .sgr-track .sgr-value{color:var(--sgr-text);transition:right .35s var(--sgr-ease), color .2s;right:14px}.sagarithm .sgr-reset{z-index:3;width:24px;height:24px;color:var(--sgr-muted);cursor:pointer;opacity:0;pointer-events:none;transition:opacity .25s, transform .45s var(--sgr-spring), color .2s, background .2s;background:0 0;border:0;border-radius:7px;place-items:center;margin-top:-12px;display:grid;position:absolute;top:50%;right:8px;transform:scale(.6)rotate(90deg)}.sagarithm .sgr-reset:hover{color:var(--sgr-text);background:var(--sgr-fill)}.sagarithm .sgr-reset:hover .sgr-i{transform:rotate(-120deg)}.sagarithm .sgr-slider.changed .sgr-track .sgr-value{right:38px}.sagarithm .sgr-slider.changed .sgr-reset{opacity:1;pointer-events:auto;transform:none}.sagarithm .sgr-track:hover{background:var(--sgr-field-hover)}.sagarithm .sgr-track:hover:before{background:var(--sgr-fill-hover)}.sagarithm .sgr-track:hover:after{opacity:.7;top:10px;bottom:10px}.sagarithm .sgr-track:hover .sgr-track-label{color:var(--sgr-text)}.sagarithm .sgr-track:hover .sgr-ticks{opacity:1;transform:none}.sagarithm .sgr-slider.active .sgr-track{background:var(--sgr-field-hover)}.sagarithm .sgr-slider.active .sgr-track:before{background:var(--sgr-fill-hover)}.sagarithm .sgr-slider.active .sgr-track:before,.sagarithm .sgr-slider.active .sgr-track:after{transition:none}.sagarithm .sgr-slider.active .sgr-track:after{opacity:1;background:var(--sgr-text);top:6px;bottom:6px}.sagarithm .sgr-slider.active .sgr-track-label{transform:translateY(-50%)translate(2px)}.sagarithm .sgr-track:has(input:focus-visible){box-shadow:0 0 0 1px var(--sgr-text)}.sagarithm .sgr-segmented{--sgr-index:0;--sgr-gap:4px;grid-template-columns:repeat(var(--sgr-n), minmax(0, 1fr));gap:var(--sgr-gap);background:var(--sgr-field);border-radius:999px;padding:4px;display:grid;position:relative}.sagarithm .sgr-segmented:before{content:"";width:calc((100% - 8px - (var(--sgr-n) - 1) * var(--sgr-gap)) / var(--sgr-n));background:var(--sgr-chip);transform:translateX(calc(var(--sgr-index) * (100% + var(--sgr-gap))));transition:transform .45s var(--sgr-ease);border-radius:999px;position:absolute;top:4px;bottom:4px;left:4px}.sagarithm .sgr-segmented button{z-index:1;height:34px;color:var(--sgr-muted);cursor:pointer;transition:color .3s, transform .25s var(--sgr-spring);background:0 0;border:0;border-radius:999px;position:relative}.sagarithm .sgr-segmented button:hover{color:var(--sgr-text)}.sagarithm .sgr-segmented button:active{transform:scale(.94)}.sagarithm .sgr-segmented button[aria-checked=true],.sagarithm .sgr-segmented button[aria-selected=true]{color:var(--sgr-text)}.sagarithm .sgr-segmented-sm button{height:30px}.sagarithm .sgr-tabs{display:none}.sagarithm .sgr-export-size{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.sagarithm .sgr-png-size{color:var(--sgr-muted);white-space:nowrap}.sagarithm .sgr-switch{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:12px;transition:opacity .3s;display:flex}.sagarithm .sgr-switch span{font-weight:500}.sagarithm .sgr-switch small{color:var(--sgr-muted);margin-left:6px}.sagarithm .sgr-switch input{opacity:0;pointer-events:none;position:absolute}.sagarithm .sgr-switch i{background:var(--sgr-line-strong);border-radius:999px;flex:none;width:38px;height:22px;transition:background .3s;position:relative}.sagarithm .sgr-switch i:after{content:"";background:var(--sgr-chip);width:16px;height:16px;transition:transform .45s var(--sgr-spring), width .25s var(--sgr-ease);border-radius:999px;position:absolute;top:3px;left:3px}.sagarithm .sgr-switch:hover i{background:var(--sgr-fill-hover)}.sagarithm .sgr-switch:active i:after{width:20px}.sagarithm .sgr-switch input:checked+i{background:var(--sgr-text)}.sagarithm .sgr-switch input:checked+i:after{transform:translate(16px)}.sagarithm .sgr-switch:active input:checked+i:after{transform:translate(12px)}.sagarithm .sgr-switch input:focus-visible+i{outline:1px solid var(--sgr-text);outline-offset:2px}.sagarithm .sgr-switch.disabled{opacity:.35;pointer-events:none}.sagarithm .sgr-subject-controls{transition:opacity .35s}.sagarithm .sgr-subject-controls.off{opacity:.3;pointer-events:none}.sagarithm .sgr-drop{background:var(--sgr-field);height:172px;transition:height .6s var(--sgr-spring), background .3s, box-shadow .3s, transform .45s var(--sgr-spring);border-radius:20px;margin-top:16px;position:relative;overflow:hidden}.sagarithm .sgr-drop input{z-index:2;opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.sagarithm .sgr-drop-idle,.sagarithm .sgr-drop-file{transition:opacity .35s, transform .55s var(--sgr-ease);position:absolute;inset:0}.sagarithm .sgr-drop-idle{text-align:center;place-content:center;justify-items:center;gap:4px;padding:0 20px;display:grid}.sagarithm .sgr-drop-icon{background:var(--sgr-chip);width:40px;height:40px;color:var(--sgr-text);transition:transform .5s var(--sgr-spring), background .3s, color .3s;border-radius:11px;place-items:center;margin-bottom:12px;display:grid}.sagarithm .sgr-drop-idle .sgr-roll{font-weight:500}.sagarithm .sgr-drop-sub{color:var(--sgr-muted);font-size:14px}.sagarithm .sgr-drop:hover,.sagarithm .sgr-drop:focus-within{background:var(--sgr-field-hover)}.sagarithm .sgr-drop:hover .sgr-drop-icon{transform:translateY(-3px)}.sagarithm .sgr-drop:hover .sgr-drop-icon .sgr-i{animation:sgr-nudge 1.2s var(--sgr-ease) infinite}.sagarithm .sgr-drop:active{transform:scale(.985)}.sagarithm .sgr-drop.drag{background:var(--sgr-field-hover);transform:scale(1.025)}.sagarithm .sgr-drop.drag .sgr-drop-icon{background:var(--sgr-text);color:var(--sgr-panel);transform:translateY(-6px)scale(1.25)}.sagarithm .sgr-drop.drag .sgr-roll span{transform:translateY(-50%)}.sagarithm .sgr-drop-file{opacity:0;pointer-events:none;grid-template-columns:44px 1fr 32px;align-items:center;gap:12px;padding:0 14px;display:grid;transform:translateY(16px)}.sagarithm .sgr-drop.has-file{height:76px}.sagarithm .sgr-drop.has-file .sgr-drop-idle{opacity:0;transform:translateY(-16px)}.sagarithm .sgr-drop.has-file .sgr-drop-file{opacity:1;transform:none}.sagarithm .sgr-thumb{background:var(--sgr-chip);border-radius:10px;width:44px;height:44px;position:relative}.sagarithm .sgr-thumb img{object-fit:cover;opacity:0;width:100%;height:100%;transition:opacity .4s, transform .6s var(--sgr-spring);border-radius:10px;transform:scale(.8)}.sagarithm .sgr-thumb img.ready{opacity:1;transform:none}.sagarithm .sgr-badge{background:var(--sgr-text);color:var(--sgr-panel);letter-spacing:.04em;border-radius:4px;padding:1px 4px 0;font-size:9px;position:absolute;bottom:-4px;left:-4px}.sagarithm .sgr-file-meta{gap:3px;min-width:0;display:grid}.sagarithm .sgr-file-meta strong{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.sagarithm .sgr-file-sub{color:var(--sgr-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sagarithm .sgr-drop.error .sgr-file-sub{color:var(--sgr-danger)}.sagarithm .sgr-bar{background:var(--sgr-chip);border-radius:2px;height:2px;transition:opacity .3s .2s;overflow:hidden}.sagarithm .sgr-bar i{background:var(--sgr-text);border-radius:inherit;width:0;height:100%;display:block}.sagarithm .sgr-drop.loading .sgr-bar i{animation:sgr-load .7s var(--sgr-ease) forwards}.sagarithm .sgr-drop.has-file:not(.loading) .sgr-bar{opacity:0;height:0}.sagarithm .sgr-remove{z-index:3;width:32px;height:32px;color:var(--sgr-muted);cursor:pointer;pointer-events:auto;transition:color .2s, background .2s, transform .3s var(--sgr-spring);background:0 0;border:0;border-radius:9px;place-items:center;display:grid;position:relative}.sagarithm .sgr-remove:hover{color:var(--sgr-text);background:var(--sgr-fill)}.sagarithm .sgr-remove:hover .sgr-i{transform:rotate(90deg)}.sagarithm .sgr-remove:active{transform:scale(.88)}@keyframes sgr-load{0%{width:0}to{width:100%}}@keyframes sgr-nudge{0%,to{transform:none}50%{transform:translateY(-2px)}}.sagarithm .sgr-stage{background:0 0;border-radius:0;flex-direction:column;height:calc(100svh - 64px);min-height:524px;max-height:944px;display:flex;position:sticky;top:32px;overflow:visible}.sagarithm .sgr-stagehead{justify-content:space-between;align-items:center;gap:12px;padding:14px 18px 14px 26px;display:flex}.sagarithm .sgr-canvaswrap{background:0 0;flex:1;place-items:center;min-height:0;padding:32px;display:grid;position:relative}.sagarithm .sgr-intro-tag{z-index:2;background:var(--sgr-text);color:var(--sgr-panel);white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .45s var(--sgr-ease), transform .6s var(--sgr-ease);border-radius:999px;padding:5px 11px;position:absolute;top:50%;left:50%;transform:translate(-50%,calc(6px - 50%))}.sagarithm .sgr-intro-tag.on{opacity:1;transform:translate(-50%,-50%)}.sagarithm canvas{width:auto;max-width:min(100%,680px);height:auto;max-height:calc(clamp(524px,100svh - 64px,944px) - 186px);transition:box-shadow .4s var(--sgr-ease);background:#fff;border-radius:4px;display:block}.sagarithm canvas.pop{animation:sgr-pop .5s var(--sgr-ease)}.sagarithm canvas.draggable{cursor:grab;touch-action:none}.sagarithm canvas.dragging{cursor:grabbing}.sagarithm canvas.stamp{background:0 0;border-radius:0}.sagarithm .sgr-status{color:var(--sgr-muted);text-align:right;align-items:center;gap:8px;display:flex}.sagarithm .sgr-dot{width:7px;height:7px;color:var(--sgr-warn);background:currentColor;border-radius:50%;flex:none}.sagarithm .sgr-status.good{visibility:hidden}.sagarithm .sgr-status.bad .sgr-dot{color:var(--sgr-danger)}.sagarithm .sgr-status.warn .sgr-dot,.sagarithm .sgr-status.bad .sgr-dot{animation:1.6s ease-out infinite sgr-pulse}.sagarithm .sgr-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px 14px 26px;display:flex}.sagarithm .sgr-actions .sgr-segmented{min-width:240px}.sagarithm .sgr-actions .sgr-format-picker{min-width:136px}.sagarithm .sgr-buttons{flex-wrap:wrap;gap:8px;display:flex}.sagarithm .sgr-coffee{color:var(--sgr-muted);flex:100%;justify-content:flex-end;gap:5px;font-size:13px;line-height:1.4;text-decoration:none;display:none}.sagarithm .sgr-coffee b{color:var(--sgr-ink);font-weight:500}.sagarithm .sgr-coffee.show{animation:sgr-rise .5s var(--sgr-ease) both;display:flex}@media (hover:hover){.sagarithm .sgr-coffee:hover b{text-underline-offset:3px;text-decoration:underline}}.sagarithm .sgr-btn{background:var(--sgr-field);height:44px;color:var(--sgr-text);cursor:pointer;transition:background .25s, color .25s, transform .3s var(--sgr-spring);border:0;border-radius:999px;align-items:center;gap:10px;padding:0 22px;font-weight:500;display:inline-flex;position:relative}.sagarithm .sgr-btn:hover:not([disabled]){background:var(--sgr-fill)}.sagarithm .sgr-btn:active:not([disabled]){transform:scale(.95)}.sagarithm .sgr-btn .sgr-label{white-space:nowrap}.sagarithm .sgr-roll{height:1.45em;display:block;overflow:hidden}.sagarithm .sgr-roll span{transition:transform .5s var(--sgr-ease);display:block}.sagarithm .sgr-roll span:after{content:attr(data-label);display:block}.sagarithm .sgr-primary{background:var(--sgr-text);color:var(--sgr-panel)}.sagarithm .sgr-primary:hover:not([disabled]){background:#2a2a2a}.sagarithm .sgr-primary:hover .sgr-i-download{animation:sgr-drop .7s var(--sgr-ease)}.sagarithm .sgr-btn.done,.sagarithm .sgr-btn.done:hover{background:var(--sgr-good);color:var(--sgr-ink)}.sagarithm .sgr-btn[disabled]{opacity:.35;cursor:not-allowed}.sagarithm.in .sgr-section,.sagarithm.in .sgr-stage{animation:sgr-rise .8s var(--sgr-ease) both;animation-delay:calc(.2s + var(--sgr-i,0) * 60ms)}.sagarithm .sgr-value.tick{animation:sgr-tick .35s var(--sgr-ease)}@keyframes sgr-rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes sgr-tick{0%{opacity:.3;filter:blur(2px)}to{opacity:1;filter:none}}@keyframes sgr-pulse{0%{box-shadow:0 0}to{box-shadow:0 0 0 7px #0000}}@keyframes sgr-pop{0%{opacity:.6;transform:scale(.96)}to{opacity:1;transform:none}}@keyframes sgr-drop{0%{transform:none}40%{transform:translateY(3px)}70%{transform:translateY(-1px)}to{transform:none}}@media (prefers-reduced-motion:reduce){.sagarithm *,.sagarithm :before,.sagarithm :after{transition:none!important;animation:none!important}}@container sgr (max-width:900px){.sagarithm .sgr-layout{border-radius:24px;grid-template-columns:1fr;gap:0;padding:8px}.sagarithm .sgr-controls{border-radius:18px;height:auto;min-height:0;max-height:none;margin-top:0;padding:18px 16px;position:static;overflow:visible}.sagarithm .sgr-stage{display:contents}.sagarithm .sgr-stagehead{background:var(--sgr-panel);border-radius:0;order:-3;padding:14px 12px;position:relative;top:auto}.sagarithm .sgr-canvaswrap{background:var(--sgr-panel);border-radius:0;order:-2;min-height:0;padding:4px 12px 16px;position:relative;top:auto}.sagarithm canvas{max-height:min(34svh,280px)}.sagarithm .sgr-actions{background:0 0;border-top:0;border-radius:0;order:1;margin-top:0;padding:14px 8px 6px}.sagarithm.in .sgr-stagehead,.sagarithm.in .sgr-canvaswrap,.sagarithm.in .sgr-actions{animation:sgr-rise .8s var(--sgr-ease) both}.sagarithm.wait .sgr-stagehead,.sagarithm.wait .sgr-canvaswrap,.sagarithm.wait .sgr-actions{opacity:0}.sagarithm .sgr-tabs{margin-bottom:18px;display:grid}.sagarithm .sgr-controls .sgr-section{border:0;padding:0;display:none}.sagarithm .sgr-controls .sgr-section.current{display:block}.sagarithm .sgr-controls .sgr-section h2{display:none}.sagarithm .sgr-section.closed .sgr-section-body{opacity:1;grid-template-rows:1fr}.sagarithm .sgr-scroll-thumb{display:none}.sagarithm .sgr-actions .sgr-segmented{flex:100%;min-width:0}.sagarithm .sgr-export-size{flex:100%}.sagarithm .sgr-export-size .sgr-segmented{width:100%}.sagarithm .sgr-buttons{flex:100%}.sagarithm .sgr-buttons .sgr-btn{flex:1;justify-content:center}}.sagarithm.wait .sgr-section,.sagarithm.wait .sgr-stage{opacity:0}
