/* Apple Design x UI/UX Pro Max: matte surfaces, readable type, direct controls. */
:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei UI",sans-serif;font-size:16px;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--rail-width:5rem;--radius:1rem}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none;padding:0;text-align:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}h1,h2,h3,p{margin:0}h2,h3{font-weight:650}svg{width:1.25rem;height:1.25rem;display:block;flex:none}button>span[data-icon]{display:inline-flex;flex:none}input,select,textarea{background:var(--surface);border:1px solid var(--line);border-radius:.5rem;min-width:0;padding:.625rem .75rem;min-height:2.75rem;outline:none}select{padding-right:1.25rem}textarea{line-height:1.6}input:focus,select:focus,textarea:focus{outline:2px solid var(--focus-ring);outline-offset:2px}button:focus-visible,a:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px;border-radius:.375rem}button{transition:background-color .15s,color .15s,opacity .12s,transform .12s}button:active:not(:disabled){transform:scale(.98);opacity:.8}.hidden,[hidden]{display:none!important}.skip-link{position:fixed;top:-5rem;left:7rem;z-index:100;background:var(--surface);color:var(--ink);padding:1rem;border:2px solid var(--focus-ring);border-radius:.5rem}.skip-link:focus{top:1rem}
.sidebar{position:fixed;inset:.875rem auto .875rem .875rem;width:var(--rail-width);display:flex;flex-direction:column;align-items:center;padding:1.125rem .5rem .875rem;border:1px solid transparent;border-radius:1.125rem;z-index:10}.brand{display:flex;flex-direction:column;align-items:center;gap:.375rem;margin-bottom:2rem}.brand-mark{display:grid;place-items:center;width:2.75rem;height:2.75rem;border-radius:50%;background:transparent!important}.brand-mark svg{width:2.5rem;height:2.5rem}.brand strong{font-size:1rem;font-weight:550;letter-spacing:.06em}.sidebar nav{width:100%;display:grid;gap:.75rem}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:4rem;border-radius:.75rem;gap:.25rem;font-size:.875rem;line-height:1.4}.nav-item svg{width:1.375rem;height:1.375rem}.nav-item.active{font-weight:650}.nav-count{display:none}.sidebar-bottom{width:100%;margin-top:auto;display:grid;gap:1.125rem}.local-user{display:flex;justify-content:center}.user-avatar{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:50%;font-size:1rem}.main-shell{margin-left:calc(var(--rail-width) + 1.75rem);padding:1.5rem 1.75rem 0 1rem;max-width:150rem}.topbar{display:flex;justify-content:space-between;gap:1rem;align-items:center;min-height:2.75rem;margin-bottom:1rem}.breadcrumbs{display:flex;align-items:center;gap:1rem;color:var(--muted);font-size:.875rem}.breadcrumbs strong{font-weight:450}.topbar-status{display:flex;align-items:center;gap:1rem}.save-status{font-size:.875rem;color:var(--muted)}.activity-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem}.activity-title{display:flex;gap:.875rem;align-items:center}.activity-title h1{font-size:2.25rem;line-height:1.25;letter-spacing:-.025em;font-weight:750;overflow-wrap:anywhere}.soft-tag{font-size:.875rem;color:var(--muted);white-space:nowrap;padding:.25rem .5rem;border:1px solid var(--line);border-radius:.375rem}.activity-meta{font-size:1rem;color:var(--muted);margin-top:.5rem}.activity-actions{display:flex;gap:.625rem;flex:none}.button{min-height:2.75rem;display:inline-flex;align-items:center;justify-content:center;gap:.625rem;padding:.625rem 1rem;border:1px solid var(--line);border-radius:.625rem;background:var(--surface);font-weight:550;font-size:.9375rem;white-space:nowrap}.button:hover{background:var(--hover)}.button svg{width:1.125rem;height:1.125rem;color:var(--muted)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;min-height:2.75rem;padding:.375rem .5rem;font-size:.875rem;color:var(--muted);border-radius:.5rem}.text-button:hover{color:var(--ink);background:var(--hover)}.icon-button{width:2.75rem;height:2.75rem;display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:.5rem;color:var(--muted)}.icon-button:hover{background:var(--hover);color:var(--ink)}
.overview{display:grid;grid-template-columns:minmax(27rem,.85fr) minmax(0,1.25fr);gap:.75rem;margin-bottom:1.25rem}.lineup-summary{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:.625rem;min-width:0}.summary-card{border-radius:var(--radius);padding:1rem;min-width:0;position:relative;background:var(--surface-subtle);display:flex;flex-direction:column;justify-content:center;min-height:10.5rem}.summary-label{display:flex;align-items:center;gap:.625rem;margin-bottom:.5rem}.summary-label h2{font-size:.9375rem;font-weight:600;white-space:nowrap}.summary-icon{width:2rem;height:2rem;display:inline-flex;justify-content:center;align-items:center;flex:none;border-radius:50%;background:color-mix(in srgb,var(--surface) 85%,transparent);font-size:1.25rem}.summary-icon svg{width:1rem;height:1rem}.summary-number{font-size:3.5rem;line-height:1.1;letter-spacing:-.045em;font-weight:750;font-variant-numeric:tabular-nums}.summary-number span{font-size:1rem;font-weight:450;letter-spacing:0;margin-left:.375rem;color:inherit;opacity:.75;white-space:nowrap}.summary-card p{font-size:.875rem;margin-top:.5rem;opacity:.8}.arranged{background:var(--summary-accent);color:var(--summary-accent-ink)}.arranged .summary-icon{background:color-mix(in srgb,var(--summary-accent-ink) 8%,transparent)}.arranged .summary-number{font-size:2.75rem}.team-progress{display:flex;gap:3px;margin-top:.5rem;max-width:10rem}.team-progress i{height:.625rem;flex:1;border:1px solid currentColor;border-radius:.375rem;opacity:.3}.team-progress i.full{background:currentColor;opacity:1}.unassigned{background:var(--inverse-bg);color:var(--inverse-ink)}.unassigned .summary-icon{background:color-mix(in srgb,var(--inverse-ink) 15%,transparent)}.profession-bar{background:var(--surface-subtle);border-radius:var(--radius);padding:1rem;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:.75rem}.profession-label{display:flex;align-items:center;gap:.625rem;flex-wrap:wrap}.profession-label h2{font-size:.9375rem}.profession-label>span:last-child{font-size:.875rem;color:var(--muted)}.profession-chips{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:.3125rem}.career-counter{border:1px solid transparent;background:var(--surface);border-radius:.5rem;min-height:3.75rem;padding:.5rem .1875rem;display:flex;flex-direction:column;gap:.25rem;align-items:center;justify-content:center}.career-counter strong{font-size:.875rem;font-weight:550;white-space:nowrap}.career-counter strong::before{content:"";display:inline-block;width:.375rem;height:.375rem;border-radius:50%;background:currentColor;vertical-align:middle;margin-right:.25rem}.career-counter>span{font-size:.875rem;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.career-counter:hover,.career-counter.selected{border-color:var(--focus-ring);background:var(--accent-bg)}.career-counter.full{border-color:var(--warning-line)}
.workspace{display:grid;grid-template-columns:14.5rem minmax(0,1fr) 16.5rem;gap:1rem;align-items:start}.panel{background:var(--surface);border:1px solid var(--line);border-radius:.875rem;overflow:hidden}.people-panel{margin-top:3.5rem}.panel-heading{padding:.625rem .875rem .25rem;display:flex;justify-content:space-between;align-items:center}.panel-heading h2{font-size:1.125rem;white-space:nowrap}.panel-heading h2 span{font-size:.875rem;font-weight:450;color:var(--muted);margin-left:.375rem}.people-controls{padding:.5rem .875rem}.search-field{display:flex;align-items:center;gap:.375rem;border:1px solid var(--line);border-radius:.5rem;background:var(--surface);padding-left:.625rem}.search-field svg{width:1rem;height:1rem;color:var(--muted)}.search-field input{width:100%;border:0;background:transparent;padding:.5rem;min-width:0}.search-field:focus-within{outline:2px solid var(--focus-ring);outline-offset:2px}.search-field input:focus{outline:0}.people-filters{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.625rem}.people-filters select{width:100%;font-size:.875rem;padding:.5rem .25rem}.list-caption{padding:.375rem .875rem .625rem;font-size:.875rem;color:var(--muted)}.people-list{height:36.75rem;overflow:auto;padding:0 .375rem .5rem;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.person-row{display:flex;align-items:center;gap:.5rem;min-height:4rem;padding:.375rem;border:1px solid transparent;border-bottom-color:var(--line-soft);border-radius:.5rem}.person-row:hover{background:var(--hover)}.person-row.selected{background:var(--selected);border-color:var(--accent-line)}.profession-square{font-size:.875rem;color:var(--career);flex:none;white-space:nowrap}.profession-square::before{content:"";width:.4375rem;height:.4375rem;border-radius:50%;display:inline-block;vertical-align:middle;background:currentColor;margin-right:.375rem}.person-copy{flex:1;min-width:0;text-align:left;min-height:2.75rem;display:flex;flex-direction:column;justify-content:center}.person-name{font-size:1rem;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%}.person-meta{font-size:.875rem;color:var(--muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.person-plus{width:2.25rem;height:2.75rem;display:grid;place-items:center;border:1px solid var(--line);border-radius:.5rem;background:var(--surface);color:var(--muted);flex:none}.person-plus:hover{background:var(--accent-bg);color:var(--accent-ink);border-color:var(--accent-line)}.person-plus svg{width:1.125rem;height:1.125rem}.assigned-mark{font-size:.875rem;color:var(--muted);flex:none}.panel-footnote{font-size:.875rem;color:var(--muted);padding:.875rem .5rem;display:flex;align-items:center;justify-content:center;gap:.375rem;border-top:1px solid var(--line)}.panel-footnote svg{width:.875rem;height:.875rem}
.board-panel{min-width:0}.board-toolbar{height:2.75rem;margin-bottom:.75rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem}.board-actions{display:flex;align-items:center;gap:.25rem}.segmented{display:inline-flex;padding:.1875rem;border:1px solid var(--line);background:var(--surface-subtle);border-radius:.625rem;gap:.125rem}.segmented button{min-height:2.25rem;padding:.375rem .75rem;font-size:.875rem;color:var(--muted);border-radius:.4375rem;white-space:nowrap}.segmented button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px var(--shadow-color);font-weight:600}.board-groups{display:grid;grid-template-columns:3fr 2fr;gap:1rem .75rem}.board-groups.filtered{grid-template-columns:1fr}.board-group{min-width:0}.board-section-heading{display:flex;gap:.625rem;align-items:center;min-height:2.625rem;border-radius:.625rem;padding:.5rem .75rem;background:var(--surface-subtle);margin-bottom:.5rem}.board-section-heading h2{font-size:1.0625rem;font-weight:650;white-space:nowrap}.board-section-heading>span{font-size:.875rem;color:var(--muted);white-space:nowrap}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.board-group[data-side="defense"] .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-card{min-width:0;border:1px solid var(--line);border-radius:.625rem;overflow:hidden;background:var(--surface);padding:0 .375rem}.team-card.drop-active{outline:2px solid var(--focus-ring);outline-offset:2px;background:var(--accent-bg)}.team-heading{display:flex;align-items:center;gap:.25rem;min-height:2.875rem;border-bottom:1px solid var(--line-soft);padding:0 .125rem}.team-heading strong{font-size:1rem;white-space:nowrap}.team-role{font-size:.875rem;color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-total{font-size:.875rem;color:var(--muted);margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}.team-heading .icon-button{width:1.75rem;height:2.75rem}.team-heading .icon-button svg{width:1rem;height:1rem}.team-row{min-height:2.75rem;display:flex;gap:.375rem;align-items:center;border-bottom:1px solid var(--line-soft);padding:0 .1875rem;cursor:grab;border-radius:.375rem}.team-row.selected{background:var(--selected)}.team-career{font-size:.875rem;color:var(--career);flex:none;white-space:nowrap;min-width:2rem}.team-career::before{content:"";width:.375rem;height:.375rem;background:currentColor;display:inline-block;vertical-align:middle;border-radius:50%;margin-right:.3125rem}.team-member-name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:1rem;min-height:2.75rem;line-height:1.5}.captain{font-size:.75rem;line-height:1.5;color:var(--warning-ink);background:var(--warning-bg);border-radius:.25rem;padding:0 .1875rem;flex:none}.remove-member{display:grid;place-items:center;width:1.375rem;height:2.75rem;flex:none;color:var(--muted);opacity:0;border-radius:.25rem}.remove-member svg{width:.875rem;height:.875rem}.team-row:hover .remove-member,.team-row:focus-within .remove-member{opacity:1}.remove-member:hover{color:var(--danger);background:var(--warning-bg)}.empty-slot{display:flex;justify-content:center;align-items:center;gap:.375rem;min-height:2.75rem;width:100%;color:var(--muted);font-size:.875rem;border-bottom:1px dashed var(--line-soft)}.empty-slot svg{width:.875rem;height:.875rem}.empty-slot:hover{background:var(--hover);color:var(--accent-ink)}.team-foot{display:flex;justify-content:space-between;gap:.25rem;align-items:center;min-height:2rem;padding:.25rem .1875rem;font-size:.75rem;color:var(--muted);white-space:nowrap}.team-foot>span{overflow:hidden;text-overflow:ellipsis}.board-footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.875rem;color:var(--muted);margin-top:.5rem}.board-footer>span{display:flex;align-items:center;gap:.375rem}.board-footer svg{width:1rem;height:1rem}
.detail-panel{margin-top:3.5rem;display:flex;flex-direction:column;gap:.75rem;min-width:0}.detail-profile{border:1px solid var(--line);background:var(--surface);border-radius:.875rem;overflow:hidden}.detail-head{padding:1rem 1rem .75rem}.detail-top-label{display:flex;align-items:center;justify-content:space-between;gap:.375rem;margin-bottom:1rem;font-size:1rem;font-weight:650}.detail-top-label>span{font-size:.875rem;color:var(--muted);font-weight:400}.detail-identity{display:flex;align-items:center;gap:.75rem}.detail-avatar{width:3.5rem;height:3.5rem;border-radius:.875rem;display:grid;place-items:center;font-size:1.75rem;color:var(--avatar-ink);background:var(--avatar-bg);flex:none}.detail-identity h2{font-size:1.5rem;line-height:1.3;overflow-wrap:anywhere}.career-tag{font-size:.875rem;color:var(--career);display:inline-flex;align-items:center;gap:.375rem;white-space:nowrap}.career-tag::before{content:"";width:.4375rem;height:.4375rem;border-radius:50%;background:currentColor;flex:none}.detail-section{padding:.75rem 1rem 1rem}.field-label{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;justify-content:space-between;font-size:.875rem;color:var(--muted);margin-bottom:.375rem}.field-label>span{font-size:.875rem}.detail-fields{display:grid;gap:.75rem}.detail-fields select{margin-top:.375rem;width:100%;font-size:1rem}.detail-section textarea{font-size:1rem;width:100%;min-height:5.5rem;resize:vertical}.detail-history{padding:.75rem;border-radius:.875rem;background:var(--inverse-bg);color:var(--inverse-ink)}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.625rem}.history-heading h3{font-size:1rem}.history-heading>span{font-size:.875rem;color:var(--inverse-muted)}.history-content{padding:.875rem;background:var(--surface);color:var(--ink);border-radius:.625rem}.source-label{font-size:.875rem;color:var(--muted);margin-bottom:.875rem;overflow-wrap:anywhere}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem .625rem;margin:0}.metric-grid dt{font-size:.875rem;color:var(--muted)}.metric-grid dd{font-size:1.375rem;line-height:1.3;font-weight:700;letter-spacing:-.025em;font-variant-numeric:tabular-nums;margin:.25rem 0 0;overflow-wrap:anywhere}.metric-grid dd small{font-size:.875rem;font-weight:500;margin-left:.125rem}.rank-label{display:flex;justify-content:space-between;gap:.375rem;font-size:.875rem;margin:.875rem 0 .5rem;color:var(--muted)}.rank-label strong{color:var(--ink);white-space:nowrap}.bar-track{height:.375rem;background:var(--chart-track);border-radius:.375rem;overflow:hidden}.bar-fill{height:100%;background:var(--chart-fill);border-radius:.375rem}.detail-footer{border-top:1px solid var(--line-soft);margin-top:.875rem;padding-top:.5rem}.detail-footer .text-button{width:100%;border:1px solid var(--line);color:var(--ink)}.detail-footnote{color:var(--muted);font-size:.875rem;text-align:right;padding:0 .5rem}.empty-state{padding:2rem 1rem;text-align:center;color:var(--muted);font-size:1rem}.empty-state strong{display:block;color:var(--ink);font-weight:600;margin-bottom:.375rem}.app-note{font-size:.875rem;color:var(--muted);padding:1.5rem 0 1.25rem}
.data-view{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-height:32rem;min-width:0}.data-view-head{padding:1.25rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line)}.data-view-head h2{font-size:1.5rem}.data-view-head p{font-size:1rem;color:var(--muted);margin-top:.375rem}.data-filters{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:1rem 1.5rem}.data-filters input,.data-filters select{max-width:22rem}.filter-note{margin-left:auto;color:var(--muted);font-size:.875rem}.table-wrap{width:100%;overflow:auto;max-height:44rem}.data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:1rem}.data-table th{padding:.5rem 1rem;background:var(--surface-subtle);color:var(--muted);font-size:.875rem;font-weight:600;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1;height:3.25rem}.data-table th button{font-size:inherit;min-height:2.75rem;color:inherit}.data-table td{padding:.75rem 1rem;min-height:3.5rem;border-bottom:1px solid var(--line-soft);font-variant-numeric:tabular-nums}.data-table tbody tr:hover{background:var(--hover)}.data-table .numeric{text-align:right}.member-link{font-weight:600;color:var(--accent-ink);min-height:2.75rem;text-align:left}.table-caption{padding:1rem 1.5rem;background:var(--surface-subtle);color:var(--muted);font-size:.875rem}.row-annotation{display:block;font-size:.875rem;color:var(--muted)}.sort-indicator{color:var(--accent-ink)}.pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted)}.pagination>div{display:flex;align-items:center;gap:.75rem}.stats-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;padding:1.25rem 1.5rem;background:var(--surface-subtle);border-bottom:1px solid var(--line)}.stats-summary span{font-size:.875rem;color:var(--muted)}.stats-summary strong{display:block;font-size:1.75rem;font-weight:700;margin-top:.375rem;font-variant-numeric:tabular-nums}.sample-notice{padding:.875rem 1.5rem;background:var(--warning-bg);color:var(--warning-ink);font-size:.875rem}.association-status{font-size:.875rem;color:var(--warning-ink)}.association-status.ok{color:var(--success-ink)}
dialog{border:1px solid var(--line);padding:0;border-radius:1rem;box-shadow:0 1rem 4rem var(--shadow-color);width:36rem;max-width:calc(100vw - 2rem);max-height:85dvh;overflow:auto;color:var(--ink);margin:auto}dialog::backdrop{background:var(--overlay)}.dialog-header{padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:2}.dialog-header h2{font-size:1.25rem}.dialog-body{padding:1.25rem}.dialog-body p{font-size:1rem;color:var(--muted);margin-bottom:1rem}.dialog-actions{padding:1rem 1.25rem;display:flex;justify-content:flex-end;gap:.625rem;border-top:1px solid var(--line);background:var(--surface-subtle);position:sticky;bottom:0}.dialog-field{display:block;font-size:.875rem;color:var(--muted);margin-bottom:1rem}.dialog-field>input,.dialog-field>select,.dialog-field>textarea{display:block;width:100%;margin-top:.5rem;font-size:1rem}.dialog-field>textarea{min-height:6rem;resize:vertical}.dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.dialog-error{font-size:1rem;color:var(--danger);margin-top:.75rem}.dialog-error:empty{display:none}.dialog-warning{font-size:.9375rem;line-height:1.6;padding:1rem;background:var(--warning-bg);color:var(--warning-ink);border-radius:.625rem;margin:.75rem 0}.dialog-list{display:grid;gap:.5rem;max-height:26rem;overflow:auto}.team-option{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.875rem 1rem;border:1px solid var(--line);border-radius:.625rem;font-size:1rem;min-height:3.25rem}.team-option span{font-size:.875rem;color:var(--muted)}.team-option:hover{background:var(--hover);border-color:var(--accent-line)}.preview-list{max-height:19rem;overflow:auto;border:1px solid var(--line);border-radius:.625rem}.preview-row{padding:.75rem 1rem;display:flex;gap:1rem;align-items:center;border-bottom:1px solid var(--line-soft)}.preview-row>span:first-child{width:1.75rem;color:var(--muted);font-size:.875rem}.preview-row>span:last-child{margin-left:auto;color:var(--muted)}.file-summary{display:flex;gap:1.25rem;flex-wrap:wrap;padding:1rem;background:var(--surface-subtle);border-radius:.625rem;margin-bottom:1rem;font-size:.9375rem;color:var(--muted)}.file-summary strong{color:var(--ink);font-weight:650;margin-right:.25rem}.file-name{font-size:.9375rem;color:var(--muted);overflow-wrap:anywhere;margin-bottom:1rem}.toast{position:fixed;left:50%;bottom:2rem;transform:translateX(-50%);z-index:30;border-radius:.75rem;padding:.875rem 1.25rem;background:var(--toast-bg);box-shadow:0 .25rem 1rem var(--shadow-color);max-width:90vw;font-size:1rem;line-height:1.5}.loading{opacity:.6;pointer-events:none}
.breadcrumbs{min-width:0;flex:1}.breadcrumbs strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-header>div:first-child{min-width:0}.people-panel,.detail-panel{margin-top:4rem}
@media(min-width:1900px){.workspace{grid-template-columns:15.5rem minmax(0,1fr) 18rem;gap:1.25rem}.team-grid{gap:.75rem}.team-row{min-height:3rem}.team-member-name,.remove-member{min-height:3rem}.empty-slot{min-height:3rem}.people-list{height:39.75rem}.summary-card{padding:1.25rem}.overview{gap:1rem}}
@media(max-width:1535px){.workspace{grid-template-columns:15rem minmax(0,1fr)}.detail-panel{grid-column:1/-1;margin-top:0;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.detail-profile{display:grid;grid-template-columns:1fr 1.2fr}.detail-section{padding:1rem}.detail-history{display:flex;flex-direction:column}.history-content{flex:1}.detail-footnote{grid-column:1/-1}}
@media(max-width:1350px){.overview{grid-template-columns:1fr}.summary-card{min-height:9.5rem}.lineup-summary{grid-template-columns:repeat(3,1fr)}.arranged .summary-number{font-size:3.5rem}.profession-bar{padding:.875rem 1rem}.profession-chips{gap:.5rem}.workspace{grid-template-columns:14.5rem minmax(0,1fr)}.board-groups{grid-template-columns:1fr}.team-grid{gap:.75rem}.people-list{height:40rem}}
@media(max-width:1050px){.main-shell{padding:1rem 1rem 0 .75rem}.activity-header{align-items:flex-start;flex-direction:column}.activity-actions{flex-wrap:wrap}.detail-profile{display:block}.profession-chips{grid-template-columns:repeat(6,minmax(0,1fr))}.workspace{grid-template-columns:13.75rem minmax(0,1fr)}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-number,.arranged .summary-number{font-size:3rem}.stats-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{position:static;width:auto;min-height:4.5rem;margin:.75rem .75rem 0;inset:auto;flex-direction:row;align-items:center;justify-content:space-between;padding:.5rem .75rem;gap:1rem;border-radius:1rem}.brand{flex-direction:row;margin:0;gap:.375rem}.brand-mark{width:2rem;height:2rem}.brand-mark svg{width:1.75rem;height:1.75rem}.sidebar nav{display:flex;gap:.375rem;width:auto}.nav-item{min-height:3.5rem;min-width:3.5rem;font-size:.875rem;gap:.125rem}.nav-item svg{width:1.125rem;height:1.125rem}.sidebar-bottom{width:auto;margin:0;display:block}.sidebar-bottom .local-user{display:none}.sidebar-bottom .nav-item{padding:0 .375rem}.main-shell{margin:0;padding:1rem .75rem 0}.topbar{margin-bottom:1rem;gap:.5rem}.topbar-status{gap:.5rem}.activity-header{margin-bottom:1rem}.activity-actions{width:100%;gap:.5rem}.activity-actions .button{flex:1;padding:.625rem .5rem;font-size:.875rem}.overview{gap:.75rem}.lineup-summary{gap:.5rem}.summary-card{padding:.875rem .625rem;min-height:10rem;border-radius:.75rem}.summary-label{gap:.375rem}.summary-label h2{font-size:.875rem}.summary-icon{width:1.625rem;height:1.625rem}.summary-number,.arranged .summary-number{font-size:2.5rem}.summary-number span{font-size:.875rem;margin-left:.25rem}.summary-card p{font-size:.875rem}.profession-chips{grid-template-columns:repeat(6,minmax(0,1fr));gap:.375rem}.profession-bar{padding:.875rem .75rem}.profession-label{gap:.5rem}.workspace{display:flex;flex-direction:column;gap:1rem}.workspace>*{width:100%;min-width:0}.people-panel{margin-top:0}.people-list{height:16rem}.people-controls{display:grid;grid-template-columns:1fr 1.25fr;gap:.5rem}.people-filters{margin:0;gap:.375rem}.people-controls input{font-size:1rem}.list-caption{padding-top:.25rem}.person-row{min-height:3.75rem}.profession-square{min-width:3.5rem}.person-plus{width:2.75rem}.person-meta{white-space:normal}.panel-footnote{justify-content:flex-start;padding:.75rem 1rem}.board-groups{grid-template-columns:1fr}.team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.team-row .remove-member{opacity:1}.board-footer{flex-wrap:wrap}.detail-panel{display:grid;grid-template-columns:1fr 1fr;margin:0}.data-view-head{padding:1rem;align-items:flex-start}.data-view-head p{font-size:.875rem}.data-filters{padding:1rem}.data-filters input,.data-filters select{flex:1;max-width:100%;min-width:9rem}.filter-note{flex-basis:100%}.table-caption{padding:1rem}.pagination{padding:.875rem;flex-wrap:wrap}.stats-summary{padding:1rem}.app-note{padding:1.25rem 0}}
@media(max-width:520px){.brand strong{display:none}.sidebar{gap:.5rem}.sidebar nav{gap:.125rem}.save-status{display:none}.breadcrumbs{gap:.5rem;font-size:.875rem}.topbar-status{flex:none}.activity-title{gap:.5rem}.activity-title h1{font-size:2.25rem}.soft-tag{font-size:.875rem}.summary-label .summary-icon{display:none}.summary-number,.arranged .summary-number{font-size:2.25rem}.summary-number span{display:block;font-size:.875rem;line-height:1.4;margin:0;letter-spacing:0}.summary-card{justify-content:flex-start;min-height:11.25rem}.summary-card p{margin-top:auto;padding-top:.5rem;line-height:1.5}.team-progress{gap:2px}.team-progress i{height:.5rem}.profession-chips{grid-template-columns:repeat(4,minmax(0,1fr))}.profession-label>span:last-child{margin-left:auto}.people-controls{grid-template-columns:1fr}.people-filters select{font-size:1rem;padding:.5rem}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.team-row{gap:.25rem;padding:0 .125rem}.team-career{min-width:1.75rem}.team-career::before{display:none}.team-heading{gap:.1875rem}.team-heading .icon-button{width:1.375rem}.team-role,.team-total{font-size:.875rem}.remove-member{width:1.25rem}.team-foot>span:first-child{display:none}.team-foot>span:last-child{margin-left:auto}.detail-panel{display:flex;flex-direction:column}.detail-profile{display:block}.detail-fields{grid-template-columns:1fr 1fr}.metric-grid dd{font-size:1.75rem}.stats-summary strong{font-size:1.5rem}.data-view-head .button{font-size:.875rem;padding:.625rem}.dialog-grid{grid-template-columns:1fr}.dialog-body,.dialog-header,.dialog-actions{padding:1rem}.pagination>div{gap:.5rem}}
.team-foot{font-size:.875rem}.board-toolbar{height:auto;min-height:2.75rem}.segmented button{min-height:2.75rem}.team-career{letter-spacing:0}.person-name{line-height:1.5}
@media(hover:none){.remove-member{opacity:1}.team-heading .icon-button{width:2rem}.person-plus{width:2.75rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}button:active:not(:disabled){transform:none}}
@media(forced-colors:active){.summary-card,.career-counter,.team-card,.panel,.detail-profile,.detail-history{border:1px solid CanvasText}.team-row.selected,.person-row.selected{outline:2px solid Highlight}.team-progress i.full{background:Highlight}}
