/* CotoCle editor experience styles v0.8.458
 * Structural work styles are intentionally separate from document data and save logic.
 */
:root{
  --cc-exp-ink:#203a33;
  --cc-exp-muted:#6c7e78;
  --cc-exp-green:#168262;
  --cc-exp-green-deep:#0b674c;
  --cc-exp-mint:#e8f7f1;
  --cc-exp-line:#d6e5df;
  --cc-exp-shadow:0 24px 80px rgba(17,50,40,.22);
}

/* --------------------------------------------------------------------------
   v0.8.440 — command drawer + genuinely different editor experiences
   -------------------------------------------------------------------------- */
.cc-experience-chrome,.cc-experience-pro-left,.cc-experience-pro-right,.cc-experience-dream-rail,.cc-experience-kids-badge,.cc-experience-mobile-nav{box-sizing:border-box}
.cc-experience-pro-left,.cc-experience-pro-right,.cc-experience-dream-rail,.cc-experience-kids-badge,.cc-experience-mobile-nav{display:none}
.cc-experience-fx-layer{position:fixed;inset:0;z-index:2147483000;overflow:hidden;pointer-events:none}
.cc-experience-particle{position:absolute;display:block;width:var(--cc-fx-size);height:var(--cc-fx-size);margin:calc(var(--cc-fx-size) / -2);font:900 var(--cc-fx-size)/1 ui-rounded,"Arial Rounded MT Bold",sans-serif;text-align:center;filter:drop-shadow(0 3px 4px rgba(72,35,91,.22));animation:cc-experience-burst .92s cubic-bezier(.15,.72,.22,1) both;will-change:transform,opacity}
.cc-experience-particle.is-sparkle{text-shadow:0 0 10px currentColor,0 0 18px currentColor}
@keyframes cc-experience-burst{0%{opacity:0;transform:translate3d(0,0,0) scale(.2) rotate(0)}15%{opacity:1}78%{opacity:1}100%{opacity:0;transform:translate3d(var(--cc-fx-x),var(--cc-fx-y),0) scale(1.25) rotate(var(--cc-fx-r))}}

/* Professional ribbon: readable command groups instead of pale mini cards. */
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel:not(.is-active){display:none!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
  display:flex!important;align-items:stretch!important;gap:10px!important;min-height:118px!important;max-height:154px!important;
  padding:11px 13px 13px!important;border:0!important;border-bottom:1px solid #d9e7e2!important;
  background:linear-gradient(180deg,#fbfdfc 0%,#f1f7f4 100%)!important;box-shadow:inset 0 1px #fff,0 12px 28px rgba(23,71,56,.09)!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;scrollbar-color:#9dc3b7 transparent;animation:cc-ribbon-drawer-in .2s ease-out both
}
@keyframes cc-ribbon-drawer-in{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
.cc-workspace--dedicated .cc-ribbon-panel-head{
  position:relative!important;display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;align-content:center!important;align-items:center!important;
  flex:0 0 205px!important;min-width:205px!important;margin:0!important;padding:13px 38px 13px 13px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:17px!important;
  background:linear-gradient(145deg,#0b523f 0%,#176d56 58%,#278d70 100%)!important;color:#fff!important;box-shadow:0 9px 22px rgba(14,78,58,.20)!important
}
.cc-workspace--dedicated .cc-ribbon-panel-emblem{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:13px!important;background:rgba(255,255,255,.14)!important;color:#fff!important;font:900 15px/1 ui-rounded,"Arial Rounded MT Bold",sans-serif!important;box-shadow:inset 0 1px rgba(255,255,255,.28)!important}
.cc-workspace--dedicated .cc-ribbon-panel-head>div{display:grid!important;gap:2px!important;min-width:0!important;margin:0!important}
.cc-workspace--dedicated .cc-ribbon-panel-head strong{font-size:14px!important;line-height:1.25!important;letter-spacing:.02em!important;color:#fff!important}
.cc-workspace--dedicated .cc-ribbon-panel-head small{font-size:8px!important;line-height:1.45!important;color:rgba(255,255,255,.74)!important;white-space:normal!important}
.cc-workspace--dedicated .cc-ribbon-panel-close{position:absolute!important;top:8px!important;right:8px!important;display:grid!important;place-items:center!important;width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;padding:0!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:9px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;font-size:16px!important;line-height:1!important;cursor:pointer!important}
.cc-workspace--dedicated .cc-ribbon-panel-close:hover,.cc-workspace--dedicated .cc-ribbon-panel-close:focus-visible{background:#fff!important;color:#145d49!important;outline:3px solid rgba(255,255,255,.22)!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
  display:grid!important;grid-template-rows:auto 1fr!important;align-content:stretch!important;flex:0 0 auto!important;min-width:168px!important;min-height:92px!important;
  margin:0!important;padding:9px 10px 10px!important;border:1px solid #dbe8e3!important;border-radius:16px!important;background:#fff!important;
  box-shadow:0 5px 14px rgba(24,72,57,.055)!important;overflow:visible!important;animation:cc-ribbon-group-in .24s ease-out both;animation-delay:calc(var(--cc-ribbon-group-order,0) * 25ms)
}
@keyframes cc-ribbon-group-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group:hover{border-color:#a9cfc2!important;box-shadow:0 8px 20px rgba(24,90,68,.10)!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
  display:flex!important;align-items:center!important;gap:7px!important;height:auto!important;min-height:24px!important;margin:0 0 7px!important;padding:0!important;border:0!important;
  color:#284c41!important;font-size:9px!important;font-weight:950!important;letter-spacing:.035em!important;line-height:1.2!important;text-align:left!important;cursor:default!important
}
.cc-workspace--dedicated .cc-ribbon-group-emblem{display:grid!important;place-items:center!important;width:23px!important;height:23px!important;flex:0 0 23px!important;margin:0!important;border-radius:8px!important;background:#e6f5ef!important;color:#1d795e!important;font:900 9px/1 ui-rounded,"Arial Rounded MT Bold",sans-serif!important;font-style:normal!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>div{display:flex!important;align-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:5px!important;height:auto!important;min-height:40px!important;margin:0!important;padding:0!important;overflow:visible!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group select,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group label{
  min-height:34px!important;margin:0!important;border:1px solid #cfdfda!important;border-radius:10px!important;background:#f9fcfb!important;color:#243d35!important;font-size:9px!important;font-weight:850!important;line-height:1.15!important;box-shadow:none!important;opacity:1!important
}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button{padding:7px 10px!important;cursor:pointer!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button:hover,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button:focus-visible{border-color:#65a891!important;background:#eaf7f2!important;color:#0d5c45!important;outline:3px solid rgba(42,151,114,.13)!important;transform:translateY(-1px)!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button:disabled,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group select:disabled{opacity:.42!important;cursor:not-allowed!important;transform:none!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--studio{min-width:232px!important;border-color:#a9d7c8!important;background:linear-gradient(145deg,#f2fbf8,#fffaf5)!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--studio .is-studio-primary{min-width:118px!important;border-color:#147559!important;background:linear-gradient(135deg,#269675,#137153)!important;color:#fff!important;box-shadow:0 6px 14px rgba(20,117,89,.20)!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--shapes{min-width:250px!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--free-text{min-width:205px!important;background:linear-gradient(145deg,#fbf8ff,#fff)!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--free-text small{color:#695d83!important;font-size:8px!important;line-height:1.3!important}

/* Mode chooser: show the actual structural differences at a glance. */
.cc-experience-dialog{width:min(1180px,calc(100vw - 30px))!important;max-height:min(92vh,850px)!important}
.cc-experience-options{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-height:54vh!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin;padding:16px 22px!important}
.cc-experience-card{grid-template-columns:118px minmax(0,1fr)!important;min-height:132px!important;padding:12px!important}
.cc-experience-card--featured{border-width:2px!important;background:linear-gradient(145deg,#fff,#fbfdfc)!important}
.cc-experience-preview{width:108px!important;height:96px!important;min-height:96px!important}
.cc-ribbon-panel-close{z-index:6!important;opacity:1!important;visibility:visible!important}
.cc-experience-preview.is-pro{background:#fff7f2!important}
.cc-experience-preview.is-pro i:nth-child(1){left:4px!important;top:4px!important;bottom:4px!important;width:21px!important;border-radius:6px!important;background:#eef8f4!important;box-shadow:0 23px 0 #fff1ed,0 46px 0 #eef3ff!important}
.cc-experience-preview.is-pro i:nth-child(2){left:30px!important;right:26px!important;top:5px!important;height:15px!important;border-radius:5px!important;background:linear-gradient(90deg,#f49ab5,#72cdb7)!important}
.cc-experience-preview.is-pro i:nth-child(3){left:30px!important;right:26px!important;top:25px!important;bottom:9px!important;border:1px solid #d9e2df!important;border-radius:5px!important;background:repeating-linear-gradient(0deg,#fff 0 10px,#e9efed 10px 11px),repeating-linear-gradient(90deg,transparent 0 18px,#e9efed 18px 19px)!important}
.cc-experience-preview.is-pro em{right:4px!important;top:4px!important;bottom:4px!important;width:18px!important;border-radius:6px!important;background:#fdf3f8!important}
.cc-experience-preview.is-pro b{left:35px!important;right:31px!important;bottom:3px!important;height:5px!important;border-radius:5px!important;background:#45ad8f!important}
.cc-experience-preview.is-kids{background:linear-gradient(145deg,#fff9cf,#effcff)!important}
.cc-experience-preview.is-kids i:nth-child(1){left:6px!important;right:6px!important;top:6px!important;height:20px!important;border-radius:999px!important;background:linear-gradient(90deg,#ff617b,#ffd548,#42cc91,#62a9ff,#a473ff)!important}
.cc-experience-preview.is-kids i:nth-child(2){left:8px!important;top:35px!important;width:21px!important;height:21px!important;border-radius:50%!important;background:#ff6d80!important;box-shadow:30px 0 #ffd54a,60px 0 #4acb91!important}
.cc-experience-preview.is-kids i:nth-child(3){left:9px!important;right:9px!important;top:63px!important;bottom:8px!important;border:2px solid #785de0!important;border-radius:8px!important;background:#fff!important}
.cc-experience-preview.is-kids em{right:7px!important;top:34px!important;width:20px!important;height:20px!important;border-radius:7px!important;background:#62a9ff!important;transform:rotate(8deg)!important}
.cc-experience-preview.is-kids b{left:46px!important;top:38px!important;color:#fff!important;font-size:13px!important}
.cc-experience-preview.is-kids b::before{content:"★"}
.cc-experience-preview.is-sparkle{overflow:hidden!important;background:linear-gradient(145deg,#fff7fc,#f3edff 58%,#ecfffc)!important}
.cc-experience-preview.is-sparkle i:nth-child(1){left:8px!important;right:8px!important;top:7px!important;height:17px!important;border:1px solid rgba(255,255,255,.8)!important;border-radius:999px!important;background:linear-gradient(90deg,#ff9dca,#b894ff,#7edfd1)!important;box-shadow:0 4px 12px rgba(198,109,183,.25)!important}
.cc-experience-preview.is-sparkle i:nth-child(2){left:9px!important;right:29px!important;top:31px!important;bottom:8px!important;border:1px solid #e5d5ec!important;border-radius:9px!important;background:rgba(255,255,255,.8)!important}
.cc-experience-preview.is-sparkle i:nth-child(3){right:7px!important;top:32px!important;bottom:8px!important;width:17px!important;border-radius:999px!important;background:linear-gradient(#ffd8eb,#d9c9ff,#b9efe9)!important}
.cc-experience-preview.is-sparkle em{left:18px!important;top:44px!important;color:#ff80bd!important;font-size:20px!important}
.cc-experience-preview.is-sparkle em::before{content:"♡"}
.cc-experience-preview.is-sparkle b{right:11px!important;top:9px!important;color:#fff!important;font-size:11px!important;text-shadow:0 0 7px #fff!important}
.cc-experience-preview.is-sparkle b::before{content:"✦"}

/* Creator Pro: left creation shelf, central canvas, right contextual inspector. */
@media(min-width:901px){
  .cc-workspace--dedicated[data-cc-experience-style="pro"]{background:#f5f7f6!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-probar{border-bottom:1px solid #e5e8e7!important;background:rgba(255,253,250,.97)!important;color:#243b35!important;box-shadow:0 7px 24px rgba(61,48,37,.07)!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs button{min-height:48px!important;padding:0 15px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#334b44!important;font-weight:900!important;box-shadow:none!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs button.is-active{background:#e4f5ef!important;color:#0b7960!important;box-shadow:inset 0 0 0 1px #a9d9ca!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-ribbon-save{background:linear-gradient(135deg,#68c6af,#41a88e)!important;color:#fff!important;box-shadow:0 6px 15px rgba(44,151,125,.18)!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-left,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-right{position:fixed!important;top:76px!important;bottom:86px!important;z-index:320;display:flex!important;flex-direction:column!important;gap:8px!important;padding:11px!important;border:1px solid rgba(64,111,96,.16)!important;background:rgba(255,253,250,.96)!important;box-shadow:0 15px 38px rgba(42,71,61,.13)!important;backdrop-filter:blur(18px)!important;transition:top .2s ease!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"].cc-ribbon-open .cc-experience-pro-left,
  .cc-workspace--dedicated[data-cc-experience-style="pro"].cc-ribbon-open .cc-experience-pro-right{top:202px!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-left{left:10px!important;width:192px!important;border-radius:18px 10px 10px 18px!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-right{right:10px!important;width:226px!important;border-radius:10px 18px 18px 10px!important}
  .cc-experience-pro-brand{display:flex!important;align-items:center!important;gap:9px!important;margin:0 0 4px!important;padding:9px!important;border-radius:12px!important;background:linear-gradient(135deg,#eff9f5,#fff5ef)!important;color:#17836a!important}
  .cc-experience-pro-brand>span{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:11px!important;background:#fff!important;font-size:23px!important;box-shadow:0 4px 12px rgba(38,136,107,.12)!important}
  .cc-experience-pro-brand>div{display:grid!important;gap:1px!important;margin:0!important}.cc-experience-pro-brand strong{font-size:12px!important}.cc-experience-pro-brand small{color:#9f7b70!important;font-size:7px!important;font-weight:950!important;letter-spacing:.2em!important}
  .cc-experience-pro-left>button,.cc-experience-pro-right button{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:45px!important;margin:0!important;padding:7px 10px!important;border:1px solid transparent!important;border-radius:12px!important;background:#fff!important;color:#395149!important;font-size:10px!important;font-weight:900!important;text-align:left!important;cursor:pointer!important;box-shadow:0 3px 10px rgba(38,73,61,.055)!important}
  .cc-experience-pro-left>button>span,.cc-experience-pro-right button>span{display:grid!important;place-items:center!important;width:29px!important;height:29px!important;flex:0 0 29px!important;border-radius:9px!important;background:#eef7f4!important;color:#1a8267!important;font:900 12px/1 ui-rounded,sans-serif!important}
  .cc-experience-pro-left>button:hover,.cc-experience-pro-right button:hover{border-color:#a9d7c8!important;background:#eff9f5!important;transform:translateX(2px)!important}
  .cc-experience-pro-right>header{display:grid!important;gap:4px!important;margin:0 0 3px!important;padding:12px!important;border-radius:13px!important;background:linear-gradient(145deg,#fef1f5,#f1f8ff)!important}
  .cc-experience-pro-right>header span{color:#e2618c!important;font-size:7px!important;font-weight:950!important;letter-spacing:.17em!important}.cc-experience-pro-right>header strong{color:#3a403f!important;font-size:13px!important}.cc-experience-pro-right>header small{color:#77817e!important;font-size:8px!important;line-height:1.5!important}
  .cc-experience-context-tools{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin:0!important}.cc-experience-context-tools button{display:grid!important;grid-template-columns:30px 1fr!important;min-height:48px!important;padding:7px!important}.cc-experience-context-tools button:disabled{opacity:.38!important;cursor:not-allowed!important;transform:none!important}
  .cc-experience-pro-settings{margin-top:auto!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-pages{width:auto!important;max-width:none!important;margin-left:204px!important;margin-right:238px!important;padding:7px!important;background:#edf3f1!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-sheet-wrap{border:1px solid #d9e3df!important;border-radius:10px!important;background:#fff!important;box-shadow:0 7px 23px rgba(45,72,63,.09)!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel{margin-left:204px!important;margin-right:238px!important;width:auto!important;border:1px solid #e2e6e4!important;border-radius:0!important;background:#fffdfb!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-editor-dock{left:216px!important;right:250px!important;width:auto!important;transform:none!important;border:1px solid rgba(30,104,82,.22)!important;border-radius:17px!important;background:rgba(14,68,53,.96)!important;box-shadow:0 13px 34px rgba(32,64,54,.21)!important}
}

/* Kids Festival: toy-like controls, rainbow headers and click celebrations. */
.cc-workspace--dedicated[data-cc-experience-style="kids"]{background:radial-gradient(circle at 8% 18%,rgba(255,224,86,.34),transparent 26%),radial-gradient(circle at 92% 24%,rgba(99,184,255,.31),transparent 25%),linear-gradient(150deg,#fff9df,#f4fbff 47%,#fff1f7)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-probar{border-bottom:5px solid transparent!important;border-image:linear-gradient(90deg,#ff617b,#ffd64f,#42cc91,#62a9ff,#a473ff) 1!important;background:linear-gradient(135deg,#5635a8,#7b4ed4)!important;box-shadow:0 8px 0 rgba(74,48,138,.15)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs{gap:8px!important;padding:7px 10px!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs button{min-height:47px!important;padding:0 15px!important;border:3px solid rgba(255,255,255,.78)!important;border-radius:17px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;font:950 10px/1 ui-rounded,"Arial Rounded MT Bold",sans-serif!important;box-shadow:0 4px 0 rgba(46,27,102,.25)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs button:nth-of-type(3n+1){transform:rotate(-1deg)!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs button:nth-of-type(3n){transform:rotate(1deg)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs button.is-active{background:#ffd64f!important;color:#4b3488!important;box-shadow:0 4px 0 #e7a91d!important;transform:translateY(-2px) rotate(0)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-panel-head{background:linear-gradient(145deg,#ff5f7b,#ff8758 48%,#ffbf3f)!important;box-shadow:0 8px 0 rgba(202,68,77,.13)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group{border-width:3px!important;border-color:#fff!important;border-radius:20px!important;background:#fffef7!important;box-shadow:0 6px 0 rgba(100,72,154,.10)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(4n+2){background:#fff2f7!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(4n+3){background:#f0fbff!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(4n){background:#f2fff7!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group-emblem{border-radius:50%!important;background:#7354d8!important;color:#fff!important;box-shadow:0 3px 0 #4d34a6!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-pages{padding:9px!important;background:transparent!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-sheet-wrap{border:5px solid #fff!important;border-radius:23px!important;background:#fff!important;box-shadow:0 11px 0 rgba(102,74,154,.10),0 20px 40px rgba(75,54,122,.13)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-sheet thead th:nth-child(5n+2){background:#fff2a7!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-sheet thead th:nth-child(5n+3){background:#ffd9e6!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-sheet thead th:nth-child(5n+4){background:#d8f7e8!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-sheet thead th:nth-child(5n){background:#dcecff!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-sheet thead th:nth-child(5n+1){background:#eadfff!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel{gap:7px!important;padding:7px 9px!important;background:#fff!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel button{border:2px solid #7a5bd7!important;border-radius:13px!important;background:#fff!important;color:#5a3fac!important;box-shadow:0 3px 0 #d8ccff!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel button.is-active{background:#ffd751!important;color:#543b99!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-editor-dock{border:4px solid #fff!important;border-radius:25px!important;background:linear-gradient(100deg,#5135a1,#7950d1 55%,#4b8bd8)!important;box-shadow:0 9px 0 rgba(63,43,124,.18),0 18px 34px rgba(62,44,111,.22)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-editor-dock .cc-dock-key{border:2px solid rgba(255,255,255,.82)!important;border-radius:17px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;box-shadow:0 4px 0 rgba(40,24,92,.22)!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-editor-dock .cc-dock-key:nth-child(4n+1){background:#ef5d7d!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-editor-dock .cc-dock-key:nth-child(4n+2){background:#e8a82d!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-editor-dock .cc-dock-key:nth-child(4n+3){background:#31a878!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-editor-dock .cc-dock-key:nth-child(4n){background:#4b88dc!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-experience-kids-badge{position:fixed;right:17px;top:83px;z-index:330;display:grid;grid-template-columns:35px auto;align-items:center;gap:0 8px;padding:8px 14px 8px 9px;border:3px solid #fff;border-radius:999px;background:linear-gradient(135deg,#ff617b,#ff934f);color:#fff;box-shadow:0 6px 0 rgba(198,64,80,.16),0 12px 25px rgba(116,54,95,.18);animation:cc-kids-bob 2.1s ease-in-out infinite}.cc-experience-kids-badge>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffd64f;color:#6b45bc;font-size:18px;box-shadow:inset 0 0 0 3px rgba(255,255,255,.55)}.cc-experience-kids-badge strong{font:950 10px/1.2 ui-rounded,"Arial Rounded MT Bold",sans-serif}.cc-experience-kids-badge i{font-size:7px;font-style:normal;font-weight:950;letter-spacing:.12em;opacity:.78}
@keyframes cc-kids-bob{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(5px) rotate(1deg)}}

/* Sparkle Dream: translucent pearl UI, dedicated jewel rail and light effects. */
.cc-workspace--dedicated[data-cc-experience-style="sparkle"]{background:radial-gradient(circle at 12% 16%,rgba(255,180,221,.34),transparent 25%),radial-gradient(circle at 84% 14%,rgba(187,154,255,.31),transparent 28%),radial-gradient(circle at 60% 88%,rgba(126,229,217,.25),transparent 28%),linear-gradient(145deg,#fff9fd,#f7f1ff 54%,#f0fffc)!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"]::before{content:"✦   ·   ✧     ·  ✦        ✧   ·    ✦";position:fixed;inset:75px 0 auto 0;z-index:1;height:90px;color:rgba(255,255,255,.9);font-size:26px;letter-spacing:6vw;text-shadow:0 0 14px #ff8bc7,0 0 22px #9d85ff;pointer-events:none;animation:cc-sparkle-drift 7s ease-in-out infinite}
@keyframes cc-sparkle-drift{0%,100%{opacity:.52;transform:translateY(0)}50%{opacity:1;transform:translateY(12px)}}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-probar{border-bottom:1px solid rgba(215,166,209,.35)!important;background:linear-gradient(100deg,rgba(255,250,253,.96),rgba(248,241,255,.96),rgba(239,255,252,.96))!important;color:#59475d!important;box-shadow:0 8px 28px rgba(118,74,120,.13)!important;backdrop-filter:blur(22px)!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs button{min-height:44px!important;border:1px solid rgba(213,167,205,.28)!important;border-radius:999px!important;background:rgba(255,255,255,.56)!important;color:#6d526e!important;box-shadow:inset 0 1px rgba(255,255,255,.9)!important}.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs button.is-active{border-color:#ec91bd!important;background:linear-gradient(135deg,#ffadd2,#c5a2ff)!important;color:#fff!important;box-shadow:0 6px 17px rgba(208,102,172,.26),inset 0 1px rgba(255,255,255,.55)!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-panel-head{background:linear-gradient(145deg,#f06da8,#bd7de3 52%,#7ccfc7)!important;box-shadow:0 10px 25px rgba(180,96,170,.24)!important}.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-group{border-color:rgba(220,180,216,.5)!important;background:rgba(255,255,255,.78)!important;box-shadow:0 8px 20px rgba(119,77,123,.09),inset 0 1px #fff!important;backdrop-filter:blur(14px)!important}.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-group-emblem{background:linear-gradient(145deg,#ffd8e9,#e2d4ff)!important;color:#a44b8a!important;box-shadow:0 3px 8px rgba(184,92,157,.15)!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-pages{margin-right:124px!important;padding:8px!important;background:transparent!important}.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-sheet-wrap{border:1px solid rgba(215,178,211,.6)!important;border-radius:18px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 18px 48px rgba(110,70,118,.15),0 0 0 5px rgba(255,255,255,.45)!important}.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-float-object.is-selected{outline:3px solid #f071b1!important;filter:drop-shadow(0 0 10px rgba(240,113,177,.48))!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-dream-rail{position:fixed;top:83px;right:10px;bottom:89px;z-index:325;display:flex;flex-direction:column;gap:9px;width:108px;padding:10px;border:1px solid rgba(225,176,216,.55);border-radius:24px;background:linear-gradient(160deg,rgba(255,247,252,.91),rgba(244,236,255,.91),rgba(235,255,251,.91));box-shadow:0 17px 42px rgba(111,71,119,.18),inset 0 1px #fff;backdrop-filter:blur(24px)}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"].cc-ribbon-open .cc-experience-dream-rail{top:209px}
.cc-experience-dream-rail>strong{display:grid;place-items:center;gap:3px;padding:7px 2px;color:#9f568f;font:900 8px/1.2 ui-rounded,sans-serif;letter-spacing:.04em}.cc-experience-dream-rail>strong span{color:#f171b5;font-size:22px;text-shadow:0 0 12px #ffb9dd}
.cc-experience-dream-rail>button{display:grid;place-items:center;gap:5px;min-height:64px;padding:7px 3px;border:1px solid rgba(216,168,207,.5);border-radius:18px;background:rgba(255,255,255,.7);color:#72556f;cursor:pointer;box-shadow:0 5px 13px rgba(130,80,124,.08),inset 0 1px #fff}.cc-experience-dream-rail>button>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:linear-gradient(145deg,#ffd1e5,#d9c9ff,#bdeee8);color:#9f4e91;font-size:16px;box-shadow:0 4px 10px rgba(190,105,174,.2)}.cc-experience-dream-rail>button>b{font-size:8px}.cc-experience-dream-rail>button:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(183,96,164,.18),0 0 17px rgba(255,149,205,.27)}.cc-experience-dream-rail>button:disabled{opacity:.35;cursor:not-allowed;transform:none}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock{right:130px!important;border:1px solid rgba(226,170,211,.6)!important;border-radius:25px!important;background:linear-gradient(100deg,rgba(91,55,91,.93),rgba(92,62,116,.93),rgba(52,102,99,.93))!important;box-shadow:0 16px 42px rgba(77,47,84,.24),0 0 0 3px rgba(255,255,255,.45)!important;backdrop-filter:blur(22px)!important}.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock .cc-dock-key{border:1px solid rgba(255,255,255,.17)!important;border-radius:18px!important;background:rgba(255,255,255,.09)!important;color:#fff!important}.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock .cc-dock-key:hover{background:linear-gradient(145deg,rgba(255,139,196,.38),rgba(181,141,255,.34))!important}

/* Mobile: the reference experience becomes fixed top actions + persistent bottom navigation. */
@media(max-width:900px){
  .cc-experience-options{grid-template-columns:1fr!important;max-height:58vh!important;padding:12px!important}.cc-experience-card{grid-template-columns:104px minmax(0,1fr)!important;min-height:118px!important}.cc-experience-preview{width:94px!important;height:88px!important;min-height:88px!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{position:fixed!important;left:8px!important;right:8px!important;bottom:calc(91px + env(safe-area-inset-bottom,0px))!important;z-index:10040!important;display:flex!important;align-content:flex-start!important;align-items:stretch!important;flex-wrap:wrap!important;gap:8px!important;width:auto!important;height:auto!important;min-height:0!important;max-height:56dvh!important;padding:9px!important;border:1px solid rgba(75,111,99,.18)!important;border-radius:23px!important;background:rgba(248,252,250,.98)!important;box-shadow:0 23px 65px rgba(22,52,43,.28)!important;overflow-x:hidden!important;overflow-y:auto!important;backdrop-filter:blur(22px)!important}
  .cc-workspace--dedicated .cc-ribbon-panel-head{position:sticky!important;top:0!important;z-index:2!important;grid-template-columns:40px 1fr!important;flex:1 0 100%!important;min-width:0!important;min-height:70px!important;padding:10px 42px 10px 10px!important;border-radius:17px!important}.cc-workspace--dedicated .cc-ribbon-panel-emblem{width:34px!important;height:34px!important}.cc-workspace--dedicated .cc-ribbon-panel-head strong{font-size:13px!important}.cc-workspace--dedicated .cc-ribbon-panel-head small{font-size:8px!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{flex:1 1 calc(50% - 5px)!important;min-width:140px!important;min-height:92px!important;border-radius:16px!important}.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--studio,.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--shapes,.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--free-text{min-width:140px!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-mobile-nav,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-experience-mobile-nav,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav{position:fixed;left:8px;right:8px;bottom:calc(6px + env(safe-area-inset-bottom,0px));z-index:10030;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;height:76px;padding:6px;border:1px solid rgba(60,94,83,.15);border-radius:22px;background:rgba(255,253,251,.97);box-shadow:0 12px 34px rgba(40,64,56,.22);backdrop-filter:blur(22px)}
  .cc-experience-mobile-nav button{display:grid;place-items:center;align-content:center;gap:4px;min-width:0;padding:4px 2px;border:0;border-radius:15px;background:transparent;color:#39534b}.cc-experience-mobile-nav button>span{font:900 20px/1 ui-rounded,sans-serif}.cc-experience-mobile-nav button>b{font-size:8px;white-space:nowrap}.cc-experience-mobile-nav button:nth-child(3){background:linear-gradient(145deg,#ff8fbd,#c692f2);color:#fff;box-shadow:0 5px 14px rgba(204,102,168,.25)}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock{bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;left:8px!important;right:8px!important;width:auto!important;transform:none!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel{margin-bottom:162px!important}
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-pages{margin-right:0!important}.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-dream-rail{display:none!important}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-experience-kids-badge{display:none!important}
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-experience-mobile-nav{border:3px solid #fff;background:linear-gradient(100deg,#5b3bac,#6a50cf,#467fca)}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-experience-mobile-nav button{color:#fff}.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-experience-mobile-nav button:nth-child(3){background:#ffd64f;color:#5b3bac;box-shadow:0 4px 0 #dcae23}
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav{border-color:rgba(225,170,212,.55);background:linear-gradient(100deg,rgba(255,249,252,.97),rgba(247,239,255,.97),rgba(238,255,252,.97))}.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav button{color:#755673}
}

@media(prefers-reduced-motion:reduce){
  .cc-experience-particle{display:none!important}.cc-experience-kids-badge,.cc-workspace--dedicated[data-cc-experience-style="sparkle"]::before{animation:none!important}.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{animation:none!important}
}
html.cc-experience-open{overflow:hidden!important}

/* Settings always has an obvious home, independent of the selected style. */
.cc-workspace--dedicated .cc-ribbon-experience{
  position:sticky!important;
  right:73px!important;
  z-index:8!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:68px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 10px!important;
  border:1px solid rgba(50,124,101,.23)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#286b59!important;
  box-shadow:0 4px 13px rgba(33,92,74,.10)!important;
  cursor:pointer!important;
}
.cc-workspace--dedicated .cc-ribbon-experience>span{font-size:15px;line-height:1}
.cc-workspace--dedicated .cc-ribbon-experience>b{font-size:9px;font-weight:900;white-space:nowrap}
.cc-workspace--dedicated .cc-ribbon-experience:hover,
.cc-workspace--dedicated .cc-ribbon-experience:focus-visible{
  border-color:#66b29c!important;
  background:#edf9f5!important;
  outline:3px solid rgba(52,151,120,.18)!important;
  outline-offset:1px!important;
}
.cc-experience-mobile-trigger{display:none}

/* Live-preview experience chooser. */
.cc-experience-overlay[hidden]{display:none!important}
.cc-experience-overlay{
  position:fixed;
  inset:0;
  z-index:10000120;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(22,43,37,.58);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.cc-experience-dialog{
  width:min(920px,96vw);
  max-height:min(820px,94dvh);
  overflow:auto;
  color:var(--cc-exp-ink);
  border:1px solid rgba(205,226,218,.94);
  border-radius:28px;
  background:#fff;
  box-shadow:var(--cc-exp-shadow);
  overscroll-behavior:contain;
}
.cc-experience-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:25px 27px 21px;
  background:linear-gradient(120deg,#eaf9f3 0%,#fff8ef 52%,#f3efff 100%);
}
.cc-experience-head small{display:block;color:#38856f;font-size:9px;font-weight:950;letter-spacing:.18em}
.cc-experience-head h2{margin:4px 0 5px;font-size:27px;line-height:1.25;letter-spacing:.01em}
.cc-experience-head p{max-width:660px;margin:0;color:#60766e;font-size:11px;line-height:1.7}
.cc-experience-head>button{
  flex:0 0 44px;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid #bdd6cd;
  border-radius:50%;
  background:rgba(255,255,255,.88);
  color:#41645a;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}
.cc-experience-current{
  display:flex;
  align-items:center;
  gap:9px;
  margin:17px 22px 0;
  padding:10px 13px;
  border:1px solid #d9e9e3;
  border-radius:13px;
  background:#f8fcfa;
}
.cc-experience-current>span{padding:3px 7px;border-radius:999px;background:#dff3eb;color:#25715d;font-size:8px;font-weight:950}
.cc-experience-current>strong{color:#315e51;font-size:12px}
.cc-experience-current>small{margin-left:auto;color:#71817c;font-size:9px}
.cc-experience-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px 22px 12px}
.cc-experience-card{
  position:relative;
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  align-items:center;
  gap:15px;
  min-width:0;
  min-height:157px;
  padding:14px;
  overflow:hidden;
  border:2px solid #e1ebe7;
  border-radius:20px;
  background:#fff;
  color:inherit;
  text-align:left;
  box-shadow:0 8px 24px rgba(33,73,60,.06);
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.cc-experience-card:hover{transform:translateY(-2px);border-color:#98cabb;box-shadow:0 14px 31px rgba(33,90,71,.11)}
.cc-experience-card:focus-visible{outline:4px solid rgba(45,151,118,.2);outline-offset:2px}
.cc-experience-card.is-selected{border-color:#2f9a79;background:linear-gradient(145deg,#fff,#f1fbf7);box-shadow:0 13px 32px rgba(35,128,98,.15)}
.cc-experience-check{
  position:absolute;
  right:12px;
  top:12px;
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  border-radius:50%;
  background:#dce9e4;
  color:#fff;
  font-size:12px;
  opacity:.65;
}
.cc-experience-card.is-selected .cc-experience-check{background:#2a9a77;opacity:1}
.cc-experience-card-copy{display:grid;gap:5px;min-width:0;padding-right:18px}
.cc-experience-card-copy strong{font-size:16px;line-height:1.3}
.cc-experience-card-copy small{color:#33816b;font-size:9px;font-weight:900}
.cc-experience-card-copy em{color:#6c7c77;font-size:10px;font-style:normal;line-height:1.65}

/* Small, literal layout previews: Studio has horizontal tools; Focus has a side rail. */
.cc-experience-preview{
  position:relative;
  display:block;
  width:150px;
  height:116px;
  overflow:hidden;
  border:1px solid #cbdcd6;
  border-radius:12px;
  background:#f6faf8;
  box-shadow:inset 0 0 0 3px #fff;
}
.cc-experience-preview i,.cc-experience-preview em,.cc-experience-preview b{position:absolute;display:block}
.cc-experience-preview.is-studio i:nth-child(1){left:5px;right:5px;top:5px;height:15px;border-radius:6px;background:linear-gradient(90deg,#bfe7d9,#ffe1d1,#ded7f8)}
.cc-experience-preview.is-studio i:nth-child(2){left:5px;right:5px;top:24px;height:21px;border-radius:5px;background:#e9f3ef}
.cc-experience-preview.is-studio i:nth-child(3){left:14px;right:14px;top:53px;bottom:16px;border:1px solid #cfe0da;border-radius:5px;background:repeating-linear-gradient(0deg,#fff 0 10px,#e8efec 10px 11px),repeating-linear-gradient(90deg,transparent 0 25px,#e8efec 25px 26px)}
.cc-experience-preview.is-studio em{left:6px;right:6px;bottom:5px;height:8px;border-radius:999px;background:#dff1ea}
.cc-experience-preview.is-studio b{right:11px;top:9px;width:18px;height:7px;border-radius:5px;background:#4a9e85}
.cc-experience-preview.is-focus i:nth-child(1){left:5px;top:5px;bottom:5px;width:22px;border-radius:7px;background:linear-gradient(#176f58,#0c4c3d)}
.cc-experience-preview.is-focus i:nth-child(1):after{content:"";position:absolute;left:6px;right:6px;top:12px;height:5px;border-radius:4px;background:#fff;box-shadow:0 14px 0 rgba(255,255,255,.7),0 28px 0 rgba(255,255,255,.7),0 42px 0 rgba(255,255,255,.7)}
.cc-experience-preview.is-focus i:nth-child(2){left:34px;right:6px;top:6px;height:14px;border-radius:5px;background:#eff5f2}
.cc-experience-preview.is-focus i:nth-child(3){left:35px;right:7px;top:27px;bottom:15px;border:1px solid #cadbd5;border-radius:6px;background:repeating-linear-gradient(0deg,#fff 0 12px,#e5edea 12px 13px),repeating-linear-gradient(90deg,transparent 0 28px,#e5edea 28px 29px)}
.cc-experience-preview.is-focus em{left:43px;right:15px;bottom:6px;height:6px;border-radius:999px;background:#dbe9e4}
.cc-experience-preview.is-focus b{left:10px;bottom:11px;width:12px;height:12px;border-radius:50%;background:#f3cf69}
.cc-experience-care{
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 22px;
  padding:12px 14px;
  border:1px dashed #c7ddd5;
  border-radius:14px;
  background:#fffdf7;
}
.cc-experience-care>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#e8f7f1;color:#298367;font-size:18px;font-weight:900}
.cc-experience-care>div{display:grid;gap:2px}.cc-experience-care strong{font-size:11px}.cc-experience-care small{color:#6d7d77;font-size:9px;line-height:1.55}
.cc-experience-status{min-height:18px;margin:10px 24px 0;color:#5e716a;font-size:10px;text-align:center}
.cc-experience-status[data-state="preview"]{color:#7b6527}
.cc-experience-status[data-state="saving"]{color:#337665}
.cc-experience-status[data-state="success"]{color:#13734f;font-weight:900}
.cc-experience-status[data-state="warning"]{color:#a05f22;font-weight:800}
.cc-experience-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px 20px}
.cc-experience-actions>div{display:flex;gap:9px}
.cc-experience-actions button{min-height:42px;padding:0 16px;border:1px solid #d0ddd8;border-radius:12px;background:#fff;color:#526760;font-size:10px;font-weight:900;cursor:pointer}
.cc-experience-actions button:hover{background:#f4faf7}
.cc-experience-actions button.is-primary{min-width:160px;border-color:#15815f;background:linear-gradient(135deg,#299a77,#157555);color:#fff;box-shadow:0 7px 18px rgba(23,117,85,.19)}
.cc-experience-actions button:disabled{opacity:.58;cursor:wait}

/* Keep the chooser independent from broad editor/theme rules that add margins to
 * form descendants or hide every footer while the dedicated editor is open. */
.cc-experience-overlay,.cc-experience-dialog,.cc-experience-head,.cc-experience-options,.cc-experience-actions{margin:0!important;box-sizing:border-box}
.cc-experience-head>div,.cc-experience-care>div,.cc-experience-actions>div{margin:0!important}
.cc-experience-current{margin:17px 22px 0!important}
.cc-experience-care{margin:0 22px!important}
.cc-experience-status{margin:10px 24px 0!important}
.cc-workspace--dedicated .cc-experience-actions{display:flex!important}

/* Focus desktop: narrow command rail, broad canvas, tools appear beside the rail only when requested. */
@media(min-width:901px){
  .cc-workspace--dedicated[data-cc-experience-style="focus"]{
    background:linear-gradient(150deg,#f2f6f4 0%,#fff 48%,#f5f3f8 100%)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-editor{
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-probar{
    position:fixed!important;
    inset:10px auto 10px 10px!important;
    z-index:10000012!important;
    display:block!important;
    width:78px!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    border:1px solid rgba(31,102,80,.24)!important;
    border-radius:20px!important;
    background:linear-gradient(180deg,#0e6650 0%,#094534 100%)!important;
    box-shadow:0 18px 44px rgba(14,70,53,.25)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon{
    width:100%!important;
    height:100%!important;
    overflow:visible!important;
    border:0!important;
    border-radius:20px!important;
    background:transparent!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:4px!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:7px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    border:0!important;
    border-radius:20px!important;
    background:transparent!important;
    box-shadow:none!important;
    scrollbar-width:none;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs::-webkit-scrollbar{display:none}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs button{
    position:relative!important;
    inset:auto!important;
    z-index:1!important;
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    width:64px!important;
    min-width:64px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 5px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.045)!important;
    color:#ecfaf5!important;
    box-shadow:none!important;
    font-size:8px!important;
    font-weight:850!important;
    line-height:1.16!important;
    text-align:center!important;
    white-space:normal!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs button:hover,
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs button:focus-visible{
    border-color:rgba(255,255,255,.4)!important;
    background:rgba(255,255,255,.15)!important;
    outline:2px solid rgba(255,255,255,.18)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs button[data-ribbon-tab].is-active{
    border-color:#bce9da!important;
    background:#fff!important;
    color:#0d6f52!important;
    box-shadow:0 5px 14px rgba(2,36,25,.23)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs .cc-ribbon-save{
    min-width:64px!important;
    background:linear-gradient(135deg,#f3ca63,#f0a954)!important;
    border-color:rgba(255,239,182,.76)!important;
    color:#473512!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs .cc-ribbon-save::before{margin-right:3px!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-history{font-size:18px!important;line-height:1!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-spacer{display:block!important;flex:1 1 auto!important;min-height:7px!important;min-width:0!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-experience{
    position:static!important;
    right:auto!important;
    flex-direction:column!important;
    gap:1px!important;
    width:64px!important;
    min-width:64px!important;
    height:45px!important;
    min-height:45px!important;
    padding:3px!important;
    border-color:rgba(194,238,222,.46)!important;
    background:rgba(255,255,255,.12)!important;
    color:#fff!important;
    box-shadow:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-experience>span{font-size:15px}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-experience>b{font-size:7px}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs .cc-ribbon-close{
    position:static!important;
    right:auto!important;
    min-width:64px!important;
    border-color:rgba(255,255,255,.14)!important;
    background:rgba(3,27,20,.24)!important;
    color:#fff!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-panel{
    position:fixed!important;
    left:98px!important;
    right:auto!important;
    top:10px!important;
    z-index:10000011!important;
    width:min(930px,calc(100vw - 112px))!important;
    min-height:0!important;
    height:auto!important;
    max-height:calc(100dvh - 20px)!important;
    margin:0!important;
    padding:9px!important;
    overflow:auto!important;
    border:1px solid rgba(185,213,203,.9)!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 22px 62px rgba(20,57,45,.24)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-panel.is-active{
    display:flex!important;
    align-items:stretch!important;
    gap:7px!important;
    min-height:76px!important;
    max-height:calc(100dvh - 20px)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    height:auto!important;
    min-height:70px!important;
    max-height:none!important;
    padding:7px 9px!important;
    border:1px solid #dfebe6!important;
    border-radius:12px!important;
    background:#f9fcfb!important;
    color:#263e36!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group>div{height:auto!important;min-height:36px!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group>span{height:auto!important;min-height:0!important;color:#678078!important;font-size:8px!important;line-height:1.3!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group button,
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group select,
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group label{height:32px!important;min-height:32px!important;color:#2d443d!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-pages{
    align-self:flex-end!important;
    width:calc(100% - 98px)!important;
    max-width:calc(100% - 98px)!important;
    margin:0!important;
    padding:10px 12px 96px 2px!important;
    background:transparent!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-page.is-active{
    border:1px solid #dbe6e2!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:0 12px 34px rgba(30,66,55,.09)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-sheet-shell{padding:8px!important;background:#f4f7f6!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-sheet-wrap{border-radius:8px!important;box-shadow:0 6px 18px rgba(36,69,58,.08)!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel{
    align-self:flex-end!important;
    width:calc(100% - 98px)!important;
    margin:0 0 0 98px!important;
    padding-left:7px!important;
    background:rgba(244,247,246,.98)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock{
    left:106px!important;
    right:14px!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    min-height:58px!important;
    padding:6px 7px!important;
    border-radius:17px!important;
    box-shadow:0 15px 38px rgba(16,66,48,.17)!important;
  }
}

/* Phones keep all tools reachable, but use a light compact top strip and a permanent settings bubble. */
@media(max-width:900px){
  .cc-workspace--dedicated .cc-ribbon-experience{display:none!important}
  .cc-workspace--dedicated .cc-experience-mobile-trigger{
    position:fixed;
    right:max(10px,env(safe-area-inset-right));
    bottom:calc(78px + env(safe-area-inset-bottom));
    z-index:10000045;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    min-width:62px;
    height:39px;
    padding:0 11px;
    border:1px solid rgba(28,117,89,.25);
    border-radius:999px;
    background:rgba(255,255,255,.96);
    color:#176f55;
    box-shadow:0 8px 24px rgba(17,83,61,.19);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    cursor:pointer;
  }
  .cc-experience-mobile-trigger>span{font-size:14px}.cc-experience-mobile-trigger>b{font-size:8px;font-weight:950}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-probar{
    margin:4px 4px 0!important;
    border:1px solid #d2e1dc!important;
    border-radius:13px 13px 0 0!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 7px 20px rgba(34,79,64,.09)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    min-height:43px!important;
    padding:4px!important;
    gap:2px!important;
    background:linear-gradient(90deg,#f4faf7,#fffaf3)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs button{
    height:34px!important;
    min-height:34px!important;
    padding:0 9px!important;
    border-radius:9px!important;
    color:#375d51!important;
    font-size:8px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs .cc-ribbon-save{
    background:#18805f!important;
    color:#fff!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs .cc-ribbon-close{
    background:#eef4f2!important;
    color:#4a625b!important;
    border-color:#d6e2de!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-panel.is-active{
    min-height:52px!important;
    max-height:70px!important;
    height:58px!important;
    padding:3px!important;
    gap:3px!important;
    background:#fff!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group{
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    border-color:#e0eae6!important;
    background:#f8fbfa!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-pages{padding:4px 3px 90px!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-page.is-active{border-radius:10px!important;box-shadow:none!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-sheet-shell{padding:3px!important;background:#f2f5f4!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel{margin-bottom:66px!important;background:#f5f7f6!important}
}

@media(max-width:700px){
  .cc-experience-overlay{padding:0}
  .cc-experience-dialog{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0}
  .cc-experience-head{padding:17px 16px 15px}.cc-experience-head h2{font-size:22px}.cc-experience-head p{font-size:10px}
  .cc-experience-head>button{width:40px;height:40px;flex-basis:40px}
  .cc-experience-current{margin:11px 12px 0;padding:9px 10px;align-items:flex-start;flex-wrap:wrap}
  .cc-experience-current>small{width:100%;margin-left:0}
  .cc-experience-options{grid-template-columns:1fr;gap:9px;padding:11px 12px 9px}
  .cc-experience-card{grid-template-columns:115px minmax(0,1fr);min-height:124px;padding:10px;border-radius:16px}
  .cc-experience-preview{width:115px;height:91px}
  .cc-experience-card-copy strong{font-size:14px}.cc-experience-card-copy em{font-size:9px;line-height:1.5}
  .cc-experience-care{margin:0 12px;padding:9px 10px}.cc-experience-care small{font-size:8px}
  .cc-experience-status{margin:7px 12px 0}
  .cc-experience-actions{position:sticky;bottom:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);box-shadow:0 -8px 22px rgba(30,62,52,.07)}
  .cc-experience-actions button{min-height:40px;padding:0 11px;font-size:9px}.cc-experience-actions button.is-primary{min-width:135px}
}

@media(max-width:420px){
  .cc-experience-card{grid-template-columns:92px minmax(0,1fr)}
  .cc-experience-preview{width:92px;height:78px}
  .cc-experience-card-copy em{display:none}
  .cc-experience-actions{align-items:stretch}.cc-experience-actions>div{flex:1}.cc-experience-actions>button{padding-inline:7px}.cc-experience-actions>div button{flex:1}.cc-experience-actions button.is-primary{min-width:0}
}

@media(prefers-reduced-motion:reduce){
  .cc-experience-card{transition:none!important}
  .cc-experience-card:hover{transform:none}
}

/* v0.8.438 — three additional, deliberately different work styles. */
.cc-experience-preview.is-paper{background:#f8f0df}
.cc-experience-preview.is-paper i:nth-child(1){left:5px;right:5px;top:5px;height:18px;border-radius:5px;background:#8b6549}
.cc-experience-preview.is-paper i:nth-child(2){left:14px;right:14px;top:30px;bottom:16px;border:1px solid #cdbb9d;border-radius:2px;background:repeating-linear-gradient(0deg,#fffdf7 0 12px,#e7dcc8 12px 13px),repeating-linear-gradient(90deg,transparent 0 28px,#e7dcc8 28px 29px);box-shadow:0 3px 9px rgba(94,69,42,.13)}
.cc-experience-preview.is-paper i:nth-child(3){left:7px;right:7px;bottom:5px;height:7px;border-radius:3px;background:#d9c5a4}
.cc-experience-preview.is-paper b{right:10px;top:9px;width:20px;height:8px;border-radius:3px;background:#f1c66d}
.cc-experience-preview.is-contrast{border-color:#111;background:#fff}
.cc-experience-preview.is-contrast i:nth-child(1){inset:4px 4px auto;height:20px;background:#050505}
.cc-experience-preview.is-contrast i:nth-child(2){left:5px;top:29px;bottom:5px;width:27px;background:#ffe500}
.cc-experience-preview.is-contrast i:nth-child(3){left:38px;right:5px;top:29px;bottom:16px;border:2px solid #050505;background:repeating-linear-gradient(0deg,#fff 0 11px,#111 11px 12px),repeating-linear-gradient(90deg,transparent 0 25px,#111 25px 26px)}
.cc-experience-preview.is-contrast em{left:40px;right:7px;bottom:6px;height:6px;background:#050505}
.cc-experience-preview.is-contrast b{right:9px;top:9px;width:21px;height:9px;background:#ffe500}
.cc-experience-preview.is-zen{background:linear-gradient(150deg,#eef3f5,#fbfcfc)}
.cc-experience-preview.is-zen i:nth-child(1){left:25px;right:25px;top:7px;height:12px;border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 3px 10px rgba(48,71,79,.12)}
.cc-experience-preview.is-zen i:nth-child(2){left:8px;right:8px;top:27px;bottom:14px;border:1px solid #d6e0e3;border-radius:8px;background:repeating-linear-gradient(0deg,rgba(255,255,255,.88) 0 13px,#e8edef 13px 14px),repeating-linear-gradient(90deg,transparent 0 29px,#e8edef 29px 30px)}
.cc-experience-preview.is-zen i:nth-child(3){left:39px;right:39px;bottom:5px;height:8px;border-radius:999px;background:rgba(54,75,82,.18)}
.cc-experience-preview.is-zen b{left:50%;top:9px;width:28px;height:5px;border-radius:999px;background:#8fa5ac;transform:translateX(-50%)}

/* Full-bleed is the shared editor contract for every current and future style. */
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-editor{display:flex!important;flex-direction:column!important;width:100%!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-pages{display:flex!important;flex:1 1 0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-page.is-active,
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-shell,
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-wrap{display:flex!important;flex:1 1 0!important;min-width:0!important;min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-wrap{display:block!important;overflow:auto!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel{flex:0 0 auto!important;margin-bottom:76px!important;border-radius:0!important}

/* Focus: bold navy command rail and substantially larger targets. */
@media(min-width:901px){
  .cc-workspace--dedicated[data-cc-experience-style="focus"]{background:#eef2f8!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-probar{inset:0 auto 0 0!important;width:102px!important;border:0!important;border-radius:0!important;background:linear-gradient(180deg,#111b3f 0%,#18295a 52%,#101832 100%)!important;box-shadow:8px 0 28px rgba(13,25,61,.24)!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{align-items:stretch!important;gap:8px!important;padding:10px!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs button{width:82px!important;min-width:82px!important;height:49px!important;min-height:49px!important;border-color:rgba(188,207,255,.18)!important;border-radius:14px!important;background:rgba(255,255,255,.08)!important;color:#f5f7ff!important;font-size:9px!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs button[data-ribbon-tab].is-active{border-color:#8bdcff!important;background:#8bdcff!important;color:#10204c!important;box-shadow:0 8px 20px rgba(70,193,241,.28)!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs .cc-ribbon-save{background:#ffdb63!important;border-color:#ffe999!important;color:#27213a!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-experience{width:82px!important;min-width:82px!important;height:49px!important;min-height:49px!important;border-color:rgba(139,220,255,.42)!important;background:rgba(139,220,255,.13)!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-panel{left:110px!important;width:min(960px,calc(100vw - 122px))!important;border-color:#c6d2ed!important;box-shadow:0 24px 70px rgba(13,30,73,.25)!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-pages{align-self:flex-end!important;width:calc(100% - 102px)!important;max-width:calc(100% - 102px)!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel{align-self:flex-end!important;width:calc(100% - 102px)!important;margin-left:102px!important;background:#e7ecf5!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock{left:112px!important;right:12px!important;border-color:rgba(128,181,255,.28)!important;background:linear-gradient(135deg,#111a3c,#172957)!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key{height:58px!important;min-height:58px!important;border-color:rgba(190,210,255,.17)!important;background:rgba(255,255,255,.08)!important}
}

/* Paper desk: horizontal warm tool shelf and notebook-like canvas. */
.cc-workspace--dedicated[data-cc-experience-style="paper"]{background:#eee2ce!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-probar{background:#795b42!important;border-bottom:4px solid #edc56d!important;box-shadow:0 5px 18px rgba(86,60,37,.2)!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs button{border-color:rgba(255,255,255,.18)!important;background:rgba(255,255,255,.1)!important;color:#fff9ef!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs button.is-active,.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-save{background:#f3ca70!important;color:#4c3522!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-experience{border-color:#d8b980!important;background:#fff6e6!important;color:#6c4b31!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-pages{background:#f4ead9!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-sheet-wrap{background:#fffef9!important;box-shadow:inset 0 0 0 1px #dcccad!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel{background:#dcc7a4!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel button.is-active{background:#fffaf0!important;color:#68492f!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock{border-color:#c5a97a!important;background:linear-gradient(135deg,#6f513a,#87684d)!important;box-shadow:0 13px 34px rgba(75,51,31,.28)!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock .cc-dock-key{border-color:rgba(255,241,211,.22)!important;background:rgba(255,248,231,.10)!important}

/* High contrast: black, white and signal yellow with oversized controls. */
.cc-workspace--dedicated[data-cc-experience-style="contrast"]{background:#fff!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-probar{background:#050505!important;border-bottom:5px solid #ffe500!important;box-shadow:none!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs button{min-height:46px!important;padding-inline:14px!important;border:2px solid #fff!important;border-radius:4px!important;background:#050505!important;color:#fff!important;font-size:11px!important;font-weight:950!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs button.is-active,.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-save{border-color:#ffe500!important;background:#ffe500!important;color:#050505!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-experience{height:46px!important;border:2px solid #ffe500!important;border-radius:4px!important;background:#050505!important;color:#ffe500!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group{border:2px solid #050505!important;border-radius:2px!important;background:#fff!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel{border-top:3px solid #050505!important;background:#ffe500!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel button{border:2px solid #050505!important;border-radius:2px!important;background:#fff!important;color:#050505!important;font-weight:950!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock{border:3px solid #ffe500!important;border-radius:7px!important;background:#050505!important;box-shadow:none!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key{height:60px!important;min-height:60px!important;border:2px solid #fff!important;border-radius:5px!important;background:#050505!important;color:#fff!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key:focus-visible{outline:4px solid #ffe500!important}

/* Zen: controls are quiet floating capsules; the sheet owns the screen. */
.cc-workspace--dedicated[data-cc-experience-style="zen"]{background:linear-gradient(145deg,#edf2f4,#fafcfc)!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-probar{width:min(930px,calc(100% - 24px))!important;margin:8px auto 0!important;border:1px solid rgba(104,126,132,.22)!important;border-radius:999px!important;background:rgba(255,255,255,.84)!important;box-shadow:0 10px 28px rgba(49,72,78,.12)!important;backdrop-filter:blur(18px)!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs button{border:0!important;border-radius:999px!important;background:transparent!important;color:#50656b!important;box-shadow:none!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs button.is-active{background:#dfe9ec!important;color:#273d43!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-experience{border:0!important;border-radius:999px!important;background:#e5edef!important;color:#465c62!important;box-shadow:none!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-pages{background:transparent!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-sheet-wrap{background:rgba(255,255,255,.93)!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel{width:max-content!important;max-width:calc(100% - 32px)!important;align-self:center!important;margin-inline:auto!important;border:1px solid rgba(92,117,124,.18)!important;border-radius:999px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 6px 18px rgba(56,79,85,.10)!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock{left:50%!important;right:auto!important;width:min(920px,calc(100vw - 28px))!important;border:1px solid rgba(99,121,128,.24)!important;border-radius:999px!important;background:rgba(40,57,62,.86)!important;box-shadow:0 13px 34px rgba(31,49,54,.17)!important;transform:translateX(-50%)!important;backdrop-filter:blur(18px)!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key{height:50px!important;min-height:50px!important;border:0!important;border-radius:999px!important;background:rgba(255,255,255,.07)!important;box-shadow:none!important}

@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel{margin-bottom:70px!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-probar{background:#111b3f!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs button{min-height:40px!important;background:rgba(255,255,255,.08)!important;color:#fff!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs button.is-active{background:#8bdcff!important;color:#10204c!important}
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-probar{width:calc(100% - 10px)!important;margin-top:4px!important;border-radius:16px!important}
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel{width:calc(100% - 12px)!important;max-width:none!important}
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs button{min-height:40px!important;padding-inline:9px!important;font-size:9px!important}
}

/* v0.8.440 cascade seal: chooser sizing must win over legacy theme cards. */
.cc-experience-dialog{width:min(1180px,calc(100vw - 30px))!important;max-height:min(92vh,850px)!important}
.cc-experience-options{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-height:54vh!important;overflow:auto!important;overscroll-behavior:contain!important;padding:16px 22px!important}
.cc-experience-card{grid-template-columns:118px minmax(0,1fr)!important;min-height:132px!important;padding:12px!important}
.cc-experience-preview{width:108px!important;height:96px!important;min-height:96px!important}
@media(max-width:900px){
  .cc-experience-options{grid-template-columns:1fr!important;max-height:58vh!important;padding:12px!important}
  .cc-experience-card{grid-template-columns:104px minmax(0,1fr)!important;min-height:118px!important}
  .cc-experience-preview{width:94px!important;height:88px!important;min-height:88px!important}
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel,.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel,.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel{margin-bottom:162px!important}
  .cc-workspace--dedicated.cc-ribbon-open .cc-workspace-grid,.cc-workspace--dedicated.cc-ribbon-open .cc-workspace-editor,.cc-workspace--dedicated.cc-ribbon-open .cc-office-editor,.cc-workspace--dedicated.cc-ribbon-open .cc-office-probar,.cc-workspace--dedicated.cc-ribbon-open [data-cc-excel-ribbon],.cc-workspace--dedicated.cc-ribbon-open .cc-excel-ribbon{overflow:visible!important;contain:none!important;filter:none!important}
  .cc-workspace--dedicated.cc-ribbon-open .cc-office-probar,.cc-workspace--dedicated.cc-ribbon-open [data-cc-excel-ribbon],.cc-workspace--dedicated.cc-ribbon-open .cc-excel-ribbon{transform:none!important;z-index:10050!important}
  .cc-mobile-ribbon-portal-host{position:fixed!important;inset:0!important;z-index:2147481000!important;display:block!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;pointer-events:none!important}
  .cc-mobile-ribbon-portal-host[hidden]{display:none!important}
  .cc-mobile-ribbon-portal-host .cc-mobile-ribbon-portal{position:static!important;width:0!important;height:0!important;overflow:visible!important;pointer-events:none!important}
  .cc-mobile-ribbon-portal-host .cc-excel-ribbon-panel.is-active{pointer-events:auto!important}
}

/* v0.8.442 — balanced ribbon + unmistakable footer submenu return path */
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
  display:flex!important;align-items:stretch!important;gap:7px!important;height:86px!important;min-height:86px!important;max-height:86px!important;
  padding:6px 7px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-padding-inline:7px!important;
}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
  display:grid!important;grid-template-rows:18px 1fr!important;align-items:stretch!important;align-content:stretch!important;
  flex:0 0 auto!important;width:max-content!important;min-width:118px!important;max-width:none!important;height:74px!important;min-height:74px!important;max-height:74px!important;
  margin:0!important;padding:0!important;border:1px solid rgba(43,105,83,.14)!important;border-radius:12px!important;overflow:hidden!important;
}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
  order:1!important;position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0 8px!important;border:0!important;border-bottom:1px solid rgba(43,105,83,.10)!important;
  font-size:8px!important;line-height:18px!important;font-weight:800!important;letter-spacing:.02em!important;text-align:center!important;white-space:nowrap!important;
}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span:after{display:none!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>div{
  order:2!important;display:flex!important;align-items:center!important;align-content:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;
  width:100%!important;height:55px!important;min-height:55px!important;margin:0!important;padding:5px 7px!important;gap:5px!important;overflow:visible!important;box-sizing:border-box!important;
}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group select,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group label,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group input:not([type="color"]):not([type="checkbox"]):not([type="radio"]){
  height:32px!important;min-height:32px!important;margin:0!important;box-sizing:border-box!important;border-radius:8px!important;font-size:9px!important;line-height:1.1!important;
}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--formula{min-width:390px!important;width:min(470px,78vw)!important}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--formula>div{height:55px!important;grid-template-columns:46px 22px minmax(130px,1fr) auto auto auto!important;align-items:center!important}

.cc-workspace--dedicated .cc-editor-dock.has-submenu{grid-template-columns:72px 98px minmax(0,1fr)!important;height:74px!important;min-height:74px!important;max-height:74px!important}
.cc-workspace--dedicated .cc-editor-dock .cc-dock-base-back[hidden]{display:none!important}
.cc-workspace--dedicated .cc-editor-dock .cc-dock-base-back{
  display:flex!important;grid-column:2!important;align-self:center!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  width:94px!important;min-width:94px!important;max-width:94px!important;height:56px!important;min-height:56px!important;margin:0!important;padding:4px 7px!important;
  border:1px solid rgba(255,255,255,.13)!important;border-radius:15px!important;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025))!important;color:#f6fff9!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.cc-workspace--dedicated .cc-editor-dock .cc-dock-base-back>span{font-size:21px!important;line-height:1!important;color:#f9fffc!important}
.cc-workspace--dedicated .cc-editor-dock .cc-dock-base-back small{display:block!important;margin-top:5px!important;font-size:8px!important;line-height:1!important;font-weight:900!important;letter-spacing:.02em!important;color:rgba(229,242,235,.82)!important;white-space:nowrap!important}
.cc-workspace--dedicated .cc-editor-dock.has-submenu .cc-editor-dock-tools{grid-column:3!important;height:64px!important;min-height:64px!important}
.cc-workspace--dedicated .cc-editor-dock .cc-dock-context-pill{
  flex:0 0 112px!important;width:112px!important;height:56px!important;min-height:56px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  padding:4px 7px!important;border:1px solid rgba(255,219,91,.62)!important;border-radius:15px!important;background:linear-gradient(145deg,rgba(190,132,20,.38),rgba(100,71,8,.24))!important;
  box-shadow:0 0 18px rgba(255,202,70,.08),inset 0 1px 0 rgba(255,255,255,.08)!important;color:#fff8d8!important;box-sizing:border-box!important;
}
.cc-workspace--dedicated .cc-editor-dock .cc-dock-context-pill>span{font-size:22px!important;line-height:1!important;color:#ffe47e!important}
.cc-workspace--dedicated .cc-editor-dock .cc-dock-context-pill small{margin-top:5px!important;font-size:8px!important;line-height:1!important;font-weight:900!important;letter-spacing:.02em!important;color:#fff4c6!important;white-space:nowrap!important}
.cc-workspace--dedicated .cc-editor-dock[data-context="border"] .cc-border-tools .cc-dock-key{border-color:rgba(255,225,111,.20)!important}

@media(max-width:760px){
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{height:80px!important;min-height:80px!important;max-height:80px!important;padding:5px!important;gap:5px!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{height:70px!important;min-height:70px!important;max-height:70px!important;min-width:104px!important;grid-template-rows:17px 1fr!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{height:17px!important;min-height:17px!important;line-height:17px!important;font-size:7px!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>div{height:52px!important;min-height:52px!important;padding:4px 5px!important;gap:4px!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button,.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group select,.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group label{height:30px!important;min-height:30px!important;font-size:8px!important}
  .cc-workspace--dedicated .cc-editor-dock.has-submenu{grid-template-columns:66px 84px minmax(0,1fr)!important;height:70px!important;min-height:70px!important;max-height:70px!important;padding:4px 5px!important}
  .cc-workspace--dedicated .cc-editor-dock .cc-dock-base-back{width:80px!important;min-width:80px!important;max-width:80px!important;height:53px!important;min-height:53px!important;padding:3px!important}
  .cc-workspace--dedicated .cc-editor-dock .cc-dock-base-back small{font-size:7px!important}
  .cc-workspace--dedicated .cc-editor-dock .cc-dock-context-pill{flex-basis:96px!important;width:96px!important;height:53px!important;min-height:53px!important;padding:3px 5px!important}
  .cc-workspace--dedicated .cc-editor-dock .cc-dock-context-pill small{font-size:7px!important}
}

/* v0.8.443 — compact two-row mobile ribbon, centered PC headings, calmer Dream mode */
.cc-workspace--dedicated[data-cc-experience-style="sparkle"]::before{content:none!important;display:none!important;animation:none!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-fx-layer{display:none!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-dream-rail>strong{min-height:34px!important;color:#7c5a78!important;text-shadow:none!important}

/* Save / Mode / Close are one predictable cluster at the far-left of the top ribbon. */
.cc-workspace--dedicated .cc-excel-ribbon-tabs .cc-ribbon-experience{
  position:relative!important;left:auto!important;right:auto!important;order:-99!important;flex:0 0 auto!important;
  min-width:66px!important;height:38px!important;min-height:38px!important;margin:0 2px 0 0!important;padding:0 9px!important;
  gap:5px!important;border:1px solid rgba(221,198,255,.48)!important;border-radius:10px!important;
  background:linear-gradient(145deg,#f2eaff,#e8defa)!important;color:#664d89!important;
  box-shadow:0 5px 14px rgba(94,63,132,.15),inset 0 1px #fff!important;
}
.cc-workspace--dedicated .cc-excel-ribbon-tabs .cc-ribbon-close{
  position:relative!important;left:auto!important;right:auto!important;order:-98!important;flex:0 0 auto!important;margin:0 4px 0 0!important;
}
.cc-ribbon-mode-icon{display:grid!important;place-items:center!important;width:17px!important;height:17px!important;flex:0 0 17px!important}
.cc-ribbon-mode-icon svg{display:block!important;width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.cc-workspace--dedicated .cc-excel-ribbon-tabs .cc-ribbon-experience>b{font-size:9px!important;font-weight:900!important}
.cc-experience-mobile-trigger{display:none!important}

/* Footer text always contrasts against the deliberately dark dock backgrounds. */
.cc-workspace--dedicated .cc-editor-dock :is(.cc-editor-dock-text,.cc-editor-dock-tools) :is(small,b,strong),
.cc-workspace--dedicated .cc-editor-dock .cc-dock-key small,
.cc-workspace--dedicated .cc-editor-dock .cc-dock-color small,
.cc-workspace--dedicated .cc-editor-dock .cc-image-range small,
.cc-workspace--dedicated .cc-editor-dock .cc-image-blend small{
  color:#f8fffb!important;opacity:1!important;text-shadow:0 1px 2px rgba(0,0,0,.34)!important;
}
.cc-workspace--dedicated .cc-editor-dock :is(.cc-dock-key,.cc-dock-color)>span{
  color:#f8fffb!important;opacity:1!important;
}
.cc-workspace--dedicated .cc-editor-dock :is(.cc-dock-key,.cc-dock-color) svg{stroke:currentColor!important}

@media(min-width:901px){
  /* The group heading is truly centered and lowered into its own row so it never collides with controls. */
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    height:90px!important;min-height:90px!important;max-height:90px!important;padding:6px 7px!important;gap:7px!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
    height:78px!important;min-height:78px!important;max-height:78px!important;grid-template-rows:22px 1fr!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
    display:flex!important;align-items:flex-end!important;justify-content:center!important;width:100%!important;height:22px!important;min-height:22px!important;
    margin:0!important;padding:0 8px 3px!important;text-align:center!important;font-size:8.5px!important;line-height:1!important;white-space:nowrap!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span .cc-ribbon-group-emblem{display:none!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>div{
    height:55px!important;min-height:55px!important;padding:4px 7px 5px!important;align-items:center!important;align-content:center!important;
  }
}

@media(max-width:900px){
  /* Mobile ribbon = two fixed-height horizontal rows: tabs, then commands. No fullscreen drawer. */
  .cc-mobile-ribbon-portal-host{display:none!important}
  .cc-workspace--dedicated .cc-office-probar{overflow:hidden!important}
  .cc-workspace--dedicated .cc-excel-ribbon-tabs{
    display:flex!important;align-items:center!important;flex-wrap:nowrap!important;width:100%!important;height:52px!important;min-height:52px!important;max-height:52px!important;
    padding:5px 6px!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;scrollbar-width:thin!important;
  }
  .cc-workspace--dedicated .cc-excel-ribbon-tabs>button{
    flex:0 0 auto!important;height:40px!important;min-height:40px!important;padding:0 10px!important;font-size:9px!important;white-space:nowrap!important;
  }
  .cc-workspace--dedicated .cc-excel-ribbon-tabs .cc-ribbon-save,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs .cc-ribbon-experience,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs .cc-ribbon-close{height:40px!important;min-height:40px!important;min-width:58px!important;padding:0 8px!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    position:static!important;inset:auto!important;z-index:auto!important;display:flex!important;align-items:stretch!important;align-content:stretch!important;flex-wrap:nowrap!important;
    width:100%!important;height:52px!important;min-height:52px!important;max-height:52px!important;margin:0!important;padding:3px 5px!important;gap:5px!important;
    border:0!important;border-top:1px solid rgba(51,109,89,.13)!important;border-bottom:1px solid rgba(51,109,89,.15)!important;border-radius:0!important;
    background:linear-gradient(180deg,#f9fcfb,#eef6f3)!important;box-shadow:none!important;
    overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;scrollbar-width:thin!important;backdrop-filter:none!important;
  }
  .cc-workspace--dedicated .cc-ribbon-panel-head{display:none!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
    display:grid!important;grid-template-rows:14px 1fr!important;flex:0 0 auto!important;width:max-content!important;min-width:104px!important;max-width:none!important;
    height:46px!important;min-height:46px!important;max-height:46px!important;margin:0!important;padding:0!important;border-radius:9px!important;overflow:hidden!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
    display:flex!important;align-items:flex-end!important;justify-content:center!important;width:100%!important;height:14px!important;min-height:14px!important;margin:0!important;
    padding:0 5px 2px!important;border:0!important;border-bottom:1px solid rgba(46,102,83,.08)!important;font-size:7px!important;line-height:1!important;text-align:center!important;white-space:nowrap!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span .cc-ribbon-group-emblem{display:none!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>div{
    display:flex!important;align-items:center!important;align-content:center!important;flex-wrap:nowrap!important;width:max-content!important;min-width:100%!important;height:31px!important;min-height:31px!important;
    padding:2px 4px!important;gap:3px!important;overflow:visible!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group select,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group label,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group input:not([type="color"]):not([type="checkbox"]):not([type="radio"]){
    flex:0 0 auto!important;height:27px!important;min-height:27px!important;max-height:27px!important;margin:0!important;padding:0 7px!important;border-radius:7px!important;font-size:7.5px!important;line-height:1!important;white-space:nowrap!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--formula{width:max-content!important;min-width:360px!important}
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group--shapes{min-width:330px!important}
  .cc-workspace--dedicated.cc-ribbon-open .cc-office-probar,
  .cc-workspace--dedicated.cc-ribbon-open [data-cc-excel-ribbon],
  .cc-workspace--dedicated.cc-ribbon-open .cc-excel-ribbon{overflow:hidden!important;contain:none!important;filter:none!important;transform:none!important}
}


/* v0.8.444 — reliable axis actions, compact ribbon headings, readable dock text */
.cc-workspace--dedicated .cc-axis-size-head{
  position:relative!important;
  min-height:34px!important;
  padding:0 46px 9px 0!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
}
.cc-workspace--dedicated .cc-axis-size-head>[data-axis-close]{
  position:absolute!important;
  top:-2px!important;
  right:0!important;
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  z-index:2!important;
}

/* Every editor theme uses a dark or saturated dock. Force labels/icons to the
   opposite high-contrast color so a theme cannot wash the footer text out. */
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock :is(.cc-dock-key,.cc-dock-color,.cc-dock-base-back,.cc-dock-context-pill),
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock :is(.cc-dock-key,.cc-dock-color,.cc-dock-base-back,.cc-dock-context-pill) :is(span,small,b,strong){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  text-shadow:0 1px 2px rgba(0,0,0,.55)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock :is(.cc-dock-key,.cc-dock-color,.cc-dock-base-back,.cc-dock-context-pill) svg{
  color:#fff!important;
  stroke:#fff!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-dock-key small,
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-dock-color small{
  font-weight:900!important;
  letter-spacing:0!important;
}

@media(min-width:901px){
  /* The heading is only a slim caption row. The command row keeps the available
     height, so labels remain centered without pushing controls below the ribbon. */
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    height:72px!important;
    min-height:72px!important;
    max-height:72px!important;
    padding:4px 6px!important;
    gap:6px!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
    height:64px!important;
    min-height:64px!important;
    max-height:64px!important;
    grid-template-rows:15px 49px!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
    height:15px!important;
    min-height:15px!important;
    padding:0 7px 1px!important;
    align-items:flex-end!important;
    justify-content:center!important;
    font-size:7.5px!important;
    line-height:1!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>div{
    height:49px!important;
    min-height:49px!important;
    padding:3px 6px 4px!important;
    gap:4px!important;
    align-items:center!important;
    align-content:center!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group select,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group label,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group input:not([type="color"]):not([type="checkbox"]):not([type="radio"]){
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    font-size:8.5px!important;
  }
}

/* v0.8.445 — percentage ribbon geometry + safe canvas offsets
   The ribbon used to accumulate fixed pixel rows from several themes.  Keep the
   panel height responsive, then divide every group by ratio so headings and
   controls cannot push each other out of view. */
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
  box-sizing:border-box!important;
  align-items:stretch!important;
  align-content:stretch!important;
  min-height:0!important;
}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-rows:16% 84%!important;
  align-items:stretch!important;
  align-content:stretch!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
  box-sizing:border-box!important;
  display:flex!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0 4%!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>div{
  box-sizing:border-box!important;
  display:flex!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:2% 3%!important;
  gap:clamp(3px,.35vw,6px)!important;
  align-items:center!important;
  align-content:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group select,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group label,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group input:not([type="color"]):not([type="checkbox"]):not([type="radio"]){
  box-sizing:border-box!important;
  height:auto!important;
  min-height:0!important;
  max-height:82%!important;
  margin:0!important;
  align-self:center!important;
}

@media(min-width:901px){
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    height:clamp(76px,9.2vh,94px)!important;
    min-height:clamp(76px,9.2vh,94px)!important;
    max-height:clamp(76px,9.2vh,94px)!important;
    padding:.45% .55%!important;
    gap:.55%!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
    font-size:clamp(7.5px,.56vw,9px)!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group select,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group label,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group input:not([type="color"]):not([type="checkbox"]):not([type="radio"]){
    padding-block:clamp(4px,.55vh,7px)!important;
    font-size:clamp(8px,.61vw,9.5px)!important;
    line-height:1!important;
  }

  /* Fixed side rails must reserve canvas space.  The row-number gutter and A
     column now start beside the rail instead of underneath it. */
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-pages{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-left:102px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    padding-left:102px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-pages{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-left:204px!important;
    padding-right:238px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-left:204px!important;
    padding-right:238px!important;
  }
}

/* Base/Studio has the original dark green top ribbon.  Explicit contrast rules
   stop the generic studio stylesheet from painting dark text onto that bar. */
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs>button:not(.cc-ribbon-save):not(.cc-ribbon-experience):not([data-ribbon-tab].is-active){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  text-shadow:0 1px 1px rgba(0,0,0,.20)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs>button:disabled:not(.cc-ribbon-save):not(.cc-ribbon-experience){
  color:rgba(255,255,255,.56)!important;
  -webkit-text-fill-color:rgba(255,255,255,.56)!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs .cc-ribbon-experience{
  border-color:#d9cce7!important;
  background:#f5effb!important;
  color:#3d3150!important;
  -webkit-text-fill-color:#3d3150!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs .cc-ribbon-close{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Dark-theme ribbon labels stay readable even when another stylesheet is loaded
   later. Active tabs keep each theme's dedicated foreground defined above. */
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs>button:not(.is-active),
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs>button:not(.is-active),
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs>button:not(.is-active),
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs>button:not(.is-active){
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs>button:not(.is-active):not(.cc-ribbon-experience),
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs>button:not(.is-active):not(.cc-ribbon-save),
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs>button:not(.is-active):not(.cc-ribbon-experience),
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs>button:not(.is-active):not(.cc-ribbon-experience){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

@media(max-width:900px){
  /* Same proportional geometry on phones: two rows remain fixed as a concept,
     while each command group uses a caption/command ratio instead of pixel rows. */
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
    padding:3px 5px!important;
    gap:5px!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
    grid-template-rows:18% 82%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
    height:100%!important;
    min-height:0!important;
    padding:0 4%!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:7px!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>div{
    height:100%!important;
    min-height:0!important;
    padding:2% 3%!important;
    align-items:center!important;
    align-content:center!important;
    justify-content:center!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group select,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group label,
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group input:not([type="color"]):not([type="checkbox"]):not([type="radio"]){
    height:auto!important;
    min-height:0!important;
    max-height:78%!important;
    padding:3px 6px!important;
    font-size:7.5px!important;
  }
}


/* v0.8.446 — dedicated Illustration launcher beside AI */
.cc-workspace--dedicated .cc-editor-dock{
  padding-left:202px!important;
}
.cc-workspace--dedicated .cc-dock-illustration{
  position:absolute!important;
  left:132px!important;
  top:8px!important;
  z-index:6!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  width:60px!important;
  min-width:60px!important;
  height:58px!important;
  min-height:58px!important;
  margin:0!important;
  padding:3px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,#fff4da,#f1dbc0)!important;
  color:#4a2d22!important;
  box-shadow:0 7px 18px rgba(56,34,25,.16),inset 0 1px 0 rgba(255,255,255,.85)!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated .cc-dock-illustration:hover,
.cc-workspace--dedicated .cc-dock-illustration:focus-visible{
  border-color:#d7a971!important;
  background:linear-gradient(145deg,#fff9e9,#f3dfc5)!important;
  color:#3b231b!important;
}
.cc-workspace--dedicated .cc-dock-illustration .cc-dock-dog-icon{
  display:grid!important;
  place-items:center!important;
  width:31px!important;
  height:31px!important;
  color:#5a392b!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated .cc-dock-illustration .cc-dock-dog-icon svg{
  width:31px!important;
  height:31px!important;
  fill:#f6c887!important;
  stroke:#5a392b!important;
  stroke-width:3!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.cc-workspace--dedicated .cc-dock-illustration .cc-dock-dog-icon circle{
  fill:#4a2d22!important;
  stroke:none!important;
}
.cc-workspace--dedicated .cc-dock-illustration small{
  display:block!important;
  margin:1px 0 0!important;
  color:#3f281f!important;
  -webkit-text-fill-color:#3f281f!important;
  font-size:8px!important;
  font-weight:950!important;
  line-height:1!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated .cc-editor-dock.is-keyboard-mode,
.cc-workspace--dedicated .cc-editor-dock.is-viewport-keyboard{
  padding-left:108px!important;
}
.cc-workspace--dedicated .cc-editor-dock.is-keyboard-mode .cc-dock-illustration,
.cc-workspace--dedicated .cc-editor-dock.is-viewport-keyboard .cc-dock-illustration{
  left:56px!important;
  top:4px!important;
  width:46px!important;
  min-width:46px!important;
  height:40px!important;
  min-height:40px!important;
  border-radius:11px!important;
}
.cc-workspace--dedicated .cc-editor-dock.is-keyboard-mode .cc-dock-illustration .cc-dock-dog-icon,
.cc-workspace--dedicated .cc-editor-dock.is-viewport-keyboard .cc-dock-illustration .cc-dock-dog-icon{
  width:25px!important;height:25px!important;
}
.cc-workspace--dedicated .cc-editor-dock.is-keyboard-mode .cc-dock-illustration .cc-dock-dog-icon svg,
.cc-workspace--dedicated .cc-editor-dock.is-viewport-keyboard .cc-dock-illustration .cc-dock-dog-icon svg{
  width:25px!important;height:25px!important;
}
.cc-workspace--dedicated .cc-editor-dock.is-keyboard-mode .cc-dock-illustration small,
.cc-workspace--dedicated .cc-editor-dock.is-viewport-keyboard .cc-dock-illustration small{
  display:none!important;
}
@media(max-width:760px){
  .cc-workspace--dedicated .cc-editor-dock{padding-left:184px!important}
  .cc-workspace--dedicated .cc-dock-illustration{
    left:116px!important;
    top:6px!important;
    width:58px!important;
    min-width:58px!important;
    height:50px!important;
    min-height:50px!important;
  }
}

/* v0.8.451 — command-first ribbon, 5/95 expanded layout, left-anchored AI + Illustration */
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:clamp(2px,.28vw,5px)!important;
  width:100%!important;
  height:clamp(62px,7.2vh,72px)!important;
  min-height:clamp(62px,7.2vh,72px)!important;
  max-height:clamp(62px,7.2vh,72px)!important;
  padding:.45% .5%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:thin!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command{
  box-sizing:border-box!important;
  position:relative!important;
  inset:auto!important;
  order:0!important;
  flex:0 0 clamp(48px,4.15vw,60px)!important;
  width:clamp(48px,4.15vw,60px)!important;
  min-width:clamp(48px,4.15vw,60px)!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:5% 4% 4%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3%!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.07))!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 5px 0 rgba(7,54,38,.18),inset 0 1px 0 rgba(255,255,255,.22)!important;
  text-shadow:none!important;
  overflow:hidden!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command::before,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command::after{content:none!important;display:none!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command:hover,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command:focus-visible{
  transform:translateY(-1px)!important;
  filter:brightness(1.08)!important;
  outline:2px solid rgba(255,255,255,.25)!important;
  outline-offset:1px!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command:active{
  transform:translateY(2px)!important;
  box-shadow:0 2px 0 rgba(7,54,38,.18),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
  width:clamp(27px,2.15vw,34px)!important;
  height:clamp(27px,2.15vw,34px)!important;
  margin:0!important;
  color:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command-icon svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-pdf-icon svg text{
  fill:currentColor!important;
  stroke:none!important;
  font-size:5.5px!important;
  font-weight:950!important;
  font-family:Arial,sans-serif!important;
  letter-spacing:-.25px!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command small{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:clamp(7px,.56vw,9px)!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-close{
  background:linear-gradient(180deg,#6f7774,#555d5a)!important;
  border-color:#858e8a!important;
  color:#fff!important;
  box-shadow:0 5px 0 #414744,inset 0 1px 0 rgba(255,255,255,.22)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-save{
  background:linear-gradient(180deg,#31b57d,#15895c)!important;
  border-color:#56d39f!important;
  color:#fff!important;
  box-shadow:0 5px 0 #0b6542,0 8px 17px rgba(14,119,78,.18),inset 0 1px 0 rgba(255,255,255,.28)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-experience{
  background:linear-gradient(180deg,#8f79bd,#6f5a9d)!important;
  border-color:#aa96d0!important;
  color:#fff!important;
  box-shadow:0 5px 0 #56457f,inset 0 1px 0 rgba(255,255,255,.25)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-undo,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-redo{
  background:linear-gradient(180deg,#547c8b,#3d606d)!important;
  border-color:#7195a2!important;
  color:#fff!important;
  box-shadow:0 5px 0 #2f4c56,inset 0 1px 0 rgba(255,255,255,.2)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-share,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-print,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-pdf{
  background:linear-gradient(180deg,#516f66,#3d5850)!important;
  border-color:#718b83!important;
  color:#fff!important;
  box-shadow:0 5px 0 #30453f,inset 0 1px 0 rgba(255,255,255,.2)!important;
}

/* Home and everything to its right: pale raised tabs, not flat dark buttons. */
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  box-sizing:border-box!important;
  position:relative!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:max-content!important;
  height:88%!important;
  min-height:0!important;
  margin:auto 0!important;
  padding:0 clamp(10px,.9vw,16px)!important;
  border:1px solid rgba(255,255,255,.36)!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(226,238,233,.78))!important;
  color:#385149!important;
  -webkit-text-fill-color:#385149!important;
  font-size:clamp(8px,.72vw,10.5px)!important;
  font-weight:850!important;
  line-height:1!important;
  text-shadow:none!important;
  box-shadow:0 4px 0 rgba(22,73,56,.18),0 7px 13px rgba(8,48,35,.09),inset 0 1px 0 #fff!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:hover,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:focus-visible{
  background:linear-gradient(180deg,#fff,#eaf3ef)!important;
  color:#1e604b!important;
  -webkit-text-fill-color:#1e604b!important;
  transform:translateY(-1px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:active{
  transform:translateY(2px)!important;
  box-shadow:0 2px 0 rgba(22,73,56,.18),inset 0 1px 0 #fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  border-color:#76bba4!important;
  background:linear-gradient(180deg,#f8fffc,#dff4ec)!important;
  color:#0b7354!important;
  -webkit-text-fill-color:#0b7354!important;
  box-shadow:0 3px 0 #8bc9b5,0 6px 14px rgba(17,103,77,.13),inset 0 1px 0 #fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]::after{content:none!important;display:none!important}

/* Expanded ribbon: exact two-part vertical geometry. */
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:5% 95%!important;
  align-items:stretch!important;
  align-content:stretch!important;
  width:100%!important;
  height:clamp(118px,13.5vh,150px)!important;
  min-height:clamp(118px,13.5vh,150px)!important;
  max-height:clamp(118px,13.5vh,150px)!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  border:0!important;
  border-bottom:1px solid #d6e3de!important;
  border-radius:0!important;
  background:#f6faf8!important;
  box-shadow:0 10px 24px rgba(21,67,53,.10)!important;
  overflow:hidden!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head{
  box-sizing:border-box!important;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0 4%!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(90deg,#e6f2ed,#f2f7f5)!important;
  color:#24473d!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head .cc-ribbon-panel-emblem,
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head small{display:none!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head>div{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head strong{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#285146!important;
  -webkit-text-fill-color:#285146!important;
  font-size:clamp(6px,.52vw,8px)!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:.04em!important;
  white-space:nowrap!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-close{
  position:absolute!important;
  top:50%!important;
  right:.7%!important;
  width:auto!important;
  min-width:0!important;
  height:80%!important;
  min-height:0!important;
  aspect-ratio:1!important;
  transform:translateY(-50%)!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:rgba(50,82,72,.10)!important;
  color:#345b4f!important;
  -webkit-text-fill-color:#345b4f!important;
  font-size:clamp(7px,.55vw,9px)!important;
  line-height:1!important;
  box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{
  box-sizing:border-box!important;
  grid-column:1!important;
  grid-row:2!important;
  display:flex!important;
  align-items:stretch!important;
  align-content:stretch!important;
  justify-content:stretch!important;
  gap:.45%!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:.4% .5% .55%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:thin!important;
  scrollbar-color:#9dbdb2 transparent!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group,
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group--studio,
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group--shapes,
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group--free-text,
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group--formula{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-rows:5% 95%!important;
  flex:1 1 0!important;
  width:auto!important;
  min-width:clamp(112px,11vw,168px)!important;
  max-width:none!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #dce8e3!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 3px 8px rgba(30,75,60,.055),inset 0 1px 0 #fff!important;
  overflow:hidden!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>span{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0 2%!important;
  border:0!important;
  border-bottom:1px solid #edf3f0!important;
  color:#49655c!important;
  -webkit-text-fill-color:#49655c!important;
  font-size:clamp(5.5px,.46vw,7px)!important;
  font-weight:950!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body .cc-ribbon-group-emblem{display:none!important}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>div{
  box-sizing:border-box!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  align-content:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:2% 3%!important;
  gap:clamp(3px,.35vw,6px)!important;
  overflow:hidden!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"])){
  box-sizing:border-box!important;
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:clamp(24px,3.4vh,34px)!important;
  max-height:44%!important;
  margin:0!important;
  padding:clamp(4px,.42vh,6px) clamp(6px,.55vw,10px)!important;
  border-radius:8px!important;
  font-size:clamp(7px,.56vw,9px)!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Bottom-left launchers. AI is intentionally the most conspicuous footer action. */
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock{
  box-sizing:border-box!important;
  left:.45%!important;
  right:.45%!important;
  bottom:1%!important;
  padding-left:calc(clamp(104px,8.2vw,126px) + clamp(62px,4.7vw,74px) + 1.25%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai{
  box-sizing:border-box!important;
  position:absolute!important;
  left:.35%!important;
  right:auto!important;
  top:8%!important;
  bottom:8%!important;
  z-index:8!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3%!important;
  width:clamp(104px,8.2vw,126px)!important;
  min-width:clamp(104px,8.2vw,126px)!important;
  height:84%!important;
  min-height:0!important;
  margin:0!important;
  padding:4% 5%!important;
  border:1px solid rgba(255,238,148,.78)!important;
  border-radius:17px!important;
  background:linear-gradient(135deg,#7b35d8 0%,#4059e6 48%,#0baec0 100%)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 7px 0 rgba(38,30,112,.68),0 10px 24px rgba(76,55,211,.32),inset 0 1px 0 rgba(255,255,255,.42)!important;
  overflow:hidden!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  border-radius:inherit!important;
  background:linear-gradient(110deg,transparent 10%,rgba(255,255,255,.24) 42%,transparent 64%)!important;
  transform:translateX(-70%)!important;
  animation:ccAiSweep 3.1s ease-in-out infinite!important;
  pointer-events:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai::after{content:none!important;display:none!important}
@keyframes ccAiSweep{0%,38%{transform:translateX(-75%)}70%,100%{transform:translateX(90%)}}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai .cc-dock-ai-icon{
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  place-items:center!important;
  width:clamp(29px,2.35vw,37px)!important;
  height:clamp(29px,2.35vw,37px)!important;
  margin:0!important;
  color:#fff7ad!important;
  -webkit-text-fill-color:#fff7ad!important;
  filter:drop-shadow(0 0 7px rgba(255,237,119,.62))!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai .cc-dock-ai-icon svg{
  width:100%!important;height:100%!important;fill:currentColor!important;stroke:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai small{
  position:relative!important;
  z-index:1!important;
  margin:0!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:clamp(8px,.68vw,10px)!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:.03em!important;
  text-shadow:0 1px 2px rgba(20,13,75,.5)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai:hover,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai:focus-visible{
  filter:brightness(1.08) saturate(1.08)!important;
  transform:translateY(-1px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration{
  box-sizing:border-box!important;
  position:absolute!important;
  left:calc(.35% + clamp(104px,8.2vw,126px) + .45%)!important;
  right:auto!important;
  top:8%!important;
  bottom:8%!important;
  z-index:7!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3%!important;
  width:clamp(62px,4.7vw,74px)!important;
  min-width:clamp(62px,4.7vw,74px)!important;
  height:84%!important;
  min-height:0!important;
  margin:0!important;
  padding:3%!important;
  border:1px solid #dfbd7e!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fff3cf,#eac994)!important;
  color:#51321f!important;
  -webkit-text-fill-color:#51321f!important;
  box-shadow:0 6px 0 #b38b54,0 9px 18px rgba(89,57,26,.18),inset 0 1px 0 #fff!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration:hover,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration:focus-visible{
  background:linear-gradient(180deg,#fff8df,#efd6aa)!important;
  transform:translateY(-1px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dock-dog-icon{
  display:grid!important;
  place-items:center!important;
  width:clamp(32px,2.6vw,40px)!important;
  height:clamp(32px,2.6vw,40px)!important;
  margin:0!important;
  color:#5c3925!important;
  -webkit-text-fill-color:#5c3925!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dock-dog-icon svg{width:100%!important;height:100%!important;overflow:visible!important;stroke:#5a3722!important;stroke-width:2.2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dog-ear{fill:#b46f3f!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dog-head{fill:#e7ae69!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dog-patch{fill:#8e542f!important;stroke:none!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dog-eye{fill:#2d211c!important;stroke:none!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dog-muzzle{fill:#f5d9ae!important;stroke:#6a4127!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dog-nose{fill:#2c211c!important;stroke:none!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dog-smile{fill:none!important;stroke:#4f3020!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration small{
  display:block!important;
  margin:0!important;
  color:#482d1e!important;
  -webkit-text-fill-color:#482d1e!important;
  font-size:clamp(7px,.58vw,9px)!important;
  font-weight:950!important;
  line-height:1!important;
  text-shadow:none!important;
}

@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    height:56px!important;min-height:56px!important;max-height:56px!important;padding:1% 1.2%!important;gap:3px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command{
    flex-basis:45px!important;width:45px!important;min-width:45px!important;border-radius:11px!important;padding:4% 3%!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command-icon{width:25px!important;height:25px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command small{font-size:7px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{height:86%!important;padding:0 9px!important;font-size:8px!important}

  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    position:fixed!important;
    left:1.5%!important;
    right:1.5%!important;
    bottom:calc(86px + env(safe-area-inset-bottom,0px))!important;
    z-index:10040!important;
    width:auto!important;
    height:clamp(190px,34dvh,290px)!important;
    min-height:clamp(190px,34dvh,290px)!important;
    max-height:clamp(190px,34dvh,290px)!important;
    grid-template-rows:5% 95%!important;
    border:1px solid rgba(55,90,78,.16)!important;
    border-radius:18px!important;
    box-shadow:0 20px 55px rgba(17,45,36,.28)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:minmax(96px,1fr)!important;
    gap:5px!important;
    padding:5px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group{
    min-width:0!important;width:100%!important;height:100%!important;grid-template-rows:5% 95%!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"])){
    min-height:25px!important;max-height:43%!important;padding:4px 6px!important;font-size:7.5px!important;
  }

  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock{
    left:1%!important;right:1%!important;bottom:1%!important;
    padding-left:170px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai{
    left:.8%!important;top:8%!important;bottom:8%!important;width:102px!important;min-width:102px!important;height:84%!important;border-radius:15px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai .cc-dock-ai-icon{width:28px!important;height:28px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai small{font-size:8px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration{
    left:108px!important;top:8%!important;bottom:8%!important;width:56px!important;min-width:56px!important;height:84%!important;border-radius:14px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dock-dog-icon{width:31px!important;height:31px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration small{font-size:7px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock.is-keyboard-mode,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock.is-viewport-keyboard{padding-left:150px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock.is-keyboard-mode .cc-dock-ai,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock.is-viewport-keyboard .cc-dock-ai{left:.8%!important;top:7%!important;bottom:7%!important;width:88px!important;min-width:88px!important;height:86%!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock.is-keyboard-mode .cc-dock-illustration,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock.is-viewport-keyboard .cc-dock-illustration{left:94px!important;top:7%!important;bottom:7%!important;width:49px!important;min-width:49px!important;height:86%!important}
}

@media (prefers-reduced-motion:reduce){
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai::before{animation:none!important;display:none!important}
}


/* v0.8.451 — square ribbon shell + stronger label contrast */
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-probar,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
  border-radius:0!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command{
  border-radius:0!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command small{
  color:rgba(255,255,255,.94)!important;
  -webkit-text-fill-color:rgba(255,255,255,.94)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-close small{
  color:#eef4f2!important;
  -webkit-text-fill-color:#eef4f2!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-save small,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-experience small,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-undo small,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-redo small,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-share small,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-print small,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-pdf small{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  color:#446056!important;
  -webkit-text-fill-color:#446056!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  color:#0f6f53!important;
  -webkit-text-fill-color:#0f6f53!important;
}


/* v0.8.451 — ribbon recovery layer. Collapsed size is the source of truth. */
.cc-workspace--dedicated[data-cc-experience-style]{
  --cc-ribbon-collapsed-h:72px;
  --cc-ribbon-command-size:60px;
  --cc-ribbon-expanded-h:168px;
  --cc-dock-item-size:58px;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-probar,
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon]{overflow:visible!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  width:100%!important;
  height:var(--cc-ribbon-collapsed-h)!important;
  min-height:var(--cc-ribbon-collapsed-h)!important;
  max-height:var(--cc-ribbon-collapsed-h)!important;
  padding:6px 7px!important;
  border-radius:0!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  overscroll-behavior-x:contain!important;
  scrollbar-width:thin!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command{
  position:relative!important;
  inset:auto!important;
  flex:0 0 var(--cc-ribbon-command-size)!important;
  width:var(--cc-ribbon-command-size)!important;
  min-width:var(--cc-ribbon-command-size)!important;
  max-width:var(--cc-ribbon-command-size)!important;
  height:var(--cc-ribbon-command-size)!important;
  min-height:var(--cc-ribbon-command-size)!important;
  max-height:var(--cc-ribbon-command-size)!important;
  margin:0!important;
  padding:5px 3px 4px!important;
  gap:3px!important;
  border-radius:0!important;
  overflow:visible!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command-icon{
  width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command small{
  display:block!important;font-size:9px!important;line-height:1.05!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important
}
/* Close remains visible while the rest of the ribbon scrolls. */
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-close{
  position:sticky!important;left:0!important;z-index:40!important;
}
/* Save and mode intentionally share the exact close-button palette. */
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-close,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-save,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-experience{
  background:linear-gradient(180deg,#6f7774,#555d5a)!important;
  border-color:#858e8a!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  box-shadow:0 5px 0 #414744,inset 0 1px 0 rgba(255,255,255,.22)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  flex:0 0 auto!important;
  height:calc(var(--cc-ribbon-command-size) - 6px)!important;
  min-height:calc(var(--cc-ribbon-command-size) - 6px)!important;
  max-height:calc(var(--cc-ribbon-command-size) - 6px)!important;
  margin:0!important;
  padding:0 13px!important;
  border-radius:0!important;
  color:#3b554c!important;-webkit-text-fill-color:#3b554c!important;
  overflow:visible!important;
}
/* Expansion: only the WHOLE menu uses 5/95. Do not split every group into 5/95. */
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel:not(.is-active){display:none!important}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
  box-sizing:border-box!important;
  position:relative!important;
  inset:auto!important;
  z-index:110!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:5% 95%!important;
  width:100%!important;
  height:var(--cc-ribbon-expanded-h)!important;
  min-height:var(--cc-ribbon-expanded-h)!important;
  max-height:var(--cc-ribbon-expanded-h)!important;
  margin:0!important;padding:0!important;gap:0!important;
  border:0!important;border-bottom:1px solid #ccdcd6!important;border-radius:0!important;
  background:#f5f9f7!important;
  box-shadow:0 10px 22px rgba(20,60,48,.12)!important;
  overflow:hidden!important;
  opacity:1!important;visibility:visible!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head{
  grid-row:1!important;display:flex!important;position:relative!important;
  align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;min-height:0!important;
  margin:0!important;padding:0 32px!important;border:0!important;border-radius:0!important;
  background:#e7f0ed!important;overflow:visible!important
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head strong{
  display:block!important;color:#244c40!important;-webkit-text-fill-color:#244c40!important;
  font-size:8px!important;line-height:1!important;white-space:nowrap!important
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-close{
  position:absolute!important;right:5px!important;top:50%!important;transform:translateY(-50%)!important;
  width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;
  padding:0!important;border-radius:0!important;background:#d8e4df!important;color:#34574c!important;-webkit-text-fill-color:#34574c!important
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{
  box-sizing:border-box!important;
  grid-row:2!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  gap:6px!important;
  width:100%!important;height:100%!important;min-height:0!important;
  margin:0!important;padding:6px!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  flex:0 0 auto!important;
  width:auto!important;min-width:150px!important;max-width:340px!important;
  height:100%!important;min-height:0!important;max-height:100%!important;
  margin:0!important;padding:0!important;
  border:1px solid #d8e5e0!important;border-radius:0!important;
  background:#fff!important;overflow:visible!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>span{
  box-sizing:border-box!important;
  flex:0 0 20px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:20px!important;min-height:20px!important;
  margin:0!important;padding:0 6px!important;border:0!important;border-bottom:1px solid #edf2f0!important;
  color:#49645b!important;-webkit-text-fill-color:#49645b!important;font-size:8px!important;line-height:1!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>div{
  box-sizing:border-box!important;
  flex:1 1 auto!important;
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;align-content:center!important;justify-content:center!important;
  width:100%!important;height:auto!important;min-height:0!important;
  margin:0!important;padding:6px!important;gap:5px!important;
  overflow:auto!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search){
  box-sizing:border-box!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;min-width:34px!important;max-width:100%!important;
  height:32px!important;min-height:32px!important;max-height:32px!important;
  margin:0!important;padding:5px 8px!important;
  border-radius:5px!important;
  color:#304d43!important;-webkit-text-fill-color:#304d43!important;
  font-size:9px!important;line-height:1!important;
  opacity:1!important;visibility:visible!important;
  overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body .cc-ribbon-group input[type="color"]{
  display:block!important;width:34px!important;height:30px!important;min-height:30px!important;opacity:1!important;visibility:visible!important
}

/* Footer: AI and Illustration are normal scroll items, equal to every other footer key. */
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock{
  box-sizing:border-box!important;
  display:block!important;
  left:7px!important;right:7px!important;bottom:10px!important;
  width:auto!important;height:74px!important;min-height:74px!important;max-height:74px!important;
  padding:6px!important;
  overflow:visible!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll{
  box-sizing:border-box!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:6px!important;
  width:100%!important;height:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  scrollbar-width:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll::-webkit-scrollbar{display:none!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration,
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-dock-color,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-base-back{
  box-sizing:border-box!important;
  position:relative!important;inset:auto!important;
  flex:0 0 var(--cc-dock-item-size)!important;
  width:var(--cc-dock-item-size)!important;min-width:var(--cc-dock-item-size)!important;max-width:var(--cc-dock-item-size)!important;
  height:var(--cc-dock-item-size)!important;min-height:var(--cc-dock-item-size)!important;max-height:var(--cc-dock-item-size)!important;
  margin:0!important;padding:4px!important;
  border-radius:13px!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai{
  background:linear-gradient(135deg,#7440e8,#365de5 52%,#0caeaa)!important;
  border:1px solid rgba(255,238,148,.78)!important;
  box-shadow:0 5px 0 rgba(38,30,112,.62),inset 0 1px 0 rgba(255,255,255,.35)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai .cc-dock-ai-icon{width:30px!important;height:30px!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dock-dog-icon{width:31px!important;height:31px!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai small,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration small{font-size:8px!important;line-height:1!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-tools{
  box-sizing:border-box!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex:0 0 auto!important;
  width:max-content!important;min-width:0!important;height:100%!important;min-height:0!important;
  margin:0!important;padding:0!important;gap:6px!important;
  overflow:visible!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-tools[hidden]{display:none!important}
/* no artificial reserved area after Illustration */
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock::before{display:none!important}

@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style]{
    --cc-ribbon-collapsed-h:64px;
    --cc-ribbon-command-size:54px;
    --cc-ribbon-expanded-h:min(310px,46dvh);
    --cc-dock-item-size:54px;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{padding:5px!important;gap:4px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command-icon{width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command small{font-size:8px!important}
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    position:fixed!important;
    left:5px!important;right:5px!important;top:var(--cc-ribbon-mobile-top,130px)!important;bottom:auto!important;
    z-index:100040!important;
    display:grid!important;
    width:auto!important;
    height:var(--cc-ribbon-expanded-h)!important;min-height:var(--cc-ribbon-expanded-h)!important;max-height:var(--cc-ribbon-expanded-h)!important;
    border:1px solid #cbdad4!important;border-radius:0!important;
    background:#f5f9f7!important;
    overflow:hidden!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:minmax(118px,auto)!important;
    align-content:start!important;
    gap:5px!important;
    overflow-x:hidden!important;overflow-y:auto!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group{
    width:100%!important;min-width:0!important;max-width:none!important;height:118px!important;min-height:118px!important;max-height:118px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>div{overflow:auto!important;padding:5px!important;gap:4px!important}
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search){height:29px!important;min-height:29px!important;max-height:29px!important;font-size:8px!important;padding:4px 6px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock{height:68px!important;min-height:68px!important;max-height:68px!important;padding:5px!important}
}
@media(max-width:520px){
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{grid-template-columns:1fr!important}
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group{height:112px!important;min-height:112px!important;max-height:112px!important}
}


/* v0.8.451 — footer width hard reset + exact neutral command palette */
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock{
  position:fixed!important;
  display:block!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  left:7px!important;
  right:7px!important;
  top:auto!important;
  bottom:10px!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:74px!important;
  min-height:74px!important;
  max-height:74px!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  transform:none!important;
  overflow:visible!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll{
  box-sizing:border-box!important;
  position:absolute!important;
  left:6px!important;
  right:6px!important;
  top:6px!important;
  bottom:6px!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  margin:0!important;
  padding:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x!important;
  scrollbar-width:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll::-webkit-scrollbar{display:none!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll>.cc-dock-ai,
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll>.cc-dock-illustration,
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll>.cc-dock-base-back,
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll>.cc-editor-dock-tools{
  flex-shrink:0!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll>.cc-editor-dock-tools{
  width:max-content!important;
  min-width:max-content!important;
  max-width:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll>.cc-editor-dock-tools[hidden]{display:none!important}

/* Close / Save / Mode use one exact palette in every experience theme and state. */
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs :is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience),
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs :is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience):hover,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs :is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience):focus-visible,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs :is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience):active,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs :is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience):disabled{
  background-color:#626a67!important;
  background-image:linear-gradient(180deg,#6f7774,#555d5a)!important;
  border-color:#858e8a!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 5px 0 #414744,inset 0 1px 0 rgba(255,255,255,.22)!important;
  filter:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs :is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience) .cc-ribbon-command-icon,
.cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs :is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience) small{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
}

@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock{
    left:6px!important;
    right:6px!important;
    bottom:8px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;
    padding:0!important;
    transform:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll{
    left:5px!important;
    right:5px!important;
    top:5px!important;
    bottom:5px!important;
    gap:5px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock.is-keyboard-mode,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock.is-viewport-keyboard{
    left:6px!important;
    right:6px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0!important;
    transform:none!important;
  }
}


/* v0.8.451 — mobile ribbon horizontal expansion + mascot footer buttons */
.cc-workspace--dedicated[data-cc-experience-style]{
  --cc-ribbon-collapsed-h:72px;
  --cc-ribbon-command-size:72px;
  --cc-ribbon-expanded-h:176px;
  --cc-dock-item-size:86px;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock{
  left:6px!important;
  right:6px!important;
  bottom:8px!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:76px!important;
  padding:6px!important;
  border-radius:24px!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll{
  display:flex!important;
  align-items:stretch!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  padding:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll > :is(.cc-dock-ai,.cc-dock-illustration,.cc-dock-base-back,.cc-editor-dock-tools){
  flex:0 0 auto!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration{
  position:relative!important;
  left:auto!important; right:auto!important; top:auto!important; bottom:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  width:var(--cc-dock-item-size)!important;
  min-width:var(--cc-dock-item-size)!important;
  max-width:var(--cc-dock-item-size)!important;
  height:var(--cc-dock-item-size)!important;
  min-height:var(--cc-dock-item-size)!important;
  max-height:var(--cc-dock-item-size)!important;
  margin:0!important;
  padding:6px 5px!important;
  transform:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai{
  border:1px solid rgba(255,238,148,.72)!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#6f45ea 0%,#3f64ef 48%,#0fb0ce 100%)!important;
  box-shadow:0 6px 0 rgba(38,30,112,.58),0 9px 22px rgba(76,55,211,.24),inset 0 1px 0 rgba(255,255,255,.38)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai::before{display:none!important;animation:none!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai .cc-dock-ai-icon,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dock-kurukun-icon{
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  margin:0!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai .cc-dock-ai-icon svg,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dock-kurukun-icon svg{
  width:100%!important;
  height:100%!important;
  overflow:visible!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai small,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration small{
  display:block!important;
  margin:0!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1.05!important;
  letter-spacing:.01em!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration{
  border:1px solid #dcb57c!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff0cf,#f3d49b)!important;
  color:#53331f!important;
  -webkit-text-fill-color:#53331f!important;
  box-shadow:0 6px 0 #b9905a,0 9px 18px rgba(89,57,26,.18),inset 0 1px 0 #fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai small{color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 1px 2px rgba(20,13,75,.45)!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration small{color:#4c2f1d!important;-webkit-text-fill-color:#4c2f1d!important}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dock-dog-icon{display:none!important}

@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style]{
    --cc-ribbon-collapsed-h:68px;
    --cc-ribbon-command-size:66px;
    --cc-ribbon-expanded-h:172px;
    --cc-dock-item-size:86px;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    height:var(--cc-ribbon-collapsed-h)!important;
    min-height:var(--cc-ribbon-collapsed-h)!important;
    max-height:var(--cc-ribbon-collapsed-h)!important;
    gap:6px!important;
    padding:5px 6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single::-webkit-scrollbar{display:none!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command{
    flex:0 0 var(--cc-ribbon-command-size)!important;
    width:var(--cc-ribbon-command-size)!important;
    min-width:var(--cc-ribbon-command-size)!important;
    height:var(--cc-ribbon-command-size)!important;
    min-height:var(--cc-ribbon-command-size)!important;
    max-height:var(--cc-ribbon-command-size)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command-icon{
    width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command small{font-size:10px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single > [data-ribbon-tab]{
    flex:0 0 auto!important;
    min-width:96px!important;
    height:60px!important;
    min-height:60px!important;
    max-height:60px!important;
    padding:0 14px!important;
    font-size:10px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    position:relative!important;
    inset:auto!important;
    left:auto!important; right:auto!important; bottom:auto!important;
    width:100%!important;
    height:var(--cc-ribbon-expanded-h)!important;
    min-height:var(--cc-ribbon-expanded-h)!important;
    max-height:var(--cc-ribbon-expanded-h)!important;
    border-radius:0!important;
    box-shadow:0 8px 18px rgba(20,60,48,.12)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    gap:6px!important;
    padding:6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body::-webkit-scrollbar{display:none!important}
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body > .cc-ribbon-group{
    flex:0 0 auto!important;
    min-width:170px!important;
    max-width:170px!important;
    width:170px!important;
    height:100%!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body > .cc-ribbon-group > div{
    justify-content:flex-start!important;
    align-content:flex-start!important;
    overflow:auto!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search){
    min-height:30px!important;
    font-size:9px!important;
  }
}

/* ==========================================================
   v0.8.452 — compact mobile ribbon/footer + single-row expanded ribbon
   User contract:
   - collapsed ribbon icons are 50% of v0.8.451 mobile size
   - ribbon/footer controls are packed tighter so more commands stay visible
   - expanded ribbon never grows taller than the v0.8.451 illustrated height
   - every expanded command set stays on one horizontal row; overflow is X-scroll
   ========================================================== */
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style]{
    --cc-ribbon-collapsed-h:52px!important;
    --cc-ribbon-command-size:44px!important;
    --cc-ribbon-expanded-h:172px!important;
    --cc-dock-item-size:46px!important;
  }

  /* Collapsed ribbon: halve the 30px command artwork to 15px and reclaim width. */
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
    padding:4px!important;
    gap:3px!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single::-webkit-scrollbar{display:none!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command{
    flex:0 0 44px!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:3px 2px 2px!important;
    gap:2px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command-icon,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-mode-icon{
    width:15px!important;
    height:15px!important;
    min-width:15px!important;
    min-height:15px!important;
    flex-basis:15px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command small{
    margin:0!important;
    font-size:7.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single > [data-ribbon-tab]{
    flex:0 0 auto!important;
    min-width:62px!important;
    width:auto!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    padding:0 9px!important;
    font-size:8px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  /* Expanded ribbon: exact illustrated height, never taller on smaller phones. */
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    position:relative!important;
    inset:auto!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:5% 95%!important;
    width:100%!important;
    height:172px!important;
    min-height:172px!important;
    max-height:172px!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    overflow:hidden!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head{
    display:flex!important;
    grid-row:1!important;
    min-height:0!important;
    max-height:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{
    grid-row:2!important;
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:stretch!important;
    align-content:stretch!important;
    justify-content:flex-start!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:6px!important;
    gap:6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body::-webkit-scrollbar{display:none!important}
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body > .cc-ribbon-group{
    display:flex!important;
    flex-direction:column!important;
    flex:0 0 max-content!important;
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:visible!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body > .cc-ribbon-group > span{
    flex:0 0 20px!important;
    width:100%!important;
    height:20px!important;
    min-height:20px!important;
    max-height:20px!important;
    white-space:nowrap!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body > .cc-ribbon-group > div{
    flex:1 1 auto!important;
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    align-content:center!important;
    justify-content:flex-start!important;
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    padding:6px!important;
    gap:5px!important;
    overflow:visible!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search){
    flex:0 0 auto!important;
    width:auto!important;
    min-width:34px!important;
    max-width:none!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    padding:5px 8px!important;
    font-size:9px!important;
    white-space:nowrap!important;
  }
  /* Complex border controls also stay in the same single horizontal lane. */
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-border-group,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-border-ribbon-controls,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-border-ribbon-row,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-border-ribbon-settings{
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-border-ribbon-controls,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-border-ribbon-row,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-border-ribbon-settings{
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    align-content:center!important;
    justify-content:flex-start!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    gap:5px!important;
    overflow:visible!important;
  }

  /* Footer: same compact density as the ribbon; all actions remain one X-scroll row. */
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock{
    left:5px!important;
    right:5px!important;
    bottom:7px!important;
    width:auto!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    padding:5px!important;
    border-radius:18px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll{
    left:4px!important;
    right:4px!important;
    top:4px!important;
    bottom:4px!important;
    width:auto!important;
    height:auto!important;
    gap:4px!important;
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll::-webkit-scrollbar{display:none!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-dock-key,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-dock-color,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-base-back{
    flex:0 0 46px!important;
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    padding:3px!important;
    gap:2px!important;
    border-radius:11px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai .cc-dock-ai-icon,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dock-kurukun-icon{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    min-height:20px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock :is(.cc-dock-key,.cc-dock-color)>span,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-dock-key>b{
    font-size:12px!important;
    line-height:1!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai small,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration small,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-dock-key small,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-dock-color small,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-base-back small{
    margin-top:1px!important;
    font-size:6.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-tools{
    gap:4px!important;
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    flex-flow:row nowrap!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock.is-keyboard-mode,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock.is-viewport-keyboard{
    left:5px!important;
    right:5px!important;
    width:auto!important;
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
    padding:5px!important;
  }
}


/* v0.8.453 — remove white rounded corner cut treatment on mobile dedicated editor shell */
@media(max-width:900px){
  .cc-workspace--dedicated,
  .cc-workspace--dedicated .cc-workspace-grid,
  .cc-workspace--dedicated .cc-workspace-editor,
  .cc-workspace--dedicated .cc-office-editor,
  .cc-workspace--dedicated .cc-office-probar,
  .cc-workspace--dedicated [data-cc-excel-ribbon],
  .cc-workspace--dedicated .cc-excel-ribbon,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single,
  .cc-workspace--dedicated .cc-excel-ribbon-panel,
  .cc-workspace--dedicated .cc-office-pages,
  .cc-workspace--dedicated .cc-office-page.is-active,
  .cc-workspace--dedicated .cc-sheet-shell,
  .cc-workspace--dedicated .cc-sheet-wrap,
  .cc-workspace--dedicated .cc-editor-dock{
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
    clip-path:none!important;
    mask:none!important;
    -webkit-mask:none!important;
  }
  .cc-workspace--dedicated .cc-office-probar{
    margin:0!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  .cc-workspace--dedicated .cc-excel-ribbon,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single,
  .cc-workspace--dedicated .cc-excel-ribbon-panel{
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
  }
  .cc-workspace--dedicated .cc-office-page.is-active,
  .cc-workspace--dedicated .cc-sheet-shell,
  .cc-workspace--dedicated .cc-sheet-wrap{
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
  }
  .cc-workspace--dedicated .cc-editor-dock{
    margin:0!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
  }
}


/* v0.8.454 — mobile themed ribbon compact height, larger command buttons, wider gaps, and footer overlap protection */
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style]{
    --cc-ribbon-expanded-h:126px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    grid-template-rows:18px minmax(0,1fr)!important;
    height:126px!important;
    min-height:126px!important;
    max-height:126px!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head{
    height:18px!important;
    min-height:18px!important;
    padding:0 24px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head strong{
    font-size:8px!important;
    line-height:1!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-close{
    right:4px!important;
    width:18px!important;
    min-width:18px!important;
    height:18px!important;
    min-height:18px!important;
    font-size:14px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    align-content:stretch!important;
    grid-template-columns:none!important;
    grid-auto-rows:auto!important;
    gap:15px!important;
    margin:0!important;
    padding:6px 12px 4px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group{
    flex:0 0 auto!important;
    width:max-content!important;
    min-width:170px!important;
    max-width:none!important;
    height:98px!important;
    min-height:98px!important;
    max-height:98px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>span{
    flex:0 0 18px!important;
    height:18px!important;
    min-height:18px!important;
    font-size:8px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>div{
    flex:1 1 auto!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    align-content:center!important;
    justify-content:flex-start!important;
    width:max-content!important;
    min-width:100%!important;
    margin:0!important;
    padding:10px 12px 8px!important;
    gap:15px!important;
    overflow:visible!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search){
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    padding:0 11px!important;
    border-radius:8px!important;
    font-size:10px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body .cc-ribbon-group input[type="color"]{
    width:38px!important;
    height:38px!important;
    min-height:38px!important;
  }

  /* Lift floating subpanels above the themed footer to prevent overlap. */
  .cc-workspace--dedicated[data-cc-experience-style] .cc-studio-tool-pop,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-axis-size-pop,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-cell-size-pop{
    bottom:calc(92px + env(safe-area-inset-bottom,0px) + var(--cc-keyboard-offset,0px))!important;
    z-index:100060!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-pages{
    padding-bottom:104px!important;
  }
}
@media(max-width:520px){
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group{
    min-width:160px!important;
  }
}


/* v0.8.455 — larger collapsed/footer icons + 3x spacing; trim expanded ribbon to content height */
@media(max-width:900px){
  /* Collapsed ribbon: +30% icon artwork and 3x inter-item spacing. */
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    gap:9px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command{
    gap:2px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command-icon,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-mode-icon{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    min-height:20px!important;
    flex-basis:20px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-command-icon svg,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-excel-ribbon-tabs .cc-ribbon-mode-icon svg{
    width:20px!important;
    height:20px!important;
  }

  /* Expanded ribbon: remove top/bottom dead space, but keep every command fully visible. */
  .cc-workspace--dedicated[data-cc-experience-style]{
    --cc-ribbon-expanded-h:84px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    grid-template-rows:16px minmax(0,1fr)!important;
    height:84px!important;
    min-height:84px!important;
    max-height:84px!important;
    padding:0!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head{
    height:16px!important;
    min-height:16px!important;
    max-height:16px!important;
    padding:0 22px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head strong{
    font-size:7.5px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-close{
    right:3px!important;
    width:16px!important;
    min-width:16px!important;
    height:16px!important;
    min-height:16px!important;
    font-size:12px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{
    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;
    gap:15px!important;
    padding:2px 8px!important;
    align-items:center!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group{
    height:64px!important;
    min-height:64px!important;
    max-height:64px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>span{
    flex:0 0 16px!important;
    height:16px!important;
    min-height:16px!important;
    max-height:16px!important;
    padding:0 5px!important;
    font-size:7.5px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>div{
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    padding:4px 8px!important;
    gap:15px!important;
    align-items:center!important;
  }

  /* Footer: +30% icon artwork and 3x spacing, still a single horizontal scroll lane. */
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll{
    gap:12px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-tools{
    gap:12px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai .cc-dock-ai-icon,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dock-kurukun-icon{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock :is(.cc-dock-key,.cc-dock-color)>span,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-dock-key>b{
    font-size:16px!important;
    line-height:1!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-history-glyph,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-paint-bucket,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-studio-tool-button>span{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
    display:grid!important;
    place-items:center!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-history-glyph svg,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-paint-bucket svg,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock .cc-studio-tool-button>span svg{
    width:26px!important;
    height:26px!important;
  }
}


/* v0.8.456 — mobile theme extra-panel/footer separation + hard remove top screen corner rounding */
@media(max-width:900px){
  /*
   * Some visual themes add a persistent mobile navigation panel below the editor.
   * v0.8.451's generic footer reset pulled the editing footer back to the same bottom
   * position, causing the two surfaces to overlap. Keep the additional panel at the
   * bottom and reserve a dedicated lane above it for the editing footer.
   */
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock{
    left:6px!important;
    right:6px!important;
    bottom:calc(90px + env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    transform:none!important;
    z-index:10035!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-mobile-nav,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-experience-mobile-nav,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav{
    bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;
    z-index:10030!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel{
    margin-bottom:166px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-pages{
    padding-bottom:174px!important;
  }
  /* Context popovers must also clear both footer layers on those themes. */
  .cc-workspace--dedicated[data-cc-experience-style="pro"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop),
  .cc-workspace--dedicated[data-cc-experience-style="kids"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop),
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop){
    bottom:calc(172px + env(safe-area-inset-bottom,0px) + var(--cc-keyboard-offset,0px))!important;
    z-index:100060!important;
  }

  /*
   * Remove the remaining rounded/cut treatment from the actual top screen shell.
   * Theme-specific rules (especially Zen/Sparkle/Pro) previously reintroduced a radius
   * after the generic reset, so this is intentionally the final cascade seal.
   */
  .cc-workspace--dedicated,
  .cc-workspace--dedicated[data-cc-experience-style],
  .cc-workspace--dedicated .cc-workspace-grid,
  .cc-workspace--dedicated .cc-workspace-editor,
  .cc-workspace--dedicated .cc-office-editor,
  .cc-workspace--dedicated .cc-office-probar,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-probar,
  .cc-workspace--dedicated [data-cc-excel-ribbon],
  .cc-workspace--dedicated .cc-excel-ribbon,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
    clip-path:none!important;
    -webkit-clip-path:none!important;
    mask:none!important;
    -webkit-mask:none!important;
  }
  .cc-workspace--dedicated .cc-office-probar,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-probar{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon],
  .cc-workspace--dedicated .cc-excel-ribbon,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
  }
  .cc-workspace--dedicated .cc-office-probar::before,
  .cc-workspace--dedicated .cc-office-probar::after,
  .cc-workspace--dedicated [data-cc-excel-ribbon]::before{
    border-radius:0!important;
    clip-path:none!important;
    -webkit-clip-path:none!important;
    mask:none!important;
    -webkit-mask:none!important;
  }
}


/* v0.8.457 — lift expanded ribbon controls upward to the group divider line and trim vertical dead space */
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style]{
    --cc-ribbon-expanded-h:78px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    grid-template-rows:16px minmax(0,1fr)!important;
    height:78px!important;
    min-height:78px!important;
    max-height:78px!important;
    padding:0!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-head{
    height:16px!important;
    min-height:16px!important;
    max-height:16px!important;
    padding:0 22px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
    padding:0 8px 1px!important;
    gap:15px!important;
    align-items:flex-start!important;
    align-content:flex-start!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group{
    height:60px!important;
    min-height:60px!important;
    max-height:60px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>span{
    flex:0 0 16px!important;
    height:16px!important;
    min-height:16px!important;
    max-height:16px!important;
    padding:0 5px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>div{
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:0 8px 4px!important;
    gap:15px!important;
    align-items:flex-start!important;
    align-content:flex-start!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search){
    align-self:flex-start!important;
  }
}


/* v0.8.458 — Copy / Paste / Cut are permanent footer controls in every selection mode */
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll > .cc-dock-persistent-clipboard{
  display:flex!important;
  flex:0 0 var(--cc-dock-item-size)!important;
  visibility:visible!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-tools .cc-dock-clipboard{
  display:none!important;
}
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style] .cc-editor-dock-scroll > .cc-dock-persistent-clipboard{
    flex:0 0 46px!important;
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    margin:0!important;
    padding:3px!important;
  }
}


/* v0.8.459 — move expanded ribbon buttons a bit higher for mobile visual alignment */
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-body{
    padding:0 8px 0!important;
    align-items:flex-start!important;
    align-content:flex-start!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>span{
    flex:0 0 15px!important;
    height:15px!important;
    min-height:15px!important;
    max-height:15px!important;
    align-items:flex-end!important;
    padding:0 5px 1px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body>.cc-ribbon-group>div{
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    padding:0 8px 2px!important;
    align-items:flex-start!important;
    align-content:flex-start!important;
    transform:translateY(-3px)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-panel-body .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search){
    align-self:flex-start!important;
    margin-top:0!important;
  }
}


/* v0.8.460 — hard-square the actual mobile top screen edge (no rounded corners at either end) */
@media(max-width:900px){
  .cc-workspace--dedicated,
  .cc-workspace--dedicated[data-cc-experience-style],
  .cc-workspace--dedicated .cc-workspace-grid,
  .cc-workspace--dedicated .cc-workspace-editor,
  .cc-workspace--dedicated .cc-office-editor,
  .cc-workspace--dedicated .cc-office-editor:has(.cc-excel-ribbon),
  .cc-workspace--dedicated .cc-office-probar,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-probar,
  .cc-workspace--dedicated [data-cc-excel-ribbon],
  .cc-workspace--dedicated .cc-excel-ribbon,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
    border-radius:0!important;
    clip-path:none!important;
    -webkit-clip-path:none!important;
    mask:none!important;
    -webkit-mask:none!important;
  }
  .cc-workspace--dedicated .cc-office-probar,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-probar,
  .cc-workspace--dedicated [data-cc-excel-ribbon],
  .cc-workspace--dedicated .cc-excel-ribbon,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .cc-workspace--dedicated .cc-office-probar::before,
  .cc-workspace--dedicated .cc-office-probar::after,
  .cc-workspace--dedicated [data-cc-excel-ribbon]::before,
  .cc-workspace--dedicated [data-cc-excel-ribbon]::after,
  .cc-workspace--dedicated .cc-excel-ribbon::before,
  .cc-workspace--dedicated .cc-excel-ribbon::after,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs::before,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs::after{
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
    clip-path:none!important;
    -webkit-clip-path:none!important;
    mask:none!important;
    -webkit-mask:none!important;
  }
}


/* v0.8.461 — remove the real viewport-shell corner clipping on mobile.
   v0.8.460 reset the ribbon itself; the remaining white arcs can come from
   outer WordPress/theme wrappers clipping the full-bleed dedicated editor. */
@media(max-width:900px){
  .cc-workspace--dedicated.cc-card,
  .cc-workspace--dedicated .cc-workspace-editor.cc-card,
  .cc-workspace--dedicated .cc-office-editor,
  .cc-workspace--dedicated .cc-office-probar,
  .cc-workspace--dedicated [data-cc-excel-ribbon],
  .cc-workspace--dedicated .cc-excel-ribbon,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs,
  .cc-workspace--dedicated .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    border-radius:0!important;
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
    clip-path:none!important;
    -webkit-clip-path:none!important;
    mask:none!important;
    -webkit-mask:none!important;
    background-clip:border-box!important;
  }

  /* The top bar must not clip its own square corners. */
  .cc-workspace--dedicated .cc-office-probar,
  .cc-workspace--dedicated [data-cc-excel-ribbon],
  .cc-workspace--dedicated .cc-excel-ribbon{
    overflow:visible!important;
  }

  /* Common THE THOR / WordPress content shells: only while the dedicated editor exists. */
  body:has(.cc-workspace--dedicated) :is(
    #container,#content,#main,main,article,
    .l-wrapper,.l-main,.l-mainContent,.content,.content__inner,
    .main,.mainContents,.post,.postContents,.page,.pageContents,
    .widget-area,.site-content,.entry-content,.the_content
  ){
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
    clip-path:none!important;
    -webkit-clip-path:none!important;
    mask:none!important;
    -webkit-mask:none!important;
  }
}


/* v0.8.462 — mobile worksheet fills to the real fixed-footer edge.
   Sheet tabs now sit immediately above the visible editor footer instead of
   reserving a hard-coded blank band.  A measured CSS variable also accounts
   for themes that add the secondary mobile navigation below the editor dock. */
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style]{
    --cc-mobile-fixed-footer-clearance:70px;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"],
  .cc-workspace--dedicated[data-cc-experience-style="kids"],
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"]{
    --cc-mobile-fixed-footer-clearance:calc(154px + env(safe-area-inset-bottom,0px));
  }

  /* Keep the whole editor a true viewport-height flex column. */
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-editor{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-probar{
    flex:0 0 auto!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-pages{
    display:flex!important;
    flex:1 1 0!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-page.is-active,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-shell,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-wrap{
    flex:1 1 0!important;
    min-height:0!important;
    height:100%!important;
    max-height:none!important;
    margin:0!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-page.is-active,
  .cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-shell{
    display:flex!important;
    overflow:hidden!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-wrap{
    display:block!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  /* The only bottom reserve is the space actually occupied by fixed navs. */
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel{
    flex:0 0 auto!important;
    margin-top:0!important;
    margin-right:0!important;
    margin-bottom:var(--cc-mobile-fixed-footer-clearance)!important;
    margin-left:0!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-pages{
    padding-bottom:0!important;
  }
}


/* v0.8.463 — CotoCle Studio ribbon readability + signature personalities for
   Focus / Paper / Contrast / Zen so each theme clearly stands apart. */

/* Studio: make the ribbon labels unmistakably readable. */
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-office-probar{
  background:linear-gradient(135deg,#0d5a46 0%,#14604d 36%,#0b3d31 100%)!important;
  box-shadow:0 12px 28px rgba(9,52,42,.24)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs{
  background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,247,240,.10),rgba(243,241,255,.08))!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs>button{
  border:1px solid rgba(255,255,255,.18)!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.28)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs>button:hover,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs>button:focus-visible{
  background:rgba(255,255,255,.18)!important;
  border-color:rgba(255,255,255,.26)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs>button[data-ribbon-tab].is-active{
  border-color:#d6f3e7!important;
  background:linear-gradient(135deg,#f6fffb,#e8fff5)!important;
  color:#154d40!important;
  -webkit-text-fill-color:#154d40!important;
  text-shadow:none!important;
  box-shadow:0 6px 18px rgba(7,79,62,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs .cc-ribbon-save{
  border-color:#ffe9a9!important;
  background:linear-gradient(135deg,#ffe086,#fff0b5)!important;
  color:#5e4510!important;
  -webkit-text-fill-color:#5e4510!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs .cc-ribbon-experience{
  border-color:#dccdf1!important;
  background:linear-gradient(135deg,#fbf4ff,#eee1ff)!important;
  color:#4d3d68!important;
  -webkit-text-fill-color:#4d3d68!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs .cc-ribbon-close,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs>button:disabled{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs>button:disabled{
  opacity:.62!important;
}

/* Theme picker previews now telegraph the stronger personalities. */
.cc-experience-preview.is-focus{
  background:linear-gradient(150deg,#e8effc,#dbe7fb)!important;
}
.cc-experience-preview.is-focus i:nth-child(1){
  left:6px;top:6px;bottom:6px;width:24px;border-radius:9px!important;
  background:linear-gradient(180deg,#13244d,#193467 52%,#153057)!important;
}
.cc-experience-preview.is-focus i:nth-child(1):after{
  content:"";position:absolute;left:7px;right:7px;top:12px;height:4px;border-radius:999px;background:#8bdcff;
  box-shadow:0 12px 0 rgba(139,220,255,.82),0 24px 0 rgba(139,220,255,.72),0 36px 0 rgba(255,220,99,.78)!important;
}
.cc-experience-preview.is-focus i:nth-child(2){
  left:38px;right:8px;top:8px;height:14px;border-radius:999px!important;background:#f5f8ff!important;
  box-shadow:0 3px 10px rgba(45,74,126,.12)!important;
}
.cc-experience-preview.is-focus i:nth-child(3){
  left:37px;right:8px;top:28px;bottom:15px;border:1px solid #c4d2f2!important;border-radius:8px!important;
  background:repeating-linear-gradient(0deg,#fff 0 12px,#e6eefb 12px 13px),repeating-linear-gradient(90deg,transparent 0 28px,#dfe8fa 28px 29px)!important;
}
.cc-experience-preview.is-focus em{left:43px;right:16px;bottom:6px;height:7px;border-radius:999px;background:#d4def5!important}
.cc-experience-preview.is-focus b{left:11px;bottom:12px;width:12px;height:12px;border-radius:50%;background:#ffdb63!important;box-shadow:0 0 0 2px rgba(255,255,255,.48)!important}

.cc-experience-preview.is-paper{
  background:linear-gradient(165deg,#f8ecd8,#efdfc2)!important;
}
.cc-experience-preview.is-paper i:nth-child(1){
  left:7px;right:7px;top:7px;height:16px;border-radius:6px!important;background:#7f5a40!important;
}
.cc-experience-preview.is-paper i:nth-child(2){
  left:14px;right:14px;top:28px;bottom:15px;border:1px solid #ccb186!important;border-radius:3px!important;
  background:repeating-linear-gradient(0deg,#fffdf8 0 12px,#e8dbc3 12px 13px),linear-gradient(90deg,rgba(232,202,116,.22) 0 24px,transparent 24px)!important;
  box-shadow:0 4px 10px rgba(96,70,43,.14)!important;
}
.cc-experience-preview.is-paper i:nth-child(3){left:9px;right:9px;bottom:6px;height:7px;border-radius:4px;background:#d7c09a!important}
.cc-experience-preview.is-paper b{right:10px;top:9px;width:20px;height:8px;border-radius:4px;background:#eec86d!important;box-shadow:-18px 4px 0 rgba(255,255,255,.45)!important}

.cc-experience-preview.is-contrast{border-color:#111!important;background:#fff!important;box-shadow:0 0 0 4px #ffe500 inset!important}
.cc-experience-preview.is-contrast i:nth-child(1){inset:4px 4px auto;height:18px;background:repeating-linear-gradient(135deg,#050505 0 12px,#1c1c1c 12px 24px)!important}
.cc-experience-preview.is-contrast i:nth-child(2){left:5px;top:27px;bottom:5px;width:28px;background:#ffe500!important}
.cc-experience-preview.is-contrast i:nth-child(3){left:38px;right:5px;top:28px;bottom:16px;border:2px solid #050505!important;background:repeating-linear-gradient(0deg,#fff 0 11px,#171717 11px 12px),repeating-linear-gradient(90deg,transparent 0 25px,#171717 25px 26px)!important}
.cc-experience-preview.is-contrast em{left:40px;right:7px;bottom:6px;height:7px;background:#050505!important}
.cc-experience-preview.is-contrast b{right:9px;top:8px;width:21px;height:9px;background:#ffe500!important;box-shadow:0 0 0 2px #111!important}

.cc-experience-preview.is-zen{
  background:linear-gradient(160deg,#edf4f1,#f8fbfa)!important;
}
.cc-experience-preview.is-zen::before{
  content:"";position:absolute;right:8px;top:7px;width:22px;height:22px;border:3px solid rgba(104,142,132,.35);border-right-color:transparent;border-top-color:transparent;border-radius:50%;transform:rotate(-32deg);
}
.cc-experience-preview.is-zen i:nth-child(1){left:20px;right:20px;top:8px;height:12px;border-radius:999px;background:rgba(255,255,255,.94)!important;box-shadow:0 3px 10px rgba(52,81,72,.10)!important}
.cc-experience-preview.is-zen i:nth-child(2){left:9px;right:9px;top:27px;bottom:14px;border:1px solid #d7e3de!important;border-radius:9px!important;background:repeating-linear-gradient(0deg,rgba(255,255,255,.92) 0 13px,#e9f0ed 13px 14px),repeating-linear-gradient(90deg,transparent 0 29px,#e7efeb 29px 30px)!important}
.cc-experience-preview.is-zen i:nth-child(3){left:36px;right:36px;bottom:5px;height:8px;border-radius:999px;background:rgba(70,103,93,.18)!important}
.cc-experience-preview.is-zen b{left:50%;top:10px;width:28px;height:5px;border-radius:999px;background:#7f9e95!important;transform:translateX(-50%)}

/* Focus: a mission-control workspace with glow accents and a much stronger identity. */
.cc-workspace--dedicated[data-cc-experience-style="focus"]{
  background:
    radial-gradient(circle at 12% 14%,rgba(125,221,255,.16),transparent 20%),
    radial-gradient(circle at 88% 84%,rgba(255,216,99,.15),transparent 20%),
    linear-gradient(180deg,#edf3ff 0%,#e4ecfb 45%,#dfe8f8 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"]::before{
  content:"集中 CANVAS";position:fixed;top:82px;right:12px;z-index:320;padding:9px 12px;border:1px solid rgba(130,172,255,.24);border-radius:16px;
  background:linear-gradient(135deg,rgba(15,34,77,.94),rgba(24,53,109,.94))!important;color:#dff4ff!important;
  font-size:10px!important;font-weight:950!important;letter-spacing:.18em!important;box-shadow:0 14px 30px rgba(14,31,72,.18)!important;pointer-events:none;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-panel-head{
  background:linear-gradient(90deg,#102451,#17376f 55%,#1d5ea0)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(24,48,97,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group{
  border:1px solid #bfd0ef!important;
  background:linear-gradient(180deg,#f8fbff,#edf3ff)!important;
  box-shadow:0 8px 18px rgba(33,64,121,.09)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group-emblem{
  background:linear-gradient(135deg,#163163,#205ea0)!important;color:#dff6ff!important;box-shadow:0 6px 12px rgba(17,41,92,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-sheet-wrap{
  background:
    linear-gradient(180deg,rgba(212,225,249,.36),rgba(255,255,255,.72)),
    #fff!important;
  box-shadow:inset 0 0 0 1px #c9d6ee,0 24px 55px rgba(36,63,111,.12)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-sheet thead th{background:#e1eaf9!important;color:#173058!important}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel{
  background:linear-gradient(180deg,#d6e0f2,#e4ebf8)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.55)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel button{
  border:1px solid #adc2ec!important;background:#f8fbff!important;color:#29406d!important;box-shadow:0 3px 0 #d2def4!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel button.is-active{
  background:linear-gradient(135deg,#132750,#1d4e86)!important;color:#fff!important;border-color:#16315f!important;box-shadow:0 5px 14px rgba(21,48,94,.22)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock{
  border:1px solid rgba(132,184,255,.28)!important;
  background:linear-gradient(135deg,#101938,#17305d 55%,#11284a)!important;
  box-shadow:0 18px 40px rgba(20,33,67,.22)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key{
  border-color:rgba(188,210,255,.18)!important;
  background:rgba(255,255,255,.08)!important;
  color:#f6f9ff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key:nth-child(4n+2){background:rgba(139,220,255,.14)!important}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key:nth-child(4n+3){background:rgba(255,219,99,.14)!important}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key.is-active,
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key:hover{
  box-shadow:0 0 0 2px rgba(139,220,255,.22) inset,0 10px 18px rgba(17,39,86,.18)!important;
}

/* Paper: a craft-desk / notebook personality rather than a simple brown tint. */
.cc-workspace--dedicated[data-cc-experience-style="paper"]{
  background:
    radial-gradient(circle at 10% 14%,rgba(255,243,204,.42),transparent 18%),
    radial-gradient(circle at 85% 82%,rgba(221,187,123,.16),transparent 23%),
    linear-gradient(180deg,#efe3d1 0%,#e8d9c2 38%,#dfceb2 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-probar{
  position:relative!important;
  background:linear-gradient(180deg,#7e5d43,#694a35)!important;
  border-bottom:6px solid #e7c16c!important;
  box-shadow:0 14px 30px rgba(88,61,35,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-probar::after{
  content:"PAPER DESK";position:absolute;right:16px;top:8px;z-index:2;padding:6px 11px;border:1px solid #d6bf98;border-radius:8px;background:#fff3d6;color:#7e5838;
  font-size:10px;font-weight:950;letter-spacing:.12em;box-shadow:0 5px 12px rgba(94,70,44,.15);transform:rotate(-2deg);pointer-events:none;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs{
  background:linear-gradient(90deg,rgba(255,247,232,.06),rgba(255,255,255,.04))!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs button{
  border-width:2px!important;border-color:rgba(255,243,213,.24)!important;border-radius:9px!important;background:rgba(255,248,233,.11)!important;color:#fffaf1!important;box-shadow:0 4px 0 rgba(69,46,27,.20)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs button:nth-child(odd){transform:rotate(-.8deg)!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs button:nth-child(even){transform:rotate(.4deg)!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-save{
  border-color:#f6de9d!important;background:linear-gradient(135deg,#f3cc74,#ffeab0)!important;color:#593c1f!important;box-shadow:0 4px 0 #c99e4e!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-experience{
  border-color:#dcc19a!important;background:#fff6e6!important;color:#68492f!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-panel-head{
  background:linear-gradient(145deg,#a97e59,#8a6548 52%,#76543d)!important;color:#fff8ef!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group{
  border:2px solid #d5bf95!important;border-radius:18px!important;background:linear-gradient(180deg,#fffdf8,#f7efde)!important;box-shadow:0 8px 18px rgba(90,66,42,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group-emblem{
  background:linear-gradient(135deg,#f3d28d,#e5b864)!important;color:#7d5637!important;box-shadow:0 4px 10px rgba(122,86,48,.16)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-pages{
  background:linear-gradient(180deg,rgba(255,251,243,.40),rgba(250,241,227,.30))!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-sheet-wrap{
  background:
    linear-gradient(90deg,rgba(240,211,129,.30) 0 54px,transparent 54px),
    repeating-linear-gradient(0deg,#fffdf8 0 34px,#ece1ca 34px 35px)!important;
  box-shadow:inset 0 0 0 1px #dbc9a8,0 24px 50px rgba(103,76,46,.11)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel{
  padding:8px 10px!important;background:linear-gradient(180deg,#d9c09a,#ceb084)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel button{
  border:1px solid #c9a977!important;border-radius:11px!important;background:#f8efdf!important;color:#65472f!important;box-shadow:0 3px 0 #cfb48b!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel button.is-active{
  background:#fffaf0!important;color:#523821!important;box-shadow:0 4px 0 #b89464!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock{
  border:2px solid #d1b182!important;background:linear-gradient(135deg,#6a4f39,#87684d)!important;box-shadow:0 18px 38px rgba(81,56,34,.24)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock .cc-dock-key{
  border-color:rgba(255,241,211,.30)!important;background:rgba(255,248,231,.13)!important;color:#fffaf1!important;
}

/* Contrast: deliberately graphic, poster-like, and unmistakable. */
.cc-workspace--dedicated[data-cc-experience-style="contrast"]{
  background:repeating-linear-gradient(135deg,#fff 0 26px,#f5f5f5 26px 52px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-probar{
  position:relative!important;
  background:#050505!important;border-bottom:7px solid #ffe500!important;box-shadow:0 10px 0 #ffe500!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-probar::after{
  content:"HIGH CONTRAST";position:absolute;right:12px;top:8px;z-index:2;padding:6px 11px;border:2px solid #050505;background:#ffe500;color:#050505;font-size:10px;font-weight:950;letter-spacing:.16em;pointer-events:none;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-panel-head{
  background:repeating-linear-gradient(135deg,#050505 0 14px,#1a1a1a 14px 28px)!important;color:#ffe500!important;box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group{
  border:3px solid #050505!important;border-radius:2px!important;background:#fff!important;box-shadow:8px 8px 0 #050505!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group-emblem{
  border-radius:2px!important;background:#ffe500!important;color:#050505!important;box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-sheet-wrap{
  background:#fff!important;box-shadow:inset 0 0 0 3px #050505,0 0 0 10px #ffe500!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-sheet thead th{background:#050505!important;color:#fff!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel{
  padding:7px!important;border-top:4px solid #050505!important;background:repeating-linear-gradient(135deg,#ffe500 0 16px,#fff28f 16px 32px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel button{
  border:2px solid #050505!important;border-radius:2px!important;background:#fff!important;color:#050505!important;font-weight:950!important;box-shadow:4px 4px 0 #050505!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel button.is-active{
  background:#050505!important;color:#ffe500!important;box-shadow:4px 4px 0 #ffe500!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock{
  border:4px solid #ffe500!important;border-radius:6px!important;background:repeating-linear-gradient(135deg,#050505 0 18px,#141414 18px 36px)!important;box-shadow:0 0 0 3px #050505!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key{
  border:2px solid #fff!important;border-radius:4px!important;background:#101010!important;color:#fff!important;box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key:nth-child(2n){background:#1f1f1f!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key:hover,
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key.is-active{
  outline:3px solid #ffe500!important;outline-offset:-3px!important;
}

/* Zen: a serene ink-and-glass workspace with recognisable atmosphere. */
.cc-workspace--dedicated[data-cc-experience-style="zen"]{
  background:
    radial-gradient(circle at 14% 18%,rgba(164,197,185,.18),transparent 18%),
    radial-gradient(circle at 82% 78%,rgba(210,224,218,.22),transparent 18%),
    linear-gradient(180deg,#eef4f1 0%,#f8faf9 45%,#e7efec 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"]::before{
  content:"";position:fixed;top:88px;right:14px;z-index:1;width:96px;height:96px;border:7px solid rgba(90,129,118,.14);border-top-color:transparent;border-right-color:transparent;border-radius:50%;transform:rotate(-28deg);pointer-events:none;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"]::after{
  content:"静かに整える";position:fixed;left:14px;top:92px;z-index:1;color:rgba(74,109,100,.62);font-size:11px;font-weight:900;letter-spacing:.26em;writing-mode:vertical-rl;pointer-events:none;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-probar{
  border:1px solid rgba(112,140,132,.20)!important;background:linear-gradient(135deg,rgba(255,255,255,.90),rgba(245,249,247,.84))!important;box-shadow:0 18px 34px rgba(67,95,88,.10)!important;backdrop-filter:blur(22px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs button{
  border:1px solid transparent!important;border-radius:999px!important;background:transparent!important;color:#516760!important;letter-spacing:.05em!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs button.is-active{
  border-color:rgba(115,153,142,.22)!important;background:linear-gradient(135deg,#dfe9e6,#eef5f2)!important;color:#2f4a43!important;box-shadow:0 8px 18px rgba(78,111,102,.09)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-experience{
  border:1px solid rgba(126,157,147,.22)!important;background:rgba(229,237,234,.88)!important;color:#47635d!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-panel-head{
  background:linear-gradient(135deg,#97b8af,#c7dad5)!important;color:#274139!important;box-shadow:0 12px 22px rgba(99,131,122,.12)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-group{
  border:1px solid rgba(143,174,165,.20)!important;border-radius:22px!important;background:rgba(255,255,255,.82)!important;box-shadow:0 12px 28px rgba(88,118,110,.09),inset 0 1px rgba(255,255,255,.82)!important;backdrop-filter:blur(14px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-group-emblem{
  background:linear-gradient(135deg,#e7f1ee,#d3e3dd)!important;color:#4c6b63!important;box-shadow:0 4px 10px rgba(86,118,110,.10)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-pages{
  background:transparent!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-sheet-wrap{
  border-radius:24px!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,251,250,.98))!important;box-shadow:0 26px 56px rgba(90,120,111,.12),inset 0 0 0 1px rgba(210,225,219,.76)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel{
  border:1px solid rgba(125,156,147,.20)!important;background:rgba(255,255,255,.84)!important;box-shadow:0 10px 24px rgba(84,115,106,.09)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel button{
  border:1px solid rgba(122,153,144,.15)!important;background:#f9fbfb!important;color:#50665f!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel button.is-active{
  background:linear-gradient(135deg,#e4efeb,#f5f9f8)!important;color:#2e4941!important;box-shadow:0 6px 14px rgba(94,126,117,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock{
  border:1px solid rgba(114,145,136,.22)!important;border-radius:999px!important;background:linear-gradient(135deg,rgba(38,58,54,.88),rgba(53,77,72,.86))!important;box-shadow:0 18px 34px rgba(50,73,68,.18)!important;backdrop-filter:blur(18px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key{
  border:1px solid rgba(255,255,255,.08)!important;border-radius:999px!important;background:rgba(255,255,255,.07)!important;color:#f6fbf9!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key:hover,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key.is-active{
  background:rgba(193,223,214,.14)!important;box-shadow:0 0 0 1px rgba(209,233,225,.18) inset!important;
}

@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style="focus"]::before,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-probar::after,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-probar::after{
    top:7px!important;
    right:10px!important;
    font-size:9px!important;
    padding:5px 8px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="zen"]::before{
    top:118px!important;right:10px!important;width:68px!important;height:68px!important;border-width:5px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="zen"]::after{
    top:126px!important;left:10px!important;font-size:9px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock{
    box-shadow:0 15px 30px rgba(36,43,58,.18)!important;
  }
}


/* v0.8.464 — final studio first-row contrast seal + extreme personality pass.
   The studio rule intentionally targets the exact high-specificity pale tab selector
   used by the shared ribbon geometry so text can never fall back to white-on-pale. */

/* --------------------------------------------------------------------------
   CotoCle Studio — FIRST ROW READABILITY
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="studio"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  border-color:rgba(20,83,65,.30)!important;
  background:linear-gradient(180deg,#ffffff 0%,#e5f0ec 100%)!important;
  color:#173d34!important;
  -webkit-text-fill-color:#173d34!important;
  font-weight:950!important;
  text-shadow:0 1px 0 rgba(255,255,255,.95)!important;
  box-shadow:0 4px 0 rgba(13,68,52,.20),0 8px 16px rgba(6,48,36,.13),inset 0 1px 0 #fff!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:hover,
.cc-workspace--dedicated[data-cc-experience-style="studio"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:focus-visible{
  border-color:#65a994!important;
  background:linear-gradient(180deg,#fff 0%,#d8eee6 100%)!important;
  color:#0e5945!important;
  -webkit-text-fill-color:#0e5945!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="studio"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  border-color:#56aa8d!important;
  background:linear-gradient(180deg,#dff8ef 0%,#bfe9da 100%)!important;
  color:#073f31!important;
  -webkit-text-fill-color:#073f31!important;
  font-weight:950!important;
  text-shadow:0 1px 0 rgba(255,255,255,.8)!important;
  box-shadow:0 4px 0 #70b99f,0 9px 17px rgba(13,91,67,.18),inset 0 1px 0 #fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:disabled{
  background:linear-gradient(180deg,#eef3f1,#dce6e2)!important;
  color:#587068!important;
  -webkit-text-fill-color:#587068!important;
  opacity:1!important;
}

/* --------------------------------------------------------------------------
   FOCUS — NEON COMMAND CENTER
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="focus"]{
  --cc-focus-cyan:#78e5ff;
  --cc-focus-blue:#173b86;
  --cc-focus-yellow:#ffd64e;
  background:
    linear-gradient(rgba(57,102,190,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(57,102,190,.055) 1px,transparent 1px),
    radial-gradient(circle at 14% 13%,rgba(120,229,255,.24),transparent 23%),
    radial-gradient(circle at 87% 83%,rgba(255,214,78,.17),transparent 22%),
    linear-gradient(145deg,#dfe9fb 0%,#f4f7ff 48%,#dce8fb 100%)!important;
  background-size:24px 24px,24px 24px,auto,auto,auto!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"]::before{
  content:"FOCUS // LIVE"!important;
  position:fixed!important;right:10px!important;top:82px!important;z-index:400!important;
  padding:8px 12px!important;border:1px solid rgba(120,229,255,.64)!important;border-radius:8px!important;
  background:linear-gradient(135deg,#0b1739,#102b67)!important;color:#aaf2ff!important;
  font:950 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace!important;letter-spacing:.14em!important;
  box-shadow:0 0 0 1px rgba(120,229,255,.12) inset,0 0 22px rgba(69,204,255,.28),0 10px 24px rgba(7,24,65,.22)!important;
  animation:cc-focus-pulse 2.2s ease-in-out infinite!important;pointer-events:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"]::after{
  content:""!important;position:fixed!important;left:0!important;top:72px!important;bottom:76px!important;width:5px!important;z-index:350!important;
  background:linear-gradient(180deg,var(--cc-focus-cyan),#315dce 55%,var(--cc-focus-yellow))!important;
  box-shadow:0 0 16px rgba(67,203,255,.55)!important;pointer-events:none!important;
}
@keyframes cc-focus-pulse{50%{box-shadow:0 0 0 1px rgba(120,229,255,.2) inset,0 0 30px rgba(69,204,255,.42),0 10px 24px rgba(7,24,65,.22)}}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-probar{
  background:linear-gradient(100deg,#091433 0%,#10265a 45%,#153a80 100%)!important;
  border-bottom:2px solid #72dcff!important;
  box-shadow:0 8px 0 rgba(38,89,178,.10),0 16px 34px rgba(9,25,65,.22)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  border:1px solid rgba(121,208,255,.35)!important;border-radius:6px!important;
  background:linear-gradient(180deg,#112c68,#0d214f)!important;color:#e7f9ff!important;-webkit-text-fill-color:#e7f9ff!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;font-weight:900!important;letter-spacing:.05em!important;
  box-shadow:0 0 0 1px rgba(105,213,255,.08) inset,0 5px 0 #071635!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  border-color:#adf3ff!important;background:linear-gradient(180deg,#8eeaff,#53c9ff)!important;color:#081a3b!important;-webkit-text-fill-color:#081a3b!important;
  box-shadow:0 4px 0 #238ebf,0 0 25px rgba(74,206,255,.48)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-panel-head{
  background:linear-gradient(90deg,#0a1b43,#123c83 60%,#0d79a7)!important;color:#dffaff!important;border-bottom:1px solid rgba(139,226,255,.4)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group{
  border:1px solid #9db7e8!important;border-radius:8px!important;background:linear-gradient(180deg,#f9fbff,#e7eefc)!important;
  box-shadow:0 8px 20px rgba(26,55,112,.12),inset 0 1px #fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group>span{
  background:linear-gradient(90deg,rgba(35,83,170,.08),rgba(77,203,255,.12))!important;color:#1e3d73!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-sheet-wrap{
  box-shadow:inset 0 0 0 2px rgba(70,115,199,.30),0 0 0 6px rgba(255,255,255,.42),0 30px 60px rgba(30,59,111,.14)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel{
  background:linear-gradient(90deg,#0d214f,#163977)!important;border-top:1px solid #66d2ff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel button{
  border:1px solid rgba(141,217,255,.32)!important;border-radius:5px!important;background:#142e61!important;color:#dcf7ff!important;box-shadow:0 3px 0 #081938!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel button.is-active{
  background:#73dcff!important;color:#09204a!important;border-color:#b8f3ff!important;box-shadow:0 3px 0 #248ebc!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock{
  border:1px solid rgba(117,225,255,.50)!important;border-radius:12px!important;
  background:linear-gradient(135deg,#07152f,#102a60 55%,#0a2149)!important;
  box-shadow:0 0 0 1px rgba(89,210,255,.08) inset,0 0 24px rgba(48,172,255,.22),0 18px 38px rgba(8,24,58,.30)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key{
  border:1px solid rgba(137,218,255,.26)!important;border-radius:7px!important;background:linear-gradient(180deg,rgba(71,120,210,.18),rgba(20,54,117,.18))!important;color:#effbff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key:nth-child(3n+1){box-shadow:inset 0 -3px rgba(92,219,255,.18)!important}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key:nth-child(3n+2){box-shadow:inset 0 -3px rgba(255,215,78,.22)!important}

/* --------------------------------------------------------------------------
   PAPER — ANALOG SCRAPBOOK / DESK
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="paper"]{
  --cc-paper-ink:#62472f;--cc-paper-tape:#f1cf75;--cc-paper-red:#c86c5c;
  background:
    radial-gradient(circle at 15px 15px,rgba(93,67,42,.06) 1px,transparent 1.5px) 0 0/16px 16px,
    linear-gradient(145deg,#ead9bd,#f4e9d6 52%,#e3ceb0)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"]::before{
  content:"NOTE / PAPER DESK"!important;position:fixed!important;right:18px!important;top:84px!important;z-index:380!important;
  padding:9px 15px!important;background:#f7d77f!important;color:#704d2c!important;border:1px solid #d7b25d!important;border-radius:2px!important;
  font:950 9px/1.1 "Trebuchet MS",sans-serif!important;letter-spacing:.12em!important;
  box-shadow:0 5px 9px rgba(91,64,36,.13)!important;transform:rotate(2.2deg)!important;pointer-events:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"]::after{
  content:""!important;position:fixed!important;left:22px!important;top:79px!important;width:58px!important;height:18px!important;z-index:370!important;
  background:rgba(233,194,111,.62)!important;box-shadow:0 1px 0 rgba(131,91,39,.12)!important;transform:rotate(-5deg)!important;pointer-events:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-probar{
  background:linear-gradient(180deg,#775438,#62442f)!important;border-bottom:6px solid #d9ad58!important;
  box-shadow:0 7px 0 rgba(108,75,45,.12),0 18px 34px rgba(84,56,33,.20)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  border:1px solid #d4bd96!important;border-radius:4px!important;background:linear-gradient(180deg,#fffaf0,#eadcc3)!important;color:#5f442d!important;-webkit-text-fill-color:#5f442d!important;
  font-family:"Trebuchet MS",sans-serif!important;font-weight:950!important;box-shadow:0 4px 0 #b89a6f!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:nth-of-type(3n){transform:rotate(.8deg)!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:nth-of-type(3n+1){transform:rotate(-.6deg)!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  border-color:#c79b47!important;background:linear-gradient(180deg,#ffe9a5,#f3c96b)!important;color:#52391f!important;-webkit-text-fill-color:#52391f!important;box-shadow:0 4px 0 #bb8d36!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-panel-head{
  background:linear-gradient(90deg,#8c684b,#a9825e 45%,#c19a65)!important;color:#fffaf1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group{
  border:2px solid #cdb58d!important;border-radius:7px!important;
  background:
    repeating-linear-gradient(0deg,#fffdf8 0 22px,#eadfca 22px 23px)!important;
  box-shadow:4px 5px 0 rgba(112,78,46,.10)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group>span{
  color:#6b4b31!important;background:rgba(236,210,161,.38)!important;font-family:"Trebuchet MS",sans-serif!important;font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-pages{
  background:
    radial-gradient(circle at 12px 12px,rgba(90,62,38,.065) 1px,transparent 1.4px) 0 0/15px 15px,
    linear-gradient(#eee0ca,#e7d5b8)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-sheet-wrap{
  background:
    radial-gradient(circle at 11px 17px,#d7c4a2 0 3px,transparent 3.5px) 0 0/22px 28px,
    linear-gradient(90deg,rgba(215,93,86,.13) 0 2px,transparent 2px) 47px 0/100% 100%,
    repeating-linear-gradient(0deg,#fffdf8 0 32px,#e8dcc7 32px 33px)!important;
  box-shadow:inset 0 0 0 1px #d1bd9b,0 24px 50px rgba(96,68,40,.15)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel{
  background:linear-gradient(180deg,#c9a878,#b9905f)!important;border-top:2px solid #8b6543!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel button{
  border:1px solid #b89462!important;border-radius:4px!important;background:#f9f0df!important;color:#62472f!important;box-shadow:0 3px 0 #a27c4f!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel button.is-active{
  background:#ffe8a4!important;color:#52391f!important;transform:rotate(-.5deg)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock{
  border:2px solid #c9a66f!important;border-radius:13px!important;background:linear-gradient(135deg,#5f432f,#79583f)!important;box-shadow:0 9px 0 #4d3626,0 19px 38px rgba(67,45,27,.28)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock .cc-dock-key{
  border:1px solid rgba(255,236,197,.28)!important;border-radius:7px!important;background:linear-gradient(180deg,rgba(255,247,225,.14),rgba(255,239,204,.07))!important;color:#fff9ed!important;
}

/* --------------------------------------------------------------------------
   HIGH CONTRAST — BRUTALIST SIGNAL SYSTEM
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="contrast"]{
  --cc-signal:#ffe600;
  background:
    repeating-linear-gradient(135deg,rgba(0,0,0,.045) 0 14px,transparent 14px 28px),#fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"]::before{
  content:"ACCESS // MAX"!important;position:fixed!important;right:8px!important;top:82px!important;z-index:400!important;padding:7px 11px!important;
  border:3px solid #050505!important;background:var(--cc-signal)!important;color:#050505!important;font:950 10px/1 Arial Black,Arial,sans-serif!important;letter-spacing:.08em!important;
  box-shadow:5px 5px 0 #050505!important;transform:rotate(1deg)!important;pointer-events:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"]::after{
  content:""!important;position:fixed!important;left:0!important;right:0!important;top:72px!important;height:8px!important;z-index:360!important;
  background:repeating-linear-gradient(135deg,#050505 0 10px,var(--cc-signal) 10px 20px)!important;pointer-events:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-probar{
  background:#050505!important;border-bottom:8px solid var(--cc-signal)!important;box-shadow:0 8px 0 #050505!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  border:3px solid #fff!important;border-radius:0!important;background:#050505!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-family:Arial Black,Arial,sans-serif!important;font-weight:950!important;box-shadow:4px 4px 0 var(--cc-signal)!important;text-transform:uppercase!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  border-color:#050505!important;background:var(--cc-signal)!important;color:#050505!important;-webkit-text-fill-color:#050505!important;box-shadow:5px 5px 0 #fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-panel-head{
  background:#050505!important;color:var(--cc-signal)!important;border-bottom:5px solid var(--cc-signal)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group{
  border:4px solid #050505!important;border-radius:0!important;background:#fff!important;box-shadow:7px 7px 0 #050505!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group>span{
  background:var(--cc-signal)!important;color:#050505!important;font-family:Arial Black,Arial,sans-serif!important;font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-sheet-wrap{
  box-shadow:inset 0 0 0 4px #050505,0 0 0 9px var(--cc-signal),0 0 0 13px #050505!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-sheet thead th{background:#050505!important;color:#fff!important;border-color:#fff!important;font-weight:950!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel{
  background:repeating-linear-gradient(135deg,var(--cc-signal) 0 16px,#fff291 16px 32px)!important;border-top:4px solid #050505!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel button{
  border:3px solid #050505!important;border-radius:0!important;background:#fff!important;color:#050505!important;font-weight:950!important;box-shadow:4px 4px 0 #050505!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel button.is-active{background:#050505!important;color:var(--cc-signal)!important;box-shadow:4px 4px 0 var(--cc-signal)!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock{
  border:5px solid var(--cc-signal)!important;border-radius:0!important;background:#050505!important;box-shadow:0 0 0 4px #050505,0 16px 0 rgba(0,0,0,.14)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key{
  border:3px solid #fff!important;border-radius:0!important;background:#050505!important;color:#fff!important;font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key:nth-child(3n+2){border-color:var(--cc-signal)!important;color:var(--cc-signal)!important}

/* --------------------------------------------------------------------------
   ZEN — WABI-SABI / INK GARDEN
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="zen"]{
  --cc-zen-ink:#344943;--cc-zen-sage:#8faea4;--cc-zen-paper:#f6f8f5;
  background:
    radial-gradient(circle at 20% 18%,rgba(123,157,146,.15),transparent 22%),
    radial-gradient(circle at 80% 75%,rgba(166,190,182,.16),transparent 19%),
    linear-gradient(150deg,#e8efec,#f7f9f7 48%,#e3ece8)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"]::before{
  content:""!important;position:fixed!important;right:18px!important;top:92px!important;z-index:340!important;width:112px!important;height:112px!important;
  border:9px solid rgba(78,111,101,.16)!important;border-top-color:rgba(78,111,101,.05)!important;border-right-color:transparent!important;border-radius:50%!important;
  transform:rotate(-36deg)!important;filter:blur(.15px)!important;pointer-events:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"]::after{
  content:"余白を味方に"!important;position:fixed!important;left:15px!important;top:94px!important;z-index:340!important;color:rgba(64,91,83,.55)!important;
  font:900 10px/1.6 "Yu Mincho","Hiragino Mincho ProN",serif!important;letter-spacing:.28em!important;writing-mode:vertical-rl!important;pointer-events:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-probar{
  background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(239,246,243,.88))!important;border:1px solid rgba(106,141,130,.18)!important;
  box-shadow:0 18px 38px rgba(66,91,84,.10)!important;backdrop-filter:blur(24px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  border:0!important;border-radius:999px!important;background:transparent!important;color:#49615a!important;-webkit-text-fill-color:#49615a!important;
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif!important;font-weight:800!important;letter-spacing:.06em!important;box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:hover{
  background:rgba(132,167,156,.10)!important;color:#304a42!important;-webkit-text-fill-color:#304a42!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  background:linear-gradient(135deg,#d5e5df,#edf4f1)!important;color:#28423a!important;-webkit-text-fill-color:#28423a!important;
  box-shadow:0 8px 20px rgba(72,105,95,.10),inset 0 0 0 1px rgba(113,151,139,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-panel-head{
  background:linear-gradient(90deg,#8daaa1,#b9cec7 55%,#d8e5e0)!important;color:#2e4b42!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-group{
  border:1px solid rgba(131,161,151,.18)!important;border-radius:26px!important;background:rgba(255,255,255,.77)!important;
  box-shadow:0 13px 30px rgba(76,105,96,.08),inset 0 1px rgba(255,255,255,.86)!important;backdrop-filter:blur(14px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-group>span{
  color:#526d65!important;background:transparent!important;font-family:"Yu Mincho","Hiragino Mincho ProN",serif!important;font-weight:800!important;letter-spacing:.08em!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-sheet-wrap{
  background:linear-gradient(180deg,rgba(255,255,255,.985),rgba(247,250,248,.985))!important;
  box-shadow:0 32px 60px rgba(78,106,98,.11),inset 0 0 0 1px rgba(207,223,216,.85)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel{
  background:rgba(249,252,250,.86)!important;border:1px solid rgba(116,149,139,.18)!important;box-shadow:0 10px 24px rgba(78,107,99,.08)!important;backdrop-filter:blur(18px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel button{
  border:0!important;border-radius:999px!important;background:transparent!important;color:#597069!important;box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel button.is-active{
  background:#dfece7!important;color:#2f4a42!important;box-shadow:inset 0 0 0 1px rgba(113,150,139,.16)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock{
  border:1px solid rgba(129,159,150,.24)!important;border-radius:999px!important;background:linear-gradient(135deg,rgba(43,61,56,.90),rgba(59,82,75,.86))!important;
  box-shadow:0 20px 42px rgba(48,68,62,.18)!important;backdrop-filter:blur(24px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key{
  border:0!important;border-radius:999px!important;background:rgba(255,255,255,.06)!important;color:#f3f8f6!important;box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key:hover,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key.is-active{background:rgba(199,224,216,.15)!important}

/* --------------------------------------------------------------------------
   MOBILE: give all four personalities their own secondary fixed navigation,
   with the same non-overlap contract already used by Kids / Sparkle.
   -------------------------------------------------------------------------- */
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style="focus"],
  .cc-workspace--dedicated[data-cc-experience-style="paper"],
  .cc-workspace--dedicated[data-cc-experience-style="contrast"],
  .cc-workspace--dedicated[data-cc-experience-style="zen"]{
    --cc-mobile-fixed-footer-clearance:calc(154px + env(safe-area-inset-bottom,0px))!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock{
    left:6px!important;right:6px!important;bottom:calc(90px + env(safe-area-inset-bottom,0px))!important;width:auto!important;transform:none!important;z-index:10035!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-experience-mobile-nav,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-experience-mobile-nav,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-experience-mobile-nav,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-experience-mobile-nav{
    position:fixed!important;left:8px!important;right:8px!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;z-index:10030!important;
    display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:4px!important;height:76px!important;padding:6px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-experience-mobile-nav{
    border:1px solid #67d9ff!important;border-radius:12px!important;background:linear-gradient(120deg,#081733,#102b63)!important;box-shadow:0 0 24px rgba(59,195,255,.28),0 14px 30px rgba(8,25,58,.28)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-experience-mobile-nav button{border-radius:7px!important;color:#e8faff!important}
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-experience-mobile-nav button:nth-child(3){background:linear-gradient(135deg,#79e4ff,#4dbcf3)!important;color:#08204b!important;box-shadow:0 0 18px rgba(87,207,255,.42)!important}

  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-experience-mobile-nav{
    border:2px solid #b89262!important;border-radius:12px!important;background:linear-gradient(180deg,#f5e3c2,#e6cda6)!important;box-shadow:0 7px 0 #a57b50,0 16px 30px rgba(82,57,33,.20)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-experience-mobile-nav button{border:1px solid #c8a778!important;border-radius:6px!important;background:#fff8e8!important;color:#65472f!important;box-shadow:0 3px 0 #b79567!important}
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-experience-mobile-nav button:nth-child(3){background:#f2ca70!important;color:#52391f!important;box-shadow:0 3px 0 #b78d42!important}

  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-experience-mobile-nav{
    border:4px solid #050505!important;border-radius:0!important;background:#ffe600!important;box-shadow:0 0 0 3px #ffe600,0 12px 0 rgba(0,0,0,.14)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-experience-mobile-nav button{border:2px solid #050505!important;border-radius:0!important;background:#fff!important;color:#050505!important;font-weight:950!important}
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-experience-mobile-nav button:nth-child(3){background:#050505!important;color:#ffe600!important;box-shadow:none!important}

  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-experience-mobile-nav{
    border:1px solid rgba(121,151,142,.20)!important;border-radius:24px!important;background:linear-gradient(135deg,rgba(253,255,254,.96),rgba(231,241,237,.94))!important;box-shadow:0 16px 34px rgba(64,91,83,.14)!important;backdrop-filter:blur(22px)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-experience-mobile-nav button{border-radius:18px!important;color:#506a62!important}
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-experience-mobile-nav button:nth-child(3){background:#d5e6df!important;color:#2f4b43!important;box-shadow:inset 0 0 0 1px rgba(117,153,142,.16)!important}

  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel{
    margin-bottom:var(--cc-mobile-fixed-footer-clearance)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop),
  .cc-workspace--dedicated[data-cc-experience-style="paper"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop),
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop),
  .cc-workspace--dedicated[data-cc-experience-style="zen"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop){
    bottom:calc(172px + env(safe-area-inset-bottom,0px) + var(--cc-keyboard-offset,0px))!important;z-index:100060!important;
  }

  /* Keep viewport top corners square even with the new signature treatments. */
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-probar,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-probar,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-probar,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-probar{
    margin:0!important;width:100%!important;border-top-left-radius:0!important;border-top-right-radius:0!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="focus"]::before,
  .cc-workspace--dedicated[data-cc-experience-style="paper"]::before,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"]::before{
    top:112px!important;right:7px!important;padding:6px 8px!important;font-size:8px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="paper"]::after{top:108px!important;left:12px!important;width:42px!important;height:13px!important}
  .cc-workspace--dedicated[data-cc-experience-style="contrast"]::after{top:103px!important;height:5px!important}
  .cc-workspace--dedicated[data-cc-experience-style="zen"]::before{top:116px!important;right:8px!important;width:72px!important;height:72px!important;border-width:6px!important}
  .cc-workspace--dedicated[data-cc-experience-style="zen"]::after{top:122px!important;left:8px!important;font-size:8px!important}
}


/* v0.8.465 — Studio / ZEN ribbon readability seal + remove decorative overlays
   from the working area across every theme. Theme individuality stays in the
   chrome (top ribbon, panels, footer, mobile nav), not inside the sheet area. */

/* --------------------------------------------------------------------------
   STUDIO — first-row buttons all readable, including Save / Mode / Back etc.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  color:#173d34!important;
  -webkit-text-fill-color:#173d34!important;
  font-weight:950!important;
  text-shadow:0 1px 0 rgba(255,255,255,.92)!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path){
  color:inherit!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-save{
  border-color:#e2c468!important;
  background:linear-gradient(180deg,#fff4be 0%,#f3da77 100%)!important;
  color:#6b4d09!important;
  -webkit-text-fill-color:#6b4d09!important;
  text-shadow:0 1px 0 rgba(255,255,255,.55)!important;
  box-shadow:0 4px 0 #c2a24a,0 8px 14px rgba(105,80,15,.14),inset 0 1px 0 rgba(255,255,255,.62)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-experience{
  border-color:#ccb9e2!important;
  background:linear-gradient(180deg,#f7eefc 0%,#ead7f7 100%)!important;
  color:#5b4470!important;
  -webkit-text-fill-color:#5b4470!important;
  text-shadow:0 1px 0 rgba(255,255,255,.6)!important;
  box-shadow:0 4px 0 #c7afd9,0 8px 14px rgba(73,53,94,.10),inset 0 1px 0 rgba(255,255,255,.72)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-close,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:not(.cc-ribbon-save):not(.cc-ribbon-experience):not([data-ribbon-tab].is-active){
  border-color:rgba(16,74,59,.34)!important;
  background:linear-gradient(180deg,#f6fbf9 0%,#dcebe6 100%)!important;
  color:#14372f!important;
  -webkit-text-fill-color:#14372f!important;
  box-shadow:0 4px 0 rgba(15,69,55,.18),0 8px 14px rgba(10,45,35,.11),inset 0 1px 0 #fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{
  color:#073f31!important;
  -webkit-text-fill-color:#073f31!important;
}

/* --------------------------------------------------------------------------
   ZEN — make the whole first ribbon row readable instead of whisper-light.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
  background:linear-gradient(90deg,rgba(255,255,255,.34),rgba(245,250,248,.30))!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  border:1px solid rgba(117,149,139,.22)!important;
  background:rgba(255,255,255,.78)!important;
  color:#3d564e!important;
  -webkit-text-fill-color:#3d564e!important;
  font-weight:900!important;
  text-shadow:0 1px 0 rgba(255,255,255,.85)!important;
  box-shadow:0 6px 14px rgba(78,107,99,.08),inset 0 1px rgba(255,255,255,.72)!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path){
  color:inherit!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-close{
  background:linear-gradient(180deg,#eef3f1 0%,#dfe8e4 100%)!important;
  color:#405750!important;
  -webkit-text-fill-color:#405750!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-save{
  border-color:#d4c282!important;
  background:linear-gradient(180deg,#f9f0c8 0%,#e8d59b 100%)!important;
  color:#5d4a1d!important;
  -webkit-text-fill-color:#5d4a1d!important;
  text-shadow:0 1px 0 rgba(255,255,255,.6)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-experience{
  border-color:rgba(135,163,154,.22)!important;
  background:linear-gradient(180deg,#edf4f1 0%,#d8e7e1 100%)!important;
  color:#496159!important;
  -webkit-text-fill-color:#496159!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{
  border-color:rgba(111,150,139,.30)!important;
  background:linear-gradient(180deg,#dceae5 0%,#c8ddd5 100%)!important;
  color:#254038!important;
  -webkit-text-fill-color:#254038!important;
  box-shadow:0 7px 16px rgba(82,112,103,.11),inset 0 1px rgba(255,255,255,.72)!important;
}

/* --------------------------------------------------------------------------
   ALL THEMES — remove decorative treatment from the working area itself.
   This removes floating badges, pseudo-element art, sheet-area patterns,
   and other non-functional ornaments that overlap or decorate the work area.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style]::before,
.cc-workspace--dedicated[data-cc-experience-style]::after,
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-pages::before,
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-pages::after,
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-page.is-active::before,
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-page.is-active::after,
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-shell::before,
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-shell::after,
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-wrap::before,
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-wrap::after{
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-experience-kids-badge,
.cc-workspace--dedicated[data-cc-experience-style] .cc-experience-fx-layer{
  display:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-pages,
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-page.is-active,
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-shell{
  background:transparent!important;
  background-image:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-wrap{
  background:#ffffff!important;
  background-image:none!important;
}
/* Keep the work area clean across the more expressive themes as well. */
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-sheet-wrap,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-sheet-wrap,
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-sheet-wrap,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-sheet-wrap,
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-sheet-wrap,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-sheet-wrap,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-sheet-wrap,
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-sheet-wrap{
  background:#fff!important;
  background-image:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-pages,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-pages,
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-pages,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-pages,
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-pages,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-pages,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-office-pages,
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-pages{
  background:transparent!important;
  background-image:none!important;
}


/* v0.8.466 — Canva-like Studio redesign, stronger ribbon-button personalities,
   paper visibility fix, stronger contrast personality, and three dark-mode variants. */

/* --------------------------------------------------------------------------
   Studio redesigned toward a Canva-like clean product UI.
   Work area remains clean; personality lives in the chrome only.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="studio"]{
  background:linear-gradient(180deg,#edf3f5 0%,#f5f7fb 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-office-probar{
  background:linear-gradient(180deg,#f6f8fd,#eef3fa)!important;
  border-bottom:1px solid #dce4ef!important;
  box-shadow:0 10px 26px rgba(74,101,137,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs{
  gap:8px!important;
  padding:8px 10px!important;
  background:linear-gradient(180deg,#f7f9fd,#edf3f9)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  min-height:40px!important;
  border:1px solid #d9e3ef!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#ffffff,#f4f7fb)!important;
  color:#2a4a68!important;
  -webkit-text-fill-color:#2a4a68!important;
  font-weight:900!important;
  text-shadow:none!important;
  box-shadow:0 2px 0 rgba(183,197,214,.7),0 8px 16px rgba(86,110,145,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:hover,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:focus-visible{
  transform:translateY(-1px)!important;
  box-shadow:0 3px 0 rgba(183,197,214,.76),0 12px 20px rgba(80,104,140,.10)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{
  border-color:#8adce0!important;
  background:linear-gradient(135deg,#7be7eb 0%,#72cff0 45%,#8f9bff 100%)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  box-shadow:0 3px 0 rgba(99,135,216,.75),0 14px 28px rgba(92,132,210,.16)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-save{
  border-color:#8ddfd8!important;
  background:linear-gradient(135deg,#d8fff3,#b8efe2)!important;
  color:#1b6a59!important;
  -webkit-text-fill-color:#1b6a59!important;
  box-shadow:0 2px 0 #95d6c8,0 10px 18px rgba(85,160,145,.10)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-experience{
  border-color:#d8c8fb!important;
  background:linear-gradient(135deg,#f4ecff,#eadbff)!important;
  color:#6b53a8!important;
  -webkit-text-fill-color:#6b53a8!important;
  box-shadow:0 2px 0 #cfbef2,0 10px 18px rgba(122,96,182,.10)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-ribbon-panel-head{
  background:linear-gradient(90deg,#78dde8,#76c9ef 50%,#91a2ff)!important;
  color:#fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-ribbon-group{
  border:1px solid #d8e2ee!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#ffffff,#f7f9fc)!important;
  box-shadow:0 10px 22px rgba(88,110,142,.07)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-ribbon-group>span{
  color:#5e7390!important;
  background:rgba(123,206,236,.10)!important;
  border-radius:999px!important;
  font-weight:900!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-office-tabs--excel{
  background:linear-gradient(180deg,#f5f8fc,#eef3f7)!important;
  border-top:1px solid #d9e3ed!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-office-tabs--excel button{
  border:1px solid #d9e2ec!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#4b6280!important;
  box-shadow:0 3px 0 #dde5ed!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-office-tabs--excel button.is-active{
  background:linear-gradient(135deg,#ffffff,#eef6ff)!important;
  color:#275372!important;
  box-shadow:0 4px 0 #cbd9e9,0 8px 16px rgba(100,126,166,.10)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock{
  border:1px solid #d8e4ee!important;
  background:linear-gradient(135deg,rgba(248,250,253,.97),rgba(240,245,250,.97))!important;
  box-shadow:0 16px 36px rgba(86,113,149,.12)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-dock-key{
  border:1px solid #dce4ee!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#ffffff,#f4f7fa)!important;
  color:#35516c!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-dock-key.is-active,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-dock-key:hover{
  background:linear-gradient(135deg,#ecfbff,#eef3ff)!important;
  box-shadow:0 0 0 1px rgba(117,205,241,.28) inset,0 10px 18px rgba(91,128,188,.10)!important;
}

/* --------------------------------------------------------------------------
   Button personality pass per theme.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  border-radius:8px 18px 8px 18px!important;
  box-shadow:0 0 0 1px rgba(105,213,255,.10) inset,0 5px 0 #071635,0 0 14px rgba(74,206,255,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  color:#5d432d!important;
  -webkit-text-fill-color:#5d432d!important;
  text-shadow:0 1px 0 rgba(255,255,255,.66)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:not(.is-active):not([aria-expanded="true"]) :is(span,b,strong,small,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path){
  color:inherit!important; fill:currentColor!important; stroke:currentColor!important; -webkit-text-fill-color:currentColor!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:not(.is-active):not([aria-expanded="true"]){
  background:linear-gradient(180deg,#fff9ef,#efe1c8)!important;
  border-color:#ceb58d!important;
  box-shadow:0 4px 0 #baa07a,0 10px 16px rgba(96,69,43,.10)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(odd){border-radius:10px 14px 10px 12px!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(even){border-radius:13px 10px 14px 10px!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  clip-path:polygon(0 0,96% 0,100% 28%,100% 100%,4% 100%,0 72%)!important;
  letter-spacing:.03em!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(odd){transform:translateY(-1px)!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-panel-head{
  background:repeating-linear-gradient(135deg,#050505 0 11px,#1b1b1b 11px 22px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock{
  box-shadow:0 0 0 4px #050505,0 0 0 8px #ffe600,0 18px 0 rgba(0,0,0,.12)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  border-radius:999px!important;
}

/* --------------------------------------------------------------------------
   Dark mode previews
   -------------------------------------------------------------------------- */
.cc-experience-preview.is-midnight{background:linear-gradient(150deg,#0d1528,#1d315c)!important}
.cc-experience-preview.is-midnight i:nth-child(1){left:5px;right:5px;top:6px;height:16px;border-radius:7px;background:linear-gradient(90deg,#274174,#3459a0)!important}
.cc-experience-preview.is-midnight i:nth-child(2){left:8px;top:30px;bottom:7px;width:22px;border-radius:5px;background:#0b1224!important}
.cc-experience-preview.is-midnight i:nth-child(3){left:36px;right:7px;top:30px;bottom:15px;border:1px solid #4a5f8b;border-radius:7px;background:repeating-linear-gradient(0deg,#1b2a49 0 11px,#30466f 11px 12px)!important}
.cc-experience-preview.is-midnight em{left:40px;right:10px;bottom:7px;height:6px;border-radius:999px;background:#74a6ff!important}
.cc-experience-preview.is-midnight b{right:10px;top:10px;width:20px;height:8px;border-radius:5px;background:#cfe1ff!important}
.cc-experience-preview.is-neon{background:linear-gradient(160deg,#04111d,#0a1e34)!important;box-shadow:0 0 0 2px #2ef6ff inset!important}
.cc-experience-preview.is-neon i:nth-child(1){inset:6px 6px auto;height:15px;border-radius:6px;background:linear-gradient(90deg,#18d7ff,#00ffa5)!important}
.cc-experience-preview.is-neon i:nth-child(2){left:7px;top:30px;bottom:7px;width:22px;border-radius:5px;background:#07192c!important;box-shadow:0 0 0 1px #21ebff inset!important}
.cc-experience-preview.is-neon i:nth-child(3){left:36px;right:7px;top:30px;bottom:15px;border:1px solid #2ef6ff;border-radius:7px;background:repeating-linear-gradient(0deg,#081728 0 11px,#16304f 11px 12px)!important}
.cc-experience-preview.is-neon em{left:40px;right:10px;bottom:7px;height:6px;border-radius:999px;background:#00ffa5!important}
.cc-experience-preview.is-neon b{right:10px;top:10px;width:20px;height:8px;border-radius:5px;background:#2ef6ff!important;box-shadow:0 0 10px rgba(46,246,255,.55)!important}
.cc-experience-preview.is-noir{background:linear-gradient(160deg,#181818,#2b2b2b)!important}
.cc-experience-preview.is-noir i:nth-child(1){left:5px;right:5px;top:6px;height:16px;border-radius:6px;background:linear-gradient(90deg,#3b3b3b,#575757)!important}
.cc-experience-preview.is-noir i:nth-child(2){left:8px;top:30px;bottom:7px;width:22px;border-radius:5px;background:#111!important}
.cc-experience-preview.is-noir i:nth-child(3){left:36px;right:7px;top:30px;bottom:15px;border:1px solid #7f7f7f;border-radius:7px;background:repeating-linear-gradient(0deg,#2e2e2e 0 11px,#454545 11px 12px)!important}
.cc-experience-preview.is-noir em{left:40px;right:10px;bottom:7px;height:6px;border-radius:999px;background:#c6c6c6!important}
.cc-experience-preview.is-noir b{right:10px;top:10px;width:20px;height:8px;border-radius:5px;background:#9b1d20!important}

/* --------------------------------------------------------------------------
   Dark mode 1: Midnight UI
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="midnight"]{
  background:#0f1830!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-probar{
  background:linear-gradient(180deg,#132141,#0f1830)!important;border-bottom:1px solid #2c4c88!important;box-shadow:0 16px 30px rgba(0,0,0,.32)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs{background:linear-gradient(180deg,#142347,#111b36)!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  border:1px solid #31518a!important;border-radius:12px!important;background:linear-gradient(180deg,#1c2c52,#152343)!important;color:#dce9ff!important;-webkit-text-fill-color:#dce9ff!important;box-shadow:0 4px 0 #0a1224!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{background:linear-gradient(135deg,#7aa2ff,#5f83d8)!important;color:#09152d!important;-webkit-text-fill-color:#09152d!important;border-color:#a8c1ff!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-save{background:linear-gradient(135deg,#9be7d1,#59b59c)!important;color:#072922!important;-webkit-text-fill-color:#072922!important;border-color:#9debd7!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-experience{background:linear-gradient(135deg,#d9cbff,#b39df2)!important;color:#2f215d!important;-webkit-text-fill-color:#2f215d!important;border-color:#ddcfff!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-panel-head{background:linear-gradient(90deg,#183161,#285094)!important;color:#eff6ff!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-group{border:1px solid #304a7f!important;border-radius:18px!important;background:linear-gradient(180deg,#1a2748,#16213d)!important;box-shadow:0 10px 20px rgba(0,0,0,.22)!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-group>span{background:rgba(122,162,255,.10)!important;color:#bed3ff!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel{background:#121b35!important;border-top:1px solid #2a447a!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel button{border:1px solid #355488!important;border-radius:10px!important;background:#1a2848!important;color:#dce8ff!important;box-shadow:0 3px 0 #0a1122!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel button.is-active{background:#7ca4ff!important;color:#09162e!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-editor-dock{border:1px solid #2f4f86!important;background:linear-gradient(135deg,#101b35,#162449)!important;box-shadow:0 20px 36px rgba(0,0,0,.34)!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-editor-dock .cc-dock-key{border:1px solid #2f5086!important;border-radius:16px!important;background:linear-gradient(180deg,#192748,#15213e)!important;color:#edf5ff!important}

/* Dark mode 2: Neon Grid */
.cc-workspace--dedicated[data-cc-experience-style="neon"]{background:#031220!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-probar{background:linear-gradient(180deg,#07172a,#05111f)!important;border-bottom:2px solid #2ef6ff!important;box-shadow:0 0 24px rgba(46,246,255,.20)!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs{background:linear-gradient(180deg,#071829,#05111f)!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{border:1px solid #1deeff!important;border-radius:10px!important;background:linear-gradient(180deg,#091d32,#071526)!important;color:#dfffff!important;-webkit-text-fill-color:#dfffff!important;box-shadow:0 0 0 1px rgba(0,255,165,.08) inset,0 0 12px rgba(46,246,255,.12)!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{background:linear-gradient(135deg,#2ef6ff,#00ffa5)!important;color:#04111e!important;-webkit-text-fill-color:#04111e!important;box-shadow:0 0 22px rgba(46,246,255,.45)!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-save{background:linear-gradient(135deg,#00ffa5,#9effdf)!important;color:#03261d!important;-webkit-text-fill-color:#03261d!important;border-color:#89ffd0!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-experience{background:linear-gradient(135deg,#8c7cff,#d0c8ff)!important;color:#20185c!important;-webkit-text-fill-color:#20185c!important;border-color:#b4aaff!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-panel-head{background:linear-gradient(90deg,#081f37,#0a2b48 55%,#0a5548)!important;color:#dfffff!important;border-bottom:1px solid #2ef6ff!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-group{border:1px solid rgba(46,246,255,.30)!important;border-radius:16px!important;background:linear-gradient(180deg,#081627,#06111f)!important;box-shadow:0 0 0 1px rgba(0,255,165,.05) inset!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-group>span{background:rgba(46,246,255,.08)!important;color:#9efcff!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel{background:#051120!important;border-top:1px solid #1deeff!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel button{border:1px solid #198b92!important;border-radius:10px!important;background:#091a2e!important;color:#cffdff!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel button.is-active{background:#2ef6ff!important;color:#05111f!important;border-color:#b2fdff!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-editor-dock{border:1px solid #1deeff!important;background:linear-gradient(135deg,#06101d,#0b1a2f)!important;box-shadow:0 0 26px rgba(46,246,255,.18),0 20px 38px rgba(0,0,0,.36)!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-editor-dock .cc-dock-key{border:1px solid rgba(46,246,255,.34)!important;border-radius:15px!important;background:linear-gradient(180deg,rgba(10,31,52,.9),rgba(7,20,35,.9))!important;color:#e8ffff!important}

/* Dark mode 3: Noir Ink */
.cc-workspace--dedicated[data-cc-experience-style="noir"]{background:#171717!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-probar{background:linear-gradient(180deg,#2a2a2a,#1c1c1c)!important;border-bottom:1px solid #666!important;box-shadow:0 16px 30px rgba(0,0,0,.30)!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs{background:linear-gradient(180deg,#292929,#1d1d1d)!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{border:1px solid #686868!important;border-radius:12px!important;background:linear-gradient(180deg,#3a3a3a,#262626)!important;color:#f3f3f3!important;-webkit-text-fill-color:#f3f3f3!important;box-shadow:0 4px 0 #161616!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{background:linear-gradient(135deg,#d9d9d9,#aaaaaa)!important;color:#121212!important;-webkit-text-fill-color:#121212!important;border-color:#efefef!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-save{background:linear-gradient(135deg,#d5d5d5,#b8b8b8)!important;color:#171717!important;-webkit-text-fill-color:#171717!important;border-color:#efefef!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-experience{background:linear-gradient(135deg,#9e1e24,#cb3b3f)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#d8585b!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-panel-head{background:linear-gradient(90deg,#323232,#4b4b4b)!important;color:#f5f5f5!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-group{border:1px solid #535353!important;border-radius:18px!important;background:linear-gradient(180deg,#2b2b2b,#1f1f1f)!important;box-shadow:0 10px 20px rgba(0,0,0,.25)!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-group>span{background:rgba(255,255,255,.06)!important;color:#d1d1d1!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel{background:#202020!important;border-top:1px solid #555!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel button{border:1px solid #626262!important;border-radius:10px!important;background:#303030!important;color:#f4f4f4!important;box-shadow:0 3px 0 #151515!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel button.is-active{background:#d3d3d3!important;color:#161616!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-editor-dock{border:1px solid #5f5f5f!important;background:linear-gradient(135deg,#232323,#1a1a1a)!important;box-shadow:0 20px 36px rgba(0,0,0,.34)!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-editor-dock .cc-dock-key{border:1px solid #5f5f5f!important;border-radius:16px!important;background:linear-gradient(180deg,#353535,#252525)!important;color:#f6f6f6!important}

/* Mobile nav for the three dark styles + clearance */
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style="midnight"],
  .cc-workspace--dedicated[data-cc-experience-style="neon"],
  .cc-workspace--dedicated[data-cc-experience-style="noir"]{
    --cc-mobile-fixed-footer-clearance:calc(154px + env(safe-area-inset-bottom,0px))!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-editor-dock,
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-editor-dock{
    left:6px!important;right:6px!important;bottom:calc(90px + env(safe-area-inset-bottom,0px))!important;width:auto!important;transform:none!important;z-index:10035!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-experience-mobile-nav,
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-experience-mobile-nav,
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-experience-mobile-nav{
    position:fixed!important;left:8px!important;right:8px!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;z-index:10030!important;
    display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:4px!important;height:76px!important;padding:6px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-experience-mobile-nav{border:1px solid #355488!important;border-radius:18px!important;background:linear-gradient(135deg,#132141,#0f1830)!important;box-shadow:0 16px 30px rgba(0,0,0,.32)!important}
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-experience-mobile-nav button{color:#e4efff!important;border-radius:12px!important}
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-experience-mobile-nav button:nth-child(3){background:#7ca4ff!important;color:#09162e!important}
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-experience-mobile-nav{border:1px solid #2ef6ff!important;border-radius:16px!important;background:linear-gradient(135deg,#06101d,#0b1a2f)!important;box-shadow:0 0 24px rgba(46,246,255,.18),0 16px 30px rgba(0,0,0,.34)!important}
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-experience-mobile-nav button{color:#e9ffff!important;border-radius:10px!important}
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-experience-mobile-nav button:nth-child(3){background:linear-gradient(135deg,#2ef6ff,#00ffa5)!important;color:#04111e!important}
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-experience-mobile-nav{border:1px solid #5d5d5d!important;border-radius:18px!important;background:linear-gradient(135deg,#2a2a2a,#1c1c1c)!important;box-shadow:0 16px 30px rgba(0,0,0,.34)!important}
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-experience-mobile-nav button{color:#f2f2f2!important;border-radius:12px!important}
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-experience-mobile-nav button:nth-child(3){background:#d4d4d4!important;color:#171717!important}
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel{margin-bottom:var(--cc-mobile-fixed-footer-clearance)!important}
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop),
  .cc-workspace--dedicated[data-cc-experience-style="neon"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop),
  .cc-workspace--dedicated[data-cc-experience-style="noir"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop){bottom:calc(172px + env(safe-area-inset-bottom,0px) + var(--cc-keyboard-offset,0px))!important;z-index:100060!important}
}


/* v0.8.467 — full ribbon detail audit, dark axis headers, and Accessible Contrast 2.0.
   The worksheet/cell area itself stays neutral. Theme personality is concentrated in
   the ribbon, axis chrome, sheet tabs, dock, and secondary mobile navigation. */

/* ==========================================================================
   1. FULL RIBBON THEME TOKENS — every theme now reaches the small controls too
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="studio"]{
  --cc-rb-panel:#eef4fa;--cc-rb-group:#ffffff;--cc-rb-group-border:#d5e1ed;--cc-rb-caption:#eaf5fb;--cc-rb-caption-fg:#55718d;
  --cc-rb-control:#f9fbfd;--cc-rb-control-2:#eef4f8;--cc-rb-control-border:#d5e0ea;--cc-rb-control-fg:#2f506c;--cc-rb-hover:#e8f7fb;--cc-rb-hover-border:#7ccfdc;--cc-rb-radius:11px;--cc-rb-shadow:0 3px 0 #d8e2ec,0 7px 14px rgba(76,103,139,.08);
}
.cc-workspace--dedicated[data-cc-experience-style="pro"]{
  --cc-rb-panel:#102f27;--cc-rb-group:#163c32;--cc-rb-group-border:#2d6a59;--cc-rb-caption:#1d4a3e;--cc-rb-caption-fg:#d9fff0;
  --cc-rb-control:#1b493c;--cc-rb-control-2:#13392f;--cc-rb-control-border:#347764;--cc-rb-control-fg:#effff8;--cc-rb-hover:#245e4e;--cc-rb-hover-border:#66d6ae;--cc-rb-radius:10px;--cc-rb-shadow:0 3px 0 #0b241e,0 7px 14px rgba(0,0,0,.14);
}
.cc-workspace--dedicated[data-cc-experience-style="kids"]{
  --cc-rb-panel:#fff6dc;--cc-rb-group:#fffdf6;--cc-rb-group-border:#ffffff;--cc-rb-caption:#ffe071;--cc-rb-caption-fg:#6344a6;
  --cc-rb-control:#ffffff;--cc-rb-control-2:#fff0f5;--cc-rb-control-border:#bda9ea;--cc-rb-control-fg:#583f99;--cc-rb-hover:#fff0a8;--cc-rb-hover-border:#8d6ddd;--cc-rb-radius:14px;--cc-rb-shadow:0 4px 0 #d8caef,0 8px 12px rgba(91,62,151,.08);
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"]{
  --cc-rb-panel:rgba(250,241,255,.94);--cc-rb-group:rgba(255,255,255,.86);--cc-rb-group-border:#e8cde6;--cc-rb-caption:#f8dff0;--cc-rb-caption-fg:#955182;
  --cc-rb-control:rgba(255,255,255,.92);--cc-rb-control-2:#f7ebff;--cc-rb-control-border:#dfbddc;--cc-rb-control-fg:#765273;--cc-rb-hover:#f8dff0;--cc-rb-hover-border:#d98ab7;--cc-rb-radius:999px;--cc-rb-shadow:0 5px 14px rgba(155,89,145,.10),inset 0 1px #fff;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"]{
  --cc-rb-panel:#0b1b3f;--cc-rb-group:#102b5b;--cc-rb-group-border:#3f76c2;--cc-rb-caption:#14366f;--cc-rb-caption-fg:#bfeeff;
  --cc-rb-control:#0f2a5d;--cc-rb-control-2:#0a214e;--cc-rb-control-border:#4586cf;--cc-rb-control-fg:#eafaff;--cc-rb-hover:#144386;--cc-rb-hover-border:#7eeaff;--cc-rb-radius:7px 15px 7px 15px;--cc-rb-shadow:0 3px 0 #061633,0 0 14px rgba(95,219,255,.08);
}
.cc-workspace--dedicated[data-cc-experience-style="paper"]{
  --cc-rb-panel:#ead7b9;--cc-rb-group:#fffaf0;--cc-rb-group-border:#c7a97b;--cc-rb-caption:#efd09a;--cc-rb-caption-fg:#67472e;
  --cc-rb-control:#fff9ef;--cc-rb-control-2:#ead9be;--cc-rb-control-border:#c7ab81;--cc-rb-control-fg:#5a402c;--cc-rb-hover:#ffe3a2;--cc-rb-hover-border:#ad8046;--cc-rb-radius:9px 13px 8px 12px;--cc-rb-shadow:0 4px 0 #b89b72,0 7px 12px rgba(91,62,36,.08);
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"]{
  --cc-rb-panel:#f4f7fa;--cc-rb-group:#ffffff;--cc-rb-group-border:#0b1f33;--cc-rb-caption:#dceefa;--cc-rb-caption-fg:#0b1f33;
  --cc-rb-control:#ffffff;--cc-rb-control-2:#eaf4fb;--cc-rb-control-border:#0b1f33;--cc-rb-control-fg:#0b1f33;--cc-rb-hover:#d9f0ff;--cc-rb-hover-border:#0072b2;--cc-rb-radius:7px;--cc-rb-shadow:0 3px 0 #0b1f33;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"]{
  --cc-rb-panel:#edf4f1;--cc-rb-group:#fbfdfc;--cc-rb-group-border:#cbdcd5;--cc-rb-caption:#e2eee9;--cc-rb-caption-fg:#4c675e;
  --cc-rb-control:#f8fbfa;--cc-rb-control-2:#e9f1ee;--cc-rb-control-border:#c8d9d3;--cc-rb-control-fg:#405b52;--cc-rb-hover:#dcebe5;--cc-rb-hover-border:#8ab1a4;--cc-rb-radius:999px;--cc-rb-shadow:0 4px 12px rgba(83,112,103,.07),inset 0 1px #fff;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"]{
  --cc-rb-panel:#111d38;--cc-rb-group:#182747;--cc-rb-group-border:#355486;--cc-rb-caption:#21365f;--cc-rb-caption-fg:#cfe0ff;
  --cc-rb-control:#1a2b4e;--cc-rb-control-2:#13213e;--cc-rb-control-border:#3b5c93;--cc-rb-control-fg:#edf4ff;--cc-rb-hover:#24406f;--cc-rb-hover-border:#7da6ff;--cc-rb-radius:10px;--cc-rb-shadow:0 3px 0 #091226,0 8px 14px rgba(0,0,0,.16);
}
.cc-workspace--dedicated[data-cc-experience-style="neon"]{
  --cc-rb-panel:#05121f;--cc-rb-group:#081a2c;--cc-rb-group-border:#168b9b;--cc-rb-caption:#0a2537;--cc-rb-caption-fg:#a9fbff;
  --cc-rb-control:#081b2e;--cc-rb-control-2:#061524;--cc-rb-control-border:#1ac8d8;--cc-rb-control-fg:#eaffff;--cc-rb-hover:#0b3045;--cc-rb-hover-border:#2ef6ff;--cc-rb-radius:9px;--cc-rb-shadow:0 0 12px rgba(46,246,255,.10),inset 0 0 0 1px rgba(0,255,165,.04);
}
.cc-workspace--dedicated[data-cc-experience-style="noir"]{
  --cc-rb-panel:#1d1d1d;--cc-rb-group:#292929;--cc-rb-group-border:#5d5d5d;--cc-rb-caption:#353535;--cc-rb-caption-fg:#eeeeee;
  --cc-rb-control:#333333;--cc-rb-control-2:#252525;--cc-rb-control-border:#666666;--cc-rb-control-fg:#f5f5f5;--cc-rb-hover:#414141;--cc-rb-hover-border:#aaaaaa;--cc-rb-radius:9px;--cc-rb-shadow:0 3px 0 #141414,0 8px 14px rgba(0,0,0,.18);
}

/* Active ribbon panel background itself — previously several themes inherited the generic mint panel. */
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
  background:var(--cc-rb-panel)!important;
  border-color:var(--cc-rb-group-border)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
  border-color:var(--cc-rb-group-border)!important;
  background:var(--cc-rb-group)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
  border-bottom-color:var(--cc-rb-group-border)!important;
  background:var(--cc-rb-caption)!important;
  color:var(--cc-rb-caption-fg)!important;
  -webkit-text-fill-color:var(--cc-rb-caption-fg)!important;
  font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span :is(i,b,strong,small,svg,path){
  color:inherit!important;fill:currentColor!important;stroke:currentColor!important;-webkit-text-fill-color:currentColor!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border-color:var(--cc-rb-control-border)!important;
  border-radius:var(--cc-rb-radius)!important;
  background:linear-gradient(180deg,var(--cc-rb-control),var(--cc-rb-control-2))!important;
  color:var(--cc-rb-control-fg)!important;
  -webkit-text-fill-color:var(--cc-rb-control-fg)!important;
  box-shadow:var(--cc-rb-shadow)!important;
  font-weight:850!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group :is(button,select,label,.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool) :is(span,b,strong,small,i,svg,path){
  color:inherit!important;fill:currentColor!important;stroke:currentColor!important;-webkit-text-fill-color:currentColor!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button:hover,
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group button:focus-visible,
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group label:hover{
  border-color:var(--cc-rb-hover-border)!important;background:var(--cc-rb-hover)!important;color:var(--cc-rb-control-fg)!important;-webkit-text-fill-color:var(--cc-rb-control-fg)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group select option{
  background:var(--cc-rb-group)!important;color:var(--cc-rb-control-fg)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group input[type="color"]{
  border:2px solid var(--cc-rb-control-border)!important;border-radius:calc(var(--cc-rb-radius) * .7)!important;background:var(--cc-rb-group)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-ribbon-panel-close{
  border-color:var(--cc-rb-control-border)!important;background:var(--cc-rb-control)!important;color:var(--cc-rb-control-fg)!important;-webkit-text-fill-color:var(--cc-rb-control-fg)!important;
}

/* Tiny per-theme signatures inside the ribbon, without touching the worksheet. */
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(4n+1) :is(button,select,label){background:linear-gradient(180deg,#fff,#fff0f4)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(4n+2) :is(button,select,label){background:linear-gradient(180deg,#fff,#fff8d8)!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(4n+3) :is(button,select,label){background:linear-gradient(180deg,#fff,#e7f8ff)!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-group :is(button,select,label){backdrop-filter:blur(10px)!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-group button:nth-child(3n+1){box-shadow:0 5px 14px rgba(215,105,173,.12),inset 0 0 0 1px rgba(255,255,255,.7)!important}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group button:nth-child(odd){border-radius:7px 15px 7px 15px!important}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group button:nth-child(even){border-radius:15px 7px 15px 7px!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group button:nth-child(3n+1){transform:rotate(-.35deg)!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group button:nth-child(3n){transform:rotate(.35deg)!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-group :is(button,select,label){letter-spacing:.03em!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-group button:hover{box-shadow:0 0 18px rgba(46,246,255,.25),inset 0 0 0 1px rgba(0,255,165,.14)!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-group button:nth-child(4n+1){border-left:3px solid #a9363a!important}

/* ==========================================================================
   2. DARK THEMES — darken ONLY row/column axis chrome; data cells remain intact
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-sheet thead th,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-sheet tbody>tr>th{
  background:#15223d!important;color:#dce9ff!important;border-color:#344b73!important;box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-sheet thead th.is-axis-selected,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-sheet tbody>tr>th.is-axis-selected{
  background:#6f98ee!important;color:#08142b!important;box-shadow:inset 0 0 0 2px #b7ccff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-sheet thead th,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-sheet tbody>tr>th{
  background:#071725!important;color:#aefaff!important;border-color:#175062!important;box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-sheet thead th.is-axis-selected,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-sheet tbody>tr>th.is-axis-selected{
  background:#2ef6ff!important;color:#03131f!important;box-shadow:inset 0 0 0 2px #00a886!important;
}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-sheet thead th,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-sheet tbody>tr>th{
  background:#262626!important;color:#eeeeee!important;border-color:#555555!important;box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-sheet thead th.is-axis-selected,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-sheet tbody>tr>th.is-axis-selected{
  background:#d7d7d7!important;color:#151515!important;box-shadow:inset 0 0 0 2px #8f2025!important;
}

/* ==========================================================================
   3. HIGH CONTRAST 2.0 — color-vision-friendly + state by shape/pattern, not hue
   Palette follows a blue/orange/sky/black direction and never relies on color alone.
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="contrast"]{
  --cc-a11y-ink:#0b1f33;--cc-a11y-blue:#0072b2;--cc-a11y-sky:#56b4e9;--cc-a11y-orange:#e69f00;--cc-a11y-paper:#ffffff;
  background:#f3f6f8!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-probar{
  background:linear-gradient(180deg,#0b1f33,#102b46)!important;
  border-bottom:6px solid #56b4e9!important;
  box-shadow:0 9px 0 #e69f00,0 16px 28px rgba(11,31,51,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs{
  background:linear-gradient(180deg,#0b1f33,#102b46)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  clip-path:none!important;
  border:2px solid #f7fbff!important;
  border-radius:8px!important;
  background:#0b1f33!important;
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-weight:950!important;
  box-shadow:0 4px 0 #0072b2!important;
  text-transform:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(3n+1){border-bottom-style:double!important;border-bottom-width:4px!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(3n+2){border-left-width:4px!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(3n){border-right-width:4px!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{
  border:3px double #0b1f33!important;
  background:repeating-linear-gradient(135deg,#d9f0ff 0 10px,#ffffff 10px 20px)!important;
  color:#0b1f33!important;-webkit-text-fill-color:#0b1f33!important;
  box-shadow:0 5px 0 #e69f00,0 0 0 2px #ffffff!important;
  transform:translateY(-2px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-save{
  background:#ffffff!important;color:#0b1f33!important;-webkit-text-fill-color:#0b1f33!important;border:3px solid #56b4e9!important;box-shadow:0 4px 0 #0072b2!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-experience{
  background:#ffffff!important;color:#0b1f33!important;-webkit-text-fill-color:#0b1f33!important;border:3px solid #e69f00!important;box-shadow:0 4px 0 #9c6a00!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
  background:#f4f7fa!important;
  border-top:6px solid #56b4e9!important;
  border-bottom:6px solid #0b1f33!important;
  box-shadow:inset 0 5px 0 #e69f00!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-panel-head{
  background:linear-gradient(90deg,#0b1f33,#15395e)!important;color:#ffffff!important;border-bottom:5px solid #56b4e9!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-panel-head :is(strong,small){color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group{
  border:3px solid #0b1f33!important;border-radius:9px!important;background:#ffffff!important;box-shadow:5px 5px 0 #bfdff0!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group>span{
  border-bottom:2px solid #0b1f33!important;background:repeating-linear-gradient(135deg,#dceefa 0 9px,#ffffff 9px 18px)!important;color:#0b1f33!important;-webkit-text-fill-color:#0b1f33!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:2px solid #0b1f33!important;border-radius:7px!important;background:#ffffff!important;color:#0b1f33!important;-webkit-text-fill-color:#0b1f33!important;box-shadow:0 3px 0 #b8c8d4!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group button:hover,
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group button:focus-visible{
  background:#d9f0ff!important;border-color:#0072b2!important;outline:3px solid #e69f00!important;outline-offset:1px!important;color:#0b1f33!important;-webkit-text-fill-color:#0b1f33!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-group button:active{
  background:#0b1f33!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;transform:translateY(2px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel{
  background:#dceefa!important;border-top:4px solid #0b1f33!important;box-shadow:inset 0 4px 0 #e69f00!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel button{
  border:2px solid #0b1f33!important;border-radius:7px!important;background:#ffffff!important;color:#0b1f33!important;box-shadow:0 3px 0 #7f97a9!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel button.is-active{
  border:3px double #0b1f33!important;background:repeating-linear-gradient(135deg,#ffffff 0 8px,#d9f0ff 8px 16px)!important;color:#0b1f33!important;box-shadow:0 4px 0 #e69f00!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock{
  border:4px solid #0b1f33!important;border-radius:12px!important;background:#0b1f33!important;
  box-shadow:0 0 0 4px #56b4e9,0 0 0 8px #ffffff,0 0 0 11px #0b1f33,0 18px 34px rgba(11,31,51,.20)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key{
  border:2px solid #ffffff!important;border-radius:8px!important;background:#102b46!important;color:#ffffff!important;box-shadow:inset 0 -4px #0072b2!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key:nth-child(3n+2){border-style:double!important;border-width:4px!important;color:#ffffff!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-editor-dock .cc-dock-key:nth-child(3n){box-shadow:inset 0 -4px #e69f00!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-experience-mobile-nav{
  border:4px solid #0b1f33!important;border-radius:12px!important;background:#f7fbff!important;box-shadow:0 0 0 4px #56b4e9,0 13px 24px rgba(11,31,51,.16)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-experience-mobile-nav button{
  border:2px solid #0b1f33!important;border-radius:7px!important;background:#ffffff!important;color:#0b1f33!important;font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-experience-mobile-nav button:nth-child(3){
  border:3px double #0b1f33!important;background:repeating-linear-gradient(135deg,#d9f0ff 0 9px,#ffffff 9px 18px)!important;color:#0b1f33!important;box-shadow:0 4px 0 #e69f00!important;
}

/* Mode-card copy now states the real accessibility benefit. */
.cc-experience-card [data-cc-a11y-note]{font-weight:900}

/* ==========================================================================
   4. MOBILE FINAL SEAL — theme variables must beat the generic compact ribbon
   ========================================================================== */
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    background:var(--cc-rb-panel)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
    background:var(--cc-rb-group)!important;border-color:var(--cc-rb-group-border)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
    background:var(--cc-rb-caption)!important;color:var(--cc-rb-caption-fg)!important;-webkit-text-fill-color:var(--cc-rb-caption-fg)!important;border-bottom-color:var(--cc-rb-group-border)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
    background:linear-gradient(180deg,var(--cc-rb-control),var(--cc-rb-control-2))!important;border-color:var(--cc-rb-control-border)!important;color:var(--cc-rb-control-fg)!important;-webkit-text-fill-color:var(--cc-rb-control-fg)!important;box-shadow:var(--cc-rb-shadow)!important;
  }
  /* Paper mobile readability — explicit final cascade seal for Home and every later tab. */
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
    background:linear-gradient(180deg,#fff9ef,#ead8bc)!important;border-color:#b99768!important;color:#513923!important;-webkit-text-fill-color:#513923!important;text-shadow:0 1px 0 #fff!important;opacity:1!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path){color:inherit!important;fill:currentColor!important;stroke:currentColor!important;-webkit-text-fill-color:currentColor!important}
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{
    background:linear-gradient(180deg,#ffe7a0,#efc162)!important;color:#4a321d!important;-webkit-text-fill-color:#4a321d!important;border-color:#a97531!important;
  }
  /* High contrast mobile panel no longer uses the old black/yellow unfinished bar. */
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
    background:#f4f7fa!important;border-top:5px solid #56b4e9!important;border-bottom:5px solid #0b1f33!important;box-shadow:inset 0 4px 0 #e69f00!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group{
    border:2px solid #0b1f33!important;background:#ffffff!important;box-shadow:3px 3px 0 #bfdff0!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-ribbon-group>span{
    background:repeating-linear-gradient(135deg,#dceefa 0 8px,#ffffff 8px 16px)!important;color:#0b1f33!important;-webkit-text-fill-color:#0b1f33!important;border-bottom:2px solid #0b1f33!important;
  }
}


/* v0.8.468 — add 8bit Arcade theme and perform a broader visual QA pass
   based on the provided screenshots: stronger text/icon contrast, mobile
   ribbon cleanup, remove clipped edge artifacts, and finish smaller controls. */

/* --------------------------------------------------------------------------
   Global mobile ribbon QA fixes inferred from screenshots.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated .cc-office-probar,
.cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"]{
  overflow:hidden!important;
}
.cc-workspace--dedicated .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path){
  color:inherit!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
}
@media(max-width:900px){
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
    padding-left:8px!important;
    padding-right:8px!important;
    gap:8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-padding-inline:8px!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .cc-workspace--dedicated [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
    flex:0 0 auto!important;
    margin:0!important;
    scroll-snap-align:start!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
    transform:none!important;
  }
}

/* Small controls inside expanded ribbon get theme-aware completion instead of
   feeling unfinished or falling back to a mismatched default UI. */
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:1px solid #dce4ee!important;background:#ffffff!important;color:#375470!important;border-radius:12px!important;box-shadow:0 3px 0 #e5ebf2!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:1px solid #b7cdf2!important;background:linear-gradient(180deg,#f7fbff,#eaf2ff)!important;color:#17345d!important;border-radius:12px!important;box-shadow:0 4px 0 #cfe0fb!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:1px solid #d7c39f!important;background:linear-gradient(180deg,#fffaf1,#f4e8d2)!important;color:#5c432d!important;border-radius:12px!important;box-shadow:0 4px 0 #cdb58d!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group button:hover,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group button:focus-visible{filter:brightness(1.03)!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:1px solid rgba(137,166,157,.24)!important;background:rgba(255,255,255,.88)!important;color:#4a635c!important;border-radius:16px!important;box-shadow:0 8px 18px rgba(88,118,110,.06)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool),
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool),
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  box-shadow:none!important;
}

/* Strengthen visibility on tool docks where screenshots still looked washed out. */
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock .cc-dock-key{
  font-weight:900!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-editor-dock .cc-dock-key :is(span,small),
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key :is(span,small),
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock .cc-dock-key :is(span,small){
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
}

/* --------------------------------------------------------------------------
   New theme card preview: 8bit Arcade
   -------------------------------------------------------------------------- */
.cc-experience-preview.is-pixel{background:linear-gradient(180deg,#2b245d,#3f3c91)!important;box-shadow:0 0 0 3px #131028 inset!important;border-radius:10px!important}
.cc-experience-preview.is-pixel i:nth-child(1){left:6px;right:6px;top:7px;height:14px;background:repeating-linear-gradient(90deg,#ffde59 0 12px,#34d399 12px 24px,#60a5fa 24px 36px,#f472b6 36px 48px)!important;border-radius:0!important}
.cc-experience-preview.is-pixel i:nth-child(2){left:8px;top:29px;bottom:8px;width:23px;background:#111827!important;box-shadow:0 0 0 2px #60a5fa inset!important;border-radius:0!important}
.cc-experience-preview.is-pixel i:nth-child(3){left:37px;right:8px;top:29px;bottom:15px;background:repeating-linear-gradient(0deg,#1b1441 0 10px,#3e2f7d 10px 11px)!important;box-shadow:0 0 0 2px #fef3c7 inset!important;border-radius:0!important}
.cc-experience-preview.is-pixel em{left:40px;right:10px;bottom:8px;height:6px;background:#34d399!important;border-radius:0!important}
.cc-experience-preview.is-pixel b{right:10px;top:10px;width:18px;height:8px;background:#ffde59!important;box-shadow:4px 4px 0 #000!important;border-radius:0!important}

/* --------------------------------------------------------------------------
   8bit Arcade theme
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="pixel"]{
  --cc-pixel-ink:#171229;
  --cc-pixel-bg:#2b245d;
  --cc-pixel-panel:#3c3382;
  --cc-pixel-cyan:#5bc0ff;
  --cc-pixel-green:#38d39f;
  --cc-pixel-yellow:#ffd54f;
  --cc-pixel-pink:#f472b6;
  background:linear-gradient(180deg,#2b245d,#3e3685)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-probar{
  background:linear-gradient(180deg,#2e2766,#241f52)!important;
  border-bottom:4px solid var(--cc-pixel-yellow)!important;
  box-shadow:0 0 0 4px #151126 inset,0 12px 0 rgba(0,0,0,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs{
  padding:8px 10px!important;
  gap:8px!important;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.02) 0 8px,transparent 8px 16px),linear-gradient(180deg,#2d275f,#241f4f)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool),
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-tabs--excel button,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-experience-mobile-nav button{
  border-radius:0!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  letter-spacing:.01em!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  min-height:42px!important;
  border:3px solid #151126!important;
  background:linear-gradient(180deg,#fff6d7,#ffe082)!important;
  color:#201a40!important;
  -webkit-text-fill-color:#201a40!important;
  font-weight:950!important;
  text-shadow:none!important;
  box-shadow:4px 4px 0 #151126!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(4n+1){background:linear-gradient(180deg,#fff6d7,#ffe082)!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(4n+2){background:linear-gradient(180deg,#ecfff9,#a7f3d0)!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(4n+3){background:linear-gradient(180deg,#eef7ff,#93c5fd)!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(4n){background:linear-gradient(180deg,#fff0f7,#f9a8d4)!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:hover,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:focus-visible{transform:translate(-1px,-1px)!important;box-shadow:5px 5px 0 #151126!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{
  background:linear-gradient(180deg,#5bc0ff,#3b82f6)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  box-shadow:4px 4px 0 #151126,0 0 0 4px rgba(255,213,79,.32)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-ribbon-save{background:linear-gradient(180deg,#a7f3d0,#38d39f)!important;color:#10281f!important;-webkit-text-fill-color:#10281f!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-ribbon-experience{background:linear-gradient(180deg,#f9a8d4,#f472b6)!important;color:#42152a!important;-webkit-text-fill-color:#42152a!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
  background:linear-gradient(180deg,#2d275f,#241f4f)!important;border-top:4px solid var(--cc-pixel-yellow)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-ribbon-panel-head{
  background:repeating-linear-gradient(90deg,#5bc0ff 0 16px,#3b82f6 16px 32px)!important;
  color:#fff!important;box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-ribbon-group{
  border:3px solid #151126!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#4a4093,#3a327b)!important;
  box-shadow:4px 4px 0 #151126!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-ribbon-group>span{
  border-radius:0!important;background:linear-gradient(90deg,#ffd54f,#ffde59)!important;color:#241d4d!important;font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:3px solid #151126!important;background:#fff8dd!important;color:#201a40!important;box-shadow:3px 3px 0 #151126!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-ribbon-group button:hover{transform:translate(-1px,-1px)!important;box-shadow:4px 4px 0 #151126!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-tabs--excel{
  padding:10px!important;background:linear-gradient(180deg,#332b71,#2a245d)!important;border-top:4px solid #ffd54f!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-tabs--excel button{
  border:3px solid #151126!important;background:#fff8dd!important;color:#241d4d!important;box-shadow:4px 4px 0 #151126!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-tabs--excel button.is-active{background:#5bc0ff!important;color:#ffffff!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock{
  border:4px solid #151126!important;border-radius:0!important;background:linear-gradient(180deg,#2d275f,#241f4f)!important;box-shadow:0 0 0 4px #ffd54f,0 14px 0 rgba(0,0,0,.22)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key{
  border:3px solid #151126!important;background:linear-gradient(180deg,#fff6d7,#ffe082)!important;color:#241d4d!important;box-shadow:4px 4px 0 #151126!important;font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key:nth-child(2n){background:linear-gradient(180deg,#ecfff9,#a7f3d0)!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key:nth-child(3n){background:linear-gradient(180deg,#eef7ff,#93c5fd)!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key.is-active,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key:hover{transform:translate(-1px,-1px)!important;box-shadow:5px 5px 0 #151126!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-experience-mobile-nav{
  border:4px solid #151126!important;border-radius:0!important;background:linear-gradient(180deg,#5d50be,#4a3ea8)!important;box-shadow:0 0 0 4px #ffd54f!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-experience-mobile-nav button{
  border:3px solid #151126!important;background:#fff8dd!important;color:#241d4d!important;box-shadow:3px 3px 0 #151126!important;font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-experience-mobile-nav button:nth-child(3){background:#ffd54f!important;color:#241d4d!important}

/* Keep work area itself undecorated, but 8bit can tint row/column headers slightly. */
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-sheet thead th,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-sheet tbody>tr>th{background:#efe9ff!important;color:#43368f!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-sheet thead th.is-axis-selected,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-sheet tbody>tr>th.is-axis-selected{background:#ffd54f!important;color:#241d4d!important}

@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style="pixel"]{
    --cc-mobile-fixed-footer-clearance:calc(154px + env(safe-area-inset-bottom,0px))!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock{
    left:6px!important;right:6px!important;bottom:calc(90px + env(safe-area-inset-bottom,0px))!important;width:auto!important;transform:none!important;z-index:10035!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-experience-mobile-nav{
    position:fixed!important;left:8px!important;right:8px!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;z-index:10030!important;
    display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:5px!important;height:78px!important;padding:6px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-tabs--excel{margin-bottom:var(--cc-mobile-fixed-footer-clearance)!important}
  .cc-workspace--dedicated[data-cc-experience-style="pixel"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop){bottom:calc(172px + env(safe-area-inset-bottom,0px) + var(--cc-keyboard-offset,0px))!important;z-index:100060!important}
}


/* v0.8.469 — rename Arcade, add 8bit Retro, finish expanded ribbon backgrounds,
   complete dark-theme collapsed ribbon buttons, and redesign AI/Illustration buttons. */

/* Pixel-font leaning stacks for arcade / retro themes without external assets. */
.cc-workspace--dedicated[data-cc-experience-style="pixel"],
.cc-workspace--dedicated[data-cc-experience-style="retro"]{
  --cc-pixel-font:"Press Start 2P","PixelMplus12","PixelMplus10","VT323","Courier New",ui-monospace,monospace;
}

/* --------------------------------------------------------------------------
   Expanded ribbon: per-theme backgrounds so panels no longer feel unfinished.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="studio"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#f7f9fd 0%,#eef4fb 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pro"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#edf7f3 0%,#deefe8 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#fff8fc 0%,#eef9ff 34%,#f5fff1 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,rgba(255,245,251,.95) 0%,rgba(244,240,255,.95) 50%,rgba(237,252,248,.95) 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="focus"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#eef5ff 0%,#dfe9ff 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#fffaf1 0%,#f3e5ce 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#ffffff 0%,#ecf7ff 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,rgba(255,255,255,.94) 0%,rgba(241,248,245,.94) 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#152549 0%,#0f1b35 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="neon"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#081728 0%,#05111f 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="noir"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#2c2c2c 0%,#1b1b1b 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#2d275f 0%,#231e4d 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="retro"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#8dd1ff 0%,#b8ebff 38%,#7ccf62 100%)!important;
}

/* --------------------------------------------------------------------------
   Complete collapsed ribbon buttons for dark themes (including nested labels/icons).
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  opacity:1!important;
  font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path){
  color:inherit!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:not([data-ribbon-tab].is-active):not([aria-expanded="true"]){
  color:#eaf2ff!important;-webkit-text-fill-color:#eaf2ff!important;text-shadow:0 1px 0 rgba(0,0,0,.45)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:not([data-ribbon-tab].is-active):not([aria-expanded="true"]){
  color:#eaffff!important;-webkit-text-fill-color:#eaffff!important;text-shadow:0 0 10px rgba(46,246,255,.15)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:not([data-ribbon-tab].is-active):not([aria-expanded="true"]){
  color:#f7f7f7!important;-webkit-text-fill-color:#f7f7f7!important;text-shadow:0 1px 0 rgba(0,0,0,.55)!important;
}

/* Also finish group surfaces/controls on the dark styles. */
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-group,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-group,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-group{
  box-shadow:0 10px 20px rgba(0,0,0,.24)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:1px solid #4265aa!important;background:linear-gradient(180deg,#1b2d55,#14213f)!important;color:#eef5ff!important;border-radius:12px!important;
}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:1px solid rgba(46,246,255,.45)!important;background:linear-gradient(180deg,#0a1f35,#071425)!important;color:#e8ffff!important;border-radius:11px!important;box-shadow:0 0 10px rgba(46,246,255,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:1px solid #727272!important;background:linear-gradient(180deg,#3a3a3a,#272727)!important;color:#f6f6f6!important;border-radius:12px!important;
}

/* --------------------------------------------------------------------------
   Redesign AI correction / illustration buttons globally.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration{
  position:relative!important;
  overflow:hidden!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai::after,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,0) 45%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai .cc-dock-ai-icon,
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration .cc-dock-kurukun-icon{
  border-radius:14px!important;
  background:rgba(255,255,255,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 12px rgba(0,0,0,.10)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai{
  border:1px solid #8ddff5!important;
  background:linear-gradient(135deg,#5d58f3 0%,#3f72ff 46%,#16b7c9 100%)!important;
  box-shadow:0 8px 0 rgba(31,42,126,.42),0 14px 24px rgba(64,86,221,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-ai small{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:0 1px 2px rgba(20,13,75,.45)!important;
  letter-spacing:.02em!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration{
  border:1px solid #edc684!important;
  background:linear-gradient(135deg,#fff3d0 0%,#f6d596 100%)!important;
  box-shadow:0 8px 0 rgba(171,126,67,.55),0 14px 22px rgba(110,78,37,.14)!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-dock-illustration small{
  color:#55331a!important;
  -webkit-text-fill-color:#55331a!important;
  letter-spacing:.01em!important;
}
/* Theme-aware redesign variations. */
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-dock-ai,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-dock-ai,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-dock-ai{
  border-color:rgba(255,255,255,.22)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-dock-illustration,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-dock-illustration,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-dock-illustration{
  border-color:rgba(255,245,209,.35)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-dock-ai,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-dock-ai,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-dock-illustration,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-dock-illustration{
  border-radius:0!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-dock-ai,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-dock-ai{
  background:linear-gradient(180deg,#6f59ff,#3f76ff)!important;
  box-shadow:4px 4px 0 #151126!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-dock-illustration,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-dock-illustration{
  background:linear-gradient(180deg,#fff0c8,#ffd54f)!important;
  box-shadow:4px 4px 0 #5f4213!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] :is(.cc-dock-ai,.cc-dock-illustration) .cc-dock-ai-icon,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] :is(.cc-dock-ai,.cc-dock-illustration) .cc-dock-kurukun-icon,
.cc-workspace--dedicated[data-cc-experience-style="retro"] :is(.cc-dock-ai,.cc-dock-illustration) .cc-dock-ai-icon,
.cc-workspace--dedicated[data-cc-experience-style="retro"] :is(.cc-dock-ai,.cc-dock-illustration) .cc-dock-kurukun-icon{
  border-radius:0!important;
  font-family:var(--cc-pixel-font)!important;
}

/* --------------------------------------------------------------------------
   New preview + theme: 8bit Retro (retro platformer inspired, not franchise-specific).
   -------------------------------------------------------------------------- */
.cc-experience-preview.is-retro{background:linear-gradient(180deg,#8dd1ff 0 58%,#8bdb6d 58% 100%)!important;border-radius:10px!important;box-shadow:0 0 0 2px #18517d inset!important}
.cc-experience-preview.is-retro i:nth-child(1){left:8px;top:10px;width:18px;height:10px;background:#ffffff!important;border-radius:10px!important;box-shadow:14px 3px 0 0 rgba(255,255,255,.92)!important}
.cc-experience-preview.is-retro i:nth-child(2){left:8px;top:33px;width:24px;bottom:10px;background:linear-gradient(180deg,#b86d33,#915225)!important;box-shadow:0 0 0 2px #693813 inset!important;border-radius:0!important}
.cc-experience-preview.is-retro i:nth-child(3){left:40px;right:8px;top:30px;bottom:15px;background:repeating-linear-gradient(0deg,#f7e4b6 0 10px,#e7d39c 10px 11px)!important;box-shadow:0 0 0 2px #7b6f44 inset!important;border-radius:0!important}
.cc-experience-preview.is-retro em{left:40px;right:8px;bottom:8px;height:6px;background:#38d39f!important;border-radius:0!important}
.cc-experience-preview.is-retro b{right:10px;top:10px;width:18px;height:8px;background:#ffde59!important;box-shadow:3px 3px 0 rgba(0,0,0,.32)!important;border-radius:0!important}

.cc-workspace--dedicated[data-cc-experience-style="retro"]{
  --cc-retro-ink:#163651;
  --cc-retro-brick:#bb6f36;
  --cc-retro-grass:#52b44b;
  --cc-retro-sky:#8ed3ff;
  --cc-retro-cream:#fff4d4;
  background:linear-gradient(180deg,#8ed3ff 0%,#dff3ff 36%,#7bcc64 100%)!important;
  font-family:var(--cc-pixel-font)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-probar{
  background:linear-gradient(180deg,#56aef0,#2f89d5)!important;border-bottom:4px solid #ffd54f!important;box-shadow:0 0 0 4px rgba(255,255,255,.36) inset!important;
}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-excel-ribbon-tabs{
  padding:8px 10px!important;gap:8px!important;background:linear-gradient(180deg,#90d6ff,#5fb6f8)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool),
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-tabs--excel button,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-experience-mobile-nav button{
  font-family:var(--cc-pixel-font)!important;
  border-radius:12px!important;
  letter-spacing:.01em!important;
}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  border:3px solid #216f2d!important;background:linear-gradient(180deg,#fffbe8,#ecf6d8)!important;color:#16445b!important;-webkit-text-fill-color:#16445b!important;font-weight:950!important;box-shadow:0 5px 0 #3d8b42!important;
}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:hover,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:focus-visible{transform:translateY(-1px)!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{
  border-color:#90481e!important;background:linear-gradient(180deg,#ffe082,#ffca4a)!important;color:#4f2b11!important;-webkit-text-fill-color:#4f2b11!important;box-shadow:0 5px 0 #a85e2a!important;
}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-ribbon-save{background:linear-gradient(180deg,#a7f3d0,#4ac278)!important;color:#143020!important;-webkit-text-fill-color:#143020!important;border-color:#237c3e!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-ribbon-experience{background:linear-gradient(180deg,#f8b5d3,#ee81b4)!important;color:#5a1940!important;-webkit-text-fill-color:#5a1940!important;border-color:#b64c7f!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-ribbon-panel-head{background:linear-gradient(90deg,#52b44b,#3d9940)!important;color:#fff!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-ribbon-group{border:3px solid #90502a!important;border-radius:16px!important;background:linear-gradient(180deg,#fff4d4,#f2ddb0)!important;box-shadow:0 6px 0 #a86534!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-ribbon-group>span{background:linear-gradient(90deg,#bb6f36,#d68e50)!important;color:#fff!important;font-weight:950!important;border-radius:999px!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){border:2px solid #2e7c37!important;background:#fffef6!important;color:#16445b!important;box-shadow:0 3px 0 #79b568!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-tabs--excel{background:linear-gradient(180deg,#61bdf7,#56aef0)!important;border-top:4px solid #52b44b!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-tabs--excel button{border:2px solid #2e7c37!important;background:#fff9e8!important;color:#18435a!important;box-shadow:0 4px 0 #79b568!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-tabs--excel button.is-active{background:#ffe082!important;color:#5a2f11!important;border-color:#a85e2a!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-editor-dock{border:4px solid #216f2d!important;background:linear-gradient(180deg,#52b44b,#3d9940)!important;box-shadow:0 0 0 4px #fff4d4,0 16px 22px rgba(41,88,32,.20)!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-editor-dock .cc-dock-key{border:3px solid #90502a!important;background:#fff8df!important;color:#163651!important;box-shadow:0 4px 0 #a86534!important;font-weight:950!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-experience-mobile-nav{border:4px solid #216f2d!important;background:linear-gradient(180deg,#56aef0,#4d98dc)!important;box-shadow:0 0 0 4px #fff4d4!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-experience-mobile-nav button{border:3px solid #2e7c37!important;background:#fff9e8!important;color:#163651!important;box-shadow:0 4px 0 #79b568!important;font-weight:950!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-experience-mobile-nav button:nth-child(3){background:#ffe082!important;color:#5a2f11!important;border-color:#a85e2a!important;box-shadow:0 4px 0 #c47d39!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-sheet thead th,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-sheet tbody>tr>th{background:#fef4cb!important;color:#91501d!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-sheet thead th.is-axis-selected,
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-sheet tbody>tr>th.is-axis-selected{background:#8ed3ff!important;color:#16445b!important}
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style="retro"]{
    --cc-mobile-fixed-footer-clearance:calc(154px + env(safe-area-inset-bottom,0px))!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-editor-dock{
    left:6px!important;right:6px!important;bottom:calc(90px + env(safe-area-inset-bottom,0px))!important;width:auto!important;transform:none!important;z-index:10035!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-experience-mobile-nav{
    position:fixed!important;left:8px!important;right:8px!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;z-index:10030!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:5px!important;height:78px!important;padding:6px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-tabs--excel{margin-bottom:var(--cc-mobile-fixed-footer-clearance)!important}
  .cc-workspace--dedicated[data-cc-experience-style="retro"] :is(.cc-studio-tool-pop,.cc-axis-size-pop,.cc-cell-size-pop){bottom:calc(172px + env(safe-area-inset-bottom,0px) + var(--cc-keyboard-offset,0px))!important;z-index:100060!important}
}


/* v0.8.470 — Studio icon/footer readability + universal sheet-selection guide. */

/* --------------------------------------------------------------------------
   CotoCle Studio: Close / Save / Mode icons must use the same dark ink as
   Print/Share, and the white footer controls must never use white glyphs/text.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>
:is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience){
  color:#173d34!important;
  -webkit-text-fill-color:#173d34!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>
:is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience) .cc-ribbon-command-icon,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>
:is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience) .cc-ribbon-command-icon :is(svg,path,circle,line,polyline,polygon,rect,text){
  color:#173d34!important;
  fill:none!important;
  stroke:#173d34!important;
  -webkit-text-fill-color:#173d34!important;
}
/* PDF-like text paths must still render if any icon contains text. */
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>
:is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience) .cc-ribbon-command-icon text{
  fill:#173d34!important;
  stroke:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>
:is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience) small{
  color:#52645f!important;
  -webkit-text-fill-color:#52645f!important;
  text-shadow:none!important;
}

.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-dock-color,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-dock-base-back,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-studio-tool-button{
  border-color:#d5e0e6!important;
  background:linear-gradient(180deg,#ffffff 0%,#eef4f5 100%)!important;
  color:#254941!important;
  -webkit-text-fill-color:#254941!important;
  box-shadow:0 3px 0 #d5dfe2,0 8px 16px rgba(58,92,84,.07)!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock :is(.cc-dock-key,.cc-dock-color,.cc-dock-base-back,.cc-studio-tool-button) :is(span,b,small,strong,i){
  color:#254941!important;
  -webkit-text-fill-color:#254941!important;
  text-shadow:none!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock :is(.cc-dock-key,.cc-dock-color,.cc-dock-base-back,.cc-studio-tool-button) svg,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock :is(.cc-dock-key,.cc-dock-color,.cc-dock-base-back,.cc-studio-tool-button) svg *{
  color:#254941!important;
  stroke:#254941!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock :is(.cc-dock-key,.cc-dock-color,.cc-dock-base-back,.cc-studio-tool-button):hover,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock :is(.cc-dock-key,.cc-dock-color,.cc-dock-base-back,.cc-studio-tool-button):focus-visible{
  border-color:#82cfc0!important;
  background:linear-gradient(180deg,#f5fffc,#e4f6f1)!important;
  color:#123f35!important;
  box-shadow:0 3px 0 #afd9d0,0 10px 18px rgba(45,111,95,.10)!important;
}
/* Disabled History remains legible as disabled instead of disappearing. */
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-dock-key:disabled{
  color:#78908a!important;
  -webkit-text-fill-color:#78908a!important;
  opacity:.62!important;
}
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-dock-key:disabled :is(span,b,small),
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-dock-key:disabled svg,
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-editor-dock .cc-dock-key:disabled svg *{
  color:#78908a!important;
  stroke:#78908a!important;
  -webkit-text-fill-color:#78908a!important;
}

/* --------------------------------------------------------------------------
   Every theme: permanent guide immediately to the left of worksheet tabs.
   Sticky keeps the cue visible when many sheets are scrolled horizontally.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel{
  display:flex!important;
  align-items:center!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide{
  position:sticky!important;
  left:0!important;
  z-index:8!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-height:32px!important;
  margin:0 3px 0 0!important;
  padding:0 10px!important;
  border:1px solid rgba(74,96,89,.20)!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#eef4f2,#dce8e4)!important;
  color:#36534a!important;
  box-shadow:3px 0 8px rgba(38,58,52,.08)!important;
  white-space:nowrap!important;
  pointer-events:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide b{
  font-size:9px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:.04em!important;
  color:inherit!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide i{
  font-size:13px!important;
  font-style:normal!important;
  font-weight:950!important;
  line-height:1!important;
  color:inherit!important;
}
/* Theme-matched guide accents. */
.cc-workspace--dedicated[data-cc-experience-style="studio"] .cc-sheet-tabs-guide{border-color:#cddce4!important;background:linear-gradient(180deg,#fff,#eef4f8)!important;color:#36556a!important}
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-sheet-tabs-guide{border-color:#aad5c7!important;background:linear-gradient(180deg,#f2fbf8,#e0f1eb)!important;color:#24634f!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-sheet-tabs-guide{border:2px solid #7656cf!important;background:#fff5a9!important;color:#5a3fa9!important;box-shadow:0 3px 0 #d9b73c!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-sheet-tabs-guide{border-color:#e6bddb!important;background:linear-gradient(135deg,#fff4fa,#eee6ff)!important;color:#85577c!important}
.cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-sheet-tabs-guide{border-color:#94c7f3!important;background:linear-gradient(180deg,#eaf7ff,#cde8fb)!important;color:#173d72!important}
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-sheet-tabs-guide{border-color:#c9aa79!important;background:linear-gradient(180deg,#fff7e7,#ead8b8)!important;color:#65462f!important;box-shadow:0 3px 0 #b69261!important}
.cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-sheet-tabs-guide{border:3px solid #0b1f33!important;border-radius:5px!important;background:#ffffff!important;color:#0b1f33!important;box-shadow:4px 4px 0 #56b4e9!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-sheet-tabs-guide{border-color:rgba(103,140,128,.22)!important;background:rgba(245,250,248,.95)!important;color:#49645c!important;border-radius:999px!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-sheet-tabs-guide{border-color:#41629f!important;background:linear-gradient(180deg,#22365e,#172747)!important;color:#e7efff!important}
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-sheet-tabs-guide{border-color:#2ef6ff!important;background:linear-gradient(180deg,#0b2237,#071627)!important;color:#adfbff!important;box-shadow:0 0 12px rgba(46,246,255,.16)!important}
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-sheet-tabs-guide{border-color:#6b6b6b!important;background:linear-gradient(180deg,#3b3b3b,#252525)!important;color:#f3f3f3!important}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-sheet-tabs-guide{border:3px solid #151126!important;border-radius:0!important;background:#ffd54f!important;color:#241d4d!important;box-shadow:3px 3px 0 #151126!important;font-family:var(--cc-pixel-font)!important}
.cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-sheet-tabs-guide{border:3px solid #216f2d!important;background:#fff4d4!important;color:#16445b!important;box-shadow:0 4px 0 #79b568!important;font-family:var(--cc-pixel-font)!important}

@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide{
    min-height:34px!important;
    padding-inline:9px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide b{font-size:8px!important}
  .cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide i{font-size:12px!important}
}


/* v0.8.471 — Creator Pro chrome unification.
   Desktop side panels and the mobile secondary footer now use the same deep
   emerald palette as the Creator Pro expanded ribbon. The theme picker preview
   is also redrawn as a spreadsheet/editor-style icon. */

/* Creator Pro theme-card preview: spreadsheet / Excel-like visual language. */
.cc-experience-preview.is-pro{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid #b9d5cc!important;
  background:#f5fbf8!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.85)!important;
}
.cc-experience-preview.is-pro i:nth-child(1){
  left:5px!important;top:5px!important;bottom:5px!important;width:26px!important;
  border-radius:5px 0 0 5px!important;
  background:linear-gradient(180deg,#176c51,#0f523e)!important;
  box-shadow:none!important;
}
.cc-experience-preview.is-pro i:nth-child(1)::after{
  content:"X"!important;
  position:absolute!important;inset:0!important;
  display:grid!important;place-items:center!important;
  color:#fff!important;
  font:950 13px/1 Arial,sans-serif!important;
  text-shadow:0 1px 1px rgba(0,0,0,.18)!important;
}
.cc-experience-preview.is-pro i:nth-child(2){
  left:31px!important;right:5px!important;top:5px!important;height:15px!important;
  border-radius:0 5px 0 0!important;
  background:linear-gradient(90deg,#1d7b5e,#2a9574)!important;
}
.cc-experience-preview.is-pro i:nth-child(3){
  left:31px!important;right:5px!important;top:20px!important;bottom:5px!important;
  border:1px solid #c9ddd6!important;border-radius:0 0 5px 0!important;
  background:
    linear-gradient(90deg,#e6f0ec 0 14px,transparent 14px),
    repeating-linear-gradient(0deg,#fff 0 10px,#dce8e3 10px 11px),
    repeating-linear-gradient(90deg,transparent 0 19px,#dce8e3 19px 20px)!important;
}
.cc-experience-preview.is-pro em{
  display:block!important;
  left:34px!important;right:8px!important;bottom:8px!important;height:5px!important;
  border-radius:0!important;background:#2b8b6d!important;
}
.cc-experience-preview.is-pro b{
  right:9px!important;left:auto!important;top:9px!important;bottom:auto!important;
  width:18px!important;height:7px!important;border-radius:2px!important;
  background:#d9f3e9!important;box-shadow:none!important;
}

/* Desktop Creator Pro side panels = same emerald family as ribbon. */
@media(min-width:901px){
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-left,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-right{
    border-color:#2d6a59!important;
    background:linear-gradient(180deg,#163c32 0%,#102f27 100%)!important;
    box-shadow:0 18px 42px rgba(8,38,31,.24),inset 0 1px rgba(255,255,255,.05)!important;
    backdrop-filter:blur(18px)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-brand{
    border:1px solid #347764!important;
    background:linear-gradient(135deg,#1d4a3e,#153c32)!important;
    color:#effff8!important;
    box-shadow:0 7px 18px rgba(5,32,26,.16)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-brand :is(strong,small,span){
    color:inherit!important;-webkit-text-fill-color:currentColor!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-left>button,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-right button{
    border:1px solid #347764!important;
    background:linear-gradient(180deg,#1b493c,#13392f)!important;
    color:#effff8!important;
    box-shadow:0 4px 0 #0b241e,0 9px 16px rgba(0,0,0,.12)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-left>button>span,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-right button>span{
    background:linear-gradient(180deg,#245e4e,#1d4a3e)!important;
    color:#d9fff0!important;
    box-shadow:inset 0 0 0 1px rgba(102,214,174,.18)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-left>button:hover,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-right button:hover{
    border-color:#66d6ae!important;
    background:linear-gradient(180deg,#245e4e,#1b493c)!important;
    color:#fff!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-right>header{
    border:1px solid #347764!important;
    background:linear-gradient(135deg,#1d4a3e,#13392f)!important;
    box-shadow:0 8px 18px rgba(0,0,0,.12)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-right>header span{
    color:#80e5bd!important;-webkit-text-fill-color:#80e5bd!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-right>header strong{
    color:#effff8!important;-webkit-text-fill-color:#effff8!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-pro-right>header small{
    color:#b9d8cc!important;-webkit-text-fill-color:#b9d8cc!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-context-tools{
    border-color:#2d6a59!important;
  }
}

/* Mobile Creator Pro fixed footer = ribbon emerald palette, no generic pink insert tile. */
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-mobile-nav{
    border:1px solid #347764!important;
    border-radius:20px!important;
    background:linear-gradient(135deg,#163c32 0%,#102f27 100%)!important;
    box-shadow:0 16px 34px rgba(8,38,31,.28),inset 0 1px rgba(255,255,255,.06)!important;
    backdrop-filter:blur(18px)!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-mobile-nav button{
    border:1px solid transparent!important;
    border-radius:14px!important;
    background:transparent!important;
    color:#d9fff0!important;
    -webkit-text-fill-color:#d9fff0!important;
    box-shadow:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-mobile-nav button :is(span,b,svg,path){
    color:inherit!important;fill:currentColor!important;stroke:currentColor!important;-webkit-text-fill-color:currentColor!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-mobile-nav button:hover,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-mobile-nav button:focus-visible{
    border-color:#4b9a81!important;
    background:#1b493c!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-experience-mobile-nav button:nth-child(3){
    border-color:#66d6ae!important;
    background:linear-gradient(180deg,#66d6ae,#3eab88)!important;
    color:#0b3026!important;
    -webkit-text-fill-color:#0b3026!important;
    box-shadow:0 5px 0 #1f715a,0 10px 18px rgba(20,106,82,.22)!important;
  }
}


/* v0.8.472 — ribbon icon language refinement.
   Creator Pro gets spreadsheet/Excel-like tab icons; Kids gets a full toy-like
   ribbon redesign including fixed commands, tab buttons and expanded controls. */

/* ========================================================================== 
   CREATOR PRO — spreadsheet / Excel-like ribbon tabs from Home onward
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  display:grid!important;
  grid-template-columns:30px auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:48px!important;
  padding:5px 14px 5px 8px!important;
  border:1px solid #b9d8cd!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#ffffff 0%,#eef7f3 100%)!important;
  color:#214d40!important;
  -webkit-text-fill-color:#214d40!important;
  font-weight:900!important;
  box-shadow:0 3px 0 #c7ddd5,0 7px 14px rgba(20,85,65,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]::before{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  border-radius:5px!important;
  background:linear-gradient(180deg,#1f7a5e,#116147)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font:950 13px/1 Arial,sans-serif!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 2px 0 #0b4936!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pro"] [data-ribbon-tab="home"]::before{content:"▦"!important;font-size:15px!important}
.cc-workspace--dedicated[data-cc-experience-style="pro"] [data-ribbon-tab="insert"]::before{content:"＋"!important;font-size:18px!important}
.cc-workspace--dedicated[data-cc-experience-style="pro"] [data-ribbon-tab="layout"]::before{content:"▤"!important;font-size:15px!important}
.cc-workspace--dedicated[data-cc-experience-style="pro"] [data-ribbon-tab="data"]::before{content:"↕"!important;font-size:17px!important}
.cc-workspace--dedicated[data-cc-experience-style="pro"] [data-ribbon-tab="view"]::before{content:"◫"!important;font-size:16px!important}
.cc-workspace--dedicated[data-cc-experience-style="pro"] [data-ribbon-tab="formulas"]::before{content:"fx"!important;font-size:11px!important;font-style:italic!important}
.cc-workspace--dedicated[data-cc-experience-style="pro"] [data-ribbon-tab="review"]::before{content:"✓"!important;font-size:16px!important}
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:hover,
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:focus-visible{
  border-color:#65b294!important;
  background:linear-gradient(180deg,#f8fffc,#e4f5ee)!important;
  transform:translateY(-1px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  border-color:#20785b!important;
  background:linear-gradient(180deg,#dff4eb,#c9e8dc)!important;
  color:#0d5b44!important;
  -webkit-text-fill-color:#0d5b44!important;
  box-shadow:0 3px 0 #8fc8b2,0 9px 18px rgba(18,105,78,.12)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active::before,
.cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]::before{
  background:linear-gradient(180deg,#16825f,#0b6348)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),0 3px 0 #084b37!important;
}

/* ========================================================================== 
   KIDS — full ribbon redesign: playful toy blocks + clearer dark text
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-probar{
  border-bottom:5px solid transparent!important;
  border-image:linear-gradient(90deg,#ff6683,#ffd34e,#42ca8a,#5aa9ff,#a979ff) 1!important;
  background:linear-gradient(180deg,#6747b8 0%,#513599 100%)!important;
  box-shadow:0 8px 0 rgba(79,49,147,.14),0 16px 28px rgba(70,42,132,.16)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single{
  gap:9px!important;
  padding:8px 10px!important;
  background:linear-gradient(180deg,#6949bb,#57379e)!important;
}
/* Fixed command buttons: close/save/mode/back/forward/share/print/convert. */
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:not([data-ribbon-tab]){
  min-height:52px!important;
  padding:5px 12px!important;
  border:3px solid rgba(255,255,255,.86)!important;
  border-radius:18px 13px 19px 14px!important;
  background:linear-gradient(180deg,#fff9ee,#f7e6c9)!important;
  color:#5a3d79!important;
  -webkit-text-fill-color:#5a3d79!important;
  font:950 10px/1.05 ui-rounded,"Arial Rounded MT Bold",sans-serif!important;
  text-shadow:none!important;
  box-shadow:0 5px 0 #cdb68f,0 9px 16px rgba(60,34,107,.16)!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:not([data-ribbon-tab]) :is(span,b,strong,small,i,svg,path){
  color:inherit!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-close{background:linear-gradient(180deg,#ffe8ef,#ffc6d5)!important;color:#9a3557!important;box-shadow:0 5px 0 #df8ea8!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-save{background:linear-gradient(180deg,#fff5b7,#ffd55b)!important;color:#694f12!important;box-shadow:0 5px 0 #d8aa2e!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>.cc-ribbon-experience{background:linear-gradient(180deg,#eee3ff,#cdb4ff)!important;color:#6240a3!important;box-shadow:0 5px 0 #a684e6!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-cc-excel-undo]{background:linear-gradient(180deg,#e3f7ff,#a9e1ff)!important;color:#276086!important;box-shadow:0 5px 0 #74b9dc!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-cc-excel-redo]{background:linear-gradient(180deg,#e8fff4,#afe8ca)!important;color:#256648!important;box-shadow:0 5px 0 #70bd96!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-cc-share-file]{background:linear-gradient(180deg,#fff0dc,#ffc58f)!important;color:#805023!important;box-shadow:0 5px 0 #e39b5b!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:disabled{
  filter:saturate(.55)!important;
  opacity:.58!important;
}

/* Kids tab buttons: each tab gets a childlike icon tile. */
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  display:grid!important;
  grid-template-columns:31px auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:52px!important;
  padding:5px 13px 5px 7px!important;
  border:3px solid #fff!important;
  border-radius:19px 13px 18px 15px!important;
  background:linear-gradient(180deg,#fffef7,#f9efd7)!important;
  color:#543a78!important;
  -webkit-text-fill-color:#543a78!important;
  font:950 10px/1.05 ui-rounded,"Arial Rounded MT Bold",sans-serif!important;
  text-shadow:none!important;
  box-shadow:0 5px 0 #d4bd9d,0 9px 16px rgba(54,31,99,.14)!important;
  transform:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]::before{
  display:grid!important;
  place-items:center!important;
  width:29px!important;
  height:29px!important;
  border:2px solid rgba(255,255,255,.90)!important;
  border-radius:10px 8px 11px 7px!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font:950 15px/1 ui-rounded,"Arial Rounded MT Bold",sans-serif!important;
  box-shadow:0 3px 0 rgba(74,47,125,.22)!important;
  text-shadow:0 1px 1px rgba(45,26,83,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] [data-ribbon-tab="home"]::before{content:"⌂"!important;background:#ff6d87!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] [data-ribbon-tab="insert"]::before{content:"✦"!important;background:#f2ad30!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] [data-ribbon-tab="layout"]::before{content:"▤"!important;background:#4aae82!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] [data-ribbon-tab="data"]::before{content:"↕"!important;background:#4d92df!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] [data-ribbon-tab="view"]::before{content:"◉"!important;background:#9a6be7!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] [data-ribbon-tab="formulas"]::before{content:"1+2"!important;background:#ef6fad!important;font-size:9px!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] [data-ribbon-tab="review"]::before{content:"✓"!important;background:#28b9ad!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:hover,
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:focus-visible{
  transform:translateY(-2px)!important;
  filter:saturate(1.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  border-color:#fff!important;
  background:linear-gradient(180deg,#fff9b5,#ffd852)!important;
  color:#5b3b92!important;
  -webkit-text-fill-color:#5b3b92!important;
  box-shadow:0 6px 0 #d9a925,0 11px 18px rgba(95,58,154,.16)!important;
  transform:translateY(-2px)!important;
}

/* Kids expanded ribbon: playful striped canvas + toy-like groups/controls. */
.cc-workspace--dedicated[data-cc-experience-style="kids"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-panel-body{
  background:
    linear-gradient(135deg,rgba(255,255,255,.42) 25%,transparent 25%) 0 0/18px 18px,
    linear-gradient(315deg,rgba(255,255,255,.26) 25%,transparent 25%) 0 0/18px 18px,
    linear-gradient(180deg,#fff6fb 0%,#eef9ff 48%,#f1fff4 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-panel-head{
  background:linear-gradient(90deg,#ff6781 0%,#ff9e58 32%,#ffd34e 58%,#4fc79a 78%,#6aa7ff 100%)!important;
  color:#fff!important;
  text-shadow:0 1px 1px rgba(72,42,107,.18)!important;
  box-shadow:0 6px 0 rgba(116,73,151,.12)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group{
  border:3px solid #fff!important;
  border-radius:20px 15px 22px 14px!important;
  box-shadow:0 6px 0 rgba(107,79,151,.12),0 12px 20px rgba(79,57,121,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(5n+1){background:#fff2f6!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(5n+2){background:#fff8dc!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(5n+3){background:#eaf9ff!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(5n+4){background:#edfff5!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group:nth-child(5n){background:#f4efff!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group>span{
  border-radius:999px!important;
  color:#5c4679!important;
  font-weight:950!important;
  background:rgba(255,255,255,.72)!important;
  box-shadow:inset 0 0 0 1px rgba(116,78,156,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:2px solid #fff!important;
  border-radius:13px 9px 14px 10px!important;
  background:linear-gradient(180deg,#ffffff,#f7f2ff)!important;
  color:#57406f!important;
  -webkit-text-fill-color:#57406f!important;
  font-weight:900!important;
  box-shadow:0 4px 0 #d9cde8,0 7px 12px rgba(91,66,124,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group button:nth-child(4n+1){background:linear-gradient(180deg,#fff1f5,#ffdce8)!important;color:#8d3d5e!important;box-shadow:0 4px 0 #eeb2c6!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group button:nth-child(4n+2){background:linear-gradient(180deg,#fff9d9,#ffe98b)!important;color:#735714!important;box-shadow:0 4px 0 #dfc350!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group button:nth-child(4n+3){background:linear-gradient(180deg,#eafff5,#bdeed6)!important;color:#256b4d!important;box-shadow:0 4px 0 #8acbad!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group button:nth-child(4n){background:linear-gradient(180deg,#edf7ff,#bfe1ff)!important;color:#285f8a!important;box-shadow:0 4px 0 #8fc0e4!important}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group button:hover,
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-ribbon-group button:focus-visible{
  transform:translateY(-1px)!important;
  filter:saturate(1.08)!important;
}

@media(max-width:900px){
  /* Keep the playful construction but avoid rotations/odd clipping on phones. */
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
    transform:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
    min-height:54px!important;
    grid-template-columns:29px auto!important;
    padding-left:7px!important;
    padding-right:11px!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
    min-height:50px!important;
    grid-template-columns:28px auto!important;
    padding-left:7px!important;
    padding-right:12px!important;
  }
}


/* v0.8.473 — Steam-like dark modes, gyaru sparkle redesign, paper text darkening,
   fully legible ZEN minimal redesign, and global sheet-tab guide/tab-shape cleanup. */

/* ========================================================================== 
   GLOBAL SHEET GUIDE / TAB SHAPE
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#9aa0a6!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  min-height:48px!important;
  padding:0 12px!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide :is(b,i,span,strong,small){
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  fill:currentColor!important;
  stroke:currentColor!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel button,
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel button.is-active{
  border-radius:0 0 0 14px!important;
}

/* ========================================================================== 
   DARK THEMES → Steam-like treatment on ribbon / panel / dock / mobile nav
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="midnight"],
.cc-workspace--dedicated[data-cc-experience-style="neon"],
.cc-workspace--dedicated[data-cc-experience-style="noir"]{
  --cc-steam-base:#171a21;
  --cc-steam-deep:#10141b;
  --cc-steam-panel:#1b2838;
  --cc-steam-panel-2:#223044;
  --cc-steam-edge:#2a475e;
  --cc-steam-copy:#d6e2f0;
  --cc-steam-soft:#7a8b9d;
  --cc-steam-accent:#66c0f4;
  --cc-steam-accent-2:#9fe3ff;
  background:linear-gradient(180deg,#10151d 0%,#16202b 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="neon"]{--cc-steam-accent:#41d7ff;--cc-steam-accent-2:#93fff4}
.cc-workspace--dedicated[data-cc-experience-style="noir"]{--cc-steam-accent:#91a8c6;--cc-steam-accent-2:#d5e3f2}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-probar,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-probar,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-probar{
  background:linear-gradient(180deg,#243244 0%,#17202d 100%)!important;
  border-bottom:1px solid var(--cc-steam-edge)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.24)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs{
  background:linear-gradient(180deg,#203040 0%,#1b2838 100%)!important;
  border-top:1px solid rgba(255,255,255,.04)!important;
  border-bottom:1px solid rgba(0,0,0,.35)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  border:1px solid #31485f!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#31485f 0%,#24384d 100%)!important;
  color:var(--cc-steam-copy)!important;
  -webkit-text-fill-color:var(--cc-steam-copy)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 16px rgba(0,0,0,.18)!important;
  text-shadow:0 1px 0 rgba(0,0,0,.55)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,svg,path){
  color:inherit!important; fill:currentColor!important; stroke:currentColor!important; -webkit-text-fill-color:currentColor!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:hover,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:hover,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:hover{
  border-color:var(--cc-steam-accent)!important;
  background:linear-gradient(180deg,#39526b 0%,#2d435a 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[aria-expanded="true"],
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[aria-expanded="true"],
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[aria-expanded="true"]{
  border-color:var(--cc-steam-accent)!important;
  background:linear-gradient(180deg,var(--cc-steam-accent) 0%,#3f6e8f 100%)!important;
  color:#0f171f!important;
  -webkit-text-fill-color:#0f171f!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="neon"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="noir"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-panel-body,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-panel-body,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-panel-body{
  background:linear-gradient(180deg,#1b2838 0%,#172230 100%)!important;
  border-color:var(--cc-steam-edge)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-panel-head,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-panel-head,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-panel-head{
  background:linear-gradient(90deg,#21354a 0%,#1f4e6a 100%)!important;
  color:var(--cc-steam-accent-2)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-group,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-group,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-group{
  border:1px solid #31485f!important;
  background:linear-gradient(180deg,#223244 0%,#1b2838 100%)!important;
  border-radius:14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 22px rgba(0,0,0,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-group>span,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-group>span,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-group>span{
  background:linear-gradient(90deg,#1f4e6a 0%,#21354a 100%)!important;
  color:var(--cc-steam-accent-2)!important;
  border-bottom-color:#31597d!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool),
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool),
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:1px solid #36516b!important;
  background:linear-gradient(180deg,#32485f 0%,#25384b 100%)!important;
  color:#edf4ff!important;
  -webkit-text-fill-color:#edf4ff!important;
  border-radius:10px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 12px rgba(0,0,0,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-ribbon-group button:hover,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-ribbon-group button:hover,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-ribbon-group button:hover{
  border-color:var(--cc-steam-accent)!important;
  background:linear-gradient(180deg,#3a5670 0%,#2c4359 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-editor-dock,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-editor-dock,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-editor-dock,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-experience-mobile-nav,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-experience-mobile-nav,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-experience-mobile-nav{
  background:linear-gradient(180deg,#203040 0%,#172230 100%)!important;
  border-color:#35506c!important;
  box-shadow:0 12px 24px rgba(0,0,0,.22)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-experience-mobile-nav button,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-experience-mobile-nav button,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-experience-mobile-nav button,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel button,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel button,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel button{
  border:1px solid #36516b!important;
  background:linear-gradient(180deg,#32485f 0%,#25384b 100%)!important;
  color:#edf4ff!important;
  -webkit-text-fill-color:#edf4ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-experience-mobile-nav button:nth-child(3),
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-experience-mobile-nav button:nth-child(3),
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-experience-mobile-nav button:nth-child(3){
  background:linear-gradient(180deg,var(--cc-steam-accent) 0%,#3f6e8f 100%)!important;
  color:#0f171f!important;
  -webkit-text-fill-color:#0f171f!important;
  border-color:var(--cc-steam-accent)!important;
}

/* ========================================================================== 
   SPARKLE → Gyaru-like glamorous ribbon redesign
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-probar{
  background:linear-gradient(180deg,#fff2fb 0%,#ffe6f4 46%,#fff8ee 100%)!important;
  border-bottom:1px solid #efb5d4!important;
  box-shadow:0 10px 28px rgba(186,92,145,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs{
  background:linear-gradient(180deg,#fff0f8 0%,#ffe3f1 58%,#fff8e8 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  border:2px solid #e996c4!important;
  border-radius:18px 18px 14px 18px!important;
  background:linear-gradient(180deg,#fff9fd 0%,#ffd9ec 100%)!important;
  color:#8b3f70!important;
  -webkit-text-fill-color:#8b3f70!important;
  box-shadow:0 5px 0 #efbfd8,0 12px 18px rgba(214,98,164,.14),inset 0 1px 0 rgba(255,255,255,.92)!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(3n+1){background:linear-gradient(180deg,#fff6fb 0%,#ffd4e8 100%)!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(3n+2){background:linear-gradient(180deg,#fff9ee 0%,#ffe19d 100%)!important;color:#8f5b1a!important;-webkit-text-fill-color:#8f5b1a!important;border-color:#f1c36b!important;box-shadow:0 5px 0 #f0d6a6,0 12px 18px rgba(205,152,68,.12)!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:nth-child(3n){background:linear-gradient(180deg,#fff4ff 0%,#e9d4ff 100%)!important;color:#7046a1!important;-webkit-text-fill-color:#7046a1!important;border-color:#cb9ef8!important;box-shadow:0 5px 0 #dac5ef,0 12px 18px rgba(125,86,188,.12)!important}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[aria-expanded="true"]{
  background:linear-gradient(135deg,#ff67b2 0%,#ff99cf 46%,#ffd15e 100%)!important;
  border-color:#ff78bd!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  box-shadow:0 6px 0 #d85a9d,0 15px 24px rgba(220,96,166,.22)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-panel-body,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
  background:linear-gradient(180deg,#fff4fb 0%,#ffe7f4 42%,#fff9ef 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-panel-head{
  background:linear-gradient(90deg,#ff7bbd 0%,#f1a0db 52%,#ffd166 100%)!important;
  color:#fff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-group{
  border:1px solid #efbad8!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.94) 0%,rgba(255,241,248,.96) 100%)!important;
  box-shadow:0 12px 22px rgba(213,101,162,.12),inset 0 1px 0 rgba(255,255,255,.92)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-group>span{
  background:linear-gradient(90deg,#ffd1e7 0%,#ffe8a2 100%)!important;
  color:#9b4e79!important;
  border-bottom-color:#efbad8!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool){
  border:1px solid #efb8d6!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fffaff 0%,#ffeef7 100%)!important;
  color:#7e4b73!important;
  -webkit-text-fill-color:#7e4b73!important;
  box-shadow:0 4px 0 #f5d6e5,0 10px 16px rgba(203,96,154,.10)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-ribbon-group button:hover{
  background:linear-gradient(180deg,#ffd8ea 0%,#ffc9e3 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel{
  background:linear-gradient(180deg,#fff3fb 0%,#ffeaf5 46%,#fff8ec 100%)!important;
  border-color:#efbad8!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav button,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel button{
  border:1px solid #efb8d6!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fffaff 0%,#ffeef7 100%)!important;
  color:#8c507b!important;
  -webkit-text-fill-color:#8c507b!important;
  box-shadow:0 4px 0 #f3d2e3!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav button:nth-child(3),
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel button.is-active{
  background:linear-gradient(180deg,#ff75b8 0%,#ff95ca 60%,#ffd15e 100%)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  border-color:#ff88c4!important;
  box-shadow:0 4px 0 #d85a9d!important;
}

/* ========================================================================== 
   PAPER → darker icon/text treatment for readability
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool),
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-experience-mobile-nav button,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel button,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-panel-head,
.cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-ribbon-group>span{
  color:#4a3423!important;
  -webkit-text-fill-color:#4a3423!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"] :is(.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,.cc-ribbon-group button,.cc-ribbon-group select,.cc-ribbon-group label,.cc-editor-dock .cc-dock-key,.cc-experience-mobile-nav button,.cc-office-tabs--excel button,.cc-ribbon-panel-head,.cc-ribbon-group>span) :is(span,b,strong,small,i,svg,path){
  color:inherit!important; fill:currentColor!important; stroke:currentColor!important; -webkit-text-fill-color:currentColor!important;
}

/* ========================================================================== 
   ZEN MINIMAL → full redesign for clarity
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="zen"]{
  background:linear-gradient(180deg,#eef2ef 0%,#f5f6f4 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-probar{
  background:linear-gradient(180deg,#ffffff 0%,#f1f3f1 100%)!important;
  border-bottom:1px solid #d4dbd6!important;
  box-shadow:0 8px 22px rgba(31,46,38,.06)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs{
  background:linear-gradient(180deg,#f7f8f7 0%,#ecefee 100%)!important;
  padding:8px 10px!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  border:1px solid #cdd5d0!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f0f3f1 100%)!important;
  color:#32433d!important;
  -webkit-text-fill-color:#32433d!important;
  box-shadow:0 3px 0 #dde3df,0 8px 12px rgba(42,62,53,.05)!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:hover{
  background:linear-gradient(180deg,#ffffff 0%,#e6ece8 100%)!important;
  border-color:#97aaa1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[aria-expanded="true"]{
  background:linear-gradient(180deg,#dfe9e3 0%,#cedbd5 100%)!important;
  border-color:#90a79d!important;
  color:#233430!important;
  -webkit-text-fill-color:#233430!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-panel-body,
.cc-workspace--dedicated[data-cc-experience-style="zen"] [data-cc-excel-ribbon][data-cc-professional-ribbon="1"] .cc-excel-ribbon-panel.is-active{
  background:linear-gradient(180deg,#f6f7f6 0%,#eaefec 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-panel-head{
  background:linear-gradient(90deg,#e3e9e5 0%,#d4ddd7 100%)!important;
  color:#42544d!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-group{
  border:1px solid #d0d8d3!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f4f6f4 100%)!important;
  box-shadow:0 10px 18px rgba(39,55,47,.04)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-group>span{
  background:#e8eeea!important;
  color:#50645c!important;
  border-bottom-color:#d0d8d3!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-group :is(button,select,label,input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),.cc-excel-mini-search,.cc-cell-setting-color,.cc-cell-pattern-tool,.cc-color-tool),
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel button,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-experience-mobile-nav button{
  border:1px solid #cfd8d2!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#ffffff 0%,#eff3f1 100%)!important;
  color:#364942!important;
  -webkit-text-fill-color:#364942!important;
  box-shadow:0 3px 0 #dde4df!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-ribbon-group button:hover,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock .cc-dock-key:hover,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-experience-mobile-nav button:nth-child(3){
  background:linear-gradient(180deg,#dce7e1 0%,#cad9d2 100%)!important;
  border-color:#9ab2a8!important;
  color:#233631!important;
  -webkit-text-fill-color:#233631!important;
  box-shadow:0 3px 0 #b9c8c0!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-editor-dock,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-experience-mobile-nav,
.cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel{
  background:linear-gradient(180deg,#f7f8f7 0%,#ecefee 100%)!important;
  border-color:#d1d9d4!important;
  box-shadow:0 10px 22px rgba(35,53,45,.06)!important;
}


/* v0.8.474 — Kids ribbon tab label visibility seal.
   Keep the playful icon tile white-on-color, but force HOME onward labels to
   a dark readable ink on the pale toy buttons. */
.cc-workspace--dedicated[data-cc-experience-style="kids"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab]{
  color:#3f2b63!important;
  -webkit-text-fill-color:#3f2b63!important;
  text-shadow:none!important;
  opacity:1!important;
  filter:none!important;
  font-weight:950!important;
  mix-blend-mode:normal!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab]:not(.is-active):not([aria-expanded="true"]){
  background:linear-gradient(180deg,#fffef8 0%,#f7ead0 100%)!important;
  color:#3f2b63!important;
  -webkit-text-fill-color:#3f2b63!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="kids"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab][aria-expanded="true"]{
  color:#4b2e78!important;
  -webkit-text-fill-color:#4b2e78!important;
}
/* Pseudo icon itself remains bright white on its color tile. */
.cc-workspace--dedicated[data-cc-experience-style="kids"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab]::before{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:0 1px 1px rgba(45,26,83,.24)!important;
  opacity:1!important;
}
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style="kids"]
  .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[data-ribbon-tab]{
    color:#3f2b63!important;
    -webkit-text-fill-color:#3f2b63!important;
    font-weight:950!important;
    opacity:1!important;
  }
}


/* v0.8.475 — ZEN tab icon parity, Paper ribbon visibility hard seal,
   and sheet-selector strip cleanup / true left-edge alignment. */

/* ========================================================================== 
   ZEN MINIMAL — Home onward now uses the same icon-above-label language as
   Save / Mode / Print. Keep the icon dark and the button highly legible.
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="zen"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:25px auto!important;
  place-items:center!important;
  align-content:center!important;
  gap:3px!important;
  min-width:100px!important;
  min-height:58px!important;
  padding:5px 10px!important;
  border:1px solid #cbd4cf!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#ffffff 0%,#eef2f0 100%)!important;
  color:#263b34!important;
  -webkit-text-fill-color:#263b34!important;
  font-weight:900!important;
  text-shadow:none!important;
  box-shadow:0 4px 0 #d6ddd9,0 9px 14px rgba(41,58,50,.06)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]::before{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:24px!important;
  color:#263b34!important;
  -webkit-text-fill-color:#263b34!important;
  font:950 22px/1 ui-rounded,"Arial Rounded MT Bold",Arial,sans-serif!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"] [data-ribbon-tab="home"]::before{content:"⌂"!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] [data-ribbon-tab="insert"]::before{content:"＋"!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] [data-ribbon-tab="layout"]::before{content:"▤"!important;font-size:20px!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] [data-ribbon-tab="data"]::before{content:"↕"!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] [data-ribbon-tab="view"]::before{content:"◫"!important;font-size:20px!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] [data-ribbon-tab="formulas"]::before{content:"fx"!important;font-size:15px!important;font-style:italic!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"] [data-ribbon-tab="review"]::before{content:"✓"!important}
.cc-workspace--dedicated[data-cc-experience-style="zen"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:hover,
.cc-workspace--dedicated[data-cc-experience-style="zen"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:focus-visible{
  border-color:#94a89e!important;
  background:linear-gradient(180deg,#ffffff 0%,#e4ebe7 100%)!important;
  color:#1f352d!important;
  -webkit-text-fill-color:#1f352d!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="zen"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  border-color:#8da499!important;
  background:linear-gradient(180deg,#dce7e1 0%,#cad9d2 100%)!important;
  color:#1e332b!important;
  -webkit-text-fill-color:#1e332b!important;
  box-shadow:0 4px 0 #b4c5bc,0 9px 14px rgba(41,58,50,.07)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="zen"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active::before,
.cc-workspace--dedicated[data-cc-experience-style="zen"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]::before{
  color:#1e332b!important;
  -webkit-text-fill-color:#1e332b!important;
}
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style="zen"]
  .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
    min-width:116px!important;
    min-height:62px!important;
  }
}

/* ========================================================================== 
   PAPER — force every top-ribbon label and icon to dark ink. Previous theme
   layers could still leave text white on pale paper buttons.
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style="paper"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button{
  color:#342317!important;
  -webkit-text-fill-color:#342317!important;
  text-shadow:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  filter:none!important;
  font-weight:950!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,i,em,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="paper"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button::before,
.cc-workspace--dedicated[data-cc-experience-style="paper"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button::after{
  color:#342317!important;
  -webkit-text-fill-color:#342317!important;
  fill:#342317!important;
  stroke:#342317!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:disabled{
  color:#765f4e!important;
  -webkit-text-fill-color:#765f4e!important;
  opacity:.62!important;
}
.cc-workspace--dedicated[data-cc-experience-style="paper"]
.cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:disabled :is(span,b,strong,small,i,em,svg,path){
  color:#765f4e!important;
  -webkit-text-fill-color:#765f4e!important;
  fill:#765f4e!important;
  stroke:#765f4e!important;
}

/* ========================================================================== 
   SHEET SELECTOR — no full-width rounded backing panel. Guide is flush to the
   physical left edge; sheet buttons remain individual controls.
   ========================================================================== */
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  padding-left:0!important;
  padding-right:0!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide{
  left:0!important;
  margin-left:0!important;
  margin-right:0!important;
  border:0!important;
  border-radius:0!important;
  background:#9aa0a6!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  box-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide :is(b,i,span,strong,small){
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel>button{
  margin-left:8px!important;
  border-radius:0 0 0 14px!important;
}
.cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel>.cc-sheet-tabs-guide+button{
  margin-left:8px!important;
}
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel{
    width:100%!important;
    max-width:none!important;
    align-self:stretch!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .cc-workspace--dedicated[data-cc-experience-style] .cc-sheet-tabs-guide{
    margin-left:0!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
}


/* v0.8.476 — visibility fixes for Kids ribbon tab labels and Sparkle footer/ribbon labels/icons. */

/* --------------------------------------------------------------------------
   Kids: force readable labels for Home and later ribbon tabs.
   The screenshot shows icon tile visible but the tab text itself washed out.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  color:#4f3678!important;
  -webkit-text-fill-color:#4f3678!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab] :is(span,b,strong,small,em){
  color:#4f3678!important;
  fill:#4f3678!important;
  stroke:#4f3678!important;
  -webkit-text-fill-color:#4f3678!important;
  opacity:1!important;
  text-shadow:none!important;
  font-weight:900!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab] :is(i,svg,path){
  color:inherit!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  color:#55388d!important;
  -webkit-text-fill-color:#55388d!important;
}
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active :is(span,b,strong,small,em),
.cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"] :is(span,b,strong,small,em){
  color:#55388d!important;
  fill:#55388d!important;
  stroke:#55388d!important;
  -webkit-text-fill-color:#55388d!important;
  opacity:1!important;
}
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
    min-width:148px!important;
    grid-template-columns:31px minmax(78px,1fr)!important;
  }
}

/* --------------------------------------------------------------------------
   Sparkle: improve readability in ribbon + footer by forcing darker text/icon
   tones on pale surfaces, and clearer active contrast on pink/gold states.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav button,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel button{
  color:#7a476d!important;
  -webkit-text-fill-color:#7a476d!important;
  font-weight:900!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button :is(span,b,strong,small,em,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock .cc-dock-key :is(span,b,strong,small,em,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav button :is(span,b,strong,small,em,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel button :is(span,b,strong,small,em,i,svg,path){
  color:inherit!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button.is-active,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[aria-expanded="true"],
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav button:nth-child(3),
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel button.is-active{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button.is-active :is(span,b,strong,small,em,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button[aria-expanded="true"] :is(span,b,strong,small,em,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav button:nth-child(3) :is(span,b,strong,small,em,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel button.is-active :is(span,b,strong,small,em,i,svg,path){
  color:#ffffff!important;
  fill:#ffffff!important;
  stroke:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
/* disabled keys should still be visible instead of vanishing */
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock .cc-dock-key:disabled,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:disabled,
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav button:disabled{
  opacity:.72!important;
  color:#b98aa9!important;
  -webkit-text-fill-color:#b98aa9!important;
  border-color:#e7c5d8!important;
  background:linear-gradient(180deg,#fff8fb 0%,#f8edf4 100%)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-editor-dock .cc-dock-key:disabled :is(span,b,strong,small,em,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>button:disabled :is(span,b,strong,small,em,i,svg,path),
.cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-experience-mobile-nav button:disabled :is(span,b,strong,small,em,i,svg,path){
  color:#b98aa9!important;
  fill:#b98aa9!important;
  stroke:#b98aa9!important;
  -webkit-text-fill-color:#b98aa9!important;
}


/* v0.8.477 — lower the sheet selector while keeping it attached to the work area,
   and make dark-theme Home+ ribbon tabs use the same icon-button language as
   Save / Print / Convert. */

/* --------------------------------------------------------------------------
   SHEET SELECTOR: use more of the blank lane above the fixed footer.
   Because this remains a normal flex item immediately after .cc-office-pages,
   reducing only its bottom reserve moves it down together with the worksheet —
   no overlay and no gap between work area and selector.
   -------------------------------------------------------------------------- */
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-tabs--excel{
    margin-top:0!important;
    margin-bottom:max(0px,calc(var(--cc-mobile-fixed-footer-clearance,70px) - 12px))!important;
  }
}

/* --------------------------------------------------------------------------
   DARK THEMES: Home / Insert / Layout / Data / View / Formula / Review now use
   the same compact Steam-like icon tile structure as the fixed command buttons.
   -------------------------------------------------------------------------- */
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab],
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab],
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
  display:grid!important;
  grid-template-rows:29px auto!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  align-content:center!important;
  gap:4px!important;
  min-width:88px!important;
  min-height:62px!important;
  padding:5px 9px!important;
  border:1px solid #36516b!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#32485f 0%,#25384b 100%)!important;
  color:#edf4ff!important;
  -webkit-text-fill-color:#edf4ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 5px 0 #111923,0 10px 16px rgba(0,0,0,.18)!important;
  text-shadow:0 1px 0 rgba(0,0,0,.5)!important;
  font-weight:900!important;
  line-height:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]::before,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]::before,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]::before{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:28px!important;
  border-radius:8px!important;
  border:1px solid rgba(166,208,236,.22)!important;
  background:linear-gradient(180deg,#3e5871 0%,#2d4358 100%)!important;
  color:var(--cc-steam-accent-2,#d9edf9)!important;
  -webkit-text-fill-color:var(--cc-steam-accent-2,#d9edf9)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 3px 6px rgba(0,0,0,.18)!important;
  font:900 16px/1 ui-rounded,"Arial Rounded MT Bold",sans-serif!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] [data-ribbon-tab="home"]::before,
.cc-workspace--dedicated[data-cc-experience-style="neon"] [data-ribbon-tab="home"]::before,
.cc-workspace--dedicated[data-cc-experience-style="noir"] [data-ribbon-tab="home"]::before{content:"⌂"!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] [data-ribbon-tab="insert"]::before,
.cc-workspace--dedicated[data-cc-experience-style="neon"] [data-ribbon-tab="insert"]::before,
.cc-workspace--dedicated[data-cc-experience-style="noir"] [data-ribbon-tab="insert"]::before{content:"＋"!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] [data-ribbon-tab="layout"]::before,
.cc-workspace--dedicated[data-cc-experience-style="neon"] [data-ribbon-tab="layout"]::before,
.cc-workspace--dedicated[data-cc-experience-style="noir"] [data-ribbon-tab="layout"]::before{content:"▤"!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] [data-ribbon-tab="data"]::before,
.cc-workspace--dedicated[data-cc-experience-style="neon"] [data-ribbon-tab="data"]::before,
.cc-workspace--dedicated[data-cc-experience-style="noir"] [data-ribbon-tab="data"]::before{content:"↕"!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] [data-ribbon-tab="view"]::before,
.cc-workspace--dedicated[data-cc-experience-style="neon"] [data-ribbon-tab="view"]::before,
.cc-workspace--dedicated[data-cc-experience-style="noir"] [data-ribbon-tab="view"]::before{content:"▣"!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] [data-ribbon-tab="formulas"]::before,
.cc-workspace--dedicated[data-cc-experience-style="neon"] [data-ribbon-tab="formulas"]::before,
.cc-workspace--dedicated[data-cc-experience-style="noir"] [data-ribbon-tab="formulas"]::before{content:"fx"!important;font-size:12px!important}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] [data-ribbon-tab="review"]::before,
.cc-workspace--dedicated[data-cc-experience-style="neon"] [data-ribbon-tab="review"]::before,
.cc-workspace--dedicated[data-cc-experience-style="noir"] [data-ribbon-tab="review"]::before{content:"✓"!important}

.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab] :is(span,b,strong,small,em),
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab] :is(span,b,strong,small,em),
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab] :is(span,b,strong,small,em){
  color:#edf4ff!important;
  -webkit-text-fill-color:#edf4ff!important;
  opacity:1!important;
  text-shadow:0 1px 0 rgba(0,0,0,.45)!important;
  font-weight:900!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:hover,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:hover,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]:hover{
  border-color:var(--cc-steam-accent,#66c0f4)!important;
  background:linear-gradient(180deg,#3c5872 0%,#2d455d 100%)!important;
  transform:translateY(-1px)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"],
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"],
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]{
  border-color:var(--cc-steam-accent,#66c0f4)!important;
  background:linear-gradient(180deg,#3e617e 0%,#2e4d68 100%)!important;
  color:#f6fbff!important;
  -webkit-text-fill-color:#f6fbff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 5px 0 #0e1822,0 0 0 2px rgba(102,192,244,.18)!important;
}
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active::before,
.cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]::before,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active::before,
.cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]::before,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab].is-active::before,
.cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab][aria-expanded="true"]::before{
  background:linear-gradient(180deg,var(--cc-steam-accent,#66c0f4) 0%,#4a86aa 100%)!important;
  color:#101820!important;
  -webkit-text-fill-color:#101820!important;
  border-color:rgba(255,255,255,.28)!important;
}
@media(max-width:900px){
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab],
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab],
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>[data-ribbon-tab]{
    min-width:92px!important;
    width:92px!important;
    min-height:64px!important;
  }
}


/* v0.8.478 — stacked mobile footer work-area fit.
   Themes with the secondary five-button navigation use two fixed footer rows.
   Treat the worksheet + sheet selector as one vertical block: the selector gets
   its real height and the worksheet flexes above it, while the exact measured
   footer stack is reserved below. */
@media(max-width:900px){
  /* Fallback list works before JS has measured the footer; JS then adds the class
     and overwrites the clearance variable with the actual device/theme geometry. */
  .cc-workspace--dedicated.cc-mobile-footer-stacked[data-cc-experience-style] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-tabs--excel,
  .cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-tabs--excel{
    box-sizing:border-box!important;
    flex:0 0 48px!important;
    width:100%!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    margin-top:0!important;
    margin-bottom:var(--cc-mobile-fixed-footer-clearance,170px)!important;
    padding-top:0!important;
    padding-bottom:0!important;
    align-items:stretch!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  .cc-workspace--dedicated.cc-mobile-footer-stacked[data-cc-experience-style] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated.cc-mobile-footer-stacked[data-cc-experience-style] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-tabs--excel>button,
  .cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-tabs--excel>button{
    box-sizing:border-box!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    margin-top:0!important;
    margin-bottom:0!important;
    align-self:stretch!important;
  }

  /* The worksheet owns only the remaining middle lane. No hidden padding is kept
     behind either footer row, so increasing the selector height reduces the sheet
     viewport rather than pushing controls off-screen. */
  .cc-workspace--dedicated.cc-mobile-footer-stacked[data-cc-experience-style] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="pro"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="kids"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="sparkle"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="focus"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="paper"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="contrast"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="zen"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="midnight"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="neon"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="noir"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-office-pages,
  .cc-workspace--dedicated[data-cc-experience-style="retro"] .cc-office-pages{
    flex:1 1 0!important;
    min-height:0!important;
    height:auto!important;
    margin-bottom:0!important;
    padding-bottom:0!important;
    overflow:hidden!important;
  }
}


/* v0.8.479 — mobile overpull Genie collapse / full-height worksheet mode. */
.cc-workspace--dedicated .cc-genie-layer{
  position:fixed!important;inset:0!important;z-index:100090!important;display:block!important;
  width:100vw!important;height:100dvh!important;overflow:hidden!important;pointer-events:none!important;
}
.cc-workspace--dedicated .cc-genie-ghost{
  position:fixed!important;left:var(--cc-genie-x)!important;top:var(--cc-genie-y)!important;
  width:var(--cc-genie-w)!important;height:var(--cc-genie-h)!important;min-width:0!important;min-height:0!important;
  max-width:none!important;max-height:none!important;margin:0!important;box-sizing:border-box!important;
  display:block!important;visibility:visible!important;opacity:1;pointer-events:none!important;
  transform-origin:center center!important;will-change:transform,opacity,clip-path!important;contain:paint!important;
  z-index:100091!important;overflow:hidden!important;
}
.cc-workspace--dedicated .cc-genie-launcher{
  position:fixed!important;left:max(7px,env(safe-area-inset-left,0px))!important;top:var(--cc-genie-launcher-top,8px)!important;
  z-index:100095!important;display:grid!important;place-items:center!important;width:46px!important;height:46px!important;
  min-width:46px!important;min-height:46px!important;margin:0!important;padding:0!important;border:2px solid rgba(255,255,255,.92)!important;
  border-radius:14px!important;background:linear-gradient(145deg,#5542ba 0%,#7654de 55%,#397fd9 100%)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:0 7px 0 rgba(39,27,103,.28),0 14px 30px rgba(38,31,103,.30),inset 0 1px rgba(255,255,255,.35)!important;
  opacity:0;visibility:visible!important;pointer-events:none!important;transform:translate3d(-8px,0,0) scale(.84);
  transition:opacity .16s ease,transform .2s cubic-bezier(.2,.8,.2,1)!important;touch-action:manipulation!important;
}
.cc-workspace--dedicated .cc-genie-launcher>span{
  display:grid!important;place-items:center!important;width:100%!important;height:100%!important;color:#fff!important;
  -webkit-text-fill-color:#fff!important;font:1000 23px/1 ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif!important;
  transform:translateX(1px)!important;text-shadow:0 2px 0 rgba(36,27,99,.34)!important;
}
.cc-workspace--dedicated.cc-ui-collapsed .cc-genie-launcher,
.cc-workspace--dedicated.cc-ui-genie-expanding .cc-genie-launcher,
.cc-workspace--dedicated.cc-genie-arming .cc-genie-launcher,
.cc-workspace--dedicated.cc-genie-tutorial .cc-genie-launcher{
  opacity:1!important;pointer-events:auto!important;transform:translate3d(0,0,0) scale(1);
}
.cc-workspace--dedicated.cc-genie-arming:not(.cc-ui-collapsed) .cc-genie-launcher{
  animation:cc-genie-launcher-arm .52s ease-in-out infinite alternate!important;
}
@keyframes cc-genie-launcher-arm{
  from{transform:translate3d(0,0,0) scale(.96);filter:brightness(1)}
  to{transform:translate3d(0,0,0) scale(1.08);filter:brightness(1.13)}
}
.cc-workspace--dedicated .cc-genie-tutorial-hand{
  position:fixed!important;left:max(35px,calc(env(safe-area-inset-left,0px) + 35px))!important;
  top:calc(var(--cc-genie-launcher-top,8px) + 50px)!important;z-index:100096!important;
  display:block!important;width:42px!important;height:50px!important;pointer-events:none!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:34px!important;line-height:1!important;
  text-align:center!important;text-shadow:0 2px 0 rgba(55,39,99,.38),0 5px 16px rgba(44,32,92,.38)!important;
  opacity:0;transform:translate3d(24px,28px,0) rotate(-18deg) scale(.92);
}
.cc-workspace--dedicated .cc-genie-tutorial-hand.is-visible{
  opacity:1!important;animation:cc-genie-finger-approach .82s cubic-bezier(.22,.8,.24,1) both!important;
}
.cc-workspace--dedicated .cc-genie-tutorial-hand.is-tapping{
  animation:cc-genie-finger-tap .28s ease-in-out 1 both!important;
}
.cc-workspace--dedicated.cc-genie-tutorial-tap .cc-genie-launcher{
  animation:cc-genie-button-tap .3s ease-in-out 1!important;
}
@keyframes cc-genie-finger-approach{
  0%{opacity:0;transform:translate3d(30px,30px,0) rotate(-18deg) scale(.9)}
  35%{opacity:1}
  100%{opacity:1;transform:translate3d(-2px,-18px,0) rotate(-23deg) scale(1)}
}
@keyframes cc-genie-finger-tap{
  0%,100%{opacity:1;transform:translate3d(-2px,-18px,0) rotate(-23deg) scale(1)}
  50%{opacity:1;transform:translate3d(-8px,-24px,0) rotate(-23deg) scale(.88)}
}
@keyframes cc-genie-button-tap{
  0%,100%{transform:scale(1)}50%{transform:scale(.86)}
}

@media(max-width:900px){
  /* All chrome disappears as one state.  The sheet selector stays attached to
     the worksheet and drops to the real bottom edge because footer clearance is 0. */
  .cc-workspace--dedicated.cc-ui-collapsed{
    --cc-mobile-fixed-footer-clearance:0px!important;
  }
  .cc-workspace--dedicated.cc-ui-collapsed .cc-office-probar,
  .cc-workspace--dedicated.cc-ui-collapsed [data-cc-editor-dock],
  .cc-workspace--dedicated.cc-ui-collapsed .cc-experience-mobile-nav,
  .cc-workspace--dedicated.cc-ui-collapsed .cc-experience-pro-left,
  .cc-workspace--dedicated.cc-ui-collapsed .cc-experience-pro-right,
  .cc-workspace--dedicated.cc-ui-collapsed .cc-experience-dream-rail,
  .cc-workspace--dedicated.cc-ui-collapsed .cc-studio-tool-pop,
  .cc-workspace--dedicated.cc-ui-collapsed .cc-axis-size-pop,
  .cc-workspace--dedicated.cc-ui-collapsed .cc-cell-size-pop{
    display:none!important;visibility:hidden!important;pointer-events:none!important;
  }
  .cc-workspace--dedicated.cc-ui-collapsed .cc-genie-ghost{
    display:block!important;visibility:visible!important;opacity:1!important;
  }
  .cc-workspace--dedicated.cc-ui-collapsed .cc-office-pages{
    flex:1 1 0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;
  }
  .cc-workspace--dedicated.cc-ui-collapsed .cc-office-tabs--excel{
    flex:0 0 48px!important;height:48px!important;min-height:48px!important;max-height:48px!important;
    margin-top:0!important;margin-bottom:0!important;padding-bottom:0!important;
  }
  .cc-workspace--dedicated.cc-ui-collapsed .cc-office-tabs--excel>.cc-sheet-tabs-guide,
  .cc-workspace--dedicated.cc-ui-collapsed .cc-office-tabs--excel>button{
    height:48px!important;min-height:48px!important;max-height:48px!important;
  }

  /* During reverse Genie animation the original chrome must reserve its normal
     layout slots but remain invisible until its ghosts finish unfolding. */
  .cc-workspace--dedicated.cc-ui-genie-expanding .cc-office-probar,
  .cc-workspace--dedicated.cc-ui-genie-expanding [data-cc-editor-dock],
  .cc-workspace--dedicated.cc-ui-genie-expanding .cc-experience-mobile-nav,
  .cc-workspace--dedicated.cc-ui-genie-expanding .cc-experience-pro-left,
  .cc-workspace--dedicated.cc-ui-genie-expanding .cc-experience-pro-right,
  .cc-workspace--dedicated.cc-ui-genie-expanding .cc-experience-dream-rail,
  .cc-workspace--dedicated.cc-ui-genie-expanding .cc-studio-tool-pop:not([hidden]),
  .cc-workspace--dedicated.cc-ui-genie-expanding .cc-axis-size-pop:not([hidden]),
  .cc-workspace--dedicated.cc-ui-genie-expanding .cc-cell-size-pop:not([hidden]){
    visibility:hidden!important;pointer-events:none!important;
  }
  .cc-workspace--dedicated.cc-ui-genie-expanding .cc-genie-ghost{
    visibility:visible!important;opacity:1!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .cc-workspace--dedicated .cc-genie-launcher,
  .cc-workspace--dedicated .cc-genie-tutorial-hand{animation:none!important;transition:none!important}
}


/* v0.8.480 — Arcade (pixel) icon/text readability hard seal.
   The screenshot shows pale/white glyphs on very light button faces for:
   - top Close / Save / Mode buttons
   - both footer rows (editor dock + mobile nav)
   Force every nested icon/label into the same deep pixel ink so the button
   surface can stay playful while the artwork always remains visible. */
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>
:is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience),
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-experience-mobile-nav button{
  color:#241d4d!important;
  -webkit-text-fill-color:#241d4d!important;
  text-shadow:none!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>
:is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience) :is(span,b,strong,small,em,i,svg,path,circle,line,polyline,polygon,rect,text),
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key :is(span,b,strong,small,em,i,svg,path,circle,line,polyline,polygon,rect,text),
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-experience-mobile-nav button :is(span,b,strong,small,em,i,svg,path,circle,line,polyline,polygon,rect,text){
  color:currentColor!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important;
  text-shadow:none!important;
}
/* If any icon contains literal SVG text, keep it filled, not outlined. */
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>
:is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience) text,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key text,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-experience-mobile-nav button text{
  fill:currentColor!important;
  stroke:none!important;
}
/* Disabled controls should still read as dark ink instead of disappearing. */
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>
:is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience):disabled,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key:disabled,
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-experience-mobile-nav button:disabled{
  color:#4a4672!important;
  -webkit-text-fill-color:#4a4672!important;
  opacity:1!important;
}
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-excel-ribbon-tabs.cc-excel-ribbon-tabs--single>
:is(.cc-ribbon-close,.cc-ribbon-save,.cc-ribbon-experience):disabled :is(span,b,strong,small,em,i,svg,path,circle,line,polyline,polygon,rect,text),
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-editor-dock .cc-dock-key:disabled :is(span,b,strong,small,em,i,svg,path,circle,line,polyline,polygon,rect,text),
.cc-workspace--dedicated[data-cc-experience-style="pixel"] .cc-experience-mobile-nav button:disabled :is(span,b,strong,small,em,i,svg,path,circle,line,polyline,polygon,rect,text){
  color:currentColor!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important;
}
