.op-workspace{--op-ink:#202327;--op-muted:#626973;--op-border:#e2e5e8;--op-red:#a51c2a;--op-hover:#f6f7f8;color:var(--op-ink);max-width:1260px;min-width:0;padding-bottom:24px;text-align:left}.op-modal *,.op-workspace *{box-sizing:border-box}.op-workspace :is(button,a,input,select,textarea):focus-visible{outline:3px solid #ae5865;outline-offset:3px}.op-workspace a,.op-workspace button,.op-workspace input,.op-workspace select,.op-workspace textarea{font:inherit}.op-workspace button{cursor:pointer}.op-workspace button:disabled,.op-workspace input:disabled,.op-workspace select:disabled{opacity:.5;cursor:default}.op-modal h2,.op-workspace dl,.op-workspace h1,.op-workspace h2,.op-workspace p{margin:0}.op-workspace h1{font-size:clamp(30px,4vw,44px);line-height:1.08;letter-spacing:-.052em;font-weight:680;overflow-wrap:anywhere}.op-modal h2,.op-workspace h2{font-size:19px;line-height:1.3;letter-spacing:-.032em;font-weight:650}.op-modal small,.op-workspace small{display:block;color:var(--op-muted);font-size:13px;line-height:1.55}.op-heading{margin-bottom:25px}.op-card-head,.op-card-title,.op-filterbar,.op-foot,.op-heading-row,.op-inline-buttons,.op-line-head,.op-logo-control,.op-toolbar{display:flex;align-items:center;gap:12px}.op-card-head,.op-card-title,.op-heading-row,.op-line-head{justify-content:space-between}.op-heading p{margin-top:8px;color:var(--op-muted);font-size:15px;line-height:1.5}.op-workspace .op-back,.op-workspace .op-text-btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0;background:none;border:0;color:var(--op-red);font-size:14px;font-weight:620;text-align:left}.op-workspace .op-back{color:var(--op-muted);margin-bottom:9px}.op-back:hover,.op-text-btn:hover{text-decoration:underline}.op-workspace .op-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid #d7dbdf;border-radius:10px;color:var(--op-ink);background:white;font-size:14px;font-weight:620;line-height:1.35;text-decoration:none;transition:background-color .15s,border-color .15s;text-align:center}.op-btn svg,.op-icon svg,.op-search svg,.op-settings-block>svg,.op-text-btn svg{flex-shrink:0}.op-workspace .op-btn:hover{background:#f5f6f7;border-color:#bec4c9}.op-workspace .op-btn.op-primary{background:var(--op-red);border-color:var(--op-red);color:white}.op-workspace .op-btn.op-primary:hover{background:#861622}.op-workspace .op-btn.op-dark{background:#25282d;color:white;border-color:#25282d}.op-workspace .op-btn.op-dark:hover{background:#08090a}.op-workspace .op-small{min-height:38px;font-size:13px;padding:8px 11px}.op-workspace .op-icon{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;color:var(--op-muted);background:white;border:1px solid var(--op-border);border-radius:10px}.op-workspace .op-icon:hover{background:var(--op-hover);color:var(--op-ink)}.op-card{margin-bottom:16px;padding:clamp(18px,2.1vw,30px);border:1px solid var(--op-border);border-radius:16px;background:#fff}.op-card>h2{margin-bottom:19px}.op-card.op-flush{padding:0;overflow:hidden}.op-card-head,.op-filterbar{padding:18px 22px;border-bottom:1px solid var(--op-border);flex-wrap:wrap}.op-card-title{margin-bottom:12px;flex-wrap:wrap}.op-toolbar{margin-bottom:16px;flex-wrap:wrap}.op-muted,.op-workspace .op-muted{color:var(--op-muted);font-size:13px;line-height:1.5}.op-workspace .op-toolbar+.op-muted{margin-bottom:14px}.op-alert,.op-notice,.op-success{padding:12px 14px;border-radius:8px;font-size:14px;line-height:1.5}.op-workspace .op-alert{color:#982934;background:#fff1f1;margin-top:12px}.op-workspace .op-success{color:#166342;background:#ecf7ef;margin:12px 0}.op-workspace .op-notice{color:#704d12;background:#fff4dc;margin-bottom:18px}.op-empty{display:grid;justify-items:center;gap:9px;padding:38px 18px;text-align:center}.op-empty svg{color:#858d96}.op-empty p{color:var(--op-muted);font-size:14px}.op-workspace .op-field{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;font-size:14px}.op-field>label{color:#474e56;font-weight:600;font-size:13px;line-height:1.4}.op-workspace .op-field :is(input,select,textarea),.op-workspace .op-search{width:100%;min-width:0;border:1px solid #cfd4d9;border-radius:9px;background:white;color:var(--op-ink);padding:10px 12px;min-height:44px;font-size:15px;line-height:1.45}.op-workspace .op-field textarea{resize:vertical}.op-workspace input::placeholder,.op-workspace textarea::placeholder{color:#737b84;opacity:1}.op-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.op-grid .op-wide{grid-column:1/-1}.op-compose,.op-form{display:flex;flex-direction:column;gap:14px}.op-compose>.op-card,.op-form>.op-card{margin-bottom:0}.op-foot,.op-workspace .op-gap-top{margin-top:14px}.op-foot{justify-content:flex-end;flex-wrap:wrap}.op-switch,.op-tabs{display:inline-flex;align-items:stretch;gap:3px;padding:3px;border:1px solid var(--op-border);border-radius:10px;background:#f3f4f5;max-width:100%}.op-workspace .op-switch button,.op-workspace .op-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 13px;min-height:36px;color:var(--op-muted);border:0;border-radius:7px;background:none;font-size:13px;font-weight:600}.op-workspace .op-switch [aria-pressed=true],.op-workspace .op-tabs [aria-pressed=true]{background:white;color:var(--op-ink);box-shadow:0 1px 3px #15171b20}.op-tabs{margin-bottom:18px;flex-wrap:wrap}.op-switch{align-self:flex-start}.op-workspace .op-search{display:flex;align-items:center;gap:10px;flex:1 1 200px;max-width:560px;padding:0 12px;color:var(--op-muted)}.op-workspace .op-search:focus-within{outline:2px solid #ae5865;outline-offset:1px}.op-workspace .op-search input{flex:1;width:100%;min-width:0;min-height:42px;border:0;padding:8px 0;background:transparent;outline:0;font-size:15px}.op-filter-panel{padding:16px 22px;border-bottom:1px solid var(--op-border);background:#f8f9fa}.op-filters{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}.op-list-label{padding:14px 22px 7px;font-size:12px;font-weight:650;color:var(--op-muted)}.op-workspace .op-client-row,.op-workspace .op-ledger-row{width:100%;display:grid;align-items:center;gap:14px;padding:15px 22px;border:0;border-bottom:1px solid #ebedef;text-align:left;background:white;color:inherit}.op-workspace .op-ledger-row{grid-template-columns:36px minmax(100px,1fr) minmax(90px,.65fr) minmax(85px,.7fr) minmax(86px,.65fr) 17px}.op-workspace .op-client-row{grid-template-columns:38px minmax(100px,1fr) auto 16px}.op-client-row:last-child,.op-ledger>div:last-child .op-ledger-row{border-bottom:0}.op-workspace .op-client-row:hover,.op-workspace .op-ledger-row:hover{background:#fafafb}.op-avatar,.op-file-icon{display:grid;place-items:center;width:36px;height:36px;background:#f4f5f6;border-radius:9px;color:#5d6570}.op-avatar{border-radius:50%;font-weight:650;font-size:13px;color:#563f44;background:#f4ebee}.op-ledger-id{display:grid;gap:1px;min-width:0}.op-billed-line strong,.op-client-row strong,.op-ledger-row strong{font-size:14px}.op-ledger-id :is(strong,small){overflow-wrap:anywhere}.op-chevron,.op-ledger-date{color:var(--op-muted);font-size:13px}.op-amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.op-status{display:inline-flex;justify-self:start;align-items:center;gap:6px;padding:4px 9px;border-radius:20px;white-space:nowrap;background:#edf0f2;color:#4e5661;font-size:12px;font-weight:650;line-height:1.4}.op-status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}.op-status-paid{color:#266846;background:#eaf5ee}.op-status-pending{color:#815618;background:#fbf1dd}.op-status-credit,.op-status-credited{color:#684d79;background:#f1edf6}.op-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;padding-bottom:12px}.op-info-grid dt,.op-spec dt,.op-summary dt,.op-totals dt{font-size:13px;color:var(--op-muted)}.op-info-grid dt:not(:first-child){margin-top:10px}.op-modal dd,.op-workspace dd{margin:0}.op-info-grid dd{margin-top:4px;line-height:1.55;font-size:14px;overflow-wrap:anywhere}.op-account,.op-audit-row,.op-billed-line,.op-settings-block{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-top:1px solid var(--op-border)}.op-account>div,.op-audit-row>div,.op-billed-line>div{min-width:0;overflow-wrap:anywhere}.op-billed-line>strong{white-space:nowrap}.op-workspace .op-summary dl,.op-workspace .op-totals{max-width:430px;margin-left:auto;padding-top:14px}.op-spec>div,.op-summary dl>div,.op-totals>div{display:flex;align-items:baseline;justify-content:space-between;gap:15px;padding:6px 0}.op-spec dd,.op-summary dd,.op-totals dd{font-weight:600;text-align:right;font-variant-numeric:tabular-nums}.op-summary .op-grand,.op-totals .op-grand{margin-top:6px;padding:12px 0;border-top:1px solid var(--op-border)}.op-grand dd,.op-grand dt{color:var(--op-ink);font-size:18px;font-weight:650}.op-summary .op-btn{margin-top:14px;display:flex;margin-left:auto}.op-workspace .op-line{margin:5px 0 16px;padding:13px 16px 10px;border:1px solid var(--op-border);border-radius:10px}.op-line legend{padding:0 7px;color:var(--op-muted);font-size:12px;font-weight:650}.op-line-head{margin-bottom:12px}.op-line-prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:12px;margin-top:12px}.op-workspace .op-line-total{display:flex;justify-content:flex-end;gap:12px;margin-top:12px;font-size:13px;color:var(--op-muted)}.op-line-total strong{color:var(--op-ink)}.op-timeline{list-style:none;padding:0;margin:0}.op-timeline li{position:relative;padding:0 0 16px 20px;margin-left:4px;border-left:1px solid #d1d6db;font-size:14px}.op-timeline li:last-child{padding-bottom:0}.op-timeline li:before{content:"";position:absolute;top:5px;left:-4px;width:7px;height:7px;border-radius:50%;background:#879099}.op-logo-control{align-items:end;flex-wrap:wrap}.op-logo-preview{object-fit:contain;max-width:105px;max-height:60px}.op-check{display:flex;align-items:flex-start;gap:12px;font-size:15px}.op-check input{margin-top:4px;width:18px;height:18px;accent-color:var(--op-red)}.op-check small{margin-top:4px}.op-inline-buttons{flex-wrap:wrap}.op-settings-block{justify-content:flex-start;align-items:flex-start}.op-settings-block>svg{color:var(--op-muted)}.op-workspace .op-settings-block p{color:var(--op-muted);line-height:1.55;margin:6px 0 12px;font-size:14px}.op-modal{width:min(550px,calc(100% - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:clamp(18px,3vw,28px);border:1px solid var(--op-border);border-radius:18px;background:white;color:var(--op-ink);box-shadow:0 24px 90px #16182133;overflow:auto}.op-modal::backdrop{background:rgba(19,23,31,.46)}.op-modal-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:16px}.op-workspace .op-modal-copy{font-size:14px;color:var(--op-muted);line-height:1.55}.op-workspace .op-spec{background:#f6f7f8;border-radius:10px;padding:9px 14px;font-size:14px}.op-spin{animation:op-spin 1s linear infinite}@keyframes op-spin{to{transform:rotate(1turn)}}@media (max-width:800px){.op-workspace .op-ledger-row{grid-template-columns:minmax(110px,1fr) auto auto;gap:6px 12px}.op-ledger-row .op-chevron,.op-ledger-row .op-file-icon{display:none}.op-ledger-row .op-ledger-id{grid-row:1/3}.op-ledger-row .op-ledger-date{grid-column:2;grid-row:2;text-align:right}.op-ledger-row .op-status{grid-column:2;grid-row:1;justify-self:end}.op-ledger-row .op-amount{grid-column:3;grid-row:1/3}}@media (max-width:600px){.op-workspace{padding-bottom:10px}.op-heading{margin-bottom:18px}.op-heading-row{align-items:flex-start;flex-wrap:wrap;gap:12px}.op-heading p{font-size:14px}.op-card{border-radius:13px;padding:16px}.op-card-head,.op-filter-panel,.op-filterbar,.op-list-label{padding-left:14px;padding-right:14px}.op-workspace .op-client-row,.op-workspace .op-ledger-row{padding:13px 14px}.op-workspace .op-ledger-row{grid-template-columns:minmax(100px,1fr) auto;gap:4px 8px}.op-ledger-row .op-ledger-id{grid-row:1;grid-column:1}.op-ledger-row .op-ledger-date{grid-row:2;grid-column:1;text-align:left}.op-ledger-row .op-status{grid-row:2;grid-column:2}.op-ledger-row .op-amount{grid-row:1;grid-column:2}.op-workspace .op-client-row{grid-template-columns:32px minmax(80px,1fr) 16px}.op-client-row .op-muted{display:none}.op-grid{gap:12px}.op-grid:not(.op-filters){grid-template-columns:minmax(0,1fr)}.op-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.op-workspace .op-field :is(input,textarea,select),.op-workspace .op-search input{font-size:16px}.op-workspace .op-back,.op-workspace .op-icon,.op-workspace .op-small,.op-workspace .op-switch button,.op-workspace .op-tabs button,.op-workspace .op-text-btn{min-height:44px}.op-workspace .op-icon{min-width:44px}.op-filterbar{gap:8px}.op-filterbar .op-search{flex-basis:120px}.op-account{align-items:flex-start;flex-direction:column}.op-info-grid{grid-template-columns:minmax(0,1fr)}.op-billed-line{align-items:flex-start}.op-btn{white-space:normal}.op-modal{max-height:calc(100dvh - 22px)}.op-line-prices{grid-template-columns:repeat(2,minmax(0,1fr))}.op-workspace .op-line{padding-left:11px;padding-right:11px}.op-summary .op-btn{width:100%}.op-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.op-foot{justify-content:stretch}.op-foot .op-btn{flex:1 1 120px}}@media (prefers-reduced-motion:reduce){.op-workspace *{animation:none!important;transition:none!important}}