/* Orders and finished-goods workspace. All selectors are scoped to this module. */
body.orders-mode .sidebar{width:176px;padding:18px 12px}body.orders-mode .app-shell{margin-left:176px}body.orders-mode .topbar{height:48px;padding:0 18px}body.orders-mode #main{padding:12px 16px}body.orders-mode #main>.page-heading,body.orders-mode .workspace-footer{display:none}body.orders-mode .brand img{width:138px}body.orders-mode .workspace-label{margin:10px 0 18px}body.orders-mode .nav-item{min-height:39px;font-size:12px;padding:8px}body.orders-mode .nav-section{margin:13px 0 6px}
.ow-root{height:calc(100dvh - 72px);min-height:560px;display:grid;grid-template-rows:42px 42px minmax(0,1fr);gap:8px;min-width:0;color:var(--ink)}.ow-root[hidden],.ow-root [hidden],.ow-dialog [hidden]{display:none!important}.ow-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.ow-heading h1{font-size:23px;font-weight:650;margin:0;letter-spacing:-.4px}.ow-heading p{font-size:11px;color:var(--muted);margin:3px 0 0}.ow-heading-actions,.ow-actions{display:flex;align-items:center;gap:7px}.ow-button,.ow-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:6px 11px;border:1px solid #d1dfd6;border-radius:7px;background:#fff;color:var(--accent-hover);font:inherit;font-size:12px;text-decoration:none;cursor:pointer}.ow-button:hover:not(:disabled),.ow-link:hover{background:var(--accent-soft)}.ow-button:disabled,.ow-link[aria-disabled=true]{opacity:.55;cursor:default}.ow-primary{background:var(--accent);border-color:var(--accent);color:#fff}.ow-primary:hover:not(:disabled){background:var(--accent-hover)}.ow-danger{color:var(--danger);border-color:#e6c7c1}.ow-button svg,.ow-link svg{width:15px;height:15px}.ow-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.ow-search{display:flex;align-items:center;border:1px solid #d0dfd5;background:#fff;border-radius:7px;min-width:200px;max-width:520px;flex:1;padding:0 10px;height:34px}.ow-search svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}.ow-search input{border:0;box-shadow:none;outline:none;min-width:0;width:100%;padding:7px 9px;font:inherit;font-size:12px;background:transparent;color:var(--ink)}.ow-scope-note{font-size:11px;color:var(--muted)}.ow-panel{border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0;overflow:hidden}.ow-register{display:grid;grid-template-rows:minmax(0,1fr) 34px}.ow-register-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.ow-register-table th{padding:8px 9px;text-align:left;font-size:11px;font-weight:650;color:#4f695f;background:#f2f6f3;border-bottom:1px solid var(--line);vertical-align:top}.ow-register-table td{padding:8px 9px;height:49px;border-bottom:1px solid #e7eee8;color:#4e6761;vertical-align:middle;overflow-wrap:anywhere}.ow-register-table tbody tr:nth-child(even){background:#fafcfb}.ow-register-table tbody tr:hover,.ow-register-table tbody tr:focus-within{background:#edf5ef}.ow-register-table .ow-col-filter{margin-top:5px;min-height:25px;height:25px;font-size:11px;padding:4px 6px;width:100%;min-width:0;border:1px solid #d0ded4;border-radius:5px;background:#fff;color:var(--ink)}.ow-cell-title{display:block;color:var(--ink);font-weight:600;line-height:1.3}.ow-secondary{display:block;color:var(--muted);font-size:10.5px;margin-top:3px;line-height:1.3}.ow-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.ow-money{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.ow-status{display:inline-block;background:#eef3ef;color:#5f746f;font-size:10.5px;border-radius:5px;padding:3px 6px;line-height:1.35}.ow-status.booked,.ow-status.approved{background:var(--success-soft);color:var(--success)}.ow-status.pending,.ow-status.draft{background:var(--warning-soft);color:var(--warning)}.ow-status.cancelled,.ow-status.rejected{background:var(--danger-soft);color:var(--danger)}.ow-open{padding:3px 6px;min-width:26px;min-height:27px;border:0;border-radius:6px;background:transparent;color:var(--accent);cursor:pointer}.ow-open svg{width:16px;height:16px}.ow-table-area{min-height:0;overflow:hidden}.ow-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;font-size:11px;color:var(--muted);background:#fcfdfb;border-top:1px solid var(--line)}.ow-pager .ow-button{min-height:25px;padding:2px 8px;font-size:11px}.ow-empty{padding:35px 18px;text-align:center;font-size:12px;color:var(--muted)}.ow-empty strong{display:block;font-size:14px;color:#476557;margin-bottom:8px}.ow-error{color:var(--danger);background:var(--danger-soft);border:1px solid #e7c9c2;border-radius:7px;padding:8px 10px;font-size:12px;line-height:1.4}.ow-register-alert{grid-column:1/-1}
.ow-dialog{border:1px solid var(--line);border-radius:11px;padding:0;color:var(--ink);background:#fff;box-shadow:0 16px 75px #263b3e2e;max-width:none;max-height:none}.ow-dialog::backdrop{background:#253d3a55;backdrop-filter:blur(2px)}.ow-dialog h2{margin:0;font-size:19px;font-weight:650;letter-spacing:-.2px}.ow-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fcfdfb;padding:10px 15px;border-bottom:1px solid var(--line)}.ow-dialog-head p{margin:3px 0 0;font-size:11px;color:var(--muted)}.ow-close{border:0;border-radius:6px;background:#edf3ef;padding:4px 8px;color:var(--accent);min-height:27px;font-size:19px;line-height:19px;cursor:pointer}.ow-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 15px;background:#fcfdfb;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.ow-order-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);margin:6px;overflow:hidden}.ow-order-layout{height:100%;padding:8px;display:grid;grid-template-rows:40px 100px minmax(0,1fr) 73px 36px;gap:6px}.ow-order-layout>.ow-dialog-head,.ow-order-layout>.ow-dialog-foot{border:0;border-radius:7px;padding:4px 8px}.ow-order-layout>.ow-dialog-head h2{font-size:19px}.ow-order-layout>.ow-dialog-head p{display:inline;margin-left:8px;font-size:11px}.ow-order-title{display:flex;align-items:baseline;gap:4px}.ow-order-summary{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:4px 10px;padding:6px 10px;align-items:start;overflow:visible}.ow-field{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:11px;color:#526b61}.ow-field>span{font-weight:600;line-height:13px}.ow-field input,.ow-field select,.ow-field textarea{width:100%;min-width:0;border:1px solid #d0ddd5;border-radius:6px;background:#fff;color:var(--ink);font:inherit;font-size:12px;padding:5px 7px;height:28px;min-height:28px;line-height:16px}.ow-field textarea{height:70px;resize:vertical}.ow-field input:read-only{background:#f3f7f4;color:var(--muted)}.ow-field input::placeholder,.ow-field textarea::placeholder{color:#77897e}.ow-field button{height:28px;min-height:28px;text-align:left;justify-content:flex-start;font-size:12px;padding:4px 7px}.ow-customer-field{grid-column:span 2}.ow-helper{color:var(--muted);font-size:10.5px;line-height:1.4}.ow-order-summary .ow-field{gap:2px}.ow-order-summary .ow-field input,.ow-order-summary .ow-field select,.ow-order-summary .ow-field button{height:27px;min-height:27px}.ow-items-panel{display:grid;grid-template-rows:29px minmax(0,1fr) 27px}.ow-items-toolbar{padding:0 9px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}.ow-items-toolbar strong{font-size:12px;font-weight:650}.ow-items-toolbar .ow-helper{margin-left:8px}.ow-items-toolbar .ow-button{min-height:23px;padding:2px 8px;font-size:11px}.ow-lines-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.ow-lines-table th{height:27px;padding:4px 6px;background:#f2f6f3;color:#4f695f;text-align:left;font-size:10.5px;font-weight:650;border-bottom:1px solid var(--line)}.ow-lines-table td{height:46px;padding:2px 6px;border-bottom:1px solid #e7eee8;vertical-align:middle}.ow-lines-table tbody tr:nth-child(even){background:#fafcfb}.ow-lines-table tbody tr:focus-within{background:#edf5ef}.ow-lines-table input{height:27px;min-width:0;width:100%;padding:4px 5px;border:1px solid #d0ddd5;border-radius:5px;text-align:right;color:var(--ink);font:inherit;font-size:12px;background:#fff}.ow-line-code{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:3px 6px;border:1px solid #d5e2d9;border-radius:6px;background:#fff;color:#365e4f;text-align:left;font:inherit;font-size:12px;cursor:pointer}.ow-line-code>span:first-child{min-width:0;flex:1}.ow-line-spec{display:block;font-size:10px;color:var(--muted);margin-top:2px;line-height:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ow-price-history{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 4px;line-height:13px;font-size:10.5px;color:#5c7268}.ow-price-history span:nth-child(even){font-variant-numeric:tabular-nums;color:#3f5d4b;text-align:right;white-space:nowrap}.ow-line-actions{display:flex;gap:3px;justify-content:flex-end}.ow-line-actions .ow-button{padding:3px 5px;font-size:10.5px;min-height:25px}.ow-line-actions .ow-remove{padding:3px 5px;min-height:25px;font-size:13px;border:0;color:#9c5c53;background:transparent;cursor:pointer}.ow-line-number{color:#6e8276;text-align:center}.ow-line-empty{height:46px;color:#8ca193}.ow-price-warning{color:#886525;font-size:10px;display:block;line-height:12px;margin-top:1px}.ow-order-bottom{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 255px;gap:8px}.ow-order-docs{display:flex;align-items:center;gap:6px;padding:8px 9px}.ow-order-docs .ow-document-button{flex:1;min-width:0;padding:5px 7px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-height:49px;font-size:12px}.ow-document-button small{font-size:10px;color:var(--muted);max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ow-order-remarks{padding:6px 9px}.ow-order-remarks textarea{height:39px;resize:none;font-size:12px}.ow-order-totals{padding:7px 10px;display:flex;flex-direction:column;justify-content:center;gap:5px}.ow-total-row{display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--muted);font-size:11px}.ow-total-row strong{font-size:17px;color:var(--ink)}.ow-order-foot-note{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55%}.ow-order-foot-actions{display:flex;gap:6px;align-items:center}.ow-order-foot-actions .ow-button{font-size:11.5px;min-height:28px;padding:4px 9px}.ow-error-strip{position:absolute;z-index:8;left:18px;right:18px;bottom:45px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 5px 18px #263b3e20;max-height:96px;overflow:auto}.ow-order-readonly input,.ow-order-readonly select,.ow-order-readonly textarea{background:#f4f7f4}.ow-restricted{font-size:10.5px;color:#6a7d71}
.ow-compact-dialog{width:min(930px,calc(100vw - 28px));max-height:calc(100dvh - 28px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.ow-compact-dialog:not([open]){display:none}.ow-dialog-body{padding:15px 18px;overflow:auto;min-height:0;background:var(--canvas)}.ow-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.ow-form-grid .ow-field textarea{height:76px}.ow-full{grid-column:1/-1}.ow-section{border:1px solid var(--line);border-radius:8px;background:#fff;padding:13px;margin-bottom:12px}.ow-section h3{font-size:13px;font-weight:650;margin:0 0 11px;color:#3d5e53}.ow-notice{border:1px solid #d1e1d4;border-radius:7px;padding:8px 10px;background:#edf5ef;color:#4b6957;font-size:11.5px;line-height:1.45}.ow-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ow-detail-list small{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.ow-detail-list div{font-size:12px;overflow-wrap:anywhere}.ow-picker-dialog{width:min(1080px,calc(100vw - 28px));height:min(620px,calc(100dvh - 28px));display:grid;grid-template-rows:62px 48px minmax(0,1fr) 36px;overflow:hidden}.ow-picker-dialog:not([open]){display:none}.ow-picker-search{display:flex;gap:10px;padding:8px 15px;background:#f5f8f5}.ow-picker-search input{flex:1;min-width:0;border:1px solid #cfddd3;border-radius:6px;padding:6px 9px;font:inherit;font-size:12px;color:var(--ink)}.ow-picker-search select{width:190px;border:1px solid #cfddd3;border-radius:6px;font:inherit;font-size:12px;color:var(--ink);padding:5px 7px}.ow-picker-list{min-height:0;overflow:auto}.ow-picker-table{width:100%;border-collapse:collapse;table-layout:fixed}.ow-picker-table th{padding:8px 12px;background:#f0f5f1;text-align:left;color:#506b60;font-size:11px}.ow-picker-table td{padding:9px 12px;font-size:12px;border-bottom:1px solid var(--line);height:44px;overflow-wrap:anywhere}.ow-picker-table .ow-button{font-size:11px;min-height:26px;padding:4px 8px}.ow-tabs{display:flex;align-items:center;gap:6px;padding:8px 15px;border-bottom:1px solid var(--line);background:#f8faf8;flex-wrap:wrap}.ow-tab{border:1px solid transparent;border-radius:6px;background:transparent;color:#5b7165;font:inherit;font-size:12px;padding:6px 10px;cursor:pointer}.ow-tab.active{border-color:#c5dacc;background:var(--accent-soft);color:#315b4d}.ow-item-dialog{width:min(1110px,calc(100vw - 24px));height:min(700px,calc(100dvh - 24px));display:grid;grid-template-rows:57px 42px minmax(0,1fr) 47px;overflow:hidden}.ow-item-dialog:not([open]){display:none}.ow-spec-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ow-spec-form .ow-field{gap:5px}.ow-spec-form .ow-field input,.ow-spec-form .ow-field select{min-height:32px;height:32px}.ow-tab-panel{padding:15px 18px;overflow:auto;background:var(--canvas);min-height:0}.ow-tab-panel .ow-field textarea{height:150px;resize:vertical}.ow-doc-list{display:grid;gap:8px;margin-top:12px}.ow-doc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:9px 11px;font-size:12px}.ow-doc-row strong{font-size:12px;font-weight:600;display:block;overflow-wrap:anywhere}.ow-doc-row small{display:block;margin-top:3px;color:var(--muted);font-size:10.5px}.ow-upload-form{display:grid;grid-template-columns:1.1fr 2fr 1fr auto;gap:10px;align-items:end}.ow-upload-form input[type=file]{padding:4px 5px;font-size:11px;height:30px}.ow-upload-form .ow-button{height:30px;min-height:30px}.ow-history-card{border:1px solid var(--line);border-radius:8px;padding:11px 13px;background:#fff;margin-bottom:9px}.ow-history-card h3{font-size:12px;margin:0 0 5px;font-weight:650}.ow-history-card p{margin:4px 0 0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.ow-history-card small{color:var(--muted);font-size:10.5px}.ow-revision-tag{border:1px solid #d3e3d6;border-radius:5px;padding:2px 5px;font-size:10px;background:#edf5ef;color:#466959}.ow-spinner{color:var(--muted);font-size:12px;padding:25px;text-align:center}
@media(max-height:750px){.ow-order-layout{grid-template-rows:37px 98px minmax(0,1fr) 69px 34px;gap:5px;padding:7px}.ow-items-panel{grid-template-rows:27px minmax(0,1fr) 25px}.ow-lines-table th{height:25px}.ow-lines-table td,.ow-line-empty{height:41px;padding:2px 5px}.ow-price-history{line-height:12px;font-size:10px}.ow-line-code{min-height:32px}.ow-order-summary{padding:5px 9px}.ow-order-bottom{gap:7px}.ow-order-docs{padding:6px 8px}.ow-order-remarks{padding:5px 8px}.ow-order-remarks textarea{height:37px}.ow-root{min-height:540px}.ow-register-table td{height:45px}}
@media(max-width:1100px){body.orders-mode .sidebar{width:150px}body.orders-mode .app-shell{margin-left:150px}body.orders-mode #main{padding:10px 12px}.ow-root{height:calc(100dvh - 68px)}.ow-order-bottom{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 220px}.ow-order-summary{grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:4px 7px}.ow-lines-table td{padding-left:4px;padding-right:4px}.ow-price-history{font-size:9.5px}.ow-heading h1{font-size:21px}.ow-scope-note{max-width:250px;line-height:1.4}.ow-register-table th,.ow-register-table td{padding-left:7px;padding-right:7px}}
@media(max-width:800px),(max-height:650px){body.orders-mode .sidebar{width:236px}body.orders-mode .app-shell{margin-left:0}.ow-root{height:auto;min-height:0;grid-template-rows:auto auto minmax(400px,1fr)}.ow-heading,.ow-toolbar{flex-wrap:wrap}.ow-table-area{overflow:auto}.ow-register-table{min-width:850px}.ow-order-dialog{height:calc(100dvh - 12px);overflow:auto}.ow-order-layout{height:auto;min-height:100%;display:flex;flex-direction:column}.ow-order-summary{grid-template-columns:repeat(2,minmax(0,1fr));flex-shrink:0}.ow-items-panel{min-height:440px;flex-shrink:0}.ow-lines-table{min-width:1000px}.ow-order-bottom{grid-template-columns:1fr;flex-shrink:0}.ow-order-layout>.ow-dialog-foot{flex-wrap:wrap;flex-shrink:0}.ow-order-foot-note{white-space:normal;max-width:none}.ow-spec-form,.ow-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-upload-form{grid-template-columns:1fr 1fr}.ow-picker-search select{width:140px}.ow-scope-note{max-width:none}.ow-dialog-foot{flex-wrap:wrap}}


/* Classic ERP presentation, inspired by the supplied desktop reference screens. */
.ow-root,.ow-dialog{
  --ow-bar:var(--erp-bar,#69758d);
  --ow-bar-dark:var(--erp-bar-dark,#4e6078);
  --ow-head:var(--erp-grid-head,#f3e2b8);
  --ow-selected:var(--erp-grid-selected,#fff2bf);
  --ow-edit:var(--erp-edit,#fff8e7);
  --ow-border:var(--erp-border,#aeb6c2);
  --ink:#293546;--muted:#647083;--line:var(--ow-border);--canvas:#f3f4f6;
  --accent:#526b91;--accent-hover:#405878;--accent-soft:#e8edf5;
  font-family:"Segoe UI",Tahoma,Arial,sans-serif;color:var(--ink);
}
.ow-root{gap:6px;grid-template-rows:44px 40px minmax(0,1fr)}
.ow-heading{padding:6px 10px;border:1px solid var(--ow-bar-dark);background:var(--ow-bar);color:#fff}
.ow-heading h1{font-size:18px;letter-spacing:0;font-weight:600}
.ow-heading p{font-size:11px;margin-top:1px;color:#edf0f7}
.ow-heading-actions{gap:6px}
.ow-heading .ow-button{background:#f8f9fb;color:#324762;border-color:#d0d6e0}
.ow-heading .ow-primary{background:#fff5d8;border-color:#e1c98b;color:#3b4353}
.ow-toolbar{padding:0 2px}
.ow-button,.ow-link{min-height:30px;border-radius:2px;border-color:#a9b2c0;padding:5px 10px;font-size:13px;line-height:18px;color:#344965;background:#f8f9fb;box-shadow:inset 0 1px 0 #ffffff}
.ow-button:hover:not(:disabled),.ow-link:hover{background:#e8edf5;border-color:#7f8da4}
.ow-button:focus-visible,.ow-link:focus-visible,.ow-open:focus-visible,.ow-tab:focus-visible,.ow-close:focus-visible{outline:2px solid #567daa;outline-offset:2px}
.ow-primary{background:#5e789e;border-color:#4e6384;color:#fff;box-shadow:none}
.ow-primary:hover:not(:disabled){background:#4b6489;color:#fff}
.ow-danger{color:#a0443d;border-color:#c69c99;background:#fff9f8}
.ow-search{border-radius:2px;border-color:var(--ow-border);height:32px;background:#fff}
.ow-search input{font-size:13px}
.ow-scope-note{font-size:11px;color:#627082}
.ow-panel{border:1px solid var(--ow-border);border-radius:2px;background:#fff}
.ow-register{grid-template-rows:minmax(0,1fr) 32px}
.ow-register-table{font-size:13px}
.ow-register-table th{padding:5px 8px;font-size:12px;line-height:15px;background:var(--ow-head);color:#354257;border:1px solid #c6bfae;border-top:0;vertical-align:top}
.ow-register-table th:first-child{border-left:0}
.ow-register-table th:last-child{border-right:0}
.ow-register-table td{height:44px;padding:5px 8px;font-size:13px;line-height:17px;color:#39485a;border-bottom:1px solid #d2d6dc;border-right:1px solid #d9dde3}
.ow-register-table td:last-child{border-right:0}
.ow-register-table tbody tr:nth-child(even){background:#f4f5f7}
.ow-register-table tbody tr:hover,.ow-register-table tbody tr:focus-within{background:var(--ow-selected)}
.ow-register-table .ow-col-filter{border-radius:1px;border-color:#aaaeb5;background:#fffdf7;margin-top:4px;min-height:26px;height:26px;font-size:12px;padding:3px 5px}
.ow-cell-title{font-weight:600;color:#2d3c52}
.ow-secondary{font-size:11px;line-height:13px;margin-top:2px;color:#6a7482}
.ow-status{border-radius:2px;font-size:11px;padding:2px 6px}
.ow-open{border-radius:2px;border:1px solid #c0c6d0;background:#fafbfc;min-height:27px}
.ow-open:hover{background:#e4ebf5}
.ow-pager{font-size:12px;background:#f0f2f5;border-color:var(--ow-border);padding:0 9px}
.ow-pager .ow-button{border-radius:1px;min-height:25px;font-size:12px;padding:2px 8px}
.ow-empty{color:#697588;font-size:13px}
.ow-empty strong{font-size:14px;color:#405372}
.ow-error{border-radius:2px}
.ow-dialog{border:3px solid var(--ow-bar);border-radius:2px;background:#f1f2f4;box-shadow:0 10px 34px #25354f38}
.ow-dialog::backdrop{background:#25374d55;backdrop-filter:none}
.ow-dialog-head{padding:7px 10px;background:var(--ow-bar);color:#fff;border-bottom:1px solid var(--ow-bar-dark);border-radius:0}
.ow-dialog-head h2{color:#fff;font-size:17px;letter-spacing:0;font-weight:600}
.ow-dialog-head p{color:#eef1f7;font-size:11px}
.ow-close{border-radius:1px;border:1px solid #c8d0dc;background:#edf0f6;color:#354b6c;min-height:27px;width:28px;padding:3px 5px;font-size:21px;line-height:19px}
.ow-dialog-foot{background:#e9edf2;border-top:1px solid var(--ow-border);padding:6px 10px;font-size:12px;color:#59677b}
.ow-order-dialog{border-width:3px;width:calc(100vw - 12px);height:calc(100dvh - 12px);margin:6px}
.ow-order-layout{padding:6px;gap:5px;grid-template-rows:38px 100px minmax(0,1fr) 69px 34px}
.ow-order-layout>.ow-dialog-head{border-radius:0;padding:4px 8px;background:var(--ow-bar)}
.ow-order-layout>.ow-dialog-head h2{font-size:17px}
.ow-order-layout>.ow-dialog-foot{border-radius:0;padding:3px 8px}
.ow-order-layout>.ow-dialog-head p{margin-left:6px}
.ow-order-title{align-items:center;min-width:0}
.ow-order-summary{gap:4px 9px;padding:5px 9px;background:#fafbfc}
.ow-field{font-size:12px;gap:3px;color:#4b596d}
.ow-field>span{font-weight:500;line-height:15px}
.ow-field input,.ow-field select,.ow-field textarea{border-color:#b0b6c0;border-radius:1px;background:var(--ow-edit);color:#26364b;font-size:13px;padding:4px 6px;height:29px;min-height:29px;line-height:18px}
.ow-field input:focus,.ow-field select:focus,.ow-field textarea:focus{outline:2px solid #6d8aaf;outline-offset:0;background:#fff3c8}
.ow-field input:read-only,.ow-field textarea:read-only,.ow-field select:disabled{background:#edf0f4;color:#5c697b}
.ow-field input::placeholder,.ow-field textarea::placeholder{color:#7b8490}
.ow-field button{border-radius:1px;background:var(--ow-edit);border-color:#b0b6c0;min-height:29px;height:29px;font-size:13px}
.ow-order-summary .ow-field{gap:2px}
.ow-order-summary .ow-field input,.ow-order-summary .ow-field select,.ow-order-summary .ow-field button{height:28px;min-height:28px}
.ow-helper{font-size:11px;color:#697487}
.ow-items-panel{grid-template-rows:29px minmax(0,1fr) 27px}
.ow-items-toolbar{padding:0 8px;background:#e8ebf0;border-bottom:1px solid var(--ow-border)}
.ow-items-toolbar strong{font-size:13px;font-weight:600;color:#3d4e66}
.ow-items-toolbar .ow-button{font-size:12px;border-radius:1px;min-height:25px;padding:2px 8px}
.ow-lines-table{font-size:13px}
.ow-lines-table th{height:31px;padding:4px 5px;background:var(--ow-head);color:#37435a;font-size:12px;font-weight:600;line-height:14px;border-bottom:1px solid #bfb8a7;border-right:1px solid #c8c0ae}
.ow-lines-table th:last-child{border-right:0}
.ow-lines-table td{height:47px;padding:2px 5px;border-bottom:1px solid #d0d5dd;border-right:1px solid #d8dce3;color:#344254;font-size:13px}
.ow-lines-table td:last-child{border-right:0}
.ow-lines-table tbody tr:nth-child(even){background:#f4f5f7}
.ow-lines-table tbody tr:focus-within,.ow-lines-table tbody tr:hover{background:var(--ow-selected)}
.ow-lines-table input{border-color:#b0b6c0;border-radius:1px;background:var(--ow-edit);height:29px;font-size:13px;padding:4px}
.ow-lines-table input:focus{outline:2px solid #6d8aaf;outline-offset:0;background:#fff0b9}
.ow-lines-table input:read-only{background:#edf0f4}
.ow-line-code{border-color:#b5bbc5;border-radius:1px;background:#fffdf6;color:#314761;min-height:38px;font-size:13px;padding:3px 5px}
.ow-line-code:hover:not(:disabled){border-color:#7d8fa8;background:#fff2c7}
.ow-line-code:disabled{opacity:1;color:#526176;background:#f4f5f7;cursor:default}
.ow-line-spec{font-size:11px;line-height:13px;margin-top:2px;color:#667489}
.ow-price-history{font-size:11.5px;line-height:13px;color:#5d6d84;gap:1px 5px}
.ow-price-history span:nth-child(even){color:#30465f}
.ow-line-actions .ow-button{font-size:12px;min-height:28px;border-radius:1px;padding:3px 5px}
.ow-line-number{color:#66748a}
.ow-line-empty{height:47px}
.ow-price-warning{font-size:11px;line-height:13px;color:#865d24}
.ow-order-bottom{gap:6px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 250px}
.ow-order-docs{gap:5px;padding:6px}
.ow-order-docs .ow-document-button{min-height:49px;padding:4px 6px;font-size:13px;border-radius:1px}
.ow-document-button small{font-size:11px;color:#6b7587}
.ow-order-remarks{padding:5px 8px}
.ow-order-remarks textarea{height:37px;min-height:37px;font-size:13px}
.ow-order-totals{background:#fbfaf5;padding:6px 9px;gap:4px}
.ow-total-row{font-size:12px;color:#5b6980}
.ow-total-row strong{font-size:19px;color:#354d72;font-weight:650}
.ow-order-foot-note{font-size:12px;max-width:48%}
.ow-order-foot-actions{gap:5px}
.ow-order-foot-actions .ow-button{font-size:12px;min-height:29px;padding:4px 8px}
.ow-order-rail{display:none}
.ow-error-strip{bottom:44px;border-radius:2px;font-size:13px}
.ow-order-readonly input,.ow-order-readonly select,.ow-order-readonly textarea{background:#eef1f5}
.ow-compact-dialog{border-radius:2px}
.ow-dialog-body{padding:10px 12px;background:#f4f5f7}
.ow-form-grid{gap:9px}
.ow-section{border-radius:1px;border-color:var(--ow-border);padding:10px;margin-bottom:9px;background:#fff}
.ow-section h3{font-size:13px;font-weight:600;color:#4f5e76;margin:0 0 9px;padding:0 0 5px;border-bottom:1px solid #dce1e7}
.ow-notice{border-radius:1px;border-color:#c5cbd6;background:#edf0f6;color:#53637c;font-size:12px;padding:7px 9px}
.ow-detail-list{gap:10px}
.ow-detail-list div{font-size:13px}
.ow-detail-list small{font-size:11px}
.ow-picker-dialog{grid-template-rows:48px 45px minmax(0,1fr) 34px;border-radius:2px}
.ow-picker-search{padding:6px 10px;gap:7px;background:#e9edf2}
.ow-picker-search input,.ow-picker-search select{border-radius:1px;border-color:#aeb6c2;background:var(--ow-edit);font-size:13px;padding:4px 7px}
.ow-picker-table th{padding:5px 9px;font-size:12px;line-height:16px;background:var(--ow-head);color:#36465e;border:1px solid #c4bead}
.ow-picker-table td{padding:5px 9px;height:39px;font-size:13px;line-height:17px;border-bottom:1px solid #d0d5dd;border-right:1px solid #d8dce3}
.ow-picker-table tbody tr:nth-child(even){background:#f3f4f6}
.ow-picker-table tbody tr:hover,.ow-picker-table tbody tr:focus-within{background:var(--ow-selected)}
.ow-picker-table .ow-button{font-size:12px;border-radius:1px}
.ow-tabs{padding:4px 8px;gap:3px;background:#e6eaf0;border-bottom:1px solid #aeb6c2}
.ow-tab{padding:5px 10px;font-size:13px;border-radius:1px;border:1px solid #c0c7d1;color:#53647c;background:#f3f5f8}
.ow-tab.active{border-color:#9babc2;background:var(--ow-head);color:#374c6d}
.ow-item-dialog{width:min(1380px,calc(100vw - 18px));height:calc(100dvh - 18px);grid-template-rows:44px 37px minmax(0,1fr) 40px}
.ow-tab-panel{padding:10px 12px;background:#f1f3f6}
.ow-spec-form{gap:8px 10px}
.ow-spec-form .ow-field{gap:3px}
.ow-spec-form .ow-field input,.ow-spec-form .ow-field select{height:29px;min-height:29px;font-size:13px}
.ow-tab-panel .ow-field textarea{height:92px;font-size:13px}
.ow-doc-row{border-radius:1px;padding:7px 9px;font-size:13px}
.ow-doc-row strong{font-size:13px}
.ow-doc-row small{font-size:11px}
.ow-doc-list{gap:6px;margin-top:9px}
.ow-upload-form{gap:8px}
.ow-upload-form input[type=file]{border-radius:1px;font-size:12px}
.ow-history-card{border-radius:1px;padding:9px 11px}
.ow-history-card h3,.ow-history-card p{font-size:13px}
.ow-history-card small{font-size:11px}
.ow-revision-tag{border-radius:1px}
@media(min-width:1200px){.ow-spec-form{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1440px) and (min-height:651px){
  .ow-order-layout.ow-with-rail{grid-template-columns:minmax(0,1fr) 214px;grid-template-rows:38px 100px minmax(0,1fr) 69px 34px}
  .ow-with-rail>.ow-dialog-head{grid-column:1/-1;grid-row:1}
  .ow-with-rail>.ow-order-summary{grid-column:1;grid-row:2}
  .ow-with-rail>.ow-items-panel{grid-column:1;grid-row:3}
  .ow-with-rail>.ow-order-bottom{grid-column:1;grid-row:4;grid-template-columns:1fr}
  .ow-with-rail>.ow-dialog-foot{grid-column:1;grid-row:5}
  .ow-with-rail .ow-order-foot-note{max-width:none}
  .ow-with-rail>.ow-order-rail{grid-column:2;grid-row:2/-1;display:flex;flex-direction:column;gap:7px;border:1px solid var(--ow-border);background:#fff;padding:7px;min-width:0;overflow:auto}
  .ow-rail-title{margin:0;background:var(--ow-bar);border:1px solid var(--ow-bar-dark);color:#fff;text-align:center;font-size:13px;font-weight:600;line-height:18px;padding:3px 5px}
  .ow-rail-actions{display:flex;flex-direction:column;gap:6px;padding:1px 0 4px}
  .ow-rail-actions .ow-order-foot-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px}
  .ow-rail-actions .ow-button{width:100%;justify-content:flex-start;text-align:left;font-size:13px;min-height:32px;padding:5px 8px}
  .ow-rail-documents .ow-order-docs{flex-direction:column;align-items:stretch;border:0;padding:0;gap:6px}
  .ow-rail-documents .ow-document-button{min-height:51px;flex:none;white-space:normal}
  .ow-rail-documents .ow-document-button small{white-space:normal;overflow:visible;line-height:14px}
  .ow-rail-summary .ow-order-totals{border:0;border-top:1px solid #c4cbd5;border-bottom:1px solid #c4cbd5;padding:8px 4px;gap:7px;background:#fbfaf5}
  .ow-rail-summary .ow-total-row{flex-direction:column;align-items:flex-start;gap:5px}
  .ow-rail-summary .ow-total-row strong{align-self:flex-end;font-size:20px}
  .ow-rail-summary .ow-helper{font-size:11px;line-height:15px}
}
@media(min-width:1600px){.ow-spec-form{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-height:750px){
  .ow-root{min-height:0}
  .ow-register-table td{height:42px}
  .ow-order-layout{padding:5px;gap:4px;grid-template-rows:36px 96px minmax(0,1fr) 65px 32px}
  .ow-with-rail.ow-order-layout{grid-template-rows:36px 96px minmax(0,1fr) 65px 32px}
  .ow-order-summary{padding:4px 8px}
  .ow-order-summary .ow-field input,.ow-order-summary .ow-field select,.ow-order-summary .ow-field button{height:27px;min-height:27px}
  .ow-items-panel{grid-template-rows:27px minmax(0,1fr) 25px}
  .ow-lines-table th{height:29px}
  .ow-lines-table td,.ow-line-empty{height:44px;padding:2px 4px}
  .ow-line-code{min-height:36px}
  .ow-price-history{line-height:12px;font-size:11px;gap:1px 4px}
  .ow-order-remarks textarea{height:34px;min-height:34px}
  .ow-order-docs{padding:5px}
  .ow-order-docs .ow-document-button{min-height:46px}
  .ow-order-totals{padding:5px 8px}
  .ow-order-foot-actions .ow-button{min-height:28px}
}
@media(max-width:1100px){
  .ow-order-bottom{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 210px}
  .ow-order-summary{gap:4px 6px}
  .ow-lines-table th{font-size:11px}
  .ow-register-table td,.ow-register-table th{padding-left:6px;padding-right:6px}
}
@media(max-width:800px),(max-height:650px){
  .ow-root{height:auto;grid-template-rows:auto auto minmax(400px,1fr)}
  .ow-heading{align-items:flex-start}
  .ow-heading-actions{flex-wrap:wrap}
  .ow-order-layout,.ow-order-layout.ow-with-rail{display:flex;min-height:100%;height:auto;flex-direction:column}
  .ow-order-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ow-items-panel{min-height:430px}
  .ow-lines-table{min-width:1000px}
  .ow-order-bottom{grid-template-columns:1fr}
  .ow-order-foot-note{max-width:none;white-space:normal}
  .ow-order-foot-actions{flex-wrap:wrap}
  .ow-order-rail{display:none}
  .ow-item-dialog{height:calc(100dvh - 12px);width:calc(100vw - 12px)}
  .ow-spec-form,.ow-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ow-item-dialog .ow-dialog-foot{min-height:44px}
  .ow-tabs{overflow:auto;flex-wrap:nowrap;min-height:36px}
  .ow-tab{white-space:nowrap}
}

/* The shared desktop shell supplies the available height. */
@media(min-width:961px) and (min-height:650px){.ow-root{flex:1;min-height:0;height:auto}}

/* All results stay in a keyboard-accessible scroll region. */
.ow-root{grid-template-rows:minmax(44px,auto) minmax(40px,auto) minmax(0,1fr)}
.ow-heading{min-width:0;flex-wrap:wrap;height:auto;min-height:44px}
.ow-heading>div:first-child{min-width:0}
.ow-heading-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0}
.ow-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) minmax(120px,.75fr) auto;align-items:center;gap:12px;min-width:0}
.ow-search{width:100%;min-width:0;max-width:none;box-sizing:border-box;overflow:hidden}
.ow-search input{flex:1;min-width:0;max-width:100%;width:100%;box-sizing:border-box}
.ow-scope-note{min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere;line-height:15px}
.ow-toolbar>.ow-button{white-space:nowrap;justify-self:end}
.ow-register .ow-table-area,.ow-items-panel .ow-table-area{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;outline-offset:-2px}
.ow-register .ow-table-area:focus-visible,.ow-picker-list:focus-visible,.ow-technical-body:focus-visible{outline:2px solid #567daa;outline-offset:-2px}
.ow-register-table thead,.ow-lines-table thead,.ow-picker-table thead{position:sticky;top:0;z-index:2;background:var(--ow-head)}
.ow-register-table th{overflow-wrap:anywhere;word-break:normal;white-space:normal}
.ow-register-table th .ow-col-filter{display:block;box-sizing:border-box;max-width:100%}
.ow-register-table tbody tr[data-ow-record]{cursor:pointer}
.ow-register-table tbody tr.ow-selected-row,.ow-lines-table tbody tr.ow-selected-row,.ow-picker-table tbody tr.ow-selected-row{background:var(--ow-selected)}
.ow-register-table tbody tr:focus-visible,.ow-lines-table tbody tr:focus-visible,.ow-picker-table tbody tr:focus-visible{outline:2px solid #587fab;outline-offset:-2px}
.ow-pager{min-width:0;flex-wrap:wrap}
.ow-pager>.ow-helper{white-space:normal;text-align:right}
.ow-line-workspace{display:grid;grid-template-rows:minmax(110px,1.1fr) minmax(115px,1fr);min-height:0;overflow:hidden}
.ow-line-workspace>.ow-table-area{min-height:0;overflow:auto}
.ow-lines-table tbody td{height:64px}
.ow-technical-link{display:block;border:0;background:transparent;padding:3px 1px;color:#42648c;font:inherit;font-size:11px;line-height:13px;text-decoration:underline;text-align:left;cursor:pointer;white-space:normal}
.ow-technical-link:hover{color:#243d64}
.ow-technical-link:focus-visible{outline:2px solid #567daa;outline-offset:1px}
.ow-technical-pane{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);border-top:1px solid var(--ow-border);background:#fbfcfe;overflow:hidden}
.ow-technical-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px;background:#e9edf3;border-bottom:1px solid #c6ceda;min-width:0}
.ow-technical-head strong{font-size:12px;color:#40536f;overflow-wrap:anywhere}
.ow-technical-head .ow-button{min-height:23px;padding:2px 7px;font-size:11px;flex-shrink:0}
.ow-technical-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:6px 8px}
.ow-technical-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 14px;margin:0;font-size:12px;line-height:16px}
.ow-technical-grid>div{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:3px 0;border-bottom:1px solid #e1e5eb}
.ow-technical-grid dt{color:#6a7688;font-size:11px;line-height:15px;overflow-wrap:anywhere}
.ow-technical-grid dd{margin:0;color:#2e4058;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:500}
.ow-recorded-spec{font-size:12px;line-height:18px;margin:8px 0 0;color:#52637c}
.ow-recorded-spec p{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.ow-recorded-spec summary{cursor:pointer}
.ow-dialog-body .ow-technical-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ow-picker-list{overscroll-behavior:contain;scrollbar-gutter:stable}
.ow-option-selectors{display:grid;grid-template-columns:1fr 2fr;gap:10px;margin-bottom:10px}
.ow-option-add{display:flex;align-items:flex-end;gap:10px;margin-bottom:10px}
.ow-option-add>.ow-field{flex:1}
.ow-option-edit{width:100%;min-width:0;box-sizing:border-box;border:1px solid #b0b6c0;border-radius:1px;font:inherit;color:#2e4058;background:var(--ow-edit);padding:5px 6px}
.ow-option-list{max-height:46vh;overflow:auto}
.ow-option-list th:first-child{width:68%}
.ow-option-list th:nth-child(2){width:18%}
.ow-option-active{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.ow-option-active input{width:15px;height:15px;margin:0}
@media(min-width:1600px){.ow-technical-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){.ow-technical-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ow-toolbar{grid-template-columns:minmax(180px,1fr) minmax(100px,.6fr) auto}}
@media(max-width:800px),(max-height:650px){
 .ow-root{grid-template-rows:auto auto minmax(400px,1fr)}
 .ow-toolbar{grid-template-columns:minmax(0,1fr) auto}
 .ow-scope-note{grid-row:2;grid-column:1/-1}
 .ow-toolbar>.ow-button{grid-row:1;grid-column:2}
 .ow-line-workspace{min-height:430px;grid-template-rows:minmax(210px,1fr) 210px}
 .ow-technical-grid,.ow-dialog-body .ow-technical-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ow-order-dialog .ow-items-panel{min-height:490px}
 .ow-option-selectors{grid-template-columns:1fr}
 .ow-heading-actions{justify-content:flex-start}
 .ow-item-dialog .ow-dialog-head{height:auto;align-items:flex-start}
 .ow-item-dialog .ow-dialog-head>.ow-actions{flex-wrap:wrap;justify-content:flex-end}
}

/* Short ICOs give their unused grid space to the full technical specification pane. */
@media(min-width:801px) and (min-height:651px){
 .ow-line-workspace{grid-template-rows:minmax(110px,min(45%,var(--ow-line-content-height,45%))) minmax(115px,1fr)}
}

.ow-register-table tbody tr[data-ow-record]{scroll-margin-top:var(--ow-register-header-height,68px)}
.ow-lines-table tbody tr[data-ow-record]{scroll-margin-top:36px}

/* Product details follow the recorded product / legend / details format, in the
   software's own neutral grid: no fill of their own, so a row's colour shows through. */
.ow-product-table{--pt-line:#d6dbe3;width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;margin:0;border:1px solid var(--pt-line);font-size:12px;line-height:16px;text-align:left;color:var(--ink);background:transparent}
.ow-product-table .ow-product-col{width:19%}
.ow-product-table .ow-legend-col{width:26%}
.ow-product-table .ow-details-col{width:55%}
.ow-product-table>thead{position:static;z-index:auto;background:transparent}
.ow-product-table>thead>tr>th{position:static;background:transparent;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.02em;line-height:16px;padding:4px 7px;border:1px solid var(--pt-line);text-align:left;height:auto;white-space:normal}
.ow-product-table>tbody>tr,.ow-product-table>tbody>tr:nth-child(even){background:transparent}
.ow-product-table>tbody>tr>td,.ow-product-table>tbody>tr>th{height:auto;padding:4px 7px;border:1px solid var(--pt-line);vertical-align:top;font-size:12px;line-height:16px;white-space:normal;overflow-wrap:anywhere;text-align:left;background:transparent;color:var(--ink);max-width:none;overflow:visible;text-overflow:clip}
.ow-product-table>tbody>tr>th{font-weight:600;color:var(--muted)}
.ow-product-table>tbody>tr>td.ow-product-name{vertical-align:top;font-weight:600}
.ow-product-detail-line{white-space:pre-wrap;overflow-wrap:anywhere;line-height:16px}
.ow-product-block{margin-bottom:12px}
.ow-product-block>h3{font-size:13px;font-weight:600;color:#40536f;margin:0;padding:6px 8px;background:#e8edf4;border:1px solid #acbaca;border-bottom:0}
.ow-item-product-details{padding:5px!important;vertical-align:top!important}
.ow-register-table .ow-product-table>thead{position:static}
.ow-register-table .ow-product-table>thead>tr>th,.ow-picker-table .ow-product-table>thead>tr>th{font-size:10.5px;line-height:14px;padding:3px 4px;height:auto;border-color:var(--pt-line);background:transparent}
.ow-register-table .ow-product-table>tbody>tr>td,.ow-register-table .ow-product-table>tbody>tr>th,.ow-picker-table .ow-product-table>tbody>tr>td,.ow-picker-table .ow-product-table>tbody>tr>th{font-size:11px;line-height:15px;padding:3px 4px;height:auto;background:transparent;border:1px solid var(--pt-line);vertical-align:top}
.ow-register-table .ow-product-detail-line,.ow-picker-table .ow-product-detail-line{line-height:15px}
.ow-register-table>tbody>tr>td:not(.ow-item-product-details){vertical-align:top}
.ow-technical-body{padding:5px}
.ow-technical-body .ow-product-table{font-size:12px}
.ow-technical-head .ow-actions{flex-wrap:wrap;justify-content:flex-end}
.ow-item-dialog{grid-template-rows:minmax(44px,auto) 37px minmax(0,1fr) 40px}
.ow-item-dialog .ow-dialog-head{min-height:44px;height:auto}
.ow-item-dialog .ow-dialog-head>.ow-actions{flex-wrap:wrap;justify-content:flex-end}
.ow-type-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-bottom:10px}
.ow-type-controls>.ow-field{min-width:0}
.ow-type-controls input,.ow-type-controls select,.ow-type-add-controls input,.ow-type-add-controls select{box-sizing:border-box;min-width:0;max-width:100%}
.ow-type-add-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:8px 0}
.ow-type-field-scroll{max-height:38vh;overflow:auto;border:1px solid #bec7d3}
.ow-type-fields{width:100%;table-layout:fixed;border-collapse:collapse}
.ow-type-fields thead{position:sticky;top:0;z-index:1}
.ow-type-fields th{font-size:12px;text-align:left;background:var(--ow-head);color:#36465e;border:1px solid #c4bead;padding:5px 6px}
.ow-type-fields td{padding:5px 6px;border:1px solid #d4dce5;vertical-align:middle}
.ow-type-fields td input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:12px;padding:5px;border:1px solid #aeb6c2;background:var(--ow-edit);color:#314761}
.ow-type-fields td input[type=checkbox]{width:16px;height:16px}
.ow-type-fields .ow-actions{gap:3px;flex-wrap:wrap}
.ow-type-fields .ow-button{font-size:12px;padding:3px 6px;min-height:25px}
.ow-type-save-row{justify-content:flex-end;margin-top:10px}
@media(max-width:700px){
 .ow-product-table .ow-product-col{width:18%}.ow-product-table .ow-legend-col{width:28%}.ow-product-table .ow-details-col{width:54%}
 .ow-product-table>thead>tr>th,.ow-product-table>tbody>tr>th,.ow-product-table>tbody>tr>td{font-size:11px;line-height:15px;padding:4px}
 .ow-type-controls,.ow-type-add-controls{grid-template-columns:minmax(0,1fr)}
 .ow-type-controls>.ow-button,.ow-type-add-controls>.ow-button{justify-self:start}
 .ow-type-field-scroll{max-height:none}
}

.ow-product-detail-dialog{width:min(1400px,calc(100vw - 28px))}
.ow-note-list{margin:0;padding-left:20px;display:grid;gap:6px;line-height:1.4}

/* Technical entry: one block per legend line, beside a live preview of how the item reads. */
.ow-tech-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,40%);gap:9px;align-items:start}
.ow-tech-layout>.ow-section{margin-bottom:9px}
.ow-tech-preview{position:sticky;top:0;max-height:calc(100dvh - 190px);overflow:auto}
.ow-tech-form{display:block}
.ow-legend-block{border:1px solid #dce1e7;margin:0 0 8px;padding:5px 8px 8px;min-width:0}
.ow-legend-block>legend{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.02em;padding:0 4px}
.ow-legend-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px 10px}
.ow-tech-field{display:grid;gap:3px;min-width:0;align-content:start}
.ow-tech-field>label{font-weight:500;line-height:15px}
.ow-tech-field>label small{font-weight:400;color:var(--muted)}
.ow-tech-wide{grid-column:1/-1}
.ow-tech-control{display:flex;gap:4px;min-width:0;align-items:stretch}
.ow-tech-control>input,.ow-tech-control>select,.ow-tech-control>textarea,.ow-tech-control>.ow-item-ref{flex:1 1 auto;min-width:0;width:100%;box-sizing:border-box}
.ow-tab-panel .ow-tech-control>textarea{height:auto;min-height:29px;resize:vertical}
.ow-tech-control>.ow-unit-select{flex:0 0 auto;width:auto;max-width:96px}
.ow-unit{align-self:center;font-size:12px;color:var(--muted);white-space:nowrap}
.ow-item-ref{text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border:1px solid #b0b6c0;padding:0 6px}
.ow-tech-control>.ow-item-clear{flex:0 0 auto;padding:0 8px}
.ow-required{color:#9a3a2c;font-weight:600}
.ow-tech-field.ow-missing input,.ow-tech-field.ow-missing select,.ow-tech-field.ow-missing .ow-item-ref{border-color:#c4877b}
.ow-item-summary{font-size:12px;line-height:16px;color:var(--ink);overflow-wrap:anywhere}
.ow-item-matches{display:grid;gap:1px;margin-top:3px;font-size:11px;line-height:14px;color:var(--muted);overflow-wrap:anywhere}
.ow-preview-label{font-size:11px;font-weight:600;color:var(--muted);margin:9px 0 3px}
.ow-required-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:3px 14px;font-size:12px}
.ow-required-list .done{color:#3f6650}
.ow-required-list .missing{color:#9a3a2c}
.ow-preview-problems{margin:0 0 6px;padding-left:18px;color:#9a3a2c;font-size:12px}
.ow-warning{background:#fbf3e6;border:1px solid #d9bd8f;color:#6b4d22;margin-bottom:6px}
.ow-contains-block{margin-top:9px}
.ow-contains-block>h4{font-size:11px;font-weight:600;color:var(--muted);margin:0 0 3px}
.ow-contains{list-style:none;margin:0;padding:0 0 0 14px;border-left:1px solid #d6dbe3}
.ow-contains-block>.ow-contains{padding-left:0;border-left:0}
.ow-contains li{padding:3px 0 3px 8px}
.ow-contains-block>.ow-contains>li{padding-left:0}
.ow-contains-row{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap;font-size:12px}
.ow-contains-role{font-size:11px;color:var(--muted);font-weight:600}
.ow-contains-code{font-weight:600}
.ow-contains-qty{color:var(--muted)}
.ow-contains-summary{font-size:12px;line-height:16px;color:var(--ink);overflow-wrap:anywhere}
.ow-type-fields select{width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:12px;padding:4px;border:1px solid #aeb6c2;background:var(--ow-edit);color:#314761}
.ow-type-display>td{background:#f6f7f9}
.ow-type-display-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px 9px}
.ow-type-display-grid .ow-field input,.ow-type-display-grid .ow-field select{height:27px;min-height:27px;font-size:12px}
.ow-option-views{margin:-2px 0 9px;border:1px solid #c0c7d1}
@media(max-width:900px){.ow-tech-layout{grid-template-columns:minmax(0,1fr)}.ow-tech-preview{position:static;max-height:none}}
.ow-empty-values textarea{height:auto;min-height:150px;resize:vertical}
.ow-typed-filter{max-width:280px;margin-bottom:6px}

/* ICO item selection: ways to find (left), one line per match (middle), details and prices (right). */
.ow-picker-dialog.ow-ico-picker{width:min(1560px,calc(100vw - 20px));height:calc(100dvh - 20px);grid-template-rows:auto auto minmax(0,1fr)}
.ow-pick-modes{border-bottom:1px solid #aeb6c2}
.ow-pick-body{display:grid;grid-template-columns:260px minmax(0,1fr) minmax(330px,31%);min-height:0;background:#f4f5f7}
.ow-pick-controls{overflow:auto;padding:10px;border-right:1px solid #c9cfd8;display:flex;flex-direction:column;gap:9px;background:#eef1f5;min-height:0}
.ow-pick-controls .ow-field{display:grid;gap:3px;min-width:0}
.ow-pick-controls .ow-field input,.ow-pick-controls .ow-field select,.ow-duty-pair>select{width:100%;min-width:0;box-sizing:border-box}
.ow-pick-controls .ow-button{align-self:flex-start}
.ow-duty-pair{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:5px;align-items:end}
.ow-duty-pair>select{height:29px;border:1px solid #b0b6c0;border-radius:1px;background:var(--ow-edit);font:inherit;font-size:13px;padding:0 4px}
.ow-pick-customer{margin:0;display:grid;gap:2px;font-size:13px}.ow-pick-customer small{font-size:11px;color:var(--muted)}
.ow-step-fields{display:flex;flex-direction:column;gap:7px}
.ow-step-chosen>span{color:#36465e;font-weight:600}
.ow-step-same{margin:0;font-size:11px;line-height:15px;color:var(--muted)}
.ow-pick-results{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;min-width:0;background:#fff}
.ow-pick-table td{height:auto;padding:6px 9px;vertical-align:top}
.ow-pick-table td>input[type=checkbox]{width:16px;height:16px;margin:2px 0 0}
.ow-one-line{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-match{font-size:12px;white-space:nowrap;color:var(--muted)}
.ow-match.exact{color:#3f6650;font-weight:600}
.ow-pick-unavailable{display:block;color:#9a3a2c;font-size:11px}
.ow-pick-detail{overflow:auto;padding:10px;border-left:1px solid #c9cfd8;background:#fff;min-height:0}
.ow-pick-detail-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-bottom:6px}
.ow-pick-detail-head strong{display:block;font-size:14px}
.ow-pick-detail .ow-item-summary{margin:0 0 8px}
.ow-pick-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px;font-size:12px;margin:0 0 9px}
.ow-pick-facts dt{color:var(--muted)}.ow-pick-facts dd{margin:0;overflow-wrap:anywhere}
@media(max-width:1100px){.ow-pick-body{grid-template-columns:220px minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,38%)}.ow-pick-detail{grid-column:1/-1;border-left:0;border-top:1px solid #c9cfd8}}
@media(max-width:700px){.ow-pick-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) minmax(0,35%)}.ow-pick-controls{border-right:0;border-bottom:1px solid #c9cfd8;max-height:34vh}.ow-pick-detail{grid-column:auto}}
.ow-pick-subhead{margin:4px 0 0;font-size:12px;font-weight:600;color:#36465e;border-top:1px solid #c9cfd8;padding-top:8px}
.ow-pick-table td.ow-duty-value{font-size:12px;padding-left:6px;padding-right:6px}
.ow-pick-table th.ow-duty-head{white-space:normal;font-size:10.5px;line-height:13px;padding:4px 5px;overflow-wrap:anywhere;vertical-align:bottom}

/* Complete technical details: the product, then each legend with its values, flowing over lines. */
.ow-tech-full{display:block;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:16px;color:var(--ink)}
.ow-tech-full>strong{font-weight:600;margin-right:4px}
.ow-tech-part em{font-style:normal;font-size:10.5px;font-weight:600;color:#6b7788;letter-spacing:.02em;margin-right:2px}
.ow-tech-part::before{content:" | ";color:#a7b1bf}
.ow-tech-full>strong+.ow-tech-part::before{content:" · "}
.ow-tech-cell{white-space:normal}
.ow-line-spec{white-space:normal;overflow:visible;text-overflow:clip;margin-top:3px}
.ow-line-spec .ow-tech-full{font-size:11.5px;line-height:15px;color:#3c4a5e}
.ow-line-code{align-items:flex-start;height:auto}
.ow-lines-table td{height:auto}
/* Transportation and freight for the whole ICO, beside the order total. */
.ow-total-charge{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:8px;font-size:12px}
.ow-total-charge input{height:27px;min-width:0;padding:3px 6px;border:1px solid #b0b6c0;border-radius:1px;background:var(--ow-edit);text-align:right;font:inherit;font-size:13px}
.ow-total-sub{font-size:12px;color:#4a5d75}
.ow-lines-table th{white-space:normal;vertical-align:bottom}
.ow-total-charge{grid-template-columns:minmax(0,1fr);gap:2px;margin:4px 0}
.ow-total-charge input{width:100%;box-sizing:border-box}
/* Quotations: the ICO line grid under a fuller header, with commercial terms and T&C beside the totals */
.ow-quote-dialog .ow-order-layout{grid-template-rows:38px auto minmax(210px,1fr) minmax(176px,31%) 34px}
.ow-quote-summary{grid-template-columns:repeat(8,minmax(0,1fr))}
.ow-quote-summary .ow-customer-field{grid-column:span 2}
.ow-quote-summary .ow-quote-address{grid-column:span 3}
.ow-quote-summary .ow-quote-address textarea{height:28px;min-height:28px;resize:none;overflow:auto}
.ow-quote-bottom{grid-template-columns:minmax(0,1fr) 270px;min-height:0}
.ow-quote-terms{display:flex;flex-direction:column;gap:5px;padding:6px 9px;overflow:auto;min-height:0}
.ow-quote-terms .ow-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.ow-quote-terms textarea{height:auto;min-height:44px;resize:vertical}
.ow-quote-terms textarea[name=terms]{min-height:96px}
.ow-quote-bottom .ow-order-totals{overflow:auto;min-height:0}
.ow-revision-select{height:27px;border:1px solid #c8d0dc;border-radius:1px;background:#edf0f6;color:#26364b;font-size:12px;max-width:260px}
.ow-letterhead-preview{margin-bottom:8px}
.ow-letterhead-preview img{display:block;max-width:100%;max-height:280px;border:1px solid var(--ow-border);background:#fff;box-shadow:0 1px 4px #25354f22}
.ow-upload-form{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.ow-upload-form .ow-field{flex:1 1 260px}
.ow-upload-form input[type=file]{height:auto;padding:3px}
.ow-quote-settings-dialog textarea{height:auto;min-height:170px;resize:vertical}
@media(max-width:1100px){.ow-quote-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.ow-quote-summary .ow-quote-address{grid-column:span 4}.ow-quote-bottom{grid-template-columns:minmax(0,1fr) 220px}}
@media(max-width:800px),(max-height:650px){.ow-quote-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-quote-summary .ow-quote-address{grid-column:span 2}.ow-quote-bottom{grid-template-columns:1fr}.ow-quote-terms .ow-form-grid{grid-template-columns:1fr}}
.ow-total-charge input:read-only{background:#edf0f4;color:#5c697b}
/* Quotation lines: quantity, rate and amounts sit at the top beside long technical details. */
.ow-quote-dialog .ow-lines-table td{vertical-align:top}
/* Product images: a column in item lists, beside the detailed technicals, and enlarged on click. */
.ow-thumb-cell{text-align:center;vertical-align:middle}
.ow-thumb{display:inline-flex;align-items:center;justify-content:center;width:64px;height:48px;padding:0;border:1px solid #c8d0dc;border-radius:2px;background:#fff;cursor:zoom-in;overflow:hidden}
.ow-thumb img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.ow-thumb:hover,.ow-thumb:focus-visible{border-color:#6d8aaf;box-shadow:0 0 0 2px #6d8aaf40}
.ow-thumb-none{color:#a3adb9}
.ow-tech-with-image{display:flex;gap:12px;align-items:flex-start}
.ow-tech-main{flex:1 1 auto;min-width:0}
.ow-product-image{flex:0 0 240px;margin:0;display:flex;flex-direction:column;gap:4px}
.ow-product-image button{display:block;padding:0;border:1px solid #c8d0dc;border-radius:2px;background:#fff;cursor:zoom-in}
.ow-product-image img{display:block;width:100%;height:auto;max-height:260px;object-fit:contain}
.ow-product-image figcaption{font-size:11px;color:#697487;text-align:center}
#ow-pick-detail .ow-tech-with-image{flex-direction:column-reverse;align-items:stretch}
#ow-pick-detail .ow-product-image{flex-basis:auto;align-self:center;width:100%;max-width:260px}
.ow-item-image{margin:0 0 8px}
.ow-item-image .ow-product-image{max-width:420px}
.ow-item-image .ow-product-image img{max-height:340px}
.ow-image-dialog{width:min(1100px,calc(100vw - 40px));max-height:calc(100dvh - 40px);grid-template-rows:auto minmax(0,1fr);overflow:hidden}
.ow-image-dialog[open]{display:grid}
.ow-image-stage{display:flex;align-items:center;justify-content:center;min-height:0;padding:10px;overflow:auto;background:#fff}
.ow-image-stage img{max-width:100%;max-height:calc(100dvh - 130px);object-fit:contain}
.ow-image-missing img{display:none}
.ow-image-missing::after{content:"Image unavailable";font-size:11px;color:#8a6d3b;padding:4px}
@media(max-width:800px){.ow-tech-with-image{flex-direction:column-reverse;align-items:stretch}.ow-product-image{flex-basis:auto;align-self:center;width:100%;max-width:320px}}
/* Item lines and technical details are split by a bar the user can drag (height remembered per computer). */
.ow-items-panel .ow-line-workspace{grid-template-rows:minmax(110px,1.1fr) 9px minmax(80px,1fr)}
.ow-line-splitter{display:flex;align-items:center;justify-content:center;cursor:row-resize;background:#e6eaf0;border-top:1px solid #cfd6df;border-bottom:1px solid #cfd6df;touch-action:none;user-select:none}
.ow-line-splitter span{width:46px;height:3px;border-radius:3px;background:#9aa6b6}
.ow-line-splitter:hover,.ow-line-splitter.ow-dragging,.ow-line-splitter:focus-visible{background:#d5deea;outline:none}
.ow-line-splitter:hover span,.ow-line-splitter.ow-dragging span,.ow-line-splitter:focus-visible span{background:#4e6a8e;width:64px}
.vivid .ow-line-splitter:hover,.vivid .ow-line-splitter.ow-dragging,.vivid .ow-line-splitter:focus-visible{background:var(--mod-soft)}
.vivid .ow-line-splitter:hover span,.vivid .ow-line-splitter.ow-dragging span,.vivid .ow-line-splitter:focus-visible span{background:var(--mod)}
@media(min-width:801px) and (min-height:651px){
 .ow-items-panel .ow-line-workspace{grid-template-rows:minmax(110px,min(55%,var(--ow-line-content-height,55%))) 9px minmax(80px,1fr)}
 .ow-items-panel .ow-line-workspace.ow-lines-sized{grid-template-rows:minmax(90px,min(var(--ow-lines-user),calc(100% - 109px))) 9px minmax(80px,1fr)}
}
@media(max-width:800px),(max-height:650px){
 .ow-items-panel .ow-line-workspace{grid-template-rows:minmax(210px,1fr) 9px 210px}
 .ow-items-panel .ow-line-workspace.ow-lines-sized{grid-template-rows:var(--ow-lines-user) 9px 210px}
}
/* Makes named on an ICO / quotation line (item codes carry none). */
.ow-line-makes{display:block;max-width:100%;margin:3px 0 0;padding:2px 6px;border:1px dashed #b9c3d0;border-radius:4px;background:#fff;color:#33465e;font:inherit;font-size:11.5px;line-height:15px;text-align:left;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.ow-line-makes strong{font-size:10.5px;letter-spacing:.03em;text-transform:uppercase;color:#6a7688;margin-right:3px}
.ow-line-makes:not(.ow-line-makes-empty){border-style:solid;background:#f3f7ff}
.ow-line-makes-empty{color:#5f6f86}
.ow-line-makes:hover,.ow-line-makes:focus-visible{border-color:#567daa;outline:none;background:#fff8e1}
.vivid .ow-line-makes:not(.ow-line-makes-empty){background:var(--mod-soft);border-color:color-mix(in srgb,var(--mod) 35%,transparent)}
.vivid .ow-line-makes strong{color:var(--mod-ink)}
.ow-makes-section .ow-form-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
/* Purchase item codes for bought-out technicals. */
.ow-compact-dialog.ow-purchase-picker{width:min(1180px,calc(100vw - 28px))}
.ow-pc-body{display:grid;grid-template-columns:270px minmax(0,1fr);height:min(64vh,640px);border:1px solid #c9cfd8;border-top:0}
.ow-pc-list{overflow:auto;min-height:0;background:#fff;padding:6px 8px}
.ow-pc-count{margin:2px 0 6px;font-size:12px;color:var(--muted)}
@media (max-width:760px){.ow-pc-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:auto}.ow-pc-body .ow-pick-controls{max-height:36vh;border-right:0;border-bottom:1px solid #c9cfd8}}
.ow-pc-results .ow-picker-table td{vertical-align:top}
/* Product types: sample display beside the fields, and dragging fields. */
.ow-compact-dialog.ow-type-dialog{width:min(1500px,calc(100vw - 28px))}
.ow-type-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,1fr);gap:14px;align-items:start}
.ow-type-layout .ow-type-field-scroll{max-height:52vh}
.ow-type-sample{position:sticky;top:0;border:1px solid #bec7d3;background:#fff;padding:9px 11px;max-height:calc(100dvh - 190px);overflow:auto;margin-top:8px}
.ow-type-sample h3{margin:0 0 4px;font-size:14px}
.ow-type-sample-source{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:4px}
.ow-type-sample-source .ow-button{font-size:12px;padding:3px 8px;min-height:25px}
.ow-sample-label{font-size:11px;font-weight:600;color:var(--muted);margin:10px 0 4px}
.ow-type-sample-duty{overflow:auto}
.ow-type-sample-duty .ow-picker-table{width:auto;min-width:100%;font-size:12px}
.ow-type-sample-duty .ow-picker-table th,.ow-type-sample-duty .ow-picker-table td{padding:3px 7px;white-space:nowrap}
.ow-type-sample .ow-helper{margin-top:10px}
.ow-type-sample [data-ow-legend].ow-drop-target>th,.ow-type-sample [data-ow-legend].ow-drop-target>td,.ow-type-sample td.ow-drop-target{background:#e6f1ff;box-shadow:inset 0 0 0 2px var(--ow-bar)}
.ow-type-label-cell{display:flex;align-items:center;gap:4px}
.ow-type-label-cell input{flex:1}
.ow-drag-handle{flex:none;cursor:grab;user-select:none;color:#7b8798;font-size:14px;font-weight:700;line-height:1;letter-spacing:-1px;padding:4px 4px 4px 1px}
.ow-drag-handle:hover{color:var(--ow-bar-dark)}
.ow-type-fields tr.ow-dragging>td{opacity:.45}
.ow-type-fields tr.ow-drop-before>td{box-shadow:inset 0 3px 0 var(--ow-bar)}
.ow-type-fields tr.ow-drop-after>td{box-shadow:inset 0 -3px 0 var(--ow-bar)}
@media (max-width:1180px){.ow-type-layout{grid-template-columns:minmax(0,1fr)}.ow-type-sample{position:static;max-height:none}}

/* Product types: the list of product types in front of the editor (open one, or New product type). */
.ow-type-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.ow-type-list-head p{margin:0;color:var(--muted,#5b6773)}
.ow-type-list-wrap{overflow:auto;border:1px solid var(--line,#dce2ec);border-radius:8px}
.ow-type-list{width:100%;border-collapse:collapse;font-size:13px}
.ow-type-list th{position:sticky;top:0;z-index:1;padding:8px 10px;background:var(--mod-soft,#eef6f6);text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap}
.ow-type-list td{padding:9px 10px;border-top:1px solid var(--line,#e6ebef);vertical-align:top}
.ow-type-list tbody tr{cursor:pointer}
.ow-type-list tbody tr:hover td,.ow-type-list tbody tr:focus td{background:#fffbea}
.ow-type-list tbody tr:focus{outline:none}
.ow-type-list .ow-cell-title{display:block;font-weight:700}
.ow-type-list .ow-secondary{display:block;margin-top:2px;font-size:11.5px}
.ow-type-legends span{display:inline-block;margin:0 4px 3px 0;padding:1px 7px;border-radius:9px;background:#eef3f6;font-size:11px;white-space:nowrap}
.ow-type-off{color:#a3321f;font-weight:600}
.ow-type-controls.ow-type-editing{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}
.ow-type-title{margin:0;font-size:16px}
.ow-type-title small{font-weight:400;font-size:12px;color:var(--muted,#6b787d)}
