/* One readable folder treatment in the rail and every project view. */
body.warm-modern :is(.project-folder-open,.project-cover-open,.cabinet-folder){background:#faf7f1!important;color:#302a25!important;text-shadow:none!important;box-shadow:0 2px 5px #382b2010!important;border:1px solid #d3c7b8!important;border-radius:12px!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;min-width:0;line-height:1.45!important}
body.warm-modern :is(.project-folder-open,.project-cover-open,.cabinet-folder):hover{background:#fffdf8!important;border-color:#967859!important}
body.warm-modern :is(.project-folder-open,.project-cover-open) :is(strong,.project-folder-name){color:#302a25!important;font-size:14px!important;font-weight:600!important;text-shadow:none!important}
body.warm-modern :is(.project-folder-open,.project-cover-open) :is(small,.muted){color:#706454!important;font-size:12px!important;text-shadow:none!important}
body.warm-modern .project-folder-open{display:grid!important;grid-template-columns:32px minmax(0,1fr);column-gap:12px;row-gap:3px;padding:14px!important;min-height:76px!important}
body.warm-modern .project-folder-open:before{display:none!important}
body.warm-modern .project-folder-open .plain-folder{grid-row:1 / 3;width:30px!important;height:23px!important;background:#dfc7a7!important;border:1px solid #bca07b!important;box-shadow:none!important;border-radius:3px!important;position:relative}
body.warm-modern .project-folder-open .plain-folder:before{content:'';position:absolute;left:-1px;top:-5px;width:13px;height:5px;background:#dfc7a7;border:1px solid #bca07b;border-bottom:0;border-radius:3px 3px 0 0}
body.warm-modern .project-folders{padding-top:12px!important;gap:10px!important}
body.warm-modern .project-cover-open{padding:14px!important;display:flex!important;flex-direction:column;gap:8px!important;min-height:260px!important}
body.warm-modern .cabinet-folder{padding:16px!important;min-height:76px!important;display:flex;align-items:center;gap:12px}
body.warm-modern .cabinet-folder:before{content:'▱';font-size:30px;color:#9a7852;flex:none}
body.warm-modern .project-folder{background:#dfc7a7!important;box-shadow:none!important;border-color:#bca07b!important}
body.warm-modern .project-folder:before{background:#dfc7a7!important;border-color:#bca07b!important}
body dialog{position:fixed!important;padding-top:48px!important;max-height:calc(100dvh - 32px)!important;box-sizing:border-box}
body .psk-window-close{position:absolute!important;top:8px!important;right:8px!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;font-size:25px!important;line-height:1!important;background:#eee7dc!important;color:#382c21!important;border:1px solid #d6c9b8!important;box-shadow:none!important;z-index:20;border-radius:7px!important}
body .psk-window-close:hover{background:#e6d6c3!important}
body :is(input,textarea,[contenteditable=true]){user-select:text;-webkit-user-select:text}
body :is(button,input,select,textarea,a):focus-visible{outline:2px solid #946c3f!important;outline-offset:3px!important}
body .psk-context-menu{position:fixed;z-index:2147483640;width:290px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:6px;background:#fffdf9;border:1px solid #d2c7b8;border-radius:9px;box-shadow:0 10px 30px #0003;box-sizing:border-box}
body .psk-context-menu button{display:block!important;width:100%!important;text-align:left!important;color:#302a25!important;background:transparent!important;box-shadow:none!important;border:0!important;padding:8px 12px!important;margin:0!important;font-size:13px!important;min-height:32px!important;border-radius:5px!important}
body .psk-context-menu button:hover,body .psk-context-menu button:focus{background:#eee6d9!important}
body .psk-context-menu button:disabled{color:#aaa!important;opacity:1}
body .psk-context-menu small{display:block;padding:8px 12px;font-size:11px;color:#786d61}
body.warm-modern[data-screen=sketch] .context-rail{display:none!important}body.warm-modern[data-screen=sketch] .workspace{grid-template-columns:1fr!important}
.cp-slide[data-portrait=true]{max-width:800px;margin:auto}.cp-slide[data-portrait=true] .cp-slide-body{flex-direction:column}.cp-slide[data-portrait=true] .cp-slide-body>img{width:100%;max-height:35cqw;order:-1}
.cp-work,.cp-settings,.cp-controls{min-width:0}.cp-settings select{max-width:100%}
.psk-navigation-controls{display:flex;gap:6px;margin-left:auto}.psk-navigation-controls button{padding:0!important;width:34px!important;height:34px!important;min-height:34px!important;margin:0!important;font-size:20px!important;background:#f6f1e8!important;color:#4c3b29!important;border:1px solid #d3c7b8!important;box-shadow:none!important}
body.warm-modern .project-folder:after{background:#d8bb94!important;box-shadow:none!important}
