._canvas_1jnu8_1,._expanded_1jnu8_1{width:100%;min-width:0}._toolbar_1jnu8_1{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 16px;border-bottom:1px solid var(--theme-border);background:var(--theme-card);border-radius:11px 11px 0 0}._zoom_1jnu8_1{display:flex;align-items:center;gap:8px;flex-wrap:wrap}._zoom_1jnu8_1>span{display:inline-block;min-width:42px;text-align:center;font-size:12px;font-weight:600;color:var(--theme-text);font-variant-numeric:tabular-nums}._zoom_1jnu8_1 button{font-size:11px;min-height:36px}._zoom_1jnu8_1 button:last-child{margin-left:6px}._hint_1jnu8_1{font-size:10px;color:var(--theme-text-muted);line-height:1.7}._viewport_1jnu8_1{position:relative;width:100%;min-width:0;max-height:78dvh;min-height:280px;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:24px;background:var(--theme-card-alt);border-radius:0 0 11px 11px;scrollbar-width:auto;scrollbar-gutter:stable}._viewport_1jnu8_1:focus-visible{outline:2px solid var(--theme-primary);outline-offset:-3px}._frame_1jnu8_1{position:relative;min-width:0;margin:0 auto;flex-shrink:0}._document_1jnu8_1{position:absolute;left:0;top:0;width:720px;transform-origin:top left}._expanded_1jnu8_1 ._viewport_1jnu8_1{height:calc(100dvh - 185px);max-height:none;min-height:160px}@media(max-width:600px){._toolbar_1jnu8_1{padding:12px;gap:8px}._hint_1jnu8_1{width:100%}._zoom_1jnu8_1{gap:7px}._zoom_1jnu8_1 button{min-height:40px}._viewport_1jnu8_1{min-height:240px;max-height:70dvh}._expanded_1jnu8_1 ._viewport_1jnu8_1{height:calc(100dvh - 215px);max-height:none;min-height:140px}}@media print{._toolbar_1jnu8_1{display:none}._viewport_1jnu8_1{overflow:visible;max-height:none;height:auto;padding:0}}._workspace_1cr5j_1{min-width:0;width:100%;margin:22px 0;container-type:inline-size;container-name:invoice-editor}._quickPreview_1cr5j_1{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}._quickPreview_1cr5j_1>span{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--theme-text-secondary)}._quickPreview_1cr5j_1 button{font-size:12px;min-height:42px}._layout_1cr5j_1{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:26px}._editor_1cr5j_1{min-width:0}._editor_1cr5j_1>form,._editor_1cr5j_1>section{margin-top:0!important}._preview_1cr5j_1{min-width:0;width:100%;box-sizing:border-box;background:var(--theme-card-alt);border:1px solid var(--theme-border);border-radius:14px;overflow:hidden}._heading_1cr5j_1{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--theme-text);padding:18px 20px;background:var(--theme-card);border-bottom:1px solid var(--theme-border)}._heading_1cr5j_1>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}._heading_1cr5j_1 strong{font-size:14px;font-weight:600}._heading_1cr5j_1 span{font-size:11px;color:var(--theme-text-muted);margin-left:5px}._heading_1cr5j_1 button{font-size:11px;min-height:38px}._expanded_1cr5j_1{width:calc(100vw - 24px)!important;max-width:none!important;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;padding:18px 20px 20px!important;display:flex!important;flex-direction:column;gap:14px;border-radius:15px;overflow:auto}._dialogHeading_1cr5j_1{padding:1px 42px 0 1px;flex-shrink:0}._dialogHeading_1cr5j_1 h2{font-size:20px;line-height:1.4;margin:0 0 5px}._dialogHeading_1cr5j_1 p{font-size:11px;color:var(--theme-text-muted);line-height:1.7;margin:0}@media(min-width:1024px){._layout_1cr5j_1{grid-template-columns:minmax(0,1fr) 604px;gap:36px}._editor_1cr5j_1{container-type:inline-size;container-name:invoice-form}._preview_1cr5j_1{position:sticky;top:105px}}@container invoice-editor (max-width:900px){._layout_1cr5j_1{grid-template-columns:minmax(0,1fr)}._preview_1cr5j_1{position:static}}@media(max-width:600px){._quickPreview_1cr5j_1{align-items:flex-start;flex-direction:column;gap:10px}._quickPreview_1cr5j_1 button{width:100%}._heading_1cr5j_1{padding:16px 14px;align-items:flex-start;flex-wrap:wrap}._heading_1cr5j_1>div{gap:8px}._heading_1cr5j_1 span{margin-left:0;flex-basis:100%;padding-left:27px}._expanded_1cr5j_1{padding:17px 12px 12px!important;border-radius:12px}._dialogHeading_1cr5j_1 h2{font-size:18px}._layout_1cr5j_1{gap:22px}}@media print{._workspace_1cr5j_1{container-type:normal}._layout_1cr5j_1{display:block}._preview_1cr5j_1,._quickPreview_1cr5j_1,._expanded_1cr5j_1{display:none!important}}
