body.product-page main{max-width:1800px;padding:24px}body.product-page header{max-width:1800px}.product-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.product-heading h1{font-size:26px;letter-spacing:-.7px;margin:4px 0 10px}.product-intro{font-size:13px;color:var(--muted)}.product-toolbar,.product-bulk,.product-bottom{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.product-toolbar{padding:12px 0;border-top:1px solid var(--line)}#products input,#products select,#products button{font-size:12px;border-radius:5px;padding:8px 10px}#products select{background:white;color:var(--ink);border:1px solid #bdcecc;max-width:200px}#products input{width:190px}#products #product-query{flex:1;min-width:170px}#products input[type=checkbox]{width:15px;height:15px;accent-color:var(--teal);padding:0}.product-bulk{padding:10px;background:#eaf2ef;font-size:12px;border:1px solid var(--line);border-radius:6px}#product-message{font-size:12px;min-height:20px;margin:8px 0;color:var(--teal)}.product-scroll{height:57vh;min-height:300px;overflow:auto;background:#fff;border:1px solid #d5e0e2;border-radius:6px}#product-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;table-layout:fixed;min-width:1200px}#product-table th{position:sticky;top:0;background:#e9eef2;font-size:11px;font-weight:600;height:34px;z-index:3}#product-table td,#product-table th{padding:0 8px;border-right:1px solid #dbe3e8;border-bottom:1px solid #dbe3e8;text-align:left;height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#product-table th:first-child,#product-table td:first-child{width:36px;position:sticky;left:0;z-index:2;background:#f0f4f6}#product-table th:nth-child(2),#product-table td:nth-child(2){width:135px;position:sticky;left:36px;z-index:2;background:#f4f7f9;color:#146d64}#product-table th:first-child,#product-table th:nth-child(2){z-index:4}#product-table th:nth-child(3){width:300px}#product-table tr:nth-child(even){background:#f8fafc}#product-table td:focus-within{outline:2px solid #158676;outline-offset:-2px;background:#f2fff9}#product-table td input{width:100%;background:transparent;border:0;border-radius:0;padding:5px 0;font-size:12px;outline-offset:-2px}#product-table td.product-changed{background:#fff0c7;box-shadow:inset 3px 0 #d89b32}.product-bottom{justify-content:space-between;padding:12px 0;font-size:12px}.product-bottom>div{display:flex;align-items:center;gap:8px}#product-dirty{color:#986422}#product-columns{position:relative;font-size:12px;background:#fff;border:1px solid var(--line);padding:6px 10px;border-radius:5px}#product-columns summary{cursor:pointer}#product-columns>div{position:absolute;top:36px;right:0;background:white;padding:14px;box-shadow:0 5px 20px #1233;z-index:8;width:235px}#product-columns label{display:flex;align-items:center;font-size:12px;margin-bottom:10px}#product-dialog{border:1px solid var(--line);border-radius:12px;max-width:1000px;width:90vw;padding:24px;color:var(--ink)}#product-dialog::backdrop{background:#102e3a88}.product-review-scroll{max-height:50vh;overflow:auto}#product-dialog table{border-collapse:collapse;width:100%;font-size:13px}#product-dialog th,#product-dialog td{text-align:left;padding:10px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;max-width:250px}#product-dialog th{position:sticky;top:0;background:#edf4f1}#product-dialog td:last-child{background:#eaf6ef}#product-dialog .actions{flex-wrap:wrap}#product-save-status{margin-top:16px;font-size:13px}@media(max-width:700px){body.product-page main{padding:14px}.product-heading h1{font-size:23px}.product-bulk input{flex:1;min-width:100px}.product-scroll{height:55vh}.product-bottom{justify-content:flex-start}.product-intro{font-size:12px}}
/* Dynamic field catalog and typed cells. */
#products [hidden]{display:none!important}
#product-table{width:max-content;table-layout:auto}
#product-table th,#product-table td{min-width:190px;max-width:300px}
#product-table th:first-child,#product-table td:first-child{min-width:36px;max-width:36px}
#product-table th:nth-child(2),#product-table td:nth-child(2){min-width:135px;max-width:135px}
#product-table td input,#product-table td select,#product-table td textarea{min-width:165px;width:100%;max-width:none;background:transparent;border:0;font:12px/1.5 system-ui;color:var(--ink);padding:4px 0;border-radius:0}
#product-table td textarea{height:28px;resize:vertical;display:block}
#product-table td textarea:focus{height:100px}
#product-table td select[multiple]{min-height:52px}
#product-table td input[type=checkbox]{min-width:0}
#product-table td.product-readonly{background:#eef1f4;color:#6e7c86}
#product-table td.product-readonly input,#product-table td.product-readonly textarea,#product-table td.product-readonly select{color:#6e7c86;cursor:not-allowed}
#product-columns>div{width:360px;max-width:85vw;max-height:65vh;overflow:auto}
#product-columns>div>strong{display:block;margin:12px 0 8px;font-size:12px;color:var(--teal)}
#product-columns>div>input{width:100%;position:sticky;top:0;background:#fff}
.product-column-presets{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}
#products .product-column-presets button{padding:5px;font-size:11px}
#products .product-bulk textarea{font:12px system-ui;border:1px solid #bdcecc;border-radius:5px;padding:8px;min-width:190px;max-width:100%;height:34px}
#product-preview td{white-space:pre-wrap}
@media(max-width:700px){.product-toolbar{position:relative}#product-columns{position:static}#product-columns>div{top:100%;right:0;width:340px;max-width:100%;max-height:55vh}}
