.document-workspace{--w-surface: #fff;--w-bg: #f5f6f7;--w-text: #20262b;--w-muted: #687179;--w-border: #e1e5e7;color:var(--w-text);padding-bottom:24px}.document-workspace [hidden]{display:none!important}.workspace-toolbar{position:sticky;top:0;z-index:35;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;background:#f7f8f9f5;border-bottom:1px solid var(--w-border)}.workspace-document-heading{min-width:0;display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:650}.workspace-document-heading>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-save-state{font-size:11px;color:var(--w-muted);font-weight:400}.workspace-toolbar-actions,.workspace-preview-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.workspace-button,.workspace-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border:1px solid #dfe4e6;border-radius:6px;padding:8px 13px;color:#29323a;background:#fff;font-size:13px;font-weight:600;line-height:1.35;cursor:pointer;transition:background .15s,border-color .15s}.workspace-icon-button{width:40px;height:40px;padding:8px;flex-shrink:0}.workspace-button:hover,.workspace-icon-button:hover{border-color:#aab6bd;background:#f5f7f8}.workspace-button:focus-visible,.workspace-icon-button:focus-visible,.workspace-tabs button:focus-visible{outline:2px solid var(--c-primary);outline-offset:3px}.workspace-button:disabled,.workspace-icon-button:disabled{opacity:.45;cursor:not-allowed}.workspace-save-button{color:var(--c-primary-contrast);background:var(--c-primary);border-color:var(--c-primary)}.workspace-save-button:hover{background:var(--c-primary);filter:brightness(.94);border-color:var(--c-primary)}.workspace-preview-button{background:color-mix(in srgb,var(--c-primary) 8%,white);border-color:color-mix(in srgb,var(--c-primary) 25%,white)}.workspace-tabs{display:flex;align-items:center;gap:24px;padding:0;border-bottom:1px solid var(--w-border);margin-bottom:24px}.workspace-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 3px;font-size:13px;font-weight:600;color:var(--w-muted);border-bottom:2px solid transparent}.workspace-tabs button[aria-current]{color:var(--w-text);border-bottom-color:var(--c-primary)}@media(min-width:1024px){.workspace-toolbar,.workspace-tabs{display:none}}.workspace-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}.workspace-view-edit{grid-template-columns:minmax(0,1fr) 320px}.workspace-editor,.workspace-sidebar{min-width:0}.workspace-view-edit .workspace-documents-view{margin-top:24px;padding-top:20px;border-top:1px solid var(--w-border)}.workspace-source{padding:0 0 12px;color:#647078;font-size:12px;overflow-wrap:anywhere}.workspace-source span{color:#29323a;font-weight:600}.workspace-preview-actions{padding-top:14px}.workspace-preview-view{max-width:950px;margin:0 auto;background:#eceff1;padding:20px}.workspace-preview-view>.workspace-preview-actions{padding:0 0 14px;flex-wrap:wrap}.preview-viewport{width:100%;overflow-x:auto;padding-bottom:1px}.preview-page-space{position:relative;margin:0 auto}.preview-fixed-page{background:#fff;color:#111;position:absolute;left:0;top:0;box-sizing:border-box}.preview-zoom-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-bottom:12px;color:#5b6870;font-size:12px}.workspace-documents-view{max-width:900px;margin:0 auto}.document-library{min-width:0;container-type:inline-size}.document-library>.mb-2{flex-wrap:wrap;gap:8px}.document-search{display:flex;align-items:center;gap:10px;border:1px solid #dce1e4;border-radius:6px;padding:10px 14px;margin-bottom:20px;background:#fff;color:#6b7780}.document-search input{width:100%;min-width:0;background:transparent;font-size:14px;color:#20262b;outline:none}.document-library>.space-y-2>[role=button]{border-radius:6px;border-color:#e1e5e7;box-shadow:none;padding:14px 18px}.document-library>.space-y-2>[role=button]>.pt-11{padding-top:0;padding-right:96px}@container (max-width: 440px){.document-library>.space-y-2>[role=button]{padding:14px 12px}.document-library>.space-y-2>[role=button]>.pt-11{display:block;padding-right:84px}}.workspace-menu{position:absolute;right:0;top:calc(100% + 5px);width:-moz-max-content;width:max-content;min-width:195px;max-width:min(280px,80vw);padding:5px;background:#fff;color:#26333d;border:1px solid #dce1e4;border-radius:8px;box-shadow:0 8px 30px #16232920;z-index:40}.workspace-menu button{width:100%;display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 12px;text-align:left;font-size:13px;border-radius:4px}.workspace-menu button:hover{background:#f2f5f6}.workspace-menu button.is-danger{color:#b53238}.workspace-tools-view{max-width:720px;margin:0 auto}.workspace-tools-view>div>div,.workspace-tools-view details{border-radius:6px;box-shadow:none}.workspace-tools-view{--c-card: #fff;--c-border: #e0e5e7;--c-text: #28323a;--c-muted: #627078}.workspace-tools-view button{border-radius:6px;letter-spacing:0}.workspace-tools-view button:disabled{cursor:not-allowed;opacity:.55}.workspace-tools-view select{min-width:0}.invoice-editor{--c-card: #fff;--c-border: #e0e5e7;--c-text: #28323a;--c-muted: #627078;border:0;border-radius:0;box-shadow:none;background:#fff}.invoice-editor>div:first-child{padding:16px 20px;font-size:15px}.invoice-editor>.p-6{padding:20px}.invoice-editor input,.invoice-editor textarea,.invoice-editor select{box-shadow:none;border-radius:5px;font-size:14px}.invoice-editor .shadow-sm{box-shadow:none}.invoice-editor .h-\[3px\]{height:1px;margin-left:-20px;margin-right:-20px}.invoice-editor .space-y-10>:not([hidden])~:not([hidden]){margin-top:24px}.invoice-editor .space-y-6>:not([hidden])~:not([hidden]){margin-top:12px}.invoice-editor section,.invoice-editor [data-item-card]{border-radius:6px}.invoice-editor .document-logo{height:180px;align-self:start}.item-mobile-order{display:none}.workspace-shell{background:#f7f8f9}.workspace-shell>header{position:relative;z-index:45;background:#fff;border-bottom:1px solid #e3e7e9}.workspace-shell .shell-header-actions{overflow:visible}.workspace-shell>header>div{max-width:1280px;padding-top:0;padding-bottom:0}.workspace-shell .shell-header-frame{border:0;border-radius:0;box-shadow:none;background:transparent;padding:20px 0;gap:24px}.workspace-shell .theme-brand-title{font-size:22px;letter-spacing:0}.workspace-shell main{max-width:1280px;padding:20px 24px}.workspace-shell .shell-footer-frame{box-shadow:none;background:transparent}.workspace-shell .shell-footer-title,.workspace-shell .shell-footer-row{color:#677078}.product-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px;margin-top:16px;font-size:12px;color:#69737a}.product-links a{display:inline-flex;align-items:center;gap:5px;color:#36414a}.product-links a:hover{color:var(--c-primary)}.workspace-shell .shell-footer-inline-link:focus-visible,.product-links a:focus-visible{outline:2px solid var(--c-primary);outline-offset:4px}.workspace-login-hint{border:0;border-bottom:1px solid #e1e5e7;border-radius:0;box-shadow:none;background:transparent;padding:8px 0 16px;color:#43534b}.workspace-login-hint>div:last-child>button{border-radius:6px;min-height:36px}.workspace-login-hint>div:last-child>button:last-child:not(:first-child){min-width:36px}.workspace-modal-backdrop{padding:24px}.workspace-tool-modal{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;border-radius:8px}.workspace-preview-modal{padding:0;width:100%;max-width:1000px;max-height:94dvh;overflow:auto;border-radius:8px;background:#edf0f2}.workspace-preview-modal-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:12px 16px;background:#fff;position:sticky;top:0;z-index:5}.workspace-preview-modal-content{padding:20px}.translation-modal{width:100%;max-width:800px;max-height:92dvh;display:flex;flex-direction:column;border-radius:8px;background:#fff;color:#28323a}.translation-modal-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e1e5e7}.translation-modal-heading h2{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:600}.translation-modal-body{min-height:0;overflow:auto;padding:20px}.translation-language{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:600}.translation-language select{min-height:44px;padding:8px 12px;border:1px solid #dce2e5;border-radius:5px;background:#fff}.translation-notice{font-size:12px;line-height:1.6;color:#6a747b;margin:16px 0}.translation-selection-actions{display:flex;gap:16px;padding-bottom:10px;font-size:12px;color:#4c646e}.translation-field{border-top:1px solid #e1e5e7;padding:14px 0}.translation-field>label,.translation-label-option{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.translation-field input,.translation-label-option input{width:17px;height:17px;accent-color:var(--c-primary)}.translation-field p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}.translation-comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px}.translation-comparison p:first-child{color:#768086}.translation-modal-footer{padding:14px 20px;border-top:1px solid #e1e5e7;display:flex;justify-content:flex-end}@media(max-width:767px){.workspace-login-hint{border-radius:0;padding:0 0 12px;gap:10px}.workspace-login-hint>div:first-child{font-size:12px}.workspace-login-hint>div:first-child>div:last-child{display:none}.workspace-login-hint>div:last-child{flex-shrink:0}.workspace-customer-center input:not([type=checkbox]),.workspace-customer-center select,.workspace-customer-center textarea{min-width:0;font-size:16px;min-height:44px}.workspace-customer-center .customer-center-heading>div:last-child{width:100%}.workspace-customer-center .customer-center-heading input{flex:1;width:0}.workspace-customer-center .grid>div{min-width:0}.workspace-tool-modal{padding:16px}.workspace-tool-modal input:not([type=checkbox]),.workspace-tool-modal select,.workspace-tool-modal textarea{min-width:0;min-height:44px;font-size:16px}.workspace-tool-modal button{min-height:40px}.workspace-shell>.fixed.bottom-4{bottom:calc(82px + env(safe-area-inset-bottom));left:12px;right:12px}.translation-modal{border-radius:0;max-height:100dvh}.translation-comparison{grid-template-columns:1fr;gap:4px}.translation-language select{font-size:16px;min-width:0}}@media(max-width:767px)and (max-height:740px){.workspace-login-hint{padding-bottom:4px;margin-bottom:4px}}@media(max-width:1023px){.workspace-view-edit{grid-template-columns:minmax(0,1fr)}.workspace-editor,.workspace-view-edit .workspace-sidebar{max-width:840px;width:100%;margin:0 auto}}@media(max-width:767px){.workspace-shell .shell-header-frame{display:flex;flex-wrap:wrap;gap:12px 8px;padding:14px 0}.workspace-shell .shell-mode-switch{order:3;width:100%}.workspace-shell .shell-header-frame>div:first-child{flex:1 0 130px}.workspace-shell .shell-header-frame>div:last-child{margin-left:auto}.workspace-shell .theme-brand-mark{display:none}.workspace-shell .theme-brand-title{font-size:16px;white-space:nowrap}.workspace-shell .theme-brand-title+div{display:none}.workspace-shell .shell-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.workspace-shell main{padding:12px}.workspace-shell footer{padding-bottom:calc(90px + env(safe-area-inset-bottom))}.workspace-toolbar{gap:8px;padding:10px 0;flex-wrap:wrap}.workspace-document-heading{font-size:12px;width:100%;flex-direction:row;justify-content:space-between;align-items:center;gap:12px}.workspace-save-state{flex-shrink:0;font-size:10px}.workspace-toolbar-actions{gap:5px;width:100%}.workspace-toolbar-actions>:first-child{margin-right:auto}.workspace-toolbar-actions .workspace-icon-button{width:40px;height:42px}.workspace-toolbar-actions .workspace-button{padding:8px 10px;font-size:12px;min-height:42px}.workspace-tabs{position:fixed;bottom:0;left:0;right:0;z-index:40;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:4px 12px calc(5px + env(safe-area-inset-bottom));margin:0;border-top:1px solid #dce2e5;border-bottom:0;background:#fff}.workspace-tabs button{flex-direction:column;gap:4px;padding:8px 2px;font-size:11px;border-bottom:0;border-radius:6px}.workspace-tabs button[aria-current]{background:color-mix(in srgb,var(--c-primary) 7%,white);color:var(--c-primary)}.workspace-layout{margin-top:14px}.workspace-tools-view button,.workspace-tools-view summary{min-height:44px}.workspace-tools-view select{font-size:16px;min-height:32px}.invoice-editor>.p-6{padding:16px}.invoice-editor>div:first-child{padding:14px 16px}.invoice-editor input,.invoice-editor textarea,.invoice-editor select{font-size:16px;min-height:44px}.invoice-editor .document-logo{height:100px}.invoice-editor .document-logo>div{min-height:100px}.invoice-editor .document-formats{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-editor textarea{resize:vertical}.invoice-editor .h-\[3px\]{margin-left:-16px;margin-right:-16px}.invoice-editor .party-field{display:block;padding-left:0}.invoice-editor .party-field>span{display:block;width:auto;margin-bottom:5px;font-size:12px}.invoice-editor .party-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.invoice-editor .party-fields>:not([hidden])~:not([hidden]){margin-top:0}.invoice-editor .item-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.invoice-editor .item-fields>div:first-child,.invoice-editor .item-fields>div:last-child{grid-column:1 / -1}.invoice-editor .item-fields>div:last-child{flex-direction:row;align-items:center;justify-content:space-between;padding-top:0}.invoice-editor .item-fields>div:last-child>div{margin-top:0}.item-mobile-order{display:inline-flex;gap:2px}.item-mobile-order .workspace-icon-button{width:34px;height:40px;border-color:transparent;background:transparent}.item-drag-handle{display:none!important}.workspace-preview-view{padding:12px 0;background:transparent}.workspace-modal-backdrop{padding:0;align-items:stretch}.workspace-preview-modal{border-radius:0;max-height:100dvh}.workspace-preview-modal-content,.workspace-preview-modal-toolbar{padding:10px}}@media(min-width:400px)and (max-width:767px){.invoice-editor .document-dates{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-editor .document-dates input{min-width:0}}@media(max-width:380px){.workspace-shell .theme-brand-title{font-size:16px}.workspace-shell .theme-brand-mark,.workspace-toolbar-actions .workspace-preview-button span{display:none}}
