.ops-app .ops-form-grid{display:grid;grid-template-columns:minmax(240px,0.8fr) minmax(300px,1.2fr);gap:12px;align-items:start;margin-bottom:12px}
.ops-app .ops-form-grid .form-box{width:100%;min-width:0;margin:0}
.ops-app .ops-filter{flex-wrap:wrap}
.ops-app .ops-filter input[type=date]{width:150px}
.ops-app .ops-note,.modal .ops-note{margin:8px 0;color:#585e64;font-size:13px;line-height:1.45}
.ops-app .ops-invoices{margin:9px 0;padding:9px;border:1px solid #c6cbcf;max-height:248px;overflow:auto}
.ops-invoices legend{font-weight:600;color:#494d50}
.ops-invoices>label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:5px 1px;line-height:1.4;border-bottom:1px solid #e3e5e7;font-size:13px}
.ops-invoices>label input{width:15px;height:15px}
.ops-invoices>label b{font-weight:500;white-space:nowrap}
.ops-app .detail-dl{margin:9px 0}
.ops-app .ops-form-grid .detail-dl dd{word-break:break-word}
.ops-app .settings-sheet .data-scroll{margin:8px 0}
@media(max-width:760px){.ops-app .ops-form-grid{grid-template-columns:1fr}.ops-app .ops-filter input,.ops-app .ops-filter select{max-width:100%;flex:1 1 130px}}
.ops-app .ops-entry{margin:0;padding:12px 13px 22px;background:#fbfbfb;border:0}
.ops-doc-head{display:grid;grid-template-columns:minmax(260px,1.3fr) minmax(220px,1fr);gap:clamp(24px,8vw,100px);align-items:start;margin:0 3px 13px}
.ops-doc-head .field,.ops-pane-body .field{display:grid;grid-template-columns:minmax(110px,158px) minmax(120px,1fr);align-items:center;gap:10px;margin:0 0 9px;max-width:660px}
.ops-doc-head .field>span,.ops-pane-body .field>span{font-weight:400;color:#444}
.ops-doc-head .field input,.ops-doc-head .field select,.ops-pane-body .field input,.ops-pane-body .field select,.ops-pane-body textarea{width:100%;min-width:0}
.ops-doc-head>div:last-child{justify-self:end;width:100%;max-width:420px}
.ops-sections{border-top:1px solid #c3c7ca;background:#fff;min-width:0}
.ops-sections>nav{display:flex;align-items:stretch;gap:2px;overflow-x:auto;background:#eee;border-bottom:1px solid #c5c7c9}
.ops-sections [role=tab]{white-space:nowrap;font-size:14px;padding:7px 12px;background:#eee;border:0;border-bottom:2px solid transparent;border-radius:0}
.ops-sections [role=tab][aria-selected=true]{background:white;border-bottom-color:#ef386a;color:#292929}
.ops-pane-body{padding:10px 6px 15px}
.ops-pane-body [hidden]{display:none!important}
.ops-line-grid th,.ops-line-grid td{white-space:nowrap}
.ops-line-grid select{max-width:320px;width:100%;min-width:106px}
.ops-line-grid td input[type=number]{width:90px}
.ops-tax-tools{display:flex;justify-content:flex-end;margin:0 0 8px}
.ops-tax-tools input{min-width:225px;width:34%}
@media(max-width:760px){.ops-doc-head{grid-template-columns:1fr;gap:0}.ops-doc-head>div:last-child{max-width:none;justify-self:stretch}.ops-doc-head .field,.ops-pane-body .field{grid-template-columns:minmax(86px,32%) 1fr}}
#ops-image-preview{display:block;max-width:220px;max-height:150px;object-fit:contain;margin:10px 0}
