.ov-shell{background:#fff;border:1px solid #cbd3df;border-radius:12px;overflow:hidden;color:#263445;min-width:0}.ov-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 18px;border-bottom:1px solid #d9dfe8;background:#f7f8fb}.ov-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ov-shell .ov-controls button{flex:none;width:auto;min-width:36px;margin:0;padding:7px 12px;border:1px solid #cbd3df;border-radius:6px;background:#fff;font:inherit;font-size:13px;color:#334155;cursor:pointer}.ov-controls output{min-width:44px;text-align:center;font-size:13px}.ov-help{padding:10px 18px;margin:0;font-size:12px;color:#64748b}.ov-viewport{height:68vh;min-height:360px;overflow:auto;background:#fbfcfe;overscroll-behavior:contain}.ov-space{position:relative;margin:0 auto}.ov-canvas{position:relative;transform-origin:top left}.ov-canvas svg{position:absolute;inset:0;pointer-events:none}.ov-canvas path{stroke:#64748b;stroke-width:1.5;fill:none}.ov-card{position:absolute;width:170px;height:172px;border:1px solid #94a3b8;border-radius:4px;background:#fff;box-sizing:border-box;overflow:hidden;box-shadow:0 2px 5px #00000008}.ov-card h3{font-size:13px!important;line-height:20px;margin:0!important;padding:5px 8px;text-align:center;background:#e5e7eb;border-bottom:1px solid #cbd5e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ov-root h3{background:#e9e0fa}.ov-card>div{font-size:12px;text-align:center;line-height:24px;border-bottom:1px solid #e2e8f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ov-card dl{margin:0;display:grid;grid-template-columns:50px 1fr;font-size:11px;line-height:24px;padding:3px 7px}.ov-card dt{color:#64748b;font-weight:400}.ov-card dd{margin:0;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ov-card footer{font-size:11px;line-height:20px;text-align:center;border-top:1px solid #e2e8f0;color:#64748b}.ov-full{position:fixed;inset:12px;z-index:10000;box-shadow:0 0 0 30px #ffffffed;display:flex;flex-direction:column}.ov-full .ov-viewport{flex:1;min-height:0;height:auto}@media(max-width:640px){.ov-toolbar{padding:10px}.ov-controls{gap:5px}.ov-shell .ov-controls button{padding:7px 9px}.ov-full{inset:4px}.ov-viewport{height:65vh}}

.ov-card footer{position:static;display:block;box-sizing:border-box;height:21px;min-height:0;padding:0;margin:0;background:#fff;font-weight:400;border-radius:0;line-height:20px;box-shadow:none}

.ov-viewport{background:#fff}.ov-card{width:150px;height:156px;border:1px solid #222;border-radius:0;box-shadow:none}.ov-card h3,.ov-root h3{background:#d2d2ca;border-bottom:1px solid #222;padding:3px 6px;font-weight:500}.ov-card>div{border-bottom:1px solid #222;line-height:23px}.ov-card dl{padding:0 6px;line-height:22px}.ov-card footer{height:24px;line-height:23px;border-top:1px solid #222}.ov-card footer button{display:block;width:100%;height:23px;padding:0;margin:0;border:0;background:#fff;color:#155e75;font-size:11px;cursor:pointer}.ov-canvas path{stroke:#334155;stroke-width:1}

.ov-card{height:156px;font-family:Arial,sans-serif}.ov-card h3{height:26px;box-sizing:border-box;line-height:25px;padding:0 4px;font-size:11px!important}.ov-card>div{height:26px;box-sizing:border-box;line-height:25px;font-size:11px}.ov-card dl{display:block;padding:0;margin:0}.ov-card dt{display:none}.ov-card dd{height:26px;box-sizing:border-box;line-height:25px;text-align:center;border-bottom:1px solid #222;padding:0 4px;font-size:11px}.ov-card footer{height:24px;border-top:0;line-height:23px;font-size:10px}

.ov-card h3{font-size:calc(11px * var(--ov-text-scale,1))!important}.ov-card>div,.ov-card dd{font-size:calc(11px * var(--ov-text-scale,1))}.ov-card footer{font-size:calc(10px * var(--ov-text-scale,1))}.ov-card h3,.ov-card>div,.ov-card dd,.ov-card footer{color:#111}.ov-canvas path{stroke:#222}
/* Keep generation badges inside the card and align connectors to the full height. */
.ov-card{width:170px;height:180px}
.ov-card footer{height:42px;min-height:42px;display:flex;align-items:center;justify-content:center;gap:4px;padding:4px 2px;line-height:20px;white-space:nowrap}
.ov-card footer .referral-level{margin:0;flex-shrink:0;font-size:11px;line-height:18px;padding:2px 6px}
