.po{margin-bottom:24px;--po-line:#dbe3ed;--po-blue:#2b62d6;--po-teal:#087f78}.po-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.po-heading h3{font-size:22px;margin-bottom:6px}.po-heading p{margin:0;font-size:14px;color:var(--muted)}.po-scope{font-size:12px;color:var(--muted);margin:12px 0 6px;line-height:1.6}.po-status{padding:10px 12px;border-radius:7px;background:#edf6f1;color:#19684c;font-size:13px;min-height:40px}.po-status.po-error{background:#fff3e9;color:#993b1c}.po-workspace{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(270px,1fr) minmax(320px,1.2fr);gap:14px;align-items:start}.po-pane{min-width:0;background:#fff;border:1px solid var(--po-line);border-radius:10px;padding:16px}.po-pane h4{font-size:16px;margin-bottom:14px}.po-count{font-size:12px;color:#68778b;font-weight:400}.po-toolbar{display:flex;align-items:center;gap:8px;margin:9px 0;flex-wrap:wrap}.po-toolbar select{min-width:0;flex:1}.po-toolbar button{font-size:12px;padding:7px 9px;min-height:34px}.po-check{display:flex;align-items:center;gap:7px;font-weight:400;font-size:12px;color:#536377;margin:4px 0}.po-check input{flex:0 0 17px}.po-code-list{max-height:440px;overflow-y:auto;padding:2px;margin:12px -2px}.po-code{display:flex;align-items:center;gap:5px;border:1px solid var(--po-line);border-radius:7px;padding:8px;margin-bottom:7px;cursor:grab;min-width:0}.po-code.is-selected{background:#eff5ff;border-color:#91b1ec}.po-select{flex:0 0 20px;display:flex;align-items:center;margin:0}.po-code-name{display:block;flex:1;min-width:0;text-align:left;border:0;background:transparent;box-shadow:none;font-size:12px;padding:0;line-height:1.5;color:#28394f;overflow-wrap:anywhere;font-weight:600}.po-code-name small{display:block;color:#6a7789;font-weight:400;font-size:11px;margin-top:3px}.po-swatch{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:6px}.po-grip{color:#8794a6;font-size:18px;flex:0 0 15px}.po-destination{border-top:1px solid var(--po-line);padding-top:14px}.po-destination select{margin-bottom:9px}.po-destination button{width:100%;font-size:12px}.po-hierarchy{margin-top:17px;border-top:1px solid var(--po-line);padding-top:13px;font-size:12px}.po-hierarchy select,.po-hierarchy button{font-size:12px;margin:7px 0;max-width:100%}.po-hierarchy label{margin-top:12px}.po-tree-row{border-bottom:1px solid #edf1f6}.po-tree-row button{background:transparent;border:0;text-align:left;justify-content:flex-start;padding:4px;font-size:11px;overflow-wrap:anywhere;max-width:100%}.po-category-list{max-height:600px;overflow:auto}.po-category{border:1px solid #b6d8cd;border-radius:8px;background:#f6fcf9;padding:14px;margin-bottom:12px;transition:background .1s,border-color .1s;overflow-wrap:anywhere}.po-category.po-drop-active{background:#ddf5e9;outline:3px solid #62ab90;outline-offset:1px}.po-category-name{background:transparent;border:0;padding:0;color:#116b5d;text-align:left;justify-content:flex-start;font-size:14px;min-height:25px;overflow-wrap:anywhere}.po-category p{margin:5px 0 10px}.po-text-button{border:0;background:transparent;padding:0;min-height:20px;font-size:11px;color:var(--po-blue);font-weight:500}.po-chip{display:flex;align-items:center;background:#fff;border:1px solid #d5e5de;border-radius:6px;margin:6px 0;gap:3px}.po-chip button{border:0;background:transparent;text-align:left;justify-content:flex-start;font-size:11px;padding:7px;min-height:30px;overflow-wrap:anywhere;min-width:0}.po-chip button:first-child{flex:1}.po-chip button:last-child{color:#8b4d38;font-size:18px;flex:0 0 28px;justify-content:center}.po-drop-note{font-size:11px;color:#448472;border:1px dashed #a7ccbd;border-radius:6px;padding:10px;margin-top:12px;text-align:center}.po-create{padding:14px;border:1px dashed #a9bacd;border-radius:8px;margin-top:12px}.po-create summary{font-size:13px;color:#365777}.po-create label{margin-top:12px}.po-create button{width:100%;margin-top:12px;font-size:12px}.po-empty{padding:20px 12px;color:#64748b;font-size:13px;border:1px dashed #d5dde8;line-height:1.6;border-radius:7px}.po-map{border:1px solid #d6e0ec;background:#f8fbff;border-radius:8px;overflow:hidden;touch-action:none;min-height:340px}.po-map svg{display:block;width:100%;height:auto;min-height:340px;cursor:grab}.po-map-tools button{padding:6px 9px;font-size:11px}.po-edge{stroke:#a6b7cb;stroke-width:2}.po-edge.relation{stroke:#3b74d6;stroke-width:2.5}.po-edge.hierarchy{stroke:#8554a1;stroke-dasharray:8 6;stroke-width:2.5}.po-node{cursor:move}.po-node rect{fill:#fff;stroke:#94b0db;stroke-width:2}.po-node.category rect{fill:#e6f7ef;stroke:#55a48b}.po-node text{font-size:13px;fill:#263b54;pointer-events:none}.po-node:focus rect{stroke:#184ea7;stroke-width:5}.po-node.category text{fill:#0a6652;font-weight:600}.po-map-help{font-size:11px;margin:10px 0;color:#64748b}.po-map-pane>button{font-size:11px}.po-map-pane>p:last-child{font-size:11px;margin-top:12px}.po-inspector{position:fixed;right:20px;top:80px;width:min(420px,calc(100vw - 40px));max-height:calc(100vh - 110px);overflow:auto;background:#fff;border:1px solid #bccbde;border-radius:12px;box-shadow:0 14px 50px #1c345030;padding:20px;z-index:30}.po-inspector-heading{display:flex;justify-content:space-between;gap:12px;align-items:start}.po-inspector-heading h4{font-size:18px;overflow-wrap:anywhere}.po-inspector p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.po-inspector h5{font-size:13px;margin:15px 0 7px}.po-inspector blockquote{font-size:13px}.po-mobile{display:none}.po-legacy{margin-top:20px}.po-legacy>summary{padding:12px 0;color:#435d80}.po-legacy[open]>.two-columns{margin-top:16px}.rp-book-layout{grid-template-columns:minmax(240px,.65fr) minmax(0,1.5fr)}.rp-code-card{padding:14px}.rp-code-card>.rp-code-criteria{margin-top:8px}.rp-code-card>details>summary{font-size:12px}.rp-code-card>details{margin:8px 0}.rp-book-form>summary{font-weight:650;color:#274f86;margin-bottom:12px}.rp-book-form[open]>summary{margin-bottom:18px}
@media(min-width:1700px){.po-code-list{max-height:560px}.po-workspace{grid-template-columns:minmax(260px,.8fr) minmax(300px,1fr) minmax(470px,1.5fr)}}
@media(max-width:1250px){.po-workspace{grid-template-columns:minmax(220px,1fr) minmax(260px,1fr)}.po-map-pane{grid-column:1/-1}.po-map svg{height:440px}.po-category-list{max-height:500px}}
@media(max-width:700px){.po-heading{flex-direction:column;gap:8px}.po-heading h3{font-size:20px}.po-workspace{display:block}.po-pane{padding:14px}.po-mobile{display:flex;gap:6px;margin:12px 0}.po-mobile button{flex:1;font-size:12px}.po-mobile button[aria-pressed=true]{background:#edf3ff;color:#245dc4;border-color:#94b1e7}.po-workspace[data-mobile-view=codes]>.po-pane:not(.po-code-pane),.po-workspace[data-mobile-view=categories]>.po-pane:not(.po-category-pane),.po-workspace[data-mobile-view=map]>.po-pane:not(.po-map-pane){display:none}.po-code-list,.po-category-list{max-height:60vh}.po-map svg{height:370px}.po-inspector{top:30px;max-height:calc(100vh - 60px)}.rp-book-layout{display:block}.rp-book-layout>section{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.po-category{transition:none}}

/* Declared relation labels remain visible and move with their edge. */
.po-map-edge-label{font-size:12px;font-weight:600;fill:#275ca9;paint-order:stroke;stroke:#f8fbff;stroke-width:5px;stroke-linejoin:round;pointer-events:none}

/* Themes are local interpretations, visually distinct from membership and hierarchy. */
.po-edge.theme-link{stroke:#b47416;stroke-width:2.5;stroke-dasharray:3 3}.po-node.theme rect{fill:#fff3d9;stroke:#b47416}.po-node.theme text{fill:#69490d;font-weight:600}.po-node.theme .po-map-theme-status{font-size:10px;font-weight:400}.po-theme-warning{padding:9px;border:1px solid #d8b56e;border-radius:6px;background:#fff8e8;color:#785519}.po-theme-status{background:#fff3d9;border-radius:6px;padding:8px}.po-inspector ul{font-size:13px;line-height:1.6;padding-left:20px}.po-workspace.po-map-wide .po-map-pane{grid-column:1/-1}.po-workspace.po-map-wide .po-map svg{height:650px}.po-workspace.po-map-wide{grid-template-columns:1fr 1fr}.po-workspace.po-map-wide .po-code-list,.po-workspace.po-map-wide .po-category-list{max-height:230px}
