/* One control and menu surface, across themes, dialogs and dynamic tables. */
.app-icon{display:inline-block;flex:none;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.app-select{display:inline-flex;position:relative;min-width:0;max-width:100%;width:100%;vertical-align:middle;font-weight:400;letter-spacing:normal;text-transform:none}
.app-select>select.app-select-native{position:absolute!important;width:1px!important;min-width:0!important;height:1px!important;padding:0!important;margin:0!important;border:0!important;clip-path:inset(50%);overflow:hidden;opacity:0;pointer-events:none}
.app-select-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:36px;padding:7px 10px;border:1px solid var(--border-bright,var(--border));border-radius:9px;background:var(--input-bg,var(--surface-2));color:var(--text);font:inherit;text-align:left;cursor:pointer}
.app-select-button:hover{border-color:var(--blue)}
.app-select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.app-select-button:focus-visible,.app-menu button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.app-select-button:disabled{cursor:default;opacity:.5}
.app-menu,.organization-action-menu,.span-context-menu,.block-menu{position:fixed;inset:auto;margin:0;box-sizing:border-box;min-width:220px;max-width:calc(100vw - 16px);max-height:55dvh;overflow:auto;padding:6px;border:1px solid var(--border-bright,var(--border));border-radius:12px;background:var(--surface);color:var(--text);box-shadow:0 12px 36px #0003;z-index:10000;font-size:14px;font-weight:400;letter-spacing:normal;text-transform:none;text-align:left}
.app-menu button,.app-option,.organization-action-menu button,.span-context-menu button,.block-menu button{display:flex;align-items:center;gap:11px;width:100%;min-height:38px;margin:0;padding:9px 11px;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;text-align:left;white-space:normal;cursor:pointer;box-sizing:border-box}
.app-menu button:hover,.app-menu button:focus-visible,.app-option.is-active,.organization-action-menu button:hover,.span-context-menu button:hover,.block-menu button:hover{background:var(--surface-2)}
.app-menu button:disabled,.app-option[aria-disabled=true]{opacity:.4;cursor:default}
.app-menu button.app-danger,.span-context-menu button.danger{color:var(--red,#df4963)}
.app-menu button.app-danger:hover{background:color-mix(in srgb,var(--red,#df4963) 12%,var(--surface))}
.app-option>span{flex:1;min-width:0;overflow-wrap:anywhere}.app-option>.app-icon{visibility:hidden;color:var(--blue)}.app-option[aria-selected=true]>.app-icon{visibility:visible}
.app-menu-group{padding:10px 11px 4px;font-size:12px;color:var(--muted);font-weight:600}
.app-select[hidden]{display:none}
:root{--topbar-height:72px}
.topbar{flex-wrap:nowrap!important;height:60px!important;min-height:60px!important;padding:8px 12px!important;gap:10px;align-items:center}
.topbar .project-picker,.topbar .fiber-picker{display:flex;align-items:center;min-width:0;gap:7px}
.topbar .project-picker{flex:1 1 300px;max-width:460px}.topbar .fiber-picker{flex:0 1 185px;max-width:210px}
.topbar .project-picker label,.topbar .fiber-picker label{display:none}
.topbar .project-picker>.app-select,.topbar .fiber-picker>.app-select{min-width:0;width:100%}
.topbar .app-select-button{height:38px;font-size:14px}
.topbar .top-actions{display:flex;flex:0 0 auto;flex-wrap:nowrap;gap:6px;width:auto;min-width:0;margin-left:auto;align-items:center}
.topbar .top-actions .button,.topbar>.icon-button,.topbar .top-actions>.icon-button{display:flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-width:38px;width:38px;height:38px;min-height:38px;padding:8px;white-space:nowrap;border-radius:10px}
.topbar .top-actions .app-action-label{display:none}
.topbar .top-actions #topMoreButton{display:none}
.topbar [hidden]{display:none!important}
@media(min-width:1500px){.topbar .top-actions #uploadButton,.topbar .top-actions #reportButton{width:auto;padding-inline:12px}.topbar #uploadButton .app-action-label,.topbar #reportButton .app-action-label{display:inline}}
@media(max-width:1050px){.topbar{gap:6px;padding-inline:8px!important}.topbar .top-actions #autoAnalysisButton,.topbar .top-actions #pairingReviewButton,.topbar .top-actions #copyFiberButton,.topbar #layoutButton,.topbar .top-actions #returnGraphButton,.topbar .top-actions #reportButton{display:none}.topbar .top-actions #topMoreButton{display:flex}.topbar .fiber-picker{flex-basis:120px}}
@media(max-width:540px){.topbar{margin-inline:6px;height:54px!important;min-height:54px!important;padding:6px!important;gap:4px}.topbar .fiber-picker{flex:0 1 80px}.topbar .project-picker{flex:1 1 100px}.topbar .app-select-button{padding-inline:7px;font-size:12px;gap:3px}.topbar .top-actions{gap:3px}.topbar>.icon-button,.topbar .top-actions .button,.topbar .top-actions>.icon-button{width:34px;min-width:34px}.topbar>.icon-button:not(#menuButton){display:none}}
.exchange-modal .exchange-browser-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px}
.exchange-modal .exchange-progress-step{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;font-size:13px}
.exchange-modal .exchange-progress-step small{font-size:13px}.exchange-modal .exchange-step-state{font-size:11px;color:var(--muted)}
.exchange-modal .exchange-progress-live{min-height:1.5em;margin:12px 0;font-weight:500}
.exchange-modal #exchangeBrowserStatus{font-size:13px;color:var(--muted)}
.exchange-modal .exchange-browser-actions{gap:8px}.exchange-modal .exchange-mode-tabs{margin-bottom:0}
.exchange-modal .exchange-browser-progress[hidden]{display:none}

.exchange-modal #exchangeBrowserStatus{margin:0 0 8px}
