/* CDOBA v11 · all tools on top. Maximize the usable artboard. */
.creative-mode-tabs[hidden]{display:none!important}
.cdoba-ribbon{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;min-height:57px;padding:7px 12px;background:linear-gradient(95deg,#f7fcff,#f0f6ff);border-bottom:1px solid #d2e3f8;flex:0 0 auto;z-index:12;position:relative;overflow:visible}
.cdoba-ribbon-action,.cdoba-ribbon-summary{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:1px solid transparent;background:transparent;border-radius:9px;padding:4px 9px;min-width:55px;min-height:43px;color:#203b69;cursor:pointer;font-weight:700;font-size:11px;white-space:nowrap;line-height:1.1}
.cdoba-ribbon-action:hover,.cdoba-ribbon-action.selected,.cdoba-ribbon-menu[open]>.cdoba-ribbon-summary{background:#e5f4ff;border-color:#b5d7f8}
.ribbon-symbol{font-size:20px;line-height:22px}.ribbon-label{font-size:10px}
.cdoba-ribbon-menu{position:relative;flex:0 0 auto}.cdoba-ribbon-summary{display:flex;list-style:none;background:white;border-color:#d4e5f6;min-width:65px}.cdoba-ribbon-summary::-webkit-details-marker{display:none}
.cdoba-ribbon-popover{position:absolute;left:0;top:calc(100% + 6px);width:min(360px,85vw);max-height:min(68vh,560px);overflow-y:auto;overscroll-behavior:contain;padding:15px;background:white;border:1px solid #d2e4f5;border-radius:14px;box-shadow:0 18px 45px #11387629;z-index:40;color:#233b60}
.cdoba-ribbon-popover h3{font-size:13px;margin:7px 0 12px}.cdoba-ribbon-popover .creative-design-options,.cdoba-ribbon-popover .creative-photo-tools{display:block!important;border:0;margin:0;padding:0}.cdoba-ribbon-popover .creative-photo-tools p{margin:4px 0 12px}
.cdoba-ribbon-popover .creative-design-options h3{margin:10px 0 8px}
.cdoba-ribbon-popover .creative-quick-actions{display:grid;grid-template-columns:1fr 1fr}
.shortcut-row{display:flex;justify-content:space-between;gap:15px;padding:7px 0;border-bottom:1px solid #ebf1fa;font-size:12px;align-items:center}.shortcut-row kbd{flex-shrink:0;font-family:inherit;font-size:10px;background:#edf4ff;border:1px solid #dae8f8;border-radius:5px;padding:5px;white-space:nowrap}
.creative-shell .studio-left{display:none!important}.creative-shell{grid-template-columns:minmax(0,1fr) minmax(260px,300px)!important}
.creative-shell .studio-center{grid-column:1}.creative-shell .studio-right{grid-column:2!important;display:block!important;min-height:0;height:100%}
.creative-shell .studio-right .creative-photo-adjustments[hidden]{display:none!important}
.creative-shell .studio-stage{min-height:0}
.studio-body:has(.creative-shell) .studio-shell{height:calc(100dvh - 130px)!important}
.creative-focus-mode .creative-shell{grid-template-columns:minmax(0,1fr)!important}.creative-focus-mode .creative-shell .studio-center{grid-column:1}
.pdf-editor-shell{grid-template-columns:minmax(0,1fr) minmax(240px,285px)!important}
.pdf-editor-main{grid-column:1}.pdf-editor-properties{grid-column:2}
.pdf-ribbon{min-height:64px;flex-wrap:nowrap;overflow-x:auto;overflow-y:visible;scrollbar-width:thin}
.pdf-ribbon .pdf-tool-grid{display:flex;gap:5px;min-width:max-content;margin:0;flex:0 0 auto}
.pdf-ribbon .pdf-tool-grid button{display:flex;align-items:center;flex-direction:column;justify-content:center;min-width:64px;max-width:94px;min-height:47px;padding:6px 8px;border:1px solid transparent;background:transparent;font-size:11px;border-radius:9px;color:#23416e}
.pdf-ribbon .pdf-tool-grid button:hover{background:#e5f4ff;border-color:#bddbf9}.pdf-ribbon .pdf-tool-grid button.active{background:linear-gradient(110deg,#00cdb8,#097cf6,#642bd9);color:white}
.pdf-ribbon-pages{margin-left:auto;min-width:100px}.pdf-ribbon-pages .pdf-page-navigation{gap:3px;border:0;padding:0}.pdf-ribbon-pages .pdf-page-navigation span{min-width:46px;text-align:center}
.pdf-ribbon .pdf-page-jump{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:700}.pdf-page-jump input{width:48px;padding:6px;border-radius:7px;border:1px solid #d7e7fa}
.pdf-editor-properties>.pdf-editor-summary{padding:11px;margin:0 0 12px;border-radius:8px;background:#edf7ff}
.pdf-editor-context[hidden]{display:none!important}.pdf-editor-context{position:fixed;z-index:3000;display:grid;gap:2px;width:200px;max-height:65vh;overflow-y:auto;padding:7px;background:#fff;border:1px solid #d5e6f4;border-radius:12px;box-shadow:0 15px 48px #14345f4f}
.pdf-editor-context button{font-size:12px;text-align:left;padding:9px 11px;border:0;border-radius:7px;background:white;color:#253c64}.pdf-editor-context button:hover{background:#eaf3ff}
#pdf-overlay [data-resize-handle]{cursor:nwse-resize;pointer-events:all}
@media(max-width:900px) and (min-width:761px){.creative-shell{grid-template-columns:minmax(0,1fr) 236px!important}.pdf-editor-shell{grid-template-columns:minmax(0,1fr) 220px!important}}
@media(max-width:760px){
 .cdoba-ribbon{position:relative;overflow-x:auto;overflow-y:hidden;gap:3px;padding:5px;min-height:52px;flex-wrap:nowrap;scrollbar-width:thin;z-index:22}
 .cdoba-ribbon-action{min-width:51px;padding:3px 5px}.ribbon-symbol{font-size:18px}.ribbon-label{font-size:9px}
 .cdoba-ribbon-menu[open]{position:static}.cdoba-ribbon-popover{position:fixed;z-index:100;left:8px;right:8px;top:110px;width:auto;max-height:55vh}
 .creative-shell{display:flex!important;flex-direction:column!important;height:auto!important}.creative-shell .studio-center{order:0;position:sticky;top:0;z-index:5;height:min(56dvh,480px)!important}.creative-shell .studio-right{order:1;height:auto!important;grid-column:auto!important;overflow:visible!important}
 .studio-body:has(.creative-shell) .studio-shell{height:auto!important}
 .pdf-editor-shell{display:flex!important;flex-direction:column!important;height:auto!important}
 .pdf-editor-main{order:0}.pdf-editor-properties{order:1}
 .pdf-ribbon{overflow-x:auto;flex-wrap:nowrap;min-height:54px}.pdf-ribbon .pdf-tool-grid button{min-width:54px;font-size:10px}.pdf-ribbon-pages{margin-left:9px}
}
