/* 09F2K: compact, source-aware reference table; isolated from other Tools. */
.od-tools.od-pdim{--pdim-line:#d8e3dc}
.od-pdim__intro{padding:12px 15px;background:#f2f8f4;border-left:3px solid #17804b;border-radius:0 8px 8px 0;font-size:.85rem;line-height:1.5}
.od-pdim__intro p{margin:0 0 6px}.od-pdim__intro p:last-child{margin-bottom:0}
.od-pdim__filters{display:grid;grid-template-columns:1fr 1.25fr;gap:12px;margin:16px 0 8px;padding:13px;background:#f7faf8;border:1px solid var(--pdim-line);border-radius:9px}
.od-pdim__filters label{display:flex;flex-direction:column;gap:5px;font-size:.78rem;font-weight:700;min-width:0}
.od-pdim__filters input,.od-pdim__filters select{width:100%;min-width:0;min-height:39px;font-size:.87rem;color:#183c2d;background:#fff;border:1px solid #c6d8cb;border-radius:7px;padding:8px 10px}
.od-pdim__count{font-size:.77rem;color:#63736a;margin:7px 0}
.od-pdim__scroll{box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-x:visible;border:1px solid var(--pdim-line);border-radius:8px}
.od-pdim__table{border-collapse:collapse;width:100%;max-width:100%;min-width:0;margin:0;table-layout:fixed;font-size:.81rem}
.od-pdim__table thead th{background:var(--od-ui-table-header-bg,#f7faf8);color:var(--od-ui-table-header-text,#435b4b);text-align:left;font-size:.78rem;line-height:1.35;padding:10px 8px;border-bottom:1px solid var(--pdim-line);vertical-align:middle;overflow-wrap:anywhere}
.od-pdim__table thead th:first-child{width:29%}.od-pdim__table thead th:nth-child(2){width:23%}.od-pdim__table thead th:nth-child(3){width:23%}.od-pdim__table thead th:nth-child(4){width:25%}
.od-pdim__table thead small{display:block;color:#607a6a;font-size:.70rem;font-weight:500}
.od-pdim__table tbody tr:nth-child(even){background:#f8faf9}
.od-pdim__table tbody th,.od-pdim__table tbody td{border-bottom:1px solid var(--pdim-line);border-right:1px solid #e1e9e4;padding:9px 8px;vertical-align:top;text-align:left;line-height:1.45;overflow-wrap:anywhere}
.od-pdim__table tbody td:last-child{border-right:0}.od-pdim__table tbody tr:last-child>*{border-bottom:0}
.od-pdim__table tbody th strong{display:block;color:#123d2c;font-size:.83rem}.od-pdim__table tbody th>small{display:block;font-weight:500;color:#6c7d72;font-size:.72rem;margin:3px 0 6px}
.od-pdim__profile-list{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.od-pdim__profile{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;max-width:100%;box-sizing:border-box;margin:0;padding:4px 7px;border:1px solid #d9e4dc;background:#fff;border-radius:5px;font-variant-numeric:tabular-nums;white-space:normal;font-weight:650;color:#183f2c;line-height:1.3}
.od-pdim__profile small{font-weight:400;font-size:.70rem;color:#64766b}
.od-pdim__lengths{font-variant-numeric:tabular-nums;font-size:.82rem;color:#194633;line-height:1.5;overflow-wrap:normal}
.od-pdim__none{color:#8a9790}.od-pdim__details{font-size:.74rem;font-weight:400;color:#4c6555}
/* 09F2K4: keep the expand indicator wholly inside the first column, also in mobile cards. */
.od-tools.od-pdim .od-pdim__details > summary{display:block;box-sizing:border-box;position:relative;max-width:100%;padding:0 0 0 13px;cursor:pointer;list-style:none;color:#0e6040;line-height:1.4;outline-offset:3px;overflow-wrap:anywhere}
.od-tools.od-pdim .od-pdim__details > summary::-webkit-details-marker{display:none}
.od-tools.od-pdim .od-pdim__details > summary::marker{content:""}
.od-tools.od-pdim .od-pdim__details > summary::before{content:"▸";position:absolute;left:0;top:0;color:#0e6040;font-size:1em;line-height:1.4}
.od-tools.od-pdim .od-pdim__details[open] > summary::before{content:"▾"}.od-pdim__details p{margin:5px 0;line-height:1.4}
.od-pdim__details ul{margin:6px 0 2px;padding-left:15px}.od-pdim__details li{margin:4px 0;overflow-wrap:anywhere}
.od-pdim__details a{color:#0a7040;text-decoration:underline}.od-pdim__details li span{color:#6e7c72}
.od-pdim__empty{border:1px solid #e4d8ab;border-radius:7px;padding:10px 12px;font-size:.85rem;background:#fffaf0}
.od-pdim__disclaimer{margin-top:14px;background:#f5f9f6;border:1px solid var(--pdim-line);border-radius:8px;padding:13px 15px;font-size:.81rem;line-height:1.5}
.od-pdim__disclaimer strong{color:#0e5036}.od-pdim__disclaimer p{margin:5px 0 0}
.od-pdim__export{margin-top:14px}
/* Below 650px use compact item cards instead of squeezing four table columns. */
@media(max-width:650px){
 .od-pdim__filters{grid-template-columns:1fr;gap:10px}
 .od-pdim__scroll{border:0;border-radius:0;overflow:visible}
 .od-pdim__table{width:100%;display:block;border-collapse:separate}
 .od-pdim__table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .od-pdim__table tbody{display:block}
 .od-pdim__table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0 0 10px;border:1px solid var(--pdim-line);border-radius:8px;overflow:hidden;background:#fff}
 .od-pdim__table tbody tr[hidden]{display:none}
 .od-pdim__table tbody th,.od-pdim__table tbody td{display:block;min-width:0;width:auto;padding:9px 10px;border:0;vertical-align:top;box-sizing:border-box;overflow-wrap:anywhere}
 .od-pdim__table tbody th{grid-column:1/-1;background:#f3f8f5;border-bottom:1px solid var(--pdim-line)}
 .od-pdim__table tbody td:nth-child(2){border-right:1px solid var(--pdim-line)}
 .od-pdim__table tbody td:nth-child(2),.od-pdim__table tbody td:nth-child(3){background:#fff}
 .od-pdim__table tbody td:nth-child(4){grid-column:1/-1;border-top:1px solid var(--pdim-line);background:#f9fbfa}
 .od-pdim__table tbody td:nth-child(2)::before,.od-pdim__table tbody td:nth-child(3)::before,.od-pdim__table tbody td:nth-child(4)::before{display:block;margin:0 0 7px;color:#577363;font-size:.70rem;font-weight:700;line-height:1.3}
 .od-pdim__table tbody td:nth-child(2)::before{content:"Częste przekroje · mm"}
 .od-pdim__table tbody td:nth-child(3)::before{content:"Inne przekroje · mm"}
 .od-pdim__table tbody td:nth-child(4)::before{content:"Spotykane długości"}
 .od-pdim__profile{font-size:.76rem;padding:4px 6px}
}
@media(max-width:360px){.od-pdim__table tbody td:nth-child(2),.od-pdim__table tbody td:nth-child(3){padding:8px 6px}.od-pdim__profile{font-size:.73rem;padding:3px 5px}}

/* 09F2K2: optional sources in the export — compact, accessible checkbox. */
.od-tools.od-pdim .od-pdim__include-sources{display:inline-flex;align-items:center;gap:7px;margin:0;color:#194633;font-size:.80rem;font-weight:500;cursor:pointer;white-space:nowrap}
.od-tools.od-pdim .od-pdim__include-sources input[type="checkbox"]{appearance:auto;display:inline-block;flex:none;width:16px;height:16px;min-width:16px;min-height:16px;margin:0;accent-color:#146343;cursor:pointer}
.od-tools.od-pdim .od-pdim__include-sources input:focus-visible{outline:2px solid #2e895b;outline-offset:3px}

/* 09G40 — pionowe linie również w nagłówkach; wiersze mają już separatory. */
@media(min-width:651px){
  .od-tools .od-pdim__table thead th:not(:last-child){
    border-right:1px solid var(--od-ui-table-header-line,#dce6df);
  }
}
