.office-app .studio-header{flex-wrap:wrap;gap:8px}.office-app .studio-header #projectName{min-width:120px;width:clamp(130px,18vw,240px)}.office-app .studio-header .office-modes{padding:0;border:0;background:transparent;gap:2px;overflow:visible}.office-app .office-modes button{padding:6px 9px;font-size:12px;min-height:32px}.office-app .office-modes button[aria-pressed=true]{background:var(--green);color:var(--accent-text,#172015)}.office-app .workspace-projects .project-library-heading .project-collapse{display:none}.office-app .workspace-projects{overflow:auto}.office-app .office-ribbon button{min-height:30px}.office-layout-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:18px 0}.office-layout-gallery>button{display:flex;flex-direction:column;gap:8px;padding:10px;text-align:left;white-space:normal}.office-layout-preview{display:block;width:100%;aspect-ratio:16/9;position:relative;background:#fff;border:1px solid #cbd5e1}.office-layout-preview i{position:absolute;border-radius:2px}.office-app dialog label{display:flex;align-items:center;gap:10px;margin:12px 0}.office-app dialog input[type=text]{min-width:0;max-width:100%}.office-app dialog p{line-height:1.6}.office-app .office-presenter{position:fixed;inset:0;margin:0;padding:0;border:0;background:#101010;color:white;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;overflow:hidden}.office-presenter::backdrop{background:#101010}.office-presenter .office-present-stage{position:absolute;left:50%;top:calc(50% - 30px);width:960px;height:540px;transform-origin:center;zoom:1;margin:0;box-shadow:none}.office-present-controls{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:12px;padding:10px;background:#101010;color:white;z-index:5}.office-present-controls button{min-height:44px;background:#252525;color:white;border:1px solid #666;touch-action:manipulation}.office-present-controls span{font-size:13px;white-space:nowrap}.office-present-controls button:disabled{opacity:.4}.office-app .sheet-grid td{overflow:hidden}.office-app .office-bottom{flex-wrap:wrap}.office-app .slide-stage-scroll{min-width:0}
@media(max-width:850px){.office-app .studio-header .brand{display:none}.office-app .studio-header .studio-title{display:none}.office-app .studio-header #projectName{flex:1;width:130px}.office-app .studio-header .spacer{display:none}.office-app .studio-header .office-modes{flex:none}.office-app .office-ribbon{max-height:170px;overflow:auto;align-content:start}.office-app .workspace-projects{z-index:35;max-width:85vw}.office-present-controls{gap:6px;padding:8px}.office-present-controls button{font-size:12px;padding:6px}.office-present-controls span{font-size:11px}.office-app .office-content{padding:12px}}

.office-app .office-ribbon .office-history-button { --dp-icon-button-size: 30px; }
