/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-r729fqwzr6],
.components-reconnect-repeated-attempt-visible[b-r729fqwzr6],
.components-reconnect-failed-visible[b-r729fqwzr6],
.components-pause-visible[b-r729fqwzr6],
.components-resume-failed-visible[b-r729fqwzr6],
.components-rejoining-animation[b-r729fqwzr6] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-r729fqwzr6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-r729fqwzr6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-r729fqwzr6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-r729fqwzr6],
#components-reconnect-modal.components-reconnect-retrying[b-r729fqwzr6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-r729fqwzr6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-r729fqwzr6],
#components-reconnect-modal.components-reconnect-failed[b-r729fqwzr6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-r729fqwzr6] {
    display: block;
}


#components-reconnect-modal[b-r729fqwzr6] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-r729fqwzr6 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-r729fqwzr6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-r729fqwzr6 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-r729fqwzr6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-r729fqwzr6 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-r729fqwzr6 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-r729fqwzr6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-r729fqwzr6 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-r729fqwzr6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-r729fqwzr6] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-r729fqwzr6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-r729fqwzr6] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-r729fqwzr6] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-r729fqwzr6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-r729fqwzr6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-r729fqwzr6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-r729fqwzr6] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-r729fqwzr6 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Editor/Customize.razor.rz.scp.css */
/* ============================================================
   CaseShop Custom Editor — Scoped Styles
   Customize.razor.css
   ============================================================ */

/* ---- Shell ---- */
.editor-shell[b-pae1xpfpkv] {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 3.5rem);
    background: #f7f8fa;
    padding: 0;
}

/* ---- Header ---- */
.editor-header[b-pae1xpfpkv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e4e8;
    gap: 0.75rem;
    flex-shrink: 0;
}

.editor-title[b-pae1xpfpkv] {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e2030;
    margin: 0;
    white-space: nowrap;
}

.editor-header-actions[b-pae1xpfpkv] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ---- Shared button base ---- */
.btn-editor-action[b-pae1xpfpkv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-editor-action:focus-visible[b-pae1xpfpkv] {
    outline: 2px solid #4f81f0;
    outline-offset: 2px;
}

.btn-editor-action:disabled[b-pae1xpfpkv] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Secondary / reset button */
.btn-reset[b-pae1xpfpkv] {
    background: #ffffff;
    color: #444;
    border-color: #ccd0d8;
}

.btn-reset:hover:not(:disabled)[b-pae1xpfpkv] {
    background: #f0f2f5;
    border-color: #b0b5be;
}

/* Primary action button */
.btn-primary-action[b-pae1xpfpkv] {
    background: #4f81f0;
    color: #ffffff;
    border-color: #3a6ee0;
}

.btn-primary-action:hover:not(:disabled)[b-pae1xpfpkv] {
    background: #3a6ee0;
    border-color: #2c5bcc;
}

/* ---- Workspace ---- */
.editor-workspace[b-pae1xpfpkv] {
    display: flex;
    flex-direction: row;
    flex: 1;
    min-height: 0;
    gap: 0;
}

/* ---- Canvas container ---- */
.editor-canvas-container[b-pae1xpfpkv] {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem 1rem;
    min-width: 0;
    background: #edeef2;
}

.editor-canvas-container canvas[b-pae1xpfpkv] {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

/* ---- Sidebar ---- */
.editor-sidebar[b-pae1xpfpkv] {
    width: 272px;
    flex-shrink: 0;
    background: #ffffff;
    border-left: 1px solid #e2e4e8;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* ---- Sidebar section ---- */
.sidebar-section[b-pae1xpfpkv] {
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #eef0f4;
}

.sidebar-section:last-child[b-pae1xpfpkv] {
    border-bottom: none;
    flex: 1; /* Sticker section takes remaining height */
}

.sidebar-section-heading[b-pae1xpfpkv] {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7a8299;
    margin: 0 0 0.65rem;
}

/* ---- Sidebar state messages ---- */
.sidebar-state-msg[b-pae1xpfpkv] {
    font-size: 0.825rem;
    color: #8a90a0;
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.sidebar-state-error[b-pae1xpfpkv] {
    color: #c0392b;
}

/* ---- Background URL input row ---- */
.bg-input-row[b-pae1xpfpkv] {
    margin-bottom: 0.5rem;
}

.bg-url-input[b-pae1xpfpkv] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.35rem 0.6rem;
    font-size: 0.825rem;
    border: 1px solid #ccd0d8;
    border-radius: 5px;
    color: #1e2030;
    background: #f7f8fa;
    outline: none;
    transition: border-color 0.15s;
}

.bg-url-input:focus[b-pae1xpfpkv] {
    border-color: #4f81f0;
    background: #ffffff;
}

.bg-url-input:disabled[b-pae1xpfpkv] {
    opacity: 0.5;
    cursor: not-allowed;
}

.bg-action-row[b-pae1xpfpkv] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* ---- Sticker picker grid ---- */
.sticker-picker-grid[b-pae1xpfpkv] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    max-height: 280px;
    overflow-y: auto;
    padding: 2px; /* room for focus outline */
}

/* ---- Sticker thumbnail card ---- */
.sticker-thumb[b-pae1xpfpkv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: 0.4rem 0.25rem 0.35rem;
    border: 1.5px solid #e2e4e8;
    border-radius: 7px;
    background: #f7f8fa;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    overflow: hidden;
    min-width: 0;
    font: inherit;
    text-align: center;
}

.sticker-thumb:hover[b-pae1xpfpkv] {
    border-color: #aab4d0;
    background: #eef1fa;
}

.sticker-thumb:focus-visible[b-pae1xpfpkv] {
    outline: 2px solid #4f81f0;
    outline-offset: 1px;
}

.sticker-thumb--selected[b-pae1xpfpkv] {
    border-color: #4f81f0;
    background: #eaf0fe;
    box-shadow: 0 0 0 2px rgba(79,129,240,0.25);
}

.sticker-thumb-img[b-pae1xpfpkv] {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.sticker-thumb-fallback[b-pae1xpfpkv] {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dde2ee;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    color: #7a85aa;
}

.sticker-thumb-name[b-pae1xpfpkv] {
    font-size: 0.7rem;
    color: #555e78;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* ---- Add-to-canvas button ---- */
.btn-add-sticker[b-pae1xpfpkv] {
    width: 100%;
    justify-content: center;
}

/* ---- Error state (full page) ---- */
.editor-error[b-pae1xpfpkv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    color: #c0392b;
}

.editor-error p[b-pae1xpfpkv] {
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================================
   Responsive — narrow viewports (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    .editor-workspace[b-pae1xpfpkv] {
        flex-direction: column;
    }

    .editor-sidebar[b-pae1xpfpkv] {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e2e4e8;
        max-height: 50vh;
    }

    .editor-canvas-container[b-pae1xpfpkv] {
        padding: 1rem 0.75rem;
    }

    .editor-canvas-container canvas[b-pae1xpfpkv] {
        max-width: 100%;
    }

    .editor-title[b-pae1xpfpkv] {
        font-size: 1rem;
    }

    .sticker-picker-grid[b-pae1xpfpkv] {
        grid-template-columns: repeat(4, 1fr);
        max-height: 160px;
    }
}

/* ============================================================
   Responsive — very narrow viewports (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .editor-header[b-pae1xpfpkv] {
        padding: 0.5rem 0.75rem;
    }

    .editor-canvas-container[b-pae1xpfpkv] {
        padding: 0.75rem 0.5rem;
    }

    .sticker-picker-grid[b-pae1xpfpkv] {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- Danger button (remove selected) ---- */
.btn-danger[b-pae1xpfpkv] {
    background: #ffffff;
    color: #c0392b;
    border-color: #e8b4b0;
}

.btn-danger:hover:not(:disabled)[b-pae1xpfpkv] {
    background: #fdf0ef;
    border-color: #c0392b;
}

/* ---- Full-width action button ---- */
.btn-full[b-pae1xpfpkv] {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
}

/* ---- Text input ---- */
.text-input-row[b-pae1xpfpkv] {
    margin-bottom: 0.5rem;
}

.text-content-input[b-pae1xpfpkv] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.35rem 0.6rem;
    font-size: 0.825rem;
    border: 1px solid #ccd0d8;
    border-radius: 5px;
    color: #1e2030;
    background: #f7f8fa;
    outline: none;
    transition: border-color 0.15s;
}

.text-content-input:focus[b-pae1xpfpkv] {
    border-color: #4f81f0;
    background: #ffffff;
}

.text-content-input:disabled[b-pae1xpfpkv] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---- Preview button ---- */
.btn-preview[b-pae1xpfpkv] {
    background: #ffffff;
    color: #4f81f0;
    border-color: #4f81f0;
}

.btn-preview:hover:not(:disabled)[b-pae1xpfpkv] {
    background: #eaf0fe;
    border-color: #3a6ee0;
}

.btn-preview-active[b-pae1xpfpkv] {
    background: #4f81f0;
    color: #ffffff;
    border-color: #3a6ee0;
}

.btn-preview-active:hover:not(:disabled)[b-pae1xpfpkv] {
    background: #3a6ee0;
    border-color: #2c5bcc;
}

/* ---- Upload section ---- */
.upload-file-row[b-pae1xpfpkv] {
    margin-bottom: 0.5rem;
}

.upload-file-input[b-pae1xpfpkv] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.8rem;
    color: #555e78;
}

.upload-file-input[b-pae1xpfpkv]::file-selector-button {
    padding: 0.3rem 0.65rem;
    border: 1px solid #ccd0d8;
    border-radius: 5px;
    background: #f7f8fa;
    color: #444;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s;
    margin-right: 0.5rem;
}

.upload-file-input[b-pae1xpfpkv]::file-selector-button:hover {
    background: #e8eaf0;
}

.upload-file-info[b-pae1xpfpkv] {
    font-size: 0.78rem;
    color: #6a7290;
    word-break: break-all;
    margin-top: 0.25rem;
}

.upload-success-msg[b-pae1xpfpkv] {
    color: #1a7f4a;
    font-weight: 500;
}

/* ---- Export button ---- */
.btn-export[b-pae1xpfpkv] {
    background: #1e7f5c;
    color: #ffffff;
    border-color: #165e45;
}

.btn-export:hover:not(:disabled)[b-pae1xpfpkv] {
    background: #165e45;
    border-color: #0e3f2e;
}

.export-message[b-pae1xpfpkv] { margin: 0; padding: 0.75rem 1.25rem; }

.editor-header[b-pae1xpfpkv], .editor-header-actions[b-pae1xpfpkv] { flex-wrap: wrap; }

.studio-workspace[b-pae1xpfpkv] { align-items: stretch; }
[b-pae1xpfpkv] .studio-viewport, .studio-viewport[b-pae1xpfpkv] { width: 100%; flex: 1; min-height: 0; overflow: auto; margin: 2.75rem 0 1rem; scrollbar-width: none; }
[b-pae1xpfpkv] .studio-paper, .studio-paper[b-pae1xpfpkv] { margin: 0 auto; }
[b-pae1xpfpkv] .studio-canvas, .studio-canvas[b-pae1xpfpkv] { min-height: 640px; }
[b-pae1xpfpkv] .studio-panel, .studio-panel[b-pae1xpfpkv] { min-width: 0; max-height: 800px; }
[b-pae1xpfpkv] #editor-canvas, #editor-canvas[b-pae1xpfpkv] { width: 100%; height: auto; touch-action: none; }
button:disabled[b-pae1xpfpkv], [b-pae1xpfpkv] button:disabled { opacity: .45; cursor: not-allowed; }

.mobile-editor-dock[b-pae1xpfpkv] {
    position: fixed;
    z-index: 45;
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(7.5rem, 1.5fr);
    gap: 0.25rem;
    padding: 0.35rem;
    border: 1px solid rgba(198, 198, 205, 0.8);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(18px);
}

.mobile-dock-action[b-pae1xpfpkv],
.mobile-dock-cta[b-pae1xpfpkv] {
    min-height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.mobile-dock-action[b-pae1xpfpkv] { flex-direction: column; color: #45464c; }
.mobile-dock-action .material-symbols-outlined[b-pae1xpfpkv] { font-size: 1.2rem; }
.mobile-dock-action.is-active[b-pae1xpfpkv] { color: #000; background: #eeeeee; }
.mobile-dock-cta[b-pae1xpfpkv] { color: #fff; background: #000; padding-inline: 0.7rem; }
.mobile-dock-cta:active:not(:disabled)[b-pae1xpfpkv] { transform: scale(.98); }

[b-pae1xpfpkv] .mobile-sheet-handle {
    width: 2.75rem;
    height: .25rem;
    margin: .5rem auto 0;
    border-radius: 9999px;
    background: #c6c6cd;
}

[b-pae1xpfpkv] .mobile-sheet-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #45464c;
    background: #eeeeee;
}

[b-pae1xpfpkv] .print-guide-legend {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 4.5rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: .75rem;
    white-space: nowrap;
    padding: .4rem .7rem;
    border: 1px solid rgba(198, 198, 205, .75);
    border-radius: 9999px;
    color: #596372;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 4px 16px rgba(15, 23, 42, .08);
    backdrop-filter: blur(12px);
    font-size: .68rem;
    font-weight: 600;
}

[b-pae1xpfpkv] .print-guide-legend span { display: inline-flex; align-items: center; gap: .3rem; }
[b-pae1xpfpkv] .guide-dot { width: .45rem; height: .45rem; border-radius: 9999px; display: inline-block; }
[b-pae1xpfpkv] .guide-dot-bleed { background: #f59e0b; }
[b-pae1xpfpkv] .guide-dot-safe { background: #38bdf8; }
[b-pae1xpfpkv] .guide-dot-cutout { background: #fb7185; }

@media (max-width: 1023px) {
    .editor-studio-shell[b-pae1xpfpkv] {
        min-height: calc(100dvh - 3.5rem);
        padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
    }
    .studio-workspace[b-pae1xpfpkv] { display: block; min-height: 0; flex: 1; }
    [b-pae1xpfpkv] .studio-panel, .studio-panel[b-pae1xpfpkv] {
        position: fixed;
        z-index: 60;
        left: 0;
        right: 0;
        bottom: 0;
        height: min(82dvh, 720px);
        max-height: none;
        padding-bottom: env(safe-area-inset-bottom);
        border: 0;
        border-radius: 1.5rem 1.5rem 0 0;
        box-shadow: 0 -18px 60px rgba(15, 23, 42, .22);
        transform: translateY(105%);
        visibility: hidden;
        overscroll-behavior: contain;
        touch-action: pan-y;
        transition: transform .24s ease, visibility 0s linear .24s;
    }
    [b-pae1xpfpkv] .studio-panel.mobile-panel-open, .studio-panel.mobile-panel-open[b-pae1xpfpkv] {
        transform: translateY(0);
        visibility: visible;
        transition: transform .24s ease, visibility 0s;
    }
    [b-pae1xpfpkv] .studio-panel > .overflow-y-auto, .studio-panel > .overflow-y-auto[b-pae1xpfpkv] { max-height: none; }
    [b-pae1xpfpkv] .studio-canvas, .studio-canvas[b-pae1xpfpkv] {
        height: calc(100dvh - 8.5rem);
        min-height: 30rem;
        padding: .75rem;
        padding-bottom: 1rem;
    }
    [b-pae1xpfpkv] .studio-viewport, .studio-viewport[b-pae1xpfpkv] {
        min-height: 0;
        margin-top: 2.25rem;
        margin-bottom: 3.5rem;
        overscroll-behavior: contain;
    }
    [b-pae1xpfpkv] .studio-paper, .studio-paper[b-pae1xpfpkv] {
        max-width: calc(100vw - 1.5rem);
        flex: none;
    }
    .mobile-panel-backdrop[b-pae1xpfpkv] {
        position: fixed;
        z-index: 55;
        inset: 0;
        border: 0;
        background: rgba(15, 23, 42, .38);
        backdrop-filter: blur(2px);
        animation: mobile-backdrop-in-b-pae1xpfpkv .18s ease-out;
    }
}
@media (min-width: 1024px) {
    .studio-workspace[b-pae1xpfpkv] { height: max(800px, calc(100vh - 10rem)); }
    [b-pae1xpfpkv] .studio-panel, .studio-panel[b-pae1xpfpkv] { max-height: none; }
    .mobile-editor-dock[b-pae1xpfpkv] { display: none; }
    [b-pae1xpfpkv] .mobile-sheet-close,
    [b-pae1xpfpkv] .mobile-sheet-handle { display: none !important; }
}

@media (max-width: 480px) {
    .mobile-editor-dock[b-pae1xpfpkv] {
        left: .5rem;
        right: .5rem;
        bottom: max(.5rem, env(safe-area-inset-bottom));
        grid-template-columns: repeat(3, minmax(2.8rem, .7fr)) minmax(6.5rem, 1.35fr);
    }
    .mobile-dock-action span:last-child[b-pae1xpfpkv] { font-size: .64rem; }
    .mobile-dock-cta[b-pae1xpfpkv] { font-size: .68rem; }
    [b-pae1xpfpkv] .print-guide-legend {
        bottom: 4rem;
        max-width: calc(100vw - 1.5rem);
        gap: .45rem;
        padding-inline: .55rem;
        overflow-x: auto;
    }
    [b-pae1xpfpkv] .studio-canvas, .studio-canvas[b-pae1xpfpkv] { min-height: 27rem; }
    [b-pae1xpfpkv] .studio-viewport, .studio-viewport[b-pae1xpfpkv] { margin-top: 2rem; margin-bottom: 3.25rem; }
}

@media (max-width: 359px) {
    .mobile-dock-action span:last-child[b-pae1xpfpkv] { display: none; }
    .mobile-dock-action .material-symbols-outlined[b-pae1xpfpkv] { font-size: 1.35rem; }
    .mobile-editor-dock[b-pae1xpfpkv] { grid-template-columns: repeat(3, minmax(2.65rem, .55fr)) minmax(6.25rem, 1.45fr); }
}

@keyframes mobile-backdrop-in-b-pae1xpfpkv {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    [b-pae1xpfpkv] .studio-panel, .studio-panel[b-pae1xpfpkv],
    .mobile-panel-backdrop[b-pae1xpfpkv],
    .mobile-dock-action[b-pae1xpfpkv],
    .mobile-dock-cta[b-pae1xpfpkv] { transition: none; animation: none; }
}
/* /Components/Shared/EditorCropDialog.razor.rz.scp.css */
.studio-action[b-odosl5bz7e] { padding: .4rem .65rem; background: #eee; border-radius: .5rem; font-size: .8rem; }
.studio-action:hover[b-odosl5bz7e] { background: #ddd; }
.studio-action-primary[b-odosl5bz7e] { display: inline-flex; align-items: center; gap: .35rem; background: #111; color: #fff; }
.studio-action-primary:hover[b-odosl5bz7e] { background: #333; }
button:disabled[b-odosl5bz7e] { cursor: not-allowed; opacity: .5; }
.cropper-dialog[b-odosl5bz7e] { width: min(44rem, calc(100vw - 1.5rem)); max-width: none; max-height: calc(100dvh - 1.5rem); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 1rem; background: transparent; color: inherit; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.cropper-dialog[b-odosl5bz7e]::backdrop { background: rgba(0,0,0,.62); backdrop-filter: blur(4px); }
.cropper-dialog-panel[b-odosl5bz7e] { display: flex; max-height: calc(100dvh - 1.5rem); flex-direction: column; overflow: hidden; background: #fff; }
.cropper-dialog-body[b-odosl5bz7e] { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.cropper-dialog-actions[b-odosl5bz7e] { flex: none; background: #fff; padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
.cropper-host[b-odosl5bz7e] { position: relative; margin-inline: auto; width: 100%; max-width: 36rem; height: clamp(18rem, 56dvh, 32rem); overflow: hidden; border-radius: .75rem; background: #171717; }
.cropper-host > img[b-odosl5bz7e] { display: block; max-width: 100%; opacity: 0; }
.cropper-host cropper-canvas[b-odosl5bz7e] { width: 100%; height: 100%; }
.cropper-host cropper-selection[b-odosl5bz7e] { min-width: 72px; min-height: 72px; }
.cropper-toolbar[b-odosl5bz7e] { display: flex; align-items: center; gap: .5rem; }
.crop-icon-button[b-odosl5bz7e] { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border-radius: .6rem; background: #eee; color: #222; }
.crop-icon-button:hover[b-odosl5bz7e] { background: #ddd; }
@media (max-width: 639px) {
  .cropper-dialog[b-odosl5bz7e] { width: 100vw; max-height: 100dvh; margin: auto 0 0; border-radius: 1rem 1rem 0 0; }
  .cropper-dialog-panel[b-odosl5bz7e] { max-height: min(92dvh, 48rem); }
  .cropper-host[b-odosl5bz7e] { height: clamp(16rem, 48dvh, 24rem); }
}
/* /Components/Shared/EditorProperties.razor.rz.scp.css */
.studio-action[b-tmludl8je9] { padding: .4rem .65rem; background: #eee; border-radius: .5rem; font-size: .8rem; }
.studio-action:hover[b-tmludl8je9] { background: #ddd; }
.studio-action-primary[b-tmludl8je9] { display: inline-flex; align-items: center; gap: .35rem; background: #111; color: #fff; }
.studio-action-primary:hover[b-tmludl8je9] { background: #333; }
button:disabled[b-tmludl8je9], fieldset:disabled[b-tmludl8je9] { opacity: .5; }
button:disabled[b-tmludl8je9] { cursor: not-allowed; }
.studio-label[b-tmludl8je9] { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; }
input[b-tmludl8je9], select[b-tmludl8je9] { width: 100%; min-width: 0; border-radius: .5rem; background: #f4f4f4; padding: .5rem; accent-color: #111; }
input[type=color][b-tmludl8je9] { height: 2.75rem; }
button:focus-visible[b-tmludl8je9], input:focus-visible[b-tmludl8je9], select:focus-visible[b-tmludl8je9] { outline: 2px solid #555; outline-offset: 2px; }
@media (max-width: 1023px) {
  .studio-action[b-tmludl8je9] { min-height: 2.75rem; padding-inline: .8rem; }
  input[b-tmludl8je9], select[b-tmludl8je9] { min-height: 2.75rem; }
}
