/* R6: shared native material; icon actions form one continuous raised strip. */
html body{--fc-control-h:36px;--fc-control-w:38px;--fc-control-text:#aeb7c0;--fc-control-border:rgba(147,165,177,.24);--fc-control-gold:#d6bd76}
html body .fc-icon-strip{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;height:36px!important;min-height:36px!important;padding:0!important;gap:0!important;border:1px solid var(--fc-control-border)!important;border-radius:10px!important;background:linear-gradient(180deg,rgba(220,232,239,.09),rgba(160,180,190,.025))!important;box-shadow:inset 0 1px 0 #ffffff12,0 2px 3px #0003!important;overflow:hidden!important;order:0!important}
html body .fc-icon-strip :is(button.fc-tool-action,.fc-strip-key.toolbar-icon-button,#workspaceInfo,#attributeVisibilityBtn){position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:34px!important;min-height:34px!important;max-height:34px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--fc-control-text)!important;transform:none!important;overflow:visible!important;order:0!important}
html body .fc-icon-strip :is(button,.fc-strip-key):not(:first-child)::before{content:""!important;position:absolute!important;left:0!important;top:10px!important;bottom:auto!important;width:1px!important;height:14px!important;margin:0!important;border:0!important;background:#8b9ba22c!important;box-shadow:1px 0 0 #0003!important;transform:none!important;pointer-events:none!important}
html body .fc-icon-strip :is(button,.fc-strip-key)::after{content:none!important}
html body .fc-icon-strip :is(button,.fc-strip-key):hover:not(:disabled){background:#ffffff07!important}
html body .fc-icon-strip button:active:not(:disabled){background:#0002!important;box-shadow:inset 0 1px 3px #0005!important}
html body .fc-icon-strip :is([aria-pressed=true],.is-visibility-visible,.is-visibility-hidden.active),html body .fc-icon-strip :is(#attributeVisibilityBtn[aria-checked=true]){color:var(--fc-control-gold)!important;background:#b7a0560b!important}
html body .fc-icon-strip :is(button:disabled){opacity:.3!important}
html body .fc-icon-strip svg,html body .fc-tool-action>svg{width:18px!important;height:18px!important;flex:0 0 18px!important;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin:0!important;position:static!important;transform:none!important}
html body .fc-tool-label{display:none!important}
html body .fc-icon-strip button.fc-tool-action .fc-tool-label{display:none!important}
html body .bottom-dock .context-toolbar:has(#fcEnhanceActions:not([hidden])) .fc-icon-strip #resetBtn{order:0!important}
html body .bottom-dock .context-toolbar #fcEnhPreset.fc-tool-text{width:auto!important;min-width:0!important;max-width:none!important;padding:0 10px!important;height:36px!important;min-height:36px!important}
html body .bottom-dock .context-toolbar #fcEnhPreset.fc-tool-text .fc-tool-label{display:inline!important;font-family:inherit;font-size:12px;font-weight:650;line-height:1;position:static!important}
html body .main :is(#facilitiesCard,#masteryCard) .workspace-toolbar .fc-icon-strip label.toolbar-icon-button{height:34px!important;min-height:34px!important;width:38px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#b49b5c0b!important}
html body .main .workspace-toolbar .fc-icon-strip button.fc-tool-action .fc-tool-label,html body #attributeDesktopToolbar.review-workspace-toolbar .fc-icon-strip button.fc-tool-action .fc-tool-label{display:none!important}
html body .main #attributeDesktopToolbar.review-workspace-toolbar #workspaceQuickSave{order:-1!important}
html body .main #attributeDesktopToolbar.review-workspace-toolbar #attributeValueMode{order:2!important}
html body .main #attributeDesktopToolbar.review-workspace-toolbar #attributeValueMode{height:36px!important;min-height:36px!important;max-height:36px!important;box-sizing:border-box!important}
html body .bottom-dock .context-toolbar.review-workspace-toolbar .fc-icon-strip :is(#undoBtn,#resetBtn,#workspaceQuickSave,#workspaceInfo,#fcEnhSave,#fcEnhRefresh){height:34px!important;min-height:34px!important;max-height:34px!important;width:38px!important;min-width:38px!important;max-width:38px!important;flex:0 0 38px!important;padding:0!important;order:0!important}
html body .bottom-dock .context-toolbar.review-workspace-toolbar .fc-icon-strip :is(#undoBtn,#resetBtn,#workspaceQuickSave,#workspaceInfo,#fcEnhSave,#fcEnhRefresh) .fc-tool-label{display:none!important}
html body .fc-tool-text{height:36px!important;min-height:36px!important;max-height:36px!important;width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px solid var(--fc-control-border)!important;border-radius:10px!important;background:linear-gradient(#ffffff09,#ffffff02)!important;color:var(--fc-control-text)!important;font-family:inherit!important;font-size:12px!important;font-weight:650!important;line-height:1!important;white-space:nowrap!important}
html body .fc-tool-text>.fc-tool-label{display:inline!important;position:static!important;font:inherit!important;white-space:nowrap!important}
html body #attributeDesktopToolbar #workspaceQuickSave{order:-1!important;color:var(--fc-control-gold)!important;border-color:#b49b5c66!important}
html body #attributeDesktopToolbar .attribute-toolbar-divider,html body #attributeAmpConfigBtn{display:none!important}
html body #attributeDesktopToolbar #attributeValueMode{order:2!important;height:36px!important;min-height:36px!important;box-sizing:border-box!important}
html body #attributeDesktopToolbar #attributeValueMode button{height:28px!important;min-height:28px!important}
html body .fc-icon-strip .toolbar-visibility-button{cursor:pointer}
html body .fc-icon-strip .toolbar-visibility-button input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0}
html body .fc-icon-strip .toolbar-visibility-button:focus-within{outline:2px solid var(--fc-control-gold);outline-offset:-2px}
html body .mastery-toolbar-tools,html body .facility-toolbar-tools{gap:7px!important;align-items:center!important}
html body [data-facility-preset-slot]{height:36px!important;min-height:36px!important;width:38px!important;min-width:38px!important;max-width:38px!important;order:2!important}
html body #masteryPresetLoadBtn{order:2!important}
html body .bottom-dock .context-toolbar.review-workspace-toolbar{padding-left:max(16px,env(safe-area-inset-left))!important;padding-right:max(16px,env(safe-area-inset-right))!important;gap:8px!important;min-height:48px!important;box-sizing:border-box!important}
html body .fc-enhance-actions{display:contents!important}
html body .fc-enhance-actions[hidden],html body .fc-enhance-actions button[hidden],html body #fcEnhPreset[hidden],html body #fcEnhFacilitySlots[hidden]{display:none!important}
html body .fc-icon-strip .fc-enhance-actions>button:first-child::before{content:""!important}
html body #fcEnhFacilitySlots{display:flex;gap:4px;order:2;margin-left:auto}
html body #fcEnhFacilitySlots button{height:36px!important;min-height:36px!important;width:38px!important;min-width:38px!important;padding:0!important;border:1px solid #96a7ad33;border-radius:9px;background:linear-gradient(#ffffff09,#ffffff02);font-family:inherit;font-size:12px;font-weight:650;line-height:1;color:#aeb7c0}
html body #fcEnhFacilitySlots button[aria-pressed=true]{border-color:#b49b5c66;color:#d6bd76;background:#b49b5c10}
html body #fcEnhPreset{order:2!important;margin-left:0!important}
html body .fc-icon-strip #fcEnhanceActions{order:0!important}
html body .context-toolbar:has(#fcEnhanceActions:not([hidden])) #workspaceQuickSave,html body .context-toolbar:has(#fcEnhanceActions:not([hidden])) #workspaceInfo{display:none!important}
html body .context-toolbar #workspaceQuickSave{order:0!important}
html body .context-toolbar .toolbar-spacer{order:3!important}
html body #fcEnhanceSync{order:4!important;margin-left:auto!important;font-size:11px}
html body .context-toolbar:has(#fcEnhanceActions:not([hidden])) .fc-icon-strip{order:0!important}
html body #fcEnhFacilitySlots~#fcEnhanceSync{max-width:60px}
html body .fc-enhance-tabs{padding:3px!important;gap:3px!important;border:1px solid #91a3ad33!important;background:linear-gradient(180deg,#ffffff04,#0001)!important;box-shadow:inset 0 1px 0 #ffffff08!important}
html body .fc-enhance-tabs button{height:30px!important;min-height:30px!important;font-family:inherit!important;font-size:12px!important;font-weight:650!important;color:#929ea6!important;background:transparent!important;border:1px solid transparent!important;box-shadow:none!important}
html body .fc-enhance-tabs button[aria-selected=true]{color:#d6bd76!important;border-color:#b49b5c55!important;background:linear-gradient(180deg,#b49b5c18,#b49b5c0b)!important;box-shadow:inset 0 1px 0 #fff1!important}
html body.fc-enhance-split .mastery-model-row{grid-template-columns:minmax(112px,1.45fr) repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:4px 0!important;align-items:center!important;min-height:40px!important;margin:0!important;border-radius:0!important}
html body.fc-enhance-split .mastery-model-id{display:flex!important;gap:5px!important;min-width:0!important}
html body.fc-enhance-split .mastery-model-id img{width:22px!important;height:22px!important;flex:none!important}
html body.fc-enhance-split .mastery-model-id strong{display:block!important;white-space:nowrap!important;font-size:11.5px!important;line-height:1.2!important}
html body.fc-enhance-split .mastery-node-mobile{height:34px!important;min-height:34px!important;max-height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;padding:0 2px!important;border-radius:9px!important;font-family:inherit!important}
html body.fc-enhance-split .mastery-node-mobile b{font-size:12px!important;font-weight:700!important;line-height:1!important}
html body.fc-enhance-split .mastery-node-values{display:none!important}
html body.fc-enhance-split .mastery-quickbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px!important;padding:6px!important;margin:0 0 4px!important}
html body.fc-enhance-split #masteryMobile .mastery-quickbar{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body.fc-enhance-split .mastery-quickbar button{min-width:0!important;height:34px!important;min-height:34px!important;padding:0 4px!important;font-size:11px!important;font-weight:650!important}
html body.fc-enhance-split #masteryViewAllBtn{grid-column:1/-1;height:28px!important;min-height:28px!important;background:none!important;border:0!important}
html body .fc-mastery-summary{padding:4px 8px 9px;display:flex;flex-wrap:wrap;gap:5px;font-size:11px;color:#8996a1}
html body .fc-mastery-summary .fc-mastery-total{width:100%;display:flex;gap:6px;align-items:baseline}
html body .fc-mastery-summary b{font-weight:750;color:#d6bd76}
html body .fc-mastery-chip{display:inline-flex;gap:4px;align-items:center;padding:3px 6px;border:1px solid #9badb01f;border-radius:6px;background:#ffffff03;white-space:nowrap}
html body .fc-mastery-summary .fc-mastery-empty{color:#7d8b97}
html body.fc-enhance-split #masterySummaryTop{cursor:default;pointer-events:none!important}
html body.fc-amp-dialog-open .main{z-index:2147483000!important;overflow:visible!important}
html body #ampWorkspacePanel:popover-open{position:fixed!important;inset:0!important;margin:0!important;padding:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;overflow:visible!important;border:0!important;background:transparent!important;color:inherit!important}
html body #ampWorkspacePanel:popover-open::backdrop{background:transparent}
html body #ampWorkspacePanel:popover-open iframe{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-height:none!important}
@media(max-width:359px){html body.fc-enhance-split .mastery-model-row{grid-template-columns:minmax(104px,1.5fr) repeat(3,minmax(0,1fr))!important;gap:3px!important}html body.fc-enhance-split .mastery-model-id strong{font-size:11px!important}html body.fc-enhance-split .mastery-model-id img{width:20px!important;height:20px!important}html body #fcEnhFacilitySlots button{width:34px!important;min-width:34px!important}html body .fc-icon-strip :is(button.fc-tool-action,.fc-strip-key.toolbar-icon-button,#workspaceInfo){width:36px!important;min-width:36px!important;max-width:36px!important;flex-basis:36px!important}}

html body #fcEnhFacilitySlots button{position:relative}html body #fcEnhFacilitySlots button.has-data::after{content:'';position:absolute;top:4px;right:4px;width:4px;height:4px;border-radius:50%;background:#d6bd76}
