.reg-source{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:25px}.reg-source a{color:var(--accent-ink);text-decoration:underline}.reg-group{margin:30px 0}.reg-group>h2{font-size:14px;color:var(--muted);letter-spacing:.6px}.reg-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.reg-card{padding:24px;position:relative;transition:box-shadow .15s,border-color .15s}.reg-card:hover{border-color:#b5a0df;box-shadow:0 7px 22px #44306b0b}.reg-card h3{font-size:18px;padding-right:15px}.reg-card p{font-size:13px;min-height:42px}.reg-card small{font-size:10px;color:var(--muted)}.reg-card-icon{position:absolute;right:18px;top:18px;color:var(--accent-ink)}.reg-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 24px}.reg-tabs a{padding:9px 13px;border:1px solid var(--line);border-radius:8px;background:white;font-size:12px}.reg-tabs a.active{background:var(--lav);border-color:#b9a7df;color:#5f409f}.reg-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:15px}.reg-outline{background:white;color:var(--accent-ink);border:1px solid #d4c8ed}.reg-table-wrap{overflow:auto;max-height:70vh;border-radius:10px}.reg-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;line-height:1.5}.reg-table th,.reg-table td{border-right:1px solid #e7e3ed;border-bottom:1px solid #e7e3ed;min-width:140px;max-width:310px;vertical-align:top}.reg-table thead th{position:sticky;top:0;background:#f1edf8;z-index:3;text-align:left;padding:11px 13px;font-size:11px}.reg-table thead th span{display:block;font-size:9px;color:#8b7b9e;margin-bottom:3px}.reg-table td{position:relative;white-space:pre-wrap;overflow-wrap:anywhere}.reg-table .reg-rowno{position:sticky;left:0;background:#faf8fd;min-width:66px;max-width:66px;width:66px;z-index:2;text-align:center;color:#715a8c}.reg-table thead .reg-rowno{z-index:4}.reg-rowno a{display:block;padding:12px 6px}.reg-rowno small{display:block;font-size:9px;font-weight:400}.reg-cell{display:block;padding:12px;min-height:44px;color:inherit}.reg-cell:hover{outline:2px solid #9271ca;outline-offset:-2px}.reg-bold{font-weight:700}.reg-link{display:block;padding:0 12px 9px;font-size:10px;text-decoration:underline;color:inherit}.reg-formula{position:absolute;right:4px;top:2px;font-size:10px;opacity:.6}.reg-note{padding:0 12px 10px;font-size:10px}.reg-note summary{cursor:pointer}.reg-pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:22px 0;font-size:12px}.reg-filters{font-size:12px}.reg-filters .reg-checkbox{display:flex;gap:7px;align-items:center;min-width:auto;flex:0 1 auto}.reg-checkbox input{width:auto;margin:0}.reg-paste,.reg-history,.reg-clear{padding:20px 24px;margin-top:18px;font-size:13px}.reg-paste>summary,.reg-history>summary,.reg-clear>summary{cursor:pointer;font-weight:600}.reg-history li{padding:10px 0;font-size:12px}.reg-clear p{margin:15px 0}.reg-clear button{margin-left:20px;background:#a34242}.reg-edit-form{padding:26px}.reg-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.reg-field{padding:18px;border:1px solid var(--line);border-radius:9px;min-width:0}.reg-field>label{display:block;font-weight:600;font-size:12px;margin-bottom:8px}.reg-address{font-size:10px;color:var(--accent-ink);padding-right:5px}.reg-field textarea,.reg-field select{width:100%;padding:10px 12px;border:1px solid #dcd6e7;border-radius:7px;font:inherit;font-size:13px;background:white;color:var(--ink)}.reg-field small{font-size:11px;color:var(--muted)}.reg-field details{margin-top:10px;font-size:11px;color:var(--muted)}.reg-field summary{cursor:pointer}.reg-field details label{display:block;margin-top:10px}.reg-save{position:sticky;bottom:0;padding:18px;background:white;border-top:1px solid var(--line);display:flex;gap:25px;align-items:center;margin-top:25px;font-size:13px}.reg-nav-group{margin:15px 14px 6px;font-size:10px;letter-spacing:1px;color:var(--muted)}.sidebar nav{overflow-y:auto}.reg-quick{margin:20px 0}.reg-quick a{display:inline-block;margin:5px 8px 5px 0;padding:9px 15px;background:var(--lav);color:var(--accent-ink);border-radius:7px;font-size:13px}
@media(max-width:1050px){.reg-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.reg-fields{grid-template-columns:1fr}}
@media(max-width:700px){.reg-cards{grid-template-columns:1fr}.reg-tabs{flex-wrap:nowrap;overflow:auto}.reg-tabs a{white-space:nowrap}.reg-table-wrap{max-height:65vh}.reg-edit-form{padding:16px}.reg-field{padding:14px}.reg-source{gap:8px}.reg-clear button{margin:15px 0 0}.reg-nav-group{display:none}}

.pipe-pending,.pipe-table tr.pipe-pending>td{background-color:#e0e0e0;color:#111}.pipe-status-control{padding:12px;min-width:230px}.pipe-status-control form{margin:0 0 8px}.pipe-status-control label{display:block;font-size:11px}.pipe-status-control select{display:block;width:100%;max-width:280px;margin:6px 0;padding:8px;background:transparent;color:inherit;border:1px solid #777;border-radius:6px;font:inherit}.pipe-status-control select:disabled{color:#333;opacity:1}.pipe-status-control .button{padding:7px 12px;font-size:11px}.pipe-status-control small{display:block;margin-bottom:8px}.pipe-table tr>td{background-color:inherit;color:inherit}

/* U360: compact pipe order table; full text remains in the order card and tooltips. */
.pipe-table{width:max-content;min-width:100%;font-size:12px;line-height:1.3}
.pipe-table th,.pipe-table td{min-width:74px;max-width:132px;white-space:normal}
.pipe-table thead th{padding:7px 6px;font-size:11px}
.pipe-table .reg-cell{padding:6px;min-height:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;line-height:1.35}
.pipe-table .pipe-col-created_at,.pipe-table .pipe-col-due{width:82px;min-width:82px;max-width:82px}
.pipe-table .pipe-col-created_at .reg-cell,.pipe-table .pipe-col-due .reg-cell{white-space:nowrap}
.pipe-table .pipe-col-number{width:92px;min-width:92px;max-width:92px}
.pipe-table .pipe-col-client{width:112px;min-width:100px;max-width:112px}
.pipe-table .pipe-col-status{width:155px;min-width:155px;max-width:155px}
.pipe-table .pipe-col-type{width:175px;min-width:155px;max-width:175px}
.pipe-table .pipe-col-diameter,.pipe-table .pipe-col-serial{width:64px;min-width:64px;max-width:64px}
.pipe-table .pipe-col-mounting,.pipe-table .pipe-col-height{width:112px;min-width:100px;max-width:112px}
.pipe-table .pipe-col-details,.pipe-table .pipe-col-additional{width:120px;min-width:90px;max-width:120px}
.pipe-table .pipe-col-extra_i,.pipe-table .pipe-col-extra_j{width:76px;min-width:65px;max-width:76px}
.pipe-table .pipe-status-control{padding:5px 6px;min-width:0;white-space:normal}
.pipe-table .pipe-status-control form{margin:0 0 3px}
.pipe-table .pipe-status-control label{margin:0}
.pipe-table .pipe-status-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pipe-table .pipe-status-control select{width:100%;max-width:143px;min-height:28px;margin:0 0 3px;padding:3px 4px;font-size:12px;line-height:1.2}
.pipe-table .pipe-status-control .button{min-height:26px;padding:4px 9px;font-size:11px;line-height:1.2}
.pipe-table .pipe-status-control small{font-size:10px;line-height:1.2;margin:2px 0 4px}
/* Multiple products remain visible; dimensions are edited per stable line ID. */
.pipe-table .pipe-col-type{width:230px;min-width:210px;max-width:230px}
.pipe-products{margin:0;padding:6px 8px 4px 26px;font-size:11px;line-height:1.3}
.pipe-products li{padding:3px 0 7px;border-bottom:1px solid #0002}
.pipe-products li:last-child{border-bottom:0}
.pipe-products strong,.pipe-products span,.pipe-products small{display:block;white-space:normal;overflow-wrap:anywhere}
.pipe-products small,.pipe-products summary{font-size:10px}
.pipe-products details{margin-top:3px}
.pipe-inline-form{padding:5px;margin:0;white-space:normal}
.pipe-inline-form input,.pipe-inline-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:4px;border:1px solid #7779;border-radius:4px;font:inherit;color:inherit;background:#ffffffb8;margin:0}
.pipe-inline-form input{height:28px;font-size:11px}
.pipe-inline-form textarea{min-height:48px;resize:vertical;font-size:11px}
.pipe-line-input{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:1px;margin:0 0 5px;font-size:10px}
.pipe-inline-form .button,.pipe-product-edit .button{padding:4px 7px;font-size:10px;min-height:25px;margin-top:3px}
.pipe-product-edit{padding:4px 6px 7px;font-size:11px;white-space:normal}
.pipe-product-edit summary{cursor:pointer;font-size:11px}
.pipe-product-edit fieldset{min-width:0;margin:8px 0;padding:7px;border:1px solid #0004}
.pipe-product-edit label{display:block;font-size:11px;margin:3px 0}
.pipe-product-edit input,.pipe-product-edit textarea{box-sizing:border-box;width:100%;padding:4px;font:inherit;min-width:0}
.pipe-product-edit .pipe-remove{display:flex;align-items:center;gap:5px}.pipe-product-edit .pipe-remove input{width:auto}
.pipe-line-values{padding:6px 5px 6px 24px;margin:0;white-space:normal;font-size:11px}
.pipe-line-values li{padding:3px 0 5px;min-height:28px}
.pipe-inline-form input[type=date]{font-size:10px;padding:2px}
.pipe-inline-form .pipe-line-input textarea{min-height:28px;height:28px;line-height:18px;padding:4px;font-size:11px;resize:vertical}.pipe-inline-form .pipe-line-input textarea:focus{min-height:58px}
/* U362: real table rows keep product, diameter and each dimension aligned. */
.pipe-table .pipe-col-type{width:175px;min-width:160px;max-width:175px}
.pipe-table .pipe-col-length,.pipe-table .pipe-col-room_height,.pipe-table .pipe-col-height{width:126px;min-width:110px;max-width:150px}
.pipe-table .pipe-product-row>td{vertical-align:middle}
.pipe-table .pipe-product-row>td[rowspan]{vertical-align:top}
.pipe-kind,.pipe-value{display:block;padding:6px;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}
.pipe-kind strong{display:block}.pipe-kind{white-space:normal}
.pipe-specs{font-size:10px;margin-top:4px}.pipe-specs summary{cursor:pointer}
.pipe-edit-link{display:inline-block;font-size:10px;text-decoration:underline;margin-top:5px}
.pipe-dimension-form{margin:0;padding:5px;display:flex;align-items:center;gap:4px;white-space:normal}
.pipe-dimension-form textarea{box-sizing:border-box;width:100%;min-width:0;min-height:29px;height:29px;resize:vertical;border:1px solid #7778;border-radius:4px;background:#ffffffbd;color:#111;font:inherit;font-size:11px;padding:5px}
.pipe-dimension-form textarea:focus{height:65px}
.pipe-dimension-form .button{padding:4px;font-size:9px;min-height:25px}
.pipe-products-plain{list-style:none;padding-left:8px}
.pipe-table .pipe-col-covering,.pipe-table .pipe-col-construction{width:130px;min-width:115px;max-width:150px}
.ws-recipe{padding:12px 0;border-bottom:1px solid #ddd}.ws-recipe summary{cursor:pointer;font-weight:600}.ws-recipe select{max-width:580px;width:100%}.ws-recipe td{padding:4px}.ws-recipe input[type=number]{width:130px}.ws-recipe button{margin:10px}.detail-section pre{white-space:pre-wrap;overflow-wrap:anywhere}.detail-section table td{padding:6px}

/* Whole order, including rowspan cells, without changing its actual status. */
.pipe-overdue,.pipe-table tr.pipe-overdue>td{background-color:#E70F0F!important;color:#111!important}.pipe-overdue a{color:#111}.pipe-overdue input,.pipe-overdue textarea,.pipe-overdue select{background-color:#fff5f5;color:#111}.pipe-overdue .pipe-col-due{font-weight:700}

/* Completed orders: light green palette, 2026-10-27. Status values unchanged. */
.pipe-status-05a61a8fc3c29d5e,.pipe-table tr.pipe-status-05a61a8fc3c29d5e>td,.pipe-status-control select:has(option:checked[value="Zakończone"]),.pipe-status-0c0551f827f4c611,.pipe-table tr.pipe-status-0c0551f827f4c611>td,.pipe-status-control select:has(option:checked[value="Zrealizowane"]),.pipe-table .reg-bg-00ff00{background-color:#D8F3DC!important;color:#1B5E20!important}
