:root{font-family:'Segoe UI',system-ui,sans-serif;color:var(--style-ink);background:var(--style-paper);--ink:var(--style-ink);--muted:var(--style-muted);--green:var(--style-primary);--green-dark:var(--style-primary-dark);--sage:var(--style-soft);--gold:var(--style-amber);--line:var(--style-soft);--surface:var(--style-surface);--shadow:0 8px 28px color-mix(in srgb,var(--style-shadow) 6%,transparent)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--style-amber);outline-offset:3px}a{color:var(--green)}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:650;line-height:1.22}h2{font-size:18px;font-weight:650;letter-spacing:-.3px}h3{font-size:15px;font-weight:650}p{line-height:1.6}small,.small{font-size:12px}.muted{color:var(--muted)}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0}.avatar.small-avatar{width:29px;height:29px}.avatar.large-avatar{width:68px;height:68px}.avatar.tiny-avatar{width:24px;height:24px}
.app-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--style-surface);border-right:1px solid var(--line);padding:32px 18px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:25}.brand{display:flex;align-items:center;gap:11px;margin:0 12px 35px;text-decoration:none;color:var(--ink)}.brand img{width:36px;height:36px}.brand-name{font-size:20px;font-weight:680;letter-spacing:-.7px}.brand-sub{font-size:10px;color:var(--muted);letter-spacing:1.2px;text-transform:uppercase;margin-top:3px}.nav-label{color:var(--style-muted);font-size:10px;font-weight:650;letter-spacing:1.6px;margin:9px 14px 11px;text-transform:uppercase}.nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:11px;border:0;background:transparent;text-align:left;padding:12px 14px;border-radius:9px;color:var(--style-muted);font-size:13px;font-weight:500;position:relative}.nav-item:hover{background:var(--style-paper);color:var(--green)}.nav-item.active{color:var(--green);background:var(--style-soft);font-weight:650}.nav-item.active:before{content:'';position:absolute;left:-18px;width:3px;height:22px;background:var(--style-primary-soft-text);border-radius:0 3px 3px 0}.nav-item .icon{width:18px;height:18px}.nav-count{margin-left:auto;border-radius:20px;font-size:10px;min-width:19px;text-align:center;background:var(--style-soft);padding:2px 4px}.sidebar-bottom{margin-top:auto;padding-top:36px}.demo-note{margin:0 9px 20px;border-top:1px solid var(--line);padding-top:20px}.demo-note-title{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650}.demo-note p{font-size:11px;color:var(--muted);margin-top:8px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--style-muted);display:inline-block;flex-shrink:0}.sidebar-bottom .nav-item{width:100%;font-size:12px;padding-top:9px;padding-bottom:9px}.main{min-width:0}.topbar{height:88px;padding:0 34px;background:color-mix(in srgb,var(--style-surface) 71%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px}.context-switch{display:flex;align-items:center;gap:17px;min-width:0}.context-switch .context-icon{display:grid;place-items:center;background:var(--style-soft);width:35px;height:35px;border-radius:10px;color:var(--style-primary-soft-text)}.context-label{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:var(--style-muted);margin-bottom:4px}.context-select{background:transparent;border:0;padding:0 18px 0 0;color:var(--ink);font-weight:600;font-size:13px;max-width:245px}.context-switch>.icon{width:13px;color:var(--style-muted)}.profile-switch{display:flex;gap:10px;align-items:center;flex-shrink:0}.profile-switch .context-select{max-width:174px;font-size:12px}.profile-switch .context-label{font-size:9px}.mobile-menu{display:none}.content{padding:29px 34px 40px;max-width:1760px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;text-transform:uppercase;color:var(--style-muted);margin-bottom:8px}.page-heading p{font-size:13px;color:var(--muted);margin-top:9px}.heading-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;border:1px solid var(--style-line);background:var(--style-surface);border-radius:8px;padding:10px 15px;font-size:12px;font-weight:600;min-height:39px;text-decoration:none;line-height:1.3;transition:background .15s,border-color .15s}.btn:hover{background:var(--style-surface);border-color:var(--style-muted)}.btn.primary{background:var(--green);color:var(--style-surface);border-color:var(--green)}.btn.primary:hover{background:var(--style-primary-dark)}.btn.soft{background:var(--style-soft);color:var(--style-primary-soft-text);border-color:var(--style-soft)}.btn.quiet{background:transparent;border-color:transparent;padding:7px 9px;color:var(--muted)}.btn.danger{color:var(--style-danger)}.btn.small-btn{font-size:11px;min-height:31px;padding:6px 10px}.btn .icon{width:16px;height:16px}.icon-button{width:34px;height:34px;border:1px solid var(--line);background:var(--style-surface);border-radius:7px;display:inline-grid;place-items:center;padding:0}.icon-button:hover{background:var(--sage)}.icon-button .icon{width:16px;height:16px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:600;line-height:1.25;white-space:nowrap;background:var(--style-surface);color:var(--style-muted)}.badge.green{background:var(--style-soft);color:var(--style-primary-soft-text)}.badge.gold{background:var(--style-amber-soft);color:var(--style-amber)}.badge.red{background:var(--style-surface);color:var(--style-danger)}.badge.outline{border:1px solid var(--line);background:var(--style-surface);color:var(--style-muted)}.stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:23px;border:1px solid var(--line);border-radius:12px;background:var(--style-surface);padding:17px 0}.stat{padding:0 25px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat-top{font-size:11px;color:var(--muted);display:flex;gap:7px;align-items:center;margin-bottom:7px}.stat-top .icon{width:14px;height:14px}.stat-value{font-size:26px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stat-value span{font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:8px}.stat-note{font-size:10px;color:var(--style-muted);margin-top:3px}.network-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:19px;align-items:start}.card{background:var(--style-surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}.card-pad{padding:22px}.card-header{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.card-header h2{font-size:14px}.card-header p{font-size:11px;color:var(--muted);margin-top:4px}.graph-toolbar{padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--style-soft);flex-wrap:wrap}.segments{display:inline-flex;background:var(--style-surface);border-radius:7px;padding:3px;gap:2px}.segment{border:0;background:transparent;border-radius:5px;padding:7px 12px;font-size:11px;color:var(--style-muted);font-weight:500}.segment.active{background:var(--style-surface);color:var(--green);box-shadow:0 1px 4px color-mix(in srgb,var(--style-shadow) 5%,transparent)}.toolbar-actions{display:flex;gap:6px;align-items:center}.check-inline{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);padding-right:5px}.check-inline input{accent-color:var(--green)}.graph-wrap{position:relative;background:radial-gradient(color-mix(in srgb,var(--style-muted) 12%,transparent) .8px,transparent .8px);background-size:18px 18px;min-height:430px}.graph-canvas{width:100%;aspect-ratio:1000/660;min-height:430px;display:flex;align-items:center;justify-content:center;overflow:hidden}.network-svg{width:100%;height:auto;max-height:670px;touch-action:none;user-select:none}.graph-edge{stroke:var(--style-edge);stroke-width:1.3;opacity:.83}.graph-edge.on-route{stroke:var(--style-amber);stroke-width:3;opacity:1}.graph-edge.faint{opacity:.19}.graph-node{cursor:pointer;outline:0}.node-ring{fill:var(--style-surface);stroke:var(--style-line);stroke-width:2}.node-halo{fill:transparent}.level-1 .node-ring{stroke:var(--style-primary-soft-text);stroke-width:3.5}.level-2 .node-ring{stroke:var(--style-amber);stroke-width:3.5}.level-1 .level-dot{fill:var(--style-primary)}.level-2 .level-dot{fill:var(--style-amber)}.level-number{fill:var(--style-surface);font-size:12px;font-weight:600}.node-name{font-size:14px;fill:var(--style-primary-soft-text);paint-order:stroke;stroke:var(--style-surface);stroke-width:4px;stroke-linejoin:round}.graph-node.selected .node-halo,.graph-node:focus-visible .node-halo{fill:var(--style-line);stroke:var(--style-amber);stroke-width:1;stroke-dasharray:3 4}.graph-node.route-node:not(.selected) .node-halo{fill:var(--style-soft)}.graph-node.dim-node{opacity:.28}.graph-node:hover .node-ring{stroke:var(--style-muted);stroke-width:4}.graph-corner{position:absolute;left:17px;bottom:14px;font-size:10px;color:var(--style-muted);pointer-events:none}.graph-legend{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding:14px 20px;font-size:10px;color:var(--muted)}.legend-items{display:flex;gap:17px;flex-wrap:wrap}.legend-item{display:flex;gap:6px;align-items:center}.legend-dot{width:8px;height:8px;border:2px solid var(--style-line);border-radius:50%}.legend-dot.one{border-color:var(--style-primary-soft-text);background:var(--style-soft)}.legend-dot.two{border-color:var(--style-amber);background:var(--style-amber-soft)}.legend-line{height:2px;width:17px;background:var(--style-edge)}.side-stack{display:grid;gap:17px}.detail-top{text-align:center;padding:23px 18px 17px}.detail-top .avatar{margin-bottom:10px}.detail-top h2{font-size:17px;margin-bottom:5px}.detail-top p{font-size:11px;color:var(--muted);margin-bottom:10px}.detail-divider{height:1px;background:var(--line);margin:0 19px}.detail-section{padding:18px 20px}.detail-section h3{font-size:12px;margin-bottom:5px}.detail-section>.muted{font-size:11px;line-height:1.5}.route-list{margin-top:16px;display:grid;gap:0}.route-row{position:relative;display:flex;align-items:center;gap:9px;font-size:11px;min-height:37px;z-index:1}.route-row:not(:last-child):after{content:'';position:absolute;top:29px;bottom:-9px;left:14px;width:1px;background:var(--style-line);z-index:-1}.route-meta{font-size:9px;color:var(--style-amber);padding:0 0 2px 40px;min-height:17px}.route-row strong{font-size:11px;font-weight:600}.route-row .badge{margin-left:auto;font-size:8px}.route-summary{margin-top:14px;border-radius:7px;background:var(--style-surface);padding:10px 12px;font-size:10px;color:var(--style-muted);display:flex;justify-content:space-between;gap:8px}.mini-counts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.mini-count{font-size:10px;color:var(--muted)}.mini-count strong{display:block;font-size:18px;font-weight:600;color:var(--ink);margin-bottom:3px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px}.section-heading h2{font-size:15px}.section-heading p{font-size:11px;color:var(--muted);margin-top:5px}.team-mini{display:flex;gap:5px;align-items:center;margin:12px 0 8px}.team-mini .avatar{width:29px;height:29px;outline:2px solid var(--style-surface);margin-right:-10px}.team-mini .count{font-size:11px;color:var(--muted);margin-left:16px}.team-info{font-size:11px;color:var(--muted);line-height:1.7}.card-foot{padding:13px 20px;border-top:1px solid var(--line);font-size:11px;display:flex;align-items:center;justify-content:space-between}.text-button{border:0;background:none;padding:0;color:var(--green);font-size:11px;display:inline-flex;align-items:center;gap:5px;font-weight:600}.text-button .icon{width:14px;height:14px}.notice{display:flex;gap:10px;align-items:flex-start;background:var(--style-amber-soft);border:1px solid var(--style-line);border-radius:8px;padding:12px 15px;font-size:12px;color:var(--style-amber);margin-bottom:17px;line-height:1.5}.notice .icon{width:17px;height:17px;flex-shrink:0;margin-top:1px}.notice.error{background:var(--style-surface);border-color:var(--style-line);color:var(--style-danger)}.notice.info{background:var(--style-soft);border-color:var(--style-line);color:var(--style-primary-soft-text)}.notice p{font-size:12px}.notice .btn{margin-left:auto;flex-shrink:0}.footer-note{font-size:10px;color:var(--style-muted);margin-top:17px;display:flex;gap:6px;align-items:flex-start}.footer-note .icon{width:13px;height:13px;flex-shrink:0}.form-grid{display:grid;gap:17px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:7px;font-size:12px;font-weight:550}.field input,.field select,.field textarea,.search-field input{min-width:0;width:100%;padding:11px 12px;border:1px solid var(--style-line);background:var(--style-surface);border-radius:7px;color:var(--ink);font-size:13px;font-weight:400;line-height:1.4}.field textarea{resize:vertical;min-height:85px}.field small{font-size:10px;color:var(--muted);font-weight:400;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--style-muted)}.form-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:7px}.checkbox-line{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5}.checkbox-line input{accent-color:var(--green);width:16px;height:16px;margin-top:1px;flex-shrink:0}.checkbox-line small{display:block;color:var(--muted);font-size:11px}.form-error{color:var(--style-danger);background:var(--style-surface);border-radius:6px;padding:10px 12px;font-size:12px;line-height:1.5}.form-error:empty{display:none}.two-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:22px;align-items:start}.three-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.stack{display:grid;gap:20px}.panel-intro{font-size:12px;color:var(--muted);margin:9px 0 22px;line-height:1.65}.group-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.group-chip{border:1px solid var(--line);background:var(--style-surface);padding:9px 14px;border-radius:7px;font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center}.group-chip.active{border-color:var(--style-muted);color:var(--green);background:var(--style-surface)}.group-chip span{font-size:10px;opacity:.7}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:10px;color:var(--style-muted);text-transform:uppercase;letter-spacing:.8px;font-weight:550;padding:12px 20px;background:var(--style-surface);border-bottom:1px solid var(--line);white-space:nowrap}td{padding:12px 20px;border-bottom:1px solid var(--style-soft);vertical-align:middle}tbody tr:last-child td{border-bottom:0}.person-cell{display:flex;align-items:center;gap:11px;min-width:170px}.person-cell strong{font-size:12px;font-weight:600;display:block}.person-cell small{color:var(--muted);font-size:10px;display:block;margin-top:4px}.search-field{position:relative;min-width:170px}.search-field input{padding-left:34px;min-height:35px;padding-top:8px;padding-bottom:8px;font-size:11px}.search-field .icon{position:absolute;left:11px;top:11px;width:14px;height:14px;color:var(--muted)}.row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.empty{padding:37px 25px;text-align:center;color:var(--muted)}.empty .icon{width:28px;height:28px;margin-bottom:12px;color:var(--style-muted)}.empty h3{font-size:14px;color:var(--style-muted);margin-bottom:6px}.empty p{font-size:12px;max-width:430px;margin:auto}.empty .btn{margin-top:17px}.empty-map{padding:60px 25px;text-align:center;color:var(--muted);font-size:13px}.theme-tile{padding:18px;border:1px solid var(--line);border-radius:10px;display:flex;align-items:flex-start;gap:13px;background:var(--style-surface)}.theme-tile.active{border-color:var(--style-muted);background:var(--style-canvas)}.theme-symbol{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:var(--style-soft);color:var(--style-muted);flex-shrink:0}.theme-tile h3{font-size:13px;margin:2px 0 6px}.theme-tile p{font-size:11px;color:var(--muted);margin-bottom:10px}.theme-tile .text-button{margin-left:auto;white-space:nowrap}.tabs-row{display:flex;gap:23px;border-bottom:1px solid var(--line);margin-bottom:23px;overflow:auto}.page-tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:0 1px 13px;color:var(--muted);font-size:12px;white-space:nowrap}.page-tab.active{border-bottom-color:var(--green);color:var(--green);font-weight:600}.page-tab span{font-size:10px;display:inline-block;margin-left:5px;background:var(--style-soft);padding:2px 6px;border-radius:10px}.request-card{background:var(--style-surface);border:1px solid var(--line);border-radius:11px;padding:20px;display:flex;align-items:center;gap:15px;margin-bottom:12px}.request-body{flex:1;min-width:0}.request-body h3{font-size:13px;margin-bottom:5px}.request-body p{font-size:11px;color:var(--muted)}.request-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.request-actions select{max-width:130px;border:1px solid var(--line);border-radius:6px;font-size:11px;padding:6px 8px;color:var(--ink);background:var(--style-surface)}.settings-section{padding:23px;border-bottom:1px solid var(--line)}.settings-section:last-child{border-bottom:0}.settings-section h3{font-size:13px;margin-bottom:15px}.setting-line{display:flex;gap:20px;align-items:center;justify-content:space-between}.setting-copy{max-width:480px}.setting-copy strong{font-size:12px;display:block;margin-bottom:4px}.setting-copy p{font-size:11px;color:var(--muted)}.switch{appearance:none;position:relative;min-width:38px;width:38px;height:22px;background:var(--style-line);border:0;border-radius:20px;cursor:pointer;flex-shrink:0;transition:background .15s}.switch:before{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:var(--style-surface);box-shadow:0 1px 2px color-mix(in srgb,var(--style-shadow) 7%,transparent);transition:transform .15s}.switch:checked{background:var(--style-primary-soft-text)}.switch:checked:before{transform:translateX(16px)}.lab-visual{background:var(--style-soft);border:1px solid var(--style-line);border-radius:12px;padding:31px;color:var(--style-primary-soft-text);position:relative;overflow:hidden}.lab-visual .lab-large{width:53px;height:53px;margin-bottom:24px;stroke-width:1}.lab-visual h2{font-size:23px;line-height:1.3;margin-bottom:12px;max-width:300px}.lab-visual p{font-size:12px;color:var(--style-muted)}.lab-preview-stats{display:flex;gap:35px;margin-top:30px;padding-top:22px;border-top:1px solid var(--style-line)}.lab-preview-stats strong{display:block;font-size:30px;font-weight:550;letter-spacing:-1px}.lab-preview-stats span{font-size:10px;color:var(--style-muted)}.list-line{padding:13px 0;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center;font-size:12px}.list-line:last-child{border-bottom:0}.list-line .badge{margin-left:auto}.steps-note{counter-reset:step;display:grid;gap:19px;margin-top:20px}.step-note{position:relative;padding-left:32px;font-size:11px;color:var(--muted);line-height:1.55}.step-note:before{counter-increment:step;content:counter(step);position:absolute;left:0;top:0;width:20px;height:20px;display:grid;place-items:center;background:var(--style-soft);border-radius:50%;color:var(--style-muted);font-size:10px}.step-note strong{display:block;font-size:12px;color:var(--ink);margin-bottom:3px}.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.team-member{display:flex;gap:10px;align-items:center;padding:12px;background:var(--style-surface);border-radius:8px}.team-member p{font-size:11px}.team-member strong{font-weight:600;display:block;font-size:12px}.team-member small{display:block;margin:3px 0 6px;font-size:10px;color:var(--muted)}.team-member .btn{margin-left:auto}.history-row{padding:18px 21px;border-bottom:1px solid var(--line);display:flex;gap:20px;align-items:center;justify-content:space-between}.history-row:last-child{border:0}.history-row h3{font-size:12px;margin-bottom:6px}.history-row p{font-size:11px;color:var(--muted)}.history-metrics{display:flex;gap:18px;font-size:11px;color:var(--muted);text-align:center}.history-metrics strong{display:block;color:var(--ink);font-size:16px;margin-bottom:3px}.me-header{display:flex;align-items:center;gap:17px;margin-bottom:22px}.me-header h2{font-size:22px}.me-header p{font-size:12px;color:var(--muted);margin-top:5px}.modal-members{max-height:250px;overflow:auto;border:1px solid var(--line);border-radius:7px;padding:10px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.modal-members .checkbox-line{font-size:11px}.busy{display:inline-block;width:15px;height:15px;border:2px solid var(--style-line);border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
dialog{padding:0;border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 80px color-mix(in srgb,var(--style-shadow) 17%,transparent);max-width:560px;width:calc(100% - 32px);max-height:90vh;color:var(--ink)}dialog::backdrop{background:color-mix(in srgb,var(--style-shadow) 34%,transparent);backdrop-filter:blur(3px)}.dialog-header{padding:24px 25px 17px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:19px}.dialog-body{padding:23px 25px 25px}.dialog-intro{font-size:12px;color:var(--muted);margin-bottom:20px}.dialog-footer{display:flex;justify-content:flex-end;gap:9px;padding-top:8px}#announcements{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;pointer-events:none;max-width:min(600px,90vw)}.toast{padding:14px 20px;background:var(--style-primary);color:var(--style-surface);font-size:12px;border-radius:10px;box-shadow:0 8px 35px color-mix(in srgb,var(--style-shadow) 14%,transparent);line-height:1.5}.toast.error{background:var(--style-danger)}.hidden{display:none!important}.nowrap{white-space:nowrap}.spacer-top{margin-top:20px}.full-width{width:100%}.grow{flex:1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.icon-button.mobile-menu{display:none}.mobile-person-picker{display:none}
.graph-arrangement{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:13px 16px;border-bottom:1px solid var(--style-soft);background:var(--style-canvas)}.graph-arrangement label{font-size:11px;font-weight:600;color:var(--green)}.graph-arrangement select{min-height:38px;max-width:100%;font-size:12px;padding:7px 28px 7px 10px;border:1px solid var(--line);border-radius:7px;background:var(--style-surface);color:var(--ink)}.graph-arrangement p{flex-basis:100%;font-size:11px;line-height:1.6;color:var(--muted);margin:0}.ring-guide{fill:none;stroke:var(--style-line);stroke-width:1.4;stroke-dasharray:5 5;pointer-events:none}.ring-guide.ring-first{stroke:var(--style-muted);stroke-dasharray:none}.ring-guide.ring-second{stroke:var(--style-amber);stroke-dasharray:none}.ring-guide.ring-unreachable{stroke:var(--style-danger);stroke-dasharray:2 6}.ring-label{font-size:13px;font-weight:600;fill:var(--style-muted);paint-order:stroke;stroke:var(--style-canvas);stroke-width:7px;stroke-linejoin:round;pointer-events:none}.ring-label.ring-first{fill:var(--style-primary-soft-text)}.ring-label.ring-second{fill:var(--style-amber)}.ring-label.ring-unreachable{fill:var(--style-amber)}.graph-canvas{touch-action:none;overscroll-behavior:contain}
@media(min-width:1600px){.network-layout{grid-template-columns:minmax(0,1fr) 322px}.graph-canvas{min-height:510px}}
@media(max-width:1250px){.app-shell{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding-left:14px;padding-right:14px}.brand{margin-left:5px}.brand-name{font-size:18px}.content{padding:25px 24px}.topbar{padding:0 24px}.network-layout{grid-template-columns:minmax(0,1fr) 260px;gap:14px}.stat{padding:0 18px}.graph-canvas,.graph-wrap{min-height:365px}.context-switch{gap:10px}.context-select{max-width:195px}.two-columns{grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr)}}
@media(max-width:1050px){.app-shell{grid-template-columns:180px minmax(0,1fr)}.brand img{width:29px}.brand-name{font-size:16px}.nav-item{font-size:11px;padding:11px 10px;gap:8px}.content{padding:23px 20px}.topbar{padding:0 20px;height:82px}.context-switch>.icon,.context-icon{display:none!important}.context-select{max-width:170px;font-size:11px}.profile-switch .context-select{max-width:140px}.profile-switch .avatar{width:32px;height:32px}h1{font-size:26px}.network-layout{grid-template-columns:1fr}.side-stack{grid-template-columns:1.25fr 1fr;align-items:start}.detail-top{display:flex;text-align:left;align-items:center;gap:12px;padding:17px}.detail-top .avatar{width:48px;height:48px;margin:0}.detail-top p{margin-bottom:0}.detail-top h2{font-size:14px}.detail-top .detail-tags{margin-left:auto}.side-stack>.card:first-child .route-list{display:flex;flex-wrap:wrap;gap:8px}.side-stack>.card:first-child .route-meta{display:none}.side-stack>.card:first-child .route-row:not(:last-child):after{display:none}.side-stack>.card:first-child .route-row{padding:5px 7px;background:var(--style-surface);border-radius:7px}.two-columns{grid-template-columns:1fr}.three-columns{grid-template-columns:1fr 1fr}.heading-actions{gap:6px}.heading-actions .btn{padding:9px 11px}.stat-value{font-size:23px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;width:230px;transform:translateX(-100%);transition:transform .18s;box-shadow:5px 0 40px color-mix(in srgb,var(--style-shadow) 13%,transparent)}.sidebar.open{transform:translateX(0)}.menu-shade{position:fixed;inset:0;background:color-mix(in srgb,var(--style-shadow) 27%,transparent);z-index:24}.mobile-menu{display:inline-grid;flex-shrink:0}.topbar{height:auto;min-height:74px;padding:13px 17px;gap:13px;flex-wrap:wrap}.context-switch{flex:1;gap:10px}.context-label{font-size:8px;letter-spacing:1px}.context-select{max-width:165px;font-size:11px}.context-switch .topic-context{display:none}.profile-switch .avatar{width:29px;height:29px}.profile-switch .context-select{max-width:140px}.profile-switch .context-label{font-size:8px}.content{padding:23px 17px}.page-heading{align-items:flex-start;flex-direction:column;gap:16px}.page-heading p{font-size:12px;line-height:1.65}.heading-actions{width:100%}.stats-row{grid-template-columns:1fr 1fr;padding:0;margin-bottom:17px}.stat{padding:15px 18px;border-bottom:1px solid var(--line)}.stat:nth-child(2){border-right:0}.stat:nth-child(3){border-bottom:0}.stat:nth-child(4){border:0}.stat-value{font-size:25px}.stat-note{font-size:10px}.side-stack{grid-template-columns:1fr}.graph-canvas,.graph-wrap{min-height:320px}.graph-canvas{aspect-ratio:1.25}.network-svg{height:100%;min-height:320px;max-height:500px}.node-name{font-size:18px}.dense .node-name{display:none}.graph-toolbar{padding:10px;gap:8px}.segment{padding:7px 10px;font-size:10px}.check-inline{display:none}.graph-legend{padding:13px;font-size:9px}.legend-items{gap:10px}.graph-corner{font-size:9px;bottom:10px;left:13px}.three-columns{grid-template-columns:1fr}.form-row{grid-template-columns:1fr 1fr;gap:11px}.card-header{padding:17px;flex-wrap:wrap}.card-pad,.settings-section{padding:19px}.request-card{flex-wrap:wrap;padding:16px;gap:11px}.request-actions{width:100%;justify-content:flex-start;padding-left:51px}.request-actions select{max-width:140px}.history-row{flex-direction:column;align-items:flex-start;gap:13px}.history-metrics{width:100%;justify-content:space-between}.team-grid{grid-template-columns:1fr}.notice{flex-wrap:wrap}.notice .btn{margin-left:26px}.footer-note{line-height:1.5}.field input,.field select,.field textarea{font-size:16px}.search-field input{font-size:14px}.form-actions .btn{flex:1}.modal-members{grid-template-columns:1fr}.btn{min-height:40px}.icon-button{height:34px;width:34px}th,td{padding:11px 14px}.lab-preview-stats{gap:25px}.dialog-header{padding:20px}.dialog-body{padding:20px}}
@media(max-width:390px){.profile-switch .context-label{display:none}.profile-switch .context-select{max-width:106px}.context-select{max-width:125px}.topbar{gap:8px;padding:12px}.profile-switch{gap:6px}.content{padding:21px 13px}.form-row{grid-template-columns:1fr}.graph-toolbar{justify-content:center}.heading-actions .btn{font-size:11px}.stat{padding:14px}.detail-tags{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:760px){.icon-button.mobile-menu{display:inline-grid}.topbar{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px}.context-switch>div{min-width:0}.context-select{max-width:100%;width:100%}.profile-switch .context-select{max-width:110px}.network-svg .node-name{display:none}.mobile-person-picker{display:block;width:100%;padding:0 12px 12px}.mobile-person-picker select{width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:var(--style-surface);font-size:14px;color:var(--ink)}}
@media(max-width:760px){.network-svg:not([data-arrangement="free"]) .ring-label{font-size:18px}.graph-arrangement select{font-size:16px}.graph-arrangement{padding:12px}}
.dynamic-controls{display:flex;flex-wrap:wrap;gap:7px;width:100%;align-items:center;padding-top:5px}.dynamic-controls>span{flex-basis:100%;color:var(--muted);font-size:11px;margin-bottom:2px}.dynamic-controls .btn{white-space:normal}.node-pin{display:none;pointer-events:none}.is-fixed .node-pin{display:block}.node-pin circle{fill:var(--style-primary);stroke:var(--style-surface);stroke-width:1.5}.node-pin path{fill:none;stroke:var(--style-surface);stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.network-svg[data-arrangement="dynamic"] .node-name{pointer-events:none}
.role-boundary{fill:var(--style-soft);fill-opacity:.5;stroke:var(--style-line);stroke-width:1;stroke-dasharray:3 7;pointer-events:none}.network-svg[data-arrangement^="roles-"] .node-name{pointer-events:none}
.role-size-control{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;width:100%}.role-size-heading{display:flex;align-items:center;gap:12px}.role-size-heading output{font-size:12px;font-weight:600;color:var(--green);min-width:44px;text-align:right;font-variant-numeric:tabular-nums}.role-range-line{display:flex;align-items:center;gap:9px;flex:1;min-width:180px;color:var(--muted);font-size:10px}.role-range-line input[type="range"]{flex:1;min-width:0;width:100%;height:32px;accent-color:var(--green);cursor:ew-resize;touch-action:pan-y}.role-range-line span{white-space:nowrap}

/* El anillo de roles ya dibuja el límite interior, sin duplicar su trazo. */
.role-boundary.boundary-inside{fill:none;stroke:none}

/* Names are painted after every avatar and never intercept node gestures. */
.graph-labels{pointer-events:none}.graph-label.dim-node{opacity:.28}

/* Indicadores del nodo en fichas y propuestas, con espacio para móvil. */
.node-metrics-details{padding:18px 20px;border-bottom:1px solid var(--line)}
.node-metrics h3{font-size:13px;margin-bottom:12px}.node-metrics h4{font-size:11px;margin:12px 0 8px;color:var(--muted)}
.node-metric-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 10px}
.node-metric-values dt{font-size:10px;color:var(--muted);line-height:1.4}.node-metric-values dd{margin:5px 0 0;font-size:17px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.node-metric-values dd span{display:block;font-size:10px;font-weight:400;color:var(--muted)}.node-metric-values dd small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}
.node-metrics-compact{margin-top:12px}.node-metrics-compact .node-metric-values{gap:9px;margin-bottom:0}.node-metrics-compact dd{font-size:13px}.node-metrics-compact dt{font-size:9px}
.team-member:has(.node-metrics){align-items:flex-start}.team-member:has(.node-metrics)>.grow{min-width:0}.team-member:has(.node-metrics)>.btn{flex-shrink:0}
@media(max-width:560px){.team-member:has(.node-metrics){flex-wrap:wrap}.team-member:has(.node-metrics)>.grow{flex:1;min-width:190px}.team-member:has(.node-metrics)>.btn{margin-left:auto}.node-metric-values{gap:9px}.node-metric-values dd{font-size:15px}}

/* Árbol personal: filas de reposo y círculo de cambio de referencia. */
.personal-tree-level{stroke:var(--style-line);stroke-width:1;stroke-dasharray:6 9;vector-effect:non-scaling-stroke}
.personal-tree-target{fill:color-mix(in srgb,var(--style-primary) 9%,var(--style-canvas));stroke:color-mix(in srgb,var(--style-primary) 38%,var(--style-line));stroke-width:1.5;vector-effect:non-scaling-stroke}
.personal-tree-caption,.personal-tree-aside{font-size:16px;fill:var(--style-muted);paint-order:stroke;stroke:var(--style-canvas);stroke-width:4px;stroke-linejoin:round}
.graph-node[data-tree-anchor="true"] .node-ring{stroke:var(--style-primary);stroke-width:4}
.personal-tree-notice{flex-wrap:wrap;align-items:center;gap:5px 12px;background:var(--style-surface);color:var(--style-muted)}
.personal-tree-notice strong{color:var(--style-primary)}
.personal-tree-notice .btn{margin:0}


/* Catálogo de reuniones compartido con organización. */
.meeting-catalog-section{margin:1.25rem 0}.meeting-catalog-section h3{margin:.6rem 0;color:var(--style-muted);font-size:1rem}.meeting-library-section+.meeting-library-section{border-top:1px solid var(--style-line);margin-top:1rem;padding-top:1rem}

.meeting-library-row,.meeting-trash-row{display:flex;align-items:center;gap:12px}.meeting-library-row .meeting-copy{flex:1;min-width:0}.meeting-trash-row{padding:12px 0;border-bottom:1px solid var(--border,#ddd)}.meeting-trash-row span{flex:1;min-width:0}.meeting-trash-row small{display:block}.btn.danger{color:#aa3038;border-color:#aa3038}

.centrality-spiral-guide{fill:none;stroke:var(--style-line);stroke-width:1;stroke-dasharray:3 7;vector-effect:non-scaling-stroke}
.node-order{pointer-events:none}.node-order rect{fill:var(--style-surface);stroke:var(--style-line);stroke-width:1}.node-order text{font-size:17px;font-weight:600;fill:var(--style-ink);font-variant-numeric:tabular-nums}
.network-svg[data-arrangement^="spiral-"] .node-name{font-size:14px}.network-svg[data-arrangement^="spiral-"] .graph-node .node-order{display:block}
