/* Organization structure review: shared One surfaces, compact operational controls. */
.vo-structure-review{min-width:0;max-width:1500px;margin:auto}.vo-structure-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.vo-structure-heading h2{font-size:21px;margin:4px 0 7px;line-height:1.3}.vo-structure-heading p{margin:0;line-height:1.6;color:var(--adm-text-soft)}.vo-structure-scope{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:11px 14px;border:1px solid var(--adm-border);background:var(--adm-surface);border-radius:4px;margin-bottom:14px;line-height:1.6}.vo-structure-scope strong{font-size:12px}.vo-structure-scope p{margin:0;flex-basis:100%;font-size:12px;color:var(--adm-text-soft)}.vo-structure-message:empty,.vo-structure-errors:empty{display:none}.vo-structure-message,.vo-structure-errors{line-height:1.6;overflow-wrap:anywhere}.vo-structure-errors{color:var(--adm-danger,#dd4b39);padding:10px 12px;background:var(--adm-surface);border:1px solid var(--adm-border);border-left:3px solid var(--adm-danger,#dd4b39)}.vo-structure-current{padding:14px;border:1px solid var(--adm-border);background:var(--adm-surface);border-radius:4px;margin-bottom:14px}.vo-structure-current h3{font-size:14px;margin:0 0 8px}.vo-structure-current p{line-height:1.6;margin:6px 0}.vo-structure-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;background:var(--adm-surface);border:1px solid var(--adm-border);border-radius:4px;margin-bottom:14px}.vo-structure-toolbar p{margin:0;color:var(--adm-text-soft);font-size:12px;line-height:1.6}.vo-structure-toolbar>div{min-width:0}.vo-structure-toolbar button{flex-shrink:0}.vo-structure-coverage{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.vo-structure-coverage>span{padding:7px 10px;border:1px solid var(--adm-border);background:var(--adm-surface-2);font-size:12px;border-radius:3px}.vo-structure-coverage strong{margin-right:5px}.vo-structure-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,340px);gap:14px;align-items:start}.vo-structure-departments{display:grid;gap:12px;min-width:0}.vo-structure-department{padding:13px;border:1px solid var(--adm-border);border-radius:4px;background:var(--adm-surface)}.vo-structure-department h3{margin:0;font-size:14px}.vo-structure-department-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.vo-structure-department-head span{color:var(--adm-text-soft);font-size:11px}.vo-structure-department .vo-form{gap:10px}.vo-structure-department textarea{min-height:65px;resize:vertical}.vo-structure-assignments{display:grid;gap:9px;margin-top:12px;padding-top:12px;border-top:1px solid var(--adm-border)}.vo-structure-source{padding:10px;border:1px solid var(--adm-border);border-radius:3px;background:var(--adm-surface-2);min-width:0}.vo-structure-source-title{display:flex;gap:7px;align-items:flex-start;justify-content:space-between}.vo-structure-source-title strong{font-size:12px;overflow-wrap:anywhere}.vo-structure-source p{margin:5px 0;font-size:11px;color:var(--adm-text-soft);line-height:1.6;overflow-wrap:anywhere}.vo-structure-source label{font-size:11px;font-weight:600;display:grid;gap:5px;margin-top:8px}.vo-structure-source select{width:100%;min-height:34px;color:var(--adm-text);background:var(--adm-input-bg,var(--adm-surface));border:1px solid var(--adm-border);border-radius:3px;font:inherit;padding:7px}.vo-structure-side{position:sticky;top:14px;min-width:0;display:grid;gap:12px}.vo-structure-side>.vo-card{margin:0}.vo-structure-side h3{font-size:14px;margin:0 0 8px}.vo-structure-side p,.vo-structure-side li{font-size:12px;line-height:1.7}.vo-structure-side ul{padding-left:18px;margin:7px 0}.vo-structure-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}.vo-structure-side .vo-structure-actions>button{width:100%}.vo-structure-draft{font-size:12px;line-height:1.6;color:var(--adm-text-soft);margin:8px 0}.vo-structure-technical{border-top:1px solid var(--adm-border);padding-top:10px;margin-top:12px;font-size:12px;line-height:1.6}.vo-structure-technical summary{cursor:pointer;font-weight:600;min-height:34px}.vo-structure-technical dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px}.vo-structure-technical dt{color:var(--adm-text-soft)}.vo-structure-technical dd{margin:0;overflow-wrap:anywhere}.vo-structure-reanalyse{padding:12px;background:var(--adm-surface-2);border:1px solid var(--adm-border);border-left:3px solid var(--adm-warning,#f39c12);line-height:1.6;margin:12px 0}.vo-structure-review [aria-invalid=true]{border-color:var(--adm-danger,#dd4b39)!important}.vo-structure-review :disabled{opacity:.65;cursor:default}.vo-structure-review :focus-visible{outline:3px solid var(--adm-primary,#3c8dbc);outline-offset:3px}.vo-structure-review [hidden]{display:none!important}
.vo-structure-department>summary{cursor:pointer;min-height:34px;line-height:1.6}.vo-structure-department>summary span{font-size:11px;color:var(--adm-text-soft)}.vo-structure-department-tools{display:flex;justify-content:flex-end;margin:0 0 8px}.vo-structure-department-tools>button{width:34px;padding:6px!important}.vo-structure-undo{margin:10px 0}body[data-office-mode="live"] #virtual-office .vo-structure-review button.vo-primary{background:var(--action-blue-fill,#2f739b)!important;border-color:var(--action-blue-fill,#2f739b)!important;color:var(--action-on-fill,#fff)!important}
@media(max-width:1050px){.vo-structure-layout{grid-template-columns:minmax(0,1fr)}.vo-structure-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.vo-structure-side>.vo-structure-validation{grid-column:1/-1}.vo-structure-side .vo-structure-actions>button{width:auto}}
@media(max-width:600px){.vo-structure-side{grid-template-columns:minmax(0,1fr)}.vo-structure-heading h2{font-size:19px}.vo-structure-toolbar{align-items:stretch}.vo-structure-toolbar>button{width:100%}.vo-structure-department{padding:11px}.vo-structure-source-title{display:block}.vo-structure-side .vo-structure-actions>button{width:100%}.vo-structure-technical dl{grid-template-columns:minmax(0,1fr)}}

/* A configuration workspace: one context, one selected item and its editor. */
.vo-structure-review{max-width:1500px;font-size:13px}
.vo-structure-review .vo-structure-heading{margin-bottom:8px}
.vo-structure-review .vo-structure-heading h2{margin:2px 0 3px;font-size:20px}
.vo-structure-review .vo-structure-heading p{font-size:12px}
.vo-structure-review .vo-structure-scope{padding:7px 10px;margin-bottom:10px;gap:4px 12px}
.vo-structure-review .vo-structure-scope p{flex-basis:auto}
.vo-config-tabs,.vo-config-section-tabs{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--adm-border);margin:0 0 10px;padding:0 0 5px}
.vo-config-tabs>button,.vo-config-section-tabs>button{min-height:34px;border:1px solid transparent;background:transparent;color:var(--adm-text);padding:6px 12px;font:inherit;font-weight:600;cursor:pointer}
.vo-config-tabs>button[aria-selected=true],.vo-config-section-tabs>button[aria-pressed=true]{border-color:var(--adm-border);border-bottom:3px solid var(--adm-primary,#3c8dbc);background:var(--adm-surface)}
.vo-structure-review .vo-structure-current{padding:9px 12px;margin-bottom:9px}
.vo-config-current-summary{display:flex;flex-wrap:wrap;gap:5px 15px;align-items:center;font-size:12px}
.vo-config-current-summary>strong{font-size:13px}.vo-config-current-summary>small{color:var(--adm-text-soft)}
.vo-structure-review .vo-structure-toolbar{padding:8px 10px;margin-bottom:9px;gap:8px}
.vo-structure-review .vo-structure-layout{grid-template-columns:minmax(0,1fr) 250px;gap:12px}
.vo-structure-review .vo-structure-coverage{margin:0 0 8px;gap:5px}
.vo-structure-review .vo-structure-coverage>span{padding:4px 8px}
.vo-config-browser,.vo-structure-review .vo-structure-sources{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px;align-items:start}
.vo-config-browser-nav,.vo-config-team-nav,.vo-config-source-navigation{min-width:0;padding:10px;background:var(--adm-surface);border:1px solid var(--adm-border);border-radius:3px}
.vo-config-browser-nav>label,.vo-config-team-nav>label,.vo-config-source-search{display:grid;gap:5px;font-size:12px;font-weight:600;margin-bottom:8px}
.vo-structure-review input[type=search]{box-sizing:border-box;width:100%;min-width:0;min-height:34px;border:1px solid var(--adm-border);border-radius:3px;background:var(--adm-input-bg,var(--adm-surface));color:var(--adm-text);font:inherit;padding:6px 8px}
.vo-config-department-list,.vo-config-team-list,.vo-config-source-list{display:grid;gap:3px;min-width:0}
.vo-config-department-list>button,.vo-config-team-list>button,.vo-config-source-list>button{display:grid;gap:2px;width:100%;min-height:43px;padding:6px 8px;text-align:left;font:inherit;border:1px solid transparent;background:transparent;color:var(--adm-text);cursor:pointer;border-radius:2px}
.vo-config-department-list>button strong,.vo-config-team-list>button strong,.vo-config-source-list>button strong{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.vo-config-department-list>button small,.vo-config-team-list>button small,.vo-config-source-list>button small{font-size:10px;line-height:1.3;color:var(--adm-text-soft);overflow-wrap:anywhere}
.vo-config-department-list>button[aria-pressed=true],.vo-config-team-list>button[aria-pressed=true],.vo-config-source-list>button[aria-pressed=true]{background:var(--adm-primary-soft,#3c8dbc18);border-color:var(--adm-primary,#3c8dbc)}
.vo-config-pagination{display:flex;justify-content:space-between;align-items:center;gap:5px;border-top:1px solid var(--adm-border);padding-top:7px;margin-top:7px;font-size:11px;color:var(--adm-text-soft)}
.vo-config-pagination>div{display:flex;gap:3px}.vo-config-pagination button{width:30px;min-height:30px;padding:4px!important}
.vo-structure-review .vo-structure-department{padding:10px;min-width:0}
.vo-structure-review .vo-structure-department>summary{min-height:28px;cursor:default;list-style:none;pointer-events:none}.vo-structure-review .vo-structure-department>summary::-webkit-details-marker{display:none}
.vo-structure-review .vo-structure-department>.vo-footnote{font-size:11px;line-height:1.4;margin:4px 0 8px}
.vo-structure-review .vo-structure-department-tools{margin:-34px 0 4px;min-height:34px;pointer-events:none}.vo-structure-review .vo-structure-department-tools button{pointer-events:auto}
.vo-structure-review .vo-structure-department textarea{min-height:54px;max-height:160px}
.vo-config-modules{margin-top:10px;border-top:1px solid var(--adm-border);padding-top:6px}
.vo-config-modules>summary{min-height:30px;cursor:pointer;font-weight:600;font-size:12px}
.vo-config-modules .vo-structure-modules{max-height:210px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;border:0;padding:0}
.vo-config-modules .vo-structure-modules>p{grid-column:1/-1;font-size:11px}.vo-config-modules label{font-size:12px}
.vo-structure-review .vo-structure-side{gap:8px;top:10px}.vo-structure-review .vo-structure-side>.vo-card{padding:10px}
.vo-structure-review .vo-structure-actions{margin-top:8px}.vo-structure-review .vo-structure-side .vo-structure-actions>button{width:100%;white-space:normal;line-height:1.4}
.vo-config-analysis-info summary{min-height:30px;cursor:pointer;font-size:12px;font-weight:600}.vo-config-analysis-info dl{font-size:10px;overflow-wrap:anywhere}.vo-config-analysis-info dd{margin:2px 0 8px}
.vo-structure-review .vo-structure-sources{margin-top:0;padding-top:0;border:0}.vo-structure-review .vo-structure-source{background:var(--adm-surface);padding:12px}
/* The AI module keeps ownership of its editor and every native action. Only its
   displayed roster is selected/paginated here; tab changes never remount it. */
.vo-structure-review .vo-structure-team .vo-team{display:grid;grid-template-columns:250px minmax(0,1fr);gap:8px 12px;align-items:start}
.vo-structure-review .vo-team>.vo-team-heading,.vo-structure-review .vo-team>.vo-team-prerequisite,.vo-structure-review .vo-team>.vo-team-status,.vo-structure-review .vo-team>.vo-team-error,.vo-structure-review .vo-team>[data-team-action=refresh]{grid-column:1/-1}
.vo-structure-review .vo-team-heading{margin:0}.vo-structure-review .vo-team-heading h2{font-size:17px;margin:0 0 3px}.vo-structure-review .vo-team-heading p{font-size:12px;margin:0}
.vo-structure-review .vo-team-status,.vo-structure-review .vo-team-error{margin:0;font-size:12px}
.vo-structure-review .vo-config-team-nav{grid-column:1;grid-row:span 2}
.vo-structure-review .vo-team-roster,.vo-structure-review .vo-team-editor{grid-column:2;min-width:0}
.vo-structure-review .vo-team-department{margin:0;padding:10px}.vo-structure-review .vo-team-department>h3{font-size:13px;margin:0 0 8px}
.vo-structure-review .vo-team-member{margin:0;padding:8px;gap:7px}.vo-structure-review .vo-team-member p{font-size:12px;line-height:1.45;margin:4px 0}
.vo-structure-review .vo-team-member[hidden],.vo-structure-review .vo-team-department[hidden]{display:none!important}
.vo-structure-review .vo-team-editor{margin:0;padding:12px}.vo-structure-review .vo-team-editor h3{font-size:15px;margin:0 0 8px}
.vo-structure-review .vo-team-fields{gap:8px}.vo-structure-review .vo-team-fields textarea{min-height:65px}.vo-structure-review .vo-team-role-info p{font-size:11px;line-height:1.5;margin:5px 0}
.vo-structure-review .vo-team-role-info:empty{display:none}.vo-structure-review .vo-team.has-open-editor .vo-team-roster{display:none}
@media(max-width:1100px){.vo-structure-review .vo-structure-layout{grid-template-columns:minmax(0,1fr)}.vo-structure-review .vo-structure-side{position:static;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.vo-structure-review .vo-structure-side>.vo-structure-validation{grid-column:auto}.vo-config-browser,.vo-structure-review .vo-structure-sources{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:650px){.vo-structure-review .vo-structure-scope p{font-size:11px}.vo-config-tabs{gap:0}.vo-config-tabs>button{flex:1;padding:6px 5px;font-size:12px}.vo-config-browser,.vo-structure-review .vo-structure-sources,.vo-structure-review .vo-structure-team .vo-team{grid-template-columns:minmax(0,1fr)}.vo-config-department-list,.vo-config-team-list,.vo-config-source-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.vo-config-browser-nav,.vo-config-team-nav,.vo-config-source-navigation{padding:8px}.vo-config-department-list>button,.vo-config-team-list>button,.vo-config-source-list>button{min-height:40px;padding:5px}.vo-config-department-list>button strong,.vo-config-team-list>button strong,.vo-config-source-list>button strong{font-size:11px}.vo-config-department-list>button small,.vo-config-team-list>button small{font-size:10px}.vo-structure-review .vo-team-roster,.vo-structure-review .vo-team-editor,.vo-structure-review .vo-config-team-nav{grid-column:1;grid-row:auto}.vo-structure-review .vo-structure-side{grid-template-columns:minmax(0,1fr)}.vo-structure-review .vo-structure-toolbar>button{width:auto}.vo-structure-review .vo-structure-toolbar>div{flex:1;min-width:180px}.vo-structure-review .vo-structure-current{padding:8px}.vo-structure-review .vo-team-heading h2{font-size:16px}}
/* The configuration occupies the row immediately after Appearance. A long left
   navigation must not create empty grid tracks above this workspace. */
.vo-live:has(>.vo-client-structure:not([hidden])){row-gap:8px;grid-template-rows:auto min-content auto;align-items:start}
.vo-live:has(>.vo-client-structure:not([hidden]))>.vo-office-views{grid-row:2/span 2}
.vo-live:has(>.vo-client-structure:not([hidden]))>.vo-client-appearance{grid-column:2;grid-row:2;margin:0;padding:0;align-self:start}
.vo-live:has(>.vo-client-structure:not([hidden]))>.vo-client-structure{grid-column:2;grid-row:3;margin:0;padding:0;align-self:start}
.vo-live:has(>.vo-client-structure:not([hidden]))>.vo-client-message:empty{display:none}
.vo-live:has(>.vo-client-structure:not([hidden]))>.vo-heading{padding:7px 12px;margin:0;min-height:0}
.vo-live:has(>.vo-client-structure:not([hidden]))>.vo-heading h1{font-size:18px;margin:1px 0}
.vo-live:has(>.vo-client-structure:not([hidden]))>.vo-heading p{font-size:11px;margin:2px 0}
.vo-structure-review .vo-structure-heading .vo-eyebrow,.vo-structure-review .vo-structure-heading p{display:none}
.vo-structure-review .vo-structure-message{padding:6px 10px;margin:5px 0;line-height:1.4;font-size:12px}
.vo-config-panel:has(>.vo-structure-proposal:not([hidden]))>.vo-structure-current{display:none}
.vo-config-panel:has(>.vo-structure-proposal:not([hidden]))>.vo-structure-toolbar p{display:none}
.vo-config-section-tabs>[data-structure-action=add-department]{margin-left:auto;width:34px;padding:6px}
#virtual-office .vo-structure-review :is(.vo-config-department-list,.vo-config-team-list,.vo-config-source-list)>button{padding:5px 7px;min-height:37px;border-color:transparent;background:transparent;box-shadow:none}
#virtual-office .vo-structure-review :is(.vo-config-department-list,.vo-config-team-list,.vo-config-source-list)>button[aria-pressed=true]{border-color:var(--adm-primary,#3c8dbc);background:var(--adm-primary-soft,#3c8dbc18)}
.vo-structure-review{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px}
.vo-structure-review>.vo-structure-heading,.vo-structure-review>.vo-structure-scope{align-self:start;margin-bottom:5px}
.vo-structure-review>.vo-structure-scope{padding:5px 9px;font-size:12px}
.vo-structure-scope>details>summary{cursor:pointer;min-height:25px;line-height:25px}.vo-structure-scope>details>p{max-width:500px}
.vo-structure-review>:is(.vo-config-tabs,.vo-config-panel,.vo-structure-message,.vo-structure-errors){grid-column:1/-1}
.vo-config-panel>.vo-structure-toolbar>.vo-structure-current{padding:0;margin:0;border:0;flex:1;background:transparent}
.vo-config-panel>.vo-structure-toolbar>div:not(.vo-structure-current){display:none}
.vo-config-panel:has(>.vo-structure-proposal:not([hidden])) .vo-structure-current{display:block}
.vo-config-proposal-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;border-bottom:1px solid var(--adm-border);padding-bottom:5px}
.vo-config-proposal-top>.vo-structure-coverage{margin:0}.vo-config-proposal-top>.vo-config-section-tabs{border:0;margin:0;padding:0;flex:1;justify-content:flex-end}
.vo-config-section-tabs>[data-structure-action=add-department]{margin-left:8px}
body[data-office-mode=live] #virtual-office .vo-structure-review :is(.vo-config-tabs>button[aria-selected=true],.vo-config-section-tabs>button[aria-pressed=true]){background:var(--adm-primary-soft,#3c8dbc22)!important;border-color:var(--adm-primary,#3c8dbc)!important;border-bottom:3px solid var(--adm-primary,#3c8dbc)!important;color:var(--adm-text)!important;font-weight:700}
body[data-office-mode=live] #virtual-office .vo-structure-review .vo-structure-message{background:transparent!important;border:0!important;padding:3px 0;margin:3px 0;color:var(--adm-text-soft)}
#virtual-office .vo-structure-review .vo-config-tabs>button[aria-selected=true],#virtual-office .vo-structure-review .vo-config-section-tabs>button[aria-pressed=true]{background:var(--adm-primary-soft,#3c8dbc22);border:1px solid var(--adm-primary,#3c8dbc);border-bottom:3px solid var(--adm-primary,#3c8dbc);color:var(--adm-text);font-weight:700}
@media(max-width:700px){.vo-structure-review{grid-template-columns:minmax(0,1fr)}.vo-structure-review>.vo-structure-scope{justify-self:start}.vo-config-proposal-top{flex-wrap:wrap}.vo-config-proposal-top>.vo-config-section-tabs{justify-content:flex-start}.vo-config-current-summary{gap:4px 8px}.vo-config-current-summary>strong{width:100%}}
@media(max-width:700px){.vo-live:has(>.vo-client-structure:not([hidden]))>.vo-client-appearance,.vo-live:has(>.vo-client-structure:not([hidden]))>.vo-client-structure{grid-column:1/-1;grid-row:auto}.vo-live:has(>.vo-client-structure:not([hidden]))>.vo-office-views{grid-row:auto}}
