/* /section — cross-section properties page */
.sec{grid-template-columns:minmax(320px,400px) 1fr}
.sec .f{grid-template-columns:1fr 130px}
.sec .f label .sym,.sec .sym{direction:ltr;unicode-bidi:isolate;color:var(--muted);font-size:13px;white-space:nowrap}
.place{margin-top:6px;font-size:14px}
.place summary{cursor:pointer;color:var(--navy);font-weight:600;margin-bottom:8px}
.addrow{display:flex;gap:8px}
.add{border:1px dashed #b9c6d8;background:#f8fafd;border-radius:8px;padding:7px 10px;cursor:pointer;color:var(--navy);font-weight:600;flex:1;margin-top:6px;font:inherit;font-size:14px}
.part{border:1px solid var(--line);border-radius:10px;padding:8px 10px;margin-bottom:8px;background:#fbfdff}
.part .ph{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;color:var(--navy);margin-bottom:6px}
.part .ph .x{margin-inline-start:auto;border:0;background:none;color:#c0392b;cursor:pointer;font-size:20px;line-height:1;padding:0 4px}
.part .g{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.part .g label{font-size:12px;color:var(--muted);display:block;direction:ltr;text-align:start}
.part .g input,.part .g select{padding:5px 6px;font-size:14px}
.part textarea{min-height:64px;font:13px/1.4 ui-monospace,Menlo,Consolas,monospace;direction:ltr;padding:6px}
.part .chk{margin:6px 0 0;font-size:13px}
.draw{border:1px solid var(--line);border-radius:10px;background:#fbfdff;padding:4px}
.draw svg{display:block;width:100%;height:auto;max-height:440px;direction:ltr}
.draw text{font:12px system-ui,sans-serif;direction:ltr}
.legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:var(--muted);margin:8px 2px 0}
.legend i{display:inline-block;width:18px;height:0;border-top:2px solid;vertical-align:middle;margin-inline-end:5px}
.legend i.dash{border-top-style:dashed}
.tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0 6px}
.tools .btn{padding:8px 12px;font-size:14px}
.units{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.units button{border:0;background:#fff;padding:8px 12px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;color:var(--muted)}
.units button.on{background:var(--navy);color:#fff}
table.props{width:100%;border-collapse:collapse;font-size:14px;margin-bottom:6px}
table.props th{text-align:start;color:var(--navy);background:var(--sky);font-size:13px;padding:6px 8px}
table.props td{border-bottom:1px solid #edf1f6;padding:6px 8px;vertical-align:top}
table.props td.s{direction:ltr;unicode-bidi:isolate;white-space:nowrap;font-weight:600;color:var(--navy);width:1%}
table.props td.v{text-align:end;white-space:nowrap;font-variant-numeric:tabular-nums;direction:ltr;width:1%}
table.props td.u{direction:ltr;unicode-bidi:isolate;color:var(--muted);white-space:nowrap;width:1%}
table.props td.d{color:#33465c}
table.props .note{display:block;font-size:12px;color:var(--muted)}
.cls{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:7px;font-weight:800;color:#fff}
.cls.c1{background:#1e8449}.cls.c2{background:#2e86c1}.cls.c3{background:#b9770e}.cls.c4{background:#c0392b}
.warn{background:#fff8e6;border:1px solid #f3dfa8;color:#6b5210;border-radius:10px;padding:8px 12px;font-size:14px;margin:8px 0}
.sec .err{margin:12px 18px}
.busy{opacity:.55;transition:opacity .2s}
@media (max-width:900px){.sec{grid-template-columns:1fr}}
@media (max-width:420px){
  .sec .f{grid-template-columns:1fr 110px}
  .part .g{grid-template-columns:repeat(2,1fr)}
  table.props td{padding:5px 4px}
  table.props td.d{font-size:13px}
}
.sec>*{min-width:0}
.sec select{max-width:100%;min-width:0}
.sec .f.full{grid-template-columns:1fr}
.sec .f.full label{margin-bottom:-4px}
.tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media (max-width:600px){.draw text{font-size:20px!important}}
