.of-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.of-top h1{font-size:23px;margin:0}.of-layout{display:grid;grid-template-columns:minmax(0,73fr) minmax(280px,27fr);gap:18px}.of-layout>section,.of-side{min-width:0}.of-map{background:#15121d;border:1px solid #3c324c;border-radius:18px;overflow:hidden;color:#efebf6;box-shadow:0 18px 40px #17112b12}.of-map-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 24px;border-bottom:1px solid #3a3044}.of-map-head span{font-size:10px;letter-spacing:2px;color:#b9a5d0}.of-map-head h2{color:#efebf6;font-size:20px;margin:7px 0 0}.of-map-head b{color:#78dfc7;font-size:11px}.of-map svg{width:100%;display:block}.of-node rect{fill:url(#of-card);stroke:#534261}.of-node.active rect{stroke:#65e6c4;stroke-width:2}.of-node circle{fill:#725987}.of-node.active circle{fill:#65e6c4}.of-caption{fill:#ad98c4;font:9px system-ui;letter-spacing:1px}.of-name{fill:#ece6f4;font:600 13px system-ui}.of-sub{fill:#b3a5c0;font:10px system-ui}.of-stage{fill:#8e819b;font:10px system-ui}.of-node.active .of-stage{fill:#65e6c4}.of-edge{fill:none;stroke:#68517e;stroke-width:1.5}.of-edge.moving{stroke:#65e6c4;stroke-dasharray:5 5;animation:of-flow 1.4s linear infinite}@keyframes of-flow{to{stroke-dashoffset:-20}}.of-side{background:white;border:1px solid #dce7e9;border-radius:18px;overflow:hidden;align-self:start}.of-side nav{display:flex;flex-wrap:wrap;gap:5px;padding:14px;border-bottom:1px solid #e3ebed;background:#f8fafb}.of-side nav button,.of-side nav a{border:0;padding:8px 10px;border-radius:7px;background:transparent;color:#5a6e78;font:inherit;font-size:12px;cursor:pointer}.of-side nav .active{background:#0c7a70;color:#fff}.of-side-body{padding:18px;max-height:75vh;overflow:auto;font-size:13px}.of-side-body form{display:grid;gap:12px}.of-side-body h3{font-size:16px}.of-side-body label{display:grid;gap:6px}.of-contact{padding:14px 0;border-bottom:1px solid #e4ebed;display:flex;gap:9px;flex-wrap:wrap;align-items:center}.of-contact>strong,.of-contact>small,.of-contact>h3{width:100%;margin:0}.of-contact small,.of-event small{color:#74868b}.of-contact .dir-outline{font-size:12px;padding:7px 10px}.of-table{background:white;border:1px solid #dce7e9;border-radius:16px;overflow:auto;max-height:45vh;margin-top:16px}.of-table .dir-table th{position:sticky;top:0;background:#edf4f5}.of-table .dir-table td{font-size:12px}.of-table .dir-table .selected{background:#e7f6f0}.of-table .dir-table td>button{border:0;background:transparent;text-align:left;padding:0;color:#0a766c;font-weight:650}.of-actions{display:flex;gap:6px;flex-wrap:wrap}.of-actions .dir-outline{font-size:12px;padding:7px 9px}.of-event{padding:12px 0;border-bottom:1px solid #e5edef;display:grid;gap:5px}.of-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.of-metrics article{background:#f0f6f6;border-radius:10px;padding:12px;display:grid}.of-metrics b{font-size:24px}.of-side-body input,.of-side-body select{width:100%;box-sizing:border-box}.of-top .dir-outline{font-size:12px}@media(max-width:1100px){.of-layout{grid-template-columns:1fr}.of-side-body{max-height:none}.of-top{flex-wrap:wrap}.of-map svg{min-width:650px}.of-map{overflow:auto}}@media(prefers-reduced-motion:reduce){.of-edge.moving{animation:none}.of-map animateMotion{display:none}}

.of-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.of-lane{border:1px solid #dae5e5;background:#fff;border-radius:12px;overflow:hidden}.of-lane header{display:flex;justify-content:space-between;padding:10px;background:#eaf3f2;font-size:12px}.of-lane>div{padding:8px;max-height:210px;overflow:auto}.of-lane>div>small{color:#78898b}.of-patient{display:block;width:100%;text-align:left;background:#f7faf9;border:1px solid #dce8e3;border-radius:8px;padding:10px;margin-bottom:6px;cursor:pointer}.of-patient small{display:block;font-size:10px;color:#677d7b;margin-top:5px}.of-patient.selected{border-color:#087e71;background:#e4f4ee}.of-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#16a58c;margin-right:7px;animation:office-pulse 1.8s ease-in-out infinite}.of-live-label{font-size:11px;color:#39756b;font-weight:400;white-space:nowrap}@keyframes office-pulse{50%{box-shadow:0 0 0 5px #16a58c20;opacity:.6}}@media(max-width:600px){.of-board{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.of-live-dot{animation:none}}
