/* Version 17: compact shelf + document page strip. Existing studio is untouched. */
.page17-bar{margin:28px 0;padding:24px;background:#fff;border:1px solid #e3dbea;border-radius:20px}.page17-bar header{display:flex;align-items:center;justify-content:space-between;gap:20px}.page17-bar h2{font-size:23px;margin:8px 0}.page17-bar small{font-size:13px;font-weight:400;color:#766981;margin-left:10px}.page17-kind{font-size:12px;color:#73667e}.page17-kind select{display:block;padding:10px 12px;margin-top:5px;border:1px solid #e3dbea;border-radius:10px;background:#fff;color:#44334e;font:14px Golos,sans-serif}.page17-strip{display:flex;gap:10px;overflow-x:auto;margin:22px 0;padding:4px 2px 12px;overscroll-behavior-inline:contain}.page17-tab{flex:0 0 150px;min-width:0;text-align:left;background:#f7f4fa;border:1px solid #e6dfec;border-radius:12px;padding:14px;color:#62506f;cursor:pointer;font:13px Golos,sans-serif}.page17-tab b{display:block;font:700 20px Manrope,sans-serif;margin-bottom:10px}.page17-tab span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page17-tab[aria-current=page]{background:#ede5fb;border:2px solid #7852ba;padding:13px;color:#503278}.page17-bar button:disabled{opacity:.4;cursor:not-allowed}.preview-pending{opacity:.55}.presentation17{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;box-sizing:border-box;border:0;margin:0;padding:18px;background:#1c1922;color:#fff}.presentation17[open]{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:14px}.presentation17::backdrop{background:#1c1922}.presentation17 header,.presentation17 footer{display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;color:#eee}.presentation17 header b{padding:8px}.presentation17 footer span{font-size:12px;color:#b9b1c6}.presentation17 canvas{max-height:calc(100dvh - 160px);max-width:100%;width:auto;height:auto;object-fit:contain}.presentation17 .button{background:#fff;color:#30253c}.shelf17-hero{display:grid;grid-template-columns:1.3fr .7fr;gap:45px;align-items:center;padding:15px 0 38px}.shelf17-hero h1{font-size:clamp(35px,4.6vw,64px);letter-spacing:-2px;line-height:1.12;margin:22px 0}.shelf17-hero h1 em{font-style:normal;color:#66865b}.shelf17-hero p{color:#73677b;line-height:1.8;max-width:700px;font-size:17px}.shelf17-note{border-radius:24px;padding:30px;background:#e8eee3;border:1px solid #dce6d4;color:#47603c}.shelf17-note strong{display:block;font:700 58px Manrope,sans-serif;letter-spacing:-2px}.shelf17-note p{color:#57704b;font-size:14px;margin:12px 0}.shelf17-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0 26px}.shelf17-paths button{padding:20px;text-align:left;background:#fff;border:1px solid #e6deec;border-radius:15px;font:14px Golos,sans-serif;color:#73627e;cursor:pointer}.shelf17-paths b{display:block;font:600 19px Manrope,sans-serif;color:#483654;margin-bottom:8px}.shelf17-search{display:flex;align-items:end;gap:20px;justify-content:space-between;margin:26px 0}.shelf17-search label{flex:1;max-width:570px;font-size:13px;color:#75677e}.shelf17-search input{display:block;width:100%;box-sizing:border-box;padding:15px;font:16px Golos,sans-serif;border:1px solid #ddd3e5;border-radius:12px;margin-top:8px}.shelf17-search p{font-size:13px;color:#73677e}.shelf17-tools{margin:28px 0;border:1px solid #e2dbe9;border-radius:18px;background:#fff;overflow:hidden}.shelf17-tools summary{padding:20px 24px;cursor:pointer;font:600 17px Manrope,sans-serif;color:#5f4a70}.shelf17-tools summary span{font:400 13px Golos,sans-serif;margin-left:10px;color:#7c6b89}.shelf17-tools-body{padding:0 24px 24px}.shelf17-tools-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 15px}.shelf17-tools-nav button{background:#f2edf7;color:#6f5680;border:1px solid #e8dff0;border-radius:9px;padding:10px 14px;font:14px Golos,sans-serif;cursor:pointer}.shelf17-tools-nav button[aria-pressed=true]{background:#71529a;color:#fff}.shelf17-tools .study-tool{border:0;border-radius:0;padding:12px 0;max-width:820px}.shelf17-tool-actions{display:flex;flex-wrap:wrap;gap:12px}.shelf17-tool-actions label.button{margin:0}.shelf17-tools [type=file]{font-size:12px;max-width:210px}.shelf17-tools .ws-help{max-width:850px}.shelf17-empty{padding:30px;background:#fff;border:1px dashed #d7cce1;border-radius:14px}.shelf17-tabs{display:flex;flex-wrap:wrap;gap:8px}.shelf17-tabs a{font-size:14px;padding:12px 15px;border:1px solid #e2d9e8;border-radius:12px}.qr17-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 30px}.qr17-paths a{display:block;background:#fff;border:1px solid #e3dbea;border-radius:16px;padding:22px;color:#766283}.qr17-paths strong{display:block;font-size:20px;color:#493355;margin-bottom:12px}.qr17-paths span{font-size:14px;line-height:1.7}.price17-chapters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.price17-chapters select{max-width:100%;padding:10px;border:1px solid #d8cfdf;border-radius:9px;font:15px Golos,sans-serif}.price17-chapters label{display:flex;align-items:center;gap:8px}.price17-chapters input{accent-color:#75539a}.ws-card .page17-badge{position:absolute;right:10px;top:10px;font:600 11px Golos,sans-serif;color:#665273;background:#fff;padding:7px 9px;border-radius:7px}.ws-page [hidden]{display:none!important}
@media(max-width:850px){.page17-bar header{flex-direction:column;align-items:stretch}.page17-bar{padding:18px}.page17-bar .ws-actions{gap:8px}.page17-bar .button{font-size:12px}.shelf17-hero{grid-template-columns:1fr;gap:15px}.shelf17-note{display:none}.shelf17-paths{grid-template-columns:repeat(3,1fr)}.shelf17-paths button{padding:15px}.shelf17-paths b{font-size:16px}.qr17-paths{grid-template-columns:1fr}.maker-preview{grid-row:auto}.maker-controls{grid-row:auto}.shelf17-tools summary span{display:block;margin:6px 0 0}.shelf17-search{align-items:stretch;flex-direction:column;gap:4px}.shelf17-tools-body{padding:0 18px 20px}.presentation17 footer span{display:none}}
@media(max-width:550px){.shelf17-hero h1{letter-spacing:-1.3px}.shelf17-paths{grid-template-columns:1fr}.shelf17-paths button{padding:14px 17px}.shelf17-paths b{margin-bottom:5px}.shelf17-tools-nav button{font-size:12px}.page17-tab{flex-basis:120px}.page17-bar .ws-actions{align-items:stretch}.page17-kind{flex:1}.page17-kind select{width:100%}.shelf17-hero p{font-size:15px}}
@media print{.price17-chapters,.price-client-tools,.price-group-nav{display:none!important}.price-group,.price-item{break-inside:avoid}}
