:root{--fbm-ink:#172638;--fbm-text:#2b394b;--fbm-muted:#6b7b8f;--fbm-line:#dfe6ee;--fbm-soft:#f6f8fb;--fbm-selected:#eef3f8;--fbm-danger:#d83b45;--fbm-focus:rgba(23,50,76,.18);--fbm-backdrop:rgba(13,25,39,.48);--fbm-radius:18px;--fbm-control-radius:8px;--fbm-shadow:0 28px 72px rgba(15,23,42,.19)}
body.fb-modal-system-open{overflow:hidden}.fb-modal-system-backdrop{position:fixed;inset:0;z-index:100100;background:var(--fbm-backdrop)}.fb-modal-system-layer{position:fixed;inset:0;z-index:100101;display:grid;place-items:center;padding:24px}.fb-modal-system-layer[hidden],.fb-modal-system-layer[aria-hidden="true"]{display:none}
.fb-modal-system--notice .fb-modal-system-body,.fb-modal-system-dialog.fb-modal-system--notice .fb-modal-system-body{font-size:16px;line-height:26px}
.fb-modal-system-dialog{display:flex;flex-direction:column;width:min(100%,480px);max-height:calc(100dvh - 48px);overflow:hidden;border:1px solid var(--fbm-line);border-radius:var(--fbm-radius);background:#fff;color:var(--fbm-text);box-shadow:var(--fbm-shadow);font-family:Pretendard,"Noto Sans KR",Arial,sans-serif}.fb-modal-system--notice .fb-modal-system-dialog,.fb-modal-system-dialog.fb-modal-system--notice{width:min(100%,360px)}.fb-modal-system--decision .fb-modal-system-dialog,.fb-modal-system-dialog.fb-modal-system--decision{width:min(100%,480px)}.fb-modal-system--selector .fb-modal-system-dialog,.fb-modal-system-dialog.fb-modal-system--selector{width:min(100%,720px)}.fb-modal-system--workspace .fb-modal-system-dialog,.fb-modal-system-dialog.fb-modal-system--workspace{width:min(100%,1120px)}.fb-modal-system--media .fb-modal-system-dialog,.fb-modal-system-dialog.fb-modal-system--media{width:min(100%,880px);color:#fff;border-color:#243446;background:#101820}
.fb-modal-system--catalog{padding:0}.fb-modal-system--catalog .fb-modal-system-dialog,.fb-modal-system-dialog.fb-modal-system--catalog{width:100%;height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none}
.fb-modal-system--picker .fb-modal-system-dialog,.fb-modal-system-dialog.fb-modal-system--picker{width:min(100%,1380px);height:calc(100dvh - 64px);max-height:calc(100dvh - 64px)}
.fb-modal-system-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:10px 16px 10px 20px;border-bottom:1px solid var(--fbm-line);background:#fff}.fb-modal-system-title{margin:0;color:var(--fbm-ink);font-size:18px;font-weight:650;line-height:26px;letter-spacing:-.02em}.fb-modal-system-description{margin:4px 0 0;color:var(--fbm-muted);font-size:14px;font-weight:400;line-height:22px}.fb-modal-system-body{min-height:0;overflow:auto;padding:20px;color:var(--fbm-text);font-size:14px;line-height:22px}.fb-modal-system-body>:first-child{margin-top:0}.fb-modal-system-body>:last-child{margin-bottom:0}.fb-modal-system-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:64px;padding:8px 16px;border-top:1px solid var(--fbm-line);background:#fff}
.fb-modal-system-close{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:var(--fbm-control-radius);background:transparent;color:#536274;font-size:26px;font-weight:400;line-height:1}.fb-modal-system-close:hover{background:var(--fbm-soft)}.fb-modal-system-dialog :focus-visible{outline:2px solid var(--fbm-focus);outline-offset:2px}.fb-modal-system-action{display:inline-flex;align-items:center;justify-content:center;min-width:96px;min-height:48px;padding:0 18px;border:1px solid var(--fbm-ink);border-radius:var(--fbm-control-radius);background:var(--fbm-ink);color:#fff;font-size:15px;font-weight:700;line-height:22px}.fb-modal-system-action.is-secondary{border-color:#cbd8e6;background:#fff;color:var(--fbm-ink)}.fb-modal-system-action.is-danger{border-color:#efc8cc;background:#fff;color:var(--fbm-danger)}.fb-modal-system-action:disabled{cursor:not-allowed;opacity:.48}
.fb-modal-system-dialog [role="tab"]{min-height:44px;color:var(--fbm-muted);font-size:14px;line-height:20px}.fb-modal-system-dialog [role="tab"][aria-selected="true"],.fb-modal-system-dialog [role="tab"].is-active{color:var(--fbm-ink);font-weight:600}
.fb-alert-popup.fb-modal-system-dialog,.size-alert-popup.fb-modal-system-dialog,.locked-postproc-popup.fb-modal-system-dialog,.ssw-box.fb-modal-system-dialog,.fb-confirm-popup.fb-modal-system-dialog,.print-suggest-popup.fb-modal-system-dialog,.env-gluing-confirm-popup.fb-modal-system-dialog,.paper-cut-popup-wrap.fb-modal-system-dialog{position:fixed;z-index:100101;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.fb-guide-modal.fb-modal-system-layer .fb-guide-modal-body{margin:0;max-height:calc(100dvh - 8px)}.fb-guide-modal.fb-modal-system-layer.fb-modal-system--workspace .fb-guide-modal-body{width:min(1040px,96vw)}.fb-guide-modal.fb-modal-system-layer .fb-guide-modal-inner{min-height:0;flex:1}.uv-lightbox.fb-modal-system-layer{background:var(--fbm-backdrop)}.pressb-process-modal .fb-modal-system-dialog{background:#101820}.pressb-process-modal .pressb-process-modal-copy h2{color:#fff}.pressb-process-modal .pressb-process-modal-copy p{color:#bdc8d5}
#fb-pr-modal .fb-pr-body{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:14px;min-height:0;padding:16px;background:var(--fbm-soft)}
#fb-pr-modal .fb-modal-system-header{min-height:60px;padding:8px 14px 8px 18px}#fb-pr-modal .fb-modal-system-actions{min-height:64px;padding:8px 16px}
#fb-pr-modal .fb-pr-canvas-wrap{grid-column:1;min-width:0;min-height:min(58vh,640px)}
#fb-pr-modal .fb-pr-side-panel{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;padding:14px;border:1px solid var(--fbm-line);border-radius:12px;background:#fff}
#fb-pr-modal .fb-pr-mask-tools{display:grid;gap:10px}
#fb-pr-modal .fb-pr-tools-title{padding-bottom:10px;border-bottom:1px solid var(--fbm-line);color:var(--fbm-ink);font-size:15px;font-weight:700}
#fb-pr-modal .fb-pr-tool-primary{display:grid;grid-template-columns:1fr}
#fb-pr-modal .fb-pr-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#fb-pr-modal .fb-pr-tool-history{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-top:10px;border-top:1px solid var(--fbm-line)}
#fb-pr-modal .fb-pr-tool,#fb-pr-modal .fb-pr-undo,#fb-pr-modal .fb-pr-clear-mask,#fb-pr-modal .fb-pr-clear{display:inline-flex;align-items:center;justify-content:flex-start;width:100%;min-width:0;min-height:48px;padding:0 10px;border:1px solid #cbd8e6;border-radius:8px;background:#fff;color:var(--fbm-ink);font-size:13px;font-weight:650;line-height:18px;text-align:left}
#fb-pr-modal .fb-pr-tool-icon{flex:0 0 20px;width:20px;height:20px;margin-right:8px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#fb-pr-modal .fb-pr-tool[data-tool="eraseWand"]{grid-column:1/-1}
#fb-pr-modal .fb-pr-tool.is-active,#fb-pr-modal .fb-pr-tool[aria-pressed="true"]{border-color:var(--fbm-ink);background:var(--fbm-selected);color:var(--fbm-ink)}
#fb-pr-modal .fb-pr-color-swatches,#fb-pr-modal .fb-pr-brush-row{min-width:0;margin:0;padding:10px;border-radius:8px;background:var(--fbm-soft)}
#fb-pr-modal .fb-pr-rect-panel{min-width:0;padding:12px;border-color:var(--fbm-line);border-radius:8px}
#fb-pr-modal .fb-pr-clear{margin-top:auto;color:var(--fbm-muted)}
#fb-pr-modal .fb-pr-pdf-preview-box{display:grid;gap:6px;margin:0;padding-top:12px;border:0;border-top:1px solid var(--fbm-line);background:transparent}
#fb-pr-modal .fb-pr-pdf-preview-btn{width:100%;min-height:44px;padding:0 10px;border:1px solid var(--fbm-ink);border-radius:8px;background:var(--fbm-ink);color:#fff;font-size:13px;font-weight:700}
#fb-pr-modal .fb-pr-pdf-preview-status{margin:0;font-size:11px;line-height:17px;text-align:left}
#fb-pr-modal .fb-pr-pdf-back-btn{width:100%;margin:0}
#fb-pr-modal .fb-pr-contextbar{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:14px;padding:8px 18px;border-bottom:1px solid var(--fbm-line);background:#fff}
#fb-pr-modal .fb-pr-context-controls{display:flex;align-items:center;min-width:0}
#fb-pr-modal .fb-pr-tabs,#fb-pr-modal .fb-pr-side-tabs{display:flex;gap:4px;min-width:0;overflow-x:auto}
#fb-pr-modal .fb-pr-design-tab,#fb-pr-modal .fb-pr-side-tab{flex:0 0 auto;min-height:44px;padding:0 14px;border:1px solid #cbd8e6;border-radius:8px;background:#fff;color:var(--fbm-text);font-size:14px;font-weight:600;line-height:20px}
#fb-pr-modal .fb-pr-design-tab.is-active,#fb-pr-modal .fb-pr-side-tab.is-active{border-color:var(--fbm-ink);background:var(--fbm-selected);color:var(--fbm-ink)}
#fb-pr-modal .fb-pr-context-divider{width:1px;height:24px;background:var(--fbm-line)}
#fb-pr-modal .fb-pr-mode-hint{padding:12px;border:1px solid var(--fbm-line);border-radius:8px;background:var(--fbm-soft);color:#536274;font-size:14px;line-height:22px}
#fb-pr-modal .fb-pr-canvas-controls{position:absolute;z-index:3;top:16px;left:16px;display:flex;align-items:center;padding:4px;border:1px solid var(--fbm-line);border-radius:10px;background:rgba(255,255,255,.96)}
#fb-pr-modal .fb-pr-pdf-preview-btn{border-color:#cbd8e6;background:#fff;color:var(--fbm-ink)}
#fb-pr-modal .fb-pr-pdf-preview-status{color:#536274;font-size:13px;line-height:20px;text-align:left}
#fb-pr-modal .fb-pr-pdf-preview-status[hidden]{display:none}
#fb-pr-modal .fb-pr-pdf-preview-status[data-state="changed"]{color:#9a4d12}#fb-pr-modal .fb-pr-pdf-preview-status[data-state="ready"]{color:#315c4b}
@media(max-width:768px){#fb-pr-modal .fb-pr-contextbar{grid-template-columns:1fr;padding:8px 12px}#fb-pr-modal .fb-pr-context-controls{display:block}#fb-pr-modal .fb-pr-tabs,#fb-pr-modal .fb-pr-side-tabs{width:100%}#fb-pr-modal .fb-pr-design-tab,#fb-pr-modal .fb-pr-side-tab{flex:1 1 0;padding:0 10px}#fb-pr-modal .fb-pr-canvas-controls{top:10px;left:10px}#fb-pr-modal .fb-pr-mode-hint{font-size:13px;line-height:20px}}
@media(max-width:768px){#fb-pr-modal .fb-pr-body{grid-template-columns:1fr;grid-template-rows:auto auto;gap:8px;padding:8px}#fb-pr-modal .fb-pr-canvas-wrap{grid-column:1;grid-row:1;width:100%;height:48dvh;min-height:360px;max-height:520px;padding:8px}#fb-pr-modal .fb-pr-side-panel{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:none;overflow:visible;padding:10px}#fb-pr-modal .fb-pr-mask-tools{display:contents}#fb-pr-modal .fb-pr-tools-title{display:none}#fb-pr-modal .fb-pr-tool-primary,#fb-pr-modal .fb-pr-tool-grid,#fb-pr-modal .fb-pr-tool-history{display:contents}#fb-pr-modal .fb-pr-mode-hint,#fb-pr-modal .fb-pr-color-swatches,#fb-pr-modal .fb-pr-brush-row,#fb-pr-modal .fb-pr-rect-panel,#fb-pr-modal .fb-pr-clear,#fb-pr-modal .fb-pr-pdf-preview-box{grid-column:1/-1;margin:0}#fb-pr-modal .fb-pr-tool[data-tool="eraseWand"]{grid-column:auto}#fb-pr-modal .fb-pr-tool,#fb-pr-modal .fb-pr-undo,#fb-pr-modal .fb-pr-clear-mask,#fb-pr-modal .fb-pr-clear,#fb-pr-modal .fb-pr-pdf-preview-btn{min-height:48px}#fb-pr-modal .fb-pr-pdf-preview-box{padding-top:8px}}
@media(max-width:768px){.fb-modal-system-layer{place-items:end center;padding:0}.fb-modal-system-dialog{width:100%;max-width:none;max-height:min(84dvh,760px);border-width:1px 0 0;border-radius:18px 18px 0 0;padding-bottom:env(safe-area-inset-bottom)}.fb-modal-system--workspace .fb-modal-system-dialog,.fb-modal-system--media .fb-modal-system-dialog,.fb-modal-system--picker .fb-modal-system-dialog,.fb-modal-system-dialog.fb-modal-system--workspace,.fb-modal-system-dialog.fb-modal-system--media,.fb-modal-system-dialog.fb-modal-system--picker{height:100dvh;max-height:100dvh;border:0;border-radius:0}.fb-modal-system-header{min-height:68px;padding:12px 12px 12px 16px}.fb-modal-system-title{font-size:17px;line-height:24px}.fb-modal-system-description{font-size:14px;line-height:22px}.fb-modal-system-body{padding:20px 16px}.fb-modal-system-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-height:76px;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.fb-modal-system-actions>:only-child{grid-column:1/-1}.fb-modal-system-action{width:100%;min-width:0;min-height:52px;font-size:16px;line-height:24px}.fb-alert-popup.fb-modal-system-dialog,.size-alert-popup.fb-modal-system-dialog,.locked-postproc-popup.fb-modal-system-dialog,.ssw-box.fb-modal-system-dialog,.fb-confirm-popup.fb-modal-system-dialog,.print-suggest-popup.fb-modal-system-dialog,.env-gluing-confirm-popup.fb-modal-system-dialog,.paper-cut-popup-wrap.fb-modal-system-dialog{inset:auto 0 0;transform:none}html.fb-detail-renewal body.fb-modal-system-open .mobile-bottom-bar,html.fb-detail-renewal body.fb-modal-system-open .mobile-order-panel,html.fb-detail-renewal body.fb-modal-system-open .mobile-overlay{display:none}}
